diff --git a/docs/hds-1909-react/static/css/main.829f7692.css b/docs/hds-1909-react/css/main.60178a80.css
similarity index 99%
rename from docs/hds-1909-react/static/css/main.829f7692.css
rename to docs/hds-1909-react/css/main.60178a80.css
index 228da686169..ff7bda4aeb1 100644
--- a/docs/hds-1909-react/static/css/main.829f7692.css
+++ b/docs/hds-1909-react/css/main.60178a80.css
@@ -788,7 +788,7 @@ html {
.Header_header__QJfsy{--header-background-color: var(--color-white);--header-color: var(--color-black-90);--header-height: var(--spacing-4-xl);--header-focus-outline-width: 3px;--header-focus-outline-border-radius: 0;--header-focus-outline-color: var(--color-coat-of-arms);--header-divider-color: var(--color-black-20);--header-z-index: 10;--header-margin: var(--spacing-m);--header-max-width: 1440px;--header-item-border-color: var(--color-black-20);--header-item-hover-color: var(--color-black-20);--actionbar-background-color: var(--color-white);--action-bar-container-height: 88px;--action-bar-section-gutter: var(--spacing-s);--action-bar-dropdown-menu-caret-width: 64px;--action-bar-dropdown-menu-primary-item-height: 64px;--action-bar-dropdown-menu-secondary-item-height: 48px;--action-bar-button-size: 64px;--action-bar-item-gutter: 12px;--action-bar-item-title-font-size: var(--fontsize-body-s);--action-bar-item-title-font-color: var(--header-color);--lang-selector-mobile-background-color: var(--color-silver-light);--lang-selector-item-font-color: var(--header-color);--lang-selector-dropdown-background-color: var(--color-white);--nav-link-font-color: var(--header-color);--nav-border-color: var(--color-black-20);--nav-link-hover-color: var(--color-black-90);--nav-link-dropdown-background-color: var(--color-white);--nav-button-background-color: var(--color-black-5);--nav-button-hover-background-color: var(--color-black-5);--nav-search-color: var(--header-color);--nav-mobile-menu-background-color: var(--color-white);--nav-mobile-menu-bottom-background-color: var(--color-silver-light);--nav-mobile-margin-left: var(--spacing-s);--universal-bar-background-color: var(--color-black-5);--logo-height: 56px;--icon-size: 24px;--nav-drop-down-icon-color: var(--color-black);--nav-background-color:var(--color-white);background-color:var(--header-background-color);color:var(--header-color);position:relative;width:100%}@media only screen and (max-width: 991px){.Header_header__QJfsy{--action-bar-container-height: 74px;--logo-height: 48px}}@media only screen and (max-width: 767px){.Header_header__QJfsy{--header-margin: var(--spacing-s);--action-bar-container-height: 64px;--logo-height: 32px}}@media only screen and (max-width: 575px){.Header_header__QJfsy{--header-margin: var(--spacing-xs);--action-bar-container-height: 64px;--logo-height: 32px}}.Header_header__QJfsy.Header_theme-dark__H5GH1{--color-focus-outline: var(--color-white);--header-color: var(--color-white);--header-focus-outline-color: var(--color-white);--header-background-color: var(--color-black-80);--nav-border-color: var(--color-white);--nav-link-hover-color: var(--color-white);--universal-bar-background-color: var(--color-black-60);--navigation-link-button-background-color: var(--color-black-60);--nav-link-dropdown-background-color: var(--color-black-80);--lang-selector-mobile-background-color: var(--color-black-80);--lang-selector-dropdown-background-color: var(--color-black-60);--nav-button-background-color: var(--color-black-60);--nav-button-hover-background-color: var(--color-black-60);--nav-drop-down-icon-color: var(--color-white);--actionbar-background-color: var(--color-black-80);--nav-background-color: var(--color-black-80);--nav-mobile-menu-background-color: var(--color-black-80);--nav-mobile-menu-bottom-background-color: var(--color-black-60)}.Header_headerBackgroundWrapper__E\+oFj{position:relative;z-index:var(--header-z-index)}
.HeaderUniversalBar_headerUniversalBar__5yFHV{align-items:center;box-sizing:border-box;display:flex;margin:0 auto;max-width:var(--header-max-width);min-height:48px;padding:0 var(--header-margin);width:100%}.HeaderUniversalBar_headerUniversalBarContainer__Rz4zN{background:var(--universal-bar-background-color);width:100%}.HeaderUniversalBar_headerUniversalBarList__Wv4g\+{display:flex;gap:0 var(--spacing-l);list-style:none;margin:0;padding:0;width:100%}.HeaderUniversalBar_universalBarMainLinkContainer__cmBG5{display:flex;flex:1 1;justify-self:start}.HeaderUniversalBar_universalBarSecondaryLinkContainer__gfhCe{display:flex;justify-self:end}.HeaderUniversalBar_universalBarSecondaryLinkContainer__gfhCe:last-child{margin-right:0}.HeaderUniversalBar_universalBarLink__fCvdQ.HeaderUniversalBar_universalBarLink__fCvdQ{font-size:var(--fontsize-body-m)}@media only screen and (max-width: 767.98px){.HeaderUniversalBar_headerUniversalBarList__Wv4g\+{gap:0 var(--spacing-m)}}@media only screen and (max-width: 575.98px){.HeaderUniversalBar_universalBarLink__fCvdQ.HeaderUniversalBar_universalBarLink__fCvdQ{font-size:var(--fontsize-body-s)}}
.HeaderLink_header__HS1GF{--header-background-color: var(--color-white);--header-color: var(--color-black-90);--header-height: var(--spacing-4-xl);--header-focus-outline-width: 3px;--header-focus-outline-border-radius: 0;--header-focus-outline-color: var(--color-coat-of-arms);--header-divider-color: var(--color-black-20);--header-z-index: 10;--header-margin: var(--spacing-m);--header-max-width: 1440px;--header-item-border-color: var(--color-black-20);--header-item-hover-color: var(--color-black-20);--actionbar-background-color: var(--color-white);--action-bar-container-height: 88px;--action-bar-section-gutter: var(--spacing-s);--action-bar-dropdown-menu-caret-width: 64px;--action-bar-dropdown-menu-primary-item-height: 64px;--action-bar-dropdown-menu-secondary-item-height: 48px;--action-bar-button-size: 64px;--action-bar-item-gutter: 12px;--action-bar-item-title-font-size: var(--fontsize-body-s);--action-bar-item-title-font-color: var(--header-color);--lang-selector-mobile-background-color: var(--color-silver-light);--lang-selector-item-font-color: var(--header-color);--lang-selector-dropdown-background-color: var(--color-white);--nav-link-font-color: var(--header-color);--nav-border-color: var(--color-black-20);--nav-link-hover-color: var(--color-black-90);--nav-link-dropdown-background-color: var(--color-white);--nav-button-background-color: var(--color-black-5);--nav-button-hover-background-color: var(--color-black-5);--nav-search-color: var(--header-color);--nav-mobile-menu-background-color: var(--color-white);--nav-mobile-menu-bottom-background-color: var(--color-silver-light);--nav-mobile-margin-left: var(--spacing-s);--universal-bar-background-color: var(--color-black-5);--logo-height: 56px;--icon-size: 24px;--nav-drop-down-icon-color: var(--color-black);--nav-background-color:var(--color-white);background-color:var(--header-background-color);color:var(--header-color);position:relative;width:100%}@media only screen and (max-width: 991px){.HeaderLink_header__HS1GF{--action-bar-container-height: 74px;--logo-height: 48px}}@media only screen and (max-width: 767px){.HeaderLink_header__HS1GF{--header-margin: var(--spacing-s);--action-bar-container-height: 64px;--logo-height: 32px}}@media only screen and (max-width: 575px){.HeaderLink_header__HS1GF{--header-margin: var(--spacing-xs);--action-bar-container-height: 64px;--logo-height: 32px}}.HeaderLink_header__HS1GF.HeaderLink_theme-dark__UI0vQ{--color-focus-outline: var(--color-white);--header-color: var(--color-white);--header-focus-outline-color: var(--color-white);--header-background-color: var(--color-black-80);--nav-border-color: var(--color-white);--nav-link-hover-color: var(--color-white);--universal-bar-background-color: var(--color-black-60);--navigation-link-button-background-color: var(--color-black-60);--nav-link-dropdown-background-color: var(--color-black-80);--lang-selector-mobile-background-color: var(--color-black-80);--lang-selector-dropdown-background-color: var(--color-black-60);--nav-button-background-color: var(--color-black-60);--nav-button-hover-background-color: var(--color-black-60);--nav-drop-down-icon-color: var(--color-white);--actionbar-background-color: var(--color-black-80);--nav-background-color: var(--color-black-80);--nav-mobile-menu-background-color: var(--color-black-80);--nav-mobile-menu-bottom-background-color: var(--color-black-60)}.HeaderLink_headerBackgroundWrapper__V\+bMi{position:relative;z-index:var(--header-z-index)}.HeaderLink_headerLink__Q\+CZQ.HeaderLink_headerLink__Q\+CZQ{--link-color: var(--color-black-90);--link-font-size: var(--fontsize-body-s);--link-visited-color: none;border:0;color:var(--nav-link-font-color);display:flex;line-height:var(--lineheight-l);margin:0;text-decoration:none;word-wrap:break-word}.HeaderLink_headerLink__Q\+CZQ.HeaderLink_headerLink__Q\+CZQ:hover{text-decoration:underline;text-decoration-color:var(--nav-link-hover-color)}.HeaderLink_headerLink__Q\+CZQ.HeaderLink_headerLink__Q\+CZQ:focus-visible{border:none;outline:var(--header-focus-outline-width) solid var(--header-focus-outline-color);outline-offset:var(--header-focus-outline-width)}.HeaderLink_active__8Jw\+7{font-weight:700;padding-left:var(--header-focus-outline-width)}.HeaderLink_navigationLinkWrapper__XhsWz{align-items:center;display:flex;height:100%;justify-content:space-between;position:relative}.HeaderLink_navigationLinkWrapper__XhsWz.HeaderLink_isNotLargeScreen__WOoeU{width:100%}.HeaderLink_navigationLinkWrapper__XhsWz.HeaderLink_isNotLargeScreen__WOoeU,.HeaderLink_navigationLinkWrapper__XhsWz.HeaderLink_isNotLargeScreen__WOoeU:focus{border-top-width:1px}.HeaderLink_navigationLinkWrapper__XhsWz.HeaderLink_isNotLargeScreen__WOoeU ul{border:none}.HeaderLink_headerLink__Q\+CZQ.HeaderLink_isNotLargeScreen__WOoeU{align-self:center;border:none;box-sizing:border-box;color:var(--nav-link-font-color);font-size:var(--fontsize-body-xl);margin-left:var(--nav-mobile-margin-left);padding:0;word-wrap:break-word}.HeaderLink_headerLink__Q\+CZQ.HeaderLink_isNotLargeScreen__WOoeU:focus{border:none}
-.HeaderLinkDropdown_header__9AwcE{--header-background-color: var(--color-white);--header-color: var(--color-black-90);--header-height: var(--spacing-4-xl);--header-focus-outline-width: 3px;--header-focus-outline-border-radius: 0;--header-focus-outline-color: var(--color-coat-of-arms);--header-divider-color: var(--color-black-20);--header-z-index: 10;--header-margin: var(--spacing-m);--header-max-width: 1440px;--header-item-border-color: var(--color-black-20);--header-item-hover-color: var(--color-black-20);--actionbar-background-color: var(--color-white);--action-bar-container-height: 88px;--action-bar-section-gutter: var(--spacing-s);--action-bar-dropdown-menu-caret-width: 64px;--action-bar-dropdown-menu-primary-item-height: 64px;--action-bar-dropdown-menu-secondary-item-height: 48px;--action-bar-button-size: 64px;--action-bar-item-gutter: 12px;--action-bar-item-title-font-size: var(--fontsize-body-s);--action-bar-item-title-font-color: var(--header-color);--lang-selector-mobile-background-color: var(--color-silver-light);--lang-selector-item-font-color: var(--header-color);--lang-selector-dropdown-background-color: var(--color-white);--nav-link-font-color: var(--header-color);--nav-border-color: var(--color-black-20);--nav-link-hover-color: var(--color-black-90);--nav-link-dropdown-background-color: var(--color-white);--nav-button-background-color: var(--color-black-5);--nav-button-hover-background-color: var(--color-black-5);--nav-search-color: var(--header-color);--nav-mobile-menu-background-color: var(--color-white);--nav-mobile-menu-bottom-background-color: var(--color-silver-light);--nav-mobile-margin-left: var(--spacing-s);--universal-bar-background-color: var(--color-black-5);--logo-height: 56px;--icon-size: 24px;--nav-drop-down-icon-color: var(--color-black);--nav-background-color:var(--color-white);background-color:var(--header-background-color);color:var(--header-color);position:relative;width:100%}@media only screen and (max-width: 991px){.HeaderLinkDropdown_header__9AwcE{--action-bar-container-height: 74px;--logo-height: 48px}}@media only screen and (max-width: 767px){.HeaderLinkDropdown_header__9AwcE{--header-margin: var(--spacing-s);--action-bar-container-height: 64px;--logo-height: 32px}}@media only screen and (max-width: 575px){.HeaderLinkDropdown_header__9AwcE{--header-margin: var(--spacing-xs);--action-bar-container-height: 64px;--logo-height: 32px}}.HeaderLinkDropdown_header__9AwcE.HeaderLinkDropdown_theme-dark__wUr1f{--color-focus-outline: var(--color-white);--header-color: var(--color-white);--header-focus-outline-color: var(--color-white);--header-background-color: var(--color-black-80);--nav-border-color: var(--color-white);--nav-link-hover-color: var(--color-white);--universal-bar-background-color: var(--color-black-60);--navigation-link-button-background-color: var(--color-black-60);--nav-link-dropdown-background-color: var(--color-black-80);--lang-selector-mobile-background-color: var(--color-black-80);--lang-selector-dropdown-background-color: var(--color-black-60);--nav-button-background-color: var(--color-black-60);--nav-button-hover-background-color: var(--color-black-60);--nav-drop-down-icon-color: var(--color-white);--actionbar-background-color: var(--color-black-80);--nav-background-color: var(--color-black-80);--nav-mobile-menu-background-color: var(--color-black-80);--nav-mobile-menu-bottom-background-color: var(--color-black-60)}.HeaderLinkDropdown_headerBackgroundWrapper__X5Fks{position:relative;z-index:var(--header-z-index)}button.HeaderLinkDropdown_button__ClWrt{background-color:var(--nav-button-background-color);border:none;box-sizing:content-box;color:var(--nav-drop-down-icon-color);display:block;height:24px;margin:0 0 0 var(--spacing-s);padding:0;width:24px}button.HeaderLinkDropdown_button__ClWrt.HeaderLinkDropdown_isNotLargeScreen__9sZf2{background:transparent;border-left:1px solid var(--nav-button-background-color);box-sizing:border-box;flex:0 0 var(--action-bar-dropdown-menu-caret-width);height:var(--action-bar-dropdown-menu-secondary-item-height);width:auto;width:initial}button.HeaderLinkDropdown_button__ClWrt.HeaderLinkDropdown_isNotLargeScreen__9sZf2.HeaderLinkDropdown_depth-0__Eckuc{height:var(--action-bar-dropdown-menu-primary-item-height)}button.HeaderLinkDropdown_button__ClWrt:hover{background-color:var(--nav-button-hover-background-color);cursor:pointer}button.HeaderLinkDropdown_button__ClWrt:focus-visible{outline:3px solid var(--header-focus-outline-color);outline-offset:var(--header-focus-outline-width)}.HeaderLinkDropdown_chevron__JNMi9{transition:transform .2s ease-in}.HeaderLinkDropdown_chevronOpen__Znpsv{transform:rotate(180deg)}.HeaderLinkDropdown_hidden__-\+n71{display:none}.HeaderLinkDropdown_dropdownMenu__ppesK{background-color:var(--nav-link-dropdown-background-color);border:1px solid var(--nav-border-color);display:flex;flex-direction:column;left:calc(-1 * var(--header-margin));list-style:none;min-width:calc(100% + var(--header-margin));padding:0;position:absolute;top:100%;z-index:calc(var(--header-z-index) + 1)}.HeaderLinkDropdown_dropdownMenu__ppesK .HeaderLinkDropdown_dropdownLink__Jc0Kf{font-size:var(--fontsize-body-m);margin:var(--spacing-xs) var(--spacing-m) var(--spacing-xs) var(--header-margin);padding:0}.HeaderLinkDropdown_dropdownMenu__ppesK .HeaderLinkDropdown_dropdownLink__Jc0Kf:focus{border:0}.HeaderLinkDropdown_dropdownMenu__ppesK .HeaderLinkDropdown_dropdownLink__Jc0Kf:focus-visible{outline:3px solid var(--header-focus-outline-color);outline-offset:var(--header-focus-outline-width)}.HeaderLinkDropdown_dropdownMenu__ppesK .HeaderLinkDropdown_dropdownLink__Jc0Kf:before{bottom:0;content:"";height:100%;left:0;margin:0;position:absolute;width:0}.HeaderLinkDropdown_dropdownMenu__ppesK .HeaderLinkDropdown_dropdownLink__Jc0Kf:hover:before{border-left:4px solid var(--color-black);transition:border-left 100ms ease-in}.HeaderLinkDropdown_dropdownMenu__ppesK .HeaderLinkDropdown_activeLink__sIRUp:before{border-left:4px solid var(--color-black);padding-left:var(--spacing-xs)}.HeaderLinkDropdown_dropdownMenu__ppesK .HeaderLinkDropdown_button__ClWrt{margin:0 var(--spacing-xs) 0 var(--spacing-s)}.HeaderLinkDropdown_left__6e3eu{left:auto;right:calc(100%);top:-1px}.HeaderLinkDropdown_right__46eju{left:calc(100%);right:auto;top:-1px}
+.HeaderLinkDropdown_header__9AwcE{--header-background-color: var(--color-white);--header-color: var(--color-black-90);--header-height: var(--spacing-4-xl);--header-focus-outline-width: 3px;--header-focus-outline-border-radius: 0;--header-focus-outline-color: var(--color-coat-of-arms);--header-divider-color: var(--color-black-20);--header-z-index: 10;--header-margin: var(--spacing-m);--header-max-width: 1440px;--header-item-border-color: var(--color-black-20);--header-item-hover-color: var(--color-black-20);--actionbar-background-color: var(--color-white);--action-bar-container-height: 88px;--action-bar-section-gutter: var(--spacing-s);--action-bar-dropdown-menu-caret-width: 64px;--action-bar-dropdown-menu-primary-item-height: 64px;--action-bar-dropdown-menu-secondary-item-height: 48px;--action-bar-button-size: 64px;--action-bar-item-gutter: 12px;--action-bar-item-title-font-size: var(--fontsize-body-s);--action-bar-item-title-font-color: var(--header-color);--lang-selector-mobile-background-color: var(--color-silver-light);--lang-selector-item-font-color: var(--header-color);--lang-selector-dropdown-background-color: var(--color-white);--nav-link-font-color: var(--header-color);--nav-border-color: var(--color-black-20);--nav-link-hover-color: var(--color-black-90);--nav-link-dropdown-background-color: var(--color-white);--nav-button-background-color: var(--color-black-5);--nav-button-hover-background-color: var(--color-black-5);--nav-search-color: var(--header-color);--nav-mobile-menu-background-color: var(--color-white);--nav-mobile-menu-bottom-background-color: var(--color-silver-light);--nav-mobile-margin-left: var(--spacing-s);--universal-bar-background-color: var(--color-black-5);--logo-height: 56px;--icon-size: 24px;--nav-drop-down-icon-color: var(--color-black);--nav-background-color:var(--color-white);background-color:var(--header-background-color);color:var(--header-color);position:relative;width:100%}@media only screen and (max-width: 991px){.HeaderLinkDropdown_header__9AwcE{--action-bar-container-height: 74px;--logo-height: 48px}}@media only screen and (max-width: 767px){.HeaderLinkDropdown_header__9AwcE{--header-margin: var(--spacing-s);--action-bar-container-height: 64px;--logo-height: 32px}}@media only screen and (max-width: 575px){.HeaderLinkDropdown_header__9AwcE{--header-margin: var(--spacing-xs);--action-bar-container-height: 64px;--logo-height: 32px}}.HeaderLinkDropdown_header__9AwcE.HeaderLinkDropdown_theme-dark__wUr1f{--color-focus-outline: var(--color-white);--header-color: var(--color-white);--header-focus-outline-color: var(--color-white);--header-background-color: var(--color-black-80);--nav-border-color: var(--color-white);--nav-link-hover-color: var(--color-white);--universal-bar-background-color: var(--color-black-60);--navigation-link-button-background-color: var(--color-black-60);--nav-link-dropdown-background-color: var(--color-black-80);--lang-selector-mobile-background-color: var(--color-black-80);--lang-selector-dropdown-background-color: var(--color-black-60);--nav-button-background-color: var(--color-black-60);--nav-button-hover-background-color: var(--color-black-60);--nav-drop-down-icon-color: var(--color-white);--actionbar-background-color: var(--color-black-80);--nav-background-color: var(--color-black-80);--nav-mobile-menu-background-color: var(--color-black-80);--nav-mobile-menu-bottom-background-color: var(--color-black-60)}.HeaderLinkDropdown_headerBackgroundWrapper__X5Fks{position:relative;z-index:var(--header-z-index)}button.HeaderLinkDropdown_button__ClWrt{background-color:var(--nav-button-background-color);border:none;box-sizing:content-box;color:var(--nav-drop-down-icon-color);display:block;height:24px;margin:0 0 0 var(--spacing-s);padding:0;width:24px}button.HeaderLinkDropdown_button__ClWrt.HeaderLinkDropdown_isNotLargeScreen__9sZf2{background:transparent;border-left:1px solid var(--nav-button-background-color);box-sizing:border-box;flex:0 0 var(--action-bar-dropdown-menu-caret-width);height:var(--action-bar-dropdown-menu-secondary-item-height);width:auto;width:initial}button.HeaderLinkDropdown_button__ClWrt.HeaderLinkDropdown_isNotLargeScreen__9sZf2.HeaderLinkDropdown_depth-0__Eckuc{height:var(--action-bar-dropdown-menu-primary-item-height)}button.HeaderLinkDropdown_button__ClWrt:hover{background-color:var(--nav-button-hover-background-color);cursor:pointer}button.HeaderLinkDropdown_button__ClWrt:focus-visible{outline:3px solid var(--header-focus-outline-color);outline-offset:var(--header-focus-outline-width)}.HeaderLinkDropdown_chevron__JNMi9{transition:transform .2s ease-in}.HeaderLinkDropdown_chevronOpen__Znpsv{transform:rotate(180deg)}.HeaderLinkDropdown_hidden__-\+n71{display:none}.HeaderLinkDropdown_dropdownMenu__ppesK{background-color:var(--nav-link-dropdown-background-color);border:1px solid var(--nav-border-color);display:flex;flex-direction:column;list-style:none;min-width:280px;padding:0;position:absolute;top:100%;z-index:calc(var(--header-z-index) + 1)}.HeaderLinkDropdown_dropdownMenu__ppesK .HeaderLinkDropdown_dropdownLink__Jc0Kf{font-size:var(--fontsize-body-m);margin:var(--spacing-xs) var(--spacing-m) var(--spacing-xs) var(--header-margin);padding:0}.HeaderLinkDropdown_dropdownMenu__ppesK .HeaderLinkDropdown_dropdownLink__Jc0Kf:focus{border:0}.HeaderLinkDropdown_dropdownMenu__ppesK .HeaderLinkDropdown_dropdownLink__Jc0Kf:focus-visible{outline:3px solid var(--header-focus-outline-color);outline-offset:var(--header-focus-outline-width)}.HeaderLinkDropdown_dropdownMenu__ppesK .HeaderLinkDropdown_dropdownLink__Jc0Kf:before{bottom:0;content:"";height:100%;left:0;margin:0;position:absolute;width:0}.HeaderLinkDropdown_dropdownMenu__ppesK .HeaderLinkDropdown_dropdownLink__Jc0Kf:hover:before{border-left:4px solid var(--color-black);transition:border-left 100ms ease-in}.HeaderLinkDropdown_dropdownMenu__ppesK .HeaderLinkDropdown_activeLink__sIRUp:before{border-left:4px solid var(--color-black);padding-left:var(--spacing-xs)}.HeaderLinkDropdown_dropdownMenu__ppesK .HeaderLinkDropdown_button__ClWrt{margin:0 var(--spacing-xs) 0 var(--spacing-s)}.HeaderLinkDropdown_left__6e3eu{left:auto;right:calc(100%);top:-1px}.HeaderLinkDropdown_right__46eju{left:calc(100%);right:auto;top:-1px}
.HeaderActionBar_header__\+ARfd{--header-background-color: var(--color-white);--header-color: var(--color-black-90);--header-height: var(--spacing-4-xl);--header-focus-outline-width: 3px;--header-focus-outline-border-radius: 0;--header-focus-outline-color: var(--color-coat-of-arms);--header-divider-color: var(--color-black-20);--header-z-index: 10;--header-margin: var(--spacing-m);--header-max-width: 1440px;--header-item-border-color: var(--color-black-20);--header-item-hover-color: var(--color-black-20);--actionbar-background-color: var(--color-white);--action-bar-container-height: 88px;--action-bar-section-gutter: var(--spacing-s);--action-bar-dropdown-menu-caret-width: 64px;--action-bar-dropdown-menu-primary-item-height: 64px;--action-bar-dropdown-menu-secondary-item-height: 48px;--action-bar-button-size: 64px;--action-bar-item-gutter: 12px;--action-bar-item-title-font-size: var(--fontsize-body-s);--action-bar-item-title-font-color: var(--header-color);--lang-selector-mobile-background-color: var(--color-silver-light);--lang-selector-item-font-color: var(--header-color);--lang-selector-dropdown-background-color: var(--color-white);--nav-link-font-color: var(--header-color);--nav-border-color: var(--color-black-20);--nav-link-hover-color: var(--color-black-90);--nav-link-dropdown-background-color: var(--color-white);--nav-button-background-color: var(--color-black-5);--nav-button-hover-background-color: var(--color-black-5);--nav-search-color: var(--header-color);--nav-mobile-menu-background-color: var(--color-white);--nav-mobile-menu-bottom-background-color: var(--color-silver-light);--nav-mobile-margin-left: var(--spacing-s);--universal-bar-background-color: var(--color-black-5);--logo-height: 56px;--icon-size: 24px;--nav-drop-down-icon-color: var(--color-black);--nav-background-color:var(--color-white);background-color:var(--header-background-color);color:var(--header-color);position:relative;width:100%}@media only screen and (max-width: 991px){.HeaderActionBar_header__\+ARfd{--action-bar-container-height: 74px;--logo-height: 48px}}@media only screen and (max-width: 767px){.HeaderActionBar_header__\+ARfd{--header-margin: var(--spacing-s);--action-bar-container-height: 64px;--logo-height: 32px}}@media only screen and (max-width: 575px){.HeaderActionBar_header__\+ARfd{--header-margin: var(--spacing-xs);--action-bar-container-height: 64px;--logo-height: 32px}}.HeaderActionBar_header__\+ARfd.HeaderActionBar_theme-dark__5qOpQ{--color-focus-outline: var(--color-white);--header-color: var(--color-white);--header-focus-outline-color: var(--color-white);--header-background-color: var(--color-black-80);--nav-border-color: var(--color-white);--nav-link-hover-color: var(--color-white);--universal-bar-background-color: var(--color-black-60);--navigation-link-button-background-color: var(--color-black-60);--nav-link-dropdown-background-color: var(--color-black-80);--lang-selector-mobile-background-color: var(--color-black-80);--lang-selector-dropdown-background-color: var(--color-black-60);--nav-button-background-color: var(--color-black-60);--nav-button-hover-background-color: var(--color-black-60);--nav-drop-down-icon-color: var(--color-white);--actionbar-background-color: var(--color-black-80);--nav-background-color: var(--color-black-80);--nav-mobile-menu-background-color: var(--color-black-80);--nav-mobile-menu-bottom-background-color: var(--color-black-60)}.HeaderActionBar_headerBackgroundWrapper__NKEiY{position:relative;z-index:var(--header-z-index)}.HeaderActionBar_headerActionBar__04z3n{align-items:stretch;box-sizing:border-box;color:var(--header-color);display:flex;gap:calc(var(--header-margin) / 2);height:var(--action-bar-container-height);justify-content:space-between;margin:0 auto;max-width:var(--header-max-width);padding-left:var(--header-margin);padding-right:var(--header-margin);position:relative}.HeaderActionBar_headerActionBar__04z3n hr{border:0;border-left:1px solid var(--color-black-20);display:inline-block;height:100%;margin:0 5px;width:0}.HeaderActionBar_headerActionBarContainer__Qy-WL{background-color:var(--actionbar-background-color);border-bottom:1px solid var(--header-divider-color);width:100%}.HeaderActionBar_headerActions__OQ9D5{align-items:stretch;display:flex;flex-grow:1;gap:var(--action-bar-item-gutter);justify-content:flex-end}.HeaderActionBar_titleAndLogoContainer__UNUXl{align-items:center;color:inherit;cursor:pointer;display:flex;flex:0 0 auto;outline:none;position:relative;text-decoration:none;white-space:nowrap}.HeaderActionBar_titleAndLogoContainer__UNUXl:focus-visible{border:none;outline:var(--header-focus-outline-width) solid var(--header-focus-outline-color);outline-offset:var(--header-focus-outline-width)}.HeaderActionBar_titleAndLogoContainer__UNUXl:not([href]):not([tabindex="0"]){cursor:auto}.HeaderActionBar_title__HR\+eI{align-self:center;margin-top:-2px;padding:1px}.HeaderActionBar_normal__FN63e>.HeaderActionBar_title__HR\+eI{font-family:var(--font-default);font-size:var(--fontsize-heading-m);font-weight:500;letter-spacing:-0.2px;line-height:var(--lineheight-s)}@media only screen and (max-width: 991px){.HeaderActionBar_normal__FN63e>.HeaderActionBar_title__HR\+eI{font-size:var(--fontsize-heading-s);font-weight:500;letter-spacing:-0.2px;line-height:var(--lineheight-s)}}@media only screen and (max-width: 767px){.HeaderActionBar_normal__FN63e>.HeaderActionBar_title__HR\+eI{font-size:var(--fontsize-body-s);font-weight:500;letter-spacing:-0.1px;line-height:var(--lineheight-s)}}.HeaderActionBar_bold__ovvxq>.HeaderActionBar_title__HR\+eI{font-family:var(--font-default);font-size:var(--fontsize-heading-m);font-weight:700;letter-spacing:-0.2px;line-height:var(--lineheight-s)}@media only screen and (max-width: 991px){.HeaderActionBar_bold__ovvxq>.HeaderActionBar_title__HR\+eI{font-size:var(--fontsize-heading-s);font-weight:700;letter-spacing:-0.2px;line-height:var(--lineheight-s)}}@media only screen and (max-width: 767px){.HeaderActionBar_bold__ovvxq>.HeaderActionBar_title__HR\+eI{font-size:var(--fontsize-body-s);font-weight:700;letter-spacing:-0.1px;line-height:var(--lineheight-s)}}.HeaderActionBar_black__FoYNm>.HeaderActionBar_title__HR\+eI{font-family:var(--font-default);font-size:var(--fontsize-heading-l);font-weight:900;letter-spacing:-0.2px;line-height:var(--lineheight-s)}@media only screen and (max-width: 991px){.HeaderActionBar_black__FoYNm>.HeaderActionBar_title__HR\+eI{font-size:var(--fontsize-heading-m);font-weight:900;letter-spacing:-0.2px;line-height:var(--lineheight-s)}}@media only screen and (max-width: 767px){.HeaderActionBar_black__FoYNm>.HeaderActionBar_title__HR\+eI{font-size:var(--fontsize-heading-xxs);font-weight:900;letter-spacing:-0.1px;line-height:var(--lineheight-s)}}.HeaderActionBar_logo__jkhie{align-self:center;box-sizing:content-box;height:var(--logo-height)}
.HeaderLanguageSelector_header__dDIh7{--header-background-color: var(--color-white);--header-color: var(--color-black-90);--header-height: var(--spacing-4-xl);--header-focus-outline-width: 3px;--header-focus-outline-border-radius: 0;--header-focus-outline-color: var(--color-coat-of-arms);--header-divider-color: var(--color-black-20);--header-z-index: 10;--header-margin: var(--spacing-m);--header-max-width: 1440px;--header-item-border-color: var(--color-black-20);--header-item-hover-color: var(--color-black-20);--actionbar-background-color: var(--color-white);--action-bar-container-height: 88px;--action-bar-section-gutter: var(--spacing-s);--action-bar-dropdown-menu-caret-width: 64px;--action-bar-dropdown-menu-primary-item-height: 64px;--action-bar-dropdown-menu-secondary-item-height: 48px;--action-bar-button-size: 64px;--action-bar-item-gutter: 12px;--action-bar-item-title-font-size: var(--fontsize-body-s);--action-bar-item-title-font-color: var(--header-color);--lang-selector-mobile-background-color: var(--color-silver-light);--lang-selector-item-font-color: var(--header-color);--lang-selector-dropdown-background-color: var(--color-white);--nav-link-font-color: var(--header-color);--nav-border-color: var(--color-black-20);--nav-link-hover-color: var(--color-black-90);--nav-link-dropdown-background-color: var(--color-white);--nav-button-background-color: var(--color-black-5);--nav-button-hover-background-color: var(--color-black-5);--nav-search-color: var(--header-color);--nav-mobile-menu-background-color: var(--color-white);--nav-mobile-menu-bottom-background-color: var(--color-silver-light);--nav-mobile-margin-left: var(--spacing-s);--universal-bar-background-color: var(--color-black-5);--logo-height: 56px;--icon-size: 24px;--nav-drop-down-icon-color: var(--color-black);--nav-background-color:var(--color-white);background-color:var(--header-background-color);color:var(--header-color);position:relative;width:100%}@media only screen and (max-width: 991px){.HeaderLanguageSelector_header__dDIh7{--action-bar-container-height: 74px;--logo-height: 48px}}@media only screen and (max-width: 767px){.HeaderLanguageSelector_header__dDIh7{--header-margin: var(--spacing-s);--action-bar-container-height: 64px;--logo-height: 32px}}@media only screen and (max-width: 575px){.HeaderLanguageSelector_header__dDIh7{--header-margin: var(--spacing-xs);--action-bar-container-height: 64px;--logo-height: 32px}}.HeaderLanguageSelector_header__dDIh7.HeaderLanguageSelector_theme-dark__3lzAc{--color-focus-outline: var(--color-white);--header-color: var(--color-white);--header-focus-outline-color: var(--color-white);--header-background-color: var(--color-black-80);--nav-border-color: var(--color-white);--nav-link-hover-color: var(--color-white);--universal-bar-background-color: var(--color-black-60);--navigation-link-button-background-color: var(--color-black-60);--nav-link-dropdown-background-color: var(--color-black-80);--lang-selector-mobile-background-color: var(--color-black-80);--lang-selector-dropdown-background-color: var(--color-black-60);--nav-button-background-color: var(--color-black-60);--nav-button-hover-background-color: var(--color-black-60);--nav-drop-down-icon-color: var(--color-white);--actionbar-background-color: var(--color-black-80);--nav-background-color: var(--color-black-80);--nav-mobile-menu-background-color: var(--color-black-80);--nav-mobile-menu-bottom-background-color: var(--color-black-60)}.HeaderLanguageSelector_headerBackgroundWrapper__tJRDa{position:relative;z-index:var(--header-z-index)}.HeaderLanguageSelector_languageSelector__K5jvz{display:flex;gap:var(--spacing-s);justify-content:space-between}.HeaderLanguageSelector_languageSelectorDropdownIcon__JjYrv{align-items:center;margin-top:1px;padding-top:3px}.HeaderLanguageSelector_languageSelectorDropdownIcon__JjYrv:focus-visible{outline-offset:0}.HeaderLanguageSelector_languageSelectorDropdown__yfzJl{align-items:flex-start;background-color:var(--lang-selector-dropdown-background-color);display:flex;flex-flow:column nowrap}.HeaderLanguageSelector_languageSelectorDropdown__yfzJl>*{align-items:center;display:flex;font-size:var(--fontsize-body-m);line-height:var(--lineheight-l);margin:0}.HeaderLanguageSelector_languageSelectorDropdown__yfzJl>h3{border-bottom:solid 1px var(--header-divider-color)}.HeaderLanguageSelector_languageSelectorDropdown__yfzJl>h3:not(:first-of-type){border-top:solid 1px var(--header-divider-color)}.HeaderLanguageSelector_languageSelectorDropdown__yfzJl>a{color:var(--lang-selector-item-font-color);text-decoration:none}.HeaderLanguageSelector_languageSelectorDropdown__yfzJl>button{border:var(--header-focus-outline-width) solid transparent}button.HeaderLanguageSelector_item__20oWT,[type=button].HeaderLanguageSelector_item__20oWT{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;color:var(--lang-selector-item-font-color);cursor:pointer;line-height:var(--lineheight-l);outline:0;white-space:nowrap}button.HeaderLanguageSelector_item__20oWT:focus-visible,[type=button].HeaderLanguageSelector_item__20oWT:focus-visible{border:var(--header-focus-outline-width) solid var(--header-focus-outline-color)}.HeaderLanguageSelector_activeItem__-wlYS{font-weight:700}.HeaderLanguageSelector_activeItem__-wlYS span{border-bottom:2px solid}.HeaderLanguageSelector_languageNodes__LfQt-{display:flex;gap:var(--spacing-s)}.HeaderLanguageSelector_languageNodes__LfQt- button.HeaderLanguageSelector_item__20oWT,.HeaderLanguageSelector_languageNodes__LfQt- [type=button].HeaderLanguageSelector_item__20oWT{align-self:center;border:none;padding:0}.HeaderLanguageSelector_languageNodes__LfQt- button.HeaderLanguageSelector_item__20oWT:focus-visible,.HeaderLanguageSelector_languageNodes__LfQt- [type=button].HeaderLanguageSelector_item__20oWT:focus-visible{border:none;outline:var(--header-focus-outline-width) solid var(--header-focus-outline-color);outline-offset:var(--header-focus-outline-width)}.HeaderLanguageSelector_simpleLanguageNodes__v9iSd{gap:var(--action-bar-item-gutter)}.HeaderLanguageSelector_fullWidthForMobile__eEJS4{background-color:var(--lang-selector-mobile-background-color);border-bottom:1px solid var(--color-black-20);box-sizing:border-box;display:flex;height:var(--spacing-layout-m);padding:0 var(--header-margin);width:100%}.HeaderLanguageSelector_fullWidthForMobile__eEJS4 .HeaderLanguageSelector_languageSelectorDropdownIcon__JjYrv:focus-visible{outline-offset:0}
@layer actionBar{.HeaderActionBarItemWithDropdown_dropdownWrapper__67yXE{bottom:0;overflow:hidden;position:absolute;right:0;transform:translateY(100%) translateY(1px);transition-duration:0ms;transition-property:max-height,padding-bottom;z-index:20}.HeaderActionBarItemWithDropdown_container__Tz0nf{display:flex}.HeaderActionBarItemWithDropdown_container__Tz0nf .HeaderActionBarItemWithDropdown_dropdownWrapper__67yXE{max-height:0;min-width:300px;padding-bottom:0;transition-delay:400ms}.HeaderActionBarItemWithDropdown_container__Tz0nf.HeaderActionBarItemWithDropdown_visible__eSKCG .HeaderActionBarItemWithDropdown_dropdownWrapper__67yXE{max-height:1000vh;padding-bottom:20px;transition-delay:0ms}.HeaderActionBarItemWithDropdown_container__Tz0nf:not(.HeaderActionBarItemWithDropdown_hasContent__hTaRq){display:none}.HeaderActionBarItemWithDropdown_container__Tz0nf:not(.HeaderActionBarItemWithDropdown_fullWidth__amhk4){display:flex;position:relative}.HeaderActionBarItemWithDropdown_container__Tz0nf.HeaderActionBarItemWithDropdown_fullWidth__amhk4>.HeaderActionBarItemWithDropdown_dropdownWrapper__67yXE{left:0}.HeaderActionBarItemWithDropdown_icon__aOwHX{display:block}.HeaderActionBarItemWithDropdown_dropdown__eeq6d{background:#fff;border:1px solid var(--color-black-10);margin-top:-1px;position:relative;right:0;transform:translateY(-100%);transition:250ms transform 150ms,0ms visibility 400ms;visibility:hidden}.HeaderActionBarItemWithDropdown_dropdown__eeq6d.HeaderActionBarItemWithDropdown_fullWidth__amhk4{left:0}.HeaderActionBarItemWithDropdown_dropdown__eeq6d.HeaderActionBarItemWithDropdown_visible__eSKCG{transform:translateY(0%);transition:250ms transform 0ms,0ms visibility 0ms;visibility:visible}.HeaderActionBarItemWithDropdown_dropdown__eeq6d>*{padding:var(--spacing-xs) var(--spacing-s);width:100%}}
@@ -2219,4 +2219,4 @@ html {
.ToggleButton_toggleButton__CRyVA{font-family:inherit;font-size:100%;line-height:1.15;margin:0}.ToggleButton_label__-Is8B{color:var(--color-black-90);color:var(--label-color-default, var(--color-black-90));display:block;font-size:var(--fontsize-body-m);font-weight:500;margin-bottom:var(--spacing-3-xs)}.ToggleButton_toggleButtonContainer__o0GvA{--toggle-button-color: var(--color-bus);--toggle-button-hover-color: var(--color-bus-dark);--toggle-button-unselected-color: var(--color-black-90)}.ToggleButton_onIcon__D71Pa{color:#fff;opacity:0}.ToggleButton_offIcon__6wQWI{color:var(--toggle-button-unselected-color);opacity:1}.ToggleButton_toggleButton__CRyVA{background:#fff;border:2px solid var(--toggle-button-unselected-color);border-radius:20px;cursor:pointer;display:inline-block;height:32px;inset:0;position:relative;transition:all 200ms;width:56px}.ToggleButton_toggleButton__CRyVA:after{border-radius:25px;content:"";display:block;inset:-7px;position:absolute}.ToggleButton_toggleButton__CRyVA:focus{outline:none}.ToggleButton_toggleButton__CRyVA:focus:after{border:3px solid var(--color-coat-of-arms);box-sizing:content-box}.ToggleButton_toggleButton__CRyVA[aria-pressed=true]{background-color:var(--toggle-button-color);border-color:var(--toggle-button-color)}.ToggleButton_toggleButton__CRyVA[aria-pressed=true]:hover{background-color:var(--toggle-button-hover-color);border-color:var(--toggle-button-hover-color)}.ToggleButton_toggleButton__CRyVA[aria-pressed=true][disabled],.ToggleButton_toggleButton__CRyVA[aria-pressed=true][disabled]:hover{background-color:var(--color-black-10);border-color:var(--color-black-10)}.ToggleButton_toggleButton__CRyVA[aria-pressed=true] .ToggleButton_onIcon__D71Pa{margin-left:24px !important;opacity:1}.ToggleButton_toggleButton__CRyVA[aria-pressed=true] .ToggleButton_offIcon__6wQWI{margin-left:24px !important;opacity:0}.ToggleButton_toggleButton__CRyVA[disabled],.ToggleButton_toggleButton__CRyVA[disabled]:hover{border-color:var(--color-black-20);cursor:not-allowed}.ToggleButton_toggleButton__CRyVA[disabled] .ToggleButton_offIcon__6wQWI,.ToggleButton_toggleButton__CRyVA[disabled]:hover .ToggleButton_offIcon__6wQWI{color:var(--color-black-10)}.ToggleButton_toggleButtonContainerInlineVariant__CAPGb{align-items:center;display:flex;flex-wrap:wrap}.ToggleButton_toggleButtonContainerInlineVariant__CAPGb .ToggleButton_label__-Is8B{margin-bottom:0}.ToggleButton_toggleButtonContainerInlineVariant__CAPGb .ToggleButton_toggleButton__CRyVA{margin-left:auto}.ToggleButton_labelContainer__B7X0a{align-items:flex-start;display:flex}.ToggleButton_tooltipButton__hDA-0{display:block;margin-left:var(--spacing-2-xs)}.ToggleButton_toggleButtonIcon__5EjAE{cursor:pointer;left:-2px;position:absolute;top:-2px;transition:all 200ms}
.hds-example-form{margin:0 auto;max-width:792px}.hds-example-form__main-title{composes:heading-xl from "hds-core/lib/utils/helpers.css";margin:0 0 var(--spacing-m) 0}.hds-example-form__title{font-size:var(--fontsize-heading-l);font-weight:400;letter-spacing:-0.4px;line-height:var(--lineheight-s);margin:0 0 var(--spacing-m) 0}.hds-example-form__required-info{font-size:var(--fontsize-body-m);line-height:var(--lineheight-l);margin:0 0 var(--spacing-l) 0}.hds-example-form__error-summary{margin-bottom:var(--spacing-m)}.hds-example-form__section{margin-bottom:var(--spacing-xl)}.hds-example-form__section-title{composes:heading-s from "hds-core/lib/utils/helpers.css";margin:0 0 var(--spacing-m)}.hds-example-form__item{margin-bottom:var(--spacing-m)}.hds-example-form__terms{margin-left:var(--spacing-l);margin-top:var(--spacing-2-xs)}.hds-example-form__terms span{color:var(--color-bus);cursor:pointer;text-decoration:underline}@media(min-width: 576px){.hds-example-form__grid-6-6{display:grid;grid-gap:var(--spacing-m);gap:var(--spacing-m);grid-template-columns:1fr 1fr}.hds-example-form__grid-8-4{display:grid;grid-gap:var(--spacing-m);gap:var(--spacing-m);grid-template-columns:2fr 1fr}.hds-example-form__grid-6-6:last-child,.hds-example-form__grid-8-4:last-child{margin-bottom:calc(-1 * var(--spacing-m))}}
-/*# sourceMappingURL=main.829f7692.css.map*/
\ No newline at end of file
+/*# sourceMappingURL=main.60178a80.css.map*/
\ No newline at end of file
diff --git a/docs/hds-1909-react/css/main.60178a80.css.map b/docs/hds-1909-react/css/main.60178a80.css.map
new file mode 100644
index 00000000000..d0aac5362c9
--- /dev/null
+++ b/docs/hds-1909-react/css/main.60178a80.css.map
@@ -0,0 +1 @@
+{"version":3,"file":"static/css/main.60178a80.css","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AAAA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AClIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3HA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtHA;;;AAGA;;AAEA;AACA;AACA;;ACXA;ACAA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;ACjCA;AACA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;ACvBA;ACAA;AEyBA;AEzBA;ACAA;AHIA;AAqBA;AOzBA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;;;AAGA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;;AAEA;;;AAGA;AACA;AACA;;AAEA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;ACtTA;AAEA;;AREA;AUJA;ACAA;AXIA;AaJA;ACAA;;ACAA;ACEA;ACCA;AEDA;AFCA;AAAA;AAAA;AAAA;AQAA;ARAA;AUHA;ACEA;ACFA;ACEA;ACFA;A/ByBA;AAAA;AkCzBA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AChBA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;;;AAIA;AACA;;AAEA;AACA;AACA;;AAEA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;;;AAIA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;;;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;;;;AAIA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;A3CzPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;A4C1HA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AACA;AACA;AACA;;ACvBA;A7CAA;A8CAA;ACAA;ACAA;AxCaA;AATA;A2CHA;A3CGA;A6CJA;A7CaA;A+CbA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;;;;;;AAMA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AC3PA;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AAEA;;AAEA;AACA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AC1FA;ACAA;AAEA;AACA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AACA;AACA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AlDtCA;AoDtBA;ApDCA;AuDDA;ACCA;AxDAA;A0DJA;ACAA;A3DyCA;A6DzCA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;;;AAIA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;;;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AC3MA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;A9DWA;AgEfA;ACVA;AACA;AACA;AACA;;AAEA;AACA;AACA;;ACLA;ACAA;AnEEA;AAAA;AoEEA;AIJA;AxEEA;AoEEA;AONA;ACEA;ACFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AClHA;ACAA;ACAA;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;ACpKA;ACAA;ACAA;ACAA;ACAA;ACEA;AvFEA;AAAA;A2FJA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AC7CA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AAEA;AAEA;;AC1BA;ACAA;A9FIA;AAAA;AASA;AAAA;AmGbA","sources":["webpack://hds-react/./.storybook/index.css","webpack://hds-react/../design-tokens/lib/all.css","webpack://hds-react/../core/lib/utils/animations.css","webpack://hds-react/../core/lib/utils/helpers.css","webpack://hds-react/./src/styles/base.css","webpack://hds-react/./src/components/accordion/Accordion.module.scss","webpack://hds-react/../core/lib/icons/icon.css","webpack://hds-react/./src/icons/Icon.module.css","webpack://hds-react/../core/lib/components/button/button.css","webpack://hds-react/./src/components/button/_button.common.scss","webpack://hds-react/./src/components/button/Button.module.scss","webpack://hds-react/./src/styles/_common.scss","webpack://hds-react/./src/components/loadingSpinner/LoadingSpinner.module.scss","webpack://hds-react/../core/lib/components/card/card.css","webpack://hds-react/./src/components/card/Card.module.scss","webpack://hds-react/./src/components/dropdown/_dropdown.common.scss","webpack://hds-react/./src/components/dropdown/select/Select.module.scss","webpack://hds-react/./src/internal/field-label/FieldLabel.module.scss","webpack://hds-react/../core/lib/components/text-input/text-input.css","webpack://hds-react/./src/internal/required-indicator/RequiredIndicator.module.css","webpack://hds-react/./src/components/tooltip/Tooltip.module.scss","webpack://hds-react/./src/internal/selectedItems/SelectedItems.module.scss","webpack://hds-react/../core/lib/components/tag/tag.css","webpack://hds-react/./src/components/tag/Tag.module.scss","webpack://hds-react/../core/lib/components/link/link.css","webpack://hds-react/./src/components/link/Link.module.scss","webpack://hds-react/../core/lib/components/breadcrumb/breadcrumb.css","webpack://hds-react/./src/components/breadcrumb/Breadcrumb.module.scss","webpack://hds-react/./src/components/header/Header.module.scss","webpack://hds-react/./src/styles/layout.scss","webpack://hds-react/./src/components/header/components/headerUniversalBar/HeaderUniversalBar.module.scss","webpack://hds-react/./src/components/header/components/headerLink/HeaderLink.module.scss","webpack://hds-react/./src/components/header/components/headerLink/headerLinkDropdown/HeaderLinkDropdown.module.scss","webpack://hds-react/./src/components/header/components/headerActionBar/HeaderActionBar.module.scss","webpack://hds-react/./src/components/header/components/headerActionBar/_typography.scss","webpack://hds-react/./src/components/header/components/headerLanguageSelector/HeaderLanguageSelector.module.scss","webpack://hds-react/./src/components/header/components/headerActionBarItem/HeaderActionBarItemWithDropdown.module.scss","webpack://hds-react/./src/components/header/components/headerActionBarItem/HeaderActionBarItem.module.scss","webpack://hds-react/./src/components/header/components/headerActionBar/HeaderActionBarLogo.module.scss","webpack://hds-react/./src/components/header/components/headerActionBar/HeaderActionBarNavigationMenu.module.scss","webpack://hds-react/./src/components/header/components/headerNavigationMenu/HeaderNavigationMenu.module.scss","webpack://hds-react/./src/components/header/components/headerSearch/HeaderSearch.module.scss","webpack://hds-react/../core/lib/components/search-input/search-input.css","webpack://hds-react/./src/components/searchInput/SearchInput.module.scss","webpack://hds-react/./src/internal/skipLink/SkipLink.module.scss","webpack://hds-react/./src/components/logo/Logo.module.css","webpack://hds-react/../core/lib/components/checkbox/checkbox.css","webpack://hds-react/./src/components/checkbox/Checkbox.module.css","webpack://hds-react/../core/lib/components/fieldset/fieldset.css","webpack://hds-react/./src/components/fieldset/Fieldset.module.scss","webpack://hds-react/../core/lib/components/container/container.css","webpack://hds-react/./src/components/container/Container.module.scss","webpack://hds-react/./src/components/cookieConsent/CookieConsent.module.scss","webpack://hds-react/./src/internal/menuButton/MenuButton.module.scss","webpack://hds-react/./src/internal/menuButton/menu/Menu.module.scss","webpack://hds-react/./src/components/cookieConsent/languageSwitcher/LanguageSwitcherItem/LanguageSwitcherItem.module.scss","webpack://hds-react/../core/lib/components/table/table.css","webpack://hds-react/./src/components/table/Table.module.scss","webpack://hds-react/../core/lib/components/notification/notification.css","webpack://hds-react/./src/components/notification/Notification.module.css","webpack://hds-react/./src/components/dateInput/DateInput.module.scss","webpack://hds-react/./src/components/textInput/TextInput.module.css","webpack://hds-react/./src/components/dateInput/components/datePicker/DatePicker.module.scss","webpack://hds-react/./src/components/dialog/Dialog.module.scss","webpack://hds-react/./src/components/dialog/dialogHeader/DialogHeader.module.scss","webpack://hds-react/./src/components/dialog/_dialog.common.scss","webpack://hds-react/./src/components/dialog/dialogContent/DialogContent.module.scss","webpack://hds-react/./src/components/dialog/dialogActionButtons/DialogActionButtons.module.scss","webpack://hds-react/./src/components/dropdown/combobox/Combobox.module.scss","webpack://hds-react/./src/components/errorSummary/ErrorSummary.module.scss","webpack://hds-react/../core/lib/components/selection-group/selection-group.css","webpack://hds-react/./src/components/selectionGroup/SelectionGroup.module.scss","webpack://hds-react/../core/lib/components/radio-button/radio-button.css","webpack://hds-react/./src/components/radioButton/RadioButton.module.css","webpack://hds-react/./src/components/fileInput/FileInput.module.scss","webpack://hds-react/./src/components/footer/Footer.module.scss","webpack://hds-react/./src/components/koros/Koros.module.css","webpack://hds-react/./src/components/footer/components/footerNavigation/FooterNavigation.module.scss","webpack://hds-react/./src/components/footer/components/footerNavigationGroup/FooterNavigationGroup.module.scss","webpack://hds-react/./src/components/footer/_common.scss","webpack://hds-react/./src/components/footer/components/footerGroupHeading/FooterGroupHeading.module.scss","webpack://hds-react/./src/components/footer/components/footerLink/FooterLink.module.scss","webpack://hds-react/./src/components/footer/components/footerUtilities/FooterUtilities.module.scss","webpack://hds-react/./src/components/footer/components/footerUtilityGroup/FooterUtilityGroup.module.scss","webpack://hds-react/./src/components/footer/components/footerBase/FooterBase.module.scss","webpack://hds-react/./src/components/footer/components/footerCustom/FooterCustom.module.scss","webpack://hds-react/../core/lib/components/hero/hero.css","webpack://hds-react/./src/components/hero/Hero.module.scss","webpack://hds-react/./src/components/section/Section.module.css","webpack://hds-react/../core/lib/base.min.css","webpack://hds-react/../core/lib/components/highlight/highlight.css","webpack://hds-react/./src/components/highlight/Highlight.module.scss","webpack://hds-react/./src/components/imageWithCard/ImageWithCard.module.css","webpack://hds-react/./src/components/linkbox/Linkbox.module.scss","webpack://hds-react/./src/components/numberInput/NumberInput.module.scss","webpack://hds-react/../core/lib/components/pagination/pagination.css","webpack://hds-react/./src/components/pagination/Pagination.module.scss","webpack://hds-react/./src/components/passwordInput/PasswordInput.module.scss","webpack://hds-react/./src/components/sideNavigation/SideNavigation.module.scss","webpack://hds-react/./src/components/sideNavigation/_sideNavigation.common.scss","webpack://hds-react/./src/components/sideNavigation/mainLevel/MainLevel.module.scss","webpack://hds-react/./src/components/sideNavigation/subLevel/SubLevel.module.scss","webpack://hds-react/../core/lib/components/status-label/status-label.css","webpack://hds-react/./src/components/statusLabel/StatusLabel.module.css","webpack://hds-react/../core/lib/components/step-by-step/step-by-step.css","webpack://hds-react/./src/components/stepByStep/StepByStep.module.scss","webpack://hds-react/./src/components/stepper/Stepper.module.scss","webpack://hds-react/./src/components/tabs/Tabs.module.scss","webpack://hds-react/./src/components/timeInput/TimeInput.module.scss","webpack://hds-react/./src/components/toggleButton/ToggleButton.module.scss","webpack://hds-react/./src/examples/forms/validation.scss"],"sourcesContent":["@font-face {\n font-family: 'HelsinkiGrotesk';\n src: url('../src/fonts/565d73a693abe0776c801607ac28f0bf.woff') format('woff');\n font-display: swap;\n font-weight: 400;\n font-style: normal;\n text-rendering: optimizeLegibility;\n}\n\n@font-face {\n font-family: 'HelsinkiGrotesk';\n src: url('../src/fonts/5bb29e3b7b1d3ef30121229bbe67c3e1.woff') format('woff');\n font-display: swap;\n font-weight: 400;\n font-style: italic;\n text-rendering: optimizeLegibility;\n}\n\n@font-face {\n font-family: 'HelsinkiGrotesk';\n src: url('../src/fonts/7c46f288e8133b87e6b12b45dac71865.woff') format('woff');\n font-display: swap;\n font-weight: 500;\n font-style: normal;\n text-rendering: optimizeLegibility;\n}\n\n@font-face {\n font-family: 'HelsinkiGrotesk';\n src: url('../src/fonts/e62dc97e83a385e4d8cdc939cf1e4213.woff') format('woff');\n font-display: swap;\n font-weight: 500;\n font-style: italic;\n text-rendering: optimizeLegibility;\n}\n\n@font-face {\n font-family: 'HelsinkiGrotesk';\n src: url('../src/fonts/533af26cf28d7660f24c2884d3c27eac.woff') format('woff');\n font-display: swap;\n font-weight: 700;\n font-style: normal;\n text-rendering: optimizeLegibility;\n}\n\n@font-face {\n font-family: 'HelsinkiGrotesk';\n src: url('../src/fonts/20d494430c87e15e194932b729d48270.woff') format('woff');\n font-display: swap;\n font-weight: 700;\n font-style: italic;\n text-rendering: optimizeLegibility;\n}\n\n@font-face {\n font-family: 'HelsinkiGrotesk';\n src: url('../src/fonts/a50a1bd245ce63abcc0d1da80ff790d2.woff') format('woff');\n font-display: swap;\n font-weight: 900;\n font-style: normal;\n text-rendering: optimizeLegibility;\n}\n\n@font-face {\n font-family: 'HelsinkiGrotesk';\n src: url('../src/fonts/62a1781d8b396fbb025b0552cf6304d2.woff') format('woff');\n font-display: swap;\n font-weight: 900;\n font-style: italic;\n text-rendering: optimizeLegibility;\n}\n\nbody {\n font-family: var(--font-default);\n font-size: var(--fontsize-body-m);\n color: var(--color-black-90);\n line-height: var(--lineheight-l);\n}\n\n.password-input--external-show-password-button,\n.date-input--external-clear-value-button {\n display: grid;\n grid-template-columns: 400px 200px;\n gap: 20px;\n align-items: center;\n}\n\n@media only screen and (max-width: 768px) {\n .password-input--external-show-password-button,\n .date-input--external-clear-value-button {\n grid-template-columns: 300px;\n }\n}\n\n@media only screen and (max-width: 575.98px) {\n .table-custom-action {\n width: 100%;\n }\n}\n\n/* STEPPER */\n\n.stepper-small {\n max-width: 300px;\n}\n\n@media only screen and (max-width: 575.98px) {\n .stepper-small {\n max-width: 100%;\n }\n}\n\n.stepper-margin {\n margin-left: -35px;\n}\n\n.stepper-heading {\n margin-left: 10px;\n}\n\n.stepper-form-validation {\n margin-left: -18px;\n}\n\n.stepper-card > div:first-child {\n margin-bottom: var(--spacing-m) !important;\n}\n\n#focused-element-after-cookie-consent-closed:focus {\n outline: 2px black solid;\n}\n",":root {\n --breakpoint-xs: 320px;\n --breakpoint-s: 576px;\n --breakpoint-m: 768px;\n --breakpoint-l: 992px;\n --breakpoint-xl: 1248px;\n --container-width-xs: 288px;\n --container-width-s: 544px;\n --container-width-m: 720px;\n --container-width-l: 944px;\n --container-width-xl: 1200px;\n --color-brick: #bd2719;\n --color-brick-light: #ffeeed;\n --color-brick-medium-light: #facbc8;\n --color-brick-dark: #800e04;\n --color-bus: #0000bf;\n --color-bus-light: #f0f0ff;\n --color-bus-medium-light: #ccccff;\n --color-bus-dark: #00005e;\n --color-coat-of-arms: #0072c6;\n --color-coat-of-arms-light: #e6f4ff;\n --color-coat-of-arms-medium-light: #b5daf7;\n --color-coat-of-arms-dark: #005799;\n --color-copper: #00d7a7;\n --color-copper-light: #cffaf1;\n --color-copper-medium-light: #9ef0de;\n --color-copper-dark: #00a17d;\n --color-engel: #ffe977;\n --color-engel-light: #fff9db;\n --color-engel-medium-light: #fff3b8;\n --color-engel-dark: #dbc030;\n --color-fog: #9fc9eb;\n --color-fog-light: #e8f3fc;\n --color-fog-medium-light: #d0e6f7;\n --color-fog-dark: #72a5cf;\n --color-gold: #c2a251;\n --color-gold-light: #f7f2e4;\n --color-gold-medium-light: #e8d7a7;\n --color-gold-dark: #9e823c;\n --color-metro: #fd4f00;\n --color-metro-light: #ffeee6;\n --color-metro-medium-light: #ffcab3;\n --color-metro-dark: #bd2f00;\n --color-silver: #dedfe1;\n --color-silver-light: #f7f7f8;\n --color-silver-medium-light: #efeff0;\n --color-silver-dark: #b0b8bf;\n --color-summer: #ffc61e;\n --color-summer-light: #fff4d4;\n --color-summer-medium-light: #ffe49c;\n --color-summer-dark: #cc9200;\n --color-suomenlinna: #f5a3c7;\n --color-suomenlinna-light: #fff0f7;\n --color-suomenlinna-medium-light: #ffdbeb;\n --color-suomenlinna-dark: #e673a5;\n --color-tram: #008741;\n --color-tram-light: #dff7eb;\n --color-tram-medium-light: #a3e3c2;\n --color-tram-dark: #006631;\n --color-focus-outline: #0072c6;\n --color-black: #000000;\n --color-white: #ffffff;\n --color-black-5: #f2f2f2;\n --color-black-10: #e6e6e6;\n --color-black-20: #cccccc;\n --color-black-30: #b3b3b3;\n --color-black-40: #999999;\n --color-black-50: #808080;\n --color-black-60: #666666;\n --color-black-70: #4d4d4d;\n --color-black-80: #333333;\n --color-black-90: #1a1a1a;\n --color-error: #b01038;\n --color-error-light: #f6e2e6;\n --color-error-dark: #8d0d2d;\n --color-success: #007a64;\n --color-success-light: #e2f5f3;\n --color-success-dark: #006250;\n --color-alert: #ffda07;\n --color-alert-light: #fff4b4;\n --color-alert-dark: #d18200;\n --color-info: #0062b9;\n --color-info-light: #e5eff8;\n --color-info-dark: #004f94;\n --box-shadow-s: 0px 2px 10px 0px rgba(0, 0, 0, 0.07);\n --box-shadow-m: 0px 2px 10px 0px rgba(0, 0, 0, 0.1);\n --box-shadow-l: 0px 2px 20px 0px rgba(0, 0, 0, 0.2);\n --spacing-layout-2-xs: 1rem; /* 16px */\n --spacing-layout-xs: 1.5rem; /* 24px */\n --spacing-layout-s: 2rem; /* 32px */\n --spacing-layout-m: 3rem; /* 48px */\n --spacing-layout-l: 4rem; /* 64px */\n --spacing-layout-xl: 6rem; /* 96px */\n --spacing-layout-2-xl: 8rem; /* 128px */\n --spacing-4-xs: 0.125rem; /* 2px */\n --spacing-3-xs: 0.25rem; /* 4px */\n --spacing-2-xs: 0.5rem; /* 8px */\n --spacing-xs: 0.75rem; /* 12px */\n --spacing-s: 1rem; /* 16px */\n --spacing-m: 1.5rem; /* 24px */\n --spacing-l: 2rem; /* 32px */\n --spacing-xl: 2.5rem; /* 40px */\n --spacing-2-xl: 3.0rem; /* 48px */\n --spacing-3-xl: 3.5rem; /* 56px */\n --spacing-4-xl: 4rem; /* 64px */\n --spacing-5-xl: 4.5rem; /* 72px */\n --fontsize-heading-xxl: 4rem; /* 64px */\n --fontsize-heading-xl: 3rem; /* 48px */\n --fontsize-heading-xl-mobile: 2.5rem; /* 40px */\n --fontsize-heading-l: 2rem; /* 32px */\n --fontsize-heading-m: 1.5rem; /* 24px */\n --fontsize-heading-s: 1.25rem; /* 20px */\n --fontsize-heading-xs: 1.125rem; /* 18px */\n --fontsize-heading-xxs: 1rem; /* 16px */\n --fontsize-body-s: 0.875rem; /* 14px */\n --fontsize-body-m: 1rem; /* 16px */\n --fontsize-body-l: 1.125rem; /* 18px */\n --fontsize-body-xl: 1.25rem; /* 20px */\n --font-default: HelsinkiGrotesk, Arial, sans-serif;\n --lineheight-s: 1;\n --lineheight-m: 1.2;\n --lineheight-l: 1.5;\n --lineheight-xl: 1.75;\n}\n","@keyframes fadeIn {\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n}\n",".visually-hidden {\n border: 0;\n clip: \"rect(0 0 0 0)\";\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.button-reset {\n background: none;\n border: none;\n color: inherit;\n cursor: pointer;\n font: inherit;\n padding: 0;\n}\n\n.text-body {\n color: var(--color-black-90);\n font-family: var(--font-default);\n font-size: var(--fontsize-body-m);\n line-height: var(--lineheight-l);\n}\n\n.text-medium {\n font-family: var(--font-default);\n font-weight: 500;\n}\n\n.text-bold {\n font-family: var(--font-default);\n font-weight: bold;\n}\n\n.text-xl {\n font-size: var(--fontsize-heading-m);\n}\n\n.text-lg {\n font-size: var(--fontsize-heading-s);\n}\n\n.text-md {\n font-size: var(--fontsize-heading-xs);\n}\n\n.subtitle {\n font-size: var(--fontsize-body-m);\n}\n\n.text-sm {\n font-size: var(--fontsize-body-s);\n line-height: var(--lineheight-xl);\n}\n\n/* HEADINGS */\n\n.heading-xxl {\n font-size: var(--fontsize-heading-xxl);\n font-weight: 400;\n letter-spacing: -1.2px;\n line-height: var(--lineheight-s);\n}\n\n.heading-xl {\n font-size: var(--fontsize-heading-xl);\n font-weight: 400;\n letter-spacing: -1.0px;\n line-height: var(--lineheight-s);\n}\n\n.heading-xl-mobile {\n font-size: var(--fontsize-heading-xl-mobile);\n font-weight: 400;\n letter-spacing: -0.8px;\n line-height: var(--lineheight-s);\n}\n\n.heading-l {\n font-size: var(--fontsize-heading-l);\n font-weight: 400;\n letter-spacing: -0.4px;\n line-height: var(--lineheight-s);\n}\n\n.heading-m {\n font-size: var(--fontsize-heading-m);\n font-weight: 500;\n letter-spacing: -0.2px;\n line-height: 32px;\n}\n\n.heading-s {\n font-size: var(--fontsize-heading-s);\n font-weight: 500;\n letter-spacing: 0.2px;\n line-height: 1.4;\n}\n\n.heading-xs {\n font-size: var(--fontsize-heading-xs);\n font-weight: 700;\n letter-spacing: 0.4px;\n line-height: 1.33;\n}\n\n.heading-xxs {\n font-size: var(--fontsize-heading-xxs);\n font-weight: 700;\n letter-spacing: 0.4px;\n line-height: var(--lineheight-l);\n}\n\n.helper-text {\n color: var(--color-black-60);\n display: block;\n flex-basis: 100%;\n font-size: var(--fontsize-body-m);\n margin-top: var(--spacing-2-xs);\n}\n","@import 'hds-design-tokens/lib/all.css';\n@import 'hds-core/lib/utils/animations.css';\n@import 'hds-core/lib/utils/helpers.css';\n\n/*\n * Normalize.css rule\n * 1. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n -webkit-text-size-adjust: 100%; /* 1 */\n}\n",".accordion {\n --background-color: var(--color-white);\n --border-color: var(--color-black-60);\n --header-font-color: var(--color-black-90);\n --header-focus-outline-color: var(--color-coat-of-arms);\n --content-font-color: var(--color-black-90);\n --content-font-size: var(--fontsize-body-m);\n --content-line-height: var(--lineheight-l);\n\n &:not(.card) {\n border-bottom: 1px solid var(--border-color);\n }\n\n &.card {\n background-color: var(--background-color);\n padding-left: var(--padding-horizontal);\n padding-right: var(--padding-horizontal);\n }\n\n &.border {\n border: 2px solid var(--border-color);\n }\n}\n\n.accordionHeader {\n align-items: center;\n color: var(--header-font-color);\n display: flex;\n font-size: var(--header-font-size);\n font-weight: var(--header-font-weight);\n justify-content: space-between;\n letter-spacing: var(--header-letter-spacing);\n line-height: var(--header-line-height);\n padding-bottom: var(--padding-vertical);\n padding-top: var(--padding-vertical);\n position: relative;\n\n & > div {\n flex: 1 1 auto;\n }\n}\n\n.s {\n --header-font-size: var(--fontsize-heading-s);\n --padding-vertical: var(--spacing-s);\n --header-font-weight: 700;\n --header-letter-spacing: 0.2px;\n --header-line-height: 1.4;\n --button-size: 28px;\n --padding-horizontal: var(--spacing-2-xs);\n\n & .closeButton div {\n margin-right: var(--spacing-4-xs);\n }\n}\n\n.m {\n --header-font-size: var(--fontsize-heading-m);\n --padding-vertical: var(--spacing-m);\n --header-font-weight: 500;\n --header-letter-spacing: -0.2px;\n --header-line-height: 32px;\n --button-size: 36px;\n --padding-horizontal: var(--spacing-m);\n\n & .closeButton div {\n margin-right: 6px;\n }\n}\n\n.l {\n --header-font-size: var(--fontsize-heading-l);\n --padding-vertical: var(--spacing-l);\n --header-font-weight: 400;\n --header-letter-spacing: -0.4px;\n --header-line-height: var(--lineheight-s);\n --button-size: 52px;\n --padding-horizontal: var(--spacing-l);\n\n & .closeButton div {\n margin-right: var(--spacing-xs);\n }\n}\n\n.accordionContent {\n color: var(--content-font-color);\n font-size: var(--content-font-size);\n line-height: var(--content-line-height);\n padding-bottom: var(--spacing-m);\n position: relative;\n\n .closeButton {\n bottom: 0;\n color: var(--content-font-color);\n position: absolute;\n right: 0;\n }\n}\n\n.contentWithCloseButton {\n padding-bottom: 44px;\n}\n\n.headingContainer {\n align-items: center;\n box-sizing: border-box;\n cursor: pointer;\n display: grid;\n grid-template-columns: auto calc(var(--button-size));\n width: 100%;\n\n &:focus {\n outline: 2px solid var(--header-focus-outline-color, transparent);\n }\n}\n\n.accordionButtonIcon {\n border: 2px solid transparent;\n box-sizing: border-box;\n height: var(--button-size) !important;\n margin: auto;\n width: var(--button-size) !important;\n}\n",".hds-icon {\n --icon-size: 100%;\n\n background-color: currentcolor;\n display: inline-block;\n height: var(--icon-size);\n -webkit-mask-position: center;\n mask-position: center;\n -webkit-mask-repeat: no-repeat;\n mask-repeat: no-repeat;\n -webkit-mask-size: auto;\n mask-size: auto;\n width: var(--icon-size);\n}\n\n.hds-icon.hds-icon--size-xs {\n --icon-size: var(--spacing-layout-2-xs);\n}\n\n.hds-icon.hds-icon--size-s {\n --icon-size: var(--spacing-layout-xs);\n}\n\n.hds-icon.hds-icon--size-m {\n --icon-size: var(--spacing-layout-s);\n}\n\n.hds-icon.hds-icon--size-l {\n --icon-size: var(--spacing-layout-m);\n}\n\n.hds-icon.hds-icon--size-xl {\n --icon-size: var(--spacing-layout-l);\n}\n",".icon {\n background-color: transparent;\n composes: hds-icon from 'hds-core/lib/icons/icon.css';\n}\n\n.xs {\n composes: hds-icon--size-xs from 'hds-core/lib/icons/icon.css';\n}\n\n.s {\n composes: hds-icon--size-s from 'hds-core/lib/icons/icon.css';\n}\n\n.m {\n composes: hds-icon--size-m from 'hds-core/lib/icons/icon.css';\n}\n\n.l {\n composes: hds-icon--size-l from 'hds-core/lib/icons/icon.css';\n}\n\n.xl {\n composes: hds-icon--size-xl from 'hds-core/lib/icons/icon.css';\n}\n",".hds-button {\n --border-width: 2px;\n --color: inherit;\n --min-size: 44px;\n --outline-gutter: 2px;\n --outline-width: 3px;\n\n align-content: flex-start;\n align-items: center;\n\n /*\n * Normalize.css rules\n * Correct the inability to style clickable types in iOS and Safari.\n */\n -webkit-appearance: button;\n background-color: var(--background-color, transparent);\n border: var(--border-width) solid var(--border-color, transparent);\n border-radius: 0;\n color: var(--color);\n cursor: pointer;\n display: inline-flex;\n\n /*\n * Normalize.css rules\n * 1. Change the font styles in all browsers.\n */\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n font-weight: 500;\n justify-content: center;\n\n /*\n * Normalize.css rules\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n min-height: var(--min-size);\n min-width: var(--min-size);\n padding: 0 var(--spacing-2-xs);\n position: relative;\n text-decoration: none;\n\n /*\n * Normalize.css rule\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n */\n text-transform: none;\n vertical-align: top;\n}\n\n.hds-button,\n.hds-button:before,\n.hds-button:after,\n.hds-button *,\n.hds-button *:before,\n.hds-button *:after {\n box-sizing: border-box;\n}\n\n/*\n * Normalize.css rules\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\n.hds-button[type=\"button\"], .hds-button[type=\"reset\"], .hds-button[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/*\n * Normalize.css rules\n * Remove the inner border and padding in Firefox.\n */\n\n.hds-button::-moz-focus-inner, .hds-button[type=\"button\"]::-moz-focus-inner, .hds-button[type=\"reset\"]::-moz-focus-inner, .hds-button[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/*\n * Normalize.css rules\n * Restore the focus styles unset by the previous rule.\n */\n\n.hds-button:-moz-focusring, .hds-button[type=\"button\"]:-moz-focusring, .hds-button[type=\"reset\"]:-moz-focusring, .hds-button[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/* button transitions */\n\n.hds-button:hover,\n.hds-button.focus-visible {\n transition-duration: 85ms;\n transition-property: background-color, border-color, color;\n transition-timing-function: ease-out;\n}\n\n.hds-button:hover,\n.hds-button:focus-visible {\n transition-duration: 85ms;\n transition-property: background-color, border-color, color;\n transition-timing-function: ease-out;\n}\n\n.hds-button:hover {\n background-color: var(--background-color-hover, transparent);\n color: var(--color-hover);\n}\n\n.hds-button.focus-visible {\n background-color: var(--background-color-focus, transparent);\n color: var(--color-focus);\n outline: none;\n}\n\n.hds-button:focus-visible {\n background-color: var(--background-color-focus, transparent);\n color: var(--color-focus);\n outline: none;\n}\n\n.hds-button:active {\n background-color: var(--background-color-focus, transparent);\n color: var(--color-focus);\n outline: none;\n}\n\n.hds-button:not(:disabled) {\n border-color: var(--border-color, transparent);\n}\n\n.hds-button:disabled {\n background-color: var(--background-color-disabled, transparent);\n border-color: var(--border-color-disabled, transparent);\n color: var(--color-disabled);\n cursor: not-allowed;\n}\n\n.hds-button.focus-visible:hover {\n background-color: var(--background-color-hover-focus, transparent);\n}\n\n.hds-button:focus-visible:hover {\n background-color: var(--background-color-hover-focus, transparent);\n}\n\n.hds-button:active:hover {\n background-color: var(--background-color-hover-focus, transparent);\n}\n\n.hds-button:not(:disabled):hover {\n border-color: var(--border-color-hover, transparent);\n}\n\n.hds-button:not(:disabled).focus-visible {\n border-color: var(--border-color-focus, transparent);\n}\n\n.hds-button:not(:disabled):focus-visible {\n border-color: var(--border-color-focus, transparent);\n}\n\n.hds-button:not(:disabled):active {\n border-color: var(--border-color-focus, transparent);\n}\n\n.hds-button:not(:disabled).focus-visible:hover {\n border-color: var(--border-color-hover-focus, transparent);\n color: var(--color-hover-focus);\n}\n\n.hds-button:not(:disabled):focus-visible:hover {\n border-color: var(--border-color-hover-focus, transparent);\n color: var(--color-hover-focus);\n}\n\n.hds-button:not(:disabled):active:hover {\n border-color: var(--border-color-hover-focus, transparent);\n color: var(--color-hover-focus);\n}\n\n/* FOCUS OUTLINE */\n\n.hds-button:after {\n --size: 100%;\n\n border: var(--outline-width) solid transparent;\n content: '';\n height: var(--size);\n position: absolute;\n width: var(--size);\n}\n\n.hds-button.focus-visible:after {\n --size: calc(100% + calc(var(--outline-width) * 2 + var(--border-width) * 2 + var(--outline-gutter) * 2));\n\n border-color: var(--focus-outline-color);\n}\n\n.hds-button:focus-visible:after {\n --size: calc(100% + calc(var(--outline-width) * 2 + var(--border-width) * 2 + var(--outline-gutter) * 2));\n\n border-color: var(--focus-outline-color);\n}\n\n.hds-button:active:after {\n --size: calc(100% + calc(var(--outline-width) * 2 + var(--border-width) * 2 + var(--outline-gutter) * 2));\n\n border-color: var(--focus-outline-color);\n}\n\ninput[type=\"submit\"].hds-button,\n.hds-button__label {\n font-weight: inherit;\n line-height: 1.25em;\n padding: var(--spacing-s);\n}\n\ninput[type=\"submit\"].hds-button {\n cursor: pointer;\n padding: var(--spacing-s) var(--spacing-l);\n}\n\n/* submit input */\n\ninput[type=\"submit\"].hds-button.focus-visible {\n box-shadow: 0 0 0 var(--outline-gutter) var(--submit-input-focus-gutter-color), 0 0 0 calc(var(--outline-gutter) + var(--outline-width)) var(--focus-outline-color);\n}\n\ninput[type=\"submit\"].hds-button:focus-visible {\n box-shadow: 0 0 0 var(--outline-gutter) var(--submit-input-focus-gutter-color), 0 0 0 calc(var(--outline-gutter) + var(--outline-width)) var(--focus-outline-color);\n}\n\n/* no icons */\n\n.hds-button__label:only-child {\n margin: 0 var(--spacing-2-xs);\n}\n\ninput[type=\"submit\"].hds-button--small,\n.hds-button--small .hds-button__label {\n line-height: var(--lineheight-s);\n padding: var(--spacing-2-xs) var(--spacing-xs);\n}\n\n/* supplementary with right icon */\n\n.hds-button--supplementary .hds-button__label:first-child {\n padding-right: var(--spacing-2-xs);\n}\n\n/* no icons */\n\n.hds-button--small .hds-button__label:only-child {\n margin: 0 var(--spacing-xs);\n}\n\n/* supplementary with left icon */\n\n.hds-button--supplementary .hds-icon + .hds-button__label:last-child {\n padding-left: var(--spacing-2-xs);\n}\n\n/* supplementary with both icons */\n\n.hds-button--supplementary .hds-icon + .hds-button__label:not(:last-child) {\n padding-left: var(--spacing-2-xs);\n padding-right: var(--spacing-2-xs);\n}\n\n/* SMALL */\n\n.hds-button--small {\n padding: 0;\n}\n\ninput[type=\"submit\"].hds-button--small {\n padding: var(--spacing-2-xs) var(--spacing-m);\n}\n\n/* both icons */\n\n.hds-button--small .hds-button__label:not(:first-of-type):not(:last-of-type) {\n padding: var(--spacing-2-xs) var(--spacing-2-xs);\n}\n\n/* FULL WIDTH */\n\n.hds-button--fullwidth {\n width: 100%;\n}\n\n/* ICONS */\n\n/* left */\n\n.hds-button .hds-icon {\n height: var(--spacing-m);\n margin-left: var(--spacing-s);\n width: var(--spacing-m);\n}\n\n/* right */\n\n.hds-button__label ~ .hds-icon {\n margin: 0 var(--spacing-s) 0 0;\n}\n\n/* left - small */\n\n.hds-button--small .hds-icon {\n margin-left: var(--spacing-2-xs);\n}\n\n/* right - small */\n\n.hds-button .hds-button--small .hds-button__label ~ .hds-icon {\n margin: 0 var(--spacing-2-xs) 0 0;\n}\n\n/* both icons - left */\n\n.hds-button .hds-icon:first-of-type:not(:last-of-type) {\n margin: 0 0 0 var(--spacing-2-xs);\n}\n\n/* both icons - right */\n\n.hds-button .hds-icon:last-of-type:not(:first-of-type) {\n margin: 0 var(--spacing-2-xs) 0 0;\n}\n\n/* both icons - left - small */\n\n.hds-button--small .hds-icon:first-child:not(:last-of-type) {\n margin: 0 0 0 var(--spacing-2-xs);\n}\n\n/* both icons - right - small */\n\n.hds-button--small .hds-icon:last-child:not(:first-of-type) {\n margin: 0 var(--spacing-2-xs) 0 0;\n}\n\n/* PRIMARY */\n\n/* default (bus) */\n\n.hds-button--primary {\n --background-color: var(--color-bus);\n --background-color-hover: var(--color-bus-dark);\n --background-color-focus: var(--color-bus);\n --background-color-hover-focus: var(--color-bus-dark);\n --background-color-disabled: var(--color-black-20);\n --border-color: var(--color-bus);\n --border-color-hover: var(--color-bus-dark);\n --border-color-focus: var(--color-bus);\n --border-color-hover-focus: var(--color-bus-dark);\n --border-color-disabled: var(--color-black-20);\n --color: var(--color-white);\n --color-hover: var(--color-white);\n --color-focus: var(--color-white);\n --color-hover-focus: var(--color-white);\n --color-disabled: var(--color-white);\n --focus-outline-color: var(--color-focus-outline);\n --submit-input-focus-gutter-color: var(--color-white);\n}\n\n/* SECONDARY */\n\n/* default (bus) */\n\n.hds-button--secondary {\n --background-color: transparent;\n --background-color-hover: var(--color-bus-light);\n --background-color-focus: transparent;\n --background-color-hover-focus: var(--color-bus-light);\n --background-color-disabled: transparent;\n --border-color: var(--color-bus);\n --border-color-hover: var(--color-bus-dark);\n --border-color-focus: var(--color-bus);\n --border-color-hover-focus: var(--color-bus-dark);\n --border-color-disabled: var(--color-black-50);\n --color: var(--color-bus);\n --color-hover: var(--color-bus-dark);\n --color-focus: var(--color-bus);\n --color-hover-focus: var(--color-bus-dark);\n --color-disabled: var(--color-black-40);\n --focus-outline-color: var(--color-focus-outline);\n --submit-input-focus-gutter-color: var(--color-white);\n}\n\n/* SUPPLEMENTARY */\n\n.hds-button--supplementary {\n --background-color: transparent;\n --background-color-hover: var(--color-bus-light);\n --background-color-focus: transparent;\n --background-color-hover-focus: var(--color-bus-light);\n --background-color-disabled: transparent;\n --border-color: transparent;\n --border-color-hover: transparent;\n --border-color-focus: var(--color-focus-outline);\n --border-color-hover-focus: var(--color-focus-outline);\n --border-color-disabled: transparent;\n --color: var(--color-bus);\n --color-hover: var(--color-bus-dark);\n --color-focus: var(--color-bus);\n --color-hover-focus: var(--color-bus-dark);\n --color-disabled: var(--color-black-40);\n --focus-outline-color: transparent;\n --submit-input-focus-gutter-color: transparent;\n}\n\n/* LOADING */\n\n.hds-button--loading {\n --background-color: transparent;\n --background-color-hover: transparent;\n --background-color-focus: transparent;\n --background-color-hover-focus: transparent;\n --background-color-disabled: transparent;\n --border-color: transparent;\n --border-color-hover: transparent;\n --border-color-focus: transparent;\n --border-color-hover-focus: transparent;\n --border-color-disabled: transparent;\n --color: var(--color-black-90);\n --color-hover: var(--color-black-90);\n --color-focus: var(--color-black-90);\n --color-hover-focus: var(--color-black-90);\n --color-disabled: var(--color-black-90);\n\n cursor: wait;\n}\n\n/* UTILITY */\n\n/* success */\n\n.hds-button--success {\n --background-color: var(--color-success);\n --background-color-hover: var(--color-success-dark);\n --background-color-focus: var(--color-success);\n --background-color-hover-focus: var(--color-success-dark);\n --border-color: var(--color-success);\n --border-color-hover: var(--color-success-dark);\n --border-color-focus: var(--color-success);\n --border-color-hover-focus: var(--color-success-dark);\n --color: var(--color-white);\n --color-hover: var(--color-white);\n --color-focus: var(--color-white);\n --color-hover-focus: var(--color-white);\n --focus-outline-color: var(--color-focus-outline);\n}\n\n/* danger */\n\n.hds-button--danger {\n --background-color: var(--color-error);\n --background-color-hover: var(--color-error-dark);\n --background-color-focus: var(--color-error);\n --background-color-hover-focus: var(--color-error-dark);\n --border-color: var(--color-error);\n --border-color-hover: var(--color-error-dark);\n --border-color-focus: var(--color-error);\n --border-color-hover-focus: var(--color-error-dark);\n --color: var(--color-white);\n --color-hover: var(--color-white);\n --color-focus: var(--color-white);\n --color-hover-focus: var(--color-white);\n --focus-outline-color: var(--color-focus-outline);\n}\n\n/* THEMES */\n\n/* coat */\n\n.hds-button--primary.hds-button--theme-coat {\n --background-color: var(--color-coat-of-arms);\n --background-color-hover: var(--color-coat-of-arms-dark);\n --background-color-focus: var(--color-coat-of-arms);\n --background-color-hover-focus: var(--color-coat-of-arms-dark);\n --border-color: var(--color-coat-of-arms);\n --border-color-hover: var(--color-coat-of-arms-dark);\n --border-color-focus: var(--color-coat-of-arms);\n --border-color-hover-focus: var(--color-coat-of-arms-dark);\n --color: var(--color-white);\n --color-hover: var(--color-white);\n --color-focus: var(--color-white);\n --color-hover-focus: var(--color-white);\n}\n\n.hds-button--secondary.hds-button--theme-coat {\n --background-color: transparent;\n --background-color-hover: var(--color-coat-of-arms-light);\n --background-color-focus: transparent;\n --background-color-hover-focus: var(--color-coat-of-arms-light);\n --border-color: var(--color-coat-of-arms);\n --border-color-hover: var(--color-coat-of-arms-dark);\n --border-color-focus: var(--color-coat-of-arms);\n --border-color-hover-focus: var(--color-coat-of-arms-dark);\n --color: var(--color-coat-of-arms);\n --color-hover: var(--color-coat-of-arms);\n --color-focus: var(--color-coat-of-arms);\n --color-hover-focus: var(--color-coat-of-arms);\n}\n\n.hds-button--supplementary.hds-button--theme-coat {\n --background-color: transparent;\n --background-color-hover: var(--color-coat-of-arms-light);\n --background-color-focus: transparent;\n --background-color-hover-focus: var(--color-coat-of-arms-light);\n --border-color: transparent;\n --border-color-hover: transparent;\n --border-color-focus: var(--color-focus-outline);\n --border-color-hover-focus: var(--color-focus-outline);\n --color: var(--color-coat-of-arms);\n --color-hover: var(--color-coat-of-arms);\n --color-focus: var(--color-coat-of-arms);\n --color-hover-focus: var(--color-coat-of-arms);\n}\n\n/* black */\n\n.hds-button--primary.hds-button--theme-black {\n --background-color: var(--color-black);\n --background-color-hover: var(--color-black);\n --background-color-focus: var(--color-black);\n --background-color-hover-focus: var(--color-black);\n --border-color: var(--color-black);\n --border-color-hover: var(--color-black);\n --border-color-focus: var(--color-black);\n --border-color-hover-focus: var(--color-black);\n --color: var(--color-white);\n --color-hover: var(--color-white);\n --color-focus: var(--color-white);\n --color-hover-focus: var(--color-white);\n}\n\n.hds-button--secondary.hds-button--theme-black {\n --background-color: transparent;\n --background-color-hover: var(--color-black-5);\n --background-color-focus: transparent;\n --background-color-hover-focus: var(--color-black-5);\n --border-color: var(--color-black);\n --border-color-hover: var(--color-black);\n --border-color-focus: var(--color-black);\n --border-color-hover-focus: var(--color-black);\n --color: var(--color-black);\n --color-hover: var(--color-black);\n --color-focus: var(--color-black);\n --color-hover-focus: var(--color-black);\n}\n\n.hds-button--supplementary.hds-button--theme-black {\n --background-color: transparent;\n --background-color-hover: var(--color-black-5);\n --background-color-focus: transparent;\n --background-color-hover-focus: var(--color-black-5);\n --border-color: transparent;\n --border-color-hover: transparent;\n --border-color-focus: var(--color-focus-outline);\n --border-color-hover-focus: var(--color-focus-outline);\n --color: var(--color-black);\n --color-hover: var(--color-black);\n --color-focus: var(--color-black);\n --color-hover-focus: var(--color-black);\n}\n","%button {\n composes: hds-button from 'hds-core/lib/components/button/button.css';\n}\n\n%label {\n composes: hds-button__label from 'hds-core/lib/components/button/button.css';\n}\n\n%fullWidth {\n composes: hds-button--fullwidth from 'hds-core/lib/components/button/button.css';\n}\n\n%size-small {\n composes: hds-button--small from 'hds-core/lib/components/button/button.css';\n}\n\n%icon {\n composes: hds-icon from 'hds-core/lib/components/button/button.css';\n}\n\n%primary {\n composes: hds-button--primary from 'hds-core/lib/components/button/button.css';\n}\n\n%secondary {\n composes: hds-button--secondary from 'hds-core/lib/components/button/button.css';\n}\n\n%supplementary {\n composes: hds-button--supplementary from 'hds-core/lib/components/button/button.css';\n}\n\n%loading {\n composes: hds-button--loading from 'hds-core/lib/components/button/button.css';\n}\n\n%success {\n composes: hds-button--success from 'hds-core/lib/components/button/button.css';\n}\n\n%danger {\n composes: hds-button--danger from 'hds-core/lib/components/button/button.css';\n}\n\n%theme-coat {\n composes: hds-button--theme-coat from 'hds-core/lib/components/button/button.css';\n}\n\n%theme-black {\n composes: hds-button--theme-black from 'hds-core/lib/components/button/button.css';\n}\n","@import \"button.common\";\n\n.button {\n @extend %button;\n}\n\n.label {\n @extend %label;\n}\n\n.fullWidth {\n @extend %fullWidth;\n}\n\n.size-small {\n @extend %size-small;\n}\n\n.icon {\n @extend %icon;\n\n svg {\n max-height: 100%;\n max-width: 100%;\n }\n}\n\n.primary {\n @extend %primary;\n}\n\n.secondary {\n @extend %secondary;\n}\n\n.supplementary {\n @extend %supplementary;\n}\n\n.isLoading {\n @extend %loading;\n}\n\n.success {\n @extend %success;\n}\n\n.danger {\n @extend %danger;\n}\n\n.theme-coat {\n @extend %theme-coat;\n}\n\n.theme-black {\n @extend %theme-black;\n}\n","/**\n * COMMON HELPER CLASSES\n */\n\n%buttonReset {\n background: none;\n border: none;\n color: inherit;\n cursor: pointer;\n font: inherit;\n padding: 0;\n}\n\n%normalizedInput {\n /*\n * Normalize.css rules\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n%visuallyHidden {\n border: 0;\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n margin: 0 -1px -1px 0;\n overflow: hidden;\n padding: 0;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n/**\n * COMMON INPUT LABEL STYLES\n */\n%inputLabel {\n color: var(--label-color-default, var(--color-black-90));\n display: block;\n font-size: var(--fontsize-body-m);\n font-weight: 500;\n margin-bottom: var(--spacing-3-xs);\n}\n\n\n/**\n * Mixins\n */\n\n@mixin withFocus($selector: focus, $color: var(--color-coat-of-arms), $width: 3px, $radius: false, $offset: false) {\n &:#{selector} {\n @if $radius {\n border-radius: $radius;\n }\n \n @if $offset {\n outline-offset: $offset;\n }\n\n outline: $width solid $color;\n }\n}\n\n/*\n * Add an outline attribute for element's &:focus pseudo class\n */\n@mixin focusOutline($color: var(--focus-outline-color), $width: var(--outline-width), $radius: false, $offset: false) {\n @include withFocus(focus, $color, $width, $offset, $radius)\n}\n\n/*\n * Add an outline attribute for element's &:focus-visible pseudo class\n */\n@mixin focusVisible($color: var(--focus-outline-color), $width: var(--outline-width), $radius: false, $offset: false) {\n &:focus-visible {\n @if $radius {\n border-radius: $radius;\n }\n \n @if $offset {\n outline-offset: $offset;\n }\n\n > * {\n outline: $width solid $color;\n outline-offset: 4px;\n }\n\n outline: 0 solid $color;\n }\n}\n","@import \"../../styles/common.scss\";\n\n.loadingSpinner {\n --spinner-size: 4rem;\n --spinner-color: var(--color-coat-of-arms);\n --spinner-thickness: 0.5rem;\n --spinner-rotation-animation-duration: 1.5s;\n --spinner-color-animation-duration: 4.5s;\n --spinner-color-stage1: var(--color-coat-of-arms);\n --spinner-color-stage2: var(--color-copper);\n --spinner-color-stage3: var(--color-suomenlinna);\n\n border-top-color: var(--spinner-color);\n height: var(--spinner-size);\n position: relative;\n width: var(--spinner-size);\n}\n\n.loadingSpinner div {\n animation: spinner-rotation-animation var(--spinner-rotation-animation-duration) cubic-bezier(0.6, 0.2, 0.4, 0.8) infinite;\n border: var(--spinner-thickness) solid transparent;\n border-radius: 50%;\n border-top-color: inherit;\n box-sizing: border-box;\n height: 100%;\n position: absolute;\n width: 100%;\n}\n\n.loadingSpinner div:nth-child(2) {\n animation-delay: -0.15s;\n}\n\n.loadingSpinner div:nth-child(3) {\n animation-delay: -0.3s;\n}\n\n.small {\n --spinner-size: 1.5rem;\n --spinner-thickness: 0.1875rem;\n}\n\n.multicolor {\n animation: spinner-color-animation var(--spinner-color-animation-duration) cubic-bezier(0.6, 0.2, 0.4, 0.9) infinite;\n border-top-color: var(--spinner-color-stage1);\n}\n\n.notificationArea {\n @extend %visuallyHidden;\n}\n\n@keyframes spinner-rotation-animation {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n}\n\n@keyframes spinner-color-animation {\n 0% { /* empty */ }\n 33.3% { border-top-color: var(--spinner-color-stage2) }\n 66.6% { border-top-color: var(--spinner-color-stage3) }\n 100% { /* empty */ }\n}\n",".hds-card {\n --background-color: var(--color-white);\n --border-color: var(--color-black-90);\n --color: var(--color-black-90);\n --border-width: 2px;\n --padding-horizontal: var(--spacing-l);\n --padding-vertical: var(--spacing-m);\n\n background-color: var(--background-color);\n color: var(--color);\n padding: var(--padding-vertical) var(--padding-horizontal);\n}\n\n/* WITH BORDER */\n\n.hds-card--border {\n border: var(--border-width) solid var(--border-color);\n}\n\n/* WITH BOX-SHADOW */\n\n.hds-card--box-shadow {\n box-shadow: var(--box-shadow-m);\n}\n\n/* BODY */\n\n.hds-card__body {\n display: grid;\n grid-gap: var(--spacing-s);\n gap: var(--spacing-s);\n margin-bottom: var(--spacing-l);\n}\n\n.hds-card__body:last-child {\n margin-bottom: 0;\n}\n\n/* BODY TEXT */\n\n.hds-card__text {\n font-size: var(--fontsize-body-m);\n line-height: var(--lineheight-l);\n}\n",".card {\n --background-color: var(--color-white);\n --border-color: var(--color-black-90);\n --color: var(--color-black-90);\n --border-width: 2px;\n --padding-horizontal: var(--spacing-l);\n --padding-vertical: var(--spacing-m);\n\n background-color: var(--background-color);\n color: var(--color);\n padding: var(--padding-vertical) var(--padding-horizontal);\n}\n\n.boxShadow {\n composes: hds-card--box-shadow from 'hds-core/lib/components/card/card.css';\n}\n\n.border {\n composes: hds-card--border from 'hds-core/lib/components/card/card.css';\n}\n\n.body {\n composes: hds-card__body from 'hds-core/lib/components/card/card.css';\n}\n\n.text {\n composes: hds-card__text from 'hds-core/lib/components/card/card.css';\n}\n","// focus outline\n%dropdownFocusOutline {\n box-shadow: 0 0 0 var(--focus-outline-width) var(--focus-outline-color);\n}\n\n/**\n * ROOT\n */\n%dropdownRoot {\n --border-width: 2px;\n --divider-width: 1px;\n --focus-outline-width: 3px;\n --dropdown-height: var(--spacing-3-xl);\n --menu-item-height: calc(var(--dropdown-height) - var(--border-width) * 2);\n --icon-size: var(--spacing-m);\n --menu-z-index: 10;\n --dropdown-background-default: var(--color-white);\n --dropdown-background-disabled: var(--color-black-10);\n --dropdown-border-color-default: var(--color-black-50);\n --dropdown-border-color-hover: var(--color-black-90);\n --dropdown-border-color-hover-invalid: var(--color-error-dark);\n --dropdown-border-color-focus: var(--color-black-90);\n --dropdown-border-color-invalid: var(--color-error);\n --dropdown-border-color-disabled: var(--color-black-10);\n --dropdown-color-default: var(--color-black-90);\n --dropdown-color-disabled: var(--color-black-40);\n --focus-outline-color: var(--color-coat-of-arms);\n --helper-color-default: var(--color-black-60);\n --helper-color-invalid: var(--color-error);\n --menu-divider-color: var(--color-black-20);\n --menu-item-background-default: var(--color-white);\n --menu-item-background-hover: var(--color-bus);\n --menu-item-background-selected: var(--color-white);\n --menu-item-background-selected-hover: var(--color-bus);\n --menu-item-background-disabled: var(--color-white);\n --menu-item-color-default: var(--color-black-90);\n --menu-item-color-hover: var(--color-white);\n --menu-item-color-selected: var(--color-black-90);\n --menu-item-color-selected-hover: var(--color-white);\n --menu-item-color-disabled: var(--color-black-40);\n --menu-item-icon-color-selected: var(--color-white);\n --menu-item-icon-color-disabled: var(--color-black-40);\n --multiselect-checkbox-background-selected: var(--color-bus);\n --multiselect-checkbox-background-disabled: var(--color-black-10);\n --multiselect-checkbox-border-default: var(--color-black-50);\n --multiselect-checkbox-border-hover: var(--color-black-90);\n --multiselect-checkbox-border-disabled: var(--color-black-10);\n --multiselect-checkbox-color-default: transparent;\n --multiselect-checkbox-color-selected: var(--color-white);\n --multiselect-checkbox-color-selected-disabled: var(--color-white);\n --placeholder-color: var(--color-black-60);\n\n position: relative;\n\n &.open {\n .angleIcon {\n transform: rotateX(180deg);\n }\n\n .menu {\n display: block;\n }\n }\n\n input {\n /*\n * Normalize.css rule\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n font-family: inherit; /* 1 */\n margin: 0; /* 2 */\n\n /*\n * Normalize.css rule\n * Remove the default vertical scrollbar in IE 10+.\n */\n overflow: auto;\n }\n}\n\n/**\n * WRAPPER\n */\n\n%dropdownWrapper {\n background-color: var(--dropdown-background-default);\n border: var(--border-width) solid var(--dropdown-border-color-default);\n box-sizing: border-box;\n min-height: var(--dropdown-height);\n position: relative;\n width: 100%;\n\n &:focus-within {\n @extend %dropdownFocusOutline;\n\n border-color: var(--dropdown-border-color-focus);\n }\n\n &:hover {\n border-color: var(--dropdown-border-color-hover);\n }\n\n &:hover,\n &:focus-within {\n transition: border-color 85ms ease-out;\n }\n}\n\n/**\n * ICON\n */\n\n%dropdownIcon {\n color: var(--dropdown-color-default);\n display: flex;\n margin-right: var(--spacing-2-xs);\n}\n\n/**\n * ANGLE ICON\n */\n\n%dropdownAngleIcon {\n color: var(--dropdown-color-default);\n position: absolute;\n right: var(--spacing-s);\n top: var(--spacing-xs);\n transform: translateY(2px);\n}\n\n/**\n * MENU\n */\n\n%dropdownMenu {\n border: solid var(--dropdown-border-color-focus);\n border-top-color: var(--menu-divider-color);\n border-width: var(--divider-width) var(--border-width) var(--border-width);\n bottom: 0;\n display: none;\n left: 0;\n list-style: none;\n margin: 0;\n outline: none;\n overflow-y: auto;\n padding: 0;\n position: absolute;\n transform: translate(calc(var(--border-width) * -1), 100%);\n width: 100%;\n z-index: var(--menu-z-index);\n}\n\n/**\n * MENU ITEM\n */\n\n%dropdownMenuItem {\n align-items: center;\n background-color: var(--menu-item-background-default);\n box-sizing: border-box;\n color: var(--menu-item-color-default);\n cursor: pointer;\n display: flex;\n font-size: var(--fontsize-body-l);\n justify-content: space-between;\n line-height: var(--lineheight-m);\n min-height: var(--menu-item-height);\n padding: var(--spacing-xs) var(--spacing-s);\n\n &.highlighted {\n background-color: var(--menu-item-background-hover);\n color: var(--menu-item-color-hover);\n }\n\n &.selected {\n background-color: var(--menu-item-background-selected);\n color: var(--menu-item-color-selected);\n }\n\n &.highlighted.selected {\n background-color: var(--menu-item-background-selected-hover);\n color: var(--menu-item-color-selected-hover);\n }\n\n &.disabled,\n &.disabled.highlighted {\n background-color: var(--menu-item-background-disabled);\n color: var(--menu-item-color-disabled);\n cursor: not-allowed;\n }\n\n &.virtualized {\n left: 0;\n position: absolute;\n top: 0;\n width: 100%;\n }\n}\n\n/**\n * HELPER TEXT\n */\n\n%dropdownHelperText {\n color: var(--helper-color-default);\n margin-top: var(--spacing-3-xs);\n}\n\n/**\n * DISABLED\n */\n\n%dropdownDisabled {\n .wrapper {\n background-color: var(--dropdown-background-disabled);\n border-color: var(--dropdown-border-color-disabled);\n color: var(--dropdown-color-disabled);\n\n &,\n > * {\n cursor: not-allowed;\n }\n }\n\n .icon,\n .angleIcon {\n color: var(--dropdown-color-disabled);\n }\n}\n\n/**\n * INVALID\n */\n\n%dropdownInvalid {\n .wrapper {\n border-color: var(--dropdown-border-color-invalid);\n\n &:hover {\n border-color: var(--dropdown-border-color-hover-invalid);\n }\n }\n\n .errorText {\n align-items: center;\n color: var(--helper-color-invalid);\n display: flex;\n margin-top: var(--spacing-3-xs);\n }\n\n .invalidIcon {\n margin-right: var(--spacing-2-xs);\n }\n}\n\n/**\n * MULTISELECT\n */\n\n%dropdownMultiselect {\n .menuItem {\n justify-content: flex-start;\n\n &.highlighted,\n &.selected,\n &.highlighted.selected {\n background-color: var(--menu-item-background-default);\n color: var(--menu-item-color-default);\n }\n\n .checkbox {\n border: var(--spacing-4-xs) solid var(--multiselect-checkbox-border-default);\n box-sizing: border-box;\n color: var(--multiselect-checkbox-color-default);\n height: var(--icon-size);\n margin-right: var(--spacing-xs);\n width: var(--icon-size);\n }\n\n &.highlighted .checkbox,\n &.disabled .checkbox {\n transition: border-color 85ms ease-out;\n }\n\n &.highlighted .checkbox {\n @extend %dropdownFocusOutline;\n\n border-color: var(--multiselect-checkbox-border-hover);\n }\n\n &.selected .checkbox {\n background-color: var(--multiselect-checkbox-background-selected);\n border: 0;\n color: var(--multiselect-checkbox-color-selected);\n }\n\n &.highlighted.selected .checkbox {\n @extend %dropdownFocusOutline;\n }\n\n &.disabled .checkbox {\n background-color: var(--multiselect-checkbox-background-disabled);\n border-color: var(--multiselect-checkbox-border-disabled);\n }\n\n &.disabled.selected .checkbox {\n color: var(--multiselect-checkbox-color-selected-disabled);\n }\n }\n}\n","@import \"../../../styles/common.scss\";\n@import \"../dropdown.common.scss\";\n\n/**\n * WRAPPER\n */\n\n.wrapper {\n @extend %dropdownWrapper;\n}\n\n/**\n * TOGGLE BUTTON\n */\n\n.button {\n @extend %buttonReset;\n\n align-items: center;\n color: var(--dropdown-color-default);\n display: flex;\n font-size: var(--fontsize-body-l);\n min-height: var(--menu-item-height);\n outline: none;\n padding: calc(var(--spacing-s) - var(--border-width) * 2) var(--spacing-s);\n width: 100%;\n\n &.placeholder {\n color: var(--placeholder-color);\n }\n\n &.placeholder:disabled {\n color: var(--dropdown-color-disabled);\n }\n}\n\n/**\n * THE BUTTON LABEL (SELECTED VALUE OR PLACEHOLDER)\n */\n.buttonLabel {\n padding-right: var(--spacing-layout-xs);\n}\n\n.buttonLabel.buttonLabelWithClearButton {\n padding-right: var(--spacing-3-xl);\n}\n\n/**\n * ICON\n */\n\n.icon {\n @extend %dropdownIcon;\n}\n\n/**\n * ANGLE ICON\n */\n\n.angleIcon {\n @extend %dropdownAngleIcon;\n}\n\n.root {\n @extend %dropdownRoot;\n\n &.open {\n .angleIcon {\n transform: translateY(2px) rotateX(180deg);\n }\n }\n}\n\n/**\n * MENU\n */\n\n.menu {\n @extend %dropdownMenu;\n}\n\n/**\n * MENU ITEM\n */\n\n.menuItem {\n @extend %dropdownMenuItem;\n}\n\n/**\n * HELPER TEXT\n */\n\n.helperText {\n @extend %dropdownHelperText;\n}\n\n/**\n * DISABLED\n */\n\n.disabled {\n @extend %dropdownDisabled;\n}\n\n/**\n * INVALID\n */\n\n.invalid {\n @extend %dropdownInvalid;\n}\n\n/**\n * MULTISELECT\n */\n\n.multiselect {\n @extend %dropdownMultiselect;\n\n .button {\n height: 100%;\n left: 0;\n position: absolute;\n top: 0;\n width: 100%;\n z-index: 0;\n\n &:focus:not(:active) .angleIcon {\n @extend %dropdownFocusOutline;\n }\n }\n}","@import \"../../styles/common.scss\";\n\n.label {\n @extend %inputLabel;\n}\n\n.hidden {\n @extend %visuallyHidden;\n}\n\n.tooltipButton {\n position: absolute;\n right: 0;\n top: 0;\n}\n","@keyframes fadeIn {\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n}\n\n.hds-text-input {\n --border-width: 2px;\n --outline-width: 3px;\n --input-height: 56px;\n --textarea-height: 149px;\n --icon-size: var(--spacing-m);\n --helper-color-default: var(--color-black-60);\n --helper-color-invalid: var(--color-error);\n --helper-color-success: var(--color-success);\n --helper-color-info: var(--color-black-90);\n --helper-color-info-icon: var(--color-coat-of-arms);\n --icon-color-invalid: var(--color-error);\n --input-background-default: var(--color-white);\n --input-background-disabled: var(--color-black-10);\n --input-border-color-default: var(--color-black-50);\n --input-border-color-hover : var(--color-black-90);\n --input-border-color-focus: var(--color-black-90);\n --input-border-color-invalid: var(--color-error);\n --input-border-color-disabled: var(--color-black-10);\n --input-border-color-success: var(--color-success);\n --input-color-default: var(--color-black-90);\n --input-color-disabled: var(--color-black-40);\n --label-color-default: var(--color-black-90);\n --label-color-invalid: var(--color-black-90);\n --placeholder-color: var(--color-black-60);\n}\n\n.hds-text-input .hds-text-input__input {\n /* removes the input shadow on iOS */\n -webkit-appearance: none;\n background-color: var(--input-background-default);\n border: var(--border-width) solid var(--input-border-color-default);\n\n /* removes the border radius on iOS */\n border-radius: 0;\n box-sizing: border-box;\n color: var(--input-color-default);\n\n /*\n * Normalize.css rules\n * 1. Change the font styles in all browsers.\n */\n font-family: inherit; /* 1 */\n font-size: 1.125em;\n height: var(--input-height);\n line-height: normal;\n\n /*\n * Normalize.css rules\n * 2. Remove the margin in Firefox and Safari.\n */\n margin: 0; /* 2 */\n padding: 0 var(--spacing-s);\n width: 100%;\n will-change: transform, box-shadow;\n}\n\n/* text-input transitions */\n\n.hds-text-input .hds-text-input__input:hover {\n border-color: var(--input-border-color-hover);\n transition: border-color 85ms ease-out;\n}\n\n.hds-text-input__input-wrapper:focus-within .hds-text-input__input {\n border-color: var(--input-border-color-focus);\n outline: none;\n}\n\n.hds-text-input.hds-text-input--invalid .hds-text-input__input {\n border-color: var(--input-border-color-invalid);\n}\n\n.hds-text-input.hds-text-input--success .hds-text-input__input {\n border-color: var(--input-border-color-success);\n}\n\n.hds-text-input__input-wrapper:focus-within .hds-text-input__input:not([readonly]) {\n box-shadow: 0 0 0 var(--outline-width) var(--color-focus-outline);\n transform: translate3d(0, 0, 0);\n transition: 85ms ease-out;\n transition-property: box-shadow, transform;\n}\n\n.hds-text-input__label {\n color: var(--label-color-default);\n display: block;\n font-size: var(--fontsize-body-m);\n font-weight: 500;\n margin-bottom: var(--spacing-3-xs);\n}\n\n.hds-text-input--invalid .hds-text-input__label {\n color: var(--label-color-invalid);\n transition: color 85ms linear;\n}\n\n/* REQUIRED */\n\n.hds-text-input__required {\n color: var(--color-black-90);\n display: inline-block;\n font-size: var(--fontsize-body-xl);\n line-height: 1;\n margin-left: var(--spacing-2-xs);\n transform: translateY(var(--spacing-3-xs));\n}\n\n/* INPUT */\n\n.hds-text-input__input-wrapper {\n display: flex;\n position: relative;\n}\n\n.hds-text-input textarea.hds-text-input__input {\n /*\n * Normalize.css rules\n * 1. Change the font styles in all browsers.\n */\n font-family: inherit; /* 1 */\n height: var(--textarea-height);\n\n /*\n * Normalize.css rules\n * 2. Remove the margin in Firefox and Safari.\n */\n margin: 0; /* 2 */\n min-height: var(--input-height);\n\n /*\n * Normalize.css rule\n * 1. Remove the default vertical scrollbar in IE 10+.\n */\n overflow: auto; /* 1 */\n padding: var(--spacing-s);\n resize: vertical;\n}\n\n.hds-text-input .hds-text-input__input::-moz-placeholder {\n color: var(--placeholder-color);\n opacity: 1;\n}\n\n.hds-text-input .hds-text-input__input::placeholder {\n color: var(--placeholder-color);\n opacity: 1;\n}\n\n/* HELPER TEXT */\n\n.hds-text-input__helper-text {\n color: var(--helper-color-default);\n display: block;\n font-size: var(--fontsize-body-m);\n line-height: var(--lineheight-l);\n margin-top: var(--spacing-3-xs);\n white-space: pre-line;\n}\n\n/* ERROR TEXT */\n\n.hds-text-input__error-text {\n color: var(--helper-color-invalid);\n display: block;\n font-size: var(--fontsize-body-m);\n line-height: var(--lineheight-l);\n margin-top: var(--spacing-3-xs);\n padding-left: calc(var(--icon-size) + var(--spacing-2-xs));\n position: relative;\n white-space: pre-line;\n}\n\n.hds-text-input__error-text:not(:last-child) {\n margin-bottom: var(--spacing-2-xs);\n}\n\n.hds-text-input__error-text:before {\n animation: fadeIn 85ms ease-out;\n background: var(--icon-color-invalid);\n content: '';\n height: var(--icon-size);\n left: 0;\n -webkit-mask-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E %3Cg fill='none' fill-rule='evenodd'%3E %3Crect width='24' height='24'/%3E %3Cpath fill='currentColor' d='M12,3 C16.9705627,3 21,7.02943725 21,12 C21,16.9705627 16.9705627,21 12,21 C7.02943725,21 3,16.9705627 3,12 C3,7.02943725 7.02943725,3 12,3 Z M13,16 L13,18 L11,18 L11,16 L13,16 Z M13,6 L13,14 L11,14 L11,6 L13,6 Z'/%3E %3C/g%3E %3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E %3Cg fill='none' fill-rule='evenodd'%3E %3Crect width='24' height='24'/%3E %3Cpath fill='currentColor' d='M12,3 C16.9705627,3 21,7.02943725 21,12 C21,16.9705627 16.9705627,21 12,21 C7.02943725,21 3,16.9705627 3,12 C3,7.02943725 7.02943725,3 12,3 Z M13,16 L13,18 L11,18 L11,16 L13,16 Z M13,6 L13,14 L11,14 L11,6 L13,6 Z'/%3E %3C/g%3E %3C/svg%3E\");\n pointer-events: none;\n position: absolute;\n top: 0;\n width: var(--icon-size);\n}\n\n.hds-text-input__success-text {\n color: var(--helper-color-success);\n display: block;\n font-size: var(--fontsize-body-m);\n line-height: var(--lineheight-l);\n margin-top: var(--spacing-3-xs);\n padding-left: calc(var(--icon-size) + var(--spacing-2-xs));\n position: relative;\n white-space: pre-wrap;\n}\n\n.hds-text-input__success-text:not(:last-child) {\n margin-bottom: var(--spacing-2-xs);\n}\n\n.hds-text-input__success-text:before {\n animation: fadeIn 85ms ease-out;\n background: var(--helper-color-success);\n content: '';\n height: var(--icon-size);\n left: 0;\n -webkit-mask-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E %3Cg fill='none' fill-rule='evenodd'%3E %3Crect width='24' height='24'/%3E %3Cpath fill='currentColor' d='M12,3 C7.02943725,3 3,7.02943725 3,12 C3,16.9705627 7.02943725,21 12,21 C16.9705627,21 21,16.9705627 21,12 C21,7.02943725 16.9705627,3 12,3 Z M16.5,8 L18,9.5 L10.5,17 L6,12.5 L7.5,11 L10.5,14 L16.5,8 Z'/%3E %3C/g%3E %3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E %3Cg fill='none' fill-rule='evenodd'%3E %3Crect width='24' height='24'/%3E %3Cpath fill='currentColor' d='M12,3 C7.02943725,3 3,7.02943725 3,12 C3,16.9705627 7.02943725,21 12,21 C16.9705627,21 21,16.9705627 21,12 C21,7.02943725 16.9705627,3 12,3 Z M16.5,8 L18,9.5 L10.5,17 L6,12.5 L7.5,11 L10.5,14 L16.5,8 Z'/%3E %3C/g%3E %3C/svg%3E\");\n pointer-events: none;\n position: absolute;\n top: 0;\n width: var(--icon-size);\n}\n\n/* INFO TEXT */\n\n.hds-text-input__info-text {\n color: var(--helper-color-info);\n display: block;\n font-size: var(--fontsize-body-m);\n line-height: var(--lineheight-l);\n margin-top: var(--spacing-3-xs);\n padding-left: calc(var(--icon-size) + var(--spacing-2-xs));\n position: relative;\n}\n\n.hds-text-input__info-text:not(:last-child) {\n margin-bottom: var(--spacing-2-xs);\n}\n\n.hds-text-input__info-text:before {\n animation: fadeIn 85ms ease-out;\n background: var(--helper-color-info-icon);\n content: '';\n height: var(--icon-size);\n left: 0;\n -webkit-mask-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E %3Cg fill='none' fill-rule='evenodd'%3E %3Crect width='24' height='24'/%3E %3Cpath fill='currentColor' d='M12,3 C16.9705627,3 21,7.02943725 21,12 C21,16.9705627 16.9705627,21 12,21 C7.02943725,21 3,16.9705627 3,12 C3,7.02943725 7.02943725,3 12,3 Z M13,16 L13,18 L11,18 L11,16 L13,16 Z M13,6 L13,14 L11,14 L11,6 L13,6 Z'/%3E %3C/g%3E %3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E %3Cg fill='none' fill-rule='evenodd'%3E %3Crect width='24' height='24'/%3E %3Cpath fill='currentColor' d='M12,3 C16.9705627,3 21,7.02943725 21,12 C21,16.9705627 16.9705627,21 12,21 C7.02943725,21 3,16.9705627 3,12 C3,7.02943725 7.02943725,3 12,3 Z M13,16 L13,18 L11,18 L11,16 L13,16 Z M13,6 L13,14 L11,14 L11,6 L13,6 Z'/%3E %3C/g%3E %3C/svg%3E\");\n pointer-events: none;\n position: absolute;\n top: 0;\n width: var(--icon-size);\n}\n\n/* DISABLED */\n\n.hds-text-input .hds-text-input__input[disabled] {\n background-color: var(--input-background-disabled);\n border-color: var(--input-border-color-disabled);\n color: var(--input-color-disabled);\n cursor: not-allowed;\n}\n\n/* READ-ONLY */\n\n.hds-text-input .hds-text-input__input[readonly] {\n background-color: transparent;\n border: 0;\n color: var(--input-color-default);\n padding: 0;\n\n /* fixes faded text color on Safari */\n -webkit-text-fill-color: var(--input-color-default);\n}\n\n/* BUTTON */\n\n.hds-text-input__buttons {\n align-items: center;\n bottom: 0;\n display: flex;\n font-size: 1rem;\n justify-content: center;\n margin-right: calc(var(--spacing-s) - var(--spacing-xs) / 2);\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.hds-text-input__button {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n background: none;\n border: none;\n cursor: pointer;\n display: flex;\n font: inherit;\n outline: none;\n padding: var(--spacing-xs) calc(var(--spacing-xs) / 2);\n}\n\n.hds-text-input__button:focus {\n outline: var(--outline-width) solid var(--color-focus-outline);\n}\n",".indicator {\n composes: hds-text-input__required from 'hds-core/lib/components/text-input/text-input.css';\n}\n","@import \"../../styles/common.scss\";\n\n.root {\n --button-focus-outline-width: 3px;\n --button-focus-outline-color: var(--color-coat-of-arms);\n --tooltip-arrow-size: 8px;\n --tooltip-background: var(--color-coat-of-arms-light);\n --tooltip-border-color: var(--color-coat-of-arms);\n --tooltip-spacing-default: var(--spacing-s);\n --tooltip-spacing-small: var(--spacing-3-xs) var(--spacing-2-xs);\n}\n\n.tooltip {\n background-color: var(--tooltip-background);\n font-size: var(--fontsize-body-s);\n font-weight: normal;\n line-height: 24px;\n max-width: 21.875rem;\n padding: var(--tooltip-spacing-default);\n z-index: 1000;\n}\n\n.boxShadow {\n box-shadow: var(--box-shadow-s);\n}\n\n/* SMALL VARIATION */\n.small {\n padding: var(--tooltip-spacing-small);\n}\n\n/* TOGGLE BUTTON */\n.button {\n @extend %buttonReset;\n\n > span {\n display: flex;\n }\n\n &:focus {\n box-shadow: 0 0 0 var(--button-focus-outline-width) var(--button-focus-outline-color);\n outline: none;\n }\n}\n\n/* BORDER */\n.tooltip[data-popper-placement^=\"bottom\"] {\n border-top: 8px solid var(--tooltip-border-color);\n}\n\n.tooltip[data-popper-placement^=\"top\"] {\n border-bottom: 8px solid var(--tooltip-border-color);\n}\n\n.tooltip[data-popper-placement^=\"left\"] {\n border-right: 8px solid var(--tooltip-border-color);\n}\n\n.tooltip[data-popper-placement^=\"right\"] {\n border-left: 8px solid var(--tooltip-border-color);\n}\n\n/* ARROW */\n.tooltip .arrow {\n position: absolute;\n}\n\n.tooltip[data-popper-placement^=\"bottom\"] .arrow {\n border-bottom: var(--tooltip-arrow-size) solid var(--tooltip-border-color);\n border-left: var(--tooltip-arrow-size) solid transparent;\n border-right: var(--tooltip-arrow-size) solid transparent;\n border-top: var(--tooltip-arrow-size) solid transparent;\n top: calc(-1 * var(--tooltip-spacing-default) - var(--tooltip-arrow-size));\n}\n\n.tooltip[data-popper-placement^=\"top\"] .arrow {\n border-bottom: var(--tooltip-arrow-size) solid transparent;\n border-left: var(--tooltip-arrow-size) solid transparent;\n border-right: var(--tooltip-arrow-size) solid transparent;\n border-top: var(--tooltip-arrow-size) solid var(--tooltip-border-color);\n bottom: calc(-1 * var(--tooltip-spacing-default) - var(--tooltip-arrow-size));\n}\n\n.tooltip[data-popper-placement^=\"left\"] .arrow {\n border-bottom: var(--tooltip-arrow-size) solid transparent;\n border-left: var(--tooltip-arrow-size) solid var(--tooltip-border-color);\n border-right: var(--tooltip-arrow-size) solid transparent;\n border-top: var(--tooltip-arrow-size) solid transparent;\n right: calc(-1 * var(--tooltip-spacing-default) - var(--tooltip-arrow-size));\n}\n\n.tooltip[data-popper-placement^=\"right\"] .arrow {\n border-bottom: var(--tooltip-arrow-size) solid transparent;\n border-left: var(--tooltip-arrow-size) solid transparent;\n border-right: var(--tooltip-arrow-size) solid var(--tooltip-border-color);\n border-top: var(--tooltip-arrow-size) solid transparent;\n left: calc(-1 * var(--tooltip-spacing-default) - var(--tooltip-arrow-size));\n}\n","%hidden {\n left: -9999px;\n position: absolute;\n top: -9999px;\n visibility: hidden;\n}\n\n.selectedItems {\n align-items: center;\n display: flex;\n flex-wrap: wrap;\n padding: var(--spacing-4-xs) calc((var(--spacing-s) - var(--border-width)) * 2 + (var(--icon-size) * 2))\n calc(var(--spacing-2-xs) + var(--border-width)) var(--spacing-4-xs);\n\n &.itemsHidden {\n box-sizing: border-box;\n height: var(--menu-item-height);\n overflow: hidden;\n }\n\n &.noToggle {\n padding-right: calc((var(--spacing-s) - var(--border-width)) * 2 + (var(--icon-size)));\n }\n\n .tag {\n margin: var(--spacing-2-xs) 0 0 var(--spacing-2-xs);\n position: relative;\n z-index: 1;\n\n &.hidden {\n @extend %hidden;\n }\n }\n\n &.truncateFirstChild {\n flex-wrap: nowrap;\n\n & > .tag:first-child {\n justify-content: flex-end;\n overflow: hidden;\n\n .tagLabel {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n }\n }\n\n .hiddenItemsCount {\n font-weight: bold;\n margin: var(--spacing-xs) 0 0 var(--spacing-xs);\n opacity: 1;\n pointer-events: none;\n transition: 50ms cubic-bezier(0.47, 0, 0.75, 0.72);\n user-select: none;\n\n &.hidden {\n @extend %hidden;\n\n opacity: 0;\n }\n }\n}\n\n.clearButton {\n background: none;\n border: none;\n color: inherit;\n cursor: pointer;\n display: flex;\n font: inherit;\n outline: none;\n padding: 0;\n position: absolute;\n right: calc(var(--border-width) * -1);\n top: 0;\n transform: translate(calc(var(--spacing-2-xl) * -1), calc(var(--menu-item-height) / 2 - 50%));\n z-index: 1;\n\n &:focus {\n box-shadow: 0 0 0 var(--focus-outline-width) var(--focus-outline-color);\n }\n\n &.noToggle {\n transform: translate(calc(var(--spacing-s) * -1), calc(var(--menu-item-height) / 2 - 50%));\n }\n}\n",".hds-icon {\n --icon-size: 100%;\n\n background-color: currentcolor;\n display: inline-block;\n height: var(--icon-size);\n -webkit-mask-position: center;\n mask-position: center;\n -webkit-mask-repeat: no-repeat;\n mask-repeat: no-repeat;\n -webkit-mask-size: auto;\n mask-size: auto;\n width: var(--icon-size);\n}\n\n.hds-icon.hds-icon--size-xs {\n --icon-size: var(--spacing-layout-2-xs);\n}\n\n.hds-icon.hds-icon--size-s {\n --icon-size: var(--spacing-layout-xs);\n}\n\n.hds-icon.hds-icon--size-m {\n --icon-size: var(--spacing-layout-s);\n}\n\n.hds-icon.hds-icon--size-l {\n --icon-size: var(--spacing-layout-m);\n}\n\n.hds-icon.hds-icon--size-xl {\n --icon-size: var(--spacing-layout-l);\n}\n\n.hds-icon--cross {\n -webkit-mask-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M18 7.5L13.5 12L18 16.5L16.5 18L12 13.5L7.5 18L6 16.5L10.5 12L6 7.5L7.5 6L12 10.5L16.5 6L18 7.5Z' fill='currentColor'%3E%3C/path%3E %3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M18 7.5L13.5 12L18 16.5L16.5 18L12 13.5L7.5 18L6 16.5L10.5 12L6 7.5L7.5 6L12 10.5L16.5 6L18 7.5Z' fill='currentColor'%3E%3C/path%3E %3C/svg%3E\");\n}\n\n.hds-tag {\n --tag-background: var(--color-black-10);\n --tag-color: var(--color-black-90);\n --tag-font-size: var(--fontsize-body-s);\n --tag-spacing: var(--spacing-2-xs);\n --tag-height: 32px;\n\n align-items: center;\n background-color: var(--tag-background);\n border-radius: 20px;\n color: var(--tag-color);\n display: inline-flex;\n flex-direction: row;\n font-size: var(--tag-font-size);\n line-height: var(--tag-height);\n min-height: var(--tag-height);\n outline: none;\n}\n\n.hds-tag--large {\n --tag-font-size: var(--fontsize-body-m);\n --tag-spacing: var(--spacing-s);\n --tag-height: 48px;\n\n border-radius: 24px;\n flex-direction: row;\n}\n\n.hds-tag:focus,\n.hds-tag:focus-within {\n box-shadow: 0 0 0 3px var(--color-focus-outline);\n}\n\n.hds-tag[tabindex='0'] {\n cursor: pointer;\n}\n\n.hds-tag__label {\n line-height: var(--lineheight-m);\n padding: 0 var(--tag-spacing);\n}\n\n.hds-tag__label:not(:only-child) {\n padding: 0 0 0 var(--tag-spacing);\n}\n\n.hds-tag__delete-button {\n display: flex;\n margin-right: calc(var(--tag-spacing) / 2);\n outline: none;\n }\n\n.hds-tag__delete-button .hds-icon {\n height: var(--spacing-m);\n width: var(--spacing-m);\n}\n","@import \"../../styles/common.scss\";\n\n.tag {\n composes: hds-tag from 'hds-core/lib/components/tag/tag.css';\n}\n\n// Child nodes\n.label {\n composes: hds-tag__label from 'hds-core/lib/components/tag/tag.css';\n}\n\n// Large size variant\n.large {\n composes: hds-tag--large from 'hds-core/lib/components/tag/tag.css';\n}\n\n.deleteButton {\n @extend %buttonReset;\n\n composes: hds-tag__delete-button from 'hds-core/lib/components/tag/tag.css';\n}\n\n.visuallyHidden {\n @extend %visuallyHidden;\n}\n",".hds-icon {\n --icon-size: 100%;\n\n background-color: currentcolor;\n display: inline-block;\n height: var(--icon-size);\n -webkit-mask-position: center;\n mask-position: center;\n -webkit-mask-repeat: no-repeat;\n mask-repeat: no-repeat;\n -webkit-mask-size: auto;\n mask-size: auto;\n width: var(--icon-size);\n}\n\n.hds-icon.hds-icon--size-xs {\n --icon-size: var(--spacing-layout-2-xs);\n}\n\n.hds-icon.hds-icon--size-s {\n --icon-size: var(--spacing-layout-xs);\n}\n\n.hds-icon.hds-icon--size-m {\n --icon-size: var(--spacing-layout-s);\n}\n\n.hds-icon.hds-icon--size-l {\n --icon-size: var(--spacing-layout-m);\n}\n\n.hds-icon.hds-icon--size-xl {\n --icon-size: var(--spacing-layout-l);\n}\n\n.hds-icon--link-external {\n -webkit-mask-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M5 3V19H21V21H3V3H5ZM21 3V12H19V6.413L9.91421 15.5L8.5 14.0858L17.585 5H12V3H21Z' fill='currentColor'%3E%3C/path%3E %3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M5 3V19H21V21H3V3H5ZM21 3V12H19V6.413L9.91421 15.5L8.5 14.0858L17.585 5H12V3H21Z' fill='currentColor'%3E%3C/path%3E %3C/svg%3E\");\n}\n\n.hds-link {\n --link-visited-color: #551a8b;\n --link-color: var(--color-bus);\n\n border: 3px solid transparent;\n box-sizing: border-box;\n color: var(--link-color);\n text-decoration: underline;\n}\n\n.hds-link:visited {\n color: var(--link-visited-color);\n}\n\n.hds-link:visited svg g path { /* Fixes external link icon visited color for Safari */\n fill: var(--link-visited-color);\n}\n\n.hds-link:focus {\n border: 3px solid var(--color-focus-outline);\n outline: none;\n}\n\n.hds-link.focus-visible {\n outline: none;\n}\n\n.hds-link:focus-visible {\n outline: none;\n}\n\n.hds-link .vertical-align-medium-icon {\n vertical-align: sub;\n}\n\n.hds-link .vertical-align-big-icon {\n vertical-align: middle;\n}\n\n.hds-link .vertical-align-small-icon {\n vertical-align: text-top;\n}\n\n.hds-link--disable-visited-styles:visited {\n color: var(--color-bus);\n}\n\n.hds-link--small {\n font-size: 14px;\n}\n\n.hds-link--medium {\n font-size: 16px;\n}\n\n.hds-link--large {\n display: block;\n font-size: 18px;\n width: -moz-fit-content;\n width: fit-content;\n}\n\n/* ICONS */\n\n.hds-link--small .icon {\n margin-left: 7px;\n}\n\n.hds-link--medium .icon {\n margin-left: var(--spacing-2-xs);\n margin-top: -3px; /* Fixes lineheight problem for external inline link */\n}\n\n.hds-link--large .icon {\n margin-left: var(--spacing-s);\n}\n\n.hds-link--small .hds-icon-left {\n margin-right: 4px;\n vertical-align: text-top;\n}\n\n.hds-link--medium .hds-icon-left {\n margin-right: 8px;\n vertical-align: sub;\n}\n\n.hds-link--large .hds-icon-left {\n margin-right: 16px;\n vertical-align: middle;\n}\n",".link {\n composes: hds-link from 'hds-core/lib/components/link/link.css';\n}\n\n.icon {\n composes: icon from 'hds-core/lib/components/link/link.css';\n}\n\n.iconLeft {\n composes: hds-icon-left from 'hds-core/lib/components/link/link.css';\n}\n\n.verticalAlignMediumIcon {\n composes: vertical-align-medium-icon from 'hds-core/lib/components/link/link.css';\n}\n\n.verticalAlignBigIcon {\n composes: vertical-align-big-icon from 'hds-core/lib/components/link/link.css';\n}\n\n.verticalAlignSmallIcon {\n composes: vertical-align-small-icon from 'hds-core/lib/components/link/link.css';\n}\n\n.disableVisitedStyles {\n composes: hds-link--disable-visited-styles from 'hds-core/lib/components/link/link.css';\n}\n\n.linkS {\n composes: hds-link--small from 'hds-core/lib/components/link/link.css';\n}\n\n.linkM {\n composes: hds-link--medium from 'hds-core/lib/components/link/link.css';\n}\n\n.linkL {\n composes: hds-link--large from 'hds-core/lib/components/link/link.css';\n}\n",".hds-breadcrumb {\n --horizontal-margin-small: var(--spacing-layout-2-xs);\n --horizontal-margin-medium: var(--spacing-layout-xs);\n --horizontal-margin-large: var(--spacing-layout-xs);\n --horizontal-margin-x-large: var(--spacing-layout-s);\n --horizontal-margin: var(--horizontal-margin-small);\n\n display: flex;\n margin: 0 var(--horizontal-margin);\n padding: var(--spacing-s) 0;\n}\n\n.hds-breadcrumb__list {\n align-items: center;\n flex-direction: row;\n word-wrap: break-word;\n}\n\n.hds-breadcrumb__list--mobile {\n display: flex;\n}\n\n.hds-breadcrumb__list--desktop {\n display: none;\n}\n\n.hds-breadcrumb__list-item {\n align-items: center;\n display: flex;\n line-height: var(--lineheight-l);\n}\n\n.hds-breadcrumb__list-item--active {\n font-weight: 700;\n\n /* to match 3px border around links */\n padding: 3px;\n}\n\n.hds-breadcrumb__link.hds-breadcrumb__link {\n --link-visited-color: none;\n --link-color: var(--color-black-90);\n}\n\n.hds-breadcrumb__link:hover,\n.hds-breadcrumb__link:focus {\n -webkit-text-decoration-color: var(--color-black-90);\n text-decoration-color: var(--color-black-90);\n}\n\n.hds-breadcrumb__list--mobile .hds-breadcrumb__link {\n font-size: var(--fontsize-body-l);\n}\n\n.hds-breadcrumb__back-arrow.hds-breadcrumb__back-arrow {\n display: inline-flex;\n\n /* compensate the white space in the icon */\n margin-left: -5px;\n margin-right: -3px;\n\n --icon-size: var(--spacing-m);\n}\n\n.hds-breadcrumb__separator.hds-breadcrumb__separator {\n display: inline-flex;\n padding-left: var(--spacing-3-xs);\n\n --icon-size: var(--spacing-s);\n}\n\n@media (min-width: 768px) {\n .hds-breadcrumb {\n --horizontal-margin: var(--horizontal-margin-medium);\n }\n\n .hds-breadcrumb__list--mobile {\n display: none;\n }\n\n .hds-breadcrumb__list--desktop {\n display: flex;\n flex-wrap: wrap;\n list-style: none;\n margin: 0;\n padding: 0;\n }\n}\n\n@media (min-width: 992px) {\n .hds-breadcrumb {\n --horizontal-margin: var(--horizontal-margin-large);\n }\n}\n\n@media (min-width: 1248px) {\n .hds-breadcrumb {\n --horizontal-margin: var(--horizontal-margin-x-large);\n }\n}\n","@value medium-up from \"../../styles/breakpoints.scss\";\n\n.breadcrumb {\n composes: hds-breadcrumb from 'hds-core/lib/components/breadcrumb/breadcrumb.css';\n}\n\n.list {\n composes: hds-breadcrumb__list from 'hds-core/lib/components/breadcrumb/breadcrumb.css';\n}\n\n.mobileList {\n composes: hds-breadcrumb__list--mobile from 'hds-core/lib/components/breadcrumb/breadcrumb.css';\n}\n\n.desktopList {\n composes: hds-breadcrumb__list--desktop from 'hds-core/lib/components/breadcrumb/breadcrumb.css';\n}\n\n.listItem {\n composes: hds-breadcrumb__list-item from 'hds-core/lib/components/breadcrumb/breadcrumb.css';\n}\n\n.activeListItem {\n composes: hds-breadcrumb__list-item--active from 'hds-core/lib/components/breadcrumb/breadcrumb.css';\n}\n\n.link {\n composes: hds-breadcrumb__link from 'hds-core/lib/components/breadcrumb/breadcrumb.css';\n}\n\n.backArrow {\n composes: hds-breadcrumb__back-arrow from 'hds-core/lib/components/breadcrumb/breadcrumb.css';\n}\n\n.separator {\n composes: hds-breadcrumb__separator from 'hds-core/lib/components/breadcrumb/breadcrumb.css';\n}\n\n/* icon is aligned differently in the svg itself */\n.separator.separator {\n padding-left: 2px;\n padding-right: 2px;\n}\n","@use \"../../styles/common.scss\";\n@use \"../../styles/layout.scss\";\n\n.header {\n --header-background-color: var(--color-white);\n --header-color: var(--color-black-90);\n --header-height: var(--spacing-4-xl);\n --header-focus-outline-width: 3px;\n --header-focus-outline-border-radius: 0;\n --header-focus-outline-color: var(--color-coat-of-arms);\n --header-divider-color: var(--color-black-20);\n --header-z-index: 10;\n --header-margin: var(--spacing-m);\n --header-max-width: 1440px;\n --header-item-border-color: var(--color-black-20);\n --header-item-hover-color: var(--color-black-20);\n --actionbar-background-color: var(--color-white);\n --action-bar-container-height: 88px;\n --action-bar-section-gutter: var(--spacing-s);\n --action-bar-dropdown-menu-caret-width: 64px;\n --action-bar-dropdown-menu-primary-item-height: 64px;\n --action-bar-dropdown-menu-secondary-item-height: 48px;\n --action-bar-button-size: 64px;\n --action-bar-item-gutter: 12px;\n --action-bar-item-title-font-size: var(--fontsize-body-s);\n --action-bar-item-title-font-color: var(--header-color);\n --lang-selector-mobile-background-color: var(--color-silver-light);\n --lang-selector-item-font-color: var(--header-color);\n --lang-selector-dropdown-background-color: var(--color-white);\n --nav-link-font-color: var(--header-color);\n --nav-border-color: var(--color-black-20);\n --nav-link-hover-color: var(--color-black-90);\n --nav-link-dropdown-background-color: var(--color-white);\n --nav-button-background-color: var(--color-black-5);\n --nav-button-hover-background-color: var(--color-black-5);\n --nav-search-color: var(--header-color);\n --nav-mobile-menu-background-color: var(--color-white);\n --nav-mobile-menu-bottom-background-color: var(--color-silver-light);\n --nav-mobile-margin-left: var(--spacing-s);\n --universal-bar-background-color: var(--color-black-5);\n --logo-height: 56px;\n --icon-size: 24px;\n --nav-drop-down-icon-color: var(--color-black);\n --nav-background-color:var(--color-white);\n\n @include layout.below-large {\n --action-bar-container-height: 74px;\n --logo-height: 48px;\n }\n\n @include layout.below-medium {\n --header-margin: var(--spacing-s);\n --action-bar-container-height: 64px;\n --logo-height: 32px;\n }\n\n @include layout.below-small {\n --header-margin: var(--spacing-xs);\n --action-bar-container-height: 64px;\n --logo-height: 32px;\n }\n\n &.theme-dark {\n --color-focus-outline: var(--color-white);\n --header-color: var(--color-white); \n --header-focus-outline-color: var(--color-white);\n --header-background-color: var(--color-black-80);\n --nav-border-color: var(--color-white);\n --nav-link-hover-color: var(--color-white);\n --universal-bar-background-color: var(--color-black-60);\n --navigation-link-button-background-color: var(--color-black-60);\n --nav-link-dropdown-background-color: var(--color-black-80);\n --lang-selector-mobile-background-color: var(--color-black-80);\n --lang-selector-dropdown-background-color: var(--color-black-60);\n --nav-button-background-color: var(--color-black-60);\n --nav-button-hover-background-color: var(--color-black-60);\n --nav-drop-down-icon-color: var(--color-white);\n --actionbar-background-color: var(--color-black-80);\n --nav-background-color: var(--color-black-80);\n --nav-mobile-menu-background-color: var(--color-black-80);\n --nav-mobile-menu-bottom-background-color: var(--color-black-60);\n }\n\n background-color: var(--header-background-color);\n color: var(--header-color);\n position: relative;\n width: 100%;\n\n}\n\n/* BACKGROUND WRAPPER */\n\n.headerBackgroundWrapper {\n position: relative;\n z-index: var(--header-z-index);\n}\n","@import '~hds-design-tokens/lib/all.scss';\n\n// MEDIA QUERIES\n\n// A list of breakpoints.\n$breakpoints: (\n $breakpoint-xs,\n $breakpoint-s,\n $breakpoint-m,\n $breakpoint-l,\n $breakpoint-xl,\n);\n\n// RESPOND ABOVE\n\n// @include respond-above($breakpoint.s) {}\n@mixin respond-above($breakpoint) {\n @if not index($breakpoints, $breakpoint) {\n // If the breakpoint doesn't exist in the list.\n // Log a warning.\n @warn 'Invalid breakpoint: #{$breakpoint}.';\n } @else {\n // If the breakpoint exists in the list.\n // Write the media query.\n @media only screen and (min-width: $breakpoint) {\n @content;\n }\n }\n}\n\n// RESPOND BELOW\n\n// @include respond-below($breakpoint.s) {}\n@mixin respond-below($breakpoint) {\n @if not index($breakpoints, $breakpoint) {\n // If the breakpoint doesn't exist in the list.\n // Log a warning.\n @warn 'Invalid breakpoint: #{$breakpoint}.';\n } @else {\n // Write the media query.\n @media only screen and (max-width: ($breakpoint - 1)) {\n @content;\n }\n }\n}\n\n@mixin below-small() { @include respond-below($breakpoint-s) { @content; }}\n\n@mixin below-medium() { @include respond-below($breakpoint-m) { @content; }}\n\n@mixin below-large() { @include respond-below($breakpoint-l) { @content; }}\n","@value x-small-down, small-down from \"../../../../styles/breakpoints.scss\";\n\n.headerUniversalBar {\n align-items: center;\n box-sizing: border-box;\n display: flex;\n margin: 0 auto;\n max-width: var(--header-max-width);\n min-height: 48px;\n padding: 0 var(--header-margin);\n width: 100%;\n}\n\n.headerUniversalBarContainer {\n background: var(--universal-bar-background-color);\n width: 100%;\n}\n\n.headerUniversalBarList {\n display: flex;\n gap: 0 var(--spacing-l);\n list-style: none;\n margin: 0;\n padding: 0;\n width: 100%;\n}\n\n.universalBarMainLinkContainer {\n display: flex;\n flex: 1;\n justify-self: start;\n}\n\n.universalBarSecondaryLinkContainer {\n display: flex;\n justify-self: end;\n}\n\n.universalBarSecondaryLinkContainer:last-child {\n margin-right: 0;\n}\n\n.universalBarLink.universalBarLink {\n font-size: var(--fontsize-body-m);\n}\n\n/* MEDIA */\n@media small-down {\n .headerUniversalBarList {\n gap: 0 var(--spacing-m);\n }\n}\n\n@media x-small-down {\n .universalBarLink.universalBarLink {\n font-size: var(--fontsize-body-s);\n }\n}\n","@use \"../../Header.module.scss\";\n@import \"../../../../styles/common.scss\";\n\n.headerLink.headerLink {\n --link-color: var(--color-black-90);\n --link-font-size: var(--fontsize-body-s);\n --link-visited-color: none;\n\n border: 0;\n color: var(--nav-link-font-color);\n display: flex;\n line-height: var(--lineheight-l);\n margin: 0;\n text-decoration: none;\n word-wrap: break-word;\n\n &:hover {\n text-decoration: underline;\n text-decoration-color: var(--nav-link-hover-color);\n }\n\n &:focus-visible {\n border: none;\n outline: var(--header-focus-outline-width) solid var(--header-focus-outline-color);\n outline-offset: var(--header-focus-outline-width);\n }\n}\n\n.active {\n font-weight: 700;\n padding-left: var(--header-focus-outline-width);\n}\n\n\n.navigationLinkWrapper {\n align-items: center;\n display: flex;\n height: 100%;\n justify-content: space-between;\n position: relative;\n\n &.isNotLargeScreen {\n width: 100%;\n\n &,\n &:focus {\n border-top-width: 1px;\n }\n\n ul {\n border: none;\n }\n }\n}\n\n.headerLink.isNotLargeScreen{\n align-self: center;\n border: none;\n box-sizing: border-box;\n color: var(--nav-link-font-color);\n font-size: var(--fontsize-body-xl);\n margin-left: var(--nav-mobile-margin-left);\n padding: 0;\n word-wrap: break-word;\n\n &:focus { border: none }\n}\n","@use \"../../../Header.module.scss\";\n\nbutton.button {\n background-color: var(--nav-button-background-color);\n border: none;\n box-sizing: content-box;\n color: var(--nav-drop-down-icon-color);\n display: block;\n height: 24px;\n margin: 0 0 0 var(--spacing-s);\n padding: 0;\n width: 24px;\n\n &.isNotLargeScreen {\n background: transparent;\n border-left: 1px solid var(--nav-button-background-color);\n box-sizing: border-box;\n flex: 0 0 var(--action-bar-dropdown-menu-caret-width);\n height: var(--action-bar-dropdown-menu-secondary-item-height);\n width: unset;\n\n &.depth-0 {\n height: var(--action-bar-dropdown-menu-primary-item-height);\n }\n }\n\n &:hover {\n background-color: var(--nav-button-hover-background-color);\n cursor: pointer;\n }\n\n &:focus-visible {\n outline: 3px solid var(--header-focus-outline-color);\n outline-offset: var(--header-focus-outline-width);\n }\n}\n\n.chevron {\n transition: transform 0.2s ease-in;\n}\n\n.chevronOpen {\n transform: rotate(180deg);\n}\n\n.hidden {\n display: none;\n}\n\n.dropdownMenu {\n background-color: var(--nav-link-dropdown-background-color);\n border: 1px solid var(--nav-border-color);\n display: flex;\n flex-direction: column;\n list-style: none;\n min-width: 280px;\n padding: 0;\n position: absolute;\n top: 100%;\n z-index: calc(var(--header-z-index) + 1);\n\n .dropdownLink {\n font-size: var(--fontsize-body-m);\n margin: var(--spacing-xs) var(--spacing-m) var(--spacing-xs) var(--header-margin);\n padding: 0;\n\n &:focus {\n border: 0;\n }\n\n &:focus-visible {\n outline: 3px solid var(--header-focus-outline-color);\n outline-offset: var(--header-focus-outline-width);\n }\n\n &:before {\n bottom: 0;\n content: '';\n height: 100%;\n left: 0;\n margin: 0;\n position: absolute;\n width: 0;\n }\n\n &:hover:before {\n border-left: 4px solid var(--color-black);\n transition: border-left 100ms ease-in;\n }\n }\n\n .activeLink:before {\n border-left: 4px solid var(--color-black);\n padding-left: var(--spacing-xs);\n }\n\n .button {\n margin: 0 var(--spacing-xs) 0 var(--spacing-s);\n }\n}\n\n.left {\n left: auto;\n right: calc(100%);\n top: -1px;\n}\n\n.right {\n left: calc(100%);\n right: auto;\n top: -1px;\n}\n","@use \"../../Header.module.scss\";\n@use \"../../../../styles/common.scss\";\n@use \"./_typography.scss\";\n\n.headerActionBar {\n align-items: stretch;\n box-sizing: border-box;\n color: var(--header-color);\n display: flex;\n gap: calc(var(--header-margin) / 2);\n height: var(--action-bar-container-height);\n justify-content: space-between;\n margin: 0 auto;\n max-width: var(--header-max-width);\n padding-left: var(--header-margin);\n padding-right: var(--header-margin);\n position: relative;\n\n hr {\n border: 0;\n border-left: 1px solid var(--color-black-20);\n display: inline-block;\n height: 100%;\n margin: 0 5px;\n width: 0;\n }\n}\n\n.headerActionBarContainer {\n background-color: var(--actionbar-background-color);\n border-bottom: 1px solid var(--header-divider-color);\n width: 100%;\n}\n\n.headerActions {\n align-items: stretch;\n display: flex;\n flex-grow: 1;\n gap: var(--action-bar-item-gutter);\n justify-content: flex-end;\n}\n\n.titleAndLogoContainer {\n align-items: center;\n color: inherit;\n cursor: pointer;\n display: flex;\n flex: 0 0 auto;\n outline: none;\n position: relative;\n text-decoration: none;\n white-space: nowrap;\n\n &:focus-visible {\n border: none;\n outline: var(--header-focus-outline-width) solid var(--header-focus-outline-color);\n outline-offset: var(--header-focus-outline-width);\n }\n\n &:not([href]):not([tabindex='0']) {\n cursor: auto;\n }\n}\n\n.title {\n align-self: center;\n margin-top: -2px;\n padding: 1px;\n\n .normal > & {\n @include typography.title-normal;\n }\n\n .bold > & {\n @include typography.title-bold;\n }\n\n .black > & {\n @include typography.title-black;\n }\n}\n\n.logo {\n align-self: center;\n box-sizing: content-box;\n height: var(--logo-height);\n}\n","@use '../../../../styles/layout.scss';\n\n@mixin title-base {\n font-family: var(--font-default);\n}\n\n@mixin title-large-normal {\n font-size: var(--fontsize-heading-m);\n font-weight: 500;\n letter-spacing: -0.2px;\n line-height: var(--lineheight-s);\n}\n\n@mixin title-large-bold {\n font-size: var(--fontsize-heading-m);\n font-weight: 700;\n letter-spacing: -0.2px;\n line-height: var(--lineheight-s);\n}\n\n@mixin title-large-black {\n font-size: var(--fontsize-heading-l);\n font-weight: 900;\n letter-spacing: -0.2px;\n line-height: var(--lineheight-s);\n}\n\n@mixin title-medium-normal {\n font-size: var(--fontsize-heading-s);\n font-weight: 500;\n letter-spacing: -0.2px;\n line-height: var(--lineheight-s);\n}\n\n@mixin title-medium-bold {\n font-size: var(--fontsize-heading-s);\n font-weight: 700;\n letter-spacing: -0.2px;\n line-height: var(--lineheight-s);\n}\n\n@mixin title-medium-black {\n font-size: var(--fontsize-heading-m);\n font-weight: 900;\n letter-spacing: -0.2px;\n line-height: var(--lineheight-s);\n}\n\n@mixin title-small-normal {\n font-size: var(--fontsize-body-s);\n font-weight: 500;\n letter-spacing: -0.1px;\n line-height: var(--lineheight-s);\n}\n\n@mixin title-small-bold {\n font-size: var(--fontsize-body-s);\n font-weight: 700;\n letter-spacing: -0.1px;\n line-height: var(--lineheight-s);\n}\n\n@mixin title-small-black {\n font-size: var(--fontsize-heading-xxs);\n font-weight: 900;\n letter-spacing: -0.1px;\n line-height: var(--lineheight-s);\n}\n\n@mixin title-normal {\n @include title-base;\n @include title-large-normal;\n\n @include layout.below-large { @include title-medium-normal }\n\n @include layout.below-medium { @include title-small-normal }\n}\n\n@mixin title-bold {\n @include title-base;\n @include title-large-bold;\n\n @include layout.below-large { @include title-medium-bold }\n\n @include layout.below-medium { @include title-small-bold }\n}\n\n@mixin title-black {\n @include title-base;\n @include title-large-black;\n\n @include layout.below-large { @include title-medium-black }\n\n @include layout.below-medium { @include title-small-black }\n}\n","@use \"../../Header.module.scss\";\n@import '../../../../styles/common.scss';\n\n.languageSelector {\n display: flex;\n gap: var(--spacing-s);\n justify-content: space-between;\n}\n\n.languageSelectorDropdownIcon {\n align-items: center;\n margin-top: 1px;\n padding-top: 3px;\n\n &:focus-visible {\n outline-offset: 0;\n }\n}\n\n.languageSelectorDropdown {\n align-items: flex-start;\n background-color: var(--lang-selector-dropdown-background-color);\n display: flex;\n flex-flow: column nowrap;\n\n > * {\n align-items: center;\n display: flex;\n font-size: var(--fontsize-body-m);\n line-height: var(--lineheight-l);\n margin: 0;\n }\n\n > h3 {\n border-bottom: solid 1px var(--header-divider-color);\n\n &:not(:first-of-type) {\n border-top: solid 1px var(--header-divider-color);\n }\n }\n\n > a {\n color: var(--lang-selector-item-font-color);\n text-decoration: none;\n }\n\n > button {\n border: var(--header-focus-outline-width) solid transparent;\n }\n}\n\nbutton.item,\n[type='button'].item {\n appearance: none;\n background: transparent;\n color: var(--lang-selector-item-font-color);\n cursor: pointer;\n line-height: var(--lineheight-l);\n outline: 0;\n white-space: nowrap;\n\n &:focus-visible {\n border: var(--header-focus-outline-width) solid var(--header-focus-outline-color);\n }\n}\n\n.activeItem {\n font-weight: 700;\n\n span {\n border-bottom: 2px solid;\n }\n}\n\n.languageNodes {\n display: flex;\n gap: var(--spacing-s);\n\n button.item,\n [type='button'].item {\n align-self: center;\n border: none;\n padding: 0;\n\n &:focus-visible {\n border: none;\n outline: var(--header-focus-outline-width) solid var(--header-focus-outline-color);\n outline-offset: var(--header-focus-outline-width);\n }\n }\n}\n\n.simpleLanguageNodes {\n gap: var(--action-bar-item-gutter);\n}\n\n.fullWidthForMobile {\n background-color: var(--lang-selector-mobile-background-color);\n border-bottom: 1px solid var(--color-black-20);\n box-sizing: border-box;\n display: flex;\n height: var(--spacing-layout-m);\n padding: 0 var(--header-margin);\n width: 100%;\n}\n\n.fullWidthForMobile .languageSelectorDropdownIcon:focus-visible {\n outline-offset: 0;\n}\n","$animation-duration: 250ms;\n$animation-close-delay: 150ms;\n\n@layer actionBar {\n .dropdownWrapper {\n bottom: 0;\n overflow: hidden;\n position: absolute;\n right: 0;\n transform: translateY(100%) translateY(1px);\n transition-duration: 0ms;\n transition-property: max-height, padding-bottom;\n z-index: 20;\n }\n\n .container {\n display: flex;\n\n .dropdownWrapper {\n max-height: 0;\n min-width: 300px;\n padding-bottom: 0;\n transition-delay: $animation-duration + $animation-close-delay;\n }\n\n &.visible .dropdownWrapper {\n max-height: 1000vh;\n padding-bottom: 20px;\n transition-delay: 0ms;\n }\n\n &:not(.hasContent) {\n display: none;\n }\n\n &:not(.fullWidth) {\n display: flex;\n position: relative;\n }\n\n &.fullWidth > .dropdownWrapper {\n left: 0;\n }\n }\n\n .icon {\n display: block;\n }\n\n .dropdown {\n background: white;\n border: 1px solid var(--color-black-10);\n margin-top: -1px;\n position: relative;\n right: 0;\n transform: translateY(-100%);\n transition: $animation-duration transform $animation-close-delay,\n 0ms visibility ($animation-duration + $animation-close-delay);\n visibility: hidden;\n\n &.fullWidth {\n left: 0;\n }\n\n &.visible {\n transform: translateY(0%);\n transition: $animation-duration transform 0ms, 0ms visibility 0ms;\n visibility: visible;\n }\n\n > * {\n padding: var(--spacing-xs) var(--spacing-s);\n width: 100%;\n }\n }\n}\n","@use \"../../Header.module.scss\";\n@use \"../../../../styles/common.scss\";\n\nbutton.actionBarItem {\n align-self: center;\n appearance: none;\n background: transparent;\n border: none;\n color: var(--header-color);\n cursor: pointer;\n padding: 0;\n\n &:focus-visible {\n border: none;\n outline: var(--header-focus-outline-width) solid var(--header-focus-outline-color);\n outline-offset: var(--header-focus-outline-width);\n }\n}\n\n.actionBarItemIcon {\n display: block;\n height: var(--icon-size);\n margin: 0 auto;\n padding: 3px 0 0;\n width: var(--icon-size);\n\n & > svg {\n display: block;\n height: 100%;\n width: auto;\n }\n}\n\n.actionBarItemLabel {\n color: var(--action-bar-item-title-font-color);\n display: block;\n font-size: var(--action-bar-item-title-font-size);\n margin: 0 auto;\n white-space: nowrap;\n\n & > svg {\n display: block;\n }\n}\n\n.labelOnRight {\n display: inline-block;\n}\n\n.fixedRightPosition {\n display: block;\n}\n",".logoWrapper {\n align-items: center;\n display: flex;\n height: 100%;\n max-height: 100%;\n max-width: 100%;\n}\n","@import '../../../../styles/common.scss';\n\n.activeLinkWrapper {\n align-items: center;\n background-color: transparent;\n border: none;\n cursor: pointer;\n display: flex;\n width: 100%;\n}\n\n.previousLinkWrapper {\n align-items: center;\n background-color: transparent;\n border: none;\n cursor: pointer;\n display: flex;\n padding: 0;\n width: 100%;\n\n &:hover,\n &:focus-visible {\n .backIcon {\n transform: translateX(-3px);\n transition: transform 0.2s linear;\n }\n }\n\n &:not(:hover),\n &:focus-visible {\n .backIcon {\n transition: transform 0.2s linear;\n }\n }\n}\n\n.previousLinkWrapper:focus-visible,\n.activeLinkWrapper:focus-visible {\n border: none;\n outline: var(--header-focus-outline-width) solid var(--header-focus-outline-color);\n outline-offset: var(--header-focus-outline-width);\n}\n\n.headerNavigationMenu {\n background-color: var(--nav-mobile-menu-bottom-background-color);\n max-height: 0;\n overflow: hidden;\n position: absolute;\n transition: 0.3s max-height;\n width: 100%;\n}\n\n.menu {\n display: flex;\n flex-flow: column nowrap;\n height: min-content;\n list-style: none;\n margin: 0;\n margin-top: -1px;\n overscroll-behavior: contain;\n padding: 0;\n width: 100vw;\n\n .activeListItem {\n border-top: none;\n min-height: 72px;\n }\n\n .activeMobileLink.activeMobileLink {\n font-size: var(--fontsize-heading-m);\n margin: var(--spacing-m) var(--spacing-s);\n text-decoration: underline;\n\n &:hover {\n text-decoration: none;\n }\n\n &:focus-visible {\n border: none;\n outline: var(--header-focus-outline-width) solid var(--header-focus-outline-color);\n outline-offset: var(--header-focus-outline-width);\n }\n }\n\n .hideDropdownButton {\n display: none;\n }\n\n .previousListItem {\n align-items: center;\n display: flex;\n min-height: auto;\n padding: var(--spacing-m) calc(var(--header-focus-outline-width) * 2) 0;\n\n .previousButton {\n align-items: center;\n background-color: var(--nav-button-background-color);\n border: none;\n color: var(--nav-link-font-color);\n display: flex;\n height: 32px;\n justify-content: center;\n width: 32px;\n margin-left: var(--nav-mobile-margin-left);\n }\n }\n\n .previousMobileLink.previousMobileLink {\n color: var(--nav-link-font-color);\n font-size: var(--fontsize-body-m);\n font-weight: 500;\n margin-left: var(--spacing-xs);\n }\n}\n\n.mobileDropdownLink {\n position: relative;\n}\n\n.mobileLinkDropdown {\n display: block;\n left: 0;\n position: relative;\n right: 0;\n top: auto;\n width: 100%;\n}\n\n.mobileLinkDropdownButton.mobileLinkDropdownButton {\n background-color: transparent;\n margin: 0;\n padding: 20px;\n transform: rotate(-90deg);\n\n &:hover {\n background-color: transparent;\n }\n\n svg:hover {\n transform: translateY(4px);\n transition: transform 0.2s linear;\n }\n\n &:focus-visible {\n border: none;\n outline: var(--header-focus-outline-width) solid var(--header-focus-outline-color);\n outline-offset: calc(var(--header-focus-outline-width) - (var(--header-focus-outline-width) * 2));\n\n svg {\n transform: translateY(4px);\n transition: transform 0.2s linear;\n }\n }\n}\n\n.mobileLinkWrapper {\n box-sizing: border-box;\n\n .mobileLink.mobileLink {\n border-right: 1px solid var(--color-black-20);\n box-sizing: border-box;\n flex-grow: 1;\n margin: 0;\n margin-left: 0;\n padding: 17px 16px;\n position: relative;\n\n &:focus-visible {\n border: none;\n outline: var(--header-focus-outline-width) solid var(--header-focus-outline-color);\n outline-offset: -3px;\n }\n }\n}\n\n.mobileMenuOpen {\n display: flex;\n flex-direction: column;\n height: 100vh;\n max-height: 100vh;\n}\n\n.mobileNavigationLink {\n border-top: 1px solid var(--color-black-20);\n display: flex;\n min-height: var(--action-bar-dropdown-menu-primary-item-height);\n position: relative;\n width: 100%;\n}\n\n.navigation {\n background-color: var(--nav-mobile-menu-background-color);\n border-bottom: 1px solid var(--color-black-20);\n display: flex;\n}\n\n.navigationWrapper {\n display: flex;\n overflow: hidden;\n overscroll-behavior: contain;\n width: 300%;\n\n &.left0 {\n transform: translateX(0);\n transition: transform 0.3s ease;\n }\n\n &.left100 {\n transform: translateX(-100vw);\n transition: transform 0.3s ease;\n }\n\n &.left200 {\n transform: translateX(-200vw);\n transition: transform 0.3s ease;\n }\n}\n\n.universalList {\n display: flex;\n flex-direction: column;\n gap: var(--spacing-xs) 0;\n list-style: none;\n margin: 0;\n padding: var(--spacing-l) 0 var(--spacing-m) 0;\n\n .universalLink.universalLink {\n font-size: var(--fontsize-body-m);\n }\n}\n\n.logoLink {\n height: calc(var(--logo-height) * 1.5) !important;\n justify-content: center;\n margin-bottom: var(--spacing-m);\n}\n\n.visible {\n visibility: visible;\n}\n\n.hidden {\n visibility: hidden;\n}\n",".headerNavigationMenu {\n background-color: var(--nav-background-color);\n box-sizing: border-box;\n display: flex;\n min-height: var(--spacing-layout-l);\n margin: 0 auto;\n max-width: var(--header-max-width);\n padding: 0 var(--header-margin);\n width: 100%;\n}\n\n.headerNavigationMenuContainer {\n border-bottom: 1px solid var(--header-divider-color);\n}\n\n.headerNavigationMenuList {\n display: flex;\n flex-wrap: wrap;\n column-gap: var(--spacing-l);\n list-style: none;\n margin: 0;\n padding: 0;\n width: 100%;\n}\n\n.headerNavigationMenuLinkContent {\n align-items: center;\n display: flex;\n height: 100%;\n}\n\n.headerNavigationMenuLinkContentActive {\n box-shadow: inset 0 -4px 0 0 var(--nav-link-hover-color);\n\n .headerNavigationMenuLink {\n font-weight: bold;\n }\n}\n\n.headerNavigationMenuLink.headerNavigationMenuLink {\n border: 0;\n color: var(--nav-link-font-color);\n font-size: var(--fontsize-body-l);\n margin: var(--spacing-s) 0;\n padding: 0;\n}\n","@import \"../../../../styles/common.scss\";\n\n.searchContainer {\n align-items: center;\n border-radius: 0;\n color: var(--nav-search-color);\n display: flex;\n position: relative;\n width: 100%;\n}\n",".hds-icon {\n --icon-size: 100%;\n\n background-color: currentcolor;\n display: inline-block;\n height: var(--icon-size);\n -webkit-mask-position: center;\n mask-position: center;\n -webkit-mask-repeat: no-repeat;\n mask-repeat: no-repeat;\n -webkit-mask-size: auto;\n mask-size: auto;\n width: var(--icon-size);\n}\n\n.hds-icon.hds-icon--size-xs {\n --icon-size: var(--spacing-layout-2-xs);\n}\n\n.hds-icon.hds-icon--size-s {\n --icon-size: var(--spacing-layout-xs);\n}\n\n.hds-icon.hds-icon--size-m {\n --icon-size: var(--spacing-layout-s);\n}\n\n.hds-icon.hds-icon--size-l {\n --icon-size: var(--spacing-layout-m);\n}\n\n.hds-icon.hds-icon--size-xl {\n --icon-size: var(--spacing-layout-l);\n}\n\n.hds-icon--search {\n -webkit-mask-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 1C19.4183 1 23 4.58172 23 9C23 13.4183 19.4183 17 15 17C13.2001 17 11.539 16.4056 10.2023 15.4023L3.80101 21.8021L2.21002 20.2111L8.60822 13.8117C7.59861 12.4726 7.00002 10.8062 7.00002 9C7.00002 4.58172 10.5817 1 15 1ZM15 3C11.6863 3 9.00002 5.68629 9.00002 9C9.00002 12.3137 11.6863 15 15 15C18.3137 15 21 12.3137 21 9C21 5.68629 18.3137 3 15 3Z' fill='currentColor'%3E%3C/path%3E %3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 1C19.4183 1 23 4.58172 23 9C23 13.4183 19.4183 17 15 17C13.2001 17 11.539 16.4056 10.2023 15.4023L3.80101 21.8021L2.21002 20.2111L8.60822 13.8117C7.59861 12.4726 7.00002 10.8062 7.00002 9C7.00002 4.58172 10.5817 1 15 1ZM15 3C11.6863 3 9.00002 5.68629 9.00002 9C9.00002 12.3137 11.6863 15 15 15C18.3137 15 21 12.3137 21 9C21 5.68629 18.3137 3 15 3Z' fill='currentColor'%3E%3C/path%3E %3C/svg%3E\");\n}\n\n.hds-search-input {\n --border-width: 2px;\n --outline-width: 3px;\n --input-height: 56px;\n --helper-color-default: var(--color-black-60);\n --input-background-default: var(--color-white);\n --input-border-color-default: var(--color-black-50);\n --input-border-color-hover : var(--color-black-90);\n --input-border-color-focus: var(--color-black-90);\n --input-color-default: var(--color-black-90);\n --label-color-default: var(--color-black-90);\n}\n\n/* LABEL */\n\n.hds-search-input__label {\n color: var(--label-color-default);\n display: block;\n font-size: var(--fontsize-body-m);\n font-weight: 500;\n margin-bottom: var(--spacing-3-xs);\n}\n\n/* INPUT */\n\n.hds-search-input__input-wrapper {\n display: flex;\n height: 100%;\n position: relative;\n}\n\n.hds-search-input .hds-search-input__input {\n -webkit-appearance: none;\n background-color: var(--input-background-default);\n border: var(--border-width) solid var(--input-border-color-default);\n box-sizing: border-box;\n color: var(--input-color-default);\n font-size: 1.125em;\n height: var(--input-height);\n line-height: normal;\n padding: 0 var(--spacing-s);\n width: 100%;\n}\n\n.hds-search-input .hds-search-input__input:hover {\n border-color: var(--input-border-color-hover);\n transition: border-color 85ms ease-out;\n}\n\n.hds-search-input .hds-search-input__input:focus {\n border-color: var(--input-border-color-focus);\n outline: none;\n}\n\n/* FOCUS OUTLINE */\n\n.hds-search-input .hds-search-input__input:not([readonly]):focus {\n outline: var(--outline-width) solid var(--color-focus-outline);\n transform: translate3d(0, 0, 0);\n}\n\n/* BUTTON */\n\n.hds-search-input__buttons {\n align-items: center;\n bottom: 0;\n display: flex;\n font-size: 1rem;\n justify-content: center;\n margin-right: calc(var(--spacing-s) - var(--spacing-xs) / 2);\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.hds-search-input__button {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n background: none;\n border: none;\n color: inherit;\n color: var(--dropdown-color-default);\n cursor: pointer;\n display: flex;\n font: inherit;\n outline: none;\n padding: var(--spacing-xs) calc(var(--spacing-xs) / 2);\n}\n\n.hds-search-input__buttons .hds-search-input__button:focus {\n outline: var(--outline-width) solid var(--color-focus-outline);\n}\n\n/* HELPER TEXT */\n\n.hds-search-input__helper-text {\n color: var(--helper-color-default);\n display: block;\n font-size: var(--fontsize-body-m);\n margin-top: var(--spacing-3-xs);\n}\n","@import \"../../styles/common.scss\";\n@import \"../dropdown/dropdown.common.scss\";\n\n\n.root {\n @extend %dropdownRoot;\n\n --helper-color-default: var(--color-black-60);\n}\n\n/**\n * WRAPPER\n */\n .wrapper {\n @extend %dropdownWrapper;\n\n align-items: center;\n display: flex;\n}\n\n.buttons {\n composes: hds-search-input__buttons from 'hds-core/lib/components/search-input/search-input.css';\n}\n\n.button {\n color: var(--dropdown-color-default);\n composes: hds-search-input__button from 'hds-core/lib/components/search-input/search-input.css';\n\n &.hidden {\n @extend %visuallyHidden;\n }\n\n &:focus {\n outline: var(--focus-outline-width) solid var(--focus-outline-color);\n }\n}\n\n.searchIcon {\n color: var(--dropdown-color-default);\n display: flex;\n}\n\n.input {\n align-self: stretch;\n\n // Removes the input shadow on iOS\n appearance: none;\n background-color: var(--input-background-default);\n border: none;\n box-sizing: border-box;\n color: var(--input-color-default);\n font-size: var(--fontsize-body-l);\n height: var(--menu-item-height);\n\n // The focus is given to the wrapping element instead of this input\n // so we can hide the outline.\n outline: none;\n padding: 0 calc(var(--spacing-l) + var(--icon-size)) 0 0;\n width: 100%;\n\n // add left padding when there is no icon\n &:first-child {\n padding-left: var(--spacing-s);\n }\n\n &:not(:focus).hidden {\n @extend %visuallyHidden;\n }\n\n // don't add additional right padding if toggle button is hidden\n &.noToggle {\n padding-right: var(--spacing-s);\n }\n\n &::placeholder {\n color: var(--placeholder-color);\n line-height: normal;\n }\n\n &:disabled::placeholder {\n color: var(--dropdown-color-disabled);\n }\n}\n\n/**\n * MENU\n */\n.menu {\n @extend %dropdownMenu;\n}\n\n/**\n * MENU ITEM\n */\n.menuItem {\n @extend %dropdownMenuItem;\n\n .highlighted {\n font-weight: bold;\n\n mark {\n background: none;\n color: inherit;\n font-weight: normal;\n }\n }\n}\n\n.helperText {\n color: var(--helper-color-default);\n display: block;\n font-size: var(--fontsize-body-m);\n margin-top: var(--spacing-3-xs);\n}\n\n.loadingSpinnerContainer {\n @extend %dropdownMenu;\n\n align-items: center;\n background-color: var(--menu-item-background-default);\n display: flex;\n flex-direction: column;\n padding: var(--spacing-m) 0;\n text-align: center;\n}\n\n.loadingSpinner {\n margin-bottom: var(--spacing-2-xs);\n}\n","@use \"../../styles/layout.scss\";\n@import \"../../styles/common.scss\";\n\n.skipLink {\n --background-color: var(--color-white);\n --height: 66px;\n --inner-outer-spacing: 6px;\n --outline-color: var(--color-focus-outline);\n --outline-inner-color: var(--color-black-90);\n --outline-width: 3px;\n --text-color: var(--color-black-90);\n --top: 10px;\n --left: 15px;\n --width: 213px;\n\n @include layout.below-large {\n --top: 2px;\n }\n \n @include layout.below-medium {\n --height: 60px;\n }\n\n display: flex;\n height: 1px;\n position: absolute;\n top: calc(-1 * (var(--height) + var(--top)));\n width: 1px;\n\n &:not(:focus) {\n @extend %visuallyHidden;\n }\n \n &:focus-visible {\n outline-offset: 0;\n }\n\n &:focus {\n align-items: center;\n background-color: var(--background-color);\n font-family: var(--font-default);\n font-weight: 500;\n height: var(--height);\n justify-content: center;\n left: var(--left);\n outline: var(--outline-color) solid var(--outline-width);\n text-decoration: none;\n top: var(--top);\n transition: all 0.15s ease-in;\n width: var(--width);\n z-index: 99; \n \n & > .skipLinkLabel {\n align-items: center;\n color: var(--text-color);\n display: flex;\n height: calc(var(--height) - 2 * var(--inner-outer-spacing));\n justify-content: center;\n outline: var(--outline-inner-color) solid var(--outline-width);\n width: calc(var(--width) - 2 * var(--inner-outer-spacing)); \n }\n }\n\n}\n",".logo {\n height: 100%;\n max-height: 100%;\n max-width: 100%;\n}\n\n.small {\n height: var(--spacing-l)\n}\n\n.medium {\n height: var(--spacing-xl)\n}\n\n.large {\n height: var(--spacing-2-xl)\n}\n",".hds-checkbox {\n --size: 24px;\n\n /* icon size relative to the checkbox size (--size) */\n --icon-scale: 1;\n --border-width: 2px;\n --outline-width: 3px;\n --label-font-size: var(--fontsize-body-m);\n --label-padding: var(--spacing-2-xs);\n --background-unselected: transparent;\n --background-selected: var(--color-bus);\n --background-hover: var(--color-bus-dark);\n --background-disabled: var(--color-black-10);\n --border-color-selected: var(--color-bus);\n --border-color-selected-hover: var(--color-bus-dark);\n --border-color-selected-focus: var(--color-bus);\n --border-color-unselected: var(--color-black-50);\n --border-color-unselected-hover: var(--color-black-90);\n --border-color-unselected-focus: var(--color-black-90);\n --border-color-disabled: var(--color-black-10);\n --icon-color-unselected: transparent;\n --icon-color-selected: var(--color-white);\n --icon-color-disabled: var(--color-white);\n --label-color: var(--color-black-90);\n --label-color-disabled: var(--color-black-40);\n --icon-size: var(--spacing-m);\n\n display: flex;\n flex-wrap: wrap;\n min-height: var(--size);\n position: relative;\n}\n\n.hds-checkbox,\n.hds-checkbox *,\n.hds-checkbox *:before,\n.hds-checkbox *:after {\n box-sizing: border-box;\n}\n\n.hds-checkbox:not(:first-of-type) {\n margin-top: var(--spacing-2-xs);\n}\n\n.hds-checkbox .hds-checkbox__input:before,\n.hds-checkbox .hds-checkbox__label:before,\n.hds-checkbox .hds-checkbox__label:after {\n content: \"\";\n left: 0;\n position: absolute;\n top: 0;\n}\n\n/* checkbox icon */\n\n.hds-checkbox .hds-checkbox__input:before {\n background-color: var(--icon-color-unselected);\n height: var(--size);\n -webkit-mask-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E %3Cg fill='none' fill-rule='evenodd'%3E %3Crect width='24' height='24'/%3E %3Cpolygon fill='currentColor' points='21 7 10 18 4.5 12.5 6 11 10 15 19.5 5.5'/%3E %3C/g%3E %3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E %3Cg fill='none' fill-rule='evenodd'%3E %3Crect width='24' height='24'/%3E %3Cpolygon fill='currentColor' points='21 7 10 18 4.5 12.5 6 11 10 15 19.5 5.5'/%3E %3C/g%3E %3C/svg%3E\");\n -webkit-mask-position: center;\n mask-position: center;\n -webkit-mask-repeat: no-repeat;\n mask-repeat: no-repeat;\n -webkit-mask-size: calc(var(--size) * var(--icon-scale));\n mask-size: calc(var(--size) * var(--icon-scale));\n transform: scale(0.6);\n width: var(--size);\n z-index: 1;\n}\n\n/* focus outline */\n\n.hds-checkbox .hds-checkbox__label:before {\n height: var(--size);\n width: var(--size);\n}\n\n/* background */\n\n.hds-checkbox .hds-checkbox__label:after {\n background-color: var(--background-unselected);\n border: var(--border-width) solid var(--border-color-unselected);\n height: var(--size);\n width: var(--size);\n}\n\n/* checkbox transitions */\n\n.hds-checkbox .hds-checkbox__input:hover:before,\n.hds-checkbox .hds-checkbox__input:focus:before,\n.hds-checkbox .hds-checkbox__input:hover + .hds-checkbox__label:after,\n.hds-checkbox .hds-checkbox__input:focus + .hds-checkbox__label:after {\n transition: 85ms ease-out;\n transition-property: background-color, border-color, transform;\n}\n\n.hds-checkbox .hds-checkbox__input:focus + .hds-checkbox__label:before {\n box-shadow: 0 0 0 var(--outline-width) var(--color-focus-outline);\n transform: translate3d(0, 0, 0);\n transition: 85ms ease-out;\n transition-property: box-shadow, transform;\n}\n\n.hds-checkbox .hds-checkbox__input {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n cursor: pointer;\n\n /*\n * Normalize.css rules\n * 1. Change the font styles in all browsers.\n */\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n height: var(--size);\n left: 0;\n\n /*\n * Normalize.css rules\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n outline: none;\n position: absolute;\n top: 0;\n width: var(--size);\n}\n\n/* LABEL */\n\n.hds-checkbox .hds-checkbox__label {\n color: var(--label-color);\n cursor: pointer;\n font-size: var(--label-font-size);\n line-height: var(--lineheight-m);\n padding-left: calc(var(--size) + var(--label-padding));\n padding-top: calc((var(--size) - (var(--label-font-size) * var(--lineheight-m))) / 2);\n position: relative;\n}\n\n/* ERROR */\n\n.hds-checkbox__error-text {\n color: var(--color-error);\n display: block;\n flex-basis: 100%;\n font-size: var(--fontsize-body-m);\n margin-top: var(--spacing-2-xs);\n padding-left: calc(var(--icon-size) + var(--spacing-2-xs));\n position: relative;\n}\n\n.hds-checkbox__error-text:before {\n background: var(--color-error);\n content: '';\n height: var(--icon-size);\n left: 0;\n -webkit-mask-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E %3Cg fill='none' fill-rule='evenodd'%3E %3Crect width='24' height='24'/%3E %3Cpath fill='currentColor' d='M12,3 C16.9705627,3 21,7.02943725 21,12 C21,16.9705627 16.9705627,21 12,21 C7.02943725,21 3,16.9705627 3,12 C3,7.02943725 7.02943725,3 12,3 Z M13,16 L13,18 L11,18 L11,16 L13,16 Z M13,6 L13,14 L11,14 L11,6 L13,6 Z'/%3E %3C/g%3E %3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E %3Cg fill='none' fill-rule='evenodd'%3E %3Crect width='24' height='24'/%3E %3Cpath fill='currentColor' d='M12,3 C16.9705627,3 21,7.02943725 21,12 C21,16.9705627 16.9705627,21 12,21 C7.02943725,21 3,16.9705627 3,12 C3,7.02943725 7.02943725,3 12,3 Z M13,16 L13,18 L11,18 L11,16 L13,16 Z M13,6 L13,14 L11,14 L11,6 L13,6 Z'/%3E %3C/g%3E %3C/svg%3E\");\n pointer-events: none;\n position: absolute;\n top: 0;\n width: var(--icon-size);\n}\n\n/* CUSTOM CHECKBOX */\n\n/* checkbox icon - selected */\n\n.hds-checkbox .hds-checkbox__input:checked:before {\n background-color: var(--icon-color-selected);\n transform: scale(1);\n}\n\n/* checkbox icon - indeterminated */\n\n.hds-checkbox .hds-checkbox__input:not(:checked):indeterminate:before {\n background-color: var(--icon-color-selected);\n -webkit-mask-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M0 0h24v24H0z'/%3E%3Cpath fill='currentColor' d='M6 11h12v2H6z'/%3E%3C/g%3E%3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M0 0h24v24H0z'/%3E%3Cpath fill='currentColor' d='M6 11h12v2H6z'/%3E%3C/g%3E%3C/svg%3E\");\n transform: scale(1);\n}\n\n/* background - selected or indeterminated */\n\n.hds-checkbox .hds-checkbox__input:checked + .hds-checkbox__label:after,\n.hds-checkbox .hds-checkbox__input:indeterminate + .hds-checkbox__label:after {\n background-color: var(--background-selected);\n border-color: var(--border-color-selected);\n}\n\n/* background */\n\n.hds-checkbox .hds-checkbox__input:disabled + .hds-checkbox__label:after {\n background-color: var(--background-disabled);\n border-color: var(--border-color-disabled);\n}\n\n/* background - unselected - focus */\n\n.hds-checkbox .hds-checkbox__input:not(:disabled):focus + .hds-checkbox__label:after {\n border-color: var(--border-color-unselected-focus);\n}\n\n/* background - unselected - hover */\n\n.hds-checkbox .hds-checkbox__input:not(:disabled):hover + .hds-checkbox__label:after,\n.hds-checkbox .hds-checkbox__input:not(:disabled):hover:focus + .hds-checkbox__label:after {\n border-color: var(--border-color-unselected-hover);\n}\n\n/* background - selected - focus */\n\n.hds-checkbox .hds-checkbox__input:not(:disabled):checked:focus + .hds-checkbox__label:after,\n.hds-checkbox .hds-checkbox__input:not(:disabled):indeterminate:focus + .hds-checkbox__label:after {\n border-color: var(--border-color-selected-focus);\n}\n\n/* background - selected - hover */\n\n.hds-checkbox .hds-checkbox__input:not(:disabled):checked:hover + .hds-checkbox__label:after,\n.hds-checkbox .hds-checkbox__input:not(:disabled):indeterminate:hover + .hds-checkbox__label:after,\n.hds-checkbox .hds-checkbox__input:not(:disabled):checked:hover:focus + .hds-checkbox__label:after,\n.hds-checkbox .hds-checkbox__input:not(:disabled):indeterminate:hover:focus + .hds-checkbox__label:after {\n background-color: var(--background-hover);\n border-color: var(--border-color-selected-hover);\n}\n\n/* DISABLED */\n\n/* label */\n\n.hds-checkbox .hds-checkbox__input:disabled + .hds-checkbox__label {\n color: var(--label-color-disabled);\n}\n\n/* checkbox icon - disabled */\n\n.hds-checkbox .hds-checkbox__input:checked:disabled:before {\n background-color: var(--icon-color-disabled);\n}\n\n.hds-checkbox .hds-checkbox__input:disabled,\n.hds-checkbox .hds-checkbox__input:disabled + .hds-checkbox__label {\n cursor: not-allowed;\n}\n",".checkbox {\n composes: hds-checkbox from 'hds-core/lib/components/checkbox/checkbox.css';\n}\n\n.input {\n composes: hds-checkbox__input from 'hds-core/lib/components/checkbox/checkbox.css';\n}\n\n.label {\n composes: hds-checkbox__label from 'hds-core/lib/components/checkbox/checkbox.css';\n}\n\n.errorText {\n composes: hds-checkbox__error-text from 'hds-core/lib/components/checkbox/checkbox.css';\n}\n\n.helperText {\n composes: helper-text from 'hds-core/lib/utils/helpers.css';\n}\n\n.tooltipButton {\n display: inline-block;\n margin-left: var(--spacing-2-xs);\n}\n",".hds-fieldset {\n --border-style: 0 none;\n --padding-top: 4px;\n --padding-sides: 0;\n --padding-bottom: var(--spacing-s);\n\n border: var(--border-style);\n box-sizing: border-box;\n padding: var(--padding-top) var(--padding-sides) var(--padding-bottom);\n}\n\n.hds-fieldset-legend {\n font-weight: bold;\n\n /* Normalize.css rule\n * Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n padding: 0;\n}\n\n.hds-fieldset--border {\n --border-style: 2px inset var(--color-black-90);\n --padding-top: 2px;\n --padding-sides: 12px;\n}\n\n.hds-fieldset--border > .hds-fieldset-legend {\n margin-left: calc(var(--padding-sides) / -2);\n padding: 0 6px;\n}\n",".fieldset {\n composes: hds-fieldset from 'hds-core/lib/components/fieldset/fieldset.css';\n}\n\n.border {\n composes: hds-fieldset--border from 'hds-core/lib/components/fieldset/fieldset.css';\n}\n\n.legend {\n composes: hds-fieldset-legend from 'hds-core/lib/components/fieldset/fieldset.css';\n}\n\n.helperText {\n composes: helper-text from 'hds-core/lib/utils/helpers.css';\n}\n\n.legendWithTooltip {\n align-items: center;\n composes: hds-fieldset-legend from 'hds-core/lib/components/fieldset/fieldset.css';\n display: flex;\n grid-column-gap: var(--spacing-2-xs);\n justify-content: flex-start;\n}\n\n.tooltipButton {\n align-items: center;\n display: flex;\n}\n",".hds-container {\n box-sizing: border-box;\n padding-left: var(--spacing-layout-2-xs);\n padding-right: var(--spacing-layout-2-xs);\n}\n\n@media(min-width: 768px) {\n .hds-container {\n padding-left: var(--spacing-layout-xs);\n padding-right: var(--spacing-layout-xs);\n }\n}\n\n@media (min-width: 1248px) {\n .hds-container {\n max-width: var(--container-width-xl);\n padding-left: 0;\n padding-right: 0;\n }\n}\n",".container {\n composes: hds-container from 'hds-core/lib/components/container/container.css';\n}\n","@import '../../styles/common.scss';\n\n.container {\n bottom: 0;\n left: 0;\n position: fixed;\n width: 100vw;\n z-index: 999;\n\n --common-spacing: var(--spacing-s);\n --focus-outline-color: var(--color-coat-of-arms);\n --outline-width: 3px;\n}\n\n.aligner {\n background: var(--color-white);\n border-top: 8px solid var(--color-bus);\n bottom: 0;\n max-height: 80vh;\n overflow-y: auto;\n position: absolute;\n width: 100%;\n z-index: 2;\n}\n\n.container .aligner {\n transform: translateY(100%);\n transition: transform 1s;\n}\n\n.container.animateIn .aligner {\n transform: translateY(0%);\n}\n\n.page {\n --common-spacing: var(--spacing-s);\n}\n\n.buttons {\n display: flex;\n flex-direction: column;\n width: 100%;\n\n & > :first-child {\n margin-right: var(--common-spacing);\n }\n}\n\n.buttons > * {\n margin: 0 0 var(--common-spacing) 0;\n width: 100%;\n}\n\n.emulatedH1 {\n composes: heading-l from 'hds-core/lib/utils/helpers.css';\n display: block;\n outline: none;\n padding: 0;\n\n &:focus {\n box-shadow: 0 0 0 var(--outline-width) var(--focus-outline-color);\n transform: translate3d(0, 0, 0);\n }\n}\n\n.emulatedH2 {\n composes: heading-m from 'hds-core/lib/utils/helpers.css';\n display: block;\n padding: 1.2em 0 0.5em;\n}\n\n.content {\n box-sizing: border-box;\n margin: 0 auto;\n padding-left: var(--spacing-layout-2-xs);\n padding-right: var(--spacing-layout-2-xs);\n padding-top: var(--common-spacing);\n position: relative;\n width: 100%;\n\n p,\n .emulatedH1,\n .emulatedH2 {\n max-width: 860px;\n }\n\n @media (min-width: 768px) {\n padding-left: var(--spacing-layout-xs);\n padding-right: var(--spacing-layout-xs);\n }\n\n @media (min-width: 1248px) {\n max-width: var(--container-width-xl);\n padding-left: 0;\n padding-right: 0;\n }\n}\n\n.page .content {\n padding-bottom: 0;\n padding-top: 0;\n}\n\n.languageSwitcher {\n left: calc(var(--common-spacing) - var(--spacing-3-xs));\n position: absolute;\n top: var(--common-spacing);\n}\n\n.languageDropdown {\n position: relative;\n right: unset;\n\n button {\n padding-top: 0;\n }\n\n {&} {\n --menu-button-focus-outline-color: var(--color-coat-of-arms);\n\n > div {\n left: 0;\n right: unset;\n }\n }\n}\n\n@media (max-width: 768px) {\n .languageDropdown {\n position: absolute;\n }\n}\n\n.mainContent,\n.textContent {\n padding: 0;\n}\n\n.textContent > p {\n padding-bottom: var(--spacing-l);\n}\n\n.mainContent {\n padding-top: calc(var(--common-spacing) * 2);\n}\n\n.emulatedH2 + p {\n margin: 0;\n}\n\n.list {\n list-style: none;\n margin: 0;\n padding-left: 0;\n}\n\n.accordionButton {\n @extend %normalizedInput;\n\n align-items: center;\n background: transparent;\n border: none;\n color: var(--color-bus);\n color: var(--color-black-90);\n cursor: pointer;\n display: flex;\n outline: none;\n text-decoration: underline;\n text-decoration: none;\n\n &:focus {\n box-shadow: 0 0 0 var(--outline-width) var(--focus-outline-color);\n transform: translate3d(0, 0, 0);\n }\n}\n\n.detailsAccordionButton {\n margin-left: 3px;\n padding: var(--spacing-xs);\n padding-left: 0;\n}\n\n.detailsAccordionButton span {\n padding-left: var(--spacing-3-xs);\n}\n\n.accordionButtonSettingsClosed {\n margin-bottom: var(--common-spacing);\n}\n\n.consentCategory {\n display: flex;\n flex-direction: column;\n padding-bottom: var(--spacing-l);\n\n > p {\n margin-bottom: 0;\n }\n}\n\n.consentGroup {\n border-bottom: 1px solid var(--color-black);\n display: flex;\n flex-direction: column;\n margin-left: 0;\n padding: var(--spacing-m) 0;\n position: relative;\n}\n\n.consentGroupContent {\n display: flex;\n flex-direction: column;\n padding: 0;\n\n p {\n margin: 0;\n padding: var(--spacing-m) 0 0;\n }\n\n button {\n outline: none;\n padding: var(--spacing-3-xs);\n position: absolute;\n right: 0;\n top: var(--spacing-m);\n\n &:focus {\n box-shadow: 0 0 0 var(--outline-width) var(--focus-outline-color);\n transform: translate3d(0, 0, 0);\n }\n }\n}\n\n.titleWithCheckbox {\n display: flex;\n margin-right: var(--spacing-2-xl);\n}\n\n.page .content .consentCategory .titleWithCheckbox label,\n.container .content .consentCategory .titleWithCheckbox label {\n color: var(--color-black);\n font-weight: 500;\n}\n\n.dataTableContainer {\n border-left: 1px solid var(--color-black);\n border-right: 1px solid var(--color-black);\n margin: var(--spacing-l) 0 var(--spacing-xs);\n}\n\n.dataTableContainer table tbody tr > * {\n min-width: 120px;\n vertical-align: top;\n width: 20%;\n word-break: break-word;\n}\n\n.dataTableContainer table tbody tr > *:nth-child(3) {\n width: 40%;\n}\n\n.saveNotification {\n margin-bottom: var(--spacing-xl);\n}\n\n.readMoreButton {\n display: none;\n}\n\n.shrinkOnBlur:not(:focus-within) {\n --common-spacing: var(--spacing-xs);\n\n outline: none;\n padding-bottom: var(--common-spacing);\n padding-top: var(--common-spacing);\n\n .visuallyHiddenWithoutFocus {\n clip-path: inset(0 0 0 0);\n display: block;\n height: 1px;\n left: -1000px;\n line-height: 0;\n opacity: 0;\n overflow: hidden;\n position: absolute;\n width: 1px;\n }\n\n .hiddenWithoutFocus {\n display: none;\n }\n\n .mainContent {\n align-items: flex-start;\n display: flex;\n flex-direction: column;\n padding-top: 0;\n\n .emulatedH1 {\n font-size: var(--fontsize-heading-xs);\n margin-right: 0;\n }\n\n .readMoreButton {\n display: flex;\n padding: var(--common-spacing) 0 0;\n\n span {\n padding-right: var(--spacing-xs);\n }\n }\n }\n\n @media (min-width: 768px) {\n --common-spacing: var(--spacing-l);\n\n .mainContent {\n align-items: center;\n flex-direction: row;\n justify-content: space-between;\n\n .emulatedH1 {\n font-size: var(--fontsize-heading-s);\n }\n\n .readMoreButton {\n line-height: var(--fontsize-heading-s);\n padding: 0 var(--spacing-xs);\n }\n }\n }\n}\n\n@media (min-width: 768px) {\n .container,\n .page {\n --common-spacing: var(--spacing-l);\n }\n\n .languageSwitcher {\n left: unset;\n padding-top: 15px;\n right: var(--common-spacing);\n top: calc(var(--common-spacing) + 4px);\n }\n\n .mainContent {\n padding-top: 0;\n }\n\n .textContent > p {\n padding-bottom: var(--spacing-2-xl);\n }\n\n .content .emulatedH1 {\n margin-right: 200px;\n }\n\n .consentCategory {\n padding-bottom: var(--spacing-2-xl);\n }\n\n .consentGroup {\n margin-left: var(--spacing-s);\n padding: var(--spacing-l) 0;\n }\n\n .consentGroupContent {\n p {\n padding: var(--spacing-l) 0 0;\n }\n }\n\n .buttons {\n flex-direction: row;\n }\n\n .buttons > * {\n width: auto;\n }\n}\n","@import \"../../styles/common.scss\";\n@value x-large-up from \"../../styles/breakpoints.scss\";\n\n.menuButton {\n --menu-border-width: 1px;\n --menu-max-width: 20rem;\n --menu-top-margin: 0;\n --menu-item-min-height: var(--spacing-xl);\n --menu-button-focus-outline-color: var(--color-coat-of-arms);\n --menu-border-color: var(--color-black-90);\n --menu-item-background-color: var(--color-white);\n --menu-item-background-color-highlighted: var(--color-bus);\n --menu-item-color: var(--color-black-90);\n --menu-item-color-highlighted: var(--color-white);\n\n border-radius: 0;\n position: relative;\n\n &:focus-within {\n box-shadow: 0 0 0 3px var(--menu-button-focus-outline-color);\n }\n}\n\n.toggleButton {\n @extend %buttonReset;\n\n align-items: center;\n display: flex;\n line-height: var(--lineheight-s);\n outline: none;\n padding: var(--spacing-3-xs) 0;\n\n > * {\n pointer-events: none;\n }\n}\n\n.toggleButtonLabel {\n margin: 0 var(--spacing-3-xs);\n}\n\n@media x-large-up {\n .toggleButtonLabel {\n margin: 0 var(--spacing-2-xs);\n }\n}\n",".menu {\n &:not(.open) {\n display: none;\n }\n\n &.open {\n background-color: var(--menu-item-background-color);\n border: var(--menu-border-width) solid var(--menu-border-color);\n left: 0;\n margin: var(--menu-top-margin) 0 0;\n max-width: var(--menu-max-width);\n padding: var(--spacing-3-xs) 0;\n position: absolute;\n width: max-content;\n }\n}\n\n.item {\n align-items: center;\n box-sizing: border-box;\n color: var(--menu-item-color);\n display: flex;\n flex: 1;\n line-height: var(--lineheight-m);\n min-height: var(--menu-item-min-height);\n outline: none;\n padding: var(--spacing-2-xs) var(--spacing-s);\n text-decoration: none;\n\n &:hover,\n &:focus {\n background-color: var(--menu-item-background-color-highlighted);\n color: var(--menu-item-color-highlighted);\n }\n}\n","@import '../../../../styles/common.scss';\n@import '../../../button/button.common.scss';\n@value x-small-down, small-down, small-only, medium-only, medium-up, large-only, large-up, x-large-only, x-large-up from \"../../../../styles/breakpoints.scss\";\n\n%item {\n @extend %button;\n @extend %size-small;\n @extend %fullWidth;\n\n text-decoration: none;\n}\n\n.item {\n @extend %item;\n\n &:focus {\n transition: none;\n }\n}\n\n.primary {\n @extend %item;\n @extend %primary;\n}\n\n.secondary {\n @extend %item;\n @extend %secondary;\n}\n\n.supplementary {\n @extend %item;\n @extend %supplementary;\n\n --border-width: 3px;\n}\n\n.primary:focus,\n.secondary:focus,\n.supplementary:focus {\n transition: none;\n}\n\n.icon {\n @extend %icon;\n\n {&} {\n display: flex;\n height: unset;\n width: unset;\n }\n}\n\n.label {\n @extend %label;\n\n padding: 0;\n}\n\n.rowItem,\n.dropdownItem,\n.dropdownLinkItem {\n align-items: center;\n box-sizing: border-box;\n color: inherit;\n display: flex;\n font-weight: 500;\n outline: none;\n text-decoration: none;\n}\n\n.rowItem {\n @extend %buttonReset;\n\n .icon {\n margin: 0 var(--spacing-2-xs) 0 calc(var(--spacing-3-xs) * -1);\n }\n\n .label {\n line-height: var(--lineheight-s);\n margin: 0;\n }\n}\n\n@media small-down {\n .rowItem {\n height: var(--spacing-xl);\n padding: var(--spacing-2-xs);\n\n &:focus {\n box-shadow: 0 0 0 3px var(--color-coat-of-arms);\n }\n\n &:not(:first-child) {\n margin-top: var(--spacing-2-xs);\n }\n }\n\n .dropdownItem,\n .dropdownLinkItem {\n &:not(:first-child) {\n margin-top: var(--spacing-2-xs);\n }\n }\n\n .icon.icon {\n align-self: center;\n }\n}\n\n@media medium-up {\n .rowItem {\n padding: var(--spacing-3-xs);\n position: relative;\n }\n\n // focus outline\n .rowItem:focus:before,\n .dropdownItem:focus-within:before,\n .dropdownLinkItem a:focus-within:before,\n .dropdownLinkItem button:focus-within:before {\n border-radius: 0;\n box-shadow: 0 0 0 3px var(--color-coat-of-arms);\n content: '';\n height: calc(100% - 3px * 2);\n left: 0;\n pointer-events: none;\n position: absolute;\n top: 0;\n transform: translateY(calc(3px));\n width: 100%;\n z-index: 1;\n }\n\n .dropdownLinkItem a,\n .dropdownLinkItem button {\n position: relative;\n }\n\n // focus outline - active\n .rowItem:active:before,\n .rowItem.active:before,\n .dropdownItem.active:before,\n .dropdownLinkItem.active:before {\n height: calc(100% - 3px);\n }\n\n // active + hover styles\n .rowItem:active:after,\n .rowItem:hover:not(:focus):after,\n .rowItem.active:after,\n .dropdownItem:hover:not(:focus-within):after,\n .dropdownItem.active:after,\n .dropdownLinkItem:hover:not(:focus-within):after,\n .dropdownLinkItem.active:after {\n background-color: var(--color-black-90);\n bottom: 0;\n content: '';\n height: var(--spacing-3-xs);\n left: 0;\n pointer-events: none;\n position: absolute;\n width: 100%;\n }\n\n .dropdownItem:not(.icon) {\n width: max-content;\n }\n}\n",".hds-table-container {\n overflow-x: auto;\n}\n\n.hds-table-container:focus {\n outline: var(--color-focus-outline) 3px solid;\n}\n\n.hds-table {\n --content-background-color: var(--color-white);\n\n border-collapse: collapse;\n line-height: 1.5;\n width: 100%;\n}\n\n.hds-table th {\n border-bottom: 1px solid var(--color-black-20);\n font-size: var(--fontsize-body-m);\n font-weight: 500;\n line-height: var(--lineheight-l);\n padding: var(--spacing-xs) var(--spacing-m);\n text-align: left;\n white-space: nowrap;\n}\n\n.hds-table__content--text-align-td-right td {\n text-align: right;\n}\n\n.hds-table__content tr td {\n background-color: var(--content-background-color);\n border-bottom: 1px solid var(--color-black-50);\n color: var(--color-black-90);\n font-size: var(--fontsize-body-m);\n font-weight: 400;\n line-height: 24px;\n padding: var(--spacing-xs) var(--spacing-m);\n}\n\n.hds-table__header-row {\n background-color: var(--header-background-color);\n}\n\n.hds-table__caption {\n font-size: var(--fontsize-body-l);\n font-weight: normal;\n line-height: var(--lineheight-l);\n margin-bottom: var(--spacing-s);\n text-align: left;\n}\n\n/* DARK VARIANT */\n\n.hds-table--dark {\n --header-background-color: var(--color-bus);\n}\n\n.hds-table.hds-table--dark th {\n color: var(--color-white);\n}\n\n/* LIGHT VARIANT */\n\n.hds-table--light {\n --header-background-color: var(--color-silver);\n}\n\n.hds-table.hds-table--light th {\n color: var(--color-black-90);\n}\n\n.hds-table--with-vertical-lines .hds-table__content td {\n border-right: 1px solid var(--color-black-50);\n}\n\n/* DENSE VARIANT */\n\n.hds-table--dense.hds-table th {\n font-size: var(--fontsize-body-s);\n font-weight: bold;\n padding: 9px var(--spacing-s);\n}\n\n.hds-table--dense .hds-table__content tr td {\n font-size: var(--fontsize-body-s);\n padding: 9px var(--spacing-s);\n}\n\n.hds-table--dense .hds-table__caption {\n font-size: var(--fontsize-body-m);\n line-height: var(--lineheight-l);\n margin-bottom: var(--spacing-xs);\n}\n\n/* ZEBRA VARIANT */\n\n.hds-table--zebra .hds-table__content tr td {\n border-bottom: none;\n}\n\n.hds-table--zebra .hds-table__content tr:nth-child(even) td {\n background-color: var(--color-black-10);\n}\n\n/* VERTICAL LINES VARIANT */\n\n.hds-table--with-vertical-lines .hds-table__content {\n border-left: 1px solid var(--color-black-50);\n}\n\n.hds-table--with-vertical-lines .hds-table__header-row {\n border-left: 1px solid var(--header-background-color);\n border-right: 1px solid var(--header-background-color);\n}\n\n/* VERTICAL HEADER VARIANT */\n\n.hds-table__vertical-header-column {\n background-color: var(--header-background-color);\n}\n\n.hds-table--with-vertical-header.hds-table--with-vertical-lines .hds-table__content {\n border-left: none;\n}\n\n.hds-table--with-vertical-lines.hds-table--with-vertical-header .hds-table__header-row {\n border-left: none;\n}\n\n/* MOBILE STYLES */\n\n@media (max-width: 767px) {\n .hds-table th {\n font-size: var(--fontsize-body-s);\n font-weight: bold;\n padding: 9px var(--spacing-s);\n }\n\n .hds-table__content tr td {\n font-size: var(--fontsize-body-s);\n padding: 9px var(--spacing-s);\n }\n\n .hds-table__caption {\n font-size: var(--fontsize-heading-xxs);\n line-height: var(--lineheight-l);\n margin-bottom: var(--spacing-xs);\n }\n}\n\n/* UTILITY */\n\n.hds-table--text-align-right {\n text-align: right;\n}","@import \"../../styles/common.scss\";\n@value x-small-down, small-down from \"../../styles/breakpoints.scss\";\n\n.table {\n --content-background-color: var(--color-white);\n\n composes: hds-table from 'hds-core/lib/components/table/table.css';\n\n &.dark th {\n color: var(--color-white);\n }\n\n &.light th {\n color: var(--color-black-90);\n }\n\n .checkbox {\n label {\n padding-left: 0;\n }\n }\n}\n\n.caption {\n composes: hds-table__caption from 'hds-core/lib/components/table/table.css';\n}\n\n.container {\n composes: hds-table-container from 'hds-core/lib/components/table/table.css';\n height: inherit;\n}\n\n.headerRow {\n composes: hds-table__header-row from 'hds-core/lib/components/table/table.css';\n}\n\n.content {\n composes: hds-table__content from 'hds-core/lib/components/table/table.css';\n}\n\n.sortButton {\n @extend %normalizedInput;\n\n align-items: center;\n appearance: none;\n background: transparent;\n border: 0;\n cursor: pointer;\n display: flex;\n font-weight: 500;\n height: 100%;\n justify-content: center;\n overflow: hidden;\n padding: 0;\n\n .sortIcon {\n margin-left: 10px;\n }\n\n &:focus {\n outline: 3px solid var(--color-white);\n }\n\n .dark & {\n color: var(--color-white);\n }\n\n .light & {\n color: var(--color-black-90);\n }\n\n .dense & {\n font-size: var(--fontsize-body-s);\n font-weight: bold;\n }\n\n .dark &:focus {\n outline: 3px solid var(--color-white);\n }\n\n .light &:focus {\n outline: 3px solid var(--color-coat-of-arms);\n }\n}\n\n.dark {\n --header-background-color: var(--color-bus);\n}\n\n.light {\n --header-background-color: var(--color-silver);\n}\n\n.dense {\n composes: hds-table--dense from 'hds-core/lib/components/table/table.css';\n\n .headerRow {\n .sortingHeader {\n padding-bottom: 7.5px !important;\n padding-top: 7.5px !important;\n }\n }\n}\n\n.zebra {\n composes: hds-table--zebra from 'hds-core/lib/components/table/table.css';\n}\n\n.verticalLines {\n composes: hds-table--with-vertical-lines from 'hds-core/lib/components/table/table.css';\n}\n\n.verticalHeaderColumn {\n composes: hds-table__vertical-header-column from 'hds-core/lib/components/table/table.css';\n}\n\n.textAlignRight {\n composes: hds-table--text-align-right from 'hds-core/lib/components/table/table.css';\n}\n\n.textAlignContentRight {\n composes: hds-table__content--text-align-td-right from 'hds-core/lib/components/table/table.css';\n}\n\n/* MOBILE STYLES */\n\n@media small-down {\n .sortButton {\n font-size: var(--fontsize-body-s);\n font-weight: bold;\n }\n\n .table {\n .headerRow {\n .sortingHeader {\n padding-bottom: 7.5px;\n padding-top: 7.5px;\n }\n }\n }\n}\n\n.sortColumnCell {\n align-items: center;\n display: flex;\n}\n\n.checkboxHeader {\n border-bottom: 1px solid var(--color-black-20);\n}\n\n.checkboxData {\n width: 24px;\n}\n\n.actionContainer {\n align-items: flex-end;\n display: flex;\n flex-flow: row wrap;\n gap: var(--spacing-xs);\n justify-content: space-between;\n margin-bottom: var(--spacing-xs);\n\n .heading {\n font-size: 24px;\n font-weight: bold;\n line-height: 29px;\n }\n\n .actionButtonContainer {\n display: flex;\n flex-wrap: wrap;\n gap: var(--spacing-2-xs);\n }\n\n .actionButton {\n flex-grow: 0;\n }\n}\n\n@media x-small-down {\n .actionContainer {\n .heading {\n width: 100%;\n }\n\n .actionButtonContainer {\n width: 100%;\n }\n\n .actionButton {\n width: 100%;\n }\n }\n}\n",".hds-icon {\n --icon-size: 100%;\n\n background-color: currentcolor;\n display: inline-block;\n height: var(--icon-size);\n -webkit-mask-position: center;\n mask-position: center;\n -webkit-mask-repeat: no-repeat;\n mask-repeat: no-repeat;\n -webkit-mask-size: auto;\n mask-size: auto;\n width: var(--icon-size);\n}\n\n.hds-icon.hds-icon--size-xs {\n --icon-size: var(--spacing-layout-2-xs);\n}\n\n.hds-icon.hds-icon--size-s {\n --icon-size: var(--spacing-layout-xs);\n}\n\n.hds-icon.hds-icon--size-m {\n --icon-size: var(--spacing-layout-s);\n}\n\n.hds-icon.hds-icon--size-l {\n --icon-size: var(--spacing-layout-m);\n}\n\n.hds-icon.hds-icon--size-xl {\n --icon-size: var(--spacing-layout-l);\n}\n\n.hds-icon--alert-circle-fill {\n -webkit-mask-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3ZM13 16V18H11V16H13ZM13 6V14H11V6H13Z' fill='currentColor'%3E%3C/path%3E %3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3ZM13 16V18H11V16H13ZM13 6V14H11V6H13Z' fill='currentColor'%3E%3C/path%3E %3C/svg%3E\");\n}\n\n.hds-icon--check-circle-fill {\n -webkit-mask-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3ZM16.5 8L18 9.5L10.5 17L6 12.5L7.5 11L10.5 14L16.5 8Z' fill='currentColor'%3E%3C/path%3E %3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3ZM16.5 8L18 9.5L10.5 17L6 12.5L7.5 11L10.5 14L16.5 8Z' fill='currentColor'%3E%3C/path%3E %3C/svg%3E\");\n}\n\n.hds-icon--error-fill {\n -webkit-mask-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11.175 3.45608C11.5239 2.86969 12.3977 2.84875 12.7842 3.39325L12.825 3.45608L21.8771 18.6666C22.2202 19.2432 21.8055 19.951 21.1235 19.9976L21.052 20H2.94799C2.24813 20 1.7987 19.3114 2.09013 18.7267L2.12295 18.6666L11.175 3.45608ZM13 16V18H11V16H13ZM13 8.5V14.5H11V8.5H13Z' fill='currentColor'%3E%3C/path%3E %3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11.175 3.45608C11.5239 2.86969 12.3977 2.84875 12.7842 3.39325L12.825 3.45608L21.8771 18.6666C22.2202 19.2432 21.8055 19.951 21.1235 19.9976L21.052 20H2.94799C2.24813 20 1.7987 19.3114 2.09013 18.7267L2.12295 18.6666L11.175 3.45608ZM13 16V18H11V16H13ZM13 8.5V14.5H11V8.5H13Z' fill='currentColor'%3E%3C/path%3E %3C/svg%3E\");\n}\n\n.hds-icon--info-circle-fill {\n -webkit-mask-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3ZM13 10V16.5H15V18H9V16.5H11V11.5H9V10H13ZM11.8125 6C12.5374 6 13.125 6.5876 13.125 7.3125C13.125 8.03735 12.5374 8.625 11.8125 8.625C11.0876 8.625 10.5 8.03735 10.5 7.3125C10.5 6.5876 11.0876 6 11.8125 6Z' fill='currentColor'%3E%3C/path%3E %3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3ZM13 10V16.5H15V18H9V16.5H11V11.5H9V10H13ZM11.8125 6C12.5374 6 13.125 6.5876 13.125 7.3125C13.125 8.03735 12.5374 8.625 11.8125 8.625C11.0876 8.625 10.5 8.03735 10.5 7.3125C10.5 6.5876 11.0876 6 11.8125 6Z' fill='currentColor'%3E%3C/path%3E %3C/svg%3E\");\n}\n\n.hds-notification {\n --notification-background-color: var(--color-info-light);\n --notification-border-color: var(--color-info);\n --notification-border-width: var(--spacing-2-xs);\n --notification-icon-color: var(--color-info);\n --notification-color: var(--color-black-90);\n --notification-max-width-inline: none;\n --notification-max-width-toast: 21rem;\n --notification-z-index-inline: auto;\n --notification-z-index-toast: 99;\n --notification-offset: var(--spacing-layout-s);\n --notification-padding: var(--spacing-s);\n\n background-color: var(--notification-background-color);\n border: solid var(--notification-border-color);\n border-width: 0 0 0 var(--notification-border-width);\n box-sizing: border-box;\n color: var(--notification-color);\n max-width: var(--notification-max-width-inline);\n padding: var(--notification-padding);\n position: relative;\n width: 100%;\n z-index: var(--notification-z-index-inline);\n}\n\n/* CONTENT */\n\n.hds-notification__content {\n display: grid;\n grid-gap: var(--spacing-s);\n gap: var(--spacing-s);\n}\n\n/* LABEL */\n\n.hds-notification__label {\n align-items: flex-start;\n display: flex;\n font-size: var(--fontsize-heading-xs);\n font-weight: bold;\n letter-spacing: 0.4px;\n line-height: 24px;\n margin-right: var(--spacing-l);\n}\n\n.hds-notification__label > .hds-icon {\n color: var(--notification-icon-color);\n flex: none;\n margin-right: var(--spacing-2-xs);\n}\n\n/* BODY */\n\n.hds-notification__body {\n font-size: var(--fontsize-body-s);\n line-height: 24px;\n}\n\n/* SMALL */\n\n.hds-notification--small {\n --notification-padding: var(--spacing-2-xs);\n}\n\n.hds-notification--small .hds-notification__content {\n display: flex;\n grid-gap: 0;\n gap: 0;\n}\n\n.hds-notification--small .hds-notification__label {\n margin-right: 0;\n}\n\n.hds-notification--small .hds-notification__body {\n margin-right: var(--spacing-l);\n}\n\n/* LARGE */\n\n.hds-notification--large {\n --notification-padding: var(--spacing-l);\n}\n\n.hds-notification--large .hds-notification__label {\n margin-right: 0;\n}\n\n/* ICON */\n\n.hds-notification .hds-icon {\n --icon-size: var(--spacing-layout-xs);\n}\n\n/* CLOSE BUTTON */\n\n.hds-notification__close-button {\n --notification-close-button-offset: var(--spacing-s);\n\n background: none;\n border: none;\n cursor: pointer;\n display: flex;\n outline: none;\n padding: 0;\n position: absolute;\n right: var(--notification-close-button-offset);\n top: var(--notification-close-button-offset);\n}\n\n.hds-notification--small .hds-notification__close-button,\n.hds-notification--large .hds-notification__close-button {\n --notification-close-button-offset: var(--spacing-2-xs);\n}\n\n.hds-notification__close-button:focus {\n box-shadow: 0 0 0 3px var(--color-focus-outline);\n}\n\n/* TOAST POSITIONS */\n\n.hds-notification--top-left,\n.hds-notification--top-center,\n.hds-notification--top-right,\n.hds-notification--bottom-left,\n.hds-notification--bottom-center,\n.hds-notification--bottom-right {\n border-width: var(--notification-border-width) 0 0;\n max-width: var(--notification-max-width-toast);\n position: fixed;\n width: calc(100% - var(--spacing-l));\n z-index: var(--notification-z-index-toast);\n}\n\n.hds-notification--top-left {\n left: var(--notification-offset);\n top: var(--notification-offset);\n}\n\n.hds-notification--top-center {\n left: 50%;\n top: var(--notification-offset);\n transform: translateX(-50%);\n}\n\n.hds-notification--top-right {\n right: var(--notification-offset);\n top: var(--notification-offset);\n}\n\n.hds-notification--bottom-left {\n bottom: var(--notification-offset);\n left: var(--notification-offset);\n}\n\n.hds-notification--bottom-center {\n bottom: var(--notification-offset);\n left: 50%;\n transform: translateX(-50%);\n}\n\n.hds-notification--bottom-right {\n bottom: var(--notification-offset);\n right: var(--notification-offset);\n}\n\n@media only screen and (max-width: 765.98px) {\n .hds-notification {\n --notification-offset: var(--spacing-s);\n }\n}\n\n/* TYPES */\n\n.hds-notification--success {\n --notification-background-color: var(--color-success-light);\n --notification-border-color: var(--color-success);\n --notification-icon-color: var(--color-success);\n}\n\n.hds-notification--alert {\n --notification-background-color: var(--color-alert-light);\n --notification-border-color: var(--color-alert-dark);\n --notification-icon-color: var(--color-alert-dark);\n}\n\n.hds-notification--error {\n --notification-background-color: var(--color-error-light);\n --notification-border-color: var(--color-error);\n --notification-icon-color: var(--color-error);\n}\n\n/* BOX SHADOW */\n\n.hds-notification--box-shadow {\n box-shadow: var(--box-shadow-l);\n}\n",".notification {\n composes: hds-notification from 'hds-core/lib/components/notification/notification.css';\n overflow: hidden;\n}\n\n.notification.noBorder {\n border: 0;\n padding-top: calc(var(--notification-padding) + var(--notification-border-width));\n}\n\n.close {\n composes: hds-notification__close-button from 'hds-core/lib/components/notification/notification.css';\n}\n\n.notification.noBorder .close {\n top: calc(var(--notification-close-button-offset) + var(--notification-border-width));\n}\n\n.autoClose {\n background-color: var(--notification-border-color);\n height: var(--notification-border-width);\n left: 0;\n position: absolute;\n top: 0;\n width: 100%;\n}\n\n.content {\n composes: hds-notification__content from 'hds-core/lib/components/notification/notification.css';\n}\n\n.icon {\n background-color: transparent;\n composes: hds-icon from 'hds-core/lib/components/notification/notification.css';\n}\n\n.label {\n composes: hds-notification__label from 'hds-core/lib/components/notification/notification.css';\n}\n\n.body {\n composes: hds-notification__body from 'hds-core/lib/components/notification/notification.css';\n}\n\n.small {\n composes: hds-notification--small from 'hds-core/lib/components/notification/notification.css';\n}\n\n.large {\n composes: hds-notification--large from 'hds-core/lib/components/notification/notification.css';\n}\n\n.top-left {\n composes: hds-notification--top-left from 'hds-core/lib/components/notification/notification.css';\n}\n\n.top-center {\n composes: hds-notification--top-center from 'hds-core/lib/components/notification/notification.css';\n}\n\n.top-right {\n composes: hds-notification--top-right from 'hds-core/lib/components/notification/notification.css';\n}\n\n.bottom-left {\n composes: hds-notification--bottom-left from 'hds-core/lib/components/notification/notification.css';\n}\n\n.bottom-center {\n composes: hds-notification--bottom-center from 'hds-core/lib/components/notification/notification.css';\n}\n\n.bottom-right {\n composes: hds-notification--bottom-right from 'hds-core/lib/components/notification/notification.css';\n}\n\n.success {\n composes: hds-notification--success from 'hds-core/lib/components/notification/notification.css';\n}\n\n.alert {\n composes: hds-notification--alert from 'hds-core/lib/components/notification/notification.css';\n}\n\n.error {\n composes: hds-notification--error from 'hds-core/lib/components/notification/notification.css';\n}\n\n.boxShadow {\n composes: hds-notification--box-shadow from 'hds-core/lib/components/notification/notification.css';\n}\n",".wrapper {\n position: relative;\n}\n",".root {\n composes: hds-text-input from 'hds-core/lib/components/text-input/text-input.css';\n position: relative;\n}\n\n.inputWrapper {\n composes: hds-text-input__input-wrapper from 'hds-core/lib/components/text-input/text-input.css';\n}\n\n.input {\n composes: hds-text-input__input from 'hds-core/lib/components/text-input/text-input.css';\n}\n\n.input.hasButton {\n padding-right: calc(2 * var(--spacing-s) + 1.5rem);\n}\n\n.errorText {\n composes: hds-text-input__error-text from 'hds-core/lib/components/text-input/text-input.css';\n}\n\n.helperText {\n composes: hds-text-input__helper-text from 'hds-core/lib/components/text-input/text-input.css';\n}\n\n.invalidText {\n composes: hds-text-input__helper-text from 'hds-core/lib/components/text-input/text-input.css';\n}\n\n.successText {\n composes: hds-text-input__success-text from 'hds-core/lib/components/text-input/text-input.css';\n}\n\n.infoText {\n composes: hds-text-input__info-text from 'hds-core/lib/components/text-input/text-input.css';\n}\n\n.invalid {\n composes: hds-text-input--invalid from 'hds-core/lib/components/text-input/text-input.css';\n}\n\n.success {\n composes: hds-text-input--success from 'hds-core/lib/components/text-input/text-input.css';\n}\n\n.readOnly {\n composes: hds-text-input--read-only from 'hds-core/lib/components/text-input/text-input.css';\n}\n\n.buttonWrapper {\n composes: hds-text-input__buttons from 'hds-core/lib/components/text-input/text-input.css'\n}\n\n.button {\n composes: hds-text-input__button from 'hds-core/lib/components/text-input/text-input.css'\n}\n\n.button:disabled {\n cursor: not-allowed;\n}\n\n.button:focus {\n outline: var(--outline-width) solid var(--focus-outline-color);\n}\n","@import \"../../../../styles/common.scss\";\n@value small-up from \"../../../../styles/breakpoints.scss\";\n\n:root {\n --date-background: transparent;\n --date-color: var(--color-black-90);\n --outside-date-background: transparent;\n --outside-date-color: var(--color-black-40);\n --selected-date-background: var(--color-bus);\n --selected-date-color: #fff;\n --table-width: 100%;\n --horizontal-spacing: var(--spacing-s);\n --vertical-spacing: var(--spacing-s);\n\n @media only screen and (min-width: 576px) {\n --table-width: 308px;\n }\n}\n\n.pickerWrapper {\n display: flex;\n justify-content: flex-end;\n opacity: 0;\n pointer-events: none;\n transition: opacity 150ms;\n visibility: hidden;\n will-change: opacity, visibility;\n z-index: 900;\n\n &.isVisible {\n opacity: 1;\n visibility: visible;\n }\n\n > * {\n pointer-events: auto;\n }\n\n}\n\n.hds-datepicker {\n background: #fff;\n box-shadow: 0 2px 4px 0 rgb(0 0 0 / 0.5);\n box-sizing: border-box;\n display: inline-block;\n min-width: calc(100vw - 2 * var(--spacing-s));\n padding: var(--vertical-spacing) var(--horizontal-spacing);\n position: relative;\n width: 100%;\n\n @media small-up {\n min-width: calc(var(--table-width) + 2 * var(--spacing-s));\n }\n}\n\n.hds-datepicker__month-table {\n border-collapse: collapse;\n border-spacing: 2px;\n max-width: var(--table-width);\n width: 100%;\n}\n\n.hds-datepicker__head {\n &__weekday {\n font-size: var(--fontsize-body-m);\n font-weight: bold;\n padding-bottom: 6px;\n text-transform: uppercase;\n\n &-vhidden {\n @extend %visuallyHidden;\n }\n }\n}\n\n.hds-datepicker__day-cell {\n line-height: 0;\n margin: 0 4px 0 0;\n padding: 3px;\n width: calc(100% / 7);\n}\n\n.hds-datepicker__day {\n align-items: center;\n appearance: none;\n background: transparent;\n border: 0;\n box-sizing: border-box;\n display: inline-flex;\n line-height: 1;\n margin: 0;\n overflow: hidden;\n padding: 0 0 100%;\n position: relative;\n vertical-align: middle;\n width: 100%;\n\n --background-color: var(--date-background);\n --color: var(--date-color);\n\n &--selected {\n --background-color: var(--selected-date-background);\n --color: var(--selected-date-color);\n }\n\n &--outside {\n pointer-events: none;\n\n --background-color: var(--outside-date-background);\n --color: var(--outside-date-color);\n }\n\n &--today {\n &:after {\n background: var(--color);\n bottom: 7px;\n content: '';\n height: 2px;\n left: 8px;\n position: absolute;\n right: 8px;\n }\n }\n\n &:focus {\n box-shadow: 0 0 0 3px var(--color-coat-of-arms);\n outline: none;\n }\n\n &__wrapper {\n align-items: center;\n background: var(--background-color);\n color: var(--color);\n display: flex;\n font-size: 1rem;\n inset: 2px;\n justify-content: center;\n line-height: 1rem;\n position: absolute;\n\n &-vhidden {\n @extend %visuallyHidden;\n }\n }\n}\n\n.hds-datepicker__navigation {\n align-items: center;\n display: flex;\n margin-bottom: var(--spacing-s);\n\n &__select {\n --icon-size: 24px;\n\n margin-right: var(--spacing-s);\n position: relative;\n\n select {\n height: 100%;\n left: 0;\n opacity: 0;\n position: absolute;\n text-transform: capitalize;\n top: 0;\n width: 100%;\n }\n\n &-label {\n --label-spacing: 0.3rem;\n\n font-size: var(--fontsize-body-xl);\n font-weight: bold;\n padding: 0.15rem calc(var(--icon-size)) 0.15rem 0.3rem;\n pointer-events: none;\n position: relative;\n text-transform: capitalize;\n }\n\n select:focus + &-label {\n box-shadow: 0 0 0 3px var(--color-coat-of-arms);\n }\n\n &-icon {\n align-items: center;\n bottom: 0;\n display: flex;\n justify-content: center;\n pointer-events: none;\n position: absolute;\n right: 0;\n top: 0;\n width: var(--icon-size);\n\n svg {\n height: var(--icon-size);\n width: var(--icon-size);\n }\n }\n }\n\n &__buttons {\n display: flex;\n flex-grow: 1;\n justify-content: flex-end;\n transform: translateY(-3px);\n\n [aria-disabled=\"true\"] {\n color: var(--color-black-30);\n cursor: not-allowed;\n }\n\n button {\n align-items: center;\n background: transparent;\n border: 0;\n cursor: pointer;\n display: inline-flex;\n height: calc(25px + 0.15rem);\n justify-content: center;\n padding: 0.15rem;\n width: calc(25px + 0.15rem);\n\n &:focus {\n box-shadow: 0 0 0 3px var(--color-coat-of-arms);\n outline: none;\n }\n }\n }\n}\n\n.hds-datepicker__bottom-buttons {\n display: flex;\n flex-direction: row;\n justify-content: center;\n margin: var(--spacing-s);\n\n button:nth-child(2) {\n margin-left: var(--spacing-s);\n }\n}\n","@import '../../styles/common.scss';\n@value medium-up from \"../../styles/breakpoints.scss\";\n\n.dialogVisibleBodyWithHiddenScrollbars {\n overflow: hidden !important;\n}\n\n.dialogBackdrop {\n inset: 0;\n position: fixed;\n}\n\n.dialog {\n background: white;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n margin: auto var(--spacing-s);\n max-width: 100%;\n position: relative;\n visibility: hidden;\n z-index: 900;\n}\n\n.dialogContainer {\n --accent-line-color: var(--color-bus);\n --overlay-color: rgb(0 0 0 / 0.3);\n\n align-items: center;\n display: flex;\n inset: 0;\n justify-content: center;\n overflow: auto;\n -webkit-overflow-scrolling: unset;\n overscroll-behavior: none;\n position: fixed;\n touch-action: none;\n z-index: 800;\n\n .dialogBackdrop {\n background: var(--overlay-color);\n }\n\n .dialog {\n border-top: 10px solid var(--accent-line-color);\n width: 558px;\n }\n\n .dialog.danger {\n border-top-color: var(--color-error);\n }\n}\n\n.dialogVisible {\n visibility: visible !important;\n}\n\n.dialogScrollable {\n max-height: calc(100% - 4rem);\n overflow: hidden;\n}\n\n@media medium-up {\n .dialog {\n margin: auto;\n }\n}\n\n.boxShadow {\n box-shadow: var(--box-shadow-l);\n}\n","@import '../../../styles/common.scss';\n@import '../dialog.common.scss';\n@value medium-up from \"../../../styles/breakpoints.scss\";\n\n.dialogHeader {\n @include dialogComponentSidePaddings;\n\n display: block;\n padding-bottom: 0;\n padding-top: var(--spacing-m);\n}\n\n.dialogHeaderContent {\n align-items: flex-start;\n display: flex;\n justify-content: space-between;\n min-height: 36px;\n}\n\n.dialogTitle {\n --outline-x-gutter: 4px;\n --outline-y-gutter: 2px;\n --outline-width: 3px;\n\n align-items: flex-start;\n box-sizing: border-box;\n display: flex;\n font-size: var(--fontsize-heading-xs);\n font-weight: 700;\n letter-spacing: 0.4px;\n line-height: 24px;\n margin: 0;\n order: 0;\n outline: none;\n padding-right: var(--spacing-3-xs);\n position: relative;\n\n &:after {\n border: var(--outline-width) solid transparent;\n box-sizing: border-box;\n content: '';\n display: block;\n height: 100%;\n left: calc((var(--outline-width) + var(--outline-x-gutter)) * -1);\n position: absolute;\n top: calc((var(--outline-width) + var(--outline-y-gutter)) * -1);;\n width: 100%;\n }\n\n &:focus:after {\n border-color: var(--color-coat-of-arms);\n height: calc(100% + calc((var(--outline-width) + var(--outline-y-gutter)) * 2));\n width: calc(100% + calc((var(--outline-width) + var(--outline-x-gutter)) * 2));\n }\n\n .dialogTitleLeftIcon {\n display: inline-flex;\n margin-right: var(--spacing-2-xs);\n }\n}\n\n.dialogHeaderClose {\n @extend %buttonReset;\n\n color: var(--dialog-close-button-color);\n display: block;\n font-size: 0;\n height: 44px;\n line-height: 1;\n margin-left: var(--spacing-2-xs);\n margin-top: calc(-1 * var(--spacing-2-xs));\n min-width: 44px;\n order: 1;\n padding: 0;\n vertical-align: middle;\n\n &:focus {\n box-shadow: 0 0 0 3px var(--color-coat-of-arms);\n outline: none;\n text-decoration: none;\n }\n}\n\n@media medium-up {\n .dialogHeader {\n padding-bottom: var(--spacing-3-xs);\n }\n}\n","// common styles for dialog components\n@value medium-up from \"../../../styles/breakpoints.scss\";\n\n@mixin dialogComponentSidePaddings {\n padding-left: var(--spacing-m);\n padding-right: var(--spacing-m);\n\n @media medium-up {\n padding-left: var(--spacing-l);\n padding-right: var(--spacing-l);\n }\n}\n","@import '../../../styles/common.scss';\n@import '../dialog.common.scss';\n\n.dialogContent {\n @include dialogComponentSidePaddings;\n\n padding-bottom: var(--spacing-2-xs);\n}\n\n.dialogContentScrollable {\n border-bottom: 1px solid;\n border-top: 1px solid;\n overflow-y: auto;\n}\n","@import '../../../styles/common.scss';\n@import '../dialog.common.scss';\n@value medium-up from \"../../../styles/breakpoints.scss\";\n\n.dialogActionButtons {\n @include dialogComponentSidePaddings;\n\n display: block;\n padding-bottom: var(--spacing-m);\n padding-top: var(--spacing-s);\n\n > * {\n width: 100%;\n }\n\n > * + * {\n margin-top: var(--spacing-s);\n }\n}\n\n@media medium-up {\n .dialogActionButtons {\n display: flex;\n flex-wrap: wrap;\n gap: var(--spacing-s);\n\n > * {\n width: auto;\n }\n\n > * + * {\n margin-top: 0;\n }\n }\n}\n","@import \"../../../styles/common.scss\";\n@import \"../dropdown.common.scss\";\n\n.root {\n @extend %dropdownRoot;\n}\n\n/**\n * WRAPPER\n */\n\n.wrapper {\n @extend %dropdownWrapper;\n\n align-items: center;\n display: flex;\n}\n\n.wrapper.wrapperWithMultiSelectAndIcon {\n align-items: flex-start;\n}\n\n/**\n * TOGGLE BUTTON\n */\n\n.button {\n @extend %buttonReset;\n @extend %dropdownAngleIcon;\n\n color: var(--dropdown-color-default);\n display: flex;\n outline: none;\n\n &.hidden {\n @extend %visuallyHidden;\n }\n}\n\n.icon {\n @extend %dropdownIcon;\n\n margin-left: var(--spacing-s);\n}\n\n.input {\n align-self: stretch;\n\n // Removes the input shadow on iOS\n appearance: none;\n background-color: var(--input-background-default);\n border: none;\n box-sizing: border-box;\n color: var(--input-color-default);\n font-size: var(--fontsize-body-l);\n height: var(--menu-item-height);\n\n // The focus is given to the wrapping element instead of this input\n // so we can hide the outline.\n outline: none;\n padding: 0 calc(var(--spacing-l) + var(--icon-size)) 0 0;\n width: 100%;\n\n // add left padding when there is no icon\n &:first-child {\n padding-left: var(--spacing-s);\n }\n\n &:not(:focus).hidden {\n @extend %visuallyHidden;\n }\n\n // don't add additional right padding if toggle button is hidden\n &.noToggle {\n padding-right: var(--spacing-s);\n\n &.withClearButton {\n padding-right: calc(var(--spacing-l) + var(--icon-size));\n }\n }\n\n &.withClearButton {\n padding-right: calc(var(--spacing-2-xl) + var(--icon-size));\n }\n\n &::placeholder {\n color: var(--placeholder-color);\n opacity: 1;\n }\n\n &:disabled::placeholder {\n color: var(--dropdown-color-disabled);\n }\n}\n\n/**\n * MENU\n */\n\n.menu {\n @extend %dropdownMenu;\n}\n\n/**\n * MENU ITEM\n */\n\n.menuItem {\n @extend %dropdownMenuItem;\n}\n\n/**\n * HELPER TEXT\n */\n\n.helperText {\n @extend %dropdownHelperText;\n}\n\n/**\n * DISABLED\n */\n\n.disabled {\n @extend %dropdownDisabled;\n}\n\n/**\n * INVALID\n */\n\n.invalid {\n @extend %dropdownInvalid;\n}\n\n/**\n * MULTISELECT\n */\n\n.multiselect {\n @extend %dropdownMultiselect;\n\n .wrapper {\n flex-direction: column;\n }\n\n .selectedItems {\n align-self: stretch;\n }\n\n .input {\n align-self: unset;\n padding: 0 calc(var(--spacing-l) + var(--icon-size)) 0 var(--spacing-s);\n\n // don't add additional right padding if toggle button is hidden\n &.noToggle {\n padding-right: var(--spacing-s);\n }\n\n // move input closer to selected items and remove right spacing that accounted for the toggle button\n &.adjustSpacing {\n margin-top: calc(var(--spacing-2-xs) * -1);\n padding: 0 var(--spacing-s);\n }\n }\n\n .inputWithIcon.inputWithIcon {\n padding-left: 0;\n }\n\n .multiselectIconAndInputWrapper {\n align-items: center;\n display: flex;\n flex-direction: row;\n\n &:not(:focus-within).hidden {\n @extend %visuallyHidden;\n }\n\n .icon.adjustSpacingForIcon {\n margin-top: calc(var(--spacing-2-xs) * -1);\n }\n }\n}\n",".errorSummaryBody {\n font-size: var(--fontsize-body-s);\n line-height: 24px;\n\n ul {\n margin: 0;\n padding: 0 0 0 var(--spacing-s);\n }\n\n li {\n margin-bottom: 0.125rem;\n }\n\n a {\n color: var(--color-bus);\n }\n}\n\n.label {\n &:focus {\n outline: 3px solid var(--color-coat-of-arms);\n }\n}\n",".hds-selection-group {\n --spacing-col: 1.25rem;\n --spacing-row: var(--spacing-s);\n --label-color-default: var(--color-black-90);\n --icon-size: var(--spacing-m);\n\n border: 0;\n padding: 0;\n}\n\n.hds-selection-group > *:not(.hds-selection-group__items) {\n float: left;\n}\n\n.hds-selection-group__legend {\n /*\n * Normalized rules\n * 1. Correct the text wrapping in Edge and IE.\n * `fieldset` elements in all browsers.\n */\n box-sizing: border-box; /* 1 */\n color: var(--label-color-default);\n display: block;\n font-size: var(--fontsize-body-m);\n font-weight: 500;\n margin-bottom: var(--spacing-row);\n\n /*\n * Normalized rules\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n max-width: 100%; /* 1 */\n padding: 0; /* 2 */\n white-space: normal; /* 1 */\n}\n\n.hds-selection-group__required {\n color: var(--label-color-default);\n display: inline-block;\n font-size: var(--fontsize-body-xl);\n line-height: 1;\n margin-left: var(--spacing-2-xs);\n transform: translateY(var(--spacing-3-xs));\n}\n\n.hds-selection-group__items {\n clear: left;\n display: grid;\n grid-gap: var(--spacing-row) var(--spacing-col);\n gap: var(--spacing-row) var(--spacing-col);\n justify-content: start;\n}\n\n.hds-selection-group__items--vertical {\n grid-auto-flow: row;\n}\n\n.hds-selection-group__items--horizontal {\n grid-auto-flow: column;\n}\n\n.hds-selection-group__error-text {\n color: var(--color-error);\n display: block;\n font-size: var(--fontsize-body-m);\n margin-top: var(--spacing-xs);\n padding-left: calc(var(--icon-size) + var(--spacing-2-xs));\n position: relative;\n}\n\n.hds-selection-group__error-text:before {\n background: var(--color-error);\n content: '';\n height: var(--icon-size);\n left: 0;\n -webkit-mask-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E %3Cg fill='none' fill-rule='evenodd'%3E %3Crect width='24' height='24'/%3E %3Cpath fill='currentColor' d='M12,3 C16.9705627,3 21,7.02943725 21,12 C21,16.9705627 16.9705627,21 12,21 C7.02943725,21 3,16.9705627 3,12 C3,7.02943725 7.02943725,3 12,3 Z M13,16 L13,18 L11,18 L11,16 L13,16 Z M13,6 L13,14 L11,14 L11,6 L13,6 Z'/%3E %3C/g%3E %3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E %3Cg fill='none' fill-rule='evenodd'%3E %3Crect width='24' height='24'/%3E %3Cpath fill='currentColor' d='M12,3 C16.9705627,3 21,7.02943725 21,12 C21,16.9705627 16.9705627,21 12,21 C7.02943725,21 3,16.9705627 3,12 C3,7.02943725 7.02943725,3 12,3 Z M13,16 L13,18 L11,18 L11,16 L13,16 Z M13,6 L13,14 L11,14 L11,6 L13,6 Z'/%3E %3C/g%3E %3C/svg%3E\");\n pointer-events: none;\n position: absolute;\n top: 0;\n width: var(--icon-size);\n}\n","@import \"../../styles/common.scss\";\n\n.selectionGroup {\n --spacing-col: 1.25rem;\n --spacing-row: var(--spacing-s);\n --label-color-default: var(--color-black-90);\n --icon-size: var(--spacing-m);\n\n border: 0;\n padding: 0;\n}\n\n.selectionGroup > *:not(.items) {\n float: left;\n}\n\n.label {\n /* Normalize.css rule\n * Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\n @extend %inputLabel;\n\n margin-bottom: var(--spacing-row);\n padding: 0;\n}\n\n.items {\n clear: left;\n display: grid;\n gap: var(--spacing-row) var(--spacing-col);\n justify-content: start;\n\n &.vertical {\n grid-auto-flow: row;\n }\n\n &.horizontal {\n grid-auto-flow: column;\n }\n}\n\n.tooltipButton {\n margin-left: var(--spacing-2-xs);\n}\n\n.errorText {\n composes: hds-selection-group__error-text from 'hds-core/lib/components/selection-group/selection-group.css';\n}\n\n.helperText {\n composes: helper-text from 'hds-core/lib/utils/helpers.css';\n}\n",".hds-radio-button {\n --size: 24px;\n\n /* icon (circle) size relative to the radio button size (--size) */\n --icon-scale: 0.5;\n --border-width: 2px;\n --outline-width: 3px;\n --label-font-size: var(--fontsize-body-m);\n --label-padding: var(--spacing-2-xs);\n --background: var(--color-white);\n --background-hover: var(--color-white);\n --background-focus: var(--color-white);\n --background-unselected-disabled: var(--color-black-10);\n --background-selected-disabled: var(--color-white);\n --border-color-focus: var(--color-black-90);\n --border-color-selected: var(--color-bus);\n --border-color-selected-hover: var(--color-bus-dark);\n --border-color-selected-disabled: var(--color-black-20);\n --border-color-unselected: var(--color-black-50);\n --border-color-unselected-hover: var(--color-black-90);\n --border-color-unselected-disabled: var(--color-black-10);\n --icon-color-selected: var(--color-bus);\n --icon-color-unselected: transparent;\n --icon-color-hover: var(--color-bus-dark);\n --icon-color-disabled: var(--color-black-10);\n --label-color: var(--color-black-90);\n --label-color-disabled: var(--color-black-40);\n\n display: flex;\n flex-wrap: wrap;\n min-height: var(--size);\n position: relative;\n}\n\n.hds-radio-button,\n.hds-radio-button *,\n.hds-radio-button *:before,\n.hds-radio-button *:after {\n box-sizing: border-box;\n}\n\n.hds-radio-button:not(:first-of-type) {\n margin-top: var(--spacing-2-xs);\n}\n\n.hds-radio-button .hds-radio-button__label:before,\n.hds-radio-button .hds-radio-button__label:after {\n border-radius: 50%;\n content: \"\";\n left: 0;\n position: absolute;\n top: 0;\n}\n\n/* inner circle */\n\n.hds-radio-button .hds-radio-button__label:after {\n background-clip: content-box;\n background-color: var(--icon-color-unselected);\n border: var(--border-width) solid var(--border-color-unselected);\n height: var(--size);\n padding: calc((var(--size) / 2 - var(--border-width) * 2) * (1 - var(--icon-scale)));\n width: var(--size);\n}\n\n/* inner circle - selected */\n\n.hds-radio-button .hds-radio-button__input:checked + .hds-radio-button__label:after {\n background-color: var(--icon-color-selected);\n border-color: var(--border-color-selected);\n}\n\n/* radio button transitions */\n\n.hds-radio-button .hds-radio-button__input:hover + .hds-radio-button__label:after,\n.hds-radio-button .hds-radio-button__input:focus + .hds-radio-button__label:after {\n transition: 85ms ease-out;\n transition-property: background-color, border-color;\n}\n\n/* inner circle - disabled */\n\n.hds-radio-button .hds-radio-button__input:disabled + .hds-radio-button__label:after {\n border-color: var(--border-color-unselected-disabled);\n}\n\n/* inner circle - selected - disabled */\n\n.hds-radio-button .hds-radio-button__input:checked:disabled + .hds-radio-button__label:after {\n background-color: var(--icon-color-disabled);\n border-color: var(--border-color-selected-disabled);\n}\n\n/* inner circle - focus */\n\n.hds-radio-button .hds-radio-button__input:not(:disabled):focus + .hds-radio-button__label:after {\n border-color: var(--border-color-focus);\n}\n\n/* inner circle - unselected - hover */\n\n.hds-radio-button .hds-radio-button__input:not(:disabled):hover + .hds-radio-button__label:after,\n.hds-radio-button .hds-radio-button__input:not(:disabled):hover:focus + .hds-radio-button__label:after {\n border-color: var(--border-color-unselected-hover);\n}\n\n/* background & focus outline */\n\n.hds-radio-button .hds-radio-button__label:before {\n background-color: var(--background);\n height: var(--size);\n width: var(--size);\n}\n\n.hds-radio-button .hds-radio-button__input:hover + .hds-radio-button__label:before,\n.hds-radio-button .hds-radio-button__input:focus + .hds-radio-button__label:before {\n transition: 85ms ease-out;\n transition-property: background-color, box-shadow, transform;\n}\n\n/* NATIVE INPUT */\n\n.hds-radio-button .hds-radio-button__input {\n /*\n * Normalize.css rules\n * 1. Change the font styles in all browsers.\n */\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n height: var(--size);\n left: 0;\n\n /*\n * Normalize.css rules\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n opacity: 0;\n position: absolute;\n top: 0;\n width: var(--size);\n}\n\n/* LABEL */\n\n.hds-radio-button .hds-radio-button__label {\n color: var(--label-color);\n cursor: pointer;\n font-size: var(--label-font-size);\n line-height: var(--lineheight-m);\n padding-left: calc(var(--size) + var(--label-padding));\n padding-top: calc((var(--size) - (var(--label-font-size) * var(--lineheight-m))) / 2);\n position: relative;\n}\n\n/* CUSTOM RADIO BUTTON */\n\n/* background - hover */\n\n.hds-radio-button .hds-radio-button__input:hover + .hds-radio-button__label:before {\n background-color: var(--background-hover);\n}\n\n/* background - focus */\n\n.hds-radio-button .hds-radio-button__input:focus + .hds-radio-button__label:before {\n box-shadow: 0 0 0 var(--outline-width) var(--color-focus-outline);\n transform: translate3d(0, 0, 0);\n}\n\n/* inner circle - selected - hover */\n\n.hds-radio-button .hds-radio-button__input:not(:disabled):checked:hover + .hds-radio-button__label:after,\n.hds-radio-button .hds-radio-button__input:not(:disabled):checked:hover:focus + .hds-radio-button__label:after {\n background-color: var(--icon-color-hover);\n border-color: var(--border-color-selected-hover);\n}\n\n/* DISABLED */\n\n/* label */\n\n.hds-radio-button .hds-radio-button__input:disabled + .hds-radio-button__label {\n color: var(--label-color-disabled);\n}\n\n/* background */\n\n.hds-radio-button .hds-radio-button__input:disabled + .hds-radio-button__label:before {\n background-color: var(--background-unselected-disabled);\n}\n\n/* background - selected */\n\n.hds-radio-button .hds-radio-button__input:checked:disabled + .hds-radio-button__label:before {\n background-color: var(--background-selected-disabled);\n}\n\n.hds-radio-button .hds-radio-button__input:disabled,\n.hds-radio-button .hds-radio-button__input:disabled + .hds-radio-button__label {\n cursor: not-allowed;\n}\n",".radioButton {\n composes: hds-radio-button from 'hds-core/lib/components/radio-button/radio-button.css';\n}\n\n.input {\n composes: hds-radio-button__input from 'hds-core/lib/components/radio-button/radio-button.css';\n}\n\n.label {\n composes: hds-radio-button__label from 'hds-core/lib/components/radio-button/radio-button.css';\n}\n\n.helperText {\n composes: helper-text from 'hds-core/lib/utils/helpers.css';\n}\n","@import \"../../styles/common.scss\";\n\n$componentMaxWidth: 500px;\n\n.dragAndDrop {\n align-items: center;\n border: 2px dotted var(--color-coat-of-arms);\n box-sizing: border-box;\n color: var(--color-coat-of-arms);\n cursor: pointer;\n display: flex;\n justify-content: center;\n margin-top: var(--spacing-xs);\n max-width: $componentMaxWidth;\n padding: var(--spacing-s);\n width: 100%;\n}\n\n.dragAndDropActive {\n background-color: var(--color-silver-light);\n border-color: var(--color-coat-of-arms-dark);\n color: var(--color-coat-of-arms-dark);\n}\n\n.dragAndDropDisabled {\n border-color: var(--color-black-50);\n color: var(--color-black-50);\n cursor: not-allowed;\n}\n\n.dragAndDropLabel {\n align-items: center;\n display: flex;\n}\n\n.dragAndDropLabelText {\n margin-left: var(--spacing-s);\n}\n\n.dragAndDropHelperText {\n @extend %inputLabel;\n\n margin: var(--spacing-s) 0 var(--spacing-2-xs);\n}\n\n.fileInputContainer {\n flex: 1;\n}\n\n.fileInputWrapper {\n display: inline-block;\n margin: var(--spacing-2-xs) 0;\n position: relative;\n\n // We need to manually add focus styles to the button when the input has focus.\n &:focus-within > button:after {\n --size: calc(100% + calc(var(--outline-width) * 2 + var(--border-width) * 2 + var(--outline-gutter) * 2));\n\n border-color: var(--focus-outline-color);\n }\n}\n\n.fileInput {\n @extend %visuallyHidden;\n}\n\n.fileList {\n list-style: none;\n margin: var(--spacing-s) 0 0;\n padding: 0;\n}\n\n.fileListItem {\n align-items: flex-start;\n background-color: var(--color-info-light);\n border-bottom: 2px dotted var(--color-coat-of-arms);\n box-sizing: border-box;\n display: flex;\n max-width: 100%;\n padding: var(--spacing-s) var(--spacing-2-xs);\n width: $componentMaxWidth;\n\n & + & {\n margin-top: var(--spacing-s);\n }\n}\n\n.fileListItemTitle {\n align-items: flex-start;\n display: flex;\n flex: 1;\n flex-wrap: nowrap;\n font-size: var(--fontsize-body-s);\n margin: 2px var(--spacing-xs) 0 var(--spacing-2-xs);\n}\n\n.fileListItemName {\n hyphens: auto;\n word-break: break-word;\n}\n\n.fileListItemSize {\n margin-left:var(--spacing-2-xs);\n text-align: right;\n white-space: nowrap;\n}\n\n.fileListItemButton {\n --file-list-item-button-y-offset: calc(-1 * var(--spacing-2-xs) - 2px);\n\n display: flex;\n margin: var(--file-list-item-button-y-offset) auto var(--file-list-item-button-y-offset) 0;\n}\n\n.fileListItemButtonLabel {\n margin-left: var(--spacing-3-xs);\n}\n","@value small-down, x-small-down, x-large-up from \"../../styles/breakpoints.scss\";\n\n$koros-heights: (\n 'basic': 15px,\n 'beat': 70px,\n 'pulse': 34px,\n 'wave': 35px,\n 'vibration': 54px,\n);\n\n.footer {\n --footer-background: var(--color-black-5);\n --footer-color: var(--color-black-90);\n --footer-divider-color: var(--color-black-20);\n --footer-focus-outline-border-radius: 0px;\n --footer-focus-outline-color: var(--color-coat-of-arms);\n --footer-focus-outline-width: 3px;\n --footer-padding: var(--spacing-l) var(--spacing-m) 0;\n\n color: var(--footer-color);\n\n // black theme overrides\n &.theme-dark {\n --footer-background: var(--color-black-80);\n --footer-color: var(--color-white);\n --footer-focus-outline-color: var(--color-white);\n }\n}\n\n.koros {\n fill: var(--footer-background, transparent);\n overflow: hidden;\n\n svg {\n left: 50%;\n position: relative;\n transform: translateX(-50%);\n width: 4028px; /* can't use relative units here, as we want to have the koro waves always centered */\n }\n\n @each $type, $height in $koros-heights {\n &.#{$type} {\n height: #{$height};\n }\n }\n}\n\n.footerContent {\n background-color: var(--footer-background);\n}\n\n.footerSections {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n padding: var(--footer-padding);\n}\n\n.title {\n font-size: var(--fontsize-heading-m);\n font-weight: bold;\n letter-spacing: 0.4px;\n line-height: var(--lineheight-l);\n}\n\n@media x-small-down {\n .footer {\n --footer-padding: var(--spacing-m) var(--spacing-s) 0;\n }\n\n .footerSections {\n padding: var(--footer-padding);\n }\n}\n\n@media small-down {\n .titleWrapper {\n flex-direction: column;\n }\n\n .title {\n font-size: var(--fontsize-heading-s);\n }\n}\n\n@media x-large-up {\n .footerSections {\n margin: 0 auto;\n max-width: var(--container-width-xl);\n }\n}\n",".koros {\n line-height: 0;\n width: 100%;\n}\n\n.rotate {\n will-change: transform;\n}\n","@import '../../common.scss';\n\n.navigation {\n display: flex;\n flex-wrap: wrap;\n gap: var(--spacing-xs) var(--spacing-m);\n padding-bottom: var(--spacing-m);\n}\n","@value x-large-up from \"../../../../styles/breakpoints.scss\";\n\n.navigationGroup {\n display: flex;\n}\n\n.navigationGroupList {\n display: flex;\n flex-direction: column;\n gap: var(--spacing-3-xs);\n justify-items: start;\n list-style: none;\n margin: 0;\n padding: 0;\n width: 137px;\n}\n\n@media x-large-up {\n .navigationGroupList {\n width: 180px;\n }\n}\n","// COMMON FOOTER STYLES AND UTILS\n@import \"../../styles/common.scss\";\n\n/**\n * footer section divider\n */\n%divider {\n background-color: var(--footer-divider-color);\n border: 0;\n height: 1px;\n margin: 0 0 var(--spacing-xs);\n width: 100%;\n}\n\n/**\n * footer item\n */\n%footerItem {\n @extend %buttonReset;\n \n --outline-offset: 2px;\n --outline-offset-small: 1px;\n \n align-items: center;\n align-self: start;\n color: inherit;\n display: flex;\n font-size: var(--fontsize-body-l);\n line-height: var(--lineheight-l);\n outline: none;\n position: relative;\n text-decoration: none;\n\n &:hover:not(:focus) {\n text-decoration: underline;\n }\n\n &:focus {\n border: 0;\n border-radius: var(--footer-focus-outline-border-radius);\n outline: var(--footer-focus-outline-width) solid var(--footer-focus-outline-color);\n outline-offset: var(--outline-offset);\n }\n}\n\n/**\n * Creates grid columns based on the given value. Centers all \"orphan\" items on the last row.\n */\n@mixin gridColumns($columns) {\n $centeringOptions: (\n 5: (1: 7, 2: 6, 3: 5, 4: 4),\n 4: (1: 6, 2: 5, 3: 4),\n 3: (1: 5, 2: 4),\n 2: (1: 4)\n );\n\n grid-template-columns: repeat(#{$columns * 2}, auto);\n\n & > * {\n grid-column: span 2;\n\n // center orphan items\n @each $orphans, $columnEnd in map-get($centeringOptions, $columns) {\n &:nth-last-child(#{$orphans}):nth-child(#{$columns}n + 1) {\n grid-column-end: $columnEnd;\n }\n }\n }\n}\n","@import '../../common.scss';\n@value medium-down from \"../../../../styles/breakpoints.scss\";\n\n.heading {\n @extend %footerItem;\n\n font-weight: bold;\n line-height: var(--lineheight-l);\n}\n\n.navigation {\n font-size: var(--fontsize-body-m);\n}\n\n.utility {\n font-size: var(--fontsize-heading-m);\n}\n\n@media medium-down {\n .heading.navigation {\n font-weight: normal;\n }\n}\n","@import \"../../common.scss\";\n@value medium-down, large-down from \"../../../../styles/breakpoints.scss\";\n\n.item {\n @extend %footerItem;\n \n --link-color: var(--footer-color);\n --link-visited-color: none;\n \n color: var(--link-color);\n font-weight: normal;\n line-height: var(--lineheight-l);\n text-decoration: none;\n}\n\n.base {\n align-self: unset;\n font-size: var(--fontsize-body-s);\n font-weight: 500;\n margin: 0;\n text-decoration: underline;\n}\n\n.icon {\n composes: icon from 'hds-core/lib/components/link/link.css';\n margin-left: var(--spacing-3-xs);\n}\n\n.navigation {\n align-items: center;\n font-size: var(--fontsize-body-l);\n}\n\n.utility {\n align-items: center;\n font-size: var(--fontsize-body-l);\n}\n\n.subItem.subItem {\n font-size: var(--fontsize-body-s);\n line-height: var(--lineheight-l);\n outline-offset: var(--outline-offset-small);\n}\n\n.subItemIcon {\n align-self: start;\n height: var(--spacing-xs);\n min-width: var(--spacing-xs);\n transform: translateY(4px);\n width: var(--spacing-xs);\n}\n\n@media medium-down {\n .item {\n outline-offset: var(--outline-offset-small);\n }\n\n .utility, .navigation {\n font-size: var(--fontsize-body-m)\n }\n}\n\n@media large-down {\n .item:not(.base):not(.navigation):not(.utility) {\n font-size: var(--fontsize-body-m);\n }\n}\n","@import '../../common.scss';\n@value x-small-down, small-down, medium-down, large-up from \"../../../../styles/breakpoints.scss\";\n\n.divider {\n @extend %divider;\n}\n\n.groups {\n display: flex;\n flex-wrap: wrap;\n row-gap: var(--spacing-m);\n}\n\n.links {\n display: flex;\n flex-wrap: wrap;\n gap: var(--spacing-xs) var(--spacing-m);\n max-width: 60%;\n}\n\n.soMe {\n display: grid;\n gap: var(--spacing-xs);\n grid-auto-flow: column;\n\n > * {\n align-self: center;\n }\n}\n\n.utilities {\n align-items: center;\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n padding-bottom: var(--spacing-m);\n}\n\n.utilityLinks {\n display: grid;\n grid-auto-flow: column;\n position: relative;\n}\n\n.widerLinks {\n max-width: none;\n}\n\n@media x-small-down {\n .links {\n flex-direction: column;\n gap: var(--spacing-xs);\n justify-items: flex-start;\n }\n\n .utilities {\n align-items: flex-start;\n flex-direction: column;\n }\n}\n\n@media small-down {\n .divider {\n margin: 0 0 var(--spacing-xs);\n }\n\n .utilities {\n justify-items: flex-start;\n }\n}\n\n@media medium-down {\n .link {\n gap: var(--spacing-xs);\n }\n\n .utilities {\n gap: var(--spacing-xs);\n }\n}\n\n@media large-up {\n .divider {\n margin: 0 0 var(--spacing-m);\n }\n}\n","@value x-small-down, small-only, medium-up, large-up, x-large-up from \"../../../../styles/breakpoints.scss\";\n\n.utilityGroup {\n display: flex;\n flex-direction: column;\n gap: var(--spacing-xs);\n justify-items: start;\n list-style: none;\n margin-bottom: var(--spacing-xs);\n padding: 0;\n width: 248px;\n}\n\n@media x-small-down {\n .utilityGroup:nth-last-child(-n+1) {\n margin-bottom: 0;\n }\n}\n\n@media small-only {\n .utilityGroup:nth-last-child(-n+2) {\n margin-bottom: 0;\n }\n}\n\n@media medium-up {\n .utilityGroup {\n width: 214px\n }\n\n .utilityGroup:nth-last-child(-n+1) {\n margin-bottom: 0;\n }\n}\n\n@media large-up {\n .utilityGroup {\n margin-bottom: 0;\n width: 204px;\n }\n}\n\n@media x-large-up {\n .utilityGroup {\n width: 268px\n }\n}\n","@import '../../common.scss';\n@value x-small-down, small-down, small-up, medium-down, medium-up, large-up from \"../../../../styles/breakpoints.scss\";\n\n.backToTopButton {\n @extend %footerItem;\n\n align-self: unset;\n font-size: 20px;\n font-weight: bold;\n line-height: 30px;\n margin-left: auto;\n}\n\n.base {\n display: flex;\n flex-direction: column;\n padding-bottom: var(--spacing-m);\n}\n\n.baseActions {\n display: flex;\n flex-grow: 1;\n}\n\n.copyright {\n display: flex;\n font-size: var(--fontsize-body-s);\n gap: var(--spacing-3-xs);\n justify-content: flex-start;\n line-height: var(--lineheight-l);\n margin-right: var(--spacing-2-xs);\n}\n\n.divider {\n @extend %divider;\n}\n\n.links {\n align-items: center;\n display: flex;\n gap: var(--spacing-xs);\n}\n\n.logoWrapper {\n display: flex;\n}\n\n.separator {\n font-size: var(--fontsize-body-s);\n font-weight: 500;\n line-height: var(--lineheight-l);\n}\n\n@media x-small-down {\n .links {\n align-items: flex-start;\n flex-direction: column;\n }\n \n .copyright {\n &Dot {\n display: none;\n }\n }\n \n .separator {\n display: none;\n }\n}\n\n@media small-down {\n .baseActions {\n flex-direction: column;\n }\n\n .backToTopButton {\n margin-top: var(--spacing-m);\n }\n}\n\n@media medium-down {\n .copyright {\n margin-bottom: var(--spacing-xs);\n margin-top: var(--spacing-s);\n }\n\n .divider {\n margin: 0 0 var(--spacing-m);\n }\n \n .separator:first-of-type {\n display: none;\n }\n}\n\n@media large-up {\n .base {\n align-items: center;\n flex-flow: row wrap;\n }\n\n .copyright {\n margin-left: var(--spacing-s);\n }\n}\n","@import '../../common.scss';\n\n.custom {\n padding-bottom: var(--spacing-m);\n}\n\n.divider {\n @extend %divider;\n \n margin: 0 0 var(--spacing-m);\n}\n",".hds-hero {\n --background-color: var(--color-white);\n --color: var(--color-black-90);\n --image-position: bottom right;\n --koros-color: var(--color-white);\n --koros-height: 85px;\n --diagonal-koros-position: 45%;\n --horizontal-padding-small: var(--spacing-layout-2-xs);\n --horizontal-padding-medium: var(--spacing-layout-xs);\n --horizontal-padding-large: var(--spacing-layout-xs);\n --horizontal-padding-x-large: var(--spacing-layout-xs);\n --padding-horizontal: var(--horizontal-padding-small);\n --padding-vertical: var(--spacing-xl);\n\n background-color: var(--background-color);\n color: var(--color);\n display: flex;\n flex-direction: column;\n position: relative;\n z-index: 1;\n}\n\n.hds-hero__title {\n font-size: var(--fontsize-heading-xl);\n font-weight: normal;\n letter-spacing: -1px;\n line-height: 1em;\n margin-top: 0;\n}\n\n.hds-hero__text {\n font-size: var(--fontsize-body-l);\n}\n\n.hds-hero__container {\n margin-left: auto;\n margin-right: auto;\n max-width: var(--container-width-xl);\n}\n\n.hds-hero__content {\n display: flex;\n padding: var(--padding-vertical) var(--padding-horizontal);\n}\n\n.hds-hero__content--single-column,\n.hds-hero__content--two-columns {\n display: flex;\n flex-direction: column;\n}\n\n.hds-hero__content--two-columns {\n align-items: center;\n}\n\n.hds-hero__content--two-columns__image-container {\n display: none;\n}\n\n.hds-hero__card {\n display: block;\n max-width: var(--container-width-xl);\n}\n\n.hds-hero__koros-container,\n.hds-hero__koros-container--overflow-bottom,\n.hds-hero__koros-container--inward-koros {\n height: var(--koros-height);\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n overflow: hidden;\n position: absolute;\n z-index: 1;\n}\n\n.hds-hero__koros-container--inward-koros {\n position: relative;\n}\n\n.hds-hero__koros-container--overflow-bottom {\n bottom: calc(-1 * var(--koros-height));\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n top: auto;\n}\n\n.hds-hero__koros-container > div {\n bottom: 0;\n height: 100%;\n position: absolute;\n width: 100%;\n}\n\n.hds-hero__card--centered-content {\n text-align: center;\n width: 100%;\n}\n\n.hds-hero__image {\n display: block;\n width: 100%;\n}\n\n.hds-hero__koros-and-image-container {\n display: block;\n position: relative;\n}\n\n.hds-hero__image-below-koros {\n display: block;\n}\n\n.hds-hero__image-below-koros .hds-hero__image {\n height: 100%;\n -o-object-fit: cover;\n object-fit: cover;\n -o-object-position: var(--image-position);\n object-position: var(--image-position);\n}\n\n.hds-hero--with-background__container {\n position: relative;\n}\n\n.hds-hero--with-background__background {\n position: relative;\n width: 100%;\n}\n\n.hds-hero--with-background__background .hds-hero__image {\n height: 100%;\n -o-object-fit: cover;\n object-fit: cover;\n -o-object-position: var(--image-position);\n object-position: var(--image-position);\n}\n\n.hds-hero--with-background__content-columns {\n display: flex;\n margin: 0 auto;\n max-width: var(--container-width-xl);\n}\n\n.hds-hero--with-background__empty-column {\n display: none;\n}\n\n.hds-hero--background-image .hds-hero__content {\n padding: 0;\n}\n\n.hds-hero--background-image .hds-hero__card {\n background-color: var(--background-color);\n padding: var(--padding-vertical) var(--padding-horizontal);\n}\n\n.hds-hero--background-image__koros {\n bottom: 0;\n height: var(--koros-height);\n overflow: hidden;\n position: absolute;\n width: 100%;\n\n --koros-color: var(--top-koros-color);\n}\n\n.hds-hero--diagonal-koros .hds-hero--with-background__container {\n display: flex;\n flex-direction: column;\n overflow: hidden;\n position: relative;\n z-index: 1;\n}\n\n.hds-hero--diagonal-koros .hds-hero__content {\n box-sizing: border-box;\n display: block;\n padding: 0;\n width: 100%;\n z-index: 2;\n}\n\n.hds-hero--diagonal-koros .hds-hero__card {\n background-color: var(--background-color);\n padding: var(--padding-vertical) var(--padding-horizontal);\n}\n\n.hds-hero--diagonal-koros__koros-and-background {\n height: var(--koros-height);\n position: absolute;\n transform: rotate(180deg);\n width: 100%;\n}\n\n.hds-hero--diagonal-koros__koros-aligner {\n position: relative;\n z-index: 1;\n}\n\n.hds-hero--diagonal-koros__koros-and-background .hds-hero__koros-container {\n height: 100%;\n overflow: hidden;\n position: absolute;\n top: 0;\n width: 100%;\n}\n\n.hds-hero--with-background__background,\n.hds-hero__image-below-koros {\n height: 300px;\n}\n\n@media only screen and (min-width: 768px) {\n .hds-hero {\n --padding-horizontal: var(--horizontal-padding-medium);\n --padding-vertical: var(--spacing-layout-m);\n }\n\n .hds-hero--with-background__background,\n .hds-hero__image-below-koros {\n height: 400px;\n }\n}\n\n@media only screen and (min-width: 992px) {\n .hds-hero {\n --padding-horizontal: var(--horizontal-padding-large);\n --padding-vertical: var(--spacing-layout-xl);\n }\n\n .hds-hero__text {\n font-size: var(--fontsize-body-xl);\n }\n\n .hds-hero--image-left .hds-hero__image-below-koros,\n .hds-hero--image-right .hds-hero__image-below-koros {\n display: none;\n }\n\n .hds-hero__content--two-columns {\n flex-direction: row;\n }\n\n .hds-hero__content--two-columns > * {\n width: 50%;\n }\n\n .hds-hero__content--two-columns > *:first-child {\n margin-right: var(--spacing-xl);\n }\n\n .hds-hero__content--two-columns > *:last-child {\n margin-left: var(--spacing-xl);\n }\n\n .hds-hero__content--two-columns__image-container {\n display: block;\n }\n\n .hds-hero--background-image .hds-hero--with-background__container {\n padding: var(--padding-vertical) var(--padding-horizontal);\n }\n\n .hds-hero--background-image .hds-hero__content {\n --padding-vertical: var(--spacing-2-xl);\n\n display: flex;\n flex-direction: row;\n margin: 0 auto;\n max-width: var(--container-width-xl);\n }\n\n .hds-hero--background-image .hds-hero__card {\n width: 50%;\n }\n\n .hds-hero--with-background__background {\n height: auto;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n position: absolute;\n width: auto;\n z-index: -1;\n }\n\n .hds-hero--with-background__empty-column {\n display: block;\n width: 45%;\n }\n\n .hds-hero--diagonal-koros .hds-hero__content {\n background-color: transparent;\n padding: var(--padding-vertical) 0;\n }\n\n .hds-hero--diagonal-koros .hds-hero__card {\n background: none;\n padding: 0 var(--padding-horizontal);\n width: 55%;\n }\n\n .hds-hero--diagonal-koros__koros-aligner {\n bottom: 0;\n max-width: var(--container-width-xl);\n position: absolute;\n right: var(--diagonal-koros-position);\n top: 0;\n width: 100%;\n z-index: 1;\n }\n\n .hds-hero--diagonal-koros__koros-and-background {\n display: block;\n height: 100%;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n overflow: visible;\n position: absolute;\n transform: rotate(135deg);\n transform-origin: center;\n width: 150%;\n }\n\n .hds-hero--diagonal-koros__koros-and-background:after {\n background-color: var(--koros-color);\n content: '';\n display: block;\n height: 1500px;\n left: 0;\n position: absolute;\n top: 50px;\n width: 150%;\n }\n\n .hds-hero--diagonal-koros__koros-and-background .hds-hero__koros-container {\n height: 100%;\n overflow: hidden;\n position: absolute;\n top: 0;\n width: 100%;\n z-index: 1;\n }\n\n .hds-hero--background-image__koros {\n --koros-color: var(--bottom-koros-color);\n }\n}\n\n@media only screen and (min-width: 1248px) {\n .hds-hero {\n --padding-horizontal: var(--horizontal-padding-x-large);\n }\n\n .hds-hero__title {\n font-size: var(--fontsize-heading-xxl);\n letter-spacing: -1.2px;\n }\n\n .hds-hero--diagonal-koros .hds-hero__text {\n padding-right: var(--spacing-l);\n }\n\n .hds-hero__content--two-columns > *:first-child {\n margin-right: var(--spacing-2-xl);\n }\n\n .hds-hero__content--two-columns > *:last-child {\n margin-left: var(--spacing-2-xl);\n }\n}\n","@value large-up from \"../../styles/breakpoints.scss\";\n\n.hero {\n composes: hds-hero from 'hds-core/lib/components/hero/hero.css';\n}\n\n.title {\n composes: hds-hero__title from 'hds-core/lib/components/hero/hero.css';\n}\n\n.text {\n composes: hds-hero__text from 'hds-core/lib/components/hero/hero.css';\n}\n\n.container {\n composes: hds-hero__container from 'hds-core/lib/components/hero/hero.css';\n}\n\n.content {\n composes: hds-hero__content from 'hds-core/lib/components/hero/hero.css';\n}\n\n.singleColumn {\n composes: hds-hero__content--single-column from 'hds-core/lib/components/hero/hero.css';\n}\n\n.twoColumns {\n composes: hds-hero__content--two-columns from 'hds-core/lib/components/hero/hero.css';\n}\n\n.twoColumnsImageContainer {\n composes: hds-hero__content--two-columns__image-container from 'hds-core/lib/components/hero/hero.css';\n}\n\n.card {\n composes: hds-hero__card from 'hds-core/lib/components/hero/hero.css';\n}\n\n.centeredContent {\n composes: hds-hero__card--centered-content from 'hds-core/lib/components/hero/hero.css';\n}\n\n.image {\n composes: hds-hero__image from 'hds-core/lib/components/hero/hero.css';\n}\n\n.imageBelowKoros {\n composes: hds-hero__image-below-koros from 'hds-core/lib/components/hero/hero.css';\n}\n\n.withBackgroundContainer {\n composes: hds-hero--with-background__container from 'hds-core/lib/components/hero/hero.css';\n}\n\n.withBackgroundBackground {\n composes: hds-hero--with-background__background from 'hds-core/lib/components/hero/hero.css';\n}\n\n/* backgroundImage specific styles */\n\n.backgroundImage {\n composes: hds-hero--background-image from 'hds-core/lib/components/hero/hero.css';\n}\n\n.backgroundImageKoros {\n composes: hds-hero--background-image__koros from 'hds-core/lib/components/hero/hero.css';\n}\n\n/* diagonalKoros specific styles */\n\n.diagonalKoros {\n composes: hds-hero--diagonal-koros from 'hds-core/lib/components/hero/hero.css';\n}\n\n.diagonalKorosWithBackgroundContainer {\n composes: hds-hero--diagonal-koros hds-hero--with-background__container from 'hds-core/lib/components/hero/hero.css';\n}\n\n.diagonalKorosAndBackground {\n composes: hds-hero--diagonal-koros__koros-and-background from 'hds-core/lib/components/hero/hero.css';\n}\n\n.contentColums {\n composes: hds-hero--with-background__content-columns from 'hds-core/lib/components/hero/hero.css';\n}\n\n.emptyColumn {\n composes: hds-hero--with-background__empty-column from 'hds-core/lib/components/hero/hero.css';\n}\n\n/* imageLeft/Right specific styles */\n\n.imageLeft {\n composes: hds-hero--image-left from 'hds-core/lib/components/hero/hero.css';\n}\n\n.imageRight {\n composes: hds-hero--image-right from 'hds-core/lib/components/hero/hero.css';\n}\n\n.korosContainer {\n composes: hds-hero__koros-container from 'hds-core/lib/components/hero/hero.css';\n}\n\n.korosContainerInwardKoros {\n composes: hds-hero__koros-container--inward-koros from 'hds-core/lib/components/hero/hero.css';\n}\n\n.korosContainerOverflowBottom {\n composes: hds-hero__koros-container--overflow-bottom from 'hds-core/lib/components/hero/hero.css';\n}\n\n.korosAndImageContainer {\n composes: hds-hero__koros-and-image-container from 'hds-core/lib/components/hero/hero.css';\n}\n\n.korosAligner {\n composes: hds-hero--diagonal-koros__koros-aligner from 'hds-core/lib/components/hero/hero.css';\n}\n",".section {\n --section-background-plain: var(--color-white);\n --section-background-primary: var(--color-coat-of-arms);\n --section-background-secondary: var(--color-fog);\n --section-background-tertiary: var(--color-suomenlinna);\n --section-color-plain: var(--color-black-90);\n --section-color-primary: var(--color-white);\n --section-color-secondary: var(--color-black-90);\n --section-color-tertiary: var(--color-white);\n\n position: relative;\n}\n\n.section.withKoros {\n padding: 2em 0;\n z-index: 1;\n}\n\n.section:not(.withKoros) {\n padding: 4em 0;\n}\n\n.content {\n margin: 0 auto;\n max-width: 72em;\n padding: var(--spacing-layout-s) var(--spacing-layout-xl);\n position: relative;\n z-index: 1;\n}\n\n.section.plain {\n background-color: var(--section-background-plain);\n color: var(--section-color-plain);\n}\n\n.section.primary {\n background-color: var(--section-background-primary);\n color: var(--section-color-primary);\n}\n\n.section.secondary {\n background-color: var(--section-background-secondary);\n color: var(--section-color-secondary);\n}\n\n.section.tertiary {\n background-color: var(--section-background-tertiary);\n color: var(--section-color-tertiary);\n}\n\n.koros {\n position: absolute;\n}\n\n.section.plain .koros {\n fill: var(--section-background-plain);\n}\n\n.section.primary .koros {\n fill: var(--section-background-primary);\n}\n\n.section.secondary .koros {\n fill: var(--section-background-secondary);\n}\n\n.section.tertiary .koros {\n fill: var(--section-background-tertiary);\n}\n\n.koros.basic.topKoros {\n top: -1em;\n}\n\n.koros.beat.topKoros {\n top: -4.5em;\n}\n\n.koros.pulse.topKoros {\n top: -2.2em;\n}\n\n.koros.wave.topKoros {\n top: -2.3em;\n}\n\n.koros.vibration.topKoros {\n top: -3.4em;\n}\n\n.koros.basic.bottomKoros {\n bottom: -1em;\n}\n\n.koros.beat.bottomKoros {\n bottom: -4.5em;\n}\n\n.koros.pulse.bottomKoros {\n bottom: -2.2em;\n}\n\n.koros.wave.bottomKoros {\n bottom: -2.3em;\n}\n\n.koros.vibration.bottomKoros {\n bottom: -3.4em;\n}\n\n@media all and (max-width: 768px) {\n .content {\n padding: 0.5em 1em;\n }\n}\n","/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}:root{--breakpoint-xs:320px;--breakpoint-s:576px;--breakpoint-m:768px;--breakpoint-l:992px;--breakpoint-xl:1248px;--container-width-xs:288px;--container-width-s:544px;--container-width-m:720px;--container-width-l:944px;--container-width-xl:1200px;--color-brick:#bd2719;--color-brick-light:#ffeeed;--color-brick-medium-light:#facbc8;--color-brick-dark:#800e04;--color-bus:#0000bf;--color-bus-light:#f0f0ff;--color-bus-medium-light:#ccf;--color-bus-dark:#00005e;--color-coat-of-arms:#0072c6;--color-coat-of-arms-light:#e6f4ff;--color-coat-of-arms-medium-light:#b5daf7;--color-coat-of-arms-dark:#005799;--color-copper:#00d7a7;--color-copper-light:#cffaf1;--color-copper-medium-light:#9ef0de;--color-copper-dark:#00a17d;--color-engel:#ffe977;--color-engel-light:#fff9db;--color-engel-medium-light:#fff3b8;--color-engel-dark:#dbc030;--color-fog:#9fc9eb;--color-fog-light:#e8f3fc;--color-fog-medium-light:#d0e6f7;--color-fog-dark:#72a5cf;--color-gold:#c2a251;--color-gold-light:#f7f2e4;--color-gold-medium-light:#e8d7a7;--color-gold-dark:#9e823c;--color-metro:#fd4f00;--color-metro-light:#ffeee6;--color-metro-medium-light:#ffcab3;--color-metro-dark:#bd2f00;--color-silver:#dedfe1;--color-silver-light:#f7f7f8;--color-silver-medium-light:#efeff0;--color-silver-dark:#b0b8bf;--color-summer:#ffc61e;--color-summer-light:#fff4d4;--color-summer-medium-light:#ffe49c;--color-summer-dark:#cc9200;--color-suomenlinna:#f5a3c7;--color-suomenlinna-light:#fff0f7;--color-suomenlinna-medium-light:#ffdbeb;--color-suomenlinna-dark:#e673a5;--color-tram:#008741;--color-tram-light:#dff7eb;--color-tram-medium-light:#a3e3c2;--color-tram-dark:#006631;--color-focus-outline:#0072c6;--color-black:#000;--color-white:#fff;--color-black-5:#f2f2f2;--color-black-10:#e6e6e6;--color-black-20:#ccc;--color-black-30:#b3b3b3;--color-black-40:#999;--color-black-50:grey;--color-black-60:#666;--color-black-70:#4d4d4d;--color-black-80:#333;--color-black-90:#1a1a1a;--color-error:#b01038;--color-error-light:#f6e2e6;--color-error-dark:#8d0d2d;--color-success:#007a64;--color-success-light:#e2f5f3;--color-success-dark:#006250;--color-alert:#ffda07;--color-alert-light:#fff4b4;--color-alert-dark:#d18200;--color-info:#0062b9;--color-info-light:#e5eff8;--color-info-dark:#004f94;--box-shadow-s:0px 2px 10px 0px rgba(0,0,0,0.07);--box-shadow-m:0px 2px 10px 0px rgba(0,0,0,0.1);--box-shadow-l:0px 2px 20px 0px rgba(0,0,0,0.2);--spacing-layout-2-xs:1rem;--spacing-layout-xs:1.5rem;--spacing-layout-s:2rem;--spacing-layout-m:3rem;--spacing-layout-l:4rem;--spacing-layout-xl:6rem;--spacing-layout-2-xl:8rem;--spacing-4-xs:0.125rem;--spacing-3-xs:0.25rem;--spacing-2-xs:0.5rem;--spacing-xs:0.75rem;--spacing-s:1rem;--spacing-m:1.5rem;--spacing-l:2rem;--spacing-xl:2.5rem;--spacing-2-xl:3.0rem;--spacing-3-xl:3.5rem;--spacing-4-xl:4rem;--spacing-5-xl:4.5rem;--fontsize-heading-xxl:4rem;--fontsize-heading-xl:3rem;--fontsize-heading-xl-mobile:2.5rem;--fontsize-heading-l:2rem;--fontsize-heading-m:1.5rem;--fontsize-heading-s:1.25rem;--fontsize-heading-xs:1.125rem;--fontsize-heading-xxs:1rem;--fontsize-body-s:0.875rem;--fontsize-body-m:1rem;--fontsize-body-l:1.125rem;--fontsize-body-xl:1.25rem;--font-default:HelsinkiGrotesk,Arial,sans-serif;--lineheight-s:1;--lineheight-m:1.2;--lineheight-l:1.5;--lineheight-xl:1.75}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.visually-hidden{border:0;clip:\"rect(0 0 0 0)\";height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.button-reset{background:none;border:none;color:inherit;cursor:pointer;font:inherit;padding:0}.text-body{color:var(--color-black-90);font-size:var(--fontsize-body-m);line-height:var(--lineheight-l)}.text-body,.text-medium{font-family:var(--font-default)}.text-medium{font-weight:500}.text-bold{font-family:var(--font-default);font-weight:700}.text-xl{font-size:var(--fontsize-heading-m)}.text-lg{font-size:var(--fontsize-heading-s)}.text-md{font-size:var(--fontsize-heading-xs)}.subtitle{font-size:var(--fontsize-body-m)}.text-sm{font-size:var(--fontsize-body-s);line-height:var(--lineheight-xl)}.heading-xxl{font-size:var(--fontsize-heading-xxl);letter-spacing:-1.2px}.heading-xl,.heading-xxl{font-weight:400;line-height:var(--lineheight-s)}.heading-xl{font-size:var(--fontsize-heading-xl);letter-spacing:-1px}.heading-xl-mobile{font-size:var(--fontsize-heading-xl-mobile);letter-spacing:-.8px}.heading-l,.heading-xl-mobile{font-weight:400;line-height:var(--lineheight-s)}.heading-l{font-size:var(--fontsize-heading-l);letter-spacing:-.4px}.heading-m{font-size:var(--fontsize-heading-m);font-weight:500;letter-spacing:-.2px;line-height:32px}.heading-s{font-size:var(--fontsize-heading-s);font-weight:500;letter-spacing:.2px;line-height:1.4}.heading-xs{font-size:var(--fontsize-heading-xs);line-height:1.33}.heading-xs,.heading-xxs{font-weight:700;letter-spacing:.4px}.heading-xxs{font-size:var(--fontsize-heading-xxs);line-height:var(--lineheight-l)}.helper-text{color:var(--color-black-60);display:block;flex-basis:100%;font-size:var(--fontsize-body-m);margin-top:var(--spacing-2-xs)}",".hds-highlight {\n --accent-line-color: var(--color-bus);\n --text-color: var(--color-black-90);\n --size-width-s: 264px;\n --size-width-m: 536px;\n --size-width-l: 680px;\n --width: var(--size-width-m);\n --margin: var(--spacing-m) 0;\n\n border-left: 8px solid var(--accent-line-color);\n color: var(--text-color);\n display: flex;\n flex-direction: column; \n justify-content: center;\n margin: var(--margin);\n max-width: 100%;\n padding: 0;\n padding-left: var(--spacing-s);\n grid-row-gap: var(--spacing-m);\n row-gap: var(--spacing-m);\n width: var(--width);\n}\n\n.hds-blockquote {\n margin: 0;\n padding: 0;\n}\n\n.hds-highlight__text {\n color: var(--text-color);\n font-size: var(--fontsize-heading-m);\n line-height: var(--lineheight-m);\n margin: 0;\n padding: 0;\n}\n\n.hds-highlight--small {\n --margin: var(--spacing-s) 0;\n --width: var(--size-width-s);\n}\n\n.hds-highlight--large {\n --margin: var(--spacing-l) 0;\n --width: var(--size-width-l);\n}\n\n.hds-highlight--large .hds-highlight__text {\n font-size: var(--fontsize-heading-l);\n line-height: var(--lineheight-l);\n}\n\n.hds-highlight__quote:before,\n.hds-highlight__quote:after {\n content: '\"';\n display: inline; \n}\n\n.hds-highlight__reference {\n font-size: var(--fontsize-heading-xs);\n line-height: var(--lineheight-m);\n}",".highlight {\n composes: hds-highlight from 'hds-core/lib/components/highlight/highlight.css';\n}\n\n.highlightBlockquote {\n composes: hds-blockquote from 'hds-core/lib/components/highlight/highlight.css';\n}\n\n.text {\n composes: hds-highlight__text from 'hds-core/lib/components/highlight/highlight.css';\n}\n\n.size-s {\n composes: hds-highlight--small from 'hds-core/lib/components/highlight/highlight.css';\n}\n\n.size-l {\n composes: hds-highlight--large from 'hds-core/lib/components/highlight/highlight.css';\n}\n\n.quote {\n composes: hds-highlight__quote from 'hds-core/lib/components/highlight/highlight.css';\n}\n\n.reference {\n composes: hds-highlight__reference from 'hds-core/lib/components/highlight/highlight.css';\n}\n",".wrapper {\n --card-background-primary: var(--color-coat-of-arms);\n --card-background-secondary: var(--color-fog);\n --card-background-tertiary: var(--color-suomenlinna);\n --card-color-primary: var(--color-white);\n --card-color-secondary: var(--color-black-90);\n --card-color-tertiary: var(--color-white);\n\n height: 34.375em;\n margin: 0 auto;\n top: 0;\n width: 72em;\n}\n\n.image {\n background-position: 50% 50%;\n background-size: cover;\n height: 100%;\n width: 100%;\n}\n\n.cardContainer {\n height: 100%;\n margin: 0 auto;\n max-width: 72em;\n padding: 3.625em;\n position: relative;\n top: -100%;\n}\n\n.card {\n background: white;\n composes: text-body from 'hds-core/lib/utils/helpers.css';\n min-height: 100%;\n padding: 1em 3em;\n width: 45%;\n}\n\n.rightAlignment .card {\n margin-left: auto;\n margin-right: 0;\n}\n\n.leftAlignment .image {\n margin-left: auto;\n margin-right: 0;\n}\n\n/* SPLIT LAYOUT */\n\n.splitLayout {\n height: 40.625em;\n}\n\n.splitLayout .cardContainer {\n padding: 0;\n}\n\n@media all and (min-width: 769px) {\n .splitLayout .image {\n width: 57.5%;\n }\n\n .splitLayout .card {\n width: 42.5%;\n }\n}\n\n/* HOVER LAYOUT */\n\n.hoverLayout .cardContainer {\n padding-left: 0;\n padding-right: 0;\n}\n\n@media all and (min-width: 769px) {\n .hoverLayout .image {\n width: 70%;\n }\n\n .hoverLayout .card {\n width: 38.5%;\n }\n}\n\n/* FULL WIDTH */\n\n.fullWidth:not(.splitLayout) .image,\n.fullWidth {\n width: 100%;\n}\n\n/* COLOR THEMES */\n\n.fullWidth.primary,\n.primary .card {\n background-color: var(--card-background-primary);\n color: var(--card-color-primary);\n}\n\n.fullWidth.secondary,\n.secondary .card {\n background-color: var(--card-background-secondary);\n color: var(--card-color-secondary);\n}\n\n.fullWidth.tertiary,\n.tertiary .card {\n background-color: var(--card-background-tertiary);\n color: var(--card-color-tertiary);\n}\n\n/* SMALL SCREEN DEFAULT & SPLIT */\n\n@media all and (max-width: 768px) {\n .wrapper {\n height: auto;\n width: auto;\n }\n\n .wrapper.fullWidth {\n background: none;\n }\n\n .image {\n height: 26.25em;\n width: auto;\n }\n\n .cardContainer {\n height: auto;\n margin: -4.625em 1em 0;\n padding: 0;\n width: auto;\n }\n\n .card {\n padding: 1em;\n width: auto;\n }\n}\n\n/* SMALL SCREEN HOVER */\n\n@media all and (max-width: 768px) {\n .hoverLayout.leftAlignment .image {\n margin-left: 2.5em;\n }\n\n .hoverLayout.leftAlignment .card {\n margin-right: 2.25em;\n }\n\n .hoverLayout.rightAlignment .image {\n margin-right: 2.5em;\n }\n\n .hoverLayout.rightAlignment .card {\n margin-left: 2.25em;\n }\n\n .hoverLayout .cardContainer {\n margin: -2.875em 0 0;\n }\n}\n",".linkbox {\n cursor: pointer;\n position: relative;\n\n &:focus-within {\n outline: var(--color-coat-of-arms) 3px solid;\n }\n}\n\n.withBackground {\n background-color: var(--color-white);\n}\n\n.withoutBackground {\n background: transparent;\n padding-bottom: var(--spacing-2-xl) !important;\n padding-left: 0 !important;\n padding-right: 0 !important;\n}\n\n.paddingWithoutImageAndWithBackground {\n padding-top: var(--spacing-m);\n}\n\n.paddingWithoutImageAndWithoutBackground {\n padding: 0;\n}\n\n.withSmallImage {\n padding-top: var(--spacing-s);\n}\n\n.withMediumImage {\n padding-top: var(--spacing-s);\n}\n\n.withLargeImage {\n padding-top: var(--spacing-m);\n}\n\n.contentSmall {\n padding-bottom: var(--spacing-4-xl);\n padding-left: var(--spacing-s);\n padding-right: var(--spacing-s);\n}\n\n.contentMedium {\n padding-bottom: var(--spacing-4-xl);\n padding-left: var(--spacing-s);\n padding-right: var(--spacing-s);\n}\n\n.contentLarge {\n padding-bottom: var(--spacing-5-xl);\n padding-left: var(--spacing-m);\n padding-right: var(--spacing-m);\n}\n\n.icon {\n bottom: var(--spacing-s);\n left: var(--spacing-s);\n position: absolute;\n vertical-align: bottom;\n}\n\n.border {\n border: solid 2px var(--color-black-90);\n\n &:focus-within {\n border: var(--color-black-90) 2px solid !important;\n outline: var(--color-coat-of-arms) 3px solid;\n }\n\n .contentSmall {\n padding-bottom: 62px;\n padding-left: 14px;\n padding-right: 14px;\n }\n\n .contentMedium {\n padding-bottom: 62px;\n padding-left: 14px;\n padding-right: 14px;\n }\n\n .contentLarge {\n padding-bottom: 70px;\n padding-left: 22px;\n padding-right: 22px;\n }\n\n .icon {\n bottom: 14px;\n left: 14px;\n }\n\n .paddingWithoutImageAndWithBackground {\n padding-top: 22px;\n }\n}\n\n.text {\n color: var(--color-black-90);\n font-family: var(--font-default);\n font-size: var(--fontsize-body-m);\n line-height: var(--lineheight-l);\n margin-bottom: var(--spacing-s);\n margin-top: var(--spacing-2-xs);\n}\n\n.contentLarge .text {\n margin-bottom: var(--spacing-m);\n}\n\n.headingSmall {\n composes: heading-s from 'hds-core/lib/utils/helpers.css';\n padding-bottom: 0;\n}\n\n.headingMedium {\n composes: heading-m from 'hds-core/lib/utils/helpers.css';\n}\n\n.headingLarge {\n composes: heading-l from 'hds-core/lib/utils/helpers.css';\n padding-bottom: var(--spacing-2-xs);\n}\n\n.link {\n color: var(--color-black-90);\n display: inline-block;\n height:100%;\n left: 0;\n line-height: var(--lineheight-l);\n position: absolute;\n top: 0;\n width: 100%;\n \n &:focus {\n border: none;\n outline: none;\n }\n}\n\n.iconWhenNoBackground {\n bottom: 0;\n left: 0;\n}\n\n.iconPositionForLinkboxLargeVariant {\n bottom: 22px;\n left: 22px;\n}\n\n.image {\n display: block;\n height: auto;\n object-fit: contain;\n width: 100%;\n}\n",".numberInputContainer {\n /* Chrome, Safari, Edge, Opera */\n input::-webkit-outer-spin-button,\n input::-webkit-inner-spin-button {\n /**\n * Normalize.css rule\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n appearance: none !important;\n height: auto; \n margin: 0 !important;\n }\n\n /* Firefox */\n input[type=\"number\"] {\n appearance: textfield !important;\n }\n\n width: 100%;\n}\n\n.numberInputWithSteps {\n padding-left: 68px !important;\n padding-right: 68px !important;\n text-align: center;\n}\n\n@mixin stepButton {\n align-items: center;\n bottom: 0;\n display: flex;\n font-size: 1rem;\n justify-content: center;\n margin: 2px;\n position: absolute;\n top: 0;\n width: 52px;\n z-index: 1;\n}\n\n.minusButtonWrapper {\n @include stepButton;\n\n border-right: solid 1px #ccc;\n left: 0;\n}\n\n.minusButtonWrapperWithoutBorder {\n @include stepButton;\n\n left: 0;\n}\n\n.plusButtonWrapper {\n @include stepButton;\n\n border-left: solid 1px #ccc;\n right: 0;\n}\n\n.plusButtonWrapperWithoutBorder {\n @include stepButton;\n\n right: 0;\n}\n\n.button {\n align-items: center;\n appearance: none;\n background: transparent;\n border: 0;\n cursor: pointer;\n display: flex;\n font-size: 1rem;\n height: 100%;\n justify-content: center;\n overflow: hidden;\n padding: 0;\n width: 100%;\n\n &:disabled {\n cursor: not-allowed;\n }\n\n &:focus {\n outline: 3px solid var(--focus-outline-color);\n outline-offset: -5px;\n }\n}\n",".hds-button {\n --border-width: 2px;\n --color: inherit;\n --min-size: 44px;\n --outline-gutter: 2px;\n --outline-width: 3px;\n\n align-content: flex-start;\n align-items: center;\n\n /*\n * Normalize.css rules\n * Correct the inability to style clickable types in iOS and Safari.\n */\n -webkit-appearance: button;\n background-color: var(--background-color, transparent);\n border: var(--border-width) solid var(--border-color, transparent);\n border-radius: 0;\n color: var(--color);\n cursor: pointer;\n display: inline-flex;\n\n /*\n * Normalize.css rules\n * 1. Change the font styles in all browsers.\n */\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n font-weight: 500;\n justify-content: center;\n\n /*\n * Normalize.css rules\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n min-height: var(--min-size);\n min-width: var(--min-size);\n padding: 0 var(--spacing-2-xs);\n position: relative;\n text-decoration: none;\n\n /*\n * Normalize.css rule\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n */\n text-transform: none;\n vertical-align: top;\n}\n\n.hds-button,\n.hds-button:before,\n.hds-button:after,\n.hds-button *,\n.hds-button *:before,\n.hds-button *:after {\n box-sizing: border-box;\n}\n\n/*\n * Normalize.css rules\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\n.hds-button[type=\"button\"], .hds-button[type=\"reset\"], .hds-button[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/*\n * Normalize.css rules\n * Remove the inner border and padding in Firefox.\n */\n\n.hds-button::-moz-focus-inner, .hds-button[type=\"button\"]::-moz-focus-inner, .hds-button[type=\"reset\"]::-moz-focus-inner, .hds-button[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/*\n * Normalize.css rules\n * Restore the focus styles unset by the previous rule.\n */\n\n.hds-button:-moz-focusring, .hds-button[type=\"button\"]:-moz-focusring, .hds-button[type=\"reset\"]:-moz-focusring, .hds-button[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/* button transitions */\n\n.hds-button:hover,\n.hds-button.focus-visible {\n transition-duration: 85ms;\n transition-property: background-color, border-color, color;\n transition-timing-function: ease-out;\n}\n\n.hds-button:hover,\n.hds-button:focus-visible {\n transition-duration: 85ms;\n transition-property: background-color, border-color, color;\n transition-timing-function: ease-out;\n}\n\n.hds-button:hover {\n background-color: var(--background-color-hover, transparent);\n color: var(--color-hover);\n}\n\n.hds-button.focus-visible {\n background-color: var(--background-color-focus, transparent);\n color: var(--color-focus);\n outline: none;\n}\n\n.hds-button:focus-visible {\n background-color: var(--background-color-focus, transparent);\n color: var(--color-focus);\n outline: none;\n}\n\n.hds-button:active {\n background-color: var(--background-color-focus, transparent);\n color: var(--color-focus);\n outline: none;\n}\n\n.hds-button:not(:disabled) {\n border-color: var(--border-color, transparent);\n}\n\n.hds-button:disabled {\n background-color: var(--background-color-disabled, transparent);\n border-color: var(--border-color-disabled, transparent);\n color: var(--color-disabled);\n cursor: not-allowed;\n}\n\n.hds-button.focus-visible:hover {\n background-color: var(--background-color-hover-focus, transparent);\n}\n\n.hds-button:focus-visible:hover {\n background-color: var(--background-color-hover-focus, transparent);\n}\n\n.hds-button:active:hover {\n background-color: var(--background-color-hover-focus, transparent);\n}\n\n.hds-button:not(:disabled):hover {\n border-color: var(--border-color-hover, transparent);\n}\n\n.hds-button:not(:disabled).focus-visible {\n border-color: var(--border-color-focus, transparent);\n}\n\n.hds-button:not(:disabled):focus-visible {\n border-color: var(--border-color-focus, transparent);\n}\n\n.hds-button:not(:disabled):active {\n border-color: var(--border-color-focus, transparent);\n}\n\n.hds-button:not(:disabled).focus-visible:hover {\n border-color: var(--border-color-hover-focus, transparent);\n color: var(--color-hover-focus);\n}\n\n.hds-button:not(:disabled):focus-visible:hover {\n border-color: var(--border-color-hover-focus, transparent);\n color: var(--color-hover-focus);\n}\n\n.hds-button:not(:disabled):active:hover {\n border-color: var(--border-color-hover-focus, transparent);\n color: var(--color-hover-focus);\n}\n\n/* FOCUS OUTLINE */\n\n.hds-button:after {\n --size: 100%;\n\n border: var(--outline-width) solid transparent;\n content: '';\n height: var(--size);\n position: absolute;\n width: var(--size);\n}\n\n.hds-button.focus-visible:after {\n --size: calc(100% + calc(var(--outline-width) * 2 + var(--border-width) * 2 + var(--outline-gutter) * 2));\n\n border-color: var(--focus-outline-color);\n}\n\n.hds-button:focus-visible:after {\n --size: calc(100% + calc(var(--outline-width) * 2 + var(--border-width) * 2 + var(--outline-gutter) * 2));\n\n border-color: var(--focus-outline-color);\n}\n\n.hds-button:active:after {\n --size: calc(100% + calc(var(--outline-width) * 2 + var(--border-width) * 2 + var(--outline-gutter) * 2));\n\n border-color: var(--focus-outline-color);\n}\n\ninput[type=\"submit\"].hds-button,\n.hds-button__label {\n font-weight: inherit;\n line-height: 1.25em;\n padding: var(--spacing-s);\n}\n\ninput[type=\"submit\"].hds-button {\n cursor: pointer;\n padding: var(--spacing-s) var(--spacing-l);\n}\n\n/* submit input */\n\ninput[type=\"submit\"].hds-button.focus-visible {\n box-shadow: 0 0 0 var(--outline-gutter) var(--submit-input-focus-gutter-color), 0 0 0 calc(var(--outline-gutter) + var(--outline-width)) var(--focus-outline-color);\n}\n\ninput[type=\"submit\"].hds-button:focus-visible {\n box-shadow: 0 0 0 var(--outline-gutter) var(--submit-input-focus-gutter-color), 0 0 0 calc(var(--outline-gutter) + var(--outline-width)) var(--focus-outline-color);\n}\n\n/* no icons */\n\n.hds-button__label:only-child {\n margin: 0 var(--spacing-2-xs);\n}\n\ninput[type=\"submit\"].hds-button--small,\n.hds-button--small .hds-button__label {\n line-height: var(--lineheight-s);\n padding: var(--spacing-2-xs) var(--spacing-xs);\n}\n\n/* supplementary with right icon */\n\n.hds-button--supplementary .hds-button__label:first-child {\n padding-right: var(--spacing-2-xs);\n}\n\n/* no icons */\n\n.hds-button--small .hds-button__label:only-child {\n margin: 0 var(--spacing-xs);\n}\n\n/* supplementary with left icon */\n\n.hds-button--supplementary .hds-icon + .hds-button__label:last-child {\n padding-left: var(--spacing-2-xs);\n}\n\n/* supplementary with both icons */\n\n.hds-button--supplementary .hds-icon + .hds-button__label:not(:last-child) {\n padding-left: var(--spacing-2-xs);\n padding-right: var(--spacing-2-xs);\n}\n\n/* SMALL */\n\n.hds-button--small {\n padding: 0;\n}\n\ninput[type=\"submit\"].hds-button--small {\n padding: var(--spacing-2-xs) var(--spacing-m);\n}\n\n/* both icons */\n\n.hds-button--small .hds-button__label:not(:first-of-type):not(:last-of-type) {\n padding: var(--spacing-2-xs) var(--spacing-2-xs);\n}\n\n/* FULL WIDTH */\n\n.hds-button--fullwidth {\n width: 100%;\n}\n\n/* ICONS */\n\n/* left */\n\n.hds-button .hds-icon {\n height: var(--spacing-m);\n margin-left: var(--spacing-s);\n width: var(--spacing-m);\n}\n\n/* right */\n\n.hds-button__label ~ .hds-icon {\n margin: 0 var(--spacing-s) 0 0;\n}\n\n/* left - small */\n\n.hds-button--small .hds-icon {\n margin-left: var(--spacing-2-xs);\n}\n\n/* right - small */\n\n.hds-button .hds-button--small .hds-button__label ~ .hds-icon {\n margin: 0 var(--spacing-2-xs) 0 0;\n}\n\n/* both icons - left */\n\n.hds-button .hds-icon:first-of-type:not(:last-of-type) {\n margin: 0 0 0 var(--spacing-2-xs);\n}\n\n/* both icons - right */\n\n.hds-button .hds-icon:last-of-type:not(:first-of-type) {\n margin: 0 var(--spacing-2-xs) 0 0;\n}\n\n/* both icons - left - small */\n\n.hds-button--small .hds-icon:first-child:not(:last-of-type) {\n margin: 0 0 0 var(--spacing-2-xs);\n}\n\n/* both icons - right - small */\n\n.hds-button--small .hds-icon:last-child:not(:first-of-type) {\n margin: 0 var(--spacing-2-xs) 0 0;\n}\n\n/* PRIMARY */\n\n/* default (bus) */\n\n.hds-button--primary {\n --background-color: var(--color-bus);\n --background-color-hover: var(--color-bus-dark);\n --background-color-focus: var(--color-bus);\n --background-color-hover-focus: var(--color-bus-dark);\n --background-color-disabled: var(--color-black-20);\n --border-color: var(--color-bus);\n --border-color-hover: var(--color-bus-dark);\n --border-color-focus: var(--color-bus);\n --border-color-hover-focus: var(--color-bus-dark);\n --border-color-disabled: var(--color-black-20);\n --color: var(--color-white);\n --color-hover: var(--color-white);\n --color-focus: var(--color-white);\n --color-hover-focus: var(--color-white);\n --color-disabled: var(--color-white);\n --focus-outline-color: var(--color-focus-outline);\n --submit-input-focus-gutter-color: var(--color-white);\n}\n\n/* SECONDARY */\n\n/* default (bus) */\n\n.hds-button--secondary {\n --background-color: transparent;\n --background-color-hover: var(--color-bus-light);\n --background-color-focus: transparent;\n --background-color-hover-focus: var(--color-bus-light);\n --background-color-disabled: transparent;\n --border-color: var(--color-bus);\n --border-color-hover: var(--color-bus-dark);\n --border-color-focus: var(--color-bus);\n --border-color-hover-focus: var(--color-bus-dark);\n --border-color-disabled: var(--color-black-50);\n --color: var(--color-bus);\n --color-hover: var(--color-bus-dark);\n --color-focus: var(--color-bus);\n --color-hover-focus: var(--color-bus-dark);\n --color-disabled: var(--color-black-40);\n --focus-outline-color: var(--color-focus-outline);\n --submit-input-focus-gutter-color: var(--color-white);\n}\n\n/* SUPPLEMENTARY */\n\n.hds-button--supplementary {\n --background-color: transparent;\n --background-color-hover: var(--color-bus-light);\n --background-color-focus: transparent;\n --background-color-hover-focus: var(--color-bus-light);\n --background-color-disabled: transparent;\n --border-color: transparent;\n --border-color-hover: transparent;\n --border-color-focus: var(--color-focus-outline);\n --border-color-hover-focus: var(--color-focus-outline);\n --border-color-disabled: transparent;\n --color: var(--color-bus);\n --color-hover: var(--color-bus-dark);\n --color-focus: var(--color-bus);\n --color-hover-focus: var(--color-bus-dark);\n --color-disabled: var(--color-black-40);\n --focus-outline-color: transparent;\n --submit-input-focus-gutter-color: transparent;\n}\n\n/* LOADING */\n\n.hds-button--loading {\n --background-color: transparent;\n --background-color-hover: transparent;\n --background-color-focus: transparent;\n --background-color-hover-focus: transparent;\n --background-color-disabled: transparent;\n --border-color: transparent;\n --border-color-hover: transparent;\n --border-color-focus: transparent;\n --border-color-hover-focus: transparent;\n --border-color-disabled: transparent;\n --color: var(--color-black-90);\n --color-hover: var(--color-black-90);\n --color-focus: var(--color-black-90);\n --color-hover-focus: var(--color-black-90);\n --color-disabled: var(--color-black-90);\n\n cursor: wait;\n}\n\n/* UTILITY */\n\n/* success */\n\n.hds-button--success {\n --background-color: var(--color-success);\n --background-color-hover: var(--color-success-dark);\n --background-color-focus: var(--color-success);\n --background-color-hover-focus: var(--color-success-dark);\n --border-color: var(--color-success);\n --border-color-hover: var(--color-success-dark);\n --border-color-focus: var(--color-success);\n --border-color-hover-focus: var(--color-success-dark);\n --color: var(--color-white);\n --color-hover: var(--color-white);\n --color-focus: var(--color-white);\n --color-hover-focus: var(--color-white);\n --focus-outline-color: var(--color-focus-outline);\n}\n\n/* danger */\n\n.hds-button--danger {\n --background-color: var(--color-error);\n --background-color-hover: var(--color-error-dark);\n --background-color-focus: var(--color-error);\n --background-color-hover-focus: var(--color-error-dark);\n --border-color: var(--color-error);\n --border-color-hover: var(--color-error-dark);\n --border-color-focus: var(--color-error);\n --border-color-hover-focus: var(--color-error-dark);\n --color: var(--color-white);\n --color-hover: var(--color-white);\n --color-focus: var(--color-white);\n --color-hover-focus: var(--color-white);\n --focus-outline-color: var(--color-focus-outline);\n}\n\n/* THEMES */\n\n/* coat */\n\n.hds-button--primary.hds-button--theme-coat {\n --background-color: var(--color-coat-of-arms);\n --background-color-hover: var(--color-coat-of-arms-dark);\n --background-color-focus: var(--color-coat-of-arms);\n --background-color-hover-focus: var(--color-coat-of-arms-dark);\n --border-color: var(--color-coat-of-arms);\n --border-color-hover: var(--color-coat-of-arms-dark);\n --border-color-focus: var(--color-coat-of-arms);\n --border-color-hover-focus: var(--color-coat-of-arms-dark);\n --color: var(--color-white);\n --color-hover: var(--color-white);\n --color-focus: var(--color-white);\n --color-hover-focus: var(--color-white);\n}\n\n.hds-button--secondary.hds-button--theme-coat {\n --background-color: transparent;\n --background-color-hover: var(--color-coat-of-arms-light);\n --background-color-focus: transparent;\n --background-color-hover-focus: var(--color-coat-of-arms-light);\n --border-color: var(--color-coat-of-arms);\n --border-color-hover: var(--color-coat-of-arms-dark);\n --border-color-focus: var(--color-coat-of-arms);\n --border-color-hover-focus: var(--color-coat-of-arms-dark);\n --color: var(--color-coat-of-arms);\n --color-hover: var(--color-coat-of-arms);\n --color-focus: var(--color-coat-of-arms);\n --color-hover-focus: var(--color-coat-of-arms);\n}\n\n.hds-button--supplementary.hds-button--theme-coat {\n --background-color: transparent;\n --background-color-hover: var(--color-coat-of-arms-light);\n --background-color-focus: transparent;\n --background-color-hover-focus: var(--color-coat-of-arms-light);\n --border-color: transparent;\n --border-color-hover: transparent;\n --border-color-focus: var(--color-focus-outline);\n --border-color-hover-focus: var(--color-focus-outline);\n --color: var(--color-coat-of-arms);\n --color-hover: var(--color-coat-of-arms);\n --color-focus: var(--color-coat-of-arms);\n --color-hover-focus: var(--color-coat-of-arms);\n}\n\n/* black */\n\n.hds-button--primary.hds-button--theme-black {\n --background-color: var(--color-black);\n --background-color-hover: var(--color-black);\n --background-color-focus: var(--color-black);\n --background-color-hover-focus: var(--color-black);\n --border-color: var(--color-black);\n --border-color-hover: var(--color-black);\n --border-color-focus: var(--color-black);\n --border-color-hover-focus: var(--color-black);\n --color: var(--color-white);\n --color-hover: var(--color-white);\n --color-focus: var(--color-white);\n --color-hover-focus: var(--color-white);\n}\n\n.hds-button--secondary.hds-button--theme-black {\n --background-color: transparent;\n --background-color-hover: var(--color-black-5);\n --background-color-focus: transparent;\n --background-color-hover-focus: var(--color-black-5);\n --border-color: var(--color-black);\n --border-color-hover: var(--color-black);\n --border-color-focus: var(--color-black);\n --border-color-hover-focus: var(--color-black);\n --color: var(--color-black);\n --color-hover: var(--color-black);\n --color-focus: var(--color-black);\n --color-hover-focus: var(--color-black);\n}\n\n.hds-button--supplementary.hds-button--theme-black {\n --background-color: transparent;\n --background-color-hover: var(--color-black-5);\n --background-color-focus: transparent;\n --background-color-hover-focus: var(--color-black-5);\n --border-color: transparent;\n --border-color-hover: transparent;\n --border-color-focus: var(--color-focus-outline);\n --border-color-hover-focus: var(--color-focus-outline);\n --color: var(--color-black);\n --color-hover: var(--color-black);\n --color-focus: var(--color-black);\n --color-hover-focus: var(--color-black);\n}\n\n.hds-icon {\n --icon-size: 100%;\n\n background-color: currentcolor;\n display: inline-block;\n height: var(--icon-size);\n -webkit-mask-position: center;\n mask-position: center;\n -webkit-mask-repeat: no-repeat;\n mask-repeat: no-repeat;\n -webkit-mask-size: auto;\n mask-size: auto;\n width: var(--icon-size);\n}\n\n.hds-icon.hds-icon--size-xs {\n --icon-size: var(--spacing-layout-2-xs);\n}\n\n.hds-icon.hds-icon--size-s {\n --icon-size: var(--spacing-layout-xs);\n}\n\n.hds-icon.hds-icon--size-m {\n --icon-size: var(--spacing-layout-s);\n}\n\n.hds-icon.hds-icon--size-l {\n --icon-size: var(--spacing-layout-m);\n}\n\n.hds-icon.hds-icon--size-xl {\n --icon-size: var(--spacing-layout-l);\n}\n\n.hds-icon--angle-right {\n -webkit-mask-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M13.5 12L8.5 7L10 5.5L16.5 12L10 18.5L8.5 17L13.5 12Z' fill='currentColor'%3E%3C/path%3E %3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M13.5 12L8.5 7L10 5.5L16.5 12L10 18.5L8.5 17L13.5 12Z' fill='currentColor'%3E%3C/path%3E %3C/svg%3E\");\n}\n\n.hds-icon--angle-left {\n -webkit-mask-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10.5 12L15.5 17L14 18.5L7.5 12L14 5.5L15.5 7L10.5 12Z' fill='currentColor'%3E%3C/path%3E %3C/svg%3E\");\n mask-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10.5 12L15.5 17L14 18.5L7.5 12L14 5.5L15.5 7L10.5 12Z' fill='currentColor'%3E%3C/path%3E %3C/svg%3E\");\n}\n\n.hds-pagination-container {\n text-align: center;\n}\n\n.hds-pagination {\n display: inline-block; /* Allows centering */\n font-size: var(--fontsize-body-m);\n font-weight: bold;\n line-height: var(--lineheight-l);\n position: relative; /* Enables position absolute for btn--next */\n transform: scaleY(-1); /* Trick for flipping the list float direction from bottom to up */\n\n --active-page-background-color: var(--color-black);\n --link-height: 40px;\n}\n\n/* Invisible, floated pseudo-element for reserving space for the hds-pagination__button-next,\nwe can not use this position for the actual button as it's in incorrect source order for tabbing */\n\n.hds-pagination:before {\n content: attr(data-next); /* Trick to keep floating element same size as btn--next */\n content: attr(data-next) / ''; /* Removes this pseudo-element from screen readers where supported */\n display: block;\n float: right; /* Floated pseudo-element wraps the inline ul around it */\n line-height: 56px;\n padding-left: 80px;\n speak: never; /* Removes this pseudo-element from screen readers where supported */\n visibility: hidden;\n}\n\n.hds-pagination .hds-pagination__button-prev {\n float: left;\n margin-right: 8px;\n transform: scaleY(-1); /* Flip the element back from upside down */\n white-space: nowrap;\n}\n\n.hds-pagination .hds-pagination__button-next {\n position: absolute;\n right: 0;\n top: 0; /* Remember that the position is flipped upside down, so this means actually bottom */\n transform: scaleY(-1); /* Flip the element back from upside down */\n white-space: nowrap;\n}\n\n.hds-pagination__pages {\n display: inline-flex; /* inline-flex allows floating it based on floated buttons when there is no more space */\n flex-wrap: wrap; /* Allow wrapping of the li-elements */\n grid-gap: var(--spacing-2-xs);\n gap: var(--spacing-2-xs);\n justify-content: center; /* Center the li-elements */\n list-style: none;\n margin-bottom: 0;\n margin-top: 8px;\n padding: 0;\n transform: scaleY(-1); /* Flip the element back from upside down */\n}\n\n.hds-pagination__item-link {\n align-items: center;\n border-radius: 21px;\n color: var(--color-black-90);\n display: flex;\n height: var(--link-height);\n justify-content: center;\n min-width: 32px;\n padding-left: var(--spacing-3-xs);\n padding-right: var(--spacing-3-xs);\n text-decoration: none;\n}\n\n.hds-pagination__item-link:hover {\n text-decoration: underline;\n}\n\n.hds-pagination__item-link:focus, .hds-pagination__item-link:active {\n outline: solid var(--color-focus-outline) 3px;\n outline-offset: 1px;\n}\n\n.hds-pagination__item-link.hds-pagination__item-link--active {\n background-color: var(--active-page-background-color);\n color: var(--color-white);\n}\n\n.hds-pagination__item-link.hds-pagination__item-link--active:hover {\n text-decoration: none;\n}\n\n.hds-pagination__item-ellipsis {\n align-items: center;\n color: var(--color-black-90);\n display: flex;\n height: var(--link-height);\n justify-content: center;\n width: 40px;\n}\n",".container {\n composes: hds-pagination-container from 'hds-core/lib/components/pagination/pagination.css';\n\n .hideNextButton {\n &:before {\n content: '';\n line-height: 0;\n padding-left: 0;\n }\n }\n}\n\n.buttonPrevious {\n composes: hds-pagination__button-prev from 'hds-core/lib/components/pagination/pagination.css';\n}\n\n.buttonNext {\n composes: hds-pagination__button-next from 'hds-core/lib/components/pagination/pagination.css';\n}\n\n.pagination {\n composes: hds-pagination from 'hds-core/lib/components/pagination/pagination.css';\n\n .buttonNext {\n div {\n margin-right: var(--spacing-2-xs);\n }\n }\n\n .buttonPrevious {\n div {\n margin-left: var(--spacing-2-xs);\n }\n }\n}\n\n.pages {\n composes: hds-pagination__pages from 'hds-core/lib/components/pagination/pagination.css';\n}\n\n.itemEllipsis {\n composes: hds-pagination__item-ellipsis from 'hds-core/lib/components/pagination/pagination.css';\n}\n\n.itemLink {\n composes: hds-pagination__item-link from 'hds-core/lib/components/pagination/pagination.css';\n}\n\n.itemLinkActive {\n composes: hds-pagination__item-link--active from 'hds-core/lib/components/pagination/pagination.css';\n}\n",".disabledShowPasswordButton {\n color: var(--color-black-40);\n}\n","@value small-down, medium-up from \"../../styles/breakpoints.scss\";\n\n.sideNavigation {\n --side-navigation-background-color: var(--color-white);\n --side-navigation-active-indicator-background-color: var(--color-bus);\n --side-navigation-icon-size: var(--spacing-m);\n --side-navigation-level-border-color: var(--color-white);\n --side-navigation-level-border-color-focus: var(--color-coat-of-arms);\n --side-navigation-level-border-color-hover: var(--color-black-5);\n --side-navigation-level-border-width: 2px;\n --side-navigation-level-background-color: var(--color-white);\n --side-navigation-level-background-color-active: var(--color-black-5);\n --side-navigation-level-background-color-hover: var(--color-black-5);\n --side-navigation-level-color: var(--color-black);\n --side-navigation-level-color-active: var(--color-black);\n --side-navigation-level-color-hover: var(--color-black);\n --side-navigation-level-inset: var(--spacing-s);\n --side-navigation-mobile-menu-border-color: var(--color-black);\n --side-navigation-mobile-menu-border-width: 2px;\n --side-navigation-mobile-menu-z-index: 100;\n\n background-color: var(--side-navigation-background-color);\n box-sizing: border-box;\n position: relative;\n\n @media medium-up {\n height: 100%;\n }\n}\n\n.toggleButton {\n @media medium-up {\n display: none;\n }\n}\n\n.mainLevelList {\n list-style: none;\n margin: 0;\n padding: 0;\n\n @media small-down {\n max-height: 0;\n overflow: hidden;\n\n &.open {\n background-color: var(--side-navigation-background-color);\n border: var(--side-navigation-mobile-menu-border-width) solid var(--side-navigation-mobile-menu-border-color);\n max-height: none;\n will-change: max-height;\n }\n }\n\n @media medium-up {\n display: block;\n }\n}\n","@import '../../styles/common.scss';\n\n%level {\n & > button {\n @extend %buttonReset;\n }\n\n & > a,\n & > button {\n align-items: center;\n background-color: var(--side-navigation-level-background-color);\n border: var(--side-navigation-level-border-width) solid var(--side-navigation-level-border-color);\n box-sizing: border-box;\n color: var(--side-navigation-level-color);\n display: flex;\n margin: 0;\n min-height: var(--spacing-2-xl);\n outline: none;\n padding: var(--spacing-2-xs) var(--side-navigation-level-inset);\n text-align: left;\n text-decoration: none;\n width: 100%;\n\n &:hover {\n background-color: var(--side-navigation-level-background-color-hover);\n border-color: var(--side-navigation-level-border-color-hover);\n color: var(--side-navigation-level-color-hover);\n }\n\n &:focus {\n border-color: var(--side-navigation-level-border-color-focus) !important;\n }\n\n span {\n display: flex;\n }\n }\n}\n\n%activeLevel {\n & > a,\n & > button {\n background-color: var(--side-navigation-level-background-color-active);\n border-color: var(--side-navigation-level-background-color-active);\n color: var(--side-navigation-level-color-active);\n font-weight: 600;\n position: relative;\n\n &:before {\n background: var(--side-navigation-active-indicator-background-color);\n bottom: calc(0px - var(--side-navigation-level-border-width));\n content: '';\n display: block;\n left: calc(0px - var(--side-navigation-level-border-width));\n position: absolute;\n top: calc(0px - var(--side-navigation-level-border-width));\n width: var(--spacing-3-xs);\n }\n }\n}\n","@import \"../sideNavigation.common\";\n\n\n.mainLevel {\n @extend %level;\n\n font-size: var(--fontsize-body-m);\n\n & > a,\n & > button {\n font-weight: 500;\n }\n}\n\n.active {\n @extend %activeLevel;\n}\n\n.mainLevelListMenu {\n display: none;\n}\n\n.mainLevelWithDivider {\n &:before {\n border-top: 1px solid var(--color-black-20);\n content: \"\";\n display: block;\n height: 1px;\n margin: var(--spacing-xs) var(--side-navigation-level-inset);\n }\n}\n\n.leftIcon,\n.label {\n margin-right: var(--spacing-xs);\n}\n\n.leftIcon,\n.rightIcon {\n width: var(--side-navigation-icon-size);\n}\n\n.rightIcon {\n margin-left: auto;\n}\n\n.mainLevel.open {\n .mainLevelListMenu {\n display: block;\n list-style: none;\n padding: 0;\n }\n}\n","@import \"../sideNavigation.common\";\n\n.subLevel {\n @extend %level;\n\n font-size: var(--fontsize-body-s);\n\n & > a,\n & > button {\n min-height: var(--spacing-xl);\n padding-bottom: var(--spacing-3-xs);\n padding-left: calc(var(--side-navigation-level-inset) + var(--spacing-2-xs));\n padding-top: var(--spacing-3-xs);\n }\n}\n\n.active {\n @extend %activeLevel;\n}\n",".hds-status-label {\n --status-label-background: var(--color-black-10);\n --status-label-color: var(--color-black-90);\n --status-label-height: 32px;\n\n background-color: var(--status-label-background);\n border-radius: 20px;\n color: var(--status-label-color);\n display: inline-block;\n font-size: var(--fontsize-body-s);\n line-height: var(--status-label-height);\n min-height: var(--status-label-height);\n padding: 0 var(--spacing-2-xs);\n vertical-align: middle;\n}\n\n.hds-status-label--with-icon {\n align-items: center;\n display: inline-flex;\n padding-left: var(--spacing-3-xs);\n}\n\n.hds-status-label-icon {\n height: var(--spacing-m);\n margin-right: var(--spacing-3-xs);\n width: var(--spacing-m);\n}\n\n.hds-status-label--info {\n --status-label-background: var(--color-info);\n --status-label-color: var(--color-white);\n}\n\n.hds-status-label--success {\n --status-label-background: var(--color-success);\n --status-label-color: var(--color-white);\n}\n\n.hds-status-label--alert {\n --status-label-background: var(--color-alert);\n}\n\n.hds-status-label--error {\n --status-label-background: var(--color-error);\n --status-label-color: var(--color-white);\n}\n",".statusLabel {\n composes: hds-status-label from 'hds-core/lib/components/status-label/status-label.css';\n}\n\n.statusLabelWithIcon {\n composes: hds-status-label--with-icon from 'hds-core/lib/components/status-label/status-label.css';\n}\n\n.statusLabelIcon {\n composes: hds-status-label-icon from 'hds-core/lib/components/status-label/status-label.css';\n}\n\n.info {\n composes: hds-status-label--info from 'hds-core/lib/components/status-label/status-label.css';\n}\n\n.success {\n composes: hds-status-label--success from 'hds-core/lib/components/status-label/status-label.css';\n}\n\n.alert {\n composes: hds-status-label--alert from 'hds-core/lib/components/status-label/status-label.css';\n}\n\n.error {\n composes: hds-status-label--error from 'hds-core/lib/components/status-label/status-label.css';\n}\n",".hds-step-by-step__container {\n position: relative;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\n.hds-step-by-step__container h1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n.hds-step-by-step__steps-container {\n --title-font-size: var(--fontsize-heading-m);\n --title-line-height: var(--lineheight-xl);\n\n counter-reset: item;\n margin: 0;\n padding: 0;\n}\n\nol.hds-step-by-step__steps-container {\n --circle-size: 48px;\n --step-left-padding: 96px;\n}\n\n.hds-step-by-step__step-item:before,\n.hds-step-by-step__step-item:after {\n box-sizing: border-box;\n content: '';\n display: block;\n left: calc(var(--circle-size) / 2 + var(--step-left-padding) / 2);\n position: absolute;\n top: calc(var(--spacing-l) + (var(--title-font-size) * var(--title-line-height) / 2) - (var(--circle-size) / 2));\n}\n\n.hds-step-by-step__step-item:after {\n background-color: #fff;\n border: 3px solid #000;\n border-radius: 50%;\n height: var(--circle-size);\n transform: translateX(-100%);\n width: var(--circle-size);\n z-index: 2;\n}\n\nol.hds-step-by-step__steps-container .hds-step-by-step__step-item:after {\n --line-height: 1.3;\n\n align-items: center;\n content: counter(item);\n counter-increment: item;\n display: flex;\n font-size: 1.25rem;\n font-weight: 500;\n justify-content: center;\n line-height: var(--line-height);\n}\n\n.hds-step-by-step__step-item {\n background-color: var(--color-coat-of-arms-light);\n list-style: none;\n margin: var(--spacing-l) 0;\n padding: var(--spacing-l) var(--spacing-l) var(--spacing-l) var(--step-left-padding);\n position: relative;\n}\n\nol.hds-step-by-step__steps-container .hds-step-by-step__step-item {\n padding: var(--spacing-l) var(--spacing-l) var(--spacing-l) var(--step-left-padding);\n}\n\nul.hds-step-by-step__steps-container {\n --circle-size: 18px;\n --step-left-padding: var(--spacing-5-xl);\n}\n\n.hds-step-by-step__step-item-title {\n font-size: var(--title-font-size);\n font-weight: 500;\n line-height: var(--title-line-height);\n margin: 0 0 16px;\n}\n\n.hds-step-by-step__step-item:before {\n background-color: #000;\n height: calc(100% + var(--spacing-l));\n transform: translateX(-50%) translateX(calc(-0.5 * var(--circle-size)));\n width: 2px;\n z-index: 1;\n}\n\n.hds-step-by-step__step-item:last-of-type:before {\n display: none;\n}\n",".container {\n position: relative;\n}\n\n.stepsContainer {\n composes: hds-step-by-step__steps-container from 'hds-core/lib/components/step-by-step/step-by-step.css';\n}\n\n.stepItem {\n composes: hds-step-by-step__step-item from 'hds-core/lib/components/step-by-step/step-by-step.css';\n}\n\n.stepItemTitle {\n composes: hds-step-by-step__step-item-title from 'hds-core/lib/components/step-by-step/step-by-step.css';\n}\n","@import \"../../styles/common.scss\";\n\n.stepperContainer {\n background-color: var(--hds-stepper-background-color);\n position: relative;\n\n --hds-stepper-color: var(--color-bus);\n --hds-stepper-background-color: var(--color-white);\n --hds-stepper-disabled-color: var(--color-black-20);\n --hds-selected-step-label-color: var(--color-black-90);\n --hds-not-selected-step-label-color: var(--color-bus);\n --hds-step-background-color: var(--color-white);\n --hds-step-content-color: var(--color-bus);\n --hds-stepper-focus-border-color: var(--color-coat-of-arms);\n --hds-step-width: 120px;\n --circle-container-size: 36px;\n --progress-line-height: 2px;\n}\n\n.stepper {\n align-items: flex-start;\n display: flex;\n justify-content: space-between;\n overflow: scroll;\n\n // Hide horizontal scrollbar on overflow\n -ms-overflow-style: none; /* IE and Edge */\n position: relative;\n scroll-behavior: smooth;\n scrollbar-width: none; /* Firefox */\n width: 100%;\n\n &:focus {\n outline: var(--hds-stepper-focus-border-color) 3px solid;\n }\n}\n\n.stepper::-webkit-scrollbar {\n display: none; // Hide horizontal scrollbar on overflow\n}\n\n.stepper.small {\n --hds-step-width: 44px;\n}\n\n.stepContainer {\n background-color: var(--hds-stepper-background-color);\n box-sizing: border-box;\n display: flex;\n flex-shrink: 0;\n justify-content: center;\n padding: 3px;\n width: var(--hds-step-width);\n}\n\n.label {\n color: var(--hds-not-selected-step-label-color);\n font-size: var(--fontsize-body-m);\n font-weight: 500;\n line-height: var(--lineheight-l);\n margin-bottom: 0;\n margin-top: 6px;\n padding-left: var(--spacing-4-xs);\n padding-right: var(--spacing-4-xs);\n text-decoration: underline;\n}\n\n.disabled .label {\n color: var(--hds-stepper-disabled-color);\n text-decoration: none;\n}\n\n.circle {\n align-items: center;\n background-color: var(--hds-step-background-color);\n border: 2px solid var(--hds-stepper-color);\n border-radius: 16px;\n color: var(--hds-step-content-color);\n display: flex;\n height: 28px;\n justify-content: center;\n outline: 2px solid var(--hds-stepper-background-color);\n text-align: center;\n width: 28px;\n}\n\n.disabled .circle {\n background-color: var(--hds-stepper-background-color);\n border: 2px solid var(--hds-stepper-disabled-color);\n color: var(--hds-stepper-disabled-color);\n}\n\n.selected .circle {\n border: 4px solid var(--hds-stepper-color);\n border-radius: 18px;\n outline: none;\n}\n\n.selected .label {\n color: var(--hds-selected-step-label-color);\n font-weight: bold;\n text-decoration: none;\n}\n\n.completedContainer {\n background-color: var(--hds-stepper-color);\n border-radius: 16px;\n outline: 2px solid var(--hds-stepper-background-color);\n padding: 4px;\n\n .completedIcon {\n color: var(--hds-step-background-color);\n vertical-align: middle;\n }\n}\n\n.step {\n @extend %normalizedInput;\n\n align-items: center;\n appearance: none;\n background: transparent;\n border: 0;\n color: var(--hds-stepper-color);\n cursor: pointer;\n display: flex;\n flex-direction: column;\n height: 100%;\n justify-content: center;\n outline: none;\n overflow: visible;\n padding: 0;\n position: relative;\n\n &:focus {\n .circle {\n outline: 2px solid var(--hds-stepper-focus-border-color);\n }\n\n .label {\n outline: 2px solid var(--hds-stepper-focus-border-color);\n }\n\n .completedContainer {\n outline: 2px solid var(--hds-stepper-focus-border-color);\n }\n }\n\n &:focus-visible {\n outline: none; // Revert firefox user agent focus styles\n }\n}\n\n.step.disabled {\n color: var(--hds-stepper-disabled-color);\n cursor: not-allowed;\n}\n\n.number {\n font-size: var(--fontsize-body-m);\n font-weight: 500;\n line-height: 1.15;\n}\n\n.circleContainer {\n align-items: center;\n display: flex;\n height: var(--circle-container-size);\n justify-content: center;\n width: var(--circle-container-size);\n z-index: 2;\n}\n\n.line {\n display: inline;\n height: var(--progress-line-height);\n left: calc(var(--hds-step-width) / 2.0);\n line-height: var(--lineheight-l);\n position: absolute;\n transform: translateY(calc((var(--circle-container-size) / 2) + (var(--progress-line-height) / 2)));\n z-index: 1;\n\n\n @mixin lineStep {\n display: inline-block;\n height: 100%;\n position: relative;\n top: -15px;\n }\n\n .disabledLine {\n @include lineStep;\n\n background-color: var(--hds-stepper-disabled-color);\n }\n\n .enabledLine {\n @include lineStep;\n\n background-color: var(--hds-stepper-color);\n }\n}\n\n.heading {\n composes: heading-l from 'hds-core/lib/utils/helpers.css';\n margin-top: 26px;\n width: fit-content;\n\n &:focus {\n border: none;\n outline: 3px solid var(--hds-stepper-focus-border-color);\n }\n}\n\n.scrollButton {\n background-color: var(--hds-stepper-background-color);\n color: var(--hds-stepper-color);\n position: absolute;\n top: 3px;\n z-index: 10;\n\n button {\n @extend %buttonReset;\n\n align-items: center;\n border: 2px solid transparent;\n border-radius: unset;\n box-sizing: border-box;\n display: inline-flex;\n justify-content: center;\n overflow: hidden;\n width: 100%;\n\n &:focus {\n border: 2px solid var(--hds-stepper-focus-border-color);\n outline: none;\n }\n }\n}\n\n.scrollButton.scrollButtonPrevious {\n left: 0;\n}\n\n.scrollButton.scrollButtonNext {\n right: 0;\n}\n\n","@import \"../../styles/common.scss\";\n\n.tabs {\n --tablist-border-color: var(--color-black-20);\n --tablist-border-size: 1px;\n --tab-color: var(--color-bus);\n --tab-font-size: var(--fontsize-body-m);\n --tab-height: 48px;\n --tab-min-width: 148px;\n --tab-spacing: var(--spacing-s);\n --tab-active-border-size: 5px;\n --tab-active-border-color: var(--color-bus);\n --tab-focus-outline-size: 2px;\n --tab-focus-outline-color: var(--color-coat-of-arms);\n}\n\n.tabs.small {\n --tab-min-width: 0;\n --tab-font-size: var(--fontsize-body-s);\n --tab-active-border-size: 3px;\n}\n\n.tablistBar {\n display: flex;\n flex-direction: row;\n}\n\n.scrollButton {\n align-items: center;\n color: var(--tab-color);\n display: flex;\n justify-content: center;\n margin-bottom: var(--tablist-border-size);\n position: relative;\n width: 26px;\n\n &:before {\n background: var(--tablist-border-color);\n bottom: 0;\n content: '';\n height: var(--tablist-border-size);\n position: absolute;\n width: 100%;\n z-index: 100;\n }\n\n button {\n @extend %buttonReset;\n\n align-items: center;\n border: var(--tab-focus-outline-size) solid transparent;\n border-radius: unset;\n box-sizing: border-box;\n display: inline-flex;\n height: 26px;\n justify-content: center;\n overflow: hidden;\n width: 100%;\n\n &:focus {\n border: var(--tab-focus-outline-size) solid var(--tab-focus-outline-color);\n outline: none;\n }\n }\n}\n\n.tablist {\n box-sizing: border-box;\n flex-grow: 1;\n margin-bottom: -1px;\n overflow-x: hidden;\n position: relative;\n\n ul {\n box-sizing: border-box;\n list-style: none;\n margin: 0;\n padding: 0;\n padding: var(--tab-focus-outline-size) 0;\n white-space: nowrap;\n }\n}\n\n.tab {\n display: inline-block;\n margin: 0;\n outline: none;\n padding: 0;\n\n span {\n align-items: center;\n box-sizing: border-box;\n color: var(--tab-color);\n cursor: pointer;\n display: flex;\n font-size: var(--tab-font-size);\n height: var(--tab-height);\n justify-content: center;\n margin: 0;\n min-width: var(--tab-min-width);\n padding: 0;\n padding-left: var(--tab-spacing);\n padding-right: var(--tab-spacing);\n position: relative;\n\n &:before {\n background: var(--tablist-border-color);\n bottom: 0;\n content: '';\n height: var(--tablist-border-size);\n position: absolute;\n width: 100%;\n z-index: 100;\n }\n }\n\n &:focus span {\n outline: none;\n\n &:after {\n --size: calc(100% + var(--tab-focus-outline-size) * 2);\n\n border: var(--tab-focus-outline-size) solid var(--tab-focus-outline-color);\n box-sizing: border-box;\n content: '';\n height: var(--size);\n left: 0;\n outline: none;\n position: absolute;\n top: calc(-1 * var(--tab-focus-outline-size));\n width: 100%;\n z-index: 200;\n }\n }\n\n &.active {\n span:before {\n background-color: var(--tab-active-border-color);\n bottom: 0;\n content: '';\n height: var(--tab-active-border-size);\n position: absolute;\n width: 100%;\n z-index: 100;\n }\n }\n}\n","@import \"../../styles/common.scss\";\n\n.timeInputFrame {\n align-items: center;\n display: inline-flex;\n padding: 0 calc(var(--spacing-s) - 3px);\n\n &.disabled {\n background-color: var(--input-background-disabled);\n border-color: var(--input-border-color-disabled);\n color: var(--input-color-disabled);\n cursor: not-allowed;\n\n &:hover {\n border-color: var(--input-border-color-disabled);\n }\n }\n}\n\n.fullInput {\n height: 0;\n opacity: 0;\n overflow: hidden;\n pointer-events: none;\n position: absolute;\n width: 0;\n}\n\n.fullInput, .partialInput {\n @extend %normalizedInput;\n}\n\n.partialInputLabel {\n @extend %visuallyHidden;\n}\n\n.partialInput, .divider {\n appearance: none;\n background: transparent;\n border: 0;\n box-sizing: border-box;\n color: var(--input-color-default);\n font-size: 1.125rem;\n line-height: normal;\n padding: 0;\n}\n\n.partialInput {\n overflow: visible;\n padding: 0;\n text-align: center;\n width: 1.40rem;\n will-change: transform, box-shadow;\n\n &:focus {\n box-shadow: 0 0 0 var(--outline-width) var(--focus-outline-color);\n outline: none;\n transform: translate3d(0, 0, 0);\n\n &::placeholder {\n opacity: 0;\n }\n }\n}\n\n.divider {\n display: inline-block;\n margin: 0 5px;\n pointer-events: none;\n width: auto;\n}\n\n.input.disabled {\n .partialInput, .divider {\n background-color: var(--input-background-disabled);\n border-color: var(--input-border-color-disabled);\n color: var(--input-color-disabled);\n cursor: not-allowed;\n }\n}\n","@import '../../styles/common.scss';\n\n.toggleButtonContainer {\n --toggle-button-color: var(--color-bus);\n --toggle-button-hover-color: var(--color-bus-dark);\n --toggle-button-unselected-color: var(--color-black-90);\n}\n\n.label {\n @extend %inputLabel;\n}\n\n.onIcon {\n color: white;\n opacity: 0;\n}\n\n.offIcon {\n color: var(--toggle-button-unselected-color);\n opacity: 1;\n}\n\n.toggleButton {\n $toggle-button-height: 32px;\n $toggle-button-width: 56px;\n $toggle-button-border-width: 2px;\n $toggle-button-border-radius: 20px;\n $toggle-button-icon-width: 24px;\n $toggle-button-outline-width: 3px;\n $toggle-button-outline-offset: 2px;\n $toggle-button-checked-icon-margin: $toggle-button-width - ($toggle-button-icon-width + 8px);\n\n @extend %normalizedInput;\n \n background: #fff;\n border: $toggle-button-border-width solid var(--toggle-button-unselected-color);\n border-radius: $toggle-button-border-radius;\n cursor: pointer;\n display: inline-block;\n height: $toggle-button-height;\n inset: 0;\n position: relative;\n transition: all 200ms;\n width: $toggle-button-width;\n\n\n &:after {\n $calculated-offset: ($toggle-button-border-width + $toggle-button-outline-width + $toggle-button-outline-offset) * -1;\n\n border-radius: $toggle-button-border-radius + 5px;\n content: '';\n display: block;\n inset: $calculated-offset;\n position: absolute;\n }\n\n &:focus {\n outline: none;\n\n &:after {\n border: $toggle-button-outline-width solid var(--color-coat-of-arms);\n box-sizing: content-box;\n }\n }\n\n &[aria-pressed='true'] {\n background-color: var(--toggle-button-color);\n border-color: var(--toggle-button-color);\n\n &:hover {\n background-color: var(--toggle-button-hover-color);\n border-color: var(--toggle-button-hover-color);\n }\n\n &[disabled],\n &[disabled]:hover {\n background-color: var(--color-black-10);\n border-color: var(--color-black-10);\n }\n\n & .onIcon {\n margin-left: $toggle-button-checked-icon-margin !important;\n opacity: 1;\n }\n\n & .offIcon {\n margin-left: $toggle-button-checked-icon-margin !important;\n opacity: 0;\n }\n }\n\n &[disabled],\n &[disabled]:hover {\n border-color: var(--color-black-20);\n cursor: not-allowed;\n\n & .offIcon {\n color: var(--color-black-10);\n }\n }\n}\n\n.toggleButtonContainerInlineVariant {\n align-items: center;\n display: flex;\n flex-wrap: wrap;\n\n .label {\n margin-bottom: 0;\n }\n\n .toggleButton {\n margin-left: auto;\n }\n}\n\n.labelContainer {\n align-items: flex-start;\n display: flex;\n}\n\n.tooltipButton {\n display: block; // Remove the impact of the label's line-height on the tooltip button height. Usually, the tooltip is an element with an absolute position.\n margin-left: var(--spacing-2-xs);\n}\n\n.toggleButtonIcon {\n cursor: pointer;\n left: -2px;\n position: absolute;\n top: -2px;\n transition: all 200ms;\n}",".hds-example-form {\n margin: 0 auto;\n max-width: 792px;\n\n &__main-title {\n composes: heading-xl from 'hds-core/lib/utils/helpers.css';\n margin: 0 0 var(--spacing-m) 0;\n }\n\n &__title {\n font-size: var(--fontsize-heading-l);\n font-weight: 400;\n letter-spacing: -0.4px;\n line-height: var(--lineheight-s);\n margin: 0 0 var(--spacing-m) 0;\n }\n\n &__required-info {\n font-size: var(--fontsize-body-m);\n line-height: var(--lineheight-l);\n margin: 0 0 var(--spacing-l) 0;\n }\n\n &__error-summary {\n margin-bottom: var(--spacing-m);\n }\n\n &__section {\n margin-bottom: var(--spacing-xl);\n\n &-title {\n composes: heading-s from 'hds-core/lib/utils/helpers.css';\n margin: 0 0 var(--spacing-m);\n }\n }\n\n &__item {\n margin-bottom: var(--spacing-m);\n }\n\n &__terms {\n margin-left: var(--spacing-l);\n margin-top: var(--spacing-2-xs);\n\n span {\n color: var(--color-bus);\n cursor: pointer;\n text-decoration: underline;\n }\n }\n\n @media (min-width: 576px) {\n &__grid {\n &-6-6 {\n display: grid;\n gap: var(--spacing-m);\n grid-template-columns: 1fr 1fr;\n }\n\n &-8-4 {\n display: grid;\n gap: var(--spacing-m);\n grid-template-columns: 2fr 1fr;\n }\n\n &-6-6:last-child,\n &-8-4:last-child {\n margin-bottom: calc(-1 * var(--spacing-m));\n }\n }\n }\n}"],"names":[],"sourceRoot":""}
\ No newline at end of file
diff --git a/docs/hds-1909-react/iframe.html b/docs/hds-1909-react/iframe.html
index 34a5c93a02f..fab5c7b56e6 100644
--- a/docs/hds-1909-react/iframe.html
+++ b/docs/hds-1909-react/iframe.html
@@ -324,7 +324,7 @@
/* eslint-enable object-shorthand */
})
);
- };
\n \n \n \n \n
Applied theme:
\n
{JSON.stringify(heroProps.theme, null, 2)} \n
\n \n
Applied koros:
\n
{JSON.stringify(heroProps.koros, null, 2)} \n
\n \n );\n};\n\nPlaygroundForKoros.argTypes = {\n ...getDisabledControl('centeredContent'),\n ...getDisabledControl('imageSrc'),\n type: {\n defaultValue: 'basic',\n description: 'Koros type',\n control: {\n type: 'select',\n options: ['basic', 'beat', 'pulse', 'storm', 'wave', 'calm'],\n },\n ...getKorosPropertyDescriptionAsSummary(),\n },\n color: {\n control: { type: 'color' },\n description: 'Koros color. Default is \"--background-color\"',\n ...getThemePropertyDescriptionAsSummary('--koros-color'),\n },\n hide: {\n control: 'boolean',\n description: 'Hide koros. Most variants override this setting.',\n ...getKorosPropertyDescriptionAsSummary(),\n },\n dense: {\n control: 'boolean',\n description: 'Use dense koros version or not',\n ...getKorosPropertyDescriptionAsSummary(),\n },\n diagonalKorosPosition: {\n ...korosPosition,\n ...getThemePropertyDescriptionAsSummary('--diagonal-koros-position'),\n },\n flipVertical: {\n control: 'boolean',\n description: 'Flip koros vertically. Most variants override this setting.',\n ...getKorosPropertyDescriptionAsSummary(),\n },\n ...createVariantArg('diagonalKoros'),\n};\n\nexport const EmbeddedToPage = (args) => {\n const { preset, variant } = args;\n const props = getDefaultArgs(variant, preset);\n const NoImage = () => {\n if (preset === noImageOptions[1]) {\n return ;\n }\n if (preset === noImageOptions[2]) {\n return ;\n }\n return ;\n };\n return (\n \n \n {variant === 'imageRight' && }\n {variant === 'imageLeft' && }\n {variant === 'backgroundImage' && (\n \n )}\n {variant === 'diagonalKoros' && }\n {variant === 'noImage' && }\n {variant === 'imageBottom' && }\n \n Component after hero \n This component shows padding after hero\n \n
\n );\n};\n\nEmbeddedToPage.argTypes = {\n ...getDisabledControl('koros'),\n ...getDisabledControl('theme'),\n ...getDisabledControl('imageSrc'),\n ...getDisabledControl('centeredContent'),\n ...createVariantArg('noImage'),\n preset: {\n defaultValue: noImageOptions[1],\n control: {\n type: 'select',\n options: noImageOptions,\n },\n table: {\n type: {\n summary:\n 'Changes to another version of the \"noImage\" variant. Storybook control, not an actual component property',\n },\n },\n },\n};\n\nconst demoPadding = '55px';\nconst demoBgColor = '#f5a3c7';\n\nexport const PlaygroundForTheme = (args) => {\n const argsAsTheme = {\n '--background-color': args.backgroundColor,\n '--color': args.color,\n '--image-position': args.imagePosition,\n '--koros-color': args.korosColor,\n '--diagonal-koros-position': args.diagonalKorosPosition,\n '--horizontal-padding-small': args.horizontalPaddingSmall,\n '--horizontal-padding-medium': args.horizontalPaddingMedium,\n '--horizontal-padding-large': args.horizontalPaddingLarge,\n '--horizontal-padding-x-large': args.horizontalPaddingXLarge,\n ...args.theme,\n };\n\n const theme = Object.fromEntries(Object.entries(argsAsTheme).filter(([, value]) => !!value));\n const heroProps: HeroProps = {\n koros: args.koros,\n theme,\n imageSrc: imageFile,\n variant: args.variant,\n };\n return (\n \n \n
\n \n \n
\n
This text should align with the hero content box on all screen sizes
\n
\n
\n
Applied theme:
\n
{JSON.stringify(theme, null, 2)} \n
\n
\n );\n};\n\nPlaygroundForTheme.argTypes = {\n ...getDisabledControl('centeredContent'),\n ...getDisabledControl('imageSrc'),\n backgroundColor: {\n defaultValue: demoBgColor,\n control: 'color',\n description: 'Background color. Also koros color, if not set.',\n ...getThemePropertyDescriptionAsSummary('--background-color'),\n },\n color: {\n defaultValue: '',\n control: 'color',\n description: 'Text color.',\n ...getThemePropertyDescriptionAsSummary('--color'),\n },\n korosColor: {\n defaultValue: '',\n control: 'color',\n description: 'Optional koros color. Default is \"--background-color\"',\n ...getThemePropertyDescriptionAsSummary('--koros-color'),\n },\n imagePosition: {\n defaultValue: '',\n description:\n 'How image is aligned to its container when image is larger than the container. Value can be any valid value for css rule \"object-fit\"',\n control: {\n type: 'select',\n options: [\n 'top left',\n 'top center',\n 'top right',\n 'center left',\n 'center center',\n 'center right',\n 'bottom left',\n 'bottom center',\n 'bottom right',\n '',\n ],\n },\n ...getThemePropertyDescriptionAsSummary('--image-position'),\n },\n diagonalKorosPosition: {\n ...korosPosition,\n ...getThemePropertyDescriptionAsSummary('--diagonal-koros-position'),\n },\n horizontalPaddingSmall: {\n defaultValue: demoPadding,\n control: 'text',\n description: 'Horizontal padding on small screens <768px.',\n ...getThemePropertyDescriptionAsSummary('--horizontal-padding-small'),\n },\n horizontalPaddingMedium: {\n defaultValue: demoPadding,\n control: 'text',\n description: 'Horizontal padding on medium screens >=768px.',\n ...getThemePropertyDescriptionAsSummary('--horizontal-padding-medium'),\n },\n horizontalPaddingLarge: {\n defaultValue: demoPadding,\n control: 'text',\n description: 'Horizontal padding on large screens >=992px.',\n ...getThemePropertyDescriptionAsSummary('--horizontal-padding-large'),\n },\n horizontalPaddingXLarge: {\n defaultValue: demoPadding,\n control: 'text',\n description: 'Horizontal padding on x-large screens >=1248px.',\n ...getThemePropertyDescriptionAsSummary('--horizontal-padding-x-large'),\n },\n ...createVariantArg('backgroundImage'),\n};\n\nexport const AllHeroes = () => {\n const Divider = () => {\n return
;\n };\n\n return (\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n );\n};\n\nAllHeroes.argTypes = {\n ...getDisabledControl('koros'),\n ...getDisabledControl('theme'),\n ...getDisabledControl('imageSrc'),\n ...getDisabledControl('centeredContent'),\n ...getDisabledControl('variant'),\n};\n",locationsMap:{"image-left":{startLoc:{col:25,line:234},endLoc:{col:1,line:240},startBody:{col:25,line:234},endBody:{col:1,line:240}},"image-right":{startLoc:{col:26,line:247},endLoc:{col:1,line:253},startBody:{col:26,line:247},endBody:{col:1,line:253}},"without-image":{startLoc:{col:28,line:261},endLoc:{col:1,line:267},startBody:{col:28,line:261},endBody:{col:1,line:267}},"without-image-koros-overlay":{startLoc:{col:40,line:282},endLoc:{col:1,line:288},startBody:{col:40,line:282},endBody:{col:1,line:288}},"without-image-and-koros":{startLoc:{col:36,line:302},endLoc:{col:1,line:308},startBody:{col:36,line:302},endBody:{col:1,line:308}},"background-image":{startLoc:{col:31,line:321},endLoc:{col:1,line:327},startBody:{col:31,line:321},endBody:{col:1,line:327}},"diagonal-koros":{startLoc:{col:29,line:337},endLoc:{col:1,line:343},startBody:{col:29,line:337},endBody:{col:1,line:343}},"image-bottom":{startLoc:{col:27,line:354},endLoc:{col:1,line:360},startBody:{col:27,line:354},endBody:{col:1,line:360}},"playground-for-koros":{startLoc:{col:34,line:371},endLoc:{col:1,line:411},startBody:{col:34,line:371},endBody:{col:1,line:411}},"embedded-to-page":{startLoc:{col:30,line:452},endLoc:{col:1,line:481},startBody:{col:30,line:452},endBody:{col:1,line:481}},"playground-for-theme":{startLoc:{col:34,line:507},endLoc:{col:1,line:558},startBody:{col:34,line:507},endBody:{col:1,line:558}},"all-heroes":{startLoc:{col:25,line:633},endLoc:{col:1,line:659},startBody:{col:25,line:633},endBody:{col:1,line:659}}}},controls:{expanded:!0}},args:{}};var variantSelection={defaultValue:"noImage",control:{type:"select",options:["imageLeft","imageRight","backgroundImage","imageBottom","diagonalKoros","noImage"]}},korosPosition={defaultValue:"45%",control:"text",description:'Position of the koros in the variant "diagonalKoros".'},imageLeftOrRightTheme={"--background-color":"#c2a251","--color":"#000"},noImageOptions=["","Without image","Without image II","Without image and koros"],getThemePropertyDescriptionAsSummary=function getThemePropertyDescriptionAsSummary(themeVariable){return{table:{type:{summary:'Storybook control for a theme variable, not an actual component property. Given value is set to theme property as "'.concat(themeVariable,'".')}}}},getDisabledControl=function getDisabledControl(control,notUsed){var description="*** ".concat(control,notUsed?" is not used in this variant ***":" is not passed to the component in this story ***");return(0,defineProperty.Z)({},control,{description,control:!1,table:{type:{summary:"Disabled"}}})},getDefaultArgs=function getDefaultArgs(variant,preset){var defaultValuePicker=function defaultValuePicker(args){return Object.entries(args).reduce((function(currentObject,_ref2){var _ref3=(0,slicedToArray.Z)(_ref2,2),prop=_ref3[0],value=_ref3[1];return value.defaultValue?(0,objectSpread2.Z)((0,objectSpread2.Z)({},currentObject),{},(0,defineProperty.Z)({},prop,value.defaultValue)):currentObject}),{})};if("noImage"===variant)return defaultValuePicker(preset===noImageOptions[1]?WithoutImage.argTypes:preset===noImageOptions[2]?WithoutImageKorosOverlay.argTypes:WithoutImageAndKoros.argTypes);switch(variant){case"backgroundImage":return defaultValuePicker(BackgroundImage.argTypes);case"imageLeft":return defaultValuePicker(ImageLeft.argTypes);case"imageRight":return defaultValuePicker(ImageRight.argTypes);case"imageBottom":return defaultValuePicker(ImageBottom.argTypes);case"diagonalKoros":return defaultValuePicker(DiagonalKoros.argTypes);default:return{}}},defaultImageSrcArg={imageSrc:{defaultValue:placeholder_1920x1080,control:"text"}},createCenteredContentArg=function createCenteredContentArg(defaultValue){return{centeredContent:{defaultValue,control:"boolean"}}},createThemeArg=function createThemeArg(themeProps){return{theme:{defaultValue:(0,objectSpread2.Z)({},themeProps),control:"object"}}},createKorosArg=function createKorosArg(korosProps){return{koros:{defaultValue:(0,objectSpread2.Z)({},korosProps),control:"object"}}},createVariantArg=function createVariantArg(defaultValue){return{variant:(0,objectSpread2.Z)((0,objectSpread2.Z)({},variantSelection),{},{defaultValue})}},DefaultContent=function DefaultContent(props){var title=props.title,text=props.text,buttonTheme=props.buttonTheme,h1Text=title||"Welcome to the hero story",paragraphText=text||"Nullam ut nunc consectetur, accumsan nunc sed, luctus nisl. Curabitur lacinia tristique est, sit amet egestas velit elementum sit amet. Nam lacinia volutpat erat vel faucibus.",buttonStyle="black"!==buttonTheme?{"--background-color":"#fff","--color":"#000","--border-color":"#fff","--color-focus":"#000","--color-hover":"#fff","--color-hover-focus":"#fff","--background-color-focus":"#fff","--background-color-hover":"#000","--border-color-hover":"#fff","--background-color-hover-focus":"#000"}:{"--background-color":"#000","--color":"#fff","--border-color":"#000","--color-focus":"#fff","--background-color-focus":"#000","--background-color-hover":"#fff","--background-color-hover-focus":"#fff"};return(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsx)(Hero.Title,{children:h1Text}),(0,jsx_runtime.jsx)(Hero.Text,{children:paragraphText}),(0,jsx_runtime.jsx)(Button.z,{variant:"secondary",role:"link",style:buttonTheme?buttonStyle:{},children:"Click me"})]})},languages=[{label:"Suomi",value:"fi"},{label:"Svenska",value:"sv"},{label:"English",value:"en"}],NavigationComponent=function NavigationComponent(){return(0,jsx_runtime.jsxs)(Header.h,{languages,children:[(0,jsx_runtime.jsx)(Header.h.SkipLink,{skipTo:"#content",label:"Skip to main content"}),(0,jsx_runtime.jsx)(Header.h.ActionBar,{title:"Helsingin kaupunki",titleAriaLabel:"Helsingin kaupunki",titleHref:"https://hel.fi",logoAriaLabel:"Service logo",logoHref:"https://hel.fi",menuButtonAriaLabel:"Menu",logo:(0,jsx_runtime.jsx)(Logo.TR,{src:Logo.Cv,alt:"Helsingin kaupunki"}),children:(0,jsx_runtime.jsx)(Header.h.LanguageSelector,{ariaLabel:"Kielen valinta"})}),(0,jsx_runtime.jsxs)(Header.h.NavigationMenu,{children:[(0,jsx_runtime.jsx)(Header.h.Link,{href:"#",label:"Link",active:!0,onClick:function onClick(e){return e.preventDefault()}}),(0,jsx_runtime.jsx)(Header.h.Link,{href:"#",label:"Link",onClick:function onClick(e){return e.preventDefault()}}),(0,jsx_runtime.jsx)(Header.h.Link,{href:"#",label:"Link",onClick:function onClick(e){return e.preventDefault()}}),(0,jsx_runtime.jsx)(Header.h.Link,{href:"#",label:"Link",onClick:function onClick(e){return e.preventDefault()}}),(0,jsx_runtime.jsx)(Header.h.Link,{href:"#",label:"Dropdown",onClick:function onClick(e){return e.preventDefault()},dropdownLinks:[(0,jsx_runtime.jsx)(Header.h.Link,{href:"#",label:"Link",onClick:function onClick(e){return e.preventDefault()}}),(0,jsx_runtime.jsx)(Header.h.Link,{href:"#",label:"Link",onClick:function onClick(e){return e.preventDefault()}}),(0,jsx_runtime.jsx)(Header.h.Link,{href:"#",label:"Link",onClick:function onClick(e){return e.preventDefault()}}),(0,jsx_runtime.jsx)(Header.h.Link,{href:"#",label:"Link",onClick:function onClick(e){return e.preventDefault()}})]})]})]})},ImageLeft=function ImageLeft(args){return(0,jsx_runtime.jsx)(Hero,(0,objectSpread2.Z)((0,objectSpread2.Z)({},args),{},{children:(0,jsx_runtime.jsx)(DefaultContent,{buttonTheme:"black"})}))};ImageLeft.argTypes=(0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)({},defaultImageSrcArg),createThemeArg(imageLeftOrRightTheme)),createVariantArg("imageLeft"));var ImageRight=function ImageRight(args){return(0,jsx_runtime.jsx)(Hero,(0,objectSpread2.Z)((0,objectSpread2.Z)({},args),{},{children:(0,jsx_runtime.jsx)(DefaultContent,{buttonTheme:"black"})}))};ImageRight.argTypes=(0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)({},getDisabledControl("variant")),defaultImageSrcArg),createThemeArg(imageLeftOrRightTheme)),createVariantArg("imageRight"));var WithoutImage=function WithoutImage(args){return(0,jsx_runtime.jsx)(Hero,(0,objectSpread2.Z)((0,objectSpread2.Z)({},args),{},{children:(0,jsx_runtime.jsx)(DefaultContent,{})}))};WithoutImage.argTypes=(0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)({},getDisabledControl("imageSrc",!0)),createThemeArg({"--background-color":"#9fc9eb","--color":"#000","--koros-color":"#009246","--koros-height":"82px"})),createKorosArg({type:"pulse"})),createVariantArg("noImage")),createCenteredContentArg(!0));var WithoutImageKorosOverlay=function WithoutImageKorosOverlay(args){return(0,jsx_runtime.jsx)(Hero,(0,objectSpread2.Z)((0,objectSpread2.Z)({},args),{},{children:(0,jsx_runtime.jsx)(DefaultContent,{buttonTheme:"white"})}))};WithoutImageKorosOverlay.argTypes=(0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)({},getDisabledControl("imageSrc",!0)),createThemeArg({"--background-color":"#000","--color":"#fff","--koros-color":"#000"})),createKorosArg({flipVertical:!0})),createVariantArg("noImage")),createCenteredContentArg(!1));var WithoutImageAndKoros=function WithoutImageAndKoros(args){return(0,jsx_runtime.jsx)(Hero,(0,objectSpread2.Z)((0,objectSpread2.Z)({},args),{},{children:(0,jsx_runtime.jsx)(DefaultContent,{})}))};WithoutImageAndKoros.argTypes=(0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)({},getDisabledControl("imageSrc",!0)),createThemeArg({"--background-color":"#fff","--color":"#000"})),createKorosArg({hide:!0})),createVariantArg("noImage")),createCenteredContentArg(!1));var BackgroundImage=function BackgroundImage(args){return(0,jsx_runtime.jsx)(Hero,(0,objectSpread2.Z)((0,objectSpread2.Z)({},args),{},{children:(0,jsx_runtime.jsx)(DefaultContent,{buttonTheme:"black"})}))};BackgroundImage.argTypes=(0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)({},defaultImageSrcArg),createThemeArg({"--background-color":"#fff"})),createVariantArg("backgroundImage"));var DiagonalKoros=function DiagonalKoros(args){return(0,jsx_runtime.jsx)(Hero,(0,objectSpread2.Z)((0,objectSpread2.Z)({},args),{},{children:(0,jsx_runtime.jsx)(DefaultContent,{buttonTheme:"black"})}))};DiagonalKoros.argTypes=(0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)({},defaultImageSrcArg),createThemeArg({"--background-color":"#f5a3c7","--color":"#000"})),createVariantArg("diagonalKoros"));var ImageBottom=function ImageBottom(args){return(0,jsx_runtime.jsx)(Hero,(0,objectSpread2.Z)((0,objectSpread2.Z)({},args),{},{children:(0,jsx_runtime.jsx)(DefaultContent,{})}))};ImageBottom.storyName="Bottom image",ImageBottom.argTypes=(0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)({},defaultImageSrcArg),createThemeArg({"--background-color":"#fff","--image-position":"bottom left"})),createVariantArg("imageBottom"));var PlaygroundForKoros=function PlaygroundForKoros(args){var heroProps={koros:(0,objectSpread2.Z)({type:args.type,dense:!!args.dense,hide:!!args.hide},args.koros),theme:(0,objectSpread2.Z)({"--background-color":"#9fc9eb","--koros-color":args.color||"#9fc9eb","--diagonal-koros-position":args.diagonalKorosPosition},args.theme),imageSrc:placeholder_1920x1080,variant:args.variant};return(0,jsx_runtime.jsxs)("div",{children:[(0,jsx_runtime.jsx)("style",{children:"\n .theme {\n padding: 20px;\n font-size:10px;\n }\n "}),(0,jsx_runtime.jsx)(Hero,(0,objectSpread2.Z)((0,objectSpread2.Z)({},heroProps),{},{children:(0,jsx_runtime.jsx)(DefaultContent,{})})),(0,jsx_runtime.jsxs)("div",{className:"theme",children:[(0,jsx_runtime.jsx)("p",{children:"Applied theme:"}),(0,jsx_runtime.jsx)("pre",{children:JSON.stringify(heroProps.theme,null,2)})]}),(0,jsx_runtime.jsxs)("div",{className:"theme",children:[(0,jsx_runtime.jsx)("p",{children:"Applied koros:"}),(0,jsx_runtime.jsx)("pre",{children:JSON.stringify(heroProps.koros,null,2)})]})]})};PlaygroundForKoros.argTypes=(0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)({},getDisabledControl("centeredContent")),getDisabledControl("imageSrc")),{},{type:(0,objectSpread2.Z)({defaultValue:"basic",description:"Koros type",control:{type:"select",options:["basic","beat","pulse","storm","wave","calm"]}},{table:{type:{summary:'Storybook control for a koros property, not an actual component property. Given value is set to the "koros" property of the component.'}}}),color:(0,objectSpread2.Z)({control:{type:"color"},description:'Koros color. Default is "--background-color"'},getThemePropertyDescriptionAsSummary("--koros-color")),hide:(0,objectSpread2.Z)({control:"boolean",description:"Hide koros. Most variants override this setting."},{table:{type:{summary:'Storybook control for a koros property, not an actual component property. Given value is set to the "koros" property of the component.'}}}),dense:(0,objectSpread2.Z)({control:"boolean",description:"Use dense koros version or not"},{table:{type:{summary:'Storybook control for a koros property, not an actual component property. Given value is set to the "koros" property of the component.'}}}),diagonalKorosPosition:(0,objectSpread2.Z)((0,objectSpread2.Z)({},korosPosition),getThemePropertyDescriptionAsSummary("--diagonal-koros-position")),flipVertical:(0,objectSpread2.Z)({control:"boolean",description:"Flip koros vertically. Most variants override this setting."},{table:{type:{summary:'Storybook control for a koros property, not an actual component property. Given value is set to the "koros" property of the component.'}}})},createVariantArg("diagonalKoros"));var EmbeddedToPage=function EmbeddedToPage(args){var preset=args.preset,variant=args.variant,props=getDefaultArgs(variant,preset),NoImage=function NoImage(){return preset===noImageOptions[1]?(0,jsx_runtime.jsx)(WithoutImage,(0,objectSpread2.Z)({},props)):preset===noImageOptions[2]?(0,jsx_runtime.jsx)(WithoutImageKorosOverlay,(0,objectSpread2.Z)({},props)):(0,jsx_runtime.jsx)(WithoutImageAndKoros,(0,objectSpread2.Z)({},props))};return(0,jsx_runtime.jsxs)("div",{style:{display:"flex",flexDirection:"column"},children:[(0,jsx_runtime.jsx)(NavigationComponent,{}),"imageRight"===variant&&(0,jsx_runtime.jsx)(ImageRight,(0,objectSpread2.Z)({},props)),"imageLeft"===variant&&(0,jsx_runtime.jsx)(ImageLeft,(0,objectSpread2.Z)({},props)),"backgroundImage"===variant&&(0,jsx_runtime.jsx)(BackgroundImage,(0,objectSpread2.Z)({},(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{theme:{"--koros-color":"var(--color-fog)"}}))),"diagonalKoros"===variant&&(0,jsx_runtime.jsx)(DiagonalKoros,(0,objectSpread2.Z)({},props)),"noImage"===variant&&(0,jsx_runtime.jsx)(NoImage,(0,objectSpread2.Z)({},props)),"imageBottom"===variant&&(0,jsx_runtime.jsx)(ImageBottom,(0,objectSpread2.Z)({},props)),(0,jsx_runtime.jsxs)(Section.$,{color:"secondary",children:[(0,jsx_runtime.jsx)("h1",{className:"heading-xl",children:"Component after hero"}),"This component shows padding after hero"]})]})};EmbeddedToPage.argTypes=(0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)({},getDisabledControl("koros")),getDisabledControl("theme")),getDisabledControl("imageSrc")),getDisabledControl("centeredContent")),createVariantArg("noImage")),{},{preset:{defaultValue:noImageOptions[1],control:{type:"select",options:noImageOptions},table:{type:{summary:'Changes to another version of the "noImage" variant. Storybook control, not an actual component property'}}}});var PlaygroundForTheme=function PlaygroundForTheme(args){var argsAsTheme=(0,objectSpread2.Z)({"--background-color":args.backgroundColor,"--color":args.color,"--image-position":args.imagePosition,"--koros-color":args.korosColor,"--diagonal-koros-position":args.diagonalKorosPosition,"--horizontal-padding-small":args.horizontalPaddingSmall,"--horizontal-padding-medium":args.horizontalPaddingMedium,"--horizontal-padding-large":args.horizontalPaddingLarge,"--horizontal-padding-x-large":args.horizontalPaddingXLarge},args.theme),theme=Object.fromEntries(Object.entries(argsAsTheme).filter((function(_ref4){return!!(0,slicedToArray.Z)(_ref4,2)[1]}))),heroProps={koros:args.koros,theme,imageSrc:placeholder_1920x1080,variant:args.variant};return(0,jsx_runtime.jsxs)("div",{children:[(0,jsx_runtime.jsx)("style",{children:"\n .oddly-padded {\n padding: 20px ".concat("55px",";\n background:").concat("#f5a3c7",";\n }\n .oddly-padded p{\n max-width: var(--container-width-xl);\n margin: 0 auto;\n }\n .theme {\n padding: 20px 20px 20px ").concat("55px",";\n font-size:10px;\n }\n ")}),(0,jsx_runtime.jsx)(Hero,(0,objectSpread2.Z)((0,objectSpread2.Z)({},heroProps),{},{children:(0,jsx_runtime.jsx)(DefaultContent,{})})),(0,jsx_runtime.jsx)("div",{className:"oddly-padded",children:(0,jsx_runtime.jsx)("p",{children:"This text should align with the hero content box on all screen sizes"})}),(0,jsx_runtime.jsxs)("div",{className:"theme",children:[(0,jsx_runtime.jsx)("p",{children:"Applied theme:"}),(0,jsx_runtime.jsx)("pre",{children:JSON.stringify(theme,null,2)})]})]})};PlaygroundForTheme.argTypes=(0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)({},getDisabledControl("centeredContent")),getDisabledControl("imageSrc")),{},{backgroundColor:(0,objectSpread2.Z)({defaultValue:"#f5a3c7",control:"color",description:"Background color. Also koros color, if not set."},getThemePropertyDescriptionAsSummary("--background-color")),color:(0,objectSpread2.Z)({defaultValue:"",control:"color",description:"Text color."},getThemePropertyDescriptionAsSummary("--color")),korosColor:(0,objectSpread2.Z)({defaultValue:"",control:"color",description:'Optional koros color. Default is "--background-color"'},getThemePropertyDescriptionAsSummary("--koros-color")),imagePosition:(0,objectSpread2.Z)({defaultValue:"",description:'How image is aligned to its container when image is larger than the container. Value can be any valid value for css rule "object-fit"',control:{type:"select",options:["top left","top center","top right","center left","center center","center right","bottom left","bottom center","bottom right",""]}},getThemePropertyDescriptionAsSummary("--image-position")),diagonalKorosPosition:(0,objectSpread2.Z)((0,objectSpread2.Z)({},korosPosition),getThemePropertyDescriptionAsSummary("--diagonal-koros-position")),horizontalPaddingSmall:(0,objectSpread2.Z)({defaultValue:"55px",control:"text",description:"Horizontal padding on small screens <768px."},getThemePropertyDescriptionAsSummary("--horizontal-padding-small")),horizontalPaddingMedium:(0,objectSpread2.Z)({defaultValue:"55px",control:"text",description:"Horizontal padding on medium screens >=768px."},getThemePropertyDescriptionAsSummary("--horizontal-padding-medium")),horizontalPaddingLarge:(0,objectSpread2.Z)({defaultValue:"55px",control:"text",description:"Horizontal padding on large screens >=992px."},getThemePropertyDescriptionAsSummary("--horizontal-padding-large")),horizontalPaddingXLarge:(0,objectSpread2.Z)({defaultValue:"55px",control:"text",description:"Horizontal padding on x-large screens >=1248px."},getThemePropertyDescriptionAsSummary("--horizontal-padding-x-large"))},createVariantArg("backgroundImage"));var AllHeroes=function AllHeroes(){var Divider=function Divider(){return(0,jsx_runtime.jsx)("div",{style:{height:"50px"}})};return(0,jsx_runtime.jsxs)("div",{style:{display:"flex",flexDirection:"column",backgroundColor:"#eafad4"},children:[(0,jsx_runtime.jsx)(NavigationComponent,{}),(0,jsx_runtime.jsx)(ImageLeft,(0,objectSpread2.Z)({},getDefaultArgs("imageLeft"))),(0,jsx_runtime.jsx)(Divider,{}),(0,jsx_runtime.jsx)(BackgroundImage,(0,objectSpread2.Z)({},(0,objectSpread2.Z)((0,objectSpread2.Z)({},getDefaultArgs("backgroundImage")),{},{theme:{"--koros-color":"#eafad4"}}))),(0,jsx_runtime.jsx)(Divider,{}),(0,jsx_runtime.jsx)(ImageRight,(0,objectSpread2.Z)({},getDefaultArgs("imageRight"))),(0,jsx_runtime.jsx)(Divider,{}),(0,jsx_runtime.jsx)(WithoutImage,(0,objectSpread2.Z)({},getDefaultArgs("noImage",noImageOptions[1]))),(0,jsx_runtime.jsx)(Divider,{}),(0,jsx_runtime.jsx)(DiagonalKoros,(0,objectSpread2.Z)({},getDefaultArgs("diagonalKoros"))),(0,jsx_runtime.jsx)(Divider,{}),(0,jsx_runtime.jsx)(WithoutImageKorosOverlay,(0,objectSpread2.Z)({},getDefaultArgs("noImage",noImageOptions[2]))),(0,jsx_runtime.jsx)(Divider,{}),(0,jsx_runtime.jsx)(ImageBottom,(0,objectSpread2.Z)({},getDefaultArgs("imageBottom"))),(0,jsx_runtime.jsx)(Divider,{}),(0,jsx_runtime.jsx)(WithoutImageAndKoros,(0,objectSpread2.Z)({},getDefaultArgs("noImage",noImageOptions[3]))),(0,jsx_runtime.jsx)(Divider,{})]})};AllHeroes.argTypes=(0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)({},getDisabledControl("koros")),getDisabledControl("theme")),getDisabledControl("imageSrc")),getDisabledControl("centeredContent")),getDisabledControl("variant")),ImageLeft.parameters=(0,objectSpread2.Z)({storySource:{source:'(args) => {\n return (\n \n \n \n );\n}'}},ImageLeft.parameters),ImageRight.parameters=(0,objectSpread2.Z)({storySource:{source:'(args) => {\n return (\n \n \n \n );\n}'}},ImageRight.parameters),WithoutImage.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n return (\n \n \n \n );\n}"}},WithoutImage.parameters),WithoutImageKorosOverlay.parameters=(0,objectSpread2.Z)({storySource:{source:'(args) => {\n return (\n \n \n \n );\n}'}},WithoutImageKorosOverlay.parameters),WithoutImageAndKoros.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n return (\n \n \n \n );\n}"}},WithoutImageAndKoros.parameters),BackgroundImage.parameters=(0,objectSpread2.Z)({storySource:{source:'(args) => {\n return (\n \n \n \n );\n}'}},BackgroundImage.parameters),DiagonalKoros.parameters=(0,objectSpread2.Z)({storySource:{source:'(args) => {\n return (\n \n \n \n );\n}'}},DiagonalKoros.parameters),ImageBottom.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n return (\n \n \n \n );\n}"}},ImageBottom.parameters),PlaygroundForKoros.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const heroProps: HeroProps = {\n koros: {\n type: args.type,\n dense: !!args.dense,\n hide: !!args.hide,\n ...args.koros,\n },\n theme: {\n '--background-color': '#9fc9eb',\n '--koros-color': args.color || '#9fc9eb',\n '--diagonal-koros-position': args.diagonalKorosPosition,\n ...args.theme,\n },\n imageSrc: imageFile,\n variant: args.variant,\n };\n return (\n \n \n
\n \n \n
\n
Applied theme:
\n
{JSON.stringify(heroProps.theme, null, 2)} \n
\n
\n
Applied koros:
\n
{JSON.stringify(heroProps.koros, null, 2)} \n
\n
\n );\n}"}},PlaygroundForKoros.parameters),EmbeddedToPage.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const { preset, variant } = args;\n const props = getDefaultArgs(variant, preset);\n const NoImage = () => {\n if (preset === noImageOptions[1]) {\n return ;\n }\n if (preset === noImageOptions[2]) {\n return ;\n }\n return ;\n };\n return (\n \n \n {variant === 'imageRight' && }\n {variant === 'imageLeft' && }\n {variant === 'backgroundImage' && (\n \n )}\n {variant === 'diagonalKoros' && }\n {variant === 'noImage' && }\n {variant === 'imageBottom' && }\n \n Component after hero \n This component shows padding after hero\n \n
\n );\n}"}},EmbeddedToPage.parameters),PlaygroundForTheme.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const argsAsTheme = {\n '--background-color': args.backgroundColor,\n '--color': args.color,\n '--image-position': args.imagePosition,\n '--koros-color': args.korosColor,\n '--diagonal-koros-position': args.diagonalKorosPosition,\n '--horizontal-padding-small': args.horizontalPaddingSmall,\n '--horizontal-padding-medium': args.horizontalPaddingMedium,\n '--horizontal-padding-large': args.horizontalPaddingLarge,\n '--horizontal-padding-x-large': args.horizontalPaddingXLarge,\n ...args.theme,\n };\n\n const theme = Object.fromEntries(Object.entries(argsAsTheme).filter(([, value]) => !!value));\n const heroProps: HeroProps = {\n koros: args.koros,\n theme,\n imageSrc: imageFile,\n variant: args.variant,\n };\n return (\n \n \n
\n \n \n
\n
This text should align with the hero content box on all screen sizes
\n
\n
\n
Applied theme:
\n
{JSON.stringify(theme, null, 2)} \n
\n
\n );\n}"}},PlaygroundForTheme.parameters),AllHeroes.parameters=(0,objectSpread2.Z)({storySource:{source:"() => {\n const Divider = () => {\n return
;\n };\n\n return (\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n );\n}"}},AllHeroes.parameters);try{ImageLeft.displayName="ImageLeft",ImageLeft.__docgenInfo={description:"",displayName:"ImageLeft",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/hero/Hero.stories.tsx#ImageLeft"]={docgenInfo:ImageLeft.__docgenInfo,name:"ImageLeft",path:"src/components/hero/Hero.stories.tsx#ImageLeft"})}catch(__react_docgen_typescript_loader_error){}try{ImageRight.displayName="ImageRight",ImageRight.__docgenInfo={description:"",displayName:"ImageRight",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/hero/Hero.stories.tsx#ImageRight"]={docgenInfo:ImageRight.__docgenInfo,name:"ImageRight",path:"src/components/hero/Hero.stories.tsx#ImageRight"})}catch(__react_docgen_typescript_loader_error){}try{WithoutImage.displayName="WithoutImage",WithoutImage.__docgenInfo={description:"",displayName:"WithoutImage",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/hero/Hero.stories.tsx#WithoutImage"]={docgenInfo:WithoutImage.__docgenInfo,name:"WithoutImage",path:"src/components/hero/Hero.stories.tsx#WithoutImage"})}catch(__react_docgen_typescript_loader_error){}try{WithoutImageKorosOverlay.displayName="WithoutImageKorosOverlay",WithoutImageKorosOverlay.__docgenInfo={description:"",displayName:"WithoutImageKorosOverlay",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/hero/Hero.stories.tsx#WithoutImageKorosOverlay"]={docgenInfo:WithoutImageKorosOverlay.__docgenInfo,name:"WithoutImageKorosOverlay",path:"src/components/hero/Hero.stories.tsx#WithoutImageKorosOverlay"})}catch(__react_docgen_typescript_loader_error){}try{WithoutImageAndKoros.displayName="WithoutImageAndKoros",WithoutImageAndKoros.__docgenInfo={description:"",displayName:"WithoutImageAndKoros",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/hero/Hero.stories.tsx#WithoutImageAndKoros"]={docgenInfo:WithoutImageAndKoros.__docgenInfo,name:"WithoutImageAndKoros",path:"src/components/hero/Hero.stories.tsx#WithoutImageAndKoros"})}catch(__react_docgen_typescript_loader_error){}try{BackgroundImage.displayName="BackgroundImage",BackgroundImage.__docgenInfo={description:"",displayName:"BackgroundImage",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/hero/Hero.stories.tsx#BackgroundImage"]={docgenInfo:BackgroundImage.__docgenInfo,name:"BackgroundImage",path:"src/components/hero/Hero.stories.tsx#BackgroundImage"})}catch(__react_docgen_typescript_loader_error){}try{DiagonalKoros.displayName="DiagonalKoros",DiagonalKoros.__docgenInfo={description:"",displayName:"DiagonalKoros",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/hero/Hero.stories.tsx#DiagonalKoros"]={docgenInfo:DiagonalKoros.__docgenInfo,name:"DiagonalKoros",path:"src/components/hero/Hero.stories.tsx#DiagonalKoros"})}catch(__react_docgen_typescript_loader_error){}try{ImageBottom.displayName="ImageBottom",ImageBottom.__docgenInfo={description:"",displayName:"ImageBottom",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/hero/Hero.stories.tsx#ImageBottom"]={docgenInfo:ImageBottom.__docgenInfo,name:"ImageBottom",path:"src/components/hero/Hero.stories.tsx#ImageBottom"})}catch(__react_docgen_typescript_loader_error){}try{PlaygroundForKoros.displayName="PlaygroundForKoros",PlaygroundForKoros.__docgenInfo={description:"",displayName:"PlaygroundForKoros",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/hero/Hero.stories.tsx#PlaygroundForKoros"]={docgenInfo:PlaygroundForKoros.__docgenInfo,name:"PlaygroundForKoros",path:"src/components/hero/Hero.stories.tsx#PlaygroundForKoros"})}catch(__react_docgen_typescript_loader_error){}try{EmbeddedToPage.displayName="EmbeddedToPage",EmbeddedToPage.__docgenInfo={description:"",displayName:"EmbeddedToPage",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/hero/Hero.stories.tsx#EmbeddedToPage"]={docgenInfo:EmbeddedToPage.__docgenInfo,name:"EmbeddedToPage",path:"src/components/hero/Hero.stories.tsx#EmbeddedToPage"})}catch(__react_docgen_typescript_loader_error){}try{PlaygroundForTheme.displayName="PlaygroundForTheme",PlaygroundForTheme.__docgenInfo={description:"",displayName:"PlaygroundForTheme",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/hero/Hero.stories.tsx#PlaygroundForTheme"]={docgenInfo:PlaygroundForTheme.__docgenInfo,name:"PlaygroundForTheme",path:"src/components/hero/Hero.stories.tsx#PlaygroundForTheme"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/highlight/Highlight.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{DefaultHighlight:()=>DefaultHighlight,DefaultQuote:()=>DefaultQuote,HighlightCustomAccentColor:()=>HighlightCustomAccentColor,HighlightCustomTextColor:()=>HighlightCustomTextColor,HighlightLarge:()=>HighlightLarge,HighlightSmall:()=>HighlightSmall,QuoteCustomAccentColor:()=>QuoteCustomAccentColor,QuoteCustomTextColor:()=>QuoteCustomTextColor,QuoteLarge:()=>QuoteLarge,QuoteSmall:()=>QuoteSmall,default:()=>Highlight_stories});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),classNames=(__webpack_require__("../../node_modules/react/index.js"),__webpack_require__("./src/utils/classNames.ts")),useTheme=__webpack_require__("./src/hooks/useTheme.tsx");const Highlight_module={highlight:"Highlight_highlight__oDH8D highlight_hds-highlight__9de8e",highlightBlockquote:"Highlight_highlightBlockquote__n9dcE highlight_hds-blockquote__JvIxQ",text:"Highlight_text__IaHD9 highlight_hds-highlight__text__oEkQ7","size-s":"Highlight_size-s__hz2Ki highlight_hds-highlight--small__fbqUC","size-l":"Highlight_size-l__Eam1p highlight_hds-highlight--large__I-3J8",quote:"Highlight_quote__uPH4p highlight_hds-highlight__quote__Onvbj",reference:"Highlight_reference__kp6Rg highlight_hds-highlight__reference__EaWzI"};var jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),Highlight=function Highlight(_ref){var theme=_ref.theme,size=_ref.size,type=_ref.type,text=_ref.text,reference=_ref.reference,customThemeClass=(0,useTheme.F)(Highlight_module.highlight,theme||{}),isQuote=type&&"quote"===type;return(0,jsx_runtime.jsxs)("figure",{className:(0,classNames.Z)(Highlight_module.highlight,size&&Highlight_module["size-".concat(size)],customThemeClass),children:[(0,jsx_runtime.jsx)("blockquote",{className:Highlight_module.highlightBlockquote,children:(0,jsx_runtime.jsx)("p",{className:(0,classNames.Z)(Highlight_module.text,isQuote&&Highlight_module.quote),children:text})}),reference&&(0,jsx_runtime.jsxs)("figcaption",{className:Highlight_module.reference,children:["—",reference]})]})};try{Highlight.displayName="Highlight",Highlight.__docgenInfo={description:"",displayName:"Highlight",props:{theme:{defaultValue:null,description:"Highlight Theme",name:"theme",required:!1,type:{name:"HighlightTheme"}},size:{defaultValue:null,description:"Highlight size. Currently highlight comes in three sizes",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'}]}},type:{defaultValue:null,description:"Highlight type",name:"type",required:!1,type:{name:"enum",value:[{value:'"highlight"'},{value:'"quote"'}]}},text:{defaultValue:null,description:"Highlight or Quote text",name:"text",required:!0,type:{name:"string"}},reference:{defaultValue:null,description:"Reference text. Used with quote",name:"reference",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/highlight/Highlight.tsx#Highlight"]={docgenInfo:Highlight.__docgenInfo,name:"Highlight",path:"src/components/highlight/Highlight.tsx#Highlight"})}catch(__react_docgen_typescript_loader_error){}const Highlight_stories={component:Highlight,title:"Components/Highlight",parameters:{storySource:{source:"import React from 'react';\n\nimport { Highlight } from './Highlight';\n\nexport default {\n component: Highlight,\n title: 'Components/Highlight',\n parameters: {\n controls: { expanded: true },\n },\n};\n\nconst customColor = '#00005e';\n\nconst quoteArgs = { text: 'Add an interesting quote here', type: 'quote', reference: 'First name Last name. Title.' };\n\nconst highlightArgs = {\n text:\n 'You may select an highlight from the article to be displayed here. Select an excerpt that you want the user to pay attention to.',\n};\n\nexport const DefaultHighlight = (args) => ;\nDefaultHighlight.args = {\n ...highlightArgs,\n};\n\nexport const HighlightSmall = (args) => ;\nHighlightSmall.args = {\n ...highlightArgs,\n size: 'small',\n};\n\nexport const HighlightLarge = (args) => ;\nHighlightLarge.args = {\n ...highlightArgs,\n size: 'l',\n};\n\nexport const HighlightCustomAccentColor = (args) => ;\nHighlightCustomAccentColor.args = {\n ...highlightArgs,\n theme: {\n '--accent-line-color': customColor,\n },\n};\n\nexport const HighlightCustomTextColor = (args) => ;\nHighlightCustomTextColor.args = {\n ...highlightArgs,\n theme: {\n '--text-color': customColor,\n },\n};\n\nexport const DefaultQuote = (args) => ;\nDefaultQuote.args = {\n ...quoteArgs,\n};\n\nexport const QuoteLarge = (args) => ;\nQuoteLarge.args = {\n ...quoteArgs,\n size: 'l',\n};\n\nexport const QuoteSmall = (args) => ;\nQuoteSmall.args = {\n ...quoteArgs,\n size: 's',\n};\n\nexport const QuoteCustomAccentColor = (args) => ;\nQuoteCustomAccentColor.args = {\n ...quoteArgs,\n theme: {\n '--accent-line-color': customColor,\n },\n};\n\nexport const QuoteCustomTextColor = (args) => ;\nQuoteCustomTextColor.args = {\n ...quoteArgs,\n theme: {\n '--text-color': customColor,\n },\n};\n",locationsMap:{"default-highlight":{startLoc:{col:32,line:22},endLoc:{col:65,line:22},startBody:{col:32,line:22},endBody:{col:65,line:22}},"highlight-small":{startLoc:{col:30,line:27},endLoc:{col:63,line:27},startBody:{col:30,line:27},endBody:{col:63,line:27}},"highlight-large":{startLoc:{col:30,line:33},endLoc:{col:63,line:33},startBody:{col:30,line:33},endBody:{col:63,line:33}},"highlight-custom-accent-color":{startLoc:{col:42,line:39},endLoc:{col:75,line:39},startBody:{col:42,line:39},endBody:{col:75,line:39}},"highlight-custom-text-color":{startLoc:{col:40,line:47},endLoc:{col:73,line:47},startBody:{col:40,line:47},endBody:{col:73,line:47}},"default-quote":{startLoc:{col:28,line:55},endLoc:{col:61,line:55},startBody:{col:28,line:55},endBody:{col:61,line:55}},"quote-large":{startLoc:{col:26,line:60},endLoc:{col:59,line:60},startBody:{col:26,line:60},endBody:{col:59,line:60}},"quote-small":{startLoc:{col:26,line:66},endLoc:{col:59,line:66},startBody:{col:26,line:66},endBody:{col:59,line:66}},"quote-custom-accent-color":{startLoc:{col:38,line:72},endLoc:{col:71,line:72},startBody:{col:38,line:72},endBody:{col:71,line:72}},"quote-custom-text-color":{startLoc:{col:36,line:80},endLoc:{col:69,line:80},startBody:{col:36,line:80},endBody:{col:69,line:80}}}},controls:{expanded:!0}}};var quoteArgs={text:"Add an interesting quote here",type:"quote",reference:"First name Last name. Title."},highlightArgs={text:"You may select an highlight from the article to be displayed here. Select an excerpt that you want the user to pay attention to."},DefaultHighlight=function DefaultHighlight(args){return(0,jsx_runtime.jsx)(Highlight,(0,objectSpread2.Z)({},args))};DefaultHighlight.args=(0,objectSpread2.Z)({},highlightArgs);var HighlightSmall=function HighlightSmall(args){return(0,jsx_runtime.jsx)(Highlight,(0,objectSpread2.Z)({},args))};HighlightSmall.args=(0,objectSpread2.Z)((0,objectSpread2.Z)({},highlightArgs),{},{size:"small"});var HighlightLarge=function HighlightLarge(args){return(0,jsx_runtime.jsx)(Highlight,(0,objectSpread2.Z)({},args))};HighlightLarge.args=(0,objectSpread2.Z)((0,objectSpread2.Z)({},highlightArgs),{},{size:"l"});var HighlightCustomAccentColor=function HighlightCustomAccentColor(args){return(0,jsx_runtime.jsx)(Highlight,(0,objectSpread2.Z)({},args))};HighlightCustomAccentColor.args=(0,objectSpread2.Z)((0,objectSpread2.Z)({},highlightArgs),{},{theme:{"--accent-line-color":"#00005e"}});var HighlightCustomTextColor=function HighlightCustomTextColor(args){return(0,jsx_runtime.jsx)(Highlight,(0,objectSpread2.Z)({},args))};HighlightCustomTextColor.args=(0,objectSpread2.Z)((0,objectSpread2.Z)({},highlightArgs),{},{theme:{"--text-color":"#00005e"}});var DefaultQuote=function DefaultQuote(args){return(0,jsx_runtime.jsx)(Highlight,(0,objectSpread2.Z)({},args))};DefaultQuote.args=(0,objectSpread2.Z)({},quoteArgs);var QuoteLarge=function QuoteLarge(args){return(0,jsx_runtime.jsx)(Highlight,(0,objectSpread2.Z)({},args))};QuoteLarge.args=(0,objectSpread2.Z)((0,objectSpread2.Z)({},quoteArgs),{},{size:"l"});var QuoteSmall=function QuoteSmall(args){return(0,jsx_runtime.jsx)(Highlight,(0,objectSpread2.Z)({},args))};QuoteSmall.args=(0,objectSpread2.Z)((0,objectSpread2.Z)({},quoteArgs),{},{size:"s"});var QuoteCustomAccentColor=function QuoteCustomAccentColor(args){return(0,jsx_runtime.jsx)(Highlight,(0,objectSpread2.Z)({},args))};QuoteCustomAccentColor.args=(0,objectSpread2.Z)((0,objectSpread2.Z)({},quoteArgs),{},{theme:{"--accent-line-color":"#00005e"}});var QuoteCustomTextColor=function QuoteCustomTextColor(args){return(0,jsx_runtime.jsx)(Highlight,(0,objectSpread2.Z)({},args))};QuoteCustomTextColor.args=(0,objectSpread2.Z)((0,objectSpread2.Z)({},quoteArgs),{},{theme:{"--text-color":"#00005e"}}),DefaultHighlight.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => "}},DefaultHighlight.parameters),HighlightSmall.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => "}},HighlightSmall.parameters),HighlightLarge.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => "}},HighlightLarge.parameters),HighlightCustomAccentColor.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => "}},HighlightCustomAccentColor.parameters),HighlightCustomTextColor.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => "}},HighlightCustomTextColor.parameters),DefaultQuote.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => "}},DefaultQuote.parameters),QuoteLarge.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => "}},QuoteLarge.parameters),QuoteSmall.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => "}},QuoteSmall.parameters),QuoteCustomAccentColor.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => "}},QuoteCustomAccentColor.parameters),QuoteCustomTextColor.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => "}},QuoteCustomTextColor.parameters);try{DefaultHighlight.displayName="DefaultHighlight",DefaultHighlight.__docgenInfo={description:"",displayName:"DefaultHighlight",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/highlight/Highlight.stories.tsx#DefaultHighlight"]={docgenInfo:DefaultHighlight.__docgenInfo,name:"DefaultHighlight",path:"src/components/highlight/Highlight.stories.tsx#DefaultHighlight"})}catch(__react_docgen_typescript_loader_error){}try{HighlightSmall.displayName="HighlightSmall",HighlightSmall.__docgenInfo={description:"",displayName:"HighlightSmall",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/highlight/Highlight.stories.tsx#HighlightSmall"]={docgenInfo:HighlightSmall.__docgenInfo,name:"HighlightSmall",path:"src/components/highlight/Highlight.stories.tsx#HighlightSmall"})}catch(__react_docgen_typescript_loader_error){}try{HighlightLarge.displayName="HighlightLarge",HighlightLarge.__docgenInfo={description:"",displayName:"HighlightLarge",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/highlight/Highlight.stories.tsx#HighlightLarge"]={docgenInfo:HighlightLarge.__docgenInfo,name:"HighlightLarge",path:"src/components/highlight/Highlight.stories.tsx#HighlightLarge"})}catch(__react_docgen_typescript_loader_error){}try{HighlightCustomAccentColor.displayName="HighlightCustomAccentColor",HighlightCustomAccentColor.__docgenInfo={description:"",displayName:"HighlightCustomAccentColor",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/highlight/Highlight.stories.tsx#HighlightCustomAccentColor"]={docgenInfo:HighlightCustomAccentColor.__docgenInfo,name:"HighlightCustomAccentColor",path:"src/components/highlight/Highlight.stories.tsx#HighlightCustomAccentColor"})}catch(__react_docgen_typescript_loader_error){}try{HighlightCustomTextColor.displayName="HighlightCustomTextColor",HighlightCustomTextColor.__docgenInfo={description:"",displayName:"HighlightCustomTextColor",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/highlight/Highlight.stories.tsx#HighlightCustomTextColor"]={docgenInfo:HighlightCustomTextColor.__docgenInfo,name:"HighlightCustomTextColor",path:"src/components/highlight/Highlight.stories.tsx#HighlightCustomTextColor"})}catch(__react_docgen_typescript_loader_error){}try{DefaultQuote.displayName="DefaultQuote",DefaultQuote.__docgenInfo={description:"",displayName:"DefaultQuote",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/highlight/Highlight.stories.tsx#DefaultQuote"]={docgenInfo:DefaultQuote.__docgenInfo,name:"DefaultQuote",path:"src/components/highlight/Highlight.stories.tsx#DefaultQuote"})}catch(__react_docgen_typescript_loader_error){}try{QuoteLarge.displayName="QuoteLarge",QuoteLarge.__docgenInfo={description:"",displayName:"QuoteLarge",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/highlight/Highlight.stories.tsx#QuoteLarge"]={docgenInfo:QuoteLarge.__docgenInfo,name:"QuoteLarge",path:"src/components/highlight/Highlight.stories.tsx#QuoteLarge"})}catch(__react_docgen_typescript_loader_error){}try{QuoteSmall.displayName="QuoteSmall",QuoteSmall.__docgenInfo={description:"",displayName:"QuoteSmall",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/highlight/Highlight.stories.tsx#QuoteSmall"]={docgenInfo:QuoteSmall.__docgenInfo,name:"QuoteSmall",path:"src/components/highlight/Highlight.stories.tsx#QuoteSmall"})}catch(__react_docgen_typescript_loader_error){}try{QuoteCustomAccentColor.displayName="QuoteCustomAccentColor",QuoteCustomAccentColor.__docgenInfo={description:"",displayName:"QuoteCustomAccentColor",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/highlight/Highlight.stories.tsx#QuoteCustomAccentColor"]={docgenInfo:QuoteCustomAccentColor.__docgenInfo,name:"QuoteCustomAccentColor",path:"src/components/highlight/Highlight.stories.tsx#QuoteCustomAccentColor"})}catch(__react_docgen_typescript_loader_error){}try{QuoteCustomTextColor.displayName="QuoteCustomTextColor",QuoteCustomTextColor.__docgenInfo={description:"",displayName:"QuoteCustomTextColor",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/highlight/Highlight.stories.tsx#QuoteCustomTextColor"]={docgenInfo:QuoteCustomTextColor.__docgenInfo,name:"QuoteCustomTextColor",path:"src/components/highlight/Highlight.stories.tsx#QuoteCustomTextColor"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/imageWithCard/ImageWithCard.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Default:()=>Default,Hover:()=>Hover,HoverFullWidth:()=>HoverFullWidth,Playground:()=>Playground,Split:()=>Split,SplitFullWidth:()=>SplitFullWidth,default:()=>ImageWithCard_stories});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),blocks=(__webpack_require__("../../node_modules/react/index.js"),__webpack_require__("./node_modules/@storybook/addon-docs/blocks.js")),classNames=(__webpack_require__("./src/styles/base.css"),__webpack_require__("./src/utils/classNames.ts"));const ImageWithCard_module={wrapper:"ImageWithCard_wrapper__nLwcq",image:"ImageWithCard_image__Zbe9i",cardContainer:"ImageWithCard_cardContainer__XrK+a",card:"ImageWithCard_card__DHQyY helpers_text-body__t2yVb",rightAlignment:"ImageWithCard_rightAlignment__vwITo",leftAlignment:"ImageWithCard_leftAlignment__+x+LS",splitLayout:"ImageWithCard_splitLayout__XBkte",hoverLayout:"ImageWithCard_hoverLayout__zSkEn",fullWidth:"ImageWithCard_fullWidth__rIndJ",primary:"ImageWithCard_primary__AHsiC",secondary:"ImageWithCard_secondary__sMFDp",tertiary:"ImageWithCard_tertiary__nYixT"};var jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),ImageWithCard=function ImageWithCard(_ref){var src=_ref.src,_ref$fullWidth=_ref.fullWidth,fullWidth=void 0!==_ref$fullWidth&&_ref$fullWidth,children=_ref.children,_ref$cardAlignment=_ref.cardAlignment,cardAlignment=void 0===_ref$cardAlignment?"left":_ref$cardAlignment,_ref$color=_ref.color,color=void 0===_ref$color?"plain":_ref$color,_ref$cardLayout=_ref.cardLayout,cardLayout=void 0===_ref$cardLayout?null:_ref$cardLayout,_ref$className=_ref.className,className=void 0===_ref$className?null:_ref$className;return(0,jsx_runtime.jsxs)("div",{className:(0,classNames.Z)(ImageWithCard_module.wrapper,ImageWithCard_module["".concat(cardAlignment,"Alignment")],cardLayout&&ImageWithCard_module["".concat(cardLayout,"Layout")],ImageWithCard_module[color],fullWidth&&ImageWithCard_module.fullWidth,className),children:[(0,jsx_runtime.jsx)("div",{className:ImageWithCard_module.image,style:{backgroundImage:"url(".concat(src,")")}}),children&&(0,jsx_runtime.jsx)("div",{className:ImageWithCard_module.cardContainer,children:(0,jsx_runtime.jsx)("div",{className:ImageWithCard_module.card,children})})]})};try{ImageWithCard.displayName="ImageWithCard",ImageWithCard.__docgenInfo={description:"",displayName:"ImageWithCard",props:{src:{defaultValue:null,description:"",name:"src",required:!0,type:{name:"string"}},fullWidth:{defaultValue:{value:"false"},description:"",name:"fullWidth",required:!1,type:{name:"boolean"}},cardAlignment:{defaultValue:{value:"left"},description:"",name:"cardAlignment",required:!1,type:{name:"enum",value:[{value:'"left"'},{value:'"right"'}]}},cardLayout:{defaultValue:{value:"null"},description:"",name:"cardLayout",required:!1,type:{name:"enum",value:[{value:'"split"'},{value:'"hover"'}]}},color:{defaultValue:{value:"plain"},description:"",name:"color",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'},{value:'"plain"'}]}},className:{defaultValue:{value:"null"},description:"",name:"className",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/imageWithCard/ImageWithCard.tsx#ImageWithCard"]={docgenInfo:ImageWithCard.__docgenInfo,name:"ImageWithCard",path:"src/components/imageWithCard/ImageWithCard.tsx#ImageWithCard"})}catch(__react_docgen_typescript_loader_error){}var placeholder_1920x1080=__webpack_require__("./src/assets/img/placeholder_1920x1080.jpg"),contentText="Lorem ipsum dolor sit amet, consectetur adipisci elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat. Quis aute iure reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint obcaecat cupiditat non proident.",content=(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsx)("h2",{className:"heading-l",children:"Lorem ipsum"}),(0,jsx_runtime.jsx)("p",{style:{margin:"var(--spacing-l) 0"},children:contentText})]});const ImageWithCard_stories={component:ImageWithCard,title:"Components/ImageWithCard",parameters:{storySource:{source:"import React from 'react';\nimport { ArgsTable, Title } from '@storybook/addon-docs/blocks';\n\nimport { ImageWithCard } from './ImageWithCard';\nimport imageFile from '../../assets/img/placeholder_1920x1080.jpg';\n\nconst contentTitle = 'Lorem ipsum';\nconst contentText =\n 'Lorem ipsum dolor sit amet, consectetur adipisci elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat. Quis aute iure reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint obcaecat cupiditat non proident.';\n\nconst content = (\n <>\n {contentTitle} \n {contentText}
\n >\n);\n\nexport default {\n component: ImageWithCard,\n title: 'Components/ImageWithCard',\n parameters: {\n controls: { hideNoControlsWarning: true },\n layout: 'fullscreen',\n docs: {\n page: () => (\n <>\n Props \n \n >\n ),\n },\n },\n};\n\nexport const Default = () => {content} ;\n\nexport const Hover = () => (\n \n {content}\n \n);\n\nexport const HoverFullWidth = () => (\n \n {content}\n \n);\nHoverFullWidth.storyName = 'Hover full width';\n\nexport const Split = () => (\n \n {content}\n \n);\n\nexport const SplitFullWidth = () => (\n \n {content}\n \n);\nSplitFullWidth.storyName = 'Split full width';\n\nexport const Playground = (args) => (\n \n {args.title} \n {args.text}
\n \n);\n\nPlayground.parameters = {\n previewTabs: {\n 'storybook/docs/panel': {\n hidden: true,\n },\n },\n docs: {\n disable: true,\n },\n};\n\nPlayground.args = {\n title: contentTitle,\n text: contentText,\n color: 'plain',\n fullWidth: false,\n cardAlignment: 'left',\n cardLayout: null,\n};\n\nPlayground.argTypes = {\n color: {\n options: ['plain', 'primary', 'secondary', 'tertiary'],\n control: { type: 'radio' },\n },\n cardAlignment: {\n options: ['left', 'right'],\n control: { type: 'radio' },\n },\n cardLayout: {\n options: ['hover', 'split', null],\n control: { type: 'radio' },\n },\n};\n",locationsMap:{default:{startLoc:{col:23,line:35},endLoc:{col:85,line:35},startBody:{col:23,line:35},endBody:{col:85,line:35}},hover:{startLoc:{col:21,line:37},endLoc:{col:1,line:41},startBody:{col:21,line:37},endBody:{col:1,line:41}},"hover-full-width":{startLoc:{col:30,line:43},endLoc:{col:1,line:47},startBody:{col:30,line:43},endBody:{col:1,line:47}},split:{startLoc:{col:21,line:50},endLoc:{col:1,line:54},startBody:{col:21,line:50},endBody:{col:1,line:54}},"split-full-width":{startLoc:{col:30,line:56},endLoc:{col:1,line:60},startBody:{col:30,line:56},endBody:{col:1,line:60}},playground:{startLoc:{col:26,line:63},endLoc:{col:1,line:74},startBody:{col:26,line:63},endBody:{col:1,line:74}}}},controls:{hideNoControlsWarning:!0},layout:"fullscreen",docs:{page:function page(){return(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsx)(blocks.Dx,{children:"Props"}),(0,jsx_runtime.jsx)(blocks.$4,{})]})}}}};var Default=function Default(){return(0,jsx_runtime.jsx)(ImageWithCard,{src:placeholder_1920x1080,children:content})},Hover=function Hover(){return(0,jsx_runtime.jsx)(ImageWithCard,{cardLayout:"hover",src:placeholder_1920x1080,children:content})},HoverFullWidth=function HoverFullWidth(){return(0,jsx_runtime.jsx)(ImageWithCard,{cardLayout:"hover",fullWidth:!0,src:placeholder_1920x1080,children:content})};HoverFullWidth.storyName="Hover full width";var Split=function Split(){return(0,jsx_runtime.jsx)(ImageWithCard,{cardLayout:"split",src:placeholder_1920x1080,children:content})},SplitFullWidth=function SplitFullWidth(){return(0,jsx_runtime.jsx)(ImageWithCard,{cardLayout:"split",fullWidth:!0,src:placeholder_1920x1080,children:content})};SplitFullWidth.storyName="Split full width";var Playground=function Playground(args){return(0,jsx_runtime.jsxs)(ImageWithCard,{color:args.color,cardAlignment:args.cardAlignment,fullWidth:args.fullWidth,cardLayout:args.cardLayout,src:placeholder_1920x1080,children:[(0,jsx_runtime.jsx)("h2",{style:{fontSize:"var(--fontsize-heading-l)"},children:args.title}),(0,jsx_runtime.jsx)("p",{style:{margin:"var(--spacing-l) 0"},children:args.text})]})};Playground.parameters={previewTabs:{"storybook/docs/panel":{hidden:!0}},docs:{disable:!0}},Playground.args={title:"Lorem ipsum",text:contentText,color:"plain",fullWidth:!1,cardAlignment:"left",cardLayout:null},Playground.argTypes={color:{options:["plain","primary","secondary","tertiary"],control:{type:"radio"}},cardAlignment:{options:["left","right"],control:{type:"radio"}},cardLayout:{options:["hover","split",null],control:{type:"radio"}}},Default.parameters=(0,objectSpread2.Z)({storySource:{source:"() => {content} "}},Default.parameters),Hover.parameters=(0,objectSpread2.Z)({storySource:{source:'() => (\n \n {content}\n \n)'}},Hover.parameters),HoverFullWidth.parameters=(0,objectSpread2.Z)({storySource:{source:'() => (\n \n {content}\n \n)'}},HoverFullWidth.parameters),Split.parameters=(0,objectSpread2.Z)({storySource:{source:'() => (\n \n {content}\n \n)'}},Split.parameters),SplitFullWidth.parameters=(0,objectSpread2.Z)({storySource:{source:'() => (\n \n {content}\n \n)'}},SplitFullWidth.parameters),Playground.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => (\n \n {args.title} \n {args.text}
\n \n)"}},Playground.parameters);try{Playground.displayName="Playground",Playground.__docgenInfo={description:"",displayName:"Playground",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/imageWithCard/ImageWithCard.stories.tsx#Playground"]={docgenInfo:Playground.__docgenInfo,name:"Playground",path:"src/components/imageWithCard/ImageWithCard.stories.tsx#Playground"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/koros/Koros.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Basic:()=>Basic,Beat:()=>Beat,Calm:()=>Calm,CustomColor:()=>CustomColor,Dense:()=>Dense,ExactFit:()=>ExactFit,Flipped:()=>Flipped,Playground:()=>Playground,Pulse:()=>Pulse,Rotated:()=>Rotated,RotatedInContainer:()=>RotatedInContainer,Vibration:()=>Vibration,Wave:()=>Wave,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_1__=(__webpack_require__("../../node_modules/react/index.js"),__webpack_require__("./node_modules/@storybook/addon-docs/blocks.js")),_Koros__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/components/koros/Koros.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/react/jsx-runtime.js");const __WEBPACK_DEFAULT_EXPORT__={component:_Koros__WEBPACK_IMPORTED_MODULE_3__.N,title:"Components/Koros",parameters:{storySource:{source:"import React from 'react';\nimport { ArgsTable, Stories, Title } from '@storybook/addon-docs/blocks';\n\nimport { getShapeHeight, Koros } from './Koros';\n\nexport default {\n component: Koros,\n title: 'Components/Koros',\n parameters: {\n controls: { hideNoControlsWarning: true },\n docs: {\n page: () => (\n <>\n Props \n \n \n >\n ),\n },\n },\n};\n\nexport const Basic = () => ;\n\nexport const Beat = () => ;\n\nexport const Pulse = () => ;\n\nexport const Vibration = () => ;\n\nexport const Wave = () => ;\n\nexport const Calm = () => ;\n\nexport const Dense = () => (\n <>\n \n \n \n \n \n \n \n \n \n >\n);\n\nexport const Flipped = (args) => (\n <>\n \n \n \n \n \n \n \n \n \n \n \n \n \n >\n);\n\nFlipped.args = {\n flipVertical: true,\n};\n\nexport const Rotated = (args) => ;\n\nRotated.args = {\n type: 'basic',\n flipVertical: false,\n rotate: '45deg',\n};\n\nexport const RotatedInContainer = () => {\n const rootStyle = { '--koros-height': '85px', '--hero-height': '300px', '--hero-width': '500px' };\n\n return (\n \n );\n};\n\nexport const CustomColor = () => ;\n\nexport const ExactFit = (args) => {\n const korosProps = {\n style: { fill: 'var(--color-coat-of-arms)' },\n ...args,\n };\n\n const containerStyle = {\n height: `${getShapeHeight(korosProps)}px`,\n overflow: 'hidden',\n display: 'flex',\n flexDirection: 'row',\n justifyContent: 'flex-end',\n } as React.CSSProperties;\n\n return (\n \n \n
\n );\n};\n\nexport const Playground = (args) => ;\n\nPlayground.parameters = {\n previewTabs: {\n 'storybook/docs/panel': {\n hidden: true,\n },\n },\n docs: {\n disable: true,\n },\n};\n\nPlayground.args = {\n type: 'basic',\n flipVertical: false,\n rotate: '',\n};\n\nPlayground.argTypes = {\n type: {\n options: ['basic', 'beat', 'pulse', 'vibration', 'wave'],\n control: { type: 'radio' },\n },\n};\n",locationsMap:{basic:{startLoc:{col:21,line:23},endLoc:{col:36,line:23},startBody:{col:21,line:23},endBody:{col:36,line:23}},beat:{startLoc:{col:20,line:25},endLoc:{col:47,line:25},startBody:{col:20,line:25},endBody:{col:47,line:25}},pulse:{startLoc:{col:21,line:27},endLoc:{col:49,line:27},startBody:{col:21,line:27},endBody:{col:49,line:27}},vibration:{startLoc:{col:25,line:29},endLoc:{col:57,line:29},startBody:{col:25,line:29},endBody:{col:57,line:29}},wave:{startLoc:{col:20,line:31},endLoc:{col:47,line:31},startBody:{col:20,line:31},endBody:{col:47,line:31}},calm:{startLoc:{col:20,line:33},endLoc:{col:47,line:33},startBody:{col:20,line:33},endBody:{col:47,line:33}},dense:{startLoc:{col:21,line:35},endLoc:{col:1,line:47},startBody:{col:21,line:35},endBody:{col:1,line:47}},flipped:{startLoc:{col:23,line:49},endLoc:{col:1,line:65},startBody:{col:23,line:49},endBody:{col:1,line:65}},rotated:{startLoc:{col:23,line:71},endLoc:{col:113,line:71},startBody:{col:23,line:71},endBody:{col:113,line:71}},"rotated-in-container":{startLoc:{col:34,line:79},endLoc:{col:1,line:114},startBody:{col:34,line:79},endBody:{col:1,line:114}},"custom-color":{startLoc:{col:27,line:116},endLoc:{col:88,line:116},startBody:{col:27,line:116},endBody:{col:88,line:116}},"exact-fit":{startLoc:{col:24,line:118},endLoc:{col:1,line:137},startBody:{col:24,line:118},endBody:{col:1,line:137}},playground:{startLoc:{col:26,line:139},endLoc:{col:116,line:139},startBody:{col:26,line:139},endBody:{col:116,line:139}}}},controls:{hideNoControlsWarning:!0},docs:{page:function page(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_1__.Dx,{children:"Props"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_1__.$4,{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_1__.fQ,{title:"Examples",includePrimary:!0})]})}}}};var Basic=function Basic(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Koros__WEBPACK_IMPORTED_MODULE_3__.N,{})},Beat=function Beat(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Koros__WEBPACK_IMPORTED_MODULE_3__.N,{type:"beat"})},Pulse=function Pulse(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Koros__WEBPACK_IMPORTED_MODULE_3__.N,{type:"pulse"})},Vibration=function Vibration(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Koros__WEBPACK_IMPORTED_MODULE_3__.N,{type:"vibration"})},Wave=function Wave(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Koros__WEBPACK_IMPORTED_MODULE_3__.N,{type:"wave"})},Calm=function Calm(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Koros__WEBPACK_IMPORTED_MODULE_3__.N,{type:"calm"})},Dense=function Dense(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Koros__WEBPACK_IMPORTED_MODULE_3__.N,{dense:!0}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Koros__WEBPACK_IMPORTED_MODULE_3__.N,{dense:!0,type:"beat"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Koros__WEBPACK_IMPORTED_MODULE_3__.N,{dense:!0,type:"pulse"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Koros__WEBPACK_IMPORTED_MODULE_3__.N,{dense:!0,type:"vibration"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Koros__WEBPACK_IMPORTED_MODULE_3__.N,{dense:!0,type:"wave"})]})},Flipped=function Flipped(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Koros__WEBPACK_IMPORTED_MODULE_3__.N,{flipVertical:args.flipVertical}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Koros__WEBPACK_IMPORTED_MODULE_3__.N,{type:"beat",flipVertical:args.flipVertical}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Koros__WEBPACK_IMPORTED_MODULE_3__.N,{type:"pulse",flipVertical:args.flipVertical}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Koros__WEBPACK_IMPORTED_MODULE_3__.N,{type:"vibration",flipVertical:args.flipVertical}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Koros__WEBPACK_IMPORTED_MODULE_3__.N,{type:"wave",flipVertical:args.flipVertical})]})};Flipped.args={flipVertical:!0};var Rotated=function Rotated(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Koros__WEBPACK_IMPORTED_MODULE_3__.N,{type:args.type,flipVertical:args.flipVertical,rotate:args.rotate})};Rotated.args={type:"basic",flipVertical:!1,rotate:"45deg"};var RotatedInContainer=function RotatedInContainer(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div",{style:(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},{"--koros-height":"85px","--hero-height":"300px","--hero-width":"500px"}),{},{backgroundColor:"var(--color-silver-light)",height:"var(--hero-height)",maxWidth:"100%",overflow:"hidden",position:"relative",width:"var(--hero-width)"}),children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{style:{backgroundColor:"var(--color-coat-of-arms)",clipPath:"polygon(0 0, var(--hero-height) 0, 0 100%, 0% 100%)",height:"100%"}}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Koros__WEBPACK_IMPORTED_MODULE_3__.N,{style:{fill:"var(--color-coat-of-arms)",left:"calc(-1 * var(--koros-height))",position:"absolute",top:"var(--koros-height)",transformOrigin:"center",width:"calc(2 * var(--hero-height))"},rotate:"135deg"})]})},CustomColor=function CustomColor(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Koros__WEBPACK_IMPORTED_MODULE_3__.N,{style:{fill:"var(--color-coat-of-arms)"}})},ExactFit=function ExactFit(args){var korosProps=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({style:{fill:"var(--color-coat-of-arms)"}},args),containerStyle={height:"".concat((0,_Koros__WEBPACK_IMPORTED_MODULE_3__.X)(korosProps),"px"),overflow:"hidden",display:"flex",flexDirection:"row",justifyContent:"flex-end"};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{style:containerStyle,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Koros__WEBPACK_IMPORTED_MODULE_3__.N,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},korosProps))})},Playground=function Playground(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Koros__WEBPACK_IMPORTED_MODULE_3__.N,{type:args.type,flipVertical:args.flipVertical,rotate:args.rotate})};Playground.parameters={previewTabs:{"storybook/docs/panel":{hidden:!0}},docs:{disable:!0}},Playground.args={type:"basic",flipVertical:!1,rotate:""},Playground.argTypes={type:{options:["basic","beat","pulse","vibration","wave"],control:{type:"radio"}}},Basic.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:"() => "}},Basic.parameters),Beat.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:'() => '}},Beat.parameters),Pulse.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:'() => '}},Pulse.parameters),Vibration.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:'() => '}},Vibration.parameters),Wave.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:'() => '}},Wave.parameters),Calm.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:'() => '}},Calm.parameters),Dense.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:'() => (\n <>\n \n \n \n \n \n \n \n \n \n >\n)'}},Dense.parameters),Flipped.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:'(args) => (\n <>\n \n \n \n \n \n \n \n \n \n \n \n \n \n >\n)'}},Flipped.parameters),Rotated.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:"(args) => "}},Rotated.parameters),RotatedInContainer.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:"() => {\n const rootStyle = { '--koros-height': '85px', '--hero-height': '300px', '--hero-width': '500px' };\n\n return (\n \n );\n}"}},RotatedInContainer.parameters),CustomColor.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:"() => "}},CustomColor.parameters),ExactFit.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:"(args) => {\n const korosProps = {\n style: { fill: 'var(--color-coat-of-arms)' },\n ...args,\n };\n\n const containerStyle = {\n height: `${getShapeHeight(korosProps)}px`,\n overflow: 'hidden',\n display: 'flex',\n flexDirection: 'row',\n justifyContent: 'flex-end',\n } as React.CSSProperties;\n\n return (\n \n \n
\n );\n}"}},ExactFit.parameters),Playground.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:"(args) => "}},Playground.parameters);try{Flipped.displayName="Flipped",Flipped.__docgenInfo={description:"",displayName:"Flipped",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/koros/Koros.stories.tsx#Flipped"]={docgenInfo:Flipped.__docgenInfo,name:"Flipped",path:"src/components/koros/Koros.stories.tsx#Flipped"})}catch(__react_docgen_typescript_loader_error){}try{Rotated.displayName="Rotated",Rotated.__docgenInfo={description:"",displayName:"Rotated",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/koros/Koros.stories.tsx#Rotated"]={docgenInfo:Rotated.__docgenInfo,name:"Rotated",path:"src/components/koros/Koros.stories.tsx#Rotated"})}catch(__react_docgen_typescript_loader_error){}try{ExactFit.displayName="ExactFit",ExactFit.__docgenInfo={description:"",displayName:"ExactFit",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/koros/Koros.stories.tsx#ExactFit"]={docgenInfo:ExactFit.__docgenInfo,name:"ExactFit",path:"src/components/koros/Koros.stories.tsx#ExactFit"})}catch(__react_docgen_typescript_loader_error){}try{Playground.displayName="Playground",Playground.__docgenInfo={description:"",displayName:"Playground",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/koros/Koros.stories.tsx#Playground"]={docgenInfo:Playground.__docgenInfo,name:"Playground",path:"src/components/koros/Koros.stories.tsx#Playground"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/link/Link.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Default:()=>Default,ExternalLinks:()=>ExternalLinks,InternalLinks:()=>InternalLinks,OpenInNewTabLink:()=>OpenInNewTabLink,default:()=>__WEBPACK_DEFAULT_EXPORT__,inlineLinks:()=>inlineLinks,standaloneLink:()=>standaloneLink,visitedStylesDisabled:()=>visitedStylesDisabled,withCustomIcon:()=>withCustomIcon});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),_Link__WEBPACK_IMPORTED_MODULE_2__=(__webpack_require__("../../node_modules/react/index.js"),__webpack_require__("./src/components/link/Link.tsx")),_icons__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/icons/IconDocument.tsx"),_icons__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./src/icons/IconPhone.tsx"),_icons__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./src/icons/IconEnvelope.tsx"),_icons__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./src/icons/IconPhoto.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js");const __WEBPACK_DEFAULT_EXPORT__={component:_Link__WEBPACK_IMPORTED_MODULE_2__.r,title:"Components/Link",decorators:[function(storyFn){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{maxWidth:"600px"},children:storyFn()})}],parameters:{storySource:{source:'import React from \'react\';\n\nimport { Link } from \'./Link\';\nimport { IconDocument, IconEnvelope, IconPhone, IconPhoto } from \'../../icons\';\n\nexport default {\n component: Link,\n title: \'Components/Link\',\n decorators: [(storyFn) => {storyFn()}
],\n parameters: {\n controls: { expanded: true },\n },\n args: {\n href: \'/?path=/docs/components-link--internal-links\',\n },\n};\n\nexport const Default = (args) => Default link;\n\nexport const InternalLinks = (args) => {\n return (\n <>\n \n Internal link size S\n \n \n \n \n Internal link size M\n \n \n \n \n Internal link size L\n \n >\n );\n};\nInternalLinks.storyName = \'Internal links\';\nInternalLinks.argTypes = {\n size: {\n control: false,\n },\n external: {\n control: false,\n },\n};\n\nexport const ExternalLinks = (args) => {\n return (\n <>\n \n External link size S\n \n \n \n \n External link size M\n \n \n \n \n External link size L\n \n >\n );\n};\n\nExternalLinks.storyName = \'External links\';\nExternalLinks.argTypes = {\n size: {\n control: false,\n },\n external: {\n control: false,\n },\n};\n\nexport const OpenInNewTabLink = (args) => (\n \n Link that opens in a new tab\n \n);\nOpenInNewTabLink.storyName = \'Link that opens in a new tab\';\nOpenInNewTabLink.args = {\n openInNewTabAriaLabel: \'Opens in a new tab.\',\n openInExternalDomainAriaLabel: \'Opens a different website\',\n openInNewTab: true,\n external: true,\n};\n\nexport const visitedStylesDisabled = (args) => (\n \n Link without visited styles\n \n);\nvisitedStylesDisabled.storyName = \'Link without visited styles\';\nvisitedStylesDisabled.args = {\n disableVisitedStyles: true,\n};\n\nexport const inlineLinks = (args) => {\n return (\n <>\n \n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore\n magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n \n Inline link\n \n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla\n pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est\n laborum.\n
\n \n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore\n magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n \n Inline link\n \n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla\n pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est\n laborum.\n
\n >\n );\n};\n\ninlineLinks.storyName = \'Inline links\';\ninlineLinks.argTypes = {\n size: {\n control: false,\n },\n};\n\nexport const standaloneLink = (args) => {\n return (\n \n Standalone link\n \n );\n};\n\nstandaloneLink.storyName = \'Standalone link\';\n\nexport const withCustomIcon = (args) => {\n return (\n \n
\n
Small
\n
} size="S" href="/#">\n Document link\n \n
\n
\n
} size="S" href="/#">\n Phone link\n \n
\n
\n
} size="S" href="/#">\n Envelope link\n \n
\n
\n
} size="S" href="/#">\n Photo link\n \n
\n
\n
Medium
\n
} size="M" href="/#">\n Document link\n \n
\n
\n
} size="M" href="/#">\n Phone link\n \n
\n
\n
} size="M" href="/#">\n Envelope link\n \n
\n
\n
} size="M" href="/#">\n Photo link\n \n
\n
\n
Large
\n
} size="L" href="/#">\n Document link\n \n
\n
\n
} size="L" href="/#">\n Phone Link\n \n
\n
\n
} size="L" href="/#">\n Envelope Link\n \n
\n
\n
} size="L" href="/#">\n Photo Link\n \n
\n
\n );\n};\n\nwithCustomIcon.storyName = \'With a custom icon\';\nwithCustomIcon.argTypes = {\n size: {\n control: false,\n },\n};\n',locationsMap:{default:{startLoc:{col:23,line:18},endLoc:{col:68,line:18},startBody:{col:23,line:18},endBody:{col:68,line:18}},"internal-links":{startLoc:{col:29,line:20},endLoc:{col:1,line:38},startBody:{col:29,line:20},endBody:{col:1,line:38}},"external-links":{startLoc:{col:29,line:49},endLoc:{col:1,line:85},startBody:{col:29,line:49},endBody:{col:1,line:85}},"open-in-new-tab-link":{startLoc:{col:32,line:97},endLoc:{col:1,line:108},startBody:{col:32,line:97},endBody:{col:1,line:108}},"visited-styles-disabled":{startLoc:{col:37,line:117},endLoc:{col:1,line:121},startBody:{col:37,line:117},endBody:{col:1,line:121}},"inline-links":{startLoc:{col:27,line:127},endLoc:{col:1,line:152},startBody:{col:27,line:127},endBody:{col:1,line:152}},"standalone-link":{startLoc:{col:30,line:161},endLoc:{col:1,line:167},startBody:{col:30,line:161},endBody:{col:1,line:167}},"with-custom-icon":{startLoc:{col:30,line:171},endLoc:{col:1,line:239},startBody:{col:30,line:171},endBody:{col:1,line:239}}}},controls:{expanded:!0}},args:{href:"/?path=/docs/components-link--internal-links"}};var Default=function Default(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Link__WEBPACK_IMPORTED_MODULE_2__.r,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{children:"Default link"}))},InternalLinks=function InternalLinks(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Link__WEBPACK_IMPORTED_MODULE_2__.r,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{href:args.href,size:"S",children:"Internal link size S"})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Link__WEBPACK_IMPORTED_MODULE_2__.r,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{href:args.href,size:"M",children:"Internal link size M"})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Link__WEBPACK_IMPORTED_MODULE_2__.r,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{href:args.href,size:"L",children:"Internal link size L"}))]})};InternalLinks.storyName="Internal links",InternalLinks.argTypes={size:{control:!1},external:{control:!1}};var ExternalLinks=function ExternalLinks(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Link__WEBPACK_IMPORTED_MODULE_2__.r,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{external:!0,openInExternalDomainAriaLabel:"Opens a different website",size:"S",href:"https://hds.hel.fi",children:"External link size S"})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Link__WEBPACK_IMPORTED_MODULE_2__.r,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{external:!0,openInExternalDomainAriaLabel:"Opens a different website",size:"M",href:"https://hds.hel.fi",children:"External link size M"})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Link__WEBPACK_IMPORTED_MODULE_2__.r,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{external:!0,openInExternalDomainAriaLabel:"Opens a different website",size:"L",href:"https://hds.hel.fi",children:"External link size L"}))]})};ExternalLinks.storyName="External links",ExternalLinks.argTypes={size:{control:!1},external:{control:!1}};var OpenInNewTabLink=function OpenInNewTabLink(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Link__WEBPACK_IMPORTED_MODULE_2__.r,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{href:"https://hds.hel.fi",external:args.external,openInExternalDomainAriaLabel:args.openInExternalDomainAriaLabel,openInNewTabAriaLabel:args.openInNewTabAriaLabel,openInNewTab:args.openInNewTab,children:"Link that opens in a new tab"}))};OpenInNewTabLink.storyName="Link that opens in a new tab",OpenInNewTabLink.args={openInNewTabAriaLabel:"Opens in a new tab.",openInExternalDomainAriaLabel:"Opens a different website",openInNewTab:!0,external:!0};var visitedStylesDisabled=function visitedStylesDisabled(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Link__WEBPACK_IMPORTED_MODULE_2__.r,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{href:args.href,disableVisitedStyles:args.disableVisitedStyles,children:"Link without visited styles"}))};visitedStylesDisabled.storyName="Link without visited styles",visitedStylesDisabled.args={disableVisitedStyles:!0};var inlineLinks=function inlineLinks(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{style:{fontSize:"14px"},children:["Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Link__WEBPACK_IMPORTED_MODULE_2__.r,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({size:"S"},args),{},{external:!0,openInExternalDomainAriaLabel:"Opens a different website",children:"Inline link"})),"consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{style:{fontSize:"16px"},children:["Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Link__WEBPACK_IMPORTED_MODULE_2__.r,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{external:!0,openInExternalDomainAriaLabel:"Opens a different website",children:"Inline link"})),"consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."]})]})};inlineLinks.storyName="Inline links",inlineLinks.argTypes={size:{control:!1}};var standaloneLink=function standaloneLink(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Link__WEBPACK_IMPORTED_MODULE_2__.r,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{size:"L",style:{display:"block",marginBottom:"20px",width:"fit-content"},children:"Standalone link"}))};standaloneLink.storyName="Standalone link";var withCustomIcon=function withCustomIcon(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div",{style:{display:"grid",columnGap:"10px",gridTemplateColumns:"1fr 1fr 1fr"},children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("p",{children:"Small"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Link__WEBPACK_IMPORTED_MODULE_2__.r,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{iconLeft:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_4__.IconDocument,{size:"xs","aria-hidden":!0}),size:"S",href:"/#",children:"Document link"})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Link__WEBPACK_IMPORTED_MODULE_2__.r,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{iconLeft:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_5__.IconPhone,{size:"xs","aria-hidden":!0}),size:"S",href:"/#",children:"Phone link"})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Link__WEBPACK_IMPORTED_MODULE_2__.r,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{iconLeft:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_6__.IconEnvelope,{size:"xs","aria-hidden":!0}),size:"S",href:"/#",children:"Envelope link"})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Link__WEBPACK_IMPORTED_MODULE_2__.r,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{iconLeft:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_7__.IconPhoto,{size:"xs","aria-hidden":!0}),size:"S",href:"/#",children:"Photo link"}))]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("p",{children:"Medium"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Link__WEBPACK_IMPORTED_MODULE_2__.r,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{iconLeft:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_4__.IconDocument,{size:"s","aria-hidden":!0}),size:"M",href:"/#",children:"Document link"})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Link__WEBPACK_IMPORTED_MODULE_2__.r,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{iconLeft:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_5__.IconPhone,{size:"s","aria-hidden":!0}),size:"M",href:"/#",children:"Phone link"})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Link__WEBPACK_IMPORTED_MODULE_2__.r,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{iconLeft:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_6__.IconEnvelope,{size:"s","aria-hidden":!0}),size:"M",href:"/#",children:"Envelope link"})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Link__WEBPACK_IMPORTED_MODULE_2__.r,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{iconLeft:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_7__.IconPhoto,{size:"s","aria-hidden":!0}),size:"M",href:"/#",children:"Photo link"}))]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("p",{children:"Large"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Link__WEBPACK_IMPORTED_MODULE_2__.r,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{iconLeft:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_4__.IconDocument,{size:"l","aria-hidden":!0}),size:"L",href:"/#",children:"Document link"})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Link__WEBPACK_IMPORTED_MODULE_2__.r,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{iconLeft:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_5__.IconPhone,{size:"l","aria-hidden":!0}),size:"L",href:"/#",children:"Phone Link"})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Link__WEBPACK_IMPORTED_MODULE_2__.r,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{iconLeft:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_6__.IconEnvelope,{size:"l","aria-hidden":!0}),size:"L",href:"/#",children:"Envelope Link"})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Link__WEBPACK_IMPORTED_MODULE_2__.r,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{iconLeft:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_7__.IconPhoto,{size:"l","aria-hidden":!0}),size:"L",href:"/#",children:"Photo Link"}))]})]})};withCustomIcon.storyName="With a custom icon",withCustomIcon.argTypes={size:{control:!1}},Default.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => Default link"}},Default.parameters),InternalLinks.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:'(args) => {\n return (\n <>\n \n Internal link size S\n \n \n \n \n Internal link size M\n \n \n \n \n Internal link size L\n \n >\n );\n}'}},InternalLinks.parameters),ExternalLinks.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:'(args) => {\n return (\n <>\n \n External link size S\n \n \n \n \n External link size M\n \n \n \n \n External link size L\n \n >\n );\n}'}},ExternalLinks.parameters),OpenInNewTabLink.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:'(args) => (\n \n Link that opens in a new tab\n \n)'}},OpenInNewTabLink.parameters),visitedStylesDisabled.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => (\n \n Link without visited styles\n \n)"}},visitedStylesDisabled.parameters),inlineLinks.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:'(args) => {\n return (\n <>\n \n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore\n magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n \n Inline link\n \n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla\n pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est\n laborum.\n
\n \n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore\n magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n \n Inline link\n \n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla\n pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est\n laborum.\n
\n >\n );\n}'}},inlineLinks.parameters),standaloneLink.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => {\n return (\n \n Standalone link\n \n );\n}"}},standaloneLink.parameters),withCustomIcon.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:'(args) => {\n return (\n \n
\n
Small
\n
} size="S" href="/#">\n Document link\n \n
\n
\n
} size="S" href="/#">\n Phone link\n \n
\n
\n
} size="S" href="/#">\n Envelope link\n \n
\n
\n
} size="S" href="/#">\n Photo link\n \n
\n
\n
Medium
\n
} size="M" href="/#">\n Document link\n \n
\n
\n
} size="M" href="/#">\n Phone link\n \n
\n
\n
} size="M" href="/#">\n Envelope link\n \n
\n
\n
} size="M" href="/#">\n Photo link\n \n
\n
\n
Large
\n
} size="L" href="/#">\n Document link\n \n
\n
\n
} size="L" href="/#">\n Phone Link\n \n
\n
\n
} size="L" href="/#">\n Envelope Link\n \n
\n
\n
} size="L" href="/#">\n Photo Link\n \n
\n
\n );\n}'}},withCustomIcon.parameters);try{Default.displayName="Default",Default.__docgenInfo={description:"",displayName:"Default",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/link/Link.stories.tsx#Default"]={docgenInfo:Default.__docgenInfo,name:"Default",path:"src/components/link/Link.stories.tsx#Default"})}catch(__react_docgen_typescript_loader_error){}try{InternalLinks.displayName="InternalLinks",InternalLinks.__docgenInfo={description:"",displayName:"InternalLinks",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/link/Link.stories.tsx#InternalLinks"]={docgenInfo:InternalLinks.__docgenInfo,name:"InternalLinks",path:"src/components/link/Link.stories.tsx#InternalLinks"})}catch(__react_docgen_typescript_loader_error){}try{ExternalLinks.displayName="ExternalLinks",ExternalLinks.__docgenInfo={description:"",displayName:"ExternalLinks",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/link/Link.stories.tsx#ExternalLinks"]={docgenInfo:ExternalLinks.__docgenInfo,name:"ExternalLinks",path:"src/components/link/Link.stories.tsx#ExternalLinks"})}catch(__react_docgen_typescript_loader_error){}try{OpenInNewTabLink.displayName="OpenInNewTabLink",OpenInNewTabLink.__docgenInfo={description:"",displayName:"OpenInNewTabLink",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/link/Link.stories.tsx#OpenInNewTabLink"]={docgenInfo:OpenInNewTabLink.__docgenInfo,name:"OpenInNewTabLink",path:"src/components/link/Link.stories.tsx#OpenInNewTabLink"})}catch(__react_docgen_typescript_loader_error){}try{visitedStylesDisabled.displayName="visitedStylesDisabled",visitedStylesDisabled.__docgenInfo={description:"",displayName:"visitedStylesDisabled",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/link/Link.stories.tsx#visitedStylesDisabled"]={docgenInfo:visitedStylesDisabled.__docgenInfo,name:"visitedStylesDisabled",path:"src/components/link/Link.stories.tsx#visitedStylesDisabled"})}catch(__react_docgen_typescript_loader_error){}try{inlineLinks.displayName="inlineLinks",inlineLinks.__docgenInfo={description:"",displayName:"inlineLinks",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/link/Link.stories.tsx#inlineLinks"]={docgenInfo:inlineLinks.__docgenInfo,name:"inlineLinks",path:"src/components/link/Link.stories.tsx#inlineLinks"})}catch(__react_docgen_typescript_loader_error){}try{standaloneLink.displayName="standaloneLink",standaloneLink.__docgenInfo={description:"",displayName:"standaloneLink",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/link/Link.stories.tsx#standaloneLink"]={docgenInfo:standaloneLink.__docgenInfo,name:"standaloneLink",path:"src/components/link/Link.stories.tsx#standaloneLink"})}catch(__react_docgen_typescript_loader_error){}try{withCustomIcon.displayName="withCustomIcon",withCustomIcon.__docgenInfo={description:"",displayName:"withCustomIcon",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/link/Link.stories.tsx#withCustomIcon"]={docgenInfo:withCustomIcon.__docgenInfo,name:"withCustomIcon",path:"src/components/link/Link.stories.tsx#withCustomIcon"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/linkbox/LinkboxEmpty.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Default:()=>Default,External:()=>External,LargeSize:()=>LargeSize,MediumSize:()=>MediumSize,SmallSize:()=>SmallSize,WithBorder:()=>WithBorder,WithoutBackground:()=>WithoutBackground,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),_Linkbox__WEBPACK_IMPORTED_MODULE_2__=(__webpack_require__("../../node_modules/react/index.js"),__webpack_require__("./src/components/linkbox/Linkbox.tsx")),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js");const __WEBPACK_DEFAULT_EXPORT__={component:_Linkbox__WEBPACK_IMPORTED_MODULE_2__.R,title:"Components/Linkbox/Empty for custom content",decorators:[function(storyFn){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{maxWidth:"400px"},children:storyFn()})}],parameters:{storySource:{source:'import React from \'react\';\n\nimport { Linkbox } from \'./Linkbox\';\n\nexport default {\n component: Linkbox,\n title: \'Components/Linkbox/Empty for custom content\',\n decorators: [(storyFn) => {storyFn()}
],\n parameters: {\n backgrounds: {\n default: \'gray\',\n values: [{ name: \'gray\', value: \'#efefef\' }],\n },\n controls: { expanded: true },\n },\n};\n\nexport const Default = () => (\n \n);\n\nexport const WithBorder = () => (\n \n);\n\nexport const WithoutBackground = () => (\n \n);\n\nexport const External = () => (\n \n);\n\nexport const SmallSize = () => (\n \n);\n\nexport const MediumSize = () => (\n \n);\n\nexport const LargeSize = () => (\n \n);\n',locationsMap:{default:{startLoc:{col:23,line:18},endLoc:{col:1,line:24},startBody:{col:23,line:18},endBody:{col:1,line:24}},"with-border":{startLoc:{col:26,line:26},endLoc:{col:1,line:32},startBody:{col:26,line:26},endBody:{col:1,line:32}},"without-background":{startLoc:{col:33,line:34},endLoc:{col:1,line:40},startBody:{col:33,line:34},endBody:{col:1,line:40}},external:{startLoc:{col:24,line:42},endLoc:{col:1,line:48},startBody:{col:24,line:42},endBody:{col:1,line:48}},"small-size":{startLoc:{col:25,line:50},endLoc:{col:1,line:56},startBody:{col:25,line:50},endBody:{col:1,line:56}},"medium-size":{startLoc:{col:26,line:58},endLoc:{col:1,line:64},startBody:{col:26,line:58},endBody:{col:1,line:64}},"large-size":{startLoc:{col:25,line:66},endLoc:{col:1,line:72},startBody:{col:25,line:66},endBody:{col:1,line:72}}}},backgrounds:{default:"gray",values:[{name:"gray",value:"#efefef"}]},controls:{expanded:!0}}};var Default=function Default(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{width:"320px"},children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Linkbox__WEBPACK_IMPORTED_MODULE_2__.R,{linkboxAriaLabel:"Linkbox: HDS",linkAriaLabel:"HDS",href:"https://hds.hel.fi",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{height:"224px"}})})})},WithBorder=function WithBorder(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{width:"320px"},children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Linkbox__WEBPACK_IMPORTED_MODULE_2__.R,{linkboxAriaLabel:"Linkbox: HDS",linkAriaLabel:"HDS",href:"https://hds.hel.fi",border:!0,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{height:"224px"}})})})},WithoutBackground=function WithoutBackground(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{width:"320px"},children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Linkbox__WEBPACK_IMPORTED_MODULE_2__.R,{linkboxAriaLabel:"Linkbox: HDS",linkAriaLabel:"HDS",href:"https://hds.hel.fi",noBackground:!0,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{height:"224px"}})})})},External=function External(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{width:"320px"},children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Linkbox__WEBPACK_IMPORTED_MODULE_2__.R,{linkboxAriaLabel:"Linkbox: HDS",linkAriaLabel:"HDS",href:"https://hds.hel.fi",external:!0,openInNewTab:!0,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{height:"224px"}})})})},SmallSize=function SmallSize(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{width:"288px"},children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Linkbox__WEBPACK_IMPORTED_MODULE_2__.R,{linkboxAriaLabel:"Linkbox: HDS",linkAriaLabel:"HDS",href:"https://hds.hel.fi",size:"small",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{height:"192px"}})})})},MediumSize=function MediumSize(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{width:"320px"},children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Linkbox__WEBPACK_IMPORTED_MODULE_2__.R,{linkboxAriaLabel:"Linkbox: HDS",linkAriaLabel:"HDS",href:"https://hds.hel.fi",size:"medium",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{height:"224px"}})})})},LargeSize=function LargeSize(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{width:"400px"},children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Linkbox__WEBPACK_IMPORTED_MODULE_2__.R,{linkboxAriaLabel:"Linkbox: HDS",linkAriaLabel:"HDS",href:"https://hds.hel.fi",size:"large",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{height:"296px"}})})})};Default.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:'() => (\n \n)'}},Default.parameters),WithBorder.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:'() => (\n \n)'}},WithBorder.parameters),WithoutBackground.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:'() => (\n \n)'}},WithoutBackground.parameters),External.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:'() => (\n \n)'}},External.parameters),SmallSize.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:'() => (\n \n)'}},SmallSize.parameters),MediumSize.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:'() => (\n \n)'}},MediumSize.parameters),LargeSize.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:'() => (\n \n)'}},LargeSize.parameters)},"./src/components/linkbox/LinkboxWithHeadingAndTitle.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Default:()=>Default,External:()=>External,LargeSize:()=>LargeSize,MediumSize:()=>MediumSize,SmallSize:()=>SmallSize,WithBorder:()=>WithBorder,WithoutBackground:()=>WithoutBackground,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),_Linkbox__WEBPACK_IMPORTED_MODULE_2__=(__webpack_require__("../../node_modules/react/index.js"),__webpack_require__("./src/components/linkbox/Linkbox.tsx")),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js");const __WEBPACK_DEFAULT_EXPORT__={component:_Linkbox__WEBPACK_IMPORTED_MODULE_2__.R,title:"Components/Linkbox/With text and heading",decorators:[function(storyFn){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{maxWidth:"400px"},children:storyFn()})}],parameters:{storySource:{source:'import React from \'react\';\n\nimport { Linkbox } from \'./Linkbox\';\n\nexport default {\n component: Linkbox,\n title: \'Components/Linkbox/With text and heading\',\n decorators: [(storyFn) => {storyFn()}
],\n parameters: {\n backgrounds: {\n default: \'gray\',\n values: [{ name: \'gray\', value: \'#efefef\' }],\n },\n controls: { expanded: true },\n },\n};\n\nexport const Default = () => (\n \n \n
\n);\n\nexport const WithBorder = () => (\n \n \n
\n);\n\nexport const WithoutBackground = () => (\n \n \n
\n);\n\nexport const External = () => (\n \n \n
\n);\n\nexport const SmallSize = () => (\n \n \n
\n);\n\nexport const MediumSize = () => (\n \n \n
\n);\n\nexport const LargeSize = () => (\n \n);\n',locationsMap:{default:{startLoc:{col:23,line:18},endLoc:{col:1,line:28},startBody:{col:23,line:18},endBody:{col:1,line:28}},"with-border":{startLoc:{col:26,line:30},endLoc:{col:1,line:41},startBody:{col:26,line:30},endBody:{col:1,line:41}},"without-background":{startLoc:{col:33,line:43},endLoc:{col:1,line:54},startBody:{col:33,line:43},endBody:{col:1,line:54}},external:{startLoc:{col:24,line:56},endLoc:{col:1,line:68},startBody:{col:24,line:56},endBody:{col:1,line:68}},"small-size":{startLoc:{col:25,line:70},endLoc:{col:1,line:81},startBody:{col:25,line:70},endBody:{col:1,line:81}},"medium-size":{startLoc:{col:26,line:83},endLoc:{col:1,line:94},startBody:{col:26,line:83},endBody:{col:1,line:94}},"large-size":{startLoc:{col:25,line:96},endLoc:{col:1,line:105},startBody:{col:25,line:96},endBody:{col:1,line:105}}}},backgrounds:{default:"gray",values:[{name:"gray",value:"#efefef"}]},controls:{expanded:!0}}};var Default=function Default(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{width:"320px"},children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Linkbox__WEBPACK_IMPORTED_MODULE_2__.R,{linkboxAriaLabel:"Linkbox: HDS",linkAriaLabel:"HDS",href:"https://hds.hel.fi",heading:"Linkbox title",text:"Linkbox text"})})},WithBorder=function WithBorder(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{width:"320px"},children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Linkbox__WEBPACK_IMPORTED_MODULE_2__.R,{linkboxAriaLabel:"Linkbox: HDS",linkAriaLabel:"HDS",href:"https://hds.hel.fi",heading:"Linkbox title",text:"Linkbox text",border:!0})})},WithoutBackground=function WithoutBackground(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{width:"320px"},children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Linkbox__WEBPACK_IMPORTED_MODULE_2__.R,{linkboxAriaLabel:"Linkbox: HDS",linkAriaLabel:"HDS",href:"https://hds.hel.fi",heading:"Linkbox title",text:"Linkbox text",noBackground:!0})})},External=function External(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{width:"320px"},children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Linkbox__WEBPACK_IMPORTED_MODULE_2__.R,{linkboxAriaLabel:"Linkbox: HDS",linkAriaLabel:"HDS",href:"https://hds.hel.fi",heading:"Linkbox title",text:"Linkbox text",external:!0,openInNewTab:!0})})},SmallSize=function SmallSize(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{width:"288px"},children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Linkbox__WEBPACK_IMPORTED_MODULE_2__.R,{linkboxAriaLabel:"Linkbox: HDS",linkAriaLabel:"HDS",href:"https://hds.hel.fi",heading:"Linkbox title",text:"Linkbox text",size:"small"})})},MediumSize=function MediumSize(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{width:"320px"},children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Linkbox__WEBPACK_IMPORTED_MODULE_2__.R,{linkboxAriaLabel:"Linkbox: HDS",linkAriaLabel:"HDS",href:"https://hds.hel.fi",heading:"Linkbox title",text:"Linkbox text",size:"medium"})})},LargeSize=function LargeSize(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Linkbox__WEBPACK_IMPORTED_MODULE_2__.R,{linkboxAriaLabel:"Linkbox: HDS",linkAriaLabel:"HDS",href:"https://hds.hel.fi",heading:"Linkbox title",text:"Linkbox text",size:"large"})};Default.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:'() => (\n \n \n
\n)'}},Default.parameters),WithBorder.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:'() => (\n \n \n
\n)'}},WithBorder.parameters),WithoutBackground.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:'() => (\n \n \n
\n)'}},WithoutBackground.parameters),External.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:'() => (\n \n \n
\n)'}},External.parameters),SmallSize.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:'() => (\n \n \n
\n)'}},SmallSize.parameters),MediumSize.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:'() => (\n \n \n
\n)'}},MediumSize.parameters),LargeSize.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:'() => (\n \n)'}},LargeSize.parameters)},"./src/components/linkbox/LinkboxWithImage.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Default:()=>Default,External:()=>External,LargeSize:()=>LargeSize,MediumSize:()=>MediumSize,SmallSize:()=>SmallSize,WithBorder:()=>WithBorder,WithoutBackground:()=>WithoutBackground,default:()=>LinkboxWithImage_stories});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),Linkbox=(__webpack_require__("../../node_modules/react/index.js"),__webpack_require__("./src/components/linkbox/Linkbox.tsx"));const placeholder_medium_namespaceObject=__webpack_require__.p+"f3b374ad3ff135c4f79b.png",placeholder_large_namespaceObject=__webpack_require__.p+"ac06baf0acb35bb93c0b.png";var jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js");const LinkboxWithImage_stories={component:Linkbox.R,title:"Components/Linkbox/With image",decorators:[function(storyFn){return(0,jsx_runtime.jsx)("div",{style:{maxWidth:"567px"},children:storyFn()})}],parameters:{storySource:{source:'import React from \'react\';\n\nimport { Linkbox } from \'./Linkbox\';\n\n// @ts-ignore\nimport smallImage from \'../../assets/img/linkbox/placeholder-small.png\';\n// @ts-ignore\nimport mediumImage from \'../../assets/img/linkbox/placeholder-medium.png\';\n// @ts-ignore\nimport largeImage from \'../../assets/img/linkbox/placeholder-large.png\';\n\n\nexport default {\n component: Linkbox,\n title: \'Components/Linkbox/With image\',\n decorators: [(storyFn) => {storyFn()}
],\n parameters: {\n backgrounds: {\n default: \'gray\',\n values: [{ name: \'gray\', value: \'#efefef\' }],\n },\n controls: { expanded: true },\n },\n};\n\nexport const Default = () => (\n \n \n
\n);\n\nexport const WithBorder = () => (\n \n \n
\n);\n\nexport const WithoutBackground = () => (\n \n \n
\n);\n\nexport const External = () => (\n \n \n
\n);\n\nexport const SmallSize = () => (\n \n \n
\n);\n\nexport const MediumSize = () => (\n \n \n
\n);\n\nexport const LargeSize = () => (\n \n \n
\n);\n',locationsMap:{default:{startLoc:{col:23,line:26},endLoc:{col:1,line:37},startBody:{col:23,line:26},endBody:{col:1,line:37}},"with-border":{startLoc:{col:26,line:39},endLoc:{col:1,line:51},startBody:{col:26,line:39},endBody:{col:1,line:51}},"without-background":{startLoc:{col:33,line:53},endLoc:{col:1,line:65},startBody:{col:33,line:53},endBody:{col:1,line:65}},external:{startLoc:{col:24,line:67},endLoc:{col:1,line:80},startBody:{col:24,line:67},endBody:{col:1,line:80}},"small-size":{startLoc:{col:25,line:82},endLoc:{col:1,line:94},startBody:{col:25,line:82},endBody:{col:1,line:94}},"medium-size":{startLoc:{col:26,line:96},endLoc:{col:1,line:108},startBody:{col:26,line:96},endBody:{col:1,line:108}},"large-size":{startLoc:{col:25,line:110},endLoc:{col:1,line:122},startBody:{col:25,line:110},endBody:{col:1,line:122}}}},backgrounds:{default:"gray",values:[{name:"gray",value:"#efefef"}]},controls:{expanded:!0}}};var Default=function Default(){return(0,jsx_runtime.jsx)("div",{style:{maxWidth:"384px"},children:(0,jsx_runtime.jsx)(Linkbox.R,{linkboxAriaLabel:"Linkbox: HDS",linkAriaLabel:"HDS",href:"https://hds.hel.fi",heading:"Linkbox title",text:"Linkbox text",imgProps:{src:placeholder_medium_namespaceObject,width:384,height:245}})})},WithBorder=function WithBorder(){return(0,jsx_runtime.jsx)("div",{style:{maxWidth:"384px"},children:(0,jsx_runtime.jsx)(Linkbox.R,{linkboxAriaLabel:"Linkbox: HDS",linkAriaLabel:"HDS",href:"https://hds.hel.fi",heading:"Linkbox title",text:"Linkbox text",border:!0,imgProps:{src:placeholder_medium_namespaceObject,width:384,height:245}})})},WithoutBackground=function WithoutBackground(){return(0,jsx_runtime.jsx)("div",{style:{maxWidth:"384px"},children:(0,jsx_runtime.jsx)(Linkbox.R,{linkboxAriaLabel:"Linkbox: HDS",linkAriaLabel:"HDS",href:"https://hds.hel.fi",heading:"Linkbox title",text:"Linkbox text",noBackground:!0,imgProps:{src:placeholder_medium_namespaceObject,width:384,height:245}})})},External=function External(){return(0,jsx_runtime.jsx)("div",{style:{maxWidth:"384px"},children:(0,jsx_runtime.jsx)(Linkbox.R,{linkboxAriaLabel:"Linkbox: HDS",linkAriaLabel:"HDS",href:"https://hds.hel.fi",heading:"Linkbox title",text:"Linkbox text",external:!0,openInNewTab:!0,imgProps:{src:placeholder_medium_namespaceObject,width:384,height:245}})})},SmallSize=function SmallSize(){return(0,jsx_runtime.jsx)("div",{style:{maxWidth:"284px"},children:(0,jsx_runtime.jsx)(Linkbox.R,{linkboxAriaLabel:"Linkbox: HDS",linkAriaLabel:"HDS",href:"https://hds.hel.fi",heading:"Linkbox title",text:"Linkbox text",imgProps:{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlgAAAHCCAYAAAAzc7dkAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAACWKADAAQAAAABAAABwgAAAACRdu29AAAc8klEQVR4Ae3dS4uc1RYG4N0mIEGNQkwcaSSCE02UoCMRFceKmQUkEgj+DsnvEEGcmIGIoJmIouhIRMEbIYoJUYPE28ALGWjMYZd00+lUPFXlWl1ff+spELs7VW/VetYevNSle+X8+fOXmwsBAgQIECBAgECYwHVhSYIIECBAgAABAgQmAgqWg0CAAAECBAgQCBZQsIJBxREgQIAAAQIEFCxngAABAgQIECAQLKBgBYOKI0CAAAECBAgoWM4AAQIECBAgQCBYQMEKBhVHgAABAgQIEFCwnAECBAgQIECAQLCAghUMKo4AAQIECBAgoGA5AwQIECBAgACBYAEFKxhUHAECBAgQIEBAwXIGCBAgQIAAAQLBAgpWMKg4AgQIECBAgICC5QwQIECAAAECBIIFFKxgUHEECBAgQIAAAQXLGSBAgAABAgQIBAsoWMGg4ggQIECAAAECCpYzQIAAAQIECBAIFlCwgkHFESBAgAABAgQULGeAAAECBAgQIBAsoGAFg4ojQIAAAQIECChYzgABAgQIECBAIFhAwQoGFUeAAAECBAgQULCcAQIECBAgQIBAsICCFQwqjgABAgQIECCgYDkDBAgQIECAAIFgAQUrGFQcAQIECBAgQEDBcgYIECBAgAABAsECClYwqDgCBAgQIECAgILlDBAgQIAAAQIEggUUrGBQcQQIECBAgAABBcsZIECAAAECBAgECyhYwaDiCBAgQIAAAQIKljNAgAABAgQIEAgWULCCQcURIECAAAECBBQsZ4AAAQIECBAgECygYAWDiiNAgAABAgQIKFjOAAECBAgQIEAgWEDBCgYVR4AAAQIECBBQsJwBAgQIECBAgECwgIIVDCqOAAECBAgQIKBgOQMECBAgQIAAgWABBSsYVBwBAgQIECBAQMFyBggQIECAAAECwQIKVjCoOAIECBAgQICAguUMECBAgAABAgSCBRSsYFBxBAgQIECAAAEFyxkgQIAAAQIECAQLKFjBoOIIECBAgAABAgqWM0CAAAECBAgQCBZQsIJBxREgQIAAAQIEFCxngAABAgQIECAQLKBgBYOKI0CAAAECBAgoWM4AAQIECBAgQCBYQMEKBhVHgAABAgQIEFCwnAECBAgQIECAQLCAghUMKo4AAQIECBAgoGA5AwQIECBAgACBYAEFKxhUHAECBAgQIEBAwXIGCBAgQIAAAQLBAgpWMKg4AgQIECBAgICC5QwQIECAAAECBIIFFKxgUHEECBAgQIAAAQXLGSBAgAABAgQIBAsoWMGg4ggQIECAAAECCpYzQIAAAQIECBAIFlCwgkHFESBAgAABAgQULGeAAAECBAgQIBAsoGAFg4ojQIAAAQIECChYzgABAgQIECBAIFhAwQoGFUeAAAECBAgQULCcAQIECBAgQIBAsICCFQwqjgABAgQIECCgYDkDBAgQIECAAIFgAQUrGFQcAQIECBAgQEDBcgYIECBAgAABAsECClYwqDgCBAgQIECAgILlDBAgQIAAAQIEggUUrGBQcQQIECBAgAABBcsZIECAAAECBAgECyhYwaDiCBAgQIAAAQIKljNAgAABAgQIEAgWULCCQcURIECAAAECBBQsZ4AAAQIECBAgECygYAWDiiNAgAABAgQIKFjOAAECBAgQIEAgWEDBCgYVR4AAAQIECBBQsJwBAgQIECBAgECwgIIVDCqOAAECBAgQIKBgOQMECBAgQIAAgWABBSsYVBwBAgQIECBAQMFyBggQIECAAAECwQIKVjCoOAIECBAgQICAguUMECBAgAABAgSCBRSsYFBxBAgQIECAAAEFyxkgQIAAAQIECAQLKFjBoOIIECBAgAABAgqWM0CAAAECBAgQCBZQsIJBxREgQIAAAQIEFCxngAABAgQIECAQLKBgBYOKI0CAAAECBAgoWM4AAQIECBAgQCBYQMEKBhVHgAABAgQIEFCwnAECBAgQIECAQLCAghUMKo4AAQIECBAgoGA5AwQIECBAgACBYAEFKxhUHAECBAgQIEBAwXIGCBAgQIAAAQLBAgpWMKg4AgQIECBAgICC5QwQIECAAAECBIIFFKxgUHEECBAgQIAAAQXLGSBAgAABAgQIBAsoWMGg4ggQIECAAAECCpYzQIAAAQIECBAIFlCwgkHFESBAgAABAgQULGeAAAECBAgQIBAsoGAFg4ojQIAAAQIECChYzgABAgQIECBAIFhAwQoGFUeAAAECBAgQULCcAQIECBAgQIBAsICCFQwqjgABAgQIECCgYDkDBAgQIECAAIFgAQUrGFQcAQIECBAgQEDBcgYIECBAgAABAsECClYwqDgCBAgQIECAgILlDBAgQIAAAQIEggUUrGBQcQQIECBAgAABBcsZIECAAAECBAgECyhYwaDiCBAgQIAAAQIKljNAgAABAgQIEAgWULCCQcURIECAAAECBBQsZ4AAAQIECBAgECygYAWDiiNAgAABAgQIKFjOAAECBAgQIEAgWEDBCgYVR4AAAQIECBBQsJwBAgQIECBAgECwgIIVDCqOAAECBAgQIKBgOQMECBAgQIAAgWABBSsYVBwBAgQIECBAQMFyBggQIECAAAECwQIKVjCoOAIECBAgQICAguUMECBAgAABAgSCBRSsYFBxBAgQIECAAAEFyxkgQIAAAQIECAQLKFjBoOIIECBAgAABAgqWM0CAAAECBAgQCBZQsIJBxREgQIAAAQIEFCxngAABAgQIECAQLKBgBYOKI0CAAAECBAgoWM4AAQIECBAgQCBYQMEKBhVHgAABAgQIEFCwnAECBAgQIECAQLCAghUMKo4AAQIECBAgoGA5AwQIECBAgACBYAEFKxhUHAECBAgQIEBAwXIGCBAgQIAAAQLBAgpWMKg4AgQIECBAgICC5QwQIECAAAECBIIFFKxgUHEECBAgQIAAAQXLGSBAgAABAgQIBAsoWMGg4ggQIECAAAECCpYzQIAAAQIECBAIFlCwgkHFESBAgAABAgQULGeAAAECBAgQIBAsoGAFg4ojQIAAAQIECChYzgABAgQIECBAIFhAwQoGFUeAAAECBAgQULCcAQIECBAgQIBAsICCFQwqjgABAgQIECCgYDkDBAgQIECAAIFgAQUrGFQcAQIECBAgQEDBcgYIECBAgAABAsECClYwqDgCBAgQIECAgILlDBAgQIAAAQIEggUUrGBQcQQIECBAgAABBcsZIECAAAECBAgECyhYwaDiCBAgQIAAAQIKljNAgAABAgQIEAgWULCCQcURIECAAAECBBQsZ4AAAQIECBAgECygYAWDiiNAgAABAgQIKFjOAAECBAgQIEAgWEDBCgYVR4AAAQIECBBQsJwBAgQIECBAgECwgIIVDCqOAAECBAgQIKBgOQMECBAgQIAAgWABBSsYVBwBAgQIECBAQMFyBggQIECAAAECwQIKVjCoOAIECBAgQICAguUMECBAgAABAgSCBRSsYFBxBAgQIECAAAEFyxkgQIAAAQIECAQLKFjBoOIIECBAgAABAgqWM0CAAAECBAgQCBbYHpwnjgCBwgLHjx/f0tM/99xzW/rxe/AECAxHwDNYw9mFR0KAAAECBAiMREDBGskijUGAAAECBAgMR0DBGs4uPBICBAgQIEBgJAIK1kgWaQwCBAgQIEBgOAIK1nB24ZEQIECAAAECIxHwKcKRLNIYBIYsMLRP5231TzsOedceGwEC/wh4BstJIECAAAECBAgECyhYwaDiCBAgQIAAAQIKljNAgAABAgQIEAgWULCCQcURIECAAAECBBQsZ4AAAQIECBAgECzgU4TBoOIIEJhf4MyZM+2LL75o33zzTfv1118nATt37mx33HFHu+eee9q+ffvmD3ULAgQILFFAwVoivrsmUF3g559/bq+//no7d+7cVRQ//fRT6/99/PHHbe/eve2JJ55ou3btuup6fkCAAIEhCniJcIhb8ZgIFBDoz1a98MILU8vVxvF7AevX7bdxIUCAwFYQULC2wpY8RgIjE+jPXJ04caJdvHhx5sn6dftt+m1dCBAgMHQBBWvoG/L4CIxQoL8sOE+5WiXot+m3dSFAgMDQBRSsoW/I4yMwMoH+hvZp77madcx+257hQoAAgSELeJP7kLfjsREYoUD/tOC0y7Zt29pjjz3WDhw4MPnnTz/9tL3zzjvt0qVLV129Z/hk4VUsfkCAwIAEFKwBLcNDIVBB4FpvVO/l6qGHHlojWP36rbfeWvvZ6hfXylj9d/8nQIDAsgW8RLjsDbh/AsUEVn/P1caxV5+5Wv/zaT/r/36tjPW39TUBAgSWKaBgLVPffRMgQIAAAQKjFFCwRrlWQxEYrkD/De3TLv09Vxsv037Wr3OtjI239z0BAgSWJeA9WMuSd78Eigr0P3/Tf0P7xkt/Q3u/rL4suPom943X69/3DBcCBAgMWUDBGvJ2PDYCIxTof1uw//mbjZf+acH+hvZpb2rfeN2e4UKAAIEhC3iJcMjb8dgIjFCg/3qF/rcFF7302/oVDYvquR0BApsloGBtlrT7IUBgTaD/4eYdO3asfT/rF/02/bYuBAgQGLqAgjX0DXl8BEYosGvXrnb48OG5SlYvV/02/bYuBAgQGLqAgjX0DXl8BEYq0N+ofuzYsZleLuwvC/brenP7SA+DsQiMUMCb3Ee4VCMR2CoC/dmoo0ePTv62YP/zN/03tK/+EtH+qxh6oepvaPeeq62yUY+TAIFVAQVrVcL/CRBYmkAvUErU0vjdMQECCQJeIkxAFUmAAAECBAjUFlCwau/f9AQIECBAgECCgJcIE1BFEiCwuQKXL19u586da59//nn74Ycf2u+//z75b2Vlpd14443thhtuaHv27Gn79++f6U31m/vo3RsBAmMUULDGuFUzERiYwCeffNLuu+++lEfV/6TO22+/vfbm+I138ssvv7T+37fffts++ugjf8dwI5DvCRBIEVCwUliFEiCwXuC1115rvQg9+eST7eabb17/Twt//dtvv7U33nijffnll3NlrH5Kca4buTIBAgTmFPAerDnBXJ0AgcUEzpw5055//vn23XffLRaw7lb9ZcCeNW+5WhfhSwIECKQKKFipvMIJEFgv8Mcff7SXXnpp8nuv1v98nq/7S30vvvhi689guRAgQGCoAgrWUDfjcREYqcCff/7ZXn755fbVV1/NPeHXX389KWgXL16c+7ZuQIAAgc0U8B6szdR2XwQITAT++uuvduLEiXbo0KF27733zqTSPyHY38t16dKla17/tttuaw8++ODkl5b2Tw/2S3/WrL88+cEHH0w+YXjNG/sHAgQIBAooWIGYoggQmF3g77//bq+++mr78ccf2yOPPNKuu276E+r9eu+//3579913/zX80UcfbQ8//PBVObfccks7ePBgu//++2fK+dc78Y8ECBCYUUDBmhHK1QgQWFxg+/btrT9rtfHSf3/Ve++9106fPt0eeOCByTNPN9100+Rq/Zmn/pLghx9+2C5cuLDxpmvfb9u2rT311FP/95mwXuB6kbv11lvbK6+8snZ7XxAgQCBDQMHKUJVJgMAVAocPH568JDitZPUr9gJ18uTJK24zyze9uPXsu+66a5arT67T/3i0gjUzlysSILCgwPTn5BcMczMCBAhME+gF6Omnn27XX3/9tH9e6Gc7duxozzzzzFzlaqE7ciMCBAgsIKBgLYDmJgQIzC9w5513tmPHjoX8otH+MuLRo0fb7bffPv8DcQsCBAhsgoCCtQnI7oIAgX8Edu/ePSlZ+/btW5jk7rvvbs8+++zkbwsuHOKGBAgQSBbwHqxkYPEECFwp0J99OnLkSPvss8/am2++OfmjzFdeY/p3O3fubI8//ng7cODA9Cv4KQECBAYkoGANaBkeCoFKAvv375988u/s2bPt1KlT7fvvv5/8zqr+6cF+6b/Hqv+3Z8+eyfX27t3bVlZWKhGZlQCBLSygYG3h5XnoBLa6QC9M/eXC//KS4VY38PgJEBingPdgjXOvpiJAgAABAgSWKKBgLRHfXRMgQIAAAQLjFFCwxrlXUxEgQIAAAQJLFFCwlojvrgkQIECAAIFxCihY49yrqQgQIECAAIElCvgU4RLx3TWBKgLHjx+vMqo5CRAgMBHwDJaDQIAAAQIECBAIFlCwgkHFESBAgAABAgQULGeAAAECBAgQIBAsoGAFg4ojQIAAAQIECChYzgABAgQIECBAIFhg5fz585eDM8URIECAAAECBEoLeAar9PoNT4AAAQIECGQIKFgZqjIJECBAgACB0gIKVun1G54AAQIECBDIEFCwMlRlEiBAgAABAqUFFKzS6zc8AQIECBAgkCGgYGWoyiRAgAABAgRKCyhYpddveAIECBAgQCBDQMHKUJVJgAABAgQIlBZQsEqv3/AECBAgQIBAhoCClaEqkwABAgQIECgtoGCVXr/hCRAgQIAAgQwBBStDVSYBAgQIECBQWkDBKr1+wxMgQIAAAQIZAgpWhqpMAgQIECBAoLSAglV6/YYnQIAAAQIEMgQUrAxVmQQIECBAgEBpAQWr9PoNT4AAAQIECGQIKFgZqjIJECBAgACB0gIKVun1G54AAQIECBDIEFCwMlRlEiBAgAABAqUFFKzS6zc8AQIECBAgkCGgYGWoyiRAgAABAgRKCyhYpddveAIECBAgQCBDQMHKUJVJgAABAgQIlBZQsEqv3/AECBAgQIBAhoCClaEqkwABAgQIECgtoGCVXr/hCRAgQIAAgQwBBStDVSYBAgQIECBQWkDBKr1+wxMgQIAAAQIZAgpWhqpMAgQIECBAoLSAglV6/YYnQIAAAQIEMgQUrAxVmQQIECBAgEBpAQWr9PoNT4AAAQIECGQIKFgZqjIJECBAgACB0gIKVun1G54AAQIECBDIEFCwMlRlEiBAgAABAqUFFKzS6zc8AQIECBAgkCGgYGWoyiRAgAABAgRKCyhYpddveAIECBAgQCBDQMHKUJVJgAABAgQIlBZQsEqv3/AECBAgQIBAhoCClaEqkwABAgQIECgtoGCVXr/hCRAgQIAAgQwBBStDVSYBAgQIECBQWkDBKr1+wxMgQIAAAQIZAgpWhqpMAgQIECBAoLSAglV6/YYnQIAAAQIEMgQUrAxVmQQIECBAgEBpAQWr9PoNT4AAAQIECGQIKFgZqjIJECBAgACB0gIKVun1G54AAQIECBDIEFCwMlRlEiBAgAABAqUFFKzS6zc8AQIECBAgkCGgYGWoyiRAgAABAgRKCyhYpddveAIECBAgQCBDQMHKUJVJgAABAgQIlBZQsEqv3/AECBAgQIBAhoCClaEqkwABAgQIECgtoGCVXr/hCRAgQIAAgQwBBStDVSYBAgQIECBQWkDBKr1+wxMgQIAAAQIZAgpWhqpMAgQIECBAoLSAglV6/YYnQIAAAQIEMgQUrAxVmQQIECBAgEBpAQWr9PoNT4AAAQIECGQIKFgZqjIJECBAgACB0gIKVun1G54AAQIECBDIEFCwMlRlEiBAgAABAqUFFKzS6zc8AQIECBAgkCGgYGWoyiRAgAABAgRKCyhYpddveAIECBAgQCBDQMHKUJVJgAABAgQIlBZQsEqv3/AECBAgQIBAhoCClaEqkwABAgQIECgtoGCVXr/hCRAgQIAAgQwBBStDVSYBAgQIECBQWkDBKr1+wxMgQIAAAQIZAgpWhqpMAgQIECBAoLSAglV6/YYnQIAAAQIEMgQUrAxVmQQIECBAgEBpAQWr9PoNT4AAAQIECGQIKFgZqjIJECBAgACB0gIKVun1G54AAQIECBDIEFCwMlRlEiBAgAABAqUFFKzS6zc8AQIECBAgkCGgYGWoyiRAgAABAgRKCyhYpddveAIECBAgQCBDQMHKUJVJgAABAgQIlBZQsEqv3/AECBAgQIBAhoCClaEqkwABAgQIECgtoGCVXr/hCRAgQIAAgQwBBStDVSYBAgQIECBQWkDBKr1+wxMgQIAAAQIZAgpWhqpMAgQIECBAoLSAglV6/YYnQIAAAQIEMgQUrAxVmQQIECBAgEBpAQWr9PoNT4AAAQIECGQIKFgZqjIJECBAgACB0gIKVun1G54AAQIECBDIEFCwMlRlEiBAgAABAqUFFKzS6zc8AQIECBAgkCGgYGWoyiRAgAABAgRKCyhYpddveAIECBAgQCBDQMHKUJVJgAABAgQIlBZQsEqv3/AECBAgQIBAhoCClaEqkwABAgQIECgtoGCVXr/hCRAgQIAAgQwBBStDVSYBAgQIECBQWkDBKr1+wxMgQIAAAQIZAgpWhqpMAgQIECBAoLSAglV6/YYnQIAAAQIEMgQUrAxVmQQIECBAgEBpAQWr9PoNT4AAAQIECGQIKFgZqjIJECBAgACB0gIKVun1G54AAQIECBDIEFCwMlRlEiBAgAABAqUFFKzS6zc8AQIECBAgkCGgYGWoyiRAgAABAgRKCyhYpddveAIECBAgQCBDQMHKUJVJgAABAgQIlBZQsEqv3/AECBAgQIBAhoCClaEqkwABAgQIECgtoGCVXr/hCRAgQIAAgQwBBStDVSYBAgQIECBQWkDBKr1+wxMgQIAAAQIZAgpWhqpMAgQIECBAoLSAglV6/YYnQIAAAQIEMgQUrAxVmQQIECBAgEBpAQWr9PoNT4AAAQIECGQIKFgZqjIJECBAgACB0gIKVun1G54AAQIECBDIEFCwMlRlEiBAgAABAqUFFKzS6zc8AQIECBAgkCGgYGWoyiRAgAABAgRKCyhYpddveAIECBAgQCBDQMHKUJVJgAABAgQIlBZQsEqv3/AECBAgQIBAhoCClaEqkwABAgQIECgtoGCVXr/hCRAgQIAAgQwBBStDVSYBAgQIECBQWkDBKr1+wxMgQIAAAQIZAgpWhqpMAgQIECBAoLSAglV6/YYnQIAAAQIEMgQUrAxVmQQIECBAgEBpAQWr9PoNT4AAAQIECGQIKFgZqjIJECBAgACB0gIKVun1G54AAQIECBDIEFCwMlRlEiBAgAABAqUFFKzS6zc8AQIECBAgkCGgYGWoyiRAgAABAgRKCyhYpddveAIECBAgQCBDQMHKUJVJgAABAgQIlBZQsEqv3/AECBAgQIBAhoCClaEqkwABAgQIECgtoGCVXr/hCRAgQIAAgQwBBStDVSYBAgQIECBQWkDBKr1+wxMgQIAAAQIZAgpWhqpMAgQIECBAoLSAglV6/YYnQIAAAQIEMgQUrAxVmQQIECBAgEBpAQWr9PoNT4AAAQIECGQIKFgZqjIJECBAgACB0gIKVun1G54AAQIECBDIEFCwMlRlEiBAgAABAqUFFKzS6zc8AQIECBAgkCGgYGWoyiRAgAABAgRKCyhYpddveAIECBAgQCBDQMHKUJVJgAABAgQIlBZQsEqv3/AECBAgQIBAhoCClaEqkwABAgQIECgtoGCVXr/hCRAgQIAAgQwBBStDVSYBAgQIECBQWkDBKr1+wxMgQIAAAQIZAgpWhqpMAgQIECBAoLSAglV6/YYnQIAAAQIEMgQUrAxVmQQIECBAgEBpAQWr9PoNT4AAAQIECGQIKFgZqjIJECBAgACB0gIKVun1G54AAQIECBDIEFCwMlRlEiBAgAABAqUFFKzS6zc8AQIECBAgkCGgYGWoyiRAgAABAgRKCyhYpddveAIECBAgQCBDQMHKUJVJgAABAgQIlBZQsEqv3/AECBAgQIBAhoCClaEqkwABAgQIECgtoGCVXr/hCRAgQIAAgQwBBStDVSYBAgQIECBQWkDBKr1+wxMgQIAAAQIZAgpWhqpMAgQIECBAoLSAglV6/YYnQIAAAQIEMgQUrAxVmQQIECBAgEBpAQWr9PoNT4AAAQIECGQIKFgZqjIJECBAgACB0gL/A4w4lwCgj36GAAAAAElFTkSuQmCC",width:284,height:181},size:"small"})})},MediumSize=function MediumSize(){return(0,jsx_runtime.jsx)("div",{style:{maxWidth:"384px"},children:(0,jsx_runtime.jsx)(Linkbox.R,{linkboxAriaLabel:"Linkbox: HDS",linkAriaLabel:"HDS",href:"https://hds.hel.fi",heading:"Linkbox title",text:"Linkbox text",imgProps:{src:placeholder_medium_namespaceObject,width:384,height:245},size:"medium"})})},LargeSize=function LargeSize(){return(0,jsx_runtime.jsx)("div",{style:{maxWidth:"567px"},children:(0,jsx_runtime.jsx)(Linkbox.R,{linkboxAriaLabel:"Linkbox: HDS",linkAriaLabel:"HDS",href:"https://hds.hel.fi",heading:"Linkbox title",text:"Linkbox text",imgProps:{src:placeholder_large_namespaceObject,width:567,height:363},size:"large"})})};Default.parameters=(0,objectSpread2.Z)({storySource:{source:'() => (\n \n \n
\n)'}},Default.parameters),WithBorder.parameters=(0,objectSpread2.Z)({storySource:{source:'() => (\n \n \n
\n)'}},WithBorder.parameters),WithoutBackground.parameters=(0,objectSpread2.Z)({storySource:{source:'() => (\n \n \n
\n)'}},WithoutBackground.parameters),External.parameters=(0,objectSpread2.Z)({storySource:{source:'() => (\n \n \n
\n)'}},External.parameters),SmallSize.parameters=(0,objectSpread2.Z)({storySource:{source:'() => (\n \n \n
\n)'}},SmallSize.parameters),MediumSize.parameters=(0,objectSpread2.Z)({storySource:{source:'() => (\n \n \n
\n)'}},MediumSize.parameters),LargeSize.parameters=(0,objectSpread2.Z)({storySource:{source:'() => (\n \n \n
\n)'}},LargeSize.parameters)},"./src/components/loadingSpinner/LoadingSpinner.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{CustomTheme:()=>CustomTheme,Default:()=>Default,MultipleSpinners:()=>MultipleSpinners,Small:()=>Small,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/react/index.js"),_LoadingSpinner__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/components/loadingSpinner/LoadingSpinner.tsx"),_button__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./src/components/button/Button.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js");const __WEBPACK_DEFAULT_EXPORT__={parameters:{storySource:{source:"import React, { useState } from 'react';\n\nimport { LoadingSpinner } from './LoadingSpinner';\nimport { Button } from '../button';\n\nexport default {\n component: LoadingSpinner,\n title: 'Components/LoadingSpinner',\n};\n\nexport const Default = (args) => ;\n\nexport const Small = (args) => ;\nSmall.args = {\n small: true,\n};\n\nexport const CustomTheme = (args) => (\n <>\n \n \n \n >\n);\nCustomTheme.storyName = 'Custom theme';\nCustomTheme.args = {\n theme: {\n '--spinner-color': 'var(--color-tram)',\n '--spinner-color-stage1': 'var(--color-coat-of-arms)',\n '--spinner-color-stage2': 'var(--color-tram)',\n '--spinner-color-stage3': 'var(--color-metro)',\n },\n};\n\nexport const MultipleSpinners = (args) => {\n const [showSpinner1, setShowSpinner1] = useState(false);\n const [showSpinner2, setShowSpinner2] = useState(false);\n const [showSpinner3, setShowSpinner3] = useState(false);\n\n return (\n <>\n \n setShowSpinner1(!showSpinner1)}>\n {showSpinner1 ? 'Remove' : 'Add'} loading spinner #1\n \n
\n \n setShowSpinner2(!showSpinner2)}>\n {showSpinner2 ? 'Remove' : 'Add'} loading spinner #2\n \n
\n \n setShowSpinner3(!showSpinner3)}>\n {showSpinner3 ? 'Remove' : 'Add'} loading spinner #3\n \n
\n {showSpinner1 && }\n {showSpinner2 && }\n {showSpinner3 && }\n >\n );\n};\nMultipleSpinners.storyName = 'Multiple spinners';\n",locationsMap:{default:{startLoc:{col:23,line:11},endLoc:{col:61,line:11},startBody:{col:23,line:11},endBody:{col:61,line:11}},small:{startLoc:{col:21,line:13},endLoc:{col:59,line:13},startBody:{col:21,line:13},endBody:{col:59,line:13}},"custom-theme":{startLoc:{col:27,line:18},endLoc:{col:1,line:24},startBody:{col:27,line:18},endBody:{col:1,line:24}},"multiple-spinners":{startLoc:{col:32,line:35},endLoc:{col:1,line:62},startBody:{col:32,line:35},endBody:{col:1,line:62}}}}},component:_LoadingSpinner__WEBPACK_IMPORTED_MODULE_2__.T,title:"Components/LoadingSpinner"};var Default=function Default(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_LoadingSpinner__WEBPACK_IMPORTED_MODULE_2__.T,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args))},Small=function Small(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_LoadingSpinner__WEBPACK_IMPORTED_MODULE_2__.T,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args))};Small.args={small:!0};var CustomTheme=function CustomTheme(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_LoadingSpinner__WEBPACK_IMPORTED_MODULE_2__.T,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{multicolor:!1})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_LoadingSpinner__WEBPACK_IMPORTED_MODULE_2__.T,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{multicolor:!0}))]})};CustomTheme.storyName="Custom theme",CustomTheme.args={theme:{"--spinner-color":"var(--color-tram)","--spinner-color-stage1":"var(--color-coat-of-arms)","--spinner-color-stage2":"var(--color-tram)","--spinner-color-stage3":"var(--color-metro)"}};var MultipleSpinners=function MultipleSpinners(args){var _useState=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),_useState2=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4__.Z)(_useState,2),showSpinner1=_useState2[0],setShowSpinner1=_useState2[1],_useState3=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),_useState4=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4__.Z)(_useState3,2),showSpinner2=_useState4[0],setShowSpinner2=_useState4[1],_useState5=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),_useState6=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4__.Z)(_useState5,2),showSpinner3=_useState6[0],setShowSpinner3=_useState6[1];return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{marginBottom:"var(--spacing-s)"},children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_button__WEBPACK_IMPORTED_MODULE_5__.z,{onClick:function onClick(){return setShowSpinner1(!showSpinner1)},children:[showSpinner1?"Remove":"Add"," loading spinner #1"]})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{marginBottom:"var(--spacing-s)"},children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_button__WEBPACK_IMPORTED_MODULE_5__.z,{onClick:function onClick(){return setShowSpinner2(!showSpinner2)},children:[showSpinner2?"Remove":"Add"," loading spinner #2"]})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{marginBottom:"var(--spacing-s)"},children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_button__WEBPACK_IMPORTED_MODULE_5__.z,{onClick:function onClick(){return setShowSpinner3(!showSpinner3)},children:[showSpinner3?"Remove":"Add"," loading spinner #3"]})}),showSpinner1&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_LoadingSpinner__WEBPACK_IMPORTED_MODULE_2__.T,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args)),showSpinner2&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_LoadingSpinner__WEBPACK_IMPORTED_MODULE_2__.T,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args)),showSpinner3&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_LoadingSpinner__WEBPACK_IMPORTED_MODULE_2__.T,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args))]})};MultipleSpinners.storyName="Multiple spinners",Default.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => "}},Default.parameters),Small.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => "}},Small.parameters),CustomTheme.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => (\n <>\n \n \n \n >\n)"}},CustomTheme.parameters),MultipleSpinners.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => {\n const [showSpinner1, setShowSpinner1] = useState(false);\n const [showSpinner2, setShowSpinner2] = useState(false);\n const [showSpinner3, setShowSpinner3] = useState(false);\n\n return (\n <>\n \n setShowSpinner1(!showSpinner1)}>\n {showSpinner1 ? 'Remove' : 'Add'} loading spinner #1\n \n
\n \n setShowSpinner2(!showSpinner2)}>\n {showSpinner2 ? 'Remove' : 'Add'} loading spinner #2\n \n
\n \n setShowSpinner3(!showSpinner3)}>\n {showSpinner3 ? 'Remove' : 'Add'} loading spinner #3\n \n
\n {showSpinner1 && }\n {showSpinner2 && }\n {showSpinner3 && }\n >\n );\n}"}},MultipleSpinners.parameters);try{Default.displayName="Default",Default.__docgenInfo={description:"",displayName:"Default",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/loadingSpinner/LoadingSpinner.stories.tsx#Default"]={docgenInfo:Default.__docgenInfo,name:"Default",path:"src/components/loadingSpinner/LoadingSpinner.stories.tsx#Default"})}catch(__react_docgen_typescript_loader_error){}try{Small.displayName="Small",Small.__docgenInfo={description:"",displayName:"Small",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/loadingSpinner/LoadingSpinner.stories.tsx#Small"]={docgenInfo:Small.__docgenInfo,name:"Small",path:"src/components/loadingSpinner/LoadingSpinner.stories.tsx#Small"})}catch(__react_docgen_typescript_loader_error){}try{CustomTheme.displayName="CustomTheme",CustomTheme.__docgenInfo={description:"",displayName:"CustomTheme",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/loadingSpinner/LoadingSpinner.stories.tsx#CustomTheme"]={docgenInfo:CustomTheme.__docgenInfo,name:"CustomTheme",path:"src/components/loadingSpinner/LoadingSpinner.stories.tsx#CustomTheme"})}catch(__react_docgen_typescript_loader_error){}try{MultipleSpinners.displayName="MultipleSpinners",MultipleSpinners.__docgenInfo={description:"",displayName:"MultipleSpinners",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/loadingSpinner/LoadingSpinner.stories.tsx#MultipleSpinners"]={docgenInfo:MultipleSpinners.__docgenInfo,name:"MultipleSpinners",path:"src/components/loadingSpinner/LoadingSpinner.stories.tsx#MultipleSpinners"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/logo/Logo.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Playground:()=>Playground,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),_Logo__WEBPACK_IMPORTED_MODULE_2__=(__webpack_require__("../../node_modules/react/index.js"),__webpack_require__("./src/components/logo/Logo.tsx")),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js");const __WEBPACK_DEFAULT_EXPORT__={component:_Logo__WEBPACK_IMPORTED_MODULE_2__.TR,title:"Components/Logo",parameters:{storySource:{source:"import React from 'react';\n\nimport { Logo, logoFi, logoSv, logoRu } from './Logo';\n\nexport default {\n component: Logo,\n title: 'Components/Logo',\n parameters: {\n controls: { hideNoControlsWarning: true },\n },\n};\n\nexport const Playground = (args) => ;\n\nPlayground.args = {\n size: 'full',\n src: logoFi,\n alt: 'Helsingin kaupunki',\n 'aria-hidden': false,\n};\n\nPlayground.argTypes = {\n size: {\n options: ['full', 'small', 'medium', 'large'],\n control: { type: 'radio' },\n },\n src: {\n options: [logoFi, logoSv, logoRu],\n control: { type: 'radio' },\n },\n 'aria-hidden': {\n options: [true, false],\n control: { type: 'radio' },\n },\n};\n",locationsMap:{playground:{startLoc:{col:26,line:13},endLoc:{col:54,line:13},startBody:{col:26,line:13},endBody:{col:54,line:13}}}},controls:{hideNoControlsWarning:!0}}};var Playground=function Playground(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Logo__WEBPACK_IMPORTED_MODULE_2__.TR,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args))};Playground.args={size:"full",src:_Logo__WEBPACK_IMPORTED_MODULE_2__.Cv,alt:"Helsingin kaupunki","aria-hidden":!1},Playground.argTypes={size:{options:["full","small","medium","large"],control:{type:"radio"}},src:{options:[_Logo__WEBPACK_IMPORTED_MODULE_2__.Cv,_Logo__WEBPACK_IMPORTED_MODULE_2__.Vb,_Logo__WEBPACK_IMPORTED_MODULE_2__.eT],control:{type:"radio"}},"aria-hidden":{options:[!0,!1],control:{type:"radio"}}},Playground.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => "}},Playground.parameters);try{Playground.displayName="Playground",Playground.__docgenInfo={description:"",displayName:"Playground",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/logo/Logo.stories.tsx#Playground"]={docgenInfo:Playground.__docgenInfo,name:"Playground",path:"src/components/logo/Logo.stories.tsx#Playground"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/notification/Notification.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Alert:()=>Alert,AutoClose:()=>AutoClose,Default:()=>Default,Dismissible:()=>Dismissible,Error:()=>Error,Invisible:()=>Invisible,Large:()=>Large,Playground:()=>Playground,Small:()=>Small,Success:()=>Success,WithBoxShadow:()=>WithBoxShadow,WithCustomAriaLabel:()=>WithCustomAriaLabel,WithCustomHeadingLevel:()=>WithCustomHeadingLevel,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/react/index.js"),_Notification__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/components/notification/Notification.tsx"),_button__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./src/components/button/Button.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),props={label:"Label"},content="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.";const __WEBPACK_DEFAULT_EXPORT__={component:_Notification__WEBPACK_IMPORTED_MODULE_2__.P,title:"Components/Notification",parameters:{storySource:{source:"import React, { useEffect, useRef, useState } from 'react';\n\nimport { Notification, NotificationSizeInline, NotificationSizeToast } from './Notification';\nimport { Button } from '../button';\n\nconst props = {\n label: 'Label',\n};\nconst content =\n 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.';\n\nexport default {\n component: Notification,\n title: 'Components/Notification',\n parameters: {\n controls: { hideNoControlsWarning: true },\n },\n decorators: [(storyFn) => {storyFn()}
],\n};\n\nexport const Default = () => {content} ;\n\nexport const Alert = () => (\n \n {content}\n \n);\n\nexport const Error = () => (\n \n {content}\n \n);\n\nexport const Success = () => (\n \n {content}\n \n);\n\nexport const Small = () => (\n \n Message\n \n);\n\nexport const Large = () => (\n \n {content}\n \n);\n\nexport const WithBoxShadow = () => (\n \n {content}\n \n);\n\nWithBoxShadow.storyName = 'With box shadow';\n\nexport const Invisible = () => {\n const [open, setOpen] = useState(false);\n return (\n <>\n setOpen(!open)}>Toggle notification \n {open && (\n \n I'm only seen by screen readers\n \n )}\n >\n );\n};\n\nexport const Dismissible = () => {\n const [open, setOpen] = useState(true);\n const showButtonRef = useRef(null);\n const onClose = () => {\n setOpen(false);\n if (showButtonRef.current) {\n showButtonRef.current.focus();\n }\n };\n\n return (\n <>\n {!open && (\n setOpen(true)}>\n Open notification\n \n )}\n {open && (\n onClose()} closeButtonLabelText=\"Close notification\">\n {content}\n \n )}\n >\n );\n};\n\nexport const AutoClose = () => {\n const [open, setOpen] = useState(false);\n const [openProgress, setOpenProgress] = useState(false);\n const showButtonRef = useRef(null);\n const showProgressButtonRef = useRef(null);\n const onClose = () => {\n setOpen(false);\n setOpenProgress(false);\n if (showButtonRef.current) {\n showButtonRef.current.focus();\n }\n if (showProgressButtonRef.current) {\n showProgressButtonRef.current.focus();\n }\n };\n\n return (\n <>\n setOpen(true)}>\n Show without progress bar\n \n \n \n setOpenProgress(true)}>\n Show with progress bar\n \n {open && (\n onClose()}\n >\n {content}\n \n )}\n {openProgress && (\n onClose()}\n >\n {content}\n \n )}\n >\n );\n};\n\nexport const WithCustomAriaLabel = () => (\n \n {content}\n \n);\n\nWithCustomAriaLabel.parameters = {\n loki: { skip: true },\n};\n\nWithCustomAriaLabel.storyName = 'With a custom aria-label';\n\nexport const WithCustomHeadingLevel = () => (\n \n {content}\n \n);\n\nWithCustomHeadingLevel.parameters = {\n loki: { skip: true },\n};\n\nWithCustomHeadingLevel.storyName = 'With a custom aria-level';\n\nexport const Playground = (args) => {\n const [open, setOpen] = useState(true);\n\n useEffect(() => {\n if (args.position === 'inline') setOpen(true);\n }, [args.position]);\n\n let typedSize;\n args.position === 'inline'\n ? (typedSize = args.size as NotificationSizeInline)\n : (typedSize = args.size as NotificationSizeToast);\n\n return (\n <>\n setOpen(!open)}\n >\n Toggle notification\n \n {open && (\n setOpen(false)}\n position={args.position}\n size={typedSize}\n dismissible={args.dismissible}\n closeButtonLabelText={args.closeButtonLabelText}\n headingLevel={args.headingLevel}\n >\n {args.body}\n \n )}\n >\n );\n};\n\nPlayground.parameters = {\n previewTabs: {\n 'storybook/docs/panel': {\n hidden: true,\n },\n },\n docs: {\n disable: true,\n },\n};\n\nPlayground.args = {\n label: 'Label',\n body: content,\n closeButtonLabelText: 'Close notification',\n type: 'info',\n size: 'default',\n position: 'inline',\n invisible: false,\n dismissible: false,\n autoClose: false,\n displayAutoCloseProgress: true,\n autoCloseDuration: 6000,\n headingLevel: 2,\n};\n\nPlayground.argTypes = {\n type: {\n options: ['info', 'success', 'alert', 'error'],\n control: { type: 'radio' },\n },\n size: {\n options: ['default', 'small', 'large'],\n control: { type: 'radio' },\n },\n position: {\n options: ['inline', 'top-left', 'top-center', 'top-right', 'bottom-left', 'bottom-center', 'bottom-right'],\n control: { type: 'radio' },\n },\n};\n",locationsMap:{default:{startLoc:{col:23,line:21},endLoc:{col:78,line:21},startBody:{col:23,line:21},endBody:{col:78,line:21}},alert:{startLoc:{col:21,line:23},endLoc:{col:1,line:27},startBody:{col:21,line:23},endBody:{col:1,line:27}},error:{startLoc:{col:21,line:29},endLoc:{col:1,line:33},startBody:{col:21,line:29},endBody:{col:1,line:33}},success:{startLoc:{col:23,line:35},endLoc:{col:1,line:39},startBody:{col:23,line:35},endBody:{col:1,line:39}},small:{startLoc:{col:21,line:41},endLoc:{col:1,line:45},startBody:{col:21,line:41},endBody:{col:1,line:45}},large:{startLoc:{col:21,line:47},endLoc:{col:1,line:51},startBody:{col:21,line:47},endBody:{col:1,line:51}},"with-box-shadow":{startLoc:{col:29,line:53},endLoc:{col:1,line:57},startBody:{col:29,line:53},endBody:{col:1,line:57}},invisible:{startLoc:{col:25,line:61},endLoc:{col:1,line:73},startBody:{col:25,line:61},endBody:{col:1,line:73}},dismissible:{startLoc:{col:27,line:75},endLoc:{col:1,line:99},startBody:{col:27,line:75},endBody:{col:1,line:99}},"auto-close":{startLoc:{col:25,line:101},endLoc:{col:1,line:152},startBody:{col:25,line:101},endBody:{col:1,line:152}},"with-custom-aria-label":{startLoc:{col:35,line:154},endLoc:{col:1,line:158},startBody:{col:35,line:154},endBody:{col:1,line:158}},"with-custom-heading-level":{startLoc:{col:38,line:166},endLoc:{col:1,line:170},startBody:{col:38,line:166},endBody:{col:1,line:170}},playground:{startLoc:{col:26,line:178},endLoc:{col:1,line:223},startBody:{col:26,line:178},endBody:{col:1,line:223}}}},controls:{hideNoControlsWarning:!0}},decorators:[function(storyFn){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{maxWidth:"400px"},children:storyFn()})}]};var Default=function Default(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Notification__WEBPACK_IMPORTED_MODULE_2__.P,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},props),{},{children:content}))},Alert=function Alert(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Notification__WEBPACK_IMPORTED_MODULE_2__.P,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},props),{},{type:"alert",children:content}))},Error=function Error(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Notification__WEBPACK_IMPORTED_MODULE_2__.P,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},props),{},{type:"error",children:content}))},Success=function Success(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Notification__WEBPACK_IMPORTED_MODULE_2__.P,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},props),{},{type:"success",children:content}))},Small=function Small(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Notification__WEBPACK_IMPORTED_MODULE_2__.P,{label:"Only visible for screen readers",size:"small",children:"Message"})},Large=function Large(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Notification__WEBPACK_IMPORTED_MODULE_2__.P,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},props),{},{size:"large",children:content}))},WithBoxShadow=function WithBoxShadow(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Notification__WEBPACK_IMPORTED_MODULE_2__.P,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},props),{},{boxShadow:!0,children:content}))};WithBoxShadow.storyName="With box shadow";var Invisible=function Invisible(){var _useState=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),_useState2=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4__.Z)(_useState,2),open=_useState2[0],setOpen=_useState2[1];return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_button__WEBPACK_IMPORTED_MODULE_5__.z,{onClick:function onClick(){return setOpen(!open)},children:"Toggle notification"}),open&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Notification__WEBPACK_IMPORTED_MODULE_2__.P,{label:"Invisible notification",invisible:!0,children:"I'm only seen by screen readers"})]})},Dismissible=function Dismissible(){var _useState3=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!0),_useState4=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4__.Z)(_useState3,2),open=_useState4[0],setOpen=_useState4[1],showButtonRef=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[!open&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_button__WEBPACK_IMPORTED_MODULE_5__.z,{ref:showButtonRef,onClick:function onClick(){return setOpen(!0)},children:"Open notification"}),open&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Notification__WEBPACK_IMPORTED_MODULE_2__.P,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},props),{},{dismissible:!0,onClose:function onClose(){return function onClose(){setOpen(!1),showButtonRef.current&&showButtonRef.current.focus()}()},closeButtonLabelText:"Close notification",children:content}))]})},AutoClose=function AutoClose(){var _useState5=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),_useState6=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4__.Z)(_useState5,2),open=_useState6[0],setOpen=_useState6[1],_useState7=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),_useState8=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4__.Z)(_useState7,2),openProgress=_useState8[0],setOpenProgress=_useState8[1],showButtonRef=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),showProgressButtonRef=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null),_onClose2=function onClose(){setOpen(!1),setOpenProgress(!1),showButtonRef.current&&showButtonRef.current.focus(),showProgressButtonRef.current&&showProgressButtonRef.current.focus()};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_button__WEBPACK_IMPORTED_MODULE_5__.z,{disabled:open||openProgress,ref:showButtonRef,onClick:function onClick(){return setOpen(!0)},children:"Show without progress bar"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_button__WEBPACK_IMPORTED_MODULE_5__.z,{disabled:open||openProgress,ref:showProgressButtonRef,onClick:function onClick(){return setOpenProgress(!0)},children:"Show with progress bar"}),open&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Notification__WEBPACK_IMPORTED_MODULE_2__.P,{label:"Without progress bar",position:"top-left",autoClose:!0,autoCloseDuration:3e3,displayAutoCloseProgress:!1,onClose:function onClose(){return _onClose2()},children:content}),openProgress&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Notification__WEBPACK_IMPORTED_MODULE_2__.P,{label:"With progress bar",position:"top-left",autoClose:!0,autoCloseDuration:3e3,onClose:function onClose(){return _onClose2()},children:content})]})},WithCustomAriaLabel=function WithCustomAriaLabel(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Notification__WEBPACK_IMPORTED_MODULE_2__.P,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},props),{},{notificationAriaLabel:"Custom aria label",children:content}))};WithCustomAriaLabel.parameters={loki:{skip:!0}},WithCustomAriaLabel.storyName="With a custom aria-label";var WithCustomHeadingLevel=function WithCustomHeadingLevel(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Notification__WEBPACK_IMPORTED_MODULE_2__.P,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},props),{},{headingLevel:3,children:content}))};WithCustomHeadingLevel.parameters={loki:{skip:!0}},WithCustomHeadingLevel.storyName="With a custom aria-level";var Playground=function Playground(args){var typedSize,_useState9=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!0),_useState10=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4__.Z)(_useState9,2),open=_useState10[0],setOpen=_useState10[1];return(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((function(){"inline"===args.position&&setOpen(!0)}),[args.position]),typedSize=(args.position,args.size),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_button__WEBPACK_IMPORTED_MODULE_5__.z,{style:{position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)"},onClick:function onClick(){return setOpen(!open)},children:"Toggle notification"}),open&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Notification__WEBPACK_IMPORTED_MODULE_2__.P,{autoClose:args.autoClose,autoCloseDuration:args.autoCloseDuration,displayAutoCloseProgress:args.displayAutoCloseProgress,invisible:args.invisible,label:args.label,type:args.type,onClose:function onClose(){return setOpen(!1)},position:args.position,size:typedSize,dismissible:args.dismissible,closeButtonLabelText:args.closeButtonLabelText,headingLevel:args.headingLevel,children:args.body})]})};Playground.parameters={previewTabs:{"storybook/docs/panel":{hidden:!0}},docs:{disable:!0}},Playground.args={label:"Label",body:content,closeButtonLabelText:"Close notification",type:"info",size:"default",position:"inline",invisible:!1,dismissible:!1,autoClose:!1,displayAutoCloseProgress:!0,autoCloseDuration:6e3,headingLevel:2},Playground.argTypes={type:{options:["info","success","alert","error"],control:{type:"radio"}},size:{options:["default","small","large"],control:{type:"radio"}},position:{options:["inline","top-left","top-center","top-right","bottom-left","bottom-center","bottom-right"],control:{type:"radio"}}},Default.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"() => {content} "}},Default.parameters),Alert.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:'() => (\n \n {content}\n \n)'}},Alert.parameters),Error.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:'() => (\n \n {content}\n \n)'}},Error.parameters),Success.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:'() => (\n \n {content}\n \n)'}},Success.parameters),Small.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:'() => (\n \n Message\n \n)'}},Small.parameters),Large.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:'() => (\n \n {content}\n \n)'}},Large.parameters),WithBoxShadow.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"() => (\n \n {content}\n \n)"}},WithBoxShadow.parameters),Invisible.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:'() => {\n const [open, setOpen] = useState(false);\n return (\n <>\n setOpen(!open)}>Toggle notification \n {open && (\n \n I'm only seen by screen readers\n \n )}\n >\n );\n}'}},Invisible.parameters),Dismissible.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:'() => {\n const [open, setOpen] = useState(true);\n const showButtonRef = useRef(null);\n const onClose = () => {\n setOpen(false);\n if (showButtonRef.current) {\n showButtonRef.current.focus();\n }\n };\n\n return (\n <>\n {!open && (\n setOpen(true)}>\n Open notification\n \n )}\n {open && (\n onClose()} closeButtonLabelText="Close notification">\n {content}\n \n )}\n >\n );\n}'}},Dismissible.parameters),AutoClose.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:'() => {\n const [open, setOpen] = useState(false);\n const [openProgress, setOpenProgress] = useState(false);\n const showButtonRef = useRef(null);\n const showProgressButtonRef = useRef(null);\n const onClose = () => {\n setOpen(false);\n setOpenProgress(false);\n if (showButtonRef.current) {\n showButtonRef.current.focus();\n }\n if (showProgressButtonRef.current) {\n showProgressButtonRef.current.focus();\n }\n };\n\n return (\n <>\n setOpen(true)}>\n Show without progress bar\n \n \n \n setOpenProgress(true)}>\n Show with progress bar\n \n {open && (\n onClose()}\n >\n {content}\n \n )}\n {openProgress && (\n onClose()}\n >\n {content}\n \n )}\n >\n );\n}'}},AutoClose.parameters),WithCustomAriaLabel.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:'() => (\n \n {content}\n \n)'}},WithCustomAriaLabel.parameters),WithCustomHeadingLevel.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"() => (\n \n {content}\n \n)"}},WithCustomHeadingLevel.parameters),Playground.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => {\n const [open, setOpen] = useState(true);\n\n useEffect(() => {\n if (args.position === 'inline') setOpen(true);\n }, [args.position]);\n\n let typedSize;\n args.position === 'inline'\n ? (typedSize = args.size as NotificationSizeInline)\n : (typedSize = args.size as NotificationSizeToast);\n\n return (\n <>\n setOpen(!open)}\n >\n Toggle notification\n \n {open && (\n setOpen(false)}\n position={args.position}\n size={typedSize}\n dismissible={args.dismissible}\n closeButtonLabelText={args.closeButtonLabelText}\n headingLevel={args.headingLevel}\n >\n {args.body}\n \n )}\n >\n );\n}"}},Playground.parameters);try{Playground.displayName="Playground",Playground.__docgenInfo={description:"",displayName:"Playground",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/notification/Notification.stories.tsx#Playground"]={docgenInfo:Playground.__docgenInfo,name:"Playground",path:"src/components/notification/Notification.stories.tsx#Playground"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/numberInput/NumberInput.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{CustomStep:()=>CustomStep,Default:()=>Default,Disabled:()=>Disabled,WithDefaultValue:()=>WithDefaultValue,WithMinAndMax:()=>WithMinAndMax,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),_NumberInput__WEBPACK_IMPORTED_MODULE_2__=(__webpack_require__("../../node_modules/react/index.js"),__webpack_require__("./src/components/numberInput/NumberInput.tsx")),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js");const __WEBPACK_DEFAULT_EXPORT__={component:_NumberInput__WEBPACK_IMPORTED_MODULE_2__.Y,title:"Components/NumberInput",decorators:[function(storyFn){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{maxWidth:"300px"},children:storyFn()})}],parameters:{storySource:{source:"import React from 'react';\n\nimport { NumberInput } from './NumberInput';\n\nexport default {\n component: NumberInput,\n title: 'Components/NumberInput',\n decorators: [(storyFn) => {storyFn()}
],\n parameters: {\n controls: { expanded: true },\n },\n};\n\nexport const Default = (args) => ;\nDefault.args = {\n id: 'Default',\n helperText: 'Assistive text',\n label: 'Label',\n minusStepButtonAriaLabel: 'Decrease by one',\n plusStepButtonAriaLabel: 'Increase by one',\n unit: '€',\n};\n\nexport const CustomStep = (args) => ;\nCustomStep.storyName = 'With a custom step value';\nCustomStep.args = {\n id: 'CustomStep',\n step: 10,\n helperText: 'Assistive text for input with steps of 10',\n label: 'Label for step test',\n minusStepButtonAriaLabel: 'Decrease by ten',\n plusStepButtonAriaLabel: 'Increase by ten',\n unit: '€',\n};\n\nexport const Disabled = (args) => ;\nDisabled.storyName = 'Disabled';\nDisabled.args = {\n id: 'Disabled',\n step: 10,\n helperText: 'Assistive text',\n label: 'Label for disabled',\n minusStepButtonAriaLabel: 'Decrease by ten',\n plusStepButtonAriaLabel: 'Increase by ten',\n unit: '€',\n disabled: true,\n};\n\nexport const WithMinAndMax = (args) => ;\nWithMinAndMax.storyName = 'With min and max value';\nWithMinAndMax.args = {\n id: 'WithMinAndMax',\n step: 1,\n min: 15,\n max: 40,\n helperText: 'Assistive text',\n label: 'Label for min 15 max 40',\n minusStepButtonAriaLabel: 'Decrease by one',\n plusStepButtonAriaLabel: 'Increase by one',\n unit: '€',\n};\n\nexport const WithDefaultValue = (args) => ;\nWithDefaultValue.storyName = 'With a default value';\nWithDefaultValue.args = {\n id: 'WithDefaultValue',\n step: 10,\n defaultValue: 20,\n helperText: 'Assistive text',\n label: 'Label for default 20, step 10',\n minusStepButtonAriaLabel: 'Decrease by ten',\n plusStepButtonAriaLabel: 'Increase by ten',\n unit: '€',\n};\n",locationsMap:{default:{startLoc:{col:23,line:14},endLoc:{col:58,line:14},startBody:{col:23,line:14},endBody:{col:58,line:14}},"custom-step":{startLoc:{col:26,line:24},endLoc:{col:61,line:24},startBody:{col:26,line:24},endBody:{col:61,line:24}},disabled:{startLoc:{col:24,line:36},endLoc:{col:59,line:36},startBody:{col:24,line:36},endBody:{col:59,line:36}},"with-min-and-max":{startLoc:{col:29,line:49},endLoc:{col:64,line:49},startBody:{col:29,line:49},endBody:{col:64,line:49}},"with-default-value":{startLoc:{col:32,line:63},endLoc:{col:67,line:63},startBody:{col:32,line:63},endBody:{col:67,line:63}}}},controls:{expanded:!0}}};var Default=function Default(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_NumberInput__WEBPACK_IMPORTED_MODULE_2__.Y,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args))};Default.args={id:"Default",helperText:"Assistive text",label:"Label",minusStepButtonAriaLabel:"Decrease by one",plusStepButtonAriaLabel:"Increase by one",unit:"€"};var CustomStep=function CustomStep(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_NumberInput__WEBPACK_IMPORTED_MODULE_2__.Y,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args))};CustomStep.storyName="With a custom step value",CustomStep.args={id:"CustomStep",step:10,helperText:"Assistive text for input with steps of 10",label:"Label for step test",minusStepButtonAriaLabel:"Decrease by ten",plusStepButtonAriaLabel:"Increase by ten",unit:"€"};var Disabled=function Disabled(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_NumberInput__WEBPACK_IMPORTED_MODULE_2__.Y,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args))};Disabled.storyName="Disabled",Disabled.args={id:"Disabled",step:10,helperText:"Assistive text",label:"Label for disabled",minusStepButtonAriaLabel:"Decrease by ten",plusStepButtonAriaLabel:"Increase by ten",unit:"€",disabled:!0};var WithMinAndMax=function WithMinAndMax(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_NumberInput__WEBPACK_IMPORTED_MODULE_2__.Y,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args))};WithMinAndMax.storyName="With min and max value",WithMinAndMax.args={id:"WithMinAndMax",step:1,min:15,max:40,helperText:"Assistive text",label:"Label for min 15 max 40",minusStepButtonAriaLabel:"Decrease by one",plusStepButtonAriaLabel:"Increase by one",unit:"€"};var WithDefaultValue=function WithDefaultValue(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_NumberInput__WEBPACK_IMPORTED_MODULE_2__.Y,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args))};WithDefaultValue.storyName="With a default value",WithDefaultValue.args={id:"WithDefaultValue",step:10,defaultValue:20,helperText:"Assistive text",label:"Label for default 20, step 10",minusStepButtonAriaLabel:"Decrease by ten",plusStepButtonAriaLabel:"Increase by ten",unit:"€"},Default.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => "}},Default.parameters),CustomStep.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => "}},CustomStep.parameters),Disabled.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => "}},Disabled.parameters),WithMinAndMax.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => "}},WithMinAndMax.parameters),WithDefaultValue.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => "}},WithDefaultValue.parameters);try{Default.displayName="Default",Default.__docgenInfo={description:"",displayName:"Default",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/numberInput/NumberInput.stories.tsx#Default"]={docgenInfo:Default.__docgenInfo,name:"Default",path:"src/components/numberInput/NumberInput.stories.tsx#Default"})}catch(__react_docgen_typescript_loader_error){}try{CustomStep.displayName="CustomStep",CustomStep.__docgenInfo={description:"",displayName:"CustomStep",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/numberInput/NumberInput.stories.tsx#CustomStep"]={docgenInfo:CustomStep.__docgenInfo,name:"CustomStep",path:"src/components/numberInput/NumberInput.stories.tsx#CustomStep"})}catch(__react_docgen_typescript_loader_error){}try{Disabled.displayName="Disabled",Disabled.__docgenInfo={description:"",displayName:"Disabled",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/numberInput/NumberInput.stories.tsx#Disabled"]={docgenInfo:Disabled.__docgenInfo,name:"Disabled",path:"src/components/numberInput/NumberInput.stories.tsx#Disabled"})}catch(__react_docgen_typescript_loader_error){}try{WithMinAndMax.displayName="WithMinAndMax",WithMinAndMax.__docgenInfo={description:"",displayName:"WithMinAndMax",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/numberInput/NumberInput.stories.tsx#WithMinAndMax"]={docgenInfo:WithMinAndMax.__docgenInfo,name:"WithMinAndMax",path:"src/components/numberInput/NumberInput.stories.tsx#WithMinAndMax"})}catch(__react_docgen_typescript_loader_error){}try{WithDefaultValue.displayName="WithDefaultValue",WithDefaultValue.__docgenInfo={description:"",displayName:"WithDefaultValue",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/numberInput/NumberInput.stories.tsx#WithDefaultValue"]={docgenInfo:WithDefaultValue.__docgenInfo,name:"WithDefaultValue",path:"src/components/numberInput/NumberInput.stories.tsx#WithDefaultValue"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/pagination/Pagination.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Basic:()=>Basic,CustomTheme:()=>CustomTheme,Playground:()=>Playground,WithTruncation:()=>WithTruncation,WithoutPrevAndNextButtons:()=>WithoutPrevAndNextButtons,default:()=>Pagination_stories});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),slicedToArray=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react=__webpack_require__("../../node_modules/react/index.js"),toConsumableArray=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),dist_import=__webpack_require__("../../node_modules/@react-aria/visually-hidden/dist/import.mjs");__webpack_require__("./src/styles/base.css");const Pagination_module={container:"Pagination_container__foAKJ pagination_hds-pagination-container__RDEe-",hideNextButton:"Pagination_hideNextButton__yC6Bn",buttonPrevious:"Pagination_buttonPrevious__TgCuR pagination_hds-pagination__button-prev__zx8i-",buttonNext:"Pagination_buttonNext__l2UKM pagination_hds-pagination__button-next__b5ZQ5",pagination:"Pagination_pagination__hDKaT pagination_hds-pagination__dbixm",pages:"Pagination_pages__Q5UsW pagination_hds-pagination__pages__VbDcc",itemEllipsis:"Pagination_itemEllipsis__KrXD8 pagination_hds-pagination__item-ellipsis__38wXN",itemLink:"Pagination_itemLink__MV-kF pagination_hds-pagination__item-link__XnfJ7",itemLinkActive:"Pagination_itemLinkActive__8nHXW pagination_hds-pagination__item-link--active__dHGJr"};var classNames=__webpack_require__("./src/utils/classNames.ts"),Button=__webpack_require__("./src/components/button/Button.tsx"),IconAngleLeft=__webpack_require__("./src/icons/IconAngleLeft.tsx"),IconAngleRight=__webpack_require__("./src/icons/IconAngleRight.tsx"),useTheme=__webpack_require__("./src/hooks/useTheme.tsx"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),mapLangToNext=function mapLangToNext(language){return{fi:"Seuraava",sv:"Nästa",en:"Next"}[language]},mapLangToPrevious=function mapLangToPrevious(language){return{fi:"Edellinen",sv:"Föregående",en:"Previous"}[language]},mapLangToPageAriaLabel=function mapLangToPageAriaLabel(pageNumber,language){return{fi:"Sivu ".concat(pageNumber),sv:"Sida ".concat(pageNumber),en:"Page ".concat(pageNumber)}[language]},mapLangToPageTitle=function mapLangToPageTitle(pageNumber,language,currentPage){return currentPage?{fi:"Nykyinen sivu",sv:"Nuvarande sida",en:"Current page"}[language]:{fi:"Sivu ".concat(pageNumber),sv:"Sida ".concat(pageNumber),en:"Page ".concat(pageNumber)}[language]},mapLangToOpenedPage=function mapLangToOpenedPage(pageNumber,language){return{fi:"Avattu sivu ".concat(pageNumber),sv:"Öppnad sida ".concat(pageNumber),en:"Opened page ".concat(pageNumber)}[language]},range=function range(start,end){var length=end-start+1;return Array.from({length},(function(_,i){return start+i}))},Ellipsis=function(Ellipsis){return Ellipsis.start="start-ellipsis",Ellipsis.end="end-ellipsis",Ellipsis}(Ellipsis||{}),Pagination=function Pagination(_ref2){var _ref2$dataTestId=_ref2.dataTestId,dataTestId=void 0===_ref2$dataTestId?"hds-pagination":_ref2$dataTestId,_ref2$hideNextButton=_ref2.hideNextButton,hideNextButton=void 0!==_ref2$hideNextButton&&_ref2$hideNextButton,_ref2$hidePrevButton=_ref2.hidePrevButton,hidePrevButton=void 0!==_ref2$hidePrevButton&&_ref2$hidePrevButton,_ref2$language=_ref2.language,language=void 0===_ref2$language?"fi":_ref2$language,onChange=_ref2.onChange,pageCount=_ref2.pageCount,pageHref=_ref2.pageHref,pageIndex=_ref2.pageIndex,paginationAriaLabel=_ref2.paginationAriaLabel,_ref2$siblingCount=_ref2.siblingCount,siblingCount=void 0===_ref2$siblingCount?1:_ref2$siblingCount,theme=_ref2.theme,initialPageIndex=(0,react.useRef)(pageIndex),_useState=(0,react.useState)(!1),_useState2=(0,slicedToArray.Z)(_useState,2),hasUserChangedPage=_useState2[0],setHasUserChangedPage=_useState2[1];(0,react.useEffect)((function(){!1===hasUserChangedPage&&pageIndex!==initialPageIndex.current&&setHasUserChangedPage(!0)}),[pageIndex,hasUserChangedPage]);var itemList=(0,react.useMemo)((function(){return function createPaginationItemList(_ref){var pageCount=_ref.pageCount,pageIndex=_ref.pageIndex,siblingCount=_ref.siblingCount,endPages=range(Math.max(pageCount,2),pageCount),startPages=range(1,Math.min(1,pageCount)),siblingsStart=Math.max(Math.min(pageIndex+1-siblingCount,pageCount-1-2*siblingCount-1),3),siblingsEnd=Math.min(Math.max(pageIndex+1+siblingCount,1+2*siblingCount+2),endPages.length>0?endPages[0]-2:pageCount-1);return[].concat((0,toConsumableArray.Z)(startPages),(0,toConsumableArray.Z)(siblingsStart>3?["start-ellipsis"]:pageCount-1>2?[2]:[]),(0,toConsumableArray.Z)(range(siblingsStart,siblingsEnd)),(0,toConsumableArray.Z)(siblingsEnd1?[pageCount-1]:[]),(0,toConsumableArray.Z)(endPages))}({pageCount,pageIndex,siblingCount})}),[pageCount,pageIndex,siblingCount]),customThemeClass=(0,useTheme.F)(Pagination_module.pagination,theme);return pageCount<=0?null:(0,jsx_runtime.jsx)("div",{className:Pagination_module.container,children:(0,jsx_runtime.jsxs)("nav",{className:(0,classNames.Z)(Pagination_module.pagination,customThemeClass,hideNextButton?Pagination_module.hideNextButton:""),role:"navigation","aria-label":paginationAriaLabel,"data-next":mapLangToNext(language),"data-testid":dataTestId,children:[(0,jsx_runtime.jsx)(dist_import.T,{children:(0,jsx_runtime.jsx)("span",{"aria-atomic":!0,"aria-live":"polite",children:hasUserChangedPage?mapLangToOpenedPage(pageIndex+1,language):""})}),!hidePrevButton&&(0,jsx_runtime.jsx)(Button.z,{className:Pagination_module.buttonPrevious,"data-testid":"".concat(dataTestId,"-previous-button"),disabled:0===pageIndex||1===pageCount,onClick:function onClick(event){return onChange(event,pageIndex-1)},variant:"supplementary",theme:"black",iconLeft:(0,jsx_runtime.jsx)(IconAngleLeft.IconAngleLeft,{}),children:mapLangToPrevious(language)}),(0,jsx_runtime.jsx)("ul",{className:Pagination_module.pages,children:itemList.map((function(pageItem){return pageItem===Ellipsis.start||pageItem===Ellipsis.end?(0,jsx_runtime.jsx)("li",{children:(0,jsx_runtime.jsx)("span",{className:Pagination_module.itemEllipsis,children:"..."})},pageItem):(0,jsx_runtime.jsx)("li",{children:(0,jsx_runtime.jsx)("a",{className:(0,classNames.Z)(Pagination_module.itemLink,pageIndex+1===pageItem?Pagination_module.itemLinkActive:""),"data-testid":"".concat(dataTestId,"-page-").concat(pageItem),href:pageHref(pageItem),onClick:onChange?function(event){return onChange(event,pageItem-1)}:void 0,title:mapLangToPageTitle(pageItem,language,pageItem===pageIndex+1),"aria-label":mapLangToPageAriaLabel(pageItem,language),"aria-current":pageIndex+1===pageItem&&"page",children:pageItem})},pageItem)}))}),!hideNextButton&&(0,jsx_runtime.jsx)(Button.z,{className:Pagination_module.buttonNext,"data-testid":"".concat(dataTestId,"-next-button"),disabled:pageIndex===pageCount-1||1===pageCount,onClick:function onClick(event){return onChange(event,pageIndex+1)},variant:"supplementary",theme:"black",iconRight:(0,jsx_runtime.jsx)(IconAngleRight.IconAngleRight,{className:Pagination_module.angleRightIcon}),children:mapLangToNext(language)})]})})};try{Pagination.displayName="Pagination",Pagination.__docgenInfo={description:"",displayName:"Pagination",props:{dataTestId:{defaultValue:{value:"hds-pagination"},description:"Data test id of pagination",name:"dataTestId",required:!1,type:{name:"string"}},hideNextButton:{defaultValue:{value:"false"},description:"If true, hide the next-page button",name:"hideNextButton",required:!1,type:{name:"boolean"}},hidePrevButton:{defaultValue:{value:"false"},description:"If true, hide the previous-page button",name:"hidePrevButton",required:!1,type:{name:"boolean"}},language:{defaultValue:{value:"fi"},description:"The language of the pagination component.",name:"language",required:!1,type:{name:"enum",value:[{value:'"en"'},{value:'"fi"'},{value:'"sv"'}]}},onChange:{defaultValue:null,description:"Callback fired when the page is changed",name:"onChange",required:!1,type:{name:"(event: MouseEvent | MouseEvent, index: number) => void"}},pageCount:{defaultValue:null,description:"The total number of pages",name:"pageCount",required:!0,type:{name:"number"}},pageHref:{defaultValue:null,description:"A function for generating the href of pages",name:"pageHref",required:!0,type:{name:"(index: number) => string"}},pageIndex:{defaultValue:null,description:"The active page index",name:"pageIndex",required:!0,type:{name:"number"}},paginationAriaLabel:{defaultValue:null,description:"Aria-label for the pagination nav element",name:"paginationAriaLabel",required:!0,type:{name:"string"}},siblingCount:{defaultValue:{value:"1"},description:"Number of always visible pages before and after the current page",name:"siblingCount",required:!1,type:{name:"number"}},theme:{defaultValue:null,description:"Theme prop for customisation of the Pagination component",name:"theme",required:!1,type:{name:"PaginationCustomTheme"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/pagination/Pagination.tsx#Pagination"]={docgenInfo:Pagination.__docgenInfo,name:"Pagination",path:"src/components/pagination/Pagination.tsx#Pagination"})}catch(__react_docgen_typescript_loader_error){}const Pagination_stories={component:Pagination,title:"Components/Pagination",parameters:{storySource:{source:"import React, { useState } from 'react';\n\nimport { Pagination } from './Pagination';\n\nexport default {\n component: Pagination,\n title: 'Components/Pagination',\n parameters: {\n controls: { expanded: true },\n },\n args: {},\n};\n\n// args is required for docs tab to show source code\n\nexport const Basic = (args) => {\n const [pageIndex, setPageIndex] = useState(0);\n return (\n {\n event.preventDefault();\n setPageIndex(index);\n }}\n pageCount={5}\n pageHref={() => '#'}\n pageIndex={pageIndex}\n paginationAriaLabel=\"Pagination\"\n />\n );\n};\n\n// args is required for docs tab to show source code\n\nexport const WithTruncation = (args) => {\n const [pageIndexPagination1, setPageIndexPagination1] = useState(7);\n const [pageIndexPagination2, setPageIndexPagination2] = useState(7);\n const [pageIndexPagination3, setPageIndexPagination3] = useState(7);\n\n return (\n <>\n {\n event.preventDefault();\n setPageIndexPagination1(index);\n }}\n pageCount={68}\n pageHref={() => '#'}\n pageIndex={pageIndexPagination1}\n paginationAriaLabel=\"Pagination 1\"\n siblingCount={0}\n />\n {\n event.preventDefault();\n setPageIndexPagination2(index);\n }}\n pageCount={68}\n pageHref={() => '#'}\n pageIndex={pageIndexPagination2}\n paginationAriaLabel=\"Pagination 2\"\n />\n {\n event.preventDefault();\n setPageIndexPagination3(index);\n }}\n pageCount={68}\n pageHref={() => '#'}\n pageIndex={pageIndexPagination3}\n paginationAriaLabel=\"Pagination 3\"\n siblingCount={2}\n />\n >\n );\n};\n\nWithTruncation.storyName = 'With truncation';\n\n// args is required for docs tab to show source code\n\nexport const WithoutPrevAndNextButtons = (args) => {\n const [pageIndex, setPageIndex] = useState(7);\n\n return (\n {\n event.preventDefault();\n setPageIndex(index);\n }}\n pageCount={68}\n pageHref={() => '#'}\n pageIndex={pageIndex}\n paginationAriaLabel=\"Pagination\"\n />\n );\n};\n\nWithoutPrevAndNextButtons.storyName = 'Without prev and next buttons';\n\n// args is required for docs tab to show source code\n\nexport const CustomTheme = (args) => {\n const theme = {\n '--active-page-background-color': 'var(--color-bus)',\n };\n\n const [pageIndex, setPageIndex] = useState(0);\n\n return (\n {\n event.preventDefault();\n setPageIndex(index);\n }}\n pageCount={5}\n pageHref={() => '#'}\n pageIndex={pageIndex}\n paginationAriaLabel=\"Pagination\"\n theme={theme}\n />\n );\n};\n\nCustomTheme.storyName = 'Custom theme';\n\nexport const Playground = (args) => {\n const [pageIndex, setPageIndex] = useState(7);\n\n return (\n {\n event.preventDefault();\n setPageIndex(index);\n }}\n pageCount={args.pageCount}\n pageHref={() => '#'}\n pageIndex={pageIndex}\n paginationAriaLabel={args.paginationAriaLabel}\n siblingCount={args.siblingCount}\n theme={args.theme}\n />\n );\n};\n\nPlayground.parameters = {\n previewTabs: {\n 'storybook/docs/panel': {\n hidden: true,\n },\n },\n docs: {\n disable: true,\n },\n loki: { skip: true },\n};\n\nPlayground.args = {\n dataTestId: 'hds-pagination',\n hideNextButton: false,\n hidePrevButton: false,\n language: 'en',\n pageCount: 68,\n siblingCount: 2,\n paginationAriaLabel: 'Pagination',\n theme: {\n '--active-page-background-color': 'var(--color-bus)',\n },\n};\n\nPlayground.argTypes = {\n language: {\n options: ['fi', 'en', 'sv'],\n control: { type: 'radio' },\n },\n};\n",locationsMap:{basic:{startLoc:{col:21,line:16},endLoc:{col:1,line:31},startBody:{col:21,line:16},endBody:{col:1,line:31}},"with-truncation":{startLoc:{col:30,line:35},endLoc:{col:1,line:79},startBody:{col:30,line:35},endBody:{col:1,line:79}},"without-prev-and-next-buttons":{startLoc:{col:41,line:85},endLoc:{col:1,line:103},startBody:{col:41,line:85},endBody:{col:1,line:103}},"custom-theme":{startLoc:{col:27,line:109},endLoc:{col:1,line:130},startBody:{col:27,line:109},endBody:{col:1,line:130}},playground:{startLoc:{col:26,line:134},endLoc:{col:1,line:155},startBody:{col:26,line:134},endBody:{col:1,line:155}}}},controls:{expanded:!0}},args:{}};var Basic=function Basic(args){var _useState=(0,react.useState)(0),_useState2=(0,slicedToArray.Z)(_useState,2),pageIndex=_useState2[0],setPageIndex=_useState2[1];return(0,jsx_runtime.jsx)(Pagination,{language:"en",onChange:function onChange(event,index){event.preventDefault(),setPageIndex(index)},pageCount:5,pageHref:function pageHref(){return"#"},pageIndex,paginationAriaLabel:"Pagination"})},WithTruncation=function WithTruncation(args){var _useState3=(0,react.useState)(7),_useState4=(0,slicedToArray.Z)(_useState3,2),pageIndexPagination1=_useState4[0],setPageIndexPagination1=_useState4[1],_useState5=(0,react.useState)(7),_useState6=(0,slicedToArray.Z)(_useState5,2),pageIndexPagination2=_useState6[0],setPageIndexPagination2=_useState6[1],_useState7=(0,react.useState)(7),_useState8=(0,slicedToArray.Z)(_useState7,2),pageIndexPagination3=_useState8[0],setPageIndexPagination3=_useState8[1];return(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsx)(Pagination,{language:"en",onChange:function onChange(event,index){event.preventDefault(),setPageIndexPagination1(index)},pageCount:68,pageHref:function pageHref(){return"#"},pageIndex:pageIndexPagination1,paginationAriaLabel:"Pagination 1",siblingCount:0}),(0,jsx_runtime.jsx)(Pagination,{language:"en",onChange:function onChange(event,index){event.preventDefault(),setPageIndexPagination2(index)},pageCount:68,pageHref:function pageHref(){return"#"},pageIndex:pageIndexPagination2,paginationAriaLabel:"Pagination 2"}),(0,jsx_runtime.jsx)(Pagination,{language:"en",onChange:function onChange(event,index){event.preventDefault(),setPageIndexPagination3(index)},pageCount:68,pageHref:function pageHref(){return"#"},pageIndex:pageIndexPagination3,paginationAriaLabel:"Pagination 3",siblingCount:2})]})};WithTruncation.storyName="With truncation";var WithoutPrevAndNextButtons=function WithoutPrevAndNextButtons(args){var _useState9=(0,react.useState)(7),_useState10=(0,slicedToArray.Z)(_useState9,2),pageIndex=_useState10[0],setPageIndex=_useState10[1];return(0,jsx_runtime.jsx)(Pagination,{hideNextButton:!0,hidePrevButton:!0,language:"en",onChange:function onChange(event,index){event.preventDefault(),setPageIndex(index)},pageCount:68,pageHref:function pageHref(){return"#"},pageIndex,paginationAriaLabel:"Pagination"})};WithoutPrevAndNextButtons.storyName="Without prev and next buttons";var CustomTheme=function CustomTheme(args){var _useState11=(0,react.useState)(0),_useState12=(0,slicedToArray.Z)(_useState11,2),pageIndex=_useState12[0],setPageIndex=_useState12[1];return(0,jsx_runtime.jsx)(Pagination,{language:"en",onChange:function onChange(event,index){event.preventDefault(),setPageIndex(index)},pageCount:5,pageHref:function pageHref(){return"#"},pageIndex,paginationAriaLabel:"Pagination",theme:{"--active-page-background-color":"var(--color-bus)"}})};CustomTheme.storyName="Custom theme";var Playground=function Playground(args){var _useState13=(0,react.useState)(7),_useState14=(0,slicedToArray.Z)(_useState13,2),pageIndex=_useState14[0],setPageIndex=_useState14[1];return(0,jsx_runtime.jsx)(Pagination,{dataTestId:args.dataTestId,hideNextButton:args.hideNextButton,hidePrevButton:args.hidePrevButton,language:args.language,onChange:function onChange(event,index){event.preventDefault(),setPageIndex(index)},pageCount:args.pageCount,pageHref:function pageHref(){return"#"},pageIndex,paginationAriaLabel:args.paginationAriaLabel,siblingCount:args.siblingCount,theme:args.theme})};Playground.parameters={previewTabs:{"storybook/docs/panel":{hidden:!0}},docs:{disable:!0},loki:{skip:!0}},Playground.args={dataTestId:"hds-pagination",hideNextButton:!1,hidePrevButton:!1,language:"en",pageCount:68,siblingCount:2,paginationAriaLabel:"Pagination",theme:{"--active-page-background-color":"var(--color-bus)"}},Playground.argTypes={language:{options:["fi","en","sv"],control:{type:"radio"}}},Basic.parameters=(0,objectSpread2.Z)({storySource:{source:'(args) => {\n const [pageIndex, setPageIndex] = useState(0);\n return (\n {\n event.preventDefault();\n setPageIndex(index);\n }}\n pageCount={5}\n pageHref={() => \'#\'}\n pageIndex={pageIndex}\n paginationAriaLabel="Pagination"\n />\n );\n}'}},Basic.parameters),WithTruncation.parameters=(0,objectSpread2.Z)({storySource:{source:'(args) => {\n const [pageIndexPagination1, setPageIndexPagination1] = useState(7);\n const [pageIndexPagination2, setPageIndexPagination2] = useState(7);\n const [pageIndexPagination3, setPageIndexPagination3] = useState(7);\n\n return (\n <>\n {\n event.preventDefault();\n setPageIndexPagination1(index);\n }}\n pageCount={68}\n pageHref={() => \'#\'}\n pageIndex={pageIndexPagination1}\n paginationAriaLabel="Pagination 1"\n siblingCount={0}\n />\n {\n event.preventDefault();\n setPageIndexPagination2(index);\n }}\n pageCount={68}\n pageHref={() => \'#\'}\n pageIndex={pageIndexPagination2}\n paginationAriaLabel="Pagination 2"\n />\n {\n event.preventDefault();\n setPageIndexPagination3(index);\n }}\n pageCount={68}\n pageHref={() => \'#\'}\n pageIndex={pageIndexPagination3}\n paginationAriaLabel="Pagination 3"\n siblingCount={2}\n />\n >\n );\n}'}},WithTruncation.parameters),WithoutPrevAndNextButtons.parameters=(0,objectSpread2.Z)({storySource:{source:'(args) => {\n const [pageIndex, setPageIndex] = useState(7);\n\n return (\n {\n event.preventDefault();\n setPageIndex(index);\n }}\n pageCount={68}\n pageHref={() => \'#\'}\n pageIndex={pageIndex}\n paginationAriaLabel="Pagination"\n />\n );\n}'}},WithoutPrevAndNextButtons.parameters),CustomTheme.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const theme = {\n '--active-page-background-color': 'var(--color-bus)',\n };\n\n const [pageIndex, setPageIndex] = useState(0);\n\n return (\n {\n event.preventDefault();\n setPageIndex(index);\n }}\n pageCount={5}\n pageHref={() => '#'}\n pageIndex={pageIndex}\n paginationAriaLabel=\"Pagination\"\n theme={theme}\n />\n );\n}"}},CustomTheme.parameters),Playground.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const [pageIndex, setPageIndex] = useState(7);\n\n return (\n {\n event.preventDefault();\n setPageIndex(index);\n }}\n pageCount={args.pageCount}\n pageHref={() => '#'}\n pageIndex={pageIndex}\n paginationAriaLabel={args.paginationAriaLabel}\n siblingCount={args.siblingCount}\n theme={args.theme}\n />\n );\n}"}},Playground.parameters);try{Basic.displayName="Basic",Basic.__docgenInfo={description:"",displayName:"Basic",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/pagination/Pagination.stories.tsx#Basic"]={docgenInfo:Basic.__docgenInfo,name:"Basic",path:"src/components/pagination/Pagination.stories.tsx#Basic"})}catch(__react_docgen_typescript_loader_error){}try{WithTruncation.displayName="WithTruncation",WithTruncation.__docgenInfo={description:"",displayName:"WithTruncation",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/pagination/Pagination.stories.tsx#WithTruncation"]={docgenInfo:WithTruncation.__docgenInfo,name:"WithTruncation",path:"src/components/pagination/Pagination.stories.tsx#WithTruncation"})}catch(__react_docgen_typescript_loader_error){}try{WithoutPrevAndNextButtons.displayName="WithoutPrevAndNextButtons",WithoutPrevAndNextButtons.__docgenInfo={description:"",displayName:"WithoutPrevAndNextButtons",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/pagination/Pagination.stories.tsx#WithoutPrevAndNextButtons"]={docgenInfo:WithoutPrevAndNextButtons.__docgenInfo,name:"WithoutPrevAndNextButtons",path:"src/components/pagination/Pagination.stories.tsx#WithoutPrevAndNextButtons"})}catch(__react_docgen_typescript_loader_error){}try{CustomTheme.displayName="CustomTheme",CustomTheme.__docgenInfo={description:"",displayName:"CustomTheme",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/pagination/Pagination.stories.tsx#CustomTheme"]={docgenInfo:CustomTheme.__docgenInfo,name:"CustomTheme",path:"src/components/pagination/Pagination.stories.tsx#CustomTheme"})}catch(__react_docgen_typescript_loader_error){}try{Playground.displayName="Playground",Playground.__docgenInfo={description:"",displayName:"Playground",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/pagination/Pagination.stories.tsx#Playground"]={docgenInfo:Playground.__docgenInfo,name:"Playground",path:"src/components/pagination/Pagination.stories.tsx#Playground"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/passwordInput/PasswordInput.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{AutoCompleteOn:()=>AutoCompleteOn,Default:()=>Default,Disabled:()=>Disabled,InitiallyRevealed:()=>InitiallyRevealed,Invalid:()=>Invalid,Success:()=>Success,WithDefaultValue:()=>WithDefaultValue,WithExternalShowPasswordButton:()=>WithExternalShowPasswordButton,default:()=>PasswordInput_stories});var slicedToArray=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),react=__webpack_require__("../../node_modules/react/index.js"),objectWithoutProperties=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");__webpack_require__("./src/styles/base.css");const PasswordInput_module_disabledShowPasswordButton="PasswordInput_disabledShowPasswordButton__5nnnF";var IconEyeCrossed=__webpack_require__("./src/icons/IconEyeCrossed.tsx"),IconEye=__webpack_require__("./src/icons/IconEye.tsx"),InputWrapper=__webpack_require__("./src/internal/input-wrapper/InputWrapper.tsx"),classNames=__webpack_require__("./src/utils/classNames.ts"),TextInput_module=__webpack_require__("./src/components/textInput/TextInput.module.css"),composeAriaDescribedBy=__webpack_require__("./src/utils/composeAriaDescribedBy.ts"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),_excluded=["className","errorText","helperText","hideLabel","id","invalid","label","required","style","successText","infoText","tooltipLabel","tooltipText","tooltipButtonLabel","concealPasswordButtonAriaLabel","disabled","includeShowPasswordButton","initiallyRevealed","onBlur","revealPasswordButtonAriaLabel","type"],PasswordInput=react.forwardRef((function(_ref,ref){var revealPassword,setRevealPassword,className=_ref.className,errorText=_ref.errorText,helperText=_ref.helperText,hideLabel=_ref.hideLabel,id=_ref.id,invalid=_ref.invalid,label=_ref.label,required=_ref.required,style=_ref.style,successText=_ref.successText,infoText=_ref.infoText,tooltipLabel=_ref.tooltipLabel,tooltipText=_ref.tooltipText,tooltipButtonLabel=_ref.tooltipButtonLabel,concealPasswordButtonAriaLabel=_ref.concealPasswordButtonAriaLabel,_ref$disabled=_ref.disabled,disabled=void 0!==_ref$disabled&&_ref$disabled,_ref$includeShowPassw=_ref.includeShowPasswordButton,includeShowPasswordButton=void 0===_ref$includeShowPassw||_ref$includeShowPassw,_ref$initiallyReveale=_ref.initiallyRevealed,initiallyRevealed=void 0!==_ref$initiallyReveale&&_ref$initiallyReveale,onBlur=_ref.onBlur,revealPasswordButtonAriaLabel=_ref.revealPasswordButtonAriaLabel,type=_ref.type,passwordInputProps=(0,objectWithoutProperties.Z)(_ref,_excluded),wrapperProps={className,errorText,helperText,hideLabel,id,invalid,label,required,style,successText,infoText,tooltipLabel,tooltipText,tooltipButtonLabel};if(includeShowPasswordButton){var _useState=(0,react.useState)(initiallyRevealed),_useState2=(0,slicedToArray.Z)(_useState,2);revealPassword=_useState2[0],setRevealPassword=_useState2[1]}var ariaDescribedBy=(0,composeAriaDescribedBy.Z)(id,helperText,errorText,successText,infoText);return(0,jsx_runtime.jsxs)(InputWrapper.S,(0,objectSpread2.Z)((0,objectSpread2.Z)({onBlur:function handleOnBlur(event){event.currentTarget.contains(event.relatedTarget)||includeShowPasswordButton&&revealPassword&&setRevealPassword(!1),"function"==typeof onBlur&&onBlur(event)}},wrapperProps),{},{children:[(0,jsx_runtime.jsx)("input",(0,objectSpread2.Z)({className:(0,classNames.Z)(TextInput_module.Z.input,includeShowPasswordButton&&TextInput_module.Z.hasButton),disabled,id,ref,required,type:function resolveType(){return includeShowPasswordButton?revealPassword?"text":"password":type||"password"}(),"aria-describedby":ariaDescribedBy.length>0?ariaDescribedBy:null},passwordInputProps)),includeShowPasswordButton&&(0,jsx_runtime.jsx)("div",{className:TextInput_module.Z.buttonWrapper,children:(0,jsx_runtime.jsxs)("button",(0,objectSpread2.Z)((0,objectSpread2.Z)({className:TextInput_module.Z.button,type:"button",disabled},function getButtonProps(){return revealPassword?{"aria-label":concealPasswordButtonAriaLabel,onClick:function onClick(){return setRevealPassword(!1)}}:{"aria-label":revealPasswordButtonAriaLabel,onClick:function onClick(){return setRevealPassword(!0)}}}()),{},{children:[revealPassword&&(0,jsx_runtime.jsx)(IconEyeCrossed.IconEyeCrossed,{"aria-hidden":!0,className:disabled?PasswordInput_module_disabledShowPasswordButton:""}),!revealPassword&&(0,jsx_runtime.jsx)(IconEye.IconEye,{"aria-hidden":!0,className:disabled?PasswordInput_module_disabledShowPasswordButton:""})]}))})]}))}));try{PasswordInput.displayName="PasswordInput",PasswordInput.__docgenInfo={description:"",displayName:"PasswordInput",props:{className:{defaultValue:null,description:"Additional class names to apply to the text input",name:"className",required:!1,type:{name:"string"}},id:{defaultValue:null,description:"The id of the input element",name:"id",required:!1,type:{name:"string"}},style:{defaultValue:null,description:"Override or extend the styles applied to the component",name:"style",required:!1,type:{name:"CSSProperties"}},label:{defaultValue:null,description:"The label for the input",name:"label",required:!0,type:{name:"string"}},disabled:{defaultValue:{value:"false"},description:"If `true`, the input will be disabled",name:"disabled",required:!1,type:{name:"boolean"}},type:{defaultValue:null,description:"Type of the password input. Only applied when includeShowPasswordButton is false.\nUse this if you wish to not have show password button, or you wish to apply external show password button.",name:"type",required:!1,type:{name:"string"}},value:{defaultValue:null,description:"The value of the input element, required for a controlled component",name:"value",required:!1,type:{name:"string & (string | number | readonly string[])"}},defaultValue:{defaultValue:null,description:"The default input element value. Use when the component is not controlled",name:"defaultValue",required:!1,type:{name:"string & (string | number | readonly string[])"}},placeholder:{defaultValue:null,description:"Short hint displayed in the input before the user enters a value",name:"placeholder",required:!1,type:{name:"string"}},onChange:{defaultValue:null,description:"Callback fired when the state is changed",name:"onChange",required:!1,type:{name:"ChangeEventHandler"}},readOnly:{defaultValue:null,description:"If `true`, prevents the user from changing the value of the field (not from interacting with the field)",name:"readOnly",required:!1,type:{name:"boolean"}},required:{defaultValue:null,description:"If `true`, the label is displayed as required and the `input` element will be required",name:"required",required:!1,type:{name:"boolean"}},errorText:{defaultValue:null,description:"The error text content that will be shown below the input",name:"errorText",required:!1,type:{name:"string"}},helperText:{defaultValue:null,description:"The helper text content that will be shown below the input",name:"helperText",required:!1,type:{name:"string"}},tooltipText:{defaultValue:null,description:"The text content of the tooltip",name:"tooltipText",required:!1,type:{name:"string"}},tooltipLabel:{defaultValue:null,description:"Aria-label text for the tooltip",name:"tooltipLabel",required:!1,type:{name:"string"}},tooltipButtonLabel:{defaultValue:null,description:"Aria-label text for the tooltip trigger button",name:"tooltipButtonLabel",required:!1,type:{name:"string"}},hideLabel:{defaultValue:null,description:"Hides the label above the input",name:"hideLabel",required:!1,type:{name:"boolean"}},invalid:{defaultValue:null,description:"If `true`, the input will be displayed in an invalid state.",name:"invalid",required:!1,type:{name:"boolean"}},successText:{defaultValue:null,description:"The success text content that will be shown below the input",name:"successText",required:!1,type:{name:"string"}},infoText:{defaultValue:null,description:"The info text content that will be shown below the input",name:"infoText",required:!1,type:{name:"string"}},concealPasswordButtonAriaLabel:{defaultValue:null,description:"The aria-label for conceal password button",name:"concealPasswordButtonAriaLabel",required:!1,type:{name:"string"}},includeShowPasswordButton:{defaultValue:{value:"true"},description:"Boolean value for whether the component will include show / hide password button. Defaults to true.",name:"includeShowPasswordButton",required:!1,type:{name:"boolean"}},initiallyRevealed:{defaultValue:{value:"false"},description:"Boolean value for whether the component will initially reveal the password or not.\nOnly applied when includeShowPasswordButton is true. Defaults to false.",name:"initiallyRevealed",required:!1,type:{name:"boolean"}},revealPasswordButtonAriaLabel:{defaultValue:null,description:"The aria-label for reveal password button",name:"revealPasswordButtonAriaLabel",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/passwordInput/PasswordInput.tsx#PasswordInput"]={docgenInfo:PasswordInput.__docgenInfo,name:"PasswordInput",path:"src/components/passwordInput/PasswordInput.tsx#PasswordInput"})}catch(__react_docgen_typescript_loader_error){}var Button=__webpack_require__("./src/components/button/Button.tsx");const PasswordInput_stories={component:PasswordInput,title:"Components/PasswordInput",decorators:[function(storyFn){return(0,jsx_runtime.jsx)("div",{style:{maxWidth:"400px"},children:storyFn()})}],parameters:{storySource:{source:"import React, { useState } from 'react';\n\nimport { PasswordInput } from './PasswordInput';\nimport { Button } from '../button';\nimport { IconEye, IconEyeCrossed } from '../../icons';\n\nexport default {\n component: PasswordInput,\n title: 'Components/PasswordInput',\n decorators: [(storyFn) => {storyFn()}
],\n parameters: {\n controls: { expanded: true },\n },\n args: {},\n};\n\nexport const Default = (args) => ;\nDefault.args = {\n id: 'Default',\n helperText: 'Assistive text',\n label: 'Label',\n revealPasswordButtonAriaLabel: 'Show password',\n concealPasswordButtonAriaLabel: 'Hide password',\n};\n\nexport const Disabled = (args) => ;\nDisabled.storyName = 'Disabled';\nDisabled.args = {\n id: 'Disabled',\n helperText: 'Assistive text',\n defaultValue: '0451234567',\n label: 'Label for disabled',\n disabled: true,\n revealPasswordButtonAriaLabel: 'Show password',\n concealPasswordButtonAriaLabel: 'Hide password',\n};\n\nexport const WithDefaultValue = (args) => ;\nWithDefaultValue.storyName = 'WithDefaultValue';\nWithDefaultValue.args = {\n id: 'WithDefaultValue',\n helperText: 'Assistive text',\n defaultValue: '0451234567',\n label: 'Label for with default value',\n revealPasswordButtonAriaLabel: 'Show password',\n concealPasswordButtonAriaLabel: 'Hide password',\n};\n\nexport const InitiallyRevealed = (args) => ;\nInitiallyRevealed.storyName = 'InitiallyRevealed';\nInitiallyRevealed.args = {\n id: 'InitiallyRevealed',\n helperText: 'Assistive text',\n defaultValue: '0451234567',\n label: 'Label for initially revealed',\n initiallyRevealed: true,\n revealPasswordButtonAriaLabel: 'Show password',\n concealPasswordButtonAriaLabel: 'Hide password',\n};\nexport const AutoCompleteOn = (args) => ;\nAutoCompleteOn.storyName = 'Autocomplete on';\nAutoCompleteOn.args = {\n id: 'Autocomplete on',\n helperText: 'Assistive text',\n label: 'Label for autocomplete on',\n autoComplete: 'on',\n revealPasswordButtonAriaLabel: 'Show password',\n concealPasswordButtonAriaLabel: 'Hide password',\n};\n\nexport const Success = (args) => ;\nSuccess.storyName = 'Success';\nSuccess.args = {\n id: 'Success',\n helperText: 'Assistive text',\n label: 'Label for success input',\n successText: 'Success text',\n revealPasswordButtonAriaLabel: 'Show password',\n concealPasswordButtonAriaLabel: 'Hide password',\n};\n\nexport const Invalid = (args) => ;\nInvalid.storyName = 'Invalid';\nInvalid.args = {\n id: 'Error',\n invalid: true,\n helperText: 'Assistive text',\n label: 'Label for invalid input',\n errorText: 'Error text',\n revealPasswordButtonAriaLabel: 'Show password',\n concealPasswordButtonAriaLabel: 'Hide password',\n};\n\nexport const WithExternalShowPasswordButton = () => {\n const [revealPassword, setRevealPassword] = useState(false);\n return (\n \n
\n
setRevealPassword(!revealPassword)}\n iconLeft={revealPassword ? : }\n >\n {revealPassword ? 'Hide password' : 'Show password'}\n \n
\n );\n};\n\nWithExternalShowPasswordButton.storyName = 'With external show password button';\n",locationsMap:{default:{startLoc:{col:23,line:17},endLoc:{col:60,line:17},startBody:{col:23,line:17},endBody:{col:60,line:17}},disabled:{startLoc:{col:24,line:26},endLoc:{col:61,line:26},startBody:{col:24,line:26},endBody:{col:61,line:26}},"with-default-value":{startLoc:{col:32,line:38},endLoc:{col:69,line:38},startBody:{col:32,line:38},endBody:{col:69,line:38}},"initially-revealed":{startLoc:{col:33,line:49},endLoc:{col:70,line:49},startBody:{col:33,line:49},endBody:{col:70,line:49}},"auto-complete-on":{startLoc:{col:30,line:60},endLoc:{col:67,line:60},startBody:{col:30,line:60},endBody:{col:67,line:60}},success:{startLoc:{col:23,line:71},endLoc:{col:60,line:71},startBody:{col:23,line:71},endBody:{col:60,line:71}},invalid:{startLoc:{col:23,line:82},endLoc:{col:60,line:82},startBody:{col:23,line:82},endBody:{col:60,line:82}},"with-external-show-password-button":{startLoc:{col:46,line:94},endLoc:{col:1,line:114},startBody:{col:46,line:94},endBody:{col:1,line:114}}}},controls:{expanded:!0}},args:{}};var Default=function Default(args){return(0,jsx_runtime.jsx)(PasswordInput,(0,objectSpread2.Z)({},args))};Default.args={id:"Default",helperText:"Assistive text",label:"Label",revealPasswordButtonAriaLabel:"Show password",concealPasswordButtonAriaLabel:"Hide password"};var Disabled=function Disabled(args){return(0,jsx_runtime.jsx)(PasswordInput,(0,objectSpread2.Z)({},args))};Disabled.storyName="Disabled",Disabled.args={id:"Disabled",helperText:"Assistive text",defaultValue:"0451234567",label:"Label for disabled",disabled:!0,revealPasswordButtonAriaLabel:"Show password",concealPasswordButtonAriaLabel:"Hide password"};var WithDefaultValue=function WithDefaultValue(args){return(0,jsx_runtime.jsx)(PasswordInput,(0,objectSpread2.Z)({},args))};WithDefaultValue.storyName="WithDefaultValue",WithDefaultValue.args={id:"WithDefaultValue",helperText:"Assistive text",defaultValue:"0451234567",label:"Label for with default value",revealPasswordButtonAriaLabel:"Show password",concealPasswordButtonAriaLabel:"Hide password"};var InitiallyRevealed=function InitiallyRevealed(args){return(0,jsx_runtime.jsx)(PasswordInput,(0,objectSpread2.Z)({},args))};InitiallyRevealed.storyName="InitiallyRevealed",InitiallyRevealed.args={id:"InitiallyRevealed",helperText:"Assistive text",defaultValue:"0451234567",label:"Label for initially revealed",initiallyRevealed:!0,revealPasswordButtonAriaLabel:"Show password",concealPasswordButtonAriaLabel:"Hide password"};var AutoCompleteOn=function AutoCompleteOn(args){return(0,jsx_runtime.jsx)(PasswordInput,(0,objectSpread2.Z)({},args))};AutoCompleteOn.storyName="Autocomplete on",AutoCompleteOn.args={id:"Autocomplete on",helperText:"Assistive text",label:"Label for autocomplete on",autoComplete:"on",revealPasswordButtonAriaLabel:"Show password",concealPasswordButtonAriaLabel:"Hide password"};var Success=function Success(args){return(0,jsx_runtime.jsx)(PasswordInput,(0,objectSpread2.Z)({},args))};Success.storyName="Success",Success.args={id:"Success",helperText:"Assistive text",label:"Label for success input",successText:"Success text",revealPasswordButtonAriaLabel:"Show password",concealPasswordButtonAriaLabel:"Hide password"};var Invalid=function Invalid(args){return(0,jsx_runtime.jsx)(PasswordInput,(0,objectSpread2.Z)({},args))};Invalid.storyName="Invalid",Invalid.args={id:"Error",invalid:!0,helperText:"Assistive text",label:"Label for invalid input",errorText:"Error text",revealPasswordButtonAriaLabel:"Show password",concealPasswordButtonAriaLabel:"Hide password"};var WithExternalShowPasswordButton=function WithExternalShowPasswordButton(){var _useState=(0,react.useState)(!1),_useState2=(0,slicedToArray.Z)(_useState,2),revealPassword=_useState2[0],setRevealPassword=_useState2[1];return(0,jsx_runtime.jsxs)("div",{className:"password-input--external-show-password-button",children:[(0,jsx_runtime.jsx)(PasswordInput,{label:"Label for external show password button",id:"external-password-button",includeShowPasswordButton:!1,helperText:"Assistive text",type:revealPassword?"text":"password"}),(0,jsx_runtime.jsx)(Button.z,{variant:"supplementary",onClick:function onClick(){return setRevealPassword(!revealPassword)},iconLeft:revealPassword?(0,jsx_runtime.jsx)(IconEyeCrossed.IconEyeCrossed,{"aria-hidden":!0}):(0,jsx_runtime.jsx)(IconEye.IconEye,{"aria-hidden":!0}),children:revealPassword?"Hide password":"Show password"})]})};WithExternalShowPasswordButton.storyName="With external show password button",Default.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => "}},Default.parameters),Disabled.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => "}},Disabled.parameters),WithDefaultValue.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => "}},WithDefaultValue.parameters),InitiallyRevealed.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => "}},InitiallyRevealed.parameters),AutoCompleteOn.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => "}},AutoCompleteOn.parameters),Success.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => "}},Success.parameters),Invalid.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => "}},Invalid.parameters),WithExternalShowPasswordButton.parameters=(0,objectSpread2.Z)({storySource:{source:'() => {\n const [revealPassword, setRevealPassword] = useState(false);\n return (\n \n
\n
setRevealPassword(!revealPassword)}\n iconLeft={revealPassword ? : }\n >\n {revealPassword ? \'Hide password\' : \'Show password\'}\n \n
\n );\n}'}},WithExternalShowPasswordButton.parameters);try{Default.displayName="Default",Default.__docgenInfo={description:"",displayName:"Default",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/passwordInput/PasswordInput.stories.tsx#Default"]={docgenInfo:Default.__docgenInfo,name:"Default",path:"src/components/passwordInput/PasswordInput.stories.tsx#Default"})}catch(__react_docgen_typescript_loader_error){}try{Disabled.displayName="Disabled",Disabled.__docgenInfo={description:"",displayName:"Disabled",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/passwordInput/PasswordInput.stories.tsx#Disabled"]={docgenInfo:Disabled.__docgenInfo,name:"Disabled",path:"src/components/passwordInput/PasswordInput.stories.tsx#Disabled"})}catch(__react_docgen_typescript_loader_error){}try{WithDefaultValue.displayName="WithDefaultValue",WithDefaultValue.__docgenInfo={description:"",displayName:"WithDefaultValue",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/passwordInput/PasswordInput.stories.tsx#WithDefaultValue"]={docgenInfo:WithDefaultValue.__docgenInfo,name:"WithDefaultValue",path:"src/components/passwordInput/PasswordInput.stories.tsx#WithDefaultValue"})}catch(__react_docgen_typescript_loader_error){}try{InitiallyRevealed.displayName="InitiallyRevealed",InitiallyRevealed.__docgenInfo={description:"",displayName:"InitiallyRevealed",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/passwordInput/PasswordInput.stories.tsx#InitiallyRevealed"]={docgenInfo:InitiallyRevealed.__docgenInfo,name:"InitiallyRevealed",path:"src/components/passwordInput/PasswordInput.stories.tsx#InitiallyRevealed"})}catch(__react_docgen_typescript_loader_error){}try{AutoCompleteOn.displayName="AutoCompleteOn",AutoCompleteOn.__docgenInfo={description:"",displayName:"AutoCompleteOn",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/passwordInput/PasswordInput.stories.tsx#AutoCompleteOn"]={docgenInfo:AutoCompleteOn.__docgenInfo,name:"AutoCompleteOn",path:"src/components/passwordInput/PasswordInput.stories.tsx#AutoCompleteOn"})}catch(__react_docgen_typescript_loader_error){}try{Success.displayName="Success",Success.__docgenInfo={description:"",displayName:"Success",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/passwordInput/PasswordInput.stories.tsx#Success"]={docgenInfo:Success.__docgenInfo,name:"Success",path:"src/components/passwordInput/PasswordInput.stories.tsx#Success"})}catch(__react_docgen_typescript_loader_error){}try{Invalid.displayName="Invalid",Invalid.__docgenInfo={description:"",displayName:"Invalid",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/passwordInput/PasswordInput.stories.tsx#Invalid"]={docgenInfo:Invalid.__docgenInfo,name:"Invalid",path:"src/components/passwordInput/PasswordInput.stories.tsx#Invalid"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/phoneInput/PhoneInput.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Default:()=>Default,Disabled:()=>Disabled,WithCountryCode:()=>WithCountryCode,WithDefaultValue:()=>WithDefaultValue,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),_storybook_addon_actions__WEBPACK_IMPORTED_MODULE_1__=(__webpack_require__("../../node_modules/react/index.js"),__webpack_require__("../../node_modules/@storybook/addon-actions/dist/esm/index.js")),_PhoneInput__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/components/phoneInput/PhoneInput.tsx"),_dropdown_combobox__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./src/components/dropdown/combobox/Combobox.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/react/jsx-runtime.js");const __WEBPACK_DEFAULT_EXPORT__={component:_PhoneInput__WEBPACK_IMPORTED_MODULE_3__.s,title:"Components/PhoneInput",decorators:[function(storyFn){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{style:{maxWidth:"300px"},children:storyFn()})}],parameters:{storySource:{source:"import React from 'react';\nimport { action } from '@storybook/addon-actions';\n\nimport { PhoneInput } from './PhoneInput';\nimport { Combobox } from '../dropdown/combobox';\n\nexport default {\n component: PhoneInput,\n title: 'Components/PhoneInput',\n decorators: [(storyFn) => {storyFn()}
],\n parameters: {\n controls: { expanded: true },\n },\n args: {},\n};\n\nexport const Default = (args) => ;\nDefault.args = {\n id: 'Default',\n helperText: 'Assistive text',\n label: 'Label',\n};\n\nexport const Disabled = (args) => ;\nDisabled.storyName = 'Disabled';\nDisabled.args = {\n id: 'Disabled',\n helperText: 'Assistive text',\n defaultValue: '0451234567',\n label: 'Label for disabled',\n disabled: true,\n};\n\nexport const WithDefaultValue = (args) => ;\nWithDefaultValue.storyName = 'With a default value';\nWithDefaultValue.args = {\n id: 'WithDefaultValue',\n defaultValue: '0451234567',\n helperText: 'Assistive text',\n label: 'Label for default value',\n};\n\nexport const WithCountryCode = (args) => {\n const options = [{ label: 'Finland (+358)' }, { label: 'UK (+46)' }];\n return (\n <>\n \n Work phone\n
\n \n
action('onBlur')}\n onChange={(change) => action('onChange')(change)}\n onFocus={() => action('onFocus')}\n required\n toggleButtonAriaLabel=\"Choose country code\"\n />\n \n \n >\n );\n};\n\nWithCountryCode.storyName = 'With select countrycode';\nWithCountryCode.args = {\n id: 'WithCountryCode',\n defaultValue: '0451234567',\n 'aria-describedby': 'work-phone',\n label: 'Phone number',\n required: true,\n};\nWithCountryCode.decorators = [(storyFn) => {storyFn()}
];\n",locationsMap:{default:{startLoc:{col:23,line:17},endLoc:{col:57,line:17},startBody:{col:23,line:17},endBody:{col:57,line:17}},disabled:{startLoc:{col:24,line:24},endLoc:{col:58,line:24},startBody:{col:24,line:24},endBody:{col:58,line:24}},"with-default-value":{startLoc:{col:32,line:34},endLoc:{col:66,line:34},startBody:{col:32,line:34},endBody:{col:66,line:34}},"with-country-code":{startLoc:{col:31,line:43},endLoc:{col:1,line:68},startBody:{col:31,line:43},endBody:{col:1,line:68}}}},controls:{expanded:!0}},args:{}};var Default=function Default(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_PhoneInput__WEBPACK_IMPORTED_MODULE_3__.s,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},args))};Default.args={id:"Default",helperText:"Assistive text",label:"Label"};var Disabled=function Disabled(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_PhoneInput__WEBPACK_IMPORTED_MODULE_3__.s,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},args))};Disabled.storyName="Disabled",Disabled.args={id:"Disabled",helperText:"Assistive text",defaultValue:"0451234567",label:"Label for disabled",disabled:!0};var WithDefaultValue=function WithDefaultValue(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_PhoneInput__WEBPACK_IMPORTED_MODULE_3__.s,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},args))};WithDefaultValue.storyName="With a default value",WithDefaultValue.args={id:"WithDefaultValue",defaultValue:"0451234567",helperText:"Assistive text",label:"Label for default value"};var WithCountryCode=function WithCountryCode(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("p",{id:"work-phone",style:{fontSize:"18px",fontWeight:"bold"},children:"Work phone"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"200px 300px",columnGap:"16px"},children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_dropdown_combobox__WEBPACK_IMPORTED_MODULE_5__.h,{id:"hds-select-1",label:"Country code",helper:"Assistive text","aria-describedby":"work-phone",options:[{label:"Finland (+358)"},{label:"UK (+46)"}],defaultValue:{label:"Finland (+358)"},onBlur:function onBlur(){return(0,_storybook_addon_actions__WEBPACK_IMPORTED_MODULE_1__.action)("onBlur")},onChange:function onChange(change){return(0,_storybook_addon_actions__WEBPACK_IMPORTED_MODULE_1__.action)("onChange")(change)},onFocus:function onFocus(){return(0,_storybook_addon_actions__WEBPACK_IMPORTED_MODULE_1__.action)("onFocus")},required:!0,toggleButtonAriaLabel:"Choose country code"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_PhoneInput__WEBPACK_IMPORTED_MODULE_3__.s,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},args))]})]})};WithCountryCode.storyName="With select countrycode",WithCountryCode.args={id:"WithCountryCode",defaultValue:"0451234567","aria-describedby":"work-phone",label:"Phone number",required:!0},WithCountryCode.decorators=[function(storyFn){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{style:{maxWidth:"516px"},children:storyFn()})}],Default.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:"(args) => "}},Default.parameters),Disabled.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:"(args) => "}},Disabled.parameters),WithDefaultValue.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:"(args) => "}},WithDefaultValue.parameters),WithCountryCode.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:"(args) => {\n const options = [{ label: 'Finland (+358)' }, { label: 'UK (+46)' }];\n return (\n <>\n \n Work phone\n
\n \n
action('onBlur')}\n onChange={(change) => action('onChange')(change)}\n onFocus={() => action('onFocus')}\n required\n toggleButtonAriaLabel=\"Choose country code\"\n />\n \n \n >\n );\n}"}},WithCountryCode.parameters);try{Default.displayName="Default",Default.__docgenInfo={description:"",displayName:"Default",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/phoneInput/PhoneInput.stories.tsx#Default"]={docgenInfo:Default.__docgenInfo,name:"Default",path:"src/components/phoneInput/PhoneInput.stories.tsx#Default"})}catch(__react_docgen_typescript_loader_error){}try{Disabled.displayName="Disabled",Disabled.__docgenInfo={description:"",displayName:"Disabled",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/phoneInput/PhoneInput.stories.tsx#Disabled"]={docgenInfo:Disabled.__docgenInfo,name:"Disabled",path:"src/components/phoneInput/PhoneInput.stories.tsx#Disabled"})}catch(__react_docgen_typescript_loader_error){}try{WithDefaultValue.displayName="WithDefaultValue",WithDefaultValue.__docgenInfo={description:"",displayName:"WithDefaultValue",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/phoneInput/PhoneInput.stories.tsx#WithDefaultValue"]={docgenInfo:WithDefaultValue.__docgenInfo,name:"WithDefaultValue",path:"src/components/phoneInput/PhoneInput.stories.tsx#WithDefaultValue"})}catch(__react_docgen_typescript_loader_error){}try{WithCountryCode.displayName="WithCountryCode",WithCountryCode.__docgenInfo={description:"",displayName:"WithCountryCode",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/phoneInput/PhoneInput.stories.tsx#WithCountryCode"]={docgenInfo:WithCountryCode.__docgenInfo,name:"WithCountryCode",path:"src/components/phoneInput/PhoneInput.stories.tsx#WithCountryCode"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/radioButton/RadioButton.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Custom:()=>Custom,Default:()=>Default,Disabled:()=>Disabled,Playground:()=>Playground,Selected:()=>Selected,SelectedDisabled:()=>SelectedDisabled,WithHelperText:()=>WithHelperText,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/react/index.js"),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@storybook/addon-docs/blocks.js"),_RadioButton__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/components/radioButton/RadioButton.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/react/jsx-runtime.js");const __WEBPACK_DEFAULT_EXPORT__={component:_RadioButton__WEBPACK_IMPORTED_MODULE_3__.E,title:"Components/RadioButton",parameters:{storySource:{source:"import React, { useState } from 'react';\nimport { ArgsTable, Stories, Title } from '@storybook/addon-docs/blocks';\n\nimport { RadioButton } from './RadioButton';\n\nexport default {\n component: RadioButton,\n title: 'Components/RadioButton',\n parameters: {\n controls: { hideNoControlsWarning: true },\n docs: {\n page: () => (\n <>\n Props \n \n \n >\n ),\n },\n },\n};\n\nexport const Default = () => ;\n\nexport const Selected = () => ;\n\nexport const Disabled = () => ;\n\nexport const SelectedDisabled = () => ;\nSelectedDisabled.storyName = 'Selected & disabled';\n\nexport const Custom = () => {\n const [radioValue, setRadioValue] = useState('');\n const options = ['foo', 'bar'];\n\n const customStyles = {\n '--size': '36px',\n '--icon-scale': 0.65,\n '--border-width': '3px',\n '--outline-width': '4px',\n '--border-color-selected': 'var(--color-success)',\n '--border-color-selected-hover': 'var(--color-success-dark)',\n '--border-color-selected-focus': 'var(--color-success)',\n '--icon-color-selected': 'var(--color-success)',\n '--icon-color-hover': 'var(--color-success-dark)',\n '--focus-outline-color': 'var(--color-black-20)',\n } as React.CSSProperties;\n\n return (\n <>\n {options.map((option) => (\n setRadioValue((event.target as HTMLInputElement).value)}\n />\n ))}\n >\n );\n};\nCustom.storyName = 'With custom styles';\n\nexport const WithHelperText = () => ;\n\nexport const Playground = (args) => {\n const [radioValue, setRadioValue] = useState('');\n const options = ['foo', 'bar', 'baz'];\n\n const styles = {\n '--size': `${args.size}px`,\n '--icon-scale': args.iconScale,\n '--border-width': `${args.borderWidth}px`,\n '--outline-width': `${args.outlineWidth}px`,\n '--label-font-size': `${args.labelFontSize}px`,\n '--label-padding': `${args.labelPadding}px`,\n '--background': args.background,\n '--background-hover': args.backgroundHover,\n '--background-focus': args.backgroundFocus,\n '--background-unselected-disabled': args.backgroundUnselectedDisabled,\n '--background-selected-disabled': args.backgroundSelectedDisabled,\n '--border-color-focus': args.borderColorFocus,\n '--border-color-selected': args.borderColorSelected,\n '--border-color-selected-hover': args.borderColorSelectedHover,\n '--border-color-selected-disabled': args.borderColorSelectedDisabled,\n '--border-color-unselected': args.borderColorUnselected,\n '--border-color-unselected-hover': args.borderColorUnselectedHover,\n '--border-color-unselected-disabled': args.borderColorUnselectedDisabled,\n '--focus-outline-color': args.focusOutlineColor,\n '--icon-color-unselected': args.iconColorUnselected,\n '--icon-color-selected': args.iconColorSelected,\n '--icon-color-disabled': args.iconColorDisabled,\n '--label-color': args.labelColorDefault,\n '--label-color-disabled': args.labelColorDisabled,\n } as React.CSSProperties;\n\n return (\n <>\n {options.map((option) => (\n setRadioValue((event.target as HTMLInputElement).value)}\n />\n ))}\n \n \n >\n );\n};\nPlayground.parameters = {\n previewTabs: {\n 'storybook/docs/panel': {\n hidden: true,\n },\n },\n docs: {\n disable: true,\n },\n};\n\nPlayground.args = {\n size: 24,\n iconScale: 0.5,\n borderWidth: 2,\n outlineWidth: 3,\n labelFontSize: 16,\n labelPadding: 8,\n background: '#ffffff',\n backgroundHover: '#ffffff',\n backgroundFocus: '#ffffff',\n backgroundUnselectedDisabled: '#e5e5e5',\n backgroundSelectedDisabled: '#ffffff',\n borderColorFocus: '#1a1a1a',\n borderColorSelected: '#0000bf',\n borderColorSelectedHover: '#000098',\n borderColorSelectedDisabled: '#cccccc',\n borderColorUnselected: '#808080',\n borderColorUnselectedHover: '#1a1a1a',\n borderColorUnselectedDisabled: '#e5e5e5',\n focusOutlineColor: '#0072c6',\n iconColorUnselected: 'rgba(0, 0, 0, 0)',\n iconColorSelected: '#0000bf',\n iconColorDisabled: '#e5e5e5',\n labelColorDefault: '#1a1a1a',\n labelColorDisabled: '#999898',\n};\n\nPlayground.argTypes = {\n size: {\n control: {\n type: 'range',\n min: 10,\n max: 100,\n step: 1,\n },\n },\n iconScale: {\n control: {\n type: 'range',\n min: 0.1,\n max: 0.9,\n step: 0.05,\n },\n },\n borderWidth: {\n control: {\n type: 'range',\n min: 1,\n max: 10,\n step: 1,\n },\n },\n outlineWidth: {\n control: {\n type: 'range',\n min: 1,\n max: 10,\n step: 1,\n },\n },\n labelFontSize: {\n control: {\n type: 'range',\n min: 12,\n max: 32,\n step: 1,\n },\n },\n labelPadding: {\n control: {\n type: 'range',\n min: 4,\n max: 32,\n step: 2,\n },\n },\n background: { control: { type: 'color' } },\n backgroundHover: { control: { type: 'color' } },\n backgroundFocus: { control: { type: 'color' } },\n backgroundUnselectedDisabled: { control: { type: 'color' } },\n backgroundSelectedDisabled: { control: { type: 'color' } },\n borderColorFocus: { control: { type: 'color' } },\n borderColorSelected: { control: { type: 'color' } },\n borderColorSelectedHover: { control: { type: 'color' } },\n borderColorSelectedDisabled: { control: { type: 'color' } },\n borderColorUnselected: { control: { type: 'color' } },\n borderColorUnselectedHover: { control: { type: 'color' } },\n borderColorUnselectedDisabled: { control: { type: 'color' } },\n focusOutlineColor: { control: { type: 'color' } },\n iconColorUnselected: { control: { type: 'color' } },\n iconColorSelected: { control: { type: 'color' } },\n iconColorDisabled: { control: { type: 'color' } },\n labelColorDefault: { control: { type: 'color' } },\n labelColorDisabled: { control: { type: 'color' } },\n};\n",locationsMap:{default:{startLoc:{col:23,line:23},endLoc:{col:69,line:23},startBody:{col:23,line:23},endBody:{col:69,line:23}},selected:{startLoc:{col:24,line:25},endLoc:{col:79,line:25},startBody:{col:24,line:25},endBody:{col:79,line:25}},disabled:{startLoc:{col:24,line:27},endLoc:{col:80,line:27},startBody:{col:24,line:27},endBody:{col:80,line:27}},"selected-disabled":{startLoc:{col:32,line:29},endLoc:{col:96,line:29},startBody:{col:32,line:29},endBody:{col:96,line:29}},custom:{startLoc:{col:22,line:32},endLoc:{col:1,line:64},startBody:{col:22,line:32},endBody:{col:1,line:64}},"with-helper-text":{startLoc:{col:30,line:67},endLoc:{col:116,line:67},startBody:{col:30,line:67},endBody:{col:116,line:67}},playground:{startLoc:{col:26,line:69},endLoc:{col:1,line:117},startBody:{col:26,line:69},endBody:{col:1,line:117}}}},controls:{hideNoControlsWarning:!0},docs:{page:function page(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_1__.Dx,{children:"Props"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_1__.$4,{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_1__.fQ,{title:"Examples",includePrimary:!0})]})}}}};var Default=function Default(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_RadioButton__WEBPACK_IMPORTED_MODULE_3__.E,{id:"radio",label:"Label"})},Selected=function Selected(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_RadioButton__WEBPACK_IMPORTED_MODULE_3__.E,{id:"radio2",label:"Label",checked:!0})},Disabled=function Disabled(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_RadioButton__WEBPACK_IMPORTED_MODULE_3__.E,{id:"radio3",label:"Label",disabled:!0})},SelectedDisabled=function SelectedDisabled(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_RadioButton__WEBPACK_IMPORTED_MODULE_3__.E,{id:"radio4",label:"Label",checked:!0,disabled:!0})};SelectedDisabled.storyName="Selected & disabled";var Custom=function Custom(){var _useState=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(""),_useState2=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4__.Z)(_useState,2),radioValue=_useState2[0],setRadioValue=_useState2[1],customStyles={"--size":"36px","--icon-scale":.65,"--border-width":"3px","--outline-width":"4px","--border-color-selected":"var(--color-success)","--border-color-selected-hover":"var(--color-success-dark)","--border-color-selected-focus":"var(--color-success)","--icon-color-selected":"var(--color-success)","--icon-color-hover":"var(--color-success-dark)","--focus-outline-color":"var(--color-black-20)"};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment,{children:["foo","bar"].map((function(option){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_RadioButton__WEBPACK_IMPORTED_MODULE_3__.E,{id:"radio-".concat(option),value:option,label:"Label",style:customStyles,checked:radioValue===option,onChange:function onChange(event){return setRadioValue(event.target.value)}},"radio-".concat(option))}))})};Custom.storyName="With custom styles";var WithHelperText=function WithHelperText(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_RadioButton__WEBPACK_IMPORTED_MODULE_3__.E,{id:"radio-with-helper",label:"Label",helperText:"Assistive text"})},Playground=function Playground(args){var _useState3=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(""),_useState4=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4__.Z)(_useState3,2),radioValue=_useState4[0],setRadioValue=_useState4[1],styles={"--size":"".concat(args.size,"px"),"--icon-scale":args.iconScale,"--border-width":"".concat(args.borderWidth,"px"),"--outline-width":"".concat(args.outlineWidth,"px"),"--label-font-size":"".concat(args.labelFontSize,"px"),"--label-padding":"".concat(args.labelPadding,"px"),"--background":args.background,"--background-hover":args.backgroundHover,"--background-focus":args.backgroundFocus,"--background-unselected-disabled":args.backgroundUnselectedDisabled,"--background-selected-disabled":args.backgroundSelectedDisabled,"--border-color-focus":args.borderColorFocus,"--border-color-selected":args.borderColorSelected,"--border-color-selected-hover":args.borderColorSelectedHover,"--border-color-selected-disabled":args.borderColorSelectedDisabled,"--border-color-unselected":args.borderColorUnselected,"--border-color-unselected-hover":args.borderColorUnselectedHover,"--border-color-unselected-disabled":args.borderColorUnselectedDisabled,"--focus-outline-color":args.focusOutlineColor,"--icon-color-unselected":args.iconColorUnselected,"--icon-color-selected":args.iconColorSelected,"--icon-color-disabled":args.iconColorDisabled,"--label-color":args.labelColorDefault,"--label-color-disabled":args.labelColorDisabled};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment,{children:[["foo","bar","baz"].map((function(option){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_RadioButton__WEBPACK_IMPORTED_MODULE_3__.E,{id:"radio-".concat(option),value:option,label:"Label",style:styles,checked:radioValue===option,onChange:function onChange(event){return setRadioValue(event.target.value)}},"radio-".concat(option))})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_RadioButton__WEBPACK_IMPORTED_MODULE_3__.E,{id:"radio4",label:"Label",style:styles,disabled:!0}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_RadioButton__WEBPACK_IMPORTED_MODULE_3__.E,{id:"radio5",label:"Label",style:styles,disabled:!0,checked:!0})]})};Playground.parameters={previewTabs:{"storybook/docs/panel":{hidden:!0}},docs:{disable:!0}},Playground.args={size:24,iconScale:.5,borderWidth:2,outlineWidth:3,labelFontSize:16,labelPadding:8,background:"#ffffff",backgroundHover:"#ffffff",backgroundFocus:"#ffffff",backgroundUnselectedDisabled:"#e5e5e5",backgroundSelectedDisabled:"#ffffff",borderColorFocus:"#1a1a1a",borderColorSelected:"#0000bf",borderColorSelectedHover:"#000098",borderColorSelectedDisabled:"#cccccc",borderColorUnselected:"#808080",borderColorUnselectedHover:"#1a1a1a",borderColorUnselectedDisabled:"#e5e5e5",focusOutlineColor:"#0072c6",iconColorUnselected:"rgba(0, 0, 0, 0)",iconColorSelected:"#0000bf",iconColorDisabled:"#e5e5e5",labelColorDefault:"#1a1a1a",labelColorDisabled:"#999898"},Playground.argTypes={size:{control:{type:"range",min:10,max:100,step:1}},iconScale:{control:{type:"range",min:.1,max:.9,step:.05}},borderWidth:{control:{type:"range",min:1,max:10,step:1}},outlineWidth:{control:{type:"range",min:1,max:10,step:1}},labelFontSize:{control:{type:"range",min:12,max:32,step:1}},labelPadding:{control:{type:"range",min:4,max:32,step:2}},background:{control:{type:"color"}},backgroundHover:{control:{type:"color"}},backgroundFocus:{control:{type:"color"}},backgroundUnselectedDisabled:{control:{type:"color"}},backgroundSelectedDisabled:{control:{type:"color"}},borderColorFocus:{control:{type:"color"}},borderColorSelected:{control:{type:"color"}},borderColorSelectedHover:{control:{type:"color"}},borderColorSelectedDisabled:{control:{type:"color"}},borderColorUnselected:{control:{type:"color"}},borderColorUnselectedHover:{control:{type:"color"}},borderColorUnselectedDisabled:{control:{type:"color"}},focusOutlineColor:{control:{type:"color"}},iconColorUnselected:{control:{type:"color"}},iconColorSelected:{control:{type:"color"}},iconColorDisabled:{control:{type:"color"}},labelColorDefault:{control:{type:"color"}},labelColorDisabled:{control:{type:"color"}}},Default.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_5__.Z)({storySource:{source:'() => '}},Default.parameters),Selected.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_5__.Z)({storySource:{source:'() => '}},Selected.parameters),Disabled.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_5__.Z)({storySource:{source:'() => '}},Disabled.parameters),SelectedDisabled.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_5__.Z)({storySource:{source:'() => '}},SelectedDisabled.parameters),Custom.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_5__.Z)({storySource:{source:"() => {\n const [radioValue, setRadioValue] = useState('');\n const options = ['foo', 'bar'];\n\n const customStyles = {\n '--size': '36px',\n '--icon-scale': 0.65,\n '--border-width': '3px',\n '--outline-width': '4px',\n '--border-color-selected': 'var(--color-success)',\n '--border-color-selected-hover': 'var(--color-success-dark)',\n '--border-color-selected-focus': 'var(--color-success)',\n '--icon-color-selected': 'var(--color-success)',\n '--icon-color-hover': 'var(--color-success-dark)',\n '--focus-outline-color': 'var(--color-black-20)',\n } as React.CSSProperties;\n\n return (\n <>\n {options.map((option) => (\n setRadioValue((event.target as HTMLInputElement).value)}\n />\n ))}\n >\n );\n}"}},Custom.parameters),WithHelperText.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_5__.Z)({storySource:{source:'() => '}},WithHelperText.parameters),Playground.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_5__.Z)({storySource:{source:"(args) => {\n const [radioValue, setRadioValue] = useState('');\n const options = ['foo', 'bar', 'baz'];\n\n const styles = {\n '--size': `${args.size}px`,\n '--icon-scale': args.iconScale,\n '--border-width': `${args.borderWidth}px`,\n '--outline-width': `${args.outlineWidth}px`,\n '--label-font-size': `${args.labelFontSize}px`,\n '--label-padding': `${args.labelPadding}px`,\n '--background': args.background,\n '--background-hover': args.backgroundHover,\n '--background-focus': args.backgroundFocus,\n '--background-unselected-disabled': args.backgroundUnselectedDisabled,\n '--background-selected-disabled': args.backgroundSelectedDisabled,\n '--border-color-focus': args.borderColorFocus,\n '--border-color-selected': args.borderColorSelected,\n '--border-color-selected-hover': args.borderColorSelectedHover,\n '--border-color-selected-disabled': args.borderColorSelectedDisabled,\n '--border-color-unselected': args.borderColorUnselected,\n '--border-color-unselected-hover': args.borderColorUnselectedHover,\n '--border-color-unselected-disabled': args.borderColorUnselectedDisabled,\n '--focus-outline-color': args.focusOutlineColor,\n '--icon-color-unselected': args.iconColorUnselected,\n '--icon-color-selected': args.iconColorSelected,\n '--icon-color-disabled': args.iconColorDisabled,\n '--label-color': args.labelColorDefault,\n '--label-color-disabled': args.labelColorDisabled,\n } as React.CSSProperties;\n\n return (\n <>\n {options.map((option) => (\n setRadioValue((event.target as HTMLInputElement).value)}\n />\n ))}\n \n \n >\n );\n}"}},Playground.parameters);try{Playground.displayName="Playground",Playground.__docgenInfo={description:"",displayName:"Playground",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/radioButton/RadioButton.stories.tsx#Playground"]={docgenInfo:Playground.__docgenInfo,name:"Playground",path:"src/components/radioButton/RadioButton.stories.tsx#Playground"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/searchInput/SearchInput.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Default:()=>Default,WithCustomSearchButton:()=>WithCustomSearchButton,WithDefaultValue:()=>WithDefaultValue,WithSuggestions:()=>WithSuggestions,WithSuggestionsAndHighlighting:()=>WithSuggestionsAndHighlighting,WithSuggestionsSpinner:()=>WithSuggestionsSpinner,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js"),_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js"),_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/react/index.js"),_SearchInput__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/components/searchInput/SearchInput.tsx"),_button__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/components/button/Button.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js");const __WEBPACK_DEFAULT_EXPORT__={component:_SearchInput__WEBPACK_IMPORTED_MODULE_2__.M,title:"Components/SearchInput",decorators:[function(storyFn){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{maxWidth:"420px"},children:storyFn()})}],parameters:{storySource:{source:"\n\nimport React, { useRef, useState } from 'react';\n\nimport { SearchInput } from './SearchInput';\nimport { Button } from '../button';\n\nexport default {\n component: SearchInput,\n title: 'Components/SearchInput',\n decorators: [(storyFn) => {storyFn()}
],\n parameters: {\n controls: { expanded: true },\n },\n};\n\nconst fruits = [\n 'Apple',\n 'Apricot',\n 'Avocado',\n 'Banana',\n 'Blackberry',\n 'Blueberry',\n 'Cherry',\n 'Coconut',\n 'Cranberry',\n 'Date',\n 'Dragonfruit',\n 'Fig',\n 'Gooseberry',\n 'Grape',\n 'Honeyberry',\n 'Jackfruit',\n 'Kiwifruit',\n 'Lemon',\n 'Lime',\n 'Mango',\n 'Melon',\n 'Nectarine',\n 'Orange',\n 'Papaya',\n 'Passionfruit',\n 'Peach',\n 'Pear',\n 'Pineapple',\n 'Raspberry',\n 'Satsuma',\n 'Start fruit',\n 'Strawberry',\n 'Tangelo',\n 'Tomato',\n].map((fruit) => ({ value: fruit }));\n\nconst asynchronousSearchOperation = (inputValue: string, timeout = 0) => {\n return new Promise>((resolve) => {\n const filteredItems = fruits.filter((fruit) => {\n return fruit.value.toLowerCase().indexOf(inputValue.toLowerCase()) > -1;\n });\n setTimeout(() => {\n resolve(filteredItems);\n }, timeout);\n });\n};\n\nconst longLastingAsynchronousSearchOperation = (inputValue: string) => asynchronousSearchOperation(inputValue, 5000);\n\nexport const Default = (args) => {\n const onSubmit = (value: string) => {\n console.log('Search for:', value);\n };\n return ;\n};\nDefault.args = {\n label: 'Search',\n helperText: 'Assistive text',\n placeholder: 'Placeholder',\n};\n\nexport const WithCustomSearchButton = (args) => {\n const currentValue = useRef('');\n\n const onChange = (value: string) => {\n console.log('Input value changed:', value);\n currentValue.current = value;\n };\n\n const onSubmit = (string) => {\n console.log('Search for:', string);\n };\n\n const doSearch = () => {\n if (currentValue.current) console.log('Search:', currentValue.current);\n };\n\n return (\n \n \n \n \n Search\n \n
\n );\n};\n\nexport const WithSuggestions = (args) => {\n type SuggestionItemType = {\n value: string;\n };\n\n const getSuggestions = async (inputValue: string): Promise => {\n const suggestions = await asynchronousSearchOperation(inputValue);\n return suggestions;\n };\n\n const onSubmit = (value: string) => {\n console.log('Submitted value:', value);\n };\n\n return (\n \n {...args}\n suggestionLabelField=\"value\"\n getSuggestions={getSuggestions}\n onSubmit={onSubmit}\n />\n );\n};\nWithSuggestions.storyName = 'With suggestions';\nWithSuggestions.args = {\n label: 'Search for a fruit',\n helperText: 'Assistive text',\n placeholder: 'Placeholder',\n};\n\nexport const WithSuggestionsAndHighlighting = (args) => {\n type SuggestionItemType = {\n value: string;\n };\n\n const getSuggestions = async (inputValue: string): Promise => {\n const suggestions = await asynchronousSearchOperation(inputValue);\n return suggestions;\n };\n\n const onSubmit = (value: string) => {\n console.log('Submitted value:', value);\n };\n\n return (\n \n {...args}\n suggestionLabelField=\"value\"\n getSuggestions={getSuggestions}\n onSubmit={onSubmit}\n />\n );\n};\nWithSuggestionsAndHighlighting.storyName = 'With suggestions and highlighting';\nWithSuggestionsAndHighlighting.args = {\n label: 'Search for a fruit',\n helperText: 'Assistive text',\n highlightSuggestions: true,\n placeholder: 'Placeholder',\n};\n\nexport const WithSuggestionsSpinner = (args) => {\n type SuggestionItemType = {\n value: string;\n };\n\n const getSuggestions = async (inputValue: string): Promise => {\n const suggestions = await longLastingAsynchronousSearchOperation(inputValue);\n return suggestions;\n };\n\n const onChange = (value: string) => {\n console.log('input value changed:', value);\n };\n\n const onSubmit = (value: string) => {\n console.log('Submitted value:', value);\n };\n\n return (\n \n {...args}\n suggestionLabelField=\"value\"\n getSuggestions={getSuggestions}\n onSubmit={onSubmit}\n onChange={onChange}\n />\n );\n};\nWithSuggestionsSpinner.storyName = 'With suggestions & spinner';\nWithSuggestionsSpinner.args = {\n label: 'Search for a fruit',\n helperText: 'Assistive text',\n placeholder: 'Placeholder',\n};\n\nexport const WithDefaultValue = (args) => {\n type SuggestionItemType = {\n value: string;\n };\n const [searchValue, setSearchValue] = useState(args.value);\n\n const getSuggestions = async (inputValue: string): Promise => {\n const suggestions = await asynchronousSearchOperation(inputValue);\n return suggestions;\n };\n\n const onSubmit = (value: string) => {\n console.log('Submitted value:', value);\n };\n\n const onChange = (value: string) => {\n console.log('Changed value: ', value);\n setSearchValue(value);\n };\n\n return (\n \n {...args}\n suggestionLabelField=\"value\"\n getSuggestions={getSuggestions}\n onSubmit={onSubmit}\n value={searchValue}\n onChange={onChange}\n />\n );\n};\nWithDefaultValue.storyName = 'With default value';\nWithDefaultValue.args = {\n label: 'Search for a fruit',\n helperText: 'Assistive text',\n placeholder: 'Placeholder',\n value: 'Banana',\n};\n",locationsMap:{default:{startLoc:{col:23,line:67},endLoc:{col:1,line:72},startBody:{col:23,line:67},endBody:{col:1,line:72}},"with-custom-search-button":{startLoc:{col:38,line:79},endLoc:{col:1,line:131},startBody:{col:38,line:79},endBody:{col:1,line:131}},"with-suggestions":{startLoc:{col:31,line:133},endLoc:{col:1,line:155},startBody:{col:31,line:133},endBody:{col:1,line:155}},"with-suggestions-and-highlighting":{startLoc:{col:46,line:163},endLoc:{col:1,line:185},startBody:{col:46,line:163},endBody:{col:1,line:185}},"with-suggestions-spinner":{startLoc:{col:38,line:194},endLoc:{col:1,line:221},startBody:{col:38,line:194},endBody:{col:1,line:221}},"with-default-value":{startLoc:{col:32,line:229},endLoc:{col:1,line:259},startBody:{col:32,line:229},endBody:{col:1,line:259}}}},controls:{expanded:!0}}};var fruits=["Apple","Apricot","Avocado","Banana","Blackberry","Blueberry","Cherry","Coconut","Cranberry","Date","Dragonfruit","Fig","Gooseberry","Grape","Honeyberry","Jackfruit","Kiwifruit","Lemon","Lime","Mango","Melon","Nectarine","Orange","Papaya","Passionfruit","Peach","Pear","Pineapple","Raspberry","Satsuma","Start fruit","Strawberry","Tangelo","Tomato"].map((function(fruit){return{value:fruit}})),asynchronousSearchOperation=function asynchronousSearchOperation(inputValue){var timeout=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return new Promise((function(resolve){var filteredItems=fruits.filter((function(fruit){return fruit.value.toLowerCase().indexOf(inputValue.toLowerCase())>-1}));setTimeout((function(){resolve(filteredItems)}),timeout)}))},longLastingAsynchronousSearchOperation=function longLastingAsynchronousSearchOperation(inputValue){return asynchronousSearchOperation(inputValue,5e3)},Default=function Default(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_SearchInput__WEBPACK_IMPORTED_MODULE_2__.M,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{onSubmit:function onSubmit(value){console.log("Search for:",value)}}))};Default.args={label:"Search",helperText:"Assistive text",placeholder:"Placeholder"};var WithCustomSearchButton=function WithCustomSearchButton(args){var currentValue=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)("");return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div",{style:{display:"flex",flexWrap:"wrap"},children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("style",{children:"\n .search-button {\n margin-left: 10px;\n }\n\n @media only screen and (max-width: ".concat(getComputedStyle(document.documentElement).getPropertyValue("--breakpoint-m"),") {\n .search-input,\n .search-button {\n width: 100%;\n }\n\n .search-button {\n margin-left: 0;\n margin-top: 10px;\n }\n }\n ")}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_SearchInput__WEBPACK_IMPORTED_MODULE_2__.M,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({className:"search-input"},args),{},{hideSearchButton:!0,onSubmit:function onSubmit(string){console.log("Search for:",string)},onChange:function onChange(value){console.log("Input value changed:",value),currentValue.current=value},placeholder:"Placeholder"})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_button__WEBPACK_IMPORTED_MODULE_4__.z,{className:"search-button",onClick:function doSearch(){currentValue.current&&console.log("Search:",currentValue.current)},children:"Search"})]})},WithSuggestions=function WithSuggestions(args){var getSuggestions=function(){var _ref=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_6__.Z)().mark((function _callee(inputValue){var suggestions;return(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_6__.Z)().wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:return _context.next=2,asynchronousSearchOperation(inputValue);case 2:return suggestions=_context.sent,_context.abrupt("return",suggestions);case 4:case"end":return _context.stop()}}),_callee)})));return function getSuggestions(_x){return _ref.apply(this,arguments)}}();return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_SearchInput__WEBPACK_IMPORTED_MODULE_2__.M,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{suggestionLabelField:"value",getSuggestions,onSubmit:function onSubmit(value){console.log("Submitted value:",value)}}))};WithSuggestions.storyName="With suggestions",WithSuggestions.args={label:"Search for a fruit",helperText:"Assistive text",placeholder:"Placeholder"};var WithSuggestionsAndHighlighting=function WithSuggestionsAndHighlighting(args){var getSuggestions=function(){var _ref2=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_6__.Z)().mark((function _callee2(inputValue){var suggestions;return(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_6__.Z)().wrap((function _callee2$(_context2){for(;;)switch(_context2.prev=_context2.next){case 0:return _context2.next=2,asynchronousSearchOperation(inputValue);case 2:return suggestions=_context2.sent,_context2.abrupt("return",suggestions);case 4:case"end":return _context2.stop()}}),_callee2)})));return function getSuggestions(_x2){return _ref2.apply(this,arguments)}}();return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_SearchInput__WEBPACK_IMPORTED_MODULE_2__.M,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{suggestionLabelField:"value",getSuggestions,onSubmit:function onSubmit(value){console.log("Submitted value:",value)}}))};WithSuggestionsAndHighlighting.storyName="With suggestions and highlighting",WithSuggestionsAndHighlighting.args={label:"Search for a fruit",helperText:"Assistive text",highlightSuggestions:!0,placeholder:"Placeholder"};var WithSuggestionsSpinner=function WithSuggestionsSpinner(args){var getSuggestions=function(){var _ref3=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_6__.Z)().mark((function _callee3(inputValue){var suggestions;return(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_6__.Z)().wrap((function _callee3$(_context3){for(;;)switch(_context3.prev=_context3.next){case 0:return _context3.next=2,longLastingAsynchronousSearchOperation(inputValue);case 2:return suggestions=_context3.sent,_context3.abrupt("return",suggestions);case 4:case"end":return _context3.stop()}}),_callee3)})));return function getSuggestions(_x3){return _ref3.apply(this,arguments)}}();return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_SearchInput__WEBPACK_IMPORTED_MODULE_2__.M,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{suggestionLabelField:"value",getSuggestions,onSubmit:function onSubmit(value){console.log("Submitted value:",value)},onChange:function onChange(value){console.log("input value changed:",value)}}))};WithSuggestionsSpinner.storyName="With suggestions & spinner",WithSuggestionsSpinner.args={label:"Search for a fruit",helperText:"Assistive text",placeholder:"Placeholder"};var WithDefaultValue=function WithDefaultValue(args){var _useState=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(args.value),_useState2=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_7__.Z)(_useState,2),searchValue=_useState2[0],setSearchValue=_useState2[1],getSuggestions=function(){var _ref4=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_5__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_6__.Z)().mark((function _callee4(inputValue){var suggestions;return(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_6__.Z)().wrap((function _callee4$(_context4){for(;;)switch(_context4.prev=_context4.next){case 0:return _context4.next=2,asynchronousSearchOperation(inputValue);case 2:return suggestions=_context4.sent,_context4.abrupt("return",suggestions);case 4:case"end":return _context4.stop()}}),_callee4)})));return function getSuggestions(_x4){return _ref4.apply(this,arguments)}}();return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_SearchInput__WEBPACK_IMPORTED_MODULE_2__.M,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{suggestionLabelField:"value",getSuggestions,onSubmit:function onSubmit(value){console.log("Submitted value:",value)},value:searchValue,onChange:function onChange(value){console.log("Changed value: ",value),setSearchValue(value)}}))};WithDefaultValue.storyName="With default value",WithDefaultValue.args={label:"Search for a fruit",helperText:"Assistive text",placeholder:"Placeholder",value:"Banana"},Default.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => {\n const onSubmit = (value: string) => {\n console.log('Search for:', value);\n };\n return ;\n}"}},Default.parameters),WithCustomSearchButton.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => {\n const currentValue = useRef('');\n\n const onChange = (value: string) => {\n console.log('Input value changed:', value);\n currentValue.current = value;\n };\n\n const onSubmit = (string) => {\n console.log('Search for:', string);\n };\n\n const doSearch = () => {\n if (currentValue.current) console.log('Search:', currentValue.current);\n };\n\n return (\n \n \n \n \n Search\n \n
\n );\n}"}},WithCustomSearchButton.parameters),WithSuggestions.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => {\n type SuggestionItemType = {\n value: string;\n };\n\n const getSuggestions = async (inputValue: string): Promise => {\n const suggestions = await asynchronousSearchOperation(inputValue);\n return suggestions;\n };\n\n const onSubmit = (value: string) => {\n console.log('Submitted value:', value);\n };\n\n return (\n \n {...args}\n suggestionLabelField=\"value\"\n getSuggestions={getSuggestions}\n onSubmit={onSubmit}\n />\n );\n}"}},WithSuggestions.parameters),WithSuggestionsAndHighlighting.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => {\n type SuggestionItemType = {\n value: string;\n };\n\n const getSuggestions = async (inputValue: string): Promise => {\n const suggestions = await asynchronousSearchOperation(inputValue);\n return suggestions;\n };\n\n const onSubmit = (value: string) => {\n console.log('Submitted value:', value);\n };\n\n return (\n \n {...args}\n suggestionLabelField=\"value\"\n getSuggestions={getSuggestions}\n onSubmit={onSubmit}\n />\n );\n}"}},WithSuggestionsAndHighlighting.parameters),WithSuggestionsSpinner.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => {\n type SuggestionItemType = {\n value: string;\n };\n\n const getSuggestions = async (inputValue: string): Promise => {\n const suggestions = await longLastingAsynchronousSearchOperation(inputValue);\n return suggestions;\n };\n\n const onChange = (value: string) => {\n console.log('input value changed:', value);\n };\n\n const onSubmit = (value: string) => {\n console.log('Submitted value:', value);\n };\n\n return (\n \n {...args}\n suggestionLabelField=\"value\"\n getSuggestions={getSuggestions}\n onSubmit={onSubmit}\n onChange={onChange}\n />\n );\n}"}},WithSuggestionsSpinner.parameters),WithDefaultValue.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => {\n type SuggestionItemType = {\n value: string;\n };\n const [searchValue, setSearchValue] = useState(args.value);\n\n const getSuggestions = async (inputValue: string): Promise => {\n const suggestions = await asynchronousSearchOperation(inputValue);\n return suggestions;\n };\n\n const onSubmit = (value: string) => {\n console.log('Submitted value:', value);\n };\n\n const onChange = (value: string) => {\n console.log('Changed value: ', value);\n setSearchValue(value);\n };\n\n return (\n \n {...args}\n suggestionLabelField=\"value\"\n getSuggestions={getSuggestions}\n onSubmit={onSubmit}\n value={searchValue}\n onChange={onChange}\n />\n );\n}"}},WithDefaultValue.parameters);try{Default.displayName="Default",Default.__docgenInfo={description:"",displayName:"Default",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/searchInput/SearchInput.stories.tsx#Default"]={docgenInfo:Default.__docgenInfo,name:"Default",path:"src/components/searchInput/SearchInput.stories.tsx#Default"})}catch(__react_docgen_typescript_loader_error){}try{WithCustomSearchButton.displayName="WithCustomSearchButton",WithCustomSearchButton.__docgenInfo={description:"",displayName:"WithCustomSearchButton",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/searchInput/SearchInput.stories.tsx#WithCustomSearchButton"]={docgenInfo:WithCustomSearchButton.__docgenInfo,name:"WithCustomSearchButton",path:"src/components/searchInput/SearchInput.stories.tsx#WithCustomSearchButton"})}catch(__react_docgen_typescript_loader_error){}try{WithSuggestions.displayName="WithSuggestions",WithSuggestions.__docgenInfo={description:"",displayName:"WithSuggestions",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/searchInput/SearchInput.stories.tsx#WithSuggestions"]={docgenInfo:WithSuggestions.__docgenInfo,name:"WithSuggestions",path:"src/components/searchInput/SearchInput.stories.tsx#WithSuggestions"})}catch(__react_docgen_typescript_loader_error){}try{WithSuggestionsAndHighlighting.displayName="WithSuggestionsAndHighlighting",WithSuggestionsAndHighlighting.__docgenInfo={description:"",displayName:"WithSuggestionsAndHighlighting",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/searchInput/SearchInput.stories.tsx#WithSuggestionsAndHighlighting"]={docgenInfo:WithSuggestionsAndHighlighting.__docgenInfo,name:"WithSuggestionsAndHighlighting",path:"src/components/searchInput/SearchInput.stories.tsx#WithSuggestionsAndHighlighting"})}catch(__react_docgen_typescript_loader_error){}try{WithSuggestionsSpinner.displayName="WithSuggestionsSpinner",WithSuggestionsSpinner.__docgenInfo={description:"",displayName:"WithSuggestionsSpinner",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/searchInput/SearchInput.stories.tsx#WithSuggestionsSpinner"]={docgenInfo:WithSuggestionsSpinner.__docgenInfo,name:"WithSuggestionsSpinner",path:"src/components/searchInput/SearchInput.stories.tsx#WithSuggestionsSpinner"})}catch(__react_docgen_typescript_loader_error){}try{WithDefaultValue.displayName="WithDefaultValue",WithDefaultValue.__docgenInfo={description:"",displayName:"WithDefaultValue",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/searchInput/SearchInput.stories.tsx#WithDefaultValue"]={docgenInfo:WithDefaultValue.__docgenInfo,name:"WithDefaultValue",path:"src/components/searchInput/SearchInput.stories.tsx#WithDefaultValue"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/section/Section.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Multiple:()=>Multiple,Plain:()=>Plain,Playground:()=>Playground,Primary:()=>Primary,Secondary:()=>Secondary,Tertiary:()=>Tertiary,WithKoros:()=>WithKoros,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_1__=(__webpack_require__("../../node_modules/react/index.js"),__webpack_require__("./node_modules/@storybook/addon-docs/blocks.js")),_Section__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/components/section/Section.tsx"),_assets_img_placeholder_1920x1080_jpg__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/assets/img/placeholder_1920x1080.jpg"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),placeholderText="Lorem ipsum dolor sit amet, consectetur adipisci elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua.",placeholderImg=(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("img",{src:_assets_img_placeholder_1920x1080_jpg__WEBPACK_IMPORTED_MODULE_3__,alt:"",style:{display:"block",width:"100%"}});const __WEBPACK_DEFAULT_EXPORT__={component:_Section__WEBPACK_IMPORTED_MODULE_4__.$,title:"Components/Section",parameters:{storySource:{source:'import React from \'react\';\nimport { ArgsTable, Title } from \'@storybook/addon-docs/blocks\';\n\nimport { Section } from \'./Section\';\nimport imageFile from \'../../assets/img/placeholder_1920x1080.jpg\';\n\nconst placeholderTitle = \'Lorem ipsum\';\nconst placeholderText =\n \'Lorem ipsum dolor sit amet, consectetur adipisci elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua.\';\nconst placeholderImg = ;\n\nexport default {\n component: Section,\n title: \'Components/Section\',\n parameters: {\n controls: { hideNoControlsWarning: true },\n layout: \'fullscreen\',\n docs: {\n page: () => (\n <>\n Props \n \n >\n ),\n },\n },\n};\n\nexport const Plain = () => (\n \n {placeholderTitle} \n {placeholderText}\n \n);\n\nexport const Primary = () => (\n \n {placeholderTitle} \n {placeholderText}\n \n);\n\nexport const Secondary = () => (\n \n {placeholderTitle} \n {placeholderText}\n \n);\n\nexport const Tertiary = () => (\n \n {placeholderTitle} \n {placeholderText}\n \n);\n\nexport const WithKoros = () => (\n \n {placeholderTitle} \n {placeholderText}\n \n);\nWithKoros.storyName = \'With koros\';\n\nexport const Multiple = () => (\n <>\n \n {placeholderTitle} \n {placeholderText}\n \n {placeholderImg}\n \n No Koros \n This section does not have any koros.\n \n \n Pulse \n {placeholderText}\n \n Secondary non-koros section \n \n secondary Beat \n {placeholderText}\n \n \n \n Vibration \n {placeholderText}\n \n \n \n primary Beat \n {placeholderText}\n \n \n \n Wave \n {placeholderText}\n \n This section has neither a heading or a koros. \n >\n);\nMultiple.storyName = \'Multiple sections\';\n\nexport const Playground = (args) => (\n \n {args.sectionTitle} \n {args.sectionText}\n \n);\n\nPlayground.parameters = {\n previewTabs: {\n \'storybook/docs/panel\': {\n hidden: true,\n },\n },\n docs: {\n disable: true,\n },\n};\n\nPlayground.args = {\n sectionTitle: placeholderTitle,\n sectionText: placeholderText,\n korosType: null,\n color: \'plain\',\n};\n\nPlayground.argTypes = {\n korosType: {\n options: [null, \'basic\', \'beat\', \'pulse\', \'vibration\', \'wave\'],\n control: { type: \'radio\' },\n },\n color: {\n options: [\'plain\', \'primary\', \'secondary\', \'tertiary\'],\n },\n};\n',locationsMap:{plain:{startLoc:{col:21,line:29},endLoc:{col:1,line:34},startBody:{col:21,line:29},endBody:{col:1,line:34}},primary:{startLoc:{col:23,line:36},endLoc:{col:1,line:41},startBody:{col:23,line:36},endBody:{col:1,line:41}},secondary:{startLoc:{col:25,line:43},endLoc:{col:1,line:48},startBody:{col:25,line:43},endBody:{col:1,line:48}},tertiary:{startLoc:{col:24,line:50},endLoc:{col:1,line:55},startBody:{col:24,line:50},endBody:{col:1,line:55}},"with-koros":{startLoc:{col:25,line:57},endLoc:{col:1,line:62},startBody:{col:25,line:57},endBody:{col:1,line:62}},multiple:{startLoc:{col:24,line:65},endLoc:{col:1,line:102},startBody:{col:24,line:65},endBody:{col:1,line:102}},playground:{startLoc:{col:26,line:105},endLoc:{col:1,line:110},startBody:{col:26,line:105},endBody:{col:1,line:110}}}},controls:{hideNoControlsWarning:!0},layout:"fullscreen",docs:{page:function page(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_1__.Dx,{children:"Props"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_1__.$4,{})]})}}}};var Plain=function Plain(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(_Section__WEBPACK_IMPORTED_MODULE_4__.$,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("h1",{className:"heading-xl",children:"Lorem ipsum"}),placeholderText]})},Primary=function Primary(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(_Section__WEBPACK_IMPORTED_MODULE_4__.$,{color:"primary",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("h1",{className:"heading-xl",children:"Lorem ipsum"}),placeholderText]})},Secondary=function Secondary(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(_Section__WEBPACK_IMPORTED_MODULE_4__.$,{color:"secondary",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("h1",{className:"heading-xl",children:"Lorem ipsum"}),placeholderText]})},Tertiary=function Tertiary(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(_Section__WEBPACK_IMPORTED_MODULE_4__.$,{color:"tertiary",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("h1",{className:"heading-xl",children:"Lorem ipsum"}),placeholderText]})},WithKoros=function WithKoros(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(_Section__WEBPACK_IMPORTED_MODULE_4__.$,{color:"primary",korosType:"basic",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("h1",{className:"heading-xl",children:"Lorem ipsum"}),placeholderText]})};WithKoros.storyName="With koros";var Multiple=function Multiple(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(_Section__WEBPACK_IMPORTED_MODULE_4__.$,{color:"secondary",korosType:"basic",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("h1",{className:"heading-xl",children:"Lorem ipsum"}),placeholderText]}),placeholderImg,(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(_Section__WEBPACK_IMPORTED_MODULE_4__.$,{color:"primary",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("h2",{className:"heading-l",children:"No Koros"}),"This section does not have any koros."]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(_Section__WEBPACK_IMPORTED_MODULE_4__.$,{korosType:"pulse",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("h2",{className:"heading-l",children:"Pulse"}),placeholderText]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Section__WEBPACK_IMPORTED_MODULE_4__.$,{color:"secondary",children:"Secondary non-koros section"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(_Section__WEBPACK_IMPORTED_MODULE_4__.$,{color:"tertiary",korosType:"beat",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("h2",{className:"heading-l",children:"secondary Beat"}),placeholderText]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Section__WEBPACK_IMPORTED_MODULE_4__.$,{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(_Section__WEBPACK_IMPORTED_MODULE_4__.$,{color:"secondary",korosType:"vibration",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("h2",{className:"heading-l",children:"Vibration"}),placeholderText]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Section__WEBPACK_IMPORTED_MODULE_4__.$,{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(_Section__WEBPACK_IMPORTED_MODULE_4__.$,{color:"primary",korosType:"beat",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("h2",{className:"heading-l",children:"primary Beat"}),placeholderText]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Section__WEBPACK_IMPORTED_MODULE_4__.$,{color:"tertiary"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(_Section__WEBPACK_IMPORTED_MODULE_4__.$,{color:"secondary",korosType:"wave",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("h2",{className:"heading-l",children:"Wave"}),placeholderText]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Section__WEBPACK_IMPORTED_MODULE_4__.$,{children:"This section has neither a heading or a koros."})]})};Multiple.storyName="Multiple sections";var Playground=function Playground(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(_Section__WEBPACK_IMPORTED_MODULE_4__.$,{color:args.color,korosType:args.korosType,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("h1",{className:"heading-xl",children:args.sectionTitle}),args.sectionText]})};Playground.parameters={previewTabs:{"storybook/docs/panel":{hidden:!0}},docs:{disable:!0}},Playground.args={sectionTitle:"Lorem ipsum",sectionText:placeholderText,korosType:null,color:"plain"},Playground.argTypes={korosType:{options:[null,"basic","beat","pulse","vibration","wave"],control:{type:"radio"}},color:{options:["plain","primary","secondary","tertiary"]}},Plain.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_5__.Z)({storySource:{source:'() => (\n \n {placeholderTitle} \n {placeholderText}\n \n)'}},Plain.parameters),Primary.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_5__.Z)({storySource:{source:'() => (\n \n {placeholderTitle} \n {placeholderText}\n \n)'}},Primary.parameters),Secondary.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_5__.Z)({storySource:{source:'() => (\n \n {placeholderTitle} \n {placeholderText}\n \n)'}},Secondary.parameters),Tertiary.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_5__.Z)({storySource:{source:'() => (\n \n {placeholderTitle} \n {placeholderText}\n \n)'}},Tertiary.parameters),WithKoros.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_5__.Z)({storySource:{source:'() => (\n \n {placeholderTitle} \n {placeholderText}\n \n)'}},WithKoros.parameters),Multiple.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_5__.Z)({storySource:{source:'() => (\n <>\n \n {placeholderTitle} \n {placeholderText}\n \n {placeholderImg}\n \n No Koros \n This section does not have any koros.\n \n \n Pulse \n {placeholderText}\n \n Secondary non-koros section \n \n secondary Beat \n {placeholderText}\n \n \n \n Vibration \n {placeholderText}\n \n \n \n primary Beat \n {placeholderText}\n \n \n \n Wave \n {placeholderText}\n \n This section has neither a heading or a koros. \n >\n)'}},Multiple.parameters),Playground.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_5__.Z)({storySource:{source:'(args) => (\n \n {args.sectionTitle} \n {args.sectionText}\n \n)'}},Playground.parameters);try{Playground.displayName="Playground",Playground.__docgenInfo={description:"",displayName:"Playground",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/section/Section.stories.tsx#Playground"]={docgenInfo:Playground.__docgenInfo,name:"Playground",path:"src/components/section/Section.stories.tsx#Playground"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/selectionGroup/SelectionGroup.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Default:()=>Default,Horizontal:()=>Horizontal,Invalid:()=>Invalid,Required:()=>Required,WithHelperText:()=>WithHelperText,WithParent:()=>WithParent,WithTooltip:()=>WithTooltip,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/defineProperty.js"),_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/react/index.js"),_SelectionGroup__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/components/selectionGroup/SelectionGroup.tsx"),_checkbox__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/components/checkbox/Checkbox.tsx"),_radioButton__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./src/components/radioButton/RadioButton.tsx"),_fieldset__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("./src/components/fieldset/Fieldset.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),_excluded=["numberOfItems"],_excluded2=["numberOfItems"],_excluded3=["numberOfItems"],_excluded4=["numberOfItems"],_excluded5=["numberOfItems"],_excluded6=["numberOfItems"];const __WEBPACK_DEFAULT_EXPORT__={component:_SelectionGroup__WEBPACK_IMPORTED_MODULE_2__.M,title:"Components/SelectionGroup",decorators:[function(storyFn){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{maxWidth:"400px"},children:storyFn()})}],parameters:{storySource:{source:"import React, { ChangeEvent, useReducer, useState } from 'react';\n\nimport { SelectionGroup } from './SelectionGroup';\nimport { Checkbox } from '../checkbox';\nimport { RadioButton } from '../radioButton';\nimport { Fieldset } from '../fieldset';\n\nexport default {\n component: SelectionGroup,\n title: 'Components/SelectionGroup',\n decorators: [(storyFn) => {storyFn()}
],\n parameters: {\n controls: { expanded: true, hideNoControlsWarning: true },\n },\n args: {\n numberOfItems: 3,\n label: 'Label',\n direction: 'vertical',\n },\n};\n\nconst getCheckboxItems = (\n numberOfItems: number,\n checked: { [key: string]: boolean },\n handleChange: (e: ChangeEvent) => void,\n) =>\n [...Array(numberOfItems)].map((_, i) => (\n \n ));\n\nconst getRadioButtonItems = (\n numberOfItems: number,\n radioValue: string,\n handleChange: (e: ChangeEvent) => void,\n) =>\n [...Array(numberOfItems)].map((_, i) => (\n \n ));\n\nexport const Default = ({ numberOfItems, ...args }) => {\n const [checkedItems, setCheckedItems] = useState({});\n const [radioValue, setRadioValue] = useState('radio0');\n const handleCheckboxChange = (e: ChangeEvent) => {\n const item = e.target.name;\n const isChecked = e.target.checked;\n setCheckedItems({ ...checkedItems, [item]: isChecked });\n };\n const handleRadioChange = (e: ChangeEvent) => {\n setRadioValue(e.target.value);\n };\n const checkboxes = getCheckboxItems(numberOfItems, checkedItems, handleCheckboxChange);\n const radiobuttons = getRadioButtonItems(numberOfItems, radioValue, handleRadioChange);\n return (\n <>\n {checkboxes} \n \n \n {radiobuttons} \n >\n );\n};\n\nexport const Horizontal = ({ numberOfItems, ...args }) => {\n const [checkedItems, setCheckedItems] = useState({});\n const [radioValue, setRadioValue] = useState('radio0');\n const handleCheckboxChange = (e: ChangeEvent) => {\n const item = e.target.name;\n const isChecked = e.target.checked;\n setCheckedItems({ ...checkedItems, [item]: isChecked });\n };\n const handleRadioChange = (e: ChangeEvent) => {\n setRadioValue(e.target.value);\n };\n const checkboxes = getCheckboxItems(numberOfItems, checkedItems, handleCheckboxChange);\n const radiobuttons = getRadioButtonItems(numberOfItems, radioValue, handleRadioChange);\n return (\n <>\n {checkboxes} \n \n \n {radiobuttons} \n >\n );\n};\nHorizontal.args = {\n direction: 'horizontal',\n};\n\nexport const Required = ({ numberOfItems, ...args }) => {\n const [checkedItems, setCheckedItems] = useState({});\n const [radioValue, setRadioValue] = useState('radio0');\n const handleCheckboxChange = (e: ChangeEvent) => {\n const item = e.target.name;\n const isChecked = e.target.checked;\n setCheckedItems({ ...checkedItems, [item]: isChecked });\n };\n const handleRadioChange = (e: ChangeEvent) => {\n setRadioValue(e.target.value);\n };\n const checkboxes = getCheckboxItems(numberOfItems, checkedItems, handleCheckboxChange);\n const radiobuttons = getRadioButtonItems(numberOfItems, radioValue, handleRadioChange);\n return (\n <>\n {checkboxes} \n \n \n {radiobuttons} \n >\n );\n};\nRequired.args = {\n required: true,\n};\n\nexport const Invalid = ({ numberOfItems, ...args }) => {\n const [checkedItems, setCheckedItems] = useState({});\n const [radioValue, setRadioValue] = useState('radio0');\n const handleCheckboxChange = (e: ChangeEvent) => {\n const item = e.target.name;\n const isChecked = e.target.checked;\n setCheckedItems({ ...checkedItems, [item]: isChecked });\n };\n const handleRadioChange = (e: ChangeEvent) => {\n setRadioValue(e.target.value);\n };\n const checkboxes = getCheckboxItems(numberOfItems, checkedItems, handleCheckboxChange);\n const radiobuttons = getRadioButtonItems(numberOfItems, radioValue, handleRadioChange);\n return (\n <>\n {checkboxes} \n \n \n {radiobuttons} \n >\n );\n};\nInvalid.args = {\n required: true,\n errorText: 'Error text',\n};\n\nexport const WithTooltip = ({ numberOfItems, ...args }) => {\n const [checkedItems, setCheckedItems] = useState({});\n const [radioValue, setRadioValue] = useState('radio0');\n const handleCheckboxChange = (e: ChangeEvent) => {\n const item = e.target.name;\n const isChecked = e.target.checked;\n setCheckedItems({ ...checkedItems, [item]: isChecked });\n };\n const handleRadioChange = (e: ChangeEvent) => {\n setRadioValue(e.target.value);\n };\n const checkboxes = getCheckboxItems(numberOfItems, checkedItems, handleCheckboxChange);\n const radiobuttons = getRadioButtonItems(numberOfItems, radioValue, handleRadioChange);\n return (\n <>\n {checkboxes} \n \n \n {radiobuttons} \n >\n );\n};\nWithTooltip.args = {\n tooltipLabel: 'Tooltip',\n tooltipButtonLabel: 'Tooltip',\n tooltipText:\n 'Tooltips contain \"nice to have\" information. Default Tooltip contents should not be longer than two to three sentences. For longer descriptions, provide a link to a separate page.',\n};\nWithTooltip.storyName = 'With tooltip';\n\nexport const WithParent = () => {\n enum CheckboxState {\n checked,\n unchecked,\n indeterminate,\n }\n\n const areAllChecked = (state) => {\n let checkedCount = 0;\n Object.keys(state).forEach((key) => {\n if (key === 'controllerCheckbox') {\n return;\n }\n if (state[key] === CheckboxState.checked) {\n checkedCount += 1;\n }\n });\n\n return checkedCount === 4;\n };\n\n const areAllUnchecked = (state) => {\n let checkedCount = 0;\n Object.keys(state).forEach((key) => {\n if (key === 'controllerCheckbox') {\n return;\n }\n if (state[key] === CheckboxState.checked) {\n checkedCount += 1;\n }\n });\n\n return checkedCount === 1;\n };\n\n const reducer = (state, action) => {\n switch (action.type) {\n case 'check': {\n if (action.payload === 'controllerCheckbox') {\n return {\n controllerCheckbox: CheckboxState.checked,\n checkbox1: CheckboxState.checked,\n checkbox2: CheckboxState.checked,\n checkbox3: CheckboxState.checked,\n checkbox4: CheckboxState.checked,\n checkbox5: CheckboxState.checked,\n };\n }\n return {\n ...state,\n [action.payload]: CheckboxState.checked,\n controllerCheckbox: areAllChecked(state) ? CheckboxState.checked : CheckboxState.indeterminate,\n };\n }\n case 'uncheck': {\n if (action.payload === 'controllerCheckbox') {\n return {\n controllerCheckbox: CheckboxState.unchecked,\n checkbox1: CheckboxState.unchecked,\n checkbox2: CheckboxState.unchecked,\n checkbox3: CheckboxState.unchecked,\n checkbox4: CheckboxState.unchecked,\n checkbox5: CheckboxState.unchecked,\n };\n }\n return {\n ...state,\n [action.payload]: CheckboxState.unchecked,\n controllerCheckbox: areAllUnchecked(state) ? CheckboxState.unchecked : CheckboxState.indeterminate,\n };\n }\n default:\n throw new Error();\n }\n };\n\n const initialState = {\n controllerCheckbox: CheckboxState.unchecked,\n checkbox1: CheckboxState.unchecked,\n checkbox2: CheckboxState.unchecked,\n checkbox3: CheckboxState.unchecked,\n checkbox4: CheckboxState.unchecked,\n checkbox5: CheckboxState.unchecked,\n };\n\n const [state, dispatch] = useReducer(reducer, initialState);\n\n return (\n \n {\n if (\n state.controllerCheckbox === CheckboxState.unchecked ||\n state.controllerCheckbox === CheckboxState.indeterminate\n ) {\n dispatch({ type: 'check', payload: 'controllerCheckbox' });\n } else {\n dispatch({ type: 'uncheck', payload: 'controllerCheckbox' });\n }\n }}\n />\n \n {Object.entries(state).map((entry) => {\n if (entry[0] === 'controllerCheckbox') {\n return null;\n }\n return (\n \n {\n if (entry[1] === CheckboxState.unchecked) {\n dispatch({ type: 'check', payload: entry[0] });\n } else {\n dispatch({ type: 'uncheck', payload: entry[0] });\n }\n }}\n />\n \n );\n })}\n \n \n );\n};\n\nWithParent.storyName = 'With a parent';\nWithParent.parameters = {\n loki: { skip: true }, // There is an identical story in checkbox\n};\nexport const WithHelperText = ({ numberOfItems, ...args }) => {\n const [checkedItems, setCheckedItems] = useState({});\n const [radioValue, setRadioValue] = useState('radio0');\n const handleCheckboxChange = (e: ChangeEvent) => {\n const item = e.target.name;\n const isChecked = e.target.checked;\n setCheckedItems({ ...checkedItems, [item]: isChecked });\n };\n const handleRadioChange = (e: ChangeEvent) => {\n setRadioValue(e.target.value);\n };\n const checkboxes = getCheckboxItems(numberOfItems, checkedItems, handleCheckboxChange);\n const radiobuttons = getRadioButtonItems(numberOfItems, radioValue, handleRadioChange);\n return (\n <>\n {checkboxes} \n \n \n {radiobuttons} \n >\n );\n};\nWithHelperText.args = {\n helperText: 'Assistive text',\n};\n",locationsMap:{default:{startLoc:{col:23,line:55},endLoc:{col:1,line:76},startBody:{col:23,line:55},endBody:{col:1,line:76}},horizontal:{startLoc:{col:26,line:78},endLoc:{col:1,line:99},startBody:{col:26,line:78},endBody:{col:1,line:99}},required:{startLoc:{col:24,line:104},endLoc:{col:1,line:125},startBody:{col:24,line:104},endBody:{col:1,line:125}},invalid:{startLoc:{col:23,line:130},endLoc:{col:1,line:151},startBody:{col:23,line:130},endBody:{col:1,line:151}},"with-tooltip":{startLoc:{col:27,line:157},endLoc:{col:1,line:178},startBody:{col:27,line:157},endBody:{col:1,line:178}},"with-parent":{startLoc:{col:26,line:187},endLoc:{col:1,line:320},startBody:{col:26,line:187},endBody:{col:1,line:320}},"with-helper-text":{startLoc:{col:30,line:326},endLoc:{col:1,line:347},startBody:{col:30,line:326},endBody:{col:1,line:347}}}},controls:{expanded:!0,hideNoControlsWarning:!0}},args:{numberOfItems:3,label:"Label",direction:"vertical"}};var getCheckboxItems=function getCheckboxItems(numberOfItems,checked,handleChange){return(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_3__.Z)(Array(numberOfItems)).map((function(_,i){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_checkbox__WEBPACK_IMPORTED_MODULE_4__.X,{id:"checkbox".concat(i),label:"Option ".concat(i+1),name:"checkbox".concat(i),checked:checked["checkbox".concat(i)],onChange:handleChange},"checkbox".concat(i))}))},getRadioButtonItems=function getRadioButtonItems(numberOfItems,radioValue,handleChange){return(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_3__.Z)(Array(numberOfItems)).map((function(_,i){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_radioButton__WEBPACK_IMPORTED_MODULE_5__.E,{id:"radio".concat(i),label:"Option ".concat(i+1),value:"radio".concat(i),name:"radio",checked:radioValue==="radio".concat(i),onChange:handleChange},"radio".concat(i))}))},Default=function Default(_ref){var numberOfItems=_ref.numberOfItems,args=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_6__.Z)(_ref,_excluded),_useState=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)({}),_useState2=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_7__.Z)(_useState,2),checkedItems=_useState2[0],setCheckedItems=_useState2[1],_useState3=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)("radio0"),_useState4=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_7__.Z)(_useState3,2),radioValue=_useState4[0],setRadioValue=_useState4[1],checkboxes=getCheckboxItems(numberOfItems,checkedItems,(function handleCheckboxChange(e){var item=e.target.name,isChecked=e.target.checked;setCheckedItems((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({},checkedItems),{},(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_9__.Z)({},item,isChecked)))})),radiobuttons=getRadioButtonItems(numberOfItems,radioValue,(function handleRadioChange(e){setRadioValue(e.target.value)}));return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_SelectionGroup__WEBPACK_IMPORTED_MODULE_2__.M,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({},args),{},{children:checkboxes})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_SelectionGroup__WEBPACK_IMPORTED_MODULE_2__.M,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({},args),{},{children:radiobuttons}))]})},Horizontal=function Horizontal(_ref2){var numberOfItems=_ref2.numberOfItems,args=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_6__.Z)(_ref2,_excluded2),_useState5=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)({}),_useState6=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_7__.Z)(_useState5,2),checkedItems=_useState6[0],setCheckedItems=_useState6[1],_useState7=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)("radio0"),_useState8=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_7__.Z)(_useState7,2),radioValue=_useState8[0],setRadioValue=_useState8[1],checkboxes=getCheckboxItems(numberOfItems,checkedItems,(function handleCheckboxChange(e){var item=e.target.name,isChecked=e.target.checked;setCheckedItems((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({},checkedItems),{},(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_9__.Z)({},item,isChecked)))})),radiobuttons=getRadioButtonItems(numberOfItems,radioValue,(function handleRadioChange(e){setRadioValue(e.target.value)}));return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_SelectionGroup__WEBPACK_IMPORTED_MODULE_2__.M,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({},args),{},{children:checkboxes})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_SelectionGroup__WEBPACK_IMPORTED_MODULE_2__.M,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({},args),{},{children:radiobuttons}))]})};Horizontal.args={direction:"horizontal"};var Required=function Required(_ref3){var numberOfItems=_ref3.numberOfItems,args=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_6__.Z)(_ref3,_excluded3),_useState9=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)({}),_useState10=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_7__.Z)(_useState9,2),checkedItems=_useState10[0],setCheckedItems=_useState10[1],_useState11=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)("radio0"),_useState12=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_7__.Z)(_useState11,2),radioValue=_useState12[0],setRadioValue=_useState12[1],checkboxes=getCheckboxItems(numberOfItems,checkedItems,(function handleCheckboxChange(e){var item=e.target.name,isChecked=e.target.checked;setCheckedItems((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({},checkedItems),{},(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_9__.Z)({},item,isChecked)))})),radiobuttons=getRadioButtonItems(numberOfItems,radioValue,(function handleRadioChange(e){setRadioValue(e.target.value)}));return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_SelectionGroup__WEBPACK_IMPORTED_MODULE_2__.M,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({},args),{},{children:checkboxes})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_SelectionGroup__WEBPACK_IMPORTED_MODULE_2__.M,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({},args),{},{children:radiobuttons}))]})};Required.args={required:!0};var Invalid=function Invalid(_ref4){var numberOfItems=_ref4.numberOfItems,args=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_6__.Z)(_ref4,_excluded4),_useState13=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)({}),_useState14=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_7__.Z)(_useState13,2),checkedItems=_useState14[0],setCheckedItems=_useState14[1],_useState15=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)("radio0"),_useState16=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_7__.Z)(_useState15,2),radioValue=_useState16[0],setRadioValue=_useState16[1],checkboxes=getCheckboxItems(numberOfItems,checkedItems,(function handleCheckboxChange(e){var item=e.target.name,isChecked=e.target.checked;setCheckedItems((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({},checkedItems),{},(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_9__.Z)({},item,isChecked)))})),radiobuttons=getRadioButtonItems(numberOfItems,radioValue,(function handleRadioChange(e){setRadioValue(e.target.value)}));return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_SelectionGroup__WEBPACK_IMPORTED_MODULE_2__.M,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({},args),{},{children:checkboxes})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_SelectionGroup__WEBPACK_IMPORTED_MODULE_2__.M,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({},args),{},{children:radiobuttons}))]})};Invalid.args={required:!0,errorText:"Error text"};var WithTooltip=function WithTooltip(_ref5){var numberOfItems=_ref5.numberOfItems,args=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_6__.Z)(_ref5,_excluded5),_useState17=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)({}),_useState18=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_7__.Z)(_useState17,2),checkedItems=_useState18[0],setCheckedItems=_useState18[1],_useState19=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)("radio0"),_useState20=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_7__.Z)(_useState19,2),radioValue=_useState20[0],setRadioValue=_useState20[1],checkboxes=getCheckboxItems(numberOfItems,checkedItems,(function handleCheckboxChange(e){var item=e.target.name,isChecked=e.target.checked;setCheckedItems((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({},checkedItems),{},(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_9__.Z)({},item,isChecked)))})),radiobuttons=getRadioButtonItems(numberOfItems,radioValue,(function handleRadioChange(e){setRadioValue(e.target.value)}));return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_SelectionGroup__WEBPACK_IMPORTED_MODULE_2__.M,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({},args),{},{children:checkboxes})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_SelectionGroup__WEBPACK_IMPORTED_MODULE_2__.M,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({},args),{},{children:radiobuttons}))]})};WithTooltip.args={tooltipLabel:"Tooltip",tooltipButtonLabel:"Tooltip",tooltipText:'Tooltips contain "nice to have" information. Default Tooltip contents should not be longer than two to three sentences. For longer descriptions, provide a link to a separate page.'},WithTooltip.storyName="With tooltip";var WithParent=function WithParent(){var CheckboxState=function(CheckboxState){return CheckboxState[CheckboxState.checked=0]="checked",CheckboxState[CheckboxState.unchecked=1]="unchecked",CheckboxState[CheckboxState.indeterminate=2]="indeterminate",CheckboxState}({}),initialState={controllerCheckbox:CheckboxState.unchecked,checkbox1:CheckboxState.unchecked,checkbox2:CheckboxState.unchecked,checkbox3:CheckboxState.unchecked,checkbox4:CheckboxState.unchecked,checkbox5:CheckboxState.unchecked},_useReducer=(0,react__WEBPACK_IMPORTED_MODULE_0__.useReducer)((function reducer(state,action){switch(action.type){case"check":var _objectSpread7;return"controllerCheckbox"===action.payload?{controllerCheckbox:CheckboxState.checked,checkbox1:CheckboxState.checked,checkbox2:CheckboxState.checked,checkbox3:CheckboxState.checked,checkbox4:CheckboxState.checked,checkbox5:CheckboxState.checked}:(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({},state),{},(_objectSpread7={},(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_9__.Z)(_objectSpread7,action.payload,CheckboxState.checked),(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_9__.Z)(_objectSpread7,"controllerCheckbox",function areAllChecked(state){var checkedCount=0;return Object.keys(state).forEach((function(key){"controllerCheckbox"!==key&&state[key]===CheckboxState.checked&&(checkedCount+=1)})),4===checkedCount}(state)?CheckboxState.checked:CheckboxState.indeterminate),_objectSpread7));case"uncheck":var _objectSpread8;return"controllerCheckbox"===action.payload?{controllerCheckbox:CheckboxState.unchecked,checkbox1:CheckboxState.unchecked,checkbox2:CheckboxState.unchecked,checkbox3:CheckboxState.unchecked,checkbox4:CheckboxState.unchecked,checkbox5:CheckboxState.unchecked}:(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({},state),{},(_objectSpread8={},(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_9__.Z)(_objectSpread8,action.payload,CheckboxState.unchecked),(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_9__.Z)(_objectSpread8,"controllerCheckbox",function areAllUnchecked(state){var checkedCount=0;return Object.keys(state).forEach((function(key){"controllerCheckbox"!==key&&state[key]===CheckboxState.checked&&(checkedCount+=1)})),1===checkedCount}(state)?CheckboxState.unchecked:CheckboxState.indeterminate),_objectSpread8));default:throw new Error}}),initialState),_useReducer2=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_7__.Z)(_useReducer,2),state=_useReducer2[0],dispatch=_useReducer2[1];return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_fieldset__WEBPACK_IMPORTED_MODULE_10__.p,{heading:"Group label *",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_checkbox__WEBPACK_IMPORTED_MODULE_4__.X,{"aria-controls":"checkbox1 checkbox2 checkbox3 checkbox4 checkbox5",id:"controllerCheckbox",label:"Label",indeterminate:state.controllerCheckbox===CheckboxState.indeterminate,checked:state.controllerCheckbox===CheckboxState.checked,style:{marginTop:"var(--spacing-xs)"},onChange:function onChange(){state.controllerCheckbox===CheckboxState.unchecked||state.controllerCheckbox===CheckboxState.indeterminate?dispatch({type:"check",payload:"controllerCheckbox"}):dispatch({type:"uncheck",payload:"controllerCheckbox"})}}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("ul",{style:{marginLeft:"var(--spacing-s)",paddingInlineStart:"0"},children:Object.entries(state).map((function(entry){return"controllerCheckbox"===entry[0]?null:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("li",{style:{marginTop:"var(--spacing-s)",listStyle:"none"},children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_checkbox__WEBPACK_IMPORTED_MODULE_4__.X,{id:entry[0],label:"Label",checked:entry[1]===CheckboxState.checked,onChange:function onChange(){entry[1]===CheckboxState.unchecked?dispatch({type:"check",payload:entry[0]}):dispatch({type:"uncheck",payload:entry[0]})}},entry[0])},entry[0])}))})]})};WithParent.storyName="With a parent",WithParent.parameters={loki:{skip:!0}};var WithHelperText=function WithHelperText(_ref6){var numberOfItems=_ref6.numberOfItems,args=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_6__.Z)(_ref6,_excluded6),_useState21=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)({}),_useState22=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_7__.Z)(_useState21,2),checkedItems=_useState22[0],setCheckedItems=_useState22[1],_useState23=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)("radio0"),_useState24=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_7__.Z)(_useState23,2),radioValue=_useState24[0],setRadioValue=_useState24[1],checkboxes=getCheckboxItems(numberOfItems,checkedItems,(function handleCheckboxChange(e){var item=e.target.name,isChecked=e.target.checked;setCheckedItems((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({},checkedItems),{},(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_9__.Z)({},item,isChecked)))})),radiobuttons=getRadioButtonItems(numberOfItems,radioValue,(function handleRadioChange(e){setRadioValue(e.target.value)}));return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_SelectionGroup__WEBPACK_IMPORTED_MODULE_2__.M,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({},args),{},{children:checkboxes})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_SelectionGroup__WEBPACK_IMPORTED_MODULE_2__.M,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({},args),{},{children:radiobuttons}))]})};WithHelperText.args={helperText:"Assistive text"},Default.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({storySource:{source:"({ numberOfItems, ...args }) => {\n const [checkedItems, setCheckedItems] = useState({});\n const [radioValue, setRadioValue] = useState('radio0');\n const handleCheckboxChange = (e: ChangeEvent) => {\n const item = e.target.name;\n const isChecked = e.target.checked;\n setCheckedItems({ ...checkedItems, [item]: isChecked });\n };\n const handleRadioChange = (e: ChangeEvent) => {\n setRadioValue(e.target.value);\n };\n const checkboxes = getCheckboxItems(numberOfItems, checkedItems, handleCheckboxChange);\n const radiobuttons = getRadioButtonItems(numberOfItems, radioValue, handleRadioChange);\n return (\n <>\n {checkboxes} \n \n \n {radiobuttons} \n >\n );\n}"}},Default.parameters),Horizontal.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({storySource:{source:"({ numberOfItems, ...args }) => {\n const [checkedItems, setCheckedItems] = useState({});\n const [radioValue, setRadioValue] = useState('radio0');\n const handleCheckboxChange = (e: ChangeEvent) => {\n const item = e.target.name;\n const isChecked = e.target.checked;\n setCheckedItems({ ...checkedItems, [item]: isChecked });\n };\n const handleRadioChange = (e: ChangeEvent) => {\n setRadioValue(e.target.value);\n };\n const checkboxes = getCheckboxItems(numberOfItems, checkedItems, handleCheckboxChange);\n const radiobuttons = getRadioButtonItems(numberOfItems, radioValue, handleRadioChange);\n return (\n <>\n {checkboxes} \n \n \n {radiobuttons} \n >\n );\n}"}},Horizontal.parameters),Required.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({storySource:{source:"({ numberOfItems, ...args }) => {\n const [checkedItems, setCheckedItems] = useState({});\n const [radioValue, setRadioValue] = useState('radio0');\n const handleCheckboxChange = (e: ChangeEvent) => {\n const item = e.target.name;\n const isChecked = e.target.checked;\n setCheckedItems({ ...checkedItems, [item]: isChecked });\n };\n const handleRadioChange = (e: ChangeEvent) => {\n setRadioValue(e.target.value);\n };\n const checkboxes = getCheckboxItems(numberOfItems, checkedItems, handleCheckboxChange);\n const radiobuttons = getRadioButtonItems(numberOfItems, radioValue, handleRadioChange);\n return (\n <>\n {checkboxes} \n \n \n {radiobuttons} \n >\n );\n}"}},Required.parameters),Invalid.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({storySource:{source:"({ numberOfItems, ...args }) => {\n const [checkedItems, setCheckedItems] = useState({});\n const [radioValue, setRadioValue] = useState('radio0');\n const handleCheckboxChange = (e: ChangeEvent) => {\n const item = e.target.name;\n const isChecked = e.target.checked;\n setCheckedItems({ ...checkedItems, [item]: isChecked });\n };\n const handleRadioChange = (e: ChangeEvent) => {\n setRadioValue(e.target.value);\n };\n const checkboxes = getCheckboxItems(numberOfItems, checkedItems, handleCheckboxChange);\n const radiobuttons = getRadioButtonItems(numberOfItems, radioValue, handleRadioChange);\n return (\n <>\n {checkboxes} \n \n \n {radiobuttons} \n >\n );\n}"}},Invalid.parameters),WithTooltip.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({storySource:{source:"({ numberOfItems, ...args }) => {\n const [checkedItems, setCheckedItems] = useState({});\n const [radioValue, setRadioValue] = useState('radio0');\n const handleCheckboxChange = (e: ChangeEvent) => {\n const item = e.target.name;\n const isChecked = e.target.checked;\n setCheckedItems({ ...checkedItems, [item]: isChecked });\n };\n const handleRadioChange = (e: ChangeEvent) => {\n setRadioValue(e.target.value);\n };\n const checkboxes = getCheckboxItems(numberOfItems, checkedItems, handleCheckboxChange);\n const radiobuttons = getRadioButtonItems(numberOfItems, radioValue, handleRadioChange);\n return (\n <>\n {checkboxes} \n \n \n {radiobuttons} \n >\n );\n}"}},WithTooltip.parameters),WithParent.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({storySource:{source:"() => {\n enum CheckboxState {\n checked,\n unchecked,\n indeterminate,\n }\n\n const areAllChecked = (state) => {\n let checkedCount = 0;\n Object.keys(state).forEach((key) => {\n if (key === 'controllerCheckbox') {\n return;\n }\n if (state[key] === CheckboxState.checked) {\n checkedCount += 1;\n }\n });\n\n return checkedCount === 4;\n };\n\n const areAllUnchecked = (state) => {\n let checkedCount = 0;\n Object.keys(state).forEach((key) => {\n if (key === 'controllerCheckbox') {\n return;\n }\n if (state[key] === CheckboxState.checked) {\n checkedCount += 1;\n }\n });\n\n return checkedCount === 1;\n };\n\n const reducer = (state, action) => {\n switch (action.type) {\n case 'check': {\n if (action.payload === 'controllerCheckbox') {\n return {\n controllerCheckbox: CheckboxState.checked,\n checkbox1: CheckboxState.checked,\n checkbox2: CheckboxState.checked,\n checkbox3: CheckboxState.checked,\n checkbox4: CheckboxState.checked,\n checkbox5: CheckboxState.checked,\n };\n }\n return {\n ...state,\n [action.payload]: CheckboxState.checked,\n controllerCheckbox: areAllChecked(state) ? CheckboxState.checked : CheckboxState.indeterminate,\n };\n }\n case 'uncheck': {\n if (action.payload === 'controllerCheckbox') {\n return {\n controllerCheckbox: CheckboxState.unchecked,\n checkbox1: CheckboxState.unchecked,\n checkbox2: CheckboxState.unchecked,\n checkbox3: CheckboxState.unchecked,\n checkbox4: CheckboxState.unchecked,\n checkbox5: CheckboxState.unchecked,\n };\n }\n return {\n ...state,\n [action.payload]: CheckboxState.unchecked,\n controllerCheckbox: areAllUnchecked(state) ? CheckboxState.unchecked : CheckboxState.indeterminate,\n };\n }\n default:\n throw new Error();\n }\n };\n\n const initialState = {\n controllerCheckbox: CheckboxState.unchecked,\n checkbox1: CheckboxState.unchecked,\n checkbox2: CheckboxState.unchecked,\n checkbox3: CheckboxState.unchecked,\n checkbox4: CheckboxState.unchecked,\n checkbox5: CheckboxState.unchecked,\n };\n\n const [state, dispatch] = useReducer(reducer, initialState);\n\n return (\n \n {\n if (\n state.controllerCheckbox === CheckboxState.unchecked ||\n state.controllerCheckbox === CheckboxState.indeterminate\n ) {\n dispatch({ type: 'check', payload: 'controllerCheckbox' });\n } else {\n dispatch({ type: 'uncheck', payload: 'controllerCheckbox' });\n }\n }}\n />\n \n {Object.entries(state).map((entry) => {\n if (entry[0] === 'controllerCheckbox') {\n return null;\n }\n return (\n \n {\n if (entry[1] === CheckboxState.unchecked) {\n dispatch({ type: 'check', payload: entry[0] });\n } else {\n dispatch({ type: 'uncheck', payload: entry[0] });\n }\n }}\n />\n \n );\n })}\n \n \n );\n}"}},WithParent.parameters),WithHelperText.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({storySource:{source:"({ numberOfItems, ...args }) => {\n const [checkedItems, setCheckedItems] = useState({});\n const [radioValue, setRadioValue] = useState('radio0');\n const handleCheckboxChange = (e: ChangeEvent) => {\n const item = e.target.name;\n const isChecked = e.target.checked;\n setCheckedItems({ ...checkedItems, [item]: isChecked });\n };\n const handleRadioChange = (e: ChangeEvent) => {\n setRadioValue(e.target.value);\n };\n const checkboxes = getCheckboxItems(numberOfItems, checkedItems, handleCheckboxChange);\n const radiobuttons = getRadioButtonItems(numberOfItems, radioValue, handleRadioChange);\n return (\n <>\n {checkboxes} \n \n \n {radiobuttons} \n >\n );\n}"}},WithHelperText.parameters);try{Default.displayName="Default",Default.__docgenInfo={description:"",displayName:"Default",props:{numberOfItems:{defaultValue:null,description:"",name:"numberOfItems",required:!0,type:{name:"any"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/selectionGroup/SelectionGroup.stories.tsx#Default"]={docgenInfo:Default.__docgenInfo,name:"Default",path:"src/components/selectionGroup/SelectionGroup.stories.tsx#Default"})}catch(__react_docgen_typescript_loader_error){}try{Horizontal.displayName="Horizontal",Horizontal.__docgenInfo={description:"",displayName:"Horizontal",props:{numberOfItems:{defaultValue:null,description:"",name:"numberOfItems",required:!0,type:{name:"any"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/selectionGroup/SelectionGroup.stories.tsx#Horizontal"]={docgenInfo:Horizontal.__docgenInfo,name:"Horizontal",path:"src/components/selectionGroup/SelectionGroup.stories.tsx#Horizontal"})}catch(__react_docgen_typescript_loader_error){}try{Required.displayName="Required",Required.__docgenInfo={description:"",displayName:"Required",props:{numberOfItems:{defaultValue:null,description:"",name:"numberOfItems",required:!0,type:{name:"any"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/selectionGroup/SelectionGroup.stories.tsx#Required"]={docgenInfo:Required.__docgenInfo,name:"Required",path:"src/components/selectionGroup/SelectionGroup.stories.tsx#Required"})}catch(__react_docgen_typescript_loader_error){}try{Invalid.displayName="Invalid",Invalid.__docgenInfo={description:"",displayName:"Invalid",props:{numberOfItems:{defaultValue:null,description:"",name:"numberOfItems",required:!0,type:{name:"any"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/selectionGroup/SelectionGroup.stories.tsx#Invalid"]={docgenInfo:Invalid.__docgenInfo,name:"Invalid",path:"src/components/selectionGroup/SelectionGroup.stories.tsx#Invalid"})}catch(__react_docgen_typescript_loader_error){}try{WithTooltip.displayName="WithTooltip",WithTooltip.__docgenInfo={description:"",displayName:"WithTooltip",props:{numberOfItems:{defaultValue:null,description:"",name:"numberOfItems",required:!0,type:{name:"any"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/selectionGroup/SelectionGroup.stories.tsx#WithTooltip"]={docgenInfo:WithTooltip.__docgenInfo,name:"WithTooltip",path:"src/components/selectionGroup/SelectionGroup.stories.tsx#WithTooltip"})}catch(__react_docgen_typescript_loader_error){}try{WithHelperText.displayName="WithHelperText",WithHelperText.__docgenInfo={description:"",displayName:"WithHelperText",props:{numberOfItems:{defaultValue:null,description:"",name:"numberOfItems",required:!0,type:{name:"any"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/selectionGroup/SelectionGroup.stories.tsx#WithHelperText"]={docgenInfo:WithHelperText.__docgenInfo,name:"WithHelperText",path:"src/components/selectionGroup/SelectionGroup.stories.tsx#WithHelperText"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/sideNavigation/SideNavigation.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{CustomTheme:()=>CustomTheme,Default:()=>Default,WithIcons:()=>WithIcons,WithSkipLink:()=>WithSkipLink,default:()=>SideNavigation_stories});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),slicedToArray=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react=__webpack_require__("../../node_modules/react/index.js");__webpack_require__("./src/styles/base.css");const SideNavigation_module_sideNavigation="SideNavigation_sideNavigation__-d8cy",SideNavigation_module_toggleButton="SideNavigation_toggleButton__zltxh",SideNavigation_module_mainLevelList="SideNavigation_mainLevelList__bxPfD",SideNavigation_module_open="SideNavigation_open__sicrw";const sideNavigation_SideNavigationContext=react.createContext({mobileMenuOpen:!1,defaultOpenMainLevels:void 0,activeParentLevel:void 0,setMobileMenuOpen:function setMobileMenuOpen(){},setActiveParentLevel:function setActiveParentLevel(){}});var classNames=__webpack_require__("./src/utils/classNames.ts"),useMobile=__webpack_require__("./src/hooks/useMobile.tsx"),Button=__webpack_require__("./src/components/button/Button.tsx"),SkipLink=__webpack_require__("./src/internal/skipLink/SkipLink.tsx"),IconAngleUp=__webpack_require__("./src/icons/IconAngleUp.tsx"),IconAngleDown=__webpack_require__("./src/icons/IconAngleDown.tsx"),objectWithoutProperties=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");const MainLevel_module_mainLevel="MainLevel_mainLevel__E++Lv",MainLevel_module_active="MainLevel_active__mOeCc",MainLevel_module_mainLevelListMenu="MainLevel_mainLevelListMenu__2XG25",MainLevel_module_mainLevelWithDivider="MainLevel_mainLevelWithDivider__aNBoF",MainLevel_module_leftIcon="MainLevel_leftIcon__gdLvJ",MainLevel_module_label="MainLevel_label__NI7f0",MainLevel_module_rightIcon="MainLevel_rightIcon__4inED",MainLevel_module_open="MainLevel_open__HvOkd";var IconLinkExternal=__webpack_require__("./src/icons/IconLinkExternal.tsx"),getChildren=__webpack_require__("./src/utils/getChildren.ts"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),_excluded=["active","children","className","href","icon","id","index","label","withDivider","external","openInNewTab","openInNewTabAriaLabel","openInExternalDomainAriaLabel","onClick","style"],composeAriaLabel=function composeAriaLabel(_ref){var openInNewTab=_ref.openInNewTab,openInNewTabAriaLabel=_ref.openInNewTabAriaLabel,openInExternalDomainAriaLabel=_ref.openInExternalDomainAriaLabel,label=_ref.label,newTabText=openInNewTab?openInNewTabAriaLabel||"Avautuu uudessa välilehdessä.":"",externalText=openInExternalDomainAriaLabel||"Siirtyy toiseen sivustoon.";return["."!==label.slice(-1)?"".concat(label,"."):label,newTabText,externalText].filter((function(text){return text})).join(" ")},LeftIcon=function LeftIcon(_ref2){var icon=_ref2.icon;return(0,jsx_runtime.jsx)("span",{className:MainLevel_module_leftIcon,"aria-hidden":!0,children:icon})},RightIcon=function RightIcon(_ref3){var icon=_ref3.icon,_ref3$className=_ref3.className,className=void 0===_ref3$className?"":_ref3$className;return(0,jsx_runtime.jsx)("span",{className:(0,classNames.Z)(MainLevel_module_rightIcon,className),"aria-hidden":!0,children:icon})},Label=function Label(_ref4){var label=_ref4.label;return(0,jsx_runtime.jsx)("span",{className:MainLevel_module_label,children:label})},MainLevel=function MainLevel(_ref5){var active=_ref5.active,children=_ref5.children,className=_ref5.className,href=_ref5.href,icon=_ref5.icon,id=_ref5.id,index=_ref5.index,label=_ref5.label,withDivider=_ref5.withDivider,external=_ref5.external,openInNewTab=_ref5.openInNewTab,openInNewTabAriaLabel=_ref5.openInNewTabAriaLabel,openInExternalDomainAriaLabel=_ref5.openInExternalDomainAriaLabel,onClick=_ref5.onClick,style=_ref5.style,rest=(0,objectWithoutProperties.Z)(_ref5,_excluded),menuId="".concat(id,"-menu"),_useContext=(0,react.useContext)(sideNavigation_SideNavigationContext),defaultOpenMainLevels=_useContext.defaultOpenMainLevels,activeParentLevel=_useContext.activeParentLevel,setActiveParentLevel=_useContext.setActiveParentLevel,setMobileMenuOpen=_useContext.setMobileMenuOpen,_useState=(0,react.useState)(defaultOpenMainLevels.includes(index)),_useState2=(0,slicedToArray.Z)(_useState,2),isOpen=_useState2[0],setIsOpen=_useState2[1],_useState3=(0,react.useState)(!1),_useState4=(0,slicedToArray.Z)(_useState3,2),isActiveParent=_useState4[0],setIsActiveParent=_useState4[1],subLevels=(0,getChildren.AU)(children).map((function(child,childIndex){return(0,react.isValidElement)(child)&&"SubLevel"===child.type.componentName?(0,react.cloneElement)(child,{mainLevelIndex:index,key:childIndex}):null})),hasSubLevels=Boolean(null==subLevels?void 0:subLevels.length),handleMainLevelClick=function handleMainLevelClick(ev){hasSubLevels?setIsOpen(!isOpen):(setActiveParentLevel(void 0),setMobileMenuOpen(!1)),onClick&&onClick(ev)};return(0,react.useEffect)((function(){var isActive=activeParentLevel===index;isActive&&setIsOpen(!0),setIsActiveParent(isActive)}),[activeParentLevel,index,setIsOpen,setIsActiveParent]),(0,jsx_runtime.jsx)("li",{className:(0,classNames.Z)(MainLevel_module_mainLevel,withDivider&&MainLevel_module_mainLevelWithDivider,active&&MainLevel_module_active,isOpen&&MainLevel_module_open,className),style,children:hasSubLevels?(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsxs)("button",{type:"button","aria-label":label,"aria-current":isActiveParent,"aria-expanded":isOpen,id,onClick:handleMainLevelClick,children:[icon&&(0,jsx_runtime.jsx)(LeftIcon,{icon}),(0,jsx_runtime.jsx)(Label,{label}),hasSubLevels&&(0,jsx_runtime.jsx)(RightIcon,{icon:isOpen?(0,jsx_runtime.jsx)(IconAngleUp.IconAngleUp,{"aria-hidden":!0}):(0,jsx_runtime.jsx)(IconAngleDown.IconAngleDown,{"aria-hidden":!0})})]}),(0,jsx_runtime.jsx)("ul",{className:MainLevel_module_mainLevelListMenu,id:menuId,"aria-hidden":!isOpen,"aria-labelledby":id,children:subLevels})]}):(0,jsx_runtime.jsxs)("a",(0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)({},rest),{},{"aria-current":active?"page":"false","aria-label":external?"".concat(label," ").concat(openInExternalDomainAriaLabel||"Siirtyy toiseen sivustoon"):label,id,onClick:handleMainLevelClick,href},external&&openInNewTab&&{target:"_blank",rel:"noopener","aria-label":composeAriaLabel({label,openInNewTab,openInNewTabAriaLabel,openInExternalDomainAriaLabel})}),{},{children:[icon&&(0,jsx_runtime.jsx)(LeftIcon,{icon}),(0,jsx_runtime.jsx)(Label,{label}),external&&(0,jsx_runtime.jsx)(RightIcon,{icon:(0,jsx_runtime.jsx)(IconLinkExternal.IconLinkExternal,{"aria-hidden":!0})})]}))},id)};MainLevel.componentName="MainLevel";try{MainLevel.displayName="MainLevel",MainLevel.__docgenInfo={description:"",displayName:"MainLevel",props:{id:{defaultValue:null,description:"The id of the side navigation main level",name:"id",required:!0,type:{name:"string"}},href:{defaultValue:null,description:"href attribute of the side navigation main level",name:"href",required:!1,type:{name:"string"}},icon:{defaultValue:null,description:"Optional icon of the side navigation main level",name:"icon",required:!1,type:{name:"ReactNode"}},index:{defaultValue:null,description:"Index of the side navigation main level. The parent SideNavigation component uses this property to index main levels",name:"index",required:!1,type:{name:"number"}},label:{defaultValue:null,description:"Label of the side navigation main level",name:"label",required:!0,type:{name:"string"}},withDivider:{defaultValue:null,description:"A border that distinguishes the main level from the previous item",name:"withDivider",required:!1,type:{name:"boolean"}},className:{defaultValue:{value:""},description:"Additional class names to apply to the side navigation main level",name:"className",required:!1,type:{name:"string"}},style:{defaultValue:null,description:"Override or extend the styles applied to the component",name:"style",required:!1,type:{name:"CSSProperties"}},children:{defaultValue:null,description:"Children components for the main level. Usually subLevels",name:"children",required:!1,type:{name:"ReactNode"}},onClick:{defaultValue:null,description:"Callback function fired when the main level is clicked",name:"onClick",required:!1,type:{name:"(event: KeyboardEvent | MouseEvent | KeyboardEvent | MouseEvent<...>) => void"}},active:{defaultValue:null,description:"",name:"active",required:!1,type:{name:"boolean"}},external:{defaultValue:null,description:"Boolean indicating whether the main level link will lead user to external domain.",name:"external",required:!1,type:{name:"boolean"}},openInNewTab:{defaultValue:null,description:"Boolean indicating whether the main level link will open in new tab or not.",name:"openInNewTab",required:!1,type:{name:"boolean"}},openInNewTabAriaLabel:{defaultValue:null,description:"The aria-label for opening main level link in a new tab",name:"openInNewTabAriaLabel",required:!1,type:{name:"string"}},openInExternalDomainAriaLabel:{defaultValue:null,description:"The aria-label for opening main level link in an external domain",name:"openInExternalDomainAriaLabel",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sideNavigation/mainLevel/MainLevel.tsx#MainLevel"]={docgenInfo:MainLevel.__docgenInfo,name:"MainLevel",path:"src/components/sideNavigation/mainLevel/MainLevel.tsx#MainLevel"})}catch(__react_docgen_typescript_loader_error){}const SubLevel_module_subLevel="SubLevel_subLevel__cALpt",SubLevel_module_active="SubLevel_active__3gtTZ";var SubLevel=function SubLevel(_ref){var active=_ref.active,className=_ref.className,href=_ref.href,id=_ref.id,label=_ref.label,mainLevelIndex=_ref.mainLevelIndex,_onClick=_ref.onClick,style=_ref.style,_useContext=(0,react.useContext)(sideNavigation_SideNavigationContext),setActiveParentLevel=_useContext.setActiveParentLevel,setMobileMenuOpen=_useContext.setMobileMenuOpen;return(0,react.useEffect)((function(){active&&setActiveParentLevel(mainLevelIndex)}),[active,mainLevelIndex,setActiveParentLevel]),(0,jsx_runtime.jsx)("li",{className:(0,classNames.Z)(SubLevel_module_subLevel,active&&SubLevel_module_active,className),style,children:(0,jsx_runtime.jsx)("a",{id,"aria-current":active?"page":"false",onClick:function onClick(ev){setMobileMenuOpen(!1),_onClick&&_onClick(ev)},href,children:label})})};SubLevel.componentName="SubLevel";try{SubLevel.displayName="SubLevel",SubLevel.__docgenInfo={description:"",displayName:"SubLevel",props:{active:{defaultValue:null,description:"If `true`, the item will be marked as active",name:"active",required:!1,type:{name:"boolean"}},id:{defaultValue:null,description:"The id of the side navigation sub level",name:"id",required:!1,type:{name:"string"}},href:{defaultValue:null,description:"href attribute of the side navigation sub level",name:"href",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"Label of the side navigation sub level",name:"label",required:!0,type:{name:"string"}},mainLevelIndex:{defaultValue:null,description:"Index of the containing main level. The parent MainLevel component uses this property to index sub levels",name:"mainLevelIndex",required:!1,type:{name:"number"}},className:{defaultValue:null,description:"Additional class names to apply to the side navigation sub level",name:"className",required:!1,type:{name:"string"}},style:{defaultValue:null,description:"Override or extend the styles applied to the component",name:"style",required:!1,type:{name:"CSSProperties"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sideNavigation/subLevel/SubLevel.tsx#SubLevel"]={docgenInfo:SubLevel.__docgenInfo,name:"SubLevel",path:"src/components/sideNavigation/subLevel/SubLevel.tsx#SubLevel"})}catch(__react_docgen_typescript_loader_error){}var useTheme=__webpack_require__("./src/hooks/useTheme.tsx"),SideNavigation=function SideNavigation(_ref){var children=_ref.children,className=_ref.className,_ref$defaultOpenMainL=_ref.defaultOpenMainLevels,defaultOpenMainLevels=void 0===_ref$defaultOpenMainL?[]:_ref$defaultOpenMainL,id=_ref.id,ariaLabel=_ref.ariaLabel,style=_ref.style,theme=_ref.theme,toggleButtonLabel=_ref.toggleButtonLabel,container=react.useRef(null),customThemeClass=(0,useTheme.F)(SideNavigation_module_sideNavigation,theme),menuId="".concat(id,"-menu"),_React$useState=react.useState(),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),activeParentLevel=_React$useState2[0],setActiveParentLevel=_React$useState2[1],_React$useState3=react.useState(!1),_React$useState4=(0,slicedToArray.Z)(_React$useState3,2),mobileMenuOpen=_React$useState4[0],setMobileMenuOpen=_React$useState4[1],shouldRenderMenu=!((0,useMobile.X)()&&!mobileMenuOpen),childElements=(0,getChildren.AU)(children),mainLevels=childElements.map((function(child,index){return(0,react.isValidElement)(child)&&"MainLevel"===child.type.componentName?(0,react.cloneElement)(child,{key:index,index}):null})),skipLink=childElements.find((function(child){return(0,react.isValidElement)(child)&&"SkipLink"===child.type.componentName}));return(0,react.useEffect)((function(){var handleEscKey=function handleEscKey(event){var key=event.key||event.keyCode;!mobileMenuOpen||"Escape"!==key&&"Esc"!==key&&27!==key||setMobileMenuOpen(!1)},handleOutsideClickOrFocusin=function handleOutsideClickOrFocusin(event){var target=event.target;mobileMenuOpen&&!container.current.contains(target)&&setMobileMenuOpen(!1)};return document.addEventListener("click",handleOutsideClickOrFocusin),document.addEventListener("focusin",handleOutsideClickOrFocusin),document.addEventListener("keyup",handleEscKey),function(){document.removeEventListener("click",handleOutsideClickOrFocusin),document.removeEventListener("focusin",handleOutsideClickOrFocusin),document.removeEventListener("keyup",handleEscKey)}})),(0,jsx_runtime.jsx)(sideNavigation_SideNavigationContext.Provider,{value:{mobileMenuOpen,defaultOpenMainLevels,activeParentLevel,setMobileMenuOpen,setActiveParentLevel},children:(0,jsx_runtime.jsxs)("nav",{className:(0,classNames.Z)(SideNavigation_module_sideNavigation,customThemeClass,className),id,"aria-label":ariaLabel,ref:container,style,children:[skipLink&&skipLink,(0,jsx_runtime.jsx)(Button.z,{"aria-controls":menuId,"aria-expanded":mobileMenuOpen,"aria-haspopup":!0,className:SideNavigation_module_toggleButton,fullWidth:!0,iconRight:mobileMenuOpen?(0,jsx_runtime.jsx)(IconAngleUp.IconAngleUp,{"aria-hidden":!0}):(0,jsx_runtime.jsx)(IconAngleDown.IconAngleDown,{"aria-hidden":!0}),onClick:function toggleMobileMenu(){setMobileMenuOpen(!mobileMenuOpen)},variant:"secondary",type:"button",children:toggleButtonLabel}),shouldRenderMenu&&(0,jsx_runtime.jsx)("ul",{className:(0,classNames.Z)(SideNavigation_module_mainLevelList,mobileMenuOpen&&SideNavigation_module_open),"aria-label":toggleButtonLabel,id:menuId,children:mainLevels})]})})};SideNavigation.MainLevel=MainLevel,SideNavigation.SubLevel=SubLevel,SideNavigation.SkipLink=SkipLink.G;try{SideNavigation.displayName="SideNavigation",SideNavigation.__docgenInfo={description:"",displayName:"SideNavigation",props:{className:{defaultValue:null,description:"Additional class names to apply to the side navigation",name:"className",required:!1,type:{name:"string"}},defaultOpenMainLevels:{defaultValue:{value:"[]"},description:"Default value for open main levels",name:"defaultOpenMainLevels",required:!1,type:{name:"number[]"}},id:{defaultValue:null,description:"The id of the side navigation.",name:"id",required:!0,type:{name:"string"}},ariaLabel:{defaultValue:null,description:"aria-label for helping screen reader users to distinguish SideNavigation from other navigational components",name:"ariaLabel",required:!1,type:{name:"string"}},style:{defaultValue:null,description:"Override or extend the styles applied to the component",name:"style",required:!1,type:{name:"CSSProperties"}},theme:{defaultValue:null,description:"Custom theme styles",name:"theme",required:!1,type:{name:"SideNavigationCustomTheme"}},toggleButtonLabel:{defaultValue:null,description:"label for the mobile menu toggle button",name:"toggleButtonLabel",required:!0,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sideNavigation/SideNavigation.tsx#SideNavigation"]={docgenInfo:SideNavigation.__docgenInfo,name:"SideNavigation",path:"src/components/sideNavigation/SideNavigation.tsx#SideNavigation"})}catch(__react_docgen_typescript_loader_error){}try{SideNavigation.MainLevel.displayName="SideNavigation.MainLevel",SideNavigation.MainLevel.__docgenInfo={description:"",displayName:"SideNavigation.MainLevel",props:{id:{defaultValue:null,description:"The id of the side navigation main level",name:"id",required:!0,type:{name:"string"}},href:{defaultValue:null,description:"href attribute of the side navigation main level",name:"href",required:!1,type:{name:"string"}},icon:{defaultValue:null,description:"Optional icon of the side navigation main level",name:"icon",required:!1,type:{name:"ReactNode"}},index:{defaultValue:null,description:"Index of the side navigation main level. The parent SideNavigation component uses this property to index main levels",name:"index",required:!1,type:{name:"number"}},label:{defaultValue:null,description:"Label of the side navigation main level",name:"label",required:!0,type:{name:"string"}},withDivider:{defaultValue:null,description:"A border that distinguishes the main level from the previous item",name:"withDivider",required:!1,type:{name:"boolean"}},className:{defaultValue:{value:""},description:"Additional class names to apply to the side navigation main level",name:"className",required:!1,type:{name:"string"}},style:{defaultValue:null,description:"Override or extend the styles applied to the component",name:"style",required:!1,type:{name:"CSSProperties"}},children:{defaultValue:null,description:"Children components for the main level. Usually subLevels",name:"children",required:!1,type:{name:"ReactNode"}},onClick:{defaultValue:null,description:"Callback function fired when the main level is clicked",name:"onClick",required:!1,type:{name:"(event: KeyboardEvent | MouseEvent | KeyboardEvent | MouseEvent<...>) => void"}},active:{defaultValue:null,description:"",name:"active",required:!1,type:{name:"boolean"}},external:{defaultValue:null,description:"Boolean indicating whether the main level link will lead user to external domain.",name:"external",required:!1,type:{name:"boolean"}},openInNewTab:{defaultValue:null,description:"Boolean indicating whether the main level link will open in new tab or not.",name:"openInNewTab",required:!1,type:{name:"boolean"}},openInNewTabAriaLabel:{defaultValue:null,description:"The aria-label for opening main level link in a new tab",name:"openInNewTabAriaLabel",required:!1,type:{name:"string"}},openInExternalDomainAriaLabel:{defaultValue:null,description:"The aria-label for opening main level link in an external domain",name:"openInExternalDomainAriaLabel",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sideNavigation/SideNavigation.tsx#SideNavigation.MainLevel"]={docgenInfo:SideNavigation.MainLevel.__docgenInfo,name:"SideNavigation.MainLevel",path:"src/components/sideNavigation/SideNavigation.tsx#SideNavigation.MainLevel"})}catch(__react_docgen_typescript_loader_error){}try{SideNavigation.SubLevel.displayName="SideNavigation.SubLevel",SideNavigation.SubLevel.__docgenInfo={description:"",displayName:"SideNavigation.SubLevel",props:{active:{defaultValue:null,description:"If `true`, the item will be marked as active",name:"active",required:!1,type:{name:"boolean"}},id:{defaultValue:null,description:"The id of the side navigation sub level",name:"id",required:!1,type:{name:"string"}},href:{defaultValue:null,description:"href attribute of the side navigation sub level",name:"href",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"Label of the side navigation sub level",name:"label",required:!0,type:{name:"string"}},mainLevelIndex:{defaultValue:null,description:"Index of the containing main level. The parent MainLevel component uses this property to index sub levels",name:"mainLevelIndex",required:!1,type:{name:"number"}},className:{defaultValue:null,description:"Additional class names to apply to the side navigation sub level",name:"className",required:!1,type:{name:"string"}},style:{defaultValue:null,description:"Override or extend the styles applied to the component",name:"style",required:!1,type:{name:"CSSProperties"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sideNavigation/SideNavigation.tsx#SideNavigation.SubLevel"]={docgenInfo:SideNavigation.SubLevel.__docgenInfo,name:"SideNavigation.SubLevel",path:"src/components/sideNavigation/SideNavigation.tsx#SideNavigation.SubLevel"})}catch(__react_docgen_typescript_loader_error){}try{SideNavigation.SkipLink.displayName="SideNavigation.SkipLink",SideNavigation.SkipLink.__docgenInfo={description:"",displayName:"SideNavigation.SkipLink",props:{ariaLabel:{defaultValue:null,description:"aria-label for describing SkipLink for screen readers.",name:"ariaLabel",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"Label for the SkipLink.",name:"label",required:!0,type:{name:"string"}},skipTo:{defaultValue:null,description:"ID of the element where the SkipLink jumps to.",name:"skipTo",required:!0,type:{name:"string"}},theme:{defaultValue:null,description:"Custom styling for SkipLink.",name:"theme",required:!1,type:{name:"SkipLinkTheme"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sideNavigation/SideNavigation.tsx#SideNavigation.SkipLink"]={docgenInfo:SideNavigation.SkipLink.__docgenInfo,name:"SideNavigation.SkipLink",path:"src/components/sideNavigation/SideNavigation.tsx#SideNavigation.SkipLink"})}catch(__react_docgen_typescript_loader_error){}var IconHome=__webpack_require__("./src/icons/IconHome.tsx");const SideNavigation_stories={component:SideNavigation,decorators:[function(storyFn){return(0,jsx_runtime.jsx)("div",{style:{backgroundColor:"#f5f5f5",display:"grid",minHeight:"100vh"},children:(0,jsx_runtime.jsx)("div",{style:{height:"100%"},children:storyFn()})})}],title:"Components/SideNavigation",parameters:{storySource:{source:'import React from \'react\';\n\nimport { SideNavigation } from \'./SideNavigation\';\nimport { IconHome } from \'../../icons\';\n\nexport default {\n component: SideNavigation,\n decorators: [\n (storyFn) => (\n \n ),\n ],\n title: \'Components/SideNavigation\',\n parameters: {\n controls: { expanded: true },\n },\n args: { defaultOpenMainLevels: [], toggleButtonLabel: \'Navigate to page\', id: \'side-navigation\' },\n};\n\nconst handleClick = (setActive) => (ev) => {\n ev.preventDefault();\n setActive(ev.currentTarget.getAttribute(\'href\'));\n};\n\nexport const Default = (args) => {\n const [active, setActive] = React.useState(\'/sub-level-1\');\n\n return (\n <>\n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n
\n
Page Content \n
\n >\n );\n};\n\nexport const WithIcons = (args) => {\n const [active, setActive] = React.useState(\'/sub-level-2\');\n\n return (\n <>\n \n \n
\n \n }\n >\n \n \n \n }\n >\n \n \n \n }\n />\n \n \n
\n
Page Content \n
\n >\n );\n};\n\nconst skipLinkTheme = {\n \'--left\': \'0px\',\n \'--top\': \'0px\',\n};\n\nexport const WithSkipLink = (args) => {\n const [active, setActive] = React.useState(\'/sub-level-1\');\n\n return (\n <>\n \n\n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
Page Content \n
\n >\n );\n};\n\nexport const CustomTheme = (args) => Default(args);\nCustomTheme.args = {\n theme: {\n \'--side-navigation-background-color\': \'var(--color-white)\',\n \'--side-navigation-active-indicator-background-color\': \'var(--color-gold)\',\n \'--side-navigation-icon-size\': \'var(--spacing-m)\',\n \'--side-navigation-level-border-color\': \'var(--color-white)\',\n \'--side-navigation-level-border-color-focus\': \'var(--color-coat-of-arms)\',\n \'--side-navigation-level-border-color-hover\': \'var(--color-fog-light)\',\n \'--side-navigation-level-background-color\': \'var(--color-white)\',\n \'--side-navigation-level-background-color-active\': \'var(--color-fog-light)\',\n \'--side-navigation-level-background-color-hover\': \'var(--color-fog-light)\',\n \'--side-navigation-level-color\': \'var(--color-black)\',\n \'--side-navigation-level-color-active\': \'var(--color-black)\',\n \'--side-navigation-level-color-hover\': \'var(--color-black)\',\n \'--side-navigation-mobile-menu-border-color\': \'var(--color-black)\',\n \'--side-navigation-mobile-menu-z-index\': 100,\n },\n};\n',locationsMap:{default:{startLoc:{col:23,line:27},endLoc:{col:1,line:108},startBody:{col:23,line:27},endBody:{col:1,line:108}},"with-icons":{startLoc:{col:25,line:110},endLoc:{col:1,line:200},startBody:{col:25,line:110},endBody:{col:1,line:200}},"with-skip-link":{startLoc:{col:28,line:207},endLoc:{col:1,line:290},startBody:{col:28,line:207},endBody:{col:1,line:290}},"custom-theme":{startLoc:{col:27,line:292},endLoc:{col:50,line:292},startBody:{col:27,line:292},endBody:{col:50,line:292}}}},controls:{expanded:!0}},args:{defaultOpenMainLevels:[],toggleButtonLabel:"Navigate to page",id:"side-navigation"}};var handleClick=function handleClick(setActive){return function(ev){ev.preventDefault(),setActive(ev.currentTarget.getAttribute("href"))}},Default=function Default(args){var _React$useState=react.useState("/sub-level-1"),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),active=_React$useState2[0],setActive=_React$useState2[1];return(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsx)("style",{children:"\n @media only screen and (min-width: ".concat(getComputedStyle(document.documentElement).getPropertyValue("--breakpoint-m"),") {\n .example-page {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n grid-gap: 1rem;\n }\n\n .example-page-side-navigation {\n grid-column: 1/4;\n }\n }\n ")}),(0,jsx_runtime.jsxs)("div",{className:"example-page",children:[(0,jsx_runtime.jsx)("div",{className:"example-page-side-navigation",children:(0,jsx_runtime.jsxs)(SideNavigation,(0,objectSpread2.Z)((0,objectSpread2.Z)({ariaLabel:"Getting started"},args),{},{children:[(0,jsx_runtime.jsxs)(SideNavigation.MainLevel,{id:"main-level-link-1",label:"Main level accordion",children:[(0,jsx_runtime.jsx)(SideNavigation.SubLevel,{active:"/sub-level-1"===active,id:"sub-level-link-1",href:"/sub-level-1",label:"Sub level link",onClick:handleClick(setActive)}),(0,jsx_runtime.jsx)(SideNavigation.SubLevel,{active:"/sub-level-2"===active,id:"sub-level-link-2",href:"/sub-level-2",label:"Sub level link",onClick:handleClick(setActive)})]}),(0,jsx_runtime.jsxs)(SideNavigation.MainLevel,{id:"main-level-link-2",label:"Main level accordion",children:[(0,jsx_runtime.jsx)(SideNavigation.SubLevel,{active:"/sub-level-3"===active,id:"sub-level-link-3",href:"/sub-level-3",label:"Sub level link",onClick:handleClick(setActive)}),(0,jsx_runtime.jsx)(SideNavigation.SubLevel,{active:"/sub-level-4"===active,id:"sub-level-link-4",href:"/sub-level-4",label:"Sub level link",onClick:handleClick(setActive)})]}),(0,jsx_runtime.jsx)(SideNavigation.MainLevel,{active:"/main-level-3"===active,id:"main-level-link-3",href:"/main-level-3",label:"Main level link",onClick:handleClick(setActive)}),(0,jsx_runtime.jsx)(SideNavigation.MainLevel,{id:"main-level-link-4",href:"external-address",label:"Main level external link",external:!0,openInNewTab:!0,openInNewTabAriaLabel:"Opens in a new tab.",openInExternalDomainAriaLabel:"Opens a different website.",onClick:handleClick(setActive),withDivider:!0})]}))}),(0,jsx_runtime.jsx)("main",{children:"Page Content"})]})]})},WithIcons=function WithIcons(args){var _React$useState3=react.useState("/sub-level-2"),_React$useState4=(0,slicedToArray.Z)(_React$useState3,2),active=_React$useState4[0],setActive=_React$useState4[1];return(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsx)("style",{children:"\n @media only screen and (min-width: ".concat(getComputedStyle(document.documentElement).getPropertyValue("--breakpoint-m"),") {\n .example-page {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n grid-gap: 1rem;\n }\n\n .example-page-side-navigation {\n grid-column: 1/4;\n }\n }\n ")}),(0,jsx_runtime.jsxs)("div",{className:"example-page",children:[(0,jsx_runtime.jsx)("div",{className:"example-page-side-navigation",children:(0,jsx_runtime.jsxs)(SideNavigation,(0,objectSpread2.Z)((0,objectSpread2.Z)({},args),{},{children:[(0,jsx_runtime.jsxs)(SideNavigation.MainLevel,{id:"main-level-link-1",label:"Main level accordion",icon:(0,jsx_runtime.jsx)(IconHome.IconHome,{"aria-hidden":!0}),children:[(0,jsx_runtime.jsx)(SideNavigation.SubLevel,{active:"/sub-level-1"===active,id:"sub-level-link-1",href:"/sub-level-1",label:"Sub level link",onClick:handleClick(setActive)}),(0,jsx_runtime.jsx)(SideNavigation.SubLevel,{active:"/sub-level-2"===active,id:"sub-level-link-2",href:"/sub-level-2",label:"Sub level link",onClick:handleClick(setActive)})]}),(0,jsx_runtime.jsxs)(SideNavigation.MainLevel,{id:"main-level-link-2",label:"Main level accordion",icon:(0,jsx_runtime.jsx)(IconHome.IconHome,{"aria-hidden":!0}),children:[(0,jsx_runtime.jsx)(SideNavigation.SubLevel,{active:"/sub-level-3"===active,id:"sub-level-link-3",href:"/sub-level-3",label:"Sub level link",onClick:handleClick(setActive)}),(0,jsx_runtime.jsx)(SideNavigation.SubLevel,{active:"/sub-level-4"===active,id:"sub-level-link-4",href:"/sub-level-4",label:"Sub level link",onClick:handleClick(setActive)})]}),(0,jsx_runtime.jsx)(SideNavigation.MainLevel,{active:"/main-level-3"===active,id:"main-level-link-3",href:"/main-level-3",label:"Main level link",onClick:handleClick(setActive),icon:(0,jsx_runtime.jsx)(IconHome.IconHome,{"aria-hidden":!0})}),(0,jsx_runtime.jsx)(SideNavigation.MainLevel,{id:"main-level-link-4",href:"external-address",label:"Main level external link",external:!0,openInNewTab:!0,openInNewTabAriaLabel:"Opens in a new tab.",openInExternalDomainAriaLabel:"Opens a different website.",onClick:handleClick(setActive),withDivider:!0})]}))}),(0,jsx_runtime.jsx)("main",{children:"Page Content"})]})]})},skipLinkTheme={"--left":"0px","--top":"0px"},WithSkipLink=function WithSkipLink(args){var _React$useState5=react.useState("/sub-level-1"),_React$useState6=(0,slicedToArray.Z)(_React$useState5,2),active=_React$useState6[0],setActive=_React$useState6[1];return(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsx)("style",{children:"\n @media only screen and (min-width: ".concat(getComputedStyle(document.documentElement).getPropertyValue("--breakpoint-m"),") {\n .example-page {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n grid-gap: 1rem;\n }\n\n .example-page-side-navigation {\n grid-column: 1/4;\n }\n }\n ")}),(0,jsx_runtime.jsxs)("div",{className:"example-page",children:[(0,jsx_runtime.jsx)("div",{className:"example-page-side-navigation",children:(0,jsx_runtime.jsxs)(SideNavigation,(0,objectSpread2.Z)((0,objectSpread2.Z)({ariaLabel:"Getting started"},args),{},{children:[(0,jsx_runtime.jsx)(SideNavigation.SkipLink,{skipTo:"#content",label:"Skip Navigation",theme:skipLinkTheme}),(0,jsx_runtime.jsxs)(SideNavigation.MainLevel,{id:"main-level-link-1",label:"Main level accordion",children:[(0,jsx_runtime.jsx)(SideNavigation.SubLevel,{active:"/sub-level-1"===active,id:"sub-level-link-1",href:"/sub-level-1",label:"Sub level link",onClick:handleClick(setActive)}),(0,jsx_runtime.jsx)(SideNavigation.SubLevel,{active:"/sub-level-2"===active,id:"sub-level-link-2",href:"/sub-level-2",label:"Sub level link",onClick:handleClick(setActive)})]}),(0,jsx_runtime.jsxs)(SideNavigation.MainLevel,{id:"main-level-link-2",label:"Main level accordion",children:[(0,jsx_runtime.jsx)(SideNavigation.SubLevel,{active:"/sub-level-3"===active,id:"sub-level-link-3",href:"/sub-level-3",label:"Sub level link",onClick:handleClick(setActive)}),(0,jsx_runtime.jsx)(SideNavigation.SubLevel,{active:"/sub-level-4"===active,id:"sub-level-link-4",href:"/sub-level-4",label:"Sub level link",onClick:handleClick(setActive)})]}),(0,jsx_runtime.jsx)(SideNavigation.MainLevel,{active:"/main-level-3"===active,id:"main-level-link-3",href:"/main-level-3",label:"Main level link",onClick:handleClick(setActive)}),(0,jsx_runtime.jsx)(SideNavigation.MainLevel,{id:"main-level-link-4",href:"external-address",label:"Main level external link",external:!0,openInNewTab:!0,openInNewTabAriaLabel:"Opens in a new tab.",openInExternalDomainAriaLabel:"Opens a different website.",onClick:handleClick(setActive),withDivider:!0})]}))}),(0,jsx_runtime.jsx)("main",{children:"Page Content"})]})]})},CustomTheme=function CustomTheme(args){return Default(args)};CustomTheme.args={theme:{"--side-navigation-background-color":"var(--color-white)","--side-navigation-active-indicator-background-color":"var(--color-gold)","--side-navigation-icon-size":"var(--spacing-m)","--side-navigation-level-border-color":"var(--color-white)","--side-navigation-level-border-color-focus":"var(--color-coat-of-arms)","--side-navigation-level-border-color-hover":"var(--color-fog-light)","--side-navigation-level-background-color":"var(--color-white)","--side-navigation-level-background-color-active":"var(--color-fog-light)","--side-navigation-level-background-color-hover":"var(--color-fog-light)","--side-navigation-level-color":"var(--color-black)","--side-navigation-level-color-active":"var(--color-black)","--side-navigation-level-color-hover":"var(--color-black)","--side-navigation-mobile-menu-border-color":"var(--color-black)","--side-navigation-mobile-menu-z-index":100}},Default.parameters=(0,objectSpread2.Z)({storySource:{source:'(args) => {\n const [active, setActive] = React.useState(\'/sub-level-1\');\n\n return (\n <>\n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n
\n
Page Content \n
\n >\n );\n}'}},Default.parameters),WithIcons.parameters=(0,objectSpread2.Z)({storySource:{source:'(args) => {\n const [active, setActive] = React.useState(\'/sub-level-2\');\n\n return (\n <>\n \n \n
\n \n }\n >\n \n \n \n }\n >\n \n \n \n }\n />\n \n \n
\n
Page Content \n
\n >\n );\n}'}},WithIcons.parameters),WithSkipLink.parameters=(0,objectSpread2.Z)({storySource:{source:'(args) => {\n const [active, setActive] = React.useState(\'/sub-level-1\');\n\n return (\n <>\n \n\n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
Page Content \n
\n >\n );\n}'}},WithSkipLink.parameters),CustomTheme.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => Default(args)"}},CustomTheme.parameters);try{Default.displayName="Default",Default.__docgenInfo={description:"",displayName:"Default",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sideNavigation/SideNavigation.stories.tsx#Default"]={docgenInfo:Default.__docgenInfo,name:"Default",path:"src/components/sideNavigation/SideNavigation.stories.tsx#Default"})}catch(__react_docgen_typescript_loader_error){}try{WithIcons.displayName="WithIcons",WithIcons.__docgenInfo={description:"",displayName:"WithIcons",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sideNavigation/SideNavigation.stories.tsx#WithIcons"]={docgenInfo:WithIcons.__docgenInfo,name:"WithIcons",path:"src/components/sideNavigation/SideNavigation.stories.tsx#WithIcons"})}catch(__react_docgen_typescript_loader_error){}try{WithSkipLink.displayName="WithSkipLink",WithSkipLink.__docgenInfo={description:"",displayName:"WithSkipLink",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sideNavigation/SideNavigation.stories.tsx#WithSkipLink"]={docgenInfo:WithSkipLink.__docgenInfo,name:"WithSkipLink",path:"src/components/sideNavigation/SideNavigation.stories.tsx#WithSkipLink"})}catch(__react_docgen_typescript_loader_error){}try{CustomTheme.displayName="CustomTheme",CustomTheme.__docgenInfo={description:"",displayName:"CustomTheme",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/sideNavigation/SideNavigation.stories.tsx#CustomTheme"]={docgenInfo:CustomTheme.__docgenInfo,name:"CustomTheme",path:"src/components/sideNavigation/SideNavigation.stories.tsx#CustomTheme"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/statusLabel/StatusLabel.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Alert:()=>Alert,Error:()=>Error,Icons:()=>Icons,Info:()=>Info,Neutral:()=>Neutral,Playground:()=>Playground,Success:()=>Success,default:()=>StatusLabel_stories});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),objectWithoutProperties=(__webpack_require__("../../node_modules/react/index.js"),__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"));__webpack_require__("./src/styles/base.css");const StatusLabel_module={statusLabel:"StatusLabel_statusLabel__PRZAr status-label_hds-status-label__cKOCR",statusLabelWithIcon:"StatusLabel_statusLabelWithIcon__D0x6W status-label_hds-status-label--with-icon__B29VM",statusLabelIcon:"StatusLabel_statusLabelIcon__l1++J status-label_hds-status-label-icon__ZwmPf",info:"StatusLabel_info__G9AuR status-label_hds-status-label--info__skSDp",success:"StatusLabel_success__wUjTj status-label_hds-status-label--success__ECfam",alert:"StatusLabel_alert__qGIX0 status-label_hds-status-label--alert__qPQaE",error:"StatusLabel_error__N4X2p status-label_hds-status-label--error__hyan6"};var classNames=__webpack_require__("./src/utils/classNames.ts"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),_excluded=["children","className","dataTestId","type","iconLeft"],IconElement=function IconElement(_ref){var icon=_ref.icon;return(0,jsx_runtime.jsx)("span",{className:StatusLabel_module.statusLabelIcon,"aria-hidden":"true",children:icon})},StatusLabel=function StatusLabel(_ref2){var children=_ref2.children,className=_ref2.className,dataTestId=_ref2.dataTestId,_ref2$type=_ref2.type,type=void 0===_ref2$type?"neutral":_ref2$type,iconLeft=_ref2.iconLeft,rest=(0,objectWithoutProperties.Z)(_ref2,_excluded);return(0,jsx_runtime.jsxs)("span",(0,objectSpread2.Z)((0,objectSpread2.Z)({className:(0,classNames.Z)(StatusLabel_module.statusLabel,StatusLabel_module[type],iconLeft&&StatusLabel_module.statusLabelWithIcon,className),"data-testid":dataTestId},rest),{},{children:[iconLeft&&(0,jsx_runtime.jsx)(IconElement,{icon:iconLeft}),children]}))};try{StatusLabel.displayName="StatusLabel",StatusLabel.__docgenInfo={description:"",displayName:"StatusLabel",props:{className:{defaultValue:null,description:"Additional class names to apply to the status label",name:"className",required:!1,type:{name:"string"}},dataTestId:{defaultValue:null,description:"Adds a data-testid attribute to the root element with the given value",name:"dataTestId",required:!1,type:{name:"string"}},type:{defaultValue:{value:"neutral"},description:"The type of the status label",name:"type",required:!1,type:{name:"enum",value:[{value:'"success"'},{value:'"info"'},{value:'"error"'},{value:'"alert"'},{value:'"neutral"'}]}},iconLeft:{defaultValue:null,description:"Element placed on the left side of the status label",name:"iconLeft",required:!1,type:{name:"ReactNode"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/statusLabel/StatusLabel.tsx#StatusLabel"]={docgenInfo:StatusLabel.__docgenInfo,name:"StatusLabel",path:"src/components/statusLabel/StatusLabel.tsx#StatusLabel"})}catch(__react_docgen_typescript_loader_error){}var IconInfoCircle=__webpack_require__("./src/icons/IconInfoCircle.tsx"),IconCheckCircle=__webpack_require__("./src/icons/IconCheckCircle.tsx"),IconAlertCircle=__webpack_require__("./src/icons/IconAlertCircle.tsx"),IconError=__webpack_require__("./src/icons/IconError.tsx");const StatusLabel_stories={component:StatusLabel,title:"Components/StatusLabel",parameters:{storySource:{source:"import React from 'react';\n\nimport { StatusLabel } from './StatusLabel';\nimport { IconCheckCircle, IconInfoCircle, IconAlertCircle, IconError } from '../../icons';\n\nexport default {\n component: StatusLabel,\n title: 'Components/StatusLabel',\n parameters: {\n controls: { hideNoControlsWarning: true },\n },\n};\n\nexport const Neutral = () => Neutral ;\n\nexport const Info = () => Info ;\n\nexport const Success = () => Success ;\n\nexport const Alert = () => Alert ;\n\nexport const Error = () => Error ;\n\nexport const Icons = () => (\n <>\n }>Default\n \n \n }>\n Info\n \n \n \n }>\n Success\n \n \n \n }>\n Alert\n \n \n \n }>\n Error\n \n >\n);\n\nexport const Playground = (args) => {args.label} ;\n\nPlayground.parameters = {\n previewTabs: {\n 'storybook/docs/panel': {\n hidden: true,\n },\n },\n docs: {\n disable: true,\n },\n};\n\nPlayground.args = {\n label: 'Status',\n type: 'neutral',\n};\n\nPlayground.argTypes = {\n type: {\n options: ['neutral', 'info', 'success', 'alert', 'error'],\n control: { type: 'radio' },\n },\n};\n",locationsMap:{neutral:{startLoc:{col:23,line:14},endLoc:{col:63,line:14},startBody:{col:23,line:14},endBody:{col:63,line:14}},info:{startLoc:{col:20,line:16},endLoc:{col:69,line:16},startBody:{col:20,line:16},endBody:{col:69,line:16}},success:{startLoc:{col:23,line:18},endLoc:{col:78,line:18},startBody:{col:23,line:18},endBody:{col:78,line:18}},alert:{startLoc:{col:21,line:20},endLoc:{col:72,line:20},startBody:{col:21,line:20},endBody:{col:72,line:20}},error:{startLoc:{col:21,line:22},endLoc:{col:72,line:22},startBody:{col:21,line:22},endBody:{col:72,line:22}},icons:{startLoc:{col:21,line:24},endLoc:{col:1,line:48},startBody:{col:21,line:24},endBody:{col:1,line:48}},playground:{startLoc:{col:26,line:50},endLoc:{col:92,line:50},startBody:{col:26,line:50},endBody:{col:92,line:50}}}},controls:{hideNoControlsWarning:!0}}};var Neutral=function Neutral(){return(0,jsx_runtime.jsx)(StatusLabel,{children:"Neutral"})},Info=function Info(){return(0,jsx_runtime.jsx)(StatusLabel,{type:"info",children:"Info"})},Success=function Success(){return(0,jsx_runtime.jsx)(StatusLabel,{type:"success",children:"Success"})},Alert=function Alert(){return(0,jsx_runtime.jsx)(StatusLabel,{type:"alert",children:"Alert"})},Error=function Error(){return(0,jsx_runtime.jsx)(StatusLabel,{type:"error",children:"Error"})},Icons=function Icons(){return(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsx)(StatusLabel,{iconLeft:(0,jsx_runtime.jsx)(IconInfoCircle.IconInfoCircle,{}),children:"Default"}),(0,jsx_runtime.jsx)("br",{}),(0,jsx_runtime.jsx)("br",{}),(0,jsx_runtime.jsx)(StatusLabel,{type:"info",iconLeft:(0,jsx_runtime.jsx)(IconInfoCircle.IconInfoCircle,{}),children:"Info"}),(0,jsx_runtime.jsx)("br",{}),(0,jsx_runtime.jsx)("br",{}),(0,jsx_runtime.jsx)(StatusLabel,{type:"success",iconLeft:(0,jsx_runtime.jsx)(IconCheckCircle.IconCheckCircle,{}),children:"Success"}),(0,jsx_runtime.jsx)("br",{}),(0,jsx_runtime.jsx)("br",{}),(0,jsx_runtime.jsx)(StatusLabel,{type:"alert",iconLeft:(0,jsx_runtime.jsx)(IconAlertCircle.IconAlertCircle,{}),children:"Alert"}),(0,jsx_runtime.jsx)("br",{}),(0,jsx_runtime.jsx)("br",{}),(0,jsx_runtime.jsx)(StatusLabel,{type:"error",iconLeft:(0,jsx_runtime.jsx)(IconError.IconError,{}),children:"Error"})]})},Playground=function Playground(args){return(0,jsx_runtime.jsx)(StatusLabel,{type:args.type,children:args.label})};Playground.parameters={previewTabs:{"storybook/docs/panel":{hidden:!0}},docs:{disable:!0}},Playground.args={label:"Status",type:"neutral"},Playground.argTypes={type:{options:["neutral","info","success","alert","error"],control:{type:"radio"}}},Neutral.parameters=(0,objectSpread2.Z)({storySource:{source:"() => Neutral "}},Neutral.parameters),Info.parameters=(0,objectSpread2.Z)({storySource:{source:'() => Info '}},Info.parameters),Success.parameters=(0,objectSpread2.Z)({storySource:{source:'() => Success '}},Success.parameters),Alert.parameters=(0,objectSpread2.Z)({storySource:{source:'() => Alert '}},Alert.parameters),Error.parameters=(0,objectSpread2.Z)({storySource:{source:'() => Error '}},Error.parameters),Icons.parameters=(0,objectSpread2.Z)({storySource:{source:'() => (\n <>\n }>Default\n \n \n }>\n Info\n \n \n \n }>\n Success\n \n \n \n }>\n Alert\n \n \n \n }>\n Error\n \n >\n)'}},Icons.parameters),Playground.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {args.label} "}},Playground.parameters);try{Playground.displayName="Playground",Playground.__docgenInfo={description:"",displayName:"Playground",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/statusLabel/StatusLabel.stories.tsx#Playground"]={docgenInfo:Playground.__docgenInfo,name:"Playground",path:"src/components/statusLabel/StatusLabel.stories.tsx#Playground"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/stepByStep/StepByStep.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{NumberedStepByStep:()=>NumberedStepByStep,RegularStepByStep:()=>RegularStepByStep,default:()=>StepByStep_stories});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),react=__webpack_require__("../../node_modules/react/index.js"),objectWithoutProperties=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),Button=(__webpack_require__("./src/styles/base.css"),__webpack_require__("./src/components/button/Button.tsx")),classNames=__webpack_require__("./src/utils/classNames.ts"),Link=__webpack_require__("./src/components/link/Link.tsx");const StepByStep_module={container:"StepByStep_container__rZ-v9",stepsContainer:"StepByStep_stepsContainer__wESCk step-by-step_hds-step-by-step__steps-container__CP8BU",stepItem:"StepByStep_stepItem__Q+z7C step-by-step_hds-step-by-step__step-item__vI8lg",stepItemTitle:"StepByStep_stepItemTitle__CffwI step-by-step_hds-step-by-step__step-item-title__lCmCB"};var jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),_excluded=["children"],getButtonOrLinkRenderer=function getButtonOrLinkRenderer(Tag){return function(_ref){var children=_ref.children,props=(0,objectWithoutProperties.Z)(_ref,_excluded);return(0,jsx_runtime.jsx)("p",{children:(0,jsx_runtime.jsx)(Tag,(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{children}))})}},renderLink=getButtonOrLinkRenderer(Link.r),renderButton=getButtonOrLinkRenderer(Button.z),StepComponent=function StepComponent(_ref2){var title=_ref2.title,description=_ref2.description,_ref2$buttons=_ref2.buttons,buttons=void 0===_ref2$buttons?[]:_ref2$buttons,_ref2$links=_ref2.links,links=void 0===_ref2$links?[]:_ref2$links;return(0,jsx_runtime.jsxs)("li",{className:StepByStep_module.stepItem,children:[(0,jsx_runtime.jsx)("p",{className:StepByStep_module.stepItemTitle,children:title}),(0,jsx_runtime.jsxs)("div",{children:[description&&(0,jsx_runtime.jsx)("p",{children:description}),buttons.map(renderButton),links.map(renderLink)]})]})},StepByStep=function StepByStep(_ref3){var className=_ref3.className,title=_ref3.title,helpText=_ref3.helpText,_ref3$steps=_ref3.steps,steps=void 0===_ref3$steps?[]:_ref3$steps,_ref3$numberedList=_ref3.numberedList,numberedList=void 0!==_ref3$numberedList&&_ref3$numberedList,headerClassName=_ref3.headerClassName,_ref3$headerLevel=_ref3.headerLevel,headerLevel=void 0===_ref3$headerLevel?2:_ref3$headerLevel,wrapperClassName=(0,classNames.Z)(StepByStep_module.container,className),titleComponent=title&&react.createElement("h".concat(headerLevel),{className:(0,classNames.Z)(StepByStep_module.title,headerClassName)},title);return(0,jsx_runtime.jsxs)("div",{className:wrapperClassName,children:[(0,jsx_runtime.jsxs)("div",{children:[titleComponent,(0,jsx_runtime.jsx)("p",{className:StepByStep_module.description,children:helpText})]}),react.createElement(numberedList?"ol":"ul",{className:StepByStep_module.stepsContainer},steps.map((function(step){return(0,jsx_runtime.jsx)(StepComponent,(0,objectSpread2.Z)({},step))})))]})};try{StepByStep.displayName="StepByStep",StepByStep.__docgenInfo={description:"",displayName:"StepByStep",props:{className:{defaultValue:null,description:"Additional class names to apply to the container element.",name:"className",required:!1,type:{name:"string"}},headerClassName:{defaultValue:null,description:"Class name for the main heading.",name:"headerClassName",required:!1,type:{name:"string"}},headerLevel:{defaultValue:{value:"2"},description:"Header level for the main heading.",name:"headerLevel",required:!1,type:{name:"number"}},helpText:{defaultValue:null,description:"Help text for the step by step component. Displayed under the `title` property.",name:"helpText",required:!1,type:{name:"string"}},numberedList:{defaultValue:{value:"false"},description:"Boolean indicating whether the steps are numbered.",name:"numberedList",required:!1,type:{name:"boolean"}},steps:{defaultValue:{value:"[]"},description:"Steps for the step by step component.",name:"steps",required:!1,type:{name:"StepType[]"}},title:{defaultValue:null,description:"Title text for the step by step component.",name:"title",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/stepByStep/StepByStep.tsx#StepByStep"]={docgenInfo:StepByStep.__docgenInfo,name:"StepByStep",path:"src/components/stepByStep/StepByStep.tsx#StepByStep"})}catch(__react_docgen_typescript_loader_error){}const StepByStep_stories={parameters:{storySource:{source:"import React from 'react';\n\nimport { StepByStep } from './StepByStep';\n\nexport default {\n component: StepByStep,\n title: 'Components/StepByStep',\n args: {\n steps: [\n {\n title: 'Step title',\n description:\n 'Here you can describe the step in detail. Keep the text compact so the user gets the big picture of the whole process and its steps easily.',\n buttons: [\n {\n children: 'Example button',\n href: 'https://hel.fi',\n },\n ],\n },\n {\n title: 'Step title',\n description: 'You can put text here.',\n links: [\n {\n children: 'Example link',\n href: 'https://hel.fi',\n },\n ],\n },\n {\n title: 'Step title',\n description: 'You can put text here.',\n },\n {\n title: 'Step title',\n description: 'You can put text here.',\n },\n {\n title: 'Step title',\n description: 'You can put text here.',\n },\n ],\n },\n argTypes: {\n title: { control: { type: 'string' } },\n steps: { control: { type: 'string' } },\n helpText: { control: { type: 'string' } },\n },\n};\n\nexport const NumberedStepByStep = (args) => ;\n\nNumberedStepByStep.args = {\n title: 'Numbered step by step component',\n helpText: 'Numbered component is suitable for cases where the order of the steps is important.',\n};\n\nexport const RegularStepByStep = (args) => ;\n\nRegularStepByStep.args = {\n title: 'Numbered step by step component',\n helpText: 'Use the unnumbered list when the order of the steps is less important and they form more of a guideline.',\n};\n",locationsMap:{"numbered-step-by-step":{startLoc:{col:34,line:52},endLoc:{col:81,line:52},startBody:{col:34,line:52},endBody:{col:81,line:52}},"regular-step-by-step":{startLoc:{col:33,line:59},endLoc:{col:67,line:59},startBody:{col:33,line:59},endBody:{col:67,line:59}}}}},component:StepByStep,title:"Components/StepByStep",args:{steps:[{title:"Step title",description:"Here you can describe the step in detail. Keep the text compact so the user gets the big picture of the whole process and its steps easily.",buttons:[{children:"Example button",href:"https://hel.fi"}]},{title:"Step title",description:"You can put text here.",links:[{children:"Example link",href:"https://hel.fi"}]},{title:"Step title",description:"You can put text here."},{title:"Step title",description:"You can put text here."},{title:"Step title",description:"You can put text here."}]},argTypes:{title:{control:{type:"string"}},steps:{control:{type:"string"}},helpText:{control:{type:"string"}}}};var NumberedStepByStep=function NumberedStepByStep(args){return(0,jsx_runtime.jsx)(StepByStep,(0,objectSpread2.Z)({numberedList:!0},args))};NumberedStepByStep.args={title:"Numbered step by step component",helpText:"Numbered component is suitable for cases where the order of the steps is important."};var RegularStepByStep=function RegularStepByStep(args){return(0,jsx_runtime.jsx)(StepByStep,(0,objectSpread2.Z)({},args))};RegularStepByStep.args={title:"Numbered step by step component",helpText:"Use the unnumbered list when the order of the steps is less important and they form more of a guideline."},NumberedStepByStep.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => "}},NumberedStepByStep.parameters),RegularStepByStep.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => "}},RegularStepByStep.parameters);try{NumberedStepByStep.displayName="NumberedStepByStep",NumberedStepByStep.__docgenInfo={description:"",displayName:"NumberedStepByStep",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/stepByStep/StepByStep.stories.tsx#NumberedStepByStep"]={docgenInfo:NumberedStepByStep.__docgenInfo,name:"NumberedStepByStep",path:"src/components/stepByStep/StepByStep.stories.tsx#NumberedStepByStep"})}catch(__react_docgen_typescript_loader_error){}try{RegularStepByStep.displayName="RegularStepByStep",RegularStepByStep.__docgenInfo={description:"",displayName:"RegularStepByStep",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/stepByStep/StepByStep.stories.tsx#RegularStepByStep"]={docgenInfo:RegularStepByStep.__docgenInfo,name:"RegularStepByStep",path:"src/components/stepByStep/StepByStep.stories.tsx#RegularStepByStep"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/stepper/Stepper.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Default:()=>Default,Overflow:()=>Overflow,Playground:()=>Playground,SimpleFormExample:()=>SimpleFormExample,Small:()=>Small,States:()=>States,WithCustomTheme:()=>WithCustomTheme,WithStepHeading:()=>WithStepHeading,default:()=>Stepper_stories});var defineProperty=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/defineProperty.js"),objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),slicedToArray=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react=__webpack_require__("../../node_modules/react/index.js");__webpack_require__("./src/styles/base.css");const Stepper_module_scrollButton="Stepper_scrollButton__R5+Vd",Stepper_module_step="Stepper_step__aaImD",Stepper_module_stepperContainer="Stepper_stepperContainer__Vib9w",Stepper_module_stepper="Stepper_stepper__6PjVh",Stepper_module_small="Stepper_small__URzJT",Stepper_module_stepContainer="Stepper_stepContainer__KBCl1",Stepper_module_label="Stepper_label__vlPbJ",Stepper_module_disabled="Stepper_disabled__FutYN",Stepper_module_circle="Stepper_circle__DrdoP",Stepper_module_selected="Stepper_selected__ydRxc",Stepper_module_completedContainer="Stepper_completedContainer__B0hu+",Stepper_module_completedIcon="Stepper_completedIcon__aaXAh",Stepper_module_number="Stepper_number__+nw6j",Stepper_module_circleContainer="Stepper_circleContainer__9kuPp",Stepper_module_line="Stepper_line__Bs+Y9",Stepper_module_disabledLine="Stepper_disabledLine__kt7YZ",Stepper_module_enabledLine="Stepper_enabledLine__uHDOS",Stepper_module_heading="Stepper_heading__TTXb1 helpers_heading-l__ZCbCh",Stepper_module_scrollButtonPrevious="Stepper_scrollButtonPrevious__QYWLi",Stepper_module_scrollButtonNext="Stepper_scrollButtonNext__EZSBx";var objectWithoutProperties=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),IconCheck=__webpack_require__("./src/icons/IconCheck.tsx"),IconError=__webpack_require__("./src/icons/IconError.tsx"),IconPlaybackPause=__webpack_require__("./src/icons/IconPlaybackPause.tsx"),classNames=__webpack_require__("./src/utils/classNames.ts"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),_excluded=["label","language","index","renderCustomStepCountLabel","small","state","selected","stepsTotal","renderCustomStateAriaLabel","onStepClick","dataTestId"],StepState=function(StepState){return StepState[StepState.available=0]="available",StepState[StepState.completed=1]="completed",StepState[StepState.disabled=2]="disabled",StepState[StepState.attention=3]="attention",StepState[StepState.paused=4]="paused",StepState}({}),states={available:{fi:"Valittavissa.",en:"Available.",sv:"Valbar."},completed:{fi:"Valmis.",en:"Completed.",sv:"Komplett."},attention:{fi:"Vaatii huomiota.",en:"Needs attention.",sv:"Behöver uppmärksamhet."},paused:{fi:"Keskeytetty.",en:"Paused.",sv:"Pausad."}},Step=react.forwardRef((function(_ref,ref){var label=_ref.label,_ref$language=_ref.language,language=void 0===_ref$language?"fi":_ref$language,index=_ref.index,renderCustomStepCountLabel=_ref.renderCustomStepCountLabel,_ref$small=_ref.small,small=void 0!==_ref$small&&_ref$small,state=_ref.state,selected=_ref.selected,stepsTotal=_ref.stepsTotal,renderCustomStateAriaLabel=_ref.renderCustomStateAriaLabel,onStepClick=_ref.onStepClick,dataTestId=_ref.dataTestId,rest=(0,objectWithoutProperties.Z)(_ref,_excluded);return(0,jsx_runtime.jsx)("div",{className:Stepper_module_stepContainer,children:(0,jsx_runtime.jsxs)("button",(0,objectSpread2.Z)((0,objectSpread2.Z)({ref,type:"button",disabled:state===StepState.disabled,className:(0,classNames.Z)(Stepper_module_step,selected&&Stepper_module_selected,state===StepState.disabled&&Stepper_module_disabled),"aria-current":!!selected&&"step","aria-label":function composeAriaLabel(){var stepCountLabel=renderCustomStepCountLabel?renderCustomStepCountLabel(index,stepsTotal):function getStepCountLabel(language,stepIndex,totalNumberOfSteps){return{en:"Step ".concat(stepIndex+1,"/").concat(totalNumberOfSteps,"."),fi:"Vaihe ".concat(stepIndex+1,"/").concat(totalNumberOfSteps,"."),sv:"Steg ".concat(stepIndex+1,"/").concat(totalNumberOfSteps,".")}[language]}(language,index,stepsTotal),stateAriaLabel=renderCustomStateAriaLabel?renderCustomStateAriaLabel(index,state):function getStepState(language,state){return state===StepState.disabled?"":states[StepState[state]][language]}(language,state);selected&&state===StepState.available&&(stateAriaLabel="");var labelWithPeriod=label;return"."!==labelWithPeriod.slice(-1)&&(labelWithPeriod+="."),[labelWithPeriod,stepCountLabel,stateAriaLabel].filter((function(lbl){return lbl})).join(" ")}(),onClick:function onClick(e){return onStepClick&&onStepClick(e,index)},"data-testid":dataTestId},rest),{},{children:[(0,jsx_runtime.jsx)("div",{className:Stepper_module_circleContainer,children:state!==StepState.completed||selected?(0,jsx_runtime.jsxs)("div",{className:(0,classNames.Z)(Stepper_module_circle),children:[state===StepState.attention&&(0,jsx_runtime.jsx)(IconError.IconError,{size:"xs","aria-hidden":!0}),state===StepState.paused&&(0,jsx_runtime.jsx)(IconPlaybackPause.IconPlaybackPause,{size:"xs","aria-hidden":!0}),(state===StepState.available||state===StepState.disabled||state===StepState.completed&&selected)&&(0,jsx_runtime.jsx)("span",{className:Stepper_module_number,children:index+1})]}):(0,jsx_runtime.jsx)("div",{className:Stepper_module_completedContainer,children:(0,jsx_runtime.jsx)(IconCheck.IconCheck,{className:Stepper_module_completedIcon,"aria-hidden":!0})})}),!small&&(0,jsx_runtime.jsx)("p",{className:Stepper_module_label,children:label})]}))})}));try{Step.displayName="Step",Step.__docgenInfo={description:"",displayName:"Step",props:{dataTestId:{defaultValue:null,description:"Data test id of step",name:"dataTestId",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"The label of the step",name:"label",required:!0,type:{name:"string"}},language:{defaultValue:{value:"fi"},description:"The language of the step",name:"language",required:!1,type:{name:"string"}},index:{defaultValue:null,description:"The index of the step",name:"index",required:!0,type:{name:"number"}},onStepClick:{defaultValue:null,description:"A callback function for custom action on step click",name:"onStepClick",required:!1,type:{name:"(event: MouseEvent, stepIndex: number) => void"}},renderCustomStateAriaLabel:{defaultValue:null,description:"A function for rendering a custom aria-label for step's state",name:"renderCustomStateAriaLabel",required:!1,type:{name:"(stepIndex: number, state: StepState) => string"}},renderCustomStepCountLabel:{defaultValue:null,description:"A function for rendering a custom step count label",name:"renderCustomStepCountLabel",required:!1,type:{name:"(stepIndex: number, totalNumberOfSteps: number) => string"}},selected:{defaultValue:null,description:"A boolean indicating whether step is in selected state",name:"selected",required:!1,type:{name:"boolean"}},small:{defaultValue:{value:"false"},description:"A boolean indicating whether small variant is used",name:"small",required:!1,type:{name:"boolean"}},state:{defaultValue:null,description:"The state of the step",name:"state",required:!0,type:{name:"enum",value:[{value:"0"},{value:"1"},{value:"2"},{value:"3"},{value:"4"}]}},stepsTotal:{defaultValue:null,description:"The total number of steps",name:"stepsTotal",required:!0,type:{name:"number"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/stepper/Step.tsx#Step"]={docgenInfo:Step.__docgenInfo,name:"Step",path:"src/components/stepper/Step.tsx#Step"})}catch(__react_docgen_typescript_loader_error){}var IconAngleLeft=__webpack_require__("./src/icons/IconAngleLeft.tsx"),IconAngleRight=__webpack_require__("./src/icons/IconAngleRight.tsx"),useTheme=__webpack_require__("./src/hooks/useTheme.tsx"),getStepHeading=function getStepHeading(language,stepIndex,totalNumberOfSteps,label){return{en:"Step ".concat(stepIndex+1,"/").concat(totalNumberOfSteps,": ").concat(label),fi:"Vaihe ".concat(stepIndex+1,"/").concat(totalNumberOfSteps,": ").concat(label),sv:"Steg ".concat(stepIndex+1,"/").concat(totalNumberOfSteps,": ").concat(label)}[language]},Stepper=function Stepper(_ref){var className=_ref.className,_ref$language=_ref.language,language=void 0===_ref$language?"fi":_ref$language,selectedStep=_ref.selectedStep,_ref$small=_ref.small,small=void 0!==_ref$small&&_ref$small,renderCustomStepCountLabel=_ref.renderCustomStepCountLabel,renderCustomStateAriaLabel=_ref.renderCustomStateAriaLabel,_onStepClick=_ref.onStepClick,stepHeading=_ref.stepHeading,_ref$stepHeadingAriaL=_ref.stepHeadingAriaLevel,stepHeadingAriaLevel=void 0===_ref$stepHeadingAriaL?2:_ref$stepHeadingAriaL,headingClassName=_ref.headingClassName,_ref$dataTestId=_ref.dataTestId,dataTestId=void 0===_ref$dataTestId?"hds-stepper":_ref$dataTestId,renderCustomStepHeading=_ref.renderCustomStepHeading,steps=_ref.steps,theme=_ref.theme,stepsTotal=steps.length,initialRender=(0,react.useRef)(!0),stepHeadingRef=(0,react.useRef)(null),stepperRef=(0,react.useRef)(null),stepRefs=(0,react.useRef)([]),arrLength=steps.length,_useState=(0,react.useState)(!1),_useState2=(0,slicedToArray.Z)(_useState,2),showPreviousButton=_useState2[0],setShowPreviousButton=_useState2[1],_useState3=(0,react.useState)(!1),_useState4=(0,slicedToArray.Z)(_useState3,2),showNextButton=_useState4[0],setShowNextButton=_useState4[1],customThemeClass=(0,useTheme.F)(Stepper_module_stepperContainer,theme);return stepRefs.current.length!==arrLength&&(stepRefs.current=Array(arrLength).fill(0).map((function(_,index){return stepRefs.current[index]||(0,react.createRef)()}))),(0,react.useEffect)((function(){if(!initialRender.current){stepHeadingRef.current&&stepHeadingRef.current.focus();var hdsStepWidth=stepperRef.current.scrollWidth/stepsTotal;stepperRef.current.scrollLeft=hdsStepWidth*(selectedStep+1)-hdsStepWidth/2-stepperRef.current.parentNode.clientWidth/2}initialRender.current=!1,stepperRef.current.scrollLeft>5?setShowPreviousButton(!0):setShowPreviousButton(!1),stepperRef.current.scrollWidth-(stepperRef.current.parentNode.clientWidth+stepperRef.current.scrollLeft)>5?setShowNextButton(!0):setShowNextButton(!1)}),[selectedStep]),(0,jsx_runtime.jsxs)("div",{lang:language,className:(0,classNames.Z)(Stepper_module_stepperContainer,customThemeClass),"data-testid":dataTestId,children:[showPreviousButton&&(0,jsx_runtime.jsx)("div",{className:(0,classNames.Z)(Stepper_module_scrollButton,Stepper_module_scrollButtonPrevious),"aria-hidden":"true",children:(0,jsx_runtime.jsx)("button",{type:"button",onClick:function onClick(){var amountToScroll=stepperRef.current.scrollWidth/stepsTotal;stepperRef.current.scrollLeft-=amountToScroll},tabIndex:-1,children:(0,jsx_runtime.jsx)(IconAngleLeft.IconAngleLeft,{size:"m"})})}),showNextButton&&(0,jsx_runtime.jsx)("div",{className:(0,classNames.Z)(Stepper_module_scrollButton,Stepper_module_scrollButtonNext),"aria-hidden":"true",children:(0,jsx_runtime.jsx)("button",{type:"button",onClick:function onClick(){var amountToScroll=stepperRef.current.scrollWidth/stepsTotal;stepperRef.current.scrollLeft+=amountToScroll},tabIndex:-1,children:(0,jsx_runtime.jsx)(IconAngleRight.IconAngleRight,{size:"m"})})}),(0,jsx_runtime.jsxs)("div",{onScroll:function onScroll(e){e.target.scrollLeft&&e.target.scrollLeft>5?setShowPreviousButton(!0):setShowPreviousButton(!1),e.target.scrollWidth-(e.target.parentNode.clientWidth+e.target.scrollLeft)>5?setShowNextButton(!0):setShowNextButton(!1)},ref:stepperRef,className:(0,classNames.Z)(className,Stepper_module_stepper,small&&Stepper_module_small),children:[(0,jsx_runtime.jsx)("div",{className:Stepper_module_line,"aria-hidden":!0,style:{width:"max( calc(100% - var(--hds-step-width)), calc(".concat(stepsTotal," * var(--hds-step-width) - var(--hds-step-width) ))")},children:steps.map((function(step,index){return index===steps.length-1?null:(0,jsx_runtime.jsx)("div",{style:{width:"calc( 100% / ".concat(stepsTotal-1,")")},className:steps[index+1].state===StepState.disabled?Stepper_module_disabledLine:Stepper_module_enabledLine},"".concat(step.label,"-").concat(index))}))}),steps.map((function(step,index){return(0,jsx_runtime.jsx)(Step,{ref:stepRefs.current[index],label:step.label,language,index,small,stepsTotal,selected:selectedStep===index,state:step.state,onStepClick:function onStepClick(event,stepIndex){stepIndex===selectedStep&&stepHeading&&stepHeadingRef.current.focus(),_onStepClick(event,stepIndex)},renderCustomStepCountLabel,renderCustomStateAriaLabel,dataTestId:"".concat(dataTestId,"-step-").concat(index)},"".concat(index,"-").concat(step.label))}))]}),stepHeading&&(0,jsx_runtime.jsx)("div",{tabIndex:-1,ref:stepHeadingRef,role:"heading","aria-level":stepHeadingAriaLevel,className:(0,classNames.Z)(Stepper_module_heading,headingClassName),children:renderCustomStepHeading?renderCustomStepHeading(selectedStep,stepsTotal,steps[selectedStep].label):getStepHeading(language,selectedStep,stepsTotal,steps[selectedStep].label)})]})};try{Stepper.displayName="Stepper",Stepper.__docgenInfo={description:"",displayName:"Stepper",props:{className:{defaultValue:null,description:"A custom className passed to stepper",name:"className",required:!1,type:{name:"string"}},dataTestId:{defaultValue:{value:"hds-stepper"},description:"Data test id of stepper",name:"dataTestId",required:!1,type:{name:"string"}},headingClassName:{defaultValue:null,description:"A custom class name for step heading",name:"headingClassName",required:!1,type:{name:"string"}},language:{defaultValue:{value:"fi"},description:"The language of the stepper",name:"language",required:!1,type:{name:"string"}},onStepClick:{defaultValue:null,description:"A callback function for custom action on step click",name:"onStepClick",required:!1,type:{name:"(event: MouseEvent, stepIndex: number) => void"}},renderCustomStateAriaLabel:{defaultValue:null,description:"A function for rendering a custom aria-label for step's state",name:"renderCustomStateAriaLabel",required:!1,type:{name:"(stepIndex: number, state: StepState) => string"}},renderCustomStepCountLabel:{defaultValue:null,description:"A function for rendering a custom step count label",name:"renderCustomStepCountLabel",required:!1,type:{name:"(stepIndex: number, totalNumberOfSteps: number) => string"}},renderCustomStepHeading:{defaultValue:null,description:"A function for rendering a custom step heading",name:"renderCustomStepHeading",required:!1,type:{name:"(stepIndex: number, totalNumberOfSteps: number, label: string) => string"}},selectedStep:{defaultValue:null,description:'The index of the selected step. Used to set the aria-current="step" attribute to the active step',name:"selectedStep",required:!1,type:{name:"number"}},small:{defaultValue:{value:"false"},description:"Boolean indicating small variant usage",name:"small",required:!1,type:{name:"boolean"}},stepHeading:{defaultValue:null,description:"A boolean indicating step heading variant usage",name:"stepHeading",required:!1,type:{name:"boolean"}},stepHeadingAriaLevel:{defaultValue:{value:"2"},description:"Step heading aria level",name:"stepHeadingAriaLevel",required:!1,type:{name:"number"}},steps:{defaultValue:null,description:"The steps of the stepper",name:"steps",required:!0,type:{name:"Steps"}},theme:{defaultValue:null,description:"Custom theme",name:"theme",required:!1,type:{name:"StepperCustomTheme"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/stepper/Stepper.tsx#Stepper"]={docgenInfo:Stepper.__docgenInfo,name:"Stepper",path:"src/components/stepper/Stepper.tsx#Stepper"})}catch(__react_docgen_typescript_loader_error){}var Button=__webpack_require__("./src/components/button/Button.tsx"),IconArrowLeft=__webpack_require__("./src/icons/IconArrowLeft.tsx"),IconArrowRight=__webpack_require__("./src/icons/IconArrowRight.tsx"),TextInput=__webpack_require__("./src/components/textInput/TextInput.tsx"),NumberInput=__webpack_require__("./src/components/numberInput/NumberInput.tsx"),Card=__webpack_require__("./src/components/card/Card.tsx"),ErrorSummary=__webpack_require__("./src/components/errorSummary/ErrorSummary.tsx"),FileInput=__webpack_require__("./src/components/fileInput/FileInput.tsx");const Stepper_stories={component:Stepper,title:"Components/Stepper",decorators:[function(storyFn){return(0,jsx_runtime.jsx)("div",{style:{maxWidth:"700px"},children:storyFn()})}],parameters:{storySource:{source:"import React, { useReducer, useRef } from 'react';\n\nimport { Stepper } from './Stepper';\nimport styles from './Stepper.module.scss';\nimport { Step, StepState } from './Step';\nimport { Button } from '../button';\nimport { IconArrowLeft, IconArrowRight } from '../../icons';\nimport { TextInput } from '../textInput';\nimport { NumberInput } from '../numberInput';\nimport { Card } from '../card';\nimport { ErrorSummary } from '../errorSummary';\nimport { FileInput } from '../fileInput/FileInput';\n\nexport default {\n component: Stepper,\n title: 'Components/Stepper',\n decorators: [(storyFn) => {storyFn()}
],\n parameters: {\n controls: { expanded: true },\n backgrounds: {\n default: 'white',\n values: [\n {\n name: 'white',\n value: 'white',\n },\n {\n name: 'gray',\n value: '#e5e5e5',\n },\n ],\n },\n },\n args: {},\n};\n\nconst commonReducer = (stepsTotal) => (state, action) => {\n switch (action.type) {\n case 'completeStep': {\n const activeStepIndex = action.payload === stepsTotal - 1 ? stepsTotal - 1 : action.payload + 1;\n return {\n activeStepIndex,\n steps: state.steps.map((step, index) => {\n if (index === action.payload && index !== stepsTotal - 1) {\n // current one but not last one\n return {\n state: StepState.completed,\n label: step.label,\n };\n }\n if (index === action.payload + 1) {\n // next one\n return {\n state: StepState.available,\n label: step.label,\n };\n }\n return step;\n }),\n };\n }\n case 'setActive': {\n return {\n activeStepIndex: action.payload,\n steps: state.steps.map((step, index) => {\n if (index === action.payload) {\n return {\n state: StepState.available,\n label: step.label,\n };\n }\n return step;\n }),\n };\n }\n default:\n throw new Error();\n }\n};\n\n// args is required for docs tab to show source code\n\nexport const Default = (args) => {\n const reducer = commonReducer(5);\n\n const initialState = {\n activeStepIndex: 0,\n steps: [\n {\n label: 'Step 1',\n state: StepState.available,\n },\n {\n label: 'Step 2',\n state: StepState.disabled,\n },\n {\n label: 'Step 3',\n state: StepState.disabled,\n },\n {\n label: 'Step 4 - longer text',\n state: StepState.disabled,\n },\n {\n label: 'Step 5',\n state: StepState.disabled,\n },\n ],\n };\n\n const [state, dispatch] = useReducer(reducer, initialState);\n\n const lastStep = state.activeStepIndex === state.steps.length - 1;\n\n return (\n \n
dispatch({ type: 'setActive', payload: stepIndex })}\n />\n\n \n dispatch({ type: 'setActive', payload: state.activeStepIndex - 1 })}\n style={{ height: 'fit-content', width: 'fit-content' }}\n iconLeft={ }\n >\n Previous\n \n dispatch({ type: 'completeStep', payload: state.activeStepIndex })}\n style={{ height: 'fit-content', width: 'fit-content' }}\n iconRight={lastStep ? undefined : }\n >\n {lastStep ? 'Send' : 'Next'}\n \n
\n \n );\n};\n\nDefault.parameters = {\n docs: {\n source: { type: 'dynamic' },\n },\n};\n\n// args is required for docs tab to show source code\n\nexport const Small = (args) => {\n const reducer = commonReducer(5);\n\n const initialState = {\n activeStepIndex: 0,\n steps: [\n {\n label: 'Step 1',\n state: StepState.available,\n },\n {\n label: 'Step 2',\n state: StepState.disabled,\n },\n {\n label: 'Step 3',\n state: StepState.disabled,\n },\n {\n label: 'Step 4 - longer text',\n state: StepState.disabled,\n },\n {\n label: 'Step 5',\n state: StepState.disabled,\n },\n ],\n };\n\n const [state, dispatch] = useReducer(reducer, initialState);\n\n const lastStep = state.activeStepIndex === state.steps.length - 1;\n\n return (\n \n
dispatch({ type: 'setActive', payload: stepIndex })}\n />\n\n \n dispatch({ type: 'setActive', payload: state.activeStepIndex - 1 })}\n style={{ height: 'fit-content', width: 'fit-content' }}\n iconLeft={ }\n >\n Previous\n \n dispatch({ type: 'completeStep', payload: state.activeStepIndex })}\n style={{ height: 'fit-content', width: 'fit-content' }}\n iconRight={lastStep ? undefined : }\n >\n {lastStep ? 'Send' : 'Next'}\n \n
\n \n );\n};\n\n// args is required for docs tab to show source code\n\nexport const WithStepHeading = (args) => {\n const reducer = commonReducer(5);\n\n const initialState = {\n activeStepIndex: 0,\n steps: [\n {\n label: 'Step 1 - longer text',\n state: StepState.available,\n },\n {\n label: 'Step 2',\n state: StepState.disabled,\n },\n {\n label: 'Step 3',\n state: StepState.disabled,\n },\n {\n label: 'Step 4',\n state: StepState.disabled,\n },\n {\n label: 'Step 5',\n state: StepState.disabled,\n },\n ],\n };\n\n const [state, dispatch] = useReducer(reducer, initialState);\n\n const lastStep = state.activeStepIndex === state.steps.length - 1;\n\n return (\n \n
dispatch({ type: 'setActive', payload: stepIndex })}\n />\n\n \n dispatch({ type: 'setActive', payload: state.activeStepIndex - 1 })}\n style={{ height: 'fit-content', width: 'fit-content' }}\n iconLeft={ }\n >\n Previous\n \n dispatch({ type: 'completeStep', payload: state.activeStepIndex })}\n style={{ height: 'fit-content', width: 'fit-content' }}\n iconRight={lastStep ? undefined : }\n >\n {lastStep ? 'Send' : 'Next'}\n \n
\n \n );\n};\n\n// args is required for docs tab to show source code\n\nexport const Overflow = (args) => {\n const reducer = commonReducer(12);\n\n const initialState = {\n activeStepIndex: 0,\n steps: [\n {\n state: StepState.available,\n label: 'Step 1 - longer text',\n },\n {\n state: StepState.disabled,\n label: 'Step 2',\n },\n {\n state: StepState.disabled,\n label: 'Step 3',\n },\n {\n state: StepState.disabled,\n label: 'Step 4',\n },\n {\n state: StepState.disabled,\n label: 'Step 5',\n },\n {\n state: StepState.disabled,\n label: 'Step 6',\n },\n {\n state: StepState.disabled,\n label: 'Step 7',\n },\n {\n state: StepState.disabled,\n label: 'Step 8',\n },\n {\n state: StepState.disabled,\n label: 'Step 9',\n },\n {\n state: StepState.disabled,\n label: 'Step 10',\n },\n {\n state: StepState.disabled,\n label: 'Step 11',\n },\n {\n state: StepState.disabled,\n label: 'Step 12',\n },\n ],\n };\n\n const [state, dispatch] = useReducer(reducer, initialState);\n\n const lastStep = state.activeStepIndex === state.steps.length - 1;\n\n return (\n \n
dispatch({ type: 'setActive', payload: stepIndex })}\n />\n \n dispatch({ type: 'setActive', payload: state.activeStepIndex - 1 })}\n style={{ height: 'fit-content', width: 'fit-content' }}\n iconLeft={ }\n >\n Previous\n \n dispatch({ type: 'completeStep', payload: state.activeStepIndex })}\n style={{ height: 'fit-content', width: 'fit-content' }}\n iconRight={lastStep ? undefined : }\n >\n {lastStep ? 'Send' : 'Next'}\n \n
\n \n );\n};\n\n// args is required for docs tab to show source code\n\nexport const WithCustomTheme = (args) => {\n const reducer = commonReducer(5);\n\n const initialState = {\n activeStepIndex: 0,\n steps: [\n {\n label: 'Step 1 - longer text',\n state: StepState.available,\n },\n {\n label: 'Step 2',\n state: StepState.disabled,\n },\n {\n label: 'Step 3',\n state: StepState.disabled,\n },\n {\n label: 'Step 4',\n state: StepState.disabled,\n },\n {\n label: 'Step 5',\n state: StepState.disabled,\n },\n ],\n };\n\n const [state, dispatch] = useReducer(reducer, initialState);\n\n const lastStep = state.activeStepIndex === state.steps.length - 1;\n\n const theme = {\n '--hds-stepper-color': 'var(--color-black-90)',\n '--hds-step-content-color': 'var(--color-black-90)',\n '--hds-stepper-background-color': 'var(--color-black-10)',\n '--hds-step-background-color': 'var(--color-black-5)',\n '--hds-stepper-focus-border-color': 'var(--color-black-90)',\n '--hds-stepper-disabled-color': 'var(--color-black-30)',\n '--hds-not-selected-step-label-color': 'var(--color-black-90)',\n };\n\n return (\n \n
dispatch({ type: 'setActive', payload: stepIndex })}\n />\n \n dispatch({ type: 'setActive', payload: state.activeStepIndex - 1 })}\n style={{ height: 'fit-content', width: 'fit-content' }}\n iconLeft={ }\n >\n Previous\n \n dispatch({ type: 'completeStep', payload: state.activeStepIndex })}\n style={{ height: 'fit-content', width: 'fit-content' }}\n iconRight={lastStep ? undefined : }\n >\n {lastStep ? 'Send' : 'Next'}\n \n
\n \n );\n};\n\nWithCustomTheme.parameters = {\n backgrounds: { default: 'gray' },\n};\n\n// args is required for docs tab to show source code\n\nexport const SimpleFormExample = (args) => {\n const initialState = {\n showErrorSummary: false,\n activeStepIndex: 0,\n steps: [\n {\n state: StepState.available,\n label: 'First name',\n },\n {\n state: StepState.disabled,\n label: 'Last name',\n },\n {\n state: StepState.disabled,\n label: 'Age',\n },\n {\n state: StepState.disabled,\n label: 'Files',\n },\n {\n state: StepState.disabled,\n label: 'Review and send',\n },\n ],\n fields: {\n firstName: {\n value: '',\n visited: false,\n },\n lastName: {\n value: '',\n visited: false,\n },\n age: {\n value: undefined,\n visited: false,\n },\n files: {\n value: null,\n visited: false,\n },\n },\n };\n const lastStep = initialState.steps.length - 1;\n\n const activeStepIsValid = (state) => {\n if (state.activeStepIndex === 0) {\n // first name\n return state.fields.firstName.value && state.fields.firstName.value.length > 0;\n }\n if (state.activeStepIndex === 1) {\n // last name\n return state.fields.lastName.value && state.fields.lastName.value.length > 0;\n }\n\n if (state.activeStepIndex === 2) {\n // age\n return state.fields.age.value && state.fields.age.value.length > 0;\n }\n\n if (state.activeStepIndex === 3) {\n // files\n return state.fields.files.value && state.fields.files.value.length > 0;\n }\n\n return state.activeStepIndex === 4;\n };\n\n const weAreInLastAvailableStep = (state) => {\n let indexOfLastNonDisabledStep = 0;\n state.steps.forEach((step, index) => {\n if (step.state !== StepState.disabled && index > indexOfLastNonDisabledStep) {\n indexOfLastNonDisabledStep = index;\n }\n });\n\n return state.activeStepIndex === indexOfLastNonDisabledStep;\n };\n\n const reducer = (state, action) => {\n switch (action.type) {\n case 'changeField': {\n if (action.newValue.length === 0) {\n return {\n showErrorSummary: state.showErrorSummary,\n activeStepIndex: state.activeStepIndex,\n steps: state.steps,\n fields: {\n ...state.fields,\n [action.fieldName]: {\n value: action.newValue,\n visited: true,\n },\n },\n };\n }\n\n return {\n showErrorSummary: false,\n activeStepIndex: state.activeStepIndex,\n steps: state.steps.map((step, index) => {\n if (index === state.activeStepIndex) {\n return {\n state: StepState.completed,\n label: step.label,\n };\n }\n return step;\n }),\n fields: {\n ...state.fields,\n [action.fieldName]: {\n value: action.newValue,\n visited: true,\n },\n },\n };\n }\n case 'completeStep': {\n if (!activeStepIsValid(state)) {\n return {\n showErrorSummary: true,\n activeStepIndex: state.activeStepIndex,\n steps: state.steps,\n fields: {\n ...state.fields,\n },\n };\n }\n const activeStepIndex = action.payload === lastStep ? lastStep : action.payload + 1;\n return {\n showErrorSummary: state.showErrorSummary,\n activeStepIndex,\n steps: state.steps.map((step, index) => {\n if (index === action.payload && index !== lastStep) {\n // current one but not last one\n return {\n state: StepState.completed,\n label: step.label,\n };\n }\n if (index === action.payload + 1) {\n // next one\n return {\n state: StepState.available,\n label: step.label,\n };\n }\n return step;\n }),\n fields: {\n ...state.fields,\n },\n };\n }\n case 'setActive': {\n if (!activeStepIsValid(state) && !weAreInLastAvailableStep(state)) {\n return {\n showErrorSummary: true,\n activeStepIndex: state.activeStepIndex,\n steps: state.steps,\n fields: {\n ...state.fields,\n },\n };\n }\n\n return {\n showErrorSummary: false,\n activeStepIndex: action.payload,\n steps: state.steps.map((step, index) => {\n if (index === action.payload) {\n return {\n state: StepState.available,\n label: step.label,\n };\n }\n if (index === state.activeStepIndex && activeStepIsValid(state)) {\n return {\n state: StepState.completed,\n label: step.label,\n };\n }\n return step;\n }),\n fields: {\n ...state.fields,\n },\n };\n }\n default:\n throw new Error();\n }\n };\n\n const [state, dispatch] = useReducer(reducer, initialState);\n\n const isLastStep = state.activeStepIndex === state.steps.length - 1;\n const errorRef = useRef(null);\n\n return (\n \n );\n};\n\n// args is required for docs tab to show source code\n\nexport const States = (args) => {\n return (\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n );\n};\n\nexport const Playground = (args) => {\n const reducer = commonReducer(5);\n\n const [state, dispatch] = useReducer(reducer, {\n activeStepIndex: args.activeStepIndex,\n steps: [\n {\n label: 'Step 1',\n state: StepState.available,\n },\n {\n label: 'Step 2',\n state: StepState.disabled,\n },\n {\n label: 'Step 3',\n state: StepState.disabled,\n },\n {\n label: 'Step 4',\n state: StepState.disabled,\n },\n {\n label: 'Step 5',\n state: StepState.disabled,\n },\n ],\n });\n\n const lastStep = state.activeStepIndex === state.steps.length - 1;\n\n const theme = {\n '--hds-stepper-color': args.stepperColor,\n '--hds-step-content-color': args.stepperContentColor,\n '--hds-stepper-background-color': args.stepperBackgroundColor,\n '--hds-stepper-focus-border-color': args.stepperFocusBorderColor,\n '--hds-stepper-disabled-color': args.stepperDisabledColor,\n '--hds-step-background-color': args.stepBackgroundColor,\n '--hds-not-selected-step-label-color': args.notSelectedStepLabelColor,\n };\n\n return (\n \n
dispatch({ type: 'setActive', payload: stepIndex })}\n />\n \n dispatch({ type: 'setActive', payload: state.activeStepIndex - 1 })}\n style={{ height: 'fit-content', width: 'fit-content' }}\n iconLeft={ }\n >\n Previous\n \n dispatch({ type: 'completeStep', payload: state.activeStepIndex })}\n style={{ height: 'fit-content', width: 'fit-content' }}\n iconRight={lastStep ? undefined : }\n >\n {lastStep ? 'Send' : 'Next'}\n \n
\n \n );\n};\n\nPlayground.parameters = {\n loki: { skip: true },\n};\n\nPlayground.args = {\n stepperColor: '#0000bf',\n stepperContentColor: '#0000bf',\n stepperBackgroundColor: '#ffffff',\n stepperFocusBorderColor: '#0072c6',\n stepperDisabledColor: '#cccccc',\n stepBackgroundColor: '#ffffff',\n notSelectedStepLabelColor: '#0000bf',\n small: false,\n stepHeading: false,\n activeStepIndex: 0,\n};\n\nPlayground.argTypes = {\n stepperColor: { control: { type: 'color' } },\n stepperContentColor: { control: { type: 'color' } },\n stepperBackgroundColor: { control: { type: 'color' } },\n stepperFocusBorderColor: { control: { type: 'color' } },\n stepperDisabledColor: { control: { type: 'color' } },\n stepBackgroundColor: { control: { type: 'color' } },\n notSelectedStepLabelColor: { control: { type: 'color' } },\n activeStepIndex: { control: { type: 'number', min: 0, max: 4, step: 1 } },\n};\n",locationsMap:{default:{startLoc:{col:23,line:83},endLoc:{col:1,line:155},startBody:{col:23,line:83},endBody:{col:1,line:155}},small:{startLoc:{col:21,line:165},endLoc:{col:1,line:237},startBody:{col:21,line:165},endBody:{col:1,line:237}},"with-step-heading":{startLoc:{col:31,line:241},endLoc:{col:1,line:315},startBody:{col:31,line:241},endBody:{col:1,line:315}},overflow:{startLoc:{col:24,line:319},endLoc:{col:1,line:418},startBody:{col:24,line:319},endBody:{col:1,line:418}},"with-custom-theme":{startLoc:{col:31,line:422},endLoc:{col:1,line:506},startBody:{col:31,line:422},endBody:{col:1,line:506}},"simple-form-example":{startLoc:{col:33,line:514},endLoc:{col:1,line:891},startBody:{col:33,line:514},endBody:{col:1,line:891}},states:{startLoc:{col:22,line:895},endLoc:{col:1,line:938},startBody:{col:22,line:895},endBody:{col:1,line:938}},playground:{startLoc:{col:26,line:940},endLoc:{col:1,line:1024},startBody:{col:26,line:940},endBody:{col:1,line:1024}}}},controls:{expanded:!0},backgrounds:{default:"white",values:[{name:"white",value:"white"},{name:"gray",value:"#e5e5e5"}]}},args:{}};var commonReducer=function commonReducer(stepsTotal){return function(state,action){switch(action.type){case"completeStep":return{activeStepIndex:action.payload===stepsTotal-1?stepsTotal-1:action.payload+1,steps:state.steps.map((function(step,index){return index===action.payload&&index!==stepsTotal-1?{state:StepState.completed,label:step.label}:index===action.payload+1?{state:StepState.available,label:step.label}:step}))};case"setActive":return{activeStepIndex:action.payload,steps:state.steps.map((function(step,index){return index===action.payload?{state:StepState.available,label:step.label}:step}))};default:throw new Error}}},Default=function Default(args){var reducer=commonReducer(5),initialState={activeStepIndex:0,steps:[{label:"Step 1",state:StepState.available},{label:"Step 2",state:StepState.disabled},{label:"Step 3",state:StepState.disabled},{label:"Step 4 - longer text",state:StepState.disabled},{label:"Step 5",state:StepState.disabled}]},_useReducer=(0,react.useReducer)(reducer,initialState),_useReducer2=(0,slicedToArray.Z)(_useReducer,2),state=_useReducer2[0],dispatch=_useReducer2[1],lastStep=state.activeStepIndex===state.steps.length-1;return(0,jsx_runtime.jsxs)("div",{children:[(0,jsx_runtime.jsx)(Stepper,{className:"stepper-margin",steps:state.steps,language:"en",selectedStep:state.activeStepIndex,onStepClick:function onStepClick(event,stepIndex){return dispatch({type:"setActive",payload:stepIndex})}}),(0,jsx_runtime.jsxs)("div",{style:{height:"300px",display:"flex",justifyContent:"flex-start",alignItems:"flex-end",gap:"24px"},children:[(0,jsx_runtime.jsx)(Button.z,{disabled:0===state.activeStepIndex,variant:"secondary",onClick:function onClick(){return dispatch({type:"setActive",payload:state.activeStepIndex-1})},style:{height:"fit-content",width:"fit-content"},iconLeft:(0,jsx_runtime.jsx)(IconArrowLeft.IconArrowLeft,{}),children:"Previous"}),(0,jsx_runtime.jsx)(Button.z,{variant:lastStep?"primary":"secondary",onClick:function onClick(){return dispatch({type:"completeStep",payload:state.activeStepIndex})},style:{height:"fit-content",width:"fit-content"},iconRight:lastStep?void 0:(0,jsx_runtime.jsx)(IconArrowRight.IconArrowRight,{}),children:lastStep?"Send":"Next"})]})]})};Default.parameters={docs:{source:{type:"dynamic"}}};var Small=function Small(args){var reducer=commonReducer(5),initialState={activeStepIndex:0,steps:[{label:"Step 1",state:StepState.available},{label:"Step 2",state:StepState.disabled},{label:"Step 3",state:StepState.disabled},{label:"Step 4 - longer text",state:StepState.disabled},{label:"Step 5",state:StepState.disabled}]},_useReducer3=(0,react.useReducer)(reducer,initialState),_useReducer4=(0,slicedToArray.Z)(_useReducer3,2),state=_useReducer4[0],dispatch=_useReducer4[1],lastStep=state.activeStepIndex===state.steps.length-1;return(0,jsx_runtime.jsxs)("div",{className:"stepper-small",children:[(0,jsx_runtime.jsx)(Stepper,{steps:state.steps,language:"en",small:!0,selectedStep:state.activeStepIndex,onStepClick:function onStepClick(event,stepIndex){return dispatch({type:"setActive",payload:stepIndex})}}),(0,jsx_runtime.jsxs)("div",{style:{height:"300px",display:"flex",justifyContent:"flex-start",alignItems:"flex-end",gap:"24px"},children:[(0,jsx_runtime.jsx)(Button.z,{disabled:0===state.activeStepIndex,variant:"secondary",onClick:function onClick(){return dispatch({type:"setActive",payload:state.activeStepIndex-1})},style:{height:"fit-content",width:"fit-content"},iconLeft:(0,jsx_runtime.jsx)(IconArrowLeft.IconArrowLeft,{}),children:"Previous"}),(0,jsx_runtime.jsx)(Button.z,{variant:lastStep?"primary":"secondary",onClick:function onClick(){return dispatch({type:"completeStep",payload:state.activeStepIndex})},style:{height:"fit-content",width:"fit-content"},iconRight:lastStep?void 0:(0,jsx_runtime.jsx)(IconArrowRight.IconArrowRight,{}),children:lastStep?"Send":"Next"})]})]})},WithStepHeading=function WithStepHeading(args){var reducer=commonReducer(5),initialState={activeStepIndex:0,steps:[{label:"Step 1 - longer text",state:StepState.available},{label:"Step 2",state:StepState.disabled},{label:"Step 3",state:StepState.disabled},{label:"Step 4",state:StepState.disabled},{label:"Step 5",state:StepState.disabled}]},_useReducer5=(0,react.useReducer)(reducer,initialState),_useReducer6=(0,slicedToArray.Z)(_useReducer5,2),state=_useReducer6[0],dispatch=_useReducer6[1],lastStep=state.activeStepIndex===state.steps.length-1;return(0,jsx_runtime.jsxs)("div",{children:[(0,jsx_runtime.jsx)(Stepper,{headingClassName:"stepper-heading",steps:state.steps,language:"en",stepHeading:!0,selectedStep:state.activeStepIndex,onStepClick:function onStepClick(event,stepIndex){return dispatch({type:"setActive",payload:stepIndex})}}),(0,jsx_runtime.jsxs)("div",{style:{height:"300px",display:"flex",justifyContent:"flex-start",alignItems:"flex-end",gap:"24px",marginLeft:"10px"},children:[(0,jsx_runtime.jsx)(Button.z,{disabled:0===state.activeStepIndex,variant:"secondary",onClick:function onClick(){return dispatch({type:"setActive",payload:state.activeStepIndex-1})},style:{height:"fit-content",width:"fit-content"},iconLeft:(0,jsx_runtime.jsx)(IconArrowLeft.IconArrowLeft,{}),children:"Previous"}),(0,jsx_runtime.jsx)(Button.z,{variant:lastStep?"primary":"secondary",onClick:function onClick(){return dispatch({type:"completeStep",payload:state.activeStepIndex})},style:{height:"fit-content",width:"fit-content"},iconRight:lastStep?void 0:(0,jsx_runtime.jsx)(IconArrowRight.IconArrowRight,{}),children:lastStep?"Send":"Next"})]})]})},Overflow=function Overflow(args){var reducer=commonReducer(12),initialState={activeStepIndex:0,steps:[{state:StepState.available,label:"Step 1 - longer text"},{state:StepState.disabled,label:"Step 2"},{state:StepState.disabled,label:"Step 3"},{state:StepState.disabled,label:"Step 4"},{state:StepState.disabled,label:"Step 5"},{state:StepState.disabled,label:"Step 6"},{state:StepState.disabled,label:"Step 7"},{state:StepState.disabled,label:"Step 8"},{state:StepState.disabled,label:"Step 9"},{state:StepState.disabled,label:"Step 10"},{state:StepState.disabled,label:"Step 11"},{state:StepState.disabled,label:"Step 12"}]},_useReducer7=(0,react.useReducer)(reducer,initialState),_useReducer8=(0,slicedToArray.Z)(_useReducer7,2),state=_useReducer8[0],dispatch=_useReducer8[1],lastStep=state.activeStepIndex===state.steps.length-1;return(0,jsx_runtime.jsxs)("div",{style:{maxWidth:"400px"},children:[(0,jsx_runtime.jsx)(Stepper,{steps:state.steps,language:"en",selectedStep:state.activeStepIndex,onStepClick:function onStepClick(event,stepIndex){return dispatch({type:"setActive",payload:stepIndex})}}),(0,jsx_runtime.jsxs)("div",{style:{height:"300px",display:"flex",justifyContent:"flex-start",alignItems:"flex-end",gap:"24px",marginLeft:"10px"},children:[(0,jsx_runtime.jsx)(Button.z,{disabled:0===state.activeStepIndex,variant:"secondary",onClick:function onClick(){return dispatch({type:"setActive",payload:state.activeStepIndex-1})},style:{height:"fit-content",width:"fit-content"},iconLeft:(0,jsx_runtime.jsx)(IconArrowLeft.IconArrowLeft,{}),children:"Previous"}),(0,jsx_runtime.jsx)(Button.z,{variant:lastStep?"primary":"secondary",onClick:function onClick(){return dispatch({type:"completeStep",payload:state.activeStepIndex})},style:{height:"fit-content",width:"fit-content"},iconRight:lastStep?void 0:(0,jsx_runtime.jsx)(IconArrowRight.IconArrowRight,{}),children:lastStep?"Send":"Next"})]})]})},WithCustomTheme=function WithCustomTheme(args){var reducer=commonReducer(5),initialState={activeStepIndex:0,steps:[{label:"Step 1 - longer text",state:StepState.available},{label:"Step 2",state:StepState.disabled},{label:"Step 3",state:StepState.disabled},{label:"Step 4",state:StepState.disabled},{label:"Step 5",state:StepState.disabled}]},_useReducer9=(0,react.useReducer)(reducer,initialState),_useReducer10=(0,slicedToArray.Z)(_useReducer9,2),state=_useReducer10[0],dispatch=_useReducer10[1],lastStep=state.activeStepIndex===state.steps.length-1;return(0,jsx_runtime.jsxs)("div",{style:{backgroundColor:"var(--color-black-10)"},children:[(0,jsx_runtime.jsx)(Stepper,{theme:{"--hds-stepper-color":"var(--color-black-90)","--hds-step-content-color":"var(--color-black-90)","--hds-stepper-background-color":"var(--color-black-10)","--hds-step-background-color":"var(--color-black-5)","--hds-stepper-focus-border-color":"var(--color-black-90)","--hds-stepper-disabled-color":"var(--color-black-30)","--hds-not-selected-step-label-color":"var(--color-black-90)"},steps:state.steps,language:"en",selectedStep:state.activeStepIndex,onStepClick:function onStepClick(event,stepIndex){return dispatch({type:"setActive",payload:stepIndex})}}),(0,jsx_runtime.jsxs)("div",{style:{height:"300px",display:"flex",justifyContent:"flex-start",alignItems:"flex-end",gap:"24px",marginLeft:"10px"},children:[(0,jsx_runtime.jsx)(Button.z,{theme:"black",disabled:0===state.activeStepIndex,variant:"secondary",onClick:function onClick(){return dispatch({type:"setActive",payload:state.activeStepIndex-1})},style:{height:"fit-content",width:"fit-content"},iconLeft:(0,jsx_runtime.jsx)(IconArrowLeft.IconArrowLeft,{}),children:"Previous"}),(0,jsx_runtime.jsx)(Button.z,{theme:"black",variant:lastStep?"primary":"secondary",onClick:function onClick(){return dispatch({type:"completeStep",payload:state.activeStepIndex})},style:{height:"fit-content",width:"fit-content"},iconRight:lastStep?void 0:(0,jsx_runtime.jsx)(IconArrowRight.IconArrowRight,{}),children:lastStep?"Send":"Next"})]})]})};WithCustomTheme.parameters={backgrounds:{default:"gray"}};var SimpleFormExample=function SimpleFormExample(args){var initialState={showErrorSummary:!1,activeStepIndex:0,steps:[{state:StepState.available,label:"First name"},{state:StepState.disabled,label:"Last name"},{state:StepState.disabled,label:"Age"},{state:StepState.disabled,label:"Files"},{state:StepState.disabled,label:"Review and send"}],fields:{firstName:{value:"",visited:!1},lastName:{value:"",visited:!1},age:{value:void 0,visited:!1},files:{value:null,visited:!1}}},lastStep=initialState.steps.length-1,activeStepIsValid=function activeStepIsValid(state){return 0===state.activeStepIndex?state.fields.firstName.value&&state.fields.firstName.value.length>0:1===state.activeStepIndex?state.fields.lastName.value&&state.fields.lastName.value.length>0:2===state.activeStepIndex?state.fields.age.value&&state.fields.age.value.length>0:3===state.activeStepIndex?state.fields.files.value&&state.fields.files.value.length>0:4===state.activeStepIndex},_useReducer11=(0,react.useReducer)((function reducer(state,action){switch(action.type){case"changeField":return 0===action.newValue.length?{showErrorSummary:state.showErrorSummary,activeStepIndex:state.activeStepIndex,steps:state.steps,fields:(0,objectSpread2.Z)((0,objectSpread2.Z)({},state.fields),{},(0,defineProperty.Z)({},action.fieldName,{value:action.newValue,visited:!0}))}:{showErrorSummary:!1,activeStepIndex:state.activeStepIndex,steps:state.steps.map((function(step,index){return index===state.activeStepIndex?{state:StepState.completed,label:step.label}:step})),fields:(0,objectSpread2.Z)((0,objectSpread2.Z)({},state.fields),{},(0,defineProperty.Z)({},action.fieldName,{value:action.newValue,visited:!0}))};case"completeStep":if(!activeStepIsValid(state))return{showErrorSummary:!0,activeStepIndex:state.activeStepIndex,steps:state.steps,fields:(0,objectSpread2.Z)({},state.fields)};var activeStepIndex=action.payload===lastStep?lastStep:action.payload+1;return{showErrorSummary:state.showErrorSummary,activeStepIndex,steps:state.steps.map((function(step,index){return index===action.payload&&index!==lastStep?{state:StepState.completed,label:step.label}:index===action.payload+1?{state:StepState.available,label:step.label}:step})),fields:(0,objectSpread2.Z)({},state.fields)};case"setActive":return activeStepIsValid(state)||function weAreInLastAvailableStep(state){var indexOfLastNonDisabledStep=0;return state.steps.forEach((function(step,index){step.state!==StepState.disabled&&index>indexOfLastNonDisabledStep&&(indexOfLastNonDisabledStep=index)})),state.activeStepIndex===indexOfLastNonDisabledStep}(state)?{showErrorSummary:!1,activeStepIndex:action.payload,steps:state.steps.map((function(step,index){return index===action.payload?{state:StepState.available,label:step.label}:index===state.activeStepIndex&&activeStepIsValid(state)?{state:StepState.completed,label:step.label}:step})),fields:(0,objectSpread2.Z)({},state.fields)}:{showErrorSummary:!0,activeStepIndex:state.activeStepIndex,steps:state.steps,fields:(0,objectSpread2.Z)({},state.fields)};default:throw new Error}}),initialState),_useReducer12=(0,slicedToArray.Z)(_useReducer11,2),state=_useReducer12[0],dispatch=_useReducer12[1],isLastStep=state.activeStepIndex===state.steps.length-1,errorRef=(0,react.useRef)(null);return(0,jsx_runtime.jsxs)("form",{children:[(0,jsx_runtime.jsx)("h1",{style:{marginTop:"0",fontSize:"52px",lineHeight:"62px"},children:"Simple form example"}),(0,jsx_runtime.jsx)(Stepper,{className:"stepper-form-validation",steps:state.steps,language:"en",stepHeading:!0,selectedStep:state.activeStepIndex,onStepClick:function onStepClick(event,stepIndex){state.showErrorSummary&&stepIndex!==state.activeStepIndex&&errorRef.current.children[0].children[0].focus(),dispatch({type:"setActive",payload:stepIndex})}}),state.showErrorSummary&&(0,jsx_runtime.jsx)("div",{style:{marginTop:"var(--spacing-l)"},children:(0,jsx_runtime.jsx)(ErrorSummary.X,{ref:errorRef,autofocus:!0,label:"Form contains following errors",children:(0,jsx_runtime.jsxs)("ul",{children:[0===state.activeStepIndex&&(0,jsx_runtime.jsxs)("li",{children:["Error 1: ",(0,jsx_runtime.jsx)("a",{href:"#firstName",children:"Please enter your first name"})]}),1===state.activeStepIndex&&(0,jsx_runtime.jsxs)("li",{children:["Error 1: ",(0,jsx_runtime.jsx)("a",{href:"#lastName",children:"Please enter your last name"})]}),2===state.activeStepIndex&&(0,jsx_runtime.jsxs)("li",{children:["Error 1: ",(0,jsx_runtime.jsx)("a",{href:"#age",children:"Please enter your age"})]}),3===state.activeStepIndex&&(0,jsx_runtime.jsxs)("li",{children:["Error 1: ",(0,jsx_runtime.jsx)("a",{href:"#files",children:"Please enter a file or files"})]})]})})}),[0,1,2,3].includes(state.activeStepIndex)&&(0,jsx_runtime.jsxs)("div",{children:[0===state.activeStepIndex&&(0,jsx_runtime.jsx)(TextInput.o,{style:{width:"300px",paddingTop:"var(--spacing-l)"},required:!0,id:"firstName",label:"First name",invalid:0===state.fields.firstName.value.length&&!0===state.fields.firstName.visited,errorText:0===state.fields.firstName.value.length&&!0===state.fields.firstName.visited&&"Please enter your first name",value:state.fields.firstName.value,onChange:function onChange(event){return dispatch({type:"changeField",fieldName:"firstName",newValue:event.target.value})}}),1===state.activeStepIndex&&(0,jsx_runtime.jsx)(TextInput.o,{style:{width:"300px",paddingTop:"var(--spacing-l)"},required:!0,id:"lastName",label:"Last name",invalid:0===state.fields.lastName.value.length&&!0===state.fields.lastName.visited,errorText:0===state.fields.lastName.value.length&&!0===state.fields.lastName.visited&&"Please enter your last name",value:state.fields.lastName.value,onChange:function onChange(event){return dispatch({type:"changeField",fieldName:"lastName",newValue:event.target.value})}}),2===state.activeStepIndex&&(0,jsx_runtime.jsx)(NumberInput.Y,{style:{width:"300px",paddingTop:"var(--spacing-l)"},required:!0,id:"age",label:"Age",invalid:(!state.fields.age.value||0===state.fields.age.value.length)&&!0===state.fields.age.visited,errorText:(!state.fields.age.value||0===state.fields.age.value.length)&&!0===state.fields.age.visited&&"Please enter your age",value:state.fields.age.value,onChange:function onChange(event){return dispatch({type:"changeField",fieldName:"age",newValue:event.target.value})}}),3===state.activeStepIndex&&(0,jsx_runtime.jsx)(FileInput.S,{multiple:!0,label:"Select file(s)",accept:".png,.jpg",defaultValue:state.fields.files.value||null,language:"en",invalid:(!state.fields.files.value||0===state.fields.files.value.length)&&!0===state.fields.files.visited,errorText:(!state.fields.age.value||0===state.fields.age.value.length)&&!0===state.fields.age.visited&&"Please enter your age",onChange:function onChange(event){return dispatch({type:"changeField",fieldName:"files",newValue:event})}})]}),4===state.activeStepIndex&&(0,jsx_runtime.jsx)("div",{style:{marginTop:"var(--spacing-l)",marginBottom:"var(--spacing-2-xl)"},children:(0,jsx_runtime.jsxs)(Card.Z,{className:"stepper-card",border:!0,heading:"Review your basic information",headingAriaLevel:3,children:[(0,jsx_runtime.jsxs)("p",{style:{margin:0},children:["First name: ",state.fields.firstName.value]}),(0,jsx_runtime.jsxs)("p",{style:{margin:0},children:["Last name: ",state.fields.lastName.value]}),(0,jsx_runtime.jsxs)("p",{style:{margin:0},children:["Age: ",state.fields.age.value]}),(0,jsx_runtime.jsxs)("p",{style:{margin:0},children:["Files: ",state.fields.files.value.map((function(file){return file.name})).join(", ")]})]})}),(0,jsx_runtime.jsxs)("div",{style:{height:"140px",display:"flex",justifyContent:"flex-start",alignItems:"flex-start",gap:"24px",marginTop:"var(--spacing-xl"},children:[(0,jsx_runtime.jsx)(Button.z,{disabled:0===state.activeStepIndex,variant:"secondary",onClick:function onClick(){state.showErrorSummary&&errorRef.current.children[0].children[0].focus(),dispatch({type:"setActive",payload:state.activeStepIndex-1})},style:{height:"fit-content",width:"fit-content"},iconLeft:(0,jsx_runtime.jsx)(IconArrowLeft.IconArrowLeft,{}),children:"Previous"}),(0,jsx_runtime.jsx)(Button.z,{variant:isLastStep?"primary":"secondary",onClick:function onClick(){state.showErrorSummary&&errorRef.current.children[0].children[0].focus(),dispatch({type:"completeStep",payload:state.activeStepIndex})},style:{height:"fit-content",width:"fit-content"},iconRight:isLastStep?void 0:(0,jsx_runtime.jsx)(IconArrowRight.IconArrowRight,{}),children:isLastStep?"Send":"Next"})]})]})},States=function States(args){return(0,jsx_runtime.jsx)("div",{className:Stepper_module_stepperContainer,children:(0,jsx_runtime.jsxs)("div",{className:Stepper_module_stepper,style:{display:"grid",columnGap:"10px !important",gap:"32px",justifyItems:"center",gridTemplateColumns:"1fr 1fr 1fr 1fr"},children:[(0,jsx_runtime.jsx)(Step,{label:"Available",language:"en",index:0,stepsTotal:9,state:StepState.available}),(0,jsx_runtime.jsx)(Step,{label:"Selected",language:"en",index:1,stepsTotal:9,selected:!0,state:StepState.available}),(0,jsx_runtime.jsx)(Step,{label:"Completed",language:"en",index:2,stepsTotal:9,state:StepState.completed}),(0,jsx_runtime.jsx)(Step,{label:"Disabled",language:"en",index:3,stepsTotal:9,state:StepState.disabled}),(0,jsx_runtime.jsx)(Step,{label:"Needs attention",language:"en",index:4,stepsTotal:9,state:StepState.attention}),(0,jsx_runtime.jsx)(Step,{label:"Attention + selected",language:"en",selected:!0,index:5,stepsTotal:9,state:StepState.attention}),(0,jsx_runtime.jsx)(Step,{label:"Paused",language:"en",index:6,stepsTotal:9,state:StepState.paused}),(0,jsx_runtime.jsx)(Step,{label:"Paused + selected",language:"en",selected:!0,index:7,stepsTotal:9,state:StepState.paused}),(0,jsx_runtime.jsxs)("div",{className:Stepper_module_step,children:[(0,jsx_runtime.jsx)("p",{style:{fontSize:"var(--fontsize-body-m)",lineHeight:"var(--lineheight-l)"},children:"Small variant:"}),(0,jsx_runtime.jsx)(Step,{label:"Available",language:"en",index:8,stepsTotal:9,small:!0,state:StepState.available,style:{justifySelf:"center"}})]})]})})},Playground=function Playground(args){var reducer=commonReducer(5),_useReducer13=(0,react.useReducer)(reducer,{activeStepIndex:args.activeStepIndex,steps:[{label:"Step 1",state:StepState.available},{label:"Step 2",state:StepState.disabled},{label:"Step 3",state:StepState.disabled},{label:"Step 4",state:StepState.disabled},{label:"Step 5",state:StepState.disabled}]}),_useReducer14=(0,slicedToArray.Z)(_useReducer13,2),state=_useReducer14[0],dispatch=_useReducer14[1],lastStep=state.activeStepIndex===state.steps.length-1,theme={"--hds-stepper-color":args.stepperColor,"--hds-step-content-color":args.stepperContentColor,"--hds-stepper-background-color":args.stepperBackgroundColor,"--hds-stepper-focus-border-color":args.stepperFocusBorderColor,"--hds-stepper-disabled-color":args.stepperDisabledColor,"--hds-step-background-color":args.stepBackgroundColor,"--hds-not-selected-step-label-color":args.notSelectedStepLabelColor};return(0,jsx_runtime.jsxs)("div",{children:[(0,jsx_runtime.jsx)(Stepper,{theme,small:args.small,stepHeading:args.stepHeading,steps:state.steps,language:"en",selectedStep:args.activeStepIndex,onStepClick:function onStepClick(event,stepIndex){return dispatch({type:"setActive",payload:stepIndex})}}),(0,jsx_runtime.jsxs)("div",{style:{height:"300px",display:"flex",justifyContent:"flex-start",alignItems:"flex-end",gap:"24px",marginLeft:"10px"},children:[(0,jsx_runtime.jsx)(Button.z,{theme:"black",disabled:0===state.activeStepIndex,variant:"secondary",onClick:function onClick(){return dispatch({type:"setActive",payload:state.activeStepIndex-1})},style:{height:"fit-content",width:"fit-content"},iconLeft:(0,jsx_runtime.jsx)(IconArrowLeft.IconArrowLeft,{}),children:"Previous"}),(0,jsx_runtime.jsx)(Button.z,{theme:"black",variant:lastStep?"primary":"secondary",onClick:function onClick(){return dispatch({type:"completeStep",payload:state.activeStepIndex})},style:{height:"fit-content",width:"fit-content"},iconRight:lastStep?void 0:(0,jsx_runtime.jsx)(IconArrowRight.IconArrowRight,{}),children:lastStep?"Send":"Next"})]})]})};Playground.parameters={loki:{skip:!0}},Playground.args={stepperColor:"#0000bf",stepperContentColor:"#0000bf",stepperBackgroundColor:"#ffffff",stepperFocusBorderColor:"#0072c6",stepperDisabledColor:"#cccccc",stepBackgroundColor:"#ffffff",notSelectedStepLabelColor:"#0000bf",small:!1,stepHeading:!1,activeStepIndex:0},Playground.argTypes={stepperColor:{control:{type:"color"}},stepperContentColor:{control:{type:"color"}},stepperBackgroundColor:{control:{type:"color"}},stepperFocusBorderColor:{control:{type:"color"}},stepperDisabledColor:{control:{type:"color"}},stepBackgroundColor:{control:{type:"color"}},notSelectedStepLabelColor:{control:{type:"color"}},activeStepIndex:{control:{type:"number",min:0,max:4,step:1}}},Default.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const reducer = commonReducer(5);\n\n const initialState = {\n activeStepIndex: 0,\n steps: [\n {\n label: 'Step 1',\n state: StepState.available,\n },\n {\n label: 'Step 2',\n state: StepState.disabled,\n },\n {\n label: 'Step 3',\n state: StepState.disabled,\n },\n {\n label: 'Step 4 - longer text',\n state: StepState.disabled,\n },\n {\n label: 'Step 5',\n state: StepState.disabled,\n },\n ],\n };\n\n const [state, dispatch] = useReducer(reducer, initialState);\n\n const lastStep = state.activeStepIndex === state.steps.length - 1;\n\n return (\n \n
dispatch({ type: 'setActive', payload: stepIndex })}\n />\n\n \n dispatch({ type: 'setActive', payload: state.activeStepIndex - 1 })}\n style={{ height: 'fit-content', width: 'fit-content' }}\n iconLeft={ }\n >\n Previous\n \n dispatch({ type: 'completeStep', payload: state.activeStepIndex })}\n style={{ height: 'fit-content', width: 'fit-content' }}\n iconRight={lastStep ? undefined : }\n >\n {lastStep ? 'Send' : 'Next'}\n \n
\n \n );\n}"}},Default.parameters),Small.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const reducer = commonReducer(5);\n\n const initialState = {\n activeStepIndex: 0,\n steps: [\n {\n label: 'Step 1',\n state: StepState.available,\n },\n {\n label: 'Step 2',\n state: StepState.disabled,\n },\n {\n label: 'Step 3',\n state: StepState.disabled,\n },\n {\n label: 'Step 4 - longer text',\n state: StepState.disabled,\n },\n {\n label: 'Step 5',\n state: StepState.disabled,\n },\n ],\n };\n\n const [state, dispatch] = useReducer(reducer, initialState);\n\n const lastStep = state.activeStepIndex === state.steps.length - 1;\n\n return (\n \n
dispatch({ type: 'setActive', payload: stepIndex })}\n />\n\n \n dispatch({ type: 'setActive', payload: state.activeStepIndex - 1 })}\n style={{ height: 'fit-content', width: 'fit-content' }}\n iconLeft={ }\n >\n Previous\n \n dispatch({ type: 'completeStep', payload: state.activeStepIndex })}\n style={{ height: 'fit-content', width: 'fit-content' }}\n iconRight={lastStep ? undefined : }\n >\n {lastStep ? 'Send' : 'Next'}\n \n
\n \n );\n}"}},Small.parameters),WithStepHeading.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const reducer = commonReducer(5);\n\n const initialState = {\n activeStepIndex: 0,\n steps: [\n {\n label: 'Step 1 - longer text',\n state: StepState.available,\n },\n {\n label: 'Step 2',\n state: StepState.disabled,\n },\n {\n label: 'Step 3',\n state: StepState.disabled,\n },\n {\n label: 'Step 4',\n state: StepState.disabled,\n },\n {\n label: 'Step 5',\n state: StepState.disabled,\n },\n ],\n };\n\n const [state, dispatch] = useReducer(reducer, initialState);\n\n const lastStep = state.activeStepIndex === state.steps.length - 1;\n\n return (\n \n
dispatch({ type: 'setActive', payload: stepIndex })}\n />\n\n \n dispatch({ type: 'setActive', payload: state.activeStepIndex - 1 })}\n style={{ height: 'fit-content', width: 'fit-content' }}\n iconLeft={ }\n >\n Previous\n \n dispatch({ type: 'completeStep', payload: state.activeStepIndex })}\n style={{ height: 'fit-content', width: 'fit-content' }}\n iconRight={lastStep ? undefined : }\n >\n {lastStep ? 'Send' : 'Next'}\n \n
\n \n );\n}"}},WithStepHeading.parameters),Overflow.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const reducer = commonReducer(12);\n\n const initialState = {\n activeStepIndex: 0,\n steps: [\n {\n state: StepState.available,\n label: 'Step 1 - longer text',\n },\n {\n state: StepState.disabled,\n label: 'Step 2',\n },\n {\n state: StepState.disabled,\n label: 'Step 3',\n },\n {\n state: StepState.disabled,\n label: 'Step 4',\n },\n {\n state: StepState.disabled,\n label: 'Step 5',\n },\n {\n state: StepState.disabled,\n label: 'Step 6',\n },\n {\n state: StepState.disabled,\n label: 'Step 7',\n },\n {\n state: StepState.disabled,\n label: 'Step 8',\n },\n {\n state: StepState.disabled,\n label: 'Step 9',\n },\n {\n state: StepState.disabled,\n label: 'Step 10',\n },\n {\n state: StepState.disabled,\n label: 'Step 11',\n },\n {\n state: StepState.disabled,\n label: 'Step 12',\n },\n ],\n };\n\n const [state, dispatch] = useReducer(reducer, initialState);\n\n const lastStep = state.activeStepIndex === state.steps.length - 1;\n\n return (\n \n
dispatch({ type: 'setActive', payload: stepIndex })}\n />\n \n dispatch({ type: 'setActive', payload: state.activeStepIndex - 1 })}\n style={{ height: 'fit-content', width: 'fit-content' }}\n iconLeft={ }\n >\n Previous\n \n dispatch({ type: 'completeStep', payload: state.activeStepIndex })}\n style={{ height: 'fit-content', width: 'fit-content' }}\n iconRight={lastStep ? undefined : }\n >\n {lastStep ? 'Send' : 'Next'}\n \n
\n \n );\n}"}},Overflow.parameters),WithCustomTheme.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const reducer = commonReducer(5);\n\n const initialState = {\n activeStepIndex: 0,\n steps: [\n {\n label: 'Step 1 - longer text',\n state: StepState.available,\n },\n {\n label: 'Step 2',\n state: StepState.disabled,\n },\n {\n label: 'Step 3',\n state: StepState.disabled,\n },\n {\n label: 'Step 4',\n state: StepState.disabled,\n },\n {\n label: 'Step 5',\n state: StepState.disabled,\n },\n ],\n };\n\n const [state, dispatch] = useReducer(reducer, initialState);\n\n const lastStep = state.activeStepIndex === state.steps.length - 1;\n\n const theme = {\n '--hds-stepper-color': 'var(--color-black-90)',\n '--hds-step-content-color': 'var(--color-black-90)',\n '--hds-stepper-background-color': 'var(--color-black-10)',\n '--hds-step-background-color': 'var(--color-black-5)',\n '--hds-stepper-focus-border-color': 'var(--color-black-90)',\n '--hds-stepper-disabled-color': 'var(--color-black-30)',\n '--hds-not-selected-step-label-color': 'var(--color-black-90)',\n };\n\n return (\n \n
dispatch({ type: 'setActive', payload: stepIndex })}\n />\n \n dispatch({ type: 'setActive', payload: state.activeStepIndex - 1 })}\n style={{ height: 'fit-content', width: 'fit-content' }}\n iconLeft={ }\n >\n Previous\n \n dispatch({ type: 'completeStep', payload: state.activeStepIndex })}\n style={{ height: 'fit-content', width: 'fit-content' }}\n iconRight={lastStep ? undefined : }\n >\n {lastStep ? 'Send' : 'Next'}\n \n
\n \n );\n}"}},WithCustomTheme.parameters),SimpleFormExample.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const initialState = {\n showErrorSummary: false,\n activeStepIndex: 0,\n steps: [\n {\n state: StepState.available,\n label: 'First name',\n },\n {\n state: StepState.disabled,\n label: 'Last name',\n },\n {\n state: StepState.disabled,\n label: 'Age',\n },\n {\n state: StepState.disabled,\n label: 'Files',\n },\n {\n state: StepState.disabled,\n label: 'Review and send',\n },\n ],\n fields: {\n firstName: {\n value: '',\n visited: false,\n },\n lastName: {\n value: '',\n visited: false,\n },\n age: {\n value: undefined,\n visited: false,\n },\n files: {\n value: null,\n visited: false,\n },\n },\n };\n const lastStep = initialState.steps.length - 1;\n\n const activeStepIsValid = (state) => {\n if (state.activeStepIndex === 0) {\n // first name\n return state.fields.firstName.value && state.fields.firstName.value.length > 0;\n }\n if (state.activeStepIndex === 1) {\n // last name\n return state.fields.lastName.value && state.fields.lastName.value.length > 0;\n }\n\n if (state.activeStepIndex === 2) {\n // age\n return state.fields.age.value && state.fields.age.value.length > 0;\n }\n\n if (state.activeStepIndex === 3) {\n // files\n return state.fields.files.value && state.fields.files.value.length > 0;\n }\n\n return state.activeStepIndex === 4;\n };\n\n const weAreInLastAvailableStep = (state) => {\n let indexOfLastNonDisabledStep = 0;\n state.steps.forEach((step, index) => {\n if (step.state !== StepState.disabled && index > indexOfLastNonDisabledStep) {\n indexOfLastNonDisabledStep = index;\n }\n });\n\n return state.activeStepIndex === indexOfLastNonDisabledStep;\n };\n\n const reducer = (state, action) => {\n switch (action.type) {\n case 'changeField': {\n if (action.newValue.length === 0) {\n return {\n showErrorSummary: state.showErrorSummary,\n activeStepIndex: state.activeStepIndex,\n steps: state.steps,\n fields: {\n ...state.fields,\n [action.fieldName]: {\n value: action.newValue,\n visited: true,\n },\n },\n };\n }\n\n return {\n showErrorSummary: false,\n activeStepIndex: state.activeStepIndex,\n steps: state.steps.map((step, index) => {\n if (index === state.activeStepIndex) {\n return {\n state: StepState.completed,\n label: step.label,\n };\n }\n return step;\n }),\n fields: {\n ...state.fields,\n [action.fieldName]: {\n value: action.newValue,\n visited: true,\n },\n },\n };\n }\n case 'completeStep': {\n if (!activeStepIsValid(state)) {\n return {\n showErrorSummary: true,\n activeStepIndex: state.activeStepIndex,\n steps: state.steps,\n fields: {\n ...state.fields,\n },\n };\n }\n const activeStepIndex = action.payload === lastStep ? lastStep : action.payload + 1;\n return {\n showErrorSummary: state.showErrorSummary,\n activeStepIndex,\n steps: state.steps.map((step, index) => {\n if (index === action.payload && index !== lastStep) {\n // current one but not last one\n return {\n state: StepState.completed,\n label: step.label,\n };\n }\n if (index === action.payload + 1) {\n // next one\n return {\n state: StepState.available,\n label: step.label,\n };\n }\n return step;\n }),\n fields: {\n ...state.fields,\n },\n };\n }\n case 'setActive': {\n if (!activeStepIsValid(state) && !weAreInLastAvailableStep(state)) {\n return {\n showErrorSummary: true,\n activeStepIndex: state.activeStepIndex,\n steps: state.steps,\n fields: {\n ...state.fields,\n },\n };\n }\n\n return {\n showErrorSummary: false,\n activeStepIndex: action.payload,\n steps: state.steps.map((step, index) => {\n if (index === action.payload) {\n return {\n state: StepState.available,\n label: step.label,\n };\n }\n if (index === state.activeStepIndex && activeStepIsValid(state)) {\n return {\n state: StepState.completed,\n label: step.label,\n };\n }\n return step;\n }),\n fields: {\n ...state.fields,\n },\n };\n }\n default:\n throw new Error();\n }\n };\n\n const [state, dispatch] = useReducer(reducer, initialState);\n\n const isLastStep = state.activeStepIndex === state.steps.length - 1;\n const errorRef = useRef(null);\n\n return (\n \n );\n}"}},SimpleFormExample.parameters),States.parameters=(0,objectSpread2.Z)({storySource:{source:'(args) => {\n return (\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n );\n}'}},States.parameters),Playground.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const reducer = commonReducer(5);\n\n const [state, dispatch] = useReducer(reducer, {\n activeStepIndex: args.activeStepIndex,\n steps: [\n {\n label: 'Step 1',\n state: StepState.available,\n },\n {\n label: 'Step 2',\n state: StepState.disabled,\n },\n {\n label: 'Step 3',\n state: StepState.disabled,\n },\n {\n label: 'Step 4',\n state: StepState.disabled,\n },\n {\n label: 'Step 5',\n state: StepState.disabled,\n },\n ],\n });\n\n const lastStep = state.activeStepIndex === state.steps.length - 1;\n\n const theme = {\n '--hds-stepper-color': args.stepperColor,\n '--hds-step-content-color': args.stepperContentColor,\n '--hds-stepper-background-color': args.stepperBackgroundColor,\n '--hds-stepper-focus-border-color': args.stepperFocusBorderColor,\n '--hds-stepper-disabled-color': args.stepperDisabledColor,\n '--hds-step-background-color': args.stepBackgroundColor,\n '--hds-not-selected-step-label-color': args.notSelectedStepLabelColor,\n };\n\n return (\n \n
dispatch({ type: 'setActive', payload: stepIndex })}\n />\n \n dispatch({ type: 'setActive', payload: state.activeStepIndex - 1 })}\n style={{ height: 'fit-content', width: 'fit-content' }}\n iconLeft={ }\n >\n Previous\n \n dispatch({ type: 'completeStep', payload: state.activeStepIndex })}\n style={{ height: 'fit-content', width: 'fit-content' }}\n iconRight={lastStep ? undefined : }\n >\n {lastStep ? 'Send' : 'Next'}\n \n
\n \n );\n}"}},Playground.parameters);try{Default.displayName="Default",Default.__docgenInfo={description:"",displayName:"Default",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/stepper/Stepper.stories.tsx#Default"]={docgenInfo:Default.__docgenInfo,name:"Default",path:"src/components/stepper/Stepper.stories.tsx#Default"})}catch(__react_docgen_typescript_loader_error){}try{Small.displayName="Small",Small.__docgenInfo={description:"",displayName:"Small",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/stepper/Stepper.stories.tsx#Small"]={docgenInfo:Small.__docgenInfo,name:"Small",path:"src/components/stepper/Stepper.stories.tsx#Small"})}catch(__react_docgen_typescript_loader_error){}try{WithStepHeading.displayName="WithStepHeading",WithStepHeading.__docgenInfo={description:"",displayName:"WithStepHeading",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/stepper/Stepper.stories.tsx#WithStepHeading"]={docgenInfo:WithStepHeading.__docgenInfo,name:"WithStepHeading",path:"src/components/stepper/Stepper.stories.tsx#WithStepHeading"})}catch(__react_docgen_typescript_loader_error){}try{Overflow.displayName="Overflow",Overflow.__docgenInfo={description:"",displayName:"Overflow",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/stepper/Stepper.stories.tsx#Overflow"]={docgenInfo:Overflow.__docgenInfo,name:"Overflow",path:"src/components/stepper/Stepper.stories.tsx#Overflow"})}catch(__react_docgen_typescript_loader_error){}try{WithCustomTheme.displayName="WithCustomTheme",WithCustomTheme.__docgenInfo={description:"",displayName:"WithCustomTheme",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/stepper/Stepper.stories.tsx#WithCustomTheme"]={docgenInfo:WithCustomTheme.__docgenInfo,name:"WithCustomTheme",path:"src/components/stepper/Stepper.stories.tsx#WithCustomTheme"})}catch(__react_docgen_typescript_loader_error){}try{SimpleFormExample.displayName="SimpleFormExample",SimpleFormExample.__docgenInfo={description:"",displayName:"SimpleFormExample",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/stepper/Stepper.stories.tsx#SimpleFormExample"]={docgenInfo:SimpleFormExample.__docgenInfo,name:"SimpleFormExample",path:"src/components/stepper/Stepper.stories.tsx#SimpleFormExample"})}catch(__react_docgen_typescript_loader_error){}try{States.displayName="States",States.__docgenInfo={description:"",displayName:"States",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/stepper/Stepper.stories.tsx#States"]={docgenInfo:States.__docgenInfo,name:"States",path:"src/components/stepper/Stepper.stories.tsx#States"})}catch(__react_docgen_typescript_loader_error){}try{Playground.displayName="Playground",Playground.__docgenInfo={description:"",displayName:"Playground",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/stepper/Stepper.stories.tsx#Playground"]={docgenInfo:Playground.__docgenInfo,name:"Playground",path:"src/components/stepper/Stepper.stories.tsx#Playground"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/table/Table.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{CheckboxSelection:()=>CheckboxSelection,CheckboxSelectionDense:()=>CheckboxSelectionDense,CheckboxSelectionWithSorting:()=>CheckboxSelectionWithSorting,CustomBackgroundColorsForDarkVariant:()=>CustomBackgroundColorsForDarkVariant,CustomBackgroundColorsForLightVariant:()=>CustomBackgroundColorsForLightVariant,CustomSortFunction:()=>CustomSortFunction,Default:()=>Default,Dense:()=>Dense,InitiallySelectedRows:()=>InitiallySelectedRows,InitiallySortedBy:()=>InitiallySortedBy,Light:()=>Light,Sorting:()=>Sorting,SortingLightVariant:()=>SortingLightVariant,SortingSideEffects:()=>SortingSideEffects,VerticalHeaders:()=>VerticalHeaders,VerticalLines:()=>VerticalLines,WithCustomActions:()=>WithCustomActions,Zebra:()=>Zebra,default:()=>Table_stories});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),slicedToArray=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react=__webpack_require__("../../node_modules/react/index.js"),parse=__webpack_require__("../../node_modules/date-fns/esm/parse/index.js"),isSameDay=__webpack_require__("../../node_modules/date-fns/esm/isSameDay/index.js"),isBefore=__webpack_require__("../../node_modules/date-fns/esm/isBefore/index.js"),Table=__webpack_require__("./src/components/table/Table.tsx");const story_example_work_trial_namespaceObject=JSON.parse('[{"Paikka-ID":"33740","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Harjoittelija","Ilmoitus vanhenee":"31.12.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"TYÖKOKEILU Snellu Cafe´ lounaskahvila","Postinumero":"00900","Paikkoja":36,"Haastatteluun halutaan":40},{"Paikka-ID":"33741","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Harjoittelija","Ilmoitus vanhenee":"31.12.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Maunulatalon kahvila (Månsas Deli)","Postinumero":"00630","Paikkoja":39,"Haastatteluun halutaan":50},{"Paikka-ID":"33823","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Viestintäalan harjoittelija","Ilmoitus vanhenee":"31.12.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Tarinapaja","Postinumero":"00610","Paikkoja":12,"Haastatteluun halutaan":30},{"Paikka-ID":"33739","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Kahvila-apulainen","Ilmoitus vanhenee":"31.12.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Kahvilapalvelut","Postinumero":"00610","Paikkoja":12,"Haastatteluun halutaan":20},{"Paikka-ID":"33918","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Teknisen alan harjoittelija","Ilmoitus vanhenee":"31.12.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"WooDoo-verstas","Postinumero":"00880","Paikkoja":45,"Haastatteluun halutaan":50},{"Paikka-ID":"34825","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Hoitoapulainen","Ilmoitus vanhenee":"31.12.2021","Toimiala/liikelaitos":"Sosiaali- ja terveystoimiala","Työpaikka":"Sinikello","Postinumero":"00420","Paikkoja":3,"Haastatteluun halutaan":5},{"Paikka-ID":"35212","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Teknisen alan harjoittelija","Ilmoitus vanhenee":"31.12.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Metalliverstas","Postinumero":"00880","Paikkoja":37,"Haastatteluun halutaan":40},{"Paikka-ID":"35213","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Teknisen alan harjoittelija","Ilmoitus vanhenee":"30.06.2022","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Moottoripaja Pitäjänmäki","Postinumero":"00370","Paikkoja":18,"Haastatteluun halutaan":21},{"Paikka-ID":"35294","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Erityisavustaja","Ilmoitus vanhenee":"29.11.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Pk Savela","Postinumero":"00720","Paikkoja":1,"Haastatteluun halutaan":10},{"Paikka-ID":"35295","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Erityisavustaja","Ilmoitus vanhenee":"29.11.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Pk Sinivuori","Postinumero":"00720","Paikkoja":1,"Haastatteluun halutaan":10},{"Paikka-ID":"35296","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Päiväkodin harjoittelija","Ilmoitus vanhenee":"29.11.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Varhaiskasvatusyksikkö Siilitie","Postinumero":"00800","Paikkoja":2,"Haastatteluun halutaan":2},{"Paikka-ID":"35283","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Liikunnanohjaaja","Ilmoitus vanhenee":"27.11.2021","Toimiala/liikelaitos":"Sosiaali- ja terveystoimiala","Työpaikka":"Palvelukeskus","Postinumero":"00420","Paikkoja":1,"Haastatteluun halutaan":2},{"Paikka-ID":"34165","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"ICT-alan harjoittelija","Ilmoitus vanhenee":"27.02.2022","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Digitalents Helsinki","Postinumero":"00270","Paikkoja":51,"Haastatteluun halutaan":70},{"Paikka-ID":"35096","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Erityisavustaja","Ilmoitus vanhenee":"25.10.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Varhaiskasvatusyksikkö Herttoniemi","Postinumero":"00800","Paikkoja":1,"Haastatteluun halutaan":1},{"Paikka-ID":"35088","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Päiväkodin harjoittelija","Ilmoitus vanhenee":"24.10.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Päiväkoti Lapinmäki","Postinumero":"00350","Paikkoja":3,"Haastatteluun halutaan":4},{"Paikka-ID":"34549","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Teknisen alan harjoittelija","Ilmoitus vanhenee":"19.07.2023","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"WooDoo-verstas","Postinumero":"00880","Paikkoja":29,"Haastatteluun halutaan":50},{"Paikka-ID":"35050","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Erityisavustaja","Ilmoitus vanhenee":"18.10.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Päiväkoti Neulanen","Postinumero":"00920","Paikkoja":7,"Haastatteluun halutaan":20},{"Paikka-ID":"35237","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Ohjaaja","Ilmoitus vanhenee":"17.11.2021","Toimiala/liikelaitos":"Sosiaali- ja terveystoimiala","Työpaikka":"Stadin asukastalo Pihlajamäki","Postinumero":"00710","Paikkoja":1,"Haastatteluun halutaan":4},{"Paikka-ID":"35230","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Erityisavustaja","Ilmoitus vanhenee":"16.11.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Kuninkaantammi","Postinumero":"00430","Paikkoja":2,"Haastatteluun halutaan":3},{"Paikka-ID":"35224","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Erityisavustaja","Ilmoitus vanhenee":"15.11.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Päiväkoti Loimi","Postinumero":"00940","Paikkoja":1,"Haastatteluun halutaan":2},{"Paikka-ID":"35223","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Päiväkodin harjoittelija","Ilmoitus vanhenee":"15.11.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Pk Pihapirtti","Postinumero":"00940","Paikkoja":2,"Haastatteluun halutaan":3},{"Paikka-ID":"35221","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Hoiva-avustaja","Ilmoitus vanhenee":"14.11.2021","Toimiala/liikelaitos":"Sosiaali- ja terveystoimiala","Työpaikka":"Usva-tiimi","Postinumero":"00770","Paikkoja":1,"Haastatteluun halutaan":2},{"Paikka-ID":"35222","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Hoiva-avustaja","Ilmoitus vanhenee":"14.11.2021","Toimiala/liikelaitos":"Sosiaali- ja terveystoimiala","Työpaikka":"Ruska-tiimi","Postinumero":"00770","Paikkoja":1,"Haastatteluun halutaan":3},{"Paikka-ID":"35218","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Hoitoapulainen","Ilmoitus vanhenee":"14.11.2021","Toimiala/liikelaitos":"Sosiaali- ja terveystoimiala","Työpaikka":"Tuulensuu","Postinumero":"00500","Paikkoja":1,"Haastatteluun halutaan":3},{"Paikka-ID":"35018","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Avustaja","Ilmoitus vanhenee":"12.10.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Päiväkoti Tapanila","Postinumero":"00730","Paikkoja":1,"Haastatteluun halutaan":1},{"Paikka-ID":"35003","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Päiväkotiapulainen","Ilmoitus vanhenee":"12.10.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Päiväkoti Neulanen","Postinumero":"00920","Paikkoja":2,"Haastatteluun halutaan":5},{"Paikka-ID":"35002","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Päiväkodin harjoittelija","Ilmoitus vanhenee":"11.10.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Päiväkoti Terhi","Postinumero":"00530","Paikkoja":2,"Haastatteluun halutaan":2},{"Paikka-ID":"34998","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Erityisavustaja","Ilmoitus vanhenee":"11.10.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Päiväkoti Ruuti","Postinumero":"00940","Paikkoja":2,"Haastatteluun halutaan":2},{"Paikka-ID":"34999","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Erityisavustaja","Ilmoitus vanhenee":"11.10.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Päiväkoti Haikara","Postinumero":"00940","Paikkoja":2,"Haastatteluun halutaan":2},{"Paikka-ID":"34986","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Hoitoavustaja","Ilmoitus vanhenee":"10.10.2021","Toimiala/liikelaitos":"Sosiaali- ja terveystoimiala","Työpaikka":"Kannelmäen palvelutalo","Postinumero":"00420","Paikkoja":1,"Haastatteluun halutaan":2},{"Paikka-ID":"34987","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Hoitoavustaja","Ilmoitus vanhenee":"10.10.2021","Toimiala/liikelaitos":"Sosiaali- ja terveystoimiala","Työpaikka":"Kannelmäen palvelutalo","Postinumero":"00420","Paikkoja":1,"Haastatteluun halutaan":2},{"Paikka-ID":"34988","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Hoitoavustaja","Ilmoitus vanhenee":"10.10.2021","Toimiala/liikelaitos":"Sosiaali- ja terveystoimiala","Työpaikka":"Kannelmäen palvelutalo","Postinumero":"00420","Paikkoja":1,"Haastatteluun halutaan":3},{"Paikka-ID":"35202","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Erityisavustaja","Ilmoitus vanhenee":"08.11.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Pk Lassi ja Pk Niitty","Postinumero":"00440","Paikkoja":2,"Haastatteluun halutaan":5},{"Paikka-ID":"35176","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Päiväkotiapulainen","Ilmoitus vanhenee":"07.11.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Päiväkoti Suomenlinna","Postinumero":"00190","Paikkoja":1,"Haastatteluun halutaan":3},{"Paikka-ID":"35193","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Hoitoavustaja","Ilmoitus vanhenee":"07.11.2021","Toimiala/liikelaitos":"Sosiaali- ja terveystoimiala","Työpaikka":"Ryhmäkoti Kantola tai Pohjantähti","Postinumero":"00940","Paikkoja":1,"Haastatteluun halutaan":3},{"Paikka-ID":"35194","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Hoitoavustaja","Ilmoitus vanhenee":"07.11.2021","Toimiala/liikelaitos":"Sosiaali- ja terveystoimiala","Työpaikka":"Ryhmäkoti Apila, Orvokki tai Vanamo","Postinumero":"00940","Paikkoja":1,"Haastatteluun halutaan":3},{"Paikka-ID":"35195","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Hoitoavustaja","Ilmoitus vanhenee":"07.11.2021","Toimiala/liikelaitos":"Sosiaali- ja terveystoimiala","Työpaikka":"Ryhmäkoti Puolukka, Karpalo tai Mansikka","Postinumero":"00940","Paikkoja":1,"Haastatteluun halutaan":3},{"Paikka-ID":"35179","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Leikkipuistoavustaja","Ilmoitus vanhenee":"07.11.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Leikkipuisto Intia","Postinumero":"00560","Paikkoja":1,"Haastatteluun halutaan":3},{"Paikka-ID":"35189","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Leikkipuistoavustaja","Ilmoitus vanhenee":"07.11.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Leikkipuisto Lehdokki","Postinumero":"00520","Paikkoja":2,"Haastatteluun halutaan":3},{"Paikka-ID":"35190","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Leikkipuistoavustaja","Ilmoitus vanhenee":"07.11.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Leikkipuisto Linja","Postinumero":"00530","Paikkoja":3,"Haastatteluun halutaan":3},{"Paikka-ID":"35191","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Leikkipuistoavustaja","Ilmoitus vanhenee":"07.11.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Leikkipuisto Sanna","Postinumero":"00240","Paikkoja":3,"Haastatteluun halutaan":3},{"Paikka-ID":"35192","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Leikkipuistoavustaja","Ilmoitus vanhenee":"07.11.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Leikkipuisto Vallila","Postinumero":"00550","Paikkoja":3,"Haastatteluun halutaan":3},{"Paikka-ID":"35196","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Hoitoavustaja","Ilmoitus vanhenee":"07.11.2021","Toimiala/liikelaitos":"Sosiaali- ja terveystoimiala","Työpaikka":"Ryhmäkoti Vadelma tai Mustikka","Postinumero":"00940","Paikkoja":1,"Haastatteluun halutaan":3},{"Paikka-ID":"35197","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Kuntoutusavustaja","Ilmoitus vanhenee":"07.11.2021","Toimiala/liikelaitos":"Sosiaali- ja terveystoimiala","Työpaikka":"Ryhmäkoti Kantola","Postinumero":"00940","Paikkoja":1,"Haastatteluun halutaan":5},{"Paikka-ID":"35201","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Erityisavustaja","Ilmoitus vanhenee":"07.11.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Pk Jousi","Postinumero":"00940","Paikkoja":2,"Haastatteluun halutaan":4},{"Paikka-ID":"34969","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Erityisavustaja","Ilmoitus vanhenee":"06.10.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Pk Haaga","Postinumero":"00320","Paikkoja":1,"Haastatteluun halutaan":3},{"Paikka-ID":"34970","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Erityisavustaja","Ilmoitus vanhenee":"06.10.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Pk Kylätie","Postinumero":"00320","Paikkoja":1,"Haastatteluun halutaan":3},{"Paikka-ID":"34957","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Apuohjaaja","Ilmoitus vanhenee":"05.10.2021","Toimiala/liikelaitos":"Sosiaali- ja terveystoimiala","Työpaikka":"Sisustusompelimo","Postinumero":"00500","Paikkoja":1,"Haastatteluun halutaan":6},{"Paikka-ID":"34960","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Apuohjaaja","Ilmoitus vanhenee":"05.10.2021","Toimiala/liikelaitos":"Sosiaali- ja terveystoimiala","Työpaikka":"Muusix-ruokala","Postinumero":"00500","Paikkoja":1,"Haastatteluun halutaan":4},{"Paikka-ID":"34961","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Päiväkodin harjoittelija","Ilmoitus vanhenee":"05.10.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Varhaiskasvatusyksikkö Siilitie","Postinumero":"00800","Paikkoja":3,"Haastatteluun halutaan":3},{"Paikka-ID":"34952","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Päiväkodin harjoittelija","Ilmoitus vanhenee":"04.10.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Myrskyluoto","Postinumero":"00980","Paikkoja":1,"Haastatteluun halutaan":2},{"Paikka-ID":"34953","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Päiväkodin harjoittelija","Ilmoitus vanhenee":"04.10.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Hippaheikki","Postinumero":"0980","Paikkoja":2,"Haastatteluun halutaan":2},{"Paikka-ID":"34954","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Päiväkodin harjoittelija","Ilmoitus vanhenee":"04.10.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Kajuutta","Postinumero":"00980","Paikkoja":2,"Haastatteluun halutaan":2},{"Paikka-ID":"34948","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Erityisavustaja","Ilmoitus vanhenee":"03.10.2021","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Päiväkoti Vanhainen","Postinumero":"00420","Paikkoja":2,"Haastatteluun halutaan":2},{"Paikka-ID":"35138","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Apuohjaaja","Ilmoitus vanhenee":"02.11.2021","Toimiala/liikelaitos":"Sosiaali- ja terveystoimiala","Työpaikka":"Keramiikka","Postinumero":"00580","Paikkoja":1,"Haastatteluun halutaan":5},{"Paikka-ID":"34550","Paikan tyyppi":"Työkokeilupaikka","Tehtävänimike":"Kahvila-apulainen","Ilmoitus vanhenee":"01.07.2023","Toimiala/liikelaitos":"Kasvatus ja koulutus","Työpaikka":"Kahvila Villa Ullas","Postinumero":"00980","Paikkoja":78,"Haastatteluun halutaan":99}]');var Button=__webpack_require__("./src/components/button/Button.tsx"),IconTrash=__webpack_require__("./src/icons/IconTrash.tsx"),LoadingSpinner=__webpack_require__("./src/components/loadingSpinner/LoadingSpinner.tsx"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js");const Table_stories={component:Table.i,title:"Components/Table",parameters:{storySource:{source:"import React, { useEffect, useState } from 'react';\nimport { parse, isBefore, isSameDay } from 'date-fns';\n\nimport { Table } from './Table';\nimport workTrial from './story-example-work-trial.json';\nimport { Button } from '../button';\nimport { IconTrash } from '../../icons';\nimport { LoadingSpinner } from '../loadingSpinner';\n\nexport default {\n component: Table,\n title: 'Components/Table',\n parameters: {\n controls: { expanded: true },\n },\n args: {},\n};\n\n// args is required for docs tab to show source code\n\nexport const Default = (args) => {\n const cols = [\n { key: 'id', headerName: 'Not rendered' },\n { key: 'firstName', headerName: 'First name' },\n { key: 'surname', headerName: 'Surname' },\n {\n key: 'age',\n headerName: 'Age',\n transform: ({ age }) => {\n return {age}
;\n },\n },\n { key: 'profession', headerName: 'Profession' },\n ];\n\n const rows: Array = [\n { id: 1000, firstName: 'Lauri', surname: 'Kekkonen', age: 39, profession: 'Engineer' },\n { id: 1001, firstName: 'Maria', surname: 'Sarasoja', age: 62, profession: 'Designer' },\n { id: 1002, firstName: 'Anneli', surname: 'Routa', age: 50, profession: 'Meteorologist' },\n { id: 1003, firstName: 'Osku', surname: 'Rausku', age: 18, profession: 'Mail Carrier' },\n ];\n\n const caption = (\n \n Table 1 : Table description\n \n );\n\n return (\n \n );\n};\n\n// args is required for docs tab to show source code\n\nexport const Light = (args) => {\n const cols = [\n { key: 'id', headerName: 'Not rendered' },\n { key: 'firstName', headerName: 'First name' },\n { key: 'surname', headerName: 'Surname' },\n {\n key: 'age',\n headerName: 'Age',\n transform: ({ age }) => {\n return {age}
;\n },\n },\n { key: 'profession', headerName: 'Profession' },\n ];\n\n const rows: Array = [\n { id: 1000, firstName: 'Lauri', surname: 'Kekkonen', age: 39, profession: 'Engineer' },\n { id: 1001, firstName: 'Maria', surname: 'Sarasoja', age: 62, profession: 'Designer' },\n { id: 1002, firstName: 'Anneli', surname: 'Routa', age: 50, profession: 'Meteorologist' },\n { id: 1003, firstName: 'Osku', surname: 'Rausku', age: 18, profession: 'Mail Carrier' },\n ];\n\n const caption = (\n \n Table 1 : Table description\n \n );\n\n return (\n \n );\n};\n\n// args is required for docs tab to show source code\n\nexport const Dense = (args) => {\n const cols = [\n { key: 'id', headerName: 'Not rendered' },\n { key: 'firstName', headerName: 'First name' },\n { key: 'surname', headerName: 'Surname' },\n {\n key: 'age',\n headerName: 'Age',\n transform: ({ age }) => {\n return {age}
;\n },\n },\n { key: 'profession', headerName: 'Profession' },\n ];\n\n const rows: Array = [\n { id: 1000, firstName: 'Lauri', surname: 'Kekkonen', age: 39, profession: 'Engineer' },\n { id: 1001, firstName: 'Maria', surname: 'Sarasoja', age: 62, profession: 'Designer' },\n { id: 1002, firstName: 'Anneli', surname: 'Routa', age: 50, profession: 'Meteorologist' },\n { id: 1003, firstName: 'Osku', surname: 'Rausku', age: 18, profession: 'Mail Carrier' },\n ];\n\n const caption = (\n \n Table 1 : Table description\n \n );\n\n return (\n \n );\n};\n\n// args is required for docs tab to show source code\n\nexport const Zebra = (args) => {\n const cols = [\n { key: 'id', headerName: 'Not rendered' },\n { key: 'firstName', headerName: 'First name' },\n { key: 'surname', headerName: 'Surname' },\n {\n key: 'age',\n headerName: 'Age',\n transform: ({ age }) => {\n return {age}
;\n },\n },\n { key: 'city', headerName: 'City' },\n { key: 'profession', headerName: 'Profession' },\n {\n key: 'experience',\n headerName: 'Experience (years)',\n transform: ({ experience }) => {\n return {experience}
;\n },\n },\n ];\n\n const rows: Array = [\n {\n id: 1000,\n firstName: 'Lauri',\n surname: 'Kekkonen',\n age: 39,\n city: 'Helsinki',\n profession: 'Engineer',\n experience: 10,\n },\n {\n id: 1001,\n firstName: 'Maria',\n surname: 'Sarasoja',\n age: 62,\n city: 'Tampere',\n profession: 'Designer',\n experience: 39,\n },\n {\n id: 1002,\n firstName: 'Anneli',\n surname: 'Routa',\n age: 50,\n city: 'Turku',\n profession: 'Meteorologist',\n experience: 25,\n },\n {\n id: 1003,\n firstName: 'Osku',\n surname: 'Rausku',\n age: 18,\n city: 'Oulu',\n profession: 'Mail Carrier',\n experience: 1,\n },\n ];\n\n const caption = (\n \n Table 1 : Table description\n \n );\n\n return (\n \n );\n};\n\n// args is required for docs tab to show source code\n\nexport const VerticalLines = (args) => {\n const cols = [\n { key: 'id', headerName: 'Not rendered' },\n { key: 'firstName', headerName: 'First name' },\n { key: 'surname', headerName: 'Surname' },\n {\n key: 'age',\n headerName: 'Age',\n transform: ({ age }) => {\n return {age}
;\n },\n },\n { key: 'profession', headerName: 'Profession' },\n ];\n\n const rows: Array = [\n { id: 1000, firstName: 'Lauri', surname: 'Kekkonen', age: 39, profession: 'Engineer' },\n { id: 1001, firstName: 'Maria', surname: 'Sarasoja', age: 62, profession: 'Designer' },\n { id: 1002, firstName: 'Anneli', surname: 'Routa', age: 50, profession: 'Meteorologist' },\n { id: 1003, firstName: 'Osku', surname: 'Rausku', age: 18, profession: 'Mail Carrier' },\n ];\n\n const caption = (\n \n Table 1 : Table description\n \n );\n\n return (\n \n );\n};\n\n// args is required for docs tab to show source code\n\nexport const VerticalHeaders = (args) => {\n const cols = [\n { key: 'id', headerName: 'Not rendered' },\n { key: '8-12', headerName: '8-12' },\n { key: '12-14', headerName: '12-14' },\n { key: '14-16', headerName: '14-16' },\n { key: '16-18', headerName: '16-18' },\n ];\n\n const unitRows: Array = [\n { id: 'monday', '8-12': 324, '12-14': 562, '14-16': 280, '16-18': 94 },\n { id: 'tuesday', '8-12': 341, '12-14': 688, '14-16': 425, '16-18': 113 },\n { id: 'wednesday', '8-12': 294, '12-14': 492, '14-16': 280, '16-18': 67 },\n { id: 'thursday', '8-12': 312, '12-14': 501, '14-16': 455, '16-18': 112 },\n { id: 'friday', '8-12': 150, '12-14': 142, '14-16': 362, '16-18': 455 },\n ];\n\n const verticalHeaders = [\n { key: 'monday', headerName: 'Monday' },\n { key: 'tuesday', headerName: 'Tuesday' },\n { key: 'wednesday', headerName: 'Wednesday' },\n { key: 'thursday', headerName: 'Thursday' },\n { key: 'friday', headerName: 'Friday' },\n ];\n\n const caption = (\n \n Table 1 : Table description\n \n );\n\n return (\n \n );\n};\n\n// args is required for docs tab to show source code\n\nexport const Sorting = (args) => {\n const cols = [\n { key: 'id', headerName: 'Not rendered' },\n { key: 'firstName', headerName: 'First name', isSortable: true },\n { key: 'surname', headerName: 'Surname', isSortable: true },\n {\n key: 'age',\n headerName: 'Age',\n sortIconType: 'other' as const,\n transform: ({ age }) => {\n return {age}
;\n },\n isSortable: true,\n },\n { key: 'profession', headerName: 'Profession', isSortable: true },\n ];\n\n const rows: Array = [\n { id: 1000, firstName: 'Lauri', surname: 'Kekkonen', age: 39, profession: 'Engineer' },\n { id: 1001, firstName: 'Maria', surname: 'Sarasoja', age: 62, profession: 'Designer' },\n { id: 1002, firstName: 'Anneli', surname: 'Routa', age: 50, profession: 'Meteorologist' },\n { id: 1003, firstName: 'Osku', surname: 'Rausku', age: 18, profession: 'Mail Carrier' },\n { id: 1004, firstName: 'Linda', surname: 'Koululainen', age: 8, profession: 'School student' },\n ];\n\n const caption = (\n \n Table 1 : Table description\n \n );\n\n return (\n \n );\n};\n\n// args is required for docs tab to show source code\n\nexport const SortingLightVariant = (args) => {\n const cols = [\n { key: 'id', headerName: 'Not rendered' },\n { key: 'firstName', headerName: 'First name', isSortable: true },\n { key: 'surname', headerName: 'Surname', isSortable: true },\n {\n key: 'age',\n headerName: 'Age',\n sortIconType: 'other' as const,\n transform: ({ age }) => {\n return {age}
;\n },\n isSortable: true,\n },\n { key: 'profession', headerName: 'Profession', isSortable: true },\n ];\n\n const rows: Array = [\n { id: 1000, firstName: 'Lauri', surname: 'Kekkonen', age: 39, profession: 'Engineer' },\n { id: 1001, firstName: 'Maria', surname: 'Sarasoja', age: 62, profession: 'Designer' },\n { id: 1002, firstName: 'Anneli', surname: 'Routa', age: 50, profession: 'Meteorologist' },\n { id: 1003, firstName: 'Osku', surname: 'Rausku', age: 18, profession: 'Mail Carrier' },\n { id: 1004, firstName: 'Linda', surname: 'Koululainen', age: 8, profession: 'School student' },\n ];\n\n const caption = (\n \n Table 1 : Table description\n \n );\n\n return (\n \n );\n};\n\n// args is required for docs tab to show source code\n\nexport const InitiallySortedBy = (args) => {\n const cols = [\n { key: 'id', headerName: 'Not rendered' },\n { key: 'firstName', headerName: 'First name', isSortable: true },\n { key: 'surname', headerName: 'Surname', isSortable: true },\n {\n key: 'age',\n headerName: 'Age',\n sortIconType: 'other' as const,\n transform: ({ age }) => {\n return {age}
;\n },\n isSortable: true,\n },\n { key: 'profession', headerName: 'Profession', isSortable: true },\n ];\n\n const rows: Array = [\n { id: 1000, firstName: 'Lauri', surname: 'Kekkonen', age: 39, profession: 'Engineer' },\n { id: 1001, firstName: 'Maria', surname: 'Sarasoja', age: 62, profession: 'Designer' },\n { id: 1002, firstName: 'Anneli', surname: 'Routa', age: 50, profession: 'Meteorologist' },\n { id: 1003, firstName: 'Osku', surname: 'Rausku', age: 18, profession: 'Mail Carrier' },\n { id: 1004, firstName: 'Linda', surname: 'Koululainen', age: 8, profession: 'School student' },\n ];\n\n const caption = (\n \n Table 1 : Table description\n \n );\n\n return (\n \n );\n};\n\n// args is required for docs tab to show source code\n\nexport const CustomSortFunction = (args) => {\n const cols = [\n { key: 'Paikka-ID', headerName: 'Paikka-ID', isSortable: true },\n { key: 'Paikan tyyppi', headerName: 'Paikan tyyppi', isSortable: false },\n { key: 'Tehtävänimike', headerName: 'Tehtävänimike', isSortable: true },\n {\n key: 'Ilmoitus vanhenee',\n headerName: 'Ilmoitus vanhenee',\n sortIconType: 'other' as const,\n customSortCompareFunction: (a, b) => {\n const aDate = parse(a, 'dd.MM.yyyy', new Date());\n const bDate = parse(b, 'dd.MM.yyyy', new Date());\n\n if (isSameDay(aDate, bDate)) {\n return 0;\n }\n\n if (isBefore(aDate, bDate)) {\n return -1;\n }\n\n return 1;\n },\n isSortable: true,\n },\n { key: 'Toimiala/liikelaitos', headerName: 'Toimiala/liikelaitos', isSortable: true },\n { key: 'Työpaikka', headerName: 'Työpaikka', isSortable: true },\n { key: 'Postinumero', headerName: 'Postinumero', isSortable: true },\n {\n key: 'Paikkoja',\n headerName: 'Paikkoja',\n sortIconType: 'other' as const,\n transform: ({ Paikkoja }) => {\n return {Paikkoja}
;\n },\n isSortable: true,\n },\n {\n key: 'Haastatteluun halutaan',\n headerName: 'Haastatteluun halutaan',\n sortIconType: 'other' as const,\n transform: (row) => {\n return {row['Haastatteluun halutaan']}
;\n },\n isSortable: true,\n },\n ];\n\n const rows: Array = workTrial;\n\n const caption = (\n \n Table 1 : Table description\n \n );\n\n return (\n \n );\n};\n\n// args is required for docs tab to show source code\n\nexport const SortingSideEffects = (args) => {\n const cols = [\n { key: 'id', headerName: 'Not rendered' },\n { key: 'firstName', headerName: 'First name', isSortable: true },\n { key: 'surname', headerName: 'Surname', isSortable: true },\n {\n key: 'age',\n headerName: 'Age',\n sortIconType: 'other' as const,\n transform: ({ age }) => {\n return {age}
;\n },\n isSortable: true,\n },\n { key: 'profession', headerName: 'Profession', isSortable: true },\n ];\n\n const data: Array = [\n { id: 1000, firstName: 'Lauri', surname: 'Kekkonen', age: 39, profession: 'Engineer' },\n { id: 1001, firstName: 'Maria', surname: 'Sarasoja', age: 62, profession: 'Designer' },\n { id: 1002, firstName: 'Anneli', surname: 'Routa', age: 50, profession: 'Meteorologist' },\n { id: 1003, firstName: 'Osku', surname: 'Rausku', age: 18, profession: 'Mail Carrier' },\n { id: 1004, firstName: 'Linda', surname: 'Koululainen', age: 8, profession: 'School student' },\n ];\n const [loading, toggleLoading] = useState(false);\n const [rows, setRows] = useState(data);\n\n useEffect(() => {\n if (loading) {\n setTimeout(() => {\n toggleLoading((currentValue) => !currentValue);\n setRows(data);\n }, 1000);\n }\n }, [loading]);\n\n const caption = (\n \n Table 1 : Table with loading spinner\n \n );\n\n return (\n \n
{\n // Side effects\n setRows([]);\n toggleLoading((currentValue) => !currentValue);\n // Call table's own sorting function\n handleSort();\n }}\n />\n {loading && }\n \n );\n};\n\nSortingSideEffects.parameters = {\n loki: { skip: true }, // The starting point is exactly the same as for other tables\n};\n\n// args is required for docs tab to show source code\n\nexport const CheckboxSelection = (args) => {\n const cols = [\n { key: 'id', headerName: 'Not rendered' },\n { key: 'firstName', headerName: 'First name' },\n { key: 'surname', headerName: 'Surname' },\n {\n key: 'age',\n headerName: 'Age',\n transform: ({ age }) => {\n return {age}
;\n },\n },\n { key: 'profession', headerName: 'Profession' },\n ];\n\n const rows: Array = [\n { id: 1000, firstName: 'Lauri', surname: 'Kekkonen', age: 39, profession: 'Engineer' },\n { id: 1001, firstName: 'Maria', surname: 'Sarasoja', age: 62, profession: 'Designer' },\n { id: 1002, firstName: 'Anneli', surname: 'Routa', age: 50, profession: 'Meteorologist' },\n { id: 1003, firstName: 'Osku', surname: 'Rausku', age: 18, profession: 'Mail Carrier' },\n ];\n\n const [selectedRows, setSelectedRows] = useState([]);\n\n return (\n \n );\n};\n\n// args is required for docs tab to show source code\n\nexport const CheckboxSelectionDense = (args) => {\n const cols = [\n { key: 'id', headerName: 'Not rendered' },\n { key: 'firstName', headerName: 'First name' },\n { key: 'surname', headerName: 'Surname' },\n {\n key: 'age',\n headerName: 'Age',\n transform: ({ age }) => {\n return {age}
;\n },\n },\n { key: 'profession', headerName: 'Profession' },\n ];\n\n const rows: Array = [\n { id: 1000, firstName: 'Lauri', surname: 'Kekkonen', age: 39, profession: 'Engineer' },\n { id: 1001, firstName: 'Maria', surname: 'Sarasoja', age: 62, profession: 'Designer' },\n { id: 1002, firstName: 'Anneli', surname: 'Routa', age: 50, profession: 'Meteorologist' },\n { id: 1003, firstName: 'Osku', surname: 'Rausku', age: 18, profession: 'Mail Carrier' },\n ];\n\n const [selectedRows, setSelectedRows] = useState([]);\n\n return (\n \n );\n};\n\n// args is required for docs tab to show source code\n\nexport const InitiallySelectedRows = (args) => {\n const cols = [\n { key: 'id', headerName: 'Not rendered' },\n { key: 'firstName', headerName: 'First name' },\n { key: 'surname', headerName: 'Surname' },\n {\n key: 'age',\n headerName: 'Age',\n transform: ({ age }) => {\n return {age}
;\n },\n },\n { key: 'profession', headerName: 'Profession' },\n ];\n\n const rows: Array = [\n { id: 1000, firstName: 'Lauri', surname: 'Kekkonen', age: 39, profession: 'Engineer' },\n { id: 1001, firstName: 'Maria', surname: 'Sarasoja', age: 62, profession: 'Designer' },\n { id: 1002, firstName: 'Anneli', surname: 'Routa', age: 50, profession: 'Meteorologist' },\n { id: 1003, firstName: 'Osku', surname: 'Rausku', age: 18, profession: 'Mail Carrier' },\n ];\n\n const [selectedRows, setSelectedRows] = useState([1002, 1003]);\n\n return (\n \n );\n};\n\n// args is required for docs tab to show source code\n\nexport const WithCustomActions = (args) => {\n const cols = [\n { key: 'id', headerName: 'Not rendered' },\n { key: 'firstName', headerName: 'First name' },\n { key: 'surname', headerName: 'Surname' },\n {\n key: 'age',\n headerName: 'Age',\n transform: ({ age }) => {\n return {age}
;\n },\n },\n { key: 'profession', headerName: 'Profession' },\n ];\n\n const indexKey = 'id';\n\n const rows: Array = [\n { id: 1000, firstName: 'Lauri', surname: 'Kekkonen', age: 39, profession: 'Engineer' },\n { id: 1001, firstName: 'Maria', surname: 'Sarasoja', age: 62, profession: 'Designer' },\n { id: 1002, firstName: 'Anneli', surname: 'Routa', age: 50, profession: 'Meteorologist' },\n { id: 1003, firstName: 'Osku', surname: 'Rausku', age: 18, profession: 'Mail Carrier' },\n ];\n\n const [tableRows, setTableRows] = useState(rows);\n const [selectedRows, setSelectedRows] = useState([]);\n\n const deleteSelectedButton = (\n {\n setTableRows(\n tableRows.filter((row) => {\n const rowId = row[indexKey];\n\n return (\n selectedRows.some((selectedRow) => {\n return selectedRow === rowId;\n }) === false\n );\n }),\n );\n setSelectedRows([]);\n }}\n style={{\n flexGrow: 0,\n }}\n className=\"table-custom-action\"\n variant=\"secondary\"\n size=\"small\"\n iconLeft={ }\n disabled={selectedRows.length === 0}\n >\n Delete selected\n \n );\n\n const copySelected = (\n {\n \n console.log('Copy clicked!');\n }}\n style={{\n flexGrow: 0,\n }}\n className=\"table-custom-action\"\n variant=\"secondary\"\n size=\"small\"\n disabled={selectedRows.length === 0}\n >\n Copy selected\n \n );\n\n return (\n \n );\n};\n\n// args is required for docs tab to show source code\n\nexport const CheckboxSelectionWithSorting = (args) => {\n const cols = [\n { key: 'id', headerName: 'Not rendered' },\n { key: 'firstName', headerName: 'First name', isSortable: true },\n { key: 'surname', headerName: 'Surname', isSortable: true },\n {\n key: 'age',\n headerName: 'Age',\n sortIconType: 'other' as const,\n transform: ({ age }) => {\n return {age}
;\n },\n isSortable: true,\n },\n { key: 'profession', headerName: 'Profession', isSortable: true },\n ];\n\n const rows: Array = [\n { id: 1000, firstName: 'Lauri', surname: 'Kekkonen', age: 39, profession: 'Engineer' },\n { id: 1001, firstName: 'Maria', surname: 'Sarasoja', age: 62, profession: 'Designer' },\n { id: 1002, firstName: 'Anneli', surname: 'Routa', age: 50, profession: 'Meteorologist' },\n { id: 1003, firstName: 'Osku', surname: 'Rausku', age: 18, profession: 'Mail Carrier' },\n { id: 1004, firstName: 'Linda', surname: 'Koululainen', age: 8, profession: 'School student' },\n ];\n\n const [selectedRows, setSelectedRows] = useState([]);\n\n return (\n \n );\n};\n\n// args is required for docs tab to show source code\n\nexport const CustomBackgroundColorsForDarkVariant = (args) => {\n const cols = [\n { key: 'id', headerName: 'Not rendered' },\n { key: 'firstName', headerName: 'First name' },\n { key: 'surname', headerName: 'Surname' },\n {\n key: 'age',\n headerName: 'Age',\n transform: ({ age }) => {\n return {age}
;\n },\n },\n { key: 'profession', headerName: 'Profession' },\n ];\n\n const rows: Array = [\n { id: 1000, firstName: 'Lauri', surname: 'Kekkonen', age: 39, profession: 'Engineer' },\n { id: 1001, firstName: 'Maria', surname: 'Sarasoja', age: 62, profession: 'Designer' },\n { id: 1002, firstName: 'Anneli', surname: 'Routa', age: 50, profession: 'Meteorologist' },\n { id: 1003, firstName: 'Osku', surname: 'Rausku', age: 18, profession: 'Mail Carrier' },\n ];\n\n const caption = (\n \n Table 1 : Table description\n \n );\n\n const theme = {\n '--header-background-color': 'var(--color-tram)',\n '--content-background-color': 'var(--color-black-5)',\n };\n\n return (\n \n );\n};\n\n// args is required for docs tab to show source code\n\nexport const CustomBackgroundColorsForLightVariant = (args) => {\n const cols = [\n { key: 'id', headerName: 'Not rendered' },\n { key: 'firstName', headerName: 'First name' },\n { key: 'surname', headerName: 'Surname' },\n {\n key: 'age',\n headerName: 'Age',\n transform: ({ age }) => {\n return {age}
;\n },\n },\n { key: 'profession', headerName: 'Profession' },\n ];\n\n const rows: Array = [\n { id: 1000, firstName: 'Lauri', surname: 'Kekkonen', age: 39, profession: 'Engineer' },\n { id: 1001, firstName: 'Maria', surname: 'Sarasoja', age: 62, profession: 'Designer' },\n { id: 1002, firstName: 'Anneli', surname: 'Routa', age: 50, profession: 'Meteorologist' },\n { id: 1003, firstName: 'Osku', surname: 'Rausku', age: 18, profession: 'Mail Carrier' },\n ];\n\n const caption = (\n \n Table 1 : Table description\n \n );\n\n const theme = {\n '--header-background-color': 'var(--color-suomenlinna)',\n '--content-background-color': 'var(--color-black-5)',\n };\n\n return (\n \n );\n};\n",locationsMap:{default:{startLoc:{col:23,line:21},endLoc:{col:1,line:54},startBody:{col:23,line:21},endBody:{col:1,line:54}},light:{startLoc:{col:21,line:58},endLoc:{col:1,line:91},startBody:{col:21,line:58},endBody:{col:1,line:91}},dense:{startLoc:{col:21,line:95},endLoc:{col:1,line:128},startBody:{col:21,line:95},endBody:{col:1,line:128}},zebra:{startLoc:{col:21,line:132},endLoc:{col:1,line:205},startBody:{col:21,line:132},endBody:{col:1,line:205}},"vertical-lines":{startLoc:{col:29,line:209},endLoc:{col:1,line:242},startBody:{col:29,line:209},endBody:{col:1,line:242}},"vertical-headers":{startLoc:{col:31,line:246},endLoc:{col:1,line:290},startBody:{col:31,line:246},endBody:{col:1,line:290}},sorting:{startLoc:{col:23,line:294},endLoc:{col:1,line:339},startBody:{col:23,line:294},endBody:{col:1,line:339}},"sorting-light-variant":{startLoc:{col:35,line:343},endLoc:{col:1,line:389},startBody:{col:35,line:343},endBody:{col:1,line:389}},"initially-sorted-by":{startLoc:{col:33,line:393},endLoc:{col:1,line:440},startBody:{col:33,line:393},endBody:{col:1,line:440}},"custom-sort-function":{startLoc:{col:34,line:444},endLoc:{col:1,line:516},startBody:{col:34,line:444},endBody:{col:1,line:516}},"sorting-side-effects":{startLoc:{col:34,line:520},endLoc:{col:1,line:584},startBody:{col:34,line:520},endBody:{col:1,line:584}},"checkbox-selection":{startLoc:{col:33,line:592},endLoc:{col:1,line:634},startBody:{col:33,line:592},endBody:{col:1,line:634}},"checkbox-selection-dense":{startLoc:{col:38,line:638},endLoc:{col:1,line:681},startBody:{col:38,line:638},endBody:{col:1,line:681}},"initially-selected-rows":{startLoc:{col:37,line:685},endLoc:{col:1,line:728},startBody:{col:37,line:685},endBody:{col:1,line:728}},"with-custom-actions":{startLoc:{col:33,line:732},endLoc:{col:1,line:828},startBody:{col:33,line:732},endBody:{col:1,line:828}},"checkbox-selection-with-sorting":{startLoc:{col:44,line:832},endLoc:{col:1,line:880},startBody:{col:44,line:832},endBody:{col:1,line:880}},"custom-background-colors-for-dark-variant":{startLoc:{col:52,line:884},endLoc:{col:1,line:930},startBody:{col:52,line:884},endBody:{col:1,line:930}},"custom-background-colors-for-light-variant":{startLoc:{col:53,line:934},endLoc:{col:1,line:980},startBody:{col:53,line:934},endBody:{col:1,line:980}}}},controls:{expanded:!0}},args:{}};var Default=function Default(args){var cols=[{key:"id",headerName:"Not rendered"},{key:"firstName",headerName:"First name"},{key:"surname",headerName:"Surname"},{key:"age",headerName:"Age",transform:function transform(_ref){var age=_ref.age;return(0,jsx_runtime.jsx)("div",{style:{textAlign:"right"},children:age})}},{key:"profession",headerName:"Profession"}],caption=(0,jsx_runtime.jsxs)("span",{children:[(0,jsx_runtime.jsx)("b",{children:"Table 1"}),": Table description"]});return(0,jsx_runtime.jsx)("div",{style:{maxWidth:"640px"},children:(0,jsx_runtime.jsx)(Table.i,{cols,rows:[{id:1e3,firstName:"Lauri",surname:"Kekkonen",age:39,profession:"Engineer"},{id:1001,firstName:"Maria",surname:"Sarasoja",age:62,profession:"Designer"},{id:1002,firstName:"Anneli",surname:"Routa",age:50,profession:"Meteorologist"},{id:1003,firstName:"Osku",surname:"Rausku",age:18,profession:"Mail Carrier"}],caption,indexKey:"id",renderIndexCol:!1})})},Light=function Light(args){var cols=[{key:"id",headerName:"Not rendered"},{key:"firstName",headerName:"First name"},{key:"surname",headerName:"Surname"},{key:"age",headerName:"Age",transform:function transform(_ref2){var age=_ref2.age;return(0,jsx_runtime.jsx)("div",{style:{textAlign:"right"},children:age})}},{key:"profession",headerName:"Profession"}],caption=(0,jsx_runtime.jsxs)("span",{children:[(0,jsx_runtime.jsx)("b",{children:"Table 1"}),": Table description"]});return(0,jsx_runtime.jsx)("div",{style:{maxWidth:"640px"},children:(0,jsx_runtime.jsx)(Table.i,{caption,cols,variant:"light",indexKey:"id",renderIndexCol:!1,rows:[{id:1e3,firstName:"Lauri",surname:"Kekkonen",age:39,profession:"Engineer"},{id:1001,firstName:"Maria",surname:"Sarasoja",age:62,profession:"Designer"},{id:1002,firstName:"Anneli",surname:"Routa",age:50,profession:"Meteorologist"},{id:1003,firstName:"Osku",surname:"Rausku",age:18,profession:"Mail Carrier"}]})})},Dense=function Dense(args){var cols=[{key:"id",headerName:"Not rendered"},{key:"firstName",headerName:"First name"},{key:"surname",headerName:"Surname"},{key:"age",headerName:"Age",transform:function transform(_ref3){var age=_ref3.age;return(0,jsx_runtime.jsx)("div",{style:{textAlign:"right"},children:age})}},{key:"profession",headerName:"Profession"}],caption=(0,jsx_runtime.jsxs)("span",{children:[(0,jsx_runtime.jsx)("b",{children:"Table 1"}),": Table description"]});return(0,jsx_runtime.jsx)("div",{style:{maxWidth:"500px"},children:(0,jsx_runtime.jsx)(Table.i,{cols,rows:[{id:1e3,firstName:"Lauri",surname:"Kekkonen",age:39,profession:"Engineer"},{id:1001,firstName:"Maria",surname:"Sarasoja",age:62,profession:"Designer"},{id:1002,firstName:"Anneli",surname:"Routa",age:50,profession:"Meteorologist"},{id:1003,firstName:"Osku",surname:"Rausku",age:18,profession:"Mail Carrier"}],dense:!0,caption,indexKey:"id",renderIndexCol:!1})})},Zebra=function Zebra(args){var cols=[{key:"id",headerName:"Not rendered"},{key:"firstName",headerName:"First name"},{key:"surname",headerName:"Surname"},{key:"age",headerName:"Age",transform:function transform(_ref4){var age=_ref4.age;return(0,jsx_runtime.jsx)("div",{style:{textAlign:"right"},children:age})}},{key:"city",headerName:"City"},{key:"profession",headerName:"Profession"},{key:"experience",headerName:"Experience (years)",transform:function transform(_ref5){var experience=_ref5.experience;return(0,jsx_runtime.jsx)("div",{style:{textAlign:"right"},children:experience})}}],caption=(0,jsx_runtime.jsxs)("span",{children:[(0,jsx_runtime.jsx)("b",{children:"Table 1"}),": Table description"]});return(0,jsx_runtime.jsx)("div",{style:{maxWidth:"800px"},children:(0,jsx_runtime.jsx)(Table.i,{rows:[{id:1e3,firstName:"Lauri",surname:"Kekkonen",age:39,city:"Helsinki",profession:"Engineer",experience:10},{id:1001,firstName:"Maria",surname:"Sarasoja",age:62,city:"Tampere",profession:"Designer",experience:39},{id:1002,firstName:"Anneli",surname:"Routa",age:50,city:"Turku",profession:"Meteorologist",experience:25},{id:1003,firstName:"Osku",surname:"Rausku",age:18,city:"Oulu",profession:"Mail Carrier",experience:1}],cols,caption,zebra:!0,indexKey:"id",renderIndexCol:!1})})},VerticalLines=function VerticalLines(args){var cols=[{key:"id",headerName:"Not rendered"},{key:"firstName",headerName:"First name"},{key:"surname",headerName:"Surname"},{key:"age",headerName:"Age",transform:function transform(_ref6){var age=_ref6.age;return(0,jsx_runtime.jsx)("div",{style:{textAlign:"right"},children:age})}},{key:"profession",headerName:"Profession"}],caption=(0,jsx_runtime.jsxs)("span",{children:[(0,jsx_runtime.jsx)("b",{children:"Table 1"}),": Table description"]});return(0,jsx_runtime.jsx)("div",{style:{maxWidth:"640px"},children:(0,jsx_runtime.jsx)(Table.i,{verticalLines:!0,cols,rows:[{id:1e3,firstName:"Lauri",surname:"Kekkonen",age:39,profession:"Engineer"},{id:1001,firstName:"Maria",surname:"Sarasoja",age:62,profession:"Designer"},{id:1002,firstName:"Anneli",surname:"Routa",age:50,profession:"Meteorologist"},{id:1003,firstName:"Osku",surname:"Rausku",age:18,profession:"Mail Carrier"}],caption,indexKey:"id",renderIndexCol:!1})})},VerticalHeaders=function VerticalHeaders(args){var caption=(0,jsx_runtime.jsxs)("span",{children:[(0,jsx_runtime.jsx)("b",{children:"Table 1"}),": Table description"]});return(0,jsx_runtime.jsx)("div",{style:{maxWidth:"486px"},children:(0,jsx_runtime.jsx)(Table.i,{verticalHeaders:[{key:"monday",headerName:"Monday"},{key:"tuesday",headerName:"Tuesday"},{key:"wednesday",headerName:"Wednesday"},{key:"thursday",headerName:"Thursday"},{key:"friday",headerName:"Friday"}],cols:[{key:"id",headerName:"Not rendered"},{key:"8-12",headerName:"8-12"},{key:"12-14",headerName:"12-14"},{key:"14-16",headerName:"14-16"},{key:"16-18",headerName:"16-18"}],rows:[{id:"monday","8-12":324,"12-14":562,"14-16":280,"16-18":94},{id:"tuesday","8-12":341,"12-14":688,"14-16":425,"16-18":113},{id:"wednesday","8-12":294,"12-14":492,"14-16":280,"16-18":67},{id:"thursday","8-12":312,"12-14":501,"14-16":455,"16-18":112},{id:"friday","8-12":150,"12-14":142,"14-16":362,"16-18":455}],caption,textAlignContentRight:!0,indexKey:"id",renderIndexCol:!1})})},Sorting=function Sorting(args){var cols=[{key:"id",headerName:"Not rendered"},{key:"firstName",headerName:"First name",isSortable:!0},{key:"surname",headerName:"Surname",isSortable:!0},{key:"age",headerName:"Age",sortIconType:"other",transform:function transform(_ref7){var age=_ref7.age;return(0,jsx_runtime.jsx)("div",{style:{textAlign:"right"},children:age})},isSortable:!0},{key:"profession",headerName:"Profession",isSortable:!0}],caption=(0,jsx_runtime.jsxs)("span",{children:[(0,jsx_runtime.jsx)("b",{children:"Table 1"}),": Table description"]});return(0,jsx_runtime.jsx)("div",{style:{maxWidth:"640px"},children:(0,jsx_runtime.jsx)(Table.i,{ariaLabelSortButtonUnset:"Not sorted",ariaLabelSortButtonAscending:"Sorted in ascending order",ariaLabelSortButtonDescending:"Sorted in descending order",indexKey:"id",renderIndexCol:!1,cols,rows:[{id:1e3,firstName:"Lauri",surname:"Kekkonen",age:39,profession:"Engineer"},{id:1001,firstName:"Maria",surname:"Sarasoja",age:62,profession:"Designer"},{id:1002,firstName:"Anneli",surname:"Routa",age:50,profession:"Meteorologist"},{id:1003,firstName:"Osku",surname:"Rausku",age:18,profession:"Mail Carrier"},{id:1004,firstName:"Linda",surname:"Koululainen",age:8,profession:"School student"}],caption})})},SortingLightVariant=function SortingLightVariant(args){var cols=[{key:"id",headerName:"Not rendered"},{key:"firstName",headerName:"First name",isSortable:!0},{key:"surname",headerName:"Surname",isSortable:!0},{key:"age",headerName:"Age",sortIconType:"other",transform:function transform(_ref8){var age=_ref8.age;return(0,jsx_runtime.jsx)("div",{style:{textAlign:"right"},children:age})},isSortable:!0},{key:"profession",headerName:"Profession",isSortable:!0}],caption=(0,jsx_runtime.jsxs)("span",{children:[(0,jsx_runtime.jsx)("b",{children:"Table 1"}),": Table description"]});return(0,jsx_runtime.jsx)("div",{style:{maxWidth:"640px"},children:(0,jsx_runtime.jsx)(Table.i,{variant:"light",ariaLabelSortButtonUnset:"Not sorted",ariaLabelSortButtonAscending:"Sorted in ascending order",ariaLabelSortButtonDescending:"Sorted in descending order",indexKey:"id",renderIndexCol:!1,cols,rows:[{id:1e3,firstName:"Lauri",surname:"Kekkonen",age:39,profession:"Engineer"},{id:1001,firstName:"Maria",surname:"Sarasoja",age:62,profession:"Designer"},{id:1002,firstName:"Anneli",surname:"Routa",age:50,profession:"Meteorologist"},{id:1003,firstName:"Osku",surname:"Rausku",age:18,profession:"Mail Carrier"},{id:1004,firstName:"Linda",surname:"Koululainen",age:8,profession:"School student"}],caption})})},InitiallySortedBy=function InitiallySortedBy(args){var cols=[{key:"id",headerName:"Not rendered"},{key:"firstName",headerName:"First name",isSortable:!0},{key:"surname",headerName:"Surname",isSortable:!0},{key:"age",headerName:"Age",sortIconType:"other",transform:function transform(_ref9){var age=_ref9.age;return(0,jsx_runtime.jsx)("div",{style:{textAlign:"right"},children:age})},isSortable:!0},{key:"profession",headerName:"Profession",isSortable:!0}],caption=(0,jsx_runtime.jsxs)("span",{children:[(0,jsx_runtime.jsx)("b",{children:"Table 1"}),": Table description"]});return(0,jsx_runtime.jsx)("div",{style:{maxWidth:"640px"},children:(0,jsx_runtime.jsx)(Table.i,{initialSortingColumnKey:"age",initialSortingOrder:"desc",ariaLabelSortButtonUnset:"Not sorted",ariaLabelSortButtonAscending:"Sorted in ascending order",ariaLabelSortButtonDescending:"Sorted in descending order",rows:[{id:1e3,firstName:"Lauri",surname:"Kekkonen",age:39,profession:"Engineer"},{id:1001,firstName:"Maria",surname:"Sarasoja",age:62,profession:"Designer"},{id:1002,firstName:"Anneli",surname:"Routa",age:50,profession:"Meteorologist"},{id:1003,firstName:"Osku",surname:"Rausku",age:18,profession:"Mail Carrier"},{id:1004,firstName:"Linda",surname:"Koululainen",age:8,profession:"School student"}],cols,indexKey:"id",renderIndexCol:!1,caption})})},CustomSortFunction=function CustomSortFunction(args){var cols=[{key:"Paikka-ID",headerName:"Paikka-ID",isSortable:!0},{key:"Paikan tyyppi",headerName:"Paikan tyyppi",isSortable:!1},{key:"Tehtävänimike",headerName:"Tehtävänimike",isSortable:!0},{key:"Ilmoitus vanhenee",headerName:"Ilmoitus vanhenee",sortIconType:"other",customSortCompareFunction:function customSortCompareFunction(a,b){var aDate=(0,parse.Z)(a,"dd.MM.yyyy",new Date),bDate=(0,parse.Z)(b,"dd.MM.yyyy",new Date);return(0,isSameDay.Z)(aDate,bDate)?0:(0,isBefore.Z)(aDate,bDate)?-1:1},isSortable:!0},{key:"Toimiala/liikelaitos",headerName:"Toimiala/liikelaitos",isSortable:!0},{key:"Työpaikka",headerName:"Työpaikka",isSortable:!0},{key:"Postinumero",headerName:"Postinumero",isSortable:!0},{key:"Paikkoja",headerName:"Paikkoja",sortIconType:"other",transform:function transform(_ref10){var Paikkoja=_ref10.Paikkoja;return(0,jsx_runtime.jsx)("div",{style:{textAlign:"right"},children:Paikkoja})},isSortable:!0},{key:"Haastatteluun halutaan",headerName:"Haastatteluun halutaan",sortIconType:"other",transform:function transform(row){return(0,jsx_runtime.jsx)("div",{style:{textAlign:"right"},children:row["Haastatteluun halutaan"]})},isSortable:!0}],rows=story_example_work_trial_namespaceObject,caption=(0,jsx_runtime.jsxs)("span",{children:[(0,jsx_runtime.jsx)("b",{children:"Table 1"}),": Table description"]});return(0,jsx_runtime.jsx)("div",{style:{maxWidth:"1200px",height:"600px"},children:(0,jsx_runtime.jsx)(Table.i,{initialSortingColumnKey:"Ilmoitus vanhenee",initialSortingOrder:"asc",ariaLabelSortButtonUnset:"Not sorted",ariaLabelSortButtonAscending:"Sorted in ascending order",ariaLabelSortButtonDescending:"Sorted in descending order",cols,rows,indexKey:"Paikka-ID",caption,dense:!0})})},SortingSideEffects=function SortingSideEffects(args){var cols=[{key:"id",headerName:"Not rendered"},{key:"firstName",headerName:"First name",isSortable:!0},{key:"surname",headerName:"Surname",isSortable:!0},{key:"age",headerName:"Age",sortIconType:"other",transform:function transform(_ref11){var age=_ref11.age;return(0,jsx_runtime.jsx)("div",{style:{textAlign:"right"},children:age})},isSortable:!0},{key:"profession",headerName:"Profession",isSortable:!0}],data=[{id:1e3,firstName:"Lauri",surname:"Kekkonen",age:39,profession:"Engineer"},{id:1001,firstName:"Maria",surname:"Sarasoja",age:62,profession:"Designer"},{id:1002,firstName:"Anneli",surname:"Routa",age:50,profession:"Meteorologist"},{id:1003,firstName:"Osku",surname:"Rausku",age:18,profession:"Mail Carrier"},{id:1004,firstName:"Linda",surname:"Koululainen",age:8,profession:"School student"}],_useState=(0,react.useState)(!1),_useState2=(0,slicedToArray.Z)(_useState,2),loading=_useState2[0],toggleLoading=_useState2[1],_useState3=(0,react.useState)(data),_useState4=(0,slicedToArray.Z)(_useState3,2),rows=_useState4[0],setRows=_useState4[1];(0,react.useEffect)((function(){loading&&setTimeout((function(){toggleLoading((function(currentValue){return!currentValue})),setRows(data)}),1e3)}),[loading]);var caption=(0,jsx_runtime.jsxs)("span",{children:[(0,jsx_runtime.jsx)("b",{children:"Table 1"}),": Table with loading spinner"]});return(0,jsx_runtime.jsxs)("div",{style:{maxWidth:"640px",display:"flex",flexDirection:"column",alignItems:"center"},children:[(0,jsx_runtime.jsx)(Table.i,{ariaLabelSortButtonUnset:"Not sorted",ariaLabelSortButtonAscending:"Sorted in ascending order",ariaLabelSortButtonDescending:"Sorted in descending order",indexKey:"id",renderIndexCol:!1,cols,rows,caption,onSort:function onSort(order,colKey,handleSort){setRows([]),toggleLoading((function(currentValue){return!currentValue})),handleSort()}}),loading&&(0,jsx_runtime.jsx)(LoadingSpinner.T,{style:{marginTop:"var(--spacing-l)"}})]})};SortingSideEffects.parameters={loki:{skip:!0}};var CheckboxSelection=function CheckboxSelection(args){var cols=[{key:"id",headerName:"Not rendered"},{key:"firstName",headerName:"First name"},{key:"surname",headerName:"Surname"},{key:"age",headerName:"Age",transform:function transform(_ref12){var age=_ref12.age;return(0,jsx_runtime.jsx)("div",{style:{textAlign:"right"},children:age})}},{key:"profession",headerName:"Profession"}],_useState5=(0,react.useState)([]),_useState6=(0,slicedToArray.Z)(_useState5,2),selectedRows=_useState6[0],setSelectedRows=_useState6[1];return(0,jsx_runtime.jsx)("div",{style:{maxWidth:"640px"},children:(0,jsx_runtime.jsx)(Table.i,{checkboxSelection:!0,selectedRows,setSelectedRows,heading:"Employees",id:"checkbox-selection",indexKey:"id",renderIndexCol:!1,cols,rows:[{id:1e3,firstName:"Lauri",surname:"Kekkonen",age:39,profession:"Engineer"},{id:1001,firstName:"Maria",surname:"Sarasoja",age:62,profession:"Designer"},{id:1002,firstName:"Anneli",surname:"Routa",age:50,profession:"Meteorologist"},{id:1003,firstName:"Osku",surname:"Rausku",age:18,profession:"Mail Carrier"}],selectAllRowsText:"Select all rows",clearSelectionsText:"Clear selections",ariaLabelCheckboxSelection:"Row selection"})})},CheckboxSelectionDense=function CheckboxSelectionDense(args){var cols=[{key:"id",headerName:"Not rendered"},{key:"firstName",headerName:"First name"},{key:"surname",headerName:"Surname"},{key:"age",headerName:"Age",transform:function transform(_ref13){var age=_ref13.age;return(0,jsx_runtime.jsx)("div",{style:{textAlign:"right"},children:age})}},{key:"profession",headerName:"Profession"}],_useState7=(0,react.useState)([]),_useState8=(0,slicedToArray.Z)(_useState7,2),selectedRows=_useState8[0],setSelectedRows=_useState8[1];return(0,jsx_runtime.jsx)("div",{style:{maxWidth:"500px"},children:(0,jsx_runtime.jsx)(Table.i,{dense:!0,checkboxSelection:!0,selectedRows,setSelectedRows,heading:"Employees",id:"checkbox-selection-dense",cols,rows:[{id:1e3,firstName:"Lauri",surname:"Kekkonen",age:39,profession:"Engineer"},{id:1001,firstName:"Maria",surname:"Sarasoja",age:62,profession:"Designer"},{id:1002,firstName:"Anneli",surname:"Routa",age:50,profession:"Meteorologist"},{id:1003,firstName:"Osku",surname:"Rausku",age:18,profession:"Mail Carrier"}],indexKey:"id",renderIndexCol:!1,selectAllRowsText:"Select all rows",clearSelectionsText:"Clear selections",ariaLabelCheckboxSelection:"Row selection"})})},InitiallySelectedRows=function InitiallySelectedRows(args){var cols=[{key:"id",headerName:"Not rendered"},{key:"firstName",headerName:"First name"},{key:"surname",headerName:"Surname"},{key:"age",headerName:"Age",transform:function transform(_ref14){var age=_ref14.age;return(0,jsx_runtime.jsx)("div",{style:{textAlign:"right"},children:age})}},{key:"profession",headerName:"Profession"}],_useState9=(0,react.useState)([1002,1003]),_useState10=(0,slicedToArray.Z)(_useState9,2),selectedRows=_useState10[0],setSelectedRows=_useState10[1];return(0,jsx_runtime.jsx)("div",{style:{maxWidth:"640px"},children:(0,jsx_runtime.jsx)(Table.i,{heading:"Employees",id:"initially-selected",checkboxSelection:!0,selectedRows,setSelectedRows,variant:"dark",cols,rows:[{id:1e3,firstName:"Lauri",surname:"Kekkonen",age:39,profession:"Engineer"},{id:1001,firstName:"Maria",surname:"Sarasoja",age:62,profession:"Designer"},{id:1002,firstName:"Anneli",surname:"Routa",age:50,profession:"Meteorologist"},{id:1003,firstName:"Osku",surname:"Rausku",age:18,profession:"Mail Carrier"}],indexKey:"id",renderIndexCol:!1,selectAllRowsText:"Select all rows",clearSelectionsText:"Clear selections",ariaLabelCheckboxSelection:"Row selection"})})},WithCustomActions=function WithCustomActions(args){var cols=[{key:"id",headerName:"Not rendered"},{key:"firstName",headerName:"First name"},{key:"surname",headerName:"Surname"},{key:"age",headerName:"Age",transform:function transform(_ref15){var age=_ref15.age;return(0,jsx_runtime.jsx)("div",{style:{textAlign:"right"},children:age})}},{key:"profession",headerName:"Profession"}],_useState11=(0,react.useState)([{id:1e3,firstName:"Lauri",surname:"Kekkonen",age:39,profession:"Engineer"},{id:1001,firstName:"Maria",surname:"Sarasoja",age:62,profession:"Designer"},{id:1002,firstName:"Anneli",surname:"Routa",age:50,profession:"Meteorologist"},{id:1003,firstName:"Osku",surname:"Rausku",age:18,profession:"Mail Carrier"}]),_useState12=(0,slicedToArray.Z)(_useState11,2),tableRows=_useState12[0],setTableRows=_useState12[1],_useState13=(0,react.useState)([]),_useState14=(0,slicedToArray.Z)(_useState13,2),selectedRows=_useState14[0],setSelectedRows=_useState14[1],deleteSelectedButton=(0,jsx_runtime.jsx)(Button.z,{onClick:function onClick(){setTableRows(tableRows.filter((function(row){var rowId=row.id;return!1===selectedRows.some((function(selectedRow){return selectedRow===rowId}))}))),setSelectedRows([])},style:{flexGrow:0},className:"table-custom-action",variant:"secondary",size:"small",iconLeft:(0,jsx_runtime.jsx)(IconTrash.IconTrash,{}),disabled:0===selectedRows.length,children:"Delete selected"},1),copySelected=(0,jsx_runtime.jsx)(Button.z,{onClick:function onClick(){console.log("Copy clicked!")},style:{flexGrow:0},className:"table-custom-action",variant:"secondary",size:"small",disabled:0===selectedRows.length,children:"Copy selected"},2);return(0,jsx_runtime.jsx)("div",{style:{maxWidth:"640px"},children:(0,jsx_runtime.jsx)(Table.i,{customActionButtons:[deleteSelectedButton,copySelected],selectedRows,setSelectedRows,checkboxSelection:!0,cols,rows:tableRows,heading:"Employees",id:"custom-actions",indexKey:"id",renderIndexCol:!1,variant:"dark",selectAllRowsText:"Select all rows",clearSelectionsText:"Clear selections",ariaLabelCheckboxSelection:"Row selection"})})},CheckboxSelectionWithSorting=function CheckboxSelectionWithSorting(args){var cols=[{key:"id",headerName:"Not rendered"},{key:"firstName",headerName:"First name",isSortable:!0},{key:"surname",headerName:"Surname",isSortable:!0},{key:"age",headerName:"Age",sortIconType:"other",transform:function transform(_ref16){var age=_ref16.age;return(0,jsx_runtime.jsx)("div",{style:{textAlign:"right"},children:age})},isSortable:!0},{key:"profession",headerName:"Profession",isSortable:!0}],_useState15=(0,react.useState)([]),_useState16=(0,slicedToArray.Z)(_useState15,2),selectedRows=_useState16[0],setSelectedRows=_useState16[1];return(0,jsx_runtime.jsx)("div",{style:{maxWidth:"640px"},children:(0,jsx_runtime.jsx)(Table.i,{ariaLabelSortButtonUnset:"Not sorted",ariaLabelSortButtonAscending:"Sorted in ascending order",ariaLabelSortButtonDescending:"Sorted in descending order",selectAllRowsText:"Select all rows",clearSelectionsText:"Clear selections",ariaLabelCheckboxSelection:"Row selection",checkboxSelection:!0,selectedRows,setSelectedRows,cols,rows:[{id:1e3,firstName:"Lauri",surname:"Kekkonen",age:39,profession:"Engineer"},{id:1001,firstName:"Maria",surname:"Sarasoja",age:62,profession:"Designer"},{id:1002,firstName:"Anneli",surname:"Routa",age:50,profession:"Meteorologist"},{id:1003,firstName:"Osku",surname:"Rausku",age:18,profession:"Mail Carrier"},{id:1004,firstName:"Linda",surname:"Koululainen",age:8,profession:"School student"}],indexKey:"id",renderIndexCol:!1,heading:"Employees",id:"selection-with-sorting"})})},CustomBackgroundColorsForDarkVariant=function CustomBackgroundColorsForDarkVariant(args){var cols=[{key:"id",headerName:"Not rendered"},{key:"firstName",headerName:"First name"},{key:"surname",headerName:"Surname"},{key:"age",headerName:"Age",transform:function transform(_ref17){var age=_ref17.age;return(0,jsx_runtime.jsx)("div",{style:{textAlign:"right"},children:age})}},{key:"profession",headerName:"Profession"}],caption=(0,jsx_runtime.jsxs)("span",{children:[(0,jsx_runtime.jsx)("b",{children:"Table 1"}),": Table description"]});return(0,jsx_runtime.jsx)("div",{style:{maxWidth:"640px"},children:(0,jsx_runtime.jsx)(Table.i,{theme:{"--header-background-color":"var(--color-tram)","--content-background-color":"var(--color-black-5)"},caption,variant:"dark",indexKey:"id",renderIndexCol:!1,rows:[{id:1e3,firstName:"Lauri",surname:"Kekkonen",age:39,profession:"Engineer"},{id:1001,firstName:"Maria",surname:"Sarasoja",age:62,profession:"Designer"},{id:1002,firstName:"Anneli",surname:"Routa",age:50,profession:"Meteorologist"},{id:1003,firstName:"Osku",surname:"Rausku",age:18,profession:"Mail Carrier"}],cols})})},CustomBackgroundColorsForLightVariant=function CustomBackgroundColorsForLightVariant(args){var cols=[{key:"id",headerName:"Not rendered"},{key:"firstName",headerName:"First name"},{key:"surname",headerName:"Surname"},{key:"age",headerName:"Age",transform:function transform(_ref18){var age=_ref18.age;return(0,jsx_runtime.jsx)("div",{style:{textAlign:"right"},children:age})}},{key:"profession",headerName:"Profession"}],caption=(0,jsx_runtime.jsxs)("span",{children:[(0,jsx_runtime.jsx)("b",{children:"Table 1"}),": Table description"]});return(0,jsx_runtime.jsx)("div",{style:{maxWidth:"640px"},children:(0,jsx_runtime.jsx)(Table.i,{theme:{"--header-background-color":"var(--color-suomenlinna)","--content-background-color":"var(--color-black-5)"},caption,variant:"light",indexKey:"id",renderIndexCol:!1,rows:[{id:1e3,firstName:"Lauri",surname:"Kekkonen",age:39,profession:"Engineer"},{id:1001,firstName:"Maria",surname:"Sarasoja",age:62,profession:"Designer"},{id:1002,firstName:"Anneli",surname:"Routa",age:50,profession:"Meteorologist"},{id:1003,firstName:"Osku",surname:"Rausku",age:18,profession:"Mail Carrier"}],cols})})};Default.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const cols = [\n { key: 'id', headerName: 'Not rendered' },\n { key: 'firstName', headerName: 'First name' },\n { key: 'surname', headerName: 'Surname' },\n {\n key: 'age',\n headerName: 'Age',\n transform: ({ age }) => {\n return {age}
;\n },\n },\n { key: 'profession', headerName: 'Profession' },\n ];\n\n const rows: Array = [\n { id: 1000, firstName: 'Lauri', surname: 'Kekkonen', age: 39, profession: 'Engineer' },\n { id: 1001, firstName: 'Maria', surname: 'Sarasoja', age: 62, profession: 'Designer' },\n { id: 1002, firstName: 'Anneli', surname: 'Routa', age: 50, profession: 'Meteorologist' },\n { id: 1003, firstName: 'Osku', surname: 'Rausku', age: 18, profession: 'Mail Carrier' },\n ];\n\n const caption = (\n \n Table 1 : Table description\n \n );\n\n return (\n \n );\n}"}},Default.parameters),Light.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const cols = [\n { key: 'id', headerName: 'Not rendered' },\n { key: 'firstName', headerName: 'First name' },\n { key: 'surname', headerName: 'Surname' },\n {\n key: 'age',\n headerName: 'Age',\n transform: ({ age }) => {\n return {age}
;\n },\n },\n { key: 'profession', headerName: 'Profession' },\n ];\n\n const rows: Array = [\n { id: 1000, firstName: 'Lauri', surname: 'Kekkonen', age: 39, profession: 'Engineer' },\n { id: 1001, firstName: 'Maria', surname: 'Sarasoja', age: 62, profession: 'Designer' },\n { id: 1002, firstName: 'Anneli', surname: 'Routa', age: 50, profession: 'Meteorologist' },\n { id: 1003, firstName: 'Osku', surname: 'Rausku', age: 18, profession: 'Mail Carrier' },\n ];\n\n const caption = (\n \n Table 1 : Table description\n \n );\n\n return (\n \n );\n}"}},Light.parameters),Dense.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const cols = [\n { key: 'id', headerName: 'Not rendered' },\n { key: 'firstName', headerName: 'First name' },\n { key: 'surname', headerName: 'Surname' },\n {\n key: 'age',\n headerName: 'Age',\n transform: ({ age }) => {\n return {age}
;\n },\n },\n { key: 'profession', headerName: 'Profession' },\n ];\n\n const rows: Array = [\n { id: 1000, firstName: 'Lauri', surname: 'Kekkonen', age: 39, profession: 'Engineer' },\n { id: 1001, firstName: 'Maria', surname: 'Sarasoja', age: 62, profession: 'Designer' },\n { id: 1002, firstName: 'Anneli', surname: 'Routa', age: 50, profession: 'Meteorologist' },\n { id: 1003, firstName: 'Osku', surname: 'Rausku', age: 18, profession: 'Mail Carrier' },\n ];\n\n const caption = (\n \n Table 1 : Table description\n \n );\n\n return (\n \n );\n}"}},Dense.parameters),Zebra.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const cols = [\n { key: 'id', headerName: 'Not rendered' },\n { key: 'firstName', headerName: 'First name' },\n { key: 'surname', headerName: 'Surname' },\n {\n key: 'age',\n headerName: 'Age',\n transform: ({ age }) => {\n return {age}
;\n },\n },\n { key: 'city', headerName: 'City' },\n { key: 'profession', headerName: 'Profession' },\n {\n key: 'experience',\n headerName: 'Experience (years)',\n transform: ({ experience }) => {\n return {experience}
;\n },\n },\n ];\n\n const rows: Array = [\n {\n id: 1000,\n firstName: 'Lauri',\n surname: 'Kekkonen',\n age: 39,\n city: 'Helsinki',\n profession: 'Engineer',\n experience: 10,\n },\n {\n id: 1001,\n firstName: 'Maria',\n surname: 'Sarasoja',\n age: 62,\n city: 'Tampere',\n profession: 'Designer',\n experience: 39,\n },\n {\n id: 1002,\n firstName: 'Anneli',\n surname: 'Routa',\n age: 50,\n city: 'Turku',\n profession: 'Meteorologist',\n experience: 25,\n },\n {\n id: 1003,\n firstName: 'Osku',\n surname: 'Rausku',\n age: 18,\n city: 'Oulu',\n profession: 'Mail Carrier',\n experience: 1,\n },\n ];\n\n const caption = (\n \n Table 1 : Table description\n \n );\n\n return (\n \n );\n}"}},Zebra.parameters),VerticalLines.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const cols = [\n { key: 'id', headerName: 'Not rendered' },\n { key: 'firstName', headerName: 'First name' },\n { key: 'surname', headerName: 'Surname' },\n {\n key: 'age',\n headerName: 'Age',\n transform: ({ age }) => {\n return {age}
;\n },\n },\n { key: 'profession', headerName: 'Profession' },\n ];\n\n const rows: Array = [\n { id: 1000, firstName: 'Lauri', surname: 'Kekkonen', age: 39, profession: 'Engineer' },\n { id: 1001, firstName: 'Maria', surname: 'Sarasoja', age: 62, profession: 'Designer' },\n { id: 1002, firstName: 'Anneli', surname: 'Routa', age: 50, profession: 'Meteorologist' },\n { id: 1003, firstName: 'Osku', surname: 'Rausku', age: 18, profession: 'Mail Carrier' },\n ];\n\n const caption = (\n \n Table 1 : Table description\n \n );\n\n return (\n \n );\n}"}},VerticalLines.parameters),VerticalHeaders.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const cols = [\n { key: 'id', headerName: 'Not rendered' },\n { key: '8-12', headerName: '8-12' },\n { key: '12-14', headerName: '12-14' },\n { key: '14-16', headerName: '14-16' },\n { key: '16-18', headerName: '16-18' },\n ];\n\n const unitRows: Array = [\n { id: 'monday', '8-12': 324, '12-14': 562, '14-16': 280, '16-18': 94 },\n { id: 'tuesday', '8-12': 341, '12-14': 688, '14-16': 425, '16-18': 113 },\n { id: 'wednesday', '8-12': 294, '12-14': 492, '14-16': 280, '16-18': 67 },\n { id: 'thursday', '8-12': 312, '12-14': 501, '14-16': 455, '16-18': 112 },\n { id: 'friday', '8-12': 150, '12-14': 142, '14-16': 362, '16-18': 455 },\n ];\n\n const verticalHeaders = [\n { key: 'monday', headerName: 'Monday' },\n { key: 'tuesday', headerName: 'Tuesday' },\n { key: 'wednesday', headerName: 'Wednesday' },\n { key: 'thursday', headerName: 'Thursday' },\n { key: 'friday', headerName: 'Friday' },\n ];\n\n const caption = (\n \n Table 1 : Table description\n \n );\n\n return (\n \n );\n}"}},VerticalHeaders.parameters),Sorting.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const cols = [\n { key: 'id', headerName: 'Not rendered' },\n { key: 'firstName', headerName: 'First name', isSortable: true },\n { key: 'surname', headerName: 'Surname', isSortable: true },\n {\n key: 'age',\n headerName: 'Age',\n sortIconType: 'other' as const,\n transform: ({ age }) => {\n return {age}
;\n },\n isSortable: true,\n },\n { key: 'profession', headerName: 'Profession', isSortable: true },\n ];\n\n const rows: Array = [\n { id: 1000, firstName: 'Lauri', surname: 'Kekkonen', age: 39, profession: 'Engineer' },\n { id: 1001, firstName: 'Maria', surname: 'Sarasoja', age: 62, profession: 'Designer' },\n { id: 1002, firstName: 'Anneli', surname: 'Routa', age: 50, profession: 'Meteorologist' },\n { id: 1003, firstName: 'Osku', surname: 'Rausku', age: 18, profession: 'Mail Carrier' },\n { id: 1004, firstName: 'Linda', surname: 'Koululainen', age: 8, profession: 'School student' },\n ];\n\n const caption = (\n \n Table 1 : Table description\n \n );\n\n return (\n \n );\n}"}},Sorting.parameters),SortingLightVariant.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const cols = [\n { key: 'id', headerName: 'Not rendered' },\n { key: 'firstName', headerName: 'First name', isSortable: true },\n { key: 'surname', headerName: 'Surname', isSortable: true },\n {\n key: 'age',\n headerName: 'Age',\n sortIconType: 'other' as const,\n transform: ({ age }) => {\n return {age}
;\n },\n isSortable: true,\n },\n { key: 'profession', headerName: 'Profession', isSortable: true },\n ];\n\n const rows: Array = [\n { id: 1000, firstName: 'Lauri', surname: 'Kekkonen', age: 39, profession: 'Engineer' },\n { id: 1001, firstName: 'Maria', surname: 'Sarasoja', age: 62, profession: 'Designer' },\n { id: 1002, firstName: 'Anneli', surname: 'Routa', age: 50, profession: 'Meteorologist' },\n { id: 1003, firstName: 'Osku', surname: 'Rausku', age: 18, profession: 'Mail Carrier' },\n { id: 1004, firstName: 'Linda', surname: 'Koululainen', age: 8, profession: 'School student' },\n ];\n\n const caption = (\n \n Table 1 : Table description\n \n );\n\n return (\n \n );\n}"}},SortingLightVariant.parameters),InitiallySortedBy.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const cols = [\n { key: 'id', headerName: 'Not rendered' },\n { key: 'firstName', headerName: 'First name', isSortable: true },\n { key: 'surname', headerName: 'Surname', isSortable: true },\n {\n key: 'age',\n headerName: 'Age',\n sortIconType: 'other' as const,\n transform: ({ age }) => {\n return {age}
;\n },\n isSortable: true,\n },\n { key: 'profession', headerName: 'Profession', isSortable: true },\n ];\n\n const rows: Array = [\n { id: 1000, firstName: 'Lauri', surname: 'Kekkonen', age: 39, profession: 'Engineer' },\n { id: 1001, firstName: 'Maria', surname: 'Sarasoja', age: 62, profession: 'Designer' },\n { id: 1002, firstName: 'Anneli', surname: 'Routa', age: 50, profession: 'Meteorologist' },\n { id: 1003, firstName: 'Osku', surname: 'Rausku', age: 18, profession: 'Mail Carrier' },\n { id: 1004, firstName: 'Linda', surname: 'Koululainen', age: 8, profession: 'School student' },\n ];\n\n const caption = (\n \n Table 1 : Table description\n \n );\n\n return (\n \n );\n}"}},InitiallySortedBy.parameters),CustomSortFunction.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const cols = [\n { key: 'Paikka-ID', headerName: 'Paikka-ID', isSortable: true },\n { key: 'Paikan tyyppi', headerName: 'Paikan tyyppi', isSortable: false },\n { key: 'Tehtävänimike', headerName: 'Tehtävänimike', isSortable: true },\n {\n key: 'Ilmoitus vanhenee',\n headerName: 'Ilmoitus vanhenee',\n sortIconType: 'other' as const,\n customSortCompareFunction: (a, b) => {\n const aDate = parse(a, 'dd.MM.yyyy', new Date());\n const bDate = parse(b, 'dd.MM.yyyy', new Date());\n\n if (isSameDay(aDate, bDate)) {\n return 0;\n }\n\n if (isBefore(aDate, bDate)) {\n return -1;\n }\n\n return 1;\n },\n isSortable: true,\n },\n { key: 'Toimiala/liikelaitos', headerName: 'Toimiala/liikelaitos', isSortable: true },\n { key: 'Työpaikka', headerName: 'Työpaikka', isSortable: true },\n { key: 'Postinumero', headerName: 'Postinumero', isSortable: true },\n {\n key: 'Paikkoja',\n headerName: 'Paikkoja',\n sortIconType: 'other' as const,\n transform: ({ Paikkoja }) => {\n return {Paikkoja}
;\n },\n isSortable: true,\n },\n {\n key: 'Haastatteluun halutaan',\n headerName: 'Haastatteluun halutaan',\n sortIconType: 'other' as const,\n transform: (row) => {\n return {row['Haastatteluun halutaan']}
;\n },\n isSortable: true,\n },\n ];\n\n const rows: Array = workTrial;\n\n const caption = (\n \n Table 1 : Table description\n \n );\n\n return (\n \n );\n}"}},CustomSortFunction.parameters),SortingSideEffects.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const cols = [\n { key: 'id', headerName: 'Not rendered' },\n { key: 'firstName', headerName: 'First name', isSortable: true },\n { key: 'surname', headerName: 'Surname', isSortable: true },\n {\n key: 'age',\n headerName: 'Age',\n sortIconType: 'other' as const,\n transform: ({ age }) => {\n return {age}
;\n },\n isSortable: true,\n },\n { key: 'profession', headerName: 'Profession', isSortable: true },\n ];\n\n const data: Array = [\n { id: 1000, firstName: 'Lauri', surname: 'Kekkonen', age: 39, profession: 'Engineer' },\n { id: 1001, firstName: 'Maria', surname: 'Sarasoja', age: 62, profession: 'Designer' },\n { id: 1002, firstName: 'Anneli', surname: 'Routa', age: 50, profession: 'Meteorologist' },\n { id: 1003, firstName: 'Osku', surname: 'Rausku', age: 18, profession: 'Mail Carrier' },\n { id: 1004, firstName: 'Linda', surname: 'Koululainen', age: 8, profession: 'School student' },\n ];\n const [loading, toggleLoading] = useState(false);\n const [rows, setRows] = useState(data);\n\n useEffect(() => {\n if (loading) {\n setTimeout(() => {\n toggleLoading((currentValue) => !currentValue);\n setRows(data);\n }, 1000);\n }\n }, [loading]);\n\n const caption = (\n \n Table 1 : Table with loading spinner\n \n );\n\n return (\n \n
{\n // Side effects\n setRows([]);\n toggleLoading((currentValue) => !currentValue);\n // Call table's own sorting function\n handleSort();\n }}\n />\n {loading && }\n \n );\n}"}},SortingSideEffects.parameters),CheckboxSelection.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const cols = [\n { key: 'id', headerName: 'Not rendered' },\n { key: 'firstName', headerName: 'First name' },\n { key: 'surname', headerName: 'Surname' },\n {\n key: 'age',\n headerName: 'Age',\n transform: ({ age }) => {\n return {age}
;\n },\n },\n { key: 'profession', headerName: 'Profession' },\n ];\n\n const rows: Array = [\n { id: 1000, firstName: 'Lauri', surname: 'Kekkonen', age: 39, profession: 'Engineer' },\n { id: 1001, firstName: 'Maria', surname: 'Sarasoja', age: 62, profession: 'Designer' },\n { id: 1002, firstName: 'Anneli', surname: 'Routa', age: 50, profession: 'Meteorologist' },\n { id: 1003, firstName: 'Osku', surname: 'Rausku', age: 18, profession: 'Mail Carrier' },\n ];\n\n const [selectedRows, setSelectedRows] = useState([]);\n\n return (\n \n );\n}"}},CheckboxSelection.parameters),CheckboxSelectionDense.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const cols = [\n { key: 'id', headerName: 'Not rendered' },\n { key: 'firstName', headerName: 'First name' },\n { key: 'surname', headerName: 'Surname' },\n {\n key: 'age',\n headerName: 'Age',\n transform: ({ age }) => {\n return {age}
;\n },\n },\n { key: 'profession', headerName: 'Profession' },\n ];\n\n const rows: Array = [\n { id: 1000, firstName: 'Lauri', surname: 'Kekkonen', age: 39, profession: 'Engineer' },\n { id: 1001, firstName: 'Maria', surname: 'Sarasoja', age: 62, profession: 'Designer' },\n { id: 1002, firstName: 'Anneli', surname: 'Routa', age: 50, profession: 'Meteorologist' },\n { id: 1003, firstName: 'Osku', surname: 'Rausku', age: 18, profession: 'Mail Carrier' },\n ];\n\n const [selectedRows, setSelectedRows] = useState([]);\n\n return (\n \n );\n}"}},CheckboxSelectionDense.parameters),InitiallySelectedRows.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const cols = [\n { key: 'id', headerName: 'Not rendered' },\n { key: 'firstName', headerName: 'First name' },\n { key: 'surname', headerName: 'Surname' },\n {\n key: 'age',\n headerName: 'Age',\n transform: ({ age }) => {\n return {age}
;\n },\n },\n { key: 'profession', headerName: 'Profession' },\n ];\n\n const rows: Array = [\n { id: 1000, firstName: 'Lauri', surname: 'Kekkonen', age: 39, profession: 'Engineer' },\n { id: 1001, firstName: 'Maria', surname: 'Sarasoja', age: 62, profession: 'Designer' },\n { id: 1002, firstName: 'Anneli', surname: 'Routa', age: 50, profession: 'Meteorologist' },\n { id: 1003, firstName: 'Osku', surname: 'Rausku', age: 18, profession: 'Mail Carrier' },\n ];\n\n const [selectedRows, setSelectedRows] = useState([1002, 1003]);\n\n return (\n \n );\n}"}},InitiallySelectedRows.parameters),WithCustomActions.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const cols = [\n { key: 'id', headerName: 'Not rendered' },\n { key: 'firstName', headerName: 'First name' },\n { key: 'surname', headerName: 'Surname' },\n {\n key: 'age',\n headerName: 'Age',\n transform: ({ age }) => {\n return {age}
;\n },\n },\n { key: 'profession', headerName: 'Profession' },\n ];\n\n const indexKey = 'id';\n\n const rows: Array = [\n { id: 1000, firstName: 'Lauri', surname: 'Kekkonen', age: 39, profession: 'Engineer' },\n { id: 1001, firstName: 'Maria', surname: 'Sarasoja', age: 62, profession: 'Designer' },\n { id: 1002, firstName: 'Anneli', surname: 'Routa', age: 50, profession: 'Meteorologist' },\n { id: 1003, firstName: 'Osku', surname: 'Rausku', age: 18, profession: 'Mail Carrier' },\n ];\n\n const [tableRows, setTableRows] = useState(rows);\n const [selectedRows, setSelectedRows] = useState([]);\n\n const deleteSelectedButton = (\n {\n setTableRows(\n tableRows.filter((row) => {\n const rowId = row[indexKey];\n\n return (\n selectedRows.some((selectedRow) => {\n return selectedRow === rowId;\n }) === false\n );\n }),\n );\n setSelectedRows([]);\n }}\n style={{\n flexGrow: 0,\n }}\n className=\"table-custom-action\"\n variant=\"secondary\"\n size=\"small\"\n iconLeft={ }\n disabled={selectedRows.length === 0}\n >\n Delete selected\n \n );\n\n const copySelected = (\n {\n \n console.log('Copy clicked!');\n }}\n style={{\n flexGrow: 0,\n }}\n className=\"table-custom-action\"\n variant=\"secondary\"\n size=\"small\"\n disabled={selectedRows.length === 0}\n >\n Copy selected\n \n );\n\n return (\n \n );\n}"}},WithCustomActions.parameters),CheckboxSelectionWithSorting.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const cols = [\n { key: 'id', headerName: 'Not rendered' },\n { key: 'firstName', headerName: 'First name', isSortable: true },\n { key: 'surname', headerName: 'Surname', isSortable: true },\n {\n key: 'age',\n headerName: 'Age',\n sortIconType: 'other' as const,\n transform: ({ age }) => {\n return {age}
;\n },\n isSortable: true,\n },\n { key: 'profession', headerName: 'Profession', isSortable: true },\n ];\n\n const rows: Array = [\n { id: 1000, firstName: 'Lauri', surname: 'Kekkonen', age: 39, profession: 'Engineer' },\n { id: 1001, firstName: 'Maria', surname: 'Sarasoja', age: 62, profession: 'Designer' },\n { id: 1002, firstName: 'Anneli', surname: 'Routa', age: 50, profession: 'Meteorologist' },\n { id: 1003, firstName: 'Osku', surname: 'Rausku', age: 18, profession: 'Mail Carrier' },\n { id: 1004, firstName: 'Linda', surname: 'Koululainen', age: 8, profession: 'School student' },\n ];\n\n const [selectedRows, setSelectedRows] = useState([]);\n\n return (\n \n );\n}"}},CheckboxSelectionWithSorting.parameters),CustomBackgroundColorsForDarkVariant.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const cols = [\n { key: 'id', headerName: 'Not rendered' },\n { key: 'firstName', headerName: 'First name' },\n { key: 'surname', headerName: 'Surname' },\n {\n key: 'age',\n headerName: 'Age',\n transform: ({ age }) => {\n return {age}
;\n },\n },\n { key: 'profession', headerName: 'Profession' },\n ];\n\n const rows: Array = [\n { id: 1000, firstName: 'Lauri', surname: 'Kekkonen', age: 39, profession: 'Engineer' },\n { id: 1001, firstName: 'Maria', surname: 'Sarasoja', age: 62, profession: 'Designer' },\n { id: 1002, firstName: 'Anneli', surname: 'Routa', age: 50, profession: 'Meteorologist' },\n { id: 1003, firstName: 'Osku', surname: 'Rausku', age: 18, profession: 'Mail Carrier' },\n ];\n\n const caption = (\n \n Table 1 : Table description\n \n );\n\n const theme = {\n '--header-background-color': 'var(--color-tram)',\n '--content-background-color': 'var(--color-black-5)',\n };\n\n return (\n \n );\n}"}},CustomBackgroundColorsForDarkVariant.parameters),CustomBackgroundColorsForLightVariant.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const cols = [\n { key: 'id', headerName: 'Not rendered' },\n { key: 'firstName', headerName: 'First name' },\n { key: 'surname', headerName: 'Surname' },\n {\n key: 'age',\n headerName: 'Age',\n transform: ({ age }) => {\n return {age}
;\n },\n },\n { key: 'profession', headerName: 'Profession' },\n ];\n\n const rows: Array = [\n { id: 1000, firstName: 'Lauri', surname: 'Kekkonen', age: 39, profession: 'Engineer' },\n { id: 1001, firstName: 'Maria', surname: 'Sarasoja', age: 62, profession: 'Designer' },\n { id: 1002, firstName: 'Anneli', surname: 'Routa', age: 50, profession: 'Meteorologist' },\n { id: 1003, firstName: 'Osku', surname: 'Rausku', age: 18, profession: 'Mail Carrier' },\n ];\n\n const caption = (\n \n Table 1 : Table description\n \n );\n\n const theme = {\n '--header-background-color': 'var(--color-suomenlinna)',\n '--content-background-color': 'var(--color-black-5)',\n };\n\n return (\n \n );\n}"}},CustomBackgroundColorsForLightVariant.parameters);try{Default.displayName="Default",Default.__docgenInfo={description:"",displayName:"Default",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/table/Table.stories.tsx#Default"]={docgenInfo:Default.__docgenInfo,name:"Default",path:"src/components/table/Table.stories.tsx#Default"})}catch(__react_docgen_typescript_loader_error){}try{Light.displayName="Light",Light.__docgenInfo={description:"",displayName:"Light",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/table/Table.stories.tsx#Light"]={docgenInfo:Light.__docgenInfo,name:"Light",path:"src/components/table/Table.stories.tsx#Light"})}catch(__react_docgen_typescript_loader_error){}try{Dense.displayName="Dense",Dense.__docgenInfo={description:"",displayName:"Dense",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/table/Table.stories.tsx#Dense"]={docgenInfo:Dense.__docgenInfo,name:"Dense",path:"src/components/table/Table.stories.tsx#Dense"})}catch(__react_docgen_typescript_loader_error){}try{Zebra.displayName="Zebra",Zebra.__docgenInfo={description:"",displayName:"Zebra",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/table/Table.stories.tsx#Zebra"]={docgenInfo:Zebra.__docgenInfo,name:"Zebra",path:"src/components/table/Table.stories.tsx#Zebra"})}catch(__react_docgen_typescript_loader_error){}try{VerticalLines.displayName="VerticalLines",VerticalLines.__docgenInfo={description:"",displayName:"VerticalLines",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/table/Table.stories.tsx#VerticalLines"]={docgenInfo:VerticalLines.__docgenInfo,name:"VerticalLines",path:"src/components/table/Table.stories.tsx#VerticalLines"})}catch(__react_docgen_typescript_loader_error){}try{VerticalHeaders.displayName="VerticalHeaders",VerticalHeaders.__docgenInfo={description:"",displayName:"VerticalHeaders",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/table/Table.stories.tsx#VerticalHeaders"]={docgenInfo:VerticalHeaders.__docgenInfo,name:"VerticalHeaders",path:"src/components/table/Table.stories.tsx#VerticalHeaders"})}catch(__react_docgen_typescript_loader_error){}try{Sorting.displayName="Sorting",Sorting.__docgenInfo={description:"",displayName:"Sorting",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/table/Table.stories.tsx#Sorting"]={docgenInfo:Sorting.__docgenInfo,name:"Sorting",path:"src/components/table/Table.stories.tsx#Sorting"})}catch(__react_docgen_typescript_loader_error){}try{SortingLightVariant.displayName="SortingLightVariant",SortingLightVariant.__docgenInfo={description:"",displayName:"SortingLightVariant",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/table/Table.stories.tsx#SortingLightVariant"]={docgenInfo:SortingLightVariant.__docgenInfo,name:"SortingLightVariant",path:"src/components/table/Table.stories.tsx#SortingLightVariant"})}catch(__react_docgen_typescript_loader_error){}try{InitiallySortedBy.displayName="InitiallySortedBy",InitiallySortedBy.__docgenInfo={description:"",displayName:"InitiallySortedBy",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/table/Table.stories.tsx#InitiallySortedBy"]={docgenInfo:InitiallySortedBy.__docgenInfo,name:"InitiallySortedBy",path:"src/components/table/Table.stories.tsx#InitiallySortedBy"})}catch(__react_docgen_typescript_loader_error){}try{CustomSortFunction.displayName="CustomSortFunction",CustomSortFunction.__docgenInfo={description:"",displayName:"CustomSortFunction",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/table/Table.stories.tsx#CustomSortFunction"]={docgenInfo:CustomSortFunction.__docgenInfo,name:"CustomSortFunction",path:"src/components/table/Table.stories.tsx#CustomSortFunction"})}catch(__react_docgen_typescript_loader_error){}try{SortingSideEffects.displayName="SortingSideEffects",SortingSideEffects.__docgenInfo={description:"",displayName:"SortingSideEffects",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/table/Table.stories.tsx#SortingSideEffects"]={docgenInfo:SortingSideEffects.__docgenInfo,name:"SortingSideEffects",path:"src/components/table/Table.stories.tsx#SortingSideEffects"})}catch(__react_docgen_typescript_loader_error){}try{CheckboxSelection.displayName="CheckboxSelection",CheckboxSelection.__docgenInfo={description:"",displayName:"CheckboxSelection",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/table/Table.stories.tsx#CheckboxSelection"]={docgenInfo:CheckboxSelection.__docgenInfo,name:"CheckboxSelection",path:"src/components/table/Table.stories.tsx#CheckboxSelection"})}catch(__react_docgen_typescript_loader_error){}try{CheckboxSelectionDense.displayName="CheckboxSelectionDense",CheckboxSelectionDense.__docgenInfo={description:"",displayName:"CheckboxSelectionDense",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/table/Table.stories.tsx#CheckboxSelectionDense"]={docgenInfo:CheckboxSelectionDense.__docgenInfo,name:"CheckboxSelectionDense",path:"src/components/table/Table.stories.tsx#CheckboxSelectionDense"})}catch(__react_docgen_typescript_loader_error){}try{InitiallySelectedRows.displayName="InitiallySelectedRows",InitiallySelectedRows.__docgenInfo={description:"",displayName:"InitiallySelectedRows",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/table/Table.stories.tsx#InitiallySelectedRows"]={docgenInfo:InitiallySelectedRows.__docgenInfo,name:"InitiallySelectedRows",path:"src/components/table/Table.stories.tsx#InitiallySelectedRows"})}catch(__react_docgen_typescript_loader_error){}try{WithCustomActions.displayName="WithCustomActions",WithCustomActions.__docgenInfo={description:"",displayName:"WithCustomActions",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/table/Table.stories.tsx#WithCustomActions"]={docgenInfo:WithCustomActions.__docgenInfo,name:"WithCustomActions",path:"src/components/table/Table.stories.tsx#WithCustomActions"})}catch(__react_docgen_typescript_loader_error){}try{CheckboxSelectionWithSorting.displayName="CheckboxSelectionWithSorting",CheckboxSelectionWithSorting.__docgenInfo={description:"",displayName:"CheckboxSelectionWithSorting",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/table/Table.stories.tsx#CheckboxSelectionWithSorting"]={docgenInfo:CheckboxSelectionWithSorting.__docgenInfo,name:"CheckboxSelectionWithSorting",path:"src/components/table/Table.stories.tsx#CheckboxSelectionWithSorting"})}catch(__react_docgen_typescript_loader_error){}try{CustomBackgroundColorsForDarkVariant.displayName="CustomBackgroundColorsForDarkVariant",CustomBackgroundColorsForDarkVariant.__docgenInfo={description:"",displayName:"CustomBackgroundColorsForDarkVariant",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/table/Table.stories.tsx#CustomBackgroundColorsForDarkVariant"]={docgenInfo:CustomBackgroundColorsForDarkVariant.__docgenInfo,name:"CustomBackgroundColorsForDarkVariant",path:"src/components/table/Table.stories.tsx#CustomBackgroundColorsForDarkVariant"})}catch(__react_docgen_typescript_loader_error){}try{CustomBackgroundColorsForLightVariant.displayName="CustomBackgroundColorsForLightVariant",CustomBackgroundColorsForLightVariant.__docgenInfo={description:"",displayName:"CustomBackgroundColorsForLightVariant",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/table/Table.stories.tsx#CustomBackgroundColorsForLightVariant"]={docgenInfo:CustomBackgroundColorsForLightVariant.__docgenInfo,name:"CustomBackgroundColorsForLightVariant",path:"src/components/table/Table.stories.tsx#CustomBackgroundColorsForLightVariant"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/tabs/Tabs.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Default:()=>Default,Small:()=>Small,WithCustomOnClickAction:()=>WithCustomOnClickAction,WithCustomTheme:()=>WithCustomTheme,default:()=>Tabs_stories});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),slicedToArray=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react=__webpack_require__("../../node_modules/react/index.js"),LoadingSpinner=__webpack_require__("./src/components/loadingSpinner/LoadingSpinner.tsx");__webpack_require__("./src/styles/base.css");const Tabs_module_scrollButton="Tabs_scrollButton__IVOLh",Tabs_module_tabs="Tabs_tabs__yE6Zk",Tabs_module_small="Tabs_small__en-fO",Tabs_module_tablistBar="Tabs_tablistBar__FWUNP",Tabs_module_tablist="Tabs_tablist__afK+U",Tabs_module_tab="Tabs_tab__mtOp2",Tabs_module_active="Tabs_active__0EWQH";var classNames=__webpack_require__("./src/utils/classNames.ts"),TabsContext=react.createContext({activeTab:0,setActiveTab:function setActiveTab(){},focusedTab:null,setFocusedTab:function setFocusedTab(){}}),useTheme=__webpack_require__("./src/hooks/useTheme.tsx"),IconAngleLeft=__webpack_require__("./src/icons/IconAngleLeft.tsx"),IconAngleRight=__webpack_require__("./src/icons/IconAngleRight.tsx"),getChildren=__webpack_require__("./src/utils/getChildren.ts"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),TabList=function TabList(_ref){var children=_ref.children,className=_ref.className,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style,tablistElementRef=(0,react.useRef)(null),tablistContainerRef=(0,react.useRef)(null),_useContext=(0,react.useContext)(TabsContext),focusedTab=_useContext.focusedTab,setFocusedTab=_useContext.setFocusedTab,_useState=(0,react.useState)(0),_useState2=(0,slicedToArray.Z)(_useState,2),tablistWidth=_useState2[0],setTablistWidth=_useState2[1],_useState3=(0,react.useState)(null),_useState4=(0,slicedToArray.Z)(_useState3,2),scrollIndex=_useState4[0],setScrollIndex=_useState4[1],_useState5=(0,react.useState)(!0),_useState6=(0,slicedToArray.Z)(_useState5,2),showPreviousButton=_useState6[0],setShowPreviousButton=_useState6[1],_useState7=(0,react.useState)(!0),_useState8=(0,slicedToArray.Z)(_useState7,2),showNextButton=_useState8[0],setShowNextButton=_useState8[1],_useState9=(0,react.useState)(0),_useState10=(0,slicedToArray.Z)(_useState9,2),scrollValue=_useState10[0],setScrollValue=_useState10[1],tabs=(0,getChildren.AU)(children).map((function(child,index){return react.isValidElement(child)&&"Tab"===child.type.componentName?react.cloneElement(child,{index,key:index}):null})),updateScrollPosition=(0,react.useCallback)((function(){var tabElement=function getChildByIndex(index,parent){if(null!==index){var element=parent.children[index];if(null!==element&&element instanceof HTMLElement)return element}return null}(scrollIndex,tablistElementRef.current);if(null!==tabElement){var tabRightEdgeDistance=tabElement.offsetLeft+tabElement.offsetWidth,tabLeftEdgeDistance=tabElement.offsetLeft,tabRightEdgeOffset=tabRightEdgeDistance-tablistContainerRef.current.offsetWidth;tabRightEdgeOffset>0&&(scrollValuecontainerElement.offsetWidth+offset}(element,tablistContainerRef.current,scrollValue)}))}),[scrollValue]),findNextElementOutsideLeftEdge=(0,react.useCallback)((function(){var tabListElement=tablistElementRef.current,tabIndex=Array.from(tabListElement.children).reverse().findIndex((function(element){return function isElementOutsideLeftEdge(tab,offset){return tab.offsetLeft-1?tabListElement.children.length-tabIndex-1:-1}),[scrollValue]),updateScrollButtons=(0,react.useCallback)((function(){setShowPreviousButton(-1!==findNextElementOutsideLeftEdge()),setShowNextButton(-1!==findNextElementOutsideRightEdge())}),[findNextElementOutsideLeftEdge,findNextElementOutsideRightEdge]);(0,react.useEffect)((function(){var totalWidth=Array.from(tablistElementRef.current.children).reduce((function(total,el){return total+el.offsetWidth}),0);setTablistWidth(totalWidth)}),[children]),(0,react.useEffect)((function(){setScrollIndex(focusedTab)}),[focusedTab]),(0,react.useEffect)((function(){return updateScrollButtons(),window.addEventListener("resize",updateScrollButtons),function(){window.removeEventListener("resize",updateScrollButtons)}}),[updateScrollButtons]),(0,react.useEffect)((function(){updateScrollPosition()}),[updateScrollPosition,scrollIndex,showPreviousButton,showNextButton]);return(0,jsx_runtime.jsxs)("div",{className:(0,classNames.Z)(Tabs_module_tablistBar,className),style,children:[showPreviousButton&&(0,jsx_runtime.jsx)("div",{className:Tabs_module_scrollButton,"aria-hidden":"true",children:(0,jsx_runtime.jsx)("button",{type:"button",onClick:function onPreviousButtonClick(){var nextTabIndex=findNextElementOutsideLeftEdge();nextTabIndex>-1&&setScrollIndex(nextTabIndex)},tabIndex:-1,children:(0,jsx_runtime.jsx)(IconAngleLeft.IconAngleLeft,{})})}),(0,jsx_runtime.jsx)("div",{className:Tabs_module_tablist,ref:tablistContainerRef,children:(0,jsx_runtime.jsx)("ul",{role:"tablist",ref:tablistElementRef,onKeyDown:function onKeyDown(event){var nextIndex=null;"ArrowRight"===event.key&&(nextIndex=Math.min(focusedTab+1,tabs.length-1)),"ArrowLeft"===event.key&&(nextIndex=Math.max(focusedTab-1,0)),null!==nextIndex&&setFocusedTab(nextIndex)},style:{width:"".concat(tablistWidth,"px"),transform:scrollValue?"translateX(".concat(-1*scrollValue,"px)"):void 0},children:tabs})}),showNextButton&&(0,jsx_runtime.jsx)("div",{className:Tabs_module_scrollButton,"aria-hidden":"true",children:(0,jsx_runtime.jsx)("button",{type:"button",onClick:function onNextButtonClick(){var nextTabIndex=findNextElementOutsideRightEdge();nextTabIndex>-1&&setScrollIndex(nextTabIndex)},tabIndex:-1,children:(0,jsx_runtime.jsx)(IconAngleRight.IconAngleRight,{})})})]})};TabList.componentName="TabList";try{TabList.displayName="TabList",TabList.__docgenInfo={description:"",displayName:"TabList",props:{className:{defaultValue:null,description:"Additional class names to apply to the Tablist",name:"className",required:!1,type:{name:"string"}},style:{defaultValue:{value:"{}"},description:"Additional styles to apply to the Tablist",name:"style",required:!1,type:{name:"CSSProperties"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/tabs/TabList.tsx#TabList"]={docgenInfo:TabList.__docgenInfo,name:"TabList",path:"src/components/tabs/TabList.tsx#TabList"})}catch(__react_docgen_typescript_loader_error){}var TabPanel=function TabPanel(_ref){var children=_ref.children,className=_ref.className,index=_ref.index,style=_ref.style;return(0,react.useContext)(TabsContext).activeTab===index?(0,jsx_runtime.jsx)("div",{id:"tab-".concat(index,"-panel"),role:"tabpanel","aria-labelledby":"tab-".concat(index,"-button"),className,style,children}):null};TabPanel.componentName="TabPanel";try{TabPanel.displayName="TabPanel",TabPanel.__docgenInfo={description:"",displayName:"TabPanel",props:{className:{defaultValue:null,description:"Additional class names to apply to the Tab",name:"className",required:!1,type:{name:"string"}},style:{defaultValue:null,description:"Additional styles to apply to the Tab",name:"style",required:!1,type:{name:"CSSProperties"}},index:{defaultValue:null,description:"",name:"index",required:!1,type:{name:"number"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/tabs/TabPanel.tsx#TabPanel"]={docgenInfo:TabPanel.__docgenInfo,name:"TabPanel",path:"src/components/tabs/TabPanel.tsx#TabPanel"})}catch(__react_docgen_typescript_loader_error){}var Tab=function Tab(_ref){var children=_ref.children,className=_ref.className,index=_ref.index,onClick=_ref.onClick,style=_ref.style,ref=(0,react.useRef)(null),_useContext=(0,react.useContext)(TabsContext),activeTab=_useContext.activeTab,focusedTab=_useContext.focusedTab,setFocusedTab=_useContext.setFocusedTab,setActiveTab=_useContext.setActiveTab,isActive=activeTab===index;(0,react.useEffect)((function(){focusedTab===index&&ref.current.focus({preventScroll:!0})}),[focusedTab,index]);return(0,jsx_runtime.jsx)("li",{role:"tab","aria-selected":isActive,"aria-controls":"tab-".concat(index,"-panel"),tabIndex:isActive?0:-1,id:"tab-".concat(index,"-button"),className:(0,classNames.Z)(Tabs_module_tab,isActive&&Tabs_module_active,className),style,onClick:function onTabClick(){onClick&&onClick(),setActiveTab(index),setFocusedTab(index)},onKeyDown:function onKeyDown(event){var isEnter="Enter"===event.key||13===event.keyCode,isSpace=" "===event.key||32===event.keyCode;(isEnter||isSpace)&&(onClick&&onClick(),setActiveTab(index))},onFocus:function onFocus(event){event.preventDefault(),focusedTab!==index&&setFocusedTab(index)},ref,children:(0,jsx_runtime.jsx)("span",{children})})};Tab.componentName="Tab";try{Tab.displayName="Tab",Tab.__docgenInfo={description:"",displayName:"Tab",props:{onClick:{defaultValue:null,description:"Custom function callback for on tab click",name:"onClick",required:!1,type:{name:"() => void"}},className:{defaultValue:null,description:"Additional class names to apply to the Tab",name:"className",required:!1,type:{name:"string"}},style:{defaultValue:null,description:"Additional styles to apply to the Tab",name:"style",required:!1,type:{name:"CSSProperties"}},index:{defaultValue:null,description:"",name:"index",required:!1,type:{name:"number"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/tabs/Tab.tsx#Tab"]={docgenInfo:Tab.__docgenInfo,name:"Tab",path:"src/components/tabs/Tab.tsx#Tab"})}catch(__react_docgen_typescript_loader_error){}var Tabs=function Tabs(_ref){var children=_ref.children,_ref$initiallyActiveT=_ref.initiallyActiveTab,initiallyActiveTab=void 0===_ref$initiallyActiveT?0:_ref$initiallyActiveT,_ref$small=_ref.small,small=void 0!==_ref$small&&_ref$small,theme=_ref.theme,_useState=(0,react.useState)(initiallyActiveTab),_useState2=(0,slicedToArray.Z)(_useState,2),activeTab=_useState2[0],setActiveTab=_useState2[1],_useState3=(0,react.useState)(null),_useState4=(0,slicedToArray.Z)(_useState3,2),focusedTab=_useState4[0],setFocusedTab=_useState4[1],customThemeClass=(0,useTheme.F)(Tabs_module_tabs,theme),childElements=(0,getChildren.fL)(children),tabList=childElements.filter((function(child){return react.isValidElement(child)&&"TabList"===child.type.componentName})),tabPanels=childElements.filter((function(child){return react.isValidElement(child)&&"TabPanel"===child.type.componentName})).map((function(child,index){return react.isValidElement(child)?react.cloneElement(child,{index,key:index}):child}));return(0,jsx_runtime.jsx)(TabsContext.Provider,{value:{activeTab,setActiveTab,focusedTab,setFocusedTab},children:(0,jsx_runtime.jsxs)("div",{className:(0,classNames.Z)(Tabs_module_tabs,small&&Tabs_module_small,theme&&customThemeClass),children:[tabList,tabPanels]})})};Tabs.TabList=TabList,Tabs.TabPanel=TabPanel,Tabs.Tab=Tab;try{Tabs.displayName="Tabs",Tabs.__docgenInfo={description:"",displayName:"Tabs",props:{initiallyActiveTab:{defaultValue:{value:"0"},description:"The initially active tab",name:"initiallyActiveTab",required:!1,type:{name:"number"}},small:{defaultValue:{value:"false"},description:"Use the small variant",name:"small",required:!1,type:{name:"boolean"}},theme:{defaultValue:null,description:"Defines the tabs theme",name:"theme",required:!1,type:{name:"TabsCustomTheme"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/tabs/Tabs.tsx#Tabs"]={docgenInfo:Tabs.__docgenInfo,name:"Tabs",path:"src/components/tabs/Tabs.tsx#Tabs"})}catch(__react_docgen_typescript_loader_error){}try{Tabs.TabList.displayName="Tabs.TabList",Tabs.TabList.__docgenInfo={description:"",displayName:"Tabs.TabList",props:{className:{defaultValue:null,description:"Additional class names to apply to the Tablist",name:"className",required:!1,type:{name:"string"}},style:{defaultValue:{value:"{}"},description:"Additional styles to apply to the Tablist",name:"style",required:!1,type:{name:"CSSProperties"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/tabs/Tabs.tsx#Tabs.TabList"]={docgenInfo:Tabs.TabList.__docgenInfo,name:"Tabs.TabList",path:"src/components/tabs/Tabs.tsx#Tabs.TabList"})}catch(__react_docgen_typescript_loader_error){}try{Tabs.TabPanel.displayName="Tabs.TabPanel",Tabs.TabPanel.__docgenInfo={description:"",displayName:"Tabs.TabPanel",props:{className:{defaultValue:null,description:"Additional class names to apply to the Tab",name:"className",required:!1,type:{name:"string"}},style:{defaultValue:null,description:"Additional styles to apply to the Tab",name:"style",required:!1,type:{name:"CSSProperties"}},index:{defaultValue:null,description:"",name:"index",required:!1,type:{name:"number"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/tabs/Tabs.tsx#Tabs.TabPanel"]={docgenInfo:Tabs.TabPanel.__docgenInfo,name:"Tabs.TabPanel",path:"src/components/tabs/Tabs.tsx#Tabs.TabPanel"})}catch(__react_docgen_typescript_loader_error){}try{Tabs.Tab.displayName="Tabs.Tab",Tabs.Tab.__docgenInfo={description:"",displayName:"Tabs.Tab",props:{onClick:{defaultValue:null,description:"Custom function callback for on tab click",name:"onClick",required:!1,type:{name:"() => void"}},className:{defaultValue:null,description:"Additional class names to apply to the Tab",name:"className",required:!1,type:{name:"string"}},style:{defaultValue:null,description:"Additional styles to apply to the Tab",name:"style",required:!1,type:{name:"CSSProperties"}},index:{defaultValue:null,description:"",name:"index",required:!1,type:{name:"number"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/tabs/Tabs.tsx#Tabs.Tab"]={docgenInfo:Tabs.Tab.__docgenInfo,name:"Tabs.Tab",path:"src/components/tabs/Tabs.tsx#Tabs.Tab"})}catch(__react_docgen_typescript_loader_error){}const Tabs_stories={component:Tabs,title:"Components/Tabs",decorators:[function(storyFn){return(0,jsx_runtime.jsxs)("div",{children:[(0,jsx_runtime.jsx)("style",{children:".example-tablist { margin-bottom: var(--spacing-m); }"}),storyFn()]})}],parameters:{storySource:{source:"import React from 'react';\n\nimport { LoadingSpinner } from '../loadingSpinner';\nimport { Tabs } from './Tabs';\n\nexport default {\n component: Tabs,\n title: 'Components/Tabs',\n decorators: [\n (storyFn) => (\n \n \n {storyFn()}\n
\n ),\n ],\n parameters: {\n controls: { hideNoControlsWarning: true },\n },\n};\n\nexport const Default = () => (\n \n \n Daycare \n Pre-school \n Basic education \n Upper secondary \n University \n \n \n Daytime care for people who cannot be fully independent, such as children or elderly people.\n \n \n A pre-school is an educational establishment offering early childhood education to children before they begin\n compulsory education at primary school.\n \n \n The objective of basic education in Finland is to support pupils' growth towards humanity and ethically\n responsible membership of society.\n \n \n Upper secondary school studies last three to four years, preparing the students for the matriculation examination.\n \n \n A high-level educational institution in which students study for degrees and academic research is done.\n \n \n);\n\nexport const Small = () => (\n \n \n Daycare \n Pre-school \n Basic education \n Upper secondary \n University \n \n \n Daytime care for people who cannot be fully independent, such as children or elderly people.\n \n \n A pre-school is an educational establishment offering early childhood education to children before they begin\n compulsory education at primary school.\n \n \n The objective of basic education in Finland is to support pupils' growth towards humanity and ethically\n responsible membership of society.\n \n \n Upper secondary school studies last three to four years, preparing the students for the matriculation examination.\n \n \n A high-level educational institution in which students study for degrees and academic research is done.\n \n \n);\n\nexport const WithCustomTheme = () => {\n const theme = {\n '--tab-color': 'var(--color-black-90)',\n '--tab-active-border-color': 'var(--color-metro)',\n };\n\n return (\n \n \n Daycare \n Pre-school \n Basic education \n Upper secondary \n University \n \n \n Daytime care for people who cannot be fully independent, such as children or elderly people.\n \n \n A pre-school is an educational establishment offering early childhood education to children before they begin\n compulsory education at primary school.\n \n \n The objective of basic education in Finland is to support pupils' growth towards humanity and ethically\n responsible membership of society.\n \n \n Upper secondary school studies last three to four years, preparing the students for the matriculation\n examination.\n \n \n A high-level educational institution in which students study for degrees and academic research is done.\n \n \n );\n};\n\nexport const WithCustomOnClickAction = () => {\n const [isLoading, setIsLoading] = React.useState(false);\n const content = {\n education: 'Daytime care for people who cannot be fully independent, such as children or elderly people.',\n university:\n 'The objective of basic education in Finland is to support pupils' growth towards humanity and ethically responsible membership of society.',\n };\n\n const LoadingIndicator = () => (\n \n \n Tab content is loading \n
\n );\n\n const mockLoading = () => {\n setIsLoading(true);\n setTimeout(() => {\n setIsLoading(false);\n }, 500);\n };\n\n const onTabClick = () => {\n mockLoading();\n };\n\n React.useEffect(() => {\n mockLoading();\n }, []);\n\n return (\n \n \n onTabClick()}>Basic education \n onTabClick()}>University \n \n {isLoading ? : content.education} \n {isLoading ? : content.university} \n \n );\n};\n\nWithCustomOnClickAction.parameters = { loki: { skip: true } };\n",locationsMap:{default:{startLoc:{col:23,line:22},endLoc:{col:1,line:49},startBody:{col:23,line:22},endBody:{col:1,line:49}},small:{startLoc:{col:21,line:51},endLoc:{col:1,line:78},startBody:{col:21,line:51},endBody:{col:1,line:78}},"with-custom-theme":{startLoc:{col:31,line:80},endLoc:{col:1,line:115},startBody:{col:31,line:80},endBody:{col:1,line:115}},"with-custom-on-click-action":{startLoc:{col:39,line:117},endLoc:{col:1,line:161},startBody:{col:39,line:117},endBody:{col:1,line:161}}}},controls:{hideNoControlsWarning:!0}}};var Default=function Default(){return(0,jsx_runtime.jsxs)(Tabs,{children:[(0,jsx_runtime.jsxs)(Tabs.TabList,{className:"example-tablist",children:[(0,jsx_runtime.jsx)(Tabs.Tab,{children:"Daycare"}),(0,jsx_runtime.jsx)(Tabs.Tab,{children:"Pre-school"}),(0,jsx_runtime.jsx)(Tabs.Tab,{children:"Basic education"}),(0,jsx_runtime.jsx)(Tabs.Tab,{children:"Upper secondary"}),(0,jsx_runtime.jsx)(Tabs.Tab,{children:"University"})]}),(0,jsx_runtime.jsx)(Tabs.TabPanel,{children:"Daytime care for people who cannot be fully independent, such as children or elderly people."}),(0,jsx_runtime.jsx)(Tabs.TabPanel,{children:"A pre-school is an educational establishment offering early childhood education to children before they begin compulsory education at primary school."}),(0,jsx_runtime.jsx)(Tabs.TabPanel,{children:"The objective of basic education in Finland is to support pupils' growth towards humanity and ethically responsible membership of society."}),(0,jsx_runtime.jsx)(Tabs.TabPanel,{children:"Upper secondary school studies last three to four years, preparing the students for the matriculation examination."}),(0,jsx_runtime.jsx)(Tabs.TabPanel,{children:"A high-level educational institution in which students study for degrees and academic research is done."})]})},Small=function Small(){return(0,jsx_runtime.jsxs)(Tabs,{small:!0,children:[(0,jsx_runtime.jsxs)(Tabs.TabList,{className:"example-tablist",children:[(0,jsx_runtime.jsx)(Tabs.Tab,{children:"Daycare"}),(0,jsx_runtime.jsx)(Tabs.Tab,{children:"Pre-school"}),(0,jsx_runtime.jsx)(Tabs.Tab,{children:"Basic education"}),(0,jsx_runtime.jsx)(Tabs.Tab,{children:"Upper secondary"}),(0,jsx_runtime.jsx)(Tabs.Tab,{children:"University"})]}),(0,jsx_runtime.jsx)(Tabs.TabPanel,{children:"Daytime care for people who cannot be fully independent, such as children or elderly people."}),(0,jsx_runtime.jsx)(Tabs.TabPanel,{children:"A pre-school is an educational establishment offering early childhood education to children before they begin compulsory education at primary school."}),(0,jsx_runtime.jsx)(Tabs.TabPanel,{children:"The objective of basic education in Finland is to support pupils' growth towards humanity and ethically responsible membership of society."}),(0,jsx_runtime.jsx)(Tabs.TabPanel,{children:"Upper secondary school studies last three to four years, preparing the students for the matriculation examination."}),(0,jsx_runtime.jsx)(Tabs.TabPanel,{children:"A high-level educational institution in which students study for degrees and academic research is done."})]})},WithCustomTheme=function WithCustomTheme(){return(0,jsx_runtime.jsxs)(Tabs,{theme:{"--tab-color":"var(--color-black-90)","--tab-active-border-color":"var(--color-metro)"},children:[(0,jsx_runtime.jsxs)(Tabs.TabList,{className:"example-tablist",children:[(0,jsx_runtime.jsx)(Tabs.Tab,{children:"Daycare"}),(0,jsx_runtime.jsx)(Tabs.Tab,{children:"Pre-school"}),(0,jsx_runtime.jsx)(Tabs.Tab,{children:"Basic education"}),(0,jsx_runtime.jsx)(Tabs.Tab,{children:"Upper secondary"}),(0,jsx_runtime.jsx)(Tabs.Tab,{children:"University"})]}),(0,jsx_runtime.jsx)(Tabs.TabPanel,{children:"Daytime care for people who cannot be fully independent, such as children or elderly people."}),(0,jsx_runtime.jsx)(Tabs.TabPanel,{children:"A pre-school is an educational establishment offering early childhood education to children before they begin compulsory education at primary school."}),(0,jsx_runtime.jsx)(Tabs.TabPanel,{children:"The objective of basic education in Finland is to support pupils' growth towards humanity and ethically responsible membership of society."}),(0,jsx_runtime.jsx)(Tabs.TabPanel,{children:"Upper secondary school studies last three to four years, preparing the students for the matriculation examination."}),(0,jsx_runtime.jsx)(Tabs.TabPanel,{children:"A high-level educational institution in which students study for degrees and academic research is done."})]})},WithCustomOnClickAction=function WithCustomOnClickAction(){var _React$useState=react.useState(!1),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),isLoading=_React$useState2[0],setIsLoading=_React$useState2[1],content_education="Daytime care for people who cannot be fully independent, such as children or elderly people.",content_university="The objective of basic education in Finland is to support pupils' growth towards humanity and ethically responsible membership of society.",LoadingIndicator=function LoadingIndicator(){return(0,jsx_runtime.jsxs)("div",{style:{alignItems:"center",display:"flex",gap:"1rem"},children:[(0,jsx_runtime.jsx)(LoadingSpinner.T,{loadingText:"Tab content is loading",loadingFinishedText:"The tab content loading was finished",small:!0}),(0,jsx_runtime.jsx)("span",{children:"Tab content is loading"})]})},mockLoading=function mockLoading(){setIsLoading(!0),setTimeout((function(){setIsLoading(!1)}),500)},onTabClick=function onTabClick(){mockLoading()};return react.useEffect((function(){mockLoading()}),[]),(0,jsx_runtime.jsxs)(Tabs,{initiallyActiveTab:0,children:[(0,jsx_runtime.jsxs)(Tabs.TabList,{className:"example-tablist",children:[(0,jsx_runtime.jsx)(Tabs.Tab,{onClick:function onClick(){return onTabClick()},children:"Basic education"}),(0,jsx_runtime.jsx)(Tabs.Tab,{onClick:function onClick(){return onTabClick()},children:"University"})]}),(0,jsx_runtime.jsx)(Tabs.TabPanel,{children:isLoading?(0,jsx_runtime.jsx)(LoadingIndicator,{}):content_education}),(0,jsx_runtime.jsx)(Tabs.TabPanel,{children:isLoading?(0,jsx_runtime.jsx)(LoadingIndicator,{}):content_university})]})};WithCustomOnClickAction.parameters={loki:{skip:!0}},Default.parameters=(0,objectSpread2.Z)({storySource:{source:'() => (\n \n \n Daycare \n Pre-school \n Basic education \n Upper secondary \n University \n \n \n Daytime care for people who cannot be fully independent, such as children or elderly people.\n \n \n A pre-school is an educational establishment offering early childhood education to children before they begin\n compulsory education at primary school.\n \n \n The objective of basic education in Finland is to support pupils' growth towards humanity and ethically\n responsible membership of society.\n \n \n Upper secondary school studies last three to four years, preparing the students for the matriculation examination.\n \n \n A high-level educational institution in which students study for degrees and academic research is done.\n \n \n)'}},Default.parameters),Small.parameters=(0,objectSpread2.Z)({storySource:{source:'() => (\n \n \n Daycare \n Pre-school \n Basic education \n Upper secondary \n University \n \n \n Daytime care for people who cannot be fully independent, such as children or elderly people.\n \n \n A pre-school is an educational establishment offering early childhood education to children before they begin\n compulsory education at primary school.\n \n \n The objective of basic education in Finland is to support pupils' growth towards humanity and ethically\n responsible membership of society.\n \n \n Upper secondary school studies last three to four years, preparing the students for the matriculation examination.\n \n \n A high-level educational institution in which students study for degrees and academic research is done.\n \n \n)'}},Small.parameters),WithCustomTheme.parameters=(0,objectSpread2.Z)({storySource:{source:"() => {\n const theme = {\n '--tab-color': 'var(--color-black-90)',\n '--tab-active-border-color': 'var(--color-metro)',\n };\n\n return (\n \n \n Daycare \n Pre-school \n Basic education \n Upper secondary \n University \n \n \n Daytime care for people who cannot be fully independent, such as children or elderly people.\n \n \n A pre-school is an educational establishment offering early childhood education to children before they begin\n compulsory education at primary school.\n \n \n The objective of basic education in Finland is to support pupils' growth towards humanity and ethically\n responsible membership of society.\n \n \n Upper secondary school studies last three to four years, preparing the students for the matriculation\n examination.\n \n \n A high-level educational institution in which students study for degrees and academic research is done.\n \n \n );\n}"}},WithCustomTheme.parameters),WithCustomOnClickAction.parameters=(0,objectSpread2.Z)({storySource:{source:"() => {\n const [isLoading, setIsLoading] = React.useState(false);\n const content = {\n education: 'Daytime care for people who cannot be fully independent, such as children or elderly people.',\n university:\n 'The objective of basic education in Finland is to support pupils' growth towards humanity and ethically responsible membership of society.',\n };\n\n const LoadingIndicator = () => (\n \n \n Tab content is loading \n
\n );\n\n const mockLoading = () => {\n setIsLoading(true);\n setTimeout(() => {\n setIsLoading(false);\n }, 500);\n };\n\n const onTabClick = () => {\n mockLoading();\n };\n\n React.useEffect(() => {\n mockLoading();\n }, []);\n\n return (\n \n \n onTabClick()}>Basic education \n onTabClick()}>University \n \n {isLoading ? : content.education} \n {isLoading ? : content.university} \n \n );\n}"}},WithCustomOnClickAction.parameters)},"./src/components/tag/Tag.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{ClickableTag:()=>ClickableTag,CustomTheme:()=>CustomTheme,Default:()=>Default,DeletableTag:()=>DeletableTag,LargeDeletableTag:()=>LargeDeletableTag,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),_storybook_addon_actions__WEBPACK_IMPORTED_MODULE_1__=(__webpack_require__("../../node_modules/react/index.js"),__webpack_require__("../../node_modules/@storybook/addon-actions/dist/esm/index.js")),_Tag__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/components/tag/Tag.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/react/jsx-runtime.js");const __WEBPACK_DEFAULT_EXPORT__={component:_Tag__WEBPACK_IMPORTED_MODULE_3__.V,title:"Components/Tag",parameters:{storySource:{source:"import React from 'react';\nimport { action } from '@storybook/addon-actions';\n\nimport { Tag } from './Tag';\n\nexport default {\n component: Tag,\n title: 'Components/Tag',\n parameters: {\n controls: { expanded: true },\n },\n args: {\n children: 'Americum',\n },\n};\n\nexport const Default = (args) => ;\n\nexport const ClickableTag = (args) => (\n <>\n action(`Click: ${args.children}`)()}>\n {args.children}\n \n action(`Click: ${args.children}`)()}\n >\n {args.children}\n \n >\n);\n\nexport const DeletableTag = (args) => {\n return (\n action(`Delete item: ${args.children}`)()}\n >\n {args.children}\n \n );\n};\n\nexport const CustomTheme = (args) => (\n action(`Click: ${args.children}`)()}>\n {args.children}\n \n);\n\nCustomTheme.args = {\n theme: {\n '--tag-background': 'var(--color-engel)',\n '--tag-color': 'var(--color-black-90)',\n '--tag-focus-outline-color': 'var(--color-black-90)',\n },\n};\n\nexport const LargeDeletableTag = (args) => {\n return (\n action(`Delete item: ${args.children}`)()}\n >\n {args.children}\n \n );\n};\n",locationsMap:{default:{startLoc:{col:23,line:17},endLoc:{col:50,line:17},startBody:{col:23,line:17},endBody:{col:50,line:17}},"clickable-tag":{startLoc:{col:28,line:19},endLoc:{col:1,line:35},startBody:{col:28,line:19},endBody:{col:1,line:35}},"deletable-tag":{startLoc:{col:28,line:37},endLoc:{col:1,line:48},startBody:{col:28,line:37},endBody:{col:1,line:48}},"custom-theme":{startLoc:{col:27,line:50},endLoc:{col:1,line:54},startBody:{col:27,line:50},endBody:{col:1,line:54}},"large-deletable-tag":{startLoc:{col:33,line:64},endLoc:{col:1,line:75},startBody:{col:33,line:64},endBody:{col:1,line:75}}}},controls:{expanded:!0}},args:{children:"Americum"}};var Default=function Default(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Tag__WEBPACK_IMPORTED_MODULE_3__.V,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},args))},ClickableTag=function ClickableTag(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Tag__WEBPACK_IMPORTED_MODULE_3__.V,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},args),{},{label:"Link",role:"link",id:"link",onClick:function onClick(){return(0,_storybook_addon_actions__WEBPACK_IMPORTED_MODULE_1__.action)("Click: ".concat(args.children))()},children:args.children})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Tag__WEBPACK_IMPORTED_MODULE_3__.V,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},args),{},{label:"Button",role:"button",id:"button",style:{marginLeft:"var(--spacing-s)"},onClick:function onClick(){return(0,_storybook_addon_actions__WEBPACK_IMPORTED_MODULE_1__.action)("Click: ".concat(args.children))()},children:args.children}))]})},DeletableTag=function DeletableTag(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Tag__WEBPACK_IMPORTED_MODULE_3__.V,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},args),{},{deleteButtonAriaLabel:"Delete item: ".concat(args.children),srOnlyLabel:!0,onDelete:function onDelete(){return(0,_storybook_addon_actions__WEBPACK_IMPORTED_MODULE_1__.action)("Delete item: ".concat(args.children))()},children:args.children}))},CustomTheme=function CustomTheme(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Tag__WEBPACK_IMPORTED_MODULE_3__.V,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},args),{},{onClick:function onClick(){return(0,_storybook_addon_actions__WEBPACK_IMPORTED_MODULE_1__.action)("Click: ".concat(args.children))()},children:args.children}))};CustomTheme.args={theme:{"--tag-background":"var(--color-engel)","--tag-color":"var(--color-black-90)","--tag-focus-outline-color":"var(--color-black-90)"}};var LargeDeletableTag=function LargeDeletableTag(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Tag__WEBPACK_IMPORTED_MODULE_3__.V,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},args),{},{size:"large",deleteButtonAriaLabel:"Delete item",onDelete:function onDelete(){return(0,_storybook_addon_actions__WEBPACK_IMPORTED_MODULE_1__.action)("Delete item: ".concat(args.children))()},children:args.children}))};Default.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:"(args) => "}},Default.parameters),ClickableTag.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:'(args) => (\n <>\n action(`Click: ${args.children}`)()}>\n {args.children}\n \n action(`Click: ${args.children}`)()}\n >\n {args.children}\n \n >\n)'}},ClickableTag.parameters),DeletableTag.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:"(args) => {\n return (\n action(`Delete item: ${args.children}`)()}\n >\n {args.children}\n \n );\n}"}},DeletableTag.parameters),CustomTheme.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:"(args) => (\n action(`Click: ${args.children}`)()}>\n {args.children}\n \n)"}},CustomTheme.parameters),LargeDeletableTag.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:'(args) => {\n return (\n action(`Delete item: ${args.children}`)()}\n >\n {args.children}\n \n );\n}'}},LargeDeletableTag.parameters);try{Default.displayName="Default",Default.__docgenInfo={description:"",displayName:"Default",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/tag/Tag.stories.tsx#Default"]={docgenInfo:Default.__docgenInfo,name:"Default",path:"src/components/tag/Tag.stories.tsx#Default"})}catch(__react_docgen_typescript_loader_error){}try{ClickableTag.displayName="ClickableTag",ClickableTag.__docgenInfo={description:"",displayName:"ClickableTag",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/tag/Tag.stories.tsx#ClickableTag"]={docgenInfo:ClickableTag.__docgenInfo,name:"ClickableTag",path:"src/components/tag/Tag.stories.tsx#ClickableTag"})}catch(__react_docgen_typescript_loader_error){}try{DeletableTag.displayName="DeletableTag",DeletableTag.__docgenInfo={description:"",displayName:"DeletableTag",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/tag/Tag.stories.tsx#DeletableTag"]={docgenInfo:DeletableTag.__docgenInfo,name:"DeletableTag",path:"src/components/tag/Tag.stories.tsx#DeletableTag"})}catch(__react_docgen_typescript_loader_error){}try{CustomTheme.displayName="CustomTheme",CustomTheme.__docgenInfo={description:"",displayName:"CustomTheme",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/tag/Tag.stories.tsx#CustomTheme"]={docgenInfo:CustomTheme.__docgenInfo,name:"CustomTheme",path:"src/components/tag/Tag.stories.tsx#CustomTheme"})}catch(__react_docgen_typescript_loader_error){}try{LargeDeletableTag.displayName="LargeDeletableTag",LargeDeletableTag.__docgenInfo={description:"",displayName:"LargeDeletableTag",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/tag/Tag.stories.tsx#LargeDeletableTag"]={docgenInfo:LargeDeletableTag.__docgenInfo,name:"LargeDeletableTag",path:"src/components/tag/Tag.stories.tsx#LargeDeletableTag"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/textInput/TextInput.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Default:()=>Default,Disabled:()=>Disabled,Info:()=>Info,Invalid:()=>Invalid,NumberInput:()=>NumberInput,Playground:()=>Playground,ReadOnly:()=>ReadOnly,Success:()=>Success,UsingRef:()=>UsingRef,WithLabelHidden:()=>WithLabelHidden,WithTooltip:()=>WithTooltip,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/react/index.js"),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@storybook/addon-docs/blocks.js"),_TextInput__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/components/textInput/TextInput.tsx"),_button__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./src/components/button/Button.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),textInputProps={helperText:"Assistive text",id:"hdsInput",label:"Label",placeholder:"Placeholder"};const __WEBPACK_DEFAULT_EXPORT__={component:_TextInput__WEBPACK_IMPORTED_MODULE_3__.o,title:"Components/TextInput",decorators:[function(storyFn){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{style:{maxWidth:"400px"},children:storyFn()})}],parameters:{storySource:{source:"import React, { useRef } from 'react';\nimport { ArgsTable, Stories, Title } from '@storybook/addon-docs/blocks';\n\nimport { TextInput } from './TextInput';\nimport { Button } from '../button';\n\nconst textInputProps = {\n helperText: 'Assistive text',\n id: 'hdsInput',\n label: 'Label',\n placeholder: 'Placeholder',\n};\n\nexport default {\n component: TextInput,\n title: 'Components/TextInput',\n decorators: [(storyFn) => {storyFn()}
],\n parameters: {\n controls: { hideNoControlsWarning: true },\n docs: {\n page: () => (\n <>\n Props \n \n \n >\n ),\n },\n },\n};\n\nexport const Default = () => ;\n\nexport const ReadOnly = () => ;\nReadOnly.storyName = 'Read-only';\n\nexport const Disabled = () => ;\n\nexport const Invalid = () => ;\n\nexport const Success = () => ;\n\nexport const Info = () => ;\n\nexport const WithLabelHidden = () => ;\nWithLabelHidden.storyName = 'With label hidden';\n\nexport const WithTooltip = () => (\n \n);\nWithTooltip.storyName = 'With tooltip';\n\nexport const NumberInput = () => ;\n\nexport const UsingRef = () => {\n const ref = useRef(null);\n\n return (\n <>\n ref?.current?.focus()} style={{ marginBottom: '1rem' }} theme=\"black\" size=\"small\">\n Focus input\n \n \n >\n );\n};\nUsingRef.storyName = 'Using ref';\n\nexport const Playground = (args) => (\n \n);\n\nPlayground.parameters = {\n previewTabs: {\n 'storybook/docs/panel': {\n hidden: true,\n },\n },\n docs: {\n disable: true,\n },\n};\n\nPlayground.args = {\n ...textInputProps,\n type: 'text',\n disabled: false,\n required: false,\n readOnly: false,\n invalid: false,\n errorText: undefined,\n hideLabel: false,\n tooltipAriaLabel: 'Tooltip',\n tooltipText:\n 'Tooltips contain \"nice to have\" information. Default Tooltip contents should not be longer than two to three sentences. For longer descriptions, provide a link to a separate page.',\n tooltipButtonAriaLabelText: 'Tooltip',\n};\n",locationsMap:{default:{startLoc:{col:23,line:32},endLoc:{col:62,line:32},startBody:{col:23,line:32},endBody:{col:62,line:32}},"read-only":{startLoc:{col:24,line:34},endLoc:{col:104,line:34},startBody:{col:24,line:34},endBody:{col:104,line:34}},disabled:{startLoc:{col:24,line:37},endLoc:{col:104,line:37},startBody:{col:24,line:37},endBody:{col:104,line:37}},invalid:{startLoc:{col:23,line:39},endLoc:{col:93,line:39},startBody:{col:23,line:39},endBody:{col:93,line:39}},success:{startLoc:{col:23,line:41},endLoc:{col:89,line:41},startBody:{col:23,line:41},endBody:{col:89,line:41}},info:{startLoc:{col:20,line:43},endLoc:{col:80,line:43},startBody:{col:20,line:43},endBody:{col:80,line:43}},"with-label-hidden":{startLoc:{col:31,line:45},endLoc:{col:80,line:45},startBody:{col:31,line:45},endBody:{col:80,line:45}},"with-tooltip":{startLoc:{col:27,line:48},endLoc:{col:1,line:55},startBody:{col:27,line:48},endBody:{col:1,line:55}},"number-input":{startLoc:{col:27,line:58},endLoc:{col:80,line:58},startBody:{col:27,line:58},endBody:{col:80,line:58}},"using-ref":{startLoc:{col:24,line:60},endLoc:{col:1,line:71},startBody:{col:24,line:60},endBody:{col:1,line:71}},playground:{startLoc:{col:26,line:74},endLoc:{col:1,line:91},startBody:{col:26,line:74},endBody:{col:1,line:91}}}},controls:{hideNoControlsWarning:!0},docs:{page:function page(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_1__.Dx,{children:"Props"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_1__.$4,{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_1__.fQ,{title:"Examples",includePrimary:!0})]})}}}};var Default=function Default(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_TextInput__WEBPACK_IMPORTED_MODULE_3__.o,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},textInputProps))},ReadOnly=function ReadOnly(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_TextInput__WEBPACK_IMPORTED_MODULE_3__.o,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},textInputProps),{},{readOnly:!0,defaultValue:"Text input value"}))};ReadOnly.storyName="Read-only";var Disabled=function Disabled(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_TextInput__WEBPACK_IMPORTED_MODULE_3__.o,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},textInputProps),{},{disabled:!0,defaultValue:"Text input value"}))},Invalid=function Invalid(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_TextInput__WEBPACK_IMPORTED_MODULE_3__.o,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},textInputProps),{},{invalid:!0,errorText:"Error text"}))},Success=function Success(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_TextInput__WEBPACK_IMPORTED_MODULE_3__.o,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},textInputProps),{},{successText:"Success text"}))},Info=function Info(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_TextInput__WEBPACK_IMPORTED_MODULE_3__.o,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},textInputProps),{},{infoText:"Info text"}))},WithLabelHidden=function WithLabelHidden(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_TextInput__WEBPACK_IMPORTED_MODULE_3__.o,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},textInputProps),{},{hideLabel:!0}))};WithLabelHidden.storyName="With label hidden";var WithTooltip=function WithTooltip(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_TextInput__WEBPACK_IMPORTED_MODULE_3__.o,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},textInputProps),{},{tooltipLabel:"Tooltip",tooltipButtonLabel:"Tooltip",tooltipText:'Tooltips contain "nice to have" information. Default Tooltip contents should not be longer than two to three sentences. For longer descriptions, provide a link to a separate page.'}))};WithTooltip.storyName="With tooltip";var NumberInput=function NumberInput(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_TextInput__WEBPACK_IMPORTED_MODULE_3__.o,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},textInputProps),{},{type:"number"}))},UsingRef=function UsingRef(){var ref=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_button__WEBPACK_IMPORTED_MODULE_5__.z,{onClick:function onClick(){var _ref$current;return null==ref||null===(_ref$current=ref.current)||void 0===_ref$current?void 0:_ref$current.focus()},style:{marginBottom:"1rem"},theme:"black",size:"small",children:"Focus input"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_TextInput__WEBPACK_IMPORTED_MODULE_3__.o,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},textInputProps),{},{ref}))]})};UsingRef.storyName="Using ref";var Playground=function Playground(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_TextInput__WEBPACK_IMPORTED_MODULE_3__.o,{id:args.id,label:args.label,helperText:args.helperText,placeholder:args.placeholder,readOnly:args.readOnly,type:args.type,disabled:args.disabled,invalid:args.invalid,errorText:args.errorText,hideLabel:args.hideLabel,required:args.required,tooltipLabel:args.tooltipLabel,tooltipText:args.tooltipText,tooltipButtonLabel:args.tooltipButtonAriaLabelText})};Playground.parameters={previewTabs:{"storybook/docs/panel":{hidden:!0}},docs:{disable:!0}},Playground.args=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},textInputProps),{},{type:"text",disabled:!1,required:!1,readOnly:!1,invalid:!1,errorText:void 0,hideLabel:!1,tooltipAriaLabel:"Tooltip",tooltipText:'Tooltips contain "nice to have" information. Default Tooltip contents should not be longer than two to three sentences. For longer descriptions, provide a link to a separate page.',tooltipButtonAriaLabelText:"Tooltip"}),Default.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:"() => "}},Default.parameters),ReadOnly.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:'() => '}},ReadOnly.parameters),Disabled.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:'() => '}},Disabled.parameters),Invalid.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:'() => '}},Invalid.parameters),Success.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:'() => '}},Success.parameters),Info.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:'() => '}},Info.parameters),WithLabelHidden.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:"() => "}},WithLabelHidden.parameters),WithTooltip.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:'() => (\n \n)'}},WithTooltip.parameters),NumberInput.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:'() => '}},NumberInput.parameters),UsingRef.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:'() => {\n const ref = useRef(null);\n\n return (\n <>\n ref?.current?.focus()} style={{ marginBottom: \'1rem\' }} theme="black" size="small">\n Focus input\n \n \n >\n );\n}'}},UsingRef.parameters),Playground.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:"(args) => (\n \n)"}},Playground.parameters);try{Playground.displayName="Playground",Playground.__docgenInfo={description:"",displayName:"Playground",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/textInput/TextInput.stories.tsx#Playground"]={docgenInfo:Playground.__docgenInfo,name:"Playground",path:"src/components/textInput/TextInput.stories.tsx#Playground"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/textarea/TextArea.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Default:()=>Default,Disabled:()=>Disabled,Info:()=>Info,Invalid:()=>Invalid,Playground:()=>Playground,Success:()=>Success,WithLabelHidden:()=>WithLabelHidden,WithTooltip:()=>WithTooltip,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_1__=(__webpack_require__("../../node_modules/react/index.js"),__webpack_require__("./node_modules/@storybook/addon-docs/blocks.js")),_TextArea__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/components/textarea/TextArea.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),textAreaProps={helperText:"Assistive text",id:"textArea",label:"Label",placeholder:"Placeholder"},value="Lorem ipsum dolor sit amet, consectetur adipiscing elit.";const __WEBPACK_DEFAULT_EXPORT__={component:_TextArea__WEBPACK_IMPORTED_MODULE_3__.K,title:"Components/TextArea",decorators:[function(storyFn){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{style:{maxWidth:"400px"},children:storyFn()})}],parameters:{storySource:{source:"import React from 'react';\nimport { ArgsTable, Stories, Title } from '@storybook/addon-docs/blocks';\n\nimport { TextArea } from './TextArea';\n\nconst textAreaProps = {\n helperText: 'Assistive text',\n id: 'textArea',\n label: 'Label',\n placeholder: 'Placeholder',\n};\nconst value = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.';\n\nexport default {\n component: TextArea,\n title: 'Components/TextArea',\n decorators: [(storyFn) => {storyFn()}
],\n parameters: {\n controls: { hideNoControlsWarning: true },\n docs: {\n page: () => (\n <>\n Props \n \n \n >\n ),\n },\n },\n};\n\nexport const Default = () => ;\n\nexport const Disabled = () => ;\n\nexport const Invalid = () => ;\n\nexport const Success = () => ;\n\nexport const Info = () => ;\n\nexport const WithLabelHidden = () => ;\nWithLabelHidden.storyName = 'With label hidden';\n\nexport const WithTooltip = () => (\n \n);\nWithTooltip.storyName = 'With tooltip';\n\nexport const Playground = (args) => (\n \n);\n\nPlayground.parameters = {\n previewTabs: {\n 'storybook/docs/panel': {\n hidden: true,\n },\n },\n docs: {\n disable: true,\n },\n};\n\nPlayground.args = {\n ...textAreaProps,\n type: 'text',\n disabled: false,\n required: false,\n readOnly: false,\n invalid: false,\n errorText: 'Error text',\n hideLabel: false,\n tooltipAriaLabel: 'Tooltip',\n tooltipText:\n 'Tooltips contain \"nice to have\" information. Default Tooltip contents should not be longer than two to three sentences. For longer descriptions, provide a link to a separate page.',\n tooltipButtonAriaLabelText: 'Tooltip',\n};\n",locationsMap:{default:{startLoc:{col:23,line:32},endLoc:{col:60,line:32},startBody:{col:23,line:32},endBody:{col:60,line:32}},disabled:{startLoc:{col:24,line:34},endLoc:{col:91,line:34},startBody:{col:24,line:34},endBody:{col:91,line:34}},invalid:{startLoc:{col:23,line:36},endLoc:{col:112,line:36},startBody:{col:23,line:36},endBody:{col:112,line:36}},success:{startLoc:{col:23,line:38},endLoc:{col:108,line:38},startBody:{col:23,line:38},endBody:{col:108,line:38}},info:{startLoc:{col:20,line:40},endLoc:{col:99,line:40},startBody:{col:20,line:40},endBody:{col:99,line:40}},"with-label-hidden":{startLoc:{col:31,line:42},endLoc:{col:99,line:42},startBody:{col:31,line:42},endBody:{col:99,line:42}},"with-tooltip":{startLoc:{col:27,line:45},endLoc:{col:1,line:52},startBody:{col:27,line:45},endBody:{col:1,line:52}},playground:{startLoc:{col:26,line:55},endLoc:{col:1,line:69},startBody:{col:26,line:55},endBody:{col:1,line:69}}}},controls:{hideNoControlsWarning:!0},docs:{page:function page(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_1__.Dx,{children:"Props"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_1__.$4,{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_1__.fQ,{title:"Examples",includePrimary:!0})]})}}}};var Default=function Default(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_TextArea__WEBPACK_IMPORTED_MODULE_3__.K,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},textAreaProps))},Disabled=function Disabled(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_TextArea__WEBPACK_IMPORTED_MODULE_3__.K,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},textAreaProps),{},{disabled:!0,defaultValue:value}))},Invalid=function Invalid(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_TextArea__WEBPACK_IMPORTED_MODULE_3__.K,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},textAreaProps),{},{invalid:!0,errorText:"Error text",defaultValue:value}))},Success=function Success(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_TextArea__WEBPACK_IMPORTED_MODULE_3__.K,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},textAreaProps),{},{successText:"Success text",defaultValue:value}))},Info=function Info(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_TextArea__WEBPACK_IMPORTED_MODULE_3__.K,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},textAreaProps),{},{infoText:"Info text",defaultValue:value}))},WithLabelHidden=function WithLabelHidden(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_TextArea__WEBPACK_IMPORTED_MODULE_3__.K,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},textAreaProps),{},{hideLabel:!0,defaultValue:value}))};WithLabelHidden.storyName="With label hidden";var WithTooltip=function WithTooltip(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_TextArea__WEBPACK_IMPORTED_MODULE_3__.K,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},textAreaProps),{},{tooltipLabel:"Tooltip",tooltipButtonLabel:"Tooltip",tooltipText:'Tooltips contain "nice to have" information. Default Tooltip contents should not be longer than two to three sentences. For longer descriptions, provide a link to a separate page.'}))};WithTooltip.storyName="With tooltip";var Playground=function Playground(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_TextArea__WEBPACK_IMPORTED_MODULE_3__.K,{id:args.id,label:args.label,helperText:args.helperText,placeholder:args.placeholder,disabled:args.disabled,invalid:args.invalid,hideLabel:args.hideLabel,required:args.required,tooltipLabel:args.tooltipLabel,tooltipText:args.tooltipText,tooltipButtonLabel:args.tooltipButtonLabelText})};Playground.parameters={previewTabs:{"storybook/docs/panel":{hidden:!0}},docs:{disable:!0}},Playground.args=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},textAreaProps),{},{type:"text",disabled:!1,required:!1,readOnly:!1,invalid:!1,errorText:"Error text",hideLabel:!1,tooltipAriaLabel:"Tooltip",tooltipText:'Tooltips contain "nice to have" information. Default Tooltip contents should not be longer than two to three sentences. For longer descriptions, provide a link to a separate page.',tooltipButtonAriaLabelText:"Tooltip"}),Default.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:"() => "}},Default.parameters),Disabled.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:"() => "}},Disabled.parameters),Invalid.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:'() => '}},Invalid.parameters),Success.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:'() => '}},Success.parameters),Info.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:'() => '}},Info.parameters),WithLabelHidden.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:"() => "}},WithLabelHidden.parameters),WithTooltip.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:'() => (\n \n)'}},WithTooltip.parameters),Playground.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:"(args) => (\n \n)"}},Playground.parameters);try{Playground.displayName="Playground",Playground.__docgenInfo={description:"",displayName:"Playground",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/textarea/TextArea.stories.tsx#Playground"]={docgenInfo:Playground.__docgenInfo,name:"Playground",path:"src/components/textarea/TextArea.stories.tsx#Playground"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/timeInput/TimeInput.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Default:()=>Default,default:()=>TimeInput_stories});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),react=__webpack_require__("../../node_modules/react/index.js"),slicedToArray=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),objectWithoutProperties=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),InputWrapper=(__webpack_require__("./src/styles/base.css"),__webpack_require__("./src/internal/input-wrapper/InputWrapper.tsx")),TextInput_module=__webpack_require__("./src/components/textInput/TextInput.module.css");const TimeInput_module_fullInput="TimeInput_fullInput__9F1Sa",TimeInput_module_partialInput="TimeInput_partialInput__77dsI",TimeInput_module_partialInputLabel="TimeInput_partialInputLabel__rBPQQ",TimeInput_module_timeInputFrame="TimeInput_timeInputFrame__GZXUi",TimeInput_module_disabled="TimeInput_disabled__EHndA",TimeInput_module_divider="TimeInput_divider__Fnltd";var classNames=__webpack_require__("./src/utils/classNames.ts"),composeAriaDescribedBy=__webpack_require__("./src/utils/composeAriaDescribedBy.ts"),mergeRefWithInternalRef=__webpack_require__("./src/utils/mergeRefWithInternalRef.ts"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),_excluded=["className","disabled","defaultValue","value","errorText","helperText","hideLabel","invalid","id","label","hoursLabel","minutesLabel","onChange","required","style","successText","infoText","tooltipLabel","tooltipText","tooltipButtonLabel","type"],NUMBER_KEYS="0,1,2,3,4,5,6,7,8,9".split(","),zeroPad=function zeroPad(value){return 1===value.length?"0".concat(value):value},incrementNumber=function incrementNumber(min,max,current,modifier){return Math.max(Math.min(current+modifier,max),min)},isShortNumericString=function isShortNumericString(inputValue){return null!==inputValue.match(/^(\d{1,2})?$/)},TimeInput=react.forwardRef((function(_ref,ref){var _ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,_ref$disabled=_ref.disabled,disabled=void 0!==_ref$disabled&&_ref$disabled,defaultValue=_ref.defaultValue,value=_ref.value,errorText=_ref.errorText,helperText=_ref.helperText,hideLabel=_ref.hideLabel,invalid=_ref.invalid,id=_ref.id,label=_ref.label,hoursLabel=_ref.hoursLabel,minutesLabel=_ref.minutesLabel,_ref$onChange=_ref.onChange,onChange=void 0===_ref$onChange?function(){return null}:_ref$onChange,required=_ref.required,style=_ref.style,successText=_ref.successText,infoText=_ref.infoText,tooltipLabel=_ref.tooltipLabel,tooltipText=_ref.tooltipText,tooltipButtonLabel=_ref.tooltipButtonLabel,_ref$type=_ref.type,type=void 0===_ref$type?"text":_ref$type,rest=(0,objectWithoutProperties.Z)(_ref,_excluded);defaultValue&&value&&console.warn("Use either defaultValue (for uncontrolled components) or value (for controlled components) in HDS TimeInput component.");var hoursAndMinutes=function getHourAndMinuteValues(value){var valueString="".concat(value);return value&&valueString.length>0&&valueString.match(/^\d{2}:\d{2}$/)?valueString.split(":"):null}(defaultValue||value),inputRef=(0,react.useRef)(null),hoursInputRef=(0,react.useRef)(null),minutesInputRef=(0,react.useRef)(null),_useState=(0,react.useState)(hoursAndMinutes?hoursAndMinutes[0]:""),_useState2=(0,slicedToArray.Z)(_useState,2),hours=_useState2[0],setHours=_useState2[1],_useState3=(0,react.useState)(hoursAndMinutes?hoursAndMinutes[1]:""),_useState4=(0,slicedToArray.Z)(_useState3,2),minutes=_useState4[0],setMinutes=_useState4[1],_useState5=(0,react.useState)(hoursAndMinutes?hoursAndMinutes.join(":"):""),_useState6=(0,slicedToArray.Z)(_useState5,2),time=_useState6[0],setTime=_useState6[1],wrapperProps={className,errorText,helperText,hideLabel,id,invalid,label,required,style,successText,infoText,tooltipLabel,tooltipText,tooltipButtonLabel},updateTimeInput=function updateTimeInput(newHours,newMinutes){setHours(newHours),setMinutes(newMinutes);var newTimeValue=0===newHours.length&&0===newMinutes.length?"":"".concat(newHours,":").concat(newMinutes);setTime(newTimeValue),Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value").set.call(inputRef.current,newTimeValue);var event=new Event("input",{bubbles:!0});inputRef.current.dispatchEvent(event)};(0,react.useEffect)((function(){ref&&(0,mergeRefWithInternalRef.Z)(ref,inputRef)}),[inputRef,ref]);var onInputFocus=function onInputFocus(event){event.preventDefault(),event.target.select()},ariaDescribedBy=(0,composeAriaDescribedBy.Z)(id,helperText,errorText,successText,infoText),frameProps={className:(0,classNames.Z)(TextInput_module.Z.input,TimeInput_module_timeInputFrame,disabled&&TimeInput_module_disabled),onClick:function onClick(event){event.target!==hoursInputRef.current&&event.target!==minutesInputRef.current&&hoursInputRef.current.focus()}},hourInputId="".concat(id,"-hours"),minuteInputId="".concat(id,"-minutes"),labelId="".concat(id,"-label");return(0,jsx_runtime.jsx)(InputWrapper.S,(0,objectSpread2.Z)((0,objectSpread2.Z)({},wrapperProps),{},{id,labelId,isAriaLabelledBy:!0,children:(0,jsx_runtime.jsxs)("div",(0,objectSpread2.Z)((0,objectSpread2.Z)({},frameProps),{},{role:"group","aria-labelledby":labelId,children:[(0,jsx_runtime.jsx)("input",(0,objectSpread2.Z)({"aria-hidden":!0,readOnly:!0,className:TimeInput_module_fullInput,disabled,id,onChange,ref:inputRef,required,type,tabIndex:-1,value:time},rest)),(0,jsx_runtime.jsx)("label",{htmlFor:hourInputId,className:TimeInput_module_partialInputLabel,children:hoursLabel}),(0,jsx_runtime.jsx)("input",{className:TimeInput_module_partialInput,type:"text",disabled,id:hourInputId,ref:hoursInputRef,value:hours,inputMode:"numeric",onChange:function onHoursChange(event){var hoursValue=event.target.value.slice(-2);return isShortNumericString(hoursValue)?(updateTimeInput(hoursValue,minutes),!0):(event.preventDefault(),!1)},onKeyDown:function onHoursKeyDown(event){if("ArrowRight"!==event.key||event.shiftKey||(event.preventDefault(),minutesInputRef.current.focus()),["ArrowUp","ArrowDown"].includes(event.key)&&!event.shiftKey){event.preventDefault();var modifier="ArrowUp"===event.key?1:-1,hoursAsInt=parseInt(hours,10)||0,newHours=zeroPad("".concat(incrementNumber(0,23,hoursAsInt,modifier)));updateTimeInput(newHours,minutes)}},onKeyUp:function onHoursKeyUp(event){2===event.currentTarget.value.length&&"00"!==event.currentTarget.value&&NUMBER_KEYS.includes(event.key)&&minutesInputRef.current.focus()},onFocus:onInputFocus,onBlur:function onHoursBlur(){hours.length>0&&updateTimeInput(zeroPad(hours),minutes)},"aria-describedby":ariaDescribedBy.length>0?ariaDescribedBy:void 0,placeholder:"--"}),(0,jsx_runtime.jsx)("div",{className:TimeInput_module_divider,children:":"}),(0,jsx_runtime.jsx)("label",{htmlFor:minuteInputId,className:TimeInput_module_partialInputLabel,children:minutesLabel}),(0,jsx_runtime.jsx)("input",{className:TimeInput_module_partialInput,type:"text",disabled,id:minuteInputId,ref:minutesInputRef,value:minutes,inputMode:"numeric",onChange:function onMinutesChange(event){var minutesValue=event.target.value.slice(-2);return isShortNumericString(minutesValue)?(updateTimeInput(hours,minutesValue),!0):(event.preventDefault(),!1)},onKeyDown:function onMinutesKeyDown(event){if("ArrowLeft"!==event.key||event.shiftKey||(event.preventDefault(),hoursInputRef.current.focus()),["ArrowUp","ArrowDown"].includes(event.key)&&!event.shiftKey){event.preventDefault();var modifier="ArrowUp"===event.key?1:-1,minutesAsInt=parseInt(minutes,10)||0,newMinutes=zeroPad("".concat(incrementNumber(0,59,minutesAsInt,modifier)));updateTimeInput(hours,newMinutes)}},onFocus:onInputFocus,onBlur:function onMinutesBlur(){minutes.length>0&&updateTimeInput(hours,zeroPad(minutes))},"aria-describedby":ariaDescribedBy.length>0?ariaDescribedBy:void 0,placeholder:"--"})]}))}))}));try{TimeInput.displayName="TimeInput",TimeInput.__docgenInfo={description:"",displayName:"TimeInput",props:{className:{defaultValue:{value:""},description:"Additional class names to apply to the text input",name:"className",required:!1,type:{name:"string"}},id:{defaultValue:null,description:"The id of the input element",name:"id",required:!1,type:{name:"string"}},style:{defaultValue:null,description:"Override or extend the styles applied to the component",name:"style",required:!1,type:{name:"CSSProperties"}},label:{defaultValue:null,description:"The label for the input",name:"label",required:!1,type:{name:"ReactNode"}},disabled:{defaultValue:{value:"false"},description:"If `true`, the input will be disabled",name:"disabled",required:!1,type:{name:"boolean"}},type:{defaultValue:{value:"text"},description:"Type of the input element",name:"type",required:!1,type:{name:"string"}},value:{defaultValue:null,description:"The value of the input element, required for a controlled component",name:"value",required:!1,type:{name:"string & (string | number | readonly string[])"}},defaultValue:{defaultValue:null,description:"The default input element value. Use when the component is not controlled",name:"defaultValue",required:!1,type:{name:"string & (string | number | readonly string[])"}},placeholder:{defaultValue:null,description:"Short hint displayed in the input before the user enters a value",name:"placeholder",required:!1,type:{name:"string"}},onChange:{defaultValue:{value:"() => null"},description:"Callback fired when the state is changed",name:"onChange",required:!1,type:{name:"ChangeEventHandler"}},readOnly:{defaultValue:null,description:"If `true`, prevents the user from changing the value of the field (not from interacting with the field)",name:"readOnly",required:!1,type:{name:"boolean"}},required:{defaultValue:null,description:"If `true`, the label is displayed as required and the `input` element will be required",name:"required",required:!1,type:{name:"boolean"}},errorText:{defaultValue:null,description:"The error text content that will be shown below the input",name:"errorText",required:!1,type:{name:"string"}},helperText:{defaultValue:null,description:"The helper text content that will be shown below the input",name:"helperText",required:!1,type:{name:"string"}},tooltipText:{defaultValue:null,description:"The text content of the tooltip",name:"tooltipText",required:!1,type:{name:"string"}},tooltipLabel:{defaultValue:null,description:"Aria-label text for the tooltip",name:"tooltipLabel",required:!1,type:{name:"string"}},tooltipButtonLabel:{defaultValue:null,description:"Aria-label text for the tooltip trigger button",name:"tooltipButtonLabel",required:!1,type:{name:"string"}},hideLabel:{defaultValue:null,description:"Hides the label above the input",name:"hideLabel",required:!1,type:{name:"boolean"}},invalid:{defaultValue:null,description:"If `true`, the input will be displayed in an invalid state.",name:"invalid",required:!1,type:{name:"boolean"}},successText:{defaultValue:null,description:"The success text content that will be shown below the input",name:"successText",required:!1,type:{name:"string"}},infoText:{defaultValue:null,description:"The info text content that will be shown below the input",name:"infoText",required:!1,type:{name:"string"}},hoursLabel:{defaultValue:null,description:"A visually hidden label for the hours. Helps to navigate the component with screen readers.",name:"hoursLabel",required:!0,type:{name:"string"}},minutesLabel:{defaultValue:null,description:"A visually hidden label for the minutes. Helps to navigate the component with screen readers.",name:"minutesLabel",required:!0,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/timeInput/TimeInput.tsx#TimeInput"]={docgenInfo:TimeInput.__docgenInfo,name:"TimeInput",path:"src/components/timeInput/TimeInput.tsx#TimeInput"})}catch(__react_docgen_typescript_loader_error){}const TimeInput_stories={component:TimeInput,title:"Components/TimeInput",decorators:[function(storyFn){return(0,jsx_runtime.jsx)("div",{style:{maxWidth:"400px"},children:storyFn()})}],parameters:{storySource:{source:"import React from 'react';\n\nimport { TimeInput } from './TimeInput';\n\nexport default {\n component: TimeInput,\n title: 'Components/TimeInput',\n decorators: [(storyFn) => {storyFn()}
],\n parameters: {\n controls: { expanded: true },\n },\n args: {\n id: 'time',\n label: 'Label',\n hoursLabel: 'hours',\n minutesLabel: 'minutes',\n helperText: 'Assistive text',\n value: '00:00',\n disabled: false,\n },\n};\n\nexport const Default = (args) => {\n return ;\n};\n",locationsMap:{default:{startLoc:{col:23,line:23},endLoc:{col:1,line:25},startBody:{col:23,line:23},endBody:{col:1,line:25}}}},controls:{expanded:!0}},args:{id:"time",label:"Label",hoursLabel:"hours",minutesLabel:"minutes",helperText:"Assistive text",value:"00:00",disabled:!1}};var Default=function Default(args){return(0,jsx_runtime.jsx)(TimeInput,(0,objectSpread2.Z)({},args))};Default.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n return ;\n}"}},Default.parameters);try{Default.displayName="Default",Default.__docgenInfo={description:"",displayName:"Default",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/timeInput/TimeInput.stories.tsx#Default"]={docgenInfo:Default.__docgenInfo,name:"Default",path:"src/components/timeInput/TimeInput.stories.tsx#Default"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/toggleButton/ToggleButton.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{CustomTheme:()=>CustomTheme,Default:()=>Default,Disabled:()=>Disabled,Inline:()=>Inline,Playground:()=>Playground,WithTooltip:()=>WithTooltip,default:()=>ToggleButton_stories});var objectWithoutProperties=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),slicedToArray=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react=__webpack_require__("../../node_modules/react/index.js");__webpack_require__("./src/styles/base.css");const ToggleButton_module_toggleButton="ToggleButton_toggleButton__CRyVA",ToggleButton_module_label="ToggleButton_label__-Is8B",ToggleButton_module_toggleButtonContainer="ToggleButton_toggleButtonContainer__o0GvA",ToggleButton_module_onIcon="ToggleButton_onIcon__D71Pa",ToggleButton_module_offIcon="ToggleButton_offIcon__6wQWI",ToggleButton_module_toggleButtonContainerInlineVariant="ToggleButton_toggleButtonContainerInlineVariant__CAPGb",ToggleButton_module_labelContainer="ToggleButton_labelContainer__B7X0a",ToggleButton_module_tooltipButton="ToggleButton_tooltipButton__hDA-0",ToggleButton_module_toggleButtonIcon="ToggleButton_toggleButtonIcon__5EjAE";var classNames=__webpack_require__("./src/utils/classNames.ts"),IconCrossCircleFill=__webpack_require__("./src/icons/IconCrossCircleFill.tsx"),IconCheckCircleFill=__webpack_require__("./src/icons/IconCheckCircleFill.tsx"),Tooltip=__webpack_require__("./src/components/tooltip/Tooltip.tsx"),useTheme=__webpack_require__("./src/hooks/useTheme.tsx"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),ToggleButton=react.forwardRef((function(_ref,ref){var id=_ref.id,label=_ref.label,checked=_ref.checked,disabled=_ref.disabled,onChange=_ref.onChange,tooltipLabel=_ref.tooltipLabel,tooltipButtonLabel=_ref.tooltipButtonLabel,tooltipText=_ref.tooltipText,_ref$variant=_ref.variant,variant=void 0===_ref$variant?"default":_ref$variant,theme=_ref.theme,labelId="".concat(id,"-label"),customThemeClass=(0,useTheme.F)(ToggleButton_module_toggleButtonContainer,theme);return(0,jsx_runtime.jsxs)("div",{className:(0,classNames.Z)(ToggleButton_module_toggleButtonContainer,"inline"===variant&&ToggleButton_module_toggleButtonContainerInlineVariant,customThemeClass),children:[(0,jsx_runtime.jsxs)("div",{className:ToggleButton_module_labelContainer,children:[(0,jsx_runtime.jsx)("label",{id:labelId,htmlFor:id,className:ToggleButton_module_label,children:label}),tooltipText&&(0,jsx_runtime.jsx)(Tooltip.u,{buttonClassName:ToggleButton_module_tooltipButton,tooltipLabel,buttonLabel:tooltipButtonLabel,children:tooltipText})]}),(0,jsx_runtime.jsxs)("button",{id,ref,disabled,type:"button","aria-pressed":checked,"aria-labelledby":labelId,className:ToggleButton_module_toggleButton,onClick:function onClick(){onChange(checked)},children:[(0,jsx_runtime.jsx)("div",{className:(0,classNames.Z)(ToggleButton_module_toggleButtonIcon,ToggleButton_module_offIcon),children:(0,jsx_runtime.jsx)(IconCrossCircleFill.IconCrossCircleFill,{size:"m","aria-hidden":"true"})}),(0,jsx_runtime.jsx)("div",{className:(0,classNames.Z)(ToggleButton_module_toggleButtonIcon,ToggleButton_module_onIcon),children:(0,jsx_runtime.jsx)(IconCheckCircleFill.IconCheckCircleFill,{size:"m","aria-hidden":"true"})})]})]})}));try{ToggleButton.displayName="ToggleButton",ToggleButton.__docgenInfo={description:"",displayName:"ToggleButton",props:{id:{defaultValue:null,description:"The id of the button element",name:"id",required:!0,type:{name:"string"}},label:{defaultValue:null,description:"The label for the input",name:"label",required:!0,type:{name:"ReactNode"}},checked:{defaultValue:null,description:"The state of the toggle button",name:"checked",required:!0,type:{name:"boolean"}},disabled:{defaultValue:null,description:"If `true`, the button will be disabled",name:"disabled",required:!1,type:{name:"boolean"}},onChange:{defaultValue:null,description:"Callback fired when the toggle button is clicked. Should switch the value.",name:"onChange",required:!0,type:{name:"(boolean: any) => void"}},tooltipLabel:{defaultValue:null,description:"Aria-label text for the tooltip",name:"tooltipLabel",required:!1,type:{name:"string"}},tooltipButtonLabel:{defaultValue:null,description:"Aria-label text for the tooltip trigger button",name:"tooltipButtonLabel",required:!1,type:{name:"string"}},tooltipText:{defaultValue:null,description:"The text content of the tooltip",name:"tooltipText",required:!1,type:{name:"string"}},variant:{defaultValue:{value:"default"},description:"Defines the toggle button variant",name:"variant",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"inline"'}]}},theme:{defaultValue:null,description:"Custom theme styles",name:"theme",required:!1,type:{name:"ToggleButtonCustomTheme"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/toggleButton/ToggleButton.tsx#ToggleButton"]={docgenInfo:ToggleButton.__docgenInfo,name:"ToggleButton",path:"src/components/toggleButton/ToggleButton.tsx#ToggleButton"})}catch(__react_docgen_typescript_loader_error){}var _excluded=["id","state"];const ToggleButton_stories={component:ToggleButton,title:"Components/ToggleButton",decorators:[function(storyFn){return(0,jsx_runtime.jsx)("div",{style:{maxWidth:"400px"},children:storyFn()})}],parameters:{storySource:{source:"import React, { useState } from 'react';\n\nimport { ToggleButton } from './ToggleButton';\n\nexport default {\n component: ToggleButton,\n title: 'Components/ToggleButton',\n decorators: [(storyFn) => {storyFn()}
],\n parameters: {\n controls: { expanded: true },\n },\n args: {\n id: 'toggle-button',\n disabled: false,\n checked: false,\n },\n};\n\nexport const Default = (args) => {\n const [checked, setChecked] = useState(args.checked);\n const [oppositeChecked, setOppositeChecked] = useState(!args.checked);\n return (\n <>\n setChecked(!checked)} />\n \n setOppositeChecked(!oppositeChecked)}\n />\n >\n );\n};\n\nexport const Disabled = (args) => {\n const [checked, setChecked] = useState(false);\n const [oppositeChecked, setOppositeChecked] = useState(!args.checked);\n\n return (\n <>\n setChecked(!checked)} />\n \n setOppositeChecked(!oppositeChecked)}\n />\n >\n );\n};\n\nDisabled.args = {\n disabled: true,\n};\n\nexport const WithTooltip = (args) => {\n const [checked, setChecked] = useState(args.checked);\n return setChecked(!checked)} />;\n};\n\nWithTooltip.args = {\n tooltipLabel: 'What are the notifications?',\n tooltipButtonLabel: 'Open info tooltip',\n tooltipText:\n 'When notifications are allowed, the application can use desktop notifications. But this is not mandatory for application to function.',\n};\n\nWithTooltip.storyName = 'With tooltip';\n\nexport const Inline = (args) => {\n const [checked, setChecked] = useState(args.checked);\n const [checkedWithTooltip, setCheckedWithTooltip] = useState(args.checked);\n\n return (\n <>\n setChecked(!checked)}\n variant={args.variant}\n />\n \n setCheckedWithTooltip(!checkedWithTooltip)}\n variant={args.variant}\n tooltipText={args.tooltipText}\n tooltipButtonLabel={args.tooltipButtonLabel}\n tooltipLabel={args.tooltipLabel}\n />\n >\n );\n};\n\nInline.args = {\n variant: 'inline',\n tooltipLabel: 'What are the notifications?',\n tooltipButtonLabel: 'Open info tooltip',\n tooltipText:\n 'When notifications are allowed, the application can use desktop notifications. But this is not mandatory for application to function.',\n};\n\nWithTooltip.storyName = 'With tooltip';\n\nexport const CustomTheme = (args) => {\n const customThemes = [\n {\n id: 'error',\n '--toggle-button-color': 'var(--color-brick)',\n '--toggle-button-hover-color': 'var(--color-brick-dark)',\n state: useState(args.checked),\n },\n {\n id: 'success',\n '--toggle-button-color': 'var(--color-tram)',\n '--toggle-button-hover-color': 'var(--color-tram-dark)',\n state: useState(args.checked),\n },\n {\n id: 'primary',\n '--toggle-button-color': 'var(--color-coat-of-arms)',\n '--toggle-button-hover-color': 'var(--color-coat-of-arms-dark)',\n state: useState(args.checked),\n },\n ];\n\n return (\n <>\n {customThemes.map(({ id, state, ...theme }) => {\n const [checked, setIsChecked] = state;\n\n return (\n \n setIsChecked(!checked)}\n variant={args.variant}\n theme={theme}\n />\n
\n );\n })}\n >\n );\n};\nCustomTheme.args = {\n checked: true,\n variant: 'default',\n};\n\nCustomTheme.storyName = 'Custom theme';\n\nexport const Playground = (args) => {\n const [checked, setChecked] = useState(args.value);\n\n return (\n setChecked(!checked)}\n disabled={args.disabled}\n tooltipLabel={args.tooltipLabel}\n tooltipButtonLabel={args.tooltipButtonLabel}\n tooltipText={args.tooltipText}\n variant={args.variant}\n />\n );\n};\nPlayground.parameters = {\n previewTabs: {\n 'storybook/docs/panel': {\n hidden: true,\n },\n },\n docs: {\n disable: true,\n },\n loki: { skip: true },\n};\n\nPlayground.args = {\n id: 'toggle-button',\n label: 'Toggle button',\n tooltipLabel: 'Tooltip label',\n tooltipButtonLabel: 'Tooltip button label',\n tooltipText: 'Tooltip text',\n variant: 'default',\n disabled: false,\n};\n\nPlayground.argTypes = {\n variant: {\n options: ['default', 'inline'],\n control: { type: 'radio' },\n },\n};\n",locationsMap:{default:{startLoc:{col:23,line:19},endLoc:{col:1,line:35},startBody:{col:23,line:19},endBody:{col:1,line:35}},disabled:{startLoc:{col:24,line:37},endLoc:{col:1,line:54},startBody:{col:24,line:37},endBody:{col:1,line:54}},"with-tooltip":{startLoc:{col:27,line:60},endLoc:{col:1,line:63},startBody:{col:27,line:60},endBody:{col:1,line:63}},inline:{startLoc:{col:22,line:74},endLoc:{col:1,line:100},startBody:{col:22,line:74},endBody:{col:1,line:100}},"custom-theme":{startLoc:{col:27,line:112},endLoc:{col:1,line:154},startBody:{col:27,line:112},endBody:{col:1,line:154}},playground:{startLoc:{col:26,line:162},endLoc:{col:1,line:178},startBody:{col:26,line:162},endBody:{col:1,line:178}}}},controls:{expanded:!0}},args:{id:"toggle-button",disabled:!1,checked:!1}};var Default=function Default(args){var _useState=(0,react.useState)(args.checked),_useState2=(0,slicedToArray.Z)(_useState,2),checked=_useState2[0],setChecked=_useState2[1],_useState3=(0,react.useState)(!args.checked),_useState4=(0,slicedToArray.Z)(_useState3,2),oppositeChecked=_useState4[0],setOppositeChecked=_useState4[1];return(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsx)(ToggleButton,(0,objectSpread2.Z)((0,objectSpread2.Z)({},args),{},{label:"Allow notifications",checked,onChange:function onChange(){return setChecked(!checked)}})),(0,jsx_runtime.jsx)("br",{}),(0,jsx_runtime.jsx)(ToggleButton,(0,objectSpread2.Z)((0,objectSpread2.Z)({},args),{},{id:"".concat(args.id,"-opposite"),label:"Allow desktop notifications",checked:oppositeChecked,onChange:function onChange(){return setOppositeChecked(!oppositeChecked)}}))]})},Disabled=function Disabled(args){var _useState5=(0,react.useState)(!1),_useState6=(0,slicedToArray.Z)(_useState5,2),checked=_useState6[0],setChecked=_useState6[1],_useState7=(0,react.useState)(!args.checked),_useState8=(0,slicedToArray.Z)(_useState7,2),oppositeChecked=_useState8[0],setOppositeChecked=_useState8[1];return(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsx)(ToggleButton,(0,objectSpread2.Z)((0,objectSpread2.Z)({},args),{},{label:"Allow notifications",checked,onChange:function onChange(){return setChecked(!checked)}})),(0,jsx_runtime.jsx)("br",{}),(0,jsx_runtime.jsx)(ToggleButton,(0,objectSpread2.Z)((0,objectSpread2.Z)({},args),{},{id:"".concat(args.id,"-opposite"),label:"Allow desktop notifications",checked:oppositeChecked,onChange:function onChange(){return setOppositeChecked(!oppositeChecked)}}))]})};Disabled.args={disabled:!0};var WithTooltip=function WithTooltip(args){var _useState9=(0,react.useState)(args.checked),_useState10=(0,slicedToArray.Z)(_useState9,2),checked=_useState10[0],setChecked=_useState10[1];return(0,jsx_runtime.jsx)(ToggleButton,(0,objectSpread2.Z)((0,objectSpread2.Z)({},args),{},{label:"Allow notifications",checked,onChange:function onChange(){return setChecked(!checked)}}))};WithTooltip.args={tooltipLabel:"What are the notifications?",tooltipButtonLabel:"Open info tooltip",tooltipText:"When notifications are allowed, the application can use desktop notifications. But this is not mandatory for application to function."},WithTooltip.storyName="With tooltip";var Inline=function Inline(args){var _useState11=(0,react.useState)(args.checked),_useState12=(0,slicedToArray.Z)(_useState11,2),checked=_useState12[0],setChecked=_useState12[1],_useState13=(0,react.useState)(args.checked),_useState14=(0,slicedToArray.Z)(_useState13,2),checkedWithTooltip=_useState14[0],setCheckedWithTooltip=_useState14[1];return(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsx)(ToggleButton,{id:args.id,label:"Allow notifications",checked,onChange:function onChange(){return setChecked(!checked)},variant:args.variant}),(0,jsx_runtime.jsx)("br",{}),(0,jsx_runtime.jsx)(ToggleButton,{id:"".concat(args.id,"-without-tooltip"),label:"Allow desktop notifications",checked:checkedWithTooltip,onChange:function onChange(){return setCheckedWithTooltip(!checkedWithTooltip)},variant:args.variant,tooltipText:args.tooltipText,tooltipButtonLabel:args.tooltipButtonLabel,tooltipLabel:args.tooltipLabel})]})};Inline.args={variant:"inline",tooltipLabel:"What are the notifications?",tooltipButtonLabel:"Open info tooltip",tooltipText:"When notifications are allowed, the application can use desktop notifications. But this is not mandatory for application to function."},WithTooltip.storyName="With tooltip";var CustomTheme=function CustomTheme(args){var customThemes=[{id:"error","--toggle-button-color":"var(--color-brick)","--toggle-button-hover-color":"var(--color-brick-dark)",state:(0,react.useState)(args.checked)},{id:"success","--toggle-button-color":"var(--color-tram)","--toggle-button-hover-color":"var(--color-tram-dark)",state:(0,react.useState)(args.checked)},{id:"primary","--toggle-button-color":"var(--color-coat-of-arms)","--toggle-button-hover-color":"var(--color-coat-of-arms-dark)",state:(0,react.useState)(args.checked)}];return(0,jsx_runtime.jsx)(jsx_runtime.Fragment,{children:customThemes.map((function(_ref){var id=_ref.id,state=_ref.state,theme=(0,objectWithoutProperties.Z)(_ref,_excluded),_state=(0,slicedToArray.Z)(state,2),checked=_state[0],setIsChecked=_state[1];return(0,jsx_runtime.jsx)("div",{style:{marginBottom:"1.5rem"},children:(0,jsx_runtime.jsx)(ToggleButton,{id:"toggle-button-".concat(id),label:"label",checked,onChange:function onChange(){return setIsChecked(!checked)},variant:args.variant,theme})},"toggle-button-".concat(id,"-container"))}))})};CustomTheme.args={checked:!0,variant:"default"},CustomTheme.storyName="Custom theme";var Playground=function Playground(args){var _useState15=(0,react.useState)(args.value),_useState16=(0,slicedToArray.Z)(_useState15,2),checked=_useState16[0],setChecked=_useState16[1];return(0,jsx_runtime.jsx)(ToggleButton,{id:args.id,label:args.label,checked,onChange:function onChange(){return setChecked(!checked)},disabled:args.disabled,tooltipLabel:args.tooltipLabel,tooltipButtonLabel:args.tooltipButtonLabel,tooltipText:args.tooltipText,variant:args.variant})};Playground.parameters={previewTabs:{"storybook/docs/panel":{hidden:!0}},docs:{disable:!0},loki:{skip:!0}},Playground.args={id:"toggle-button",label:"Toggle button",tooltipLabel:"Tooltip label",tooltipButtonLabel:"Tooltip button label",tooltipText:"Tooltip text",variant:"default",disabled:!1},Playground.argTypes={variant:{options:["default","inline"],control:{type:"radio"}}},Default.parameters=(0,objectSpread2.Z)({storySource:{source:'(args) => {\n const [checked, setChecked] = useState(args.checked);\n const [oppositeChecked, setOppositeChecked] = useState(!args.checked);\n return (\n <>\n setChecked(!checked)} />\n \n setOppositeChecked(!oppositeChecked)}\n />\n >\n );\n}'}},Default.parameters),Disabled.parameters=(0,objectSpread2.Z)({storySource:{source:'(args) => {\n const [checked, setChecked] = useState(false);\n const [oppositeChecked, setOppositeChecked] = useState(!args.checked);\n\n return (\n <>\n setChecked(!checked)} />\n \n setOppositeChecked(!oppositeChecked)}\n />\n >\n );\n}'}},Disabled.parameters),WithTooltip.parameters=(0,objectSpread2.Z)({storySource:{source:'(args) => {\n const [checked, setChecked] = useState(args.checked);\n return setChecked(!checked)} />;\n}'}},WithTooltip.parameters),Inline.parameters=(0,objectSpread2.Z)({storySource:{source:'(args) => {\n const [checked, setChecked] = useState(args.checked);\n const [checkedWithTooltip, setCheckedWithTooltip] = useState(args.checked);\n\n return (\n <>\n setChecked(!checked)}\n variant={args.variant}\n />\n \n setCheckedWithTooltip(!checkedWithTooltip)}\n variant={args.variant}\n tooltipText={args.tooltipText}\n tooltipButtonLabel={args.tooltipButtonLabel}\n tooltipLabel={args.tooltipLabel}\n />\n >\n );\n}'}},Inline.parameters),CustomTheme.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const customThemes = [\n {\n id: 'error',\n '--toggle-button-color': 'var(--color-brick)',\n '--toggle-button-hover-color': 'var(--color-brick-dark)',\n state: useState(args.checked),\n },\n {\n id: 'success',\n '--toggle-button-color': 'var(--color-tram)',\n '--toggle-button-hover-color': 'var(--color-tram-dark)',\n state: useState(args.checked),\n },\n {\n id: 'primary',\n '--toggle-button-color': 'var(--color-coat-of-arms)',\n '--toggle-button-hover-color': 'var(--color-coat-of-arms-dark)',\n state: useState(args.checked),\n },\n ];\n\n return (\n <>\n {customThemes.map(({ id, state, ...theme }) => {\n const [checked, setIsChecked] = state;\n\n return (\n \n setIsChecked(!checked)}\n variant={args.variant}\n theme={theme}\n />\n
\n );\n })}\n >\n );\n}"}},CustomTheme.parameters),Playground.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const [checked, setChecked] = useState(args.value);\n\n return (\n setChecked(!checked)}\n disabled={args.disabled}\n tooltipLabel={args.tooltipLabel}\n tooltipButtonLabel={args.tooltipButtonLabel}\n tooltipText={args.tooltipText}\n variant={args.variant}\n />\n );\n}"}},Playground.parameters);try{Default.displayName="Default",Default.__docgenInfo={description:"",displayName:"Default",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/toggleButton/ToggleButton.stories.tsx#Default"]={docgenInfo:Default.__docgenInfo,name:"Default",path:"src/components/toggleButton/ToggleButton.stories.tsx#Default"})}catch(__react_docgen_typescript_loader_error){}try{Disabled.displayName="Disabled",Disabled.__docgenInfo={description:"",displayName:"Disabled",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/toggleButton/ToggleButton.stories.tsx#Disabled"]={docgenInfo:Disabled.__docgenInfo,name:"Disabled",path:"src/components/toggleButton/ToggleButton.stories.tsx#Disabled"})}catch(__react_docgen_typescript_loader_error){}try{WithTooltip.displayName="WithTooltip",WithTooltip.__docgenInfo={description:"",displayName:"WithTooltip",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/toggleButton/ToggleButton.stories.tsx#WithTooltip"]={docgenInfo:WithTooltip.__docgenInfo,name:"WithTooltip",path:"src/components/toggleButton/ToggleButton.stories.tsx#WithTooltip"})}catch(__react_docgen_typescript_loader_error){}try{Inline.displayName="Inline",Inline.__docgenInfo={description:"",displayName:"Inline",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/toggleButton/ToggleButton.stories.tsx#Inline"]={docgenInfo:Inline.__docgenInfo,name:"Inline",path:"src/components/toggleButton/ToggleButton.stories.tsx#Inline"})}catch(__react_docgen_typescript_loader_error){}try{CustomTheme.displayName="CustomTheme",CustomTheme.__docgenInfo={description:"",displayName:"CustomTheme",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/toggleButton/ToggleButton.stories.tsx#CustomTheme"]={docgenInfo:CustomTheme.__docgenInfo,name:"CustomTheme",path:"src/components/toggleButton/ToggleButton.stories.tsx#CustomTheme"})}catch(__react_docgen_typescript_loader_error){}try{Playground.displayName="Playground",Playground.__docgenInfo={description:"",displayName:"Playground",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/toggleButton/ToggleButton.stories.tsx#Playground"]={docgenInfo:Playground.__docgenInfo,name:"Playground",path:"src/components/toggleButton/ToggleButton.stories.tsx#Playground"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/tooltip/Tooltip.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Default:()=>Default,Small:()=>Small,WithBoxShadow:()=>WithBoxShadow,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),_Tooltip__WEBPACK_IMPORTED_MODULE_2__=(__webpack_require__("../../node_modules/react/index.js"),__webpack_require__("./src/components/tooltip/Tooltip.tsx")),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js");const __WEBPACK_DEFAULT_EXPORT__={component:_Tooltip__WEBPACK_IMPORTED_MODULE_2__.u,title:"Components/Tooltip",parameters:{storySource:{source:"import React from 'react';\n\nimport { Tooltip } from './Tooltip';\n\nexport default {\n component: Tooltip,\n title: 'Components/Tooltip',\n parameters: {\n controls: { expanded: true },\n },\n};\n\nexport const Default = (args) => (\n \n Tooltips contain "nice to have" information. Default Tooltip contents should not be longer than two to\n three sentences. For longer descriptions, provide a link to a separate page.\n \n);\n\nexport const Small = (args) => Less than five words long ;\nSmall.args = {\n small: true,\n};\n\nexport const WithBoxShadow = (args) => (\n \n Tooltips contain "nice to have" information. Default Tooltip contents should not be longer than two to\n three sentences. For longer descriptions, provide a link to a separate page.\n \n);\n",locationsMap:{default:{startLoc:{col:23,line:13},endLoc:{col:1,line:18},startBody:{col:23,line:13},endBody:{col:1,line:18}},small:{startLoc:{col:21,line:20},endLoc:{col:85,line:20},startBody:{col:21,line:20},endBody:{col:85,line:20}},"with-box-shadow":{startLoc:{col:29,line:25},endLoc:{col:1,line:30},startBody:{col:29,line:25},endBody:{col:1,line:30}}}},controls:{expanded:!0}}};var Default=function Default(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Tooltip__WEBPACK_IMPORTED_MODULE_2__.u,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{children:'Tooltips contain "nice to have" information. Default Tooltip contents should not be longer than two to three sentences. For longer descriptions, provide a link to a separate page.'}))},Small=function Small(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Tooltip__WEBPACK_IMPORTED_MODULE_2__.u,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{children:"Less than five words long"}))};Small.args={small:!0};var WithBoxShadow=function WithBoxShadow(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Tooltip__WEBPACK_IMPORTED_MODULE_2__.u,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{boxShadow:!0,children:'Tooltips contain "nice to have" information. Default Tooltip contents should not be longer than two to three sentences. For longer descriptions, provide a link to a separate page.'}))};Default.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => (\n \n Tooltips contain "nice to have" information. Default Tooltip contents should not be longer than two to\n three sentences. For longer descriptions, provide a link to a separate page.\n \n)"}},Default.parameters),Small.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => Less than five words long "}},Small.parameters),WithBoxShadow.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => (\n \n Tooltips contain "nice to have" information. Default Tooltip contents should not be longer than two to\n three sentences. For longer descriptions, provide a link to a separate page.\n \n)"}},WithBoxShadow.parameters);try{Default.displayName="Default",Default.__docgenInfo={description:"",displayName:"Default",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/tooltip/Tooltip.stories.tsx#Default"]={docgenInfo:Default.__docgenInfo,name:"Default",path:"src/components/tooltip/Tooltip.stories.tsx#Default"})}catch(__react_docgen_typescript_loader_error){}try{Small.displayName="Small",Small.__docgenInfo={description:"",displayName:"Small",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/tooltip/Tooltip.stories.tsx#Small"]={docgenInfo:Small.__docgenInfo,name:"Small",path:"src/components/tooltip/Tooltip.stories.tsx#Small"})}catch(__react_docgen_typescript_loader_error){}try{WithBoxShadow.displayName="WithBoxShadow",WithBoxShadow.__docgenInfo={description:"",displayName:"WithBoxShadow",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/tooltip/Tooltip.stories.tsx#WithBoxShadow"]={docgenInfo:WithBoxShadow.__docgenInfo,name:"WithBoxShadow",path:"src/components/tooltip/Tooltip.stories.tsx#WithBoxShadow"})}catch(__react_docgen_typescript_loader_error){}},"./src/examples/forms/validation.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Dynamic:()=>_validationDynamic_stories__WEBPACK_IMPORTED_MODULE_0__.Dynamic,Hybrid:()=>_validationHybrid_stories__WEBPACK_IMPORTED_MODULE_2__.Hybrid,Static:()=>_validationStatic_stories__WEBPACK_IMPORTED_MODULE_1__.Static,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _validationDynamic_stories__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./src/examples/forms/validationDynamic.stories.tsx"),_validationStatic_stories__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/examples/forms/validationStatic.stories.tsx"),_validationHybrid_stories__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/examples/forms/validationHybrid.stories.tsx");const __WEBPACK_DEFAULT_EXPORT__={title:"Patterns/Form validation",parameters:{controls:{hideNoControlsWarning:!0}}}},"./src/examples/forms/validationDynamic.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Dynamic:()=>Dynamic});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/react/index.js"),react_hook_form__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("../../node_modules/react-hook-form/dist/index.esm.mjs"),_hookform_resolvers_yup__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("../../node_modules/@hookform/resolvers/yup/dist/yup.mjs"),_validationUtils__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/examples/forms/validationUtils.ts"),_validationSchema__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./src/examples/forms/validationSchema.ts"),_components__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./src/components/textInput/TextInput.tsx"),_components__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("./src/components/dropdown/combobox/Combobox.tsx"),_components__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("./src/components/phoneInput/PhoneInput.tsx"),_components__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("./src/components/selectionGroup/SelectionGroup.tsx"),_components__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("./src/components/radioButton/RadioButton.tsx"),_components__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("./src/components/dateInput/DateInput.tsx"),_components__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__("./src/components/textarea/TextArea.tsx"),_components__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__("./src/components/checkbox/Checkbox.tsx"),_components__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__("./src/components/button/Button.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=(__webpack_require__("./src/examples/forms/validation.scss"),__webpack_require__("../../node_modules/react/jsx-runtime.js")),cities=(0,_validationUtils__WEBPACK_IMPORTED_MODULE_3__.L)(),Dynamic=function Dynamic(){var _errors$firstName,_errors$firstName2,_errors$firstName3,_errors$lastName,_errors$lastName2,_errors$lastName3,_errors$city,_errors$city2,_errors$postalCode,_errors$postalCode2,_errors$postalCode3,_errors$email,_errors$email2,_errors$email3,_errors$phoneNumber,_errors$phoneNumber2,_errors$phoneNumber3,_errors$registerPlate,_errors$registerPlate2,_errors$registerPlate3,_errors$brand,_errors$brand2,_errors$brand3,_errors$model,_errors$model2,_errors$model3,_errors$permitEndDate,_errors$permitEndDate2,_errors$permitEndDate3,_errors$acceptTerms,_errors$acceptTerms2,_useForm=(0,react_hook_form__WEBPACK_IMPORTED_MODULE_4__.cI)({mode:"onTouched",defaultValues:_validationSchema__WEBPACK_IMPORTED_MODULE_5__.P,resolver:(0,_hookform_resolvers_yup__WEBPACK_IMPORTED_MODULE_6__.X)(_validationSchema__WEBPACK_IMPORTED_MODULE_5__.p)}),getValues=_useForm.getValues,handleSubmit=_useForm.handleSubmit,register=_useForm.register,reset=_useForm.reset,setValue=_useForm.setValue,trigger=_useForm.trigger,errors=_useForm.formState.errors,handleChange=function handleChange(fieldName,value){getValues(fieldName)!==value&&setValue(fieldName,value,{shouldTouch:!0,shouldValidate:!0})},getSuccessMessage=function getSuccessMessage(fieldName){if("registerPlate"===fieldName)return getValues("registerPlate")&&void 0===(null==errors?void 0:errors.registerPlate)?"Register plate number is valid":void 0};return react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){var invalidFields=Object.keys(errors);if(null!=errors&&errors.city&&"city"===invalidFields[0]){var element=document.getElementById("city-toggle-button");element&&setTimeout((function(){element.focus()}),10)}if(null!=errors&&errors.permitEndDate&&"permitEndDate"===invalidFields[0]){var _element=document.getElementById("permitEndDate");_element&&setTimeout((function(){_element.focus()}),10)}}),[errors]),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div",{className:"hds-example-form",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("h1",{className:"hds-example-form__main-title",children:"Dynamic form validation example"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("form",{onSubmit:handleSubmit((function onSubmitHandler(data){console.log({data}),reset()})),noValidate:!0,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("h2",{className:"hds-example-form__title",children:"Residental parking permit application"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__required-info",children:"All fields marked with * are required"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div",{className:"hds-example-form__section",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("h3",{className:"hds-example-form__section-title",children:"Contact information"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div",{className:"hds-example-form__grid-6-6",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_7__.o,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({},register("firstName")),{},{id:"firstName",name:"firstName",label:"First name",invalid:!(null===(_errors$firstName=errors.firstName)||void 0===_errors$firstName||!_errors$firstName.message),"aria-invalid":!(null===(_errors$firstName2=errors.firstName)||void 0===_errors$firstName2||!_errors$firstName2.message),errorText:null===(_errors$firstName3=errors.firstName)||void 0===_errors$firstName3?void 0:_errors$firstName3.message,autoComplete:"given-name",required:!0}))}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_7__.o,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({},register("lastName")),{},{id:"lastName",name:"lastName",label:"Last name",invalid:!(null===(_errors$lastName=errors.lastName)||void 0===_errors$lastName||!_errors$lastName.message),"aria-invalid":!(null===(_errors$lastName2=errors.lastName)||void 0===_errors$lastName2||!_errors$lastName2.message),errorText:null===(_errors$lastName3=errors.lastName)||void 0===_errors$lastName3?void 0:_errors$lastName3.message,autoComplete:"family-name",required:!0}))})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div",{className:"hds-example-form__grid-8-4",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_9__.h,{id:"city",label:"City",optionLabelField:"label",options:cities,onChange:function onChange(selected){handleChange("city",selected?selected.label:"")},defaultValue:{label:getValues("city")},toggleButtonAriaLabel:"Toggle",invalid:!(null===(_errors$city=errors.city)||void 0===_errors$city||!_errors$city.message),error:null===(_errors$city2=errors.city)||void 0===_errors$city2?void 0:_errors$city2.message,required:!0,onBlur:function onBlur(){trigger("city")}})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_7__.o,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({},register("postalCode")),{},{id:"postalCode",name:"postalCode",label:"Postal code",invalid:!(null===(_errors$postalCode=errors.postalCode)||void 0===_errors$postalCode||!_errors$postalCode.message),"aria-invalid":!(null===(_errors$postalCode2=errors.postalCode)||void 0===_errors$postalCode2||!_errors$postalCode2.message),errorText:null===(_errors$postalCode3=errors.postalCode)||void 0===_errors$postalCode3?void 0:_errors$postalCode3.message,autoComplete:"postal-code",required:!0}))})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_7__.o,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({},register("email")),{},{id:"email",name:"email",label:"Email address",invalid:!(null===(_errors$email=errors.email)||void 0===_errors$email||!_errors$email.message),"aria-invalid":!(null===(_errors$email2=errors.email)||void 0===_errors$email2||!_errors$email2.message),errorText:null===(_errors$email3=errors.email)||void 0===_errors$email3?void 0:_errors$email3.message,autoComplete:"email",required:!0,tooltipButtonLabel:"Tooltip: Email address",tooltipText:"We will send a confirmation to this email address. You may also receive important updates about your parking permit via email."}))}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__grid-6-6",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_10__.s,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({},register("phoneNumber")),{},{id:"phoneNumber",name:"phoneNumber",label:"Phone number",pattern:"[+][0-9]",helperText:"Use international mobile number format, e.g. +358401234567",invalid:!(null===(_errors$phoneNumber=errors.phoneNumber)||void 0===_errors$phoneNumber||!_errors$phoneNumber.message),"aria-invalid":!(null===(_errors$phoneNumber2=errors.phoneNumber)||void 0===_errors$phoneNumber2||!_errors$phoneNumber2.message),errorText:null===(_errors$phoneNumber3=errors.phoneNumber)||void 0===_errors$phoneNumber3?void 0:_errors$phoneNumber3.message,successText:getSuccessMessage("phoneNumber")}))})})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div",{className:"hds-example-form__section",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("h3",{className:"hds-example-form__section-title",children:"Vehicle information"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__grid-6-6",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_7__.o,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({},register("registerPlate")),{},{id:"registerPlate",name:"registerPlate",label:"Register plate number",placeholder:"E.g. ABC-123",helperText:"Use format XXX-NNN",invalid:!(null===(_errors$registerPlate=errors.registerPlate)||void 0===_errors$registerPlate||!_errors$registerPlate.message),"aria-invalid":!(null===(_errors$registerPlate2=errors.registerPlate)||void 0===_errors$registerPlate2||!_errors$registerPlate2.message),errorText:null===(_errors$registerPlate3=errors.registerPlate)||void 0===_errors$registerPlate3?void 0:_errors$registerPlate3.message,successText:getSuccessMessage("registerPlate"),required:!0,onBlur:function onBlur(){return trigger("registerPlate")}}))})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div",{className:"hds-example-form__grid-6-6",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_7__.o,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({},register("brand")),{},{id:"brand",name:"brand",label:"Vehicle brand",placeholder:"E.g. Skoda",invalid:!(null===(_errors$brand=errors.brand)||void 0===_errors$brand||!_errors$brand.message),"aria-invalid":!(null===(_errors$brand2=errors.brand)||void 0===_errors$brand2||!_errors$brand2.message),errorText:null===(_errors$brand3=errors.brand)||void 0===_errors$brand3?void 0:_errors$brand3.message,required:!0}))}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_7__.o,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({},register("model")),{},{id:"model",name:"model",label:"Vehicle model",placeholder:"E.g. Octavia",invalid:!(null===(_errors$model=errors.model)||void 0===_errors$model||!_errors$model.message),"aria-invalid":!(null===(_errors$model2=errors.model)||void 0===_errors$model2||!_errors$model2.message),errorText:null===(_errors$model3=errors.model)||void 0===_errors$model3?void 0:_errors$model3.message,required:!0}))})]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div",{className:"hds-example-form__section",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("h3",{className:"hds-example-form__section-title",children:"Parking information"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div",{className:"hds-example-form__grid-6-6",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(_components__WEBPACK_IMPORTED_MODULE_11__.M,{label:"Parking period",direction:"horizontal",required:!0,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_12__.E,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({},register("parkingPeriod")),{},{id:"parkingPeriodContinuous",name:"parkingPeriod",value:"continuous",label:"Continuous",checked:"continuous"===getValues("parkingPeriod"),onChange:function onChange(){handleChange("parkingPeriod","continuous"),handleChange("permitEndDate","")}})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_12__.E,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({},register("parkingPeriod")),{},{id:"parkingPeriodTemporary",name:"parkingPeriod",value:"temporary",label:"Temporary",checked:"temporary"===getValues("parkingPeriod"),onChange:function onChange(){return handleChange("parkingPeriod","temporary")}}))]})}),"temporary"===getValues("parkingPeriod")&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_13__.W,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({},register("permitEndDate")),{},{id:"permitEndDate",name:"permitEndDate",label:"Permit end date",helperText:"Use format DD.MM.YYYY",minDate:new Date,onChange:function onChange(e){handleChange("permitEndDate",e)},value:getValues("permitEndDate"),invalid:!(null===(_errors$permitEndDate=errors.permitEndDate)||void 0===_errors$permitEndDate||!_errors$permitEndDate.message),"aria-invalid":!(null===(_errors$permitEndDate2=errors.permitEndDate)||void 0===_errors$permitEndDate2||!_errors$permitEndDate2.message),errorText:null===(_errors$permitEndDate3=errors.permitEndDate)||void 0===_errors$permitEndDate3?void 0:_errors$permitEndDate3.message,required:!0,tooltipButtonLabel:"Tooltip: Permit end date",tooltipText:"This is the last date you need the permit to be active. The permit will expire at the inputted date at 23:59 o'clock."}))})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_14__.K,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({},register("additionalRequests")),{},{id:"additionalRequests",name:"additionalRequests",label:"Additional requests",placeholder:"E.g. Request for a parking space near a specific location",tooltipButtonLabel:"Tooltip: Additional requests",tooltipText:"Here you may leave extra requests regarding the parking space. For example, you may request space near a specific location. If you have a large vehicle, you may request a larger space."}))})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__section",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div",{className:"hds-example-form__item",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_15__.X,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({},register("acceptTerms")),{},{id:"acceptTerms",name:"acceptTerms",label:"I have read and I accept the terms and conditions",required:!0,"aria-invalid":!(null===(_errors$acceptTerms=errors.acceptTerms)||void 0===_errors$acceptTerms||!_errors$acceptTerms.message),errorText:null===(_errors$acceptTerms2=errors.acceptTerms)||void 0===_errors$acceptTerms2?void 0:_errors$acceptTerms2.message,checked:getValues("acceptTerms"),onChange:function onChange(e){handleChange("acceptTerms",e.target.checked)}})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__terms",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("span",{children:"Read the terms of service"})})]})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_16__.z,{type:"submit",children:"Submit"})})]})]})};Dynamic.parameters={loki:{skip:!0}},Dynamic.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_8__.Z)({storySource:{source:'() => {\n const {\n getValues,\n handleSubmit,\n register,\n reset,\n setValue,\n trigger,\n formState: { errors },\n } = useForm({\n mode: \'onTouched\',\n defaultValues,\n resolver: yupResolver(validationSchema),\n });\n\n const handleChange = (fieldName: FieldName, value) => {\n if (getValues(fieldName) !== value) {\n setValue(fieldName, value, { shouldTouch: true, shouldValidate: true });\n }\n };\n\n /**\n * Get the success message for a single field\n */\n const getSuccessMessage = (fieldName: FieldName) => {\n if (fieldName === \'registerPlate\') {\n return getValues(\'registerPlate\') && errors?.registerPlate === undefined\n ? \'Register plate number is valid\'\n : undefined;\n }\n return undefined;\n };\n\n /**\n * Handle form submit\n */\n const onSubmitHandler = (data) => {\n console.log({ data });\n reset();\n };\n\n React.useEffect(() => {\n const invalidFields = Object.keys(errors);\n // check for city and if it\'s the 1st -> focus\n if (errors?.city && invalidFields[0] === \'city\') {\n const element = document.getElementById(\'city-toggle-button\');\n if (element) {\n setTimeout(() => {\n element.focus();\n }, 10);\n }\n }\n if (errors?.permitEndDate && invalidFields[0] === \'permitEndDate\') {\n const element = document.getElementById(\'permitEndDate\');\n if (element) {\n setTimeout(() => {\n element.focus();\n }, 10);\n }\n }\n }, [errors]);\n\n return (\n \n
Dynamic form validation example \n
\n
\n );\n}'}},Dynamic.parameters)},"./src/examples/forms/validationHybrid.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Hybrid:()=>Hybrid});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/react/index.js"),react_hook_form__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("../../node_modules/react-hook-form/dist/index.esm.mjs"),_hookform_resolvers_yup__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("../../node_modules/@hookform/resolvers/yup/dist/yup.mjs"),_validationUtils__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/examples/forms/validationUtils.ts"),_validationSchema__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./src/examples/forms/validationSchema.ts"),_components__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./src/components/errorSummary/ErrorSummary.tsx"),_components__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("./src/components/textInput/TextInput.tsx"),_components__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("./src/components/dropdown/combobox/Combobox.tsx"),_components__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("./src/components/phoneInput/PhoneInput.tsx"),_components__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("./src/components/selectionGroup/SelectionGroup.tsx"),_components__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__("./src/components/radioButton/RadioButton.tsx"),_components__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__("./src/components/dateInput/DateInput.tsx"),_components__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__("./src/components/textarea/TextArea.tsx"),_components__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__("./src/components/checkbox/Checkbox.tsx"),_components__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__("./src/components/button/Button.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=(__webpack_require__("./src/examples/forms/validation.scss"),__webpack_require__("../../node_modules/react/jsx-runtime.js")),cities=(0,_validationUtils__WEBPACK_IMPORTED_MODULE_3__.L)(),Hybrid=function Hybrid(){var _errors$firstName,_errors$firstName2,_errors$firstName3,_errors$lastName,_errors$lastName2,_errors$lastName3,_errors$city,_errors$city2,_errors$postalCode,_errors$postalCode2,_errors$postalCode3,_errors$email,_errors$email2,_errors$email3,_errors$phoneNumber,_errors$phoneNumber2,_errors$phoneNumber3,_errors$registerPlate,_errors$registerPlate2,_errors$registerPlate3,_errors$brand,_errors$brand2,_errors$brand3,_errors$model,_errors$model2,_errors$model3,_errors$permitEndDate,_errors$permitEndDate2,_errors$permitEndDate3,_errors$acceptTerms,_errors$acceptTerms2,_useForm=(0,react_hook_form__WEBPACK_IMPORTED_MODULE_4__.cI)({mode:"onTouched",defaultValues:_validationSchema__WEBPACK_IMPORTED_MODULE_5__.P,resolver:(0,_hookform_resolvers_yup__WEBPACK_IMPORTED_MODULE_6__.X)(_validationSchema__WEBPACK_IMPORTED_MODULE_5__.p)}),getValues=_useForm.getValues,handleSubmit=_useForm.handleSubmit,register=_useForm.register,setError=_useForm.setError,setValue=_useForm.setValue,trigger=_useForm.trigger,errors=_useForm.formState.errors,_useState=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),_useState2=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_7__.Z)(_useState,2),hasBackendErrors=_useState2[0],setHasBackendErrors=_useState2[1],getSuccessMessage=function getSuccessMessage(fieldName){if("registerPlate"===fieldName)return getValues("registerPlate")&&void 0===(null==errors?void 0:errors.registerPlate)?"Register plate number is valid":void 0},handleChange=function handleChange(fieldName,value){getValues(fieldName)!==value&&setValue(fieldName,value,{shouldTouch:!0,shouldValidate:!0})};react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){var invalidFields=Object.keys(errors);if(null!=errors&&errors.city&&"city"===invalidFields[0]){var element=document.getElementById("city-toggle-button");element&&setTimeout((function(){element.focus()}),10)}if(null!=errors&&errors.permitEndDate&&"permitEndDate"===invalidFields[0]){var _element=document.getElementById("permitEndDate");_element&&setTimeout((function(){_element.focus()}),10)}}),[errors]);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div",{className:"hds-example-form",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("h1",{className:"hds-example-form__main-title",children:"Hybrid form validation example"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("form",{onSubmit:handleSubmit((function onSubmitHandler(data){Object.keys(errors).length>0?setHasBackendErrors(!1):(setHasBackendErrors(!0),function setBackendErrorMessage(fieldName,message){setError(fieldName,{type:"custom",message})}("registerPlate","Permit for this plate number already exists. Only one permit per vehicle is allowed.")),console.log({data})})),noValidate:!0,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("h2",{className:"hds-example-form__title",children:"Residental parking permit application"}),function renderErrorSummary(){return hasBackendErrors?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_8__.X,{label:"Form contains following errors",className:"hds-example-form__error-summary",autofocus:!0,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("ul",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("li",{children:["Error 1:"," ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("a",{href:"#registerPlate",children:"Permit for this plate number already exists. Only one permit per vehicle is allowed."})]})})}):null}(),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__required-info",children:"All fields marked with * are required"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div",{className:"hds-example-form__section",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("h3",{className:"hds-example-form__section-title",children:"Contact information"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div",{className:"hds-example-form__grid-6-6",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_9__.o,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_10__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_10__.Z)({},register("firstName")),{},{id:"firstName",name:"firstName",label:"First name",invalid:!(null===(_errors$firstName=errors.firstName)||void 0===_errors$firstName||!_errors$firstName.message),"aria-invalid":!(null===(_errors$firstName2=errors.firstName)||void 0===_errors$firstName2||!_errors$firstName2.message),errorText:null===(_errors$firstName3=errors.firstName)||void 0===_errors$firstName3?void 0:_errors$firstName3.message,autoComplete:"given-name",required:!0}))}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_9__.o,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_10__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_10__.Z)({},register("lastName")),{},{id:"lastName",name:"lastName",label:"Last name",invalid:!(null===(_errors$lastName=errors.lastName)||void 0===_errors$lastName||!_errors$lastName.message),"aria-invalid":!(null===(_errors$lastName2=errors.lastName)||void 0===_errors$lastName2||!_errors$lastName2.message),errorText:null===(_errors$lastName3=errors.lastName)||void 0===_errors$lastName3?void 0:_errors$lastName3.message,autoComplete:"family-name",required:!0}))})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div",{className:"hds-example-form__grid-8-4",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_11__.h,{id:"city",label:"City",optionLabelField:"label",options:cities,onChange:function onChange(selected){handleChange("city",selected?selected.label:"")},defaultValue:{label:getValues("city")},toggleButtonAriaLabel:"Toggle",invalid:!(null===(_errors$city=errors.city)||void 0===_errors$city||!_errors$city.message),error:null===(_errors$city2=errors.city)||void 0===_errors$city2?void 0:_errors$city2.message,required:!0,onBlur:function onBlur(){trigger("city")}})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_9__.o,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_10__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_10__.Z)({},register("postalCode")),{},{id:"postalCode",name:"postalCode",label:"Postal code",invalid:!(null===(_errors$postalCode=errors.postalCode)||void 0===_errors$postalCode||!_errors$postalCode.message),"aria-invalid":!(null===(_errors$postalCode2=errors.postalCode)||void 0===_errors$postalCode2||!_errors$postalCode2.message),errorText:null===(_errors$postalCode3=errors.postalCode)||void 0===_errors$postalCode3?void 0:_errors$postalCode3.message,autoComplete:"postal-code",required:!0}))})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_9__.o,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_10__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_10__.Z)({},register("email")),{},{id:"email",name:"email",label:"Email address",invalid:!(null===(_errors$email=errors.email)||void 0===_errors$email||!_errors$email.message),"aria-invalid":!(null===(_errors$email2=errors.email)||void 0===_errors$email2||!_errors$email2.message),errorText:null===(_errors$email3=errors.email)||void 0===_errors$email3?void 0:_errors$email3.message,autoComplete:"email",required:!0,tooltipButtonLabel:"Tooltip: Email address",tooltipText:"We will send a confirmation to this email address. You may also receive important updates about your parking permit via email."}))}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__grid-6-6",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_12__.s,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_10__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_10__.Z)({},register("phoneNumber")),{},{id:"phoneNumber",name:"phoneNumber",label:"Phone number",pattern:"[+][0-9]",helperText:"Use international mobile number format, e.g. +358401234567",invalid:!(null===(_errors$phoneNumber=errors.phoneNumber)||void 0===_errors$phoneNumber||!_errors$phoneNumber.message),"aria-invalid":!(null===(_errors$phoneNumber2=errors.phoneNumber)||void 0===_errors$phoneNumber2||!_errors$phoneNumber2.message),errorText:null===(_errors$phoneNumber3=errors.phoneNumber)||void 0===_errors$phoneNumber3?void 0:_errors$phoneNumber3.message,successText:getSuccessMessage("phoneNumber")}))})})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div",{className:"hds-example-form__section",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("h3",{className:"hds-example-form__section-title",children:"Vehicle information"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__grid-6-6",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_9__.o,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_10__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_10__.Z)({},register("registerPlate")),{},{id:"registerPlate",name:"registerPlate",label:"Register plate number",placeholder:"E.g. ABC-123",helperText:"Use format XXX-NNN",invalid:!(null===(_errors$registerPlate=errors.registerPlate)||void 0===_errors$registerPlate||!_errors$registerPlate.message),"aria-invalid":!(null===(_errors$registerPlate2=errors.registerPlate)||void 0===_errors$registerPlate2||!_errors$registerPlate2.message),errorText:null===(_errors$registerPlate3=errors.registerPlate)||void 0===_errors$registerPlate3?void 0:_errors$registerPlate3.message,successText:getSuccessMessage("registerPlate"),required:!0,onBlur:function onBlur(){return trigger("registerPlate")}}))})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div",{className:"hds-example-form__grid-6-6",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_9__.o,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_10__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_10__.Z)({},register("brand")),{},{id:"brand",name:"brand",label:"Vehicle brand",placeholder:"E.g. Skoda",invalid:!(null===(_errors$brand=errors.brand)||void 0===_errors$brand||!_errors$brand.message),"aria-invalid":!(null===(_errors$brand2=errors.brand)||void 0===_errors$brand2||!_errors$brand2.message),errorText:null===(_errors$brand3=errors.brand)||void 0===_errors$brand3?void 0:_errors$brand3.message,required:!0}))}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_9__.o,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_10__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_10__.Z)({},register("model")),{},{id:"model",name:"model",label:"Vehicle model",placeholder:"E.g. Octavia",invalid:!(null===(_errors$model=errors.model)||void 0===_errors$model||!_errors$model.message),"aria-invalid":!(null===(_errors$model2=errors.model)||void 0===_errors$model2||!_errors$model2.message),errorText:null===(_errors$model3=errors.model)||void 0===_errors$model3?void 0:_errors$model3.message,required:!0}))})]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div",{className:"hds-example-form__section",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("h3",{className:"hds-example-form__section-title",children:"Parking information"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div",{className:"hds-example-form__grid-6-6",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(_components__WEBPACK_IMPORTED_MODULE_13__.M,{label:"Parking period",direction:"horizontal",required:!0,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_14__.E,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_10__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_10__.Z)({},register("parkingPeriod")),{},{id:"parkingPeriodContinuous",name:"parkingPeriod",value:"continuous",label:"Continuous",checked:"continuous"===getValues("parkingPeriod"),onChange:function onChange(){handleChange("parkingPeriod","continuous"),handleChange("permitEndDate","")}})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_14__.E,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_10__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_10__.Z)({},register("parkingPeriod")),{},{id:"parkingPeriodTemporary",name:"parkingPeriod",value:"temporary",label:"Temporary",checked:"temporary"===getValues("parkingPeriod"),onChange:function onChange(){return handleChange("parkingPeriod","temporary")}}))]})}),"temporary"===getValues("parkingPeriod")&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_15__.W,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_10__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_10__.Z)({},register("permitEndDate")),{},{id:"permitEndDate",name:"permitEndDate",label:"Permit end date",helperText:"Use format DD.MM.YYYY",minDate:new Date,onChange:function onChange(e){handleChange("permitEndDate",e)},value:getValues("permitEndDate"),invalid:!(null===(_errors$permitEndDate=errors.permitEndDate)||void 0===_errors$permitEndDate||!_errors$permitEndDate.message),"aria-invalid":!(null===(_errors$permitEndDate2=errors.permitEndDate)||void 0===_errors$permitEndDate2||!_errors$permitEndDate2.message),errorText:null===(_errors$permitEndDate3=errors.permitEndDate)||void 0===_errors$permitEndDate3?void 0:_errors$permitEndDate3.message,required:!0,tooltipButtonLabel:"Tooltip: Permit end date",tooltipText:"This is the last date you need the permit to be active. The permit will expire at the inputted date at 23:59 o'clock."}))})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_16__.K,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_10__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_10__.Z)({},register("additionalRequests")),{},{id:"additionalRequests",name:"additionalRequests",label:"Additional requests",placeholder:"E.g. Request for a parking space near a specific location",tooltipButtonLabel:"Tooltip: Additional requests",tooltipText:"Here you may leave extra requests regarding the parking space. For example, you may request space near a specific location. If you have a large vehicle, you may request a larger space."}))})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__section",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div",{className:"hds-example-form__item",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_17__.X,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_10__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_10__.Z)({},register("acceptTerms")),{},{id:"acceptTerms",name:"acceptTerms",label:"I have read and I accept the terms and conditions",required:!0,"aria-invalid":!(null===(_errors$acceptTerms=errors.acceptTerms)||void 0===_errors$acceptTerms||!_errors$acceptTerms.message),errorText:null===(_errors$acceptTerms2=errors.acceptTerms)||void 0===_errors$acceptTerms2?void 0:_errors$acceptTerms2.message,checked:getValues("acceptTerms"),onChange:function onChange(e){handleChange("acceptTerms",e.target.checked)}})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__terms",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("span",{children:"Read the terms of service"})})]})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_18__.z,{type:"submit",children:"Submit"})})]})]})};Hybrid.parameters={loki:{skip:!0}},Hybrid.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_10__.Z)({storySource:{source:'() => {\n const {\n getValues,\n handleSubmit,\n register,\n setError,\n setValue,\n trigger,\n formState: { errors },\n } = useForm({\n mode: \'onTouched\',\n defaultValues,\n resolver: yupResolver(validationSchema),\n });\n\n const [hasBackendErrors, setHasBackendErrors] = useState(false);\n\n /**\n * Set a simulated error message received from the backend\n */\n const setBackendErrorMessage = (fieldName: FieldName, message: string) => {\n setError(fieldName, {\n type: \'custom\',\n message,\n });\n };\n\n /**\n * Get the success message for a single field\n */\n const getSuccessMessage = (fieldName: FieldName) => {\n if (fieldName === \'registerPlate\') {\n return getValues(\'registerPlate\') && errors?.registerPlate === undefined\n ? \'Register plate number is valid\'\n : undefined;\n }\n return undefined;\n };\n\n /**\n * Handle form submit\n */\n const onSubmitHandler = (data) => {\n if (Object.keys(errors).length > 0) {\n setHasBackendErrors(false);\n } else {\n setHasBackendErrors(true);\n setBackendErrorMessage(\n \'registerPlate\',\n \'Permit for this plate number already exists. Only one permit per vehicle is allowed.\',\n );\n }\n console.log({ data });\n };\n\n const handleChange = (fieldName: FieldName, value) => {\n if (getValues(fieldName) !== value) {\n setValue(fieldName, value, { shouldTouch: true, shouldValidate: true });\n }\n };\n\n React.useEffect(() => {\n const invalidFields = Object.keys(errors);\n // check for city and if it\'s the 1st -> focus\n if (errors?.city && invalidFields[0] === \'city\') {\n const element = document.getElementById(\'city-toggle-button\');\n if (element) {\n setTimeout(() => {\n element.focus();\n }, 10);\n }\n }\n if (errors?.permitEndDate && invalidFields[0] === \'permitEndDate\') {\n const element = document.getElementById(\'permitEndDate\');\n if (element) {\n setTimeout(() => {\n element.focus();\n }, 10);\n }\n }\n }, [errors]);\n\n /**\n * Render the error summary section for backend validation errors\n */\n const renderErrorSummary = () =>\n hasBackendErrors ? (\n \n \n \n ) : null;\n\n return (\n \n
Hybrid form validation example \n
\n Residental parking permit application \n {renderErrorSummary()}\n All fields marked with * are required
\n \n
Contact information \n
\n
\n
\n \n id="city"\n label="City"\n optionLabelField="label"\n options={cities}\n onChange={(selected: CityOptionType) => {\n handleChange(\'city\', selected ? selected.label : \'\');\n }}\n defaultValue={{ label: getValues(\'city\') }}\n toggleButtonAriaLabel="Toggle"\n invalid={!!errors.city?.message}\n error={errors.city?.message}\n required\n onBlur={() => {\n trigger(\'city\');\n }}\n />\n
\n
\n \n
\n
\n
\n \n
\n
\n
\n \n
Vehicle information \n
\n
\n trigger(\'registerPlate\')}\n />\n
\n
\n
\n
\n \n
Parking information \n
\n
\n \n {\n handleChange(\'parkingPeriod\', \'continuous\');\n handleChange(\'permitEndDate\', \'\');\n }}\n />\n handleChange(\'parkingPeriod\', \'temporary\')}\n />\n \n
\n {getValues(\'parkingPeriod\') === \'temporary\' && (\n
\n {\n handleChange(\'permitEndDate\', e);\n }}\n value={getValues(\'permitEndDate\')}\n invalid={!!errors.permitEndDate?.message}\n aria-invalid={!!errors.permitEndDate?.message}\n errorText={errors.permitEndDate?.message}\n required\n tooltipButtonLabel="Tooltip: Permit end date"\n tooltipText="This is the last date you need the permit to be active. The permit will expire at the inputted date at 23:59 o\'clock."\n />\n
\n )}\n
\n
\n \n
\n
\n \n
\n
{\n handleChange(\'acceptTerms\', e.target.checked);\n }}\n />\n \n Read the terms of service \n
\n \n
\n \n Submit \n
\n \n
\n );\n}'}},Hybrid.parameters)},"./src/examples/forms/validationStatic.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Static:()=>Static});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),react_hook_form__WEBPACK_IMPORTED_MODULE_4__=(__webpack_require__("../../node_modules/react/index.js"),__webpack_require__("../../node_modules/react-hook-form/dist/index.esm.mjs")),_hookform_resolvers_yup__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("../../node_modules/@hookform/resolvers/yup/dist/yup.mjs"),_validationUtils__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/examples/forms/validationUtils.ts"),_validationSchema__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./src/examples/forms/validationSchema.ts"),_components__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./src/components/errorSummary/ErrorSummary.tsx"),_components__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./src/components/textInput/TextInput.tsx"),_components__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("./src/components/dropdown/combobox/Combobox.tsx"),_components__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("./src/components/phoneInput/PhoneInput.tsx"),_components__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("./src/components/selectionGroup/SelectionGroup.tsx"),_components__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("./src/components/radioButton/RadioButton.tsx"),_components__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__("./src/components/dateInput/DateInput.tsx"),_components__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__("./src/components/textarea/TextArea.tsx"),_components__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__("./src/components/checkbox/Checkbox.tsx"),_components__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__("./src/components/button/Button.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=(__webpack_require__("./src/examples/forms/validation.scss"),__webpack_require__("../../node_modules/react/jsx-runtime.js")),cities=(0,_validationUtils__WEBPACK_IMPORTED_MODULE_3__.L)(),Static=function Static(){var _errors$firstName,_errors$firstName2,_errors$firstName3,_errors$lastName,_errors$lastName2,_errors$lastName3,_errors$city,_errors$city2,_errors$postalCode,_errors$postalCode2,_errors$postalCode3,_errors$email,_errors$email2,_errors$email3,_errors$phoneNumber,_errors$phoneNumber2,_errors$phoneNumber3,_errors$registerPlate,_errors$registerPlate2,_errors$registerPlate3,_errors$brand,_errors$brand2,_errors$brand3,_errors$model,_errors$model2,_errors$model3,_errors$permitEndDate,_errors$permitEndDate2,_errors$permitEndDate3,_errors$acceptTerms,_errors$acceptTerms2,_useForm=(0,react_hook_form__WEBPACK_IMPORTED_MODULE_4__.cI)({mode:"onSubmit",defaultValues:_validationSchema__WEBPACK_IMPORTED_MODULE_5__.P,shouldFocusError:!1,resolver:(0,_hookform_resolvers_yup__WEBPACK_IMPORTED_MODULE_6__.X)(_validationSchema__WEBPACK_IMPORTED_MODULE_5__.p)}),getValues=_useForm.getValues,handleSubmit=_useForm.handleSubmit,register=_useForm.register,reset=_useForm.reset,setValue=_useForm.setValue,watch=_useForm.watch,errors=_useForm.formState.errors,handleChange=function handleChange(fieldName,value){setValue(fieldName,value)},getSuccessMessage=function getSuccessMessage(fieldName){if("registerPlate"===fieldName)return getValues("registerPlate")&&void 0===(null==errors?void 0:errors.registerPlate)?"Register plate number is valid":void 0},getFocusableFieldId=function getFocusableFieldId(fieldName){return"city"===fieldName?"".concat(fieldName,"-toggle-button"):fieldName};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div",{className:"hds-example-form",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("h1",{className:"hds-example-form__main-title",children:"Static form validation example"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("form",{onSubmit:handleSubmit((function onSubmitHandler(data){console.log({data}),reset()})),noValidate:!0,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("h2",{className:"hds-example-form__title",children:"Residental parking permit application"}),function renderErrorSummary(){return Object.keys(errors).length>0?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_7__.X,{label:"Form contains following errors",className:"hds-example-form__error-summary",autofocus:!0,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("ul",{children:Object.keys(errors).map((function(errorKey,index){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("li",{children:["Error ",index+1,":"," ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("a",{href:"#".concat(getFocusableFieldId(errorKey)),children:errors[errorKey].message})]},"error-".concat(errorKey))}))})}):null}(),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__required-info",children:"All fields marked with * are required"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div",{className:"hds-example-form__section",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("h3",{className:"hds-example-form__section-title",children:"Contact information"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div",{className:"hds-example-form__grid-6-6",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_8__.o,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)({},register("firstName")),{},{onChange:function onChange(e){handleChange("firstName",e.currentTarget.value)},id:"firstName",name:"firstName",label:"First name",invalid:!(null===(_errors$firstName=errors.firstName)||void 0===_errors$firstName||!_errors$firstName.message),"aria-invalid":!(null===(_errors$firstName2=errors.firstName)||void 0===_errors$firstName2||!_errors$firstName2.message),errorText:null===(_errors$firstName3=errors.firstName)||void 0===_errors$firstName3?void 0:_errors$firstName3.message,autoComplete:"given-name",required:!0}))}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_8__.o,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)({},register("lastName")),{},{onChange:function onChange(e){handleChange("lastName",e.currentTarget.value)},id:"lastName",name:"lastName",label:"Last name",invalid:!(null===(_errors$lastName=errors.lastName)||void 0===_errors$lastName||!_errors$lastName.message),"aria-invalid":!(null===(_errors$lastName2=errors.lastName)||void 0===_errors$lastName2||!_errors$lastName2.message),errorText:null===(_errors$lastName3=errors.lastName)||void 0===_errors$lastName3?void 0:_errors$lastName3.message,autoComplete:"family-name",required:!0}))})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div",{className:"hds-example-form__grid-8-4",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_10__.h,{id:"city",label:"City",optionLabelField:"label",options:cities,onChange:function onChange(selected){handleChange("city",selected?selected.label:"")},toggleButtonAriaLabel:"Toggle",invalid:!(null===(_errors$city=errors.city)||void 0===_errors$city||!_errors$city.message),error:null===(_errors$city2=errors.city)||void 0===_errors$city2?void 0:_errors$city2.message,required:!0})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_8__.o,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)({},register("postalCode")),{},{onChange:function onChange(e){handleChange("postalCode",e.currentTarget.value)},id:"postalCode",name:"postalCode",label:"Postal code",invalid:!(null===(_errors$postalCode=errors.postalCode)||void 0===_errors$postalCode||!_errors$postalCode.message),"aria-invalid":!(null===(_errors$postalCode2=errors.postalCode)||void 0===_errors$postalCode2||!_errors$postalCode2.message),errorText:null===(_errors$postalCode3=errors.postalCode)||void 0===_errors$postalCode3?void 0:_errors$postalCode3.message,autoComplete:"postal-code",required:!0}))})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_8__.o,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)({},register("email")),{},{onChange:function onChange(e){handleChange("email",e.currentTarget.value)},id:"email",name:"email",label:"Email address",invalid:!(null===(_errors$email=errors.email)||void 0===_errors$email||!_errors$email.message),"aria-invalid":!(null===(_errors$email2=errors.email)||void 0===_errors$email2||!_errors$email2.message),errorText:null===(_errors$email3=errors.email)||void 0===_errors$email3?void 0:_errors$email3.message,autoComplete:"email",required:!0,tooltipButtonLabel:"Tooltip: Email address",tooltipText:"We will send a confirmation to this email address. You may also receive important updates about your parking permit via email."}))}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__grid-6-6",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_11__.s,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)({},register("phoneNumber")),{},{onChange:function onChange(e){handleChange("phoneNumber",e.currentTarget.value)},id:"phoneNumber",name:"phoneNumber",label:"Phone number",pattern:"[+][0-9]",helperText:"Use international mobile number format, e.g. +358401234567",invalid:!(null===(_errors$phoneNumber=errors.phoneNumber)||void 0===_errors$phoneNumber||!_errors$phoneNumber.message),"aria-invalid":!(null===(_errors$phoneNumber2=errors.phoneNumber)||void 0===_errors$phoneNumber2||!_errors$phoneNumber2.message),errorText:null===(_errors$phoneNumber3=errors.phoneNumber)||void 0===_errors$phoneNumber3?void 0:_errors$phoneNumber3.message,successText:getSuccessMessage("phoneNumber")}))})})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div",{className:"hds-example-form__section",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("h3",{className:"hds-example-form__section-title",children:"Vehicle information"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__grid-6-6",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_8__.o,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)({},register("registerPlate")),{},{onChange:function onChange(e){handleChange("registerPlate",e.currentTarget.value)},id:"registerPlate",name:"registerPlate",label:"Register plate number",placeholder:"E.g. ABC-123",helperText:"Use format XXX-NNN",invalid:!(null===(_errors$registerPlate=errors.registerPlate)||void 0===_errors$registerPlate||!_errors$registerPlate.message),"aria-invalid":!(null===(_errors$registerPlate2=errors.registerPlate)||void 0===_errors$registerPlate2||!_errors$registerPlate2.message),errorText:null===(_errors$registerPlate3=errors.registerPlate)||void 0===_errors$registerPlate3?void 0:_errors$registerPlate3.message,successText:getSuccessMessage("registerPlate"),required:!0}))})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div",{className:"hds-example-form__grid-6-6",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_8__.o,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)({},register("brand")),{},{onChange:function onChange(e){handleChange("brand",e.currentTarget.value)},id:"brand",name:"brand",label:"Vehicle brand",placeholder:"E.g. Skoda",invalid:!(null===(_errors$brand=errors.brand)||void 0===_errors$brand||!_errors$brand.message),"aria-invalid":!(null===(_errors$brand2=errors.brand)||void 0===_errors$brand2||!_errors$brand2.message),errorText:null===(_errors$brand3=errors.brand)||void 0===_errors$brand3?void 0:_errors$brand3.message,required:!0}))}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_8__.o,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)({},register("model")),{},{onChange:function onChange(e){handleChange("model",e.currentTarget.value)},id:"model",name:"model",label:"Vehicle model",placeholder:"E.g. Octavia",invalid:!(null===(_errors$model=errors.model)||void 0===_errors$model||!_errors$model.message),"aria-invalid":!(null===(_errors$model2=errors.model)||void 0===_errors$model2||!_errors$model2.message),errorText:null===(_errors$model3=errors.model)||void 0===_errors$model3?void 0:_errors$model3.message,required:!0}))})]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div",{className:"hds-example-form__section",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("h3",{className:"hds-example-form__section-title",children:"Parking information"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div",{className:"hds-example-form__grid-6-6",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(_components__WEBPACK_IMPORTED_MODULE_12__.M,{label:"Parking period",direction:"horizontal",required:!0,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_13__.E,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)({},register("parkingPeriod")),{},{id:"parkingPeriodContinuous",name:"parkingPeriod",value:"continuous",label:"Continuous",checked:"continuous"===watch("parkingPeriod"),onChange:function onChange(){handleChange("parkingPeriod","continuous"),setValue("permitEndDate","")}})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_13__.E,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)({},register("parkingPeriod")),{},{id:"parkingPeriodTemporary",name:"parkingPeriod",value:"temporary",label:"Temporary",checked:"temporary"===watch("parkingPeriod"),onChange:function onChange(){return handleChange("parkingPeriod","temporary")}}))]})}),"temporary"===getValues("parkingPeriod")&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_14__.W,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)({},register("permitEndDate")),{},{id:"permitEndDate",name:"permitEndDate",label:"Permit end date",helperText:"Use format DD.MM.YYYY",minDate:new Date,onChange:function onChange(e){handleChange("permitEndDate",e)},value:getValues("permitEndDate"),invalid:!(null===(_errors$permitEndDate=errors.permitEndDate)||void 0===_errors$permitEndDate||!_errors$permitEndDate.message),"aria-invalid":!(null===(_errors$permitEndDate2=errors.permitEndDate)||void 0===_errors$permitEndDate2||!_errors$permitEndDate2.message),errorText:null===(_errors$permitEndDate3=errors.permitEndDate)||void 0===_errors$permitEndDate3?void 0:_errors$permitEndDate3.message,required:!0,tooltipButtonLabel:"Tooltip: Permit end date",tooltipText:"This is the last date you need the permit to be active. The permit will expire at the inputted date at 23:59 o'clock."}))})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_15__.K,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)({},register("additionalRequests")),{},{onChange:function onChange(e){handleChange("additionalRequests",e.currentTarget.value)},id:"additionalRequests",name:"additionalRequests",label:"Additional requests",placeholder:"E.g. Request for a parking space near a specific location",tooltipButtonLabel:"Tooltip: Additional requests",tooltipText:"Here you may leave extra requests regarding the parking space. For example, you may request space near a specific location. If you have a large vehicle, you may request a larger space."}))})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__section",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)("div",{className:"hds-example-form__item",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_16__.X,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)({},register("acceptTerms")),{},{id:"acceptTerms",name:"acceptTerms",label:"I have read and I accept the terms and conditions",required:!0,"aria-invalid":!(null===(_errors$acceptTerms=errors.acceptTerms)||void 0===_errors$acceptTerms||!_errors$acceptTerms.message),errorText:null===(_errors$acceptTerms2=errors.acceptTerms)||void 0===_errors$acceptTerms2?void 0:_errors$acceptTerms2.message,checked:watch("acceptTerms"),onChange:function onChange(e){handleChange("acceptTerms",e.target.checked)}})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__terms",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("span",{children:"Read the terms of service"})})]})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"hds-example-form__item",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components__WEBPACK_IMPORTED_MODULE_17__.z,{type:"submit",children:"Submit"})})]})]})};Static.parameters={loki:{skip:!0}},Static.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)({storySource:{source:'() => {\n const {\n getValues,\n handleSubmit,\n register,\n reset,\n setValue,\n watch,\n formState: { errors },\n } = useForm({\n mode: \'onSubmit\',\n defaultValues,\n shouldFocusError: false,\n resolver: yupResolver(validationSchema),\n });\n\n const handleChange = (fieldName: FieldName, value) => {\n setValue(fieldName, value);\n };\n\n /**\n * Get the success message for a single field\n */\n const getSuccessMessage = (fieldName: FieldName) => {\n if (fieldName === \'registerPlate\') {\n return getValues(\'registerPlate\') && errors?.registerPlate === undefined\n ? \'Register plate number is valid\'\n : undefined;\n }\n return undefined;\n };\n\n /**\n * Get the focusable field id\n */\n const getFocusableFieldId = (fieldName: FieldName): string => {\n // For the city select element, focus the toggle button\n if (fieldName === \'city\') {\n return `${fieldName}-toggle-button`;\n }\n return fieldName;\n };\n\n /**\n * Handle form submit\n */\n const onSubmitHandler = (data) => {\n console.log({ data });\n reset();\n };\n\n /**\n * Render the error summary section\n */\n const renderErrorSummary = () =>\n Object.keys(errors).length > 0 ? (\n \n \n \n ) : null;\n\n return (\n \n
Static form validation example \n
\n Residental parking permit application \n {renderErrorSummary()}\n All fields marked with * are required
\n \n
Contact information \n
\n
\n {\n handleChange(\'firstName\', e.currentTarget.value);\n }}\n id="firstName"\n name="firstName"\n label="First name"\n invalid={!!errors.firstName?.message}\n aria-invalid={!!errors.firstName?.message}\n errorText={errors.firstName?.message}\n autoComplete="given-name"\n required\n />\n
\n
\n {\n handleChange(\'lastName\', e.currentTarget.value);\n }}\n id="lastName"\n name="lastName"\n label="Last name"\n invalid={!!errors.lastName?.message}\n aria-invalid={!!errors.lastName?.message}\n errorText={errors.lastName?.message}\n autoComplete="family-name"\n required\n />\n
\n
\n
\n
\n \n id="city"\n label="City"\n optionLabelField="label"\n options={cities}\n onChange={(selected: CityOptionType) => {\n handleChange(\'city\', selected ? selected.label : \'\');\n }}\n toggleButtonAriaLabel="Toggle"\n invalid={!!errors.city?.message}\n error={errors.city?.message}\n required\n />\n
\n
\n {\n handleChange(\'postalCode\', e.currentTarget.value);\n }}\n id="postalCode"\n name="postalCode"\n label="Postal code"\n invalid={!!errors.postalCode?.message}\n aria-invalid={!!errors.postalCode?.message}\n errorText={errors.postalCode?.message}\n autoComplete="postal-code"\n required\n />\n
\n
\n
\n {\n handleChange(\'email\', e.currentTarget.value);\n }}\n id="email"\n name="email"\n label="Email address"\n invalid={!!errors.email?.message}\n aria-invalid={!!errors.email?.message}\n errorText={errors.email?.message}\n autoComplete="email"\n required\n tooltipButtonLabel="Tooltip: Email address"\n tooltipText="We will send a confirmation to this email address. You may also receive important updates about your parking permit via email."\n />\n
\n
\n
\n
{\n handleChange(\'phoneNumber\', e.currentTarget.value);\n }}\n id="phoneNumber"\n name="phoneNumber"\n label="Phone number"\n pattern="[+][0-9]"\n helperText="Use international mobile number format, e.g. +358401234567"\n invalid={!!errors.phoneNumber?.message}\n aria-invalid={!!errors.phoneNumber?.message}\n errorText={errors.phoneNumber?.message}\n successText={getSuccessMessage(\'phoneNumber\')}\n />\n \n
\n
\n \n
Vehicle information \n
\n
\n {\n handleChange(\'registerPlate\', e.currentTarget.value);\n }}\n id="registerPlate"\n name="registerPlate"\n label="Register plate number"\n placeholder="E.g. ABC-123"\n helperText="Use format XXX-NNN"\n invalid={!!errors.registerPlate?.message}\n aria-invalid={!!errors.registerPlate?.message}\n errorText={errors.registerPlate?.message}\n successText={getSuccessMessage(\'registerPlate\')}\n required\n />\n
\n
\n
\n
\n {\n handleChange(\'brand\', e.currentTarget.value);\n }}\n id="brand"\n name="brand"\n label="Vehicle brand"\n placeholder="E.g. Skoda"\n invalid={!!errors.brand?.message}\n aria-invalid={!!errors.brand?.message}\n errorText={errors.brand?.message}\n required\n />\n
\n
\n {\n handleChange(\'model\', e.currentTarget.value);\n }}\n id="model"\n name="model"\n label="Vehicle model"\n placeholder="E.g. Octavia"\n invalid={!!errors.model?.message}\n aria-invalid={!!errors.model?.message}\n errorText={errors.model?.message}\n required\n />\n
\n
\n
\n \n
Parking information \n
\n
\n \n {\n handleChange(\'parkingPeriod\', \'continuous\');\n setValue(\'permitEndDate\', \'\');\n }}\n />\n handleChange(\'parkingPeriod\', \'temporary\')}\n />\n \n
\n {getValues(\'parkingPeriod\') === \'temporary\' && (\n
\n {\n handleChange(\'permitEndDate\', e);\n }}\n value={getValues(\'permitEndDate\')}\n invalid={!!errors.permitEndDate?.message}\n aria-invalid={!!errors.permitEndDate?.message}\n errorText={errors.permitEndDate?.message}\n required\n tooltipButtonLabel="Tooltip: Permit end date"\n tooltipText="This is the last date you need the permit to be active. The permit will expire at the inputted date at 23:59 o\'clock."\n />\n
\n )}\n
\n
\n {\n handleChange(\'additionalRequests\', e.currentTarget.value);\n }}\n id="additionalRequests"\n name="additionalRequests"\n label="Additional requests"\n placeholder="E.g. Request for a parking space near a specific location"\n tooltipButtonLabel="Tooltip: Additional requests"\n tooltipText="Here you may leave extra requests regarding the parking space. For example, you may request space near a specific location. If you have a large vehicle, you may request a larger space."\n />\n
\n
\n \n
\n
{\n handleChange(\'acceptTerms\', e.target.checked);\n }}\n />\n \n Read the terms of service \n
\n \n
\n \n Submit \n
\n \n
\n );\n}'}},Static.parameters)},"./src/icons/icons.stories.tsx":(module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__);var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),path__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/path/path.js"),path__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_0__),_storybook_react__WEBPACK_IMPORTED_MODULE_2__=(__webpack_require__("../../node_modules/react/index.js"),__webpack_require__("../../node_modules/@storybook/react/dist/esm/client/index.js")),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/react/jsx-runtime.js");module=__webpack_require__.hmd(module);var __STORY__="import path from 'path';\n\nimport React from 'react';\nimport { storiesOf } from '@storybook/react';\n\nconst Wrapper = ({ children, color = 'var(--color-black)', style = {} }) => (\n \n {children}\n
\n);\n\nconst req = require.context('.', true, /Icon.*.tsx$/);\nreq.keys().forEach((fileName, index) => {\n const story = storiesOf(`Icons/Icons`, module);\n const componentName = path.basename(fileName, '.tsx');\n const Component = req(fileName)[componentName];\n Component.displayName = componentName;\n\n if (index === 0) {\n story.addParameters({\n component: Component,\n controls: { hideNoControlsWarning: true },\n docs: {\n disable: true,\n },\n });\n }\n\n story.add(componentName, () => (\n <>\n \n {['xs', 's', 'm', 'l', 'xl'].map((size) => (\n \n ))}\n \n \n {['xs', 's', 'm', 'l', 'xl'].map((size) => (\n \n ))}\n \n >\n ));\n});\n",__LOCATIONS_MAP__={},Wrapper=function Wrapper(_ref){var children=_ref.children,_ref$color=_ref.color,color=void 0===_ref$color?"var(--color-black)":_ref$color,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("div",{style:(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({alignItems:"center",justifyContent:"space-around",display:"flex",maxWidth:400,padding:"var(--spacing-s)",color},style),children})},req=__webpack_require__("./src/icons sync recursive Icon.*.tsx$");req.keys().forEach((function(fileName,index){var story=(0,_storybook_react__WEBPACK_IMPORTED_MODULE_2__.storiesOf)("Icons/Icons",module).addParameters({storySource:{source:__STORY__,locationsMap:__LOCATIONS_MAP__}}).addParameters({storySource:{source:__STORY__,locationsMap:__LOCATIONS_MAP__}}),componentName=path__WEBPACK_IMPORTED_MODULE_0___default().basename(fileName,".tsx"),Component=req(fileName)[componentName];Component.displayName=componentName,0===index&&story.addParameters({component:Component,controls:{hideNoControlsWarning:!0},docs:{disable:!0}}),story.add(componentName,(function(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(Wrapper,{children:["xs","s","m","l","xl"].map((function(size){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(Component,{size},"icon-black-".concat(size))}))}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(Wrapper,{style:{background:"var(--color-black)"},children:["xs","s","m","l","xl"].map((function(size){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(Component,{size,style:{color:"#fff"}},"icon-white-".concat(size))}))})]})}))}))},"./.storybook/preview.js-generated-config-entry.js":(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__)=>{"use strict";var preview_namespaceObject={};__webpack_require__.r(preview_namespaceObject),__webpack_require__.d(preview_namespaceObject,{parameters:()=>parameters});var ClientApi=__webpack_require__("../../node_modules/@storybook/builder-webpack5/node_modules/@storybook/client-api/dist/esm/ClientApi.js"),objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),blocks=(__webpack_require__("../../node_modules/react/index.js"),__webpack_require__("./node_modules/@storybook/addon-docs/blocks.js")),preview=__webpack_require__("./node_modules/@storybook/addon-viewport/dist/esm/preview.js"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),parameters={options:{storySort:function storySort(a,b){return a[1].kind===b[1].kind?0:a[1].id.localeCompare(b[1].id,void 0,{numeric:!0})}},viewport:{viewports:(0,objectSpread2.Z)((0,objectSpread2.Z)({},preview.p),{},{narrow:{name:"Narrow full-height (320px)",styles:{width:"320px",height:"100%"}}})},docs:{container:blocks.Zu,page:function page(){return(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsx)(blocks.Dx,{children:"Props"}),(0,jsx_runtime.jsx)(blocks.$4,{}),(0,jsx_runtime.jsx)(blocks.fQ,{title:"Examples",includePrimary:!0})]})}},backgrounds:{default:"White",values:[{name:"White",value:"#fff"},{name:"Black",value:"#111"}]},controls:{expanded:!0,sort:"alpha"}};function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}Object.keys(preview_namespaceObject).forEach((function(key){var value=preview_namespaceObject[key];switch(key){case"args":return(0,ClientApi.uc)(value);case"argTypes":return(0,ClientApi.v9)(value);case"decorators":return value.forEach((function(decorator){return(0,ClientApi.$9)(decorator,!1)}));case"loaders":return value.forEach((function(loader){return(0,ClientApi.HZ)(loader,!1)}));case"parameters":return(0,ClientApi.h1)(function _objectSpread(target){for(var i=1;i{"use strict";__webpack_require__.d(__webpack_exports__,{U:()=>Accordion});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),slicedToArray=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react=__webpack_require__("../../node_modules/react/index.js"),lodash_uniqueid=__webpack_require__("../../node_modules/lodash.uniqueid/index.js"),lodash_uniqueid_default=__webpack_require__.n(lodash_uniqueid),lodash_pickby=__webpack_require__("../../node_modules/lodash.pickby/index.js"),lodash_pickby_default=__webpack_require__.n(lodash_pickby);__webpack_require__("./src/styles/base.css");const Accordion_module={accordion:"Accordion_accordion__LJMti",card:"Accordion_card__5KmRQ",border:"Accordion_border__g8tVD",accordionHeader:"Accordion_accordionHeader__bIhZv",s:"Accordion_s__NPnBX",closeButton:"Accordion_closeButton__0sv-S",m:"Accordion_m__CEK3A",l:"Accordion_l__ItzO3",accordionContent:"Accordion_accordionContent__QoQWw",contentWithCloseButton:"Accordion_contentWithCloseButton__-+Xrz",headingContainer:"Accordion_headingContainer__bDZNl",accordionButtonIcon:"Accordion_accordionButtonIcon__f0GGU"};var classNames=__webpack_require__("./src/utils/classNames.ts"),IconAngleUp=__webpack_require__("./src/icons/IconAngleUp.tsx"),IconAngleDown=__webpack_require__("./src/icons/IconAngleDown.tsx"),useAccordion=__webpack_require__("./src/components/accordion/useAccordion.ts"),useTheme=__webpack_require__("./src/hooks/useTheme.tsx"),Button=__webpack_require__("./src/components/button/Button.tsx");const hooks_useHasMounted=function useHasMounted(){var _React$useState=react.useState(!1),_React$useState2=(0,slicedToArray.Z)(_React$useState,2),hasMounted=_React$useState2[0],setHasMounted=_React$useState2[1];return react.useEffect((function(){setHasMounted(!0)}),[]),hasMounted};var jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),getCloseMessage=function getCloseMessage(language){return{en:"Close",fi:"Sulje",sv:"Stäng"}[language]},Accordion=function Accordion(_ref){var _ref$border=_ref.border,border=void 0!==_ref$border&&_ref$border,_ref$card=_ref.card,card=void 0!==_ref$card&&_ref$card,children=_ref.children,className=_ref.className,closeButtonClassName=_ref.closeButtonClassName,_ref$closeButton=_ref.closeButton,closeButton=void 0===_ref$closeButton||_ref$closeButton,heading=_ref.heading,_ref$headingLevel=_ref.headingLevel,headingLevel=void 0===_ref$headingLevel?2:_ref$headingLevel,id=_ref.id,_ref$initiallyOpen=_ref.initiallyOpen,initiallyOpen=void 0!==_ref$initiallyOpen&&_ref$initiallyOpen,_ref$language=_ref.language,language=void 0===_ref$language?"fi":_ref$language,_ref$size=_ref.size,size=void 0===_ref$size?"m":_ref$size,style=_ref.style,theme=_ref.theme,headerRef=(0,react.useRef)(null),_useState=(0,react.useState)(!1),_useState2=(0,slicedToArray.Z)(_useState,2),beforeCloseButtonClick=_useState2[0],setBeforeCloseButtonClick=_useState2[1],_useState3=(0,react.useState)(id||lodash_uniqueid_default()("accordion-")),accordionId=(0,slicedToArray.Z)(_useState3,1)[0],sovereignThemeVariables=theme&&{"--background-color":theme["--background-color"],"--border-color":theme["--border-color"],"--header-font-color":theme["--header-font-color"],"--header-focus-outline-color":theme["--header-focus-outline-color"],"--content-font-color":theme["--content-font-color"],"--content-font-size":theme["--content-font-size"],"--content-line-height":theme["--content-line-height"]},filteredSovereignThemeVariables=lodash_pickby_default()(sovereignThemeVariables),sovereignThemeClass=(0,useTheme.F)(Accordion_module.accordion,Object.keys(filteredSovereignThemeVariables).length>0?filteredSovereignThemeVariables:void 0),sizeDependentThemeVariables=theme&&{"--header-font-size":theme["--header-font-size"],"--padding-vertical":theme["--padding-vertical"],"--padding-horizontal":theme["--padding-horizontal"],"--header-font-weight":theme["--header-font-weight"],"--header-letter-spacing":theme["--header-letter-spacing"],"--header-line-height":theme["--header-line-height"],"--button-size":theme["--button-size"]},filteredSizeDependentThemeVariables=lodash_pickby_default()(sizeDependentThemeVariables),sizeDependentThemeClass=(0,useTheme.F)(Accordion_module[size],Object.keys(filteredSizeDependentThemeVariables).length>0?filteredSizeDependentThemeVariables:void 0),_useAccordion=(0,useAccordion.A)({initiallyOpen}),isOpen=_useAccordion.isOpen,buttonProps=_useAccordion.buttonProps,contentProps=_useAccordion.contentProps,icon=isOpen?(0,jsx_runtime.jsx)(IconAngleUp.IconAngleUp,{"aria-hidden":!0,className:Accordion_module.accordionButtonIcon}):(0,jsx_runtime.jsx)(IconAngleDown.IconAngleDown,{"aria-hidden":!0,className:Accordion_module.accordionButtonIcon}),hasMounted=hooks_useHasMounted();(0,react.useEffect)((function(){if(hasMounted){var timer=setTimeout((function(){headerRef.current.focus(),!0===beforeCloseButtonClick&&(setBeforeCloseButtonClick(!1),buttonProps.onClick())}),50);return function(){return clearTimeout(timer)}}}),[beforeCloseButtonClick]);var onCloseButtonActivate=function onCloseButtonActivate(){setBeforeCloseButtonClick(!0)};return(0,jsx_runtime.jsxs)("div",{className:(0,classNames.Z)(Accordion_module.accordion,card&&Accordion_module.card,card&&border&&Accordion_module.border,isOpen&&Accordion_module.isOpen,Accordion_module[size],sovereignThemeClass,sizeDependentThemeClass,className),style,id:accordionId,children:[(0,jsx_runtime.jsx)("div",{className:(0,classNames.Z)(Accordion_module.accordionHeader),children:(0,jsx_runtime.jsx)("div",{role:"heading","aria-level":headingLevel,id:"".concat(accordionId,"-heading"),children:(0,jsx_runtime.jsxs)("div",(0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)({ref:headerRef,role:"button",tabIndex:0,onKeyPress:function onKeyPress(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),buttonProps.onClick())},className:Accordion_module.headingContainer,"aria-labelledby":"".concat(accordionId,"-heading")},buttonProps),beforeCloseButtonClick?{"aria-expanded":!1}:{}),{},{children:[(0,jsx_runtime.jsx)("span",{className:"label",children:heading}),icon]}))})}),(0,jsx_runtime.jsxs)("div",(0,objectSpread2.Z)((0,objectSpread2.Z)({},contentProps),{},{id:"".concat(accordionId,"-content"),role:"region",className:(0,classNames.Z)(Accordion_module.accordionContent,card&&Accordion_module.card,closeButton&&Accordion_module.contentWithCloseButton),"aria-labelledby":"".concat(accordionId,"-heading"),children:[children,closeButton&&(0,jsx_runtime.jsx)(Button.z,{"data-testid":"".concat(accordionId,"-closeButton"),"aria-label":"".concat(getCloseMessage(language)," ").concat(heading),className:(0,classNames.Z)(Accordion_module.closeButton,closeButtonClassName),theme:"black",size:"small",onKeyPress:function onKeyPress(e){" "===e.key&&onCloseButtonActivate()},onClick:function onClick(){onCloseButtonActivate()},variant:"supplementary",iconRight:(0,jsx_runtime.jsx)(IconAngleUp.IconAngleUp,{"aria-hidden":!0,size:"xs",className:Accordion_module.accordionButtonIcon}),children:getCloseMessage(language)})]}))]})};try{Accordion.displayName="Accordion",Accordion.__docgenInfo={description:"",displayName:"Accordion",props:{border:{defaultValue:{value:"false"},description:"If `true` border will be drawn around the accordion card.",name:"border",required:!1,type:{name:"boolean"}},card:{defaultValue:{value:"false"},description:"Use the card variant if `true`",name:"card",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"Additional class names for accordion",name:"className",required:!1,type:{name:"string"}},closeButton:{defaultValue:{value:"true"},description:"Boolean indicating whether there is a close button at the bottom of the accordion or not.\n@Default true",name:"closeButton",required:!1,type:{name:"boolean"}},closeButtonClassName:{defaultValue:null,description:"className for close button to enable custom styling",name:"closeButtonClassName",required:!1,type:{name:"string"}},heading:{defaultValue:null,description:"Heading text.",name:"heading",required:!1,type:{name:"string"}},headingLevel:{defaultValue:{value:"2"},description:"Heading level",name:"headingLevel",required:!1,type:{name:"number"}},id:{defaultValue:null,description:"The id for the accordion element",name:"id",required:!1,type:{name:"string"}},initiallyOpen:{defaultValue:{value:"false"},description:"Boolean indicating whether the accordion is initially opened.",name:"initiallyOpen",required:!1,type:{name:"boolean"}},language:{defaultValue:{value:"fi"},description:"The language of the component. It affects which language is used for the close button text.",name:"language",required:!1,type:{name:"enum",value:[{value:'"en"'},{value:'"fi"'},{value:'"sv"'}]}},size:{defaultValue:{value:"m"},description:"Size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'}]}},style:{defaultValue:null,description:"Additional styles",name:"style",required:!1,type:{name:"CSSProperties"}},theme:{defaultValue:null,description:"Custom theme styles",name:"theme",required:!1,type:{name:"AccordionCustomTheme"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/accordion/Accordion.tsx#Accordion"]={docgenInfo:Accordion.__docgenInfo,name:"Accordion",path:"src/components/accordion/Accordion.tsx#Accordion"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/accordion/useAccordion.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>useAccordion});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/react/index.js"),useAccordion=function useAccordion(_ref){var _ref$initiallyOpen=_ref.initiallyOpen,initiallyOpen=void 0!==_ref$initiallyOpen&&_ref$initiallyOpen,_useState=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(initiallyOpen),_useState2=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1__.Z)(_useState,2),isOpen=_useState2[0],setIsOpen=_useState2[1],openAccordion=function openAccordion(){setIsOpen(!0)},closeAccordion=function closeAccordion(){setIsOpen(!1)},toggleAccordion=function toggleAccordion(){isOpen?closeAccordion():openAccordion()},buttonProps={onClick:toggleAccordion,"aria-expanded":isOpen},contentProps={};return!1===isOpen&&(contentProps.style={display:"none"}),{isOpen,openAccordion,closeAccordion,toggleAccordion,buttonProps,contentProps}}},"./src/components/button/Button.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{z:()=>Button});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),objectWithoutProperties=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react=__webpack_require__("../../node_modules/react/index.js"),LoadingSpinner=(__webpack_require__("./src/styles/base.css"),__webpack_require__("./src/components/loadingSpinner/LoadingSpinner.tsx"));const Button_module={button:"Button_button__Qra3d button_hds-button__0Xq-p",label:"Button_label__FCSRw button_hds-button__label__uGz5c",fullWidth:"Button_fullWidth__lkpjJ button_hds-button--fullwidth__iALSM","size-small":"Button_size-small__R8yV4 button_hds-button--small__Dzlfw",icon:"Button_icon__Yg8+Z button_hds-icon__dmvEa",primary:"Button_primary__JmVXF button_hds-button--primary__49TcJ",secondary:"Button_secondary__4Emk1 button_hds-button--secondary__OO96T",supplementary:"Button_supplementary__ROo1F button_hds-button--supplementary__Xz03B",isLoading:"Button_isLoading__uh-jw button_hds-button--loading__6AAUf",success:"Button_success__F3-t- button_hds-button--success__hXu6M",danger:"Button_danger__Lti+9 button_hds-button--danger__fyXns","theme-coat":"Button_theme-coat__W60Pt button_hds-button--theme-coat__SrO6A","theme-black":"Button_theme-black__tXhTt button_hds-button--theme-black__eW37x"};var classNames=__webpack_require__("./src/utils/classNames.ts"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),_excluded=["children","className","disabled","fullWidth","size","theme","variant","iconLeft","iconRight","isLoading","loadingText","onClick"],Button=react.forwardRef((function(_ref,ref){var children=_ref.children,className=_ref.className,_ref$disabled=_ref.disabled,disabled=void 0!==_ref$disabled&&_ref$disabled,fullWidth=_ref.fullWidth,_ref$size=_ref.size,size=void 0===_ref$size?"default":_ref$size,_ref$theme=_ref.theme,theme=void 0===_ref$theme?"default":_ref$theme,_ref$variant=_ref.variant,variant=void 0===_ref$variant?"primary":_ref$variant,iconLeft=_ref.iconLeft,iconRight=_ref.iconRight,_ref$isLoading=_ref.isLoading,isLoading=void 0!==_ref$isLoading&&_ref$isLoading,loadingText=_ref.loadingText,onClick=_ref.onClick,rest=(0,objectWithoutProperties.Z)(_ref,_excluded),iconElementLeft=iconLeft?(0,jsx_runtime.jsx)("div",{className:Button_module.icon,"aria-hidden":"true",children:iconLeft}):null,iconElementRight=iconRight?(0,jsx_runtime.jsx)("div",{className:(0,classNames.Z)(Button_module.icon),"aria-hidden":"true",children:iconRight}):null;return(0,jsx_runtime.jsxs)("button",(0,objectSpread2.Z)((0,objectSpread2.Z)({ref,disabled,"aria-disabled":isLoading||disabled||void 0,"aria-label":isLoading?loadingText:void 0,type:"button",className:(0,classNames.Z)(Button_module.button,Button_module[variant],Button_module["theme-".concat(theme)],Button_module["size-".concat(size)],fullWidth?Button_module.fullWidth:"",isLoading?Button_module.isLoading:"",className),onClick:isLoading?function loadingOnClick(event){event.preventDefault()}:onClick},rest),{},{children:[isLoading?(0,jsx_runtime.jsx)(LoadingSpinner.T,{small:!0}):iconElementLeft,(0,jsx_runtime.jsx)("span",{className:Button_module.label,children:isLoading?loadingText:children}),isLoading?null:iconElementRight]}))}));try{Button.displayName="Button",Button.__docgenInfo={description:"",displayName:"Button",props:{children:{defaultValue:null,description:"The content of the button",name:"children",required:!1,type:{name:"ReactNode"}},className:{defaultValue:null,description:"Additional class names to apply to the button",name:"className",required:!1,type:{name:"string"}},variant:{defaultValue:{value:"primary"},description:"Defines the button variant",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"secondary"'},{value:'"supplementary"'},{value:'"success"'},{value:'"danger"'}]}},theme:{defaultValue:{value:"default"},description:"Defines the button theme",name:"theme",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"coat"'},{value:'"black"'}]}},disabled:{defaultValue:{value:"false"},description:"If `true`, the button will be disabled",name:"disabled",required:!1,type:{name:"boolean"}},fullWidth:{defaultValue:null,description:"If `true`, the button will take up the full width of its container",name:"fullWidth",required:!1,type:{name:"boolean"}},iconLeft:{defaultValue:null,description:"Element placed on the left side of the button label",name:"iconLeft",required:!1,type:{name:"ReactNode"}},iconRight:{defaultValue:null,description:"Element placed on the right side of the button label",name:"iconRight",required:!1,type:{name:"ReactNode"}},size:{defaultValue:{value:"default"},description:"The size of the button",name:"size",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"default"'}]}},isLoading:{defaultValue:{value:"false"},description:"If `true` a loading spinner is displayed inside the button along `loadingText`",name:"isLoading",required:!1,type:{name:"boolean"}},loadingText:{defaultValue:null,description:"Loading text to show alongside loading spinner",name:"loadingText",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/button/Button.tsx#Button"]={docgenInfo:Button.__docgenInfo,name:"Button",path:"src/components/button/Button.tsx#Button"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/card/Card.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>Card});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),objectWithoutProperties=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");__webpack_require__("../../node_modules/react/index.js"),__webpack_require__("./src/styles/base.css");const Card_module_card="Card_card__pqOY8",Card_module_boxShadow="Card_boxShadow__AbKlS card_hds-card--box-shadow__fL4OQ",Card_module_border="Card_border__2rBC6 card_hds-card--border__dAvyD",Card_module_body="Card_body__Xk+Zr card_hds-card__body__UNDqR",Card_module_text="Card_text__Tzho3 card_hds-card__text__IQ+PH";var classNames=__webpack_require__("./src/utils/classNames.ts"),useTheme=__webpack_require__("./src/hooks/useTheme.tsx"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),_excluded=["border","heading","headingAriaLevel","boxShadow","text","className","theme","children"],Card=function Card(_ref){var border=_ref.border,heading=_ref.heading,_ref$headingAriaLevel=_ref.headingAriaLevel,headingAriaLevel=void 0===_ref$headingAriaLevel?2:_ref$headingAriaLevel,_ref$boxShadow=_ref.boxShadow,boxShadow=void 0!==_ref$boxShadow&&_ref$boxShadow,text=_ref.text,className=_ref.className,theme=_ref.theme,children=_ref.children,divProps=(0,objectWithoutProperties.Z)(_ref,_excluded),customThemeClass=(0,useTheme.F)(Card_module_card,theme),hasBody=!!heading||!!text;return(0,jsx_runtime.jsxs)("div",(0,objectSpread2.Z)((0,objectSpread2.Z)({className:(0,classNames.Z)(Card_module_card,border&&Card_module_border,boxShadow&&Card_module_boxShadow,customThemeClass,className),role:"region"},divProps),{},{children:[hasBody&&(0,jsx_runtime.jsxs)("div",{className:Card_module_body,children:[heading&&(0,jsx_runtime.jsx)("div",{className:"heading-m",role:"heading","aria-level":headingAriaLevel,children:heading}),text&&(0,jsx_runtime.jsx)("div",{className:Card_module_text,children:text})]}),children]}))};try{Card.displayName="Card",Card.__docgenInfo={description:"",displayName:"Card",props:{boxShadow:{defaultValue:{value:"false"},description:"Boolean indicating whether Card will have box shadow or not.",name:"boxShadow",required:!1,type:{name:"boolean"}},border:{defaultValue:null,description:"If `true` border will be drawn around the card.",name:"border",required:!1,type:{name:"boolean"}},heading:{defaultValue:null,description:"Heading text.",name:"heading",required:!1,type:{name:"string"}},headingAriaLevel:{defaultValue:{value:"2"},description:"Heading aria-level.",name:"headingAriaLevel",required:!1,type:{name:"number"}},text:{defaultValue:null,description:"Body text.",name:"text",required:!1,type:{name:"string"}},className:{defaultValue:null,description:"Additional class names to apply to the card.",name:"className",required:!1,type:{name:"string"}},theme:{defaultValue:null,description:"Custom theme styles",name:"theme",required:!1,type:{name:"CardCustomTheme"}},children:{defaultValue:null,description:"Additional children to render inside the card.",name:"children",required:!1,type:{name:"ReactNode"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/card/Card.tsx#Card"]={docgenInfo:Card.__docgenInfo,name:"Card",path:"src/components/card/Card.tsx#Card"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/checkbox/Checkbox.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{X:()=>Checkbox});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),objectWithoutProperties=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react=__webpack_require__("../../node_modules/react/index.js");__webpack_require__("./src/styles/base.css");const Checkbox_module_checkbox="Checkbox_checkbox__t7n64 checkbox_hds-checkbox__NdOVQ",Checkbox_module_input="Checkbox_input__FP-KE checkbox_hds-checkbox__input__qYnvZ",Checkbox_module_label="Checkbox_label__Imu5d checkbox_hds-checkbox__label__PXb3l",Checkbox_module_errorText="Checkbox_errorText__RYodK checkbox_hds-checkbox__error-text__iDgoi",Checkbox_module_helperText="Checkbox_helperText__CZupe helpers_helper-text__kpl-5",Checkbox_module_tooltipButton="Checkbox_tooltipButton__Fwjsk";var classNames=__webpack_require__("./src/utils/classNames.ts"),mergeRefWithInternalRef=__webpack_require__("./src/utils/mergeRefWithInternalRef.ts"),Tooltip=__webpack_require__("./src/components/tooltip/Tooltip.tsx"),composeAriaDescribedBy=__webpack_require__("./src/utils/composeAriaDescribedBy.ts"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),_excluded=["checked","className","disabled","errorText","helperText","id","indeterminate","label","onChange","style","value","tooltipText","tooltipLabel","tooltipButtonLabel"],Checkbox=react.forwardRef((function(_ref,ref){var _ref$checked=_ref.checked,checked=void 0!==_ref$checked&&_ref$checked,className=_ref.className,_ref$disabled=_ref.disabled,disabled=void 0!==_ref$disabled&&_ref$disabled,errorText=_ref.errorText,helperText=_ref.helperText,id=_ref.id,indeterminate=_ref.indeterminate,label=_ref.label,_ref$onChange=_ref.onChange,onChange=void 0===_ref$onChange?function(){return null}:_ref$onChange,style=_ref.style,value=_ref.value,tooltipText=_ref.tooltipText,tooltipLabel=_ref.tooltipLabel,tooltipButtonLabel=_ref.tooltipButtonLabel,rest=(0,objectWithoutProperties.Z)(_ref,_excluded),inputRef=(0,react.useRef)(null);(0,react.useEffect)((function(){ref&&(0,mergeRefWithInternalRef.Z)(ref,inputRef),inputRef.current.indeterminate=indeterminate}),[inputRef,ref,indeterminate]),label&&"string"!=typeof label&&"number"!=typeof label&&console.warn("Using ReactElement as a label is against good usability and accessibility practices. Please prefer plain strings.");var ariaDescribedBy=(0,composeAriaDescribedBy.Z)(id,helperText,errorText,void 0,void 0);return(0,jsx_runtime.jsxs)("div",{className:(0,classNames.Z)(Checkbox_module_checkbox,className),style,children:[(0,jsx_runtime.jsx)("input",(0,objectSpread2.Z)({ref:inputRef,id,className:(0,classNames.Z)(Checkbox_module_input),onChange,value,type:"checkbox",disabled,checked,"aria-describedby":ariaDescribedBy.length>0?ariaDescribedBy:null},rest)),(0,jsx_runtime.jsx)("label",{htmlFor:id,className:(0,classNames.Z)(Checkbox_module_label),children:label}),tooltipText&&(0,jsx_runtime.jsx)(Tooltip.u,{className:Checkbox_module_tooltipButton,buttonLabel:tooltipButtonLabel,tooltipLabel,children:tooltipText}),errorText&&(0,jsx_runtime.jsx)("div",{className:Checkbox_module_errorText,id:"".concat(id,"-error"),children:errorText}),helperText&&(0,jsx_runtime.jsx)("div",{className:Checkbox_module_helperText,id:"".concat(id,"-helper"),children:helperText})]})}));try{Checkbox.displayName="Checkbox",Checkbox.__docgenInfo={description:"",displayName:"Checkbox",props:{checked:{defaultValue:{value:"false"},description:"If `true`, the component is checked",name:"checked",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"Additional class names to apply to the checkbox",name:"className",required:!1,type:{name:"string"}},disabled:{defaultValue:{value:"false"},description:"If `true`, the checkbox will be disabled",name:"disabled",required:!1,type:{name:"boolean"}},errorText:{defaultValue:null,description:"The error text content that will be shown below the checkbox",name:"errorText",required:!1,type:{name:"string"}},helperText:{defaultValue:null,description:"The helper text content that will be shown below the checkbox",name:"helperText",required:!1,type:{name:"string"}},id:{defaultValue:null,description:"The id of the input element",name:"id",required:!1,type:{name:"string"}},indeterminate:{defaultValue:null,description:"Boolean indicating indeterminate status of the checkbox",name:"indeterminate",required:!1,type:{name:"boolean"}},label:{defaultValue:null,description:"The label for the checkbox",name:"label",required:!1,type:{name:"ReactNode"}},onChange:{defaultValue:{value:"() => null"},description:"Callback fired when the state is changed",name:"onChange",required:!1,type:{name:"ChangeEventHandler"}},style:{defaultValue:null,description:"Override or extend the styles applied to the component",name:"style",required:!1,type:{name:"CSSProperties"}},value:{defaultValue:null,description:"The value of the component",name:"value",required:!1,type:{name:"string & (string | number | readonly string[])"}},tooltipText:{defaultValue:null,description:"Tooltip text for the checkbox",name:"tooltipText",required:!1,type:{name:"string"}},tooltipLabel:{defaultValue:null,description:"Aria-label text for the tooltip",name:"tooltipLabel",required:!1,type:{name:"string"}},tooltipButtonLabel:{defaultValue:null,description:"Aria-label text for the tooltip trigger button",name:"tooltipButtonLabel",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/checkbox/Checkbox.tsx#Checkbox"]={docgenInfo:Checkbox.__docgenInfo,name:"Checkbox",path:"src/components/checkbox/Checkbox.tsx#Checkbox"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/dateInput/DateInput.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{W:()=>DateInput});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),slicedToArray=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),objectWithoutProperties=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),parse=__webpack_require__("../../node_modules/date-fns/esm/parse/index.js"),isValid=__webpack_require__("../../node_modules/date-fns/esm/isValid/index.js"),startOfMonth=__webpack_require__("../../node_modules/date-fns/esm/startOfMonth/index.js"),subYears=__webpack_require__("../../node_modules/date-fns/esm/subYears/index.js"),endOfMonth=__webpack_require__("../../node_modules/date-fns/esm/endOfMonth/index.js"),addYears=__webpack_require__("../../node_modules/date-fns/esm/addYears/index.js"),max=__webpack_require__("../../node_modules/date-fns/esm/max/index.js"),format=__webpack_require__("../../node_modules/date-fns/esm/format/index.js"),react=__webpack_require__("../../node_modules/react/index.js"),IconCalendar=__webpack_require__("./src/icons/IconCalendar.tsx"),mergeRefWithInternalRef=__webpack_require__("./src/utils/mergeRefWithInternalRef.ts"),TextInput=__webpack_require__("./src/components/textInput/TextInput.tsx"),toConsumableArray=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),addDays=__webpack_require__("../../node_modules/date-fns/esm/addDays/index.js"),endOfDay=__webpack_require__("../../node_modules/date-fns/esm/endOfDay/index.js"),getDaysInMonth=__webpack_require__("../../node_modules/date-fns/esm/getDaysInMonth/index.js"),startOfDay=__webpack_require__("../../node_modules/date-fns/esm/startOfDay/index.js"),isAfter=__webpack_require__("../../node_modules/date-fns/esm/isAfter/index.js"),isBefore=__webpack_require__("../../node_modules/date-fns/esm/isBefore/index.js"),en_GB=__webpack_require__("../../node_modules/date-fns/esm/locale/en-GB/index.js"),fi=__webpack_require__("../../node_modules/date-fns/esm/locale/fi/index.js"),sv=__webpack_require__("../../node_modules/date-fns/esm/locale/sv/index.js"),usePopper=__webpack_require__("./node_modules/react-popper/lib/esm/usePopper.js"),defaultProps={className:"",style:{},language:"en",month:(0,startOfMonth.Z)(new Date),selectButtonLabel:"Select",closeButtonLabel:"Close",onCloseButtonClick:function onCloseButtonClick(){}},DatePickerContext=react.createContext(null),getWeeksInMonth=__webpack_require__("../../node_modules/date-fns/esm/getWeeksInMonth/index.js"),eachWeekOfInterval=__webpack_require__("../../node_modules/date-fns/esm/eachWeekOfInterval/index.js"),add=__webpack_require__("../../node_modules/date-fns/esm/add/index.js");const DatePicker_module={"small-up":"only screen and (min-width: 576px)","hds-datepicker__day__wrapper-vhidden":"DatePicker_hds-datepicker__day__wrapper-vhidden__iX-3Q","hds-datepicker__head__weekday-vhidden":"DatePicker_hds-datepicker__head__weekday-vhidden__NyZMF",pickerWrapper:"DatePicker_pickerWrapper__+2H2T",isVisible:"DatePicker_isVisible__c4cur","hds-datepicker":"DatePicker_hds-datepicker__h8rZ6","hds-datepicker__month-table":"DatePicker_hds-datepicker__month-table__J1vmA","hds-datepicker__head__weekday":"DatePicker_hds-datepicker__head__weekday__yQEhE","hds-datepicker__day-cell":"DatePicker_hds-datepicker__day-cell__ns20X","hds-datepicker__day":"DatePicker_hds-datepicker__day__abzXn","hds-datepicker__day--selected":"DatePicker_hds-datepicker__day--selected__n14tJ","hds-datepicker__day--outside":"DatePicker_hds-datepicker__day--outside__HNZjx","hds-datepicker__day--today":"DatePicker_hds-datepicker__day--today__bpYy0","hds-datepicker__day__wrapper":"DatePicker_hds-datepicker__day__wrapper__SANGS","hds-datepicker__navigation":"DatePicker_hds-datepicker__navigation__KisN9","hds-datepicker__navigation__select":"DatePicker_hds-datepicker__navigation__select__yPdLY","hds-datepicker__navigation__select-label":"DatePicker_hds-datepicker__navigation__select-label__mvtp7","hds-datepicker__navigation__select-icon":"DatePicker_hds-datepicker__navigation__select-icon__nP3J1","hds-datepicker__navigation__buttons":"DatePicker_hds-datepicker__navigation__buttons__ts6cm","hds-datepicker__bottom-buttons":"DatePicker_hds-datepicker__bottom-buttons__NBwkO"};var startOfWeek=__webpack_require__("../../node_modules/date-fns/esm/startOfWeek/index.js");var jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),Head=function Head(_ref){var weekdayNames=function getWeekdaysNames(locale){for(var start=(0,startOfWeek.Z)(new Date,{locale}),names=[],i=0;i<7;i++){var day=(0,addDays.Z)(start,i);names.push([(0,format.Z)(day,"iiiiii",{locale}),(0,format.Z)(day,"iiii",{locale})])}return names}(_ref.locale);return(0,jsx_runtime.jsx)("thead",{children:(0,jsx_runtime.jsx)("tr",{children:weekdayNames.map((function(names){return(0,jsx_runtime.jsxs)("th",{scope:"col",className:DatePicker_module["hds-datepicker__head__weekday"],children:[(0,jsx_runtime.jsx)("span",{"aria-hidden":!0,children:names[0]}),(0,jsx_runtime.jsx)("span",{className:DatePicker_module["hds-datepicker__head__weekday-vhidden"],children:names[1]})]},names[0])}))})})};try{Head.displayName="Head",Head.__docgenInfo={description:"Render the head of the month table, including the weekday names (Mon, Tue,\netc.).",displayName:"Head",props:{locale:{defaultValue:null,description:"",name:"locale",required:!0,type:{name:"Locale"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/dateInput/components/head/Head.tsx#Head"]={docgenInfo:Head.__docgenInfo,name:"Head",path:"src/components/dateInput/components/head/Head.tsx#Head"})}catch(__react_docgen_typescript_loader_error){}var eachMonthOfInterval=__webpack_require__("../../node_modules/date-fns/esm/eachMonthOfInterval/index.js"),eachYearOfInterval=__webpack_require__("../../node_modules/date-fns/esm/eachYearOfInterval/index.js"),addMonths=__webpack_require__("../../node_modules/date-fns/esm/addMonths/index.js"),endOfYear=__webpack_require__("../../node_modules/date-fns/esm/endOfYear/index.js"),startOfYear=__webpack_require__("../../node_modules/date-fns/esm/startOfYear/index.js"),IconAngleDown=__webpack_require__("./src/icons/IconAngleDown.tsx"),IconAngleLeft=__webpack_require__("./src/icons/IconAngleLeft.tsx"),IconAngleRight=__webpack_require__("./src/icons/IconAngleRight.tsx"),MonthNavigation=function MonthNavigation(_ref){var prevMonth,nextMonth,month=_ref.month,_useContext=(0,react.useContext)(DatePickerContext),locale=_useContext.locale,language=_useContext.language,handleMonthChange=_useContext.handleMonthChange,minDate=_useContext.minDate,maxDate=_useContext.maxDate,selectedYear=month.getFullYear();(!minDate||month>(0,startOfMonth.Z)(minDate))&&(prevMonth=(0,addMonths.Z)(month,-1)),(!maxDate||(0,addMonths.Z)(month,1)<=(0,startOfMonth.Z)(maxDate))&&(nextMonth=(0,addMonths.Z)(month,1));return(0,jsx_runtime.jsxs)("div",{className:DatePicker_module["hds-datepicker__navigation"],children:[(0,jsx_runtime.jsxs)("div",{className:DatePicker_module["hds-datepicker__navigation__select"],children:[(0,jsx_runtime.jsx)("select",{"aria-label":function getMonthAriaLabel(){return{en:"Month",fi:"Kuukausi",sv:"Månad"}[language]}(),onChange:function onMonthChange(event){var newSelectedMonth=new Date(month);newSelectedMonth.setMonth(Number(event.target.value)),handleMonthChange(newSelectedMonth)},value:month.getMonth(),children:(0,eachMonthOfInterval.Z)({start:new Date(selectedYear,0,1),end:new Date(selectedYear,11,31)}).map((function(monthDate){var monthNumber=monthDate.getMonth(),isDisabled=(0,startOfMonth.Z)(minDate)>monthDate||(0,endOfMonth.Z)(maxDate)window.innerHeight&&target.scrollIntoView(!!isOptsSupported&&{block:"end",inline:"nearest",behavior:"smooth"}),target.getBoundingClientRect().top<0&&target.scrollIntoView(!isOptsSupported||{block:"start",inline:"nearest",behavior:"smooth"})}(pickerWrapperRef.current)}),30)}return function(){clearTimeout(scrollTimeout)}}),[open]);var findNextAvailableDate=function findNextAvailableDate(days,nextDate){var nextDateToTry=(0,addDays.Z)(nextDate,days);return isDateDisabledBy(nextDateToTry)?findNextAvailableDate(days,nextDateToTry):nextDateToTry},addToFocusedDate=function addToFocusedDate(days){if(null!==focusedDate){var nextDate=(0,addDays.Z)(focusedDate,days),nextAvailableDay=isDateDisabledBy&&isDateDisabledBy(nextDate)?findNextAvailableDate(days,nextDate):nextDate,isAfterMinDate=(0,isAfter.Z)((0,endOfDay.Z)(nextAvailableDay),(0,startOfDay.Z)(minDate)),isBeforeMaxDate=(0,isBefore.Z)((0,startOfDay.Z)(nextAvailableDay),(0,endOfDay.Z)(maxDate));isAfterMinDate&&isBeforeMaxDate&&(setCurrentMonth((0,startOfMonth.Z)(nextAvailableDay)),setFocusedDate(nextAvailableDay))}},handleDayClick=function handleDayClick(date,e){setSelectedDate(date),onDaySelect&&disableConfirmation&&onDaySelect(date,e)},currentMonthDates=(0,toConsumableArray.Z)(Array((0,getDaysInMonth.Z)(currentMonth)).keys()).map((function(_,index){return(0,addDays.Z)(currentMonth,index)})),currentMonthAvailableDays=(isDateDisabledBy?currentMonthDates.filter((function(date){return!isDateDisabledBy(date)})):currentMonthDates).filter((function(date){return(0,isAfter.Z)((0,endOfDay.Z)(date),(0,startOfDay.Z)(minDate))&&(0,isBefore.Z)((0,startOfDay.Z)(date),(0,endOfDay.Z)(maxDate))})).map((function(date){return date.getDate()})),beforePopperWrite=(0,react.useMemo)((function(){return{name:"beforePopperWrite",enabled:!0,phase:"beforeWrite",fn:function fn(){isPopperReady||setIsPopperReady(!0)}}}),[]),_usePopper=(0,usePopper.D)(inputRef.current,pickerWrapperRef.current,{placement:"bottom-end",modifiers:[beforePopperWrite,{name:"offset",options:{offset:[0,5]}},{name:"flip",options:{rootBoundary:"document",fallbackPlacements:["bottom-start","top-end"]}}]}),datePickerPopperStyles=_usePopper.styles,datePickerPopperAttributes=_usePopper.attributes;return(0,jsx_runtime.jsx)("div",(0,objectSpread2.Z)((0,objectSpread2.Z)({ref:pickerWrapperRef,className:(0,classNames.Z)(DatePicker_module.pickerWrapper,isPopperReady&&DatePicker_module.isVisible),role:"dialog","aria-modal":"true","aria-hidden":!open||void 0,style:datePickerPopperStyles.popper},datePickerPopperAttributes.popper),{},{children:(0,jsx_runtime.jsx)(DatePickerContext.Provider,{value:{datepickerRef,minDate,maxDate,currentMonth,currentMonthAvailableDays,focusedDate,selectedDate,locale:function getLocaleByLanguage(lang){return{en:en_GB.Z,fi:fi.Z,sv:sv.Z}[lang]}(language),language,isDateDisabledBy,setCurrentMonth,setFocusedDate,setSelectedDate,onDayClick:handleDayClick,handleKeyboardNavigation:function handleKeyboardNavigation(event){var handled=!0;switch(event.keyCode){case keyCode_RIGHT:addToFocusedDate(1);break;case keyCode_LEFT:addToFocusedDate(-1);break;case keyCode_UP:addToFocusedDate(-7);break;case keyCode_DOWN:addToFocusedDate(7);break;case keyCode_SPACE:handleDayClick(focusedDate,null);break;default:handled=!1}!0===handled&&event.preventDefault()},handleMonthChange:function handleMonthChange(nextMonth,event){setCurrentMonth(nextMonth),"function"==typeof onMonthChange&&onMonthChange(nextMonth,event)}},children:(0,jsx_runtime.jsxs)("div",{className:DatePicker_module["hds-datepicker"],ref:datepickerRef,children:[(0,jsx_runtime.jsx)(MonthTable,{month:currentMonth}),(0,jsx_runtime.jsxs)("div",{className:DatePicker_module["hds-datepicker__bottom-buttons"],children:[!disableConfirmation&&(0,jsx_runtime.jsx)(Button.z,{disabled:!selectedDate,size:"small",variant:"secondary",iconLeft:(0,jsx_runtime.jsx)(IconCheck.IconCheck,{"aria-hidden":!0}),onClick:function handleConfirmClick(event){onDaySelect&&onDaySelect(selectedDate,event)},"data-testid":"selectButton",children:selectButtonLabel}),(0,jsx_runtime.jsx)(Button.z,{size:"small",variant:"supplementary",iconLeft:(0,jsx_runtime.jsx)(IconCross.IconCross,{"aria-hidden":!0}),onClick:function onClick(){return onCloseButtonClick()},"data-testid":"closeButton",children:closeButtonLabel})]})]})})}))};try{DatePicker.displayName="DatePicker",DatePicker.__docgenInfo={description:"",displayName:"DatePicker",props:{className:{defaultValue:null,description:"CSS class to add to the root element.",name:"className",required:!1,type:{name:"string"}},disableConfirmation:{defaultValue:null,description:"Select the date from date picker without confirmation button.",name:"disableConfirmation",required:!1,type:{name:"boolean"}},style:{defaultValue:null,description:"Style to apply to the root element.",name:"style",required:!1,type:{name:"CSSProperties"}},initialMonth:{defaultValue:null,description:"The initial month to show in the calendar.",name:"initialMonth",required:!1,type:{name:"Date"}},minDate:{defaultValue:null,description:"Allow navigation after (and including) the specified date.",name:"minDate",required:!1,type:{name:"Date"}},maxDate:{defaultValue:null,description:"Allow navigation before (and including) the specified date.",name:"maxDate",required:!1,type:{name:"Date"}},month:{defaultValue:null,description:"The rendered month. Implement [[onMonthChange]] to enable months\nnavigation.",name:"month",required:!1,type:{name:"Date"}},selected:{defaultValue:null,description:"Date currently selected",name:"selected",required:!1,type:{name:"Date"}},language:{defaultValue:null,description:"Language of the user interface",name:"language",required:!1,type:{name:"enum",value:[{value:'"en"'},{value:'"fi"'},{value:'"sv"'}]}},selectButtonLabel:{defaultValue:null,description:"Label for the select button.",name:"selectButtonLabel",required:!0,type:{name:"string"}},closeButtonLabel:{defaultValue:null,description:"Label for the close button.",name:"closeButtonLabel",required:!0,type:{name:"string"}},onDaySelect:{defaultValue:null,description:"Event handler when the user clicks on a day.",name:"onDaySelect",required:!1,type:{name:"DayClickEventHandler"}},onMonthChange:{defaultValue:null,description:"Event handler when the month changes.",name:"onMonthChange",required:!1,type:{name:"MonthChangeEventHandler"}},onNextClick:{defaultValue:null,description:"Event handler when the next month button is clicked.",name:"onNextClick",required:!1,type:{name:"MonthChangeEventHandler"}},onPrevClick:{defaultValue:null,description:"Event handler when the previous month button is clicked.",name:"onPrevClick",required:!1,type:{name:"MonthChangeEventHandler"}},onCloseButtonClick:{defaultValue:null,description:"Event handler for the close button",name:"onCloseButtonClick",required:!0,type:{name:"(focus?: boolean) => void"}},isDateDisabledBy:{defaultValue:null,description:"Disables date(s) in datepicker calendar based on conditional function",name:"isDateDisabledBy",required:!1,type:{name:"(Date: any) => boolean"}},open:{defaultValue:null,description:"Boolean value for showing the DatePicker",name:"open",required:!1,type:{name:"boolean"}},inputRef:{defaultValue:null,description:"Reference object to DateInput",name:"inputRef",required:!1,type:{name:"MutableRefObject"}},toggleButton:{defaultValue:null,description:"Calendar toggle button",name:"toggleButton",required:!1,type:{name:"HTMLButtonElement"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/dateInput/components/datePicker/DatePicker.tsx#DatePicker"]={docgenInfo:DatePicker.__docgenInfo,name:"DatePicker",path:"src/components/dateInput/components/datePicker/DatePicker.tsx#DatePicker"})}catch(__react_docgen_typescript_loader_error){}const DateInput_module_wrapper="DateInput_wrapper__Uc4NQ";var _excluded=["closeButtonLabel","disableConfirmation","disableDatePicker","initialMonth","language","openButtonAriaLabel","selectButtonLabel","defaultValue","value","minDate","maxDate","isDateDisabledBy"],DateInput=react.forwardRef((function(_ref,ref){var closeButtonLabel=_ref.closeButtonLabel,_ref$disableConfirmat=_ref.disableConfirmation,disableConfirmation=void 0!==_ref$disableConfirmat&&_ref$disableConfirmat,_ref$disableDatePicke=_ref.disableDatePicker,disableDatePicker=void 0!==_ref$disableDatePicke&&_ref$disableDatePicke,_ref$initialMonth=_ref.initialMonth,initialMonth=void 0===_ref$initialMonth?new Date:_ref$initialMonth,_ref$language=_ref.language,language=void 0===_ref$language?"en":_ref$language,openButtonAriaLabel=_ref.openButtonAriaLabel,selectButtonLabel=_ref.selectButtonLabel,defaultValue=_ref.defaultValue,providedValue=_ref.value,minDate=_ref.minDate,maxDate=_ref.maxDate,isDateDisabledBy=_ref.isDateDisabledBy,textInputProps=(0,objectWithoutProperties.Z)(_ref,_excluded),inputRef=(0,react.useRef)(),didMount=(0,react.useRef)(!1),_useState=(0,react.useState)(providedValue||defaultValue||""),_useState2=(0,slicedToArray.Z)(_useState,2),inputValue=_useState2[0],setInputValue=_useState2[1],_useState3=(0,react.useState)(!1),_useState4=(0,slicedToArray.Z)(_useState3,2),showPicker=_useState4[0],setShowPicker=_useState4[1],getToggleButton=function getToggleButton(){var _inputRef$current;return null===(_inputRef$current=inputRef.current)||void 0===_inputRef$current?void 0:_inputRef$current.parentNode.querySelector("button")};(0,react.useEffect)((function(){didMount.current?setInputValue(providedValue||""):didMount.current=!0}),[providedValue]);var closeDatePicker=function closeDatePicker(){var focusToggleButton=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(setShowPicker(!1),inputRef.current&&focusToggleButton){var button=getToggleButton();button&&button.focus()}};(0,react.useEffect)((function(){ref&&(0,mergeRefWithInternalRef.Z)(ref,inputRef)}),[inputRef,ref]);var stringToDate=(0,react.useCallback)((function(value){return(0,parse.Z)(value,"d.M.yyyy",new Date)}),["d.M.yyyy"]),handleInputChange=function handleInputChange(value){var newValue=value.replace(/[^0-9.]+/g,"");setInputValue(newValue);var valueAsDate=stringToDate(newValue);textInputProps.onChange&&textInputProps.onChange(newValue,valueAsDate)},inputValueAsDate=stringToDate(inputValue),toggleButton=getToggleButton(),minDateToUse=minDate&&(0,isValid.Z)(minDate)?minDate:(0,startOfMonth.Z)((0,subYears.Z)(new Date,10)),maxDateToUse=maxDate&&(0,isValid.Z)(maxDate)?maxDate:(0,endOfMonth.Z)((0,addYears.Z)((0,max.Z)([minDateToUse,new Date]),10));return(0,jsx_runtime.jsx)("div",{lang:language,className:DateInput_module_wrapper,children:(0,jsx_runtime.jsx)(TextInput.o,(0,objectSpread2.Z)((0,objectSpread2.Z)({},textInputProps),{},{buttonIcon:disableDatePicker?void 0:(0,jsx_runtime.jsx)(IconCalendar.IconCalendar,{"aria-hidden":!0}),buttonAriaLabel:disableDatePicker?void 0:function getOpenButtonLabel(){return openButtonAriaLabel||{en:"Choose date",fi:"Valitse päivämäärä",sv:"Välj datum"}[language]}(),onButtonClick:disableDatePicker?void 0:function onOpenButtonClick(event){event.preventDefault(),setShowPicker(!showPicker)},onChange:function onChange(event){handleInputChange(event.target.value)},value:inputValue,ref:inputRef,children:!1===disableDatePicker&&showPicker&&(0,jsx_runtime.jsx)(DatePicker,{language,disableConfirmation,selected:(0,isValid.Z)(inputValueAsDate)?inputValueAsDate:void 0,initialMonth,onDaySelect:function onDaySelect(day){closeDatePicker(),handleInputChange((0,format.Z)(day,"d.M.yyyy"))},onCloseButtonClick:function onCloseButtonClick(focusToggleButton){return closeDatePicker(focusToggleButton)},selectButtonLabel:function getSelectButtonLabel(){return selectButtonLabel||{en:"Select",fi:"Valitse",sv:"Välj"}[language]}(),closeButtonLabel:function getCloseButtonLabel(){return closeButtonLabel||{en:"Close",fi:"Sulje",sv:"Stäng"}[language]}(),minDate:minDateToUse,maxDate:maxDateToUse,isDateDisabledBy,open:showPicker,inputRef,toggleButton})}))})}));try{DateInput.displayName="DateInput",DateInput.__docgenInfo={description:"",displayName:"DateInput",props:{className:{defaultValue:null,description:"Additional class names to apply to the text input",name:"className",required:!1,type:{name:"string"}},id:{defaultValue:null,description:"The id of the input element",name:"id",required:!1,type:{name:"string"}},language:{defaultValue:{value:"en"},description:"Language",name:"language",required:!1,type:{name:"enum",value:[{value:'"en"'},{value:'"fi"'},{value:'"sv"'}]}},style:{defaultValue:null,description:"Override or extend the styles applied to the component",name:"style",required:!1,type:{name:"CSSProperties"}},children:{defaultValue:null,description:"Additional children to render after the input.",name:"children",required:!1,type:{name:"ReactNode"}},label:{defaultValue:null,description:"The label for the input",name:"label",required:!1,type:{name:"ReactNode"}},disabled:{defaultValue:null,description:"If `true`, the input will be disabled",name:"disabled",required:!1,type:{name:"boolean"}},type:{defaultValue:null,description:"Type of the input element",name:"type",required:!1,type:{name:"string"}},value:{defaultValue:null,description:"The value of the input element, required for a controlled component",name:"value",required:!1,type:{name:"string & (string | number | readonly string[])"}},defaultValue:{defaultValue:null,description:"The default input element value. Use when the component is not controlled",name:"defaultValue",required:!1,type:{name:"string & (string | number | readonly string[])"}},placeholder:{defaultValue:null,description:"Short hint displayed in the input before the user enters a value",name:"placeholder",required:!1,type:{name:"string"}},onChange:{defaultValue:null,description:"Callback fired when text input value is changed",name:"onChange",required:!1,type:{name:"(value: string, valueAsDate: Date) => void"}},readOnly:{defaultValue:null,description:"If `true`, prevents the user from changing the value of the field (not from interacting with the field)",name:"readOnly",required:!1,type:{name:"boolean"}},required:{defaultValue:null,description:"If `true`, the label is displayed as required and the `input` element will be required",name:"required",required:!1,type:{name:"boolean"}},errorText:{defaultValue:null,description:"The error text content that will be shown below the input",name:"errorText",required:!1,type:{name:"string"}},helperText:{defaultValue:null,description:"The helper text content that will be shown below the input",name:"helperText",required:!1,type:{name:"string"}},tooltipText:{defaultValue:null,description:"The text content of the tooltip",name:"tooltipText",required:!1,type:{name:"string"}},tooltipLabel:{defaultValue:null,description:"Aria-label text for the tooltip",name:"tooltipLabel",required:!1,type:{name:"string"}},tooltipButtonLabel:{defaultValue:null,description:"Aria-label text for the tooltip trigger button",name:"tooltipButtonLabel",required:!1,type:{name:"string"}},hideLabel:{defaultValue:null,description:"Hides the label above the input",name:"hideLabel",required:!1,type:{name:"boolean"}},invalid:{defaultValue:null,description:"If `true`, the input will be displayed in an invalid state.",name:"invalid",required:!1,type:{name:"boolean"}},successText:{defaultValue:null,description:"The success text content that will be shown below the input",name:"successText",required:!1,type:{name:"string"}},infoText:{defaultValue:null,description:"The info text content that will be shown below the input",name:"infoText",required:!1,type:{name:"string"}},buttonIcon:{defaultValue:null,description:"Button icon",name:"buttonIcon",required:!1,type:{name:"ReactNode"}},buttonAriaLabel:{defaultValue:null,description:"Button aria-label",name:"buttonAriaLabel",required:!1,type:{name:"string"}},onButtonClick:{defaultValue:null,description:"Button click callback",name:"onButtonClick",required:!1,type:{name:"MouseEventHandler"}},closeButtonLabel:{defaultValue:null,description:"Close button label",name:"closeButtonLabel",required:!1,type:{name:"string"}},disableConfirmation:{defaultValue:{value:"false"},description:"Select the date from date picker without confirmation button.",name:"disableConfirmation",required:!1,type:{name:"boolean"}},disableDatePicker:{defaultValue:{value:"false"},description:"Show the input without the date picker.",name:"disableDatePicker",required:!1,type:{name:"boolean"}},initialMonth:{defaultValue:{value:"new Date()"},description:"The initial month open in calendar.",name:"initialMonth",required:!1,type:{name:"Date"}},openButtonAriaLabel:{defaultValue:null,description:"Calendar button aria-label",name:"openButtonAriaLabel",required:!1,type:{name:"string"}},selectButtonLabel:{defaultValue:null,description:"Select button label",name:"selectButtonLabel",required:!1,type:{name:"string"}},minDate:{defaultValue:null,description:"Minimum date to show in the datepicker calendar. Defaults to start of the month ten years before current date.",name:"minDate",required:!1,type:{name:"Date"}},maxDate:{defaultValue:null,description:"Maximum date to show in the datepicker calendar. Defaults to end of the month ten years from current date.",name:"maxDate",required:!1,type:{name:"Date"}},isDateDisabledBy:{defaultValue:null,description:"Disables date(s) based on conditional function",name:"isDateDisabledBy",required:!1,type:{name:"(date: any) => boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/dateInput/DateInput.tsx#DateInput"]={docgenInfo:DateInput.__docgenInfo,name:"DateInput",path:"src/components/dateInput/DateInput.tsx#DateInput"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/dropdown/combobox/Combobox.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{h:()=>Combobox});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),slicedToArray=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react=__webpack_require__("../../node_modules/react/index.js"),downshift_esm=__webpack_require__("./node_modules/downshift/dist/downshift.esm.js"),lodash_isequal=__webpack_require__("../../node_modules/lodash.isequal/index.js"),lodash_isequal_default=__webpack_require__.n(lodash_isequal),lodash_uniqueid=__webpack_require__("../../node_modules/lodash.uniqueid/index.js"),lodash_uniqueid_default=__webpack_require__.n(lodash_uniqueid),react_virtual=__webpack_require__("../../node_modules/react-virtual/dist/react-virtual.mjs");__webpack_require__("./src/styles/base.css");const Combobox_module={button:"Combobox_button__QXg9b",multiselect:"Combobox_multiselect__O4av3",multiselectIconAndInputWrapper:"Combobox_multiselectIconAndInputWrapper__8jMyd",hidden:"Combobox_hidden__gP-du",input:"Combobox_input__LXX4s",menuItem:"Combobox_menuItem__RLA9j",highlighted:"Combobox_highlighted__r8q+u",selected:"Combobox_selected__m7REq",checkbox:"Combobox_checkbox__ZtvHs",wrapper:"Combobox_wrapper__2QWwN",root:"Combobox_root__2iEEq",open:"Combobox_open__HwiUh",angleIcon:"Combobox_angleIcon__F2jpy",menu:"Combobox_menu__kpblc",icon:"Combobox_icon__8RxpF",disabled:"Combobox_disabled__CGI6r",virtualized:"Combobox_virtualized__H1GeS",helperText:"Combobox_helperText__y8EyI",invalid:"Combobox_invalid__X7ggT",errorText:"Combobox_errorText__31hjb",invalidIcon:"Combobox_invalidIcon__HYxU7",wrapperWithMultiSelectAndIcon:"Combobox_wrapperWithMultiSelectAndIcon__z7SG9",noToggle:"Combobox_noToggle__9yQP1",withClearButton:"Combobox_withClearButton__p0rDv",selectedItems:"Combobox_selectedItems__tfHsh",adjustSpacing:"Combobox_adjustSpacing__rkvhU",inputWithIcon:"Combobox_inputWithIcon__Rl73T",adjustSpacingForIcon:"Combobox_adjustSpacingForIcon__2uJ1t"};var FieldLabel=__webpack_require__("./src/internal/field-label/FieldLabel.tsx"),classNames=__webpack_require__("./src/utils/classNames.ts"),IconAngleDown=__webpack_require__("./src/icons/IconAngleDown.tsx"),IconAlertCircleFill=__webpack_require__("./src/icons/IconAlertCircleFill.tsx"),SelectedItems=__webpack_require__("./src/internal/selectedItems/SelectedItems.tsx"),Select=__webpack_require__("./src/components/dropdown/select/Select.tsx"),dropdownUtils=__webpack_require__("./src/components/dropdown/dropdownUtils.ts"),DropdownMenu=__webpack_require__("./src/internal/dropdownMenu/DropdownMenu.tsx"),getIsElementFocused=__webpack_require__("./src/utils/getIsElementFocused.ts"),getIsElementBlurred=__webpack_require__("./src/utils/getIsElementBlurred.ts"),useTheme=__webpack_require__("./src/hooks/useTheme.tsx"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js");var Combobox=function Combobox(props){var _props$defaultValue,_props$value,_ref,_props$defaultValue2,ariaLabelledBy=props["aria-labelledby"],customAriaDescribedBy=props["aria-describedby"],catchEscapeKey=props.catchEscapeKey,_props$circularNaviga=props.circularNavigation,circularNavigation=void 0!==_props$circularNaviga&&_props$circularNaviga,className=props.className,_props$clearable=props.clearable,clearable=void 0===_props$clearable?props.multiselect:_props$clearable,_props$disabled=props.disabled,disabled=void 0!==_props$disabled&&_props$disabled,error=props.error,_props$getA11ySelecti=props.getA11ySelectionMessage,getA11ySelectionMessage=void 0===_props$getA11ySelecti?function(){return""}:_props$getA11ySelecti,_props$getA11yStatusM=props.getA11yStatusMessage,getA11yStatusMessage=void 0===_props$getA11yStatusM?function(){return""}:_props$getA11yStatusM,helper=props.helper,_props$id=props.id,id=void 0===_props$id?lodash_uniqueid_default()("hds-combobox-"):_props$id,_props$invalid=props.invalid,invalid=void 0!==_props$invalid&&_props$invalid,isOptionDisabled=props.isOptionDisabled,label=props.label,_props$onBlur=props.onBlur,onBlur=void 0===_props$onBlur?function(){return null}:_props$onBlur,_props$onFocus=props.onFocus,onFocus=void 0===_props$onFocus?function(){return null}:_props$onFocus,optionKeyField=props.optionKeyField,_props$optionLabelFie=props.optionLabelField,optionLabelField=void 0===_props$optionLabelFie?"label":_props$optionLabelFie,_props$options=props.options,options=void 0===_props$options?[]:_props$options,placeholder=props.placeholder,required=props.required,_props$showToggleButt=props.showToggleButton,showToggleButton=void 0===_props$showToggleButt||_props$showToggleButt,style=props.style,theme=props.theme,_props$virtualized=props.virtualized,virtualized=void 0!==_props$virtualized&&_props$virtualized,_props$visibleOptions=props.visibleOptions,visibleOptions=void 0===_props$visibleOptions?5:_props$visibleOptions,userLandFilter=props.filter,toggleButtonAriaLabel=props.toggleButtonAriaLabel,tooltipLabel=props.tooltipLabel,tooltipButtonLabel=props.tooltipButtonLabel,tooltipText=props.tooltipText,controlled=props.multiselect&&void 0!==props.value,customThemeClass=(0,useTheme.F)(Combobox_module.root,theme),selectedItemsContainerRef=(0,react.useRef)(),inputRef=(0,react.useRef)(),menuRef=react.useRef(),toggleButtonRef=react.useRef(null),_useState=(0,react.useState)(!1),_useState2=(0,slicedToArray.Z)(_useState,2),hasFocus=_useState2[0],setFocus=_useState2[1],_useState3=(0,react.useState)(!1),_useState4=(0,slicedToArray.Z)(_useState3,2),isClicking=_useState4[0],setIsClicking=_useState4[1],_useState5=(0,react.useState)(""),_useState6=(0,slicedToArray.Z)(_useState5,2),search=_useState6[0],setSearch=_useState6[1],getFilteredItems=(0,react.useMemo)((function(){var filter=userLandFilter||function getDefaultFilter(labelField){return function(options,search){return options.filter((function(option){var label=option[labelField];return label?"string"==typeof label?label.toLowerCase().indexOf(search.toLowerCase())>-1:(console.warn("Filtering failed because field ".concat(labelField," has a value that is not a string")),!1):(console.warn("Filtering failed because field ".concat(labelField," could not be found from OptionType")),!1)}))}}(optionLabelField);return filter(options,search)}),[options,search,userLandFilter,optionLabelField]),virtualizer=(0,react_virtual.o)({size:getFilteredItems.length,parentRef:menuRef,estimateSize:(0,react.useCallback)((function(){return dropdownUtils.V}),[]),overscan:visibleOptions}),focusInput=function focusInput(){inputRef.current&&inputRef.current.focus()},_useMultipleSelection=(0,downshift_esm.M$)((0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)({defaultActiveIndex:0,initialActiveIndex:0},props.multiselect&&{initialSelectedItems:null!==(_props$defaultValue=props.defaultValue)&&void 0!==_props$defaultValue?_props$defaultValue:[]}),props.multiselect&&void 0!==props.value&&{selectedItems:null!==(_props$value=props.value)&&void 0!==_props$value?_props$value:[]}),{},{getA11yRemovalMessage:null!==(_ref=props.multiselect&&props.getA11yRemovalMessage)&&void 0!==_ref?_ref:function(){return""},onSelectedItemsChange:function onSelectedItemsChange(_ref2){var _selectedItems=_ref2.selectedItems;return props.multiselect&&"function"==typeof props.onChange&&props.onChange(_selectedItems)},onStateChange:function onStateChange(changes){return(0,Select.xo)(changes,activeIndex,selectedItemsContainerRef.current)},stateReducer:function stateReducer(state,actionAndChanges){return(0,Select.WP)(state,actionAndChanges,controlled)}})),activeIndex=_useMultipleSelection.activeIndex,addSelectedItem=_useMultipleSelection.addSelectedItem,getDropdownProps=_useMultipleSelection.getDropdownProps,getSelectedItemProps=_useMultipleSelection.getSelectedItemProps,removeSelectedItem=_useMultipleSelection.removeSelectedItem,reset=_useMultipleSelection.reset,selectedItems=_useMultipleSelection.selectedItems,setActiveIndex=_useMultipleSelection.setActiveIndex,_setSelectedItems=_useMultipleSelection.setSelectedItems,_useCombobox=(0,downshift_esm.Kb)((0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)({circularNavigation,id,items:getFilteredItems},!1===props.multiselect&&{initialSelectedItem:null!==(_props$defaultValue2=props.defaultValue)&&void 0!==_props$defaultValue2?_props$defaultValue2:null}),!1===props.multiselect&&void 0!==props.value&&{selectedItem:props.value}),{},{onInputValueChange:function onInputValueChange(_ref3){var inputValue=_ref3.inputValue;return setSearch(inputValue)},getA11ySelectionMessage,getA11yStatusMessage,itemToString:function itemToString(item){var _item$optionLabelFiel;return item&&null!==(_item$optionLabelFiel=item[optionLabelField])&&void 0!==_item$optionLabelFiel?_item$optionLabelFiel:""},onSelectedItemChange:function onSelectedItemChange(_ref4){var _selectedItem=_ref4.selectedItem;return!1===props.multiselect&&"function"==typeof props.onChange&&props.onChange(_selectedItem)},onStateChange:function onStateChange(_ref5){var type=_ref5.type,_selectedItem=_ref5.selectedItem,_useCombobox$stateCha=downshift_esm.Kb.stateChangeTypes,InputBlur=_useCombobox$stateCha.InputBlur,InputKeyDownEnter=_useCombobox$stateCha.InputKeyDownEnter,ItemClick=_useCombobox$stateCha.ItemClick;(type===InputBlur||type===InputKeyDownEnter||type===ItemClick)&&props.multiselect&&_selectedItem&&((0,dropdownUtils.l)(selectedItems,_selectedItem)?_setSelectedItems(selectedItems.filter((function(item){return!lodash_isequal_default()(item,_selectedItem)}))):addSelectedItem(_selectedItem),selectItem(null))},stateReducer:function stateReducer(state,_ref6){var type=_ref6.type,changes=_ref6.changes,_useCombobox$stateCha2=downshift_esm.Kb.stateChangeTypes,ItemClick=_useCombobox$stateCha2.ItemClick,InputBlur=_useCombobox$stateCha2.InputBlur,FunctionSelectItem=_useCombobox$stateCha2.FunctionSelectItem,InputKeyDownEnter=_useCombobox$stateCha2.InputKeyDownEnter,_selectedItem=changes.selectedItem,inputValue=changes.inputValue;if(!props.multiselect){if(_selectedItem&&_selectedItem[optionLabelField]!==inputValue)return(0,objectSpread2.Z)((0,objectSpread2.Z)({},changes),{},{selectedItem:null});if(type===InputBlur&&!_selectedItem)return(0,objectSpread2.Z)((0,objectSpread2.Z)({},changes),{},{inputValue:""})}if(props.multiselect){if(type===InputBlur)return state.selectedItem?(0,objectSpread2.Z)((0,objectSpread2.Z)({},changes),{},{inputValue:""}):(0,objectSpread2.Z)((0,objectSpread2.Z)({},changes),{},{selectedItem:null,inputValue:""});if(type===ItemClick)return(0,objectSpread2.Z)((0,objectSpread2.Z)({},changes),{},{isOpen:state.isOpen,highlightedIndex:state.highlightedIndex,inputValue:state.inputValue});if(type===InputKeyDownEnter)return(0,objectSpread2.Z)((0,objectSpread2.Z)({},changes),{},{inputValue:""});if(type===FunctionSelectItem)return(0,objectSpread2.Z)((0,objectSpread2.Z)({},changes),{},{inputValue:state.inputValue})}return changes}})),_getItemProps=_useCombobox.getItemProps,getLabelProps=_useCombobox.getLabelProps,getMenuProps=_useCombobox.getMenuProps,getToggleButtonProps=_useCombobox.getToggleButtonProps,highlightedIndex=_useCombobox.highlightedIndex,isOpen=_useCombobox.isOpen,resetCombobox=_useCombobox.reset,selectedItem=_useCombobox.selectedItem,selectItem=_useCombobox.selectItem,closeMenu=_useCombobox.closeMenu,setInputValue=_useCombobox.setInputValue,getInputProps=_useCombobox.getInputProps,getComboboxProps=_useCombobox.getComboboxProps,showClearButtonForSingleSelect=clearable&&!props.multiselect&&selectedItem,ignoreFocusHandlerWhenClickingItem=function ignoreFocusHandlerWhenClickingItem(handler){return function(event){isClicking||handler(event)}},handleMultiSelectInputKeyDown=function handleMultiSelectInputKeyDown(e){(catchEscapeKey&&"Escape"===e.key&&e.stopPropagation()," "===e.key&&highlightedIndex>-1)&&(e.preventDefault(),function setSelectedItems(itemToBeSelected){(0,dropdownUtils.l)(selectedItems,itemToBeSelected)?_setSelectedItems(selectedItems.filter((function(item){return!lodash_isequal_default()(item,itemToBeSelected)}))):addSelectedItem(itemToBeSelected)}(getFilteredItems[highlightedIndex]));!isOpen||"Backspace"!==e.key&&"ArrowLeft"!==e.key||(e.nativeEvent.preventDownshiftDefault=!0),"Tab"===e.key&&highlightedIndex>-1&&isOpen&&closeMenu()};props.multiselect||getDropdownProps({},{suppressRefError:!0});var isInputVisible=!props.multiselect||isOpen||!isOpen&&0===selectedItems.length,inputAriaLabel="".concat(getLabelProps().id).concat(ariaLabelledBy?" ".concat(ariaLabelledBy):"").concat(error?" ".concat(id,"-error"):"").concat(helper?" ".concat(id,"-helper"):""," ").concat(getInputProps().id),renderInput=function renderInput(){return(0,jsx_runtime.jsx)("input",(0,objectSpread2.Z)((0,objectSpread2.Z)({},getInputProps((0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)({},invalid&&{"aria-invalid":!0}),props.multiselect&&(0,objectSpread2.Z)({},getDropdownProps({onKeyDown:handleMultiSelectInputKeyDown,ref:inputRef}))),{},{type:"text",disabled,required,role:getComboboxProps().role,"aria-expanded":getComboboxProps()["aria-expanded"],"aria-haspopup":getComboboxProps()["aria-haspopup"],"aria-owns":getComboboxProps()["aria-owns"],"aria-labelledby":inputAriaLabel,"aria-describedby":customAriaDescribedBy}))),{},{placeholder,className:(0,classNames.Z)(Combobox_module.input,!isInputVisible&&Combobox_module.hidden,!showToggleButton&&Combobox_module.noToggle,hasFocus&&selectedItems.length>0&&Combobox_module.adjustSpacing,props.icon&&props.multiselect&&Combobox_module.inputWithIcon,showClearButtonForSingleSelect&&Combobox_module.withClearButton),autoCorrect:"off",autoComplete:"off"}))};return(0,jsx_runtime.jsxs)("div",{className:(0,classNames.Z)(Combobox_module.root,invalid&&Combobox_module.invalid,disabled&&Combobox_module.disabled,isOpen&&Combobox_module.open,props.multiselect&&Combobox_module.multiselect,customThemeClass,className),style,children:[label&&(0,jsx_runtime.jsx)(FieldLabel.Q,(0,objectSpread2.Z)((0,objectSpread2.Z)({label,required},getLabelProps()),{},{tooltipLabel,tooltipButtonLabel,tooltipText})),(0,jsx_runtime.jsxs)("div",{onFocus:ignoreFocusHandlerWhenClickingItem((function handleWrapperFocus(e){(0,getIsElementFocused.Z)(e)&&(setFocus(!0),onFocus())})),onBlur:ignoreFocusHandlerWhenClickingItem((function handleWrapperBlur(e){(0,getIsElementBlurred.Z)(e)&&(setFocus(!1),onBlur())})),onClick:function handleWrapperClick(e){var selectedItemsContainerEl=selectedItemsContainerRef.current;selectedItemsContainerEl!==e.target&&(null==selectedItemsContainerEl?void 0:selectedItemsContainerEl.contains(e.target))||focusInput()},onMouseUp:function onMouseUp(){setIsClicking(!1),focusInput()},className:(0,classNames.Z)(Combobox_module.wrapper,props.multiselect&&props.icon&&Combobox_module.wrapperWithMultiSelectAndIcon),ref:getComboboxProps().ref,children:[props.multiselect&&selectedItems.length>0&&(0,jsx_runtime.jsx)(SelectedItems.A,{activeIndex,className:Combobox_module.selectedItems,clearable,clearButtonAriaLabel:props.clearButtonAriaLabel,dropdownId:id,getSelectedItemProps,hideItems:!hasFocus,onClear:function onClear(){reset(),setInputValue(""),toggleButtonRef.current.focus()},onRemove:removeSelectedItem,optionKeyField:optionKeyField||optionLabelField,optionLabelField,removeButtonAriaLabel:props.selectedItemRemoveButtonAriaLabel,selectedItems,selectedItemSrLabel:props.selectedItemSrLabel,selectedItemsContainerRef,setActiveIndex,toggleButtonHidden:!showToggleButton}),!1===props.multiselect&&props.icon&&(0,jsx_runtime.jsx)("span",{className:Combobox_module.icon,"aria-hidden":!0,children:props.icon}),props.multiselect&&props.icon?(0,jsx_runtime.jsxs)("div",{className:(0,classNames.Z)(Combobox_module.multiselectIconAndInputWrapper,!isInputVisible&&Combobox_module.hidden),children:[(0,jsx_runtime.jsx)("span",{className:(0,classNames.Z)(Combobox_module.icon,hasFocus&&selectedItems.length>0&&Combobox_module.adjustSpacingForIcon),"aria-hidden":!0,children:props.icon}),renderInput()]}):renderInput(),(0,jsx_runtime.jsx)("button",(0,objectSpread2.Z)((0,objectSpread2.Z)({type:"button"},getToggleButtonProps((0,objectSpread2.Z)((0,objectSpread2.Z)({disabled,className:(0,classNames.Z)(Combobox_module.button,!showToggleButton&&Combobox_module.hidden),"aria-label":"".concat(label,": ").concat(toggleButtonAriaLabel),"aria-expanded":isOpen},invalid&&{"aria-invalid":!0}),{},{ref:toggleButtonRef}))),{},{children:(0,jsx_runtime.jsx)(IconAngleDown.IconAngleDown,{className:Combobox_module.angleIcon,"aria-hidden":!0})})),showClearButtonForSingleSelect&&(0,jsx_runtime.jsx)(SelectedItems.C,{toggleButtonHidden:!showToggleButton,onClear:function onClear(){resetCombobox(),toggleButtonRef.current.focus()},clearButtonAriaLabel:props.clearButtonAriaLabel}),(0,jsx_runtime.jsx)(DropdownMenu.h,{getItemProps:function getItemProps(item,index,selected,optionDisabled,virtualRow){return _getItemProps((0,objectSpread2.Z)({item,index,disabled:optionDisabled,className:(0,classNames.Z)(Combobox_module.menuItem,highlightedIndex===index&&Combobox_module.highlighted,selected&&Combobox_module.selected,optionDisabled&&Combobox_module.disabled,virtualized&&Combobox_module.virtualized),onMouseDown:function onMouseDown(){setIsClicking(!0)},onClick:function onClick(){setIsClicking(!1)}},virtualRow&&{style:{transform:"translateY(".concat(virtualRow.start,"px")},ref:virtualRow.measureRef}))},isOptionDisabled,menuProps:getMenuProps((0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)({},props.multiselect&&{"aria-multiselectable":!0}),required&&{"aria-required":!0}),{},{style:{maxHeight:dropdownUtils.V*visibleOptions},ref:menuRef,onMouseLeave:function onMouseLeave(event){event.nativeEvent.preventDownshiftDefault=!0}})),menuStyles:Combobox_module,multiselect:props.multiselect,open:isOpen,optionKeyField:optionKeyField||optionLabelField,optionLabelField,options:getFilteredItems,selectedItem,selectedItems,virtualizer:virtualized&&virtualizer})]}),invalid&&error&&(0,jsx_runtime.jsxs)("div",{id:"".concat(id,"-error"),className:Combobox_module.errorText,"aria-hidden":!0,children:[(0,jsx_runtime.jsx)(IconAlertCircleFill.IconAlertCircleFill,{className:Combobox_module.invalidIcon}),error]}),helper&&(0,jsx_runtime.jsx)("div",{id:"".concat(id,"-helper"),className:Combobox_module.helperText,"aria-hidden":!0,children:helper})]})};Combobox.defaultProps={multiselect:!1};try{Combobox.displayName="Combobox",Combobox.__docgenInfo={description:"",displayName:"Combobox",props:{label:{defaultValue:null,description:"The label for the dropdown.",name:"label",required:!1,type:{name:"ReactNode"}},"aria-labelledby":{defaultValue:null,description:"The id of the external label element. Use this if you use external label instead of label.",name:"aria-labelledby",required:!1,type:{name:"string"}},circularNavigation:{defaultValue:null,description:"When `true`, allows moving from the first item to the last item with Arrow Up, and vice versa using Arrow Down.",name:"circularNavigation",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"Additional class names to apply to the select",name:"className",required:!1,type:{name:"string"}},clearable:{defaultValue:null,description:"Flag for whether the clear selections button should be displayed",name:"clearable",required:!1,type:{name:"boolean"}},disabled:{defaultValue:null,description:"If `true`, the dropdown will be disabled",name:"disabled",required:!1,type:{name:"boolean"}},getA11ySelectionMessage:{defaultValue:null,description:"Function used to generate an ARIA a11y message when an item is selected. See [here](https://github.com/downshift-js/downshift/tree/master/src/hooks/useSelect#geta11yselectionmessage) for more information.",name:"getA11ySelectionMessage",required:!1,type:{name:"(options: A11yStatusMessageOptions) => string"}},getA11yStatusMessage:{defaultValue:null,description:"Function used to generate an ARIA a11y message when the status changes. See [here](https://github.com/downshift-js/downshift/tree/master/src/hooks/useSelect#geta11ystatusmessage) for more information.",name:"getA11yStatusMessage",required:!1,type:{name:"(options: A11yStatusMessageOptions) => string"}},helper:{defaultValue:null,description:"A helper text that will be shown below the dropdown",name:"helper",required:!1,type:{name:"ReactNode"}},error:{defaultValue:null,description:"An error text that will be shown below the dropdown when `invalid` is true",name:"error",required:!1,type:{name:"ReactNode"}},icon:{defaultValue:null,description:"Icon to be shown in the dropdown",name:"icon",required:!1,type:{name:"ReactNode"}},id:{defaultValue:null,description:"Used to generate the first part of the id on the elements",name:"id",required:!1,type:{name:"string"}},invalid:{defaultValue:null,description:"If `true`, the input and `helper` will be displayed in an invalid state",name:"invalid",required:!1,type:{name:"boolean"}},isOptionDisabled:{defaultValue:null,description:"A function used to detect whether an option is disabled",name:"isOptionDisabled",required:!1,type:{name:"(option: OptionType, index: number) => boolean"}},onBlur:{defaultValue:null,description:"Callback function fired when the state is changed",name:"onBlur",required:!1,type:{name:"() => void"}},onFocus:{defaultValue:null,description:"Callback function fired when the component is focused",name:"onFocus",required:!1,type:{name:"() => void"}},optionKeyField:{defaultValue:null,description:"Sets the data item field that represents the item key. Key needs to be unique between items.\nE.g. an `optionKeyField` value of `'bar'` and a data item `{ foo: 'Label', bar: 'value' }`, would use `'value'` as the key in the menu for that specific item\nUses value of `optionLabelField` by default.",name:"optionKeyField",required:!1,type:{name:"string"}},optionLabelField:{defaultValue:null,description:"Sets the data item field that represents the item label\nE.g. an `optionLabelField` value of `'foo'` and a data item `{ foo: 'Label', bar: 'value' }`, would display `Label` in the menu for that specific item",name:"optionLabelField",required:!1,type:{name:"string"}},options:{defaultValue:null,description:"Array of options that should be shown in the menu",name:"options",required:!0,type:{name:"OptionType[]"}},placeholder:{defaultValue:null,description:"Short hint displayed in the dropdown before the user enters a value",name:"placeholder",required:!1,type:{name:"string"}},required:{defaultValue:null,description:"If `true`, marks the dropdown as required",name:"required",required:!1,type:{name:"boolean"}},style:{defaultValue:null,description:"Override or extend the root styles applied to the component",name:"style",required:!1,type:{name:"CSSProperties"}},theme:{defaultValue:null,description:"Custom theme styles",name:"theme",required:!1,type:{name:"SelectCustomTheme"}},virtualized:{defaultValue:null,description:"If `true`, the menu options will be virtualized. This greatly increases performance when there are a lot of options,\nbut screen readers won't be able to know how many options there are.",name:"virtualized",required:!1,type:{name:"boolean"}},visibleOptions:{defaultValue:null,description:"Sets the number of options that are visible in the menu before it becomes scrollable",name:"visibleOptions",required:!1,type:{name:"number"}},tooltipLabel:{defaultValue:null,description:"Aria-label text for the tooltip",name:"tooltipLabel",required:!1,type:{name:"string"}},tooltipButtonLabel:{defaultValue:null,description:"Aria-label text for the tooltip trigger button",name:"tooltipButtonLabel",required:!1,type:{name:"string"}},tooltipText:{defaultValue:null,description:"The text content of the tooltip",name:"tooltipText",required:!1,type:{name:"string"}},clearButtonAriaLabel:{defaultValue:null,description:"The aria-label for the clear button",name:"clearButtonAriaLabel",required:!1,type:{name:"string"}},multiselect:{defaultValue:{value:"false"},description:"When `true`, enables selecting multiple values",name:"multiselect",required:!1,type:{name:"boolean"}},defaultValue:{defaultValue:null,description:"Value that should be selected when the dropdown is initialized\nValue(s) that should be selected when the dropdown is initialized",name:"defaultValue",required:!1,type:{name:"OptionType | OptionType[]"}},onChange:{defaultValue:null,description:"Callback function fired when the state is changed",name:"onChange",required:!1,type:{name:"((selected: OptionType) => void) | ((selected: OptionType[]) => void)"}},value:{defaultValue:null,description:"The selected value\nThe selected value(s)",name:"value",required:!1,type:{name:"OptionType | OptionType[]"}},"aria-describedby":{defaultValue:null,description:"Custom aria-describedby added to the input element",name:"aria-describedby",required:!1,type:{name:"string"}},catchEscapeKey:{defaultValue:null,description:"Prevents further propagation of the 'Escape' onKeyDown event when the menu is closed by pressing Esc.\nUseful e.g. when the component is used inside a modal.",name:"catchEscapeKey",required:!1,type:{name:"boolean"}},filter:{defaultValue:null,description:"If provided, this filter function will be used for filtering the\ncombobox suggestions. If this prop is not provided, the default\nfilter implementation is used. The default implementation assumes\nthat the `optionLabelField` prop points to a string value that it\ncan compare with the search value.",name:"filter",required:!1,type:{name:"FilterFunction"}},showToggleButton:{defaultValue:null,description:"If `true`, displays a menu toggle button in the combobox.",name:"showToggleButton",required:!1,type:{name:"boolean"}},toggleButtonAriaLabel:{defaultValue:null,description:"aria-label for the menu toggle button. The label for the combobox will be prepended to the given value.",name:"toggleButtonAriaLabel",required:!0,type:{name:"string"}},getA11yRemovalMessage:{defaultValue:null,description:"Function used to generate an ARIA a11y message when an item is removed. See [here](https://github.com/downshift-js/downshift/tree/master/src/hooks/useMultipleSelection#geta11yremovalmessage) for more information.",name:"getA11yRemovalMessage",required:!1,type:{name:"(options: A11yRemovalMessage) => string"}},selectedItemRemoveButtonAriaLabel:{defaultValue:null,description:"The aria-label for the selected item remove button.\nYou can use a special {value} token that will be replaced with the actual item value.\nE.g. an item with the label Foo and property value of `'Remove ${value}'` would become `aria-label=\"Remove Foo\"`.",name:"selectedItemRemoveButtonAriaLabel",required:!0,type:{name:"string"}},selectedItemSrLabel:{defaultValue:null,description:"A label for the selected items that is only visible to screen readers. Can be used to to give screen reader users additional information about the selected item.\nYou can use a special {value} token that will be replaced with the actual item value.\nE.g. an item with the label Foo and property value of `'Selected item ${value}'` would become `aria-label=\"Selected item Foo\"`.",name:"selectedItemSrLabel",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/dropdown/combobox/Combobox.tsx#Combobox"]={docgenInfo:Combobox.__docgenInfo,name:"Combobox",path:"src/components/dropdown/combobox/Combobox.tsx#Combobox"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/dropdown/dropdownUtils.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{V:()=>DROPDOWN_MENU_ITEM_HEIGHT,l:()=>getIsInSelectedOptions});var lodash_isequal__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/lodash.isequal/index.js"),lodash_isequal__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(lodash_isequal__WEBPACK_IMPORTED_MODULE_0__),DROPDOWN_MENU_ITEM_HEIGHT=52;function getIsInSelectedOptions(selectedOptions,item){return selectedOptions.some((function(selectedOption){return lodash_isequal__WEBPACK_IMPORTED_MODULE_0___default()(selectedOption,item)}))}},"./src/components/dropdown/select/Select.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Ph:()=>Select,WP:()=>multiSelectReducer,xo:()=>onMultiSelectStateChange});var slicedToArray=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),react=__webpack_require__("../../node_modules/react/index.js"),downshift_esm=__webpack_require__("./node_modules/downshift/dist/downshift.esm.js"),lodash_isequal=__webpack_require__("../../node_modules/lodash.isequal/index.js"),lodash_isequal_default=__webpack_require__.n(lodash_isequal),lodash_uniqueid=__webpack_require__("../../node_modules/lodash.uniqueid/index.js"),lodash_uniqueid_default=__webpack_require__.n(lodash_uniqueid),react_virtual=__webpack_require__("../../node_modules/react-virtual/dist/react-virtual.mjs");__webpack_require__("./src/styles/base.css");const Select_module={button:"Select_button__46z4E",multiselect:"Select_multiselect__D7Hfm",angleIcon:"Select_angleIcon__ObSY4",menuItem:"Select_menuItem__bgXLl",highlighted:"Select_highlighted__CTWnE",selected:"Select_selected__TfwgD",checkbox:"Select_checkbox__NMHNC",wrapper:"Select_wrapper__gpALI",root:"Select_root__5RYUR",open:"Select_open__T3gsk",menu:"Select_menu__ut2ql",icon:"Select_icon__yh+Ic",disabled:"Select_disabled__9eMhN",virtualized:"Select_virtualized__DD-cO",helperText:"Select_helperText__8yL4j",invalid:"Select_invalid__k0jk6",errorText:"Select_errorText__LPbll",invalidIcon:"Select_invalidIcon__dDKCH",placeholder:"Select_placeholder__x+7Mk",buttonLabel:"Select_buttonLabel__GgLjp",buttonLabelWithClearButton:"Select_buttonLabelWithClearButton__q90mN"};var FieldLabel=__webpack_require__("./src/internal/field-label/FieldLabel.tsx"),classNames=__webpack_require__("./src/utils/classNames.ts"),IconAngleDown=__webpack_require__("./src/icons/IconAngleDown.tsx"),IconAlertCircleFill=__webpack_require__("./src/icons/IconAlertCircleFill.tsx"),SelectedItems=__webpack_require__("./src/internal/selectedItems/SelectedItems.tsx"),dropdownUtils=__webpack_require__("./src/components/dropdown/dropdownUtils.ts"),DropdownMenu=__webpack_require__("./src/internal/dropdownMenu/DropdownMenu.tsx"),getIsElementFocused=__webpack_require__("./src/utils/getIsElementFocused.ts"),getIsElementBlurred=__webpack_require__("./src/utils/getIsElementBlurred.ts"),useTheme=__webpack_require__("./src/hooks/useTheme.tsx"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js");function onMultiSelectStateChange(_ref,currentActiveIndex,selectedItemsContainerEl){var activeNode,type=_ref.type,activeIndex=_ref.activeIndex,_useMultipleSelection=downshift_esm.M$.stateChangeTypes,FunctionRemoveSelectedItem=_useMultipleSelection.FunctionRemoveSelectedItem,SelectedItemKeyDownBackspace=_useMultipleSelection.SelectedItemKeyDownBackspace;type!==FunctionRemoveSelectedItem&&type!==SelectedItemKeyDownBackspace||(activeNode=null==selectedItemsContainerEl?void 0:selectedItemsContainerEl.childNodes[currentActiveIndex],!activeIndex&&activeNode&&activeNode.focus())}function multiSelectReducer(state,_ref2,controlled){var type=_ref2.type,changes=_ref2.changes,_useMultipleSelection2=downshift_esm.M$.stateChangeTypes,FunctionRemoveSelectedItem=_useMultipleSelection2.FunctionRemoveSelectedItem,SelectedItemKeyDownBackspace=_useMultipleSelection2.SelectedItemKeyDownBackspace;if(type===FunctionRemoveSelectedItem||type===SelectedItemKeyDownBackspace){var removedItemIndex=state.selectedItems.findIndex((function(item){return!changes.selectedItems.includes(item)})),adjustedIndex=controlled?removedItemIndex+1:removedItemIndex,lastItemRemoved=removedItemIndex===changes.selectedItems.length;return(0,objectSpread2.Z)((0,objectSpread2.Z)({},changes),{},{activeIndex:lastItemRemoved?removedItemIndex-1:adjustedIndex})}return changes}var Select=function Select(props){var _props$defaultValue,_props$value,_ref3,_props$defaultValue2,ariaLabelledBy=props["aria-labelledby"],_props$circularNaviga=props.circularNavigation,circularNavigation=void 0!==_props$circularNaviga&&_props$circularNaviga,className=props.className,_props$clearable=props.clearable,clearable=void 0===_props$clearable?props.multiselect:_props$clearable,_props$disabled=props.disabled,disabled=void 0!==_props$disabled&&_props$disabled,error=props.error,_props$getA11ySelecti=props.getA11ySelectionMessage,getA11ySelectionMessage=void 0===_props$getA11ySelecti?function(){return""}:_props$getA11ySelecti,_props$getA11yStatusM=props.getA11yStatusMessage,getA11yStatusMessage=void 0===_props$getA11yStatusM?function(){return""}:_props$getA11yStatusM,helper=props.helper,_props$id=props.id,id=void 0===_props$id?lodash_uniqueid_default()("hds-select-"):_props$id,invalid=props.invalid,isOptionDisabled=props.isOptionDisabled,label=props.label,_props$onBlur=props.onBlur,onBlur=void 0===_props$onBlur?function(){return null}:_props$onBlur,_props$onFocus=props.onFocus,onFocus=void 0===_props$onFocus?function(){return null}:_props$onFocus,optionKeyField=props.optionKeyField,_props$optionLabelFie=props.optionLabelField,optionLabelField=void 0===_props$optionLabelFie?"label":_props$optionLabelFie,_props$options=props.options,options=void 0===_props$options?[]:_props$options,placeholder=props.placeholder,required=props.required,style=props.style,theme=props.theme,_props$virtualized=props.virtualized,virtualized=void 0!==_props$virtualized&&_props$virtualized,_props$visibleOptions=props.visibleOptions,visibleOptions=void 0===_props$visibleOptions?5:_props$visibleOptions,tooltipLabel=props.tooltipLabel,tooltipButtonLabel=props.tooltipButtonLabel,tooltipText=props.tooltipText,controlled=props.multiselect&&void 0!==props.value,customThemeClass=(0,useTheme.F)(Select_module.root,theme),selectedItemsContainerRef=(0,react.useRef)(),menuRef=react.useRef(),toggleButtonRef=react.useRef(null),_useState=(0,react.useState)(!1),_useState2=(0,slicedToArray.Z)(_useState,2),hasFocus=_useState2[0],setFocus=_useState2[1],virtualizer=(0,react_virtual.o)({size:options.length,parentRef:menuRef,estimateSize:(0,react.useCallback)((function(){return dropdownUtils.V}),[]),overscan:visibleOptions}),_useMultipleSelection3=(0,downshift_esm.M$)((0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)({defaultActiveIndex:0,initialActiveIndex:0},props.multiselect&&{initialSelectedItems:null!==(_props$defaultValue=props.defaultValue)&&void 0!==_props$defaultValue?_props$defaultValue:[]}),props.multiselect&&void 0!==props.value&&{selectedItems:null!==(_props$value=props.value)&&void 0!==_props$value?_props$value:[]}),{},{getA11yRemovalMessage:null!==(_ref3=props.multiselect&&props.getA11yRemovalMessage)&&void 0!==_ref3?_ref3:function(){return""},onSelectedItemsChange:function onSelectedItemsChange(_ref4){var _selectedItems=_ref4.selectedItems;return props.multiselect&&"function"==typeof props.onChange&&props.onChange(_selectedItems)},onStateChange:function onStateChange(changes){return onMultiSelectStateChange(changes,activeIndex,selectedItemsContainerRef.current)},stateReducer:function stateReducer(state,actionAndChanges){return multiSelectReducer(state,actionAndChanges,controlled)}})),activeIndex=_useMultipleSelection3.activeIndex,addSelectedItem=_useMultipleSelection3.addSelectedItem,getDropdownProps=_useMultipleSelection3.getDropdownProps,getSelectedItemProps=_useMultipleSelection3.getSelectedItemProps,removeSelectedItem=_useMultipleSelection3.removeSelectedItem,reset=_useMultipleSelection3.reset,selectedItems=_useMultipleSelection3.selectedItems,setActiveIndex=_useMultipleSelection3.setActiveIndex,setSelectedItems=_useMultipleSelection3.setSelectedItems,_useSelect=(0,downshift_esm.L7)((0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)({circularNavigation,id,items:options},!1===props.multiselect&&{initialSelectedItem:null!==(_props$defaultValue2=props.defaultValue)&&void 0!==_props$defaultValue2?_props$defaultValue2:null}),!1===props.multiselect&&void 0!==props.value&&{selectedItem:props.value}),{},{getA11ySelectionMessage,getA11yStatusMessage,itemToString:function itemToString(item){var _item$optionLabelFiel;return item&&null!==(_item$optionLabelFiel=item[optionLabelField])&&void 0!==_item$optionLabelFiel?_item$optionLabelFiel:""},onSelectedItemChange:function onSelectedItemChange(_ref5){var _selectedItem=_ref5.selectedItem;return!1===props.multiselect&&"function"==typeof props.onChange&&props.onChange(_selectedItem)},onStateChange:function onStateChange(_ref6){var type=_ref6.type,_selectedItem=_ref6.selectedItem,_useSelect$stateChang=downshift_esm.L7.stateChangeTypes,ItemClick=_useSelect$stateChang.ItemClick,MenuBlur=_useSelect$stateChang.MenuBlur,MenuKeyDownEnter=_useSelect$stateChang.MenuKeyDownEnter,MenuKeyDownSpaceButton=_useSelect$stateChang.MenuKeyDownSpaceButton;(type===ItemClick||type===MenuBlur||type===MenuKeyDownEnter||type===MenuKeyDownSpaceButton)&&props.multiselect&&_selectedItem&&((0,dropdownUtils.l)(selectedItems,_selectedItem)?setSelectedItems(selectedItems.filter((function(item){return!lodash_isequal_default()(item,_selectedItem)}))):addSelectedItem(_selectedItem),selectItem(null))},stateReducer:function stateReducer(state,_ref7){var type=_ref7.type,changes=_ref7.changes,_useSelect$stateChang2=downshift_esm.L7.stateChangeTypes,ItemClick=_useSelect$stateChang2.ItemClick,MenuKeyDownSpaceButton=_useSelect$stateChang2.MenuKeyDownSpaceButton;return type!==ItemClick&&type!==MenuKeyDownSpaceButton||!props.multiselect?changes:(0,objectSpread2.Z)((0,objectSpread2.Z)({},changes),{},{isOpen:state.isOpen,highlightedIndex:state.highlightedIndex})}})),_getItemProps=_useSelect.getItemProps,getLabelProps=_useSelect.getLabelProps,getMenuProps=_useSelect.getMenuProps,getToggleButtonProps=_useSelect.getToggleButtonProps,highlightedIndex=_useSelect.highlightedIndex,isOpen=_useSelect.isOpen,selectedItem=_useSelect.selectedItem,selectItem=_useSelect.selectItem,resetSelect=_useSelect.reset;props.multiselect||getDropdownProps({},{suppressRefError:!0});var showClearButtonForSingleSelect=clearable&&!props.multiselect&&selectedItem,buttonAriaLabel="".concat(getLabelProps().id).concat(ariaLabelledBy?" ".concat(ariaLabelledBy):"").concat(error?" ".concat(id,"-error"):"").concat(helper?" ".concat(id,"-helper"):""," ").concat(getToggleButtonProps().id),showPlaceholder=props.multiselect&&0===selectedItems.length||!props.multiselect&&!selectedItem,showIcon=props.icon&&!1===props.multiselect||props.icon&&props.multiselect&&0===selectedItems.length;return(0,jsx_runtime.jsxs)("div",{className:(0,classNames.Z)(Select_module.root,invalid&&Select_module.invalid,disabled&&Select_module.disabled,isOpen&&Select_module.open,props.multiselect&&Select_module.multiselect,customThemeClass,className),style,children:[label&&(0,jsx_runtime.jsx)(FieldLabel.Q,(0,objectSpread2.Z)((0,objectSpread2.Z)({label,required},getLabelProps()),{},{tooltipLabel,tooltipButtonLabel,tooltipText})),(0,jsx_runtime.jsxs)("div",{className:Select_module.wrapper,onFocus:function handleWrapperFocus(e){(0,getIsElementFocused.Z)(e)&&(setFocus(!0),onFocus())},onBlur:function handleWrapperBlur(e){(0,getIsElementBlurred.Z)(e)&&(setFocus(!1),onBlur())},children:[props.multiselect&&selectedItems.length>0&&(0,jsx_runtime.jsx)(SelectedItems.A,{activeIndex,clearable,clearButtonAriaLabel:props.clearButtonAriaLabel,dropdownId:id,getSelectedItemProps,hideItems:!hasFocus,onClear:function onClear(){reset(),toggleButtonRef.current.focus()},onRemove:removeSelectedItem,optionKeyField:optionKeyField||optionLabelField,optionLabelField,removeButtonAriaLabel:props.selectedItemRemoveButtonAriaLabel,selectedItems,selectedItemSrLabel:props.selectedItemSrLabel,selectedItemsContainerRef,setActiveIndex}),(0,jsx_runtime.jsxs)("button",(0,objectSpread2.Z)((0,objectSpread2.Z)({type:"button"},getToggleButtonProps((0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)({"aria-owns":getMenuProps().id,"aria-labelledby":buttonAriaLabel},props.multiselect&&(0,objectSpread2.Z)({},getDropdownProps({preventKeyAction:isOpen,ref:toggleButtonRef}))),invalid&&{"aria-invalid":!0}),{},{disabled,className:(0,classNames.Z)(Select_module.button,showPlaceholder&&Select_module.placeholder)},!props.multiselect&&{ref:toggleButtonRef}))),{},{children:[showIcon&&(0,jsx_runtime.jsx)("span",{className:Select_module.icon,"aria-hidden":!0,children:props.icon}),function getButtonLabel(){var buttonLabel=(null==selectedItem?void 0:selectedItem[optionLabelField])||placeholder;return props.multiselect&&(buttonLabel=selectedItems.length>0?null:placeholder),buttonLabel&&(0,jsx_runtime.jsx)("span",{className:(0,classNames.Z)(Select_module.buttonLabel,showClearButtonForSingleSelect&&Select_module.buttonLabelWithClearButton),children:buttonLabel})}(),(0,jsx_runtime.jsx)(IconAngleDown.IconAngleDown,{className:Select_module.angleIcon,"aria-hidden":!0})]})),showClearButtonForSingleSelect&&(0,jsx_runtime.jsx)(SelectedItems.C,{onClear:function onClear(){resetSelect(),toggleButtonRef.current.focus()},clearButtonAriaLabel:props.clearButtonAriaLabel}),(0,jsx_runtime.jsx)(DropdownMenu.h,{getItemProps:function getItemProps(item,index,selected,optionDisabled,virtualRow){return _getItemProps((0,objectSpread2.Z)({item,index,disabled:optionDisabled,className:(0,classNames.Z)(Select_module.menuItem,highlightedIndex===index&&Select_module.highlighted,selected&&Select_module.selected,optionDisabled&&Select_module.disabled,virtualized&&Select_module.virtualized)},virtualRow&&{style:{transform:"translateY(".concat(virtualRow.start,"px")},ref:virtualRow.measureRef}))},isOptionDisabled,menuProps:getMenuProps((0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)({},props.multiselect&&{"aria-multiselectable":!0}),required&&{"aria-required":!0}),{},{style:{maxHeight:dropdownUtils.V*visibleOptions},ref:menuRef})),menuStyles:Select_module,multiselect:props.multiselect,open:isOpen,optionKeyField:optionKeyField||optionLabelField,optionLabelField,options,selectedItem,selectedItems,virtualizer:virtualized&&virtualizer})]}),invalid&&error&&(0,jsx_runtime.jsxs)("div",{id:"".concat(id,"-error"),className:Select_module.errorText,"aria-hidden":!0,children:[(0,jsx_runtime.jsx)(IconAlertCircleFill.IconAlertCircleFill,{className:Select_module.invalidIcon}),error]}),helper&&(0,jsx_runtime.jsx)("div",{id:"".concat(id,"-helper"),className:Select_module.helperText,"aria-hidden":!0,children:helper})]})};Select.defaultProps={multiselect:!1};try{onMultiSelectStateChange.displayName="onMultiSelectStateChange",onMultiSelectStateChange.__docgenInfo={description:"Multi-select state change handler",displayName:"onMultiSelectStateChange",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/dropdown/select/Select.tsx#onMultiSelectStateChange"]={docgenInfo:onMultiSelectStateChange.__docgenInfo,name:"onMultiSelectStateChange",path:"src/components/dropdown/select/Select.tsx#onMultiSelectStateChange"})}catch(__react_docgen_typescript_loader_error){}try{multiSelectReducer.displayName="multiSelectReducer",multiSelectReducer.__docgenInfo={description:"Multi-select reducer function",displayName:"multiSelectReducer",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/dropdown/select/Select.tsx#multiSelectReducer"]={docgenInfo:multiSelectReducer.__docgenInfo,name:"multiSelectReducer",path:"src/components/dropdown/select/Select.tsx#multiSelectReducer"})}catch(__react_docgen_typescript_loader_error){}try{Select.displayName="Select",Select.__docgenInfo={description:"",displayName:"Select",props:{label:{defaultValue:null,description:"The label for the dropdown.",name:"label",required:!1,type:{name:"ReactNode"}},"aria-labelledby":{defaultValue:null,description:"The id of the external label element. Use this if you use external label instead of label.",name:"aria-labelledby",required:!1,type:{name:"string"}},circularNavigation:{defaultValue:null,description:"When `true`, allows moving from the first item to the last item with Arrow Up, and vice versa using Arrow Down.",name:"circularNavigation",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"Additional class names to apply to the select",name:"className",required:!1,type:{name:"string"}},clearable:{defaultValue:null,description:"Flag for whether the clear selections button should be displayed",name:"clearable",required:!1,type:{name:"boolean"}},disabled:{defaultValue:null,description:"If `true`, the dropdown will be disabled",name:"disabled",required:!1,type:{name:"boolean"}},getA11ySelectionMessage:{defaultValue:null,description:"Function used to generate an ARIA a11y message when an item is selected. See [here](https://github.com/downshift-js/downshift/tree/master/src/hooks/useSelect#geta11yselectionmessage) for more information.",name:"getA11ySelectionMessage",required:!1,type:{name:"(options: A11yStatusMessageOptions) => string"}},getA11yStatusMessage:{defaultValue:null,description:"Function used to generate an ARIA a11y message when the status changes. See [here](https://github.com/downshift-js/downshift/tree/master/src/hooks/useSelect#geta11ystatusmessage) for more information.",name:"getA11yStatusMessage",required:!1,type:{name:"(options: A11yStatusMessageOptions) => string"}},helper:{defaultValue:null,description:"A helper text that will be shown below the dropdown",name:"helper",required:!1,type:{name:"ReactNode"}},error:{defaultValue:null,description:"An error text that will be shown below the dropdown when `invalid` is true",name:"error",required:!1,type:{name:"ReactNode"}},icon:{defaultValue:null,description:"Icon to be shown in the dropdown",name:"icon",required:!1,type:{name:"ReactNode"}},id:{defaultValue:null,description:"Used to generate the first part of the id on the elements",name:"id",required:!1,type:{name:"string"}},invalid:{defaultValue:null,description:"If `true`, the input and `helper` will be displayed in an invalid state",name:"invalid",required:!1,type:{name:"boolean"}},isOptionDisabled:{defaultValue:null,description:"A function used to detect whether an option is disabled",name:"isOptionDisabled",required:!1,type:{name:"(option: OptionType, index: number) => boolean"}},onBlur:{defaultValue:null,description:"Callback function fired when the state is changed",name:"onBlur",required:!1,type:{name:"() => void"}},onFocus:{defaultValue:null,description:"Callback function fired when the component is focused",name:"onFocus",required:!1,type:{name:"() => void"}},optionKeyField:{defaultValue:null,description:"Sets the data item field that represents the item key. Key needs to be unique between items.\nE.g. an `optionKeyField` value of `'bar'` and a data item `{ foo: 'Label', bar: 'value' }`, would use `'value'` as the key in the menu for that specific item\nUses value of `optionLabelField` by default.",name:"optionKeyField",required:!1,type:{name:"string"}},optionLabelField:{defaultValue:null,description:"Sets the data item field that represents the item label\nE.g. an `optionLabelField` value of `'foo'` and a data item `{ foo: 'Label', bar: 'value' }`, would display `Label` in the menu for that specific item",name:"optionLabelField",required:!1,type:{name:"string"}},options:{defaultValue:null,description:"Array of options that should be shown in the menu",name:"options",required:!0,type:{name:"OptionType[]"}},placeholder:{defaultValue:null,description:"Short hint displayed in the dropdown before the user enters a value",name:"placeholder",required:!1,type:{name:"string"}},required:{defaultValue:null,description:"If `true`, marks the dropdown as required",name:"required",required:!1,type:{name:"boolean"}},style:{defaultValue:null,description:"Override or extend the root styles applied to the component",name:"style",required:!1,type:{name:"CSSProperties"}},theme:{defaultValue:null,description:"Custom theme styles",name:"theme",required:!1,type:{name:"SelectCustomTheme"}},virtualized:{defaultValue:null,description:"If `true`, the menu options will be virtualized. This greatly increases performance when there are a lot of options,\nbut screen readers won't be able to know how many options there are.",name:"virtualized",required:!1,type:{name:"boolean"}},visibleOptions:{defaultValue:null,description:"Sets the number of options that are visible in the menu before it becomes scrollable",name:"visibleOptions",required:!1,type:{name:"number"}},tooltipLabel:{defaultValue:null,description:"Aria-label text for the tooltip",name:"tooltipLabel",required:!1,type:{name:"string"}},tooltipButtonLabel:{defaultValue:null,description:"Aria-label text for the tooltip trigger button",name:"tooltipButtonLabel",required:!1,type:{name:"string"}},tooltipText:{defaultValue:null,description:"The text content of the tooltip",name:"tooltipText",required:!1,type:{name:"string"}},clearButtonAriaLabel:{defaultValue:null,description:"The aria-label for the clear button",name:"clearButtonAriaLabel",required:!1,type:{name:"string"}},multiselect:{defaultValue:{value:"false"},description:"When `true`, enables selecting multiple values",name:"multiselect",required:!1,type:{name:"boolean"}},defaultValue:{defaultValue:null,description:"Value that should be selected when the dropdown is initialized\nValue(s) that should be selected when the dropdown is initialized",name:"defaultValue",required:!1,type:{name:"OptionType | OptionType[]"}},onChange:{defaultValue:null,description:"Callback function fired when the state is changed",name:"onChange",required:!1,type:{name:"((selected: OptionType) => void) | ((selected: OptionType[]) => void)"}},value:{defaultValue:null,description:"The selected value\nThe selected value(s)",name:"value",required:!1,type:{name:"OptionType | OptionType[]"}},getA11yRemovalMessage:{defaultValue:null,description:"Function used to generate an ARIA a11y message when an item is removed. See [here](https://github.com/downshift-js/downshift/tree/master/src/hooks/useMultipleSelection#geta11yremovalmessage) for more information.",name:"getA11yRemovalMessage",required:!1,type:{name:"(options: A11yRemovalMessage) => string"}},selectedItemRemoveButtonAriaLabel:{defaultValue:null,description:"The aria-label for the selected item remove button.\nYou can use a special {value} token that will be replaced with the actual item value.\nE.g. an item with the label Foo and property value of `'Remove ${value}'` would become `aria-label=\"Remove Foo\"`.",name:"selectedItemRemoveButtonAriaLabel",required:!0,type:{name:"string"}},selectedItemSrLabel:{defaultValue:null,description:"A label for the selected items that is only visible to screen readers. Can be used to to give screen reader users additional information about the selected item.\nYou can use a special {value} token that will be replaced with the actual item value.\nE.g. an item with the label Foo and property value of `'Selected item ${value}'` would become `aria-label=\"Selected item Foo\"`.",name:"selectedItemSrLabel",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/dropdown/select/Select.tsx#Select"]={docgenInfo:Select.__docgenInfo,name:"Select",path:"src/components/dropdown/select/Select.tsx#Select"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/errorSummary/ErrorSummary.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{X:()=>ErrorSummary});var react=__webpack_require__("../../node_modules/react/index.js"),Notification_module=(__webpack_require__("./src/styles/base.css"),__webpack_require__("./src/components/notification/Notification.module.css"));const ErrorSummary_module_errorSummaryBody="ErrorSummary_errorSummaryBody__tyRnt",ErrorSummary_module_label="ErrorSummary_label__X3qz7";var IconAlertCircleFill=__webpack_require__("./src/icons/IconAlertCircleFill.tsx"),classNames=__webpack_require__("./src/utils/classNames.ts"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),ErrorSummary=react.forwardRef((function(_ref,ref){var _ref$autofocus=_ref.autofocus,autofocus=void 0!==_ref$autofocus&&_ref$autofocus,className=_ref.className,label=_ref.label,_ref$size=_ref.size,size=void 0===_ref$size?"default":_ref$size,style=_ref.style,children=_ref.children,labelRef=(0,react.useRef)(null);return(0,react.useEffect)((function(){!0===autofocus&&labelRef.current.focus()}),[autofocus]),(0,jsx_runtime.jsx)("div",{ref,className:(0,classNames.Z)(Notification_module.Z.notification,Notification_module.Z[size],Notification_module.Z.error,className),style,"aria-label":"Error summary","aria-atomic":"true",children:(0,jsx_runtime.jsxs)("div",{className:Notification_module.Z.content,children:[(0,jsx_runtime.jsxs)("div",{className:(0,classNames.Z)(Notification_module.Z.label,ErrorSummary_module_label),role:"heading","aria-level":2,tabIndex:-1,ref:labelRef,children:[(0,jsx_runtime.jsx)(IconAlertCircleFill.IconAlertCircleFill,{className:Notification_module.Z.icon,"aria-hidden":!0}),label]}),(0,jsx_runtime.jsx)("div",{className:(Notification_module.Z.body,ErrorSummary_module_errorSummaryBody),children})]})})}));try{ErrorSummary.displayName="ErrorSummary",ErrorSummary.__docgenInfo={description:"",displayName:"ErrorSummary",props:{autofocus:{defaultValue:{value:"false"},description:"Automatically focus the label of the error summary",name:"autofocus",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"Additional class names to apply to the error summary",name:"className",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"The label of the error summary.",name:"label",required:!0,type:{name:"ReactNode"}},size:{defaultValue:{value:"default"},description:"The size of the error summary",name:"size",required:!1,type:{name:"enum",value:[{value:'"default"'},{value:'"large"'}]}},style:{defaultValue:null,description:"Override or extend the styles applied to the component",name:"style",required:!1,type:{name:"CSSProperties"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/errorSummary/ErrorSummary.tsx#ErrorSummary"]={docgenInfo:ErrorSummary.__docgenInfo,name:"ErrorSummary",path:"src/components/errorSummary/ErrorSummary.tsx#ErrorSummary"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/fieldset/Fieldset.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{p:()=>Fieldset});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),objectWithoutProperties=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");__webpack_require__("../../node_modules/react/index.js"),__webpack_require__("./src/styles/base.css");const Fieldset_module_fieldset="Fieldset_fieldset__tEBPK fieldset_hds-fieldset__Mlrn-",Fieldset_module_border="Fieldset_border__D+WGs fieldset_hds-fieldset--border__KXoAh",Fieldset_module_legend="Fieldset_legend__iHVuj fieldset_hds-fieldset-legend__Ciy0X",Fieldset_module_helperText="Fieldset_helperText__XRCji helpers_helper-text__kpl-5",Fieldset_module_legendWithTooltip="Fieldset_legendWithTooltip__b9Pvq fieldset_hds-fieldset-legend__Ciy0X",Fieldset_module_tooltipButton="Fieldset_tooltipButton__rkt3K";var classNames=__webpack_require__("./src/utils/classNames.ts"),Tooltip=__webpack_require__("./src/components/tooltip/Tooltip.tsx"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),_excluded=["heading","border","className","helperText","tooltipText","tooltipLabel","tooltipButtonLabel","children"],Fieldset=function Fieldset(_ref){var heading=_ref.heading,border=_ref.border,className=_ref.className,helperText=_ref.helperText,tooltipText=_ref.tooltipText,tooltipLabel=_ref.tooltipLabel,tooltipButtonLabel=_ref.tooltipButtonLabel,children=_ref.children,fieldSetProps=(0,objectWithoutProperties.Z)(_ref,_excluded);return(0,jsx_runtime.jsxs)("fieldset",(0,objectSpread2.Z)((0,objectSpread2.Z)({className:(0,classNames.Z)(Fieldset_module_fieldset,border&&Fieldset_module_border,className)},fieldSetProps),{},{children:[(0,jsx_runtime.jsxs)("legend",{className:tooltipText?Fieldset_module_legendWithTooltip:Fieldset_module_legend,children:[heading,tooltipText&&(0,jsx_runtime.jsx)(Tooltip.u,{className:Fieldset_module_tooltipButton,tooltipLabel,buttonLabel:tooltipButtonLabel,children:tooltipText})]}),children,helperText&&(0,jsx_runtime.jsx)("div",{className:Fieldset_module_helperText,children:helperText})]}))};try{Fieldset.displayName="Fieldset",Fieldset.__docgenInfo={description:"",displayName:"Fieldset",props:{heading:{defaultValue:null,description:"Heading text inside legend element",name:"heading",required:!0,type:{name:"string"}},border:{defaultValue:null,description:"If `true` border will be drawn around the fieldset.",name:"border",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"Additional class names to apply to the card.",name:"className",required:!1,type:{name:"string"}},helperText:{defaultValue:null,description:"",name:"helperText",required:!1,type:{name:"string"}},tooltipText:{defaultValue:null,description:"Tooltip text for the fieldset",name:"tooltipText",required:!1,type:{name:"string"}},tooltipLabel:{defaultValue:null,description:"Aria-label text for the tooltip",name:"tooltipLabel",required:!1,type:{name:"string"}},tooltipButtonLabel:{defaultValue:null,description:"Aria-label text for the tooltip trigger button",name:"tooltipButtonLabel",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/fieldset/Fieldset.tsx#Fieldset"]={docgenInfo:Fieldset.__docgenInfo,name:"Fieldset",path:"src/components/fieldset/Fieldset.tsx#Fieldset"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/fileInput/FileInput.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{S:()=>FileInput});var toConsumableArray=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),slicedToArray=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react=__webpack_require__("../../node_modules/react/index.js"),lodash_uniqueid=__webpack_require__("../../node_modules/lodash.uniqueid/index.js"),lodash_uniqueid_default=__webpack_require__.n(lodash_uniqueid),composeAriaDescribedBy=(__webpack_require__("./src/styles/base.css"),__webpack_require__("./src/utils/composeAriaDescribedBy.ts")),classNames=__webpack_require__("./src/utils/classNames.ts"),Button=__webpack_require__("./src/components/button/Button.tsx"),IconUpload=__webpack_require__("./src/icons/IconUpload.tsx"),IconPlus=__webpack_require__("./src/icons/IconPlus.tsx"),IconPhoto=__webpack_require__("./src/icons/IconPhoto.tsx"),IconDocument=__webpack_require__("./src/icons/IconDocument.tsx"),IconCross=__webpack_require__("./src/icons/IconCross.tsx"),InputWrapper=__webpack_require__("./src/internal/input-wrapper/InputWrapper.tsx");const FileInput_module_fileInput="FileInput_fileInput__28l+n",FileInput_module_dragAndDropHelperText="FileInput_dragAndDropHelperText__EXThC",FileInput_module_dragAndDrop="FileInput_dragAndDrop__Fa8zS",FileInput_module_dragAndDropActive="FileInput_dragAndDropActive__wnsu8",FileInput_module_dragAndDropDisabled="FileInput_dragAndDropDisabled__OhoJn",FileInput_module_dragAndDropLabel="FileInput_dragAndDropLabel__Pf3uh",FileInput_module_dragAndDropLabelText="FileInput_dragAndDropLabelText__+bvhR",FileInput_module_fileInputContainer="FileInput_fileInputContainer__iJA9K",FileInput_module_fileInputWrapper="FileInput_fileInputWrapper__R5UUk",FileInput_module_fileList="FileInput_fileList__rKP3y",FileInput_module_fileListItem="FileInput_fileListItem__1azAx",FileInput_module_fileListItemTitle="FileInput_fileListItemTitle__zp6kM",FileInput_module_fileListItemName="FileInput_fileListItemName__TruWb",FileInput_module_fileListItemSize="FileInput_fileListItemSize__2QhuF",FileInput_module_fileListItemButton="FileInput_fileListItemButton__pST8b";var jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),convertFileToFileItem=function convertFileToFileItem(file){return{file,uiId:lodash_uniqueid_default()(file.name)}},convertFileItemToFile=function convertFileItemToFile(fileItem){return fileItem.file},formatBytes=function formatBytes(bytes){if(0===bytes)return"0 B";var sizeUnitIndex=Math.floor(Math.log(bytes)/Math.log(1024)),sizeInUnit=bytes/Math.pow(1024,sizeUnitIndex);return"".concat(sizeUnitIndex<2||sizeInUnit%1==0?Math.round(sizeInUnit):sizeInUnit.toFixed(1)," ").concat(["B","KB","MB","GB","TB"][sizeUnitIndex])},getButtonLabel=function getButtonLabel(language,multiple){return{en:"Add ".concat(multiple?"files":"a file"),fi:"Lisää ".concat(multiple?"tiedostoja":"tiedosto"),sv:"Välj ".concat(multiple?"filer":"en fil")}[language]},getDragAndDropLabel=function getDragAndDropLabel(language){return{en:"Drag files here",fi:"Raahaa tiedostot tähän",sv:"Dra filerna hit"}[language]},getDragAndDropInputLabel=function getDragAndDropInputLabel(language){return{en:"or browse from your device",fi:"tai valitse tiedostot laitteeltasi",sv:"eller välj filerna från din enhet"}[language]},getNoFilesAddedMessage=function getNoFilesAddedMessage(language){return{en:"No file has been selected.",fi:"Yhtään tiedostoa ei ole valittu.",sv:"Ingen fil har valts."}[language]},getRemoveButtonLabel=function getRemoveButtonLabel(language){return{en:"Remove",fi:"Poista",sv:"Ta bort"}[language]},getRemoveButtonAriaLabel=function getRemoveButtonAriaLabel(language,fileName){return{en:"Remove ".concat(fileName," from the added files."),fi:"Poista tiedosto ".concat(fileName," lisätyistä tiedostoista."),sv:"Ta bort ".concat(fileName," från filerna som lagts till.")}[language]},getFileListAriaLabel=function getFileListAriaLabel(language,totalAddedFiles){return{en:"".concat(0===totalAddedFiles?"1 file":"".concat(totalAddedFiles," files")," added."),fi:"".concat(0===totalAddedFiles?"1 tiedosto":"".concat(totalAddedFiles," tiedostoa")," added."),sv:"".concat(0===totalAddedFiles?"1 fil":"".concat(totalAddedFiles," filer")," har lagts till.")}[language]},getAddSuccessMessage=function getAddSuccessMessage(language,numberOfAdded,numberOfTotal){var partOfTotalStr=numberOfAdded===numberOfTotal?numberOfAdded:"".concat(numberOfAdded,"/").concat(numberOfTotal);return{en:"".concat(partOfTotalStr," file(s) added."),fi:"".concat(partOfTotalStr," tiedosto(a) lisätty."),sv:"".concat(partOfTotalStr," fil(er) har lagts till.")}[language]},getMaxSizeMessage=function getMaxSizeMessage(language,maxSize){var formattedMaxSize=formatBytes(maxSize);return{en:"The maximum file size is ".concat(formattedMaxSize,"."),fi:"Suurin sallittu tiedostokoko on ".concat(formattedMaxSize,"."),sv:"Den maximala filstorleken är ".concat(formattedMaxSize,".")}[language]},getAcceptString=function getAcceptString(accept,conjunction){var acceptList=accept.split(",");if(1===acceptList.length)return acceptList.toString();var last=acceptList.pop();return"".concat(acceptList.join(", ")," ").concat(conjunction," ").concat(last)},getAcceptMessage=function getAcceptMessage(language,accept){return{en:"Only ".concat(getAcceptString(accept,"and")," files."),fi:"Vain ".concat(getAcceptString(accept,"ja")," tiedostoja."),sv:"Endast ".concat(getAcceptString(accept,"och")," filer.")}[language]},getAcceptErrorMessage=function getAcceptErrorMessage(language,file,accept){var acceptMessage=getAcceptMessage(language,accept);return{en:"The file type, ".concat(file.name,", is not supported. ").concat(acceptMessage),fi:"Tiedoston, ".concat(file.name,", tyyppi ei vastaa hyväksyttyjä tiedostotyppejä. ").concat(acceptMessage),sv:"Filformatet, ".concat(file.name,", stöds inte. ").concat(acceptMessage)}[language]},getMaxSizeErrorMessage=function getMaxSizeErrorMessage(language,file,maxSize){var fileSize=formatBytes(file.size);return{en:"File, ".concat(file.name,", is too large (").concat(fileSize,"). ").concat(getMaxSizeMessage(language,maxSize)),fi:"Tiedosto, ".concat(file.name," on liian suuri (").concat(fileSize,"). ").concat(getMaxSizeMessage(language,maxSize)),sv:"Filen, ".concat(file.name,", är för stor (").concat(fileSize,"). ").concat(getMaxSizeMessage(language,maxSize))}[language]},ValidationErrorType=function(ValidationErrorType){return ValidationErrorType.accept="accept",ValidationErrorType.maxSize="maxSize",ValidationErrorType}(ValidationErrorType||{}),validateAccept=function validateAccept(language,accept){return function(file){var extension=function getExtension(path){if(!path||"string"!=typeof path||""===path)return console.warn("FileInput: Path must be a non-empty string. Path is now ".concat(JSON.stringify(path))),"";var lastDotIndex=path.lastIndexOf(".");if(-1===lastDotIndex)return console.warn("FileInput: File is missing extension"),"";var extensionWithDot=path.substring(lastDotIndex);return extensionWithDot.length<=1?(console.warn("FileInput: File is missing extension"),""):extensionWithDot}(file.name),fileType=file.type,acceptedExtensions=accept.split(",").map((function(str){return str.trim()})),isMatchingType=!!acceptedExtensions.find((function(acceptExtension){return acceptExtension.includes(fileType)||acceptExtension.includes("".concat(fileType.split("/")[0],"/*"))})),hasMatchingFileExtension=!!acceptedExtensions.find((function(acceptExtension){return acceptExtension===extension}));return isMatchingType||hasMatchingFileExtension||{type:ValidationErrorType.accept,text:getAcceptErrorMessage(language,file,accept)}}},validateMaxSize=function validateMaxSize(language,maxSize){return function(file){return file.size<=maxSize||{type:ValidationErrorType.maxSize,text:getMaxSizeErrorMessage(language,file,maxSize)}}},FileInput=function FileInput(_ref){var id=_ref.id,label=_ref.label,buttonLabel=_ref.buttonLabel,_ref$language=_ref.language,language=void 0===_ref$language?"fi":_ref$language,defaultValue=_ref.defaultValue,disabled=_ref.disabled,dragAndDrop=_ref.dragAndDrop,dragAndDropLabel=_ref.dragAndDropLabel,dragAndDropInputLabel=_ref.dragAndDropInputLabel,maxSize=_ref.maxSize,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,successText=_ref.successText,errorText=_ref.errorText,helperText=_ref.helperText,infoText=_ref.infoText,onChange=_ref.onChange,required=_ref.required,style=_ref.style,accept=_ref.accept,multiple=_ref.multiple,tooltipLabel=_ref.tooltipLabel,tooltipButtonLabel=_ref.tooltipButtonLabel,tooltipText=_ref.tooltipText,inputRef=(0,react.useRef)(null),didMountRef=(0,react.useRef)(!1),_useState=(0,react.useState)([]),_useState2=(0,slicedToArray.Z)(_useState,2),selectedFileItems=_useState2[0],setSelectedFileItems=_useState2[1],_useState3=(0,react.useState)(),_useState4=(0,slicedToArray.Z)(_useState3,2),inputStateText=_useState4[0],setInputStateText=_useState4[1],_useState5=(0,react.useState)(),_useState6=(0,slicedToArray.Z)(_useState5,2),invalidText=_useState6[0],setInvalidText=_useState6[1],_useState7=(0,react.useState)(),_useState8=(0,slicedToArray.Z)(_useState7,2),processSuccessText=_useState8[0],setProcessSuccessText=_useState8[1],hasFileItems=selectedFileItems&&selectedFileItems.length>0,fileListId="".concat(id,"-list"),fileListRef=(0,react.useRef)(null),fileListFocusIndexRef=(0,react.useRef)(),dropAreaRef=(0,react.useRef)(null),_useState9=(0,react.useState)(!1),_useState10=(0,slicedToArray.Z)(_useState9,2),isDragOverDrop=_useState10[0],setIsDragOverDrop=_useState10[1],instructionsText=[accept&&getAcceptMessage(language,accept),maxSize&&getMaxSizeMessage(language,maxSize)].filter((function(t){return!!t})).join(" "),helperTextToUse=helperText||instructionsText,errorTextToUse=errorText||invalidText,infoTextToUse=infoText||inputStateText,wrapperProps={className,helperText:helperTextToUse,successText:successText||processSuccessText,errorText:errorTextToUse,infoText:disabled?void 0:infoTextToUse,id,label,required,style,tooltipLabel,tooltipButtonLabel,tooltipText},passClickToInput=function passClickToInput(){inputRef.current&&inputRef.current.click()},passFocusToInput=function passFocusToInput(){inputRef.current&&inputRef.current.focus()},clearState=function clearState(){setProcessSuccessText(void 0),setInputStateText(void 0),setInvalidText(void 0),fileListFocusIndexRef.current=null},validationFns=[accept?validateAccept(language,accept):void 0,maxSize?validateMaxSize(language,maxSize):void 0].filter((function(fn){return!!fn})),runValidations=function runValidations(files){return 0===validationFns.length?{validFiles:files,validationErrors:[]}:files.reduce((function(acc,file){var errors=validationFns.map((function(fn){return fn(file)})).filter((function(r){return!0!==r}));return errors.length>0?(0,objectSpread2.Z)((0,objectSpread2.Z)({},acc),{},{validationErrors:[].concat((0,toConsumableArray.Z)(acc.validationErrors),[errors])}):(0,objectSpread2.Z)((0,objectSpread2.Z)({},acc),{},{validFiles:[].concat((0,toConsumableArray.Z)(acc.validFiles),[file])})}),{validFiles:[],validationErrors:[]})},getValidationErrorsMessage=function getValidationErrorsMessage(errors,totalNumberOfFiles){return"".concat(function getFailedValidationTitle(language,numberOfFailed,numberOfTotal){var partOfTotalStr="".concat(numberOfFailed,"/").concat(numberOfTotal);return{en:"File processing failed for ".concat(partOfTotalStr," files:\n"),fi:"Tiedostonlisäys epäonnistui ".concat(partOfTotalStr," tiedoston kohdalla:\n"),sv:"Filprocesseringen av filerna ".concat(partOfTotalStr," misslyckades:\n")}[language]}(language,errors.length,totalNumberOfFiles)).concat(errors.map((function(errorSet){return"- ".concat(errorSet[0].text)})).join("\n"))},afterFileItemsChange=function afterFileItemsChange(fileItems){if(onChange){var selectedFiles=fileItems.map(convertFileItemToFile);onChange(selectedFiles)}!function resetInputValue(){inputRef.current&&(inputRef.current.value="")}()},onFilesChange=function onFilesChange(files){clearState(),multiple?function handleMultipleChange(files){if(files.length>0){var _runValidations2=runValidations(files),validFiles=_runValidations2.validFiles,validationErrors=_runValidations2.validationErrors;if(validationErrors.length>0&&setInvalidText(getValidationErrorsMessage(validationErrors,files.length)),validFiles.length>0){var newFileItems=validFiles.map(convertFileToFileItem),allFileItems=[].concat((0,toConsumableArray.Z)(selectedFileItems),(0,toConsumableArray.Z)(newFileItems));setSelectedFileItems(allFileItems),setProcessSuccessText(getAddSuccessMessage(language,validFiles.length,files.length)),afterFileItemsChange(allFileItems)}}}(files):function handleSingleFileChange(files){if(files.length>0){var _runValidations=runValidations(files),validFiles=_runValidations.validFiles,validationErrors=_runValidations.validationErrors;if(validationErrors.length>0)setInvalidText(getValidationErrorsMessage(validationErrors,1));else{var newFileItems=[convertFileToFileItem(validFiles[0])];setSelectedFileItems(newFileItems),setProcessSuccessText(getAddSuccessMessage(language,1,1)),afterFileItemsChange(newFileItems)}}}(files)},onDragEnter=function onDragEnter(event){event.preventDefault(),event.stopPropagation(),setIsDragOverDrop(!0)},onDragLeave=function onDragLeave(event){event.preventDefault(),event.stopPropagation(),setIsDragOverDrop(!1)};(0,react.useEffect)((function(){didMountRef.current||(setInputStateText(getNoFilesAddedMessage(language)),didMountRef.current=!0)}),[setInputStateText,language]),(0,react.useEffect)((function(){if(!hasFileItems&&defaultValue&&inputRef.current){var dataTransfer=new DataTransfer;defaultValue.forEach((function(defaultFile){var file=new File([defaultFile],defaultFile.name,{type:defaultFile.type,lastModified:defaultFile.lastModified});dataTransfer.items.add(file)})),inputRef.current.files=dataTransfer.files;var event=new Event("change",{bubbles:!0});inputRef.current.dispatchEvent(event)}}),[defaultValue]);var ariaDescribedBy=[(0,composeAriaDescribedBy.Z)(id,helperTextToUse,errorTextToUse,successText,infoTextToUse),hasFileItems&&fileListId].filter((function(text){return!!text})).join(" ");return(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsx)(InputWrapper.S,(0,objectSpread2.Z)((0,objectSpread2.Z)({},wrapperProps),{},{children:(0,jsx_runtime.jsxs)("div",{className:FileInput_module_fileInputContainer,children:[dragAndDrop&&(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsx)("div",(0,objectSpread2.Z)((0,objectSpread2.Z)({"aria-hidden":!0,className:(0,classNames.Z)(FileInput_module_dragAndDrop,isDragOverDrop&&FileInput_module_dragAndDropActive,disabled&&FileInput_module_dragAndDropDisabled),ref:dropAreaRef},disabled?{}:{onClick:function onClick(){return passClickToInput()},onDragEnter,onDragOver:onDragEnter,onDragLeave,onDrop:function onDrop(event){var dataTransfer=event.dataTransfer;onDragLeave(event),onFilesChange(Array.from(dataTransfer.files))}}),{},{children:(0,jsx_runtime.jsxs)("div",{className:FileInput_module_dragAndDropLabel,children:[(0,jsx_runtime.jsx)(IconUpload.IconUpload,{"aria-hidden":!0}),(0,jsx_runtime.jsx)("span",{className:FileInput_module_dragAndDropLabelText,children:dragAndDropLabel||getDragAndDropLabel(language)})]})})),(0,jsx_runtime.jsx)("div",{className:FileInput_module_dragAndDropHelperText,children:dragAndDropInputLabel||getDragAndDropInputLabel(language)})]}),(0,jsx_runtime.jsxs)("div",{className:FileInput_module_fileInputWrapper,children:[(0,jsx_runtime.jsx)(Button.z,{"aria-hidden":!0,tabIndex:-1,variant:"secondary",iconLeft:(0,jsx_runtime.jsx)(IconPlus.IconPlus,{"aria-hidden":!0}),onClick:function onClick(event){event.preventDefault(),event.stopPropagation(),passFocusToInput(),passClickToInput()},disabled,children:buttonLabel||getButtonLabel(language,multiple)}),(0,jsx_runtime.jsx)("input",(0,objectSpread2.Z)((0,objectSpread2.Z)({type:"file",ref:inputRef,id,disabled,required,"aria-describedby":ariaDescribedBy,className:FileInput_module_fileInput,onChange:function onChange(event){onFilesChange(Array.from(event.target.files))}},accept?{accept}:{}),multiple?{multiple}:{}))]})]})})),(0,jsx_runtime.jsx)("ul",{id:fileListId,ref:fileListRef,tabIndex:-1,className:FileInput_module_fileList,"aria-label":hasFileItems?getFileListAriaLabel(language,selectedFileItems.length):getNoFilesAddedMessage(language),children:selectedFileItems.map((function(item,index){return(0,jsx_runtime.jsxs)("li",{className:FileInput_module_fileListItem,tabIndex:-1,ref:function ref(el){el&&fileListRef.current&&fileListFocusIndexRef.current===index&&el.focus()},children:[item.file.type.startsWith("image")?(0,jsx_runtime.jsx)(IconPhoto.IconPhoto,{"aria-hidden":!0}):(0,jsx_runtime.jsx)(IconDocument.IconDocument,{"aria-hidden":!0}),(0,jsx_runtime.jsxs)("div",{className:FileInput_module_fileListItemTitle,children:[(0,jsx_runtime.jsx)("span",{className:FileInput_module_fileListItemName,children:item.file.name}),(0,jsx_runtime.jsxs)("span",{className:FileInput_module_fileListItemSize,children:["(",formatBytes(item.file.size),")"]})]}),(0,jsx_runtime.jsx)(Button.z,{onClick:function onClick(event){event.preventDefault(),event.stopPropagation(),function onRemoveFileFromList(fileItemToRemove,indexToRemove){clearState();var selectedFileItemsWithoutRemoved=selectedFileItems.filter((function(fileItem){return fileItem.uiId!==fileItemToRemove.uiId}));setSelectedFileItems(selectedFileItemsWithoutRemoved),selectedFileItemsWithoutRemoved.length>0?(fileListFocusIndexRef.current=indexToRemove>0?indexToRemove-1:0,setInputStateText(function getRemoveSuccessMessage(language){return{en:"The file has been deleted.",fi:"Tiedosto poistettu.",sv:"Filen har tagits bort."}[language]}(language))):(passFocusToInput(),setInputStateText(getNoFilesAddedMessage(language))),afterFileItemsChange(selectedFileItemsWithoutRemoved)}(item,index)},variant:"supplementary",size:"small",theme:"black",iconLeft:(0,jsx_runtime.jsx)(IconCross.IconCross,{}),"aria-label":getRemoveButtonAriaLabel(language,item.file.name),className:FileInput_module_fileListItemButton,disabled,children:getRemoveButtonLabel(language)})]},item.uiId)}))})]})};try{formatBytes.displayName="formatBytes",formatBytes.__docgenInfo={description:"",displayName:"formatBytes",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/fileInput/FileInput.tsx#formatBytes"]={docgenInfo:formatBytes.__docgenInfo,name:"formatBytes",path:"src/components/fileInput/FileInput.tsx#formatBytes"})}catch(__react_docgen_typescript_loader_error){}try{FileInput.displayName="FileInput",FileInput.__docgenInfo={description:"",displayName:"FileInput",props:{accept:{defaultValue:null,description:"A comma-separated list of unique file type specifiers describing file types to allow. If present, the filename extension or filetype property is validated against the list. If the file(s) do not match the acceptance criteria, the component will not add the file(s), and it will show an error message with the file name.",name:"accept",required:!1,type:{name:"string"}},buttonLabel:{defaultValue:null,description:"The label for the file button. Overrides default text. The button is not visible for assistive technology",name:"buttonLabel",required:!1,type:{name:"string"}},className:{defaultValue:{value:""},description:"Additional class names to apply to the file input",name:"className",required:!1,type:{name:"string"}},defaultValue:{defaultValue:null,description:"Default selected files for the input",name:"defaultValue",required:!1,type:{name:"File[]"}},disabled:{defaultValue:null,description:"If `true`, the file input will be disabled",name:"disabled",required:!1,type:{name:"boolean"}},dragAndDrop:{defaultValue:null,description:"If `true`, the file input will have a drag and drop area",name:"dragAndDrop",required:!1,type:{name:"boolean"}},dragAndDropLabel:{defaultValue:null,description:"Overrides default drag and drop area text",name:"dragAndDropLabel",required:!1,type:{name:"string"}},dragAndDropInputLabel:{defaultValue:null,description:"Overrides default label text between the drag and drop area and the input",name:"dragAndDropInputLabel",required:!1,type:{name:"string"}},errorText:{defaultValue:null,description:"The error text content that will be shown below the input",name:"errorText",required:!1,type:{name:"string"}},helperText:{defaultValue:null,description:"The helper text content that will be shown below the input",name:"helperText",required:!1,type:{name:"string"}},id:{defaultValue:null,description:"The id of the input element",name:"id",required:!0,type:{name:"string"}},infoText:{defaultValue:null,description:"The info text content that will be shown below the input",name:"infoText",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"The label for the input",name:"label",required:!0,type:{name:"string"}},language:{defaultValue:{value:"fi"},description:"The language of the component. It affects which language is used to present component-specific messages, labels, and aria-labels",name:"language",required:!1,type:{name:"enum",value:[{value:'"en"'},{value:'"fi"'},{value:'"sv"'}]}},maxSize:{defaultValue:null,description:"Maximum file size in bytes. If present, the file size is compared to this property. If the file(s) size property is larger than the max size, the component will not add the file(s), and it will show an error message with the file name.",name:"maxSize",required:!1,type:{name:"number"}},multiple:{defaultValue:null,description:"A Boolean that indicates that more than one file can be chosen",name:"multiple",required:!1,type:{name:"boolean"}},onChange:{defaultValue:null,description:"Callback fired when the list of files changes",name:"onChange",required:!0,type:{name:"(files: File[]) => void"}},required:{defaultValue:null,description:"If `true`, the label is displayed as required and the `input` element will be required",name:"required",required:!1,type:{name:"boolean"}},style:{defaultValue:null,description:"Override or extend the styles applied to the component",name:"style",required:!1,type:{name:"CSSProperties"}},successText:{defaultValue:null,description:"The success text content that will be shown below the input",name:"successText",required:!1,type:{name:"string"}},tooltipLabel:{defaultValue:null,description:"Aria-label text for the tooltip",name:"tooltipLabel",required:!1,type:{name:"string"}},tooltipButtonLabel:{defaultValue:null,description:"Aria-label text for the tooltip trigger button",name:"tooltipButtonLabel",required:!1,type:{name:"string"}},tooltipText:{defaultValue:null,description:"The text content of the tooltip",name:"tooltipText",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/fileInput/FileInput.tsx#FileInput"]={docgenInfo:FileInput.__docgenInfo,name:"FileInput",path:"src/components/fileInput/FileInput.tsx#FileInput"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/header/Header.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{h:()=>Header});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),objectWithoutProperties=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react=__webpack_require__("../../node_modules/react/index.js"),classNames=__webpack_require__("./src/utils/classNames.ts"),HeaderContext=__webpack_require__("./src/components/header/HeaderContext.tsx"),HeaderUniversalBar=__webpack_require__("./src/components/header/components/headerUniversalBar/HeaderUniversalBar.tsx"),HeaderActionBar=__webpack_require__("./src/components/header/components/headerActionBar/HeaderActionBar.tsx"),HeaderNavigationMenu=__webpack_require__("./src/components/header/components/headerNavigationMenu/HeaderNavigationMenu.tsx"),HeaderLink=__webpack_require__("./src/components/header/components/headerLink/HeaderLink.tsx"),HeaderActionBarItemWithDropdown=__webpack_require__("./src/components/header/components/headerActionBarItem/HeaderActionBarItemWithDropdown.tsx"),HeaderLanguageSelector=__webpack_require__("./src/components/header/components/headerLanguageSelector/HeaderLanguageSelector.tsx"),slicedToArray=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js");const HeaderSearch_module_searchContainer="HeaderSearch_searchContainer__SfMD1";var SearchInput=__webpack_require__("./src/components/searchInput/SearchInput.tsx"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),HeaderSearch=function HeaderSearch(_ref){var onChange=_ref.onChange,onSubmit=_ref.onSubmit,label=_ref.label,_useState=(0,react.useState)(""),_useState2=(0,slicedToArray.Z)(_useState,2),inputValue=_useState2[0],setInputValue=_useState2[1];(0,react.useEffect)((function(){onChange&&onChange(inputValue)}),[inputValue]);return(0,jsx_runtime.jsx)("div",{className:HeaderSearch_module_searchContainer,role:"search",children:(0,jsx_runtime.jsx)(SearchInput.M,{label,onSubmit:function handleSubmit(){onSubmit&&onSubmit(inputValue)},onChange:setInputValue})})};HeaderSearch.displayName="HeaderSearch";try{HeaderSearch.displayName="HeaderSearch",HeaderSearch.__docgenInfo={description:"",displayName:"HeaderSearch",props:{onSubmit:{defaultValue:null,description:"Callback fired when the search button or Enter key is pressed",name:"onSubmit",required:!1,type:{name:"(inputValue: string) => void"}},onChange:{defaultValue:null,description:"Callback fired when the search input value is changed",name:"onChange",required:!1,type:{name:"(inputValue: string) => void"}},label:{defaultValue:null,description:"Label for the search element.",name:"label",required:!0,type:{name:"string | Element"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/header/components/headerSearch/HeaderSearch.tsx#HeaderSearch"]={docgenInfo:HeaderSearch.__docgenInfo,name:"HeaderSearch",path:"src/components/header/components/headerSearch/HeaderSearch.tsx#HeaderSearch"})}catch(__react_docgen_typescript_loader_error){}var SkipLink=__webpack_require__("./src/internal/skipLink/SkipLink.tsx"),LanguageContext=__webpack_require__("./src/components/header/LanguageContext.tsx");__webpack_require__("./src/styles/base.css");const Header_module={header:"Header_header__QJfsy","theme-dark":"Header_theme-dark__H5GH1",headerBackgroundWrapper:"Header_headerBackgroundWrapper__E+oFj"};var useTheme=__webpack_require__("./src/hooks/useTheme.tsx"),_excluded=["ariaLabel","children","className"],_excluded2=["onDidChangeLanguage","defaultLanguage","languages"],Header_classNames=(0,classNames.P)(Header_module),HeaderNode=function HeaderNode(_ref){var ariaLabel=_ref.ariaLabel,children=_ref.children,className=_ref.className,props=(0,objectWithoutProperties.Z)(_ref,_excluded),isNotLargeScreen=(0,HeaderContext.Jv)().isNotLargeScreen,theme=props.theme,customThemeClass=(0,useTheme.F)(Header_module.header,theme),headerClassNames=Header_classNames("hds-header",Header_module.header,theme&&Header_module["theme-".concat(theme)],className,customThemeClass,{isNotLargeScreen});return(0,jsx_runtime.jsx)("header",(0,objectSpread2.Z)((0,objectSpread2.Z)({className:headerClassNames},props),{},{"aria-label":ariaLabel,children:(0,jsx_runtime.jsx)("div",{className:Header_module.headerBackgroundWrapper,children})}))},Header=function Header(_ref2){var onDidChangeLanguage=_ref2.onDidChangeLanguage,defaultLanguage=_ref2.defaultLanguage,languages=_ref2.languages,props=(0,objectWithoutProperties.Z)(_ref2,_excluded2);return(0,jsx_runtime.jsx)(HeaderContext.fL,{children:(0,jsx_runtime.jsx)(LanguageContext.iL,{onDidChangeLanguage,defaultLanguage,languages,children:(0,jsx_runtime.jsx)(HeaderNode,(0,objectSpread2.Z)({},props))})})};Header.UniversalBar=HeaderUniversalBar.V,Header.ActionBar=HeaderActionBar.K,Header.TitleStyleType=HeaderActionBar.b,Header.NavigationMenu=HeaderNavigationMenu.p,Header.ActionBarItem=HeaderActionBarItemWithDropdown.e,Header.Link=HeaderLink.K,Header.LanguageSelector=HeaderLanguageSelector.Mg,Header.Search=HeaderSearch,Header.SkipLink=SkipLink.G,Header.LanguageButton=HeaderLanguageSelector.Rf,Header.SimpleLanguageOptions=HeaderLanguageSelector.rq;try{Header.displayName="Header",Header.__docgenInfo={description:"",displayName:"Header",props:{ariaLabel:{defaultValue:null,description:"Aria-label for describing Header.",name:"ariaLabel",required:!1,type:{name:"string"}},className:{defaultValue:null,description:"Additional class names to apply to the header.",name:"className",required:!1,type:{name:"string"}},id:{defaultValue:null,description:"ID of the header element.",name:"id",required:!1,type:{name:"string"}},theme:{defaultValue:null,description:"theme of the header element.",name:"theme",required:!1,type:{name:"HeaderTheme"}},defaultLanguage:{defaultValue:null,description:"",name:"defaultLanguage",required:!1,type:{name:"string"}},onDidChangeLanguage:{defaultValue:null,description:"",name:"onDidChangeLanguage",required:!1,type:{name:"(string: any) => void"}},languages:{defaultValue:null,description:"",name:"languages",required:!1,type:{name:"LanguageOption[]"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/header/Header.tsx#Header"]={docgenInfo:Header.__docgenInfo,name:"Header",path:"src/components/header/Header.tsx#Header"})}catch(__react_docgen_typescript_loader_error){}try{Header.UniversalBar.displayName="Header.UniversalBar",Header.UniversalBar.__docgenInfo={description:"",displayName:"Header.UniversalBar",props:{ariaLabel:{defaultValue:null,description:"Aria-label for describing UniversalBar.",name:"ariaLabel",required:!1,type:{name:"string"}},className:{defaultValue:null,description:"Additional class names to apply.",name:"className",required:!1,type:{name:"string"}},children:{defaultValue:null,description:"Children are expected to be HeaderLink components or a container with HeaderLink components inside.",name:"children",required:!1,type:{name:"ReactNode"}},id:{defaultValue:null,description:"ID of the header element.",name:"id",required:!1,type:{name:"string"}},primaryLinkHref:{defaultValue:null,description:"Hypertext reference of the primary link.",name:"primaryLinkHref",required:!1,type:{name:"string"}},primaryLinkText:{defaultValue:null,description:"Link text for the primary link.",name:"primaryLinkText",required:!1,type:{name:"string"}},role:{defaultValue:null,description:"ARIA role to describe the contents.",name:"role",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/header/Header.tsx#Header.UniversalBar"]={docgenInfo:Header.UniversalBar.__docgenInfo,name:"Header.UniversalBar",path:"src/components/header/Header.tsx#Header.UniversalBar"})}catch(__react_docgen_typescript_loader_error){}try{Header.ActionBar.displayName="Header.ActionBar",Header.ActionBar.__docgenInfo={description:"",displayName:"Header.ActionBar",props:{ariaLabel:{defaultValue:null,description:"Aria-label for describing ActionBar.",name:"ariaLabel",required:!1,type:{name:"string"}},className:{defaultValue:null,description:"Additional class names to apply.",name:"className",required:!1,type:{name:"string"}},frontPageLabel:{defaultValue:null,description:"Label for front page link in mobile navigation menu.",name:"frontPageLabel",required:!0,type:{name:"string"}},openFrontPageLinksAriaLabel:{defaultValue:null,description:"Aria-label for describing opening main navigation links into view in mobile navigation menu.",name:"openFrontPageLinksAriaLabel",required:!1,type:{name:"string"}},logo:{defaultValue:null,description:"Logo to use",name:"logo",required:!0,type:{name:"ReactElement<({ alt, className, dataTestId, size, style, ...rest }: LogoProps) => Element, string | JSXElementConstructor>"}},logoAriaLabel:{defaultValue:null,description:"The aria-label for the logo to screen reader users.",name:"logoAriaLabel",required:!1,type:{name:"string"}},logoHref:{defaultValue:null,description:"Link for the logo.",name:"logoHref",required:!1,type:{name:"string"}},menuButtonAriaLabel:{defaultValue:null,description:"The aria-label for the menu button to screen reader users.",name:"menuButtonAriaLabel",required:!1,type:{name:"string"}},onLogoClick:{defaultValue:null,description:"Callback fired when the logo is clicked.",name:"onLogoClick",required:!1,type:{name:"MouseEventHandler"}},onTitleClick:{defaultValue:null,description:"Callback fired when the title is clicked.",name:"onTitleClick",required:!1,type:{name:"MouseEventHandler"}},role:{defaultValue:null,description:"ARIA role to describe the contents.",name:"role",required:!1,type:{name:"string"}},title:{defaultValue:null,description:"Service name that is displayed next to the Helsinki logo.",name:"title",required:!0,type:{name:"string"}},titleAriaLabel:{defaultValue:null,description:"The aria-label for the title describing the service to screen reader users.",name:"titleAriaLabel",required:!1,type:{name:"string"}},titleHref:{defaultValue:null,description:"Link for the title.",name:"titleHref",required:!0,type:{name:"string"}},titleStyle:{defaultValue:{value:"TitleStyleType.Normal"},description:"Style for title.",name:"titleStyle",required:!1,type:{name:"enum",value:[{value:'"normal"'},{value:'"bold"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/header/Header.tsx#Header.ActionBar"]={docgenInfo:Header.ActionBar.__docgenInfo,name:"Header.ActionBar",path:"src/components/header/Header.tsx#Header.ActionBar"})}catch(__react_docgen_typescript_loader_error){}try{Header.NavigationMenu.displayName="Header.NavigationMenu",Header.NavigationMenu.__docgenInfo={description:"",displayName:"Header.NavigationMenu",props:{ariaLabel:{defaultValue:null,description:"Aria-label for describing universal bar.",name:"ariaLabel",required:!1,type:{name:"string"}},children:{defaultValue:null,description:"Children are expected to be HeaderLink components or a container with HeaderLink components inside.",name:"children",required:!1,type:{name:"ReactNode"}},id:{defaultValue:null,description:"ID of the header element.",name:"id",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/header/Header.tsx#Header.NavigationMenu"]={docgenInfo:Header.NavigationMenu.__docgenInfo,name:"Header.NavigationMenu",path:"src/components/header/Header.tsx#Header.NavigationMenu"})}catch(__react_docgen_typescript_loader_error){}try{Header.ActionBarItem.displayName="Header.ActionBarItem",Header.ActionBarItem.__docgenInfo={description:"",displayName:"Header.ActionBarItem",props:{id:{defaultValue:null,description:"ID of the dropdown item.",name:"id",required:!1,type:{name:"string"}},fullWidth:{defaultValue:{value:"false"},description:"Possibility to use a full-width version of the dropdown, for example in mobile use.",name:"fullWidth",required:!1,type:{name:"boolean"}},iconClassName:{defaultValue:null,description:"Additional classname for the icon.",name:"iconClassName",required:!1,type:{name:"string"}},dropdownClassName:{defaultValue:null,description:"Additional classname for the dropdown element.",name:"dropdownClassName",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"Label for the action bar item.",name:"label",required:!0,type:{name:"string | Element"}},closeLabel:{defaultValue:{value:"Sulje"},description:"Label for the action bar item when dropdown is open.",name:"closeLabel",required:!1,type:{name:"string | Element"}},icon:{defaultValue:null,description:"Icon for the action bar item.",name:"icon",required:!0,type:{name:"Element"}},closeIcon:{defaultValue:null,description:"Icon for the action bar item when dropdown is open.",name:"closeIcon",required:!1,type:{name:"Element"}},ariaLabel:{defaultValue:null,description:"Aria-label attribute for the dropdown button.",name:"ariaLabel",required:!1,type:{name:"string"}},labelOnRight:{defaultValue:null,description:"Positions the label right side of the icon.",name:"labelOnRight",required:!1,type:{name:"boolean"}},fixedRightPosition:{defaultValue:null,description:"Fix the item position to the right side of the action bar.",name:"fixedRightPosition",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/header/Header.tsx#Header.ActionBarItem"]={docgenInfo:Header.ActionBarItem.__docgenInfo,name:"Header.ActionBarItem",path:"src/components/header/Header.tsx#Header.ActionBarItem"})}catch(__react_docgen_typescript_loader_error){}try{Header.Link.displayName="Header.Link",Header.Link.__docgenInfo={description:"",displayName:"Header.Link",props:{active:{defaultValue:null,description:"Indicator for active link. This is used in HeaderNavigationMenu.",name:"active",required:!1,type:{name:"boolean"}},as:{defaultValue:{value:"React.forwardRef(\n (\n {\n ariaLabel,\n children,\n className,\n disableVisitedStyles = false,\n external = false,\n href,\n iconLeft,\n openInNewTab = false,\n openInExternalDomainAriaLabel,\n openInNewTabAriaLabel,\n style = {},\n size = 'M',\n ...rest\n }: LinkProps,\n ref: React.Ref,\n ) => {\n const composeAriaLabel = () => {\n let childrenText = ariaLabel || getTextFromReactChildren(children);\n const newTabText = openInNewTab ? openInNewTabAriaLabel || 'Avautuu uudessa välilehdessä.' : '';\n const externalText = external ? openInExternalDomainAriaLabel || 'Siirtyy toiseen sivustoon.' : '';\n\n if (childrenText && childrenText.slice(-1) !== '.') {\n childrenText = `${childrenText}.`;\n }\n\n return [childrenText, newTabText, externalText].filter((text) => text).join(' ');\n };\n\n const mapLinkSizeToExternalIconSize: LinkToIconSizeMappingType = {\n L: 'l',\n M: 's',\n S: 'xs',\n };\n const mapLinkSizeToIconVerticalStyling = {\n L: styles.verticalAlignBigIcon,\n M: styles.verticalAlignMediumIcon,\n S: styles.verticalAlignSmallIcon,\n };\n\n return (\n \n {iconLeft && (\n \n {iconLeft}\n \n )}\n {children}\n {external && (\n \n )}\n \n );\n },\n)"},description:"Element or component to use instead of the default HDS Link.\n@example ```ts\nas={CustomLink}\n```",name:"as",required:!1,type:{name:"ElementType"}},className:{defaultValue:null,description:"Additional class names to apply for the link element.",name:"className",required:!1,type:{name:"string"}},closeDropdownAriaButtonLabel:{defaultValue:null,description:"Aria-label for the dropdown button to describe closing the dropdown.",name:"closeDropdownAriaButtonLabel",required:!1,type:{name:"string"}},depth:{defaultValue:{value:"0"},description:"Depth in nested dropdowns.\n@internal",name:"depth",required:!1,type:{name:"number"}},dropdownButtonClassName:{defaultValue:null,description:"Additional class name for the dropdown button.",name:"dropdownButtonClassName",required:!1,type:{name:"string"}},dropdownClassName:{defaultValue:null,description:"Additional class name for the dropdown element.",name:"dropdownClassName",required:!1,type:{name:"string"}},dropdownLinkClassName:{defaultValue:null,description:"Additional class name for the dropdown items.",name:"dropdownLinkClassName",required:!1,type:{name:"string"}},dropdownLinks:{defaultValue:null,description:"Array of HeaderLink components to render in a dropdown. Can be used only inside navigation components.",name:"dropdownLinks",required:!1,type:{name:"ReactElement>[]"}},href:{defaultValue:{value:"#"},description:"Hypertext Reference of the link.",name:"href",required:!1,type:{name:"string"}},index:{defaultValue:null,description:"Element index given by parent mapping.\n@internal",name:"index",required:!1,type:{name:"number"}},label:{defaultValue:null,description:"Label for link.",name:"label",required:!0,type:{name:"string"}},onDropdownButtonClick:{defaultValue:null,description:"Callback fired when the dropdown button is clicked.",name:"onDropdownButtonClick",required:!1,type:{name:"() => void"}},openDropdownAriaButtonLabel:{defaultValue:null,description:"Aria-label for the dropdown button to describe opening the dropdown.",name:"openDropdownAriaButtonLabel",required:!1,type:{name:"string"}},openSubNavIndex:{defaultValue:null,description:"Which sub navigation index is open.\n@internal",name:"openSubNavIndex",required:!1,type:{name:"number"}},setOpenSubNavIndex:{defaultValue:null,description:"Set which sub navigation index is open.\n@internal",name:"setOpenSubNavIndex",required:!1,type:{name:"(val: number) => void"}},wrapperClassName:{defaultValue:null,description:"Additional class name for the NavigationLink wrapper element.",name:"wrapperClassName",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/header/Header.tsx#Header.Link"]={docgenInfo:Header.Link.__docgenInfo,name:"Header.Link",path:"src/components/header/Header.tsx#Header.Link"})}catch(__react_docgen_typescript_loader_error){}try{Header.LanguageSelector.displayName="Header.LanguageSelector",Header.LanguageSelector.__docgenInfo={description:"",displayName:"Header.LanguageSelector",props:{ariaLabel:{defaultValue:null,description:"Aria-label attribute for the dropdown button.",name:"ariaLabel",required:!1,type:{name:"string"}},languageHeading:{defaultValue:null,description:"Heading for the list of languages inside the dropdown",name:"languageHeading",required:!1,type:{name:"string"}},sortLanguageOptions:{defaultValue:{value:"(options, selectedLanguage) => {\n const hasPrimaryLanguages = options.some((option) => typeof option.isPrimary !== 'undefined');\n const selectedOption = options.find((option) => option.value === selectedLanguage);\n if (hasPrimaryLanguages && selectedOption.isPrimary !== true) {\n return [[selectedOption], options.filter((option) => option.value !== selectedOption.value)];\n }\n return hasPrimaryLanguages\n ? [options.filter((option) => !!option.isPrimary), options.filter((option) => !option.isPrimary)]\n : [options, []];\n}"},description:"Function for sorting language options into primary and secondary.",name:"sortLanguageOptions",required:!1,type:{name:"(options: LanguageOption[], selectedLanguage: string) => [LanguageOption[], LanguageOption[]]"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/header/Header.tsx#Header.LanguageSelector"]={docgenInfo:Header.LanguageSelector.__docgenInfo,name:"Header.LanguageSelector",path:"src/components/header/Header.tsx#Header.LanguageSelector"})}catch(__react_docgen_typescript_loader_error){}try{Header.Search.displayName="Header.Search",Header.Search.__docgenInfo={description:"",displayName:"Header.Search",props:{onSubmit:{defaultValue:null,description:"Callback fired when the search button or Enter key is pressed",name:"onSubmit",required:!1,type:{name:"(inputValue: string) => void"}},onChange:{defaultValue:null,description:"Callback fired when the search input value is changed",name:"onChange",required:!1,type:{name:"(inputValue: string) => void"}},label:{defaultValue:null,description:"Label for the search element.",name:"label",required:!0,type:{name:"string | Element"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/header/Header.tsx#Header.Search"]={docgenInfo:Header.Search.__docgenInfo,name:"Header.Search",path:"src/components/header/Header.tsx#Header.Search"})}catch(__react_docgen_typescript_loader_error){}try{Header.SkipLink.displayName="Header.SkipLink",Header.SkipLink.__docgenInfo={description:"",displayName:"Header.SkipLink",props:{ariaLabel:{defaultValue:null,description:"aria-label for describing SkipLink for screen readers.",name:"ariaLabel",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"Label for the SkipLink.",name:"label",required:!0,type:{name:"string"}},skipTo:{defaultValue:null,description:"ID of the element where the SkipLink jumps to.",name:"skipTo",required:!0,type:{name:"string"}},theme:{defaultValue:null,description:"Custom styling for SkipLink.",name:"theme",required:!1,type:{name:"SkipLinkTheme"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/header/Header.tsx#Header.SkipLink"]={docgenInfo:Header.SkipLink.__docgenInfo,name:"Header.SkipLink",path:"src/components/header/Header.tsx#Header.SkipLink"})}catch(__react_docgen_typescript_loader_error){}try{Header.LanguageButton.displayName="Header.LanguageButton",Header.LanguageButton.__docgenInfo={description:"",displayName:"Header.LanguageButton",props:{label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}},value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"string"}},isPrimary:{defaultValue:null,description:"",name:"isPrimary",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/header/Header.tsx#Header.LanguageButton"]={docgenInfo:Header.LanguageButton.__docgenInfo,name:"Header.LanguageButton",path:"src/components/header/Header.tsx#Header.LanguageButton"})}catch(__react_docgen_typescript_loader_error){}try{Header.SimpleLanguageOptions.displayName="Header.SimpleLanguageOptions",Header.SimpleLanguageOptions.__docgenInfo={description:"",displayName:"Header.SimpleLanguageOptions",props:{languages:{defaultValue:null,description:"",name:"languages",required:!0,type:{name:"LanguageOption[]"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/header/Header.tsx#Header.SimpleLanguageOptions"]={docgenInfo:Header.SimpleLanguageOptions.__docgenInfo,name:"Header.SimpleLanguageOptions",path:"src/components/header/Header.tsx#Header.SimpleLanguageOptions"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/header/HeaderContext.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Jv:()=>useHeaderContext,ZQ:()=>useSetHeaderContext,fL:()=>HeaderContextProvider});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/react/index.js"),_hooks_useMediaQuery__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/hooks/useMediaQuery.ts"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),HeaderContext=(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)({navigationContent:null,languageSelectorContent:null,universalContent:null}),HeaderDispatchContext=(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)({setNavigationContent:function setNavigationContent(){},setLanguageSelectorContent:function setLanguageSelectorContent(){},setMobileMenuOpen:function setMobileMenuOpen(){},setUniversalContent:function setUniversalContent(){},setOpenMainNavIndex:function setOpenMainNavIndex(){}});HeaderContext.displayName="HeaderContext",HeaderDispatchContext.displayName="HeaderDispatchContext";var HeaderContextProvider=function HeaderContextProvider(_ref){var children=_ref.children,isNotLargeScreen=(0,_hooks_useMediaQuery__WEBPACK_IMPORTED_MODULE_2__.kR)("l"),_useState=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(null),_useState2=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__.Z)(_useState,2),navigationContent=_useState2[0],setNavigationContent=_useState2[1],_useState3=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(null),_useState4=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__.Z)(_useState3,2),languageSelectorContent=_useState4[0],setLanguageSelectorContent=_useState4[1],_useState5=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),_useState6=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__.Z)(_useState5,2),mobileMenuOpen=_useState6[0],setMobileMenuOpen=_useState6[1],_useState7=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(null),_useState8=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__.Z)(_useState7,2),universalContent=_useState8[0],setUniversalContent=_useState8[1],_useState9=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(-1),_useState10=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__.Z)(_useState9,2),openMainNavIndex=_useState10[0],setOpenMainNavIndex=_useState10[1];(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((function(){return setMobileMenuOpen(!1)}),[isNotLargeScreen]);var context={isNotLargeScreen,mobileMenuOpen,navigationContent,hasNavigationContent:!!navigationContent,languageSelectorContent,hasUniversalContent:!!navigationContent,universalContent,openMainNavIndex},dispatchContext={setNavigationContent,setLanguageSelectorContent,setMobileMenuOpen,setUniversalContent,setOpenMainNavIndex};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(HeaderContext.Provider,{value:context,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(HeaderDispatchContext.Provider,{value:dispatchContext,children})})};function useHeaderContext(){return(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(HeaderContext)}function useSetHeaderContext(){return(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(HeaderDispatchContext)}try{HeaderContext.displayName="HeaderContext",HeaderContext.__docgenInfo={description:"",displayName:"HeaderContext",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/header/HeaderContext.tsx#HeaderContext"]={docgenInfo:HeaderContext.__docgenInfo,name:"HeaderContext",path:"src/components/header/HeaderContext.tsx#HeaderContext"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/header/LanguageContext.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{NO:()=>useActiveLanguage,RN:()=>useSetLanguage,iL:()=>LanguageProvider,rT:()=>useAvailableLanguages});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/react/index.js"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),LanguageContext=(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)({activeLanguage:"fi",availableLanguages:[]}),LanguageDispatchContext=(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)({setLanguage:function setLanguage(){},setAvailableLanguages:function setAvailableLanguages(){}});function LanguageProvider(_ref){var children=_ref.children,defaultLanguage=_ref.defaultLanguage,onDidChangeLanguage=_ref.onDidChangeLanguage,languages=_ref.languages,_useState=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(defaultLanguage),_useState2=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_2__.Z)(_useState,2),activeLanguage=_useState2[0],setActiveLanguage=_useState2[1],_useState3=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(languages||[]),_useState4=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_2__.Z)(_useState3,2),languageOptions=_useState4[0],setLanguageOptions=_useState4[1];(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((function(){onDidChangeLanguage&&onDidChangeLanguage(activeLanguage)}),[activeLanguage]);var languageContextValue={activeLanguage,availableLanguages:languageOptions};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(LanguageContext.Provider,{value:languageContextValue,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(LanguageDispatchContext.Provider,{value:{setLanguage:function setLanguage(language){if(-1===languageOptions.map((function(option){return option.value})).indexOf(language))throw new TypeError("Language not found in available languages");setActiveLanguage(language)},setAvailableLanguages:function setAvailableLanguages(newLanguages){setLanguageOptions(newLanguages)}},children})})}function useActiveLanguage(){return(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(LanguageContext).activeLanguage}function useSetLanguage(){return(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(LanguageDispatchContext).setLanguage}function useSetAvailableLanguages(){return useContext(LanguageDispatchContext).setAvailableLanguages}function useAvailableLanguages(){return(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(LanguageContext).availableLanguages}LanguageProvider.defaultProps={defaultLanguage:"fi"};try{LanguageProvider.displayName="LanguageProvider",LanguageProvider.__docgenInfo={description:"",displayName:"LanguageProvider",props:{defaultLanguage:{defaultValue:{value:"fi"},description:"",name:"defaultLanguage",required:!1,type:{name:"string"}},onDidChangeLanguage:{defaultValue:null,description:"",name:"onDidChangeLanguage",required:!1,type:{name:"(string: any) => void"}},languages:{defaultValue:null,description:"",name:"languages",required:!1,type:{name:"LanguageOption[]"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/header/LanguageContext.tsx#LanguageProvider"]={docgenInfo:LanguageProvider.__docgenInfo,name:"LanguageProvider",path:"src/components/header/LanguageContext.tsx#LanguageProvider"})}catch(__react_docgen_typescript_loader_error){}try{useActiveLanguage.displayName="useActiveLanguage",useActiveLanguage.__docgenInfo={description:"Hook for getting currently active language",displayName:"useActiveLanguage",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/header/LanguageContext.tsx#useActiveLanguage"]={docgenInfo:useActiveLanguage.__docgenInfo,name:"useActiveLanguage",path:"src/components/header/LanguageContext.tsx#useActiveLanguage"})}catch(__react_docgen_typescript_loader_error){}try{useSetLanguage.displayName="useSetLanguage",useSetLanguage.__docgenInfo={description:"Hook for setting currently active language",displayName:"useSetLanguage",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/header/LanguageContext.tsx#useSetLanguage"]={docgenInfo:useSetLanguage.__docgenInfo,name:"useSetLanguage",path:"src/components/header/LanguageContext.tsx#useSetLanguage"})}catch(__react_docgen_typescript_loader_error){}try{useSetAvailableLanguages.displayName="useSetAvailableLanguages",useSetAvailableLanguages.__docgenInfo={description:"Hook for setting available languages",displayName:"useSetAvailableLanguages",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/header/LanguageContext.tsx#useSetAvailableLanguages"]={docgenInfo:useSetAvailableLanguages.__docgenInfo,name:"useSetAvailableLanguages",path:"src/components/header/LanguageContext.tsx#useSetAvailableLanguages"})}catch(__react_docgen_typescript_loader_error){}try{useAvailableLanguages.displayName="useAvailableLanguages",useAvailableLanguages.__docgenInfo={description:"Hook for getting available languages",displayName:"useAvailableLanguages",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/header/LanguageContext.tsx#useAvailableLanguages"]={docgenInfo:useAvailableLanguages.__docgenInfo,name:"useAvailableLanguages",path:"src/components/header/LanguageContext.tsx#useAvailableLanguages"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/header/components/headerActionBar/HeaderActionBar.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{K:()=>HeaderActionBar,b:()=>TitleStyleType});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),react=__webpack_require__("../../node_modules/react/index.js"),classNames=__webpack_require__("./src/utils/classNames.ts"),objectWithoutProperties=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),_excluded=["children","href"],LinkItem=function LinkItem(props){var children=props.children,href=props.href,attributes=(0,objectWithoutProperties.Z)(props,_excluded);return href?(0,jsx_runtime.jsx)("a",(0,objectSpread2.Z)((0,objectSpread2.Z)({href},attributes),{},{children})):(0,jsx_runtime.jsx)("span",(0,objectSpread2.Z)((0,objectSpread2.Z)({},attributes),{},{children}))};try{LinkItem.displayName="LinkItem",LinkItem.__docgenInfo={description:"",displayName:"LinkItem",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/internal/LinkItem.tsx#LinkItem"]={docgenInfo:LinkItem.__docgenInfo,name:"LinkItem",path:"src/internal/LinkItem.tsx#LinkItem"})}catch(__react_docgen_typescript_loader_error){}var regeneratorRuntime=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js"),asyncToGenerator=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js"),slicedToArray=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),toConsumableArray=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),HeaderContext=__webpack_require__("./src/components/header/HeaderContext.tsx");const HeaderActionBarNavigationMenu_module={activeLinkWrapper:"HeaderActionBarNavigationMenu_activeLinkWrapper__yqmMT",previousLinkWrapper:"HeaderActionBarNavigationMenu_previousLinkWrapper__YU842",backIcon:"HeaderActionBarNavigationMenu_backIcon__VocN3",headerNavigationMenu:"HeaderActionBarNavigationMenu_headerNavigationMenu__IcW9l",menu:"HeaderActionBarNavigationMenu_menu__DVFTJ",activeListItem:"HeaderActionBarNavigationMenu_activeListItem__2KlS2",activeMobileLink:"HeaderActionBarNavigationMenu_activeMobileLink__AkNwN",hideDropdownButton:"HeaderActionBarNavigationMenu_hideDropdownButton__I4ig7",previousListItem:"HeaderActionBarNavigationMenu_previousListItem__COLVm",previousButton:"HeaderActionBarNavigationMenu_previousButton__AwwGV",previousMobileLink:"HeaderActionBarNavigationMenu_previousMobileLink__k8n6B",mobileDropdownLink:"HeaderActionBarNavigationMenu_mobileDropdownLink__WeJRA",mobileLinkDropdown:"HeaderActionBarNavigationMenu_mobileLinkDropdown__gj1LI",mobileLinkDropdownButton:"HeaderActionBarNavigationMenu_mobileLinkDropdownButton__PG1PH",mobileLinkWrapper:"HeaderActionBarNavigationMenu_mobileLinkWrapper__f7Qx2",mobileLink:"HeaderActionBarNavigationMenu_mobileLink__AXN3e",mobileMenuOpen:"HeaderActionBarNavigationMenu_mobileMenuOpen__uvrcn",mobileNavigationLink:"HeaderActionBarNavigationMenu_mobileNavigationLink__ZYTLq",navigation:"HeaderActionBarNavigationMenu_navigation__jliKw",navigationWrapper:"HeaderActionBarNavigationMenu_navigationWrapper__Q8dZ4",left0:"HeaderActionBarNavigationMenu_left0__sp8ef",left100:"HeaderActionBarNavigationMenu_left100__hNt5c",left200:"HeaderActionBarNavigationMenu_left200__yJINQ",universalList:"HeaderActionBarNavigationMenu_universalList__zlPCM",universalLink:"HeaderActionBarNavigationMenu_universalLink__QdYSt",logoLink:"HeaderActionBarNavigationMenu_logoLink__oAoC+",visible:"HeaderActionBarNavigationMenu_visible__mJKhX",hidden:"HeaderActionBarNavigationMenu_hidden__9lLrq"};var getChildren=__webpack_require__("./src/utils/getChildren.ts"),HeaderLink=__webpack_require__("./src/components/header/components/headerLink/HeaderLink.tsx"),IconAngleLeft=__webpack_require__("./src/icons/IconAngleLeft.tsx"),useIsomorphicLayoutEffect=__webpack_require__("./src/hooks/useIsomorphicLayoutEffect.ts");const getIsElementLoaded=function(){var _ref=(0,asyncToGenerator.Z)((0,regeneratorRuntime.Z)().mark((function _callee(selector){return(0,regeneratorRuntime.Z)().wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:if(document){_context.next=2;break}return _context.abrupt("return",null);case 2:if(null!==document.querySelector(selector)){_context.next=7;break}return _context.next=5,new Promise((function(resolve){return requestAnimationFrame(resolve)}));case 5:_context.next=2;break;case 7:return _context.abrupt("return",document.querySelector(selector));case 8:case"end":return _context.stop()}}),_callee)})));return function(_x){return _ref.apply(this,arguments)}}(),HeaderActionBarLogo_module_logoWrapper="HeaderActionBarLogo_logoWrapper__DpRbd";var HeaderActionBarLogo=function HeaderActionBarLogo(_ref){var logoProps=_ref.logoProps,logo=_ref.logo;return(0,jsx_runtime.jsx)(LinkItem,(0,objectSpread2.Z)((0,objectSpread2.Z)({},logoProps),{},{children:(0,jsx_runtime.jsx)("span",{className:HeaderActionBarLogo_module_logoWrapper,children:logo})}))};const headerActionBar_HeaderActionBarLogo=HeaderActionBarLogo;try{HeaderActionBarLogo.displayName="HeaderActionBarLogo",HeaderActionBarLogo.__docgenInfo={description:"",displayName:"HeaderActionBarLogo",props:{logoProps:{defaultValue:null,description:"Logo properties",name:"logoProps",required:!0,type:{name:"LinkProps"}},logo:{defaultValue:null,description:"Logo to use",name:"logo",required:!0,type:{name:"Element"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/header/components/headerActionBar/HeaderActionBarLogo.tsx#HeaderActionBarLogo"]={docgenInfo:HeaderActionBarLogo.__docgenInfo,name:"HeaderActionBarLogo",path:"src/components/header/components/headerActionBar/HeaderActionBarLogo.tsx#HeaderActionBarLogo"})}catch(__react_docgen_typescript_loader_error){}var HeaderActionBarNavigationMenu_excluded=["children","className","universalLinks"],NavigationSection=function NavigationSection(_ref){var children=_ref.children,className=_ref.className,universalLinks=_ref.universalLinks,rest=(0,objectWithoutProperties.Z)(_ref,HeaderActionBarNavigationMenu_excluded);return(0,jsx_runtime.jsxs)("section",(0,objectSpread2.Z)((0,objectSpread2.Z)({},rest),{},{className:(0,classNames.Z)(HeaderActionBarNavigationMenu_module.navSection,className),children:[(0,jsx_runtime.jsx)("nav",{className:HeaderActionBarNavigationMenu_module.navigation,children:(0,jsx_runtime.jsx)("ul",{className:HeaderActionBarNavigationMenu_module.menu,children})}),(0,jsx_runtime.jsx)("ul",{className:HeaderActionBarNavigationMenu_module.universalList,children:universalLinks.map((function(child,index){return(0,react.isValidElement)(child)?(0,jsx_runtime.jsx)("li",{children:(0,react.cloneElement)(child,{className:HeaderActionBarNavigationMenu_module.universalLink})},index):null}))})]}))},PreviousDropdownLink=function PreviousDropdownLink(_ref2){var link=_ref2.link,frontPageLabel=_ref2.frontPageLabel,_onClick=_ref2.onClick,titleHref=_ref2.titleHref,openFrontPageLinksAriaLabel=_ref2.openFrontPageLinksAriaLabel,previousLabel=(null==link?void 0:link.props.label)||frontPageLabel,previousAriaLabel=(null==link?void 0:link.props.openDropdownAriaButtonLabel)||openFrontPageLinksAriaLabel;return(0,jsx_runtime.jsx)("li",{className:HeaderActionBarNavigationMenu_module.previousListItem,children:(0,jsx_runtime.jsxs)("button",{type:"button",className:HeaderActionBarNavigationMenu_module.previousLinkWrapper,onClick:function onClick(){return _onClick(link||titleHref)},"aria-label":previousAriaLabel,children:[(0,jsx_runtime.jsx)("span",{className:HeaderActionBarNavigationMenu_module.previousButton,children:(0,jsx_runtime.jsx)(IconAngleLeft.IconAngleLeft,{className:HeaderActionBarNavigationMenu_module.backIcon})}),(0,jsx_runtime.jsx)("span",{className:HeaderActionBarNavigationMenu_module.previousMobileLink,children:previousLabel})]})})},ActiveDropdownLink=function ActiveDropdownLink(_ref3){var id=_ref3.id,link=_ref3.link,frontPageLabel=_ref3.frontPageLabel,titleHref=_ref3.titleHref,onLinkClick=_ref3.onLinkClick,className=HeaderActionBarNavigationMenu_module.activeMobileLink,activeLink=link?(0,react.cloneElement)(link,{id,className,dropdownButtonClassName:HeaderActionBarNavigationMenu_module.hideDropdownButton,wrapperClassName:HeaderActionBarNavigationMenu_module.mobileLinkWrapper,onClick:function onClick(event){link.props.onClick&&link.props.onClick(event),onLinkClick(event)}}):(0,jsx_runtime.jsx)(HeaderLink.K,{id,label:frontPageLabel,href:titleHref,className,onClick:onLinkClick});return(0,jsx_runtime.jsx)("li",{className:HeaderActionBarNavigationMenu_module.activeListItem,children:(0,jsx_runtime.jsx)("span",{className:HeaderActionBarNavigationMenu_module.activeLinkWrapper,children:activeLink})})},MenuLinks=function MenuLinks(_ref4){var links=_ref4.links,_onDropdownButtonClick=_ref4.onDropdownButtonClick,onLinkClick=_ref4.onLinkClick;return(0,jsx_runtime.jsx)(jsx_runtime.Fragment,{children:links.filter((function(child){return(0,react.isValidElement)(child)})).map((function(child,index){return(0,jsx_runtime.jsx)("li",{children:(0,jsx_runtime.jsx)("span",{className:HeaderActionBarNavigationMenu_module.mobileNavigationLink,children:(0,react.cloneElement)(child,{dropdownLinkClassName:HeaderActionBarNavigationMenu_module.mobileDropdownLink,dropdownClassName:HeaderActionBarNavigationMenu_module.mobileLinkDropdown,wrapperClassName:HeaderActionBarNavigationMenu_module.mobileLinkWrapper,dropdownButtonClassName:HeaderActionBarNavigationMenu_module.mobileLinkDropdownButton,className:(0,classNames.Z)(child.props.className,HeaderActionBarNavigationMenu_module.mobileLink),index,onDropdownButtonClick:function onDropdownButtonClick(){return _onDropdownButtonClick(child)},onClick:function onClick(event){child.props.onClick&&child.props.onClick(event),onLinkClick(child)}})})},index)}))})};function findActiveLinks(obj){var activeLinks=[];return obj.props.active&&activeLinks.push(obj),obj.props.dropdownLinks&&obj.props.dropdownLinks.length>0&&obj.props.dropdownLinks.forEach((function(link){activeLinks.push.apply(activeLinks,(0,toConsumableArray.Z)(findActiveLinks(link)))})),activeLinks}var HeaderActionBarNavigationMenu=function HeaderActionBarNavigationMenu(_ref5){var frontPageLabel=_ref5.frontPageLabel,titleHref=_ref5.titleHref,logo=_ref5.logo,logoProps=_ref5.logoProps,openFrontPageLinksAriaLabel=_ref5.openFrontPageLinksAriaLabel,_useHeaderContext=(0,HeaderContext.Jv)(),navigationContent=_useHeaderContext.navigationContent,mobileMenuOpen=_useHeaderContext.mobileMenuOpen,hasUniversalContent=_useHeaderContext.hasUniversalContent,universalContent=_useHeaderContext.universalContent,setMobileMenuOpen=(0,HeaderContext.ZQ)().setMobileMenuOpen,_useState=(0,react.useState)([]),_useState2=(0,slicedToArray.Z)(_useState,2),openMainLinks=_useState2[0],setOpenMainLinks=_useState2[1],_useState3=(0,react.useState)(null),_useState4=(0,slicedToArray.Z)(_useState3,2),openingLink=_useState4[0],setOpeningLink=_useState4[1],_useState5=(0,react.useState)("left0"),_useState6=(0,slicedToArray.Z)(_useState5,2),position=_useState6[0],setPosition=_useState6[1],_useState7=(0,react.useState)(!1),_useState8=(0,slicedToArray.Z)(_useState7,2),isAnimating=_useState8[0],setIsAnimating=_useState8[1],navContainerRef=(0,react.useRef)(),isOpeningFrontPageLinks="string"==typeof openingLink&&openingLink===titleHref,isUserInDropdownTree=openMainLinks.length>1,currentlyActiveMainLink=openMainLinks[openMainLinks.length-1],previousDropdownLink=isUserInDropdownTree?openMainLinks[openMainLinks.indexOf(currentlyActiveMainLink)-1]:null,menuLinks=openMainLinks.length>0?currentlyActiveMainLink.props.dropdownLinks:navigationContent,previousMenuLinks=isUserInDropdownTree?openMainLinks[openMainLinks.indexOf(currentlyActiveMainLink)-1].props.dropdownLinks:navigationContent,universalLinks=hasUniversalContent?(0,getChildren.AU)(universalContent):[],isRenderingDeepestMenu="left200"===position,isOpeningLinkFromBefore=function isOpeningLinkFromBefore(link){return"string"!=typeof link&&!!openMainLinks.includes(link)};if((0,useIsomorphicLayoutEffect.Z)((function(){var mainLevelActiveLink=function getActiveMainLevelLink(links){return(0,getChildren.AU)(links).find((function(link){return(0,react.isValidElement)(link)&&link.props.active}))}(navigationContent);if(mainLevelActiveLink){var mainLinkElement=mainLevelActiveLink,activeMainLinks=findActiveLinks((0,react.cloneElement)(mainLinkElement)).filter((function(link){return link.props.dropdownLinks}));setOpenMainLinks(activeMainLinks),setPosition({0:"left0",1:"left100",2:"left200"}[activeMainLinks.length])}}),[navigationContent]),(0,react.useEffect)((function(){openingLink&&isOpeningLinkFromBefore(openingLink)||openingLink===titleHref?"left100"===position?setPosition("left0"):"left200"===position&&setPosition("left100"):openingLink&&!isOpeningLinkFromBefore(openingLink)&&("left0"===position?setPosition("left100"):"left100"===position&&setPosition("left200"))}),[openingLink]),!mobileMenuOpen)return null;var goDeeper=function goDeeper(link){setOpeningLink(link),setIsAnimating(!0)},goBack=function goBack(link){setOpeningLink(link),setIsAnimating(!0)},animationsDone=function(){var _ref6=(0,asyncToGenerator.Z)((0,regeneratorRuntime.Z)().mark((function _callee(e){var targetElement,newLinks,newlyOpenedLink;return(0,regeneratorRuntime.Z)().wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:if(targetElement=e.target,openingLink&&!isOpeningFrontPageLinks?(newLinks=[],newlyOpenedLink=openingLink,newLinks=isOpeningLinkFromBefore(openingLink)?openMainLinks.slice(0,-1):[].concat((0,toConsumableArray.Z)(openMainLinks),[newlyOpenedLink]),setOpenMainLinks(newLinks),setOpeningLink(null)):isOpeningFrontPageLinks&&(setOpenMainLinks([]),setOpeningLink(null)),setIsAnimating(!1),"transform"!==e.propertyName||"SECTION"!==targetElement.firstChild.nodeName){_context.next=8;break}return _context.next=6,getIsElementLoaded("#".concat("current-active-link"));case 6:_context.sent.focus();case 8:case"end":return _context.stop()}}),_callee)})));return function animationsDone(_x){return _ref6.apply(this,arguments)}}(),handleLinkClick=function handleLinkClick(){setMobileMenuOpen(!1)};return(0,jsx_runtime.jsxs)("div",{className:(0,classNames.Z)(HeaderActionBarNavigationMenu_module.headerNavigationMenu,mobileMenuOpen&&HeaderActionBarNavigationMenu_module.mobileMenuOpen),children:[(0,jsx_runtime.jsxs)("div",{className:(0,classNames.Z)(HeaderActionBarNavigationMenu_module.navigationWrapper,HeaderActionBarNavigationMenu_module[position]),onTransitionEnd:animationsDone,ref:navContainerRef,children:[openMainLinks.length>=1&&(0,jsx_runtime.jsxs)(NavigationSection,{universalLinks,"aria-hidden":!0,className:isAnimating?HeaderActionBarNavigationMenu_module.visible:HeaderActionBarNavigationMenu_module.hidden,children:[(0,jsx_runtime.jsx)(ActiveDropdownLink,{link:previousDropdownLink,frontPageLabel,titleHref,onLinkClick:handleLinkClick}),(0,jsx_runtime.jsx)(MenuLinks,{links:previousMenuLinks,onDropdownButtonClick:goDeeper,onLinkClick:handleLinkClick})]}),(0,jsx_runtime.jsxs)(NavigationSection,{universalLinks,"aria-hidden":isRenderingDeepestMenu,className:isRenderingDeepestMenu?HeaderActionBarNavigationMenu_module.hidden:HeaderActionBarNavigationMenu_module.visible,children:[openMainLinks.length>0&&(0,jsx_runtime.jsx)(PreviousDropdownLink,{link:previousDropdownLink,frontPageLabel,titleHref,onClick:goBack,openFrontPageLinksAriaLabel}),(0,jsx_runtime.jsx)(ActiveDropdownLink,{id:isRenderingDeepestMenu||isAnimating?void 0:"current-active-link",link:isRenderingDeepestMenu?previousDropdownLink:currentlyActiveMainLink,frontPageLabel,titleHref,onLinkClick:handleLinkClick}),(0,jsx_runtime.jsx)(MenuLinks,{links:menuLinks,onDropdownButtonClick:goDeeper,onLinkClick:handleLinkClick})]}),!openingLink&&(0,jsx_runtime.jsxs)(NavigationSection,{universalLinks,"aria-hidden":!isRenderingDeepestMenu,className:isAnimating||isRenderingDeepestMenu?HeaderActionBarNavigationMenu_module.visible:HeaderActionBarNavigationMenu_module.hidden,children:[(0,jsx_runtime.jsx)(PreviousDropdownLink,{link:previousDropdownLink,frontPageLabel,titleHref,onClick:goBack,openFrontPageLinksAriaLabel}),(0,jsx_runtime.jsx)(ActiveDropdownLink,{id:isRenderingDeepestMenu?"current-active-link":void 0,link:currentlyActiveMainLink,frontPageLabel,titleHref,onLinkClick:handleLinkClick}),(0,jsx_runtime.jsx)(MenuLinks,{links:menuLinks,onDropdownButtonClick:goDeeper,onLinkClick:handleLinkClick})]}),openingLink&&"string"!=typeof openingLink&&(0,jsx_runtime.jsxs)(NavigationSection,{universalLinks,"aria-hidden":!openingLink,className:isAnimating?HeaderActionBarNavigationMenu_module.visible:HeaderActionBarNavigationMenu_module.hidden,children:[(0,jsx_runtime.jsx)(PreviousDropdownLink,{link:currentlyActiveMainLink,frontPageLabel,titleHref,onClick:goBack,openFrontPageLinksAriaLabel}),(0,jsx_runtime.jsx)(ActiveDropdownLink,{link:openingLink,frontPageLabel,titleHref,onLinkClick:handleLinkClick}),(0,jsx_runtime.jsx)(MenuLinks,{links:openingLink.props.dropdownLinks,onDropdownButtonClick:goDeeper,onLinkClick:handleLinkClick})]})]}),(0,jsx_runtime.jsx)(headerActionBar_HeaderActionBarLogo,{logoProps:(0,objectSpread2.Z)((0,objectSpread2.Z)({},logoProps),{},{className:(0,classNames.Z)(logoProps.className,HeaderActionBarNavigationMenu_module.logoLink)}),logo})]})};try{HeaderActionBarNavigationMenu.displayName="HeaderActionBarNavigationMenu",HeaderActionBarNavigationMenu.__docgenInfo={description:"",displayName:"HeaderActionBarNavigationMenu",props:{frontPageLabel:{defaultValue:null,description:"",name:"frontPageLabel",required:!0,type:{name:"string"}},titleHref:{defaultValue:null,description:"",name:"titleHref",required:!0,type:{name:"string"}},logo:{defaultValue:null,description:"Logo to use",name:"logo",required:!0,type:{name:"Element"}},logoProps:{defaultValue:null,description:"Logo properties",name:"logoProps",required:!0,type:{name:"LinkProps"}},openFrontPageLinksAriaLabel:{defaultValue:null,description:"",name:"openFrontPageLinksAriaLabel",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/header/components/headerActionBar/HeaderActionBarNavigationMenu.tsx#HeaderActionBarNavigationMenu"]={docgenInfo:HeaderActionBarNavigationMenu.__docgenInfo,name:"HeaderActionBarNavigationMenu",path:"src/components/header/components/headerActionBar/HeaderActionBarNavigationMenu.tsx#HeaderActionBarNavigationMenu"})}catch(__react_docgen_typescript_loader_error){}var HeaderLanguageSelector=__webpack_require__("./src/components/header/components/headerLanguageSelector/HeaderLanguageSelector.tsx"),useCallback=__webpack_require__("./src/utils/useCallback.ts"),IconCross=__webpack_require__("./src/icons/IconCross.tsx"),IconMenuHamburger=__webpack_require__("./src/icons/IconMenuHamburger.tsx"),HeaderActionBarItem=__webpack_require__("./src/components/header/components/headerActionBarItem/HeaderActionBarItem.tsx"),HeaderActionBarMenuItem=function HeaderActionBarMenuItem(_ref){var ariaLabel=_ref.ariaLabel,onClick=_ref.onClick,_useHeaderContext=(0,HeaderContext.Jv)(),hasNavigationContent=_useHeaderContext.hasNavigationContent,mobileMenuOpen=_useHeaderContext.mobileMenuOpen,isNotLargeScreen=_useHeaderContext.isNotLargeScreen,setMobileMenuOpen=(0,HeaderContext.ZQ)().setMobileMenuOpen,aria={"aria-label":ariaLabel,"aria-expanded":mobileMenuOpen,"aria-controls":mobileMenuOpen&&"hds-mobile-menu"},handleClickCapture=(0,useCallback.Zi)(onClick);return hasNavigationContent&&isNotLargeScreen?(0,jsx_runtime.jsx)(HeaderActionBarItem.n,(0,objectSpread2.Z)((0,objectSpread2.Z)({label:"Menu"},aria),{},{onClick:function handleClick(event){event.isPropagationStopped()||setMobileMenuOpen(!mobileMenuOpen)},onClickCapture:handleClickCapture,icon:mobileMenuOpen?(0,jsx_runtime.jsx)(IconCross.IconCross,{}):(0,jsx_runtime.jsx)(IconMenuHamburger.IconMenuHamburger,{})})):null};try{HeaderActionBarMenuItem.displayName="HeaderActionBarMenuItem",HeaderActionBarMenuItem.__docgenInfo={description:"",displayName:"HeaderActionBarMenuItem",props:{ariaLabel:{defaultValue:null,description:"",name:"ariaLabel",required:!1,type:{name:"string"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"(event: MouseEvent) => void"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/header/components/headerActionBarItem/HeaderActionBarMenuItem.tsx#HeaderActionBarMenuItem"]={docgenInfo:HeaderActionBarMenuItem.__docgenInfo,name:"HeaderActionBarMenuItem",path:"src/components/header/components/headerActionBarItem/HeaderActionBarMenuItem.tsx#HeaderActionBarMenuItem"})}catch(__react_docgen_typescript_loader_error){}const HeaderActionBar_module={header:"HeaderActionBar_header__+ARfd","theme-dark":"HeaderActionBar_theme-dark__5qOpQ",headerBackgroundWrapper:"HeaderActionBar_headerBackgroundWrapper__NKEiY",headerActionBar:"HeaderActionBar_headerActionBar__04z3n",headerActionBarContainer:"HeaderActionBar_headerActionBarContainer__Qy-WL",headerActions:"HeaderActionBar_headerActions__OQ9D5",titleAndLogoContainer:"HeaderActionBar_titleAndLogoContainer__UNUXl",title:"HeaderActionBar_title__HR+eI",normal:"HeaderActionBar_normal__FN63e",bold:"HeaderActionBar_bold__ovvxq",black:"HeaderActionBar_black__FoYNm",logo:"HeaderActionBar_logo__jkhie"};var HeaderActionBar_classNames=(0,classNames.P)(HeaderActionBar_module),TabBarrierPosition=function(TabBarrierPosition){return TabBarrierPosition.top="top",TabBarrierPosition.bottom="bottom",TabBarrierPosition}(TabBarrierPosition||{}),defaultBarrierProps={tabIndex:0,"aria-hidden":!0},findFocusableElementsWithin=function findFocusableElementsWithin(element){var elements=element.querySelectorAll('a, button, textarea, input[type="text"], select');return Array.from(elements).filter((function(item){return function elementIsFocusable(element){if(!window)return!1;var _window=window,innerHeight=_window.innerHeight,innerWidth=_window.innerWidth,_element$getBoundingC=element.getBoundingClientRect(),top=_element$getBoundingC.top,left=_element$getBoundingC.left,bottom=_element$getBoundingC.bottom,right=_element$getBoundingC.right,width=_element$getBoundingC.width,height=_element$getBoundingC.height,isInViewport=top>=0&&left>=0&&bottom<=innerHeight&&right<=innerWidth,hasTabIndex=element.tabIndex>=0,isEnabled=!1===Boolean(element.getAttribute("disabled"));return isInViewport&&hasTabIndex&&isEnabled&&width>0&&height>0}(item)}))},focusToActionBar=function focusToActionBar(position,element){if(element){var focusableElements=findFocusableElementsWithin(element);focusableElements.length&&focusableElements[position===TabBarrierPosition.top?0:focusableElements.length-1].focus()}},ContentTabBarrier=function ContentTabBarrier(_ref){var onFocus=_ref.onFocus;return(0,jsx_runtime.jsx)("div",(0,objectSpread2.Z)((0,objectSpread2.Z)({},defaultBarrierProps),{},{onFocus}))},addDocumentTabBarrier=function addDocumentTabBarrier(position,actionBar){var element=document.createElement("div");return element.className="hds-actionbar-tab-barrier",element.tabIndex=defaultBarrierProps.tabIndex,element["aria-hidden"]=defaultBarrierProps["aria-hidden"],element.addEventListener("focus",(function(){return focusToActionBar(position,actionBar)})),position===TabBarrierPosition.top?document.body.insertBefore(element,document.body.firstChild):document.body.appendChild(element),function(){return element.remove()}},TitleStyleType=function(TitleStyleType){return TitleStyleType.Normal="normal",TitleStyleType.Bold="bold",TitleStyleType}({}),HeaderActionBar=function HeaderActionBar(_ref2){var title=_ref2.title,titleStyle=_ref2.titleStyle,titleAriaLabel=_ref2.titleAriaLabel,logoAriaLabel=_ref2.logoAriaLabel,menuButtonAriaLabel=_ref2.menuButtonAriaLabel,titleHref=_ref2.titleHref,logoHref=_ref2.logoHref,logo=_ref2.logo,onTitleClick=_ref2.onTitleClick,onLogoClick=_ref2.onLogoClick,children=_ref2.children,className=_ref2.className,ariaLabel=_ref2.ariaLabel,role=_ref2.role,frontPageLabel=_ref2.frontPageLabel,openFrontPageLinksAriaLabel=_ref2.openFrontPageLinksAriaLabel,handleClick=(0,useCallback.Zi)(onTitleClick),handleLogoClick=(0,useCallback.Zi)(onLogoClick),handleKeyPress=(0,useCallback.dq)(handleClick),handleLogoKeyPress=(0,useCallback.dq)(handleLogoClick),mobileMenuOpen=(0,HeaderContext.Jv)().mobileMenuOpen,actionBarRef=(0,react.useRef)();(0,react.useEffect)((function(){if(mobileMenuOpen&&void 0!==actionBarRef){var removeTopTabBarrier=addDocumentTabBarrier(TabBarrierPosition.top,actionBarRef.current),removeBottomTabBarrier=addDocumentTabBarrier(TabBarrierPosition.bottom,actionBarRef.current);return function(){removeTopTabBarrier(),removeBottomTabBarrier()}}}),[actionBarRef,mobileMenuOpen]);var logoProps={"aria-label":logoAriaLabel,href:logoHref,className:HeaderActionBar_classNames(HeaderActionBar_module.titleAndLogoContainer,HeaderActionBar_module.logo),onClick:handleLogoClick,onKeyPress:handleLogoKeyPress},titleProps={"aria-label":titleAriaLabel,href:titleHref,className:HeaderActionBar_classNames(HeaderActionBar_module.titleAndLogoContainer,HeaderActionBar_module.title,HeaderActionBar_module[titleStyle]),onClick:onTitleClick,onKeyPress:handleLogoKeyPress};titleProps.href||titleProps.onClick?(titleProps.onKeyPress=handleKeyPress,titleProps.onClick=handleClick):titleProps.role=titleAriaLabel&&"img";var childrenLeft=Array.isArray(children)?children.filter((function(item){return react.isValidElement(item)&&!item.props.fixedRightPosition})):[children],childrenRight=Array.isArray(children)?children.filter((function(item){return react.isValidElement(item)&&!!item.props.fixedRightPosition})):[],_getLanguageSelectorC=(0,HeaderLanguageSelector.fl)(children),lsChildren=_getLanguageSelectorC.children,lsProps=_getLanguageSelectorC.props,componentExists=_getLanguageSelectorC.componentExists,languageSelectorChildren=(0,react.useMemo)((function(){return lsChildren?(0,getChildren.fL)(lsChildren):null}),[lsChildren]);return(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[mobileMenuOpen&&(0,jsx_runtime.jsx)(ContentTabBarrier,{onFocus:function onFocus(){return focusToActionBar(TabBarrierPosition.bottom,actionBarRef.current)}}),(0,jsx_runtime.jsxs)("div",{className:HeaderActionBar_module.headerActionBarContainer,ref:actionBarRef,children:[(0,jsx_runtime.jsxs)("div",{className:HeaderActionBar_classNames(HeaderActionBar_module.headerActionBar,className),role,"aria-label":ariaLabel,children:[(0,jsx_runtime.jsx)(headerActionBar_HeaderActionBarLogo,{logo,logoProps}),title&&(0,jsx_runtime.jsx)(LinkItem,(0,objectSpread2.Z)((0,objectSpread2.Z)({},titleProps),{},{children:(0,jsx_runtime.jsx)("span",{className:HeaderActionBar_classNames(HeaderActionBar_module.title),children:title})})),(0,jsx_runtime.jsxs)("div",{className:HeaderActionBar_module.headerActions,children:[componentExists&&(0,jsx_runtime.jsx)(HeaderLanguageSelector.hR,(0,objectSpread2.Z)((0,objectSpread2.Z)({},lsProps),{},{children:languageSelectorChildren})),childrenLeft,(0,jsx_runtime.jsx)(HeaderActionBarMenuItem,{ariaLabel:menuButtonAriaLabel}),childrenRight.length>0&&(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsx)("hr",{}),childrenRight]})]})]}),(0,jsx_runtime.jsx)(HeaderActionBarNavigationMenu,{frontPageLabel,titleHref,logo,logoProps,openFrontPageLinksAriaLabel})]}),componentExists&&(0,jsx_runtime.jsx)(HeaderLanguageSelector.hR,(0,objectSpread2.Z)((0,objectSpread2.Z)({},lsProps),{},{fullWidthForMobile:!0,children:languageSelectorChildren})),mobileMenuOpen&&(0,jsx_runtime.jsx)(ContentTabBarrier,{onFocus:function onFocus(){return focusToActionBar(TabBarrierPosition.top,actionBarRef.current)}})]})};HeaderActionBar.defaultProps={titleStyle:TitleStyleType.Normal};try{HeaderActionBar.displayName="HeaderActionBar",HeaderActionBar.__docgenInfo={description:"",displayName:"HeaderActionBar",props:{ariaLabel:{defaultValue:null,description:"Aria-label for describing ActionBar.",name:"ariaLabel",required:!1,type:{name:"string"}},className:{defaultValue:null,description:"Additional class names to apply.",name:"className",required:!1,type:{name:"string"}},frontPageLabel:{defaultValue:null,description:"Label for front page link in mobile navigation menu.",name:"frontPageLabel",required:!0,type:{name:"string"}},openFrontPageLinksAriaLabel:{defaultValue:null,description:"Aria-label for describing opening main navigation links into view in mobile navigation menu.",name:"openFrontPageLinksAriaLabel",required:!1,type:{name:"string"}},logo:{defaultValue:null,description:"Logo to use",name:"logo",required:!0,type:{name:"ReactElement<({ alt, className, dataTestId, size, style, ...rest }: LogoProps) => Element, string | JSXElementConstructor>"}},logoAriaLabel:{defaultValue:null,description:"The aria-label for the logo to screen reader users.",name:"logoAriaLabel",required:!1,type:{name:"string"}},logoHref:{defaultValue:null,description:"Link for the logo.",name:"logoHref",required:!1,type:{name:"string"}},menuButtonAriaLabel:{defaultValue:null,description:"The aria-label for the menu button to screen reader users.",name:"menuButtonAriaLabel",required:!1,type:{name:"string"}},onLogoClick:{defaultValue:null,description:"Callback fired when the logo is clicked.",name:"onLogoClick",required:!1,type:{name:"MouseEventHandler"}},onTitleClick:{defaultValue:null,description:"Callback fired when the title is clicked.",name:"onTitleClick",required:!1,type:{name:"MouseEventHandler"}},role:{defaultValue:null,description:"ARIA role to describe the contents.",name:"role",required:!1,type:{name:"string"}},title:{defaultValue:null,description:"Service name that is displayed next to the Helsinki logo.",name:"title",required:!0,type:{name:"string"}},titleAriaLabel:{defaultValue:null,description:"The aria-label for the title describing the service to screen reader users.",name:"titleAriaLabel",required:!1,type:{name:"string"}},titleHref:{defaultValue:null,description:"Link for the title.",name:"titleHref",required:!0,type:{name:"string"}},titleStyle:{defaultValue:{value:"TitleStyleType.Normal"},description:"Style for title.",name:"titleStyle",required:!1,type:{name:"enum",value:[{value:'"normal"'},{value:'"bold"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/header/components/headerActionBar/HeaderActionBar.tsx#HeaderActionBar"]={docgenInfo:HeaderActionBar.__docgenInfo,name:"HeaderActionBar",path:"src/components/header/components/headerActionBar/HeaderActionBar.tsx#HeaderActionBar"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/header/components/headerActionBarItem/HeaderActionBarItem.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{n:()=>HeaderActionBarItem});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),defineProperty=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/defineProperty.js"),objectWithoutProperties=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react=__webpack_require__("../../node_modules/react/index.js"),classNames=__webpack_require__("./src/utils/classNames.ts");const HeaderActionBarItem_module_actionBarItem="HeaderActionBarItem_actionBarItem__S+tGH",HeaderActionBarItem_module_actionBarItemIcon="HeaderActionBarItem_actionBarItemIcon__GljMr",HeaderActionBarItem_module_actionBarItemLabel="HeaderActionBarItem_actionBarItemLabel__BOp-4",HeaderActionBarItem_module_labelOnRight="HeaderActionBarItem_labelOnRight__eBQP-",HeaderActionBarItem_module_fixedRightPosition="HeaderActionBarItem_fixedRightPosition__M47GS";var jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),_excluded=["icon","label","labelOnRight","fixedRightPosition","className","ariaLabel","ariaControls"],HeaderActionBarItem=(0,react.forwardRef)((function(_ref,ref){var _classNames,_classNames2,_classNames3,icon=_ref.icon,label=_ref.label,labelOnRight=_ref.labelOnRight,fixedRightPosition=_ref.fixedRightPosition,className=_ref.className,ariaLabel=_ref.ariaLabel,ariaControls=_ref.ariaControls,rest=(0,objectWithoutProperties.Z)(_ref,_excluded),buttonClassName=(0,classNames.Z)((_classNames={},(0,defineProperty.Z)(_classNames,HeaderActionBarItem_module_actionBarItem,!0),(0,defineProperty.Z)(_classNames,className,!0),(0,defineProperty.Z)(_classNames,HeaderActionBarItem_module_fixedRightPosition,fixedRightPosition),_classNames)),iconClassName=(0,classNames.Z)((_classNames2={},(0,defineProperty.Z)(_classNames2,HeaderActionBarItem_module_actionBarItemIcon,!0),(0,defineProperty.Z)(_classNames2,HeaderActionBarItem_module_labelOnRight,labelOnRight),_classNames2)),labelClassName=(0,classNames.Z)((_classNames3={},(0,defineProperty.Z)(_classNames3,HeaderActionBarItem_module_actionBarItemLabel,!0),(0,defineProperty.Z)(_classNames3,HeaderActionBarItem_module_labelOnRight,labelOnRight),_classNames3));return(0,jsx_runtime.jsxs)("button",(0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)({type:"button"},rest),ariaLabel&&{"aria-label":ariaLabel}),ariaControls&&{"aria-controls":ariaControls}),{},{className:buttonClassName,ref,children:[icon&&react.isValidElement(icon)&&(0,jsx_runtime.jsx)("span",{className:iconClassName,children:(0,react.cloneElement)(icon,{"aria-hidden":!0})}),label&&(0,jsx_runtime.jsx)("span",{className:labelClassName,children:label})]}))}));try{HeaderActionBarItem.displayName="HeaderActionBarItem",HeaderActionBarItem.__docgenInfo={description:"",displayName:"HeaderActionBarItem",props:{ariaLabel:{defaultValue:null,description:"Aria label for the item.",name:"ariaLabel",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"Label for the action bar item.",name:"label",required:!1,type:{name:"string | Element"}},icon:{defaultValue:null,description:"Icon element for the action bar item.",name:"icon",required:!1,type:{name:"ReactNode"}},labelOnRight:{defaultValue:null,description:"Positions the label to the right side of the icon.\n@internal",name:"labelOnRight",required:!1,type:{name:"boolean"}},fixedRightPosition:{defaultValue:null,description:"Fix the item position to the right side of the action bar.",name:"fixedRightPosition",required:!1,type:{name:"boolean"}},ariaControls:{defaultValue:null,description:"Id of controlled dropdown menu.",name:"ariaControls",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/header/components/headerActionBarItem/HeaderActionBarItem.tsx#HeaderActionBarItem"]={docgenInfo:HeaderActionBarItem.__docgenInfo,name:"HeaderActionBarItem",path:"src/components/header/components/headerActionBarItem/HeaderActionBarItem.tsx#HeaderActionBarItem"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/header/components/headerActionBarItem/HeaderActionBarItemWithDropdown.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{e:()=>HeaderActionBarItemWithDropdown});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),defineProperty=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/defineProperty.js"),slicedToArray=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),objectWithoutProperties=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react=__webpack_require__("../../node_modules/react/index.js"),IconCross=__webpack_require__("./src/icons/IconCross.tsx"),HeaderActionBarItem=__webpack_require__("./src/components/header/components/headerActionBarItem/HeaderActionBarItem.tsx"),classNames=__webpack_require__("./src/utils/classNames.ts");const HeaderActionBarItemWithDropdown_module_dropdownWrapper="HeaderActionBarItemWithDropdown_dropdownWrapper__67yXE",HeaderActionBarItemWithDropdown_module_container="HeaderActionBarItemWithDropdown_container__Tz0nf",HeaderActionBarItemWithDropdown_module_visible="HeaderActionBarItemWithDropdown_visible__eSKCG",HeaderActionBarItemWithDropdown_module_hasContent="HeaderActionBarItemWithDropdown_hasContent__hTaRq",HeaderActionBarItemWithDropdown_module_fullWidth="HeaderActionBarItemWithDropdown_fullWidth__amhk4",HeaderActionBarItemWithDropdown_module_icon="HeaderActionBarItemWithDropdown_icon__aOwHX",HeaderActionBarItemWithDropdown_module_dropdown="HeaderActionBarItemWithDropdown_dropdown__eeq6d";var jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),_excluded=["id","children","label","fullWidth","className","iconClassName","dropdownClassName","closeLabel","icon","closeIcon","ariaLabel","labelOnRight","fixedRightPosition"],HeaderActionBarItemWithDropdown=function HeaderActionBarItemWithDropdown(properties){var _visibilityClasses,id=properties.id,children=properties.children,label=properties.label,fullWidth=properties.fullWidth,classNameProp=properties.className,iconClassNameProp=properties.iconClassName,dropdownClassNameProp=properties.dropdownClassName,closeLabel=properties.closeLabel,icon=properties.icon,_properties$closeIcon=properties.closeIcon,closeIcon=void 0===_properties$closeIcon?IconCross.IconCross:_properties$closeIcon,ariaLabel=properties.ariaLabel,labelOnRight=properties.labelOnRight,fixedRightPosition=properties.fixedRightPosition,props=(0,objectWithoutProperties.Z)(properties,_excluded),dropdownContentElementRef=(0,react.useRef)(null),containerElementRef=(0,react.useRef)(null),_useState=(0,react.useState)(!1),_useState2=(0,slicedToArray.Z)(_useState,2),visible=_useState2[0],setDisplayProperty=_useState2[1],_useState3=(0,react.useState)(!1),_useState4=(0,slicedToArray.Z)(_useState3,2),hasContent=_useState4[0],setHasContent=_useState4[1],getContainer=function getContainer(){return containerElementRef.current},handleDocumentClick=function handleDocumentClick(event){var container=getContainer(),eventTargetNode=event.target;container.contains(eventTargetNode)||setDisplayProperty(!1)};(0,react.useEffect)((function(){return visible&&document.addEventListener("click",handleDocumentClick),function(){return document.removeEventListener("click",handleDocumentClick)}}),[containerElementRef.current,visible]),(0,react.useEffect)((function(){var _dropdownContentEleme;setHasContent(0!==(null===(_dropdownContentEleme=dropdownContentElementRef.current)||void 0===_dropdownContentEleme?void 0:_dropdownContentEleme.childNodes.length))}),[children]);var iconLabel=visible?closeLabel:label,iconClass=visible?closeIcon:icon,visibilityClasses=(_visibilityClasses={visible},(0,defineProperty.Z)(_visibilityClasses,HeaderActionBarItemWithDropdown_module_visible,visible),(0,defineProperty.Z)(_visibilityClasses,HeaderActionBarItemWithDropdown_module_hasContent,hasContent),(0,defineProperty.Z)(_visibilityClasses,HeaderActionBarItemWithDropdown_module_fullWidth,fullWidth),_visibilityClasses),className=(0,classNames.Z)(HeaderActionBarItemWithDropdown_module_container,classNameProp,visibilityClasses),iconClassName=(0,classNames.Z)(HeaderActionBarItemWithDropdown_module_icon,iconClassNameProp),dropdownClassName=(0,classNames.Z)(HeaderActionBarItemWithDropdown_module_dropdown,dropdownClassNameProp,visibilityClasses);return(0,jsx_runtime.jsxs)("div",(0,objectSpread2.Z)((0,objectSpread2.Z)({},props),{},{id,className,ref:containerElementRef,onBlur:function handleBlur(event){var container=getContainer(),eventTargetNode=event.relatedTarget;container.contains(eventTargetNode)||setDisplayProperty(!1)},children:[(0,jsx_runtime.jsx)(HeaderActionBarItem.n,{className:iconClassName,onClick:function handleButtonClick(){setDisplayProperty(!visible)},label:iconLabel,icon:iconClass,"aria-expanded":visible,"aria-label":ariaLabel,"aria-controls":"".concat(id,"-dropdown"),labelOnRight,fixedRightPosition}),(0,jsx_runtime.jsx)("div",{className:HeaderActionBarItemWithDropdown_module_dropdownWrapper,children:(0,jsx_runtime.jsx)("aside",{id:"".concat(id,"-dropdown"),className:dropdownClassName,ref:dropdownContentElementRef,children})})]}))};HeaderActionBarItemWithDropdown.defaultProps={fullWidth:!1,closeLabel:"Sulje"};try{HeaderActionBarItemWithDropdown.displayName="HeaderActionBarItemWithDropdown",HeaderActionBarItemWithDropdown.__docgenInfo={description:"",displayName:"HeaderActionBarItemWithDropdown",props:{id:{defaultValue:null,description:"ID of the dropdown item.",name:"id",required:!1,type:{name:"string"}},fullWidth:{defaultValue:{value:"false"},description:"Possibility to use a full-width version of the dropdown, for example in mobile use.",name:"fullWidth",required:!1,type:{name:"boolean"}},iconClassName:{defaultValue:null,description:"Additional classname for the icon.",name:"iconClassName",required:!1,type:{name:"string"}},dropdownClassName:{defaultValue:null,description:"Additional classname for the dropdown element.",name:"dropdownClassName",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"Label for the action bar item.",name:"label",required:!0,type:{name:"string | Element"}},closeLabel:{defaultValue:{value:"Sulje"},description:"Label for the action bar item when dropdown is open.",name:"closeLabel",required:!1,type:{name:"string | Element"}},icon:{defaultValue:null,description:"Icon for the action bar item.",name:"icon",required:!0,type:{name:"Element"}},closeIcon:{defaultValue:null,description:"Icon for the action bar item when dropdown is open.",name:"closeIcon",required:!1,type:{name:"Element"}},ariaLabel:{defaultValue:null,description:"Aria-label attribute for the dropdown button.",name:"ariaLabel",required:!1,type:{name:"string"}},labelOnRight:{defaultValue:null,description:"Positions the label right side of the icon.",name:"labelOnRight",required:!1,type:{name:"boolean"}},fixedRightPosition:{defaultValue:null,description:"Fix the item position to the right side of the action bar.",name:"fixedRightPosition",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/header/components/headerActionBarItem/HeaderActionBarItemWithDropdown.tsx#HeaderActionBarItemWithDropdown"]={docgenInfo:HeaderActionBarItemWithDropdown.__docgenInfo,name:"HeaderActionBarItemWithDropdown",path:"src/components/header/components/headerActionBarItem/HeaderActionBarItemWithDropdown.tsx#HeaderActionBarItemWithDropdown"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/header/components/headerLanguageSelector/HeaderLanguageSelector.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Mg:()=>HeaderLanguageSelector,hR:()=>HeaderLanguageSelectorConsumer,Rf:()=>LanguageButton,rq:()=>SimpleLanguageOptions,fl:()=>getLanguageSelectorComponentProps});var objectWithoutProperties=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),slicedToArray=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),defineProperty=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/defineProperty.js"),LanguageContext=(__webpack_require__("../../node_modules/react/index.js"),__webpack_require__("./src/components/header/LanguageContext.tsx")),classNames=__webpack_require__("./src/utils/classNames.ts"),useCallback=__webpack_require__("./src/utils/useCallback.ts"),HeaderActionBarItemWithDropdown=__webpack_require__("./src/components/header/components/headerActionBarItem/HeaderActionBarItemWithDropdown.tsx"),IconAngleDown=__webpack_require__("./src/icons/IconAngleDown.tsx"),IconAngleUp=__webpack_require__("./src/icons/IconAngleUp.tsx"),IconGlobe=__webpack_require__("./src/icons/IconGlobe.tsx");const HeaderLanguageSelector_module_languageSelector="HeaderLanguageSelector_languageSelector__K5jvz",HeaderLanguageSelector_module_languageSelectorDropdownIcon="HeaderLanguageSelector_languageSelectorDropdownIcon__JjYrv",HeaderLanguageSelector_module_languageSelectorDropdown="HeaderLanguageSelector_languageSelectorDropdown__yfzJl",HeaderLanguageSelector_module_item="HeaderLanguageSelector_item__20oWT",HeaderLanguageSelector_module_activeItem="HeaderLanguageSelector_activeItem__-wlYS",HeaderLanguageSelector_module_languageNodes="HeaderLanguageSelector_languageNodes__LfQt-",HeaderLanguageSelector_module_simpleLanguageNodes="HeaderLanguageSelector_simpleLanguageNodes__v9iSd",HeaderLanguageSelector_module_fullWidthForMobile="HeaderLanguageSelector_fullWidthForMobile__eEJS4";var HeaderContext=__webpack_require__("./src/components/header/HeaderContext.tsx"),getChildren=__webpack_require__("./src/utils/getChildren.ts"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),_excluded=["children"],LanguageButton=function LanguageButton(_ref){var value=_ref.value,label=_ref.label,activeLanguage=(0,LanguageContext.NO)(),setLanguage=(0,LanguageContext.RN)(),className=(0,classNames.Z)(HeaderLanguageSelector_module_item,(0,defineProperty.Z)({},HeaderLanguageSelector_module_activeItem,activeLanguage===value)),selectLanguage=(0,useCallback.K4)((function(){return setLanguage(value)}));return(0,jsx_runtime.jsx)("button",{lang:value,onClick:selectLanguage,type:"button",className,children:(0,jsx_runtime.jsx)("span",{children:label})},value)},renderLanguageNode=function renderLanguageNode(language){return(0,jsx_runtime.jsx)(LanguageButton,{value:language.value,label:language.label},language.value)},SimpleLanguageOptions=function SimpleLanguageOptions(_ref2){var languages=_ref2.languages;return(0,jsx_runtime.jsx)("div",{className:(0,classNames.Z)(HeaderLanguageSelector_module_languageNodes,HeaderLanguageSelector_module_simpleLanguageNodes),children:languages.map(renderLanguageNode)})},defaultLanguageSorter=function defaultLanguageSorter(options,selectedLanguage){var hasPrimaryLanguages=options.some((function(option){return void 0!==option.isPrimary})),selectedOption=options.find((function(option){return option.value===selectedLanguage}));return hasPrimaryLanguages&&!0!==selectedOption.isPrimary?[[selectedOption],options.filter((function(option){return option.value!==selectedOption.value}))]:hasPrimaryLanguages?[options.filter((function(option){return!!option.isPrimary})),options.filter((function(option){return!option.isPrimary}))]:[options,[]]};function HeaderLanguageSelector(props){return null}HeaderLanguageSelector.componentName="HeaderLanguageSelector";var HeaderLanguageSelectorConsumer=function HeaderLanguageSelectorConsumer(_ref3){var children=_ref3.children,ariaLabel=_ref3.ariaLabel,languageHeading=_ref3.languageHeading,_ref3$sortLanguageOpt=_ref3.sortLanguageOptions,sortLanguageOptions=void 0===_ref3$sortLanguageOpt?defaultLanguageSorter:_ref3$sortLanguageOpt,_ref3$fullWidthForMob=_ref3.fullWidthForMobile,fullWidthForMobile=void 0!==_ref3$fullWidthForMob&&_ref3$fullWidthForMob,_useHeaderContext=(0,HeaderContext.Jv)(),isNotLargeScreen=_useHeaderContext.isNotLargeScreen,mobileMenuOpen=_useHeaderContext.mobileMenuOpen,_sortLanguageOptions=sortLanguageOptions((0,LanguageContext.rT)(),(0,LanguageContext.NO)()),_sortLanguageOptions2=(0,slicedToArray.Z)(_sortLanguageOptions,2),primaryLanguages=_sortLanguageOptions2[0],secondaryLanguages=_sortLanguageOptions2[1],primaryLanguageNodes=primaryLanguages.map(renderLanguageNode),SecondaryLanguages=function SecondaryLanguages(){return 0===secondaryLanguages.length?null:(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[languageHeading&&(0,jsx_runtime.jsx)("h3",{children:languageHeading}),secondaryLanguages.map(renderLanguageNode)]})};if(!(isNotLargeScreen&&fullWidthForMobile&&!mobileMenuOpen||!isNotLargeScreen&&!fullWidthForMobile))return null;var hasChildren=children&&Array.isArray(children)&&children.length>0,hasSecondaryLanguages=secondaryLanguages.length>0;return(0,jsx_runtime.jsxs)("div",{className:(0,classNames.Z)(HeaderLanguageSelector_module_languageSelector,(0,defineProperty.Z)({},HeaderLanguageSelector_module_fullWidthForMobile,fullWidthForMobile)),children:[(0,jsx_runtime.jsx)("div",{className:(0,classNames.Z)(HeaderLanguageSelector_module_languageNodes),children:primaryLanguageNodes}),(hasChildren||hasSecondaryLanguages)&&(0,jsx_runtime.jsxs)(HeaderActionBarItemWithDropdown.e,{id:"language-selection-more",iconClassName:HeaderLanguageSelector_module_languageSelectorDropdownIcon,dropdownClassName:HeaderLanguageSelector_module_languageSelectorDropdown,label:(0,jsx_runtime.jsx)(IconAngleDown.IconAngleDown,{"aria-hidden":!0}),closeLabel:(0,jsx_runtime.jsx)(IconAngleUp.IconAngleUp,{"aria-hidden":!0}),icon:(0,jsx_runtime.jsx)(IconGlobe.IconGlobe,{"aria-hidden":!0}),closeIcon:(0,jsx_runtime.jsx)(IconGlobe.IconGlobe,{"aria-hidden":!0}),fullWidth:isNotLargeScreen,ariaLabel,labelOnRight:!0,children:[(0,jsx_runtime.jsx)(SecondaryLanguages,{}),children]})]})},getLanguageSelectorComponentProps=function getLanguageSelectorComponentProps(childList){var component=function getLanguageSelectorComponent(childList){var component=(0,getChildren.N1)(childList,HeaderLanguageSelector.componentName);return component[0]&&component[0][0]}(childList),_ref4=component&&component.props||{};return{children:_ref4.children,props:(0,objectWithoutProperties.Z)(_ref4,_excluded),componentExists:!!component}};try{HeaderLanguageSelector.displayName="HeaderLanguageSelector",HeaderLanguageSelector.__docgenInfo={description:"",displayName:"HeaderLanguageSelector",props:{ariaLabel:{defaultValue:null,description:"Aria-label attribute for the dropdown button.",name:"ariaLabel",required:!1,type:{name:"string"}},languageHeading:{defaultValue:null,description:"Heading for the list of languages inside the dropdown",name:"languageHeading",required:!1,type:{name:"string"}},sortLanguageOptions:{defaultValue:{value:"(options, selectedLanguage) => {\n const hasPrimaryLanguages = options.some((option) => typeof option.isPrimary !== 'undefined');\n const selectedOption = options.find((option) => option.value === selectedLanguage);\n if (hasPrimaryLanguages && selectedOption.isPrimary !== true) {\n return [[selectedOption], options.filter((option) => option.value !== selectedOption.value)];\n }\n return hasPrimaryLanguages\n ? [options.filter((option) => !!option.isPrimary), options.filter((option) => !option.isPrimary)]\n : [options, []];\n}"},description:"Function for sorting language options into primary and secondary.",name:"sortLanguageOptions",required:!1,type:{name:"(options: LanguageOption[], selectedLanguage: string) => [LanguageOption[], LanguageOption[]]"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/header/components/headerLanguageSelector/HeaderLanguageSelector.tsx#HeaderLanguageSelector"]={docgenInfo:HeaderLanguageSelector.__docgenInfo,name:"HeaderLanguageSelector",path:"src/components/header/components/headerLanguageSelector/HeaderLanguageSelector.tsx#HeaderLanguageSelector"})}catch(__react_docgen_typescript_loader_error){}try{LanguageButton.displayName="LanguageButton",LanguageButton.__docgenInfo={description:"",displayName:"LanguageButton",props:{label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}},value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"string"}},isPrimary:{defaultValue:null,description:"",name:"isPrimary",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/header/components/headerLanguageSelector/HeaderLanguageSelector.tsx#LanguageButton"]={docgenInfo:LanguageButton.__docgenInfo,name:"LanguageButton",path:"src/components/header/components/headerLanguageSelector/HeaderLanguageSelector.tsx#LanguageButton"})}catch(__react_docgen_typescript_loader_error){}try{SimpleLanguageOptions.displayName="SimpleLanguageOptions",SimpleLanguageOptions.__docgenInfo={description:"",displayName:"SimpleLanguageOptions",props:{languages:{defaultValue:null,description:"",name:"languages",required:!0,type:{name:"LanguageOption[]"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/header/components/headerLanguageSelector/HeaderLanguageSelector.tsx#SimpleLanguageOptions"]={docgenInfo:SimpleLanguageOptions.__docgenInfo,name:"SimpleLanguageOptions",path:"src/components/header/components/headerLanguageSelector/HeaderLanguageSelector.tsx#SimpleLanguageOptions"})}catch(__react_docgen_typescript_loader_error){}try{HeaderLanguageSelectorConsumer.displayName="HeaderLanguageSelectorConsumer",HeaderLanguageSelectorConsumer.__docgenInfo={description:"",displayName:"HeaderLanguageSelectorConsumer",props:{ariaLabel:{defaultValue:null,description:"Aria-label attribute for the dropdown button.",name:"ariaLabel",required:!1,type:{name:"string"}},languageHeading:{defaultValue:null,description:"Heading for the list of languages inside the dropdown",name:"languageHeading",required:!1,type:{name:"string"}},sortLanguageOptions:{defaultValue:{value:"(options, selectedLanguage) => {\n const hasPrimaryLanguages = options.some((option) => typeof option.isPrimary !== 'undefined');\n const selectedOption = options.find((option) => option.value === selectedLanguage);\n if (hasPrimaryLanguages && selectedOption.isPrimary !== true) {\n return [[selectedOption], options.filter((option) => option.value !== selectedOption.value)];\n }\n return hasPrimaryLanguages\n ? [options.filter((option) => !!option.isPrimary), options.filter((option) => !option.isPrimary)]\n : [options, []];\n}"},description:"Function for sorting language options into primary and secondary.",name:"sortLanguageOptions",required:!1,type:{name:"(options: LanguageOption[], selectedLanguage: string) => [LanguageOption[], LanguageOption[]]"}},fullWidthForMobile:{defaultValue:{value:"false"},description:"Mobile mode.\n@internal",name:"fullWidthForMobile",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/header/components/headerLanguageSelector/HeaderLanguageSelector.tsx#HeaderLanguageSelectorConsumer"]={docgenInfo:HeaderLanguageSelectorConsumer.__docgenInfo,name:"HeaderLanguageSelectorConsumer",path:"src/components/header/components/headerLanguageSelector/HeaderLanguageSelector.tsx#HeaderLanguageSelectorConsumer"})}catch(__react_docgen_typescript_loader_error){}try{getLanguageSelectorComponentProps.displayName="getLanguageSelectorComponentProps",getLanguageSelectorComponentProps.__docgenInfo={description:"",displayName:"getLanguageSelectorComponentProps",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/header/components/headerLanguageSelector/HeaderLanguageSelector.tsx#getLanguageSelectorComponentProps"]={docgenInfo:getLanguageSelectorComponentProps.__docgenInfo,name:"getLanguageSelectorComponentProps",path:"src/components/header/components/headerLanguageSelector/HeaderLanguageSelector.tsx#getLanguageSelectorComponentProps"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/header/components/headerLink/HeaderLink.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{K:()=>HeaderLink});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),slicedToArray=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),objectWithoutProperties=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react=__webpack_require__("../../node_modules/react/index.js"),v4=__webpack_require__("./node_modules/uuid/dist/esm-browser/v4.js");__webpack_require__("./src/styles/base.css");const HeaderLink_module={header:"HeaderLink_header__HS1GF","theme-dark":"HeaderLink_theme-dark__UI0vQ",headerBackgroundWrapper:"HeaderLink_headerBackgroundWrapper__V+bMi",headerLink:"HeaderLink_headerLink__Q+CZQ",active:"HeaderLink_active__8Jw+7",navigationLinkWrapper:"HeaderLink_navigationLinkWrapper__XhsWz",isNotLargeScreen:"HeaderLink_isNotLargeScreen__WOoeU"};var classNames=__webpack_require__("./src/utils/classNames.ts"),Link=__webpack_require__("./src/components/link/Link.tsx");const HeaderLinkDropdown_module={header:"HeaderLinkDropdown_header__9AwcE","theme-dark":"HeaderLinkDropdown_theme-dark__wUr1f",headerBackgroundWrapper:"HeaderLinkDropdown_headerBackgroundWrapper__X5Fks",button:"HeaderLinkDropdown_button__ClWrt",isNotLargeScreen:"HeaderLinkDropdown_isNotLargeScreen__9sZf2","depth-0":"HeaderLinkDropdown_depth-0__Eckuc",chevron:"HeaderLinkDropdown_chevron__JNMi9",chevronOpen:"HeaderLinkDropdown_chevronOpen__Znpsv",hidden:"HeaderLinkDropdown_hidden__-+n71",dropdownMenu:"HeaderLinkDropdown_dropdownMenu__ppesK",dropdownLink:"HeaderLinkDropdown_dropdownLink__Jc0Kf",activeLink:"HeaderLinkDropdown_activeLink__sIRUp",left:"HeaderLinkDropdown_left__6e3eu",right:"HeaderLinkDropdown_right__46eju"};var IconAngleRight=__webpack_require__("./src/icons/IconAngleRight.tsx"),IconAngleLeft=__webpack_require__("./src/icons/IconAngleLeft.tsx"),IconAngleDown=__webpack_require__("./src/icons/IconAngleDown.tsx"),HeaderContext=__webpack_require__("./src/components/header/HeaderContext.tsx"),getChildren=__webpack_require__("./src/utils/getChildren.ts"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),DropdownMenuPosition=function(DropdownMenuPosition){return DropdownMenuPosition.Left="left",DropdownMenuPosition.Right="right",DropdownMenuPosition}({}),HeaderLinkDropdown=function HeaderLinkDropdown(_ref){var children=_ref.children,_ref$position=_ref.position,position=void 0===_ref$position?DropdownMenuPosition.Right:_ref$position,className=_ref.className,index=_ref.index,open=_ref.open,setOpen=_ref.setOpen,_ref$depth=_ref.depth,depth=void 0===_ref$depth?0:_ref$depth,closeDropdownAriaButtonLabel=_ref.closeDropdownAriaButtonLabel,openDropdownAriaButtonLabel=_ref.openDropdownAriaButtonLabel,dropdownButtonClassName=_ref.dropdownButtonClassName,isNotLargeScreen=(0,HeaderContext.Jv)().isNotLargeScreen,_useState=(0,react.useState)(-1),_useState2=(0,slicedToArray.Z)(_useState,2),openSubNavIndex=_useState2[0],setOpenSubNavIndex=_useState2[1],ref=(0,react.useRef)(null),chevronClassName=open?(0,classNames.Z)(HeaderLinkDropdown_module.chevron,HeaderLinkDropdown_module.chevronOpen):HeaderLinkDropdown_module.chevron,depthClassName=HeaderLinkDropdown_module["depth-".concat(depth-1)],dropdownDirectionClass=position?(0,classNames.Z)(HeaderLinkDropdown_module.dropdownMenu,HeaderLinkDropdown_module[position]):HeaderLinkDropdown_module.dropdownMenu,childElements=(0,getChildren.fL)(children);return(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsx)("button",{type:"button",className:(0,classNames.Z)(HeaderLinkDropdown_module.button,{isNotLargeScreen},depthClassName,dropdownButtonClassName),onClick:function handleMenuButtonClick(e){e.preventDefault(),setOpen(!open)},"data-testid":"dropdown-button-".concat(index),"aria-label":function getDefaultButtonAriaLabel(){return open?closeDropdownAriaButtonLabel||"Sulje alasvetovalikko.":openDropdownAriaButtonLabel||"Avaa alasvetovalikko."}(),children:function renderIcon(){return depth>1&&position===DropdownMenuPosition.Right?(0,jsx_runtime.jsx)(IconAngleRight.IconAngleRight,{className:chevronClassName}):depth>1&&position===DropdownMenuPosition.Left?(0,jsx_runtime.jsx)(IconAngleLeft.IconAngleLeft,{className:chevronClassName}):(0,jsx_runtime.jsx)(IconAngleDown.IconAngleDown,{className:chevronClassName})}()}),(0,jsx_runtime.jsx)("ul",(0,objectSpread2.Z)((0,objectSpread2.Z)({className:(0,classNames.Z)(dropdownDirectionClass,{isNotLargeScreen},className)},!open&&{style:{display:"none"}}),{},{"data-testid":"dropdown-menu-".concat(index),ref,children:childElements.map((function(child,childIndex){return(0,jsx_runtime.jsx)("li",{children:(0,react.isValidElement)(child)?(0,react.cloneElement)(child,{index:childIndex,openSubNavIndex,setOpenSubNavIndex,depth,className:child.props.active?(0,classNames.Z)(HeaderLinkDropdown_module.dropdownLink,HeaderLinkDropdown_module.activeLink):HeaderLinkDropdown_module.dropdownLink,dropdownButtonClassName}):child},"link-dropdown-".concat(index,"-").concat(childIndex))}))}))]})};HeaderLinkDropdown.componentName="HDSNavigationLinkDropdown";try{HeaderLinkDropdown.displayName="HeaderLinkDropdown",HeaderLinkDropdown.__docgenInfo={description:"",displayName:"HeaderLinkDropdown",props:{className:{defaultValue:null,description:"Additional class names.",name:"className",required:!1,type:{name:"string"}},closeDropdownAriaButtonLabel:{defaultValue:null,description:"Aria-label for the dropdown button to describe closing the dropdown.",name:"closeDropdownAriaButtonLabel",required:!1,type:{name:"string"}},dropdownButtonClassName:{defaultValue:null,description:"Additional class names for the dropdown button.",name:"dropdownButtonClassName",required:!1,type:{name:"string"}},position:{defaultValue:{value:"DropdownMenuPosition.Right"},description:"Direction for dropdown position.",name:"position",required:!1,type:{name:"enum",value:[{value:'"left"'},{value:'"right"'}]}},index:{defaultValue:null,description:"Element index given by parent mapping.\n@internal",name:"index",required:!1,type:{name:"number"}},open:{defaultValue:null,description:"Is dropdown open.",name:"open",required:!0,type:{name:"boolean"}},openDropdownAriaButtonLabel:{defaultValue:null,description:"Aria-label for the dropdown button to describe opening the dropdown.",name:"openDropdownAriaButtonLabel",required:!1,type:{name:"string"}},setOpen:{defaultValue:null,description:"Function that is called when open value is changed.",name:"setOpen",required:!0,type:{name:"(isOpen: boolean) => void"}},depth:{defaultValue:{value:"0"},description:"Depth in nested dropdowns.\n@internal",name:"depth",required:!1,type:{name:"number"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/header/components/headerLink/headerLinkDropdown/HeaderLinkDropdown.tsx#HeaderLinkDropdown"]={docgenInfo:HeaderLinkDropdown.__docgenInfo,name:"HeaderLinkDropdown",path:"src/components/header/components/headerLink/headerLinkDropdown/HeaderLinkDropdown.tsx#HeaderLinkDropdown"})}catch(__react_docgen_typescript_loader_error){}var useIsomorphicLayoutEffect=__webpack_require__("./src/hooks/useIsomorphicLayoutEffect.ts"),_excluded=["active","as","className","wrapperClassName","dropdownClassName","dropdownLinks","dropdownLinkClassName","href","index","label","openSubNavIndex","setOpenSubNavIndex","depth","openDropdownAriaButtonLabel","closeDropdownAriaButtonLabel","dropdownButtonClassName","onDropdownButtonClick"],HeaderLink_classNames=(0,classNames.P)(HeaderLink_module),HeaderLink=function HeaderLink(_ref){var active=_ref.active,LinkComponent=_ref.as,className=_ref.className,wrapperClassName=_ref.wrapperClassName,dropdownClassName=_ref.dropdownClassName,dropdownLinks=_ref.dropdownLinks,dropdownLinkClassName=_ref.dropdownLinkClassName,href=_ref.href,index=_ref.index,label=_ref.label,openSubNavIndex=_ref.openSubNavIndex,setOpenSubNavIndex=_ref.setOpenSubNavIndex,_ref$depth=_ref.depth,depth=void 0===_ref$depth?0:_ref$depth,openDropdownAriaButtonLabel=_ref.openDropdownAriaButtonLabel,closeDropdownAriaButtonLabel=_ref.closeDropdownAriaButtonLabel,dropdownButtonClassName=_ref.dropdownButtonClassName,onDropdownButtonClick=_ref.onDropdownButtonClick,rest=(0,objectWithoutProperties.Z)(_ref,_excluded),Item=react.isValidElement(LinkComponent)?LinkComponent.type:LinkComponent,isNotLargeScreen=(0,HeaderContext.Jv)().isNotLargeScreen,_useState=(0,react.useState)(!1),_useState2=(0,slicedToArray.Z)(_useState,2),isDropdownOpen=_useState2[0],setDropdownOpen=_useState2[1],_useState3=(0,react.useState)(null),_useState4=(0,slicedToArray.Z)(_useState3,2),dynamicPosition=_useState4[0],setDynamicPosition=_useState4[1],openMainNavIndex=(0,HeaderContext.Jv)().openMainNavIndex,setOpenMainNavIndex=(0,HeaderContext.ZQ)().setOpenMainNavIndex,containerRef=(0,react.useRef)(null),isSubNavLink=void 0!==openSubNavIndex&&void 0!==setOpenSubNavIndex;(0,useIsomorphicLayoutEffect.Z)((function(){1===depth&&setDynamicPosition(function getDropdownPosition(){if(void 0===window)return DropdownMenuPosition.Right;if(null!=containerRef.current){var _containerRef$current=containerRef.current.getBoundingClientRect(),leftPosition=_containerRef$current.x,rightPosition=leftPosition+_containerRef$current.width;return leftPosition>window.innerWidth-rightPosition?DropdownMenuPosition.Left:DropdownMenuPosition.Right}return DropdownMenuPosition.Right}())}),[]);var closeDropdown=function closeDropdown(){return setDropdownOpen(!1)};(0,react.useEffect)((function(){isSubNavLink||openMainNavIndex!==index&&isDropdownOpen&&closeDropdown()}),[openMainNavIndex]),(0,react.useEffect)((function(){isSubNavLink&&openSubNavIndex!==index&&isDropdownOpen&&closeDropdown()}),[openSubNavIndex]);var handleOutsideClick=(0,react.useCallback)((function(e){isDropdownOpen&&containerRef.current&&!containerRef.current.contains(e.target)&&closeDropdown()}),[isDropdownOpen]);(0,react.useEffect)((function(){return isDropdownOpen&&document.addEventListener("click",handleOutsideClick),function(){return document.removeEventListener("click",handleOutsideClick)}}),[isDropdownOpen]);var navigationWrapperLinkClassName=HeaderLink_classNames({isNotLargeScreen},HeaderLink_module.navigationLinkWrapper,HeaderLink_module["depth-".concat(depth)],wrapperClassName),navigationLinkClassName=HeaderLink_classNames(HeaderLink_module.headerLink,HeaderLink_module["depth-".concat(depth)],className,{active,isNotLargeScreen});return(0,jsx_runtime.jsxs)("span",(0,objectSpread2.Z)((0,objectSpread2.Z)({className:navigationWrapperLinkClassName,ref:containerRef},Boolean(dropdownLinks)&&{"aria-expanded":isDropdownOpen}),{},{children:[(0,jsx_runtime.jsx)(Item,(0,objectSpread2.Z)((0,objectSpread2.Z)({className:navigationLinkClassName,href},rest),{},{children:label})),dropdownLinks&&(0,jsx_runtime.jsx)(HeaderLinkDropdown,{open:isDropdownOpen,setOpen:function handleDropdownOpen(val){isNotLargeScreen||setDropdownOpen(val),onDropdownButtonClick&&onDropdownButtonClick(),isSubNavLink&&void 0!==index?setOpenSubNavIndex(val?index:-1):(val!==isDropdownOpen&&openMainNavIndex===index||val)&&setOpenMainNavIndex&&setOpenMainNavIndex(val?index:-1)},index,depth:depth+1,className:dropdownClassName,position:dynamicPosition,openDropdownAriaButtonLabel,closeDropdownAriaButtonLabel,dropdownButtonClassName,children:dropdownLinks.map((function(child){return(0,react.cloneElement)(child,{key:(0,v4.Z)(),wrapperClassName,dropdownClassName,dropdownLinkClassName})}))})]}))};HeaderLink.defaultProps={as:Link.r,href:"#"};try{HeaderLink.displayName="HeaderLink",HeaderLink.__docgenInfo={description:"",displayName:"HeaderLink",props:{active:{defaultValue:null,description:"Indicator for active link. This is used in HeaderNavigationMenu.",name:"active",required:!1,type:{name:"boolean"}},as:{defaultValue:{value:"React.forwardRef(\n (\n {\n ariaLabel,\n children,\n className,\n disableVisitedStyles = false,\n external = false,\n href,\n iconLeft,\n openInNewTab = false,\n openInExternalDomainAriaLabel,\n openInNewTabAriaLabel,\n style = {},\n size = 'M',\n ...rest\n }: LinkProps,\n ref: React.Ref,\n ) => {\n const composeAriaLabel = () => {\n let childrenText = ariaLabel || getTextFromReactChildren(children);\n const newTabText = openInNewTab ? openInNewTabAriaLabel || 'Avautuu uudessa välilehdessä.' : '';\n const externalText = external ? openInExternalDomainAriaLabel || 'Siirtyy toiseen sivustoon.' : '';\n\n if (childrenText && childrenText.slice(-1) !== '.') {\n childrenText = `${childrenText}.`;\n }\n\n return [childrenText, newTabText, externalText].filter((text) => text).join(' ');\n };\n\n const mapLinkSizeToExternalIconSize: LinkToIconSizeMappingType = {\n L: 'l',\n M: 's',\n S: 'xs',\n };\n const mapLinkSizeToIconVerticalStyling = {\n L: styles.verticalAlignBigIcon,\n M: styles.verticalAlignMediumIcon,\n S: styles.verticalAlignSmallIcon,\n };\n\n return (\n \n {iconLeft && (\n \n {iconLeft}\n \n )}\n {children}\n {external && (\n \n )}\n \n );\n },\n)"},description:"Element or component to use instead of the default HDS Link.\n@example ```ts\nas={CustomLink}\n```",name:"as",required:!1,type:{name:"ElementType"}},className:{defaultValue:null,description:"Additional class names to apply for the link element.",name:"className",required:!1,type:{name:"string"}},closeDropdownAriaButtonLabel:{defaultValue:null,description:"Aria-label for the dropdown button to describe closing the dropdown.",name:"closeDropdownAriaButtonLabel",required:!1,type:{name:"string"}},depth:{defaultValue:{value:"0"},description:"Depth in nested dropdowns.\n@internal",name:"depth",required:!1,type:{name:"number"}},dropdownButtonClassName:{defaultValue:null,description:"Additional class name for the dropdown button.",name:"dropdownButtonClassName",required:!1,type:{name:"string"}},dropdownClassName:{defaultValue:null,description:"Additional class name for the dropdown element.",name:"dropdownClassName",required:!1,type:{name:"string"}},dropdownLinkClassName:{defaultValue:null,description:"Additional class name for the dropdown items.",name:"dropdownLinkClassName",required:!1,type:{name:"string"}},dropdownLinks:{defaultValue:null,description:"Array of HeaderLink components to render in a dropdown. Can be used only inside navigation components.",name:"dropdownLinks",required:!1,type:{name:"ReactElement>[]"}},href:{defaultValue:{value:"#"},description:"Hypertext Reference of the link.",name:"href",required:!1,type:{name:"string"}},index:{defaultValue:null,description:"Element index given by parent mapping.\n@internal",name:"index",required:!1,type:{name:"number"}},label:{defaultValue:null,description:"Label for link.",name:"label",required:!0,type:{name:"string"}},onDropdownButtonClick:{defaultValue:null,description:"Callback fired when the dropdown button is clicked.",name:"onDropdownButtonClick",required:!1,type:{name:"() => void"}},openDropdownAriaButtonLabel:{defaultValue:null,description:"Aria-label for the dropdown button to describe opening the dropdown.",name:"openDropdownAriaButtonLabel",required:!1,type:{name:"string"}},openSubNavIndex:{defaultValue:null,description:"Which sub navigation index is open.\n@internal",name:"openSubNavIndex",required:!1,type:{name:"number"}},setOpenSubNavIndex:{defaultValue:null,description:"Set which sub navigation index is open.\n@internal",name:"setOpenSubNavIndex",required:!1,type:{name:"(val: number) => void"}},wrapperClassName:{defaultValue:null,description:"Additional class name for the NavigationLink wrapper element.",name:"wrapperClassName",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/header/components/headerLink/HeaderLink.tsx#HeaderLink"]={docgenInfo:HeaderLink.__docgenInfo,name:"HeaderLink",path:"src/components/header/components/headerLink/HeaderLink.tsx#HeaderLink"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/header/components/headerNavigationMenu/HeaderNavigationMenu.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{p:()=>HeaderNavigationMenu});var react=__webpack_require__("../../node_modules/react/index.js"),HeaderContext=(__webpack_require__("./src/styles/base.css"),__webpack_require__("./src/components/header/HeaderContext.tsx")),classNames=__webpack_require__("./src/utils/classNames.ts"),getChildren=__webpack_require__("./src/utils/getChildren.ts");const HeaderNavigationMenu_module={headerNavigationMenu:"HeaderNavigationMenu_headerNavigationMenu__94nwN",headerNavigationMenuContainer:"HeaderNavigationMenu_headerNavigationMenuContainer__2CxQ6",headerNavigationMenuList:"HeaderNavigationMenu_headerNavigationMenuList__VXKgy",headerNavigationMenuLinkContent:"HeaderNavigationMenu_headerNavigationMenuLinkContent__1UgUp",headerNavigationMenuLinkContentActive:"HeaderNavigationMenu_headerNavigationMenuLinkContentActive__FjIpJ",headerNavigationMenuLink:"HeaderNavigationMenu_headerNavigationMenuLink__ZxwLW"};var jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),HeaderNavigationMenuContent=function HeaderNavigationMenuContent(){var _useHeaderContext=(0,HeaderContext.Jv)(),isNotLargeScreen=_useHeaderContext.isNotLargeScreen,navigationContent=_useHeaderContext.navigationContent,navigationLinks=(0,getChildren.AU)(navigationContent);return(0,jsx_runtime.jsx)(jsx_runtime.Fragment,{children:navigationLinks.map((function(child,index){return(0,react.isValidElement)(child)?function renderHeaderNavigationMenuItem(child,index,isNotLargeScreen){var linkContentClass=isNotLargeScreen?HeaderNavigationMenu_module.headerNavigationMenuLinkContentMobile:HeaderNavigationMenu_module.headerNavigationMenuLinkContent,activeLinkClassName=(0,classNames.Z)(linkContentClass,HeaderNavigationMenu_module.headerNavigationMenuLinkContentActive),linkContainerClasses=child.props.active&&!isNotLargeScreen?activeLinkClassName:linkContentClass,mobileNode=(0,react.cloneElement)(child,{dropdownLinkClassName:HeaderNavigationMenu_module.headerNavigationMenuDropdownLinkMobile,dropdownClassName:HeaderNavigationMenu_module.headerNavigationMenuDropdownMobile,wrapperClassName:HeaderNavigationMenu_module.headerNavigationMenuLinkWrapperMobile,dropdownButtonClassName:HeaderNavigationMenu_module.headerNavigationMenuDropdownButtonMobile,className:(0,classNames.Z)(child.props.className,HeaderNavigationMenu_module.headerNavigationMenuLinkMobile),index}),desktopNode=(0,react.cloneElement)(child,{className:(0,classNames.Z)(child.props.className,HeaderNavigationMenu_module.headerNavigationMenuLink),index}),node=isNotLargeScreen?mobileNode:desktopNode;return(0,jsx_runtime.jsx)("li",{children:(0,jsx_runtime.jsx)("span",{className:linkContainerClasses,children:node})},index)}(child,index,isNotLargeScreen):null}))})},HeaderNavigationMenu=function HeaderNavigationMenu(_ref){var ariaLabel=_ref.ariaLabel,children=_ref.children,id=_ref.id,isNotLargeScreen=(0,HeaderContext.Jv)().isNotLargeScreen,setNavigationContent=(0,HeaderContext.ZQ)().setNavigationContent;return(0,react.useEffect)((function(){var navigationContent=(0,getChildren.fL)(children);setNavigationContent(navigationContent)}),[children]),isNotLargeScreen?null:(0,jsx_runtime.jsx)("div",{className:HeaderNavigationMenu_module.headerNavigationMenuContainer,children:(0,jsx_runtime.jsx)("nav",{"aria-label":ariaLabel,id,className:HeaderNavigationMenu_module.headerNavigationMenu,children:(0,jsx_runtime.jsx)("ul",{className:HeaderNavigationMenu_module.headerNavigationMenuList,children:(0,jsx_runtime.jsx)(HeaderNavigationMenuContent,{})})})})};try{HeaderNavigationMenu.displayName="HeaderNavigationMenu",HeaderNavigationMenu.__docgenInfo={description:"",displayName:"HeaderNavigationMenu",props:{ariaLabel:{defaultValue:null,description:"Aria-label for describing universal bar.",name:"ariaLabel",required:!1,type:{name:"string"}},children:{defaultValue:null,description:"Children are expected to be HeaderLink components or a container with HeaderLink components inside.",name:"children",required:!1,type:{name:"ReactNode"}},id:{defaultValue:null,description:"ID of the header element.",name:"id",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/header/components/headerNavigationMenu/HeaderNavigationMenu.tsx#HeaderNavigationMenu"]={docgenInfo:HeaderNavigationMenu.__docgenInfo,name:"HeaderNavigationMenu",path:"src/components/header/components/headerNavigationMenu/HeaderNavigationMenu.tsx#HeaderNavigationMenu"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/header/components/headerUniversalBar/HeaderUniversalBar.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{V:()=>HeaderUniversalBar});var react=__webpack_require__("../../node_modules/react/index.js");__webpack_require__("./src/styles/base.css");const HeaderUniversalBar_module_headerUniversalBar="HeaderUniversalBar_headerUniversalBar__5yFHV",HeaderUniversalBar_module_headerUniversalBarContainer="HeaderUniversalBar_headerUniversalBarContainer__Rz4zN",HeaderUniversalBar_module_headerUniversalBarList="HeaderUniversalBar_headerUniversalBarList__Wv4g+",HeaderUniversalBar_module_universalBarMainLinkContainer="HeaderUniversalBar_universalBarMainLinkContainer__cmBG5",HeaderUniversalBar_module_universalBarSecondaryLinkContainer="HeaderUniversalBar_universalBarSecondaryLinkContainer__gfhCe",HeaderUniversalBar_module_universalBarLink="HeaderUniversalBar_universalBarLink__fCvdQ";var HeaderLink=__webpack_require__("./src/components/header/components/headerLink/HeaderLink.tsx"),HeaderContext=__webpack_require__("./src/components/header/HeaderContext.tsx"),classNames=__webpack_require__("./src/utils/classNames.ts"),getChildren=__webpack_require__("./src/utils/getChildren.ts"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),HeaderUniversalBar=function HeaderUniversalBar(_ref){var ariaLabel=_ref.ariaLabel,className=_ref.className,children=_ref.children,id=_ref.id,primaryLinkHref=_ref.primaryLinkHref,primaryLinkText=_ref.primaryLinkText,role=_ref.role,isNotLargeScreen=(0,HeaderContext.Jv)().isNotLargeScreen,childElements=(0,getChildren.fL)(children),setUniversalContent=(0,HeaderContext.ZQ)().setUniversalContent;return(0,react.useEffect)((function(){var universalContent=(0,getChildren.fL)(children);setUniversalContent(universalContent)}),[children]),isNotLargeScreen?null:(0,jsx_runtime.jsx)("div",{className:HeaderUniversalBar_module_headerUniversalBarContainer,children:(0,jsx_runtime.jsx)("div",{role,"aria-label":ariaLabel,id,className:(0,classNames.Z)(HeaderUniversalBar_module_headerUniversalBar,className),children:(0,jsx_runtime.jsxs)("ul",{className:HeaderUniversalBar_module_headerUniversalBarList,children:[(0,jsx_runtime.jsx)("li",{className:HeaderUniversalBar_module_universalBarMainLinkContainer,children:(0,jsx_runtime.jsx)(HeaderLink.K,{href:primaryLinkHref,label:primaryLinkText,className:HeaderUniversalBar_module_universalBarLink})}),childElements.map((function(child,index){return react.isValidElement(child)?(0,jsx_runtime.jsx)("li",{className:HeaderUniversalBar_module_universalBarSecondaryLinkContainer,children:(0,react.cloneElement)(child,{className:(0,classNames.Z)(child.props.className,HeaderUniversalBar_module_universalBarLink)})},"secondary-link-".concat(index)):null}))]})})})};try{HeaderUniversalBar.displayName="HeaderUniversalBar",HeaderUniversalBar.__docgenInfo={description:"",displayName:"HeaderUniversalBar",props:{ariaLabel:{defaultValue:null,description:"Aria-label for describing UniversalBar.",name:"ariaLabel",required:!1,type:{name:"string"}},className:{defaultValue:null,description:"Additional class names to apply.",name:"className",required:!1,type:{name:"string"}},children:{defaultValue:null,description:"Children are expected to be HeaderLink components or a container with HeaderLink components inside.",name:"children",required:!1,type:{name:"ReactNode"}},id:{defaultValue:null,description:"ID of the header element.",name:"id",required:!1,type:{name:"string"}},primaryLinkHref:{defaultValue:null,description:"Hypertext reference of the primary link.",name:"primaryLinkHref",required:!1,type:{name:"string"}},primaryLinkText:{defaultValue:null,description:"Link text for the primary link.",name:"primaryLinkText",required:!1,type:{name:"string"}},role:{defaultValue:null,description:"ARIA role to describe the contents.",name:"role",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/header/components/headerUniversalBar/HeaderUniversalBar.tsx#HeaderUniversalBar"]={docgenInfo:HeaderUniversalBar.__docgenInfo,name:"HeaderUniversalBar",path:"src/components/header/components/headerUniversalBar/HeaderUniversalBar.tsx#HeaderUniversalBar"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/koros/Koros.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{N:()=>Koros,X:()=>getShapeHeight});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),slicedToArray=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react=__webpack_require__("../../node_modules/react/index.js"),lodash_uniqueid=__webpack_require__("../../node_modules/lodash.uniqueid/index.js"),lodash_uniqueid_default=__webpack_require__.n(lodash_uniqueid),classNames=(__webpack_require__("./src/styles/base.css"),__webpack_require__("./src/utils/classNames.ts"));const Koros_module={koros:"Koros_koros__Wg7gu",rotate:"Koros_rotate__D6W95"};var jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),getSVG=function getSVG(dense,type,patternName){var transform="scale(".concat(dense?1:3,")"),patterns={basic:(0,jsx_runtime.jsx)("path",{transform,d:"m0 5v80h32v-80c-8 0-8-5-16-5s-8 5-16 5z"}),beat:(0,jsx_runtime.jsx)("path",{transform,d:"m0 21v64h32v-64c-4 0-5.4-4-5.4-4l-5.2-13s-1.4-4-5.4-4-5.4 4-5.4 4l-5.2 13s-1.4 4-5.4 4z"}),pulse:(0,jsx_runtime.jsx)("path",{transform,d:"m0 10v75h32v-75c-8 0-8-10-16-10s-8 10-16 10z"}),wave:(0,jsx_runtime.jsx)("path",{transform,d:"m0 10v75h32v-75c-8 0-13-3.7-16-10-3 6.3-8 10-16 10z"}),vibration:(0,jsx_runtime.jsx)("path",{transform,d:"m0 0v85h32v-85l-16 16z"}),calm:(0,jsx_runtime.jsx)("path",{transform,d:"m0 0v85h32v-85z"})};return(0,jsx_runtime.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",width:"100%",height:"85",children:[(0,jsx_runtime.jsx)("defs",{children:(0,jsx_runtime.jsx)("pattern",{id:"".concat(patternName),x:"0",y:"0",width:"".concat(dense?32:96),height:"85",patternUnits:"userSpaceOnUse",children:patterns[type]})}),(0,jsx_runtime.jsx)("rect",{fill:"url(#".concat(patternName,")"),width:"100%",height:"85",style:{shapeRendering:"crispEdges"}})]})},waveHeights={basic:[15,5],beat:[70,24],pulse:[34,12],wave:[35,12],vibration:[54,18],calm:[0,0]},getShapeHeight=function getShapeHeight(_ref){var _ref$dense=_ref.dense,dense=void 0!==_ref$dense&&_ref$dense,_ref$type=_ref.type,waveData=waveHeights[void 0===_ref$type?"basic":_ref$type];return waveData&&waveData[dense?1:0]||0},Koros=function Koros(_ref2){var _ref2$dense=_ref2.dense,dense=void 0!==_ref2$dense&&_ref2$dense,_ref2$flipVertical=_ref2.flipVertical,flipVertical=void 0!==_ref2$flipVertical&&_ref2$flipVertical,_ref2$type=_ref2.type,type=void 0===_ref2$type?"basic":_ref2$type,rotate=_ref2.rotate,_ref2$className=_ref2.className,className=void 0===_ref2$className?"":_ref2$className,style=_ref2.style,patternName="koros_".concat(type),_useState=(0,react.useState)(lodash_uniqueid_default()("".concat(patternName,"-"))),id=(0,slicedToArray.Z)(_useState,1)[0],cssTransforms=[flipVertical&&"scaleY(-1)",rotate&&"rotate(".concat(rotate,") translateZ(0)")].filter((function(t){return!!t}));return(0,jsx_runtime.jsx)("div",{className:(0,classNames.Z)(Koros_module.koros,Koros_module[type],rotate&&Koros_module.rotate,className),style:(0,objectSpread2.Z)((0,objectSpread2.Z)({},style),cssTransforms.length>0?{transform:cssTransforms.join(" ")}:{}),children:getSVG(dense,type,id)})};try{getShapeHeight.displayName="getShapeHeight",getShapeHeight.__docgenInfo={description:"",displayName:"getShapeHeight",props:{type:{defaultValue:{value:"basic"},description:"Koros type",name:"type",required:!1,type:{name:"enum",value:[{value:'"basic"'},{value:'"beat"'},{value:'"pulse"'},{value:'"wave"'},{value:'"vibration"'},{value:'"calm"'}]}},dense:{defaultValue:{value:"false"},description:"Whether to use dense variant",name:"dense",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/koros/Koros.tsx#getShapeHeight"]={docgenInfo:getShapeHeight.__docgenInfo,name:"getShapeHeight",path:"src/components/koros/Koros.tsx#getShapeHeight"})}catch(__react_docgen_typescript_loader_error){}try{Koros.displayName="Koros",Koros.__docgenInfo={description:"",displayName:"Koros",props:{dense:{defaultValue:{value:"false"},description:"Whether to use dense variant",name:"dense",required:!1,type:{name:"boolean"}},flipVertical:{defaultValue:{value:"false"},description:"Whether the component should be flipped vertically",name:"flipVertical",required:!1,type:{name:"boolean"}},rotate:{defaultValue:null,description:"A property to rotate Koros",name:"rotate",required:!1,type:{name:"enum",value:[{value:'"45deg"'},{value:'"90deg"'},{value:'"135deg"'},{value:'"180deg"'},{value:'"225deg"'},{value:'"270deg"'},{value:'"315deg"'}]}},type:{defaultValue:{value:"basic"},description:"Koros type",name:"type",required:!1,type:{name:"enum",value:[{value:'"basic"'},{value:'"beat"'},{value:'"pulse"'},{value:'"wave"'},{value:'"vibration"'},{value:'"calm"'}]}},className:{defaultValue:{value:""},description:"Additional class names to apply to component",name:"className",required:!1,type:{name:"string"}},style:{defaultValue:null,description:"Additional style properties to apply to component",name:"style",required:!1,type:{name:"CSSProperties"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/koros/Koros.tsx#Koros"]={docgenInfo:Koros.__docgenInfo,name:"Koros",path:"src/components/koros/Koros.tsx#Koros"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/link/Link.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{r:()=>Link});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),objectWithoutProperties=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react=__webpack_require__("../../node_modules/react/index.js");__webpack_require__("./src/styles/base.css");const Link_module={link:"Link_link__lMaCH link_hds-link__sPvb2",icon:"Link_icon__qqEkU link_icon__piHiC",iconLeft:"Link_iconLeft__GaHQP link_hds-icon-left__EakEx",verticalAlignMediumIcon:"Link_verticalAlignMediumIcon__UvS2Z link_vertical-align-medium-icon__QuWDG",verticalAlignBigIcon:"Link_verticalAlignBigIcon__4LEO8 link_vertical-align-big-icon__DpV-s",verticalAlignSmallIcon:"Link_verticalAlignSmallIcon__JSThm link_vertical-align-small-icon__+KxOo",disableVisitedStyles:"Link_disableVisitedStyles__0uFxY link_hds-link--disable-visited-styles__-bH6y",linkS:"Link_linkS__iidUS link_hds-link--small__7dDjY",linkM:"Link_linkM__dWlgi link_hds-link--medium__2Vr6K",linkL:"Link_linkL__zHVkB link_hds-link--large__jPxDh"};var IconLinkExternal=__webpack_require__("./src/icons/IconLinkExternal.tsx"),classNames=__webpack_require__("./src/utils/classNames.ts"),hasChildren=function hasChildren(element){return(0,react.isValidElement)(element)&&Boolean(element.props.children)},childToString=function childToString(child){return null==child||"boolean"==typeof child||"{}"===JSON.stringify(child)?"":child.toString()},getTextFromReactChildren=function getTextFromReactChildren(children){return children instanceof Array||(0,react.isValidElement)(children)?react.Children.toArray(children).reduce((function(text,child){var newText="";return newText=(0,react.isValidElement)(child)&&hasChildren(child)?getTextFromReactChildren(child.props.children):(0,react.isValidElement)(child)&&!hasChildren(child)?"":childToString(child),text.concat(newText)}),""):childToString(children)},jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),_excluded=["ariaLabel","children","className","disableVisitedStyles","external","href","iconLeft","openInNewTab","openInExternalDomainAriaLabel","openInNewTabAriaLabel","style","size"],Link=react.forwardRef((function(_ref,ref){var ariaLabel=_ref.ariaLabel,children=_ref.children,className=_ref.className,_ref$disableVisitedSt=_ref.disableVisitedStyles,disableVisitedStyles=void 0!==_ref$disableVisitedSt&&_ref$disableVisitedSt,_ref$external=_ref.external,external=void 0!==_ref$external&&_ref$external,href=_ref.href,iconLeft=_ref.iconLeft,_ref$openInNewTab=_ref.openInNewTab,openInNewTab=void 0!==_ref$openInNewTab&&_ref$openInNewTab,openInExternalDomainAriaLabel=_ref.openInExternalDomainAriaLabel,openInNewTabAriaLabel=_ref.openInNewTabAriaLabel,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style,_ref$size=_ref.size,size=void 0===_ref$size?"M":_ref$size,rest=(0,objectWithoutProperties.Z)(_ref,_excluded),mapLinkSizeToIconVerticalStyling={L:Link_module.verticalAlignBigIcon,M:Link_module.verticalAlignMediumIcon,S:Link_module.verticalAlignSmallIcon};return(0,jsx_runtime.jsxs)("a",(0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)({"aria-label":ariaLabel,className:(0,classNames.Z)(Link_module.link,Link_module["link".concat(size)],disableVisitedStyles?Link_module.disableVisitedStyles:"",className),href,style},openInNewTab&&{target:"_blank",rel:"noopener"}),(openInNewTab||external||ariaLabel)&&{"aria-label":function composeAriaLabel(){var childrenText=ariaLabel||getTextFromReactChildren(children),newTabText=openInNewTab?openInNewTabAriaLabel||"Avautuu uudessa välilehdessä.":"",externalText=external?openInExternalDomainAriaLabel||"Siirtyy toiseen sivustoon.":"";return childrenText&&"."!==childrenText.slice(-1)&&(childrenText="".concat(childrenText,".")),[childrenText,newTabText,externalText].filter((function(text){return text})).join(" ")}()}),{},{ref},rest),{},{children:[iconLeft&&(0,jsx_runtime.jsx)("span",{className:Link_module.iconLeft,"aria-hidden":"true",children:iconLeft}),children,external&&(0,jsx_runtime.jsx)(IconLinkExternal.IconLinkExternal,{size:{L:"l",M:"s",S:"xs"}[size],className:(0,classNames.Z)(Link_module.icon,mapLinkSizeToIconVerticalStyling[size]),"aria-hidden":!0})]}))}));try{Link.displayName="Link",Link.__docgenInfo={description:"",displayName:"Link",props:{ariaLabel:{defaultValue:null,description:"aria-label for providing detailed information for screen readers about a link text.",name:"ariaLabel",required:!1,type:{name:"string"}},children:{defaultValue:null,description:"Link content",name:"children",required:!1,type:{name:"ReactNode"}},disableVisitedStyles:{defaultValue:{value:"false"},description:"Boolean indicating whether visited styles of the link are applied",name:"disableVisitedStyles",required:!1,type:{name:"boolean"}},external:{defaultValue:{value:"false"},description:"Boolean indicating whether the link will lead user to external domain.",name:"external",required:!1,type:{name:"boolean"}},href:{defaultValue:null,description:"Hypertext Reference of the link.",name:"href",required:!0,type:{name:"string"}},iconLeft:{defaultValue:null,description:"Element placed on the left side of the link text",name:"iconLeft",required:!1,type:{name:"ReactNode"}},openInNewTab:{defaultValue:{value:"false"},description:"Boolean indicating whether the link will open in new tab or not.",name:"openInNewTab",required:!1,type:{name:"boolean"}},openInNewTabAriaLabel:{defaultValue:null,description:"The aria-label for opening link in a new tab",name:"openInNewTabAriaLabel",required:!1,type:{name:"string"}},openInExternalDomainAriaLabel:{defaultValue:null,description:"The aria-label for opening link in an external domain",name:"openInExternalDomainAriaLabel",required:!1,type:{name:"string"}},size:{defaultValue:{value:"M"},description:"Size of the link",name:"size",required:!1,type:{name:"enum",value:[{value:'"S"'},{value:'"M"'},{value:'"L"'}]}},style:{defaultValue:{value:"{}"},description:"Additional styles",name:"style",required:!1,type:{name:"CSSProperties"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/link/Link.tsx#Link"]={docgenInfo:Link.__docgenInfo,name:"Link",path:"src/components/link/Link.tsx#Link"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/linkbox/Linkbox.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{R:()=>Linkbox});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),objectWithoutProperties=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react=__webpack_require__("../../node_modules/react/index.js");__webpack_require__("./src/styles/base.css");const Linkbox_module_linkbox="Linkbox_linkbox__HzFOs",Linkbox_module_withBackground="Linkbox_withBackground__uf7zS",Linkbox_module_withoutBackground="Linkbox_withoutBackground__Tsc3z",Linkbox_module_paddingWithoutImageAndWithBackground="Linkbox_paddingWithoutImageAndWithBackground__6+zIn",Linkbox_module_paddingWithoutImageAndWithoutBackground="Linkbox_paddingWithoutImageAndWithoutBackground__EvU3T",Linkbox_module_withSmallImage="Linkbox_withSmallImage__M4t5w",Linkbox_module_withMediumImage="Linkbox_withMediumImage__vRr8E",Linkbox_module_withLargeImage="Linkbox_withLargeImage__D0rMj",Linkbox_module_contentSmall="Linkbox_contentSmall__PVRhX",Linkbox_module_contentMedium="Linkbox_contentMedium__if63E",Linkbox_module_contentLarge="Linkbox_contentLarge__CJVC0",Linkbox_module_icon="Linkbox_icon__0XOcJ",Linkbox_module_border="Linkbox_border__-DQ0n",Linkbox_module_text="Linkbox_text__IBzhQ",Linkbox_module_headingSmall="Linkbox_headingSmall__5kDF7 helpers_heading-s__nItuH",Linkbox_module_headingMedium="Linkbox_headingMedium__SDn4p helpers_heading-m__7mAiU",Linkbox_module_headingLarge="Linkbox_headingLarge__mZrPu helpers_heading-l__ZCbCh",Linkbox_module_link="Linkbox_link__e5TAM",Linkbox_module_iconWhenNoBackground="Linkbox_iconWhenNoBackground__4VcuI",Linkbox_module_iconPositionForLinkboxLargeVariant="Linkbox_iconPositionForLinkboxLargeVariant__ezOjg",Linkbox_module_image="Linkbox_image__pnQLr";var IconLinkExternal=__webpack_require__("./src/icons/IconLinkExternal.tsx"),IconArrowRight=__webpack_require__("./src/icons/IconArrowRight.tsx"),classNames=__webpack_require__("./src/utils/classNames.ts"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),_excluded=["children","className","external","heading","headingAriaLevel","href","imgProps","linkAriaLabel","linkboxAriaLabel","noBackground","openInExternalDomainAriaLabel","openInNewTab","openInNewTabAriaLabel","text","border","size"],Linkbox=function Linkbox(_ref){var children=_ref.children,className=_ref.className,_ref$external=_ref.external,external=void 0!==_ref$external&&_ref$external,heading=_ref.heading,_ref$headingAriaLevel=_ref.headingAriaLevel,headingAriaLevel=void 0===_ref$headingAriaLevel?2:_ref$headingAriaLevel,href=_ref.href,imgProps=_ref.imgProps,linkAriaLabel=_ref.linkAriaLabel,linkboxAriaLabel=_ref.linkboxAriaLabel,_ref$noBackground=_ref.noBackground,noBackground=void 0!==_ref$noBackground&&_ref$noBackground,openInExternalDomainAriaLabel=_ref.openInExternalDomainAriaLabel,_ref$openInNewTab=_ref.openInNewTab,openInNewTab=void 0!==_ref$openInNewTab&&_ref$openInNewTab,openInNewTabAriaLabel=_ref.openInNewTabAriaLabel,text=_ref.text,_ref$border=_ref.border,border=void 0!==_ref$border&&_ref$border,_ref$size=_ref.size,size=void 0===_ref$size?"medium":_ref$size,rest=(0,objectWithoutProperties.Z)(_ref,_excluded),linkRef=(0,react.useRef)(null),composeAriaLabel=function composeAriaLabel(ariaLabel){var newTabText=openInNewTab?openInNewTabAriaLabel||"Avautuu uudessa välilehdessä.":"",externalText=external?openInExternalDomainAriaLabel||"Siirtyy toiseen sivustoon.":"",extendedAriaLabel="";return ariaLabel&&"."!==ariaLabel.slice(-1)&&(extendedAriaLabel="".concat(ariaLabel,".")),[extendedAriaLabel,newTabText,externalText].filter((function(txt){return txt})).join(" ")};return(0,jsx_runtime.jsxs)("div",{role:"region",tabIndex:0,onKeyPress:function onKeyPress(e){"Enter"===e.key&&linkRef.current.click()},onClick:function onClick(){linkRef.current.click()},className:(0,classNames.Z)(Linkbox_module_linkbox,border&&Linkbox_module_border,className),"aria-label":composeAriaLabel(linkboxAriaLabel),children:[imgProps&&(0,jsx_runtime.jsx)("img",(0,objectSpread2.Z)((0,objectSpread2.Z)({},imgProps),{},{className:Linkbox_module_image,alt:""})),(0,jsx_runtime.jsxs)("div",{className:(0,classNames.Z)(noBackground&&Linkbox_module_withoutBackground,!noBackground&&Linkbox_module_withBackground,noBackground&&!imgProps&&Linkbox_module_paddingWithoutImageAndWithoutBackground,!noBackground&&!imgProps&&Linkbox_module_paddingWithoutImageAndWithBackground,imgProps&&"small"===size&&Linkbox_module_withSmallImage,imgProps&&"medium"===size&&Linkbox_module_withMediumImage,imgProps&&"large"===size&&Linkbox_module_withLargeImage,"small"===size&&Linkbox_module_contentSmall,"medium"===size&&Linkbox_module_contentMedium,"large"===size&&Linkbox_module_contentLarge),children:[heading&&(0,jsx_runtime.jsx)("div",{role:"heading","aria-level":headingAriaLevel,className:(0,classNames.Z)("small"===size&&Linkbox_module_headingSmall,"medium"===size&&Linkbox_module_headingMedium,"large"===size&&Linkbox_module_headingLarge),children:heading}),text&&(0,jsx_runtime.jsx)("p",{className:Linkbox_module_text,children:text}),children]}),(0,jsx_runtime.jsx)("a",(0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)({className:Linkbox_module_link,"aria-label":composeAriaLabel(linkAriaLabel),ref:linkRef,tabIndex:-1,href},openInNewTab&&{target:"_blank",rel:"noopener"}),rest),{},{children:external?(0,jsx_runtime.jsx)(IconLinkExternal.IconLinkExternal,{className:(0,classNames.Z)(Linkbox_module_icon,noBackground?Linkbox_module_iconWhenNoBackground:"large"===size&&Linkbox_module_iconPositionForLinkboxLargeVariant),size:"l","aria-hidden":!0}):(0,jsx_runtime.jsx)(IconArrowRight.IconArrowRight,{className:(0,classNames.Z)(Linkbox_module_icon,noBackground?Linkbox_module_iconWhenNoBackground:"large"===size&&Linkbox_module_iconPositionForLinkboxLargeVariant),size:"l","aria-hidden":!0})}))]})};try{Linkbox.displayName="Linkbox",Linkbox.__docgenInfo={description:"",displayName:"Linkbox",props:{external:{defaultValue:{value:"false"},description:"Boolean indicating for external link that takes user to an entirely new web site. Defaults to false.",name:"external",required:!1,type:{name:"boolean"}},heading:{defaultValue:null,description:"Optional heading of the linkbox.",name:"heading",required:!1,type:{name:"string"}},headingAriaLevel:{defaultValue:{value:"2"},description:"Heading level for linkbox title. Defaults to 2.",name:"headingAriaLevel",required:!1,type:{name:"number"}},imgProps:{defaultValue:null,description:"The image props passed to the linkbox image. Image variant requires prop withImg set to true.",name:"imgProps",required:!1,type:{name:'Pick, HTMLImageElement>, "key" | keyof ImgHTMLAttributes<...>>'}},linkAriaLabel:{defaultValue:null,description:"The aria-label for the link (arrow or external icon) that is located at the bottom of the linkbox.",name:"linkAriaLabel",required:!0,type:{name:"string"}},linkboxAriaLabel:{defaultValue:null,description:"The aria-label for the whole linkbox region. Remember to tell users of assistive technology that they are inside\na linkbox. Check storybook examples on how it can be done.",name:"linkboxAriaLabel",required:!0,type:{name:"string"}},noBackground:{defaultValue:{value:"false"},description:"Boolean for the variant with no background color. Changes paddings also. Defaults to false.",name:"noBackground",required:!1,type:{name:"boolean"}},openInExternalDomainAriaLabel:{defaultValue:null,description:"The aria-label for opening link in an external domain. Active when external prop is true.",name:"openInExternalDomainAriaLabel",required:!1,type:{name:"string"}},openInNewTab:{defaultValue:{value:"false"},description:"Boolean indicating whether the link will open in new tab or not. Defaults to false.",name:"openInNewTab",required:!1,type:{name:"boolean"}},openInNewTabAriaLabel:{defaultValue:null,description:"The aria-label for opening link in a new tab",name:"openInNewTabAriaLabel",required:!1,type:{name:"string"}},text:{defaultValue:null,description:"Optional text of the linkbox.",name:"text",required:!1,type:{name:"string"}},border:{defaultValue:{value:"false"},description:"Boolean indicating whether the Linkbox contains a border or not. Defaults to false.",name:"border",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"medium"},description:"Size variant for the linkbox. Affects texts and paddings.",name:"size",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"large"'},{value:'"medium"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/linkbox/Linkbox.tsx#Linkbox"]={docgenInfo:Linkbox.__docgenInfo,name:"Linkbox",path:"src/components/linkbox/Linkbox.tsx#Linkbox"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/loadingSpinner/LoadingSpinner.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{T:()=>LoadingSpinner});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),objectWithoutProperties=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react=__webpack_require__("../../node_modules/react/index.js");__webpack_require__("./src/styles/base.css");const LoadingSpinner_module_notificationArea="LoadingSpinner_notificationArea__bY4si",LoadingSpinner_module_loadingSpinner="LoadingSpinner_loadingSpinner__t+mRF",LoadingSpinner_module_small="LoadingSpinner_small__TAnDv",LoadingSpinner_module_multicolor="LoadingSpinner_multicolor__JABbz";var classNames=__webpack_require__("./src/utils/classNames.ts"),useTheme=__webpack_require__("./src/hooks/useTheme.tsx"),slicedToArray=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),lodash_uniqueid=__webpack_require__("../../node_modules/lodash.uniqueid/index.js"),lodash_uniqueid_default=__webpack_require__.n(lodash_uniqueid),getNotificationAreaElement=function getNotificationAreaElement(){return"undefined"==typeof document?null:document.getElementById("hds-loading-spinner-notification-area")||function createNotificationAreaElement(){var element=document.createElement("div");return element.id="hds-loading-spinner-notification-area",element.className=LoadingSpinner_module_notificationArea,element.setAttribute("role","status"),document.body.appendChild(element),element}()},jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),_excluded=["className","multicolor","small","theme","loadingText","loadingFinishedText"],LoadingSpinner=function LoadingSpinner(_ref){var className=_ref.className,_ref$multicolor=_ref.multicolor,multicolor=void 0!==_ref$multicolor&&_ref$multicolor,_ref$small=_ref.small,small=void 0!==_ref$small&&_ref$small,theme=_ref.theme,_ref$loadingText=_ref.loadingText,loadingText=void 0===_ref$loadingText?"Page is loading":_ref$loadingText,_ref$loadingFinishedT=_ref.loadingFinishedText,loadingFinishedText=void 0===_ref$loadingFinishedT?"Page has finished loading":_ref$loadingFinishedT,rest=(0,objectWithoutProperties.Z)(_ref,_excluded),customThemeClass=(0,useTheme.F)(LoadingSpinner_module_loadingSpinner,theme);return function useNotificationArea(loadingTextVal,finishedTextVal){var _useState=(0,react.useState)(lodash_uniqueid_default()()),spinnerId=(0,slicedToArray.Z)(_useState,1)[0],_useState3=(0,react.useState)(loadingTextVal),loadingText=(0,slicedToArray.Z)(_useState3,1)[0],_useState5=(0,react.useState)(finishedTextVal),finishedText=(0,slicedToArray.Z)(_useState5,1)[0],notificationArea=(0,react.useRef)(getNotificationAreaElement()),setLoadingText=(0,react.useCallback)((function(){null!==notificationArea.current&&(notificationArea.current.textContent=loadingText)}),[notificationArea,loadingText]),setFinishedText=(0,react.useCallback)((function(){notificationArea.current.textContent=finishedText}),[notificationArea,finishedText]),getActiveIds=(0,react.useCallback)((function(){return(notificationArea.current.getAttribute("data-active-spinners")||"").split(",").filter((function(id){return""!==id}))}),[notificationArea]),setActiveSpinnerId=(0,react.useCallback)((function(){var activeIds=getActiveIds();activeIds.push(spinnerId),notificationArea.current.setAttribute("data-active-spinners",activeIds.join(","))}),[getActiveIds,notificationArea,spinnerId]),unsetActiveSpinnerId=(0,react.useCallback)((function(){var activeIds=getActiveIds().filter((function(id){return id!==spinnerId}));notificationArea.current.setAttribute("data-active-spinners",activeIds.join(","))}),[getActiveIds,notificationArea,spinnerId]),cleanNotificationArea=(0,react.useCallback)((function(){0===getActiveIds().length&&(setFinishedText(),setTimeout((function(){0===getActiveIds().length&¬ificationArea.current.parentNode&¬ificationArea.current.parentNode.removeChild(notificationArea.current)}),1e3))}),[getActiveIds,setFinishedText,notificationArea]);(0,react.useEffect)((function(){return null===notificationArea.current?function(){return null}:(setLoadingText(),setActiveSpinnerId(),function(){unsetActiveSpinnerId(),cleanNotificationArea()})}),[setLoadingText,setActiveSpinnerId,unsetActiveSpinnerId,cleanNotificationArea])}(loadingText,loadingFinishedText),(0,jsx_runtime.jsxs)("div",(0,objectSpread2.Z)((0,objectSpread2.Z)({className:(0,classNames.Z)(LoadingSpinner_module_loadingSpinner,small&&LoadingSpinner_module_small,multicolor&&LoadingSpinner_module_multicolor,customThemeClass,className)},rest),{},{children:[(0,jsx_runtime.jsx)("div",{}),(0,jsx_runtime.jsx)("div",{}),(0,jsx_runtime.jsx)("div",{})]}))};try{LoadingSpinner.displayName="LoadingSpinner",LoadingSpinner.__docgenInfo={description:"",displayName:"LoadingSpinner",props:{className:{defaultValue:null,description:"Additional class names for loading spinner.",name:"className",required:!1,type:{name:"string"}},multicolor:{defaultValue:{value:"false"},description:"If `true`, the multicolor variant is used.",name:"multicolor",required:!1,type:{name:"boolean"}},small:{defaultValue:{value:"false"},description:"If `true`, the small variant is used.",name:"small",required:!1,type:{name:"boolean"}},theme:{defaultValue:null,description:"Custom theme",name:"theme",required:!1,type:{name:"LoadingSpinnerCustomTheme"}},loadingText:{defaultValue:{value:"Page is loading"},description:"Text to show for screen readers when spinner is visible.",name:"loadingText",required:!1,type:{name:"string"}},loadingFinishedText:{defaultValue:{value:"Page has finished loading"},description:"Text to show for screen readers when spinner is removed.",name:"loadingFinishedText",required:!1,type:{name:"string"}},valuenow:{defaultValue:null,description:"Value for aria-valuenow attribute. Required unless the loading status is indeterminate.",name:"valuenow",required:!1,type:{name:"number"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/loadingSpinner/LoadingSpinner.tsx#LoadingSpinner"]={docgenInfo:LoadingSpinner.__docgenInfo,name:"LoadingSpinner",path:"src/components/loadingSpinner/LoadingSpinner.tsx#LoadingSpinner"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/logo/Logo.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{TR:()=>Logo,Cv:()=>logoFi,ec:()=>logoFiDark,eT:()=>logoRu,Vb:()=>logoSv,pO:()=>logoSvDark});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),objectWithoutProperties=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");__webpack_require__("../../node_modules/react/index.js");const Logo_module={logo:"Logo_logo__gA4ON",small:"Logo_small__rKhkr",medium:"Logo_medium__dmydf",large:"Logo_large__BZgUK"};var classNames=__webpack_require__("./src/utils/classNames.ts"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),_excluded=["alt","className","dataTestId","size","style"],logoFi="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNzggMzYiIHRpdGxlPSJIZWxzaW5naW4ga2F1cHVua2kiIHJvbGU9ImltZyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoCiAgICAgICAgZD0iTTc1Ljc1MyAyLjI1MXYyMC43YzAgMy45NS0zLjI3NSA3LjE3OC03LjMxIDcuMTc4aC0yMi4yNmMtMi42NzQgMC01LjIwNS45Ni03LjE4MyAyLjczOWExMC43NDkgMTAuNzQ5IDAgMDAtNy4xODMtMi43NEg5LjUwOWMtNC4wMDMgMC03LjI0Ny0zLjIxLTcuMjQ3LTcuMTc3VjIuMjVoNzMuNDkxek00MC4xODcgMzQuODM1YTguNDcgOC40NyAwIDAxNi4wMTItMi40NzFoMjIuMjQ1YzUuMjY4IDAgOS41NTYtNC4yMTkgOS41NTYtOS40MTNWMEgwdjIyLjkzNWMwIDUuMTk0IDQuMjU2IDkuNDEzIDkuNTA5IDkuNDEzaDIyLjMwOGMyLjI2MyAwIDQuMzk4Ljg4MiA2LjAxMiAyLjQ3MUwzOS4wMTYgMzZsMS4xNy0xLjE2NXoiCiAgICAgICAgZmlsbD0iY3VycmVudENvbG9yIiAvPgogICAgPHBhdGgKICAgICAgICBkPSJNNjcuNTIyIDExLjY3NmMwIC42ODEtLjU1NiAxLjE3Ny0xLjI1NSAxLjE3Ny0uNyAwLTEuMjU1LS40OTYtMS4yNTUtMS4xNzcgMC0uNjgyLjU1Ni0xLjE3OCAxLjI1NS0xLjE3OC43LS4wMyAxLjI1NS40NjUgMS4yNTUgMS4xNzh6bS0yLjM1MiA5LjYyMmgyLjE3OHYtNy41NDZINjUuMTd2Ny41NDZ6bS0zLjkwOS00LjU1NmwyLjg0NSA0LjU1NmgtMi4zNjhsLTEuOTA3LTMuMDIyLTEuMDMzIDEuMjcxdjEuNzVoLTIuMTYxVjEwLjQ1M2gyLjE2djUuMDA0YzAgLjkzLS4xMSAxLjg2LS4xMSAxLjg2aC4wNDdzLjUwOS0uODIxLjkzOC0xLjQxbDEuNjUzLTIuMTU0aDIuNTQybC0yLjYwNiAyLjk5em0tNi44MTctLjI3OGMwLTEuODc1LS45MzgtMi44OTgtMi40MzItMi44OTgtMS4yNzEgMC0xLjkzOS43MjgtMi4zMiAxLjQyNmgtLjA0OGwuMTEyLTEuMjRoLTIuMTYydjcuNTQ2aDIuMTYyVjE2LjgyYzAtLjg2OC41MjQtMS40NzIgMS4zMzUtMS40NzIuODEgMCAxLjE2LjUyNyAxLjE2IDEuNTM0djQuNDE2aDIuMTc3bC4wMTYtNC44MzR6bS04LjkzMS00Ljc4OGMwIC42ODEtLjU1NyAxLjE3Ny0xLjI1NiAxLjE3Ny0uNyAwLTEuMjU1LS40OTYtMS4yNTUtMS4xNzcgMC0uNjgyLjU1Ni0xLjE3OCAxLjI1NS0xLjE3OC43MTUtLjAzIDEuMjU2LjQ2NSAxLjI1NiAxLjE3OHptLTIuMzUyIDkuNjIyaDIuMTc3di03LjU0Nkg0My4xNnY3LjU0NnptLTMuNzUtMi4xMDdjMC0uNjA1LS44NTktLjcyOS0xLjg2LTEuMDA4LTEuMTYtLjI5NC0yLjYyMi0uODY3LTIuNjIyLTIuMzA4IDAtMS40MjYgMS4zOTgtMi4zMjQgMy4wNTEtMi4zMjQgMS41NDEgMCAyLjk1Ni43MTIgMy41NDQgMS43MmwtMS44NiAxLjAyMmMtLjE5LS42NjYtLjc2Mi0xLjE5My0xLjYyLTEuMTkzLS41NTcgMC0xLjAxOC4yMzItMS4wMTguNjgyIDAgLjU3MyAxLjAxOC42MzUgMi4xNjIuOTkxIDEuMjA4LjM3MiAyLjMyLjkxNSAyLjMyIDIuMjk0IDAgMS41MTgtMS40NDYgMi40MTctMy4xMTUgMi40MTctMS44MTEgMC0zLjI0Mi0uNzQ0LTMuODc3LTEuOTUybDEuODktMS4wMzljLjI0LjgyMi45MjIgMS40NDEgMS45NTUgMS40NDEuNjIgMCAxLjA1LS4yNDggMS4wNS0uNzQzem0tNi44ODItOC42NzdoLTIuMTc3djguNjkyYzAgLjc3NS4xNzUgMS4zNDguNTA5IDEuNzA1LjM1LjM1Ni44OS41MjYgMS42MzYuNTI2LjI1NSAwIC41MjUtLjAzLjc4LS4wNzcuMjctLjA2Mi40NzYtLjE0LjY1LS4yMzNsLjE5MS0xLjQyNWEyLjA3IDIuMDcgMCAwMS0uNDYuMTI0Yy0uMTI4LjAzLS4yODcuMDMtLjQ2MS4wMy0uMjg2IDAtLjQxNC0uMDc3LS41MDktLjIxNi0uMTExLS4xNC0uMTU5LS4zODctLjE1OS0uNzQ0di04LjM4MnptLTcuMjQ2IDQuNTdjLS43OTUgMC0xLjQ0Ni41NTgtMS42MjEgMS41ODFoMy4wNWMuMDE3LS44OTktLjU4Ny0xLjU4LTEuNDMtMS41OHptMy4zNTMgMy4wMDdIMjMuNjNjLjA5NSAxLjIyNC43OTQgMS44MjggMS43IDEuODI4LjgxIDAgMS4zNjctLjUyNyAxLjQ5NC0xLjI0bDEuODI4IDEuMDA3Yy0uNTQuOTYxLTEuNyAxLjc5OC0zLjMyMiAxLjc5OC0yLjE2IDAtMy43NS0xLjQ3Mi0zLjc1LTMuOTUxIDAtMi40NjQgMS42Mi0zLjk1MSAzLjcwMy0zLjk1MSAyLjA4MSAwIDMuNDY0IDEuNDQgMy40NjQgMy40ODYtLjAxNi42MDQtLjExMSAxLjAyMy0uMTExIDEuMDIzem0tMTEuMDc3IDMuMjA3aDIuMjU3VjEwLjkxNmgtMi4yNTd2NC4xMDdoLTQuMjQzdi00LjA5MUgxMS4wNnYxMC4zNjZoMi4yNTZ2LTQuMjkyaDQuMjQzdjQuMjkyeiIKICAgICAgICBmaWxsPSJjdXJyZW50Q29sb3IiIC8+Cjwvc3ZnPg==",logoFiDark="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCFET0NUWVBFIHN2Zz4KPHN2ZyB2aWV3Qm94PSIwIDAgNzggMzYiIHRpdGxlPSJIZWxzaW5naW4ga2F1cHVua2kiIHJvbGU9ImltZyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICAgY2xhc3M9IkxvZ28tbW9kdWxlX2xvZ29fX1kybXdQIExvZ28tbW9kdWxlX21lZGl1bV9fMXp5V20iIGFyaWEtaGlkZGVuPSJ0cnVlIiBzdHlsZT0iCiAgICBjb2xvcjogd2hpdGU7CiI+CiAgICA8cGF0aAogICAgICAgIGQ9Ik03NS43NTMgMi4yNTF2MjAuN2MwIDMuOTUtMy4yNzUgNy4xNzgtNy4zMSA3LjE3OGgtMjIuMjZjLTIuNjc0IDAtNS4yMDUuOTYtNy4xODMgMi43MzlhMTAuNzQ5IDEwLjc0OSAwIDAwLTcuMTgzLTIuNzRIOS41MDljLTQuMDAzIDAtNy4yNDctMy4yMS03LjI0Ny03LjE3N1YyLjI1aDczLjQ5MXpNNDAuMTg3IDM0LjgzNWE4LjQ3IDguNDcgMCAwMTYuMDEyLTIuNDcxaDIyLjI0NWM1LjI2OCAwIDkuNTU2LTQuMjE5IDkuNTU2LTkuNDEzVjBIMHYyMi45MzVjMCA1LjE5NCA0LjI1NiA5LjQxMyA5LjUwOSA5LjQxM2gyMi4zMDhjMi4yNjMgMCA0LjM5OC44ODIgNi4wMTIgMi40NzFMMzkuMDE2IDM2bDEuMTctMS4xNjV6IgogICAgICAgIGZpbGw9ImN1cnJlbnRDb2xvciI+PC9wYXRoPgogICAgPHBhdGgKICAgICAgICBkPSJNNjcuNTIyIDExLjY3NmMwIC42ODEtLjU1NiAxLjE3Ny0xLjI1NSAxLjE3Ny0uNyAwLTEuMjU1LS40OTYtMS4yNTUtMS4xNzcgMC0uNjgyLjU1Ni0xLjE3OCAxLjI1NS0xLjE3OC43LS4wMyAxLjI1NS40NjUgMS4yNTUgMS4xNzh6bS0yLjM1MiA5LjYyMmgyLjE3OHYtNy41NDZINjUuMTd2Ny41NDZ6bS0zLjkwOS00LjU1NmwyLjg0NSA0LjU1NmgtMi4zNjhsLTEuOTA3LTMuMDIyLTEuMDMzIDEuMjcxdjEuNzVoLTIuMTYxVjEwLjQ1M2gyLjE2djUuMDA0YzAgLjkzLS4xMSAxLjg2LS4xMSAxLjg2aC4wNDdzLjUwOS0uODIxLjkzOC0xLjQxbDEuNjUzLTIuMTU0aDIuNTQybC0yLjYwNiAyLjk5em0tNi44MTctLjI3OGMwLTEuODc1LS45MzgtMi44OTgtMi40MzItMi44OTgtMS4yNzEgMC0xLjkzOS43MjgtMi4zMiAxLjQyNmgtLjA0OGwuMTEyLTEuMjRoLTIuMTYydjcuNTQ2aDIuMTYyVjE2LjgyYzAtLjg2OC41MjQtMS40NzIgMS4zMzUtMS40NzIuODEgMCAxLjE2LjUyNyAxLjE2IDEuNTM0djQuNDE2aDIuMTc3bC4wMTYtNC44MzR6bS04LjkzMS00Ljc4OGMwIC42ODEtLjU1NyAxLjE3Ny0xLjI1NiAxLjE3Ny0uNyAwLTEuMjU1LS40OTYtMS4yNTUtMS4xNzcgMC0uNjgyLjU1Ni0xLjE3OCAxLjI1NS0xLjE3OC43MTUtLjAzIDEuMjU2LjQ2NSAxLjI1NiAxLjE3OHptLTIuMzUyIDkuNjIyaDIuMTc3di03LjU0Nkg0My4xNnY3LjU0NnptLTMuNzUtMi4xMDdjMC0uNjA1LS44NTktLjcyOS0xLjg2LTEuMDA4LTEuMTYtLjI5NC0yLjYyMi0uODY3LTIuNjIyLTIuMzA4IDAtMS40MjYgMS4zOTgtMi4zMjQgMy4wNTEtMi4zMjQgMS41NDEgMCAyLjk1Ni43MTIgMy41NDQgMS43MmwtMS44NiAxLjAyMmMtLjE5LS42NjYtLjc2Mi0xLjE5My0xLjYyLTEuMTkzLS41NTcgMC0xLjAxOC4yMzItMS4wMTguNjgyIDAgLjU3MyAxLjAxOC42MzUgMi4xNjIuOTkxIDEuMjA4LjM3MiAyLjMyLjkxNSAyLjMyIDIuMjk0IDAgMS41MTgtMS40NDYgMi40MTctMy4xMTUgMi40MTctMS44MTEgMC0zLjI0Mi0uNzQ0LTMuODc3LTEuOTUybDEuODktMS4wMzljLjI0LjgyMi45MjIgMS40NDEgMS45NTUgMS40NDEuNjIgMCAxLjA1LS4yNDggMS4wNS0uNzQzem0tNi44ODItOC42NzdoLTIuMTc3djguNjkyYzAgLjc3NS4xNzUgMS4zNDguNTA5IDEuNzA1LjM1LjM1Ni44OS41MjYgMS42MzYuNTI2LjI1NSAwIC41MjUtLjAzLjc4LS4wNzcuMjctLjA2Mi40NzYtLjE0LjY1LS4yMzNsLjE5MS0xLjQyNWEyLjA3IDIuMDcgMCAwMS0uNDYuMTI0Yy0uMTI4LjAzLS4yODcuMDMtLjQ2MS4wMy0uMjg2IDAtLjQxNC0uMDc3LS41MDktLjIxNi0uMTExLS4xNC0uMTU5LS4zODctLjE1OS0uNzQ0di04LjM4MnptLTcuMjQ2IDQuNTdjLS43OTUgMC0xLjQ0Ni41NTgtMS42MjEgMS41ODFoMy4wNWMuMDE3LS44OTktLjU4Ny0xLjU4LTEuNDMtMS41OHptMy4zNTMgMy4wMDdIMjMuNjNjLjA5NSAxLjIyNC43OTQgMS44MjggMS43IDEuODI4LjgxIDAgMS4zNjctLjUyNyAxLjQ5NC0xLjI0bDEuODI4IDEuMDA3Yy0uNTQuOTYxLTEuNyAxLjc5OC0zLjMyMiAxLjc5OC0yLjE2IDAtMy43NS0xLjQ3Mi0zLjc1LTMuOTUxIDAtMi40NjQgMS42Mi0zLjk1MSAzLjcwMy0zLjk1MSAyLjA4MSAwIDMuNDY0IDEuNDQgMy40NjQgMy40ODYtLjAxNi42MDQtLjExMSAxLjAyMy0uMTExIDEuMDIzem0tMTEuMDc3IDMuMjA3aDIuMjU3VjEwLjkxNmgtMi4yNTd2NC4xMDdoLTQuMjQzdi00LjA5MUgxMS4wNnYxMC4zNjZoMi4yNTZ2LTQuMjkyaDQuMjQzdjQuMjkyeiIKICAgICAgICBmaWxsPSJjdXJyZW50Q29sb3IiPjwvcGF0aD4KPC9zdmc+",logoSv="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTA0IDM2IiB0aXRsZT0iSGVsc2luZ2ZvcnMgc3RhZCIgcm9sZT0iaW1nIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogICAgPHBhdGgKICAgICAgICBkPSJNMTAzLjEwNSAwdjIyLjkzNWMwIDUuMTc5LTQuMjY2IDkuMzk3LTkuNTI0IDkuMzk3bC0zNC44NjcuMDMyYTguNDYgOC40NiAwIDAwLTUuOTgxIDIuNDcxTDUxLjU1MyAzNmwtMS4xODEtMS4xNjVhOC40MDUgOC40MDUgMCAwMC01Ljk4Mi0yLjQ3MUg5LjQ3NkM0LjI1IDMyLjM2NCAwIDI4LjE0NSAwIDIyLjk2NlYwaDEwMy4xMDV6bS0yLjIzNiAyLjIzNUgyLjI1MXYyMC43MzFjMCAzLjk1MSAzLjI0MyA3LjE2MyA3LjIyNSA3LjE2M0g0NC4zOWMyLjY3NiAwIDUuMTk1Ljk2IDcuMTYyIDIuNzM5IDEuOTY4LTEuNzggNC40ODYtMi43NCA3LjE2Mi0yLjc0bDM0Ljg2Ny0uMDNjNC4wMTQgMCA3LjI4OC0zLjIxMiA3LjI4OC03LjE2M3YtMjAuN3pNNjIuMDIgMTIuMDlsMiAxLjE1Yy0uMDMyIDEuMDA3LS40ODkgMS40NzktMS4zNTQgMS40NzktLjIwNSAwLS40NzMtLjA0Ny0uNjE0LS4wOTR2LjA2MmMuNDI1LjMzMS45NDQuODgyLjk0NCAxLjc2MyAwIDEuNTEyLTEuNDY0IDIuNDcyLTMuMjc0IDIuNDcyLS44MzQgMC0xLjU1OC4yNjctMS41NTguNjc3IDAgLjMxNS4yNjcuNDU2LjkxMy40NTYuNjQ1IDAgMS4zNjktLjEyNiAyLjIwMy0uMTI2IDEuNjUzIDAgMi43NTUuNjYxIDIuNzU1IDIuMTU3IDAgMS43OTQtMi4wMTUgMi41MDMtNC4yODIgMi41MDMtMi4xMDkgMC00LjAzLS41OTgtNC4wMy0xLjk1MiAwLS44MTkuODUtMS4zMDcgMS42MjItMS40NDh2LS4wNDhjLS41ODItLjE3My0xLjEwMi0uNTUtMS4xMDItMS4yMTIgMC0uODY1Ljg4Mi0xLjMzOCAxLjc3OS0xLjUyN3YtLjA0N2MtLjgzNC0uMzMtMS41NDMtMS4wMDctMS41NDMtMi4xODggMC0xLjUxMSAxLjMyMi0yLjU1IDMuMTMzLTIuNTUuNjkyIDAgMS4wODYuMTQyIDEuNjA1LjE0Mi42NDYgMCAuODgyLS4zNjIuODgyLS45NDUgMC0uMjY3LS4wNDctLjUzNS0uMDc5LS43MjR6bS0xLjczMSA5LjU0Yy0uOTMgMC0yLjcyNC4wNzgtMi43MjQuNzg2IDAgLjUzNi44OTguNzg3IDIuMTU3LjgwMyAxLjQxNyAwIDIuMjM1LS4yNjcgMi4yMzUtLjkxMyAwLS41MDQtLjc1NS0uNjc3LTEuNjY4LS42Nzd6bTI4Ljk5NS04LjAxM2MxLjUyNyAwIDIuOTI4LjcyNCAzLjUyNiAxLjc0N2wtMS44NDIgMS4wNGExLjYyNCAxLjYyNCAwIDAwLTEuNjA2LTEuMjEzYy0uNTUgMC0xLjAwNy4yMzYtMS4wMDcuNjc3IDAgLjU4MiAxLjAwNy42NDUgMi4xNTcgMS4wMDggMS4xOTYuMzc3IDIuMjk4LjkyOCAyLjI5OCAyLjMzIDAgMS41NDItMS40MzMgMi40NTUtMy4xMDEgMi40NTUtMS43OTUgMC0zLjIxMS0uNzcxLTMuODQxLTEuOTg0bDEuODczLTEuMDU0Yy4yNTIuODM0LjkxMyAxLjQ2NCAxLjkzNiAxLjQ2NC41OTggMCAxLjAyMy0uMjY4IDEuMDIzLS43NCAwLS42MTQtLjg1LS43NTYtMS44NDEtMS4wMjMtMS4xNjUtLjMxNS0yLjYxMy0uODgyLTIuNjEzLTIuMzQ2IDAtMS40NDggMS4zODUtMi4zNiAzLjAzOC0yLjM2em0tMTQuNjU1IDBjMi4wNzggMCAzLjY5OSAxLjUyNyAzLjY5OSA0LjAxNHMtMS42MDYgNC4wMTQtMy43IDQuMDE0Yy0yLjEwOSAwLTMuNzE0LTEuNTI3LTMuNzE0LTQuMDE0czEuNjA1LTQuMDE0IDMuNzE1LTQuMDE0em0tNDkuNjggMGMyLjA2MyAwIDMuNDMyIDEuNDY0IDMuNDMyIDMuNTQyLjAxNi42MTQtLjA5NCAxLjAzOS0uMDk0IDEuMDM5aC00Ljk3NGMuMDk0IDEuMjQzLjc4NyAxLjg1NyAxLjY4NCAxLjg1Ny44MDMgMCAxLjM1NC0uNTM1IDEuNDgtMS4yNmwxLjgxIDEuMDI0Yy0uNTM1Ljk3Ni0xLjY4NCAxLjgyNi0zLjI5IDEuODI2LTIuMTQgMC0zLjcxNS0xLjQ5NS0zLjcxNS00LjAxNCAwLTIuNDg3IDEuNjA2LTQuMDE0IDMuNjY4LTQuMDE0em0xMy4wNjYtLjAxNmMxLjUyNyAwIDIuOTI4LjcyNCAzLjUyNiAxLjc0OGwtMS44NDIgMS4wMzljLS4xODktLjY3Ny0uNzU1LTEuMjEzLTEuNjA1LTEuMjEzLS41NTEgMC0xLjAwOC4yMzctMS4wMDguNjc3IDAgLjU4MyAxLjAwOC42NDYgMi4xNCAxLjAwOCAxLjE5Ny4zNzggMi4zLjkyOCAyLjMgMi4zMyAwIDEuNTQyLTEuNDMzIDIuNDQtMy4wODYgMi40NC0xLjc5NSAwLTMuMjExLS43NTYtMy44NDEtMS45ODRsMS44NzMtMS4wNTVjLjIzNi44MzUuOTEzIDEuNDY0IDEuOTM2IDEuNDY0LjU4My4wMTYgMS4wMDgtLjIzNiAxLjAwOC0uNzI0IDAtLjYxNC0uODUtLjc0LTEuODQyLTEuMDIzLTEuMTY1LS4zLTIuNTk3LS44ODItMi41OTctMi4zNDUgMC0xLjQ0OSAxLjM4NS0yLjM2MiAzLjAzOC0yLjM2MnpNMzIuMyAxMC41M3Y4LjUwMWMwIC4zNjIuMDQ3LjYxNC4xNTcuNzU2LjA5NS4xNTcuMjIuMjIuNTA0LjIyLjE3MyAwIC4zMyAwIC40NTYtLjAzMWEyLjAxIDIuMDEgMCAwMC40NTctLjEyNmwtLjE4OSAxLjQ0OGEyLjUzMiAyLjUzMiAwIDAxLS42NDUuMjM2Yy0uMjUyLjA0Ny0uNTIuMDc5LS43NzIuMDc5LS43NCAwLTEuMjc1LS4xNzQtMS42MjEtLjUzNi0uMzMtLjM2Mi0uNTA0LS45NDQtLjUwNC0xLjczMVYxMC41M2gyLjE1N3ptMTkuODE4IDMuMDg2YzEuNDggMCAyLjQwOCAxLjAyMyAyLjQwOCAyLjkyOHY0LjkxMWgtMi4xNTZWMTYuOTdjMC0xLjAwNy0uMzYyLTEuNTQzLTEuMTY1LTEuNTQzcy0xLjMyMi42MTQtMS4zMjIgMS40OTZ2NC41NDloLTIuMTQxdi03LjY2NmgyLjE0bC0uMTEgMS4yNmguMDQ4Yy4zNzgtLjcxIDEuMDM5LTEuNDQ5IDIuMjk4LTEuNDQ5em0xNi43MzMtMy4zMzdhMy4yNyAzLjI3IDAgMDEyLjczOSAxLjRsLTEuODU4IDEuMTM0Yy0uMDMxLS40NTYtLjI1Mi0uOTI4LS43NzEtLjkyOC0uNTM1IDAtLjc4Ny40MDktLjc4NyAxLjA4NnYuODM0aDEuNjg0djEuNjM3aC0xLjY4NHY2LjAyOWgtMi4xNHYtNi4wMjloLTEuMTgxdi0xLjYzN2gxLjE4di0uODE5YzAtMS43OTQgMS4xOC0yLjcwNyAyLjgxOC0yLjcwN3ptMTQuODEyIDMuMzg0YzEuMDg2IDAgMS42ODQuOTEzIDEuNjg0IDIuMDMgMCAuNTA1LS4wNzguODk4LS4wNzguODk4bC0xLjkzNiAxLjExOGMuMDMxLS4yMi4xMjYtLjc0LjEyNi0xLjI2IDAtLjUwMy0uMTktLjk3NS0uNzI1LS45NzUtLjY3NiAwLS45NDQuNjMtLjk0NCAxLjYydjQuMzc3aC0yLjE1N3YtNy42NWgyLjE1N2wtLjExIDEuMjU5aC4wNDdjLjM3OC0uNzQuOTYtMS40MTcgMS45MzYtMS40MTd6bS03MC41Mi0yLjcyM3Y0LjE3MWg0LjIwM3YtNC4xN2gyLjIzNXYxMC41MTRoLTIuMjM1di00LjM2aC00LjIwM3Y0LjM2aC0yLjIzNVYxMC45NGgyLjIzNXptMzIuMzMyIDIuODV2Ny42NjVINDMuMzJWMTMuNzloMi4xNTZ6bTI5LjE1MyAxLjQ2M2MtMS4wNyAwLTEuNTQzIDEuMDA4LTEuNTQzIDIuMzc3IDAgMS4zNy40NzIgMi4zNzcgMS41NDMgMi4zNzcgMS4wNTQgMCAxLjUyNy0xLjAwNyAxLjUyNy0yLjM3NyAwLTEuMzctLjQ3My0yLjM3Ny0xLjUyNy0yLjM3N3ptLTE0Ljg5MS0uMTg5Yy0uNzI0IDAtMS4zMDcuNDczLTEuMzA3IDEuMTk3IDAgLjc0LjU4MyAxLjIxMiAxLjMwNyAxLjE5Ni43MjQgMCAxLjMwNi0uNDcyIDEuMzA2LTEuMTk2cy0uNTgyLTEuMTk3LTEuMzA2LTEuMTk3em0tMzQuNzczLjA5NWMtLjc4NyAwLTEuNDMyLjU2Ni0xLjYwNSAxLjYwNWgzLjAzOGMwLS45MTMtLjU5OC0xLjYwNS0xLjQzMy0xLjYwNXptMTkuNDQtNC42NzVjLjY5MyAwIDEuMjQ0LjUwMyAxLjI0NCAxLjE5NnMtLjU1IDEuMTk2LTEuMjQzIDEuMTk2Yy0uNzA5IDAtMS4yNDQtLjUwMy0xLjI0NC0xLjE5NnMuNTUxLTEuMTk2IDEuMjQ0LTEuMTk2eiIKICAgICAgICBmaWxsPSJjdXJyZW50Q29sb3IiIC8+Cjwvc3ZnPg==",logoSvDark="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCFET0NUWVBFIHN2Zz4KPHN2ZyB2aWV3Qm94PSIwIDAgMTA0IDM2IiB0aXRsZT0iSGVsc2luZ2ZvcnMgc3RhZCIgcm9sZT0iaW1nIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgICBjbGFzcz0iTG9nby1tb2R1bGVfbG9nb19fWTJtd1AgTG9nby1tb2R1bGVfbWVkaXVtX18xenlXbSIgc3R5bGU9Im1hcmdpbi1yaWdodDogdmFyKC0tc3BhY2luZy14cyk7Ij4KICAgIDxwYXRoCiAgICAgICAgZD0iTTEwMy4xMDUgMHYyMi45MzVjMCA1LjE3OS00LjI2NiA5LjM5Ny05LjUyNCA5LjM5N2wtMzQuODY3LjAzMmE4LjQ2IDguNDYgMCAwMC01Ljk4MSAyLjQ3MUw1MS41NTMgMzZsLTEuMTgxLTEuMTY1YTguNDA1IDguNDA1IDAgMDAtNS45ODItMi40NzFIOS40NzZDNC4yNSAzMi4zNjQgMCAyOC4xNDUgMCAyMi45NjZWMGgxMDMuMTA1em0tMi4yMzYgMi4yMzVIMi4yNTF2MjAuNzMxYzAgMy45NTEgMy4yNDMgNy4xNjMgNy4yMjUgNy4xNjNINDQuMzljMi42NzYgMCA1LjE5NS45NiA3LjE2MiAyLjczOSAxLjk2OC0xLjc4IDQuNDg2LTIuNzQgNy4xNjItMi43NGwzNC44NjctLjAzYzQuMDE0IDAgNy4yODgtMy4yMTIgNy4yODgtNy4xNjN2LTIwLjd6TTYyLjAyIDEyLjA5bDIgMS4xNWMtLjAzMiAxLjAwNy0uNDg5IDEuNDc5LTEuMzU0IDEuNDc5LS4yMDUgMC0uNDczLS4wNDctLjYxNC0uMDk0di4wNjJjLjQyNS4zMzEuOTQ0Ljg4Mi45NDQgMS43NjMgMCAxLjUxMi0xLjQ2NCAyLjQ3Mi0zLjI3NCAyLjQ3Mi0uODM0IDAtMS41NTguMjY3LTEuNTU4LjY3NyAwIC4zMTUuMjY3LjQ1Ni45MTMuNDU2LjY0NSAwIDEuMzY5LS4xMjYgMi4yMDMtLjEyNiAxLjY1MyAwIDIuNzU1LjY2MSAyLjc1NSAyLjE1NyAwIDEuNzk0LTIuMDE1IDIuNTAzLTQuMjgyIDIuNTAzLTIuMTA5IDAtNC4wMy0uNTk4LTQuMDMtMS45NTIgMC0uODE5Ljg1LTEuMzA3IDEuNjIyLTEuNDQ4di0uMDQ4Yy0uNTgyLS4xNzMtMS4xMDItLjU1LTEuMTAyLTEuMjEyIDAtLjg2NS44ODItMS4zMzggMS43NzktMS41Mjd2LS4wNDdjLS44MzQtLjMzLTEuNTQzLTEuMDA3LTEuNTQzLTIuMTg4IDAtMS41MTEgMS4zMjItMi41NSAzLjEzMy0yLjU1LjY5MiAwIDEuMDg2LjE0MiAxLjYwNS4xNDIuNjQ2IDAgLjg4Mi0uMzYyLjg4Mi0uOTQ1IDAtLjI2Ny0uMDQ3LS41MzUtLjA3OS0uNzI0em0tMS43MzEgOS41NGMtLjkzIDAtMi43MjQuMDc4LTIuNzI0Ljc4NiAwIC41MzYuODk4Ljc4NyAyLjE1Ny44MDMgMS40MTcgMCAyLjIzNS0uMjY3IDIuMjM1LS45MTMgMC0uNTA0LS43NTUtLjY3Ny0xLjY2OC0uNjc3em0yOC45OTUtOC4wMTNjMS41MjcgMCAyLjkyOC43MjQgMy41MjYgMS43NDdsLTEuODQyIDEuMDRhMS42MjQgMS42MjQgMCAwMC0xLjYwNi0xLjIxM2MtLjU1IDAtMS4wMDcuMjM2LTEuMDA3LjY3NyAwIC41ODIgMS4wMDcuNjQ1IDIuMTU3IDEuMDA4IDEuMTk2LjM3NyAyLjI5OC45MjggMi4yOTggMi4zMyAwIDEuNTQyLTEuNDMzIDIuNDU1LTMuMTAxIDIuNDU1LTEuNzk1IDAtMy4yMTEtLjc3MS0zLjg0MS0xLjk4NGwxLjg3My0xLjA1NGMuMjUyLjgzNC45MTMgMS40NjQgMS45MzYgMS40NjQuNTk4IDAgMS4wMjMtLjI2OCAxLjAyMy0uNzQgMC0uNjE0LS44NS0uNzU2LTEuODQxLTEuMDIzLTEuMTY1LS4zMTUtMi42MTMtLjg4Mi0yLjYxMy0yLjM0NiAwLTEuNDQ4IDEuMzg1LTIuMzYgMy4wMzgtMi4zNnptLTE0LjY1NSAwYzIuMDc4IDAgMy42OTkgMS41MjcgMy42OTkgNC4wMTRzLTEuNjA2IDQuMDE0LTMuNyA0LjAxNGMtMi4xMDkgMC0zLjcxNC0xLjUyNy0zLjcxNC00LjAxNHMxLjYwNS00LjAxNCAzLjcxNS00LjAxNHptLTQ5LjY4IDBjMi4wNjMgMCAzLjQzMiAxLjQ2NCAzLjQzMiAzLjU0Mi4wMTYuNjE0LS4wOTQgMS4wMzktLjA5NCAxLjAzOWgtNC45NzRjLjA5NCAxLjI0My43ODcgMS44NTcgMS42ODQgMS44NTcuODAzIDAgMS4zNTQtLjUzNSAxLjQ4LTEuMjZsMS44MSAxLjAyNGMtLjUzNS45NzYtMS42ODQgMS44MjYtMy4yOSAxLjgyNi0yLjE0IDAtMy43MTUtMS40OTUtMy43MTUtNC4wMTQgMC0yLjQ4NyAxLjYwNi00LjAxNCAzLjY2OC00LjAxNHptMTMuMDY2LS4wMTZjMS41MjcgMCAyLjkyOC43MjQgMy41MjYgMS43NDhsLTEuODQyIDEuMDM5Yy0uMTg5LS42NzctLjc1NS0xLjIxMy0xLjYwNS0xLjIxMy0uNTUxIDAtMS4wMDguMjM3LTEuMDA4LjY3NyAwIC41ODMgMS4wMDguNjQ2IDIuMTQgMS4wMDggMS4xOTcuMzc4IDIuMy45MjggMi4zIDIuMzMgMCAxLjU0Mi0xLjQzMyAyLjQ0LTMuMDg2IDIuNDQtMS43OTUgMC0zLjIxMS0uNzU2LTMuODQxLTEuOTg0bDEuODczLTEuMDU1Yy4yMzYuODM1LjkxMyAxLjQ2NCAxLjkzNiAxLjQ2NC41ODMuMDE2IDEuMDA4LS4yMzYgMS4wMDgtLjcyNCAwLS42MTQtLjg1LS43NC0xLjg0Mi0xLjAyMy0xLjE2NS0uMy0yLjU5Ny0uODgyLTIuNTk3LTIuMzQ1IDAtMS40NDkgMS4zODUtMi4zNjIgMy4wMzgtMi4zNjJ6TTMyLjMgMTAuNTN2OC41MDFjMCAuMzYyLjA0Ny42MTQuMTU3Ljc1Ni4wOTUuMTU3LjIyLjIyLjUwNC4yMi4xNzMgMCAuMzMgMCAuNDU2LS4wMzFhMi4wMSAyLjAxIDAgMDAuNDU3LS4xMjZsLS4xODkgMS40NDhhMi41MzIgMi41MzIgMCAwMS0uNjQ1LjIzNmMtLjI1Mi4wNDctLjUyLjA3OS0uNzcyLjA3OS0uNzQgMC0xLjI3NS0uMTc0LTEuNjIxLS41MzYtLjMzLS4zNjItLjUwNC0uOTQ0LS41MDQtMS43MzFWMTAuNTNoMi4xNTd6bTE5LjgxOCAzLjA4NmMxLjQ4IDAgMi40MDggMS4wMjMgMi40MDggMi45Mjh2NC45MTFoLTIuMTU2VjE2Ljk3YzAtMS4wMDctLjM2Mi0xLjU0My0xLjE2NS0xLjU0M3MtMS4zMjIuNjE0LTEuMzIyIDEuNDk2djQuNTQ5aC0yLjE0MXYtNy42NjZoMi4xNGwtLjExIDEuMjZoLjA0OGMuMzc4LS43MSAxLjAzOS0xLjQ0OSAyLjI5OC0xLjQ0OXptMTYuNzMzLTMuMzM3YTMuMjcgMy4yNyAwIDAxMi43MzkgMS40bC0xLjg1OCAxLjEzNGMtLjAzMS0uNDU2LS4yNTItLjkyOC0uNzcxLS45MjgtLjUzNSAwLS43ODcuNDA5LS43ODcgMS4wODZ2LjgzNGgxLjY4NHYxLjYzN2gtMS42ODR2Ni4wMjloLTIuMTR2LTYuMDI5aC0xLjE4MXYtMS42MzdoMS4xOHYtLjgxOWMwLTEuNzk0IDEuMTgtMi43MDcgMi44MTgtMi43MDd6bTE0LjgxMiAzLjM4NGMxLjA4NiAwIDEuNjg0LjkxMyAxLjY4NCAyLjAzIDAgLjUwNS0uMDc4Ljg5OC0uMDc4Ljg5OGwtMS45MzYgMS4xMThjLjAzMS0uMjIuMTI2LS43NC4xMjYtMS4yNiAwLS41MDMtLjE5LS45NzUtLjcyNS0uOTc1LS42NzYgMC0uOTQ0LjYzLS45NDQgMS42MnY0LjM3N2gtMi4xNTd2LTcuNjVoMi4xNTdsLS4xMSAxLjI1OWguMDQ3Yy4zNzgtLjc0Ljk2LTEuNDE3IDEuOTM2LTEuNDE3em0tNzAuNTItMi43MjN2NC4xNzFoNC4yMDN2LTQuMTdoMi4yMzV2MTAuNTE0aC0yLjIzNXYtNC4zNmgtNC4yMDN2NC4zNmgtMi4yMzVWMTAuOTRoMi4yMzV6bTMyLjMzMiAyLjg1djcuNjY1SDQzLjMyVjEzLjc5aDIuMTU2em0yOS4xNTMgMS40NjNjLTEuMDcgMC0xLjU0MyAxLjAwOC0xLjU0MyAyLjM3NyAwIDEuMzcuNDcyIDIuMzc3IDEuNTQzIDIuMzc3IDEuMDU0IDAgMS41MjctMS4wMDcgMS41MjctMi4zNzcgMC0xLjM3LS40NzMtMi4zNzctMS41MjctMi4zNzd6bS0xNC44OTEtLjE4OWMtLjcyNCAwLTEuMzA3LjQ3My0xLjMwNyAxLjE5NyAwIC43NC41ODMgMS4yMTIgMS4zMDcgMS4xOTYuNzI0IDAgMS4zMDYtLjQ3MiAxLjMwNi0xLjE5NnMtLjU4Mi0xLjE5Ny0xLjMwNi0xLjE5N3ptLTM0Ljc3My4wOTVjLS43ODcgMC0xLjQzMi41NjYtMS42MDUgMS42MDVoMy4wMzhjMC0uOTEzLS41OTgtMS42MDUtMS40MzMtMS42MDV6bTE5LjQ0LTQuNjc1Yy42OTMgMCAxLjI0NC41MDMgMS4yNDQgMS4xOTZzLS41NSAxLjE5Ni0xLjI0MyAxLjE5NmMtLjcwOSAwLTEuMjQ0LS41MDMtMS4yNDQtMS4xOTZzLjU1MS0xLjE5NiAxLjI0NC0xLjE5NnoiCiAgICAgICAgZmlsbD0id2hpdGUiPjwvcGF0aD4KPC9zdmc+",logoRu="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTExIDQwIiB0aXRsZT0iWNC10LvRjNGB0LjQvdC60LgiIHJvbGU9ImltZyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoCiAgICAgICAgZD0iTTExMSwwIEwxMTEsMjUuNTAwNDM2NiBDMTExLDMxLjI2NTQwMTIgMTA2LjI2MjcyNSwzNS45NTU0Mzc3IDEwMC40Mzk5ODYsMzUuOTU1NDM3NyBMNjMuMzU2MjA3MiwzNS45NTU0Mzc3IEM2MC44NTAyNzE0LDM1Ljk1NTQzNzcgNTguNDk0NTU2MSwzNi45Mjg4MjMyIDU2LjcyMjI3NzcsMzguNjk1NzkyOCBMNTUuNDE2MTY3Myw0MCBMNTQuMTA5NDEwOCwzOC42OTU3OTI4IEM1Mi4zMzc3Nzg1LDM2LjkyODgyMzIgNDkuOTgxNzQwMSwzNS45NTU0Mzc3IDQ3LjQ3NjEyNzQsMzUuOTU1NDM3NyBMMTAuNDk1NDAzLDM1Ljk1NTQzNzcgQzQuNzA4MjAwMDYsMzUuOTU1NDM3NyAwLDMxLjI2NTQwMTIgMCwyNS41MDA0MzY2IEwwLDAgTDExMSwwIFogTTEwOC41MTYwMzIsMi40ODYxNzUzNCBMMi40ODM2NDQ5OSwyLjQ4NjE3NTM0IEwyLjQ4MzY0NDk5LDI1LjUwMDQzNjYgQzIuNDgzNjQ0OTksMjkuODk0MjUzNSA2LjA3Nzk1MjI0LDMzLjQ2OTI2MjQgMTAuNDk1NDAzLDMzLjQ2OTI2MjQgTDQ3LjQ3NjEyNzQsMzMuNDY5MjYyNCBDNTAuNDM3MjQ3MywzMy40NjkyNjI0IDUzLjIzMzYwOTMsMzQuNTQ0ODM3MiA1NS40MTYxNjczLDM2LjUxMTAxMTIgQzU3LjU5OTM3MTQsMzQuNTQ0NTEzOCA2MC4zOTUwODcyLDMzLjQ2OTI2MjQgNjMuMzU2MjA3MiwzMy40NjkyNjI0IEwxMDAuNDM5OTg2LDMzLjQ2OTI2MjQgQzEwNC44OTI5NzMsMzMuNDY5MjYyNCAxMDguNTE2MDMyLDI5Ljg5NDI1MzUgMTA4LjUxNjAzMiwyNS41MDA0MzY2IEwxMDguNTE2MDMyLDIuNDg2MTc1MzQgWiIgLz4KICAgIDxwYXRoCiAgICAgICAgZD0iTTI2Ljc1ODMwMjcsMTUuMTAyMzUxIEMyOS4wMzkzOTIzLDE1LjEwMjM1MSAzMC41NjAwMTExLDE2LjcyNjA2MTUgMzAuNTYwMDExMSwxOS4wNDM0MzA1IEMzMC41NjAwMTExLDE5LjI3Njc2NDQgMzAuNTQ2NjE5NiwxOS40ODUyMjkzIDMwLjUyODg1MDMsMTkuNjU5MTM3MSBMMzAuNTA2MDAyNCwxOS44NTA2MTg5IEwzMC41MDYwMDI0LDE5Ljg1MDYxODkgTDMwLjQ3MTQyMTcsMjAuMDY3NTAwNSBMMzAuNDcxNDIxNywyMC4wNjc1MDA1IEwzMC40NDE3NzMsMjAuMjEwNTIyOSBMMjQuOTMzMzY2MywyMC4yMTA1MjI5IEMyNS4wMzQ4MDU1LDIxLjU5NzgzOTggMjUuODExNzUyMiwyMi4yNzQwMzU1IDI2LjgwODY5OTIsMjIuMjc0MDM1NSBDMjcuNjYzODEwNSwyMi4yNzQwMzU1IDI4LjI1Njk0NywyMS43MzQ1MjQ5IDI4LjQyNjU0ODgsMjAuOTc5NTE1NSBMMjguNDQ3ODc5LDIwLjg3MDIyNiBMMzAuNDU4ODk0OSwyMi4wMDM2ODY2IEMyOS44NjczODE3LDIzLjA4NjA1MjUgMjguNTgzMjM5LDI0LjAzMzI0MzkgMjYuODA4Njk5MiwyNC4wMzMyNDM5IEMyNC40MjY0OTM0LDI0LjAzMzI0MzkgMjIuNjg1ODc0NCwyMi4zNzU5MDE0IDIyLjY4NTg3NDQsMTkuNTY3NjM1NyBDMjIuNjg1ODc0NCwxNi43OTM5NzIxIDI0LjQ2MDQxNDIsMTUuMTAyMzUxIDI2Ljc1ODMwMjcsMTUuMTAyMzUxIFogTTU1LjY5NTYwOTcsMTUuMTAyMzUxIEM1Ny44MDgwNjQ3LDE1LjEwMjM1MSA1OS4wOTIyMDc0LDE2LjUwNjE2MDUgNTkuMzYyNjA0MiwxNy44NzYwMTQ2IEw1Ny4xODI5NTM4LDE4Ljk5MjY1OTIgQzU3LjE4Mjk1MzgsMTcuODU5MTk4NyA1Ni43NDMyNzYyLDE2LjkyOTE0NjYgNTUuNjk1NjA5NywxNi45MjkxNDY2IEM1NC41NDY4MjY5LDE2LjkyOTE0NjYgNTQuMDU2NzUyOSwxOC4wNDU0Njc4IDU0LjA1Njc1MjksMTkuNTY3NjM1NyBDNTQuMDU2NzUyOSwyMS4wOTAxMjcxIDU0LjU0NjgyNjksMjIuMjA2NzcxNyA1NS42OTU2MDk3LDIyLjIwNjc3MTcgQzU2Ljc0MzI3NjIsMjIuMjA2NzcxNyA1Ny4xODI5NTM4LDIxLjI3NjM5NjIgNTcuMTgyOTUzOCwyMC4xNDI5MzU3IEw1OS4zNjI2MDQyLDIxLjI1OTI1NjkgQzU5LjA5MjIwNzQsMjIuNjI5NDM0NCA1Ny44MDgwNjQ3LDI0LjAzMzI0MzkgNTUuNjk1NjA5NywyNC4wMzMyNDM5IEM1My4zNjM4MDA0LDI0LjAzMzI0MzkgNTEuNjQwMzAzMywyMi4zNDE5NDYxIDUxLjY0MDMwMzMsMTkuNTY3NjM1NyBDNTEuNjQwMzAzMywxNi43OTM5NzIxIDUzLjM2MzgwMDQsMTUuMTAyMzUxIDU1LjY5NTYwOTcsMTUuMTAyMzUxIFogTTQwLjI3NjIwNiwxNS4xMTk0OTAzIEw0MC4yNzYyMDYsMjMuODMwMTU4OCBMMzguMDExOTE1MiwyMy44MzAxNTg4IEwzOC4wMTE5MTUyLDE2Ljg0NDQyIEwzNS44MzgwNzk3LDE2Ljg0NDQyIEwzNS44MzgwNzk3LDIwLjAwNzc2MTIgQzM1LjgzODA3OTcsMjIuMTA0OTA1NyAzNS4yODIxMDI1LDIzLjUyNjE3NzkgMzMuNDkwNDQwOCwyNC4wMzMyNDM5IEwzMS40MTI1NTI2LDIyLjQ0MzE2NTMgQzMzLjAwMDY4OTgsMjIuMTA0OTA1NyAzMy41NDE0ODM0LDIxLjUyOTkyOTIgMzMuNTQxNDgzNCwxOS43ODc4NjAyIEwzMy41MzQwNTMyLDE1LjExOTQ5MDMgTDQwLjI3NjIwNiwxNS4xMTk0OTAzIFogTTEyLjAyNjAzNjUsMTIuMTI1Mjc4OSBMMTQuNzgwMDc4MywxMi4xMjUyNzg5IEwxNi4yNzE3NDY0LDE0Ljk3MjUyMzQgTDE2LjI3MTc0NjQsMTQuOTcyNTIzNCBMMTYuNDM0MTc0OCwxNS4yOTUzNDQxIEwxNi40MzQxNzQ4LDE1LjI5NTM0NDEgTDE2LjY3ODg0OTEsMTUuODAzNzMzOSBMMTYuNjc4ODQ5MSwxNS44MDM3MzM5IEwxNi45NzY4NTA3LDE2LjQ1NTM4OTIgTDE2Ljk3Njg1MDcsMTYuNDU1Mzg5MiBMMTcuMDI3NTcwMiwxNi40NTUzODkyIEwxNy40NDMwNDI2LDE1LjYwMTAzMjkgTDE3LjQ0MzA0MjYsMTUuNjAxMDMyOSBMMTcuNzY2MDUwOSwxNC45NzAzNDQ0IEwxNy43NjYwNTA5LDE0Ljk3MDM0NDQgTDE5LjI5MTg2MTEsMTIuMTI1Mjc4OSBMMjEuODc3MjY4MywxMi4xMjUyNzg5IEwxOC43Njc4NjYyLDE3Ljc1Nzk3OTUgTDIyLjIxNTE4MzYsMjMuODMwMTU4OCBMMTkuNDc3NjE3NSwyMy44MzAxNTg4IEwxNy43ODgwNDEyLDIwLjczNDcyODIgTDE3LjM0Nzc4MjEsMTkuODkzNDg1MSBMMTcuMzQ3NzgyMSwxOS44OTM0ODUxIEwxNi45OTM2NDk1LDE5LjE5NTc0NDMgTDE2Ljk5MzY0OTUsMTkuMTk1NzQ0MyBMMTYuOTQyOTI5OSwxOS4xOTU3NDQzIEwxNi40Mjk2NjY2LDIwLjIwMTc2MTIgTDE2LjQyOTY2NjYsMjAuMjAxNzYxMiBMMTYuMTQ4ODYxMywyMC43MzQ3MjgyIEwxNi4xNDg4NjEzLDIwLjczNDcyODIgTDE0LjQ1ODk2MTksMjMuODMwMTU4OCBMMTEuODA2MDM2MiwyMy44MzAxNTg4IEwxNS4xODU4MzUxLDE3Ljg0MjM4MjcgTDEyLjAyNjAzNjUsMTIuMTI1Mjc4OSBaIE03My42MzI5MDIxLDE1LjMwODk5MzMgTDczLjYzMjkwMjEsMTguNDk4MjA1MiBMNzYuNzM4NDI3NSwxOC40OTgyMDUyIEw3Ni43Mzg0Mjc1LDE1LjMwODk5MzMgTDc5LjAyNjMwMTMsMTUuMzA4OTkzMyBMNzkuMDI2MzAxMywyMy44MzAxNTg4IEw3Ni43Mzg0Mjc1LDIzLjgzMDE1ODggTDc2LjczODQyNzUsMjAuNTMwMDI2MiBMNzMuNjMyOTAyMSwyMC41MzAwMjYyIEw3My42MzI5MDIxLDIzLjgzMDE1ODggTDcxLjM0NDM4MjIsMjMuODMwMTU4OCBMNzEuMzQ0MzgyMiwxNS4zMDg5OTMzIEw3My42MzI5MDIxLDE1LjMwODk5MzMgWiBNODEuNzUwOTQ1MiwxNS4zMDg5OTMzIEw4NC4wMzg4MTksMTUuMzA4OTkzMyBMODQuMDM4MjgyNiwxNy43NjI1MTQ2IEw4NC4wMzgyODI2LDE3Ljc2MjUxNDYgTDg0LjAyNzI1OTcsMTguMjI3Mjg1MyBMODQuMDI3MjU5NywxOC4yMjcyODUzIEw4NC4wMDczNTkyLDE4LjY2NzY2NjQgTDg0LjAwNzM1OTIsMTguNjY3NjY2NCBMODMuOTY0ODM5NCwxOS4zMjM0ODA5IEw4My45NjQ4Mzk0LDE5LjMyMzQ4MDkgTDg0LjAxMzk0MzcsMTkuMzIzNDgwOSBMODQuMTY5Mzc5LDE5LjAyNjQ5MDYgTDg0LjE2OTM3OSwxOS4wMjY0OTA2IEw4NC4yOTY4OTkzLDE4Ljc5Mzg5OTQgTDg0LjI5Njg5OTMsMTguNzkzODk5NCBMODQuNTEzMDQxLDE4LjQxNzg1MTkgTDg0LjUxMzA0MSwxOC40MTc4NTE5IEw4NC42Mzc2MjgxLDE4LjIxMTA2OTggTDg0LjYzNzYyODEsMTguMjExMDY5OCBMODQuNzcxMzAxNywxNy45OTc0MDkyIEw4NC43NzEzMDE3LDE3Ljk5NzQwOTIgTDg0LjkxMjYxODcsMTcuNzgxMDkwNCBMODQuOTEyNjE4NywxNy43ODEwOTA0IEw4Ni41OTc0MTI3LDE1LjMwODk5MzMgTDg5LjIxNzcwOTgsMTUuMzA4OTkzMyBMODYuNTg1MTM2NiwxOC43OTM3NzgxIEw4OS4zNzc2MjE5LDIzLjgzMDE1ODggTDg2Ljg0MzI1NzMsMjMuODMwMTU4OCBMODUuMTA4Nzc2MywyMC42Nzc4MTI2IEw4NC4wMzg4MTksMjIuMTQzMDY1IEw4NC4wMzg4MTksMjMuODMwMTU4OCBMODEuNzUwOTQ1MiwyMy44MzAxNTg4IEw4MS43NTA5NDUyLDE1LjMwODk5MzMgWiBNNjEuNDAxMjQxMywxNS4zMDY2MDAzIEw2My41Mjk1MjYsMTUuMzA2NjAwMyBMNjMuNTI4OTgzNSwxOS4xODg4MTg1IEw2My41Mjg5ODM1LDE5LjE4ODgxODUgTDYzLjUyMTYyMjEsMTkuNTE1NzU4NSBMNjMuNTIxNjIyMSwxOS41MTU3NTg1IEw2My41MDc3MDEyLDE5Ljg1Nzg5MDcgTDYzLjUwNzcwMTIsMTkuODU3ODkwNyBMNjMuNDc3MDQ5MiwyMC40MDMwNDcyIEw2My40NzcwNDkyLDIwLjQwMzA0NzIgTDYzLjQzMDk5NDMsMjEuMDQ1MDQ3NCBMNjMuNDgwMDk4NywyMS4wNDUwNDc0IEw2My43NzE2ODc0LDIwLjI1MzY0MSBMNjMuNzcxNjg3NCwyMC4yNTM2NDEgTDYzLjkzMTEzODQsMTkuODQwNTcyNCBMNjQuMDc4Njg3MSwxOS40Nzc0OTQ3IEM2NC4wOTQ0MjQ1LDE5LjQ0MDE3IDY0LjEwOTg0NTIsMTkuNDA0MTUwNyA2NC4xMjQ4NTEzLDE5LjM2OTczNjcgTDY0LjE2ODUyODQsMTkuMjcxNjEwMSBMNjUuOTg5NTg4LDE1LjMwNjYwMDMgTDY4Ljk0MTk4NTUsMTUuMzA2NjAwMyBMNjguOTQxOTg1NSwyMy44MjgwODkxIEw2Ni44MjU5NzY4LDIzLjgyODA4OTEgTDY2LjgyNjcyMjIsMTkuOTQ1NTA4OSBMNjYuODI2NzIyMiwxOS45NDU1MDg5IEw2Ni44MzIyODQ4LDE5LjczMDI0OTMgTDY2LjgzMjI4NDgsMTkuNzMwMjQ5MyBMNjYuODQyMzg2NCwxOS41MDUwNTI3IEw2Ni44NDIzODY0LDE5LjUwNTA1MjcgTDY2Ljg3MTkzNDksMTkuMDUwNTAxOCBMNjYuODcxOTM0OSwxOS4wNTA1MDE4IEw2Ni45MjM2MDAyLDE4LjQ1NDQ4MTIgTDY2LjkyMzYwMDIsMTguNDU0NDgxMiBMNjYuOTYxMzM2NywxOC4wODkzMTg2IEw2Ni45MTE5MDk0LDE4LjA4OTMxODYgTDY2LjU5NzYxMTgsMTguODY2NzU3OCBMNjYuNTk3NjExOCwxOC44NjY3NTc4IEw2Ni4zMzI1NDk0LDE5LjUwMTMyMDEgTDY2LjMzMjU0OTQsMTkuNTAxMzIwMSBMNjYuMTczNzI5MiwxOS44NjI3NTU5IEw2NC4wOTYxNjQxLDIzLjgyODA4OTEgTDYxLjQwMTI0MTMsMjMuODI4MDg5MSBMNjEuNDAxMjQxMywxNS4zMDY2MDAzIFogTTkzLjE0ODk2MzIsMTUuMzA2NjAwMyBMOTMuMTQ4OTYzMiwxOS4wODY5NTc5IEM5My4xNDg5NjMyLDE5LjI4NjA0OTkgOTMuMTQyMjU3OCwxOS41MTQ1MjE2IDkzLjEzMjM0NTUsMTkuNzQzNDk1NSBMOTMuMTA5MjgxNiwyMC4xOTM1NTcgTDkzLjEwOTI4MTYsMjAuMTkzNTU3IEw5My4wNTA0MzE1LDIxLjA0NTA0NzQgTDkzLjA5OTUzNTgsMjEuMDQ1MDQ3NCBMOTMuNDI4ODk5NCwyMC4xNTQ4NDc1IEw5My40Mjg4OTk0LDIwLjE1NDg0NzUgTDkzLjYwMDk2NDgsMTkuNzE0NzExMiBMOTMuNjAwOTY0OCwxOS43MTQ3MTEyIEw5My43NDQ2MDg3LDE5LjM2OTczNjcgTDkzLjc0NDYwODcsMTkuMzY5NzM2NyBMOTMuNzg4Mjg4NSwxOS4yNzE2MTAxIEw5NS42MDkwMjUyLDE1LjMwNjYwMDMgTDk4LjU2MTQyMjYsMTUuMzA2NjAwMyBMOTguNTYxNDIyNiwyMy44MjgwODkxIEw5Ni40NDU3MzcsMjMuODI4MDg5MSBMOTYuNDQ2NDgwNiwxOS45NDU1MDg5IEw5Ni40NDY0ODA2LDE5Ljk0NTUwODkgTDk2LjQ1MjAyOTksMTkuNzMwMjQ5MyBMOTYuNDUyMDI5OSwxOS43MzAyNDkzIEw5Ni40NjIxMDc0LDE5LjUwNTA1MjcgTDk2LjQ2MjEwNzQsMTkuNTA1MDUyNyBMOTYuNDkxNTg1NCwxOS4wNTA1MDE4IEw5Ni40OTE1ODU0LDE5LjA1MDUwMTggTDk2LjUzNDkyNTUsMTguNTQwNjU0OSBMOTYuNTM0OTI1NSwxOC41NDA2NTQ5IEw5Ni41ODA3NzM5LDE4LjA4OTMxODYgTDk2LjUzMTM0NjUsMTguMDg5MzE4NiBMOTYuMTczNjYxLDE4Ljk3MjQxMjUgTDk2LjE3MzY2MSwxOC45NzI0MTI1IEw5NS45NjA3OTQ2LDE5LjQ4MTEwOTQgTDk1Ljk2MDc5NDYsMTkuNDgxMTA5NCBMOTUuODQ1MzMyNywxOS43NDcyOSBMOTUuODQ1MzMyNywxOS43NDcyOSBMOTUuNzkzNDg5NCwxOS44NjI3NTU5IEw5My43MTU2MDEyLDIzLjgyODA4OTEgTDkxLjAyMDY3ODQsMjMuODI4MDg5MSBMOTEuMDIwNjc4NCwxNS4zMDY2MDAzIEw5My4xNDg5NjMyLDE1LjMwNjYwMDMgWiBNNDQuOTAwODk2NCwxNC45OTI0NjUyIEw0NC45MDA4OTY0LDE4LjA2NDYxMjEgTDQ3LjEwNTQyMjEsMTguMDY0NjEyMSBDNDcuNjE4NzU2MSwxOC4wNjQ2MTIxIDQ4LjA3NzgxNjksMTguMTIxMjA0MyA0OC40ODE5NTg0LDE4LjIzNDcxMiBDNDguODg2MDk5OSwxOC4zNDgyMTk4IDQ5LjIyODIxNDksMTguNTI0MTQwNiA0OS41MDc2NTczLDE4Ljc2MTUwNDQgQzQ5Ljc4NzQyMjcsMTguOTk5MTkxNSA1MC4wMDA5NjE5LDE5LjMwMDU4NTMgNTAuMTQ4NTk3OSwxOS42NjUzNjI0IEM1MC4yOTU5MTA5LDIwLjAzMDEzOTQgNTAuMzY5NTY3NCwyMC40NjEyMTAxIDUwLjM2OTU2NzQsMjAuOTU4MjUxMSBDNTAuMzY5NTY3NCwyMS40MDcxMDggNTAuMzA4NTEsMjEuNzkwMzE3OSA1MC4xODY3MTg0LDIyLjEwOTQ5NzggQzUwLjA2NDI4MDYsMjIuNDI4MDMwOSA0OS45MDgyNDUyLDIyLjY5NDE3NTkgNDkuNzE3NjQyOSwyMi45MDc2MDkyIEM0OS41MjY3MTc1LDIzLjEyMTA0MjYgNDkuMzE0NDcwNSwyMy4yODg4Nzg4IDQ5LjA4MDU3ODksMjMuNDEwNDcxMiBDNDguODQ2Njg3MiwyMy41MzIwNjM1IDQ4LjYxNzY0MTQsMjMuNjIzOTA0NSA0OC4zOTQwODc1LDIzLjY4NTk5NDIgQzQ4LjE3MDUzMzYsMjMuNzQ4MDg0IDQ3Ljk2MzEzMjUsMjMuNzg3MjEzNCA0Ny43NzI1MzAyLDIzLjgwMzM4MjYgTDQ3LjU2NDkzMjYsMjMuODE4OTA1IEw0Ny41NjQ5MzI2LDIzLjgxODkwNSBMNDcuNDAwMTk1MywyMy44MjY2NjYyIEw0Ny40MDAxOTUzLDIzLjgyNjY2NjIgTDQyLjc0MjI0NDUsMjMuODI3NjM2NCBMNDIuNzQyMjQ0NSwxNC45OTI0NjUyIEw0NC45MDA4OTY0LDE0Ljk5MjQ2NTIgWiBNNDYuNTQwNzIyNCwxOS43OTA4MzUzIEw0NC45MDA4OTY0LDE5Ljc5MDgzNTMgTDQ0LjkwMDg5NjQsMjIuMTAxNDEzMiBMNDYuNzIzNTcxNCwyMi4xMDE0MTMyIEM0Ni44OTE1NTk4LDIyLjEwMTQxMzIgNDcuMDU3OTMzLDIyLjA4NjUzNzUgNDcuMjIzMzM3MSwyMi4wNTY0NjI4IEM0Ny4zODg3NDExLDIyLjAyNzAzNDkgNDcuNTM4NjM4NSwyMS45NzA0NDI3IDQ3LjY3MzM1MjMsMjEuODg2MzYyOSBDNDcuODA4MDY2MiwyMS44MDI2MDY1IDQ3LjkxNjI4OTUsMjEuNjg2NTExNyA0Ny45OTc2OTkzLDIxLjUzNzc1NTEgQzQ4LjA3OTEwOTEsMjEuMzg5MzIxOSA0OC4xMTk4MTQsMjEuMTk1OTM4MyA0OC4xMTk4MTQsMjAuOTU4MjUxMSBDNDguMTE5ODE0LDIwLjcyNjA2MTUgNDguMDc3ODE2OSwyMC41MzM5NzE1IDQ3Ljk5MzgyMjcsMjAuMzgyOTUxMiBDNDcuOTA5ODI4NCwyMC4yMzE2MDc1IDQ3Ljc5NTc5MDEsMjAuMTEyNjAyMyA0Ny42NTA0MTU1LDIwLjAyNjI1ODggQzQ3LjUwNTM2MzksMTkuOTM5OTE1MyA0Ny4zMzgwMjE1LDE5Ljg3ODc5NTcgNDcuMTQ3MDk2MSwxOS44NDM1NDY5IEM0Ny4wMDQxNDQ0LDE5LjgxNzM1MjggNDYuODU0NjUwOCwxOS44MDA3OTk2IDQ2LjY5ODc1MTcsMTkuNzk0MTYwMSBMNDYuNTQwNzIyNCwxOS43OTA4MzUzIFogTTI2Ljc1ODMwMjcsMTYuODI3NjA0IEMyNS45MTYyMDY2LDE2LjgyNzYwNCAyNS4yMjkyODE3LDE3LjQwMjU4OTYgMjUuMDEwMDA4OSwxOC40Nzc3MDUxIEwyNC45ODQwODU5LDE4LjYyMDc2NzcgTDI4LjM0Njc2MjksMTguNjIwNzY3NyBDMjguMzQ2NzYyOSwxNy41ODg4NDk3IDI3LjY4NzczMTIsMTYuODI3NjA0IDI2Ljc1ODMwMjcsMTYuODI3NjA0IFoiIC8+Cjwvc3ZnPg==",Logo=function Logo(_ref){var alt=_ref.alt,className=_ref.className,dataTestId=_ref.dataTestId,_ref$size=_ref.size,size=void 0===_ref$size?"full":_ref$size,style=_ref.style,rest=(0,objectWithoutProperties.Z)(_ref,_excluded),props=(0,objectSpread2.Z)({alt,size,className:(0,classNames.Z)(Logo_module.logo,"full"!==size&&Logo_module[size],className),style,"data-testid":dataTestId},rest);return(0,jsx_runtime.jsx)("img",(0,objectSpread2.Z)({alt},props))};try{Logo.displayName="Logo",Logo.__docgenInfo={description:"",displayName:"Logo",props:{"aria-hidden":{defaultValue:null,description:"Aria hidden property",name:"aria-hidden",required:!1,type:{name:"boolean"}},alt:{defaultValue:null,description:"Alt text to apply to the logo",name:"alt",required:!1,type:{name:"string"}},className:{defaultValue:null,description:"Additional class names to apply to the logo",name:"className",required:!1,type:{name:"string"}},dataTestId:{defaultValue:null,description:"Adds a data-testid attribute to the root element with the given value",name:"dataTestId",required:!1,type:{name:"string"}},size:{defaultValue:{value:"full"},description:"The size of the logo",name:"size",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"large"'},{value:'"full"'},{value:'"medium"'}]}},src:{defaultValue:null,description:"Src of the logo. Data-url, locally imported image or a URL",name:"src",required:!0,type:{name:"string"}},title:{defaultValue:null,description:"Title for the logo",name:"title",required:!1,type:{name:"string"}},style:{defaultValue:null,description:"Override or extend the styles applied to the component",name:"style",required:!1,type:{name:"CSSProperties"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/logo/Logo.tsx#Logo"]={docgenInfo:Logo.__docgenInfo,name:"Logo",path:"src/components/logo/Logo.tsx#Logo"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/notification/Notification.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{P:()=>Notification});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/react/index.js"),react_spring__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react-spring/dist/react-spring.esm.js"),_react_aria_visually_hidden__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("../../node_modules/@react-aria/visually-hidden/dist/import.mjs"),_utils_classNames__WEBPACK_IMPORTED_MODULE_11__=(__webpack_require__("./src/styles/base.css"),__webpack_require__("./src/utils/classNames.ts")),_Notification_module_css__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("./src/components/notification/Notification.module.css"),_icons__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/icons/IconInfoCircleFill.tsx"),_icons__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./src/icons/IconCheckCircleFill.tsx"),_icons__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./src/icons/IconErrorFill.tsx"),_icons__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./src/icons/IconAlertCircleFill.tsx"),_icons__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("./src/icons/IconCross.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),icons={info:_icons__WEBPACK_IMPORTED_MODULE_4__.IconInfoCircleFill,success:_icons__WEBPACK_IMPORTED_MODULE_5__.IconCheckCircleFill,error:_icons__WEBPACK_IMPORTED_MODULE_6__.IconErrorFill,alert:_icons__WEBPACK_IMPORTED_MODULE_7__.IconAlertCircleFill},ConditionalVisuallyHidden=function ConditionalVisuallyHidden(_ref){var visuallyHidden=_ref.visuallyHidden,children=_ref.children;return visuallyHidden?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_react_aria_visually_hidden__WEBPACK_IMPORTED_MODULE_8__.T,{children}):children},Notification=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((function(_ref2,ref){var _ref2$autoClose=_ref2.autoClose,autoClose=void 0!==_ref2$autoClose&&_ref2$autoClose,_ref2$autoCloseDurati=_ref2.autoCloseDuration,autoCloseDuration=void 0===_ref2$autoCloseDurati?6e3:_ref2$autoCloseDurati,_ref2$boxShadow=_ref2.boxShadow,boxShadow=void 0!==_ref2$boxShadow&&_ref2$boxShadow,children=_ref2.children,_ref2$className=_ref2.className,className=void 0===_ref2$className?"":_ref2$className,_ref2$closeAnimationD=_ref2.closeAnimationDuration,closeAnimationDuration=void 0===_ref2$closeAnimationD?85:_ref2$closeAnimationD,closeButtonLabelText=_ref2.closeButtonLabelText,dataTestId=_ref2.dataTestId,_ref2$dismissible=_ref2.dismissible,dismissible=void 0!==_ref2$dismissible&&_ref2$dismissible,_ref2$displayAutoClos=_ref2.displayAutoCloseProgress,displayAutoCloseProgress=void 0===_ref2$displayAutoClos||_ref2$displayAutoClos,_ref2$invisible=_ref2.invisible,invisible=void 0!==_ref2$invisible&&_ref2$invisible,label=_ref2.label,_ref2$notificationAri=_ref2.notificationAriaLabel,notificationAriaLabel=void 0===_ref2$notificationAri?"Notification":_ref2$notificationAri,_ref2$position=_ref2.position,position=void 0===_ref2$position?"inline":_ref2$position,_ref2$onClose=_ref2.onClose,onClose=void 0===_ref2$onClose?function(){return null}:_ref2$onClose,_ref2$size=_ref2.size,size=void 0===_ref2$size?"default":_ref2$size,style=_ref2.style,_ref2$type=_ref2.type,type=void 0===_ref2$type?"info":_ref2$type,_ref2$headingLevel=_ref2.headingLevel,headingLevel=void 0===_ref2$headingLevel?2:_ref2$headingLevel,isToast="inline"!==position;isToast&&"large"===size&&(console.warn("Size '".concat(size,"' is only allowed for inline positioned notifications")),size="default"),!isToast&&autoClose&&(console.warn("The 'autoClose' property is not allowed for inline positioned notifications"),autoClose=!1);var _useState=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!0),_useState2=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_9__.Z)(_useState,2),open=_useState2[0],setOpen=_useState2[1],handleClose=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((function(){setOpen(!1),setTimeout((function(){return onClose()}),closeAnimationDuration)}),[onClose,closeAnimationDuration]);(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((function(){var interval=setTimeout((function(){autoClose&&handleClose()}),autoCloseDuration);return function(){return clearTimeout(interval)}}),[autoClose,autoCloseDuration,handleClose]);var Icon=icons[type],openTransitionProps=isToast?function getOpenTransition(position){var centerPositioned=position.includes("center"),animateFromTop=position.includes("top");return{from:{transform:"translate3d(".concat(centerPositioned?"-50%":"0",", ").concat(animateFromTop?"-":"","32px, 0)"),opacity:.66},to:{transform:"translate3d(".concat(centerPositioned?"-50%":"0",", 0, 0)"),opacity:1},config:{friction:30,tension:300}}}(position):{},closeTransitionProps=function getCloseTransition(duration){return{from:{opacity:1},to:{opacity:0},config:{duration}}}(closeAnimationDuration),autoCloseTransitionProps=displayAutoCloseProgress?function getAutoCloseTransition(duration){return{from:{transform:"translate3d(-100%, 0, 0)"},to:{transform:"translate3d(0%, 0, 0)"},config:{duration}}}(autoCloseDuration):{},notificationTransition=(0,react_spring__WEBPACK_IMPORTED_MODULE_1__.useSpring)(open?openTransitionProps:closeTransitionProps),autoCloseTransition=(0,react_spring__WEBPACK_IMPORTED_MODULE_1__.useSpring)(autoCloseTransitionProps);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(ConditionalVisuallyHidden,{visuallyHidden:invisible,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(react_spring__WEBPACK_IMPORTED_MODULE_1__.animated.section,{style:(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_10__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_10__.Z)({},notificationTransition),style),className:(0,_utils_classNames__WEBPACK_IMPORTED_MODULE_11__.Z)(_Notification_module_css__WEBPACK_IMPORTED_MODULE_12__.Z[position],_Notification_module_css__WEBPACK_IMPORTED_MODULE_12__.Z.notification,_Notification_module_css__WEBPACK_IMPORTED_MODULE_12__.Z[size],_Notification_module_css__WEBPACK_IMPORTED_MODULE_12__.Z[type],autoClose&&_Notification_module_css__WEBPACK_IMPORTED_MODULE_12__.Z.noBorder,boxShadow&&_Notification_module_css__WEBPACK_IMPORTED_MODULE_12__.Z.boxShadow,className),"aria-label":notificationAriaLabel,"data-testid":dataTestId,role:isToast||invisible?"alert":void 0,children:[autoClose&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(react_spring__WEBPACK_IMPORTED_MODULE_1__.animated.div,{style:autoCloseTransition,className:_Notification_module_css__WEBPACK_IMPORTED_MODULE_12__.Z.autoClose}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("div",{className:_Notification_module_css__WEBPACK_IMPORTED_MODULE_12__.Z.content,ref,children:[label&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("div",(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_10__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_10__.Z)({className:_Notification_module_css__WEBPACK_IMPORTED_MODULE_12__.Z.label},isToast||invisible?{}:{role:"heading","aria-level":headingLevel}),{},{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(Icon,{className:_Notification_module_css__WEBPACK_IMPORTED_MODULE_12__.Z.icon,"aria-hidden":!0}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(ConditionalVisuallyHidden,{visuallyHidden:"small"===size,children:label})]})),children&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("div",{className:_Notification_module_css__WEBPACK_IMPORTED_MODULE_12__.Z.body,children})]}),dismissible&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("button",{className:(0,_utils_classNames__WEBPACK_IMPORTED_MODULE_11__.Z)(_Notification_module_css__WEBPACK_IMPORTED_MODULE_12__.Z.close,_Notification_module_css__WEBPACK_IMPORTED_MODULE_12__.Z[type]),type:"button",title:closeButtonLabelText,"aria-label":closeButtonLabelText,onClick:handleClose,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_13__.IconCross,{"aria-hidden":!0})})]})})}));try{Notification.displayName="Notification",Notification.__docgenInfo={description:"",displayName:"Notification",props:{autoClose:{defaultValue:{value:"false"},description:"Whether the notification should be closed automatically after a certain time",name:"autoClose",required:!1,type:{name:"boolean"}},autoCloseDuration:{defaultValue:{value:"6000"},description:"The duration before the notification is automatically closed. Used together with the `autoClose` prop.",name:"autoCloseDuration",required:!1,type:{name:"number"}},boxShadow:{defaultValue:{value:"false"},description:"Boolean indication whether notification has box shadow or not.",name:"boxShadow",required:!1,type:{name:"boolean"}},className:{defaultValue:{value:""},description:"Additional class names to apply to the notification",name:"className",required:!1,type:{name:"string"}},closeAnimationDuration:{defaultValue:{value:"85"},description:"Duration of the close fade-out animation",name:"closeAnimationDuration",required:!1,type:{name:"number"}},dataTestId:{defaultValue:null,description:"Value for the data-testid attribute that is applied to the root component.",name:"dataTestId",required:!1,type:{name:"string"}},displayAutoCloseProgress:{defaultValue:{value:"true"},description:"Displays a progress bar on top of the notification when `true`",name:"displayAutoCloseProgress",required:!1,type:{name:"boolean"}},invisible:{defaultValue:{value:"false"},description:'Determines whether the notification should be visually hidden. Useful when notification should only be "seen" by screen readers.',name:"invisible",required:!1,type:{name:"boolean"}},label:{defaultValue:null,description:"The label of the notification.\nNote: Labels are not displayed visually for small notifications, but they are still accessible to assistive technology. This could be used to help screen reader users to better understand the context of the notification.",name:"label",required:!1,type:{name:"ReactNode"}},notificationAriaLabel:{defaultValue:{value:"Notification"},description:"The aria-label of the notification region",name:"notificationAriaLabel",required:!1,type:{name:"string"}},onClose:{defaultValue:{value:"() => null"},description:"Callback fired when the notification is closed",name:"onClose",required:!1,type:{name:"() => void"}},style:{defaultValue:null,description:"Override or extend the styles applied to the component",name:"style",required:!1,type:{name:"CSSProperties"}},type:{defaultValue:{value:"info"},description:"The type of the notification",name:"type",required:!1,type:{name:"enum",value:[{value:'"success"'},{value:'"info"'},{value:'"error"'},{value:'"alert"'}]}},headingLevel:{defaultValue:{value:"2"},description:"The aria-level of the heading element",name:"headingLevel",required:!1,type:{name:"number"}},position:{defaultValue:{value:"inline"},description:"The position of the notification",name:"position",required:!1,type:{name:"enum",value:[{value:'"inline"'},{value:'"top-left"'},{value:'"top-center"'},{value:'"top-right"'},{value:'"bottom-left"'},{value:'"bottom-center"'},{value:'"bottom-right"'}]}},size:{defaultValue:{value:"default"},description:"The size of the notification",name:"size",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"default"'},{value:'"large"'}]}},dismissible:{defaultValue:{value:"false"},description:"Whether the notification can be closed",name:"dismissible",required:!1,type:{name:"boolean"}},closeButtonLabelText:{defaultValue:null,description:"The aria-label and title for the close button",name:"closeButtonLabelText",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/notification/Notification.tsx#Notification"]={docgenInfo:Notification.__docgenInfo,name:"Notification",path:"src/components/notification/Notification.tsx#Notification"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/numberInput/NumberInput.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Y:()=>NumberInput});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),slicedToArray=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),objectWithoutProperties=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react=__webpack_require__("../../node_modules/react/index.js"),dist_import=__webpack_require__("../../node_modules/@react-aria/visually-hidden/dist/import.mjs"),lodash_throttle=__webpack_require__("../../node_modules/lodash.throttle/index.js"),lodash_throttle_default=__webpack_require__.n(lodash_throttle);const hooks_useThrottledWheel=function useThrottledWheel(inputRef){var delay=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,throttledWheel=!1,throttledWheelToggler=lodash_throttle_default()((function(){throttledWheel=!1}),delay);(0,react.useEffect)((function(){var ignoreScroll=function ignoreScroll(e){throttledWheel&&e.preventDefault(),throttledWheel=!0,throttledWheelToggler()};return inputRef.current&&inputRef.current.addEventListener("wheel",ignoreScroll,{passive:!1}),function(){inputRef.current&&inputRef.current.removeEventListener("wheel",ignoreScroll)}}),[inputRef])};__webpack_require__("./src/styles/base.css");const NumberInput_module_numberInputContainer="NumberInput_numberInputContainer__gsj+q",NumberInput_module_numberInputWithSteps="NumberInput_numberInputWithSteps__roLLA",NumberInput_module_minusButtonWrapper="NumberInput_minusButtonWrapper__VxU7X",NumberInput_module_minusButtonWrapperWithoutBorder="NumberInput_minusButtonWrapperWithoutBorder__R71sY",NumberInput_module_plusButtonWrapper="NumberInput_plusButtonWrapper__AE9D5",NumberInput_module_plusButtonWrapperWithoutBorder="NumberInput_plusButtonWrapperWithoutBorder__gzOze",NumberInput_module_button="NumberInput_button__YkgdE";var IconMinus=__webpack_require__("./src/icons/IconMinus.tsx"),IconPlus=__webpack_require__("./src/icons/IconPlus.tsx"),InputWrapper=__webpack_require__("./src/internal/input-wrapper/InputWrapper.tsx"),TextInput_module=__webpack_require__("./src/components/textInput/TextInput.module.css"),classNames=__webpack_require__("./src/utils/classNames.ts"),composeAriaDescribedBy=__webpack_require__("./src/utils/composeAriaDescribedBy.ts"),mergeRefWithInternalRef=__webpack_require__("./src/utils/mergeRefWithInternalRef.ts"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),_excluded=["className","disabled","defaultValue","errorText","helperText","hideLabel","invalid","id","label","max","min","minusStepButtonAriaLabel","onChange","plusStepButtonAriaLabel","required","step","style","successText","infoText","tooltipLabel","tooltipText","tooltipButtonLabel","type","unit"];function combineLabelAndUnit(label,unit){return!label&&unit?"(".concat(unit,")"):label&&unit?"".concat(label," (").concat(unit,")"):label}var NumberInput=react.forwardRef((function(_ref,ref){var _ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,_ref$disabled=_ref.disabled,disabled=void 0!==_ref$disabled&&_ref$disabled,defaultValue=_ref.defaultValue,errorText=_ref.errorText,helperText=_ref.helperText,hideLabel=_ref.hideLabel,invalid=_ref.invalid,id=_ref.id,label=_ref.label,max=_ref.max,min=_ref.min,minusStepButtonAriaLabel=_ref.minusStepButtonAriaLabel,_ref$onChange=_ref.onChange,onChange=void 0===_ref$onChange?function(){return null}:_ref$onChange,plusStepButtonAriaLabel=_ref.plusStepButtonAriaLabel,required=_ref.required,step=_ref.step,style=_ref.style,successText=_ref.successText,infoText=_ref.infoText,tooltipLabel=_ref.tooltipLabel,tooltipText=_ref.tooltipText,tooltipButtonLabel=_ref.tooltipButtonLabel,_ref$type=_ref.type,type=void 0===_ref$type?"number":_ref$type,unit=_ref.unit,rest=(0,objectWithoutProperties.Z)(_ref,_excluded),wrapperProps={className,errorText,helperText,hideLabel,id,invalid,label:combineLabelAndUnit(label,unit),required,style,successText,infoText,tooltipLabel,tooltipText,tooltipButtonLabel,labelId:step?"".concat(id,"-label"):void 0},inputRef=(0,react.useRef)(null),_useState=(0,react.useState)(null),_useState2=(0,slicedToArray.Z)(_useState,2),screenReaderValue=_useState2[0],setScreenReaderValue=_useState2[1],notifyScreenReaderStepperChangedValue=function notifyScreenReaderStepperChangedValue(){setScreenReaderValue(String(inputRef.current.value))};hooks_useThrottledWheel(inputRef),(0,react.useEffect)((function(){ref&&(0,mergeRefWithInternalRef.Z)(ref,inputRef)}),[inputRef,ref]);var dispatchNativeOnChangeEvent=function dispatchNativeOnChangeEvent(){Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value").set.call(inputRef.current,inputRef.current.value);var onChangeEvent=new Event("input",{bubbles:!0});inputRef.current.dispatchEvent(onChangeEvent)},onChangeListener=step?function(e){null!==screenReaderValue&&setScreenReaderValue(null),onChange(e)}:onChange,ariaDescribedBy=(0,composeAriaDescribedBy.Z)(id,helperText,errorText,successText,infoText);return(0,jsx_runtime.jsx)(InputWrapper.S,(0,objectSpread2.Z)((0,objectSpread2.Z)({},wrapperProps),{},{children:(0,jsx_runtime.jsxs)("div",(0,objectSpread2.Z)((0,objectSpread2.Z)({className:NumberInput_module_numberInputContainer},step&&{role:"group","aria-labelledby":wrapperProps.labelId}),{},{children:[(0,jsx_runtime.jsx)("input",(0,objectSpread2.Z)({className:(0,classNames.Z)(TextInput_module.Z.input,step?NumberInput_module_numberInputWithSteps:""),defaultValue,disabled,id,max,min,step,onChange:onChangeListener,ref:inputRef,required,type,"aria-describedby":ariaDescribedBy.length>0?ariaDescribedBy:null},rest)),step&&(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsx)("div",{className:disabled?NumberInput_module_minusButtonWrapperWithoutBorder:NumberInput_module_minusButtonWrapper,children:(0,jsx_runtime.jsx)("button",{className:NumberInput_module_button,disabled,type:"button",onClick:function onClick(event){event.preventDefault(),inputRef.current.stepDown(),dispatchNativeOnChangeEvent(),notifyScreenReaderStepperChangedValue()},"aria-label":minusStepButtonAriaLabel||"Decrease by one",children:(0,jsx_runtime.jsx)(IconMinus.IconMinus,{"aria-hidden":"true"})})}),(0,jsx_runtime.jsx)("div",{className:disabled?NumberInput_module_plusButtonWrapperWithoutBorder:NumberInput_module_plusButtonWrapper,children:(0,jsx_runtime.jsx)("button",{className:NumberInput_module_button,disabled,type:"button",onClick:function onClick(event){event.preventDefault(),inputRef.current.stepUp(),dispatchNativeOnChangeEvent(),notifyScreenReaderStepperChangedValue()},"aria-label":plusStepButtonAriaLabel||"Increase by one",children:(0,jsx_runtime.jsx)(IconPlus.IconPlus,{"aria-hidden":"true"})})}),null!==screenReaderValue&&(0,jsx_runtime.jsx)(dist_import.T,{children:(0,jsx_runtime.jsx)("span",{"aria-live":"assertive",children:screenReaderValue})})]})]}))}))}));try{NumberInput.displayName="NumberInput",NumberInput.__docgenInfo={description:"",displayName:"NumberInput",props:{className:{defaultValue:{value:""},description:"Additional class names to apply to the text input",name:"className",required:!1,type:{name:"string"}},id:{defaultValue:null,description:"The id of the input element",name:"id",required:!1,type:{name:"string"}},style:{defaultValue:null,description:"Override or extend the styles applied to the component",name:"style",required:!1,type:{name:"CSSProperties"}},label:{defaultValue:null,description:"The label for the input",name:"label",required:!0,type:{name:"string"}},disabled:{defaultValue:{value:"false"},description:"If `true`, the input will be disabled",name:"disabled",required:!1,type:{name:"boolean"}},type:{defaultValue:{value:"number"},description:"Type of the input element",name:"type",required:!1,type:{name:"string"}},value:{defaultValue:null,description:"The value of the input element, required for a controlled component",name:"value",required:!1,type:{name:'number | ""'}},defaultValue:{defaultValue:null,description:"The default input element value. Use when the component is not controlled",name:"defaultValue",required:!1,type:{name:"number"}},onChange:{defaultValue:{value:"() => null"},description:"Callback fired when the state is changed",name:"onChange",required:!1,type:{name:"ChangeEventHandler"}},readOnly:{defaultValue:null,description:"If `true`, prevents the user from changing the value of the field (not from interacting with the field)",name:"readOnly",required:!1,type:{name:"boolean"}},required:{defaultValue:null,description:"If `true`, the label is displayed as required and the `input` element will be required",name:"required",required:!1,type:{name:"boolean"}},errorText:{defaultValue:null,description:"The error text content that will be shown below the input",name:"errorText",required:!1,type:{name:"string"}},helperText:{defaultValue:null,description:"The helper text content that will be shown below the input",name:"helperText",required:!1,type:{name:"string"}},tooltipText:{defaultValue:null,description:"The text content of the tooltip",name:"tooltipText",required:!1,type:{name:"string"}},tooltipLabel:{defaultValue:null,description:"Aria-label text for the tooltip",name:"tooltipLabel",required:!1,type:{name:"string"}},tooltipButtonLabel:{defaultValue:null,description:"Aria-label text for the tooltip trigger button",name:"tooltipButtonLabel",required:!1,type:{name:"string"}},hideLabel:{defaultValue:null,description:"Hides the label above the input",name:"hideLabel",required:!1,type:{name:"boolean"}},invalid:{defaultValue:null,description:"If `true`, the input will be displayed in an invalid state.",name:"invalid",required:!1,type:{name:"boolean"}},successText:{defaultValue:null,description:"The success text content that will be shown below the input",name:"successText",required:!1,type:{name:"string"}},infoText:{defaultValue:null,description:"The info text content that will be shown below the input",name:"infoText",required:!1,type:{name:"string"}},minusStepButtonAriaLabel:{defaultValue:null,description:"The aria-label for minus step button",name:"minusStepButtonAriaLabel",required:!1,type:{name:"string"}},plusStepButtonAriaLabel:{defaultValue:null,description:"The aria-label for plus step button",name:"plusStepButtonAriaLabel",required:!1,type:{name:"string"}},unit:{defaultValue:null,description:"Unit characters of the input. Example: €",name:"unit",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/numberInput/NumberInput.tsx#NumberInput"]={docgenInfo:NumberInput.__docgenInfo,name:"NumberInput",path:"src/components/numberInput/NumberInput.tsx#NumberInput"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/phoneInput/PhoneInput.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{s:()=>PhoneInput});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/react/index.js"),_internal_input_wrapper_InputWrapper__WEBPACK_IMPORTED_MODULE_5__=(__webpack_require__("./src/styles/base.css"),__webpack_require__("./src/internal/input-wrapper/InputWrapper.tsx")),_textInput_TextInput_module_css__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./src/components/textInput/TextInput.module.css"),_utils_composeAriaDescribedBy__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/utils/composeAriaDescribedBy.ts"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),_excluded=["aria-describedby","className","disabled","defaultValue","errorText","helperText","hideLabel","invalid","id","label","onChange","required","style","successText","infoText","tooltipLabel","tooltipText","tooltipButtonLabel","type"],PhoneInput=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((function(_ref,ref){var customAriaDescribedBy=_ref["aria-describedby"],_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,_ref$disabled=_ref.disabled,disabled=void 0!==_ref$disabled&&_ref$disabled,defaultValue=_ref.defaultValue,errorText=_ref.errorText,helperText=_ref.helperText,hideLabel=_ref.hideLabel,invalid=_ref.invalid,id=_ref.id,label=_ref.label,_ref$onChange=_ref.onChange,onChange=void 0===_ref$onChange?function(){return null}:_ref$onChange,required=_ref.required,style=_ref.style,successText=_ref.successText,infoText=_ref.infoText,tooltipLabel=_ref.tooltipLabel,tooltipText=_ref.tooltipText,tooltipButtonLabel=_ref.tooltipButtonLabel,_ref$type=_ref.type,type=void 0===_ref$type?"tel":_ref$type,rest=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_3__.Z)(_ref,_excluded),wrapperProps={className,errorText,helperText,hideLabel,id,invalid,label,required,style,successText,tooltipLabel,tooltipText,tooltipButtonLabel},ariaDescribedBy=[customAriaDescribedBy,(0,_utils_composeAriaDescribedBy__WEBPACK_IMPORTED_MODULE_4__.Z)(id,helperText,errorText,successText,infoText)].filter((function(item){return item})).join(" ");return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_internal_input_wrapper_InputWrapper__WEBPACK_IMPORTED_MODULE_5__.S,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_6__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_6__.Z)({},wrapperProps),{},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("input",(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_6__.Z)({className:_textInput_TextInput_module_css__WEBPACK_IMPORTED_MODULE_7__.Z.input,defaultValue,disabled,id,onChange,ref,required,type,"aria-describedby":ariaDescribedBy.length>0?ariaDescribedBy:null,autoComplete:"tel"},rest))}))}));try{PhoneInput.displayName="PhoneInput",PhoneInput.__docgenInfo={description:"",displayName:"PhoneInput",props:{className:{defaultValue:{value:""},description:"Additional class names to apply to the text input",name:"className",required:!1,type:{name:"string"}},id:{defaultValue:null,description:"The id of the input element",name:"id",required:!1,type:{name:"string"}},style:{defaultValue:null,description:"Override or extend the styles applied to the component",name:"style",required:!1,type:{name:"CSSProperties"}},label:{defaultValue:null,description:"The label for the input",name:"label",required:!1,type:{name:"string"}},disabled:{defaultValue:{value:"false"},description:"If `true`, the input will be disabled",name:"disabled",required:!1,type:{name:"boolean"}},type:{defaultValue:{value:"tel"},description:"Type of the input element",name:"type",required:!1,type:{name:"string"}},value:{defaultValue:null,description:"The value of the input element, required for a controlled component",name:"value",required:!1,type:{name:"string & (string | number | readonly string[])"}},defaultValue:{defaultValue:null,description:"The default input element value. Use when the component is not controlled",name:"defaultValue",required:!1,type:{name:"string & (string | number | readonly string[])"}},placeholder:{defaultValue:null,description:"Short hint displayed in the input before the user enters a value",name:"placeholder",required:!1,type:{name:"string"}},onChange:{defaultValue:{value:"() => null"},description:"Callback fired when the state is changed",name:"onChange",required:!1,type:{name:"ChangeEventHandler"}},readOnly:{defaultValue:null,description:"If `true`, prevents the user from changing the value of the field (not from interacting with the field)",name:"readOnly",required:!1,type:{name:"boolean"}},required:{defaultValue:null,description:"If `true`, the label is displayed as required and the `input` element will be required",name:"required",required:!1,type:{name:"boolean"}},errorText:{defaultValue:null,description:"The error text content that will be shown below the input",name:"errorText",required:!1,type:{name:"string"}},helperText:{defaultValue:null,description:"The helper text content that will be shown below the input",name:"helperText",required:!1,type:{name:"string"}},tooltipText:{defaultValue:null,description:"The text content of the tooltip",name:"tooltipText",required:!1,type:{name:"string"}},tooltipLabel:{defaultValue:null,description:"Aria-label text for the tooltip",name:"tooltipLabel",required:!1,type:{name:"string"}},tooltipButtonLabel:{defaultValue:null,description:"Aria-label text for the tooltip trigger button",name:"tooltipButtonLabel",required:!1,type:{name:"string"}},hideLabel:{defaultValue:null,description:"Hides the label above the input",name:"hideLabel",required:!1,type:{name:"boolean"}},invalid:{defaultValue:null,description:"If `true`, the input will be displayed in an invalid state.",name:"invalid",required:!1,type:{name:"boolean"}},successText:{defaultValue:null,description:"The success text content that will be shown below the input",name:"successText",required:!1,type:{name:"string"}},infoText:{defaultValue:null,description:"The info text content that will be shown below the input",name:"infoText",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/phoneInput/PhoneInput.tsx#PhoneInput"]={docgenInfo:PhoneInput.__docgenInfo,name:"PhoneInput",path:"src/components/phoneInput/PhoneInput.tsx#PhoneInput"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/radioButton/RadioButton.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{E:()=>RadioButton});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),objectWithoutProperties=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react=__webpack_require__("../../node_modules/react/index.js");__webpack_require__("./src/styles/base.css");const RadioButton_module_radioButton="RadioButton_radioButton__ur1rv radio-button_hds-radio-button__vPgjR",RadioButton_module_input="RadioButton_input__XmJe8 radio-button_hds-radio-button__input__uLp-t",RadioButton_module_label="RadioButton_label__sIbpU radio-button_hds-radio-button__label__j5TCU",RadioButton_module_helperText="RadioButton_helperText__PHV37 helpers_helper-text__kpl-5";var classNames=__webpack_require__("./src/utils/classNames.ts"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),_excluded=["checked","className","disabled","helperText","id","label","onChange","style","value"],RadioButton=react.forwardRef((function(_ref,ref){var _ref$checked=_ref.checked,checked=void 0!==_ref$checked&&_ref$checked,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,_ref$disabled=_ref.disabled,disabled=void 0!==_ref$disabled&&_ref$disabled,helperText=_ref.helperText,id=_ref.id,label=_ref.label,_ref$onChange=_ref.onChange,onChange=void 0===_ref$onChange?function(){return null}:_ref$onChange,style=_ref.style,value=_ref.value,rest=(0,objectWithoutProperties.Z)(_ref,_excluded);return label&&"string"!=typeof label&&"number"!=typeof label&&console.warn("Using ReactElement as a label is against good usability and accessibility practices. Please prefer plain strings."),(0,jsx_runtime.jsxs)("div",{className:(0,classNames.Z)(RadioButton_module_radioButton,className),style,children:[(0,jsx_runtime.jsx)("input",(0,objectSpread2.Z)({ref,id,className:(0,classNames.Z)(RadioButton_module_input),onChange,value,type:"radio",disabled,checked,"aria-describedby":helperText?"".concat(id,"-helper"):null},rest)),(0,jsx_runtime.jsx)("label",{htmlFor:id,className:(0,classNames.Z)(RadioButton_module_label),children:label}),helperText&&(0,jsx_runtime.jsx)("div",{className:RadioButton_module_helperText,id:"".concat(id,"-helper"),children:helperText})]})}));RadioButton.displayName="RadioButton";try{RadioButton.displayName="RadioButton",RadioButton.__docgenInfo={description:"",displayName:"RadioButton",props:{checked:{defaultValue:{value:"false"},description:"If `true`, the component is checked",name:"checked",required:!1,type:{name:"boolean"}},className:{defaultValue:{value:""},description:"Additional class names to apply to the radio button",name:"className",required:!1,type:{name:"string"}},disabled:{defaultValue:{value:"false"},description:"If `true`, the radio button will be disabled",name:"disabled",required:!1,type:{name:"boolean"}},helperText:{defaultValue:null,description:"The helper text content that will be shown below the input",name:"helperText",required:!1,type:{name:"string"}},id:{defaultValue:null,description:"The id of the input element",name:"id",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"The label for the radio button",name:"label",required:!1,type:{name:"ReactNode"}},onChange:{defaultValue:{value:"() => null"},description:"Callback fired when the state is changed",name:"onChange",required:!1,type:{name:"ChangeEventHandler"}},style:{defaultValue:null,description:"Override or extend the styles applied to the component",name:"style",required:!1,type:{name:"CSSProperties"}},value:{defaultValue:null,description:"The value of the component",name:"value",required:!1,type:{name:"string & (string | number | readonly string[])"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/radioButton/RadioButton.tsx#RadioButton"]={docgenInfo:RadioButton.__docgenInfo,name:"RadioButton",path:"src/components/radioButton/RadioButton.tsx#RadioButton"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/searchInput/SearchInput.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{M:()=>SearchInput});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),slicedToArray=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react=__webpack_require__("../../node_modules/react/index.js"),downshift_esm=__webpack_require__("./node_modules/downshift/dist/downshift.esm.js");__webpack_require__("./src/styles/base.css");const SearchInput_module={input:"SearchInput_input__Jqnp+",hidden:"SearchInput_hidden__hfnzZ",button:"SearchInput_button__+lJq3 search-input_hds-search-input__button__PVQba",wrapper:"SearchInput_wrapper__cAVzn",root:"SearchInput_root__Gh2uc",open:"SearchInput_open__Ns+jf",angleIcon:"SearchInput_angleIcon__GLqU0",menu:"SearchInput_menu__1csYs",loadingSpinnerContainer:"SearchInput_loadingSpinnerContainer__vEzxX",menuItem:"SearchInput_menuItem__uWrkq",highlighted:"SearchInput_highlighted__UYbsP",selected:"SearchInput_selected__DrU67",disabled:"SearchInput_disabled__u46Pz",virtualized:"SearchInput_virtualized__6fJjf",buttons:"SearchInput_buttons__fs8Em search-input_hds-search-input__buttons__5Xhf+",searchIcon:"SearchInput_searchIcon__k3MON",noToggle:"SearchInput_noToggle__JtDZ2",helperText:"SearchInput_helperText__n2PDj",loadingSpinner:"SearchInput_loadingSpinner__IT9l2"};var FieldLabel=__webpack_require__("./src/internal/field-label/FieldLabel.tsx"),DropdownMenu=__webpack_require__("./src/internal/dropdownMenu/DropdownMenu.tsx"),classNames=__webpack_require__("./src/utils/classNames.ts"),IconCrossCircle=__webpack_require__("./src/icons/IconCrossCircle.tsx"),IconSearch=__webpack_require__("./src/icons/IconSearch.tsx"),createClass=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/createClass.js"),classCallCheck=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/classCallCheck.js"),inherits=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/inherits.js"),createSuper=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/createSuper.js"),CancelledPromiseError=function(_Error){(0,inherits.Z)(CancelledPromiseError,_Error);var _super=(0,createSuper.Z)(CancelledPromiseError);function CancelledPromiseError(){return(0,classCallCheck.Z)(this,CancelledPromiseError),_super.apply(this,arguments)}return(0,createClass.Z)(CancelledPromiseError)}((0,__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js").Z)(Error)),useSuggestions=function useSuggestions(searchString,getSuggestions,isSubmitted){var cancelAll=(0,react.useRef)(isSubmitted),_useState=(0,react.useState)(!1),_useState2=(0,slicedToArray.Z)(_useState,2),isLoading=_useState2[0],setIsLoading=_useState2[1],cancelSuggestionsFunction=(0,react.useRef)((function(){return null})),_useState3=(0,react.useState)([]),_useState4=(0,slicedToArray.Z)(_useState3,2),suggestions=_useState4[0],setSuggestions=_useState4[1],clearSuggestions=(0,react.useCallback)((function(){setSuggestions([]),setIsLoading(!1),cancelSuggestionsFunction.current()}),[setSuggestions,cancelSuggestionsFunction]);return(0,react.useEffect)((function(){return function(){cancelSuggestionsFunction.current()}}),[cancelSuggestionsFunction]),(0,react.useEffect)((function(){cancelAll.current=isSubmitted}),[isSubmitted]),function useDebouncedEffect(effect,delay,deps){var callback=(0,react.useCallback)(effect,deps);(0,react.useEffect)((function(){var timeout=setTimeout((function(){callback()}),delay);return function(){clearTimeout(timeout)}}),[callback,delay])}((function(){if("function"==typeof getSuggestions&&!0!==cancelAll.current){if(setIsLoading(!0),cancelSuggestionsFunction.current(),0===searchString.length)return setIsLoading(!1),void setSuggestions([]);var _cancellablePromise=function cancellablePromise(promise){var isCancelled=!1;return{promise:new Promise((function(res,rej){promise.then((function(value){if(isCancelled)throw new CancelledPromiseError;res(value)})).catch((function(error){error instanceof CancelledPromiseError||rej(error)}))})),cancel:function cancel(){isCancelled=!0}}}(getSuggestions(searchString)),promise=_cancellablePromise.promise,cancel=_cancellablePromise.cancel;cancelSuggestionsFunction.current=cancel,promise.then((function(newSuggestions){setIsLoading(!1),Array.isArray(newSuggestions)&&"function"==typeof setSuggestions&&!1===cancelAll.current&&setSuggestions(newSuggestions)}))}}),200,[searchString,getSuggestions,setSuggestions]),{suggestions,isLoading:!cancelAll.current&&isLoading,clearSuggestions}},dropdownUtils=__webpack_require__("./src/components/dropdown/dropdownUtils.ts"),LoadingSpinner=__webpack_require__("./src/components/loadingSpinner/LoadingSpinner.tsx"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),SearchInput=function SearchInput(_ref){var className=_ref.className,_ref$clearButtonAriaL=_ref.clearButtonAriaLabel,clearButtonAriaLabel=void 0===_ref$clearButtonAriaL?"Clear":_ref$clearButtonAriaL,getSuggestions=_ref.getSuggestions,helperText=_ref.helperText,_ref$highlightSuggest=_ref.highlightSuggestions,highlightSuggestions=void 0!==_ref$highlightSuggest&&_ref$highlightSuggest,label=_ref.label,_ref$loadingSpinnerFi=_ref.loadingSpinnerFinishedText,loadingSpinnerFinishedText=void 0===_ref$loadingSpinnerFi?"Finished loading suggestions":_ref$loadingSpinnerFi,_ref$loadingSpinnerTe=_ref.loadingSpinnerText,loadingSpinnerText=void 0===_ref$loadingSpinnerTe?"Loading suggestions":_ref$loadingSpinnerTe,onSubmit=_ref.onSubmit,placeholder=_ref.placeholder,_ref$searchButtonAria=_ref.searchButtonAriaLabel,searchButtonAriaLabel=void 0===_ref$searchButtonAria?"Search":_ref$searchButtonAria,_ref$hideSearchButton=_ref.hideSearchButton,hideSearchButton=void 0!==_ref$hideSearchButton&&_ref$hideSearchButton,style=_ref.style,suggestionKeyField=_ref.suggestionKeyField,suggestionLabelField=_ref.suggestionLabelField,_ref$visibleSuggestio=_ref.visibleSuggestions,visibleSuggestions=void 0===_ref$visibleSuggestio?8:_ref$visibleSuggestio,onChange=_ref.onChange,value=_ref.value,didMount=(0,react.useRef)(!1),inputRef=(0,react.useRef)(null),_useState=(0,react.useState)(void 0),_useState2=(0,slicedToArray.Z)(_useState,2),lastAction=_useState2[0],updateLastAction=_useState2[1],_useState3=(0,react.useState)(""),_useState4=(0,slicedToArray.Z)(_useState3,2),internalValue=_useState4[0],setInternalValue=_useState4[1],inputValue=value||internalValue,wasLastActionStateChangeEnterKey=function wasLastActionStateChangeEnterKey(){return lastAction===downshift_esm.Kb.stateChangeTypes.InputKeyDownEnter},_useSuggestions=useSuggestions(inputValue,getSuggestions,function wasSubmitted(){return lastAction===downshift_esm.Kb.stateChangeTypes.ItemClick||"userEnterKeyAction"===lastAction||wasLastActionStateChangeEnterKey()}()),suggestions=_useSuggestions.suggestions,isLoading=_useSuggestions.isLoading,clearSuggestions=_useSuggestions.clearSuggestions,showLoadingSpinner=function useShowLoadingSpinner(isLoading){var timeoutValue=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3e3,_useState=(0,react.useState)(!1),_useState2=(0,slicedToArray.Z)(_useState,2),showLoadingSpinner=_useState2[0],setShowLoadingSpinner=_useState2[1],loadingSpinnerTimeout=(0,react.useRef)(null);return(0,react.useEffect)((function(){return clearTimeout(loadingSpinnerTimeout.current),isLoading?loadingSpinnerTimeout.current=setTimeout((function(){setShowLoadingSpinner(!0)}),timeoutValue):setShowLoadingSpinner(!1),function(){clearTimeout(loadingSpinnerTimeout.current)}}),[isLoading,timeoutValue,setShowLoadingSpinner]),showLoadingSpinner}(isLoading,1300),isControlledComponent=void 0!==value&&onChange,dispatchValueChange=function dispatchValueChange(changedValue){isControlledComponent?onChange(changedValue):setInternalValue(changedValue)},submitValue=function submitValue(val){var _inputRef$current,inputElementValue=null===(_inputRef$current=inputRef.current)||void 0===_inputRef$current?void 0:_inputRef$current.value;onSubmit(void 0!==val?val:inputElementValue),clearSuggestions()},_useCombobox=(0,downshift_esm.Kb)((0,objectSpread2.Z)({items:suggestions,onStateChange:function onStateChange(props){var _useCombobox$stateCha=downshift_esm.Kb.stateChangeTypes,ItemClick=_useCombobox$stateCha.ItemClick,FunctionReset=_useCombobox$stateCha.FunctionReset;if([ItemClick,FunctionReset,_useCombobox$stateCha.InputKeyDownEnter].includes(props.type)){var _inputRef$current2,clickedValueMatchesCurrentValue=props.type===ItemClick&&void 0===props.inputValue,newValue=clickedValueMatchesCurrentValue?null===(_inputRef$current2=inputRef.current)||void 0===_inputRef$current2?void 0:_inputRef$current2.value:props.inputValue;if(void 0===newValue)return;clickedValueMatchesCurrentValue||dispatchValueChange(newValue),props.type!==FunctionReset&&submitValue(newValue),updateLastAction(props.type)}else updateLastAction(void 0)},itemToString:function itemToString(item){return item?"".concat(item[suggestionLabelField]):""}},isControlledComponent&&{inputValue})),isOpen=_useCombobox.isOpen,getLabelProps=_useCombobox.getLabelProps,getMenuProps=_useCombobox.getMenuProps,getInputProps=_useCombobox.getInputProps,getComboboxProps=_useCombobox.getComboboxProps,highlightedIndex=_useCombobox.highlightedIndex,_getItemProps=_useCombobox.getItemProps,reset=_useCombobox.reset;return(0,react.useEffect)((function(){didMount.current?onChange&&void 0===value&&onChange(inputValue):didMount.current=!0}),[onChange,inputValue]),(0,jsx_runtime.jsxs)("div",{className:(0,classNames.Z)(SearchInput_module.root,isOpen&&SearchInput_module.open,className),style,children:[label&&(0,jsx_runtime.jsx)(FieldLabel.Q,(0,objectSpread2.Z)({label},getLabelProps())),(0,jsx_runtime.jsxs)("div",{className:(0,classNames.Z)(SearchInput_module.wrapper),ref:getComboboxProps().ref,children:[(0,jsx_runtime.jsx)("input",(0,objectSpread2.Z)((0,objectSpread2.Z)({},getInputProps({onKeyUp:function onInputKeyUp(event){var key=event.key||event.keyCode,wasEnterKey="Enter"===key||13===key;!wasLastActionStateChangeEnterKey()&&wasEnterKey&&submitValue(),updateLastAction(wasEnterKey?"userEnterKeyAction":void 0)},onKeyDown:function onInputKeyDown(event){isOpen&&suggestions.length||"Home"!==event.key&&"End"!==event.key||(event.nativeEvent.preventDownshiftDefault=!0)},onChange:function onInputValueChange(e){dispatchValueChange(e.target.value)},ref:inputRef,role:getComboboxProps().role,"aria-expanded":getComboboxProps()["aria-expanded"],"aria-haspopup":getComboboxProps()["aria-haspopup"],"aria-owns":getComboboxProps()["aria-owns"]})),{},{className:(0,classNames.Z)(SearchInput_module.input),placeholder,enterKeyHint:"search"})),(0,jsx_runtime.jsxs)("div",{className:SearchInput_module.buttons,children:[inputValue.length>0&&(0,jsx_runtime.jsx)("button",{type:"button","aria-label":clearButtonAriaLabel,className:(0,classNames.Z)(SearchInput_module.button),onClick:function clear(){reset(),inputRef.current.focus(),clearSuggestions()},children:(0,jsx_runtime.jsx)(IconCrossCircle.IconCrossCircle,{className:SearchInput_module.searchIcon,"aria-hidden":!0})}),!hideSearchButton&&(0,jsx_runtime.jsx)("button",{type:"button","aria-label":searchButtonAriaLabel,className:(0,classNames.Z)(SearchInput_module.button),onClick:function onClick(){return submitValue()},children:(0,jsx_runtime.jsx)(IconSearch.IconSearch,{className:SearchInput_module.searchIcon,"aria-hidden":!0})})]}),showLoadingSpinner&&(0,jsx_runtime.jsxs)("div",{className:SearchInput_module.loadingSpinnerContainer,"aria-hidden":!0,children:[(0,jsx_runtime.jsx)(LoadingSpinner.T,{loadingText:loadingSpinnerText,loadingFinishedText:loadingSpinnerFinishedText,small:!0,className:SearchInput_module.loadingSpinner}),loadingSpinnerText]}),(0,jsx_runtime.jsx)(DropdownMenu.h,{isOptionDisabled:function isOptionDisabled(){return!1},multiselect:!1,open:isOpen&&!showLoadingSpinner,selectedItem:null,selectedItems:[],highlightValue:highlightSuggestions&&inputValue.length>=3&&inputValue,menuStyles:SearchInput_module,options:suggestions,optionKeyField:"".concat(String(suggestionKeyField||suggestionLabelField)),optionLabelField:"".concat(String(suggestionLabelField)),menuProps:getMenuProps({style:{maxHeight:dropdownUtils.V*visibleSuggestions}}),getItemProps:function getItemProps(item,index,selected,optionDisabled){return _getItemProps({item,index,disabled:optionDisabled,className:(0,classNames.Z)(SearchInput_module.menuItem,selected&&SearchInput_module.selected,highlightedIndex===index&&SearchInput_module.highlighted)})}})]}),helperText&&(0,jsx_runtime.jsx)("div",{className:SearchInput_module.helperText,children:helperText})]})};try{SearchInput.displayName="SearchInput",SearchInput.__docgenInfo={description:"",displayName:"SearchInput",props:{className:{defaultValue:null,description:"Additional class names to add to the component.",name:"className",required:!1,type:{name:"string"}},clearButtonAriaLabel:{defaultValue:{value:"Clear"},description:"The aria-label for the clear button.",name:"clearButtonAriaLabel",required:!1,type:{name:"string"}},getSuggestions:{defaultValue:null,description:"Callback function fired every time the input content changes. Receives the input value as a parameter. Must return a promise which resolves to an array of SuggestionItems.",name:"getSuggestions",required:!1,type:{name:"GetSuggestionsFunction"}},helperText:{defaultValue:null,description:"The helper text content that will be shown below the input.",name:"helperText",required:!1,type:{name:"string"}},highlightSuggestions:{defaultValue:{value:"false"},description:"Should the matching part of a suggestion be highlighted.",name:"highlightSuggestions",required:!1,type:{name:"boolean"}},label:{defaultValue:null,description:"The label for the search field.",name:"label",required:!0,type:{name:"ReactNode"}},loadingSpinnerFinishedText:{defaultValue:{value:"Finished loading suggestions"},description:"Text to show for screen readers when loading spinner is no longer visible.",name:"loadingSpinnerFinishedText",required:!1,type:{name:"string"}},loadingSpinnerText:{defaultValue:{value:"Loading suggestions"},description:"Text to show for screen readers when loading spinner is visible.",name:"loadingSpinnerText",required:!1,type:{name:"string"}},onSubmit:{defaultValue:null,description:"Callback function fired after search is triggered.",name:"onSubmit",required:!0,type:{name:"(value: string) => void"}},onChange:{defaultValue:null,description:"Callback function fired after input value has changed. Required for a controlled component.",name:"onChange",required:!1,type:{name:"(value: string) => void"}},placeholder:{defaultValue:null,description:"Placeholder text for the search input.",name:"placeholder",required:!1,type:{name:"string"}},searchButtonAriaLabel:{defaultValue:{value:"Search"},description:"The aria-label for the search button.",name:"searchButtonAriaLabel",required:!1,type:{name:"string"}},hideSearchButton:{defaultValue:{value:"false"},description:"Hides the search button.",name:"hideSearchButton",required:!1,type:{name:"boolean"}},style:{defaultValue:null,description:"Override or extend the styles applied to the component.",name:"style",required:!1,type:{name:"CSSProperties"}},suggestionKeyField:{defaultValue:null,description:"Field of the SuggestionItem that represents the item key. Key needs to be unique between item.\nE.g. an `suggestionKeyField` value of `'bar'` and a suggestion item `{ foo: 'Label', bar: 'value' }`, would use `'value'` as the key in the menu for that specific item.\nUses value of `suggestionLabelField` by default.",name:"suggestionKeyField",required:!1,type:{name:"string | number | symbol"}},suggestionLabelField:{defaultValue:null,description:"Field of the SuggestionItem that represents the item label.\nE.g. an `suggestionLabelField` value of `'foo'` and a suggestion item `{ foo: 'Label', bar: 'value' }`, would display `'Label'` in the menu for that specific suggestion.",name:"suggestionLabelField",required:!1,type:{name:"string | number | symbol"}},value:{defaultValue:null,description:"The value of the input element, required for a controlled component. Remember to use onChange prop as well.",name:"value",required:!1,type:{name:"string"}},visibleSuggestions:{defaultValue:{value:"8"},description:"The number of suggestions that are visible in the menu before it becomes scrollable.",name:"visibleSuggestions",required:!1,type:{name:"number"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/searchInput/SearchInput.tsx#SearchInput"]={docgenInfo:SearchInput.__docgenInfo,name:"SearchInput",path:"src/components/searchInput/SearchInput.tsx#SearchInput"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/section/Section.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{$:()=>Section});__webpack_require__("../../node_modules/react/index.js"),__webpack_require__("./src/styles/base.css");var classNames=__webpack_require__("./src/utils/classNames.ts"),Koros=__webpack_require__("./src/components/koros/Koros.tsx");const Section_module={section:"Section_section__kylri",withKoros:"Section_withKoros__9XgJP",content:"Section_content__ApV7A",plain:"Section_plain__aUHey",primary:"Section_primary__xam+l",secondary:"Section_secondary__rd3i6",tertiary:"Section_tertiary__k5S2h",koros:"Section_koros__ocIdb",basic:"Section_basic__1nqVO",topKoros:"Section_topKoros__OvOFW",beat:"Section_beat__qCJju",pulse:"Section_pulse__9zG7c",wave:"Section_wave__lCTiK",vibration:"Section_vibration__A8hj8",bottomKoros:"Section_bottomKoros__B0Do-"};var jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),Section=function Section(_ref){var children=_ref.children,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,_ref$color=_ref.color,color=void 0===_ref$color?"plain":_ref$color,_ref$korosType=_ref.korosType,korosType=void 0===_ref$korosType?null:_ref$korosType,withKoros=null!==korosType;return(0,jsx_runtime.jsxs)("div",{className:(0,classNames.Z)(Section_module.section,Section_module[color],withKoros&&Section_module.withKoros,className),children:[withKoros&&(0,jsx_runtime.jsx)(Koros.N,{type:korosType,className:"".concat(Section_module.koros," ").concat(Section_module.topKoros," ").concat(Section_module[korosType])}),(0,jsx_runtime.jsx)("div",{className:Section_module.content,children}),withKoros&&(0,jsx_runtime.jsx)(Koros.N,{flipVertical:!0,type:korosType,className:"".concat(Section_module.koros," ").concat(Section_module.bottomKoros," ").concat(Section_module[korosType])})]})};try{Section.displayName="Section",Section.__docgenInfo={description:"",displayName:"Section",props:{color:{defaultValue:{value:"plain"},description:"",name:"color",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'},{value:'"plain"'}]}},className:{defaultValue:{value:""},description:"",name:"className",required:!1,type:{name:"string"}},korosType:{defaultValue:{value:"null"},description:"",name:"korosType",required:!1,type:{name:"enum",value:[{value:'"basic"'},{value:'"beat"'},{value:'"pulse"'},{value:'"wave"'},{value:'"vibration"'},{value:'"calm"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/section/Section.tsx#Section"]={docgenInfo:Section.__docgenInfo,name:"Section",path:"src/components/section/Section.tsx#Section"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/selectionGroup/SelectionGroup.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{M:()=>SelectionGroup});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),objectWithoutProperties=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react=__webpack_require__("../../node_modules/react/index.js");__webpack_require__("./src/styles/base.css");const SelectionGroup_module={label:"SelectionGroup_label__60Dta",selectionGroup:"SelectionGroup_selectionGroup__asaZT",items:"SelectionGroup_items__+FA-N",vertical:"SelectionGroup_vertical__wFUOP",horizontal:"SelectionGroup_horizontal__9GFVO",tooltipButton:"SelectionGroup_tooltipButton__0kepL",errorText:"SelectionGroup_errorText__CgJ+y selection-group_hds-selection-group__error-text__J2JrQ",helperText:"SelectionGroup_helperText__A3F2d helpers_helper-text__kpl-5"};var classNames=__webpack_require__("./src/utils/classNames.ts"),RequiredIndicator=__webpack_require__("./src/internal/required-indicator/RequiredIndicator.tsx"),Tooltip=__webpack_require__("./src/components/tooltip/Tooltip.tsx"),getChildren=__webpack_require__("./src/utils/getChildren.ts"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),_excluded=["label","direction","errorText","helperText","required","tooltipLabel","tooltipButtonLabel","tooltipText","children","className"],SelectionGroup=function SelectionGroup(_ref){var label=_ref.label,_ref$direction=_ref.direction,direction=void 0===_ref$direction?"vertical":_ref$direction,errorText=_ref.errorText,helperText=_ref.helperText,required=_ref.required,tooltipLabel=_ref.tooltipLabel,tooltipButtonLabel=_ref.tooltipButtonLabel,tooltipText=_ref.tooltipText,children=_ref.children,className=_ref.className,fieldSetProps=(0,objectWithoutProperties.Z)(_ref,_excluded),childElements=(0,getChildren.AU)(children);return(0,react.useEffect)((function(){var hasRadios=!1,hasCheckedRadios=!1;childElements.forEach((function(child){var reactElement=child;"RadioButton"===reactElement.type.displayName&&(hasRadios=!0,!0===reactElement.props.checked&&(hasCheckedRadios=!0))})),hasRadios&&!hasCheckedRadios&&console.warn("All radio buttons in a SelectionGroup are unchecked. One radio button should be checked by default.")}),[children]),(0,jsx_runtime.jsxs)("fieldset",(0,objectSpread2.Z)((0,objectSpread2.Z)({className:(0,classNames.Z)(SelectionGroup_module.selectionGroup,className)},fieldSetProps),{},{children:[(0,jsx_runtime.jsxs)("legend",{className:SelectionGroup_module.label,children:[label," ",required&&(0,jsx_runtime.jsx)(RequiredIndicator.n,{})]}),tooltipText&&(0,jsx_runtime.jsx)(Tooltip.u,{buttonClassName:SelectionGroup_module.tooltipButton,tooltipLabel,buttonLabel:tooltipButtonLabel,children:tooltipText}),(0,jsx_runtime.jsx)("div",{className:(0,classNames.Z)(SelectionGroup_module.items,SelectionGroup_module[direction]),children:childElements.map((function(child){return(0,react.isValidElement)(child)&&(0,jsx_runtime.jsx)("div",{className:SelectionGroup_module.item,children:child},child.props.id)}))}),errorText&&(0,jsx_runtime.jsx)("div",{className:SelectionGroup_module.errorText,children:errorText}),helperText&&(0,jsx_runtime.jsx)("div",{className:SelectionGroup_module.helperText,children:helperText})]}))};try{SelectionGroup.displayName="SelectionGroup",SelectionGroup.__docgenInfo={description:"",displayName:"SelectionGroup",props:{label:{defaultValue:null,description:"The label for the selection group.",name:"label",required:!1,type:{name:"string"}},direction:{defaultValue:{value:"vertical"},description:"The direction in which child components should be rendered in.",name:"direction",required:!1,type:{name:"enum",value:[{value:'"vertical"'},{value:'"horizontal"'}]}},errorText:{defaultValue:null,description:"The error text content that will be shown below the selection group",name:"errorText",required:!1,type:{name:"string"}},helperText:{defaultValue:null,description:"The helper text content that will be shown below the radiobutton",name:"helperText",required:!1,type:{name:"string"}},required:{defaultValue:null,description:"If `true`, the label is displayed as required.",name:"required",required:!1,type:{name:"boolean"}},tooltipLabel:{defaultValue:null,description:"Aria-label text for the tooltip",name:"tooltipLabel",required:!1,type:{name:"string"}},tooltipButtonLabel:{defaultValue:null,description:"Aria-label text for the tooltip trigger button",name:"tooltipButtonLabel",required:!1,type:{name:"string"}},tooltipText:{defaultValue:null,description:"The text content of the tooltip",name:"tooltipText",required:!1,type:{name:"string"}},className:{defaultValue:null,description:"Additional class names",name:"className",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/selectionGroup/SelectionGroup.tsx#SelectionGroup"]={docgenInfo:SelectionGroup.__docgenInfo,name:"SelectionGroup",path:"src/components/selectionGroup/SelectionGroup.tsx#SelectionGroup"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/table/Table.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{i:()=>Table});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),slicedToArray=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),objectWithoutProperties=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),toConsumableArray=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),react=__webpack_require__("../../node_modules/react/index.js");__webpack_require__("./src/styles/base.css");const Table_module_sortButton="Table_sortButton__CGRnR",Table_module_table="Table_table__3L4Ny table_hds-table__1a2K2",Table_module_dark="Table_dark__bjkwn",Table_module_light="Table_light__hYIPd",Table_module_checkbox="Table_checkbox__LCvDq",Table_module_caption="Table_caption__+7h48 table_hds-table__caption__tfn7Q",Table_module_container="Table_container__5LqRZ table_hds-table-container__XoVHM",Table_module_headerRow="Table_headerRow__mG+bi table_hds-table__header-row__ssXq5",Table_module_content="Table_content__Ltug+ table_hds-table__content__zLT0L",Table_module_sortIcon="Table_sortIcon__B34qR",Table_module_dense="Table_dense__tlk2+ table_hds-table--dense__QoWuD",Table_module_sortingHeader="Table_sortingHeader__ap3sQ",Table_module_zebra="Table_zebra__Q+Bce table_hds-table--zebra__aySpk",Table_module_verticalLines="Table_verticalLines__GAUZw table_hds-table--with-vertical-lines__9bSqJ",Table_module_verticalHeaderColumn="Table_verticalHeaderColumn__nIJ-1 table_hds-table__vertical-header-column__M0eyr",Table_module_textAlignContentRight="Table_textAlignContentRight__kLnVe table_hds-table__content--text-align-td-right__AvNXl",Table_module_sortColumnCell="Table_sortColumnCell__4dKGO",Table_module_checkboxHeader="Table_checkboxHeader__tsElq",Table_module_checkboxData="Table_checkboxData__DGayX",Table_module_actionContainer="Table_actionContainer__Npr3A",Table_module_heading="Table_heading__SdX4v",Table_module_actionButtonContainer="Table_actionButtonContainer__5zunJ",Table_module_actionButton="Table_actionButton__xfzGO";var classNames=__webpack_require__("./src/utils/classNames.ts"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),_excluded=["children","dataTestId","variant","id","dense","zebra","verticalLines","customThemeClass","headingId"],TableContainer=function TableContainer(_ref){var children=_ref.children,dataTestId=_ref.dataTestId,_ref$variant=_ref.variant,variant=void 0===_ref$variant?"dark":_ref$variant,id=_ref.id,_ref$dense=_ref.dense,dense=void 0!==_ref$dense&&_ref$dense,_ref$zebra=_ref.zebra,zebra=void 0!==_ref$zebra&&_ref$zebra,_ref$verticalLines=_ref.verticalLines,verticalLines=void 0!==_ref$verticalLines&&_ref$verticalLines,customThemeClass=_ref.customThemeClass,headingId=_ref.headingId,rest=(0,objectWithoutProperties.Z)(_ref,_excluded);return(0,jsx_runtime.jsx)("div",{tabIndex:0,className:Table_module_container,children:(0,jsx_runtime.jsx)("table",(0,objectSpread2.Z)((0,objectSpread2.Z)({className:(0,classNames.Z)(Table_module_table,"dark"===variant?Table_module_dark:Table_module_light,dense&&Table_module_dense,zebra&&Table_module_zebra,verticalLines&&Table_module_verticalLines,customThemeClass),"aria-labelledby":headingId,"data-testid":dataTestId,id},rest),{},{children}))})};try{TableContainer.displayName="TableContainer",TableContainer.__docgenInfo={description:"",displayName:"TableContainer",props:{dataTestId:{defaultValue:null,description:"",name:"dataTestId",required:!1,type:{name:"string"}},variant:{defaultValue:{value:"dark"},description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"light"'},{value:'"dark"'}]}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},dense:{defaultValue:{value:"false"},description:"",name:"dense",required:!1,type:{name:"boolean"}},zebra:{defaultValue:{value:"false"},description:"",name:"zebra",required:!1,type:{name:"boolean"}},verticalLines:{defaultValue:{value:"false"},description:"",name:"verticalLines",required:!1,type:{name:"boolean"}},customThemeClass:{defaultValue:null,description:"",name:"customThemeClass",required:!1,type:{name:"string"}},headingId:{defaultValue:null,description:"",name:"headingId",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/table/components/TableContainer/TableContainer.tsx#TableContainer"]={docgenInfo:TableContainer.__docgenInfo,name:"TableContainer",path:"src/components/table/components/TableContainer/TableContainer.tsx#TableContainer"})}catch(__react_docgen_typescript_loader_error){}var HeaderRow=function HeaderRow(_ref){var children=_ref.children;return(0,jsx_runtime.jsx)("tr",{className:Table_module_headerRow,children})};try{HeaderRow.displayName="HeaderRow",HeaderRow.__docgenInfo={description:"",displayName:"HeaderRow",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/table/components/HeaderRow/HeaderRow.tsx#HeaderRow"]={docgenInfo:HeaderRow.__docgenInfo,name:"HeaderRow",path:"src/components/table/components/HeaderRow/HeaderRow.tsx#HeaderRow"})}catch(__react_docgen_typescript_loader_error){}var VerticalHeaderColGroup=function VerticalHeaderColGroup(){return(0,jsx_runtime.jsx)("colgroup",{children:(0,jsx_runtime.jsx)("col",{span:1,className:Table_module_verticalHeaderColumn})})},IconSort=__webpack_require__("./src/icons/IconSort.tsx"),IconSortAlphabeticalAscending=__webpack_require__("./src/icons/IconSortAlphabeticalAscending.tsx"),IconSortAscending=__webpack_require__("./src/icons/IconSortAscending.tsx"),IconSortAlphabeticalDescending=__webpack_require__("./src/icons/IconSortAlphabeticalDescending.tsx"),IconSortDescending=__webpack_require__("./src/icons/IconSortDescending.tsx"),SortingHeaderCell_excluded=["ariaLabelSortButtonUnset","ariaLabelSortButtonAscending","ariaLabelSortButtonDescending","colKey","onSort","title","setSortingAndOrder","order","sortIconType"],renderSortIcon=function renderSortIcon(_ref){var ariaLabelSortButtonUnset=_ref.ariaLabelSortButtonUnset,ariaLabelSortButtonAscending=_ref.ariaLabelSortButtonAscending,ariaLabelSortButtonDescending=_ref.ariaLabelSortButtonDescending,order=_ref.order,sortIconType=_ref.sortIconType;return"unset"===order?(0,jsx_runtime.jsx)(IconSort.IconSort,{className:Table_module_sortIcon,"aria-label":ariaLabelSortButtonUnset}):"asc"===order?"string"===sortIconType?(0,jsx_runtime.jsx)(IconSortAlphabeticalAscending.IconSortAlphabeticalAscending,{className:Table_module_sortIcon,"aria-label":ariaLabelSortButtonAscending}):(0,jsx_runtime.jsx)(IconSortAscending.IconSortAscending,{className:Table_module_sortIcon,"aria-label":ariaLabelSortButtonAscending}):"string"===sortIconType?(0,jsx_runtime.jsx)(IconSortAlphabeticalDescending.IconSortAlphabeticalDescending,{className:Table_module_sortIcon,"aria-label":ariaLabelSortButtonDescending}):(0,jsx_runtime.jsx)(IconSortDescending.IconSortDescending,{className:Table_module_sortIcon,"aria-label":ariaLabelSortButtonDescending})},SortingHeaderCell=function SortingHeaderCell(_ref3){var ariaLabelSortButtonUnset=_ref3.ariaLabelSortButtonUnset,ariaLabelSortButtonAscending=_ref3.ariaLabelSortButtonAscending,ariaLabelSortButtonDescending=_ref3.ariaLabelSortButtonDescending,colKey=_ref3.colKey,onSort=_ref3.onSort,title=_ref3.title,setSortingAndOrder=_ref3.setSortingAndOrder,_ref3$order=_ref3.order,order=void 0===_ref3$order?"unset":_ref3$order,_ref3$sortIconType=_ref3.sortIconType,sortIconType=void 0===_ref3$sortIconType?"string":_ref3$sortIconType,rest=(0,objectWithoutProperties.Z)(_ref3,SortingHeaderCell_excluded),sortingCallback=function sortingCallback(){setSortingAndOrder(colKey)};return(0,jsx_runtime.jsx)("th",(0,objectSpread2.Z)((0,objectSpread2.Z)({className:Table_module_sortingHeader,scope:"col"},rest),{},{children:(0,jsx_runtime.jsx)("div",{className:Table_module_sortColumnCell,children:(0,jsx_runtime.jsxs)("button",{"data-testid":"hds-table-sorting-header-".concat(colKey),className:Table_module_sortButton,type:"button",onClick:function onClick(event){event.preventDefault(),onSort?onSort(function resolveNewOrder(_ref2){var previousOrder=_ref2.previousOrder;return"unset"===previousOrder||"desc"===previousOrder?"asc":"desc"}({previousOrder:order}),colKey,sortingCallback):setSortingAndOrder(colKey)},children:[(0,jsx_runtime.jsx)("span",{children:title}),renderSortIcon({ariaLabelSortButtonUnset,ariaLabelSortButtonAscending,ariaLabelSortButtonDescending,order,sortIconType})]})})}))};try{SortingHeaderCell.displayName="SortingHeaderCell",SortingHeaderCell.__docgenInfo={description:"",displayName:"SortingHeaderCell",props:{ariaLabelSortButtonUnset:{defaultValue:null,description:"",name:"ariaLabelSortButtonUnset",required:!0,type:{name:"string"}},ariaLabelSortButtonAscending:{defaultValue:null,description:"",name:"ariaLabelSortButtonAscending",required:!0,type:{name:"string"}},ariaLabelSortButtonDescending:{defaultValue:null,description:"",name:"ariaLabelSortButtonDescending",required:!0,type:{name:"string"}},colKey:{defaultValue:null,description:"",name:"colKey",required:!0,type:{name:"string"}},onSort:{defaultValue:null,description:"",name:"onSort",required:!1,type:{name:'(order: "desc" | "asc", colKey: string, handleSort: () => void) => void'}},order:{defaultValue:{value:"unset"},description:"",name:"order",required:!1,type:{name:"enum",value:[{value:'"desc"'},{value:'"asc"'},{value:'"unset"'}]}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"string"}},setSortingAndOrder:{defaultValue:null,description:"",name:"setSortingAndOrder",required:!0,type:{name:"(colKey: string) => void"}},sortIconType:{defaultValue:{value:"string"},description:"",name:"sortIconType",required:!1,type:{name:"enum",value:[{value:'"string"'},{value:'"other"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/table/components/SortingHeaderCell/SortingHeaderCell.tsx#SortingHeaderCell"]={docgenInfo:SortingHeaderCell.__docgenInfo,name:"SortingHeaderCell",path:"src/components/table/components/SortingHeaderCell/SortingHeaderCell.tsx#SortingHeaderCell"})}catch(__react_docgen_typescript_loader_error){}var TableBody=function TableBody(_ref){var children=_ref.children,textAlignContentRight=_ref.textAlignContentRight;return(0,jsx_runtime.jsx)("tbody",{className:(0,classNames.Z)(Table_module_content,textAlignContentRight&&Table_module_textAlignContentRight),children})};try{TableBody.displayName="TableBody",TableBody.__docgenInfo={description:"",displayName:"TableBody",props:{textAlignContentRight:{defaultValue:null,description:"",name:"textAlignContentRight",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/table/components/TableBody/TableBody.tsx#TableBody"]={docgenInfo:TableBody.__docgenInfo,name:"TableBody",path:"src/components/table/components/TableBody/TableBody.tsx#TableBody"})}catch(__react_docgen_typescript_loader_error){}var Checkbox=__webpack_require__("./src/components/checkbox/Checkbox.tsx"),useTheme=__webpack_require__("./src/hooks/useTheme.tsx"),Button=__webpack_require__("./src/components/button/Button.tsx"),Table_excluded=["ariaLabelCheckboxSelection","ariaLabelSortButtonAscending","ariaLabelSortButtonDescending","ariaLabelSortButtonUnset","caption","checkboxSelection","clearSelectionsText","cols","customActionButtons","dataTestId","dense","heading","headingAriaLevel","headingClassName","headingId","id","indexKey","initialSortingColumnKey","initialSortingOrder","onSort","renderIndexCol","rows","selectAllRowsText","selectedRows","setSelectedRows","textAlignContentRight","theme","variant","verticalHeaders","verticalLines","zebra"],Table=function Table(_ref){var _ref$ariaLabelCheckbo=_ref.ariaLabelCheckboxSelection,ariaLabelCheckboxSelection=void 0===_ref$ariaLabelCheckbo?"Rivin valinta":_ref$ariaLabelCheckbo,_ref$ariaLabelSortBut=_ref.ariaLabelSortButtonAscending,ariaLabelSortButtonAscending=void 0===_ref$ariaLabelSortBut?"Järjestetty nousevaan järjestykseen":_ref$ariaLabelSortBut,_ref$ariaLabelSortBut2=_ref.ariaLabelSortButtonDescending,ariaLabelSortButtonDescending=void 0===_ref$ariaLabelSortBut2?"Järjestetty laskevaan järjestykseen":_ref$ariaLabelSortBut2,_ref$ariaLabelSortBut3=_ref.ariaLabelSortButtonUnset,ariaLabelSortButtonUnset=void 0===_ref$ariaLabelSortBut3?"":_ref$ariaLabelSortBut3,caption=_ref.caption,_ref$checkboxSelectio=_ref.checkboxSelection,checkboxSelection=void 0!==_ref$checkboxSelectio&&_ref$checkboxSelectio,_ref$clearSelectionsT=_ref.clearSelectionsText,clearSelectionsText=void 0===_ref$clearSelectionsT?"Tyhjennä valinnat":_ref$clearSelectionsT,cols=_ref.cols,customActionButtons=_ref.customActionButtons,_ref$dataTestId=_ref.dataTestId,dataTestId=void 0===_ref$dataTestId?"hds-table-data-testid":_ref$dataTestId,_ref$dense=_ref.dense,dense=void 0!==_ref$dense&&_ref$dense,heading=_ref.heading,_ref$headingAriaLevel=_ref.headingAriaLevel,headingAriaLevel=void 0===_ref$headingAriaLevel?2:_ref$headingAriaLevel,headingClassName=_ref.headingClassName,_ref$headingId=_ref.headingId,headingId=void 0===_ref$headingId?"hds-table-heading-id":_ref$headingId,_ref$id=_ref.id,id=void 0===_ref$id?"hds-table-id":_ref$id,indexKey=_ref.indexKey,initialSortingColumnKey=_ref.initialSortingColumnKey,initialSortingOrder=_ref.initialSortingOrder,onSort=_ref.onSort,_ref$renderIndexCol=_ref.renderIndexCol,renderIndexCol=void 0===_ref$renderIndexCol||_ref$renderIndexCol,rows=_ref.rows,_ref$selectAllRowsTex=_ref.selectAllRowsText,selectAllRowsText=void 0===_ref$selectAllRowsTex?"Valitse kaikki rivit":_ref$selectAllRowsTex,selectedRows=_ref.selectedRows,setSelectedRows=_ref.setSelectedRows,_ref$textAlignContent=_ref.textAlignContentRight,textAlignContentRight=void 0!==_ref$textAlignContent&&_ref$textAlignContent,theme=_ref.theme,_ref$variant=_ref.variant,variant=void 0===_ref$variant?"dark":_ref$variant,verticalHeaders=_ref.verticalHeaders,_ref$verticalLines=_ref.verticalLines,verticalLines=void 0!==_ref$verticalLines&&_ref$verticalLines,_ref$zebra=_ref.zebra,zebra=void 0!==_ref$zebra&&_ref$zebra,rest=(0,objectWithoutProperties.Z)(_ref,Table_excluded);verticalHeaders&&verticalHeaders.length&&checkboxSelection&&(console.warn("Incompatible props verticalHeaders and checkboxSelection provided. Cannot use checkboxSelection when verticalHeaders is applied"),checkboxSelection=!1),checkboxSelection&&caption&&(console.warn("Cannot use caption prop when checkboxSelection is set to true. Use heading prop instead"),caption=void 0);var _useState=(0,react.useState)(initialSortingColumnKey),_useState2=(0,slicedToArray.Z)(_useState,2),sorting=_useState2[0],setSorting=_useState2[1],_useState3=(0,react.useState)(initialSortingOrder),_useState4=(0,slicedToArray.Z)(_useState3,2),order=_useState4[0],setOrder=_useState4[1],customThemeClass=(0,useTheme.F)("dark"===variant?Table_module_dark:Table_module_light,theme),setSortingAndOrder=function setSortingAndOrder(colKey){setOrder(sorting===colKey?"desc"===order?"asc":"desc":"asc"),setSorting(colKey)},processedRows=(0,react.useMemo)((function(){return function processRows(rows,order,sorting,cols){if(!cols.some((function(column){return!0===column.isSortable}))||!order||!sorting)return(0,toConsumableArray.Z)(rows);var sortColumn=cols.find((function(column){return column.key===sorting})),customSortCompareFunction=sortColumn?sortColumn.customSortCompareFunction:void 0;if(customSortCompareFunction){var sortedRows=(0,toConsumableArray.Z)(rows).sort((function(a,b){var aValue=a[sorting],bValue=b[sorting];return customSortCompareFunction(aValue,bValue)}));if("asc"===order)return sortedRows;if("desc"===order)return sortedRows.reverse()}return(0,toConsumableArray.Z)(rows).sort((function(a,b){var aValue=a[sorting],bValue=b[sorting];return aValuebValue?"asc"===order?1:-1:0}))}(rows,order,sorting,cols)}),[rows,sorting,order,cols]),firstRenderedColumnKey=cols.find((function(column){return!!renderIndexCol||column.key!==indexKey})).key,hasCustomActionButtons=customActionButtons&&customActionButtons.length>0,visibleColumns=renderIndexCol?cols:cols.filter((function(column){return column.key!==indexKey}));return(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(checkboxSelection||heading||hasCustomActionButtons)&&(0,jsx_runtime.jsxs)("div",{className:Table_module_actionContainer,children:[heading&&(0,jsx_runtime.jsx)("div",{id:headingId,role:"heading","aria-level":headingAriaLevel,className:(0,classNames.Z)(Table_module_heading,headingClassName),children:heading}),(checkboxSelection||hasCustomActionButtons)&&(0,jsx_runtime.jsxs)("div",{className:Table_module_actionButtonContainer,children:[checkboxSelection&&(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsx)(Button.z,{onClick:function onClick(){!function selectAllRows(){var allRows=rows.map((function(row){return row[indexKey]}));setSelectedRows(allRows)}()},variant:"secondary",size:"small",disabled:selectedRows.length===rows.length,className:Table_module_actionButton,"data-testid":"hds-table-select-all-button-".concat(dataTestId),children:selectAllRowsText}),(0,jsx_runtime.jsx)(Button.z,{onClick:function onClick(){!function deSelectAllRows(){setSelectedRows([])}()},variant:"secondary",size:"small",disabled:0===selectedRows.length,className:Table_module_actionButton,"data-testid":"hds-table-deselect-all-button-".concat(dataTestId),children:clearSelectionsText})]}),hasCustomActionButtons&&customActionButtons.map((function(actionButton){return actionButton}))]})]}),(0,jsx_runtime.jsxs)(TableContainer,(0,objectSpread2.Z)((0,objectSpread2.Z)({variant,dataTestId,dense,id,zebra,verticalLines,customThemeClass,headingId:heading?headingId:void 0},rest),{},{children:[caption&&(0,jsx_runtime.jsx)("caption",{className:Table_module_caption,children:caption}),verticalHeaders&&verticalHeaders.length&&(0,jsx_runtime.jsx)(VerticalHeaderColGroup,{}),(0,jsx_runtime.jsx)("thead",{children:(0,jsx_runtime.jsxs)(HeaderRow,{children:[verticalHeaders&&verticalHeaders.length&&(0,jsx_runtime.jsx)("td",{role:"presentation"}),checkboxSelection&&(0,jsx_runtime.jsx)("td",{className:Table_module_checkboxHeader}),visibleColumns.map((function(column){return column.isSortable?(0,jsx_runtime.jsx)(SortingHeaderCell,{colKey:column.key,title:column.headerName,ariaLabelSortButtonUnset,ariaLabelSortButtonAscending,ariaLabelSortButtonDescending,setSortingAndOrder,onSort,order:sorting===column.key?order:"unset",sortIconType:column.sortIconType},column.key):(0,jsx_runtime.jsx)("th",{scope:"col",children:column.headerName},column.key)}))]})}),(0,jsx_runtime.jsx)(TableBody,{textAlignContentRight,children:processedRows.map((function(row,index){return(0,jsx_runtime.jsxs)("tr",{children:[verticalHeaders&&verticalHeaders.length&&(0,jsx_runtime.jsx)("th",{scope:"row",children:verticalHeaders[index].headerName}),checkboxSelection&&(0,jsx_runtime.jsx)("td",{className:Table_module_checkboxData,children:(0,jsx_runtime.jsx)(Checkbox.X,{checked:selectedRows.includes(row[indexKey]),id:"".concat(id,"-checkbox-").concat(row[indexKey]),"aria-label":"".concat(ariaLabelCheckboxSelection," ").concat(row[firstRenderedColumnKey]),onChange:function onChange(e){if(e.target.checked)setSelectedRows([].concat((0,toConsumableArray.Z)(selectedRows),[row[indexKey]]));else{var result=(0,toConsumableArray.Z)(selectedRows.filter((function(selectedRow){return selectedRow!==row[indexKey]})));setSelectedRows(result)}},className:Table_module_checkbox})}),visibleColumns.map((function(column,cellIndex){return(0,jsx_runtime.jsxs)("td",{"data-testid":"".concat(column.key,"-").concat(index),children:[column.transform&&column.transform(row),!column.transform&&row[column.key]]},cellIndex)}))]},row[indexKey])}))})]}))]})};try{Table.displayName="Table",Table.__docgenInfo={description:"",displayName:"Table",props:{ariaLabelCheckboxSelection:{defaultValue:{value:"Rivin valinta"},description:"Aria-label for checkbox selection.",name:"ariaLabelCheckboxSelection",required:!1,type:{name:"string"}},ariaLabelSortButtonAscending:{defaultValue:{value:"Järjestetty nousevaan järjestykseen"},description:"Aria-label for sort button in ascending state.",name:"ariaLabelSortButtonAscending",required:!1,type:{name:"string"}},ariaLabelSortButtonDescending:{defaultValue:{value:"Järjestetty laskevaan järjestykseen"},description:"Aria-label for sort button in descending state.",name:"ariaLabelSortButtonDescending",required:!1,type:{name:"string"}},ariaLabelSortButtonUnset:{defaultValue:{value:""},description:"Aria-label for sort button in the unordered state.",name:"ariaLabelSortButtonUnset",required:!1,type:{name:"string"}},caption:{defaultValue:null,description:"Caption of the table.",name:"caption",required:!1,type:{name:"ReactNode"}},checkboxSelection:{defaultValue:{value:"false"},description:"Boolean indicating whether the table has the checkbox selection column to select rows.",name:"checkboxSelection",required:!1,type:{name:"boolean"}},clearSelectionsText:{defaultValue:{value:"Tyhjennä valinnat"},description:"Text for clear selected rows button.",name:"clearSelectionsText",required:!1,type:{name:"string"}},cols:{defaultValue:null,description:"Columns of the table header row. Defines header name, optional sort icon type and optional cell row transform function.",name:"cols",required:!0,type:{name:"Header[]"}},customActionButtons:{defaultValue:null,description:"Custom action buttons to place on top of the table.",name:"customActionButtons",required:!1,type:{name:"ReactNode[]"}},dataTestId:{defaultValue:{value:"hds-table-data-testid"},description:"Test id attribute that is passed to the html table element.",name:"dataTestId",required:!1,type:{name:"string"}},dense:{defaultValue:{value:"false"},description:"Boolean indicating whether to use the dense variant of the table.",name:"dense",required:!1,type:{name:"boolean"}},heading:{defaultValue:null,description:"Table heading.",name:"heading",required:!1,type:{name:"string"}},headingAriaLevel:{defaultValue:{value:"2"},description:"Table heading aria level.",name:"headingAriaLevel",required:!1,type:{name:"number"}},headingClassName:{defaultValue:null,description:"A custom class name passed to table heading.",name:"headingClassName",required:!1,type:{name:"string"}},headingId:{defaultValue:{value:"hds-table-heading-id"},description:"Table heading id. Used to name table to assistive technologies. Only applicable when heading prop is used.",name:"headingId",required:!1,type:{name:"string"}},id:{defaultValue:{value:"hds-table-id"},description:"Id that is passed to the native html table element.",name:"id",required:!1,type:{name:"string"}},indexKey:{defaultValue:null,description:"Column key used as a unique identifier for a row",name:"indexKey",required:!0,type:{name:"string"}},initialSortingColumnKey:{defaultValue:null,description:"Key indicating a column that you wish to be initially sorted. Use undefined to have no column initially sorted.",name:"initialSortingColumnKey",required:!1,type:{name:"string"}},initialSortingOrder:{defaultValue:null,description:"Sorting order applied for initial sorting.",name:"initialSortingOrder",required:!1,type:{name:"enum",value:[{value:'"desc"'},{value:'"asc"'}]}},onSort:{defaultValue:null,description:"Function for providing side effects before or after the sort. If you want to use the component's own sorting function, call the handleSort callback function.\n@param order\n@param colKey\n@param handleSort",name:"onSort",required:!1,type:{name:'(order: "desc" | "asc", colKey: string, handleSort: () => void) => void'}},renderIndexCol:{defaultValue:{value:"true"},description:"Boolean indicating whether index column is rendered in the table.",name:"renderIndexCol",required:!1,type:{name:"boolean"}},rows:{defaultValue:null,description:"Table rows. An array of objects where keys map with the keys of col.",name:"rows",required:!0,type:{name:"object[]"}},selectAllRowsText:{defaultValue:{value:"Valitse kaikki rivit"},description:"Text for the select all rows button.",name:"selectAllRowsText",required:!1,type:{name:"string"}},selectedRows:{defaultValue:null,description:"Selected table rows.",name:"selectedRows",required:!1,type:{name:"SelectedRow[]"}},setSelectedRows:{defaultValue:null,description:"Callback that updates selected rows.",name:"setSelectedRows",required:!1,type:{name:"Dispatch>"}},textAlignContentRight:{defaultValue:{value:"false"},description:"Boolean indicating whether table data cell text content is aligned right. Default is false -> text is aligned left.",name:"textAlignContentRight",required:!1,type:{name:"boolean"}},theme:{defaultValue:null,description:"Custom theme to change table header background color.",name:"theme",required:!1,type:{name:"TableCustomTheme"}},variant:{defaultValue:{value:"dark"},description:"Table variant. Use dark for dark brand background colors, and light for light brand background colors.",name:"variant",required:!1,type:{name:"enum",value:[{value:'"light"'},{value:'"dark"'}]}},verticalHeaders:{defaultValue:null,description:"Vertical headers of the table.",name:"verticalHeaders",required:!1,type:{name:"Header[]"}},verticalLines:{defaultValue:{value:"false"},description:"Boolean indicating whether the table has vertical lines on columns",name:"verticalLines",required:!1,type:{name:"boolean"}},zebra:{defaultValue:{value:"false"},description:"Boolean indicating whether the table has alternating row colors zebra style.",name:"zebra",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/table/Table.tsx#Table"]={docgenInfo:Table.__docgenInfo,name:"Table",path:"src/components/table/Table.tsx#Table"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/tag/Tag.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{V:()=>Tag});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),objectWithoutProperties=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react=__webpack_require__("../../node_modules/react/index.js");__webpack_require__("./src/styles/base.css");const Tag_module={deleteButton:"Tag_deleteButton__+f5jn tag_hds-tag__delete-button__Np8uj",visuallyHidden:"Tag_visuallyHidden__49IQ2",tag:"Tag_tag__Hkb9W tag_hds-tag__VFPVg",label:"Tag_label__yIfI+ tag_hds-tag__label__8qXJA",large:"Tag_large__rosYx tag_hds-tag--large__tIyQm"};var IconCross=__webpack_require__("./src/icons/IconCross.tsx"),classNames=__webpack_require__("./src/utils/classNames.ts"),useTheme=__webpack_require__("./src/hooks/useTheme.tsx"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),_excluded=["children","className","deleteButtonAriaLabel","deleteButtonProps","id","labelClassName","labelProps","onClick","onDelete","role","size","srOnlyLabel","theme"],Tag=(0,react.forwardRef)((function(_ref,ref){var children=_ref.children,className=_ref.className,deleteButtonAriaLabel=_ref.deleteButtonAriaLabel,deleteButtonProps=_ref.deleteButtonProps,_ref$id=_ref.id,id=void 0===_ref$id?"hds-tag":_ref$id,labelClassName=_ref.labelClassName,labelProps=_ref.labelProps,onClick=_ref.onClick,onDelete=_ref.onDelete,_ref$role=_ref.role,role=void 0===_ref$role?"link":_ref$role,_ref$size=_ref.size,size=void 0===_ref$size?"m":_ref$size,srOnlyLabel=_ref.srOnlyLabel,theme=_ref.theme,rest=(0,objectWithoutProperties.Z)(_ref,_excluded),customThemeClass=(0,useTheme.F)(Tag_module.tag,theme),largeClass=Tag_module.large,containerClassName=(0,classNames.Z)(Tag_module.tag,"l"===size&&largeClass,customThemeClass,className),clickable="function"==typeof onClick,deletable="function"==typeof onDelete,hideLabelFromScreenReaders=srOnlyLabel||deleteButtonAriaLabel,labelContainerClassName=(0,classNames.Z)(Tag_module.label,labelClassName);return(0,jsx_runtime.jsxs)("div",(0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)({id,className:containerClassName,ref},clickable&&{tabIndex:0,role,onClick,onKeyDown:function onKeyDown(event){"Enter"!==event.key&&" "!==event.key||onClick(event)}}),rest),{},{children:[(0,jsx_runtime.jsxs)("span",(0,objectSpread2.Z)((0,objectSpread2.Z)({id:id&&"".concat(id,"-label"),className:labelContainerClassName},labelProps),{},{children:[srOnlyLabel&&(0,jsx_runtime.jsx)("span",{className:Tag_module.visuallyHidden,children:srOnlyLabel}),(0,jsx_runtime.jsx)("span",(0,objectSpread2.Z)((0,objectSpread2.Z)({},hideLabelFromScreenReaders?{"aria-hidden":!0}:{}),{},{children}))]})),deletable&&(0,jsx_runtime.jsx)("button",(0,objectSpread2.Z)((0,objectSpread2.Z)({},deleteButtonProps),{},{id:id&&"".concat(id,"-delete-button"),type:"button",className:Tag_module.deleteButton,"aria-label":deleteButtonAriaLabel,onClick:onDelete,children:(0,jsx_runtime.jsx)(IconCross.IconCross,{className:Tag_module.icon,"aria-hidden":!0})}))]}))}));try{Tag.displayName="Tag",Tag.__docgenInfo={description:"",displayName:"Tag",props:{children:{defaultValue:null,description:"The label for the tag",name:"children",required:!0,type:{name:"ReactNode"}},className:{defaultValue:null,description:"Additional class names to apply to the tag",name:"className",required:!1,type:{name:"string"}},deleteButtonAriaLabel:{defaultValue:null,description:"The aria-label for the delete button",name:"deleteButtonAriaLabel",required:!1,type:{name:"string"}},deleteButtonProps:{defaultValue:null,description:"Prop will be passed to the delete button `` element. It also hides the default label from screen readers to prevent confusion with labels when present.",name:"deleteButtonProps",required:!1,type:{name:'Pick, HTMLButtonElement>, "key" | keyof ButtonHTMLAttributes<...>>'}},id:{defaultValue:{value:"hds-tag"},description:"Used to generate the first part of the id on the elements.",name:"id",required:!1,type:{name:"string"}},labelClassName:{defaultValue:null,description:"Additional class names to apply to the tag's label element",name:"labelClassName",required:!1,type:{name:"string"}},labelProps:{defaultValue:null,description:"Props that will be passed to the label `` element.",name:"labelProps",required:!1,type:{name:'Pick, HTMLSpanElement>, "key" | keyof HTMLAttributes>'}},onClick:{defaultValue:null,description:"Callback function fired when the tag is clicked. If set, the tag will be clickable.",name:"onClick",required:!1,type:{name:"(event: KeyboardEvent | MouseEvent) => void"}},onDelete:{defaultValue:null,description:"Callback function fired when the delete icon is clicked. If set, a delete button will be shown.",name:"onDelete",required:!1,type:{name:"(event: MouseEvent) => void"}},role:{defaultValue:{value:"link"},description:"Sets the role of the tag when it's clickable. Uses 'link' by default.",name:"role",required:!1,type:{name:"enum",value:[{value:'"button"'},{value:'"link"'}]}},size:{defaultValue:{value:"m"},description:"Size variant for the Tag.",name:"size",required:!1,type:{name:"enum",value:[{value:'"m"'},{value:'"l"'}]}},srOnlyLabel:{defaultValue:null,description:"The label is only visible to screen readers. Can be used to give screen reader users additional information about the tag.",name:"srOnlyLabel",required:!1,type:{name:"string"}},theme:{defaultValue:null,description:"Custom theme styles",name:"theme",required:!1,type:{name:"TagCustomTheme"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/tag/Tag.tsx#Tag"]={docgenInfo:Tag.__docgenInfo,name:"Tag",path:"src/components/tag/Tag.tsx#Tag"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/textInput/TextInput.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{o:()=>TextInput});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/react/index.js"),_TextInput_module_css__WEBPACK_IMPORTED_MODULE_8__=(__webpack_require__("./src/styles/base.css"),__webpack_require__("./src/components/textInput/TextInput.module.css")),_internal_input_wrapper_InputWrapper__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./src/internal/input-wrapper/InputWrapper.tsx"),_utils_classNames__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./src/utils/classNames.ts"),_utils_composeAriaDescribedBy__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/utils/composeAriaDescribedBy.ts"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),_excluded=["className","children","disabled","defaultValue","errorText","helperText","hideLabel","invalid","id","label","onChange","required","style","successText","infoText","tooltipLabel","tooltipText","tooltipButtonLabel","type","buttonIcon","buttonAriaLabel","onButtonClick"],TextInput=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((function(_ref,ref){var _ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,children=_ref.children,_ref$disabled=_ref.disabled,disabled=void 0!==_ref$disabled&&_ref$disabled,defaultValue=_ref.defaultValue,errorText=_ref.errorText,helperText=_ref.helperText,hideLabel=_ref.hideLabel,invalid=_ref.invalid,id=_ref.id,label=_ref.label,_ref$onChange=_ref.onChange,onChange=void 0===_ref$onChange?function(){return null}:_ref$onChange,required=_ref.required,style=_ref.style,successText=_ref.successText,infoText=_ref.infoText,tooltipLabel=_ref.tooltipLabel,tooltipText=_ref.tooltipText,tooltipButtonLabel=_ref.tooltipButtonLabel,_ref$type=_ref.type,type=void 0===_ref$type?"text":_ref$type,buttonIcon=_ref.buttonIcon,buttonAriaLabel=_ref.buttonAriaLabel,onButtonClick=_ref.onButtonClick,rest=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_3__.Z)(_ref,_excluded),wrapperProps={className,errorText,helperText,hideLabel,id,invalid,label,required,style,successText,infoText,tooltipLabel,tooltipText,tooltipButtonLabel},ariaDescribedBy=(0,_utils_composeAriaDescribedBy__WEBPACK_IMPORTED_MODULE_4__.Z)(id,helperText,errorText,successText,infoText),hasButton=Boolean(buttonIcon&&onButtonClick);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(_internal_input_wrapper_InputWrapper__WEBPACK_IMPORTED_MODULE_5__.S,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_6__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_6__.Z)({},wrapperProps),{},{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("input",(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_6__.Z)({className:(0,_utils_classNames__WEBPACK_IMPORTED_MODULE_7__.Z)(_TextInput_module_css__WEBPACK_IMPORTED_MODULE_8__.Z.input,hasButton&&_TextInput_module_css__WEBPACK_IMPORTED_MODULE_8__.Z.hasButton),defaultValue,disabled,id,onChange,ref,required,type,"aria-describedby":ariaDescribedBy.length>0?ariaDescribedBy:null},rest)),hasButton&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:_TextInput_module_css__WEBPACK_IMPORTED_MODULE_8__.Z.buttonWrapper,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("button",{className:_TextInput_module_css__WEBPACK_IMPORTED_MODULE_8__.Z.button,disabled,type:"button",onClick:onButtonClick,"aria-label":buttonAriaLabel,children:buttonIcon})}),children]}))}));try{TextInput.displayName="TextInput",TextInput.__docgenInfo={description:"",displayName:"TextInput",props:{className:{defaultValue:{value:""},description:"Additional class names to apply to the text input",name:"className",required:!1,type:{name:"string"}},id:{defaultValue:null,description:"The id of the input element",name:"id",required:!1,type:{name:"string"}},style:{defaultValue:null,description:"Override or extend the styles applied to the component",name:"style",required:!1,type:{name:"CSSProperties"}},children:{defaultValue:null,description:"Additional children to render after the input.",name:"children",required:!1,type:{name:"ReactNode"}},label:{defaultValue:null,description:"The label for the input",name:"label",required:!1,type:{name:"ReactNode"}},disabled:{defaultValue:{value:"false"},description:"If `true`, the input will be disabled",name:"disabled",required:!1,type:{name:"boolean"}},type:{defaultValue:{value:"text"},description:"Type of the input element",name:"type",required:!1,type:{name:"string"}},value:{defaultValue:null,description:"The value of the input element, required for a controlled component",name:"value",required:!1,type:{name:"string & (string | number | readonly string[])"}},defaultValue:{defaultValue:null,description:"The default input element value. Use when the component is not controlled",name:"defaultValue",required:!1,type:{name:"string & (string | number | readonly string[])"}},placeholder:{defaultValue:null,description:"Short hint displayed in the input before the user enters a value",name:"placeholder",required:!1,type:{name:"string"}},onChange:{defaultValue:{value:"() => null"},description:"Callback fired when the state is changed",name:"onChange",required:!1,type:{name:"ChangeEventHandler"}},readOnly:{defaultValue:null,description:"If `true`, prevents the user from changing the value of the field (not from interacting with the field)",name:"readOnly",required:!1,type:{name:"boolean"}},required:{defaultValue:null,description:"If `true`, the label is displayed as required and the `input` element will be required",name:"required",required:!1,type:{name:"boolean"}},errorText:{defaultValue:null,description:"The error text content that will be shown below the input",name:"errorText",required:!1,type:{name:"string"}},helperText:{defaultValue:null,description:"The helper text content that will be shown below the input",name:"helperText",required:!1,type:{name:"string"}},tooltipText:{defaultValue:null,description:"The text content of the tooltip",name:"tooltipText",required:!1,type:{name:"string"}},tooltipLabel:{defaultValue:null,description:"Aria-label text for the tooltip",name:"tooltipLabel",required:!1,type:{name:"string"}},tooltipButtonLabel:{defaultValue:null,description:"Aria-label text for the tooltip trigger button",name:"tooltipButtonLabel",required:!1,type:{name:"string"}},hideLabel:{defaultValue:null,description:"Hides the label above the input",name:"hideLabel",required:!1,type:{name:"boolean"}},invalid:{defaultValue:null,description:"If `true`, the input will be displayed in an invalid state.",name:"invalid",required:!1,type:{name:"boolean"}},successText:{defaultValue:null,description:"The success text content that will be shown below the input",name:"successText",required:!1,type:{name:"string"}},infoText:{defaultValue:null,description:"The info text content that will be shown below the input",name:"infoText",required:!1,type:{name:"string"}},buttonIcon:{defaultValue:null,description:"Button icon",name:"buttonIcon",required:!1,type:{name:"ReactNode"}},buttonAriaLabel:{defaultValue:null,description:"Button aria-label",name:"buttonAriaLabel",required:!1,type:{name:"string"}},onButtonClick:{defaultValue:null,description:"Button click callback",name:"onButtonClick",required:!1,type:{name:"MouseEventHandler"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/textInput/TextInput.tsx#TextInput"]={docgenInfo:TextInput.__docgenInfo,name:"TextInput",path:"src/components/textInput/TextInput.tsx#TextInput"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/textarea/TextArea.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{K:()=>TextArea});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/react/index.js"),_textInput_TextInput_module_css__WEBPACK_IMPORTED_MODULE_7__=(__webpack_require__("./src/styles/base.css"),__webpack_require__("./src/components/textInput/TextInput.module.css")),_internal_input_wrapper_InputWrapper__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./src/internal/input-wrapper/InputWrapper.tsx"),_utils_composeAriaDescribedBy__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/utils/composeAriaDescribedBy.ts"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),_excluded=["className","disabled","defaultValue","errorText","helperText","hideLabel","invalid","id","label","onChange","required","style","successText","infoText","tooltipLabel","tooltipText","tooltipButtonLabel"],TextArea=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((function(_ref,ref){var _ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,_ref$disabled=_ref.disabled,disabled=void 0!==_ref$disabled&&_ref$disabled,defaultValue=_ref.defaultValue,errorText=_ref.errorText,helperText=_ref.helperText,hideLabel=_ref.hideLabel,invalid=_ref.invalid,id=_ref.id,label=_ref.label,_ref$onChange=_ref.onChange,onChange=void 0===_ref$onChange?function(){return null}:_ref$onChange,required=_ref.required,style=_ref.style,successText=_ref.successText,infoText=_ref.infoText,tooltipLabel=_ref.tooltipLabel,tooltipText=_ref.tooltipText,tooltipButtonLabel=_ref.tooltipButtonLabel,rest=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_3__.Z)(_ref,_excluded),wrapperProps={className,errorText,helperText,hideLabel,id,invalid,label,required,style,successText,infoText,tooltipLabel,tooltipText,tooltipButtonLabel},ariaDescribedBy=(0,_utils_composeAriaDescribedBy__WEBPACK_IMPORTED_MODULE_4__.Z)(id,helperText,errorText,successText,infoText);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_internal_input_wrapper_InputWrapper__WEBPACK_IMPORTED_MODULE_5__.S,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_6__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_6__.Z)({},wrapperProps),{},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("textarea",(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_6__.Z)({className:_textInput_TextInput_module_css__WEBPACK_IMPORTED_MODULE_7__.Z.input,defaultValue,disabled,id,onChange,ref,required,"aria-describedby":ariaDescribedBy.length>0?ariaDescribedBy:null},rest))}))}));try{TextArea.displayName="TextArea",TextArea.__docgenInfo={description:"",displayName:"TextArea",props:{className:{defaultValue:{value:""},description:"Additional class names to apply to the textarea",name:"className",required:!1,type:{name:"string"}},id:{defaultValue:null,description:"The id of the textarea element",name:"id",required:!1,type:{name:"string"}},style:{defaultValue:null,description:"Override or extend the styles applied to the component. See text field [tokens](https://city-of-helsinki.github.io/helsinki-design-system/components/text-field#tokens) for available CSS variables",name:"style",required:!1,type:{name:"CSSProperties"}},label:{defaultValue:null,description:"The label for the textarea",name:"label",required:!1,type:{name:"ReactNode"}},disabled:{defaultValue:{value:"false"},description:"If `true`, the textarea will be disabled",name:"disabled",required:!1,type:{name:"boolean"}},value:{defaultValue:null,description:"The value of the textarea element, required for a controlled component",name:"value",required:!1,type:{name:"string & (string | number | readonly string[])"}},defaultValue:{defaultValue:null,description:"The default textarea element value. Use when the component is not controlled",name:"defaultValue",required:!1,type:{name:"string & (string | number | readonly string[])"}},placeholder:{defaultValue:null,description:"Short hint displayed in the textarea before the user enters a value",name:"placeholder",required:!1,type:{name:"string"}},onChange:{defaultValue:{value:"() => null"},description:"Callback fired when the state is changed",name:"onChange",required:!1,type:{name:"ChangeEventHandler"}},required:{defaultValue:null,description:"If `true`, the label is displayed as required and the `textarea` element will be required",name:"required",required:!1,type:{name:"boolean"}},errorText:{defaultValue:null,description:"The error text content that will be shown below the textarea",name:"errorText",required:!1,type:{name:"string"}},helperText:{defaultValue:null,description:"The helper text content that will be shown below the textarea",name:"helperText",required:!1,type:{name:"string"}},tooltipText:{defaultValue:null,description:"The text content of the tooltip",name:"tooltipText",required:!1,type:{name:"string"}},tooltipLabel:{defaultValue:null,description:"Aria-label text for the tooltip",name:"tooltipLabel",required:!1,type:{name:"string"}},tooltipButtonLabel:{defaultValue:null,description:"Aria-label text for the tooltip trigger button",name:"tooltipButtonLabel",required:!1,type:{name:"string"}},hideLabel:{defaultValue:null,description:"Hides the label above the textarea",name:"hideLabel",required:!1,type:{name:"boolean"}},invalid:{defaultValue:null,description:"If `true`, the textarea and `helperText` will be displayed in an invalid state.",name:"invalid",required:!1,type:{name:"boolean"}},successText:{defaultValue:null,description:"The success text content that will be shown below the text area",name:"successText",required:!1,type:{name:"string"}},infoText:{defaultValue:null,description:"The info text content that will be shown below the text area",name:"infoText",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/textarea/TextArea.tsx#TextArea"]={docgenInfo:TextArea.__docgenInfo,name:"TextArea",path:"src/components/textarea/TextArea.tsx#TextArea"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/tooltip/Tooltip.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{u:()=>Tooltip});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),slicedToArray=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react=__webpack_require__("../../node_modules/react/index.js"),usePopper=__webpack_require__("./node_modules/react-popper/lib/esm/usePopper.js");__webpack_require__("./src/styles/base.css");const Tooltip_module_button="Tooltip_button__tjs6K",Tooltip_module_root="Tooltip_root__c6Z7H",Tooltip_module_tooltip="Tooltip_tooltip__dtEKt",Tooltip_module_boxShadow="Tooltip_boxShadow__QgUTB",Tooltip_module_small="Tooltip_small__iPm+X",Tooltip_module_arrow="Tooltip_arrow__+H4oM";var IconQuestionCircle=__webpack_require__("./src/icons/IconQuestionCircle.tsx"),classNames=__webpack_require__("./src/utils/classNames.ts"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),Tooltip=function Tooltip(_ref){var _ref$boxShadow=_ref.boxShadow,boxShadow=void 0!==_ref$boxShadow&&_ref$boxShadow,children=_ref.children,_ref$placement=_ref.placement,placement=void 0===_ref$placement?"auto":_ref$placement,_ref$small=_ref.small,small=void 0!==_ref$small&&_ref$small,_ref$buttonLabel=_ref.buttonLabel,buttonLabel=void 0===_ref$buttonLabel?"Tooltip":_ref$buttonLabel,_ref$tooltipLabel=_ref.tooltipLabel,tooltipLabel=void 0===_ref$tooltipLabel?"Tooltip":_ref$tooltipLabel,className=_ref.className,buttonClassName=_ref.buttonClassName,tooltipClassName=_ref.tooltipClassName,_useState=(0,react.useState)(!1),_useState2=(0,slicedToArray.Z)(_useState,2),isTooltipOpen=_useState2[0],setIsTooltipOpen=_useState2[1],buttonRef=(0,react.useRef)(null),tooltipRef=(0,react.useRef)(null),_useState3=(0,react.useState)(null),_useState4=(0,slicedToArray.Z)(_useState3,2),arrowRef=_useState4[0],setArrowRef=_useState4[1],_usePopper=(0,usePopper.D)(buttonRef.current,tooltipRef.current,{placement,modifiers:[{name:"arrow",options:{element:arrowRef}},{name:"offset",options:{offset:[0,10]}}]}),popperStyles=_usePopper.styles,popperAttributes=_usePopper.attributes,updatePopper=_usePopper.forceUpdate;(0,react.useEffect)((function(){null!==updatePopper&&!0===isTooltipOpen&&updatePopper()}),[isTooltipOpen,updatePopper]);return(0,react.useEffect)((function(){var handleEscKey=function handleEscKey(event){var key=event.key||event.keyCode;!isTooltipOpen||"Escape"!==key&&"Esc"!==key&&27!==key||setIsTooltipOpen(!1)},handleOutsideClick=function handleOutsideClick(event){var target=event.target;!isTooltipOpen||buttonRef.current.contains(target)||tooltipRef.current.contains(target)||setIsTooltipOpen(!1)};return document.addEventListener("keyup",handleEscKey),document.addEventListener("click",handleOutsideClick),function(){document.removeEventListener("keyup",handleEscKey),document.removeEventListener("click",handleOutsideClick)}})),(0,jsx_runtime.jsxs)("div",{className:(0,classNames.Z)(Tooltip_module_root,className),children:[(0,jsx_runtime.jsx)("button",{ref:buttonRef,type:"button",className:(0,classNames.Z)(Tooltip_module_button,buttonClassName),title:buttonLabel,"aria-label":buttonLabel,"aria-expanded":isTooltipOpen,onClick:function onButtonClick(){setIsTooltipOpen(!isTooltipOpen)},children:(0,jsx_runtime.jsx)("span",{"aria-hidden":"true",children:(0,jsx_runtime.jsx)(IconQuestionCircle.IconQuestionCircle,{})})}),isTooltipOpen&&(0,jsx_runtime.jsxs)("section",(0,objectSpread2.Z)((0,objectSpread2.Z)({"aria-label":tooltipLabel,ref:tooltipRef,className:(0,classNames.Z)(Tooltip_module_tooltip,small&&Tooltip_module_small,boxShadow&&Tooltip_module_boxShadow,tooltipClassName),style:popperStyles.popper},popperAttributes.popper),{},{children:[children,(0,jsx_runtime.jsx)("div",(0,objectSpread2.Z)({ref:setArrowRef,className:Tooltip_module_arrow,style:popperStyles.arrow},popperAttributes.arrow))]}))]})};try{Tooltip.displayName="Tooltip",Tooltip.__docgenInfo={description:"",displayName:"Tooltip",props:{boxShadow:{defaultValue:{value:"false"},description:"Boolean indicating whether tooltip has box shadow or not.",name:"boxShadow",required:!1,type:{name:"boolean"}},placement:{defaultValue:{value:"auto"},description:"The placement of the tooltip.",name:"placement",required:!1,type:{name:"enum",value:[{value:'"left"'},{value:'"right"'},{value:'"auto"'},{value:'"auto-start"'},{value:'"auto-end"'},{value:'"top"'},{value:'"bottom"'},{value:'"top-start"'},{value:'"top-end"'},{value:'"bottom-start"'},{value:'"bottom-end"'},{value:'"right-start"'},{value:'"right-end"'},{value:'"left-start"'},{value:'"left-end"'}]}},small:{defaultValue:{value:"false"},description:"Use the small tooltip variant.",name:"small",required:!1,type:{name:"boolean"}},buttonLabel:{defaultValue:{value:"Tooltip"},description:"Aria-label text for the tooltip trigger button.",name:"buttonLabel",required:!1,type:{name:"string"}},tooltipLabel:{defaultValue:{value:"Tooltip"},description:"Aria-label text for the tooltip.",name:"tooltipLabel",required:!1,type:{name:"string"}},className:{defaultValue:null,description:"Additional wrapper class names.",name:"className",required:!1,type:{name:"string"}},buttonClassName:{defaultValue:null,description:"Additional button class names.",name:"buttonClassName",required:!1,type:{name:"string"}},tooltipClassName:{defaultValue:null,description:"Additional tooltip class names.",name:"tooltipClassName",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/tooltip/Tooltip.tsx#Tooltip"]={docgenInfo:Tooltip.__docgenInfo,name:"Tooltip",path:"src/components/tooltip/Tooltip.tsx#Tooltip"})}catch(__react_docgen_typescript_loader_error){}},"./src/examples/forms/validationSchema.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{P:()=>defaultValues,p:()=>validationSchema});var yup__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/yup/index.esm.js"),date_fns__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/date-fns/esm/parse/index.js"),date_fns__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/date-fns/esm/isBefore/index.js"),date_fns__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("../../node_modules/date-fns/esm/startOfDay/index.js"),_validationUtils__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./src/examples/forms/validationUtils.ts"),validationSchema=yup__WEBPACK_IMPORTED_MODULE_0__.Ry().shape({firstName:yup__WEBPACK_IMPORTED_MODULE_0__.Z_().required("Please enter your first name"),lastName:yup__WEBPACK_IMPORTED_MODULE_0__.Z_().required("Please enter your last name"),city:yup__WEBPACK_IMPORTED_MODULE_0__.Z_().required("Please select your city of residence"),postalCode:yup__WEBPACK_IMPORTED_MODULE_0__.Z_().required("Please enter your postal code").matches(/^\d+$/,"Postal code can only contain numbers").length(5,"Postal code needs to contain 5 numbers"),email:yup__WEBPACK_IMPORTED_MODULE_0__.Z_().email("Please check the email address format").required("Please enter your email address"),phoneNumber:yup__WEBPACK_IMPORTED_MODULE_0__.Z_().matches(/^[+][0-9]*$/,{message:"Please enter the phone number in international mobile phone number format.",excludeEmptyString:!0}),registerPlate:yup__WEBPACK_IMPORTED_MODULE_0__.Z_().required("Please enter a register plate number").matches(/^\w{2,3}-\d{1,3}$/,"Register plate number must include 2-3 letters, a hyphen and 1-3 numbers."),brand:yup__WEBPACK_IMPORTED_MODULE_0__.Z_().required("Please enter a vehicle brand"),model:yup__WEBPACK_IMPORTED_MODULE_0__.Z_().required("Please enter a vehicle model"),parkingPeriod:yup__WEBPACK_IMPORTED_MODULE_0__.Z_().oneOf(["continuous","temporary"],"Please select a parking pediod"),permitEndDate:yup__WEBPACK_IMPORTED_MODULE_0__.Z_().when("parkingPeriod",{is:"temporary",then:function then(schema){return schema.required("Please enter a permit end date").test("is-date",(function(value,_ref){var createError=_ref.createError,path=_ref.path;if(!(0,_validationUtils__WEBPACK_IMPORTED_MODULE_1__.q)(value))return createError({path,message:"Please enter a permit end date in DD.MM.YYYY format"});var selectedDate=(0,date_fns__WEBPACK_IMPORTED_MODULE_2__.Z)(value,"d.M.yyyy",new Date);return!(0,date_fns__WEBPACK_IMPORTED_MODULE_3__.Z)(selectedDate,(0,date_fns__WEBPACK_IMPORTED_MODULE_4__.Z)(new Date))||createError({path,message:"Selected permit date is in the past. Please select a date that is in the future"})}))},otherwise:function otherwise(schema){return schema}}),acceptTerms:yup__WEBPACK_IMPORTED_MODULE_0__.O7().oneOf([!0],"Please accept the terms and conditions")}).required(),defaultValues={firstName:"",lastName:"",city:"",postalCode:"",phoneNumber:"",email:"",registerPlate:"",brand:"",model:"",parkingPeriod:"continuous",permitEndDate:"",additionalRequests:"",acceptTerms:!1}},"./src/examples/forms/validationUtils.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{L:()=>getCitites,q:()=>isValidDate});var isValidDate=function isValidDate(value){if("string"==typeof value&&value.match(/^(\d{1,2}.){2}\d{4}$/)){var dateParts=value.split(".");return!Number.isNaN(Date.parse("".concat(dateParts[1],"/").concat(dateParts[0],"/").concat(dateParts[2])))}return!1},cities=["Akaa","Alajärvi","Alavus","Espoo","Forssa","Haapajärvi","Haapavesi","Hamina","Hanko","Harjavalta","Heinola","Helsinki","Huittinen","Hyvinkää","Hämeenlinna","Iisalmi","Ikaalinen","Imatra","Pietarsaari","Joensuu","Jyväskylä","Jämsä","Järvenpää","Kaarina","Kajaani","Kalajoki","Kangasala","Kankaanpää","Kannus","Karkkila","Kaskinen","Kauhajoki","Kauhava","Kauniainen","Kemi","Kemijärvi","Kerava","Keuruu","Kitee","Kiuruvesi","Kokemäki","Kokkola","Kotka","Kouvola","Kristiinankaupunki","Kuhmo","Kuopio","Kurikka","Kuusamo","Lahti","Laitila","Lappeenranta","Lapua","Lieksa","Lohja","Loimaa","Loviisa","Maarianhamina","Mikkeli","Mänttä","Naantali","Nivala","Nokia","Nurmes","Uusikaarlepyy","Närpiö","Orimattila","Orivesi","Oulainen","Oulu","Outokumpu","Paimio","Parainen","Parkano","Pieksämäki","Pori","Porvoo","Pudasjärvi","Pyhäjärvi","Raahe","Raasepori","Raisio","Rauma","Riihimäki","Rovaniemi","Saarijärvi","Salo","Sastamala","Savonlinna","Seinäjoki","Somero","Suonenjoki","Tampere","Tornio","Turku","Ulvila","Uusikaupunki","Vaasa","Valkeakoski","Vantaa","Varkaus","Viitasaari","Virrat","Ylivieska","Ylöjärvi","Ähtäri","Äänekoski"],getCitites=function getCitites(){return cities.map((function(city){return{label:city}}))}},"./src/hooks/useIsomorphicLayoutEffect.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/react/index.js");const __WEBPACK_DEFAULT_EXPORT__="undefined"!=typeof window&&window.document?react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect:react__WEBPACK_IMPORTED_MODULE_0__.useEffect},"./src/hooks/useMediaQuery.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{kR:()=>useMediaQueryLessThan});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/react/index.js"),breakpointValues={xs:320,s:576,m:768,l:992,xl:1248},getWindowInnerWidth=function getWindowInnerWidth(){return"undefined"!=typeof window&&window.innerWidth?window.innerWidth:void 0},useMediaQuery=function useMediaQuery(breakpointCheck){var _useState=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),_useState2=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1__.Z)(_useState,2),matches=_useState2[0],setMatches=_useState2[1],matchesRef=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(matches);return(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((function(){var updateState=function updateState(){!function refreshIfMatches(val){matchesRef.current!==val&&(matchesRef.current=val,setMatches(val))}(breakpointCheck())};return window.addEventListener("resize",updateState),updateState(),function(){return window.removeEventListener("resize",updateState)}}),[]),matches},useMediaQueryLessThan=function useMediaQueryLessThan(breakpoint){return useMediaQuery((function(){return function isLesserThan(a,b){return void 0!==b&&b{"use strict";__webpack_require__.d(__webpack_exports__,{X:()=>useMobile});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/react/index.js"),useMobile=function useMobile(){var _useState=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),_useState2=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1__.Z)(_useState,2),isMobile=_useState2[0],setIsMobile=_useState2[1];return(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((function(){var updateState=function updateState(){return setIsMobile(function checkIfMobile(){return"undefined"!=typeof window&&window.innerWidth<768||!1}())};return window.addEventListener("resize",updateState),updateState(),function(){return window.removeEventListener("resize",updateState)}}),[]),isMobile}},"./src/hooks/useTheme.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{F:()=>useTheme});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/react/index.js"),lodash_uniqueid__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/lodash.uniqueid/index.js"),lodash_uniqueid__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(lodash_uniqueid__WEBPACK_IMPORTED_MODULE_1__),_useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/hooks/useIsomorphicLayoutEffect.ts"),useTheme=function useTheme(selector,theme){var useCustomTheme=theme&&"string"!=typeof theme,customClass=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(useCustomTheme?lodash_uniqueid__WEBPACK_IMPORTED_MODULE_1___default()("custom-theme-"):"").current;return(0,_useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_4__.Z)((function(){useCustomTheme&&function setComponentTheme(selector,theme,customClass){if("undefined"!=typeof window){var hasCustomRule=function hasCustomRule(rule){var _rule$selectorText;return null===(_rule$selectorText=rule.selectorText)||void 0===_rule$selectorText?void 0:_rule$selectorText.includes("".concat(selector,".").concat(customClass))};try{var parentIndex=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_2__.Z)(document.styleSheets).findIndex((function(styleSheet){try{return(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_2__.Z)(styleSheet.cssRules).findIndex((function(rule){var _rule$selectorText2;return null===(_rule$selectorText2=rule.selectorText)||void 0===_rule$selectorText2?void 0:_rule$selectorText2.includes(selector)}))>=0}catch(e){return!1}}));if(-1===parentIndex){var stylesheetElement=document.createElement("style");document.head.appendChild(stylesheetElement),parentIndex=document.styleSheets.length-1}var parentStyleSheet=document.styleSheets[parentIndex],parentCssRules=parentStyleSheet.cssRules,customRuleIndex=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_2__.Z)(parentCssRules).findIndex(hasCustomRule);-1===customRuleIndex&&(parentStyleSheet.insertRule(".".concat(selector,".").concat(customClass," { content: '' }"),parentCssRules.length),customRuleIndex=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_2__.Z)(parentCssRules).findIndex(hasCustomRule));var rule=parentCssRules[customRuleIndex];Object.entries(theme).forEach((function(_ref){var _ref2=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__.Z)(_ref,2),property=_ref2[0],value=_ref2[1];return rule.style.setProperty(property,value)}))}catch(e){console.warn('Could not find the stylesheet to update with the "'.concat(selector,'" selector!'))}}}(selector&&selector.split(" ")[0],theme,customClass)}),[selector,theme,customClass,useCustomTheme]),customClass};try{useTheme.displayName="useTheme",useTheme.__docgenInfo={description:"Hook for applying custom themes",displayName:"useTheme",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/hooks/useTheme.tsx#useTheme"]={docgenInfo:useTheme.__docgenInfo,name:"useTheme",path:"src/hooks/useTheme.tsx#useTheme"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconAlertCircle.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconAlertCircle:()=>IconAlertCircle});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconAlertCircle=function IconAlertCircle(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"alert-circle":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4ZM13 16V18H11V16H13ZM13 6V14H11V6H13Z",fill:"currentColor"})})};try{IconAlertCircle.displayName="IconAlertCircle",IconAlertCircle.__docgenInfo={description:"",displayName:"IconAlertCircle",props:{ariaLabel:{defaultValue:{value:"alert-circle"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconAlertCircle.tsx#IconAlertCircle"]={docgenInfo:IconAlertCircle.__docgenInfo,name:"IconAlertCircle",path:"src/icons/IconAlertCircle.tsx#IconAlertCircle"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconAlertCircleFill.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconAlertCircleFill:()=>IconAlertCircleFill});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconAlertCircleFill=function IconAlertCircleFill(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"alert-circle-fill":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3ZM13 16V18H11V16H13ZM13 6V14H11V6H13Z",fill:"currentColor"})})};try{IconAlertCircleFill.displayName="IconAlertCircleFill",IconAlertCircleFill.__docgenInfo={description:"",displayName:"IconAlertCircleFill",props:{ariaLabel:{defaultValue:{value:"alert-circle-fill"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconAlertCircleFill.tsx#IconAlertCircleFill"]={docgenInfo:IconAlertCircleFill.__docgenInfo,name:"IconAlertCircleFill",path:"src/icons/IconAlertCircleFill.tsx#IconAlertCircleFill"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconAngleDown.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconAngleDown:()=>IconAngleDown});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconAngleDown=function IconAngleDown(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"angle-down":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 13.5L17 8.5L18.5 10L12 16.5L5.5 10L7 8.5L12 13.5Z",fill:"currentColor"})})};try{IconAngleDown.displayName="IconAngleDown",IconAngleDown.__docgenInfo={description:"",displayName:"IconAngleDown",props:{ariaLabel:{defaultValue:{value:"angle-down"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconAngleDown.tsx#IconAngleDown"]={docgenInfo:IconAngleDown.__docgenInfo,name:"IconAngleDown",path:"src/icons/IconAngleDown.tsx#IconAngleDown"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconAngleLeft.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconAngleLeft:()=>IconAngleLeft});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconAngleLeft=function IconAngleLeft(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"angle-left":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 12L15.5 17L14 18.5L7.5 12L14 5.5L15.5 7L10.5 12Z",fill:"currentColor"})})};try{IconAngleLeft.displayName="IconAngleLeft",IconAngleLeft.__docgenInfo={description:"",displayName:"IconAngleLeft",props:{ariaLabel:{defaultValue:{value:"angle-left"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconAngleLeft.tsx#IconAngleLeft"]={docgenInfo:IconAngleLeft.__docgenInfo,name:"IconAngleLeft",path:"src/icons/IconAngleLeft.tsx#IconAngleLeft"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconAngleRight.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconAngleRight:()=>IconAngleRight});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconAngleRight=function IconAngleRight(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"angle-right":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.5 12L8.5 7L10 5.5L16.5 12L10 18.5L8.5 17L13.5 12Z",fill:"currentColor"})})};try{IconAngleRight.displayName="IconAngleRight",IconAngleRight.__docgenInfo={description:"",displayName:"IconAngleRight",props:{ariaLabel:{defaultValue:{value:"angle-right"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconAngleRight.tsx#IconAngleRight"]={docgenInfo:IconAngleRight.__docgenInfo,name:"IconAngleRight",path:"src/icons/IconAngleRight.tsx#IconAngleRight"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconAngleUp.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconAngleUp:()=>IconAngleUp});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconAngleUp=function IconAngleUp(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"angle-up":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 11.5L17 16.5L18.5 15L12 8.5L5.5 15L7 16.5L12 11.5Z",fill:"currentColor"})})};try{IconAngleUp.displayName="IconAngleUp",IconAngleUp.__docgenInfo={description:"",displayName:"IconAngleUp",props:{ariaLabel:{defaultValue:{value:"angle-up"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconAngleUp.tsx#IconAngleUp"]={docgenInfo:IconAngleUp.__docgenInfo,name:"IconAngleUp",path:"src/icons/IconAngleUp.tsx#IconAngleUp"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconArrowBottomLeft.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconArrowBottomLeft:()=>IconArrowBottomLeft});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconArrowBottomLeft=function IconArrowBottomLeft(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"arrow-bottom-left":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.00134 17.9986H15.0013V15.9986L9.44734 15.9983L18.0163 7.43054L16.6021 6.01633L8.00134 14.6163V8.99865H6.00134V17.9986Z",fill:"currentColor"})})};try{IconArrowBottomLeft.displayName="IconArrowBottomLeft",IconArrowBottomLeft.__docgenInfo={description:"",displayName:"IconArrowBottomLeft",props:{ariaLabel:{defaultValue:{value:"arrow-bottom-left"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconArrowBottomLeft.tsx#IconArrowBottomLeft"]={docgenInfo:IconArrowBottomLeft.__docgenInfo,name:"IconArrowBottomLeft",path:"src/icons/IconArrowBottomLeft.tsx#IconArrowBottomLeft"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconArrowBottomRight.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconArrowBottomRight:()=>IconArrowBottomRight});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconArrowBottomRight=function IconArrowBottomRight(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"arrow-bottom-right":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.0163 17.9986H9.01631V15.9986L14.5703 15.9983L6.00134 7.43054L7.41556 6.01633L16.0163 14.6163V8.99865H18.0163V17.9986Z",fill:"currentColor"})})};try{IconArrowBottomRight.displayName="IconArrowBottomRight",IconArrowBottomRight.__docgenInfo={description:"",displayName:"IconArrowBottomRight",props:{ariaLabel:{defaultValue:{value:"arrow-bottom-right"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconArrowBottomRight.tsx#IconArrowBottomRight"]={docgenInfo:IconArrowBottomRight.__docgenInfo,name:"IconArrowBottomRight",path:"src/icons/IconArrowBottomRight.tsx#IconArrowBottomRight"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconArrowDown.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconArrowDown:()=>IconArrowDown});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconArrowDown=function IconArrowDown(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"arrow-down":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 4V16.4995L17 12.5L18.5 14L12 20.5L5.5 14L7 12.5L11 16.5V4H13Z",fill:"currentColor"})})};try{IconArrowDown.displayName="IconArrowDown",IconArrowDown.__docgenInfo={description:"",displayName:"IconArrowDown",props:{ariaLabel:{defaultValue:{value:"arrow-down"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconArrowDown.tsx#IconArrowDown"]={docgenInfo:IconArrowDown.__docgenInfo,name:"IconArrowDown",path:"src/icons/IconArrowDown.tsx#IconArrowDown"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconArrowLeft.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconArrowLeft:()=>IconArrowLeft});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconArrowLeft=function IconArrowLeft(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"arrow-left":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 5.5L11.5 7L7.5 11H20V13H7.5L11.5 17L10 18.5L3.5 12L10 5.5Z",fill:"currentColor"})})};try{IconArrowLeft.displayName="IconArrowLeft",IconArrowLeft.__docgenInfo={description:"",displayName:"IconArrowLeft",props:{ariaLabel:{defaultValue:{value:"arrow-left"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconArrowLeft.tsx#IconArrowLeft"]={docgenInfo:IconArrowLeft.__docgenInfo,name:"IconArrowLeft",path:"src/icons/IconArrowLeft.tsx#IconArrowLeft"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconArrowRedo.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconArrowRedo:()=>IconArrowRedo});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconArrowRedo=function IconArrowRedo(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"arrow-redo":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 10C7.79086 10 6 11.7909 6 14C6 16.2091 7.79086 18 10 18H14V20H9.96364L9.812 19.9981C6.5869 19.9171 4 17.2611 4 14C4 10.7389 6.5869 8.08285 9.812 8.0019L15.5 8L12 4.5L13.5 3L19.5 9L13.5 15L12 13.5L15.5 10H10Z",fill:"currentColor"})})};try{IconArrowRedo.displayName="IconArrowRedo",IconArrowRedo.__docgenInfo={description:"",displayName:"IconArrowRedo",props:{ariaLabel:{defaultValue:{value:"arrow-redo"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconArrowRedo.tsx#IconArrowRedo"]={docgenInfo:IconArrowRedo.__docgenInfo,name:"IconArrowRedo",path:"src/icons/IconArrowRedo.tsx#IconArrowRedo"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconArrowRight.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconArrowRight:()=>IconArrowRight});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconArrowRight=function IconArrowRight(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"arrow-right":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 5.5L12.5 7L16.5 11H4V13H16.5L12.5 17L14 18.5L20.5 12L14 5.5Z",fill:"currentColor"})})};try{IconArrowRight.displayName="IconArrowRight",IconArrowRight.__docgenInfo={description:"",displayName:"IconArrowRight",props:{ariaLabel:{defaultValue:{value:"arrow-right"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconArrowRight.tsx#IconArrowRight"]={docgenInfo:IconArrowRight.__docgenInfo,name:"IconArrowRight",path:"src/icons/IconArrowRight.tsx#IconArrowRight"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconArrowRightDashed.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconArrowRightDashed:()=>IconArrowRightDashed});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconArrowRightDashed=function IconArrowRightDashed(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"arrow-right-dashed":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{d:"M14 5.5L12.5 7L17.5 12L12.5 17L14 18.5L20.5 12L14 5.5Z",fill:"currentColor"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{d:"M15.5 13L16.5 12L15.5 11H14V13H15.5Z",fill:"currentColor"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{d:"M10 11H12V13H10V11Z",fill:"currentColor"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{d:"M8 13V11H6V13H8Z",fill:"currentColor"})]})};try{IconArrowRightDashed.displayName="IconArrowRightDashed",IconArrowRightDashed.__docgenInfo={description:"",displayName:"IconArrowRightDashed",props:{ariaLabel:{defaultValue:{value:"arrow-right-dashed"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconArrowRightDashed.tsx#IconArrowRightDashed"]={docgenInfo:IconArrowRightDashed.__docgenInfo,name:"IconArrowRightDashed",path:"src/icons/IconArrowRightDashed.tsx#IconArrowRightDashed"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconArrowTopLeft.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconArrowTopLeft:()=>IconArrowTopLeft});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconArrowTopLeft=function IconArrowTopLeft(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"arrow-top-left":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.0177 6V15H8.0177L8.01802 9.446L16.5858 18.015L18 16.6008L9.40002 8H15.0177V6H6.0177Z",fill:"currentColor"})})};try{IconArrowTopLeft.displayName="IconArrowTopLeft",IconArrowTopLeft.__docgenInfo={description:"",displayName:"IconArrowTopLeft",props:{ariaLabel:{defaultValue:{value:"arrow-top-left"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconArrowTopLeft.tsx#IconArrowTopLeft"]={docgenInfo:IconArrowTopLeft.__docgenInfo,name:"IconArrowTopLeft",path:"src/icons/IconArrowTopLeft.tsx#IconArrowTopLeft"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconArrowTopRight.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconArrowTopRight:()=>IconArrowTopRight});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconArrowTopRight=function IconArrowTopRight(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"arrow-top-right":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 6V15H16L15.9997 9.446L7.43188 18.015L6.01767 16.6008L14.6177 8H8.99999V6H18Z",fill:"currentColor"})})};try{IconArrowTopRight.displayName="IconArrowTopRight",IconArrowTopRight.__docgenInfo={description:"",displayName:"IconArrowTopRight",props:{ariaLabel:{defaultValue:{value:"arrow-top-right"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconArrowTopRight.tsx#IconArrowTopRight"]={docgenInfo:IconArrowTopRight.__docgenInfo,name:"IconArrowTopRight",path:"src/icons/IconArrowTopRight.tsx#IconArrowTopRight"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconArrowUndo.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconArrowUndo:()=>IconArrowUndo});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconArrowUndo=function IconArrowUndo(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"arrow-undo":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 10C16.2091 10 18 11.7909 18 14C18 16.2091 16.2091 18 14 18H10V20H14.0364L14.188 19.9981C17.4131 19.9171 20 17.2611 20 14C20 10.7389 17.4131 8.08285 14.188 8.0019L8.5 8L12 4.5L10.5 3L4.5 9L10.5 15L12 13.5L8.5 10H14Z",fill:"currentColor"})})};try{IconArrowUndo.displayName="IconArrowUndo",IconArrowUndo.__docgenInfo={description:"",displayName:"IconArrowUndo",props:{ariaLabel:{defaultValue:{value:"arrow-undo"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconArrowUndo.tsx#IconArrowUndo"]={docgenInfo:IconArrowUndo.__docgenInfo,name:"IconArrowUndo",path:"src/icons/IconArrowUndo.tsx#IconArrowUndo"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconArrowUp.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconArrowUp:()=>IconArrowUp});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconArrowUp=function IconArrowUp(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"arrow-up":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.5L18.5 10L17 11.5L13 7.5V20H11V7.5L7 11.5L5.5 10L12 3.5Z",fill:"currentColor"})})};try{IconArrowUp.displayName="IconArrowUp",IconArrowUp.__docgenInfo={description:"",displayName:"IconArrowUp",props:{ariaLabel:{defaultValue:{value:"arrow-up"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconArrowUp.tsx#IconArrowUp"]={docgenInfo:IconArrowUp.__docgenInfo,name:"IconArrowUp",path:"src/icons/IconArrowUp.tsx#IconArrowUp"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconAtSign.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconAtSign:()=>IconAtSign});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconAtSign=function IconAtSign(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"at-sign":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.8769 20C14.8308 20 17.0667 18.8308 18.2154 17.6205L16.3692 16.5333C15.5487 17.7436 13.8872 18.359 11.8769 18.359C8.38974 18.359 5.86667 15.7949 5.86667 11.9795C5.86667 8.24615 8.36923 5.68205 11.959 5.68205C15.3231 5.68205 17.7026 8 17.7026 11.3436C17.7026 12.9641 16.9846 14.1744 15.959 14.1744C15.3026 14.1744 14.9744 13.8051 14.9744 13.0256V10.6256C14.9744 8.71795 13.7231 7.8359 12.041 7.8359C10.2564 7.8359 9.08718 8.82051 8.49231 9.92821L10.1538 10.8513C10.3385 10.0923 10.9333 9.37436 11.9795 9.37436C12.5949 9.37436 13.1487 9.70256 13.1487 10.2564C13.1487 10.7897 12.4103 10.9538 11.3846 11.159C10.0718 11.4256 8.67692 11.9385 8.67692 13.4974C8.67692 14.7692 9.80513 15.6923 11.1385 15.6923C12.3282 15.6923 13.1487 15.0154 13.4769 14.5846H13.5179C13.9487 15.3846 14.8923 15.6923 15.8974 15.6923C17.641 15.6923 19.5692 14.3795 19.5692 11.3436C19.5692 7.0359 16.2667 4 11.959 4C7.40513 4 4 7.28205 4 11.9795C4 16.841 7.42564 20 11.8769 20ZM11.5692 14.1744C10.9744 14.1744 10.5026 13.8872 10.5026 13.3744C10.5026 12.8 11.0679 12.5869 11.6216 12.4326L11.8564 12.3692C12.5128 12.2051 13.0256 12.0615 13.2103 11.7949V12.5949C13.2103 13.6615 12.3692 14.1744 11.5692 14.1744Z",fill:"currentColor"})})};try{IconAtSign.displayName="IconAtSign",IconAtSign.__docgenInfo={description:"",displayName:"IconAtSign",props:{ariaLabel:{defaultValue:{value:"at-sign"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconAtSign.tsx#IconAtSign"]={docgenInfo:IconAtSign.__docgenInfo,name:"IconAtSign",path:"src/icons/IconAtSign.tsx#IconAtSign"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconBagCogwheel.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconBagCogwheel:()=>IconBagCogwheel});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconBagCogwheel=function IconBagCogwheel(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"bag-cogwheel":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.9772 3.90476C17.9772 2.95238 17.9772 2 11.9995 2C6.02259 2 6.02259 2.95212 6.02259 3.90438C6.02259 4.34759 7.21975 5.75613 8.85629 6.73027C5.23966 8.81779 2.37855 13.9814 2.03782 17.2381C1.62734 21.1615 4.59828 21.8523 9 21.974V20.0684C8.64586 20.0582 8.30432 20.0441 7.97492 20.0245C6.78543 19.9539 5.89026 19.8184 5.24005 19.6041C4.61319 19.3974 4.35502 19.1653 4.22692 18.972C4.09478 18.7725 3.92424 18.3464 4.02037 17.4277C4.1933 15.7748 5.25543 13.237 6.91439 11.0989C8.62693 8.89168 10.4908 7.71429 11.9994 7.71429C12.9215 7.71429 13.9764 8.1541 15.0483 9H17.8764C17.0596 8.10175 16.1562 7.3251 15.199 6.76301C16.807 5.84216 17.9772 4.50064 17.9772 3.90476ZM14.8859 4.66307C15.1427 4.47216 15.3653 4.28013 15.5485 4.10203C15.4444 4.08527 15.3284 4.06865 15.1993 4.05265C14.4754 3.96296 13.4479 3.90476 11.9995 3.90476C10.5511 3.90476 9.52363 3.96296 8.7999 4.05265C8.71084 4.06368 8.62801 4.07501 8.55106 4.08648C8.72312 4.24874 8.92149 4.41987 9.14194 4.58999C10.1159 5.34161 11.1705 5.80952 11.9996 5.80952C12.8765 5.80952 13.9464 5.3615 14.8859 4.66307Z",fill:"currentColor"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.0279 10.6583C15.3788 9.78057 16.6212 9.78057 16.9721 10.6583C17.2148 11.2656 17.9488 11.5041 18.5022 11.1555C19.302 10.6516 20.3071 11.3819 20.0751 12.2982C19.9145 12.9322 20.3681 13.5566 21.0207 13.5998C21.9639 13.6623 22.3479 14.8439 21.6215 15.4488C21.1189 15.8674 21.1189 16.6391 21.6215 17.0577C22.3479 17.6626 21.9639 18.8443 21.0207 18.9067C20.3681 18.9499 19.9145 19.5743 20.0751 20.2083C20.3071 21.1246 19.302 21.8549 18.5022 21.351C17.9488 21.0024 17.2148 21.2409 16.9721 21.8482C16.6212 22.7259 15.3788 22.7259 15.0279 21.8482C14.7852 21.2409 14.0512 21.0024 13.4978 21.351C12.698 21.8549 11.6929 21.1246 11.9249 20.2083C12.0855 19.5743 11.6319 18.9499 10.9793 18.9067C10.0361 18.8443 9.65214 17.6626 10.3785 17.0577C10.8811 16.6391 10.8811 15.8674 10.3785 15.4488C9.65214 14.8439 10.0361 13.6623 10.9793 13.5998C11.6319 13.5566 12.0855 12.9322 11.9249 12.2982C11.6929 11.3819 12.698 10.6516 13.4978 11.1555C14.0512 11.5041 14.7852 11.2656 15.0279 10.6583ZM17.973 16.2264C17.973 17.3309 17.0776 18.2264 15.973 18.2264C14.8685 18.2264 13.973 17.3309 13.973 16.2264C13.973 15.1218 14.8685 14.2264 15.973 14.2264C17.0776 14.2264 17.973 15.1218 17.973 16.2264Z",fill:"currentColor"})]})};try{IconBagCogwheel.displayName="IconBagCogwheel",IconBagCogwheel.__docgenInfo={description:"",displayName:"IconBagCogwheel",props:{ariaLabel:{defaultValue:{value:"bag-cogwheel"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconBagCogwheel.tsx#IconBagCogwheel"]={docgenInfo:IconBagCogwheel.__docgenInfo,name:"IconBagCogwheel",path:"src/icons/IconBagCogwheel.tsx#IconBagCogwheel"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconBell.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconBell:()=>IconBell});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconBell=function IconBell(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"bell":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 17L17.998 16.7558C17.9834 15.914 17.888 15.4219 17.6646 15.0002H6.33536C6.11201 15.4219 6.01663 15.914 6.00202 16.7558L6 17H18ZM13 19H11C11 19.5523 11.4477 20 12 20C12.5128 20 12.9355 19.614 12.9933 19.1166L13 19ZM12 4C9.8578 4 8.10892 5.68397 8.0049 7.80036L8 8V11C8 11.8478 7.90415 12.4638 7.68639 13.001H16.3136C16.12 12.5235 16.0228 11.9837 16.0036 11.2742L16 11V8C16 5.79086 14.2091 4 12 4ZM5.10695 13.2598L5.34224 12.9814C5.82828 12.4172 5.98003 12.0961 5.9981 11.2009L6 11V8C6 4.68629 8.68629 2 12 2C15.2384 2 17.8776 4.56557 17.9959 7.77506L18 8L18.0019 11.2009C18.0186 12.0272 18.1492 12.3644 18.5514 12.8551L18.8931 13.2598C19.6251 14.1657 19.9597 15.0654 19.9966 16.6873L20 17V19H15C15 20.6569 13.6569 22 12 22C10.4023 22 9.09634 20.7511 9.00509 19.1763L9 19H4V17C4 15.1778 4.3292 14.2223 5.10695 13.2598Z",fill:"currentColor"})})};try{IconBell.displayName="IconBell",IconBell.__docgenInfo={description:"",displayName:"IconBell",props:{ariaLabel:{defaultValue:{value:"bell"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconBell.tsx#IconBell"]={docgenInfo:IconBell.__docgenInfo,name:"IconBell",path:"src/icons/IconBell.tsx#IconBell"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconBellCrossed.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconBellCrossed:()=>IconBellCrossed});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconBellCrossed=function IconBellCrossed(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"bell-crossed":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.9999 9.534L18 11L18.0019 11.2009C18.0186 12.0272 18.1492 12.3644 18.5515 12.8551L18.8931 13.2598C19.6251 14.1657 19.9597 15.0654 19.9966 16.6873L20 17V19H15C15 20.6569 13.6569 22 12 22C10.4023 22 9.09635 20.7511 9.00511 19.1763L9.00001 19H8.53391L10.5339 17H18L17.998 16.7558C17.9834 15.914 17.888 15.4219 17.6647 15.0002L12.5339 15L14.5339 13L16.3136 13.001C16.1432 12.5806 16.0475 12.112 16.0139 11.5219L17.9999 9.534ZM19.7929 2.79289L21.2071 4.20711L4.70712 20.7071L3.29291 19.2929L19.7929 2.79289ZM13 19H11C11 19.5523 11.4477 20 12 20C12.5128 20 12.9355 19.614 12.9933 19.1166L13 19ZM12 2C13.7756 2 15.3711 2.7713 16.4697 3.99713L15.0517 5.41396C14.318 4.54897 13.2231 4 12 4C9.85782 4 8.10894 5.68397 8.00491 7.80036L8.00001 8V11C8.00001 11.6765 7.93897 12.2055 7.80365 12.6646L4.01107 16.453C4.07419 14.9768 4.41098 14.1211 5.10696 13.2598L5.34226 12.9814C5.82829 12.4172 5.98004 12.0961 5.99811 11.2009L6.00001 8C6.00001 4.68629 8.68631 2 12 2Z",fill:"currentColor"})})};try{IconBellCrossed.displayName="IconBellCrossed",IconBellCrossed.__docgenInfo={description:"",displayName:"IconBellCrossed",props:{ariaLabel:{defaultValue:{value:"bell-crossed"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconBellCrossed.tsx#IconBellCrossed"]={docgenInfo:IconBellCrossed.__docgenInfo,name:"IconBellCrossed",path:"src/icons/IconBellCrossed.tsx#IconBellCrossed"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconBinoculars.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconBinoculars:()=>IconBinoculars});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconBinoculars=function IconBinoculars(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"binoculars":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{d:"M21.2722 11.8678L21.2651 11.8578C21.2019 11.7624 21.1346 11.6701 21.0643 11.5797C21.0643 11.5797 16.6752 5.80113 16.6521 5.77001L16.6491 5.76599C16.2967 5.30017 15.7436 5 15.1211 5C14.057 5 13.1946 5.87642 13.1946 6.95765L13.1524 8.62918C13.1524 8.70347 13.0922 8.76371 13.0179 8.76371H10.9819C10.9077 8.76371 10.8474 8.70347 10.8474 8.62918L10.6798 7.01487C10.6798 5.95573 9.82141 5.09838 8.76327 5.09838C8.14385 5.09838 7.5937 5.39253 7.24334 5.84831L2.93651 11.5797C2.86623 11.6701 2.79897 11.7624 2.73572 11.8578L2.72869 11.8678C2.25384 12.5897 1.98278 13.4581 2.00085 14.3907C2.04904 16.764 3.99163 18.6915 6.3649 18.7226C8.83556 18.7547 10.8474 16.762 10.8474 14.2993V12.2393C10.8474 12.1238 10.9408 12.0305 11.0562 12.0305H12.9436C13.0591 12.0305 13.1524 12.1238 13.1524 12.2393V14.2431C13.1524 16.6827 15.103 18.7046 17.5426 18.7226C20.0012 18.7407 22 16.7529 22 14.2993C22 13.4008 21.7309 12.5656 21.2712 11.8678H21.2722ZM6.42514 16.9778C5.01061 16.9778 3.86413 15.8313 3.86413 14.4168C3.86413 13.0023 5.01061 11.8558 6.42514 11.8558C7.83967 11.8558 8.98615 13.0023 8.98615 14.4168C8.98615 15.8313 7.83967 16.9778 6.42514 16.9778ZM17.5767 16.9818C16.1622 16.9818 15.0157 15.8353 15.0157 14.4208C15.0157 13.0063 16.1622 11.8598 17.5767 11.8598C18.9912 11.8598 20.1377 13.0063 20.1377 14.4208C20.1377 15.8353 18.9912 16.9818 17.5767 16.9818Z",fill:"currentColor"})})};try{IconBinoculars.displayName="IconBinoculars",IconBinoculars.__docgenInfo={description:"",displayName:"IconBinoculars",props:{ariaLabel:{defaultValue:{value:"binoculars"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconBinoculars.tsx#IconBinoculars"]={docgenInfo:IconBinoculars.__docgenInfo,name:"IconBinoculars",path:"src/icons/IconBinoculars.tsx#IconBinoculars"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconCake.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconCake:()=>IconCake});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconCake=function IconCake(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"cake":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 2.18036L18.6171 3.07374C19.7056 4.64959 20.25 5.73838 20.25 6.49999C20.25 7.47956 19.624 8.31292 18.7503 8.62187L18.7506 10.0079C20.624 10.1276 22 11.5845 22 13.5V22H2V13.5C2 11.5841 3.3765 10.127 5.25042 10.0079L5.25077 8.62223C4.37647 8.31357 3.75 7.47994 3.75 6.49999C3.75 5.78318 4.23223 4.77655 5.19646 3.3468L5.3829 3.07374L6 2.18036L6.6171 3.07374C7.7056 4.64959 8.25 5.73838 8.25 6.49999C8.25 7.47956 7.62402 8.31292 6.75025 8.62187L6.75 9.99936H11.25L11.2508 8.62223C10.4227 8.32988 9.81689 7.56657 9.75519 6.65404L9.75 6.49999C9.75 5.78318 10.2322 4.77655 11.1965 3.3468L11.3829 3.07374L12 2.18036L12.6171 3.07374C13.7056 4.64959 14.25 5.73838 14.25 6.49999C14.25 7.47956 13.624 8.31292 12.7503 8.62187L12.75 9.99936H17.25L17.2508 8.62223C16.4227 8.32988 15.8169 7.56657 15.7552 6.65404L15.75 6.49999C15.75 5.78318 16.2322 4.77655 17.1965 3.3468L17.3829 3.07374L18 2.18036ZM15.2525 17.1749L15 17.025L14.9911 17.0311C14.1889 17.5331 13.2875 17.808 12.2991 17.8538L12 17.8607C10.9943 17.8607 10.0744 17.6315 9.2525 17.1749L9 17.025L8.99113 17.0311C8.18892 17.5331 7.28752 17.808 6.29912 17.8538L6 17.8607C5.28909 17.8607 4.62104 17.7462 4.00017 17.5177L4 20H20L20.0008 17.5174C19.3797 17.746 18.7113 17.8607 18 17.8607C16.9943 17.8607 16.0744 17.6315 15.2525 17.1749ZM18.5 12H5.5C4.5 12 3.99984 12.5 3.99984 13.5V15.8741C4.59297 16.1992 5.25576 16.3607 6 16.3607C6.88939 16.3607 7.66247 16.13 8.33935 15.6652L8.53954 15.5187L9 15.1606L9.46046 15.5187C10.1841 16.0815 11.0217 16.3607 12 16.3607C12.8894 16.3607 13.6625 16.13 14.3393 15.6652L14.5395 15.5187L15 15.1606L15.4605 15.5187C16.1841 16.0815 17.0217 16.3607 18 16.3607C18.7447 16.3607 19.4078 16.199 20.0012 15.8735L20 13.5C20 12.5 19.5 12 18.5 12ZM12.1777 5.16381L12 4.86799L11.7715 5.25184L11.5527 5.65496C11.3509 6.05137 11.25 6.3386 11.25 6.49999C11.25 6.91421 11.5858 7.24999 12 7.24999C12.4142 7.24999 12.75 6.91421 12.75 6.49999C12.75 6.35877 12.6728 6.12121 12.5182 5.79846L12.4473 5.65496L12.277 5.33744L12.1777 5.16381ZM18.1777 5.16381L18 4.86799L17.7715 5.25184L17.5527 5.65496C17.3509 6.05137 17.25 6.3386 17.25 6.49999C17.25 6.91421 17.5858 7.24999 18 7.24999C18.4142 7.24999 18.75 6.91421 18.75 6.49999C18.75 6.35877 18.6728 6.12121 18.5182 5.79846L18.4473 5.65496L18.277 5.33744L18.1777 5.16381ZM6.17766 5.16381L6 4.86799L5.77149 5.25184L5.55271 5.65496C5.35089 6.05137 5.25 6.3386 5.25 6.49999C5.25 6.91421 5.58579 7.24999 6 7.24999C6.41421 7.24999 6.75 6.91421 6.75 6.49999C6.75 6.35877 6.67275 6.12121 6.51824 5.79846L6.44729 5.65496L6.277 5.33744L6.17766 5.16381Z",fill:"currentColor"})})};try{IconCake.displayName="IconCake",IconCake.__docgenInfo={description:"",displayName:"IconCake",props:{ariaLabel:{defaultValue:{value:"cake"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconCake.tsx#IconCake"]={docgenInfo:IconCake.__docgenInfo,name:"IconCake",path:"src/icons/IconCake.tsx#IconCake"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconCalendar.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconCalendar:()=>IconCalendar});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconCalendar=function IconCalendar(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"calendar":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17 2C17.5523 2 18 2.44772 18 3V4H22V21H2V4H6V3C6 2.44772 6.44772 2 7 2C7.55228 2 8 2.44772 8 3V4H16V3C16 2.44772 16.4477 2 17 2ZM20 11H4V19H20V11ZM20 6H4V9H20V6Z",fill:"currentColor"})})};try{IconCalendar.displayName="IconCalendar",IconCalendar.__docgenInfo={description:"",displayName:"IconCalendar",props:{ariaLabel:{defaultValue:{value:"calendar"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconCalendar.tsx#IconCalendar"]={docgenInfo:IconCalendar.__docgenInfo,name:"IconCalendar",path:"src/icons/IconCalendar.tsx#IconCalendar"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconCalendarClock.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconCalendarClock:()=>IconCalendarClock});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconCalendarClock=function IconCalendarClock(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"calendar-clock":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17 12C20.3137 12 23 14.6863 23 18C23 21.3137 20.3137 24 17 24C13.6863 24 11 21.3137 11 18C11 14.6863 13.6863 12 17 12ZM17 14C14.7909 14 13 15.7909 13 18C13 20.2091 14.7909 22 17 22C19.2091 22 21 20.2091 21 18C21 15.7909 19.2091 14 17 14ZM17 2C17.5523 2 18 2.44772 18 3V4H22L22.0016 13.1026C21.4273 12.5162 20.7507 12.0304 20.0007 11.674L20 11H4V19L10.071 19.001C10.1721 19.7071 10.3786 20.3791 10.674 21.0007L2 21V4H6V3C6 2.44772 6.44772 2 7 2C7.55228 2 8 2.44772 8 3V4H16V3C16 2.44772 16.4477 2 17 2ZM17.5 15V17.9395L19.0303 19.4697L17.9697 20.5303L16 18.5607V15H17.5ZM20 6H4V9H20V6Z",fill:"currentColor"})})};try{IconCalendarClock.displayName="IconCalendarClock",IconCalendarClock.__docgenInfo={description:"",displayName:"IconCalendarClock",props:{ariaLabel:{defaultValue:{value:"calendar-clock"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconCalendarClock.tsx#IconCalendarClock"]={docgenInfo:IconCalendarClock.__docgenInfo,name:"IconCalendarClock",path:"src/icons/IconCalendarClock.tsx#IconCalendarClock"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconCalendarCross.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconCalendarCross:()=>IconCalendarCross});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconCalendarCross=function IconCalendarCross(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"calendar-cross":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17 2C17.5523 2 18 2.44772 18 3V4H22V13H20V11H4V19H13.5V21H2V4H6V3C6 2.44772 6.44772 2 7 2C7.55228 2 8 2.44772 8 3V4H16V3C16 2.44772 16.4477 2 17 2ZM20 6H4V9H20V6ZM22.5355 16.4142L20.5 18.5L22.5 20.5L21 22L19 20L17 22L15.4645 20.6569L17.5 18.5L15.5 16.5L17 15L19 17L21 15L22.5355 16.4142Z",fill:"currentColor"})})};try{IconCalendarCross.displayName="IconCalendarCross",IconCalendarCross.__docgenInfo={description:"",displayName:"IconCalendarCross",props:{ariaLabel:{defaultValue:{value:"calendar-cross"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconCalendarCross.tsx#IconCalendarCross"]={docgenInfo:IconCalendarCross.__docgenInfo,name:"IconCalendarCross",path:"src/icons/IconCalendarCross.tsx#IconCalendarCross"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconCalendarEvent.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconCalendarEvent:()=>IconCalendarEvent});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconCalendarEvent=function IconCalendarEvent(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"calendar-event":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.4554 22.2312L15.5475 21.4986L15.8597 19.0199L14.1757 17.2064L13.6741 16.6712L14.3907 16.5309L16.8118 16.0736L17.989 13.8808L18.3371 13.2312L18.6851 13.8808L19.8624 16.0736L22.2834 16.5309L23 16.6712L22.4984 17.2064L20.8093 19.0251L21.1215 21.4986L21.2188 22.2312L20.5585 21.9143L18.3371 20.849L16.1156 21.9143L15.4554 22.2312ZM17 2C17.5523 2 18 2.44772 18 3V4H22V12H20V11H4V19H13V21H2V4H6V3C6 2.44772 6.44772 2 7 2C7.55228 2 8 2.44772 8 3V4H16V3C16 2.44772 16.4477 2 17 2ZM20 6H4V9H20V6Z",fill:"currentColor"})})};try{IconCalendarEvent.displayName="IconCalendarEvent",IconCalendarEvent.__docgenInfo={description:"",displayName:"IconCalendarEvent",props:{ariaLabel:{defaultValue:{value:"calendar-event"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconCalendarEvent.tsx#IconCalendarEvent"]={docgenInfo:IconCalendarEvent.__docgenInfo,name:"IconCalendarEvent",path:"src/icons/IconCalendarEvent.tsx#IconCalendarEvent"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconCalendarPlus.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconCalendarPlus:()=>IconCalendarPlus});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconCalendarPlus=function IconCalendarPlus(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"calendar-plus":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 14V17H23V19H20V22H18V19H15V17H18V14H20ZM17 2C17.5523 2 18 2.44772 18 3V4H22V12H20V11H4V19H13V21H2V4H6V3C6 2.44772 6.44772 2 7 2C7.55228 2 8 2.44772 8 3V4H16V3C16 2.44772 16.4477 2 17 2ZM20 6H4V9H20V6Z",fill:"currentColor"})})};try{IconCalendarPlus.displayName="IconCalendarPlus",IconCalendarPlus.__docgenInfo={description:"",displayName:"IconCalendarPlus",props:{ariaLabel:{defaultValue:{value:"calendar-plus"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconCalendarPlus.tsx#IconCalendarPlus"]={docgenInfo:IconCalendarPlus.__docgenInfo,name:"IconCalendarPlus",path:"src/icons/IconCalendarPlus.tsx#IconCalendarPlus"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconCalendarRecurring.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconCalendarRecurring:()=>IconCalendarRecurring});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconCalendarRecurring=function IconCalendarRecurring(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"calendar-recurring":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.5 24L16.2788 23.9956C13.3438 23.8795 11 21.4635 11 18.5C11 15.5365 13.3438 13.1205 16.2788 13.0044L16.5 13L16.7733 13.0067C18.0431 13.0694 19.2336 13.5684 20.1999 14.4417L20.422 14.653L20.4211 13H22V18H17V16.4211L19.299 16.421L19.0724 16.1266L18.9157 15.9672C18.2708 15.3515 17.4146 15 16.5 15C14.567 15 13 16.567 13 18.5C13 20.433 14.567 22 16.5 22L16.6059 21.9984L16.75 21.9912L16.95 21.9713L17.1184 21.9456L17.2213 21.9256L17.3973 21.8839L17.585 21.8286L17.696 21.7906L17.8733 21.7206L18.069 21.6299L18.165 21.5794L18.3374 21.4795L18.2261 21.5459C18.367 21.4658 18.5024 21.3759 18.6315 21.2765L18.8061 21.1329C19.229 20.7622 19.5618 20.2912 19.7675 19.7571L21.6348 20.475C21.3908 21.1089 21.0327 21.6863 20.5858 22.1819L20.3891 22.3891L20.1633 22.6026L19.9501 22.7836L19.7949 22.9043L19.6185 23.0312L19.4441 23.1465L19.2063 23.2892L18.9788 23.4111L18.7398 23.5248L18.4975 23.626L18.3538 23.6795L18.1096 23.7607L17.8372 23.836L17.5226 23.9049L17.3736 23.931L17.0542 23.9723L16.8757 23.9874L16.7212 23.9956L16.5 24ZM17 2C17.5523 2 18 2.44772 18 3V4H22V11H4V19H10C10 19.5 10.2046 20.3784 10.5 21H2V4H6V3C6 2.44772 6.44772 2 7 2C7.55228 2 8 2.44772 8 3V4H16V3C16 2.44772 16.4477 2 17 2ZM20 6H4V9H20V6Z",fill:"currentColor"})})};try{IconCalendarRecurring.displayName="IconCalendarRecurring",IconCalendarRecurring.__docgenInfo={description:"",displayName:"IconCalendarRecurring",props:{ariaLabel:{defaultValue:{value:"calendar-recurring"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconCalendarRecurring.tsx#IconCalendarRecurring"]={docgenInfo:IconCalendarRecurring.__docgenInfo,name:"IconCalendarRecurring",path:"src/icons/IconCalendarRecurring.tsx#IconCalendarRecurring"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconCamera.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconCamera:()=>IconCamera});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconCamera=function IconCamera(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"camera":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 3C15.0933 3 15.7067 3.32703 16.5378 4.12663L16.8346 4.41869C17.2766 4.84807 17.4963 4.97718 17.8797 4.99711L18 5H19C21.1422 5 22.8911 6.68397 22.9951 8.80036L23 9V16C23 18.1422 21.316 19.8911 19.1996 19.9951L19 20H5C2.8578 20 1.10892 18.316 1.0049 16.1996L1 16V9C1 6.8578 2.68397 5.10892 4.80036 5.0049L5 5H6C6.46201 5 6.6792 4.89101 7.16543 4.41869L7.46223 4.12663C8.23794 3.38034 8.82398 3.0457 9.78754 3.0044L10 3H14ZM14 5H10C9.53799 5 9.3208 5.10899 8.83457 5.58131L8.53777 5.87337C7.76206 6.61966 7.17602 6.9543 6.21246 6.9956L6 7H5C3.94564 7 3.08183 7.81588 3.00549 8.85074L3 9V16C3 17.0544 3.81588 17.9182 4.85074 17.9945L5 18H19C20.0544 18 20.9182 17.1841 20.9945 16.1493L21 16V9C21 7.94564 20.1841 7.08183 19.1493 7.00549L19 7H18C16.9067 7 16.2933 6.67297 15.4622 5.87337L15.1654 5.58131C14.7234 5.15193 14.5037 5.02282 14.1203 5.00289L14 5ZM12 7C14.7614 7 17 9.23858 17 12C17 14.7614 14.7614 17 12 17C9.23858 17 7 14.7614 7 12C7 9.23858 9.23858 7 12 7ZM12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9ZM19 8C19.5523 8 20 8.44772 20 9C20 9.55228 19.5523 10 19 10C18.4477 10 18 9.55228 18 9C18 8.44772 18.4477 8 19 8Z",fill:"currentColor"})})};try{IconCamera.displayName="IconCamera",IconCamera.__docgenInfo={description:"",displayName:"IconCamera",props:{ariaLabel:{defaultValue:{value:"camera"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconCamera.tsx#IconCamera"]={docgenInfo:IconCamera.__docgenInfo,name:"IconCamera",path:"src/icons/IconCamera.tsx#IconCamera"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconCheck.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconCheck:()=>IconCheck});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconCheck=function IconCheck(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"check":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 7L10 18L4.5 12.5L6 11L10 15L19.5 5.5L21 7Z",fill:"currentColor"})})};try{IconCheck.displayName="IconCheck",IconCheck.__docgenInfo={description:"",displayName:"IconCheck",props:{ariaLabel:{defaultValue:{value:"check"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconCheck.tsx#IconCheck"]={docgenInfo:IconCheck.__docgenInfo,name:"IconCheck",path:"src/icons/IconCheck.tsx#IconCheck"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconCheckCircle.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconCheckCircle:()=>IconCheckCircle});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconCheckCircle=function IconCheckCircle(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"check-circle":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4ZM16.5 8L18 9.5L10.5 17L6 12.5L7.5 11L10.5 14L16.5 8Z",fill:"currentColor"})})};try{IconCheckCircle.displayName="IconCheckCircle",IconCheckCircle.__docgenInfo={description:"",displayName:"IconCheckCircle",props:{ariaLabel:{defaultValue:{value:"check-circle"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconCheckCircle.tsx#IconCheckCircle"]={docgenInfo:IconCheckCircle.__docgenInfo,name:"IconCheckCircle",path:"src/icons/IconCheckCircle.tsx#IconCheckCircle"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconCheckCircleFill.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconCheckCircleFill:()=>IconCheckCircleFill});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconCheckCircleFill=function IconCheckCircleFill(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"check-circle-fill":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3ZM16.5 8L18 9.5L10.5 17L6 12.5L7.5 11L10.5 14L16.5 8Z",fill:"currentColor"})})};try{IconCheckCircleFill.displayName="IconCheckCircleFill",IconCheckCircleFill.__docgenInfo={description:"",displayName:"IconCheckCircleFill",props:{ariaLabel:{defaultValue:{value:"check-circle-fill"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconCheckCircleFill.tsx#IconCheckCircleFill"]={docgenInfo:IconCheckCircleFill.__docgenInfo,name:"IconCheckCircleFill",path:"src/icons/IconCheckCircleFill.tsx#IconCheckCircleFill"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconChildren.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconChildren:()=>IconChildren});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconChildren=function IconChildren(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"children":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 24V21H7V24H5Z",fill:"currentColor"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 24V21H9V24H7Z",fill:"currentColor"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 18C5.44772 18 5 18.4477 5 19V21H3V19C3 17.3431 4.34315 16 6 16H8C9.65685 16 11 17.3431 11 19V21H9V19C9 18.4477 8.55228 18 8 18H6Z",fill:"currentColor"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 10.5C8.38071 10.5 9.5 11.6193 9.5 13C9.5 14.3807 8.38071 15.5 7 15.5C5.61929 15.5 4.5 14.3807 4.5 13C4.5 11.6193 5.61929 10.5 7 10.5ZM7 12.5C6.72386 12.5 6.5 12.7239 6.5 13C6.5 13.2761 6.72386 13.5 7 13.5C7.27614 13.5 7.5 13.2761 7.5 13C7.5 12.7239 7.27614 12.5 7 12.5Z",fill:"currentColor"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 24V21H17V24H15Z",fill:"currentColor"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17 24V21H19V24H17Z",fill:"currentColor"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 18C15.4477 18 15 18.4477 15 19V21H13V19C13 17.3431 14.3431 16 16 16H18C19.6569 16 21 17.3431 21 19V21H19V19C19 18.4477 18.5523 18 18 18H16Z",fill:"currentColor"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17 13.5C17.2761 13.5 17.5 13.2761 17.5 13C17.5 12.7239 17.2761 12.5 17 12.5C16.7239 12.5 16.5 12.7239 16.5 13C16.5 13.2761 16.7239 13.5 17 13.5ZM17 15.5C18.3807 15.5 19.5 14.3807 19.5 13C19.5 11.6193 18.3807 10.5 17 10.5C15.6193 10.5 14.5 11.6193 14.5 13C14.5 14.3807 15.6193 15.5 17 15.5Z",fill:"currentColor"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{d:"M13.2195 14.4549C12.799 14.8754 12.6372 15.4567 12.7342 16.0009C13.2784 16.0979 13.8597 15.9361 14.2802 15.5156C14.7007 15.0951 14.8624 14.5138 14.7655 13.9696C14.2213 13.8727 13.64 14.0344 13.2195 14.4549Z",fill:"currentColor"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{d:"M20.7764 14.4549C21.1969 14.8754 21.3587 15.4567 21.2617 16.0009C20.7175 16.0978 20.1363 15.9361 19.7158 15.5156C19.2953 15.0951 19.1335 14.5138 19.2305 13.9696C19.7746 13.8726 20.3559 14.0344 20.7764 14.4549Z",fill:"currentColor"})]})};try{IconChildren.displayName="IconChildren",IconChildren.__docgenInfo={description:"",displayName:"IconChildren",props:{ariaLabel:{defaultValue:{value:"children"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconChildren.tsx#IconChildren"]={docgenInfo:IconChildren.__docgenInfo,name:"IconChildren",path:"src/icons/IconChildren.tsx#IconChildren"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconClock.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconClock:()=>IconClock});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconClock=function IconClock(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"clock":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4ZM13 6L13.0006 11.584L16.2426 14.8284L14.8284 16.2426L11.2929 12.7071L11.2946 12.706L11.0007 12.4138L11 6H13Z",fill:"currentColor"})})};try{IconClock.displayName="IconClock",IconClock.__docgenInfo={description:"",displayName:"IconClock",props:{ariaLabel:{defaultValue:{value:"clock"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconClock.tsx#IconClock"]={docgenInfo:IconClock.__docgenInfo,name:"IconClock",path:"src/icons/IconClock.tsx#IconClock"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconClockCross.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconClockCross:()=>IconClockCross});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconClockCross=function IconClockCross(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"clock-cross":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C17.5228 2 22 6.47715 22 12C22 12.168 21.9959 12.3351 21.9877 12.5011L19.9846 12.5005C19.9948 12.335 20 12.1681 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20C12.339 20 12.6731 19.9789 13.001 19.938L13.0011 21.9505C12.6718 21.9832 12.3379 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM20.5 14.5L22 16L20 18C20.8902 18.8716 21.5569 19.5382 22 20C22.4431 20.4618 22.4549 20.5022 22.0355 20.1213L20.5 21.5L18.5 19.5L16.5 21.5L15 20L17 18L15 16L16.5 14.5L18.5 16.5L20.5 14.5ZM13 6L12.9993 12.4138L12.7054 12.706L12.7071 12.7071L9.17157 16.2426L7.75736 14.8284L10.9994 11.584L11 6H13Z",fill:"currentColor"})})};try{IconClockCross.displayName="IconClockCross",IconClockCross.__docgenInfo={description:"",displayName:"IconClockCross",props:{ariaLabel:{defaultValue:{value:"clock-cross"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconClockCross.tsx#IconClockCross"]={docgenInfo:IconClockCross.__docgenInfo,name:"IconClockCross",path:"src/icons/IconClockCross.tsx#IconClockCross"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconClockPlus.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconClockPlus:()=>IconClockPlus});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconClockPlus=function IconClockPlus(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"clock-plus":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C17.5228 2 22 6.47715 22 12C22 12.3379 21.9832 12.6718 21.9505 13.0011L19.938 13.001C19.9789 12.6731 20 12.339 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20C12.339 20 12.6731 19.9789 13.001 19.938L13.0011 21.9505C12.6718 21.9832 12.3379 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM19 14V17H22V19H19V22H17V19H14V17H17V14H19ZM13 6L12.9993 12.4138L12.7054 12.706L12.7071 12.7071L9.17157 16.2426L7.75736 14.8284L10.9994 11.584L11 6H13Z",fill:"currentColor"})})};try{IconClockPlus.displayName="IconClockPlus",IconClockPlus.__docgenInfo={description:"",displayName:"IconClockPlus",props:{ariaLabel:{defaultValue:{value:"clock-plus"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconClockPlus.tsx#IconClockPlus"]={docgenInfo:IconClockPlus.__docgenInfo,name:"IconClockPlus",path:"src/icons/IconClockPlus.tsx#IconClockPlus"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconCoffeeCupSaucer.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconCoffeeCupSaucer:()=>IconCoffeeCupSaucer});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconCoffeeCupSaucer=function IconCoffeeCupSaucer(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"coffee-cup-saucer":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 5C16.5523 5 17 5.44772 17 6H19C20.6569 6 22 7.79086 22 10C22 12.1302 20.7511 13.8715 19.1763 13.9932L19 14L16.8738 14.0008C16.4295 15.7256 14.8636 17 13 17H8C5.79086 17 4 15.2091 4 13V6C4 5.44772 4.44772 5 5 5H16ZM17 12H19L19.0588 11.9966C19.5837 11.9358 20 11.0651 20 10C20 8.89543 19.5523 8 19 8H17V12ZM2 18H19C19 19.1046 18.1046 20 17 20H4C2.89543 20 2 19.1046 2 18Z",fill:"currentColor"})})};try{IconCoffeeCupSaucer.displayName="IconCoffeeCupSaucer",IconCoffeeCupSaucer.__docgenInfo={description:"",displayName:"IconCoffeeCupSaucer",props:{ariaLabel:{defaultValue:{value:"coffee-cup-saucer"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconCoffeeCupSaucer.tsx#IconCoffeeCupSaucer"]={docgenInfo:IconCoffeeCupSaucer.__docgenInfo,name:"IconCoffeeCupSaucer",path:"src/icons/IconCoffeeCupSaucer.tsx#IconCoffeeCupSaucer"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconCogwheel.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconCogwheel:()=>IconCogwheel});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconCogwheel=function IconCogwheel(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"cogwheel":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.7266 2C12.6913 2 13.5095 2.5019 13.8733 3.33527L13.9327 3.48574L14.3045 4.4876C14.346 4.6546 14.468 4.77746 14.634 4.8192C14.8176 4.86543 14.976 4.8651 15.1395 4.80647L15.2384 4.76421L16.065 4.46872C16.8962 4.05041 17.8272 4.08789 18.4732 4.60849C19.3374 5.22981 19.6565 6.285 19.3292 7.28679L19.2721 7.44445L18.8443 8.36691C18.7531 8.55053 18.7531 8.72335 18.8443 8.90697C18.9143 9.04778 19.0064 9.13872 19.1639 9.23135L19.2667 9.28755L20.3601 9.65443C21.1858 9.93145 21.8306 10.6186 21.9615 11.4098C22.1514 12.4293 21.6246 13.4098 20.6828 13.8564L20.5454 13.9165L19.3116 14.3502C19.1457 14.392 19.0236 14.5148 18.9821 14.6818C18.9362 14.8667 18.9365 15.0262 18.9889 15.1768L19.0266 15.2662L19.4518 16.1223C19.8414 16.9066 19.8331 17.7793 19.4043 18.4211L19.313 18.5463C18.6755 19.4445 17.6065 19.7885 16.653 19.4179L16.5109 19.3569L15.5183 18.981C15.3358 18.8892 15.1642 18.8892 14.9817 18.981C14.8112 19.0668 14.6942 19.1784 14.6347 19.3142L14.6059 19.3987L14.2966 20.4548C13.985 21.2703 13.2955 21.8517 12.4319 21.9758L12.268 21.9936L12.0911 22C11.2055 22 10.3797 21.4615 10.0067 20.6586L9.9457 20.5143L9.57393 19.5124C9.53245 19.3454 9.4104 19.2225 9.24449 19.1808C9.06079 19.1346 8.90239 19.1349 8.74613 19.1907L7.81344 19.5924C6.98225 20.0107 6.05123 19.9733 5.40523 19.4527C4.54104 18.8313 4.22191 17.7761 4.54742 16.7785L4.60419 16.6215L5.0341 15.6331C5.12531 15.4495 5.12531 15.2766 5.0341 15.093C4.96416 14.9522 4.87207 14.8613 4.71451 14.7687L4.61177 14.7125L3.70054 14.4067C2.87795 14.1307 2.23441 13.446 2.038 12.588C1.85054 11.5187 2.36945 10.5322 3.31247 10.0843L3.45004 10.024L4.44538 9.64978C4.61129 9.60803 4.73334 9.48517 4.77482 9.31818C4.82074 9.13328 4.82041 8.97384 4.76217 8.80933L4.72018 8.70978L4.43018 7.88459C4.01099 7.11104 4.04841 6.16936 4.56548 5.45374C5.20292 4.55547 6.27192 4.21146 7.23467 4.58588L8.36017 5.08019C8.54259 5.172 8.71429 5.172 8.89671 5.08019C9.06729 4.99434 9.18428 4.88278 9.24376 4.7469L9.27251 4.66246L9.58004 3.61124C9.89314 2.72881 10.623 2.13982 11.5385 2.01784L11.7266 2ZM11.7289 3.75C11.4993 3.75 11.2855 3.87978 11.1834 4.11109L11.1505 4.20253L10.8471 5.24142C10.6445 5.85366 10.1755 6.38055 9.56762 6.65163C9.04679 6.82651 8.47556 6.84595 7.92391 6.70173L7.7181 6.63997L6.78225 6.16619C6.47757 6.06388 6.19907 6.15587 6.10211 6.26454L6.07673 6.30114L6.01392 6.37695C5.85166 6.49954 5.78563 6.72591 5.86103 6.98237L5.89602 7.0798L6.38205 8.05951C6.66227 8.69464 6.69683 9.3562 6.44229 9.93313C6.20375 10.4738 5.80169 10.9061 5.28141 11.1812L5.12182 11.259L4.19764 11.6302C3.92495 11.7087 3.75 11.9934 3.75 12.2731C3.75 12.4712 3.85393 12.6931 4.10015 12.815L4.19923 12.8557L5.23053 13.1614C5.8383 13.3655 6.36134 13.8379 6.623 14.431C6.86434 14.9779 6.88627 15.5816 6.68571 16.1455L6.61887 16.3134L6.14224 17.2728C6.02379 17.5512 6.09826 17.8263 6.27772 18.0071C6.45312 18.1838 6.65198 18.2596 6.90782 18.1367L6.99525 18.0882L7.97522 17.5954C8.30859 17.4611 8.63736 17.398 9.01825 17.398C9.24252 17.398 9.4143 17.4305 9.80857 17.5304C10.3337 17.7067 10.7786 18.1405 11.07 18.713L11.1456 18.8724L11.5097 19.8508C11.5707 20.0353 11.6716 20.1408 11.8097 20.1977C11.9103 20.2392 12.0032 20.25 12.1506 20.25C12.3802 20.25 12.594 20.1202 12.6961 19.8889L12.729 19.7975L13.0325 18.7586C13.2351 18.1463 13.704 17.6194 14.2927 17.3559C14.8357 17.1128 15.435 17.0907 15.9873 17.2892L16.1515 17.3554L17.1252 17.7848C17.3214 17.8836 17.4921 17.8569 17.6875 17.7388L17.8427 17.6359L17.8861 17.5745C18.0199 17.3631 18.0567 17.1663 17.9687 16.9524L17.4372 15.8798C17.1825 15.3024 17.1308 14.7032 17.3091 14.1801L17.3696 14.0255C17.5446 13.4966 17.9752 13.0483 18.5444 12.7545L18.7029 12.6782L19.8372 12.2576C20.1345 12.1292 20.25 11.9388 20.25 11.6663C20.25 11.474 20.157 11.2652 19.9429 11.1722L18.7092 10.7779C18.1015 10.5738 17.5784 10.1014 17.3168 9.50837C17.0754 8.96138 17.0535 8.35774 17.2506 7.8013L17.3163 7.6359L17.7373 6.66649C17.8557 6.38807 17.7813 6.113 17.6018 5.93223C17.4264 5.75553 17.2275 5.67975 16.9717 5.80266L16.8843 5.85112L15.9117 6.34073C15.3385 6.59735 14.7437 6.64945 14.2244 6.46979L14.071 6.40891C13.5459 6.23259 13.1009 5.7988 12.8108 5.22971L12.7356 5.07123L12.3814 4.17732C12.2335 3.87935 11.951 3.75 11.7289 3.75ZM12 8C14.2005 8 16 9.79949 16 12C16 14.2005 14.2005 16 12 16C9.79949 16 8 14.2005 8 12C8 9.79949 9.79949 8 12 8ZM12 9.75C10.763 9.75 9.75 10.763 9.75 12C9.75 13.237 10.763 14.25 12 14.25C13.237 14.25 14.25 13.237 14.25 12C14.25 10.763 13.237 9.75 12 9.75Z",fill:"currentColor"})})};try{IconCogwheel.displayName="IconCogwheel",IconCogwheel.__docgenInfo={description:"",displayName:"IconCogwheel",props:{ariaLabel:{defaultValue:{value:"cogwheel"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconCogwheel.tsx#IconCogwheel"]={docgenInfo:IconCogwheel.__docgenInfo,name:"IconCogwheel",path:"src/icons/IconCogwheel.tsx#IconCogwheel"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconCogwheels.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconCogwheels:()=>IconCogwheels});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconCogwheels=function IconCogwheels(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"cogwheels":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.02792 2.6583C7.37877 1.78057 8.62123 1.78057 8.97208 2.6583C9.21484 3.26561 9.94884 3.5041 10.5022 3.15547C11.302 2.65159 12.3071 3.38189 12.0751 4.29822C11.9145 4.93223 12.3681 5.55661 13.0207 5.59982C13.9639 5.66226 14.3479 6.84391 13.6215 7.44882C13.1189 7.86737 13.1189 8.63914 13.6215 9.05769C14.3479 9.6626 13.9639 10.8443 13.0207 10.9067C12.3681 10.9499 11.9145 11.5743 12.0751 12.2083C12.3071 13.1246 11.302 13.8549 10.5022 13.351C9.94884 13.0024 9.21484 13.2409 8.97208 13.8482C8.62123 14.7259 7.37877 14.7259 7.02792 13.8482C6.78516 13.2409 6.05116 13.0024 5.4978 13.351C4.69804 13.8549 3.69286 13.1246 3.92494 12.2083C4.08551 11.5743 3.63188 10.9499 2.97927 10.9067C2.03608 10.8443 1.65214 9.6626 2.37849 9.05769C2.88107 8.63914 2.88107 7.86737 2.37849 7.44882C1.65214 6.84391 2.03608 5.66226 2.97927 5.59982C3.63188 5.55661 4.08551 4.93223 3.92494 4.29822C3.69286 3.38189 4.69804 2.65159 5.4978 3.15547C6.05116 3.5041 6.78516 3.26561 7.02792 2.6583ZM9.97303 8.22638C9.97303 9.33095 9.0776 10.2264 7.97303 10.2264C6.86846 10.2264 5.97303 9.33095 5.97303 8.22638C5.97303 7.12181 6.86846 6.22638 7.97303 6.22638C9.0776 6.22638 9.97303 7.12181 9.97303 8.22638Z",fill:"currentColor"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.1899 11.5486C16.4823 10.8171 17.5177 10.8171 17.8101 11.5486C18.0124 12.0547 18.624 12.2534 19.0852 11.9629C19.7516 11.543 20.5893 12.1516 20.3959 12.9152C20.2621 13.4435 20.6401 13.9638 21.1839 13.9998C21.9699 14.0519 22.2899 15.0366 21.6846 15.5407C21.2658 15.8895 21.2658 16.5326 21.6846 16.8814C22.2899 17.3855 21.9699 18.3702 21.1839 18.4222C20.6401 18.4583 20.2621 18.9786 20.3959 19.5069C20.5893 20.2705 19.7516 20.8791 19.0852 20.4592C18.624 20.1687 18.0124 20.3674 17.8101 20.8735C17.5177 21.605 16.4823 21.605 16.1899 20.8735C15.9876 20.3674 15.376 20.1687 14.9148 20.4592C14.2484 20.8791 13.4107 20.2705 13.6041 19.5069C13.7379 18.9786 13.3599 18.4583 12.8161 18.4222C12.0301 18.3702 11.7101 17.3855 12.3154 16.8814C12.7342 16.5326 12.7342 15.8895 12.3154 15.5407C11.7101 15.0366 12.0301 14.0519 12.8161 13.9998C13.3599 13.9638 13.7379 13.4435 13.6041 12.9152C13.4107 12.1516 14.2484 11.543 14.9148 11.9629C15.376 12.2534 15.9876 12.0547 16.1899 11.5486ZM18.6721 16.211C18.6721 17.1346 17.9234 17.8833 16.9999 17.8833C16.0763 17.8833 15.3276 17.1346 15.3276 16.211C15.3276 15.2875 16.0763 14.5388 16.9999 14.5388C17.9234 14.5388 18.6721 15.2875 18.6721 16.211Z",fill:"currentColor"})]})};try{IconCogwheels.displayName="IconCogwheels",IconCogwheels.__docgenInfo={description:"",displayName:"IconCogwheels",props:{ariaLabel:{defaultValue:{value:"cogwheels"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconCogwheels.tsx#IconCogwheels"]={docgenInfo:IconCogwheels.__docgenInfo,name:"IconCogwheels",path:"src/icons/IconCogwheels.tsx#IconCogwheels"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconCollapse.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconCollapse:()=>IconCollapse});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconCollapse=function IconCollapse(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"collapse":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{d:"M17.5 2L12.5 7L7.5 2L6 3.5L12.5 10L19 3.5L17.5 2Z",fill:"currentColor"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{d:"M17.5 22L12.5 17L7.5 22L6 20.5L12.5 14L19 20.5L17.5 22Z",fill:"currentColor"})]})};try{IconCollapse.displayName="IconCollapse",IconCollapse.__docgenInfo={description:"",displayName:"IconCollapse",props:{ariaLabel:{defaultValue:{value:"collapse"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconCollapse.tsx#IconCollapse"]={docgenInfo:IconCollapse.__docgenInfo,name:"IconCollapse",path:"src/icons/IconCollapse.tsx#IconCollapse"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconCompany.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconCompany:()=>IconCompany});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconCompany=function IconCompany(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"company":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24 21.7972V23.7972H0V21.7972H1V0L12.5 3.02631V6.79721L23 6.7972V21.7972L24 21.7972ZM20 9.7972V15.7972H8V9.7972H20ZM18 11.7972H10V13.7972H18V11.7972ZM21 8.7972H7V21.7972H12V17.7972H16V21.7972H21V8.7972ZM10.5 4.56809L3 2.59441V21.7972H5V6.7972L10.5 6.79721V4.56809Z",fill:"currentColor"})})};try{IconCompany.displayName="IconCompany",IconCompany.__docgenInfo={description:"",displayName:"IconCompany",props:{ariaLabel:{defaultValue:{value:"company"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconCompany.tsx#IconCompany"]={docgenInfo:IconCompany.__docgenInfo,name:"IconCompany",path:"src/icons/IconCompany.tsx#IconCompany"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconCopy.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconCopy:()=>IconCopy});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconCopy=function IconCopy(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"copy":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 10V12H5V18H12V17H14V19C14 19.5523 13.5523 20 13 20H4C3.44772 20 3 19.5523 3 19V11C3 10.4477 3.44772 10 4 10H6ZM20 4C20.5523 4 21 4.44772 21 5V15C21 15.5523 20.5523 16 20 16H8C7.44772 16 7 15.5523 7 15V5C7 4.44772 7.44772 4 8 4H20ZM19 6H9V14H19V6Z",fill:"currentColor"})})};try{IconCopy.displayName="IconCopy",IconCopy.__docgenInfo={description:"",displayName:"IconCopy",props:{ariaLabel:{defaultValue:{value:"copy"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconCopy.tsx#IconCopy"]={docgenInfo:IconCopy.__docgenInfo,name:"IconCopy",path:"src/icons/IconCopy.tsx#IconCopy"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconCross.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconCross:()=>IconCross});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconCross=function IconCross(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"cross":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 7.5L13.5 12L18 16.5L16.5 18L12 13.5L7.5 18L6 16.5L10.5 12L6 7.5L7.5 6L12 10.5L16.5 6L18 7.5Z",fill:"currentColor"})})};try{IconCross.displayName="IconCross",IconCross.__docgenInfo={description:"",displayName:"IconCross",props:{ariaLabel:{defaultValue:{value:"cross"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconCross.tsx#IconCross"]={docgenInfo:IconCross.__docgenInfo,name:"IconCross",path:"src/icons/IconCross.tsx#IconCross"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconCrossCircle.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconCrossCircle:()=>IconCrossCircle});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconCrossCircle=function IconCrossCircle(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"cross-circle":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4ZM15 7.5L16.5 9L13.5 12L16.5 15L15 16.5L12 13.5L9 16.5L7.5 15L10.5 12L7.5 9L9 7.5L12 10.5L15 7.5Z",fill:"currentColor"})})};try{IconCrossCircle.displayName="IconCrossCircle",IconCrossCircle.__docgenInfo={description:"",displayName:"IconCrossCircle",props:{ariaLabel:{defaultValue:{value:"cross-circle"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconCrossCircle.tsx#IconCrossCircle"]={docgenInfo:IconCrossCircle.__docgenInfo,name:"IconCrossCircle",path:"src/icons/IconCrossCircle.tsx#IconCrossCircle"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconCrossCircleFill.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconCrossCircleFill:()=>IconCrossCircleFill});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconCrossCircleFill=function IconCrossCircleFill(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"cross-circle-fill":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3ZM15 7.5L16.5 9L13.5 12L16.5 15L15 16.5L12 13.5L9 16.5L7.5 15L10.5 12L7.5 9L9 7.5L12 10.5L15 7.5Z",fill:"currentColor"})})};try{IconCrossCircleFill.displayName="IconCrossCircleFill",IconCrossCircleFill.__docgenInfo={description:"",displayName:"IconCrossCircleFill",props:{ariaLabel:{defaultValue:{value:"cross-circle-fill"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconCrossCircleFill.tsx#IconCrossCircleFill"]={docgenInfo:IconCrossCircleFill.__docgenInfo,name:"IconCrossCircleFill",path:"src/icons/IconCrossCircleFill.tsx#IconCrossCircleFill"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconCustomerBotNegative.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconCustomerBotNegative:()=>IconCustomerBotNegative});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconCustomerBotNegative=function IconCustomerBotNegative(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"customer-bot-negative":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 5H6C3.79086 5 2 6.79086 2 9V17C2 19.2091 3.79086 21 6 21H18C20.2091 21 22 19.2091 22 17V9C22 6.79086 20.2091 5 18 5ZM18 7C19.1046 7 20 7.89543 20 9V17C20 18.1046 19.1046 19 18 19H6C4.89543 19 4 18.1046 4 17V9C4 7.89543 4.89543 7 6 7H18ZM11.9999 13C10.4069 13 9.10378 13.8781 9.0059 14.9871L9.003 15.028L9 17H15L14.9971 15.028C14.9281 13.8997 13.6126 13 11.9999 13ZM8.50004 9C7.39544 9 6.5 9.89539 6.5 11C6.5 12.1045 7.39544 13 8.50004 13C9.60456 13 10.5 12.1045 10.5 11C10.5 9.89539 9.60456 9 8.50004 9ZM15.5 9C14.3954 9 13.5 9.89539 13.5 11C13.5 12.1045 14.3954 13 15.5 13C16.6046 13 17.5 12.1045 17.5 11C17.5 9.89539 16.6046 9 15.5 9ZM12 1C12.8284 1 13.5 1.67154 13.5 2.5C13.5 2.94372 13.3073 3.34245 13.0011 3.61709L13 5H11L10.9999 3.61796C10.6931 3.3433 10.5 2.94419 10.5 2.5C10.5 1.67154 11.1716 1 12 1Z",fill:"currentColor"})})};try{IconCustomerBotNegative.displayName="IconCustomerBotNegative",IconCustomerBotNegative.__docgenInfo={description:"",displayName:"IconCustomerBotNegative",props:{ariaLabel:{defaultValue:{value:"customer-bot-negative"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconCustomerBotNegative.tsx#IconCustomerBotNegative"]={docgenInfo:IconCustomerBotNegative.__docgenInfo,name:"IconCustomerBotNegative",path:"src/icons/IconCustomerBotNegative.tsx#IconCustomerBotNegative"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconCustomerBotNeutral.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconCustomerBotNeutral:()=>IconCustomerBotNeutral});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconCustomerBotNeutral=function IconCustomerBotNeutral(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"customer-bot-neutral":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 5H6C3.79086 5 2 6.79086 2 9V17C2 19.2091 3.79086 21 6 21H18C20.2091 21 22 19.2091 22 17V9C22 6.79086 20.2091 5 18 5ZM18 7C19.1046 7 20 7.89543 20 9V17C20 18.1046 19.1046 19 18 19H6C4.89543 19 4 18.1046 4 17V9C4 7.89543 4.89543 7 6 7H18ZM17 15.0287H7V17H17V15.0287ZM8.50004 9C7.39544 9 6.5 9.89539 6.5 11C6.5 12.1045 7.39544 13 8.50004 13C9.60456 13 10.5 12.1045 10.5 11C10.5 9.89539 9.60456 9 8.50004 9ZM15.5 9C14.3954 9 13.5 9.89539 13.5 11C13.5 12.1045 14.3954 13 15.5 13C16.6046 13 17.5 12.1045 17.5 11C17.5 9.89539 16.6046 9 15.5 9ZM12 1C12.8284 1 13.5 1.67154 13.5 2.5C13.5 2.94372 13.3073 3.34245 13.0011 3.61709L13 5H11L10.9999 3.61796C10.6931 3.3433 10.5 2.94419 10.5 2.5C10.5 1.67154 11.1716 1 12 1Z",fill:"currentColor"})})};try{IconCustomerBotNeutral.displayName="IconCustomerBotNeutral",IconCustomerBotNeutral.__docgenInfo={description:"",displayName:"IconCustomerBotNeutral",props:{ariaLabel:{defaultValue:{value:"customer-bot-neutral"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconCustomerBotNeutral.tsx#IconCustomerBotNeutral"]={docgenInfo:IconCustomerBotNeutral.__docgenInfo,name:"IconCustomerBotNeutral",path:"src/icons/IconCustomerBotNeutral.tsx#IconCustomerBotNeutral"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconCustomerBotPositive.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconCustomerBotPositive:()=>IconCustomerBotPositive});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconCustomerBotPositive=function IconCustomerBotPositive(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"customer-bot-positive":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 5H6C3.79086 5 2 6.79086 2 9V17C2 19.2091 3.79086 21 6 21H18C20.2091 21 22 19.2091 22 17V9C22 6.79086 20.2091 5 18 5ZM18 7C19.1046 7 20 7.89543 20 9V17C20 18.1046 19.1046 19 18 19H6C4.89543 19 4 18.1046 4 17V9C4 7.89543 4.89543 7 6 7H18ZM15 14.0287H9L9.00482 15.9999C9.09368 17.1151 10.4007 18 12.0001 18C13.5931 18 14.8962 17.1219 14.9941 16.0129L14.995 15.9997L15 14.0287ZM8.50004 9C7.39544 9 6.5 9.89539 6.5 11C6.5 12.1045 7.39544 13 8.50004 13C9.60456 13 10.5 12.1045 10.5 11C10.5 9.89539 9.60456 9 8.50004 9ZM15.5 9C14.3954 9 13.5 9.89539 13.5 11C13.5 12.1045 14.3954 13 15.5 13C16.6046 13 17.5 12.1045 17.5 11C17.5 9.89539 16.6046 9 15.5 9ZM12 1C12.8284 1 13.5 1.67154 13.5 2.5C13.5 2.94372 13.3073 3.34245 13.0011 3.61709L13 5H11L10.9999 3.61796C10.6931 3.3433 10.5 2.94419 10.5 2.5C10.5 1.67154 11.1716 1 12 1Z",fill:"currentColor"})})};try{IconCustomerBotPositive.displayName="IconCustomerBotPositive",IconCustomerBotPositive.__docgenInfo={description:"",displayName:"IconCustomerBotPositive",props:{ariaLabel:{defaultValue:{value:"customer-bot-positive"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconCustomerBotPositive.tsx#IconCustomerBotPositive"]={docgenInfo:IconCustomerBotPositive.__docgenInfo,name:"IconCustomerBotPositive",path:"src/icons/IconCustomerBotPositive.tsx#IconCustomerBotPositive"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconDiscord.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconDiscord:()=>IconDiscord});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconDiscord=function IconDiscord(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"discord":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.0714 3C20.0855 3 20.9173 3.78353 20.9942 4.7779L21 4.92857V19.0714C21 20.0855 20.2165 20.9173 19.2221 20.9942L19.0714 21H4.92857C3.91454 21 3.08273 20.2165 3.0058 19.2221L3 19.0714V4.92857C3 3.91454 3.78353 3.08273 4.7779 3.0058L4.92857 3H19.0714ZM13.6423 8L13.4983 8.16466L13.7211 8.23568C15.316 8.76514 16.0594 9.47094 16.0594 9.47094C14.9897 8.88466 13.9406 8.59666 12.9634 8.48351C12.2229 8.40123 11.5131 8.4218 10.8857 8.50409L10.7983 8.51051L10.7109 8.52466L10.4262 8.55887C10.0223 8.61923 9.38097 8.7597 8.61081 9.07329L8.376 9.17266L8.04952 9.3277L7.76914 9.47094L7.85039 9.40076C8.08165 9.20989 8.77962 8.6929 10.0029 8.27238L10.2384 8.19476L10.4743 8.12351L10.3714 8L10.2246 8.00492L10.1515 8.01045C9.72556 8.04732 8.73678 8.21166 7.67997 8.93734L7.48114 9.08009L7.35905 9.31959L7.2129 9.63255C6.80463 10.5427 6.06768 12.4851 6.00436 14.7639L6 15.0767L6.05866 15.1654L6.09235 15.2116C6.35578 15.5636 7.20295 16.4917 8.89034 16.6264L9.13714 16.6401L9.82629 15.7864L9.62674 15.7212C8.72658 15.4023 8.25849 14.8847 8.09491 14.6704L8.02629 14.5727L8.15733 14.6565L8.31429 14.7475L8.331 14.7629L8.448 14.8298L8.70438 14.9639C8.87429 15.0469 9.04114 15.1178 9.19886 15.1795C9.62057 15.3441 10.1246 15.5087 10.7109 15.6218C11.4823 15.7658 12.3874 15.8172 13.3749 15.6321C13.6649 15.5827 13.9587 15.5111 14.2584 15.4151L14.5601 15.3108L15.0871 15.102C15.3124 15.0065 15.5511 14.8872 15.7987 14.7399L16.0491 14.5829L16.0134 14.6355L15.9828 14.6764C15.8176 14.8911 15.3322 15.4257 14.3952 15.7426L14.1874 15.8069L14.8663 16.6401L15.1131 16.6264C17.203 16.4597 18.0137 15.0767 18.0137 15.0767C18.0137 11.7647 16.5326 9.08009 16.5326 9.08009C15.4692 8.28255 14.4429 8.07346 13.9486 8.01896L13.7891 8.00492L13.6423 8ZM10.0834 11.8367C10.6697 11.8367 11.1429 12.3509 11.1326 12.9784C11.1326 13.6058 10.6697 14.1201 10.0834 14.1201C9.50743 14.1201 9.03429 13.6058 9.03429 12.9784C9.03429 12.3509 9.49714 11.8367 10.0834 11.8367ZM13.8377 11.8367C14.424 11.8367 14.8869 12.3509 14.8869 12.9784C14.8869 13.6058 14.424 14.1201 13.8377 14.1201C13.2617 14.1201 12.7886 13.6058 12.7886 12.9784C12.7886 12.3509 13.2514 11.8367 13.8377 11.8367Z",fill:"currentColor"})})};try{IconDiscord.displayName="IconDiscord",IconDiscord.__docgenInfo={description:"",displayName:"IconDiscord",props:{ariaLabel:{defaultValue:{value:"discord"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconDiscord.tsx#IconDiscord"]={docgenInfo:IconDiscord.__docgenInfo,name:"IconDiscord",path:"src/icons/IconDiscord.tsx#IconDiscord"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconDisplay.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconDisplay:()=>IconDisplay});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconDisplay=function IconDisplay(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"display":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 18C3.8578 18 2.10892 16.316 2.0049 14.1996L2 14V7C2 4.8578 3.68397 3.10892 5.80036 3.0049L6 3H18C20.1422 3 21.8911 4.68397 21.9951 6.80036L22 7V14C22 16.1422 20.316 17.8911 18.1996 17.9951L18 18H13C13 19.1046 13.8954 20 15 20H18V22H6V20H9C10.1046 20 11 19.1046 11 18H6ZM18 5H6C4.94564 5 4.08183 5.81588 4.00549 6.85074L4 7V14C4 15.0544 4.81588 15.9182 5.85074 15.9945L6 16H18C19.0544 16 19.9182 15.1841 19.9945 14.1493L20 14V7C20 5.94564 19.1841 5.08183 18.1493 5.00549L18 5Z",fill:"currentColor"})})};try{IconDisplay.displayName="IconDisplay",IconDisplay.__docgenInfo={description:"",displayName:"IconDisplay",props:{ariaLabel:{defaultValue:{value:"display"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconDisplay.tsx#IconDisplay"]={docgenInfo:IconDisplay.__docgenInfo,name:"IconDisplay",path:"src/icons/IconDisplay.tsx#IconDisplay"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconDocument.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconDocument:()=>IconDocument});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconDocument=function IconDocument(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"document":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 2L20 7V22H4V2H15ZM14 4V8H18L14 4ZM14.0083 4L18 8V20H6V4H14.0083ZM17 16H7V18H17V16ZM17 12H7V14H17V12ZM13 8H7V10H13V8Z",fill:"currentColor"})})};try{IconDocument.displayName="IconDocument",IconDocument.__docgenInfo={description:"",displayName:"IconDocument",props:{ariaLabel:{defaultValue:{value:"document"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconDocument.tsx#IconDocument"]={docgenInfo:IconDocument.__docgenInfo,name:"IconDocument",path:"src/icons/IconDocument.tsx#IconDocument"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconDownload.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconDownload:()=>IconDownload});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconDownload=function IconDownload(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"download":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 15V20H19V15H21V22H3V15H5ZM13 2V14L16 11L17.5 12.5L12 18L6.5 12.5L8 11L11 14V2H13Z",fill:"currentColor"})})};try{IconDownload.displayName="IconDownload",IconDownload.__docgenInfo={description:"",displayName:"IconDownload",props:{ariaLabel:{defaultValue:{value:"download"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconDownload.tsx#IconDownload"]={docgenInfo:IconDownload.__docgenInfo,name:"IconDownload",path:"src/icons/IconDownload.tsx#IconDownload"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconDownloadCloud.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconDownloadCloud:()=>IconDownloadCloud});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconDownloadCloud=function IconDownloadCloud(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"download-cloud":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 9V19L15 17L16.5 18.5L12 23L7.49998 18.5L8.99998 17L11 19V9H13ZM11.5 1C14.057 1 16.3672 2.55157 17.2358 4.93092L17.2835 5.0665L17.4145 5.08731C20.0449 5.53521 21.9316 7.61877 21.9982 10.3504L22 10.5C22 13.6412 19.7996 15.9265 16.7006 15.9983L15.5 16V14H16.55C18.6163 14 20 12.5943 20 10.5C20 8.53805 18.6018 7.11878 16.6001 7.00507L16.4715 6.99959L15.6756 6.9769L15.5194 6.19612C15.1395 4.29673 13.4337 3 11.5 3C9.26283 3 7.62211 4.55854 7.50658 6.75063L7.50154 6.8803L7.4877 7.99175L6.3306 8.00124C4.84062 8.04439 3.59998 9.45297 3.59998 11.1C3.59998 12.6644 4.83866 13.9394 6.38874 13.9979L6.49998 14H8.49998V16H6.49998C3.79378 16 1.59998 13.8062 1.59998 11.1C1.59998 8.68983 3.25229 6.56452 5.495 6.09571L5.56448 6.082L5.58682 5.93675C6.055 3.09689 8.36432 1.06966 11.3452 1.00176L11.5 1Z",fill:"currentColor"})})};try{IconDownloadCloud.displayName="IconDownloadCloud",IconDownloadCloud.__docgenInfo={description:"",displayName:"IconDownloadCloud",props:{ariaLabel:{defaultValue:{value:"download-cloud"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconDownloadCloud.tsx#IconDownloadCloud"]={docgenInfo:IconDownloadCloud.__docgenInfo,name:"IconDownloadCloud",path:"src/icons/IconDownloadCloud.tsx#IconDownloadCloud"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconDrag.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconDrag:()=>IconDrag});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconDrag=function IconDrag(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"drag":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 16C9.10457 16 10 16.8954 10 18C10 19.1046 9.10457 20 8 20C6.89543 20 6 19.1046 6 18C6 16.8954 6.89543 16 8 16ZM16 16C17.1046 16 18 16.8954 18 18C18 19.1046 17.1046 20 16 20C14.8954 20 14 19.1046 14 18C14 16.8954 14.8954 16 16 16ZM8 10C9.10457 10 10 10.8954 10 12C10 13.1046 9.10457 14 8 14C6.89543 14 6 13.1046 6 12C6 10.8954 6.89543 10 8 10ZM16 10C17.1046 10 18 10.8954 18 12C18 13.1046 17.1046 14 16 14C14.8954 14 14 13.1046 14 12C14 10.8954 14.8954 10 16 10ZM8 4C9.10457 4 10 4.89543 10 6C10 7.10457 9.10457 8 8 8C6.89543 8 6 7.10457 6 6C6 4.89543 6.89543 4 8 4ZM16 4C17.1046 4 18 4.89543 18 6C18 7.10457 17.1046 8 16 8C14.8954 8 14 7.10457 14 6C14 4.89543 14.8954 4 16 4Z",fill:"currentColor"})})};try{IconDrag.displayName="IconDrag",IconDrag.__docgenInfo={description:"",displayName:"IconDrag",props:{ariaLabel:{defaultValue:{value:"drag"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconDrag.tsx#IconDrag"]={docgenInfo:IconDrag.__docgenInfo,name:"IconDrag",path:"src/icons/IconDrag.tsx#IconDrag"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconEntrepreneur.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconEntrepreneur:()=>IconEntrepreneur});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconEntrepreneur=function IconEntrepreneur(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"entrepreneur":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 9C13.933 9 15.5 7.433 15.5 5.5C15.5 3.567 13.933 2 12 2C10.067 2 8.5 3.567 8.5 5.5C8.5 7.433 10.067 9 12 9ZM12 11C15.0376 11 17.5 8.53757 17.5 5.5C17.5 2.46243 15.0376 0 12 0C8.96243 0 6.5 2.46243 6.5 5.5C6.5 8.53757 8.96243 11 12 11ZM18 22H13V24H11V22H6V15H3C2.44772 15 2 15.4477 2 16V24H0V16C0 14.3431 1.34315 13 3 13H21C22.6569 13 24 14.3431 24 16V24H22V16C22 15.4477 21.5523 15 21 15H18V22ZM8 17.1205V20H10.0568L8 17.1205ZM16 17.1205L13.9432 20H16V17.1205ZM9 15L12 19.2795L15 15H9Z",fill:"currentColor"})})};try{IconEntrepreneur.displayName="IconEntrepreneur",IconEntrepreneur.__docgenInfo={description:"",displayName:"IconEntrepreneur",props:{ariaLabel:{defaultValue:{value:"entrepreneur"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconEntrepreneur.tsx#IconEntrepreneur"]={docgenInfo:IconEntrepreneur.__docgenInfo,name:"IconEntrepreneur",path:"src/icons/IconEntrepreneur.tsx#IconEntrepreneur"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconEnvelope.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconEnvelope:()=>IconEnvelope});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconEnvelope=function IconEnvelope(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"envelope":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 4V20H2V4H22ZM14.138 13.436L12 15.338L9.86 13.436L4.536 18H19.463L14.138 13.436ZM20 8.226L15.647 12.095L20 15.826V8.226ZM4 8.227V15.825L8.352 12.095L4 8.227ZM19.493 6H4.505L12 12.661L19.493 6Z",fill:"currentColor"})})};try{IconEnvelope.displayName="IconEnvelope",IconEnvelope.__docgenInfo={description:"",displayName:"IconEnvelope",props:{ariaLabel:{defaultValue:{value:"envelope"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconEnvelope.tsx#IconEnvelope"]={docgenInfo:IconEnvelope.__docgenInfo,name:"IconEnvelope",path:"src/icons/IconEnvelope.tsx#IconEnvelope"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconError.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconError:()=>IconError});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconError=function IconError(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"error":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.1284 2.50974C11.4971 1.85436 12.4201 1.83095 12.8284 2.43952L12.8716 2.50974L22.4341 19.5097C22.7965 20.1541 22.3585 20.9453 21.638 20.9973L21.5625 21H2.43749C1.69816 21 1.22338 20.2303 1.53125 19.5769L1.56592 19.5097L11.1284 2.50974ZM12 5.04L4.14699 19H19.8525L12 5.04ZM13 16V18H11V16H13ZM13 9.5V14.5H11V9.5H13Z",fill:"currentColor"})})};try{IconError.displayName="IconError",IconError.__docgenInfo={description:"",displayName:"IconError",props:{ariaLabel:{defaultValue:{value:"error"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconError.tsx#IconError"]={docgenInfo:IconError.__docgenInfo,name:"IconError",path:"src/icons/IconError.tsx#IconError"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconErrorFill.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconErrorFill:()=>IconErrorFill});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconErrorFill=function IconErrorFill(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"error-fill":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.175 3.45608C11.5239 2.86969 12.3977 2.84875 12.7842 3.39325L12.825 3.45608L21.8771 18.6666C22.2202 19.2432 21.8055 19.951 21.1235 19.9976L21.052 20H2.94799C2.24813 20 1.7987 19.3114 2.09013 18.7267L2.12295 18.6666L11.175 3.45608ZM13 16V18H11V16H13ZM13 8.5V14.5H11V8.5H13Z",fill:"currentColor"})})};try{IconErrorFill.displayName="IconErrorFill",IconErrorFill.__docgenInfo={description:"",displayName:"IconErrorFill",props:{ariaLabel:{defaultValue:{value:"error-fill"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconErrorFill.tsx#IconErrorFill"]={docgenInfo:IconErrorFill.__docgenInfo,name:"IconErrorFill",path:"src/icons/IconErrorFill.tsx#IconErrorFill"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconEuroSign.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconEuroSign:()=>IconEuroSign});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconEuroSign=function IconEuroSign(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"euro-sign":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.6201 20C15.5698 20 17.2235 17.8771 17.7821 15.7318L15.4358 14.257C15.324 16.067 14.676 17.8771 12.6201 17.8771C10.676 17.8771 9.78212 16.514 9.42458 14.6592H12.5084L13.1564 12.8268H9.24581C9.23091 12.648 9.22595 12.4593 9.22429 12.2673L9.22346 11.3966H13.581L14.2067 9.5419H9.44693C9.82682 7.62011 10.7877 6.14525 12.6201 6.14525C14.6536 6.14525 15.324 7.75419 15.4358 9.58659L17.7821 8.11173C17.2235 5.96648 15.5251 4 12.6201 4C9.84916 4 7.63687 5.94413 6.94413 9.5419H5V11.3966H6.74302V11.9777C6.74302 12.2682 6.74302 12.5587 6.76536 12.8268H5V14.6592H6.96648C7.61452 18.1899 9.67039 20 12.6201 20Z",fill:"currentColor"})})};try{IconEuroSign.displayName="IconEuroSign",IconEuroSign.__docgenInfo={description:"",displayName:"IconEuroSign",props:{ariaLabel:{defaultValue:{value:"euro-sign"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconEuroSign.tsx#IconEuroSign"]={docgenInfo:IconEuroSign.__docgenInfo,name:"IconEuroSign",path:"src/icons/IconEuroSign.tsx#IconEuroSign"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconEye.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconEye:()=>IconEye});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconEye=function IconEye(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"eye":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 4.5C16.0501 4.5 19.7168 7 23 12C19.7168 17 16.0501 19.5 12 19.5C7.94991 19.5 4.28325 17 1 12C4.28325 7 7.94991 4.5 12 4.5ZM12 6.5C9.04854 6.5 6.2496 8.20372 3.57529 11.8024L3.43 12L3.57529 12.1976C6.19914 15.7284 8.94296 17.435 11.8331 17.4982L12 17.5C14.9515 17.5 17.7504 15.7963 20.4247 12.1976L20.5695 12L20.4247 11.8024C17.8009 8.27162 15.057 6.56497 12.1669 6.50182L12 6.5ZM12 8C14.2091 8 16 9.79086 16 12C16 14.2091 14.2091 16 12 16C9.79086 16 8 14.2091 8 12C8 9.79086 9.79086 8 12 8ZM12 10C10.8954 10 10 10.8954 10 12C10 13.1046 10.8954 14 12 14C13.1046 14 14 13.1046 14 12C14 10.8954 13.1046 10 12 10Z",fill:"currentColor"})})};try{IconEye.displayName="IconEye",IconEye.__docgenInfo={description:"",displayName:"IconEye",props:{ariaLabel:{defaultValue:{value:"eye"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconEye.tsx#IconEye"]={docgenInfo:IconEye.__docgenInfo,name:"IconEye",path:"src/icons/IconEye.tsx#IconEye"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconEyeCrossed.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconEyeCrossed:()=>IconEyeCrossed});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconEyeCrossed=function IconEyeCrossed(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"eye-crossed":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.7929 2.79291L21.2071 4.20712L4.70711 20.7071L3.29289 19.2929L19.7929 2.79291ZM19.6465 7.88777C20.8055 8.9897 21.9234 10.3604 23 12C19.7168 17 16.0501 19.5 12 19.5C10.8495 19.5 9.73001 19.2983 8.64142 18.8948L10.2433 17.2931C10.7683 17.4185 11.2982 17.4865 11.8331 17.4982L12 17.5C14.9515 17.5 17.7504 15.7963 20.4247 12.1976L20.5695 12L20.4247 11.8025C19.7033 10.8317 18.9728 9.99883 18.2328 9.3001L19.6465 7.88777ZM12 4.50001C13.1505 4.50001 14.27 4.70174 15.3586 5.10519L13.7577 6.70716C13.2323 6.58159 12.7021 6.51353 12.1669 6.50184L12 6.50001C9.04854 6.50001 6.2496 8.20374 3.57529 11.8025L3.43 12L3.57529 12.1976C4.29669 13.1683 5.02715 14.0012 5.76723 14.6999L4.35355 16.1123C3.19447 15.0103 2.07662 13.6396 1 12C4.28325 7.00001 7.94991 4.50001 12 4.50001ZM15.976 11.5592C15.9919 11.7039 16 11.851 16 12C16 14.2092 14.2091 16 12 16C11.851 16 11.7039 15.9919 11.5592 15.976L15.976 11.5592ZM12 8.00001C12.149 8.00001 12.2961 8.00816 12.4408 8.02403L8.02402 12.4409C8.00815 12.2961 8 12.149 8 12C8 9.79088 9.79086 8.00001 12 8.00001Z",fill:"currentColor"})})};try{IconEyeCrossed.displayName="IconEyeCrossed",IconEyeCrossed.__docgenInfo={description:"",displayName:"IconEyeCrossed",props:{ariaLabel:{defaultValue:{value:"eye-crossed"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconEyeCrossed.tsx#IconEyeCrossed"]={docgenInfo:IconEyeCrossed.__docgenInfo,name:"IconEyeCrossed",path:"src/icons/IconEyeCrossed.tsx#IconEyeCrossed"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconFaceNeutral.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconFaceNeutral:()=>IconFaceNeutral});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconFaceNeutral=function IconFaceNeutral(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"face-neutral":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4ZM16 14V16H8V14H16ZM8.5 8C9.32843 8 10 8.67157 10 9.5C10 10.3284 9.32843 11 8.5 11C7.67157 11 7 10.3284 7 9.5C7 8.67157 7.67157 8 8.5 8ZM15.5 8C16.3284 8 17 8.67157 17 9.5C17 10.3284 16.3284 11 15.5 11C14.6716 11 14 10.3284 14 9.5C14 8.67157 14.6716 8 15.5 8Z",fill:"currentColor"})})};try{IconFaceNeutral.displayName="IconFaceNeutral",IconFaceNeutral.__docgenInfo={description:"",displayName:"IconFaceNeutral",props:{ariaLabel:{defaultValue:{value:"face-neutral"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconFaceNeutral.tsx#IconFaceNeutral"]={docgenInfo:IconFaceNeutral.__docgenInfo,name:"IconFaceNeutral",path:"src/icons/IconFaceNeutral.tsx#IconFaceNeutral"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconFaceSad.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconFaceSad:()=>IconFaceSad});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconFaceSad=function IconFaceSad(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"face-sad":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4ZM12.0054 13C14.0162 13 15.8308 14.0998 16.7845 15.8221L16.8948 16.0317L15.1052 16.9246L15.0426 16.805C14.4388 15.7027 13.2846 15 12.0054 15C10.7439 15 9.60422 15.6835 8.99396 16.7588L8.89722 16.9416L7.10278 16.0584L7.17312 15.9204C8.11104 14.1424 9.95612 13 12.0054 13ZM8.5 8C9.32843 8 10 8.67157 10 9.5C10 10.3284 9.32843 11 8.5 11C7.67157 11 7 10.3284 7 9.5C7 8.67157 7.67157 8 8.5 8ZM15.5 8C16.3284 8 17 8.67157 17 9.5C17 10.3284 16.3284 11 15.5 11C14.6716 11 14 10.3284 14 9.5C14 8.67157 14.6716 8 15.5 8Z",fill:"currentColor"})})};try{IconFaceSad.displayName="IconFaceSad",IconFaceSad.__docgenInfo={description:"",displayName:"IconFaceSad",props:{ariaLabel:{defaultValue:{value:"face-sad"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconFaceSad.tsx#IconFaceSad"]={docgenInfo:IconFaceSad.__docgenInfo,name:"IconFaceSad",path:"src/icons/IconFaceSad.tsx#IconFaceSad"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconFaceSmile.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconFaceSmile:()=>IconFaceSmile});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconFaceSmile=function IconFaceSmile(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"face-smile":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4ZM8.89722 13.5584C9.47797 14.7384 10.6738 15.5 12.0054 15.5C13.2846 15.5 14.4388 14.7973 15.0426 13.695L15.1052 13.5754L16.8948 14.4683C15.9757 16.3104 14.0966 17.5 12.0054 17.5C9.95612 17.5 8.11104 16.3576 7.17312 14.5796L7.10278 14.4416L8.89722 13.5584ZM8.5 8C9.32843 8 10 8.67157 10 9.5C10 10.3284 9.32843 11 8.5 11C7.67157 11 7 10.3284 7 9.5C7 8.67157 7.67157 8 8.5 8ZM15.5 8C16.3284 8 17 8.67157 17 9.5C17 10.3284 16.3284 11 15.5 11C14.6716 11 14 10.3284 14 9.5C14 8.67157 14.6716 8 15.5 8Z",fill:"currentColor"})})};try{IconFaceSmile.displayName="IconFaceSmile",IconFaceSmile.__docgenInfo={description:"",displayName:"IconFaceSmile",props:{ariaLabel:{defaultValue:{value:"face-smile"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconFaceSmile.tsx#IconFaceSmile"]={docgenInfo:IconFaceSmile.__docgenInfo,name:"IconFaceSmile",path:"src/icons/IconFaceSmile.tsx#IconFaceSmile"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconFacebook.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconFacebook:()=>IconFacebook});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconFacebook=function IconFacebook(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"facebook":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19 3C20.1046 3 21 3.89543 21 5V19C21 20.1046 20.1046 21 19 21H15.644L15.6442 13.8804H18.079L18.4286 11.1643H15.6442V9.42857C15.6442 8.64107 15.8612 8.1067 16.9902 8.1067H18.4286V5.67991L18.0781 5.64435L17.7377 5.61862C17.3573 5.59334 16.8651 5.57143 16.3312 5.57143C14.258 5.57143 12.8357 6.83705 12.8357 9.16339V11.1683H10.3929V13.8844H12.8397L12.839 21H5C3.89543 21 3 20.1046 3 19V5C3 3.89543 3.89543 3 5 3H19Z",fill:"currentColor"})})};try{IconFacebook.displayName="IconFacebook",IconFacebook.__docgenInfo={description:"",displayName:"IconFacebook",props:{ariaLabel:{defaultValue:{value:"facebook"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconFacebook.tsx#IconFacebook"]={docgenInfo:IconFacebook.__docgenInfo,name:"IconFacebook",path:"src/icons/IconFacebook.tsx#IconFacebook"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconFamily.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconFamily:()=>IconFamily});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconFamily=function IconFamily(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"family":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 16V24H18V22H20V16H22ZM4 16V22H6V24H2V16H4ZM14 21V24H10V21H14ZM13 16C14.6569 16 16 17.3431 16 19V21H14V19C14 18.4477 13.5523 18 13 18H11C10.4477 18 10 18.4477 10 19V21H8V19C8 17.3431 9.34315 16 11 16H13ZM10 7C11.0544 7 11.9182 7.81588 11.9945 8.85074L12 8.988L12.0055 8.85074C12.0818 7.81588 12.9456 7 14 7H21C22.6569 7 24 8.34315 24 10V16H22V10C22 9.44772 21.5523 9 21 9H3C2.44772 9 2 9.44772 2 10V16H0V10C0 8.34315 1.34315 7 3 7H10ZM12 10.5C13.3807 10.5 14.5 11.6193 14.5 13C14.5 14.3807 13.3807 15.5 12 15.5C10.6193 15.5 9.5 14.3807 9.5 13C9.5 11.6193 10.6193 10.5 12 10.5ZM12 12.5C11.7239 12.5 11.5 12.7239 11.5 13C11.5 13.2761 11.7239 13.5 12 13.5C12.2761 13.5 12.5 13.2761 12.5 13C12.5 12.7239 12.2761 12.5 12 12.5ZM18 4C18.5523 4 19 3.55228 19 3C19 2.44772 18.5523 2 18 2C17.4477 2 17 2.44772 17 3C17 3.55228 17.4477 4 18 4ZM18 6C19.6569 6 21 4.65685 21 3C21 1.34315 19.6569 0 18 0C16.3431 0 15 1.34315 15 3C15 4.65685 16.3431 6 18 6ZM6 4C6.55228 4 7 3.55228 7 3C7 2.44772 6.55228 2 6 2C5.44772 2 5 2.44772 5 3C5 3.55228 5.44772 4 6 4ZM6 6C7.65685 6 9 4.65685 9 3C9 1.34315 7.65685 0 6 0C4.34315 0 3 1.34315 3 3C3 4.65685 4.34315 6 6 6Z",fill:"currentColor"})})};try{IconFamily.displayName="IconFamily",IconFamily.__docgenInfo={description:"",displayName:"IconFamily",props:{ariaLabel:{defaultValue:{value:"family"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconFamily.tsx#IconFamily"]={docgenInfo:IconFamily.__docgenInfo,name:"IconFamily",path:"src/icons/IconFamily.tsx#IconFamily"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconGlobe.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconGlobe:()=>IconGlobe});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconGlobe=function IconGlobe(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"globe":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM7.34528 17.0409C6.67886 17.1107 6.01455 17.1966 5.35359 17.2978C6.35409 18.5525 7.70206 19.5167 9.25161 20.0458C8.46819 19.1304 7.82833 18.12 7.34528 17.0409ZM16.6562 17.0485C16.1741 18.124 15.5362 19.131 14.7561 20.0435C16.2981 19.515 17.6403 18.5556 18.6386 17.3089L17.9422 17.2065C17.5147 17.1474 17.0859 17.0948 16.6562 17.0485ZM12.7504 16.8043L12.7506 19.9839C13.7114 19.0818 14.4909 18.0425 15.0671 16.908C14.2961 16.8523 13.5235 16.8182 12.7504 16.8043ZM11.25 16.803C10.513 16.8149 9.77633 16.8453 9.04149 16.8941L8.93557 16.9019C9.51103 18.0367 10.2897 19.0764 11.2498 19.9789L11.25 16.803ZM20.4674 12.7501L17.7084 12.7503C17.65 13.7296 17.4775 14.6853 17.1983 15.6034C17.9806 15.6941 18.7599 15.8058 19.5343 15.9379C20.0415 14.9704 20.3675 13.8927 20.4674 12.7501ZM4.45923 15.9264L4.50876 15.9176C5.26998 15.7899 6.0359 15.6818 6.80501 15.5936C6.52698 14.6791 6.35546 13.7264 6.29728 12.7502L3.53265 12.7501C3.63214 13.888 3.95581 14.9615 4.45923 15.9264ZM12.75 12.75L12.7502 15.3058C13.727 15.3228 14.7036 15.3714 15.6767 15.4516C15.9671 14.5863 16.1477 13.6805 16.211 12.7503L12.75 12.75ZM11.25 12.75L7.7947 12.7503C7.85783 13.6784 8.03782 14.5821 8.32667 15.4459C9.2991 15.3667 10.2745 15.3198 11.2503 15.3045L11.25 12.75ZM19.5342 8.0611L19.2178 8.11547C18.5477 8.2247 17.874 8.31874 17.1977 8.3975C17.4776 9.31479 17.65 10.2704 17.7084 11.2495L20.4674 11.2499C20.3674 10.1071 20.0414 9.0292 19.5342 8.0611ZM4.45946 8.07443L4.4418 8.10721C3.94833 9.06338 3.63098 10.1252 3.53265 11.2499L6.29733 11.2495C6.35557 10.2734 6.52713 9.32081 6.80481 8.40549C6.01907 8.31617 5.23673 8.20561 4.45946 8.07443ZM15.6769 8.54819L15.2071 8.58474C14.3898 8.64341 13.5703 8.67995 12.7505 8.69423L12.75 11.2495L16.211 11.2496C16.1477 10.3195 15.967 9.4138 15.6769 8.54819ZM8.32718 8.55501L8.2883 8.67145C8.0219 9.49964 7.85505 10.3635 7.79474 11.2496L11.25 11.2495L11.2502 8.69551C10.2747 8.68016 9.29928 8.63326 8.32718 8.55501ZM11.2498 4.0215C10.2896 4.92418 9.51076 5.96406 8.93527 7.09907C9.7058 7.15244 10.4778 7.18523 11.2503 7.19771L11.2498 4.0215ZM12.7506 4.01655L12.7501 7.19642C13.5236 7.1826 14.2965 7.14842 15.0673 7.09389C14.4911 5.95831 13.7116 4.91879 12.7506 4.01655ZM9.25296 3.95332L9.2262 3.96288C7.68691 4.49402 6.3479 5.45492 5.35257 6.70215C6.01404 6.80395 6.67871 6.88991 7.34571 6.96049C7.8289 5.88027 8.46925 4.8692 9.25296 3.95332ZM14.7569 3.95705L14.8992 4.12587C15.615 4.99324 16.2047 5.94229 16.6572 6.95147C17.3202 6.88074 17.9812 6.79415 18.6388 6.6923C17.6409 5.44494 16.2989 4.4855 14.7569 3.95705Z",fill:"currentColor"})})};try{IconGlobe.displayName="IconGlobe",IconGlobe.__docgenInfo={description:"",displayName:"IconGlobe",props:{ariaLabel:{defaultValue:{value:"globe"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconGlobe.tsx#IconGlobe"]={docgenInfo:IconGlobe.__docgenInfo,name:"IconGlobe",path:"src/icons/IconGlobe.tsx#IconGlobe"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconGoogle.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconGoogle:()=>IconGoogle});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconGoogle=function IconGoogle(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"google":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.0714 3C20.0855 3 20.9173 3.78353 20.9942 4.7779L21 4.92857V19.0714C21 20.0855 20.2165 20.9173 19.2221 20.9942L19.0714 21H4.92857C3.91454 21 3.08273 20.2165 3.0058 19.2221L3 19.0714V4.92857C3 3.91454 3.78353 3.08273 4.7779 3.0058L4.92857 3H19.0714ZM11.9677 5C8.09516 5 4.96774 8.12742 4.96774 12C4.96774 15.8726 8.09516 19 11.9677 19C16.0069 19 18.7419 16.1577 18.7419 12.1637C18.7419 11.7911 18.713 11.4962 18.6682 11.2096L18.6319 10.9952H11.9677V13.4028H15.9419C15.7782 14.4331 14.7395 16.4202 11.9677 16.4202C9.57984 16.4202 7.62944 14.4415 7.62944 12C7.62944 8.13558 12.1001 6.32407 14.6209 8.5389L14.7565 8.66371L16.6617 6.83185C15.4395 5.69153 13.8532 5 11.9677 5Z",fill:"currentColor"})})};try{IconGoogle.displayName="IconGoogle",IconGoogle.__docgenInfo={description:"",displayName:"IconGoogle",props:{ariaLabel:{defaultValue:{value:"google"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconGoogle.tsx#IconGoogle"]={docgenInfo:IconGoogle.__docgenInfo,name:"IconGoogle",path:"src/icons/IconGoogle.tsx#IconGoogle"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconGraphColumns.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconGraphColumns:()=>IconGraphColumns});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconGraphColumns=function IconGraphColumns(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"graph-columns":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.8571 9.33333L21 9.33333L21 20L15.8571 20L15.8571 9.33333ZM9.42857 4L14.5714 4L14.5714 20L9.42857 20L9.42857 4ZM3 12L8.14286 12L8.14286 20L3 20L3 12Z",fill:"currentColor"})})};try{IconGraphColumns.displayName="IconGraphColumns",IconGraphColumns.__docgenInfo={description:"",displayName:"IconGraphColumns",props:{ariaLabel:{defaultValue:{value:"graph-columns"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconGraphColumns.tsx#IconGraphColumns"]={docgenInfo:IconGraphColumns.__docgenInfo,name:"IconGraphColumns",path:"src/icons/IconGraphColumns.tsx#IconGraphColumns"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconGroup.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconGroup:()=>IconGroup});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconGroup=function IconGroup(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"group":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.5 16C16.3927 16 17.9345 17.5024 17.998 19.3797L18 19.5V22H16V19.5C16 18.7012 15.3755 18.0482 14.5881 18.0025L14.5 18H9.5C8.70116 18 8.04817 18.6245 8.00255 19.4119L8 19.5V22H6V19.5C6 17.6073 7.50239 16.0655 9.37967 16.002L9.5 16H14.5ZM16.8997 9.99881L20.5 10L20.6203 10.002C22.435 10.0633 23.8994 11.5061 23.995 13.3119L24 13.5V16H22V13.5L21.9975 13.4119C21.9545 12.6708 21.3736 12.074 20.6394 12.0064L20.5 12L16.8997 12.0012C16.9655 11.6777 17 11.3429 17 11C17 10.6571 16.9655 10.3223 16.8997 9.99881ZM7.10026 9.99881C7.03451 10.3223 7 10.6571 7 11C7 11.3429 7.03451 11.6777 7.10026 12.0012L3.5 12C2.70116 12 2.04817 12.6245 2.00255 13.4119L2 13.5V16H0V13.5C0 11.6073 1.50239 10.0655 3.37968 10.002L3.5 10L7.10026 9.99881ZM12 7C14.2091 7 16 8.79086 16 11C16 13.2091 14.2091 15 12 15C9.79086 15 8 13.2091 8 11C8 8.79086 9.79086 7 12 7ZM12 9C10.8954 9 10 9.89543 10 11C10 12.1046 10.8954 13 12 13C13.1046 13 14 12.1046 14 11C14 9.89543 13.1046 9 12 9ZM5.5 2C7.433 2 9 3.567 9 5.5C9 7.433 7.433 9 5.5 9C3.567 9 2 7.433 2 5.5C2 3.567 3.567 2 5.5 2ZM18.5 2C20.433 2 22 3.567 22 5.5C22 7.433 20.433 9 18.5 9C16.567 9 15 7.433 15 5.5C15 3.567 16.567 2 18.5 2ZM5.5 4C4.67157 4 4 4.67157 4 5.5C4 6.32843 4.67157 7 5.5 7C6.32843 7 7 6.32843 7 5.5C7 4.67157 6.32843 4 5.5 4ZM18.5 4C17.6716 4 17 4.67157 17 5.5C17 6.32843 17.6716 7 18.5 7C19.3284 7 20 6.32843 20 5.5C20 4.67157 19.3284 4 18.5 4Z",fill:"currentColor"})})};try{IconGroup.displayName="IconGroup",IconGroup.__docgenInfo={description:"",displayName:"IconGroup",props:{ariaLabel:{defaultValue:{value:"group"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconGroup.tsx#IconGroup"]={docgenInfo:IconGroup.__docgenInfo,name:"IconGroup",path:"src/icons/IconGroup.tsx#IconGroup"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconHammers.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconHammers:()=>IconHammers});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconHammers=function IconHammers(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"hammers":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{d:"M7.70276 2L2.71284 6.98991L2 10.5541L3.42569 11.9798L6.13993 9.26559L17.4589 20.5846L19.5975 18.4461L8.27846 7.12705L10.5541 4.85138L7.70276 2Z",fill:"currentColor"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{d:"M21.2872 6.98993L16.2972 2.00002L13.4459 4.8514L15.8952 7.30076L12.8949 10.3011L15.0334 12.4396L18.0338 9.43929L20.5743 11.9798L22 10.5542L21.2872 6.98993Z",fill:"currentColor"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{d:"M11.4692 16.0039L9.33065 13.8653L4.57621 18.6198L6.71474 20.7583L11.4692 16.0039Z",fill:"currentColor"})]})};try{IconHammers.displayName="IconHammers",IconHammers.__docgenInfo={description:"",displayName:"IconHammers",props:{ariaLabel:{defaultValue:{value:"hammers"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconHammers.tsx#IconHammers"]={docgenInfo:IconHammers.__docgenInfo,name:"IconHammers",path:"src/icons/IconHammers.tsx#IconHammers"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconHeadphones.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconHeadphones:()=>IconHeadphones});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconHeadphones=function IconHeadphones(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"headphones":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 14.5L16.0069 14.3555C16.0796 13.5949 16.7203 13 17.5 13H20C20 8.58172 16.4183 5 12 5C7.58172 5 4 8.58172 4 13H6.5C7.32843 13 8 13.6716 8 14.5V18C8 19.6569 6.65685 21 5 21C3.34315 21 2 19.6569 2 18V13C2 7.47715 6.47715 3 12 3C17.5228 3 22 7.47715 22 13V18C22 19.6569 20.6569 21 19 21C17.3431 21 16 19.6569 16 18V14.5Z",fill:"currentColor"})})};try{IconHeadphones.displayName="IconHeadphones",IconHeadphones.__docgenInfo={description:"",displayName:"IconHeadphones",props:{ariaLabel:{defaultValue:{value:"headphones"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconHeadphones.tsx#IconHeadphones"]={docgenInfo:IconHeadphones.__docgenInfo,name:"IconHeadphones",path:"src/icons/IconHeadphones.tsx#IconHeadphones"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconHeart.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconHeart:()=>IconHeart});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconHeart=function IconHeart(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"heart":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.7316 11.5421C18.5468 12.7484 17.4496 13.7333 16.3878 14.6859C14.8996 16.0213 13.4921 17.2844 12.0002 19C10.5083 17.2848 9.10004 16.0213 7.61147 14.6851C6.5497 13.733 5.45242 12.7481 4.26844 11.5421C3.45072 10.7094 3 9.59964 3 8.41799C3 7.23633 3.45072 6.1266 4.26844 5.29392C5.08766 4.45934 6.17821 4 7.33939 4C10.4122 4 11.4377 6.70963 12.0013 7.7246C12.5656 6.70963 13.5904 4 16.6636 4C17.8229 4 18.9123 4.45934 19.7316 5.29392C20.5493 6.1266 21 7.23633 21 8.41799C21 9.59964 20.5493 10.7094 19.7316 11.5421ZM16.8423 2C13.9323 2 12.4662 3.80597 12.0014 4.51758C11.5369 3.80597 10.0712 2 7.16076 2H7.15727C5.51192 2 3.96474 2.65416 2.80135 3.84203C1.6399 5.02871 1 6.60804 1 8.28999C1 9.97195 1.6399 11.5513 2.80135 12.738C4.06719 14.03 5.22708 15.0737 6.34895 16.0832C7.93027 17.5061 9.4239 18.85 10.9897 20.6949C11.1694 20.9064 11.8465 21.7979 11.8535 21.807L11.9998 22L12.1461 21.807C12.1531 21.7979 12.8302 20.9064 13.0099 20.6949C14.5761 18.85 16.0697 17.5061 17.6511 16.0832C18.7729 15.0737 19.9328 14.03 21.1983 12.7376C22.3601 11.5513 23 9.97195 23 8.28999C23 6.60804 22.3601 5.02871 21.1983 3.84242C20.0353 2.65416 18.4881 2 16.8423 2Z",fill:"currentColor"})})};try{IconHeart.displayName="IconHeart",IconHeart.__docgenInfo={description:"",displayName:"IconHeart",props:{ariaLabel:{defaultValue:{value:"heart"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconHeart.tsx#IconHeart"]={docgenInfo:IconHeart.__docgenInfo,name:"IconHeart",path:"src/icons/IconHeart.tsx#IconHeart"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconHeartFill.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconHeartFill:()=>IconHeartFill});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconHeartFill=function IconHeartFill(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"heart-fill":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.8423 2C13.9323 2 12.4662 3.80597 12.0014 4.51758C11.5369 3.80597 10.0712 2 7.16076 2H7.15727C5.51192 2 3.96474 2.65416 2.80135 3.84203C1.6399 5.02871 1 6.60804 1 8.28999C1 9.97195 1.6399 11.5513 2.80135 12.738C4.06719 14.03 5.22708 15.0737 6.34895 16.0832C7.93027 17.5061 9.4239 18.85 10.9897 20.6949C11.1694 20.9064 11.8465 21.7979 11.8535 21.807L11.9998 22L12.1461 21.807C12.1531 21.7979 12.8302 20.9064 13.0099 20.6949C14.5761 18.85 16.0697 17.5061 17.6511 16.0832C18.7729 15.0737 19.9328 14.03 21.1983 12.7376C22.3601 11.5513 23 9.97195 23 8.28999C23 6.60804 22.3601 5.02871 21.1983 3.84242C20.0353 2.65416 18.4881 2 16.8423 2Z",fill:"currentColor"})})};try{IconHeartFill.displayName="IconHeartFill",IconHeartFill.__docgenInfo={description:"",displayName:"IconHeartFill",props:{ariaLabel:{defaultValue:{value:"heart-fill"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconHeartFill.tsx#IconHeartFill"]={docgenInfo:IconHeartFill.__docgenInfo,name:"IconHeartFill",path:"src/icons/IconHeartFill.tsx#IconHeartFill"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconHistory.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconHistory:()=>IconHistory});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconHistory=function IconHistory(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"history":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{d:"M4 9V3H6L5.99882 5.29274C7.59123 3.86699 9.69437 3 12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12H5C5 15.866 8.13401 19 12 19C15.866 19 19 15.866 19 12C19 8.13401 15.866 5 12 5C10.0926 5 8.36334 5.76291 7.10078 7.00023L9.5 7V9H4Z",fill:"currentColor"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{d:"M13 7L13.0006 11.584L16.2426 14.8284L14.8284 16.2426L11.0007 12.4138L11 7H13Z",fill:"currentColor"})]})};try{IconHistory.displayName="IconHistory",IconHistory.__docgenInfo={description:"",displayName:"IconHistory",props:{ariaLabel:{defaultValue:{value:"history"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconHistory.tsx#IconHistory"]={docgenInfo:IconHistory.__docgenInfo,name:"IconHistory",path:"src/icons/IconHistory.tsx#IconHistory"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconHome.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconHome:()=>IconHome});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconHome=function IconHome(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"home":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 13L12 2L23 13L21.5 14.5L20 13V21H4V13L2.5 14.5L1 13ZM12 5L6 11V19L8.999 18.999L9 12H15L14.999 18.999L18 19V11L12 5ZM13 14H11L10.999 18.999H12.999L13 14Z",fill:"currentColor"})})};try{IconHome.displayName="IconHome",IconHome.__docgenInfo={description:"",displayName:"IconHome",props:{ariaLabel:{defaultValue:{value:"home"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconHome.tsx#IconHome"]={docgenInfo:IconHome.__docgenInfo,name:"IconHome",path:"src/icons/IconHome.tsx#IconHome"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconHomeSmoke.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconHomeSmoke:()=>IconHomeSmoke});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconHomeSmoke=function IconHomeSmoke(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"home-smoke":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 4L23 15L21.5 16.5L20 15V23H4V15L2.5 16.5L1 15L12 4ZM12 7L6 13V21L8.999 20.999L9 14H15L14.999 20.999L18 21V13L12 7ZM13 16H11L10.999 20.999H12.999L13 16ZM20 1C20 1.90099 19.7632 2.40639 19.1667 3.12309L19.0694 3.23809C18.6127 3.771 18.5 3.99007 18.5 4.5C18.5 4.97806 18.599 5.20048 18.9878 5.66552L19.0694 5.76191C19.7043 6.50252 19.9728 6.99991 19.998 7.86094L20 8H18.5C18.5 7.52194 18.401 7.29952 18.0122 6.83448L17.9306 6.73809C17.2623 5.9585 17 5.44841 17 4.5C17 3.59901 17.2368 3.09361 17.8333 2.37691L17.9306 2.26191C18.3588 1.76231 18.4846 1.53854 18.4986 1.09235L18.5 1H20Z",fill:"currentColor"})})};try{IconHomeSmoke.displayName="IconHomeSmoke",IconHomeSmoke.__docgenInfo={description:"",displayName:"IconHomeSmoke",props:{ariaLabel:{defaultValue:{value:"home-smoke"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconHomeSmoke.tsx#IconHomeSmoke"]={docgenInfo:IconHomeSmoke.__docgenInfo,name:"IconHomeSmoke",path:"src/icons/IconHomeSmoke.tsx#IconHomeSmoke"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconInfoCircle.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconInfoCircle:()=>IconInfoCircle});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconInfoCircle=function IconInfoCircle(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"info-circle":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4ZM13 10V16.5H15V18H9V16.5H11V11.5H9V10H13ZM11.8125 6C12.5374 6 13.125 6.5876 13.125 7.3125C13.125 8.03735 12.5374 8.625 11.8125 8.625C11.0876 8.625 10.5 8.03735 10.5 7.3125C10.5 6.5876 11.0876 6 11.8125 6Z",fill:"currentColor"})})};try{IconInfoCircle.displayName="IconInfoCircle",IconInfoCircle.__docgenInfo={description:"",displayName:"IconInfoCircle",props:{ariaLabel:{defaultValue:{value:"info-circle"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconInfoCircle.tsx#IconInfoCircle"]={docgenInfo:IconInfoCircle.__docgenInfo,name:"IconInfoCircle",path:"src/icons/IconInfoCircle.tsx#IconInfoCircle"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconInfoCircleFill.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconInfoCircleFill:()=>IconInfoCircleFill});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconInfoCircleFill=function IconInfoCircleFill(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"info-circle-fill":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3ZM13 10V16.5H15V18H9V16.5H11V11.5H9V10H13ZM11.8125 6C12.5374 6 13.125 6.5876 13.125 7.3125C13.125 8.03735 12.5374 8.625 11.8125 8.625C11.0876 8.625 10.5 8.03735 10.5 7.3125C10.5 6.5876 11.0876 6 11.8125 6Z",fill:"currentColor"})})};try{IconInfoCircleFill.displayName="IconInfoCircleFill",IconInfoCircleFill.__docgenInfo={description:"",displayName:"IconInfoCircleFill",props:{ariaLabel:{defaultValue:{value:"info-circle-fill"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconInfoCircleFill.tsx#IconInfoCircleFill"]={docgenInfo:IconInfoCircleFill.__docgenInfo,name:"IconInfoCircleFill",path:"src/icons/IconInfoCircleFill.tsx#IconInfoCircleFill"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconInstagram.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconInstagram:()=>IconInstagram});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconInstagram=function IconInstagram(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"instagram":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.0714 3C20.0855 3 20.9173 3.78353 20.9942 4.7779L21 4.92857V19.0714C21 20.0855 20.2165 20.9173 19.2221 20.9942L19.0714 21H4.92857C3.91454 21 3.08273 20.2165 3.0058 19.2221L3 19.0714V4.92857C3 3.91454 3.78353 3.08273 4.7779 3.0058L4.92857 3H19.0714ZM9.11255 5.04919C7.99442 5.10229 7.00123 5.35839 6.17981 6.17669C5.35839 6.99498 5.10541 7.98818 5.04919 9.10943L5.03066 9.54569C4.98433 10.9687 4.99051 13.8504 5.04919 14.8843C5.10229 16.0056 5.35839 16.9988 6.17981 17.8171C7.00123 18.6354 7.9913 18.8915 9.11255 18.9477L9.54882 18.9662C10.9718 19.0125 13.8535 19.0064 14.8875 18.9477C16.0087 18.8946 17.0019 18.6385 17.8202 17.8171C18.6385 16.9988 18.8946 16.0056 18.9508 14.8843L18.9693 14.4482C19.0157 13.0257 19.0095 10.1465 18.9508 9.11255C18.8977 7.9913 18.6416 6.9981 17.8202 6.17981C17.0019 5.36152 16.0087 5.10541 14.8875 5.04919L14.4512 5.03066C13.0282 4.98433 10.1465 4.99051 9.11255 5.04919ZM12.0016 6.26101L13.0197 6.25364C14.097 6.24924 15.454 6.27642 16.1274 6.54211C16.7395 6.78572 17.2112 7.25733 17.4579 7.87262C17.8233 8.79398 17.739 10.9803 17.739 11.9984L17.7474 13.3166C17.7452 14.335 17.7015 15.5121 17.4579 16.1243C17.2143 16.7364 16.7427 17.208 16.1274 17.4548C15.206 17.8202 13.0197 17.7359 12.0016 17.7359L10.9835 17.7432C9.90609 17.7476 8.54911 17.7205 7.87574 17.4548C7.26358 17.2112 6.79197 16.7395 6.54523 16.1243C6.17981 15.2029 6.26414 13.0166 6.26414 11.9984L6.25676 10.9803C6.25237 9.90297 6.27955 8.54599 6.54523 7.87262C6.78885 7.26046 7.26046 6.78885 7.87574 6.54211C8.7971 6.17669 10.9834 6.26101 12.0016 6.26101ZM12.0016 8.40982C10.0152 8.40982 8.41294 10.012 8.41294 11.9984C8.41294 13.9848 10.0152 15.5871 12.0016 15.5871C13.988 15.5871 15.5902 13.9848 15.5902 11.9984C15.5902 10.012 13.988 8.40982 12.0016 8.40982ZM12.0016 9.66537C13.2883 9.66537 14.3346 10.7117 14.3346 11.9984C14.3346 13.2852 13.2852 14.3315 12.0016 14.3315C10.7179 14.3315 9.66849 13.2852 9.66849 11.9984C9.66849 10.7117 10.7148 9.66537 12.0016 9.66537ZM15.737 7.42599C15.2747 7.42599 14.8999 7.80078 14.8999 8.26302C14.8999 8.72526 15.2716 9.10006 15.737 9.10006C16.1992 9.10006 16.574 8.72839 16.574 8.26302C16.574 7.80078 16.1992 7.42599 15.737 7.42599Z",fill:"currentColor"})})};try{IconInstagram.displayName="IconInstagram",IconInstagram.__docgenInfo={description:"",displayName:"IconInstagram",props:{ariaLabel:{defaultValue:{value:"instagram"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconInstagram.tsx#IconInstagram"]={docgenInfo:IconInstagram.__docgenInfo,name:"IconInstagram",path:"src/icons/IconInstagram.tsx#IconInstagram"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconKey.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconKey:()=>IconKey});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconKey=function IconKey(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"key":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.1508 1C19.6361 1 21.6508 3.01472 21.6508 5.5C21.6508 7.98528 19.6361 10 17.1508 10C16.2736 10 15.4551 9.74902 14.763 9.31495L7.09 16.987L9.4046 19.2393L8.00962 20.6724L5.675 18.401L4.831 19.245L7.65685 22.0714L6.24264 23.4856L3.417 20.66L2 19.2487L3.41421 17.8287L5.482 15.766L5.6546 15.5892L13.3454 7.90287C12.9055 7.20765 12.6508 6.38356 12.6508 5.5C12.6508 3.01472 14.6655 1 17.1508 1ZM17.1508 3C15.7701 3 14.6508 4.11929 14.6508 5.5C14.6508 6.88071 15.7701 8 17.1508 8C18.5315 8 19.6508 6.88071 19.6508 5.5C19.6508 4.11929 18.5315 3 17.1508 3Z",fill:"currentColor"})})};try{IconKey.displayName="IconKey",IconKey.__docgenInfo={description:"",displayName:"IconKey",props:{ariaLabel:{defaultValue:{value:"key"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconKey.tsx#IconKey"]={docgenInfo:IconKey.__docgenInfo,name:"IconKey",path:"src/icons/IconKey.tsx#IconKey"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconLayers.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconLayers:()=>IconLayers});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconLayers=function IconLayers(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"layers":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19 14.5L21 15.5L12 20L3 15.5L5 14.5L12.0005 18L19 14.5ZM19 11L21 12L12 16.5L3 12L5 11L12.0005 14.5L19 11ZM12 4L21 8.5L12 13L3 8.5L12 4ZM12.0005 6L7 8.50052L12.0005 11L17 8.50052L12.0005 6Z",fill:"currentColor"})})};try{IconLayers.displayName="IconLayers",IconLayers.__docgenInfo={description:"",displayName:"IconLayers",props:{ariaLabel:{defaultValue:{value:"layers"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconLayers.tsx#IconLayers"]={docgenInfo:IconLayers.__docgenInfo,name:"IconLayers",path:"src/icons/IconLayers.tsx#IconLayers"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconLightbulb.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconLightbulb:()=>IconLightbulb});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconLightbulb=function IconLightbulb(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"lightbulb":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 9C4 11.5264 5.17107 13.7793 7 15.2454L8 16H16L17 15.2454C18.8289 13.7793 20 11.5264 20 9C20 4.58172 16.4183 1 12 1C7.58172 1 4 4.58172 4 9ZM15.7477 13.5C17.1207 12.4425 18 10.8958 18 9C18 5.68629 15.3137 3 12 3C8.68629 3 6 5.68629 6 9C6 10.8958 6.87929 12.4425 8.2523 13.5H15.7477Z",fill:"currentColor"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{d:"M16 17V19H8V17H16Z",fill:"currentColor"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{d:"M15.5 20V22H8.5V20H15.5Z",fill:"currentColor"})]})};try{IconLightbulb.displayName="IconLightbulb",IconLightbulb.__docgenInfo={description:"",displayName:"IconLightbulb",props:{ariaLabel:{defaultValue:{value:"lightbulb"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconLightbulb.tsx#IconLightbulb"]={docgenInfo:IconLightbulb.__docgenInfo,name:"IconLightbulb",path:"src/icons/IconLightbulb.tsx#IconLightbulb"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconLink.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconLink:()=>IconLink});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconLink=function IconLink(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"link":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.489 6.4205L13.5632 4.36474C14.4164 3.5116 15.5251 3.03036 16.6983 3.00138C17.8714 2.9724 18.9577 3.39942 19.7697 4.21143C20.5817 5.02344 21.0277 6.10924 20.9987 7.28241C20.971 8.40457 20.5294 9.46775 19.7445 10.3047L19.6353 10.4174L16.2034 13.8494C15.3502 14.7025 14.2415 15.1837 13.0684 15.2127C11.8952 15.2417 10.8089 14.8147 9.99691 14.0027L10.1969 13.8079C10.5504 13.4595 11.1937 12.8146 11.4317 12.5679C12.2724 13.4273 13.7924 13.4164 14.7324 12.5663L14.8188 12.4842L18.2134 9.03425C19.1635 8.08416 19.2013 6.55147 18.297 5.64719C17.4564 4.78776 15.9363 4.79863 14.9964 5.64871L14.91 5.73086L12.8547 7.78615L11.489 6.4205ZM4.28786 13.6217L7.60134 10.3267C9.28632 8.62321 12.0229 8.60779 13.7074 10.2923L13.1397 10.8677C12.7975 11.2113 12.4306 11.5756 12.322 11.6776C11.4425 10.7981 9.99793 10.7794 9.07476 11.6155L8.98977 11.6964L5.67618 15.01C4.75886 15.9273 4.75036 17.4352 5.6574 18.3422C6.53695 19.2218 7.98149 19.2405 8.90466 18.4044L8.98965 18.3235L10.9742 16.3204L12.3439 17.7089L10.3595 19.6933C9.51702 20.5357 8.39765 20.9702 7.29931 20.9764C6.20098 20.9826 5.08639 20.5607 4.25339 19.7277C2.60123 18.0938 2.5843 15.4301 4.19145 13.7211L4.28786 13.6217Z",fill:"currentColor"})})};try{IconLink.displayName="IconLink",IconLink.__docgenInfo={description:"",displayName:"IconLink",props:{ariaLabel:{defaultValue:{value:"link"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconLink.tsx#IconLink"]={docgenInfo:IconLink.__docgenInfo,name:"IconLink",path:"src/icons/IconLink.tsx#IconLink"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconLinkExternal.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconLinkExternal:()=>IconLinkExternal});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconLinkExternal=function IconLinkExternal(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"link-external":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 3V19H21V21H3V3H5ZM21 3V12H19V6.413L9.91421 15.5L8.5 14.0858L17.585 5H12V3H21Z",fill:"currentColor"})})};try{IconLinkExternal.displayName="IconLinkExternal",IconLinkExternal.__docgenInfo={description:"",displayName:"IconLinkExternal",props:{ariaLabel:{defaultValue:{value:"link-external"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconLinkExternal.tsx#IconLinkExternal"]={docgenInfo:IconLinkExternal.__docgenInfo,name:"IconLinkExternal",path:"src/icons/IconLinkExternal.tsx#IconLinkExternal"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconLinkedin.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconLinkedin:()=>IconLinkedin});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconLinkedin=function IconLinkedin(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"linkedin":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.0714 3H4.92857C3.86384 3 3 3.86384 3 4.92857V19.0714C3 20.1362 3.86384 21 4.92857 21H19.0714C20.1362 21 21 20.1362 21 19.0714V4.92857C21 3.86384 20.1362 3 19.0714 3ZM5.77232 18.4286V9.83839H8.4442V18.4286H5.77232ZM5.55937 7.1183C5.55937 6.26652 6.25045 5.57143 7.10625 5.57143C7.95804 5.57143 8.65312 6.26652 8.65312 7.1183C8.65312 7.97411 7.96205 8.66518 7.10625 8.66518C6.25045 8.66518 5.55937 7.97009 5.55937 7.1183ZM15.7728 18.4286V14.25C15.7728 13.2536 15.7527 11.9719 14.3866 11.9719C12.9964 11.9719 12.7835 13.0567 12.7835 14.1777V18.4286H10.1156V9.83839H12.675V11.0116H12.7112C13.0688 10.3366 13.9406 9.62545 15.2384 9.62545C17.9384 9.62545 18.4406 11.4054 18.4406 13.7196V18.4286H15.7728Z",fill:"currentColor"})})};try{IconLinkedin.displayName="IconLinkedin",IconLinkedin.__docgenInfo={description:"",displayName:"IconLinkedin",props:{ariaLabel:{defaultValue:{value:"linkedin"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconLinkedin.tsx#IconLinkedin"]={docgenInfo:IconLinkedin.__docgenInfo,name:"IconLinkedin",path:"src/icons/IconLinkedin.tsx#IconLinkedin"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconLocate.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconLocate:()=>IconLocate});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconLocate=function IconLocate(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"locate":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 2L13.001 4.06201C16.6192 4.51365 19.4869 7.38163 19.9381 11L22 11V13L19.938 13.001C19.4864 16.6189 16.6189 19.4864 13.001 19.938L13 22H11L11 19.9381C7.38163 19.4869 4.51365 16.6192 4.06201 13.001L2 13V11L4.06189 11C4.51312 7.38129 7.38129 4.51312 11 4.06189L11 2H13ZM12 6C8.68629 6 6 8.68629 6 12C6 15.3137 8.68629 18 12 18C15.3137 18 18 15.3137 18 12C18 8.68629 15.3137 6 12 6ZM12 8.5C13.933 8.5 15.5 10.067 15.5 12C15.5 13.933 13.933 15.5 12 15.5C10.067 15.5 8.5 13.933 8.5 12C8.5 10.067 10.067 8.5 12 8.5ZM12 10.5C11.1716 10.5 10.5 11.1716 10.5 12C10.5 12.8284 11.1716 13.5 12 13.5C12.8284 13.5 13.5 12.8284 13.5 12C13.5 11.1716 12.8284 10.5 12 10.5Z",fill:"currentColor"})})};try{IconLocate.displayName="IconLocate",IconLocate.__docgenInfo={description:"",displayName:"IconLocate",props:{ariaLabel:{defaultValue:{value:"locate"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconLocate.tsx#IconLocate"]={docgenInfo:IconLocate.__docgenInfo,name:"IconLocate",path:"src/icons/IconLocate.tsx#IconLocate"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconLocation.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconLocation:()=>IconLocation});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconLocation=function IconLocation(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"location":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9669 1.5C14.0265 1.5 16.0869 2.27765 17.6579 3.83367C20.8001 6.945 20.5878 11.7938 17.6579 15.1017L17.0345 15.8107C14.4235 18.8021 12.9688 20.7706 11.9669 22.7477C10.8937 20.6185 9.28527 18.4993 6.27797 15.1017C3.34814 11.7938 3.13508 6.945 6.27797 3.83367C7.84906 2.27765 9.90869 1.5 11.9669 1.5ZM11.999 3.5C10.3743 3.5 8.84685 4.12598 7.69956 5.26179C6.56645 6.38341 5.97897 7.81769 6.00058 9.41066C6.02151 10.984 6.64884 12.5453 7.76709 13.8087L8.42773 14.5606C10.0167 16.3842 11.1442 17.8 12.0004 19.0644C12.9748 17.6274 14.2916 16.0006 16.233 13.8087C17.3512 12.5453 17.9786 10.984 17.9995 9.41066C18.0198 7.81769 17.4323 6.38341 16.3005 5.26179C15.1519 4.12598 13.6251 3.5 11.999 3.5ZM12.0004 6C13.9338 6 15.5 7.56702 15.5 9.50039C15.5 11.433 13.9338 13 12.0004 13C10.067 13 8.5 11.433 8.5 9.50039C8.5 7.56702 10.067 6 12.0004 6ZM12.0003 8C11.1725 8 10.5 8.67319 10.5 9.50034C10.5 10.3268 11.1725 11 12.0003 11C12.8275 11 13.5 10.3268 13.5 9.50034C13.5 8.67319 12.8275 8 12.0003 8Z",fill:"currentColor"})})};try{IconLocation.displayName="IconLocation",IconLocation.__docgenInfo={description:"",displayName:"IconLocation",props:{ariaLabel:{defaultValue:{value:"location"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconLocation.tsx#IconLocation"]={docgenInfo:IconLocation.__docgenInfo,name:"IconLocation",path:"src/icons/IconLocation.tsx#IconLocation"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconLock.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconLock:()=>IconLock});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconLock=function IconLock(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"lock":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C14.7146 2 16.924 4.16334 16.9981 6.86005L17 7V9H19V22H5V9H7V7C7 4.23858 9.23858 2 12 2ZM17 11H7V20H17V11ZM13 13V18H11V13H13ZM12 4C10.3808 4 9.06121 5.28279 9.00207 6.88753L9 7V9H15V7C15 5.34315 13.6569 4 12 4Z",fill:"currentColor"})})};try{IconLock.displayName="IconLock",IconLock.__docgenInfo={description:"",displayName:"IconLock",props:{ariaLabel:{defaultValue:{value:"lock"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconLock.tsx#IconLock"]={docgenInfo:IconLock.__docgenInfo,name:"IconLock",path:"src/icons/IconLock.tsx#IconLock"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconLockOpen.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconLockOpen:()=>IconLockOpen});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconLockOpen=function IconLockOpen(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"lock-open":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17 2C19.7146 2 21.924 4.16334 21.9981 6.86005L22 7V9H20V7C20 5.34315 18.6569 4 17 4C15.3808 4 14.0612 5.28279 14.0021 6.88753L14 7V9H16V22H2V9H12V7C12 4.23858 14.2386 2 17 2ZM14 11H4V20H14V11ZM10 13V18H8V13H10Z",fill:"currentColor"})})};try{IconLockOpen.displayName="IconLockOpen",IconLockOpen.__docgenInfo={description:"",displayName:"IconLockOpen",props:{ariaLabel:{defaultValue:{value:"lock-open"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconLockOpen.tsx#IconLockOpen"]={docgenInfo:IconLockOpen.__docgenInfo,name:"IconLockOpen",path:"src/icons/IconLockOpen.tsx#IconLockOpen"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconMap.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconMap:()=>IconMap});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconMap=function IconMap(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"map":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 4.11255V17.7207L15 20.0541L9 18.054L2 20.3874V6.77922L9 4.44588L15 6.44547L22 4.11255ZM8 6.88655L4 8.22047V17.612L8 16.2785V6.88655ZM10 6.88655V16.2785L14 17.6115V8.22055L10 6.88655ZM20 6.88697L16 8.22055V17.6115L20 16.279V6.88697Z",fill:"currentColor"})})};try{IconMap.displayName="IconMap",IconMap.__docgenInfo={description:"",displayName:"IconMap",props:{ariaLabel:{defaultValue:{value:"map"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconMap.tsx#IconMap"]={docgenInfo:IconMap.__docgenInfo,name:"IconMap",path:"src/icons/IconMap.tsx#IconMap"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconMenuDots.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconMenuDots:()=>IconMenuDots});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconMenuDots=function IconMenuDots(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"menu-dots":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 14C13.1046 14 14 13.1046 14 12C14 10.8954 13.1046 10 12 10C10.8954 10 10 10.8954 10 12C10 13.1046 10.8954 14 12 14ZM19 14C20.1046 14 21 13.1046 21 12C21 10.8954 20.1046 10 19 10C17.8954 10 17 10.8954 17 12C17 13.1046 17.8954 14 19 14ZM5 14C6.10457 14 7 13.1046 7 12C7 10.8954 6.10457 10 5 10C3.89543 10 3 10.8954 3 12C3 13.1046 3.89543 14 5 14Z",fill:"currentColor"})})};try{IconMenuDots.displayName="IconMenuDots",IconMenuDots.__docgenInfo={description:"",displayName:"IconMenuDots",props:{ariaLabel:{defaultValue:{value:"menu-dots"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconMenuDots.tsx#IconMenuDots"]={docgenInfo:IconMenuDots.__docgenInfo,name:"IconMenuDots",path:"src/icons/IconMenuDots.tsx#IconMenuDots"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconMenuHamburger.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconMenuHamburger:()=>IconMenuHamburger});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconMenuHamburger=function IconMenuHamburger(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"menu-hamburger":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 17V19H2V17H22ZM22 11V13H2V11H22ZM22 5V7H2V5H22Z",fill:"currentColor"})})};try{IconMenuHamburger.displayName="IconMenuHamburger",IconMenuHamburger.__docgenInfo={description:"",displayName:"IconMenuHamburger",props:{ariaLabel:{defaultValue:{value:"menu-hamburger"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconMenuHamburger.tsx#IconMenuHamburger"]={docgenInfo:IconMenuHamburger.__docgenInfo,name:"IconMenuHamburger",path:"src/icons/IconMenuHamburger.tsx#IconMenuHamburger"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconMicrophone.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconMicrophone:()=>IconMicrophone});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconMicrophone=function IconMicrophone(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"microphone":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 11.5C7 14.2614 9.23858 16.5 12 16.5C14.6888 16.5 16.8818 14.3777 16.9954 11.7169L17 11.5H19C19 15.0261 16.3928 17.9433 13.001 18.429L13 21H16V23H8V21H11V18.4291C7.68518 17.955 5.11952 15.1585 5.00406 11.7407L5 11.5H7ZM12 1C13.6569 1 15 2.34315 15 4V11.5C15 13.1569 13.6569 14.5 12 14.5C10.3431 14.5 9 13.1569 9 11.5V4C9 2.34315 10.3431 1 12 1Z",fill:"currentColor"})})};try{IconMicrophone.displayName="IconMicrophone",IconMicrophone.__docgenInfo={description:"",displayName:"IconMicrophone",props:{ariaLabel:{defaultValue:{value:"microphone"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconMicrophone.tsx#IconMicrophone"]={docgenInfo:IconMicrophone.__docgenInfo,name:"IconMicrophone",path:"src/icons/IconMicrophone.tsx#IconMicrophone"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconMicrophoneCrossed.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconMicrophoneCrossed:()=>IconMicrophoneCrossed});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconMicrophoneCrossed=function IconMicrophoneCrossed(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"microphone-crossed":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19 11.5C19 15.0261 16.3928 17.9433 13.001 18.429L12.9999 21H16V23H8.00001V21H10.9999L11 18.4291C10.478 18.3544 9.97454 18.2222 9.49633 18.039L11.1141 16.4218C11.4016 16.4732 11.6977 16.5 12 16.5C14.6888 16.5 16.8818 14.3777 16.9954 11.7169L17 11.5H19ZM19.7929 2.79289L21.2071 4.20711L4.70712 20.7071L3.29291 19.2929L19.7929 2.79289ZM7.00001 11.5C7.00001 12.0885 7.10169 12.6533 7.28843 13.1777L5.76994 14.6948C5.31222 13.804 5.03994 12.8023 5.00407 11.7407L5.00001 11.5H7.00001ZM12 1C13.6569 1 15 2.34315 15 4V5.463L8.99997 11.464V4C8.99997 2.34315 10.3432 1 12 1Z",fill:"currentColor"})})};try{IconMicrophoneCrossed.displayName="IconMicrophoneCrossed",IconMicrophoneCrossed.__docgenInfo={description:"",displayName:"IconMicrophoneCrossed",props:{ariaLabel:{defaultValue:{value:"microphone-crossed"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconMicrophoneCrossed.tsx#IconMicrophoneCrossed"]={docgenInfo:IconMicrophoneCrossed.__docgenInfo,name:"IconMicrophoneCrossed",path:"src/icons/IconMicrophoneCrossed.tsx#IconMicrophoneCrossed"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconMinus.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconMinus:()=>IconMinus});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconMinus=function IconMinus(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"minus":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11H18V13H6V11Z",fill:"currentColor"})})};try{IconMinus.displayName="IconMinus",IconMinus.__docgenInfo={description:"",displayName:"IconMinus",props:{ariaLabel:{defaultValue:{value:"minus"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconMinus.tsx#IconMinus"]={docgenInfo:IconMinus.__docgenInfo,name:"IconMinus",path:"src/icons/IconMinus.tsx#IconMinus"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconMinusCircle.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconMinusCircle:()=>IconMinusCircle});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconMinusCircle=function IconMinusCircle(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"minus-circle":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4ZM17 11V13H7V11H17Z",fill:"currentColor"})})};try{IconMinusCircle.displayName="IconMinusCircle",IconMinusCircle.__docgenInfo={description:"",displayName:"IconMinusCircle",props:{ariaLabel:{defaultValue:{value:"minus-circle"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconMinusCircle.tsx#IconMinusCircle"]={docgenInfo:IconMinusCircle.__docgenInfo,name:"IconMinusCircle",path:"src/icons/IconMinusCircle.tsx#IconMinusCircle"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconMinusCircleFill.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconMinusCircleFill:()=>IconMinusCircleFill});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconMinusCircleFill=function IconMinusCircleFill(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"minus-circle-fill":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3ZM17 11V13H7V11H17Z",fill:"currentColor"})})};try{IconMinusCircleFill.displayName="IconMinusCircleFill",IconMinusCircleFill.__docgenInfo={description:"",displayName:"IconMinusCircleFill",props:{ariaLabel:{defaultValue:{value:"minus-circle-fill"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconMinusCircleFill.tsx#IconMinusCircleFill"]={docgenInfo:IconMinusCircleFill.__docgenInfo,name:"IconMinusCircleFill",path:"src/icons/IconMinusCircleFill.tsx#IconMinusCircleFill"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconMobile.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconMobile:()=>IconMobile});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconMobile=function IconMobile(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"mobile":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 2C17.1422 2 18.8911 3.68397 18.9951 5.80036L19 6V18C19 20.1422 17.316 21.8911 15.1996 21.9951L15 22H9C6.8578 22 5.10892 20.316 5.0049 18.1996L5 18V6C5 3.8578 6.68397 2.10892 8.80036 2.0049L9 2H15ZM15 4H9C7.94564 4 7.08183 4.81588 7.00549 5.85074L7 6V18C7 19.0544 7.81588 19.9182 8.85074 19.9945L9 20H15C16.0544 20 16.9182 19.1841 16.9945 18.1493L17 18V6C17 4.94564 16.1841 4.08183 15.1493 4.00549L15 4ZM12 15.5C12.8284 15.5 13.5 16.1716 13.5 17C13.5 17.8284 12.8284 18.5 12 18.5C11.1716 18.5 10.5 17.8284 10.5 17C10.5 16.1716 11.1716 15.5 12 15.5Z",fill:"currentColor"})})};try{IconMobile.displayName="IconMobile",IconMobile.__docgenInfo={description:"",displayName:"IconMobile",props:{ariaLabel:{defaultValue:{value:"mobile"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconMobile.tsx#IconMobile"]={docgenInfo:IconMobile.__docgenInfo,name:"IconMobile",path:"src/icons/IconMobile.tsx#IconMobile"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconMoneyBag.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconMoneyBag:()=>IconMoneyBag});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconMoneyBag=function IconMoneyBag(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"money-bag":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{d:"M12.464 14.716L12.116 15.856H10.712C10.916 16.66 11.336 17.2 12.212 17.2C13.184 17.2 13.52 16.336 13.532 15.352L15.116 16.348C14.744 17.56 13.784 18.592 12.212 18.592C10.64 18.592 9.452 17.68 9.032 15.856H8V14.716H8.888C8.876 14.584 8.876 14.44 8.876 14.284V14.02H8V12.88H9.02C9.44 10.984 10.712 10 12.212 10C13.724 10 14.744 10.96 15.116 12.184L13.532 13.168C13.532 12.184 13.16 11.392 12.212 11.392C11.384 11.392 10.928 12.016 10.712 12.88H12.98L12.644 14.02H10.568V14.716H12.464Z",fill:"currentColor"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9995 2C17.9772 2 17.9772 2.95238 17.9772 3.90476C17.9772 4.50064 16.807 5.84216 15.199 6.76301C18.7893 8.87132 21.6233 13.9983 21.9622 17.2381C22.4603 22 17.976 22 11.9993 22C6.0227 22 1.5396 22 2.03782 17.2381C2.37855 13.9814 5.23966 8.81779 8.85629 6.73027C7.21975 5.75613 6.02259 4.34759 6.02259 3.90438C6.02259 2.95212 6.02259 2 11.9995 2ZM15.5485 4.10203C15.3653 4.28013 15.1427 4.47216 14.8859 4.66307C13.9464 5.3615 12.8765 5.80952 11.9996 5.80952C11.1705 5.80952 10.1159 5.34161 9.14194 4.58999C8.92149 4.41987 8.72312 4.24874 8.55106 4.08648C8.62801 4.07501 8.71084 4.06368 8.7999 4.05265C9.52363 3.96296 10.5511 3.90476 11.9995 3.90476C13.4479 3.90476 14.4754 3.96296 15.1993 4.05265C15.3284 4.06865 15.4444 4.08527 15.5485 4.10203ZM19.773 18.9717C19.9052 18.7723 20.0757 18.3462 19.9797 17.4276C19.8068 15.7749 18.7445 13.2372 17.0852 11.099C15.3724 8.89178 13.5082 7.71429 11.9994 7.71429C10.4908 7.71429 8.62693 8.89168 6.91439 11.0989C5.25543 13.237 4.1933 15.7748 4.02037 17.4277C3.92424 18.3464 4.09478 18.7725 4.22692 18.972C4.35502 19.1653 4.61319 19.3974 5.24005 19.6041C5.89026 19.8184 6.78543 19.9539 7.97492 20.0245C9.15403 20.0945 10.4889 20.0952 11.9993 20.0952C13.5098 20.0952 14.8447 20.0945 16.024 20.0245C17.2136 19.9539 18.1089 19.8184 18.7594 19.604C19.3865 19.3973 19.6448 19.1652 19.773 18.9717Z",fill:"currentColor"})]})};try{IconMoneyBag.displayName="IconMoneyBag",IconMoneyBag.__docgenInfo={description:"",displayName:"IconMoneyBag",props:{ariaLabel:{defaultValue:{value:"money-bag"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconMoneyBag.tsx#IconMoneyBag"]={docgenInfo:IconMoneyBag.__docgenInfo,name:"IconMoneyBag",path:"src/icons/IconMoneyBag.tsx#IconMoneyBag"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconMoneyBagFill.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconMoneyBagFill:()=>IconMoneyBagFill});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconMoneyBagFill=function IconMoneyBagFill(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"money-bag-fill":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.9772 3.90476C17.9772 2.95238 17.9772 2 11.9995 2C6.02259 2 6.02259 2.95251 6.02259 3.90476C6.02259 4.34797 7.21975 5.75613 8.85629 6.73027C5.23966 8.81779 2.37855 13.9814 2.03782 17.2381C1.5396 22 6.0227 22 11.9993 22C17.976 22 22.4603 22 21.9622 17.2381C21.6233 13.9983 18.7893 8.87132 15.199 6.76301C16.807 5.84216 17.9772 4.50064 17.9772 3.90476ZM12.464 14.716L12.116 15.856H10.712C10.916 16.66 11.336 17.2 12.212 17.2C13.184 17.2 13.52 16.336 13.532 15.352L15.116 16.348C14.744 17.56 13.784 18.592 12.212 18.592C10.64 18.592 9.452 17.68 9.032 15.856H8V14.716H8.888C8.876 14.584 8.876 14.44 8.876 14.284V14.02H8V12.88H9.02C9.44 10.984 10.712 10 12.212 10C13.724 10 14.744 10.96 15.116 12.184L13.532 13.168C13.532 12.184 13.16 11.392 12.212 11.392C11.384 11.392 10.928 12.016 10.712 12.88H12.98L12.644 14.02H10.568V14.716H12.464Z",fill:"currentColor"})})};try{IconMoneyBagFill.displayName="IconMoneyBagFill",IconMoneyBagFill.__docgenInfo={description:"",displayName:"IconMoneyBagFill",props:{ariaLabel:{defaultValue:{value:"money-bag-fill"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconMoneyBagFill.tsx#IconMoneyBagFill"]={docgenInfo:IconMoneyBagFill.__docgenInfo,name:"IconMoneyBagFill",path:"src/icons/IconMoneyBagFill.tsx#IconMoneyBagFill"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconMover.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconMover:()=>IconMover});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconMover=function IconMover(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"mover":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 4C5.27614 4 5.5 3.77614 5.5 3.5C5.5 3.22386 5.27614 3 5 3C4.72386 3 4.5 3.22386 4.5 3.5C4.5 3.77614 4.72386 4 5 4ZM5 6C6.38071 6 7.5 4.88071 7.5 3.5C7.5 2.11929 6.38071 1 5 1C3.61929 1 2.5 2.11929 2.5 3.5C2.5 4.88071 3.61929 6 5 6ZM4 16V22H6V16H8V24H2V16H4ZM7 7C8.65685 7 10 8.34315 10 10V16H8V10C8 9.44772 7.55228 9 7 9H3C2.44772 9 2 9.44772 2 10V16H0V10C0 8.34315 1.34315 7 3 7H7ZM24 24C23.6483 24 23.3067 23.9851 22.9692 23.9563L22.8661 23.9557L22.8533 23.9459C19.6797 23.645 16.8663 22.1082 14.8995 19.8221L14.5891 19.4462L14.4089 19.213L14.1711 18.886C14.0346 18.6916 13.9037 18.4928 13.7787 18.29L13.7128 18.1819C12.6254 16.3764 12 14.2612 12 12C12 9.99115 12.4936 8.0976 13.3662 6.434L13.5435 6.10841C13.6201 5.97273 13.6993 5.83868 13.7809 5.70634L13.9901 5.37936L14.2048 5.06621L14.4563 4.72453L14.6838 4.43584C16.8848 1.72883 20.2405 0 24 0V24ZM22.4999 17.5503C21.7436 17.6013 20.9977 17.6904 20.2643 17.8159C20.8413 18.9913 21.5986 20.061 22.5002 20.9901L22.4999 17.5503ZM18.2615 18.2584L18.1241 18.2935C17.6108 18.4354 17.1051 18.5954 16.6077 18.7728C17.4818 19.6756 18.5514 20.385 19.7799 20.8618C19.1874 20.0541 18.6771 19.1822 18.2615 18.2584ZM17.0142 13.0007L14.0494 13C14.2019 14.5358 14.649 15.9218 15.3454 17.1092C16.0697 16.8277 16.8113 16.5816 17.5679 16.3717C17.2553 15.2945 17.0655 14.1656 17.0142 13.0007ZM22.5 13L19.0165 13.0007C19.0682 14.0099 19.2406 14.9873 19.5195 15.9186C20.4932 15.7336 21.4882 15.6085 22.5002 15.5461L22.5 13ZM15.3341 6.88774L15.2261 7.0793C14.5978 8.23146 14.193 9.55375 14.0494 11L17.0629 11.0007C17.1703 9.85024 17.413 8.73911 17.7749 7.68336C17.1506 7.5172 16.5364 7.32574 15.9333 7.11065L15.3341 6.88774ZM19.7409 8.12322L19.7366 8.13569C19.4072 9.04578 19.1814 10.0054 19.0732 11.0004L22.5 11L22.5002 8.4539C21.5649 8.39623 20.6441 8.28499 19.7409 8.12322ZM20.7835 5.94505L20.61 6.24042C21.2318 6.33658 21.8621 6.40671 22.4999 6.44966L22.5002 3.72125C21.9566 4.28139 21.4655 4.89268 21.0347 5.54721L20.7835 5.94505ZM20.6695 2.75257L20.5689 2.78073C18.9899 3.25097 17.6365 4.08935 16.5751 5.21494C17.2252 5.44857 17.889 5.65174 18.5653 5.82359C19.1329 4.707 19.8424 3.67609 20.6695 2.75257Z",fill:"currentColor"})})};try{IconMover.displayName="IconMover",IconMover.__docgenInfo={description:"",displayName:"IconMover",props:{ariaLabel:{defaultValue:{value:"mover"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconMover.tsx#IconMover"]={docgenInfo:IconMover.__docgenInfo,name:"IconMover",path:"src/icons/IconMover.tsx#IconMover"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconOccupation.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconOccupation:()=>IconOccupation});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconOccupation=function IconOccupation(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"occupation":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 2C6 0.89543 6.89543 0 8 0H16C17.1046 0 18 0.89543 18 2V4H16V2H8V4H6V2ZM22 4C23.1046 4 24 4.89543 24 6V22C24 23.1046 23.1046 24 22 24H2C0.895429 24 0 23.1046 0 22V6C0 4.89543 0.89543 4 2 4H22ZM22 12.427L12.6835 15.8155C12.242 15.9761 11.7581 15.9761 11.3166 15.8155L2 12.428V22H22V12.427ZM22 6H2V10.2996L12 13.9359L22 10.2996V6ZM12 10C12.5523 10 13 10.4477 13 11C13 11.5523 12.5523 12 12 12C11.4477 12 11 11.5523 11 11C11 10.4477 11.4477 10 12 10Z",fill:"currentColor"})})};try{IconOccupation.displayName="IconOccupation",IconOccupation.__docgenInfo={description:"",displayName:"IconOccupation",props:{ariaLabel:{defaultValue:{value:"occupation"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconOccupation.tsx#IconOccupation"]={docgenInfo:IconOccupation.__docgenInfo,name:"IconOccupation",path:"src/icons/IconOccupation.tsx#IconOccupation"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconPaperclip.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconPaperclip:()=>IconPaperclip});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconPaperclip=function IconPaperclip(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"paperclip":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 7H18V16C18 19.3137 15.3137 22 12 22C8.7616 22 6.12243 19.4344 6.00414 16.2249L6 16V6.5C6 4.01472 8.01472 2 10.5 2C12.9143 2 14.8845 3.90124 14.9951 6.28816L15 6.5V15C15 16.6569 13.6569 18 12 18C10.4023 18 9.09634 16.7511 9.00509 15.1763L9 15V7H11V15C11 15.5523 11.4477 16 12 16C12.5128 16 12.9355 15.614 12.9933 15.1166L13 15V6.5C13 5.11929 11.8807 4 10.5 4C9.17452 4 8.08996 5.03154 8.00532 6.33562L8 6.5V16C8 18.2091 9.79086 20 12 20C14.1422 20 15.8911 18.316 15.9951 16.1996L16 16V7Z",fill:"currentColor"})})};try{IconPaperclip.displayName="IconPaperclip",IconPaperclip.__docgenInfo={description:"",displayName:"IconPaperclip",props:{ariaLabel:{defaultValue:{value:"paperclip"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconPaperclip.tsx#IconPaperclip"]={docgenInfo:IconPaperclip.__docgenInfo,name:"IconPaperclip",path:"src/icons/IconPaperclip.tsx#IconPaperclip"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconPen.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconPen:()=>IconPen});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconPen=function IconPen(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"pen":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.75 3L4.5 15.25L4.5143 19.9857L9.25 20L21.5 7.75L16.75 3ZM6.5 16L16.75 5.75L18.75 7.75L8.5 18L6.50696 17.994L6.5 16Z",fill:"currentColor"})})};try{IconPen.displayName="IconPen",IconPen.__docgenInfo={description:"",displayName:"IconPen",props:{ariaLabel:{defaultValue:{value:"pen"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconPen.tsx#IconPen"]={docgenInfo:IconPen.__docgenInfo,name:"IconPen",path:"src/icons/IconPen.tsx#IconPen"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconPenLine.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconPenLine:()=>IconPenLine});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconPenLine=function IconPenLine(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"pen-line":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.25 2.5L3.5 13.25L3.5143 17.9857L8.25 18L19 7.25L14.25 2.5ZM5.5 14L14.25 5.25L16.25 7.25L7.5 16L5.50696 15.994L5.5 14ZM3.5 20H20.5V22H3.5V20Z",fill:"currentColor"})})};try{IconPenLine.displayName="IconPenLine",IconPenLine.__docgenInfo={description:"",displayName:"IconPenLine",props:{ariaLabel:{defaultValue:{value:"pen-line"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconPenLine.tsx#IconPenLine"]={docgenInfo:IconPenLine.__docgenInfo,name:"IconPenLine",path:"src/icons/IconPenLine.tsx#IconPenLine"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconPersonFemale.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconPersonFemale:()=>IconPersonFemale});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconPersonFemale=function IconPersonFemale(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"person-female":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 18V22H13V18H15V24H9V18H11ZM13.0476 7C14.9713 7 16.1733 8.17451 16.6362 10.0048L18.4695 17.2548L16.5305 17.7452L14.6972 10.4952C14.45 9.51758 13.9877 9.0376 13.15 9.00213L13.0476 9H10.9524C10.0496 9 9.55991 9.47847 9.30282 10.4952L7.46948 17.7452L5.53052 17.2548L7.36385 10.0048C7.81512 8.22027 8.96906 7.05914 10.8095 7.00219L10.9524 7H13.0476ZM12 0C13.6569 0 15 1.34315 15 3C15 4.65685 13.6569 6 12 6C10.3431 6 9 4.65685 9 3C9 1.34315 10.3431 0 12 0ZM12 2C11.4477 2 11 2.44772 11 3C11 3.55228 11.4477 4 12 4C12.5523 4 13 3.55228 13 3C13 2.44772 12.5523 2 12 2Z",fill:"currentColor"})})};try{IconPersonFemale.displayName="IconPersonFemale",IconPersonFemale.__docgenInfo={description:"",displayName:"IconPersonFemale",props:{ariaLabel:{defaultValue:{value:"person-female"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconPersonFemale.tsx#IconPersonFemale"]={docgenInfo:IconPersonFemale.__docgenInfo,name:"IconPersonFemale",path:"src/icons/IconPersonFemale.tsx#IconPersonFemale"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconPersonGenderless.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconPersonGenderless:()=>IconPersonGenderless});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconPersonGenderless=function IconPersonGenderless(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"person-genderless":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 17V22H13V17H15V24H9V17H11ZM16.5 9L17 17H15L14.7167 10.4952C14.4695 9.51758 14.0073 9.0376 13.1695 9.00213L10.9719 9C10.0691 9 9.57944 9.47848 9.32235 10.4952L9 17H7L7.5 9C7.95127 7.21543 8.98859 7.05914 10.829 7.00219L10.9719 7H13.0672C14.9908 7 16.0372 7.16967 16.5 9ZM12.0195 0C13.6764 0 15.0195 1.34315 15.0195 3C15.0195 4.59768 13.7706 5.90366 12.1958 5.99491L12 6C10.3432 6 9.00005 4.65685 9.00005 3C9.00005 1.40232 10.249 0.0963394 11.8237 0.00509271L12.0195 0ZM12.0092 2.00004L12.0195 2C11.4672 2 11.0195 2.44772 11.0195 3C11.0195 3.54891 11.4618 3.99453 12.0094 3.99995C12.5523 4 13 3.55228 13 3C13 2.45078 12.5572 2.00497 12.0092 2.00004Z",fill:"currentColor"})})};try{IconPersonGenderless.displayName="IconPersonGenderless",IconPersonGenderless.__docgenInfo={description:"",displayName:"IconPersonGenderless",props:{ariaLabel:{defaultValue:{value:"person-genderless"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconPersonGenderless.tsx#IconPersonGenderless"]={docgenInfo:IconPersonGenderless.__docgenInfo,name:"IconPersonGenderless",path:"src/icons/IconPersonGenderless.tsx#IconPersonGenderless"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconPersonMale.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconPersonMale:()=>IconPersonMale});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconPersonMale=function IconPersonMale(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"person-male":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 16V22H13V16H15V24H9V16H11ZM14.5 7C16.3927 7 17.9345 8.50239 17.998 10.3797L18 10.5V16H16V10.5C16 9.70116 15.3755 9.04817 14.5881 9.00255L14.5 9H9.5C8.70116 9 8.04817 9.62446 8.00255 10.4119L8 10.5V16H6V10.5C6 8.60727 7.50239 7.06545 9.37967 7.00203L9.5 7H14.5ZM12 0C13.6569 0 15 1.34315 15 3C15 4.65685 13.6569 6 12 6C10.3431 6 9 4.65685 9 3C9 1.34315 10.3431 0 12 0ZM12 2C11.4477 2 11 2.44772 11 3C11 3.55228 11.4477 4 12 4C12.5523 4 13 3.55228 13 3C13 2.44772 12.5523 2 12 2Z",fill:"currentColor"})})};try{IconPersonMale.displayName="IconPersonMale",IconPersonMale.__docgenInfo={description:"",displayName:"IconPersonMale",props:{ariaLabel:{defaultValue:{value:"person-male"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconPersonMale.tsx#IconPersonMale"]={docgenInfo:IconPersonMale.__docgenInfo,name:"IconPersonMale",path:"src/icons/IconPersonMale.tsx#IconPersonMale"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconPersonWheelchair.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconPersonWheelchair:()=>IconPersonWheelchair});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconPersonWheelchair=function IconPersonWheelchair(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"person-wheelchair":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.99937 9.49841L7.99958 11.7576C7.759 11.9187 7.53053 12.1055 7.31802 12.318C5.56066 14.0754 5.56066 16.9246 7.31802 18.682C9.044 20.408 11.8232 20.4388 13.5868 18.7744L13.682 18.682L15.0962 20.0962C12.5578 22.6346 8.44221 22.6346 5.90381 20.0962C3.3654 17.5578 3.3654 13.4422 5.90381 10.9038C6.52361 10.284 7.23743 9.81554 7.99937 9.49841ZM11 1C12.6569 1 14 2.34315 14 4C14 5.30625 13.1651 6.41751 11.9999 6.82933L11.999 9H16V11H11.999L12 11.7912C12.0005 12.3185 12.2054 12.8233 12.5858 13.2036C13.1271 13.745 13.5156 13.8925 14.4669 13.9563L14.7547 13.9725C16.3725 14.0496 17.2151 14.2974 18.2426 15.325C19.1739 16.2563 19.4647 17.0357 19.5684 18.3779L19.5951 18.8129C19.6482 19.9287 19.7607 20.3519 20.2893 20.9054L20.364 20.9818L18.9497 22.396C17.9603 21.4065 17.6938 20.5885 17.6066 19.0847L17.5973 18.9081C17.5418 17.7416 17.4213 17.3321 16.8284 16.7392C16.2613 16.1721 15.8619 16.0372 14.8075 15.9779L14.6595 15.9703C13.0418 15.8932 12.1991 15.6454 11.1716 14.6179C10.4489 13.8951 10.0409 12.9409 10.0029 11.943L9.9991 6.82898C8.83438 6.41688 8 5.30588 8 4C8 2.34315 9.34315 1 11 1ZM11 3C10.4477 3 10 3.44772 10 4C10 4.55228 10.4477 5 11 5C11.5523 5 12 4.55228 12 4C12 3.44772 11.5523 3 11 3Z",fill:"currentColor"})})};try{IconPersonWheelchair.displayName="IconPersonWheelchair",IconPersonWheelchair.__docgenInfo={description:"",displayName:"IconPersonWheelchair",props:{ariaLabel:{defaultValue:{value:"person-wheelchair"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconPersonWheelchair.tsx#IconPersonWheelchair"]={docgenInfo:IconPersonWheelchair.__docgenInfo,name:"IconPersonWheelchair",path:"src/icons/IconPersonWheelchair.tsx#IconPersonWheelchair"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconPhone.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconPhone:()=>IconPhone});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconPhone=function IconPhone(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"phone":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.88475 2.50597L3.04274 4.34798L3.00927 4.38311C0.572022 7.06914 2.78398 12.4521 7.19058 16.8176C11.6361 21.2216 16.9423 23.4177 19.6169 20.9908L21.4941 19.1153C22.1719 18.4375 22.1491 17.5519 21.5517 16.8429L21.4941 16.7801L17.3496 12.6356C16.6717 11.9577 15.7862 11.9805 15.0771 12.5779L15.0143 12.6356L13.968 13.6815L13.9315 13.6736C13.3458 13.53 12.6896 13.0718 11.8082 12.1904L11.6852 12.066C10.8843 11.2471 10.4629 10.6263 10.3263 10.0686L10.318 10.0315L11.3645 8.98572L11.4221 8.92294C12.0195 8.21389 12.0424 7.32836 11.3645 6.6505L7.21997 2.50597L7.15719 2.44833C6.44814 1.85093 5.56261 1.82812 4.88475 2.50597ZM6.05202 4.16653L9.70352 7.81803L8.27588 9.24591V9.66012C8.27588 11.015 8.96256 12.1732 10.394 13.6046C11.8259 15.0365 12.9851 15.7242 14.3399 15.7242H14.7541L16.182 14.2965L19.833 17.9475L18.2379 19.5431C16.7133 20.9249 12.3595 19.1231 8.59815 15.3968L8.44621 15.2448C4.87572 11.6383 3.13151 7.398 4.43358 5.7933L4.48102 5.73753L6.05202 4.16653Z",fill:"currentColor"})})};try{IconPhone.displayName="IconPhone",IconPhone.__docgenInfo={description:"",displayName:"IconPhone",props:{ariaLabel:{defaultValue:{value:"phone"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconPhone.tsx#IconPhone"]={docgenInfo:IconPhone.__docgenInfo,name:"IconPhone",path:"src/icons/IconPhone.tsx#IconPhone"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconPhoto.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconPhoto:()=>IconPhoto});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconPhoto=function IconPhoto(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"photo":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 2V22H4V2H20ZM16 15C15.1401 15 14.7159 15.2223 13.88 16.0363L13.7071 16.2071C12.4113 17.5029 11.5828 18 10 18C8.50049 18 7.67799 17.5539 6.49379 16.4051L6 15.92V20H18V15.922L17.958 15.8813C17.2256 15.1936 16.8025 15 16 15ZM18 4H6L6.00114 13.4397C6.50287 13.6831 6.92886 14.0298 7.51078 14.5986L7.70711 14.7929C8.6613 15.7471 9.08282 16 10 16C10.8599 16 11.2841 15.7777 12.12 14.9637L12.2929 14.7929C13.5887 13.4971 14.4172 13 16 13C16.8098 13 17.4222 13.1301 18.0007 13.4308L18 4ZM10 6C11.6569 6 13 7.34315 13 9C13 10.6569 11.6569 12 10 12C8.34315 12 7 10.6569 7 9C7 7.34315 8.34315 6 10 6ZM10 8C9.44772 8 9 8.44772 9 9C9 9.55228 9.44772 10 10 10C10.5523 10 11 9.55228 11 9C11 8.44772 10.5523 8 10 8Z",fill:"currentColor"})})};try{IconPhoto.displayName="IconPhoto",IconPhoto.__docgenInfo={description:"",displayName:"IconPhoto",props:{ariaLabel:{defaultValue:{value:"photo"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconPhoto.tsx#IconPhoto"]={docgenInfo:IconPhoto.__docgenInfo,name:"IconPhoto",path:"src/icons/IconPhoto.tsx#IconPhoto"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconPhotoPlus.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconPhotoPlus:()=>IconPhotoPlus});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconPhotoPlus=function IconPhotoPlus(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"photo-plus":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2V4H6L6.00114 13.4397C6.50287 13.6831 6.92886 14.0298 7.51078 14.5986L7.70711 14.7929C8.6613 15.7471 9.08282 16 10 16C10.8599 16 11.2841 15.7777 12.12 14.9637L12.2929 14.7929C13.5887 13.4971 14.4172 13 16 13C16.8098 13 17.4222 13.1301 18.0007 13.4308L18 11H20V22H4V2H12ZM16 15C15.1401 15 14.7159 15.2223 13.88 16.0363L13.7071 16.2071C12.4113 17.5029 11.5828 18 10 18C8.50049 18 7.67799 17.5539 6.49379 16.4051L6 15.92V20H18V15.922L17.958 15.8813C17.2256 15.1936 16.8025 15 16 15ZM10 6C11.6569 6 13 7.34315 13 9C13 10.6569 11.6569 12 10 12C8.34315 12 7 10.6569 7 9C7 7.34315 8.34315 6 10 6ZM10 8C9.44772 8 9 8.44772 9 9C9 9.55229 9.44772 10 10 10C10.5523 10 11 9.55229 11 9C11 8.44772 10.5523 8 10 8ZM19 1V4H22V6H19V9H17V6H14V4H17V1H19Z",fill:"currentColor"})})};try{IconPhotoPlus.displayName="IconPhotoPlus",IconPhotoPlus.__docgenInfo={description:"",displayName:"IconPhotoPlus",props:{ariaLabel:{defaultValue:{value:"photo-plus"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconPhotoPlus.tsx#IconPhotoPlus"]={docgenInfo:IconPhotoPlus.__docgenInfo,name:"IconPhotoPlus",path:"src/icons/IconPhotoPlus.tsx#IconPhotoPlus"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconPlaybackFastforward.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconPlaybackFastforward:()=>IconPlaybackFastforward});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconPlaybackFastforward=function IconPlaybackFastforward(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"playback-fastforward":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 5L13 12L5 19V5ZM13 5L21 12L13 19V5Z",fill:"currentColor"})})};try{IconPlaybackFastforward.displayName="IconPlaybackFastforward",IconPlaybackFastforward.__docgenInfo={description:"",displayName:"IconPlaybackFastforward",props:{ariaLabel:{defaultValue:{value:"playback-fastforward"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconPlaybackFastforward.tsx#IconPlaybackFastforward"]={docgenInfo:IconPlaybackFastforward.__docgenInfo,name:"IconPlaybackFastforward",path:"src/icons/IconPlaybackFastforward.tsx#IconPlaybackFastforward"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconPlaybackNext.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconPlaybackNext:()=>IconPlaybackNext});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconPlaybackNext=function IconPlaybackNext(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"playback-next":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19 4V20H17V4H19ZM5 5L17 12L5 19V5Z",fill:"currentColor"})})};try{IconPlaybackNext.displayName="IconPlaybackNext",IconPlaybackNext.__docgenInfo={description:"",displayName:"IconPlaybackNext",props:{ariaLabel:{defaultValue:{value:"playback-next"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconPlaybackNext.tsx#IconPlaybackNext"]={docgenInfo:IconPlaybackNext.__docgenInfo,name:"IconPlaybackNext",path:"src/icons/IconPlaybackNext.tsx#IconPlaybackNext"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconPlaybackPause.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconPlaybackPause:()=>IconPlaybackPause});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconPlaybackPause=function IconPlaybackPause(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"playback-pause":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17 5V19H14V5H17ZM10 5V19H7V5H10Z",fill:"currentColor"})})};try{IconPlaybackPause.displayName="IconPlaybackPause",IconPlaybackPause.__docgenInfo={description:"",displayName:"IconPlaybackPause",props:{ariaLabel:{defaultValue:{value:"playback-pause"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconPlaybackPause.tsx#IconPlaybackPause"]={docgenInfo:IconPlaybackPause.__docgenInfo,name:"IconPlaybackPause",path:"src/icons/IconPlaybackPause.tsx#IconPlaybackPause"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconPlaybackPlay.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconPlaybackPlay:()=>IconPlaybackPlay});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconPlaybackPlay=function IconPlaybackPlay(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"playback-play":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 5L19 12L7 19V5Z",fill:"currentColor"})})};try{IconPlaybackPlay.displayName="IconPlaybackPlay",IconPlaybackPlay.__docgenInfo={description:"",displayName:"IconPlaybackPlay",props:{ariaLabel:{defaultValue:{value:"playback-play"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconPlaybackPlay.tsx#IconPlaybackPlay"]={docgenInfo:IconPlaybackPlay.__docgenInfo,name:"IconPlaybackPlay",path:"src/icons/IconPlaybackPlay.tsx#IconPlaybackPlay"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconPlaybackPrevious.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconPlaybackPrevious:()=>IconPlaybackPrevious});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconPlaybackPrevious=function IconPlaybackPrevious(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"playback-previous":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 4V20H7V4H5ZM19 5L7 12L19 19V5Z",fill:"currentColor"})})};try{IconPlaybackPrevious.displayName="IconPlaybackPrevious",IconPlaybackPrevious.__docgenInfo={description:"",displayName:"IconPlaybackPrevious",props:{ariaLabel:{defaultValue:{value:"playback-previous"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconPlaybackPrevious.tsx#IconPlaybackPrevious"]={docgenInfo:IconPlaybackPrevious.__docgenInfo,name:"IconPlaybackPrevious",path:"src/icons/IconPlaybackPrevious.tsx#IconPlaybackPrevious"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconPlaybackRecord.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconPlaybackRecord:()=>IconPlaybackRecord});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconPlaybackRecord=function IconPlaybackRecord(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"playback-record":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{d:"M12 18C15.3137 18 18 15.3137 18 12C18 8.68629 15.3137 6 12 6C8.68629 6 6 8.68629 6 12C6 15.3137 8.68629 18 12 18Z",fill:"currentColor"})})};try{IconPlaybackRecord.displayName="IconPlaybackRecord",IconPlaybackRecord.__docgenInfo={description:"",displayName:"IconPlaybackRecord",props:{ariaLabel:{defaultValue:{value:"playback-record"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconPlaybackRecord.tsx#IconPlaybackRecord"]={docgenInfo:IconPlaybackRecord.__docgenInfo,name:"IconPlaybackRecord",path:"src/icons/IconPlaybackRecord.tsx#IconPlaybackRecord"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconPlaybackRewind.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconPlaybackRewind:()=>IconPlaybackRewind});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconPlaybackRewind=function IconPlaybackRewind(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"playback-rewind":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19 5L11 12L19 19V5ZM11 5L3 12L11 19V5Z",fill:"currentColor"})})};try{IconPlaybackRewind.displayName="IconPlaybackRewind",IconPlaybackRewind.__docgenInfo={description:"",displayName:"IconPlaybackRewind",props:{ariaLabel:{defaultValue:{value:"playback-rewind"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconPlaybackRewind.tsx#IconPlaybackRewind"]={docgenInfo:IconPlaybackRewind.__docgenInfo,name:"IconPlaybackRewind",path:"src/icons/IconPlaybackRewind.tsx#IconPlaybackRewind"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconPlaybackStop.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconPlaybackStop:()=>IconPlaybackStop});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconPlaybackStop=function IconPlaybackStop(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"playback-stop":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 6H18V18H6V6Z",fill:"currentColor"})})};try{IconPlaybackStop.displayName="IconPlaybackStop",IconPlaybackStop.__docgenInfo={description:"",displayName:"IconPlaybackStop",props:{ariaLabel:{defaultValue:{value:"playback-stop"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconPlaybackStop.tsx#IconPlaybackStop"]={docgenInfo:IconPlaybackStop.__docgenInfo,name:"IconPlaybackStop",path:"src/icons/IconPlaybackStop.tsx#IconPlaybackStop"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconPlus.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconPlus:()=>IconPlus});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconPlus=function IconPlus(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"plus":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 6V11H18V13H13V18H11V13H6V11H11V6H13Z",fill:"currentColor"})})};try{IconPlus.displayName="IconPlus",IconPlus.__docgenInfo={description:"",displayName:"IconPlus",props:{ariaLabel:{defaultValue:{value:"plus"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconPlus.tsx#IconPlus"]={docgenInfo:IconPlus.__docgenInfo,name:"IconPlus",path:"src/icons/IconPlus.tsx#IconPlus"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconPlusCircle.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconPlusCircle:()=>IconPlusCircle});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconPlusCircle=function IconPlusCircle(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"plus-circle":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4ZM13 7V11H17V13H13V17H11V13H7V11H11V7H13Z",fill:"currentColor"})})};try{IconPlusCircle.displayName="IconPlusCircle",IconPlusCircle.__docgenInfo={description:"",displayName:"IconPlusCircle",props:{ariaLabel:{defaultValue:{value:"plus-circle"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconPlusCircle.tsx#IconPlusCircle"]={docgenInfo:IconPlusCircle.__docgenInfo,name:"IconPlusCircle",path:"src/icons/IconPlusCircle.tsx#IconPlusCircle"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconPlusCircleFill.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconPlusCircleFill:()=>IconPlusCircleFill});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconPlusCircleFill=function IconPlusCircleFill(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"plus-circle-fill":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3ZM13 7V11H17V13H13V17H11V13H7V11H11V7H13Z",fill:"currentColor"})})};try{IconPlusCircleFill.displayName="IconPlusCircleFill",IconPlusCircleFill.__docgenInfo={description:"",displayName:"IconPlusCircleFill",props:{ariaLabel:{defaultValue:{value:"plus-circle-fill"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconPlusCircleFill.tsx#IconPlusCircleFill"]={docgenInfo:IconPlusCircleFill.__docgenInfo,name:"IconPlusCircleFill",path:"src/icons/IconPlusCircleFill.tsx#IconPlusCircleFill"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconPodcast.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconPodcast:()=>IconPodcast});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconPodcast=function IconPodcast(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"podcast":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.00001 24V22H10.999L10.9992 19.9169C8.23377 19.4526 6.10998 17.0965 6.00415 14.2249L6.00001 14H8.00001C8.00001 16.2091 9.79087 18 12 18C14.1422 18 15.8911 16.316 15.9951 14.1996L16 14H18C18 16.9731 15.8376 19.4411 12.9998 19.9171L12.999 22H15V24H9.00001ZM16.0596 4.58174L16.2427 4.75736L14.8284 6.17157C13.3184 4.66155 10.9014 4.61121 9.33095 6.02057L9.17158 6.17157L7.75737 4.75736C10.0404 2.47429 13.7056 2.41575 16.0596 4.58174ZM12 7C13.1046 7 14 7.89543 14 9V14C14 15.1046 13.1046 16 12 16C10.8954 16 10 15.1046 10 14V9C10 7.89543 10.8954 7 12 7ZM18.1547 2.43334L18.364 2.63604L16.9498 4.05025C14.2782 1.37871 9.98452 1.31799 7.23924 3.8681L7.05026 4.05025L5.63605 2.63604C9.08185 -0.809764 14.6266 -0.877328 18.1547 2.43334Z",fill:"currentColor"})})};try{IconPodcast.displayName="IconPodcast",IconPodcast.__docgenInfo={description:"",displayName:"IconPodcast",props:{ariaLabel:{defaultValue:{value:"podcast"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconPodcast.tsx#IconPodcast"]={docgenInfo:IconPodcast.__docgenInfo,name:"IconPodcast",path:"src/icons/IconPodcast.tsx#IconPodcast"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconPrinter.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconPrinter:()=>IconPrinter});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconPrinter=function IconPrinter(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"printer":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 3V8H18.5C20.5 8 22 9.50002 22 11.5V19L18 19V22H6V19L2 19V11.5C2 9.50002 3.5 8 5.5 8H6V3H18ZM16 16H8V20H16V16ZM18.5 10H5.5C4.5 10 4 10.5 4 11.5V17H6V14H18V17H20V11.5C20 10.5 19.5 10 18.5 10ZM6 11C6.55228 11 7 11.4477 7 12C7 12.5523 6.55228 13 6 13C5.44772 13 5 12.5523 5 12C5 11.4477 5.44772 11 6 11ZM16 5H8V8H16V5Z",fill:"currentColor"})})};try{IconPrinter.displayName="IconPrinter",IconPrinter.__docgenInfo={description:"",displayName:"IconPrinter",props:{ariaLabel:{defaultValue:{value:"printer"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconPrinter.tsx#IconPrinter"]={docgenInfo:IconPrinter.__docgenInfo,name:"IconPrinter",path:"src/icons/IconPrinter.tsx#IconPrinter"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconQuestionCircle.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconQuestionCircle:()=>IconQuestionCircle});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconQuestionCircle=function IconQuestionCircle(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"question-circle":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4ZM13 16V18H11V16H13ZM12.0437 5.75C14.0343 5.75 15.7173 7.29464 15.7173 9.42361C15.7173 10.7806 15.2461 11.489 14.161 12.306L13.9187 12.4844C13.1753 13.0295 12.9556 13.3359 12.9386 14.142L12.9375 14.25H10.9375C10.9375 12.6746 11.4591 11.8378 12.6143 10.9622L12.8618 10.7796C13.5685 10.2628 13.7173 10.0539 13.7173 9.42361C13.7173 8.43934 12.9662 7.75 12.0437 7.75C11.1907 7.75 10.4785 8.34077 10.3816 9.20835L10.3734 9.30587L8.37663 9.19182C8.49191 7.17347 10.1344 5.75 12.0437 5.75Z",fill:"currentColor"})})};try{IconQuestionCircle.displayName="IconQuestionCircle",IconQuestionCircle.__docgenInfo={description:"",displayName:"IconQuestionCircle",props:{ariaLabel:{defaultValue:{value:"question-circle"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconQuestionCircle.tsx#IconQuestionCircle"]={docgenInfo:IconQuestionCircle.__docgenInfo,name:"IconQuestionCircle",path:"src/icons/IconQuestionCircle.tsx#IconQuestionCircle"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconQuestionCircleFill.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconQuestionCircleFill:()=>IconQuestionCircleFill});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconQuestionCircleFill=function IconQuestionCircleFill(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"question-circle-fill":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3ZM13 16V18H11V16H13ZM12.0437 5.75C14.0343 5.75 15.7173 7.29464 15.7173 9.42361C15.7173 10.7806 15.2461 11.489 14.161 12.306L13.9187 12.4844C13.1753 13.0295 12.9556 13.3359 12.9386 14.142L12.9375 14.25H10.9375C10.9375 12.6746 11.4591 11.8378 12.6143 10.9622L12.8618 10.7796C13.5685 10.2628 13.7173 10.0539 13.7173 9.42361C13.7173 8.43934 12.9662 7.75 12.0437 7.75C11.1907 7.75 10.4785 8.34077 10.3816 9.20835L10.3734 9.30587L8.37663 9.19182C8.49191 7.17347 10.1344 5.75 12.0437 5.75Z",fill:"currentColor"})})};try{IconQuestionCircleFill.displayName="IconQuestionCircleFill",IconQuestionCircleFill.__docgenInfo={description:"",displayName:"IconQuestionCircleFill",props:{ariaLabel:{defaultValue:{value:"question-circle-fill"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconQuestionCircleFill.tsx#IconQuestionCircleFill"]={docgenInfo:IconQuestionCircleFill.__docgenInfo,name:"IconQuestionCircleFill",path:"src/icons/IconQuestionCircleFill.tsx#IconQuestionCircleFill"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconRefresh.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconRefresh:()=>IconRefresh});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconRefresh=function IconRefresh(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"refresh":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 2V9H13V7L16.8992 7.00023C15.6367 5.76291 13.9074 5 12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19C15.866 19 19 15.866 19 12H21C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C14.3056 3 16.4088 3.86699 18.0012 5.29274L18 2H20Z",fill:"currentColor"})})};try{IconRefresh.displayName="IconRefresh",IconRefresh.__docgenInfo={description:"",displayName:"IconRefresh",props:{ariaLabel:{defaultValue:{value:"refresh"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconRefresh.tsx#IconRefresh"]={docgenInfo:IconRefresh.__docgenInfo,name:"IconRefresh",path:"src/icons/IconRefresh.tsx#IconRefresh"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconRestaurant.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconRestaurant:()=>IconRestaurant});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconRestaurant=function IconRestaurant(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"restaurant":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.9911 4.085C11.3531 4.085 11.6523 4.35399 11.6996 4.70298L11.7061 4.8V7.8C11.7061 9.04864 10.8632 10.1004 9.71538 10.4173L9.71467 13.3005C9.86178 13.4508 9.96187 13.6473 9.99115 13.8662L10 14V19C10 19.5523 9.55232 20 9.00003 20C8.44775 20 8.00003 19.5523 8.00003 19V14C8.00003 13.7277 8.10886 13.4808 8.2854 13.3005L8.2854 10.4224C7.17931 10.1254 6.3521 9.14735 6.28108 7.96539L6.27612 7.8V4.8C6.27612 4.40512 6.59624 4.085 6.99112 4.085C7.3531 4.085 7.65225 4.35399 7.6996 4.70298L7.70612 4.8V7.8H8.28412L8.28503 4.8C8.28503 4.40512 8.60515 4.085 9.00003 4.085C9.36201 4.085 9.66116 4.35399 9.70851 4.70298L9.71503 4.8L9.71412 7.8H10.2761V4.8C10.2761 4.40512 10.5962 4.085 10.9911 4.085ZM18 19C18 19.5523 17.5523 20 17 20C16.4477 20 16 19.5523 16 19L15.999 12.5L14.9653 12.2423C14.4676 12.1185 14.151 11.6416 14.2154 11.1451L14.2371 11.0304L15.7544 4.97128C15.8973 4.40042 16.4103 4 16.9988 4C17.5523 4 18 4.44772 18 5V19Z",fill:"currentColor"})})};try{IconRestaurant.displayName="IconRestaurant",IconRestaurant.__docgenInfo={description:"",displayName:"IconRestaurant",props:{ariaLabel:{defaultValue:{value:"restaurant"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconRestaurant.tsx#IconRestaurant"]={docgenInfo:IconRestaurant.__docgenInfo,name:"IconRestaurant",path:"src/icons/IconRestaurant.tsx#IconRestaurant"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconRss.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconRss:()=>IconRss});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconRss=function IconRss(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"rss":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.0714 3C20.0855 3 20.9173 3.78353 20.9942 4.7779L21 4.92857V19.0714C21 20.0855 20.2165 20.9173 19.2221 20.9942L19.0714 21H4.92857C3.91454 21 3.08273 20.2165 3.0058 19.2221L3 19.0714V4.92857C3 3.91454 3.78353 3.08273 4.7779 3.0058L4.92857 3H19.0714ZM7 15C5.89543 15 5 15.8954 5 17C5 18.1046 5.89543 19 7 19C8.10457 19 9 18.1046 9 17C9 15.8954 8.10457 15 7 15ZM5 9.5V12L5.24065 12.0041C8.91533 12.1282 11.8718 15.0847 11.9959 18.7593L12 19H14.5L14.4962 18.7295C14.3556 13.6977 10.3023 9.64445 5.27048 9.50378L5 9.5ZM5 5V7.5L5.29227 7.50364C11.4098 7.65625 16.3412 12.5862 16.4962 18.7031L16.5 19H19L18.9966 18.6874C18.8326 11.2051 12.7986 5.16972 5.31698 5.00352L5 5Z",fill:"currentColor"})})};try{IconRss.displayName="IconRss",IconRss.__docgenInfo={description:"",displayName:"IconRss",props:{ariaLabel:{defaultValue:{value:"rss"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconRss.tsx#IconRss"]={docgenInfo:IconRss.__docgenInfo,name:"IconRss",path:"src/icons/IconRss.tsx#IconRss"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconSaveDiskette.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconSaveDiskette:()=>IconSaveDiskette});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconSaveDiskette=function IconSaveDiskette(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"save-diskette":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 5V21C22 21.5523 21.5523 22 21 22H3C2.44772 22 2 21.5523 2 21V3C2 2.44772 2.44772 2 3 2H19L22 5ZM18.0083 4L20 6V20H4V4H18.0083ZM17 12H7V14H17V12ZM16 9H8V11H16V9ZM6 4H8V11H6V4ZM5 12H7V20H5V12ZM16 4H18V11H16V4ZM13 5H15V8H13V5ZM17 12H19V20H17V12Z",fill:"currentColor"})})};try{IconSaveDiskette.displayName="IconSaveDiskette",IconSaveDiskette.__docgenInfo={description:"",displayName:"IconSaveDiskette",props:{ariaLabel:{defaultValue:{value:"save-diskette"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconSaveDiskette.tsx#IconSaveDiskette"]={docgenInfo:IconSaveDiskette.__docgenInfo,name:"IconSaveDiskette",path:"src/icons/IconSaveDiskette.tsx#IconSaveDiskette"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconSaveDisketteFill.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconSaveDisketteFill:()=>IconSaveDisketteFill});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconSaveDisketteFill=function IconSaveDisketteFill(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"save-diskette-fill":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19 2L22 5V21C22 21.5523 21.5523 22 21 22H3C2.44772 22 2 21.5523 2 21V3C2 2.44772 2.44772 2 3 2H19ZM19 12H5V20H19V12ZM17 3H7V10H17V3ZM15 5V8H13V5H15Z",fill:"currentColor"})})};try{IconSaveDisketteFill.displayName="IconSaveDisketteFill",IconSaveDisketteFill.__docgenInfo={description:"",displayName:"IconSaveDisketteFill",props:{ariaLabel:{defaultValue:{value:"save-diskette-fill"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconSaveDisketteFill.tsx#IconSaveDisketteFill"]={docgenInfo:IconSaveDisketteFill.__docgenInfo,name:"IconSaveDisketteFill",path:"src/icons/IconSaveDisketteFill.tsx#IconSaveDisketteFill"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconScroll.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconScroll:()=>IconScroll});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconScroll=function IconScroll(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"scroll":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 17C2 19.2091 3.79086 21 6 21H22V5H10C10 2.79086 8.20914 1 6 1C3.79086 1 2 2.79086 2 5V17ZM20 7H10V13L7.41421 15.5858C7.05228 15.2239 6.55228 15 6 15C4.89543 15 4 15.8954 4 17C4 18.1046 4.89543 19 6 19H20V7ZM6 3C7.10457 3 8 3.89543 8 5V13.5351C7.41165 13.1948 6.72857 13 6 13C5.27143 13 4.58835 13.1948 4 13.5351V5C4 3.89543 4.89543 3 6 3Z",fill:"currentColor"})})};try{IconScroll.displayName="IconScroll",IconScroll.__docgenInfo={description:"",displayName:"IconScroll",props:{ariaLabel:{defaultValue:{value:"scroll"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconScroll.tsx#IconScroll"]={docgenInfo:IconScroll.__docgenInfo,name:"IconScroll",path:"src/icons/IconScroll.tsx#IconScroll"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconScrollCogwheel.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconScrollCogwheel:()=>IconScrollCogwheel});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconScrollCogwheel=function IconScrollCogwheel(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"scroll-cogwheel":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 17C2 19.2091 3.79086 21 6 21H10V19H6C4.89543 19 4 18.1046 4 17C4 15.8954 4.89543 15 6 15C6.55228 15 7.05228 15.2239 7.41421 15.5858L10 13V7H20V9H22V5H10C10 2.79086 8.20914 1 6 1C3.79086 1 2 2.79086 2 5V17ZM6 3C7.10457 3 8 3.89543 8 5V13.5351C7.41165 13.1948 6.72857 13 6 13C5.27143 13 4.58835 13.1948 4 13.5351V5C4 3.89543 4.89543 3 6 3Z",fill:"currentColor"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.0279 10.6583C16.3788 9.78057 17.6212 9.78057 17.9721 10.6583C18.2148 11.2656 18.9488 11.5041 19.5022 11.1555C20.302 10.6516 21.3071 11.3819 21.0751 12.2982C20.9145 12.9322 21.3681 13.5566 22.0207 13.5998C22.9639 13.6623 23.3479 14.8439 22.6215 15.4488C22.1189 15.8674 22.1189 16.6391 22.6215 17.0577C23.3479 17.6626 22.9639 18.8443 22.0207 18.9067C21.3681 18.9499 20.9145 19.5743 21.0751 20.2083C21.3071 21.1246 20.302 21.8549 19.5022 21.351C18.9488 21.0024 18.2148 21.2409 17.9721 21.8482C17.6212 22.7259 16.3788 22.7259 16.0279 21.8482C15.7852 21.2409 15.0512 21.0024 14.4978 21.351C13.698 21.8549 12.6929 21.1246 12.9249 20.2083C13.0855 19.5743 12.6319 18.9499 11.9793 18.9067C11.0361 18.8443 10.6521 17.6626 11.3785 17.0577C11.8811 16.6391 11.8811 15.8674 11.3785 15.4488C10.6521 14.8439 11.0361 13.6623 11.9793 13.5998C12.6319 13.5566 13.0855 12.9322 12.9249 12.2982C12.6929 11.3819 13.698 10.6516 14.4978 11.1555C15.0512 11.5041 15.7852 11.2656 16.0279 10.6583ZM18.973 16.2264C18.973 17.3309 18.0776 18.2264 16.973 18.2264C15.8685 18.2264 14.973 17.3309 14.973 16.2264C14.973 15.1218 15.8685 14.2264 16.973 14.2264C18.0776 14.2264 18.973 15.1218 18.973 16.2264Z",fill:"currentColor"})]})};try{IconScrollCogwheel.displayName="IconScrollCogwheel",IconScrollCogwheel.__docgenInfo={description:"",displayName:"IconScrollCogwheel",props:{ariaLabel:{defaultValue:{value:"scroll-cogwheel"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconScrollCogwheel.tsx#IconScrollCogwheel"]={docgenInfo:IconScrollCogwheel.__docgenInfo,name:"IconScrollCogwheel",path:"src/icons/IconScrollCogwheel.tsx#IconScrollCogwheel"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconScrollContent.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconScrollContent:()=>IconScrollContent});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconScrollContent=function IconScrollContent(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"scroll-content":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{d:"M18 9H12V11H18V9Z",fill:"currentColor"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{d:"M12 12H18V14H12V12Z",fill:"currentColor"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{d:"M18 15H12V17H18V15Z",fill:"currentColor"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 21C3.79086 21 2 19.2091 2 17V5C2 2.79086 3.79086 1 6 1C8.20914 1 10 2.79086 10 5H22V21H6ZM10 7H20V19H6C4.89543 19 4 18.1046 4 17C4 15.8954 4.89543 15 6 15C6.55228 15 7.05228 15.2239 7.41421 15.5858L10 13V7ZM8 5C8 3.89543 7.10457 3 6 3C4.89543 3 4 3.89543 4 5V13.5351C4.58835 13.1948 5.27143 13 6 13C6.72857 13 7.41165 13.1948 8 13.5351V5Z",fill:"currentColor"})]})};try{IconScrollContent.displayName="IconScrollContent",IconScrollContent.__docgenInfo={description:"",displayName:"IconScrollContent",props:{ariaLabel:{defaultValue:{value:"scroll-content"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconScrollContent.tsx#IconScrollContent"]={docgenInfo:IconScrollContent.__docgenInfo,name:"IconScrollContent",path:"src/icons/IconScrollContent.tsx#IconScrollContent"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconScrollGroup.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconScrollGroup:()=>IconScrollGroup});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconScrollGroup=function IconScrollGroup(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"scroll-group":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 11C2 13.2091 3.79086 15 6 15H22V5H10C10 2.79086 8.20914 1 6 1C3.79086 1 2 2.79086 2 5V11ZM20 7H10L7.41421 9.58579C7.05228 9.22386 6.55228 9 6 9C4.89543 9 4 9.89543 4 11C4 12.1046 4.89543 13 6 13H20V7ZM6 3C7.10457 3 8 3.89543 8 5V7.53513C7.41165 7.19479 6.72857 7 6 7C5.27143 7 4.58835 7.19479 4 7.53513V5C4 3.89543 4.89543 3 6 3Z",fill:"currentColor"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{d:"M2 14C2.00026 16.2089 3.79102 17.9995 6 17.9995H22V15.9995H6C4.3644 15.9995 2.91223 15.2142 2 14Z",fill:"currentColor"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{d:"M6 20.9995C3.79102 20.9995 2.00026 19.2089 2 17C2.91223 18.2142 4.3644 18.9995 6 18.9995H22V20.9995H6Z",fill:"currentColor"})]})};try{IconScrollGroup.displayName="IconScrollGroup",IconScrollGroup.__docgenInfo={description:"",displayName:"IconScrollGroup",props:{ariaLabel:{defaultValue:{value:"scroll-group"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconScrollGroup.tsx#IconScrollGroup"]={docgenInfo:IconScrollGroup.__docgenInfo,name:"IconScrollGroup",path:"src/icons/IconScrollGroup.tsx#IconScrollGroup"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconSearch.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconSearch:()=>IconSearch});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconSearch=function IconSearch(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"search":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 1C19.4183 1 23 4.58172 23 9C23 13.4183 19.4183 17 15 17C13.2001 17 11.539 16.4056 10.2023 15.4023L3.80101 21.8021L2.21002 20.2111L8.60822 13.8117C7.59861 12.4726 7.00002 10.8062 7.00002 9C7.00002 4.58172 10.5817 1 15 1ZM15 3C11.6863 3 9.00002 5.68629 9.00002 9C9.00002 12.3137 11.6863 15 15 15C18.3137 15 21 12.3137 21 9C21 5.68629 18.3137 3 15 3Z",fill:"currentColor"})})};try{IconSearch.displayName="IconSearch",IconSearch.__docgenInfo={description:"",displayName:"IconSearch",props:{ariaLabel:{defaultValue:{value:"search"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconSearch.tsx#IconSearch"]={docgenInfo:IconSearch.__docgenInfo,name:"IconSearch",path:"src/icons/IconSearch.tsx#IconSearch"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconSenior.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconSenior:()=>IconSenior});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconSenior=function IconSenior(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"senior":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 12.5C8.88071 12.5 10 13.6193 10 15V16H8V15C8 14.7239 7.77614 14.5 7.5 14.5C7.22386 14.5 7 14.7239 7 15V24H5V15C5 13.6193 6.11929 12.5 7.5 12.5ZM18 16V24H10V18H12V22H16V16H18ZM17 7C18.6569 7 20 8.34315 20 10V16H18V10L17.9933 9.88338C17.9355 9.38604 17.5128 9 17 9H11C10.4477 9 10 9.44772 10 10V11H8V10L8.00509 9.82373C8.09634 8.24892 9.40232 7 11 7H17ZM14 4C14.5523 4 15 3.55228 15 3C15 2.44772 14.5523 2 14 2C13.4477 2 13 2.44772 13 3C13 3.55228 13.4477 4 14 4ZM14 6C15.6569 6 17 4.65685 17 3C17 1.34315 15.6569 0 14 0C12.3431 0 11 1.34315 11 3C11 4.65685 12.3431 6 14 6Z",fill:"currentColor"})})};try{IconSenior.displayName="IconSenior",IconSenior.__docgenInfo={description:"",displayName:"IconSenior",props:{ariaLabel:{defaultValue:{value:"senior"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconSenior.tsx#IconSenior"]={docgenInfo:IconSenior.__docgenInfo,name:"IconSenior",path:"src/icons/IconSenior.tsx#IconSenior"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconShare.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconShare:()=>IconShare});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconShare=function IconShare(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"share":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.5 2.25C20.433 2.25 22 3.817 22 5.75C22 7.683 20.433 9.25 18.5 9.25C17.4601 9.25 16.5262 8.79651 15.8851 8.07652L8.96926 11.5341C8.98954 11.6865 9 11.842 9 12C9 12.158 8.98954 12.3135 8.96926 12.4659L15.8851 15.9235C16.5262 15.2035 17.4601 14.75 18.5 14.75C20.433 14.75 22 16.317 22 18.25C22 20.183 20.433 21.75 18.5 21.75C16.567 21.75 15 20.183 15 18.25C15 18.1135 15.0078 17.9788 15.023 17.8464L8.07394 14.3717C7.43439 15.0654 6.51794 15.5 5.5 15.5C3.567 15.5 2 13.933 2 12C2 10.067 3.567 8.5 5.5 8.5C6.51794 8.5 7.43439 8.93457 8.07394 9.6283L15.023 6.15357C15.0078 6.02115 15 5.88649 15 5.75C15 3.817 16.567 2.25 18.5 2.25ZM18.5 16.75C17.6716 16.75 17 17.4216 17 18.25C17 19.0784 17.6716 19.75 18.5 19.75C19.3284 19.75 20 19.0784 20 18.25C20 17.4216 19.3284 16.75 18.5 16.75ZM5.5 10.5C4.67157 10.5 4 11.1716 4 12C4 12.8284 4.67157 13.5 5.5 13.5C6.32843 13.5 7 12.8284 7 12C7 11.1716 6.32843 10.5 5.5 10.5ZM18.5 4.25C17.6716 4.25 17 4.92157 17 5.75C17 6.57843 17.6716 7.25 18.5 7.25C19.3284 7.25 20 6.57843 20 5.75C20 4.92157 19.3284 4.25 18.5 4.25Z",fill:"currentColor"})})};try{IconShare.displayName="IconShare",IconShare.__docgenInfo={description:"",displayName:"IconShare",props:{ariaLabel:{defaultValue:{value:"share"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconShare.tsx#IconShare"]={docgenInfo:IconShare.__docgenInfo,name:"IconShare",path:"src/icons/IconShare.tsx#IconShare"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconShield.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconShield:()=>IconShield});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconShield=function IconShield(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"shield":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{d:"M17 9.25L15.75 8L10.75 13L8.25 10.5L7 11.75L10.75 15.5L17 9.25Z",fill:"currentColor"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 6C21 22 12 22 12 22C12 22 3 22 3 6L12 2L21 6ZM8.82872 18.5052C7.23291 17.0867 5.24721 14.0133 5.02123 7.29031L12 4.18864L18.9787 7.29031C18.7528 14.0133 16.7671 17.0867 15.1712 18.5052C14.2998 19.2798 13.4477 19.6518 12.838 19.8324C12.5317 19.9232 12.2871 19.9653 12.1347 19.9847C12.0736 19.9924 12.028 19.9964 12 19.9985C11.9719 19.9964 11.9263 19.9924 11.8652 19.9847C11.7129 19.9653 11.4682 19.9232 11.1619 19.8324C10.5523 19.6518 9.70017 19.2798 8.82872 18.5052Z",fill:"currentColor"})]})};try{IconShield.displayName="IconShield",IconShield.__docgenInfo={description:"",displayName:"IconShield",props:{ariaLabel:{defaultValue:{value:"shield"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconShield.tsx#IconShield"]={docgenInfo:IconShield.__docgenInfo,name:"IconShield",path:"src/icons/IconShield.tsx#IconShield"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconShoppingCart.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconShoppingCart:()=>IconShoppingCart});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconShoppingCart=function IconShoppingCart(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"shopping-cart":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.6 13C17.3 13 18 12.6 18.3 12L21.9 5.5C22.2 4.8 21.8 4 21 4H6.2L5.3 2H2V4H4L7.6 11.6L6.2 14C5.5 15.3 6.4 17 8 17H20V15H8L9.1 13H16.6ZM7.2 6H19.3L16.5 11H9.5L7.2 6ZM8 18C6.9 18 6 18.9 6 20C6 21.1 6.9 22 8 22C9.1 22 10 21.1 10 20C10 18.9 9.1 18 8 18ZM18 18C16.9 18 16 18.9 16 20C16 21.1 16.9 22 18 22C19.1 22 20 21.1 20 20C20 18.9 19.1 18 18 18Z",fill:"currentColor"})})};try{IconShoppingCart.displayName="IconShoppingCart",IconShoppingCart.__docgenInfo={description:"",displayName:"IconShoppingCart",props:{ariaLabel:{defaultValue:{value:"shopping-cart"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconShoppingCart.tsx#IconShoppingCart"]={docgenInfo:IconShoppingCart.__docgenInfo,name:"IconShoppingCart",path:"src/icons/IconShoppingCart.tsx#IconShoppingCart"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconSignin.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconSignin:()=>IconSignin});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconSignin=function IconSignin(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"signin":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 2V22H8V17H10V20H19V4H10V7H8V2H21ZM12.5 7L17.5 12L12.5 17L11 15.5L13.5 12.999L2 13V11L13.499 10.999L11 8.5L12.5 7Z",fill:"currentColor"})})};try{IconSignin.displayName="IconSignin",IconSignin.__docgenInfo={description:"",displayName:"IconSignin",props:{ariaLabel:{defaultValue:{value:"signin"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconSignin.tsx#IconSignin"]={docgenInfo:IconSignin.__docgenInfo,name:"IconSignin",path:"src/icons/IconSignin.tsx#IconSignin"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconSignout.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconSignout:()=>IconSignout});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconSignout=function IconSignout(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"signout":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 2V7H14V4H5V20H14V17H16V22H3V2H16ZM18 7L23 12L18 17L16.5 15.5L19 12.999L8 13V11L18.999 10.999L16.5 8.5L18 7Z",fill:"currentColor"})})};try{IconSignout.displayName="IconSignout",IconSignout.__docgenInfo={description:"",displayName:"IconSignout",props:{ariaLabel:{defaultValue:{value:"signout"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconSignout.tsx#IconSignout"]={docgenInfo:IconSignout.__docgenInfo,name:"IconSignout",path:"src/icons/IconSignout.tsx#IconSignout"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconSitemap.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconSitemap:()=>IconSitemap});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconSitemap=function IconSitemap(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"sitemap":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 3V9H13V11H20V15H22V21H16V15H18V13H13V15H15V21H9V15H11V13H6V15H8V21H2V15H4V11H11V9H9V3H15ZM6 17H4V19H6V17ZM13 17H11V19H13V17ZM20 17H18V19H20V17Z",fill:"currentColor"})})};try{IconSitemap.displayName="IconSitemap",IconSitemap.__docgenInfo={description:"",displayName:"IconSitemap",props:{ariaLabel:{defaultValue:{value:"sitemap"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconSitemap.tsx#IconSitemap"]={docgenInfo:IconSitemap.__docgenInfo,name:"IconSitemap",path:"src/icons/IconSitemap.tsx#IconSitemap"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconSliders.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconSliders:()=>IconSliders});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconSliders=function IconSliders(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"sliders":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 15C17.3063 15 18.4175 15.8349 18.8293 17.0001L22 17V19L18.829 19.0009C18.4169 20.1656 17.3059 21 16 21C14.6941 21 13.5831 20.1656 13.171 19.0009L2 19V17L13.1707 17.0001C13.5825 15.8349 14.6937 15 16 15ZM16 17C15.4477 17 15 17.4477 15 18C15 18.5523 15.4477 19 16 19C16.5523 19 17 18.5523 17 18C17 17.4477 16.5523 17 16 17ZM7 9C8.30625 9 9.41751 9.83485 9.82933 11.0001L22 11V13L9.82898 13.0009L9.8251 13.0118C9.42883 14.1181 8.40112 14.9239 7.17627 14.9949L7 15C5.69412 15 4.58311 14.1656 4.17102 13.0009L2 13V11L4.17067 11.0001L4.1749 10.9882C4.59004 9.82919 5.69819 9 7 9ZM7 11C6.44772 11 6 11.4477 6 12C6 12.5523 6.44772 13 7 13C7.55228 13 8 12.5523 8 12C8 11.4477 7.55228 11 7 11ZM12 3C13.3063 3 14.4175 3.83485 14.8293 5.00009L22 5V7L14.829 7.0009C14.4169 8.16562 13.3059 9 12 9C10.6941 9 9.58312 8.16562 9.17102 7.0009L2 7V5L9.17067 5.00009C9.58249 3.83485 10.6937 3 12 3ZM12 5C11.4477 5 11 5.44772 11 6C11 6.55228 11.4477 7 12 7C12.5523 7 13 6.55228 13 6C13 5.44772 12.5523 5 12 5Z",fill:"currentColor"})})};try{IconSliders.displayName="IconSliders",IconSliders.__docgenInfo={description:"",displayName:"IconSliders",props:{ariaLabel:{defaultValue:{value:"sliders"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconSliders.tsx#IconSliders"]={docgenInfo:IconSliders.__docgenInfo,name:"IconSliders",path:"src/icons/IconSliders.tsx#IconSliders"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconSnapchat.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconSnapchat:()=>IconSnapchat});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconSnapchat=function IconSnapchat(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"snapchat":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.0714 3H4.92857C3.86384 3 3 3.86384 3 4.92857V19.0714C3 20.1362 3.86384 21 4.92857 21H19.0714C20.1362 21 21 20.1362 21 19.0714V4.92857C21 3.86384 20.1362 3 19.0714 3ZM18.8103 15.6522C18.6696 15.9777 18.083 16.2147 17.0103 16.3835C16.954 16.4598 16.9098 16.7772 16.8375 17.0223C16.7933 17.171 16.6888 17.2594 16.5121 17.2594H16.504C16.2549 17.2594 15.9897 17.1429 15.4674 17.1429C14.7603 17.1429 14.5152 17.3036 13.9647 17.6933C13.3821 18.1071 12.8237 18.4607 11.9879 18.4246C11.1442 18.4888 10.4371 17.9746 10.0393 17.6933C9.48482 17.3036 9.24375 17.1429 8.53661 17.1429C8.03437 17.1429 7.71696 17.2674 7.5 17.2674C7.28304 17.2674 7.19866 17.1348 7.16652 17.0263C7.0942 16.7812 7.05 16.4598 6.99375 16.3835C6.43929 16.2991 5.19375 16.0821 5.16563 15.5237C5.15759 15.379 5.25804 15.2504 5.40268 15.2263C7.26295 14.921 8.09866 13.0125 8.13482 12.9321C8.13482 12.9281 8.13884 12.9241 8.14286 12.9201C8.2433 12.7192 8.26339 12.5504 8.20714 12.4179C8.07054 12.1004 7.48795 11.9879 7.24286 11.8875C6.60804 11.6384 6.51964 11.3491 6.55982 11.1522C6.62411 10.8107 7.13839 10.5978 7.43973 10.7384C7.67679 10.8509 7.88973 10.9071 8.07054 10.9071C8.20312 10.9071 8.29152 10.875 8.33571 10.8509C8.27946 9.89062 8.14687 8.52054 8.48839 7.75313C9.39241 5.73214 11.3049 5.57143 11.8674 5.57143C11.8915 5.57143 12.1125 5.56741 12.1366 5.56741C13.5308 5.56741 14.8687 6.28259 15.5237 7.74911C15.8652 8.51652 15.7326 9.88259 15.6763 10.8469C15.7205 10.871 15.7929 10.8991 15.9054 10.9031C16.0781 10.8951 16.275 10.8388 16.496 10.7344C16.6567 10.658 16.8817 10.6701 17.0424 10.7344C17.2955 10.8268 17.4563 11.0076 17.4603 11.2125C17.4643 11.4737 17.2312 11.6987 16.7692 11.8795C16.7129 11.9036 16.6446 11.9237 16.5723 11.9478C16.3112 12.0321 15.9134 12.1567 15.8089 12.4098C15.7527 12.5424 15.7768 12.7112 15.8732 12.9121C15.8772 12.9161 15.8772 12.9201 15.8813 12.9241C15.9174 13.0045 16.7531 14.9129 18.6134 15.2183C18.7741 15.2585 18.8987 15.4393 18.8103 15.6522Z",fill:"currentColor"})})};try{IconSnapchat.displayName="IconSnapchat",IconSnapchat.__docgenInfo={description:"",displayName:"IconSnapchat",props:{ariaLabel:{defaultValue:{value:"snapchat"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconSnapchat.tsx#IconSnapchat"]={docgenInfo:IconSnapchat.__docgenInfo,name:"IconSnapchat",path:"src/icons/IconSnapchat.tsx#IconSnapchat"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconSort.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconSort:()=>IconSort});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconSort=function IconSort(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"sort":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 14.5L16.5 16L12 20.5L7.5 16L9 14.5L12 17.5L15 14.5ZM12 3.5L16.5 8L15 9.5L12 6.5L9 9.5L7.5 8L12 3.5Z",fill:"currentColor"})})};try{IconSort.displayName="IconSort",IconSort.__docgenInfo={description:"",displayName:"IconSort",props:{ariaLabel:{defaultValue:{value:"sort"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconSort.tsx#IconSort"]={docgenInfo:IconSort.__docgenInfo,name:"IconSort",path:"src/icons/IconSort.tsx#IconSort"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconSortAlphabeticalAscending.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconSortAlphabeticalAscending:()=>IconSortAlphabeticalAscending});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconSortAlphabeticalAscending=function IconSortAlphabeticalAscending(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"sort-alphabetical-ascending":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 3.99999V16.5L10 14.5L11.5 16L7 20.5L2.5 16L4 14.5L6 16.5V3.99999H8ZM16.995 12.96C18.835 12.96 20.275 14.28 20.275 16.52C20.275 18.76 18.835 20.12 16.995 20.12C15.165 20.12 13.725 18.76 13.725 16.52C13.725 14.28 15.165 12.96 16.995 12.96ZM16.995 14.59C16.015 14.59 15.625 15.46 15.625 16.52C15.625 17.58 16.015 18.49 16.995 18.49C17.975 18.49 18.375 17.58 18.375 16.52C18.375 15.46 17.975 14.59 16.995 14.59ZM15.935 11C16.435 11 16.805 11.36 16.805 11.86C16.805 12.36 16.435 12.72 15.935 12.72C15.435 12.72 15.065 12.36 15.065 11.86C15.065 11.36 15.435 11 15.935 11ZM18.065 11C18.565 11 18.935 11.36 18.935 11.86C18.935 12.36 18.565 12.72 18.065 12.72C17.565 12.72 17.195 12.36 17.195 11.86C17.195 11.36 17.565 11 18.065 11ZM18.135 3.07999L20.465 9.99999H18.545L18.125 8.67999H15.785L15.375 9.99999H13.535L15.865 3.07999H18.135ZM16.985 4.85999H16.945L16.8651 5.21207L16.8068 5.43215L16.735 5.66999L16.265 7.15999H17.655L17.1478 5.55011L17.0845 5.31863L17.018 5.02991L16.985 4.85999Z",fill:"currentColor"})})};try{IconSortAlphabeticalAscending.displayName="IconSortAlphabeticalAscending",IconSortAlphabeticalAscending.__docgenInfo={description:"",displayName:"IconSortAlphabeticalAscending",props:{ariaLabel:{defaultValue:{value:"sort-alphabetical-ascending"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconSortAlphabeticalAscending.tsx#IconSortAlphabeticalAscending"]={docgenInfo:IconSortAlphabeticalAscending.__docgenInfo,name:"IconSortAlphabeticalAscending",path:"src/icons/IconSortAlphabeticalAscending.tsx#IconSortAlphabeticalAscending"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconSortAlphabeticalDescending.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconSortAlphabeticalDescending:()=>IconSortAlphabeticalDescending});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconSortAlphabeticalDescending=function IconSortAlphabeticalDescending(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"sort-alphabetical-descending":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.995 12.96C18.835 12.96 20.275 14.28 20.275 16.52C20.275 18.76 18.835 20.12 16.995 20.12C15.165 20.12 13.725 18.76 13.725 16.52C13.725 14.28 15.165 12.96 16.995 12.96ZM7 3.49999L11.5 7.99999L10 9.49999L8 7.49999V20H6V7.49999L4 9.49999L2.5 7.99999L7 3.49999ZM16.995 14.59C16.015 14.59 15.625 15.46 15.625 16.52C15.625 17.58 16.015 18.49 16.995 18.49C17.975 18.49 18.375 17.58 18.375 16.52C18.375 15.46 17.975 14.59 16.995 14.59ZM15.935 11C16.435 11 16.805 11.36 16.805 11.86C16.805 12.36 16.435 12.72 15.935 12.72C15.435 12.72 15.065 12.36 15.065 11.86C15.065 11.36 15.435 11 15.935 11ZM18.065 11C18.565 11 18.935 11.36 18.935 11.86C18.935 12.36 18.565 12.72 18.065 12.72C17.565 12.72 17.195 12.36 17.195 11.86C17.195 11.36 17.565 11 18.065 11ZM18.135 3.07999L20.465 9.99999H18.545L18.125 8.67999H15.785L15.375 9.99999H13.535L15.865 3.07999H18.135ZM16.985 4.85999H16.945L16.8651 5.21207L16.8068 5.43215L16.735 5.66999L16.265 7.15999H17.655L17.1478 5.55011L17.0845 5.31863L17.018 5.02991L16.985 4.85999Z",fill:"currentColor"})})};try{IconSortAlphabeticalDescending.displayName="IconSortAlphabeticalDescending",IconSortAlphabeticalDescending.__docgenInfo={description:"",displayName:"IconSortAlphabeticalDescending",props:{ariaLabel:{defaultValue:{value:"sort-alphabetical-descending"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconSortAlphabeticalDescending.tsx#IconSortAlphabeticalDescending"]={docgenInfo:IconSortAlphabeticalDescending.__docgenInfo,name:"IconSortAlphabeticalDescending",path:"src/icons/IconSortAlphabeticalDescending.tsx#IconSortAlphabeticalDescending"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconSortAscending.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconSortAscending:()=>IconSortAscending});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconSortAscending=function IconSortAscending(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"sort-ascending":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 4V16.5L8 14.5L9.5 16L5 20.5L0.5 16L2 14.5L4 16.5V4H6ZM23 17V19H11V17H23ZM21 13V15H11V13H21ZM19 9V11H11V9H19ZM16 5V7H11V5H16Z",fill:"currentColor"})})};try{IconSortAscending.displayName="IconSortAscending",IconSortAscending.__docgenInfo={description:"",displayName:"IconSortAscending",props:{ariaLabel:{defaultValue:{value:"sort-ascending"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconSortAscending.tsx#IconSortAscending"]={docgenInfo:IconSortAscending.__docgenInfo,name:"IconSortAscending",path:"src/icons/IconSortAscending.tsx#IconSortAscending"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconSortDescending.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconSortDescending:()=>IconSortDescending});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconSortDescending=function IconSortDescending(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"sort-descending":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 3.5L9.5 8L8 9.5L6 7.5V20H4V7.5L2 9.5L0.5 8L5 3.5ZM23 17V19H11V17H23ZM21 13V15H11V13H21ZM19 9V11H11V9H19ZM16 5V7H11V5H16Z",fill:"currentColor"})})};try{IconSortDescending.displayName="IconSortDescending",IconSortDescending.__docgenInfo={description:"",displayName:"IconSortDescending",props:{ariaLabel:{defaultValue:{value:"sort-descending"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconSortDescending.tsx#IconSortDescending"]={docgenInfo:IconSortDescending.__docgenInfo,name:"IconSortDescending",path:"src/icons/IconSortDescending.tsx#IconSortDescending"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconSpeechbubble.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconSpeechbubble:()=>IconSpeechbubble});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconSpeechbubble=function IconSpeechbubble(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"speechbubble":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19 4H5C2.79086 4 1 5.79086 1 8V16C1 18.2091 2.79086 20 5 20H11C12.0636 20 12.9774 20.3916 13.7929 21.2071L14.5 21.9142L15.2071 21.2071C16.0226 20.3916 16.9364 20 18 20H19C21.2091 20 23 18.2091 23 16V8C23 5.79086 21.2091 4 19 4ZM5 6H19C20.1046 6 21 6.89543 21 8V16C21 17.1046 20.1046 18 19 18H18L17.8158 18.0027C16.5936 18.0387 15.4812 18.4339 14.4995 19.175C13.4698 18.3969 12.2948 18 11 18H5C3.89543 18 3 17.1046 3 16V8C3 6.89543 3.89543 6 5 6Z",fill:"currentColor"})})};try{IconSpeechbubble.displayName="IconSpeechbubble",IconSpeechbubble.__docgenInfo={description:"",displayName:"IconSpeechbubble",props:{ariaLabel:{defaultValue:{value:"speechbubble"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconSpeechbubble.tsx#IconSpeechbubble"]={docgenInfo:IconSpeechbubble.__docgenInfo,name:"IconSpeechbubble",path:"src/icons/IconSpeechbubble.tsx#IconSpeechbubble"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconSpeechbubbleText.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconSpeechbubbleText:()=>IconSpeechbubbleText});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconSpeechbubbleText=function IconSpeechbubbleText(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"speechbubble-text":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19 4C21.1422 4 22.8911 5.68397 22.9951 7.80036L23 8V16C23 18.1422 21.316 19.8911 19.1996 19.9951L19 20H18C17.0124 20 16.1539 20.3377 15.3834 21.0388L15.2071 21.2071L14.5 21.9142L13.7929 21.2071C13.0357 20.4499 12.1936 20.0581 11.2256 20.006L11 20H5C2.8578 20 1.10892 18.316 1.0049 16.1996L1 16V8C1 5.8578 2.68397 4.10892 4.80036 4.0049L5 4H19ZM19 6H5C3.94564 6 3.08183 6.81588 3.00549 7.85074L3 8V16C3 17.0544 3.81588 17.9182 4.85074 17.9945L5 18H11C12.2948 18 13.4698 18.3969 14.4995 19.175C15.4057 18.4909 16.4233 18.1015 17.5358 18.0174L17.8158 18.0027L18 18H19C20.0544 18 20.9182 17.1841 20.9945 16.1493L21 16V8C21 6.94564 20.1841 6.08183 19.1493 6.00549L19 6ZM18 13V15H6V13H18ZM18 9V11H6V9H18Z",fill:"currentColor"})})};try{IconSpeechbubbleText.displayName="IconSpeechbubbleText",IconSpeechbubbleText.__docgenInfo={description:"",displayName:"IconSpeechbubbleText",props:{ariaLabel:{defaultValue:{value:"speechbubble-text"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconSpeechbubbleText.tsx#IconSpeechbubbleText"]={docgenInfo:IconSpeechbubbleText.__docgenInfo,name:"IconSpeechbubbleText",path:"src/icons/IconSpeechbubbleText.tsx#IconSpeechbubbleText"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconStar.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconStar:()=>IconStar});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconStar=function IconStar(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"star":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.20198 22.2312L5.41934 20.5028L6.15589 14.6557L2.18333 10.3775L1 9.11495L2.69047 8.78397L8.40175 7.70525L11.1789 2.53228L12 1L12.8211 2.53228L15.5982 7.70525L21.3095 8.78397L23 9.11495L21.8167 10.3775L17.832 14.6679L18.5686 20.5028L18.798 22.2312L17.2404 21.4835L12 18.9705L6.75961 21.4835L5.20198 22.2312H5.20198ZM7.49616 19.0196L11.6015 17.046L12 16.8621L12.3985 17.046L16.4918 19.0196L15.9122 14.4595L15.8518 14.006L16.1657 13.6873L19.2689 10.3408L14.8255 9.49495L14.3787 9.40915L14.1734 9.00462L12 4.95941L9.82657 9.00462L9.60922 9.40915L9.17454 9.49495L4.73107 10.3408L7.83426 13.6873L8.13614 14.006L8.08782 14.4595L7.49616 19.0196Z",fill:"currentColor"})})};try{IconStar.displayName="IconStar",IconStar.__docgenInfo={description:"",displayName:"IconStar",props:{ariaLabel:{defaultValue:{value:"star"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconStar.tsx#IconStar"]={docgenInfo:IconStar.__docgenInfo,name:"IconStar",path:"src/icons/IconStar.tsx#IconStar"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconStarFill.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconStarFill:()=>IconStarFill});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconStarFill=function IconStarFill(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"star-fill":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.20198 22.2312L5.41934 20.5028L6.15589 14.6557L2.18333 10.3775L1 9.11495L2.69047 8.78397L8.40175 7.70525L11.1789 2.53228L12 1L12.8211 2.53228L15.5982 7.70525L21.3095 8.78397L23 9.11495L21.8167 10.3775L17.832 14.6679L18.5686 20.5028L18.798 22.2312L17.2404 21.4835L12 18.9705L6.75961 21.4835L5.20198 22.2312H5.20198Z",fill:"currentColor"})})};try{IconStarFill.displayName="IconStarFill",IconStarFill.__docgenInfo={description:"",displayName:"IconStarFill",props:{ariaLabel:{defaultValue:{value:"star-fill"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconStarFill.tsx#IconStarFill"]={docgenInfo:IconStarFill.__docgenInfo,name:"IconStarFill",path:"src/icons/IconStarFill.tsx#IconStarFill"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconSwapUser.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconSwapUser:()=>IconSwapUser});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconSwapUser=function IconSwapUser(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"swap-user":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 5C6.55228 5 7 4.55228 7 4C7 3.44772 6.55228 3 6 3C5.44772 3 5 3.44772 5 4C5 4.55228 5.44772 5 6 5ZM6 7C7.65685 7 9 5.65685 9 4C9 2.34315 7.65685 1 6 1C4.34315 1 3 2.34315 3 4C3 5.65685 4.34315 7 6 7ZM18 14C18.5523 14 19 13.5523 19 13C19 12.4477 18.5523 12 18 12C17.4477 12 17 12.4477 17 13C17 13.5523 17.4477 14 18 14ZM18 16C19.6569 16 21 14.6569 21 13C21 11.3431 19.6569 10 18 10C16.3431 10 15 11.3431 15 13C15 14.6569 16.3431 16 18 16ZM4 10C3.44772 10 3 10.4477 3 11V12H9V11C9 10.4477 8.55228 10 8 10H4ZM1 11C1 9.34315 2.34315 8 4 8H8C9.65685 8 11 9.34315 11 11V14H1V11ZM16 19C15.4477 19 15 19.4477 15 20V21H21V20C21 19.4477 20.5523 19 20 19H16ZM13 20C13 18.3431 14.3431 17 16 17H20C21.6569 17 23 18.3431 23 20V23H13V20ZM16 3H12.9998V1H16C17.6569 1 19 2.34315 19 4V5.08578L20.2929 3.79289L21.7071 5.20711L18 8.91421L14.2929 5.20711L15.7071 3.79289L17 5.08579V4C17 3.44772 16.5523 3 16 3ZM6 15.0858L9.70711 18.7929L8.29289 20.2071L6.99999 18.9142V20C6.99999 20.5523 7.44771 21 7.99999 21H11V23H7.99999C6.34313 23 4.99999 21.6569 4.99999 20V18.9142L3.70711 20.2071L2.29289 18.7929L6 15.0858Z",fill:"currentColor"})})};try{IconSwapUser.displayName="IconSwapUser",IconSwapUser.__docgenInfo={description:"",displayName:"IconSwapUser",props:{ariaLabel:{defaultValue:{value:"swap-user"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconSwapUser.tsx#IconSwapUser"]={docgenInfo:IconSwapUser.__docgenInfo,name:"IconSwapUser",path:"src/icons/IconSwapUser.tsx#IconSwapUser"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconTextBold.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconTextBold:()=>IconTextBold});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconTextBold=function IconTextBold(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"text-bold":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 20V17H5V7H3V4H14V4.027L14.2481 4.00693C14.3315 4.00233 14.4155 4 14.5 4C16.9853 4 19 6.01472 19 8.5C19 9.47921 18.6872 10.3854 18.1562 11.124C19.2815 12.0389 20 13.4355 20 15C20 17.6888 17.8777 19.8818 15.2169 19.9954L15 20H3ZM15 17C16.1046 17 17 16.1046 17 15C17 13.8954 16.1046 13 15 13H8V17H15ZM8 10H14C15.1046 10 16 9.32843 16 8.5C16 7.67157 15.1046 7 14 7H8V10Z",fill:"currentColor"})})};try{IconTextBold.displayName="IconTextBold",IconTextBold.__docgenInfo={description:"",displayName:"IconTextBold",props:{ariaLabel:{defaultValue:{value:"text-bold"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconTextBold.tsx#IconTextBold"]={docgenInfo:IconTextBold.__docgenInfo,name:"IconTextBold",path:"src/icons/IconTextBold.tsx#IconTextBold"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconTextItalic.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconTextItalic:()=>IconTextItalic});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconTextItalic=function IconTextItalic(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"text-italic":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 4V6H13.75L12.25 18H14V20H8V18H10.25L11.75 6H10V4H16Z",fill:"currentColor"})})};try{IconTextItalic.displayName="IconTextItalic",IconTextItalic.__docgenInfo={description:"",displayName:"IconTextItalic",props:{ariaLabel:{defaultValue:{value:"text-italic"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconTextItalic.tsx#IconTextItalic"]={docgenInfo:IconTextItalic.__docgenInfo,name:"IconTextItalic",path:"src/icons/IconTextItalic.tsx#IconTextItalic"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconTextTool.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconTextTool:()=>IconTextTool});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconTextTool=function IconTextTool(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"text-tool":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 20V18H11V6H6V8H4V4H20V8H18V6H13V18H16V20H8Z",fill:"currentColor"})})};try{IconTextTool.displayName="IconTextTool",IconTextTool.__docgenInfo={description:"",displayName:"IconTextTool",props:{ariaLabel:{defaultValue:{value:"text-tool"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconTextTool.tsx#IconTextTool"]={docgenInfo:IconTextTool.__docgenInfo,name:"IconTextTool",path:"src/icons/IconTextTool.tsx#IconTextTool"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconThumbsDown.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconThumbsDown:()=>IconThumbsDown});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconThumbsDown=function IconThumbsDown(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"thumbs-down":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.9998 15H16.9998C16.4475 15 15.9998 14.5523 15.9998 14V7C15.9998 6.44772 16.4475 6 16.9998 6H20.9998V15ZM3.00001 13.0361C3.00001 14.3537 4.02441 15.4262 5.28302 15.4262H8.68726C8.36238 16.3184 8.18171 17.0899 8.18171 17.5435C8.18171 18.7507 9.07487 20 10.5701 20C12.159 20 12.5937 18.8414 12.9431 17.9106C14.0224 15.0355 14.9997 15.5394 14.9997 14.5723C14.9997 14.1137 14.6466 13.7154 14.1809 13.7154C14.0017 13.7154 13.8212 13.7769 13.6706 13.9033C11.0538 16.0952 11.6944 18.2856 10.5701 18.2856C10.0219 18.2856 9.81803 17.8303 9.81803 17.5431C9.81803 17.2787 10.0769 16.1305 10.689 14.9862C10.7588 14.856 10.7936 14.7117 10.7936 14.5676C10.7936 14.0704 10.4039 13.7426 9.97539 13.7426H5.28459C4.9261 13.7111 4.63633 13.4076 4.63633 13.0361C4.63633 12.6858 4.90108 12.3922 5.23871 12.3679C5.67029 12.3372 6.00096 11.9607 6.00096 11.5128C6.00096 10.9603 5.61267 10.9432 5.61267 10.4803C5.61267 9.57418 6.80685 10.0396 6.80685 8.97487C6.80685 8.57413 6.58895 8.50949 6.58895 8.18019C6.58895 7.37086 7.60381 7.68874 7.60381 6.72869C7.60381 6.56744 7.56597 6.51579 7.56597 6.39096C7.56597 6.01773 7.85628 5.71415 8.21266 5.71415H10.0034C10.8768 5.71415 11.7427 6.01652 12.4409 6.56454L13.6906 7.54709C13.8377 7.66299 14.01 7.71892 14.1808 7.71892C14.653 7.71892 15 7.31247 15 6.86031C15 6.60005 14.8871 6.34528 14.6729 6.17706L13.4228 5.19416C12.443 4.42502 11.2294 4 10.0021 4H8.21136C7.00696 4 6.01733 4.98183 5.93414 6.22153C5.32836 6.65833 4.95133 7.38265 4.95133 8.17983C4.95133 8.28862 4.95878 8.39795 4.97316 8.50563C4.365 8.93958 3.97501 9.66926 3.97501 10.48C3.97501 10.6697 3.99684 10.8565 4.03893 11.0386C3.4125 11.4968 3.00001 12.2075 3.00001 13.0361Z",fill:"currentColor"})})};try{IconThumbsDown.displayName="IconThumbsDown",IconThumbsDown.__docgenInfo={description:"",displayName:"IconThumbsDown",props:{ariaLabel:{defaultValue:{value:"thumbs-down"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconThumbsDown.tsx#IconThumbsDown"]={docgenInfo:IconThumbsDown.__docgenInfo,name:"IconThumbsDown",path:"src/icons/IconThumbsDown.tsx#IconThumbsDown"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconThumbsDownFill.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconThumbsDownFill:()=>IconThumbsDownFill});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconThumbsDownFill=function IconThumbsDownFill(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"thumbs-down-fill":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.9998 15H16.9998C16.4475 15 15.9998 14.5523 15.9998 14V7C15.9998 6.44772 16.4475 6 16.9998 6H20.9998V15ZM10.5701 20C9.07487 20 8.18171 18.7507 8.18171 17.5435C8.18171 17.1311 8.33103 16.456 8.60226 15.6664L8.68726 15.4262H5.28302C4.02441 15.4262 3.00001 14.3537 3.00001 13.0361C3.00001 12.2075 3.4125 11.4968 4.03893 11.0386C3.99684 10.8565 3.97501 10.6697 3.97501 10.48C3.97501 9.66926 4.365 8.93958 4.97316 8.50563C4.95878 8.39795 4.95133 8.28862 4.95133 8.17983C4.95133 7.38265 5.32836 6.65833 5.93414 6.22153C6.01371 5.03573 6.92262 4.08586 8.05554 4.00551L8.21136 4H10.0021C11.1417 4 12.2695 4.36647 13.2093 5.03464L13.4228 5.19416L14.6729 6.17706C14.8565 6.32125 14.9657 6.52902 14.9931 6.74934L14.9998 6.82011V14.5128L14.997 14.514L14.9998 14.5723C14.9998 14.8445 14.9223 15.0002 14.7869 15.1475L14.6883 15.2457L14.375 15.527C14.3275 15.5714 14.2779 15.6195 14.2265 15.6726L14.0665 15.8478C13.7636 16.2004 13.4099 16.7381 13.0409 17.6584L12.806 18.2676L12.7039 18.5095C12.3624 19.2738 11.828 20 10.5701 20Z",fill:"currentColor"})})};try{IconThumbsDownFill.displayName="IconThumbsDownFill",IconThumbsDownFill.__docgenInfo={description:"",displayName:"IconThumbsDownFill",props:{ariaLabel:{defaultValue:{value:"thumbs-down-fill"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconThumbsDownFill.tsx#IconThumbsDownFill"]={docgenInfo:IconThumbsDownFill.__docgenInfo,name:"IconThumbsDownFill",path:"src/icons/IconThumbsDownFill.tsx#IconThumbsDownFill"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconThumbsUp.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconThumbsUp:()=>IconThumbsUp});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconThumbsUp=function IconThumbsUp(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"thumbs-up":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 9H7C7.55228 9 8 9.44772 8 10V17C8 17.5523 7.55228 18 7 18H3V9ZM20.9998 10.9639C20.9998 9.64632 19.9753 8.57378 18.7167 8.57378H15.3125C15.6374 7.68159 15.818 6.91013 15.818 6.45654C15.818 5.24934 14.9249 4 13.4297 4C11.8408 4 11.4061 5.15862 11.0567 6.08938C9.97739 8.96451 9.00002 8.46056 9.00002 9.42774C9.00002 9.88633 9.3532 10.2846 9.81887 10.2846C9.99805 10.2846 10.1785 10.2231 10.3292 10.0967C12.946 7.90482 12.3054 5.71436 13.4297 5.71436C13.9779 5.71436 14.1817 6.16974 14.1817 6.4569C14.1817 6.72134 13.9228 7.86946 13.3107 9.0138C13.241 9.14402 13.2062 9.28831 13.2062 9.43239C13.2062 9.92955 13.5958 10.2574 14.0244 10.2574H18.7152C19.0737 10.2889 19.3634 10.5924 19.3634 10.9639C19.3634 11.3142 19.0987 11.6078 18.761 11.6321C18.3295 11.6628 17.9988 12.0393 17.9988 12.4872C17.9988 13.0397 18.3871 13.0568 18.3871 13.5197C18.3871 14.4258 17.1929 13.9604 17.1929 15.0251C17.1929 15.4259 17.4108 15.4905 17.4108 15.8198C17.4108 16.6291 16.3959 16.3113 16.3959 17.2713C16.3959 17.4326 16.4338 17.4842 16.4338 17.609C16.4338 17.9823 16.1435 18.2859 15.7871 18.2859H13.9963C13.123 18.2859 12.2571 17.9835 11.5589 17.4355L10.3092 16.4529C10.1621 16.337 9.98973 16.2811 9.81894 16.2811C9.34679 16.2811 8.99975 16.6875 8.99975 17.1397C8.99975 17.4 9.11266 17.6547 9.32688 17.8229L10.577 18.8058C11.5568 19.575 12.7704 20 13.9976 20H15.7884C16.9928 20 17.9824 19.0182 18.0656 17.7785C18.6714 17.3417 19.0484 16.6173 19.0484 15.8202C19.0484 15.7114 19.041 15.6021 19.0266 15.4944C19.6348 15.0604 20.0247 14.3307 20.0247 13.52C20.0247 13.3303 20.0029 13.1435 19.9608 12.9614C20.5873 12.5032 20.9998 11.7925 20.9998 10.9639Z",fill:"currentColor"})})};try{IconThumbsUp.displayName="IconThumbsUp",IconThumbsUp.__docgenInfo={description:"",displayName:"IconThumbsUp",props:{ariaLabel:{defaultValue:{value:"thumbs-up"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconThumbsUp.tsx#IconThumbsUp"]={docgenInfo:IconThumbsUp.__docgenInfo,name:"IconThumbsUp",path:"src/icons/IconThumbsUp.tsx#IconThumbsUp"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconThumbsUpFill.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconThumbsUpFill:()=>IconThumbsUpFill});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconThumbsUpFill=function IconThumbsUpFill(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"thumbs-up-fill":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 9H7C7.55228 9 8 9.44772 8 10V17C8 17.5523 7.55228 18 7 18H3V9ZM13.4297 4C14.9249 4 15.818 5.24934 15.818 6.45654C15.818 6.86889 15.6687 7.54395 15.3975 8.33359L15.3125 8.57378H18.7167C19.9753 8.57378 20.9998 9.64632 20.9998 10.9639C20.9998 11.7925 20.5873 12.5032 19.9608 12.9614C20.0029 13.1435 20.0247 13.3303 20.0247 13.52C20.0247 14.3307 19.6348 15.0604 19.0266 15.4944C19.041 15.6021 19.0484 15.7114 19.0484 15.8202C19.0484 16.6173 18.6714 17.3417 18.0656 17.7785C17.986 18.9643 17.0771 19.9141 15.9442 19.9945L15.7884 20H13.9976C12.8581 20 11.7302 19.6335 10.7904 18.9654L10.577 18.8058L9.32688 17.8229C9.14326 17.6787 9.03408 17.471 9.00663 17.2507L9 17.1799V9.48721L9.00275 9.486L9 9.42774C9 9.15545 9.07749 8.99976 9.21288 8.85245L9.3115 8.75429L9.62473 8.473C9.67221 8.42861 9.72181 8.38048 9.7733 8.32741L9.93326 8.15225C10.2361 7.79963 10.5899 7.26194 10.9589 6.34158L11.1938 5.73237L11.2958 5.49052C11.6373 4.72615 12.1718 4 13.4297 4Z",fill:"currentColor"})})};try{IconThumbsUpFill.displayName="IconThumbsUpFill",IconThumbsUpFill.__docgenInfo={description:"",displayName:"IconThumbsUpFill",props:{ariaLabel:{defaultValue:{value:"thumbs-up-fill"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconThumbsUpFill.tsx#IconThumbsUpFill"]={docgenInfo:IconThumbsUpFill.__docgenInfo,name:"IconThumbsUpFill",path:"src/icons/IconThumbsUpFill.tsx#IconThumbsUpFill"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconTicket.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconTicket:()=>IconTicket});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconTicket=function IconTicket(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"ticket":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.5 2L17.625 5.125L17 5.75C16.6548 6.09518 16.6548 6.65482 17 7C17.3205 7.32052 17.826 7.34342 18.1729 7.06868L18.25 7L18.875 6.375L22 9.5L9.5 22L6.375 18.875L7 18.25C7.34518 17.9048 7.34518 17.3452 7 17C6.67948 16.6795 6.17403 16.6566 5.82709 16.9313L5.75 17L5.125 17.625L2 14.5L14.5 2ZM14.5 4.5L11.4995 7.5C11.7556 7.49987 12.0117 7.59751 12.2071 7.79289C12.5976 8.18342 12.5976 8.81658 12.2071 9.20711C11.8166 9.59763 11.1834 9.59763 10.7929 9.20711C10.6301 9.04428 10.5351 8.83928 10.5081 8.62727L10.5 8.4995L4.5 14.5L5.23125 15.2312L5.40002 15.1584L5.57251 15.0971C6.3226 14.8597 7.15743 14.9639 7.83317 15.4096L7.99865 15.5282L8.13665 15.643L8.25 15.75L8.38817 15.899C9.0014 16.6127 9.17289 17.5753 8.90266 18.4282L8.838 18.6091L8.76812 18.7681L9.5 19.5L15.5025 13.5C15.2457 13.5006 14.9888 13.403 14.7929 13.2071C14.4024 12.8166 14.4024 12.1834 14.7929 11.7929C15.1834 11.4024 15.8166 11.4024 16.2071 11.7929C16.3704 11.9561 16.4654 12.1618 16.4921 12.3744L16.5 12.5025L19.5 9.5L18.7681 8.76812L18.6 8.84162L18.4275 8.90288C17.6774 9.14031 16.8426 9.03614 16.1668 8.59035L16.0014 8.47179L15.8634 8.35699L15.75 8.25L15.6118 8.101C14.9986 7.38729 14.8271 6.42473 15.0973 5.57183L15.162 5.39087L15.2312 5.23125L14.5 4.5ZM12.7929 9.79289C13.1834 9.40237 13.8166 9.40237 14.2071 9.79289C14.5976 10.1834 14.5976 10.8166 14.2071 11.2071C13.8166 11.5976 13.1834 11.5976 12.7929 11.2071C12.4024 10.8166 12.4024 10.1834 12.7929 9.79289Z",fill:"currentColor"})})};try{IconTicket.displayName="IconTicket",IconTicket.__docgenInfo={description:"",displayName:"IconTicket",props:{ariaLabel:{defaultValue:{value:"ticket"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconTicket.tsx#IconTicket"]={docgenInfo:IconTicket.__docgenInfo,name:"IconTicket",path:"src/icons/IconTicket.tsx#IconTicket"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconTiktok.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconTiktok:()=>IconTiktok});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconTiktok=function IconTiktok(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"tiktok":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.0714 3H4.92857C3.86384 3 3 3.86384 3 4.92857V19.0714C3 20.1362 3.86384 21 4.92857 21H19.0714C20.1362 21 21 20.1362 21 19.0714V4.92857C21 3.86384 20.1362 3 19.0714 3ZM17.1454 10.8527C17.0471 10.8623 16.9485 10.8673 16.8497 10.8677C15.7666 10.8679 14.7563 10.3219 14.163 9.41571V14.3601C14.163 16.3784 12.5269 18.0146 10.5086 18.0146C8.49029 18.0146 6.85414 16.3784 6.85414 14.3601C6.85414 12.3419 8.49029 10.7057 10.5086 10.7057C10.5849 10.7057 10.6594 10.7126 10.7344 10.7173V12.5181C10.6594 12.5091 10.5857 12.4954 10.5086 12.4954C9.47848 12.4954 8.64343 13.3305 8.64343 14.3606C8.64343 15.3907 9.47848 16.2257 10.5086 16.2257C11.5389 16.2257 12.4487 15.414 12.4487 14.3837L12.4667 5.98629H14.1896C14.352 7.53126 15.5978 8.73802 17.1471 8.85129V10.8527",fill:"currentColor"})})};try{IconTiktok.displayName="IconTiktok",IconTiktok.__docgenInfo={description:"",displayName:"IconTiktok",props:{ariaLabel:{defaultValue:{value:"tiktok"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconTiktok.tsx#IconTiktok"]={docgenInfo:IconTiktok.__docgenInfo,name:"IconTiktok",path:"src/icons/IconTiktok.tsx#IconTiktok"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconTrash.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconTrash:()=>IconTrash});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconTrash=function IconTrash(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"trash":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 9H6L7.08679 22H16.9132L18 9ZM15.905 11L15.087 20H8.912L8.094 11H15.905ZM12 2C13.609 2 14.9045 3.21958 14.995 4.82058L15 5V6H18V8H6V6H9V5C9 3.31159 10.3314 2 12 2ZM12 4C11.4701 4 11.0621 4.36466 11.0065 4.8788L11 5V6H13V5C13 4.42292 12.5707 4 12 4Z",fill:"currentColor"})})};try{IconTrash.displayName="IconTrash",IconTrash.__docgenInfo={description:"",displayName:"IconTrash",props:{ariaLabel:{defaultValue:{value:"trash"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconTrash.tsx#IconTrash"]={docgenInfo:IconTrash.__docgenInfo,name:"IconTrash",path:"src/icons/IconTrash.tsx#IconTrash"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconTraveler.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconTraveler:()=>IconTraveler});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconTraveler=function IconTraveler(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"traveler":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5999 10.5C9.25675 10.5 10.5999 11.8431 10.5999 13.5V14H14V24H0V14H3.3999V13.5C3.3999 11.8431 4.74305 10.5 6.3999 10.5H7.5999ZM22 16V24H18V22H20V16H22ZM12 16H2V22H12V16ZM21 7C22.6569 7 24 8.34315 24 10V16H22V10C22 9.44772 21.5523 9 21 9H15C14.4477 9 14 9.44772 14 10V12H12V10C12 8.34315 13.3431 7 15 7H21ZM7.5999 12.5H6.3999C5.84762 12.5 5.3999 12.9477 5.3999 13.5V14H8.5999V13.5C8.5999 12.9477 8.15219 12.5 7.5999 12.5ZM18 4C18.5523 4 19 3.55228 19 3C19 2.44772 18.5523 2 18 2C17.4477 2 17 2.44772 17 3C17 3.55228 17.4477 4 18 4ZM18 6C19.6569 6 21 4.65685 21 3C21 1.34315 19.6569 0 18 0C16.3431 0 15 1.34315 15 3C15 4.65685 16.3431 6 18 6Z",fill:"currentColor"})})};try{IconTraveler.displayName="IconTraveler",IconTraveler.__docgenInfo={description:"",displayName:"IconTraveler",props:{ariaLabel:{defaultValue:{value:"traveler"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconTraveler.tsx#IconTraveler"]={docgenInfo:IconTraveler.__docgenInfo,name:"IconTraveler",path:"src/icons/IconTraveler.tsx#IconTraveler"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconTwitch.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconTwitch:()=>IconTwitch});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconTwitch=function IconTwitch(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"twitch":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.0714 3C20.0855 3 20.9173 3.78353 20.9942 4.7779L21 4.92857V19.0714C21 20.0855 20.2165 20.9173 19.2221 20.9942L19.0714 21H4.92857C3.91454 21 3.08273 20.2165 3.0058 19.2221L3 19.0714V4.92857C3 3.91454 3.78353 3.08273 4.7779 3.0058L4.92857 3H19.0714ZM19 5H8.70833L6 7.70833V17.4583H9.25V20.1667L11.9583 17.4583H14.125L19 12.5833V5ZM17.9167 6.08333V12.0417L15.75 14.2083H13.5833L11.6875 16.1042V14.2083H9.25V6.08333H17.9167ZM16.2917 7.97917H15.2083V11.2292H16.2917V7.97917ZM13.3125 7.97917H12.2292V11.2292H13.3125V7.97917Z",fill:"currentColor"})})};try{IconTwitch.displayName="IconTwitch",IconTwitch.__docgenInfo={description:"",displayName:"IconTwitch",props:{ariaLabel:{defaultValue:{value:"twitch"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconTwitch.tsx#IconTwitch"]={docgenInfo:IconTwitch.__docgenInfo,name:"IconTwitch",path:"src/icons/IconTwitch.tsx#IconTwitch"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconTwitter.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconTwitter:()=>IconTwitter});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconTwitter=function IconTwitter(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"twitter":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.0714 3C20.0855 3 20.9173 3.78353 20.9942 4.7779L21 4.92857V19.0714C21 20.0855 20.2165 20.9173 19.2221 20.9942L19.0714 21H4.92857C3.91454 21 3.08273 20.2165 3.0058 19.2221L3 19.0714V4.92857C3 3.91454 3.78353 3.08273 4.7779 3.0058L4.92857 3H19.0714ZM14.6916 6.43652C13.1015 6.43652 11.8223 7.72458 11.8223 9.30582C11.8223 9.52791 11.8489 9.74997 11.8933 9.96317C9.51265 9.83878 7.38954 8.70174 5.97709 6.96062C5.72835 7.38702 5.58624 7.8756 5.58624 8.40859C5.58624 9.40352 6.09257 10.283 6.86541 10.7982C6.46189 10.783 6.07789 10.6829 5.73587 10.5204L5.56847 10.434V10.4695C5.56847 11.8642 6.55454 13.019 7.86926 13.2855C7.62943 13.3477 7.37179 13.3832 7.11419 13.3832C6.92762 13.3832 6.74997 13.3655 6.57229 13.3388C6.93651 14.4759 7.99362 15.302 9.25505 15.3287C8.269 16.1015 7.03421 16.5546 5.69285 16.5546C5.45299 16.5546 5.23093 16.5457 4.99996 16.5191C6.27027 17.3363 7.78042 17.8071 9.40607 17.8071C14.6827 17.8071 17.5698 13.4365 17.5698 9.64338C17.5698 9.51902 17.5698 9.39464 17.5609 9.27028C18.1206 8.86162 18.6092 8.3553 19 7.78679C18.4847 8.00885 17.9251 8.16878 17.3477 8.23094C17.9428 7.87563 18.3959 7.31598 18.6091 6.64972C18.0583 6.9784 17.4365 7.21826 16.788 7.34262C16.2639 6.78297 15.5177 6.43652 14.6916 6.43652Z",fill:"currentColor"})})};try{IconTwitter.displayName="IconTwitter",IconTwitter.__docgenInfo={description:"",displayName:"IconTwitter",props:{ariaLabel:{defaultValue:{value:"twitter"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconTwitter.tsx#IconTwitter"]={docgenInfo:IconTwitter.__docgenInfo,name:"IconTwitter",path:"src/icons/IconTwitter.tsx#IconTwitter"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconUpload.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconUpload:()=>IconUpload});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconUpload=function IconUpload(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"upload":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 1.63605L17.6569 7.2929L16.2426 8.70712L13 5.46505V18H11V5.46505L7.75736 8.70712L6.34315 7.2929L12 1.63605ZM5 15V20H19V15H21V22H3V15H5Z",fill:"currentColor"})})};try{IconUpload.displayName="IconUpload",IconUpload.__docgenInfo={description:"",displayName:"IconUpload",props:{ariaLabel:{defaultValue:{value:"upload"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconUpload.tsx#IconUpload"]={docgenInfo:IconUpload.__docgenInfo,name:"IconUpload",path:"src/icons/IconUpload.tsx#IconUpload"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconUploadCloud.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconUploadCloud:()=>IconUploadCloud});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconUploadCloud=function IconUploadCloud(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"upload-cloud":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.49998 12L12 7.5L16.5 12L15 13.5L13 11.5V22H11V11.5L8.99998 13.5L7.49998 12ZM11.5 2C14.057 2 16.3672 3.55157 17.2358 5.93092L17.2835 6.0665L17.4145 6.08731C20.0449 6.53521 21.9316 8.61877 21.9982 11.3504L22 11.5C22 14.6412 19.7996 16.9265 16.7006 16.9983L16.55 17H15.5V15H16.55C18.6163 15 20 13.5943 20 11.5C20 9.53805 18.6018 8.11878 16.6001 8.00507L16.4715 7.99959L15.6756 7.9769L15.5194 7.19612C15.1395 5.29673 13.4337 4 11.5 4C9.26283 4 7.62211 5.55854 7.50658 7.75063L7.50154 7.8803L7.4877 8.99175L6.3306 9.00124C4.84062 9.04439 3.59998 10.453 3.59998 12.1C3.59998 13.6644 4.83866 14.9394 6.38874 14.9979L6.49998 15H8.49998V17H6.49998C3.79378 17 1.59998 14.8062 1.59998 12.1C1.59998 9.68983 3.25229 7.56452 5.495 7.09571L5.56448 7.082L5.58682 6.93675C6.055 4.09689 8.36432 2.06966 11.3452 2.00176L11.5 2Z",fill:"currentColor"})})};try{IconUploadCloud.displayName="IconUploadCloud",IconUploadCloud.__docgenInfo={description:"",displayName:"IconUploadCloud",props:{ariaLabel:{defaultValue:{value:"upload-cloud"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconUploadCloud.tsx#IconUploadCloud"]={docgenInfo:IconUploadCloud.__docgenInfo,name:"IconUploadCloud",path:"src/icons/IconUploadCloud.tsx#IconUploadCloud"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconUser.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconUser:()=>IconUser});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconUser=function IconUser(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"user":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.2667 13C18.8082 13 20.8819 15.0031 20.9951 17.5167L21 17.7333V22H3V17.7333C3 15.1918 5.00309 13.1181 7.51667 13.0049L7.73333 13H16.2667ZM7.73333 15C6.27966 15 5.09104 16.1348 5.00499 17.5668L5 17.7333V20H19V17.7333C19 16.3172 17.8926 15.0973 16.54 15.0075L16.3766 15.0022L7.73333 15ZM12 2C14.7614 2 17 4.23858 17 7C17 9.76142 14.7614 12 12 12C9.23858 12 7 9.76142 7 7C7 4.23858 9.23858 2 12 2ZM12 4C10.3431 4 9 5.34315 9 7C9 8.65685 10.3431 10 12 10C13.6569 10 15 8.65685 15 7C15 5.34315 13.6569 4 12 4Z",fill:"currentColor"})})};try{IconUser.displayName="IconUser",IconUser.__docgenInfo={description:"",displayName:"IconUser",props:{ariaLabel:{defaultValue:{value:"user"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconUser.tsx#IconUser"]={docgenInfo:IconUser.__docgenInfo,name:"IconUser",path:"src/icons/IconUser.tsx#IconUser"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconVaccine.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconVaccine:()=>IconVaccine});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconVaccine=function IconVaccine(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"vaccine":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.5429 4.4571L17.5 3.41421L18.9142 2L22.4142 5.5L21 6.91421L19.9571 5.87132L18.6753 7.15305L20.6213 9.099L11.099 18.6213L9.84437 17.3667L8.89843 18.3127L8.2071 17.6213L3.41421 22.4142L2 21L6.79289 16.2071L6.07 15.4842L7.01595 14.5383L5.79289 13.3152L15.3152 3.79289L17.2611 5.73884L18.5429 4.4571ZM8.62132 13.3152L11.099 15.7929L17.7929 9.099L15.3152 6.62132L8.62132 13.3152Z",fill:"currentColor"})})};try{IconVaccine.displayName="IconVaccine",IconVaccine.__docgenInfo={description:"",displayName:"IconVaccine",props:{ariaLabel:{defaultValue:{value:"vaccine"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconVaccine.tsx#IconVaccine"]={docgenInfo:IconVaccine.__docgenInfo,name:"IconVaccine",path:"src/icons/IconVaccine.tsx#IconVaccine"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconVideocamera.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconVideocamera:()=>IconVideocamera});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconVideocamera=function IconVideocamera(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"videocamera":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 5C15.0807 5 16.7903 6.58866 16.9821 8.61916L23 6.61257V17.3874L16.9821 15.3808C16.7967 17.3437 15.193 18.8936 13.2068 18.9947L13 19H5C2.8578 19 1.10892 17.316 1.0049 15.1996L1 15V9C1 6.8578 2.68397 5.10892 4.80036 5.0049L5 5H13ZM13 7H5C3.94564 7 3.08183 7.81588 3.00549 8.85074L3 9V15C3 16.0544 3.81588 16.9182 4.85074 16.9945L5 17H13C14.0544 17 14.9182 16.1841 14.9945 15.1493L15 15V9C15 7.94564 14.1841 7.08183 13.1493 7.00549L13 7ZM21 9.387L17 10.72V13.279L21 14.612V9.387ZM6 9C6.55228 9 7 9.44772 7 10C7 10.5523 6.55228 11 6 11C5.44772 11 5 10.5523 5 10C5 9.44772 5.44772 9 6 9Z",fill:"currentColor"})})};try{IconVideocamera.displayName="IconVideocamera",IconVideocamera.__docgenInfo={description:"",displayName:"IconVideocamera",props:{ariaLabel:{defaultValue:{value:"videocamera"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconVideocamera.tsx#IconVideocamera"]={docgenInfo:IconVideocamera.__docgenInfo,name:"IconVideocamera",path:"src/icons/IconVideocamera.tsx#IconVideocamera"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconVideocameraCrossed.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconVideocameraCrossed:()=>IconVideocameraCrossed});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconVideocameraCrossed=function IconVideocameraCrossed(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"videocamera-crossed":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.7929 2.79291L21.2071 4.20712L4.70711 20.7071L3.29289 19.2929L19.7929 2.79291ZM23 6.61259V17.3874L16.9821 15.3809C16.7967 17.3437 15.193 18.8936 13.2068 18.9948L13 19H8.534L10.534 16.9999L13 17C14.0544 17 14.9182 16.1841 14.9945 15.1493L15 15V12.5339L19.882 7.65191L23 6.61259ZM13 5.00001C13.7103 5.00001 14.3773 5.18513 14.9554 5.50975L13.4207 7.04433C13.3302 7.02498 13.2376 7.01173 13.1431 7.00505L13 7.00001H5C3.94564 7.00001 3.08183 7.81589 3.00549 8.85075L3 9.00001V15C3 15.6712 3.33063 16.2652 3.83791 16.628L2.41396 18.0517C1.60664 17.3669 1.0746 16.3675 1.00725 15.2429L1 15V9.00001C1 6.85782 2.68397 5.10894 4.80036 5.00491L5 5.00001H13ZM21 9.38701L17 10.72V13.279L21 14.612V9.38701ZM6 9.00001C6.55228 9.00001 7 9.44773 7 10C7 10.5523 6.55228 11 6 11C5.44772 11 5 10.5523 5 10C5 9.44773 5.44772 9.00001 6 9.00001Z",fill:"currentColor"})})};try{IconVideocameraCrossed.displayName="IconVideocameraCrossed",IconVideocameraCrossed.__docgenInfo={description:"",displayName:"IconVideocameraCrossed",props:{ariaLabel:{defaultValue:{value:"videocamera-crossed"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconVideocameraCrossed.tsx#IconVideocameraCrossed"]={docgenInfo:IconVideocameraCrossed.__docgenInfo,name:"IconVideocameraCrossed",path:"src/icons/IconVideocameraCrossed.tsx#IconVideocameraCrossed"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconVimeo.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconVimeo:()=>IconVimeo});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconVimeo=function IconVimeo(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"vimeo":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.0714 3H4.92857C3.86384 3 3 3.86384 3 4.92857V19.0714C3 20.1362 3.86384 21 4.92857 21H19.0714C20.1362 21 21 20.1362 21 19.0714V4.92857C21 3.86384 20.1362 3 19.0714 3ZM18.4205 9.01071C18.3643 10.2603 17.4884 11.9759 15.7969 14.1496C14.0491 16.4196 12.5705 17.5567 11.3612 17.5567C10.6098 17.5567 9.97902 16.8656 9.46071 15.4835C8.44821 11.775 8.0183 9.60134 7.18259 9.60134C7.08616 9.60134 6.74866 9.80223 6.17411 10.208L5.57143 9.42857C7.05402 8.12679 8.4683 6.68036 9.35223 6.6C10.3527 6.50357 10.9674 7.18661 11.2004 8.65312C12.0241 13.8603 12.3897 14.6478 13.8844 12.2893C14.4228 11.4375 14.7121 10.7946 14.7482 10.3487C14.8848 9.0308 13.7196 9.1192 12.9321 9.4567C13.5629 7.3875 14.7723 6.38304 16.5522 6.43929C17.8741 6.47946 18.4969 7.33929 18.4205 9.01071Z",fill:"currentColor"})})};try{IconVimeo.displayName="IconVimeo",IconVimeo.__docgenInfo={description:"",displayName:"IconVimeo",props:{ariaLabel:{defaultValue:{value:"vimeo"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconVimeo.tsx#IconVimeo"]={docgenInfo:IconVimeo.__docgenInfo,name:"IconVimeo",path:"src/icons/IconVimeo.tsx#IconVimeo"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconVirus.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconVirus:()=>IconVirus});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconVirus=function IconVirus(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"virus":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 0C13.3807 0 14.5 1.11929 14.5 2.5C14.5 3.52484 13.8833 4.40565 13.0008 4.79162L13.0009 5.57659C13.9875 5.72906 14.9007 6.10336 15.6882 6.64693L16.9217 5.41241C16.8109 5.12974 16.75 4.82198 16.75 4.5C16.75 3.11929 17.8693 2 19.25 2C20.6307 2 21.75 3.11929 21.75 4.5C21.75 5.88071 20.6307 7 19.25 7C18.928 7 18.6203 6.93913 18.3376 6.82827L17.142 8.02333C17.8001 8.87299 18.2522 9.8902 18.4236 11.0001L19.2079 11.0002C19.5937 10.1171 20.4748 9.5 21.5 9.5C22.8807 9.5 24 10.6193 24 12C24 13.3807 22.8807 14.5 21.5 14.5C20.4752 14.5 19.5944 13.8833 19.2084 13.0008L18.4234 13.0009C18.2614 14.0489 17.8492 15.0142 17.2496 15.8338L19.6451 18.231C19.9833 18.0824 20.357 18 20.75 18C22.2688 18 23.5 19.2312 23.5 20.75C23.5 22.2688 22.2688 23.5 20.75 23.5C19.2312 23.5 18 22.2688 18 20.75C18 20.357 18.0824 19.9833 18.231 19.6451L15.8338 17.2496C15.0142 17.8492 14.0489 18.2614 13.0009 18.4234L13.0008 19.2084C13.8833 19.5944 14.5 20.4752 14.5 21.5C14.5 22.8807 13.3807 24 12 24C10.6193 24 9.5 22.8807 9.5 21.5C9.5 20.4748 10.1171 19.5937 11.0002 19.2079L11.0001 18.4236C9.95174 18.2617 8.98608 17.8493 8.1662 17.2496L7.00216 18.4134C7.16097 18.742 7.25 19.1106 7.25 19.5C7.25 20.8807 6.13071 22 4.75 22C3.36929 22 2.25 20.8807 2.25 19.5C2.25 18.1193 3.36929 17 4.75 17C5.00273 17 5.24671 17.0375 5.47666 17.1072L6.75045 15.8338C6.15085 15.0142 5.73856 14.0489 5.57659 13.0009L4.79162 13.0008C4.40565 13.8833 3.52484 14.5 2.5 14.5C1.11929 14.5 0 13.3807 0 12C0 10.6193 1.11929 9.5 2.5 9.5C3.52523 9.5 4.40632 10.1171 4.79205 11.0002L5.57643 11.0001C5.7383 9.95174 6.15066 8.98608 6.75045 8.1662L4.29273 5.70796C3.90127 5.89517 3.46287 6 3 6C1.34315 6 0 4.65685 0 3C0 1.34315 1.34315 0 3 0C4.65685 0 6 1.34315 6 3C6 3.46287 5.89517 3.90127 5.70796 4.29273L8.1662 6.75045C8.98608 6.15066 9.95174 5.7383 11.0001 5.57643L11.0002 4.79205C10.1171 4.40632 9.5 3.52523 9.5 2.5C9.5 1.11929 10.6193 0 12 0V0ZM12 21C11.7239 21 11.5 21.2239 11.5 21.5C11.5 21.7761 11.7239 22 12 22C12.2761 22 12.5 21.7761 12.5 21.5C12.5 21.2239 12.2761 21 12 21ZM20.75 20C20.3358 20 20 20.3358 20 20.75C20 21.1642 20.3358 21.5 20.75 21.5C21.1642 21.5 21.5 21.1642 21.5 20.75C21.5 20.3358 21.1642 20 20.75 20ZM4.75 19C4.47386 19 4.25 19.2239 4.25 19.5C4.25 19.7761 4.47386 20 4.75 20C5.02614 20 5.25 19.7761 5.25 19.5C5.25 19.2239 5.02614 19 4.75 19ZM12 7.5C9.51472 7.5 7.5 9.51472 7.5 12C7.5 14.4853 9.51472 16.5 12 16.5C14.4853 16.5 16.5 14.4853 16.5 12C16.5 9.51472 14.4853 7.5 12 7.5ZM2.5 11.5C2.22386 11.5 2 11.7239 2 12C2 12.2761 2.22386 12.5 2.5 12.5C2.77614 12.5 3 12.2761 3 12C3 11.7239 2.77614 11.5 2.5 11.5ZM21.5 11.5C21.2239 11.5 21 11.7239 21 12C21 12.2761 21.2239 12.5 21.5 12.5C21.7761 12.5 22 12.2761 22 12C22 11.7239 21.7761 11.5 21.5 11.5ZM19.25 4C18.9739 4 18.75 4.22386 18.75 4.5C18.75 4.77614 18.9739 5 19.25 5C19.5261 5 19.75 4.77614 19.75 4.5C19.75 4.22386 19.5261 4 19.25 4ZM3 2C2.44772 2 2 2.44772 2 3C2 3.55228 2.44772 4 3 4C3.55228 4 4 3.55228 4 3C4 2.44772 3.55228 2 3 2ZM12 2C11.7239 2 11.5 2.22386 11.5 2.5C11.5 2.77614 11.7239 3 12 3C12.2761 3 12.5 2.77614 12.5 2.5C12.5 2.22386 12.2761 2 12 2Z",fill:"currentColor"})})};try{IconVirus.displayName="IconVirus",IconVirus.__docgenInfo={description:"",displayName:"IconVirus",props:{ariaLabel:{defaultValue:{value:"virus"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconVirus.tsx#IconVirus"]={docgenInfo:IconVirus.__docgenInfo,name:"IconVirus",path:"src/icons/IconVirus.tsx#IconVirus"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconVolumeHigh.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconVolumeHigh:()=>IconVolumeHigh});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconVolumeHigh=function IconVolumeHigh(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"volume-high":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 2.5V21.5L9.273 17H6C3.23858 17 1 14.7614 1 12C1 9.28538 3.16334 7.07603 5.86005 7.00192L9.273 7L15 2.5ZM20.0711 4.92893C23.9053 8.76317 23.975 14.9364 20.2802 18.8557L20.0711 19.0711L18.6569 17.6569C21.7146 14.5991 21.7796 9.68201 18.852 6.54516L18.6569 6.34315L20.0711 4.92893ZM13 6.8115L10 8.926V15.073L13 17.188V6.8115ZM17.2218 7.73654C19.5049 10.0196 19.5634 13.6848 17.3974 16.0388L17.2218 16.2218L15.8076 14.8076C17.3176 13.2976 17.368 10.8806 15.9586 9.31013L15.8076 9.15076L17.2218 7.73654ZM6.02745 8.99981L5.91499 9.00117C4.29498 9.04569 3 10.3746 3 12C3 13.6192 4.28279 14.9388 5.88753 14.9979L6 15H8V9L6.02745 8.99981Z",fill:"currentColor"})})};try{IconVolumeHigh.displayName="IconVolumeHigh",IconVolumeHigh.__docgenInfo={description:"",displayName:"IconVolumeHigh",props:{ariaLabel:{defaultValue:{value:"volume-high"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconVolumeHigh.tsx#IconVolumeHigh"]={docgenInfo:IconVolumeHigh.__docgenInfo,name:"IconVolumeHigh",path:"src/icons/IconVolumeHigh.tsx#IconVolumeHigh"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconVolumeLow.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconVolumeLow:()=>IconVolumeLow});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconVolumeLow=function IconVolumeLow(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"volume-low":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 2.5V21.5L9.273 17H6C3.23858 17 1 14.7614 1 12C1 9.28538 3.16334 7.07603 5.86005 7.00192L9.273 7L15 2.5ZM13 6.8115L10 8.926V15.073L13 17.188V6.8115ZM17.2218 7.73654C19.5049 10.0196 19.5634 13.6848 17.3974 16.0388L17.2218 16.2218L15.8076 14.8076C17.3176 13.2976 17.368 10.8806 15.9586 9.31013L15.8076 9.15076L17.2218 7.73654ZM6.02745 8.99981L5.91499 9.00117C4.29498 9.04569 3 10.3746 3 12C3 13.6192 4.28279 14.9388 5.88753 14.9979L6 15H8V9L6.02745 8.99981Z",fill:"currentColor"})})};try{IconVolumeLow.displayName="IconVolumeLow",IconVolumeLow.__docgenInfo={description:"",displayName:"IconVolumeLow",props:{ariaLabel:{defaultValue:{value:"volume-low"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconVolumeLow.tsx#IconVolumeLow"]={docgenInfo:IconVolumeLow.__docgenInfo,name:"IconVolumeLow",path:"src/icons/IconVolumeLow.tsx#IconVolumeLow"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconVolumeMinus.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconVolumeMinus:()=>IconVolumeMinus});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconVolumeMinus=function IconVolumeMinus(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"volume-minus":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 2.5V21.5L9.273 17H6C3.23858 17 1 14.7614 1 12C1 9.28538 3.16334 7.07603 5.86005 7.00192L9.273 7L15 2.5ZM13 6.8115L10 8.926V15.073L13 17.188V6.8115ZM8 9L6.02745 8.99981L5.91499 9.00117C4.29498 9.04569 3 10.3746 3 12C3 13.6192 4.28279 14.9388 5.88753 14.9979L6 15H8V9ZM24 11V13H17V11H24Z",fill:"currentColor"})})};try{IconVolumeMinus.displayName="IconVolumeMinus",IconVolumeMinus.__docgenInfo={description:"",displayName:"IconVolumeMinus",props:{ariaLabel:{defaultValue:{value:"volume-minus"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconVolumeMinus.tsx#IconVolumeMinus"]={docgenInfo:IconVolumeMinus.__docgenInfo,name:"IconVolumeMinus",path:"src/icons/IconVolumeMinus.tsx#IconVolumeMinus"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconVolumeMute.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconVolumeMute:()=>IconVolumeMute});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconVolumeMute=function IconVolumeMute(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"volume-mute":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 2.5V21.5L9.273 17H6C3.23858 17 1 14.7614 1 12C1 9.28538 3.16334 7.07603 5.86005 7.00192L9.273 7L15 2.5ZM13 6.8115L10 8.926V15.073L13 17.188V6.8115ZM22.5 8.5L24 10L22 12L24 14L22.5 15.5L20.5 13.5L18.5 15.5L17 14L19 12L17 10L18.5 8.5L20.5 10.5L22.5 8.5ZM8 9L6.02745 8.99981L5.91499 9.00117C4.29498 9.04569 3 10.3746 3 12C3 13.6192 4.28279 14.9388 5.88753 14.9979L6 15H8V9Z",fill:"currentColor"})})};try{IconVolumeMute.displayName="IconVolumeMute",IconVolumeMute.__docgenInfo={description:"",displayName:"IconVolumeMute",props:{ariaLabel:{defaultValue:{value:"volume-mute"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconVolumeMute.tsx#IconVolumeMute"]={docgenInfo:IconVolumeMute.__docgenInfo,name:"IconVolumeMute",path:"src/icons/IconVolumeMute.tsx#IconVolumeMute"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconVolumePlus.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconVolumePlus:()=>IconVolumePlus});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconVolumePlus=function IconVolumePlus(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"volume-plus":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 2.5V21.5L9.273 17H6C3.23858 17 1 14.7614 1 12C1 9.28538 3.16334 7.07603 5.86005 7.00192L9.273 7L15 2.5ZM13 6.8115L10 8.926V15.073L13 17.188V6.8115ZM21 8V11H24V13H21V16H19V13H16V11H19V8H21ZM8 9L6.02745 8.99981L5.91499 9.00117C4.29498 9.04569 3 10.3746 3 12C3 13.6192 4.28279 14.9388 5.88753 14.9979L6 15H8V9Z",fill:"currentColor"})})};try{IconVolumePlus.displayName="IconVolumePlus",IconVolumePlus.__docgenInfo={description:"",displayName:"IconVolumePlus",props:{ariaLabel:{defaultValue:{value:"volume-plus"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconVolumePlus.tsx#IconVolumePlus"]={docgenInfo:IconVolumePlus.__docgenInfo,name:"IconVolumePlus",path:"src/icons/IconVolumePlus.tsx#IconVolumePlus"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconWhatsapp.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconWhatsapp:()=>IconWhatsapp});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconWhatsapp=function IconWhatsapp(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"whatsapp":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{d:"M19.0714 3C20.0855 3 20.9173 3.78353 20.9942 4.7779L21 4.92857V19.0714C21 20.0855 20.2165 20.9173 19.2221 20.9942L19.0714 21H4.92857C3.91454 21 3.08273 20.2165 3.0058 19.2221L3 19.0714V4.92857C3 3.91454 3.78353 3.08273 4.7779 3.0058L4.92857 3H19.0714ZM11.9732 6C8.70536 6 6.02679 8.67857 6.02679 11.9464C6.02679 12.9286 6.27437 13.8657 6.70764 14.6959L6.83036 14.9196L6 18L9.13393 17.1964L9.37695 17.3159C10.1934 17.6983 11.0722 17.9196 11.9732 17.9196C15.2679 17.9196 18 15.2411 18 11.9732C18 10.3661 17.3036 8.89286 16.1786 7.76786C15.0804 6.64286 13.5804 6 11.9732 6ZM10.2235 9.21414C10.2973 9.21774 10.3739 9.24477 10.4617 9.405L10.5 9.48214L10.5691 9.66022L10.9554 10.5804C10.9821 10.6607 11.0089 10.7411 10.9554 10.8482C10.8839 10.9982 10.8087 11.1063 10.7398 11.1892L10.6895 11.247L10.5998 11.3405L10.5311 11.4152C10.4754 11.4847 10.4625 11.5447 10.5268 11.6518C11.0768 12.5768 11.6034 12.9418 12.3899 13.3348L12.6254 13.4511C12.7043 13.4819 12.7653 13.469 12.8322 13.4283L12.8839 13.3929L13.2279 12.9602L13.3109 12.8473C13.3221 12.831 13.3317 12.8163 13.3393 12.8036C13.433 12.663 13.5268 12.6659 13.6385 12.7047L13.6875 12.7232L14.0574 12.8929L14.7054 13.2054L14.8498 13.2829C14.8966 13.3075 14.9336 13.3299 14.9559 13.36L14.9732 13.3929L14.989 13.4194C15.0252 13.5126 15.0119 13.7798 14.8929 14.0893C14.7701 14.4085 14.2647 14.7052 13.975 14.773L13.7131 14.8114C13.3096 14.8518 12.9196 14.7822 12.1071 14.4107C11.5821 14.1857 11.1228 13.8557 10.7439 13.5183L10.5866 13.3736L10.3559 13.1443L10.1523 12.9242L10.0609 12.8197L9.97671 12.72L9.83026 12.5389L9.5625 12.1875L9.47036 12.0568L9.37401 11.9038C9.1994 11.6101 8.97321 11.1339 8.97321 10.6339C8.97321 10.1332 9.15295 9.81229 9.30799 9.60885L9.35848 9.54531L9.48214 9.40179C9.59694 9.26403 9.73141 9.22467 9.83497 9.21624L9.88393 9.21429L10.2235 9.21414Z",fill:"currentColor"})})};try{IconWhatsapp.displayName="IconWhatsapp",IconWhatsapp.__docgenInfo={description:"",displayName:"IconWhatsapp",props:{ariaLabel:{defaultValue:{value:"whatsapp"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconWhatsapp.tsx#IconWhatsapp"]={docgenInfo:IconWhatsapp.__docgenInfo,name:"IconWhatsapp",path:"src/icons/IconWhatsapp.tsx#IconWhatsapp"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconWifi.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconWifi:()=>IconWifi});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconWifi=function IconWifi(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"wifi":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 17.5338C12.8284 17.5338 13.5 18.2054 13.5 19.0338C13.5 19.8623 12.8284 20.5338 12 20.5338C11.1716 20.5338 10.5 19.8623 10.5 19.0338C10.5 18.2054 11.1716 17.5338 12 17.5338ZM16.1404 15.5229L16.2517 15.6315L14.8375 17.0457C13.209 15.4172 10.6706 15.3288 9.11001 16.7933L9.02274 16.8778L7.60852 15.4636C9.92086 13.1513 13.7088 13.2034 16.1404 15.5229ZM19.2659 12.3713L19.3899 12.4933L17.9757 13.9075C14.728 10.6599 9.48052 10.6266 6.17967 13.8055L6.06399 13.9191L4.64977 12.5048C8.68192 8.4727 15.1894 8.42636 19.2659 12.3713ZM22.3528 9.18261L22.5281 9.35507L21.1139 10.7693C16.1385 5.79383 8.10258 5.74407 3.06592 10.62L2.91421 10.7693L1.5 9.35507C7.24869 3.60638 16.5334 3.54889 22.3528 9.18261Z",fill:"currentColor"})})};try{IconWifi.displayName="IconWifi",IconWifi.__docgenInfo={description:"",displayName:"IconWifi",props:{ariaLabel:{defaultValue:{value:"wifi"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconWifi.tsx#IconWifi"]={docgenInfo:IconWifi.__docgenInfo,name:"IconWifi",path:"src/icons/IconWifi.tsx#IconWifi"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconWifiCrossed.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconWifiCrossed:()=>IconWifiCrossed});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconWifiCrossed=function IconWifiCrossed(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"wifi-crossed":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.7929 2.79291L21.2071 4.20712L4.70711 20.7071L3.29289 19.2929L19.7929 2.79291ZM12 17.5338C12.8284 17.5338 13.5 18.2054 13.5 19.0338C13.5 19.8623 12.8284 20.5338 12 20.5338C11.1716 20.5338 10.5 19.8623 10.5 19.0338C10.5 18.2054 11.1716 17.5338 12 17.5338ZM13.5254 14.0084C14.4727 14.2859 15.374 14.7918 16.1404 15.5229L16.2517 15.6315L14.8375 17.0457C13.9784 16.1867 12.8661 15.7562 11.7777 15.7561L13.5254 14.0084ZM10.9645 9.50061L7.98999 12.475C7.34406 12.8278 6.73438 13.2713 6.17967 13.8055L6.06399 13.9191L4.64977 12.5049C6.41692 10.7377 8.65951 9.73614 10.9645 9.50061ZM16.889 10.6459C17.7398 11.0949 18.5412 11.67 19.2659 12.3713L19.3899 12.4933L17.9757 13.9075C17.2083 13.1402 16.3293 12.5523 15.3908 12.1438L16.889 10.6459ZM20.13 7.40669C20.9125 7.91739 21.6574 8.50937 22.3528 9.18262L22.5281 9.35508L21.1139 10.7693C20.3646 10.02 19.5459 9.38245 18.6785 8.85658L20.13 7.40669ZM15.1352 5.32947L13.392 7.07355C9.7214 6.68056 5.91411 7.86273 3.06592 10.62L2.91421 10.7693L1.5 9.35508C5.20194 5.65314 10.3702 4.31128 15.1352 5.32947Z",fill:"currentColor"})})};try{IconWifiCrossed.displayName="IconWifiCrossed",IconWifiCrossed.__docgenInfo={description:"",displayName:"IconWifiCrossed",props:{ariaLabel:{defaultValue:{value:"wifi-crossed"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconWifiCrossed.tsx#IconWifiCrossed"]={docgenInfo:IconWifiCrossed.__docgenInfo,name:"IconWifiCrossed",path:"src/icons/IconWifiCrossed.tsx#IconWifiCrossed"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconYle.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconYle:()=>IconYle});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconYle=function IconYle(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"yle":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.0714 3H4.92857C3.86384 3 3 3.86384 3 4.92857V19.0714C3 20.1362 3.86384 21 4.92857 21H19.0714C20.1362 21 21 20.1362 21 19.0714V4.92857C21 3.86384 20.1362 3 19.0714 3ZM5.78124 9.20665H5.43353L5.34502 9.21206C5.12161 9.24077 5 9.38314 5 9.62035C5 9.75978 5.03211 9.95706 5.10093 10.2363L5.13842 10.3828L6.12414 13.8987L6.16491 14.0351C6.33956 14.5578 6.65484 14.8062 7.18905 14.8414L7.32721 14.8457H7.72257L7.61702 15.3684C7.58804 15.501 7.55906 15.6221 7.53592 15.6944C7.35489 16.2562 7.07459 16.375 6.59262 16.375C6.30817 16.375 6.09373 16.3593 5.9248 16.3421L5.74236 16.3215C5.62777 16.3086 5.53642 16.2979 5.45262 16.2979C5.25419 16.2979 5.13022 16.4025 5.10233 16.5885L5.09632 16.6731V16.9049L5.10244 16.996C5.12574 17.1575 5.21251 17.2321 5.31048 17.2818L5.37019 17.3092C5.60479 17.4159 5.89949 17.4736 6.78594 17.4736C7.67442 17.4736 8.33369 16.9976 8.54931 16.1984L8.82744 15.1182L10.0344 10.1512C10.0696 9.99584 10.1177 9.7579 10.1177 9.62035C10.1177 9.40055 9.9929 9.24866 9.79347 9.21413L9.70358 9.20665H9.37522L9.29452 9.21104C9.09116 9.23479 8.98002 9.35801 8.89695 9.65212L8.86699 9.77057L7.93895 13.8049H7.73232L7.65124 13.8027C7.42369 13.7892 7.30554 13.7075 7.21143 13.4073L7.17709 13.2842L6.21547 9.64024C6.15786 9.433 6.08467 9.2516 5.86903 9.21385L5.78124 9.20665ZM16.6599 9.05168C14.9176 9.05168 14.1397 10.002 14.1397 12.1325C14.1397 14.2087 14.8651 14.9807 16.8147 14.9807C17.6846 14.9807 18.2564 14.8616 18.479 14.7601C18.6015 14.7076 18.7206 14.6403 18.7485 14.4457L18.7546 14.3542V14.1419L18.7486 14.0572C18.7208 13.8709 18.5971 13.7661 18.3988 13.7661C18.3461 13.7661 18.2923 13.7733 18.2321 13.784L17.8948 13.8458C17.7022 13.8752 17.4374 13.9015 17.0462 13.9015C15.6425 13.9015 15.4175 13.6588 15.3645 12.5706L15.3587 12.4302H18.1216L18.2574 12.4258C18.8167 12.388 19 12.1093 19 11.705L18.9961 11.4746C18.9573 10.3802 18.6017 9.05168 16.6599 9.05168ZM12.1383 6.25H11.3075C11.1714 6.25 10.8292 6.25 10.7681 6.54637L10.7587 6.64447V7.01233L10.7605 7.05288C10.7732 7.19396 10.8594 7.38697 11.2269 7.4209L11.3458 7.42609H11.5503V14.3349L11.5523 14.4315C11.5652 14.7083 11.6436 14.8692 11.9219 14.8986L12.0223 14.9036H12.2932L12.3884 14.898C12.6495 14.8655 12.7289 14.6917 12.7434 14.435L12.7459 14.3349L12.7451 7.05037C12.7367 6.63213 12.6594 6.25 12.1383 6.25ZM16.6808 9.97473C17.4842 9.97441 17.8334 10.4219 17.8921 11.2874L17.8998 11.4546L15.3808 11.4567L15.3913 11.2797C15.4676 10.3683 15.8653 9.97512 16.6808 9.97473Z",fill:"currentColor"})})};try{IconYle.displayName="IconYle",IconYle.__docgenInfo={description:"",displayName:"IconYle",props:{ariaLabel:{defaultValue:{value:"yle"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconYle.tsx#IconYle"]={docgenInfo:IconYle.__docgenInfo,name:"IconYle",path:"src/icons/IconYle.tsx#IconYle"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconYouth.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconYouth:()=>IconYouth});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconYouth=function IconYouth(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"youth":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 17V22H14V17H16V24H8V17H10ZM15.3333 9C16.8061 9 18 10.1939 18 11.6667V17H16V11.6667C16 11.2985 15.7015 11 15.3333 11H8.66667C8.33195 11 8.05485 11.2467 8.00723 11.5682L8 11.6667V17H6V11.67C6 10.1972 7.19391 9 8.66667 9H15.3333ZM13.5 0C14.6046 0 15.5 0.895431 15.5 2H18V4H15.5V5C15.5 5.98703 15.2478 6.9091 14.5784 7.57843C13.9091 8.24776 12.987 8.5 12 8.5C11.013 8.5 10.0909 8.24776 9.42157 7.57843C8.75224 6.9091 8.5 5.98703 8.5 5V2C8.5 0.895431 9.39543 0 10.5 0H13.5ZM13.5 4H10.5V5C10.5 5.66982 10.6693 5.99776 10.8358 6.16421C11.0022 6.33067 11.3302 6.5 12 6.5C12.6698 6.5 12.9978 6.33067 13.1642 6.16421C13.3307 5.99776 13.5 5.66982 13.5 5V4Z",fill:"currentColor"})})};try{IconYouth.displayName="IconYouth",IconYouth.__docgenInfo={description:"",displayName:"IconYouth",props:{ariaLabel:{defaultValue:{value:"youth"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconYouth.tsx#IconYouth"]={docgenInfo:IconYouth.__docgenInfo,name:"IconYouth",path:"src/icons/IconYouth.tsx#IconYouth"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconYoutube.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconYoutube:()=>IconYoutube});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconYoutube=function IconYoutube(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"youtube":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.0714 3C20.0855 3 20.9173 3.78353 20.9942 4.7779L21 4.92857V19.0714C21 20.0855 20.2165 20.9173 19.2221 20.9942L19.0714 21H4.92857C3.91454 21 3.08273 20.2165 3.0058 19.2221L3 19.0714V4.92857C3 3.91454 3.78353 3.08273 4.7779 3.0058L4.92857 3H19.0714ZM12.4663 7.00151L11.7079 7.00026C10.7113 7.0063 7.45039 7.04495 6.52908 7.29231C5.92669 7.45366 5.45224 7.92904 5.29122 8.53266C5.06455 9.38031 5.01349 10.9414 5.00199 11.6017V12.2173C5.01349 12.8776 5.06455 14.4387 5.29122 15.2864C5.45224 15.89 5.92669 16.3456 6.52908 16.5069C7.36319 16.7309 10.115 16.7837 11.368 16.7962H12.6307C13.8837 16.7837 16.6355 16.7309 17.4696 16.5069C18.072 16.3456 18.5464 15.89 18.7074 15.2864C18.8713 14.6737 18.9434 13.6882 18.9751 12.9396L18.9995 11.8169C18.9958 11.3788 18.9649 9.49548 18.7074 8.53266C18.5464 7.92904 18.072 7.45364 17.4696 7.29231C16.5968 7.05797 13.6241 7.01095 12.4663 7.00151ZM10.5992 9.79942L14.0995 11.8997L10.5992 13.9998V9.79942Z",fill:"currentColor"})})};try{IconYoutube.displayName="IconYoutube",IconYoutube.__docgenInfo={description:"",displayName:"IconYoutube",props:{ariaLabel:{defaultValue:{value:"youtube"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconYoutube.tsx#IconYoutube"]={docgenInfo:IconYoutube.__docgenInfo,name:"IconYoutube",path:"src/icons/IconYoutube.tsx#IconYoutube"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconZoomIn.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconZoomIn:()=>IconZoomIn});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconZoomIn=function IconZoomIn(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"zoom-in":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 2C18.4183 2 22 5.58172 22 10C22 14.4183 18.4183 18 14 18C12.1298 18 10.4095 17.3583 9.04729 16.283L3.41421 21.9142L2 20.5L7.64217 14.8564C6.61203 13.5098 6 11.8264 6 10C6 5.58172 9.58172 2 14 2ZM14 4C10.6863 4 8 6.68629 8 10C8 13.3137 10.6863 16 14 16C17.3137 16 20 13.3137 20 10C20 6.68629 17.3137 4 14 4ZM15 6V9H18V11H15V14H13V11H10V9H13V6H15Z",fill:"currentColor"})})};try{IconZoomIn.displayName="IconZoomIn",IconZoomIn.__docgenInfo={description:"",displayName:"IconZoomIn",props:{ariaLabel:{defaultValue:{value:"zoom-in"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconZoomIn.tsx#IconZoomIn"]={docgenInfo:IconZoomIn.__docgenInfo,name:"IconZoomIn",path:"src/icons/IconZoomIn.tsx#IconZoomIn"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconZoomOut.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconZoomOut:()=>IconZoomOut});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconZoomOut=function IconZoomOut(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"zoom-out":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 2C18.4183 2 22 5.58172 22 10C22 14.4183 18.4183 18 14 18C12.1298 18 10.4095 17.3583 9.04729 16.283L3.41421 21.9142L2 20.5L7.64217 14.8564C6.61203 13.5098 6 11.8264 6 10C6 5.58172 9.58172 2 14 2ZM14 4C10.6863 4 8 6.68629 8 10C8 13.3137 10.6863 16 14 16C17.3137 16 20 13.3137 20 10C20 6.68629 17.3137 4 14 4ZM18 9V11H10V9H18Z",fill:"currentColor"})})};try{IconZoomOut.displayName="IconZoomOut",IconZoomOut.__docgenInfo={description:"",displayName:"IconZoomOut",props:{ariaLabel:{defaultValue:{value:"zoom-out"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconZoomOut.tsx#IconZoomOut"]={docgenInfo:IconZoomOut.__docgenInfo,name:"IconZoomOut",path:"src/icons/IconZoomOut.tsx#IconZoomOut"})}catch(__react_docgen_typescript_loader_error){}},"./src/icons/IconZoomText.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{IconZoomText:()=>IconZoomText});__webpack_require__("../../node_modules/react/index.js");var _Icon_module_css__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/icons/Icon.module.css"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),IconZoomText=function IconZoomText(_ref){var _ref$ariaLabel=_ref.ariaLabel,ariaLabel=void 0===_ref$ariaLabel?"zoom-text":_ref$ariaLabel,ariaLabelledby=_ref.ariaLabelledby,_ref$ariaHidden=_ref.ariaHidden,ariaHidden=void 0===_ref$ariaHidden||_ref$ariaHidden,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,color=_ref.color,_ref$size=_ref.size,size=void 0===_ref$size?"s":_ref$size,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg",{className:[_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z.icon,_Icon_module_css__WEBPACK_IMPORTED_MODULE_2__.Z[size],className].filter((function(e){return e})).join(" "),role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,"aria-hidden":ariaHidden,color,style,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 2C19.4183 2 23 5.58172 23 10C23 14.4183 19.4183 18 15 18C13.1298 18 11.4095 17.3583 10.0473 16.283L4.41421 21.9142L3 20.5L8.64217 14.8564C7.61203 13.5098 7 11.8264 7 10C7 5.58172 10.5817 2 15 2ZM15 4C11.6863 4 9 6.68629 9 10C9 13.3137 11.6863 16 15 16C18.3137 16 21 13.3137 21 10C21 6.68629 18.3137 4 15 4ZM16.0646 6.5L18.25 13H16.4491L16.0552 11.7601H13.8604L13.4758 13H11.75L13.9354 6.5H16.0646ZM4.65079 7.5L6.5 13H4.97619L4.64286 11.9509H2.78571L2.46032 13H1L2.84921 7.5H4.65079ZM3.7381 8.91474H3.70635L3.65164 9.15923C3.6376 9.2168 3.62107 9.2813 3.60233 9.34907L3.53968 9.55853L3.16667 10.7428H4.26984L3.89683 9.55853C3.79365 9.24061 3.7381 8.91474 3.7381 8.91474ZM14.9859 8.17197H14.9484L14.8735 8.50268C14.8575 8.5667 14.8392 8.63666 14.8188 8.7094L14.7514 8.9328L14.3106 10.3324H15.6144L15.1735 8.9328C15.0516 8.55708 14.9859 8.17197 14.9859 8.17197Z",fill:"currentColor"})})};try{IconZoomText.displayName="IconZoomText",IconZoomText.__docgenInfo={description:"",displayName:"IconZoomText",props:{ariaLabel:{defaultValue:{value:"zoom-text"},description:"",name:"ariaLabel",required:!1,type:{name:"string"}},ariaLabelledby:{defaultValue:null,description:"",name:"ariaLabelledby",required:!1,type:{name:"string"}},ariaHidden:{defaultValue:{value:"true"},description:"",name:"ariaHidden",required:!1,type:{name:"boolean"}},size:{defaultValue:{value:"s"},description:"Icon size",name:"size",required:!1,type:{name:"enum",value:[{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xs"'},{value:'"xl"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/icons/IconZoomText.tsx#IconZoomText"]={docgenInfo:IconZoomText.__docgenInfo,name:"IconZoomText",path:"src/icons/IconZoomText.tsx#IconZoomText"})}catch(__react_docgen_typescript_loader_error){}},"./src/internal/dropdownMenu/DropdownMenu.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{h:()=>DropdownMenu});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),lodash_isequal__WEBPACK_IMPORTED_MODULE_1__=(__webpack_require__("../../node_modules/react/index.js"),__webpack_require__("../../node_modules/lodash.isequal/index.js")),lodash_isequal__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(lodash_isequal__WEBPACK_IMPORTED_MODULE_1__),_components_dropdown_dropdownUtils__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./src/components/dropdown/dropdownUtils.ts"),_icons__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/icons/IconCheck.tsx"),_utils_classNames__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./src/utils/classNames.ts"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),DropdownMenuItem=function DropdownMenuItem(_ref){var disabled=_ref.disabled,highlightValue=_ref.highlightValue,itemProps=_ref.itemProps,label=_ref.label,menuStyles=_ref.menuStyles,multiselect=_ref.multiselect,selected=_ref.selected,getHighligtedValue=function getHighligtedValue(labelValue){return labelValue.replace(new RegExp(highlightValue,"gi"),(function(match){return"".concat(match," ")}))},highlightLabel=function highlightLabel(value){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("span",{className:menuStyles.highlighted,dangerouslySetInnerHTML:{__html:getHighligtedValue(value)}})};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("li",(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},itemProps),{},{"aria-selected":selected},disabled&&{"aria-disabled":!0}),{},{children:multiselect?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("span",{className:menuStyles.checkbox,"aria-hidden":!0,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_4__.IconCheck,{})}),highlightValue?highlightLabel(label):label]}):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment,{children:[highlightValue?highlightLabel(label):label,selected&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_4__.IconCheck,{className:menuStyles.selectedIcon})]})}))},DropdownMenu=function DropdownMenu(_ref2){var getItemProps=_ref2.getItemProps,highlightValue=_ref2.highlightValue,isOptionDisabled=_ref2.isOptionDisabled,menuProps=_ref2.menuProps,menuStyles=_ref2.menuStyles,multiselect=_ref2.multiselect,open=_ref2.open,optionLabelField=_ref2.optionLabelField,optionKeyField=_ref2.optionKeyField,options=_ref2.options,selectedItem=_ref2.selectedItem,selectedItems=_ref2.selectedItems,virtualizer=_ref2.virtualizer,isVirtualized=!!virtualizer,listOptions=isVirtualized?virtualizer.virtualItems:options;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("ul",(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},menuProps),{},{className:(0,_utils_classNames__WEBPACK_IMPORTED_MODULE_5__.Z)(menuStyles.menu),children:open&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment,{children:[isVirtualized&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("li",{"aria-hidden":!0,style:{height:virtualizer.totalSize}},"total-size"),listOptions.map((function(data,_index){var index=_index,virtualItem=null;isVirtualized&&(index=data.index,virtualItem=data);var item=options[index],optionLabel=item[optionLabelField],optionKey=item[optionKeyField],selected=multiselect?(0,_components_dropdown_dropdownUtils__WEBPACK_IMPORTED_MODULE_6__.l)(selectedItems,item):lodash_isequal__WEBPACK_IMPORTED_MODULE_1___default()(selectedItem,item),disabled="function"==typeof isOptionDisabled&&isOptionDisabled(item,index),itemProps=getItemProps(item,index,selected,disabled,virtualItem);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(DropdownMenuItem,{disabled,highlightValue,itemProps,menuStyles,multiselect,label:optionLabel,selected},optionKey)}))]})}))};try{DropdownMenuItem.displayName="DropdownMenuItem",DropdownMenuItem.__docgenInfo={description:"",displayName:"DropdownMenuItem",props:{disabled:{defaultValue:null,description:"Whether the item is disabled",name:"disabled",required:!0,type:{name:"boolean"}},highlightValue:{defaultValue:null,description:"String to highlight",name:"highlightValue",required:!1,type:{name:"string"}},itemProps:{defaultValue:null,description:"Downshift item props",name:"itemProps",required:!0,type:{name:"any"}},label:{defaultValue:null,description:"Item label",name:"label",required:!0,type:{name:"string"}},menuStyles:{defaultValue:null,description:"Menu styles",name:"menuStyles",required:!0,type:{name:"{ [className: string]: string; }"}},multiselect:{defaultValue:null,description:"Whether multi-select is enabled",name:"multiselect",required:!0,type:{name:"boolean"}},selected:{defaultValue:null,description:"Whether the item is selected",name:"selected",required:!0,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/internal/dropdownMenu/DropdownMenu.tsx#DropdownMenuItem"]={docgenInfo:DropdownMenuItem.__docgenInfo,name:"DropdownMenuItem",path:"src/internal/dropdownMenu/DropdownMenu.tsx#DropdownMenuItem"})}catch(__react_docgen_typescript_loader_error){}try{DropdownMenu.displayName="DropdownMenu",DropdownMenu.__docgenInfo={description:"",displayName:"DropdownMenu",props:{getItemProps:{defaultValue:null,description:"Getter function for item props",name:"getItemProps",required:!0,type:{name:"(item: T, index: number, selected: boolean, disabled: boolean, virtualItem: VirtualItem) => any"}},highlightValue:{defaultValue:null,description:"String to be highlighted in a item",name:"highlightValue",required:!1,type:{name:"string"}},isOptionDisabled:{defaultValue:null,description:"Function used to detect whether an option is disabled",name:"isOptionDisabled",required:!0,type:{name:"(option: T, index: number) => boolean"}},menuProps:{defaultValue:null,description:"Downshift getter function for menu props",name:"menuProps",required:!0,type:{name:"any"}},menuStyles:{defaultValue:null,description:"Menu styles",name:"menuStyles",required:!0,type:{name:"{ [className: string]: string; }"}},multiselect:{defaultValue:null,description:"Whether multi-select is enabled",name:"multiselect",required:!0,type:{name:"boolean"}},open:{defaultValue:null,description:"Menu open state",name:"open",required:!0,type:{name:"boolean"}},optionKeyField:{defaultValue:null,description:"Data item field that represents the item key",name:"optionKeyField",required:!0,type:{name:"string"}},optionLabelField:{defaultValue:null,description:"Data item field that represents the item label",name:"optionLabelField",required:!0,type:{name:"string"}},options:{defaultValue:null,description:"Array of options that should be shown in the menu",name:"options",required:!0,type:{name:"T[]"}},selectedItem:{defaultValue:null,description:"Currently selected item",name:"selectedItem",required:!0,type:{name:"T"}},selectedItems:{defaultValue:null,description:"Currently selected item(s) when multiselect is enabled.",name:"selectedItems",required:!0,type:{name:"T[]"}},virtualizer:{defaultValue:null,description:"Values return by the useVirtual hook",name:"virtualizer",required:!1,type:{name:"{ virtualItems: VirtualItem[]; totalSize: number; }"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/internal/dropdownMenu/DropdownMenu.tsx#DropdownMenu"]={docgenInfo:DropdownMenu.__docgenInfo,name:"DropdownMenu",path:"src/internal/dropdownMenu/DropdownMenu.tsx#DropdownMenu"})}catch(__react_docgen_typescript_loader_error){}},"./src/internal/field-label/FieldLabel.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Q:()=>FieldLabel});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),objectWithoutProperties=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");__webpack_require__("../../node_modules/react/index.js");const FieldLabel_module_hidden="FieldLabel_hidden__iwhXS",FieldLabel_module_label="FieldLabel_label__JVJPS",FieldLabel_module_tooltipButton="FieldLabel_tooltipButton__cvS2a";var RequiredIndicator=__webpack_require__("./src/internal/required-indicator/RequiredIndicator.tsx"),Tooltip=__webpack_require__("./src/components/tooltip/Tooltip.tsx"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),_excluded=["hidden","id","inputId","isAriaLabelledBy","label","required","tooltipLabel","tooltipButtonLabel","tooltipText"],FieldLabel=function FieldLabel(_ref){var hidden=_ref.hidden,id=_ref.id,inputId=_ref.inputId,isAriaLabelledBy=_ref.isAriaLabelledBy,label=_ref.label,required=_ref.required,tooltipLabel=_ref.tooltipLabel,tooltipButtonLabel=_ref.tooltipButtonLabel,tooltipText=_ref.tooltipText,rest=(0,objectWithoutProperties.Z)(_ref,_excluded);return(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsxs)("label",(0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)({id},(!isAriaLabelledBy||!id)&&{htmlFor:inputId}),{},{className:"".concat(FieldLabel_module_label," ").concat(hidden?FieldLabel_module_hidden:"")},rest),{},{children:[label,required&&(0,jsx_runtime.jsx)(RequiredIndicator.n,{})]})),tooltipText&&(0,jsx_runtime.jsx)(Tooltip.u,{buttonClassName:FieldLabel_module_tooltipButton,tooltipLabel,buttonLabel:tooltipButtonLabel,children:tooltipText})]})};try{FieldLabel.displayName="FieldLabel",FieldLabel.__docgenInfo={description:"",displayName:"FieldLabel",props:{hidden:{defaultValue:null,description:"",name:"hidden",required:!1,type:{name:"boolean"}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},inputId:{defaultValue:null,description:"",name:"inputId",required:!0,type:{name:"string"}},isAriaLabelledBy:{defaultValue:null,description:"",name:"isAriaLabelledBy",required:!1,type:{name:"boolean"}},label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"ReactNode"}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"boolean"}},tooltipLabel:{defaultValue:null,description:"",name:"tooltipLabel",required:!1,type:{name:"string"}},tooltipButtonLabel:{defaultValue:null,description:"",name:"tooltipButtonLabel",required:!1,type:{name:"string"}},tooltipText:{defaultValue:null,description:"",name:"tooltipText",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/internal/field-label/FieldLabel.tsx#FieldLabel"]={docgenInfo:FieldLabel.__docgenInfo,name:"FieldLabel",path:"src/internal/field-label/FieldLabel.tsx#FieldLabel"})}catch(__react_docgen_typescript_loader_error){}},"./src/internal/input-wrapper/InputWrapper.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{S:()=>InputWrapper});__webpack_require__("../../node_modules/react/index.js");var _components_textInput_TextInput_module_css__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/components/textInput/TextInput.module.css"),_utils_classNames__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/utils/classNames.ts"),_field_label_FieldLabel__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/internal/field-label/FieldLabel.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),InputWrapper=function InputWrapper(_ref){var children=_ref.children,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,errorText=_ref.errorText,helperText=_ref.helperText,_ref$hideLabel=_ref.hideLabel,hideLabel=void 0!==_ref$hideLabel&&_ref$hideLabel,id=_ref.id,_ref$invalid=_ref.invalid,invalid=void 0!==_ref$invalid&&_ref$invalid,_ref$isAriaLabelledBy=_ref.isAriaLabelledBy,isAriaLabelledBy=void 0!==_ref$isAriaLabelledBy&&_ref$isAriaLabelledBy,label=_ref.label,labelId=_ref.labelId,onBlur=_ref.onBlur,_ref$required=_ref.required,required=void 0!==_ref$required&&_ref$required,style=_ref.style,successText=_ref.successText,infoText=_ref.infoText,tooltipLabel=_ref.tooltipLabel,tooltipText=_ref.tooltipText,tooltipButtonLabel=_ref.tooltipButtonLabel;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div",{onBlur,className:(0,_utils_classNames__WEBPACK_IMPORTED_MODULE_2__.Z)(_components_textInput_TextInput_module_css__WEBPACK_IMPORTED_MODULE_3__.Z.root,invalid&&_components_textInput_TextInput_module_css__WEBPACK_IMPORTED_MODULE_3__.Z.invalid,successText&&_components_textInput_TextInput_module_css__WEBPACK_IMPORTED_MODULE_3__.Z.success,className),style,children:[label&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_field_label_FieldLabel__WEBPACK_IMPORTED_MODULE_4__.Q,{id:labelId,inputId:id,isAriaLabelledBy,hidden:hideLabel,label,required,tooltipLabel,tooltipButtonLabel,tooltipText}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{className:(0,_utils_classNames__WEBPACK_IMPORTED_MODULE_2__.Z)(_components_textInput_TextInput_module_css__WEBPACK_IMPORTED_MODULE_3__.Z.inputWrapper),children}),errorText&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{className:_components_textInput_TextInput_module_css__WEBPACK_IMPORTED_MODULE_3__.Z.errorText,id:"".concat(id,"-error"),children:errorText}),successText&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{className:_components_textInput_TextInput_module_css__WEBPACK_IMPORTED_MODULE_3__.Z.successText,id:"".concat(id,"-success"),children:successText}),infoText&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{className:_components_textInput_TextInput_module_css__WEBPACK_IMPORTED_MODULE_3__.Z.infoText,id:"".concat(id,"-info"),children:infoText}),helperText&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{className:_components_textInput_TextInput_module_css__WEBPACK_IMPORTED_MODULE_3__.Z.helperText,id:"".concat(id,"-helper"),children:helperText})]})};try{InputWrapper.displayName="InputWrapper",InputWrapper.__docgenInfo={description:"",displayName:"InputWrapper",props:{className:{defaultValue:{value:""},description:"",name:"className",required:!1,type:{name:"string"}},errorText:{defaultValue:null,description:"",name:"errorText",required:!1,type:{name:"string"}},helperText:{defaultValue:null,description:"",name:"helperText",required:!1,type:{name:"string"}},hideLabel:{defaultValue:{value:"false"},description:"",name:"hideLabel",required:!1,type:{name:"boolean"}},id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}},invalid:{defaultValue:{value:"false"},description:"",name:"invalid",required:!1,type:{name:"boolean"}},isAriaLabelledBy:{defaultValue:{value:"false"},description:"",name:"isAriaLabelledBy",required:!1,type:{name:"boolean"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},labelId:{defaultValue:null,description:"",name:"labelId",required:!1,type:{name:"string"}},onBlur:{defaultValue:null,description:"",name:"onBlur",required:!1,type:{name:"(event: FocusEvent) => void"}},required:{defaultValue:{value:"false"},description:"",name:"required",required:!1,type:{name:"boolean"}},style:{defaultValue:null,description:"",name:"style",required:!1,type:{name:"CSSProperties"}},successText:{defaultValue:null,description:"",name:"successText",required:!1,type:{name:"string"}},infoText:{defaultValue:null,description:"",name:"infoText",required:!1,type:{name:"string"}},tooltipLabel:{defaultValue:null,description:"",name:"tooltipLabel",required:!1,type:{name:"string"}},tooltipText:{defaultValue:null,description:"",name:"tooltipText",required:!1,type:{name:"string"}},tooltipButtonLabel:{defaultValue:null,description:"",name:"tooltipButtonLabel",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/internal/input-wrapper/InputWrapper.tsx#InputWrapper"]={docgenInfo:InputWrapper.__docgenInfo,name:"InputWrapper",path:"src/internal/input-wrapper/InputWrapper.tsx#InputWrapper"})}catch(__react_docgen_typescript_loader_error){}},"./src/internal/required-indicator/RequiredIndicator.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{n:()=>RequiredIndicator});__webpack_require__("../../node_modules/react/index.js");const RequiredIndicator_module_indicator="RequiredIndicator_indicator__d2A1R text-input_hds-text-input__required__x+lUx";var classNames=__webpack_require__("./src/utils/classNames.ts"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),RequiredIndicator=function RequiredIndicator(_ref){var className=_ref.className,style=_ref.style;return(0,jsx_runtime.jsx)("span",{className:(0,classNames.Z)(RequiredIndicator_module_indicator,className),style,children:"*"})};try{RequiredIndicator.displayName="RequiredIndicator",RequiredIndicator.__docgenInfo={description:"",displayName:"RequiredIndicator",props:{className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},style:{defaultValue:null,description:"",name:"style",required:!1,type:{name:"CSSProperties"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/internal/required-indicator/RequiredIndicator.tsx#RequiredIndicator"]={docgenInfo:RequiredIndicator.__docgenInfo,name:"RequiredIndicator",path:"src/internal/required-indicator/RequiredIndicator.tsx#RequiredIndicator"})}catch(__react_docgen_typescript_loader_error){}},"./src/internal/selectedItems/SelectedItems.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{C:()=>ClearButton,A:()=>SelectedItems});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),slicedToArray=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),toConsumableArray=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),react=__webpack_require__("../../node_modules/react/index.js"),react_merge_refs_esm=__webpack_require__("../../node_modules/react-merge-refs/dist/react-merge-refs.esm.js"),web=__webpack_require__("../../node_modules/react-use-measure/dist/web.js"),lodash_uniqueid=__webpack_require__("../../node_modules/lodash.uniqueid/index.js"),lodash_uniqueid_default=__webpack_require__.n(lodash_uniqueid),resize_observer=__webpack_require__("../../node_modules/@juggle/resize-observer/lib/exports/resize-observer.js");const SelectedItems_module_selectedItems="SelectedItems_selectedItems__5l+gG",SelectedItems_module_hiddenItemsCount="SelectedItems_hiddenItemsCount__5Rm9H",SelectedItems_module_hidden="SelectedItems_hidden__EOaK9",SelectedItems_module_tag="SelectedItems_tag__aVc78",SelectedItems_module_itemsHidden="SelectedItems_itemsHidden__p+q0O",SelectedItems_module_noToggle="SelectedItems_noToggle__1931M",SelectedItems_module_truncateFirstChild="SelectedItems_truncateFirstChild__1QOyp",SelectedItems_module_tagLabel="SelectedItems_tagLabel__tB-Hw",SelectedItems_module_clearButton="SelectedItems_clearButton__JkYB-";var Tag=__webpack_require__("./src/components/tag/Tag.tsx"),classNames=__webpack_require__("./src/utils/classNames.ts"),IconCrossCircle=__webpack_require__("./src/icons/IconCrossCircle.tsx"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),replaceTokenWithValue=function replaceTokenWithValue(string,value){return null==string?void 0:string.replace("{value}",value)},getHorizontalSpacing=function getHorizontalSpacing(element,property){if(!element)return 0;var longhandProperties=["".concat(property,"-left"),"".concat(property,"-right")],computedStyles=window.getComputedStyle(element);return longhandProperties.map((function(item){return computedStyles.getPropertyValue(item).replace("px","")})).reduce((function(spacing,value){return spacing+parseInt(value,10)}),0)},ClearButton=function ClearButton(_ref){var toggleButtonHidden=_ref.toggleButtonHidden,onClear=_ref.onClear,clearButtonAriaLabel=_ref.clearButtonAriaLabel,onFocus=_ref.onFocus;return(0,jsx_runtime.jsx)("button",{type:"button",className:(0,classNames.Z)(SelectedItems_module_clearButton,toggleButtonHidden&&SelectedItems_module_noToggle),onClick:onClear,"aria-label":clearButtonAriaLabel,onFocus:onFocus&&onFocus,children:(0,jsx_runtime.jsx)(IconCrossCircle.IconCrossCircle,{})})},SelectedItems=function SelectedItems(_ref2){var activeIndex=_ref2.activeIndex,className=_ref2.className,_ref2$clearable=_ref2.clearable,clearable=void 0===_ref2$clearable||_ref2$clearable,clearButtonAriaLabel=_ref2.clearButtonAriaLabel,dropdownId=_ref2.dropdownId,getSelectedItemProps=_ref2.getSelectedItemProps,_ref2$hideItems=_ref2.hideItems,hideItems=void 0!==_ref2$hideItems&&_ref2$hideItems,onClear=_ref2.onClear,onRemove=_ref2.onRemove,optionKeyField=_ref2.optionKeyField,optionLabelField=_ref2.optionLabelField,removeButtonAriaLabel=_ref2.removeButtonAriaLabel,selectedItems=_ref2.selectedItems,selectedItemsContainerRef=_ref2.selectedItemsContainerRef,selectedItemSrLabel=_ref2.selectedItemSrLabel,setActiveIndex=_ref2.setActiveIndex,_ref2$toggleButtonHid=_ref2.toggleButtonHidden,toggleButtonHidden=void 0!==_ref2$toggleButtonHid&&_ref2$toggleButtonHid,_useMeasure=(0,web.Z)({debounce:0,scroll:!1,polyfill:resize_observer.d}),_useMeasure2=(0,slicedToArray.Z)(_useMeasure,2),ref=_useMeasure2[0],_useMeasure2$=_useMeasure2[1],width=_useMeasure2$.width,height=_useMeasure2$.height,_useState=(0,react.useState)(0),_useState2=(0,slicedToArray.Z)(_useState,2),hiddenCount=_useState2[0],setHiddenCount=_useState2[1],hiddenItemsCountRef=(0,react.useRef)(),hiddenCountEl=hiddenItemsCountRef.current,containerEl=selectedItemsContainerRef.current,_useMemo=(0,react.useMemo)((function(){if(!containerEl)return[0,0];var childNodes=containerEl.childNodes||[];return[getHorizontalSpacing(containerEl,"padding"),getHorizontalSpacing(childNodes[0],"margin")]}),[containerEl]),_useMemo2=(0,slicedToArray.Z)(_useMemo,2),containerSpacing=_useMemo2[0],childSpacing=_useMemo2[1];return(0,react.useEffect)((function(){return function handleItemHiding(childSpacing,containerEl,containerSpacing,hiddenCountEl,hideItems,setHiddenCount){var visibleItems=[],hiddenItems=[];if(containerEl&&hiddenCountEl){var childNodes=(0,toConsumableArray.Z)(containerEl.childNodes).filter((function(node){return"DIV"===node.tagName}));containerEl.classList.remove(SelectedItems_module_truncateFirstChild);var hiddenCountWidth=hiddenCountEl.offsetWidth+childSpacing,containerWidth=containerEl.offsetWidth-hiddenCountWidth-containerSpacing;(0,toConsumableArray.Z)(childNodes).reduce((function(combinedChildWidth,child){var childWidth=child.offsetWidth+childSpacing;return combinedChildWidth+childWidth void"}},clearButtonAriaLabel:{defaultValue:null,description:"",name:"clearButtonAriaLabel",required:!0,type:{name:"string"}},toggleButtonHidden:{defaultValue:{value:"false"},description:"",name:"toggleButtonHidden",required:!1,type:{name:"boolean"}},onFocus:{defaultValue:null,description:"",name:"onFocus",required:!1,type:{name:"() => void"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/internal/selectedItems/SelectedItems.tsx#ClearButton"]={docgenInfo:ClearButton.__docgenInfo,name:"ClearButton",path:"src/internal/selectedItems/SelectedItems.tsx#ClearButton"})}catch(__react_docgen_typescript_loader_error){}try{SelectedItems.displayName="SelectedItems",SelectedItems.__docgenInfo={description:"",displayName:"SelectedItems",props:{activeIndex:{defaultValue:null,description:"The index of the item that should be active and focused",name:"activeIndex",required:!0,type:{name:"number"}},className:{defaultValue:null,description:"Additional class names to apply to the root element",name:"className",required:!1,type:{name:"string"}},clearable:{defaultValue:{value:"true"},description:"Flag for whether the clear selections button should be displayed",name:"clearable",required:!1,type:{name:"boolean"}},clearButtonAriaLabel:{defaultValue:null,description:"The aria-label for the clear button",name:"clearButtonAriaLabel",required:!1,type:{name:"string"}},dropdownId:{defaultValue:null,description:"Dropdown ID",name:"dropdownId",required:!0,type:{name:"string"}},getSelectedItemProps:{defaultValue:null,description:"Downshift selected item getter function",name:"getSelectedItemProps",required:!0,type:{name:"any"}},hideItems:{defaultValue:{value:"false"},description:"Flag for whether selected items that horizontally don't fit the container should be hidden",name:"hideItems",required:!1,type:{name:"boolean"}},onClear:{defaultValue:null,description:"Callback function fired when the clear button is pressed.",name:"onClear",required:!0,type:{name:"() => void"}},onRemove:{defaultValue:null,description:"Callback function fired when the when an item is removed",name:"onRemove",required:!0,type:{name:"(selectedItem: OptionType) => void"}},optionKeyField:{defaultValue:null,description:"Sets the data item field that represents the item key",name:"optionKeyField",required:!0,type:{name:"string"}},optionLabelField:{defaultValue:null,description:"Sets the data item field that represents the item label",name:"optionLabelField",required:!0,type:{name:"string"}},removeButtonAriaLabel:{defaultValue:null,description:"The aria-label for the remove button",name:"removeButtonAriaLabel",required:!0,type:{name:"string"}},selectedItems:{defaultValue:null,description:"Selected items",name:"selectedItems",required:!0,type:{name:"OptionType[]"}},selectedItemsContainerRef:{defaultValue:null,description:"Selected items container ref",name:"selectedItemsContainerRef",required:!0,type:{name:"MutableRefObject"}},selectedItemSrLabel:{defaultValue:null,description:"Label for selected items that is only visible to screen readers. Can be used to to give screen reader users additional information about the selected item",name:"selectedItemSrLabel",required:!1,type:{name:"string"}},setActiveIndex:{defaultValue:null,description:"Downshift setActiveIndex function",name:"setActiveIndex",required:!0,type:{name:"(index: number) => void"}},toggleButtonHidden:{defaultValue:{value:"false"},description:"Whether the dropdown toggle button is hidden",name:"toggleButtonHidden",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/internal/selectedItems/SelectedItems.tsx#SelectedItems"]={docgenInfo:SelectedItems.__docgenInfo,name:"SelectedItems",path:"src/internal/selectedItems/SelectedItems.tsx#SelectedItems"})}catch(__react_docgen_typescript_loader_error){}},"./src/internal/skipLink/SkipLink.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{G:()=>SkipLink});__webpack_require__("../../node_modules/react/index.js"),__webpack_require__("./src/styles/base.css");const SkipLink_module_skipLink="SkipLink_skipLink__7Jiq1",SkipLink_module_skipLinkLabel="SkipLink_skipLinkLabel__5htYq";var useTheme=__webpack_require__("./src/hooks/useTheme.tsx"),classNames=__webpack_require__("./src/utils/classNames.ts"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),SkipLink=function SkipLink(_ref){var ariaLabel=_ref.ariaLabel,label=_ref.label,skipTo=_ref.skipTo,theme=_ref.theme,href=skipTo.startsWith("#")?skipTo:"#".concat(skipTo),customThemeClass=(0,useTheme.F)(SkipLink_module_skipLink,theme);return(0,jsx_runtime.jsx)("a",{href,"aria-label":ariaLabel,className:(0,classNames.Z)(SkipLink_module_skipLink,customThemeClass),children:(0,jsx_runtime.jsx)("span",{className:SkipLink_module_skipLinkLabel,children:label})})};SkipLink.componentName="SkipLink";try{SkipLink.displayName="SkipLink",SkipLink.__docgenInfo={description:"",displayName:"SkipLink",props:{ariaLabel:{defaultValue:null,description:"aria-label for describing SkipLink for screen readers.",name:"ariaLabel",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"Label for the SkipLink.",name:"label",required:!0,type:{name:"string"}},skipTo:{defaultValue:null,description:"ID of the element where the SkipLink jumps to.",name:"skipTo",required:!0,type:{name:"string"}},theme:{defaultValue:null,description:"Custom styling for SkipLink.",name:"theme",required:!1,type:{name:"SkipLinkTheme"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/internal/skipLink/SkipLink.tsx#SkipLink"]={docgenInfo:SkipLink.__docgenInfo,name:"SkipLink",path:"src/internal/skipLink/SkipLink.tsx#SkipLink"})}catch(__react_docgen_typescript_loader_error){}},"./src/utils/classNames.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{P:()=>styleBoundClassNames,Z:()=>__WEBPACK_DEFAULT_EXPORT__});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),hasOwn={}.hasOwnProperty;function parseClassName(arg){var argType=typeof arg;return arg?"string"===argType||"number"===argType?arg:Array.isArray(arg)?arg.length?arg.map((function(entry){return parseClassName(entry)})).filter(Boolean).join(" "):null:"object"===argType?function parseObject(obj){var styles=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(obj.toString!==Object.prototype.toString&&!obj.toString.toString().includes("[native code]"))return obj.toString();var iterable=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__.Z)({},obj);return styles&&Object.keys(styles).filter((function(key){return!!obj[key]})).forEach((function(key){iterable[styles[key]]=!0})),Object.keys(iterable).filter((function(key){return hasOwn.call(iterable,key)&&!!iterable[key]})).join(" ")}(arg,this):null:null}const __WEBPACK_DEFAULT_EXPORT__=function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return args.map(parseClassName).filter(Boolean).join(" ")};var styleBoundClassNames=function styleBoundClassNames(styles){var boundClassNames=parseClassName.bind(styles);return function(){for(var _len2=arguments.length,args=new Array(_len2),_key2=0;_key2<_len2;_key2++)args[_key2]=arguments[_key2];return args.map(boundClassNames).filter(Boolean).join(" ")}}},"./src/utils/composeAriaDescribedBy.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__=function(id,helperText,errorText,successText,infoText){return[helperText&&"".concat(id,"-helper"),errorText&&"".concat(id,"-error"),successText&&"".concat(id,"-success"),infoText&&"".concat(id,"-info")].filter((function(item){return item})).join(" ")}},"./src/utils/getChildren.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{AU:()=>getChildrenAsArray,N1:()=>getComponentFromChildren,fL:()=>getChildElementsEvenIfContainersInbetween});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/react/index.js"),lodash_flatten__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/lodash.flatten/index.js"),lodash_flatten__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(lodash_flatten__WEBPACK_IMPORTED_MODULE_1__),getChildrenAsArray=function getChildrenAsArray(children){return void 0===children?[]:Array.isArray(children)?children:[children]},getComponentFromChildren=function getComponentFromChildren(children,componentName){var childrenAsArray=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_2__.Z)(getChildrenAsArray(children)),componentIndex=childrenAsArray.findIndex((function(child){var _child$type;return(0,react__WEBPACK_IMPORTED_MODULE_0__.isValidElement)(child)&&(null===(_child$type=child.type)||void 0===_child$type?void 0:_child$type.componentName)===componentName}));return[componentIndex>=0?childrenAsArray.splice(componentIndex,1):[],childrenAsArray]},getChildElementsEvenIfContainersInbetween=function getChildElementsEvenIfContainersInbetween(children){var arrayChildren=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_2__.Z)(getChildrenAsArray(children));return 1===arrayChildren.length&&react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(arrayChildren[0])&&Boolean(arrayChildren[0].props.children)&&(react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(arrayChildren[0].props.children)||Array.isArray(arrayChildren[0].props.children))&&react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(arrayChildren[0])?lodash_flatten__WEBPACK_IMPORTED_MODULE_1___default()(arrayChildren[0].props.children):lodash_flatten__WEBPACK_IMPORTED_MODULE_1___default()(arrayChildren)}},"./src/utils/getIsElementBlurred.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__=function(e){return!e.currentTarget.contains(e.relatedTarget)}},"./src/utils/getIsElementFocused.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__=function(e){return e.currentTarget.contains(e.target)&&(!e.relatedTarget||!e.currentTarget.contains(e.relatedTarget))}},"./src/utils/mergeRefWithInternalRef.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var lodash_isfunction__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/lodash.isfunction/index.js"),lodash_isfunction__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(lodash_isfunction__WEBPACK_IMPORTED_MODULE_0__);const __WEBPACK_DEFAULT_EXPORT__=function(ref,internalRef){lodash_isfunction__WEBPACK_IMPORTED_MODULE_0___default()(ref)?ref(internalRef.current):ref.current=internalRef.current}},"./src/utils/useCallback.ts":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{K4:()=>withDefaultPrevented,Zi:()=>useCallbackIfDefined,dq:()=>useEnterOrSpacePressCallback});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/react/index.js"),useCallbackIfDefined=function useCallbackIfDefined(callback){return(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((function handler(event){callback&&callback(event)}),[callback])},useEnterOrSpacePressCallback=function useEnterOrSpacePressCallback(callback){return useCallbackIfDefined((function handler(event){"Enter"!==event.key&&" "!==event.key||callback(event)}))},withDefaultPrevented=function withDefaultPrevented(callback){return function patchedCallback(event){return event.preventDefault(),callback.call(callback,event)}}},"./src/styles/base.css":()=>{},"./src/components/notification/Notification.module.css":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={notification:"Notification_notification__Zuc-r notification_hds-notification__ZgXga",noBorder:"Notification_noBorder__6v-BE",close:"Notification_close__Uj-0o notification_hds-notification__close-button__2XyVn",autoClose:"Notification_autoClose__SIU7s",content:"Notification_content__swbQ0 notification_hds-notification__content__yCEr0",icon:"Notification_icon__sKc0H notification_hds-icon__PyzTl",label:"Notification_label__zis0p notification_hds-notification__label__zgT9l",body:"Notification_body__qZKZ8 notification_hds-notification__body__n-eFK",small:"Notification_small__6cboU notification_hds-notification--small__m-k4q",large:"Notification_large__2EHsG notification_hds-notification--large__Hwu44","top-left":"Notification_top-left__RZ0CA notification_hds-notification--top-left__zFjhP","top-center":"Notification_top-center__kynAQ notification_hds-notification--top-center__6gsXD","top-right":"Notification_top-right__Si+U6 notification_hds-notification--top-right__E0Em3","bottom-left":"Notification_bottom-left__W9Ipq notification_hds-notification--bottom-left__DpGP1","bottom-center":"Notification_bottom-center__ciCaI notification_hds-notification--bottom-center__rCKF6","bottom-right":"Notification_bottom-right__FYZQg notification_hds-notification--bottom-right__3qbGw",success:"Notification_success__MLFyR notification_hds-notification--success__cZu-O",alert:"Notification_alert__DYJ2b notification_hds-notification--alert__CV54F",error:"Notification_error__q92R2 notification_hds-notification--error__whd0e",boxShadow:"Notification_boxShadow__4YrXF notification_hds-notification--box-shadow__JSXLe"}},"./src/components/textInput/TextInput.module.css":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={root:"TextInput_root__fZJvR text-input_hds-text-input__bGIHw",inputWrapper:"TextInput_inputWrapper__RgiU6 text-input_hds-text-input__input-wrapper__x8lA3",input:"TextInput_input__E0L-6 text-input_hds-text-input__input__SiRCc",hasButton:"TextInput_hasButton__MIrdA",errorText:"TextInput_errorText__GDa4q text-input_hds-text-input__error-text__fwthK",helperText:"TextInput_helperText__A4sXt text-input_hds-text-input__helper-text__ZLXwx",invalidText:"TextInput_invalidText__pDlzc text-input_hds-text-input__helper-text__ZLXwx",successText:"TextInput_successText__tuxnc text-input_hds-text-input__success-text__t+kuJ",infoText:"TextInput_infoText__6VBx- text-input_hds-text-input__info-text__d7RM3",invalid:"TextInput_invalid__1b8AB text-input_hds-text-input--invalid__kHljF",success:"TextInput_success__8nbvd text-input_hds-text-input--success__Q-osf",readOnly:"TextInput_readOnly__05s7L undefined",buttonWrapper:"TextInput_buttonWrapper__QPGPG text-input_hds-text-input__buttons__k5xRn",button:"TextInput_button__GOseP text-input_hds-text-input__button__PsgWB"}},"./src/icons/Icon.module.css":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={icon:"Icon_icon__yDoQg icon_hds-icon__V1cmv",xs:"Icon_xs__zXJ-b icon_hds-icon--size-xs__9qPAT",s:"Icon_s__SP2Gv icon_hds-icon--size-s__QYhRm",m:"Icon_m__cBK0U icon_hds-icon--size-m__dwumc",l:"Icon_l__Il0P+ icon_hds-icon--size-l__OnmJG",xl:"Icon_xl__q4ExW icon_hds-icon--size-xl__fGLjY"}},"./src/examples/forms/validation.scss":()=>{},"./src/icons sync recursive Icon.*.tsx$":(module,__unused_webpack_exports,__webpack_require__)=>{var map={"./IconAlertCircle.tsx":"./src/icons/IconAlertCircle.tsx","./IconAlertCircleFill.tsx":"./src/icons/IconAlertCircleFill.tsx","./IconAngleDown.tsx":"./src/icons/IconAngleDown.tsx","./IconAngleLeft.tsx":"./src/icons/IconAngleLeft.tsx","./IconAngleRight.tsx":"./src/icons/IconAngleRight.tsx","./IconAngleUp.tsx":"./src/icons/IconAngleUp.tsx","./IconArrowBottomLeft.tsx":"./src/icons/IconArrowBottomLeft.tsx","./IconArrowBottomRight.tsx":"./src/icons/IconArrowBottomRight.tsx","./IconArrowDown.tsx":"./src/icons/IconArrowDown.tsx","./IconArrowLeft.tsx":"./src/icons/IconArrowLeft.tsx","./IconArrowRedo.tsx":"./src/icons/IconArrowRedo.tsx","./IconArrowRight.tsx":"./src/icons/IconArrowRight.tsx","./IconArrowRightDashed.tsx":"./src/icons/IconArrowRightDashed.tsx","./IconArrowTopLeft.tsx":"./src/icons/IconArrowTopLeft.tsx","./IconArrowTopRight.tsx":"./src/icons/IconArrowTopRight.tsx","./IconArrowUndo.tsx":"./src/icons/IconArrowUndo.tsx","./IconArrowUp.tsx":"./src/icons/IconArrowUp.tsx","./IconAtSign.tsx":"./src/icons/IconAtSign.tsx","./IconBagCogwheel.tsx":"./src/icons/IconBagCogwheel.tsx","./IconBell.tsx":"./src/icons/IconBell.tsx","./IconBellCrossed.tsx":"./src/icons/IconBellCrossed.tsx","./IconBinoculars.tsx":"./src/icons/IconBinoculars.tsx","./IconCake.tsx":"./src/icons/IconCake.tsx","./IconCalendar.tsx":"./src/icons/IconCalendar.tsx","./IconCalendarClock.tsx":"./src/icons/IconCalendarClock.tsx","./IconCalendarCross.tsx":"./src/icons/IconCalendarCross.tsx","./IconCalendarEvent.tsx":"./src/icons/IconCalendarEvent.tsx","./IconCalendarPlus.tsx":"./src/icons/IconCalendarPlus.tsx","./IconCalendarRecurring.tsx":"./src/icons/IconCalendarRecurring.tsx","./IconCamera.tsx":"./src/icons/IconCamera.tsx","./IconCheck.tsx":"./src/icons/IconCheck.tsx","./IconCheckCircle.tsx":"./src/icons/IconCheckCircle.tsx","./IconCheckCircleFill.tsx":"./src/icons/IconCheckCircleFill.tsx","./IconChildren.tsx":"./src/icons/IconChildren.tsx","./IconClock.tsx":"./src/icons/IconClock.tsx","./IconClockCross.tsx":"./src/icons/IconClockCross.tsx","./IconClockPlus.tsx":"./src/icons/IconClockPlus.tsx","./IconCoffeeCupSaucer.tsx":"./src/icons/IconCoffeeCupSaucer.tsx","./IconCogwheel.tsx":"./src/icons/IconCogwheel.tsx","./IconCogwheels.tsx":"./src/icons/IconCogwheels.tsx","./IconCollapse.tsx":"./src/icons/IconCollapse.tsx","./IconCompany.tsx":"./src/icons/IconCompany.tsx","./IconCopy.tsx":"./src/icons/IconCopy.tsx","./IconCross.tsx":"./src/icons/IconCross.tsx","./IconCrossCircle.tsx":"./src/icons/IconCrossCircle.tsx","./IconCrossCircleFill.tsx":"./src/icons/IconCrossCircleFill.tsx","./IconCustomerBotNegative.tsx":"./src/icons/IconCustomerBotNegative.tsx","./IconCustomerBotNeutral.tsx":"./src/icons/IconCustomerBotNeutral.tsx","./IconCustomerBotPositive.tsx":"./src/icons/IconCustomerBotPositive.tsx","./IconDiscord.tsx":"./src/icons/IconDiscord.tsx","./IconDisplay.tsx":"./src/icons/IconDisplay.tsx","./IconDocument.tsx":"./src/icons/IconDocument.tsx","./IconDownload.tsx":"./src/icons/IconDownload.tsx","./IconDownloadCloud.tsx":"./src/icons/IconDownloadCloud.tsx","./IconDrag.tsx":"./src/icons/IconDrag.tsx","./IconEntrepreneur.tsx":"./src/icons/IconEntrepreneur.tsx","./IconEnvelope.tsx":"./src/icons/IconEnvelope.tsx","./IconError.tsx":"./src/icons/IconError.tsx","./IconErrorFill.tsx":"./src/icons/IconErrorFill.tsx","./IconEuroSign.tsx":"./src/icons/IconEuroSign.tsx","./IconEye.tsx":"./src/icons/IconEye.tsx","./IconEyeCrossed.tsx":"./src/icons/IconEyeCrossed.tsx","./IconFaceNeutral.tsx":"./src/icons/IconFaceNeutral.tsx","./IconFaceSad.tsx":"./src/icons/IconFaceSad.tsx","./IconFaceSmile.tsx":"./src/icons/IconFaceSmile.tsx","./IconFacebook.tsx":"./src/icons/IconFacebook.tsx","./IconFamily.tsx":"./src/icons/IconFamily.tsx","./IconGlobe.tsx":"./src/icons/IconGlobe.tsx","./IconGoogle.tsx":"./src/icons/IconGoogle.tsx","./IconGraphColumns.tsx":"./src/icons/IconGraphColumns.tsx","./IconGroup.tsx":"./src/icons/IconGroup.tsx","./IconHammers.tsx":"./src/icons/IconHammers.tsx","./IconHeadphones.tsx":"./src/icons/IconHeadphones.tsx","./IconHeart.tsx":"./src/icons/IconHeart.tsx","./IconHeartFill.tsx":"./src/icons/IconHeartFill.tsx","./IconHistory.tsx":"./src/icons/IconHistory.tsx","./IconHome.tsx":"./src/icons/IconHome.tsx","./IconHomeSmoke.tsx":"./src/icons/IconHomeSmoke.tsx","./IconInfoCircle.tsx":"./src/icons/IconInfoCircle.tsx","./IconInfoCircleFill.tsx":"./src/icons/IconInfoCircleFill.tsx","./IconInstagram.tsx":"./src/icons/IconInstagram.tsx","./IconKey.tsx":"./src/icons/IconKey.tsx","./IconLayers.tsx":"./src/icons/IconLayers.tsx","./IconLightbulb.tsx":"./src/icons/IconLightbulb.tsx","./IconLink.tsx":"./src/icons/IconLink.tsx","./IconLinkExternal.tsx":"./src/icons/IconLinkExternal.tsx","./IconLinkedin.tsx":"./src/icons/IconLinkedin.tsx","./IconLocate.tsx":"./src/icons/IconLocate.tsx","./IconLocation.tsx":"./src/icons/IconLocation.tsx","./IconLock.tsx":"./src/icons/IconLock.tsx","./IconLockOpen.tsx":"./src/icons/IconLockOpen.tsx","./IconMap.tsx":"./src/icons/IconMap.tsx","./IconMenuDots.tsx":"./src/icons/IconMenuDots.tsx","./IconMenuHamburger.tsx":"./src/icons/IconMenuHamburger.tsx","./IconMicrophone.tsx":"./src/icons/IconMicrophone.tsx","./IconMicrophoneCrossed.tsx":"./src/icons/IconMicrophoneCrossed.tsx","./IconMinus.tsx":"./src/icons/IconMinus.tsx","./IconMinusCircle.tsx":"./src/icons/IconMinusCircle.tsx","./IconMinusCircleFill.tsx":"./src/icons/IconMinusCircleFill.tsx","./IconMobile.tsx":"./src/icons/IconMobile.tsx","./IconMoneyBag.tsx":"./src/icons/IconMoneyBag.tsx","./IconMoneyBagFill.tsx":"./src/icons/IconMoneyBagFill.tsx","./IconMover.tsx":"./src/icons/IconMover.tsx","./IconOccupation.tsx":"./src/icons/IconOccupation.tsx","./IconPaperclip.tsx":"./src/icons/IconPaperclip.tsx","./IconPen.tsx":"./src/icons/IconPen.tsx","./IconPenLine.tsx":"./src/icons/IconPenLine.tsx","./IconPersonFemale.tsx":"./src/icons/IconPersonFemale.tsx","./IconPersonGenderless.tsx":"./src/icons/IconPersonGenderless.tsx","./IconPersonMale.tsx":"./src/icons/IconPersonMale.tsx","./IconPersonWheelchair.tsx":"./src/icons/IconPersonWheelchair.tsx","./IconPhone.tsx":"./src/icons/IconPhone.tsx","./IconPhoto.tsx":"./src/icons/IconPhoto.tsx","./IconPhotoPlus.tsx":"./src/icons/IconPhotoPlus.tsx","./IconPlaybackFastforward.tsx":"./src/icons/IconPlaybackFastforward.tsx","./IconPlaybackNext.tsx":"./src/icons/IconPlaybackNext.tsx","./IconPlaybackPause.tsx":"./src/icons/IconPlaybackPause.tsx","./IconPlaybackPlay.tsx":"./src/icons/IconPlaybackPlay.tsx","./IconPlaybackPrevious.tsx":"./src/icons/IconPlaybackPrevious.tsx","./IconPlaybackRecord.tsx":"./src/icons/IconPlaybackRecord.tsx","./IconPlaybackRewind.tsx":"./src/icons/IconPlaybackRewind.tsx","./IconPlaybackStop.tsx":"./src/icons/IconPlaybackStop.tsx","./IconPlus.tsx":"./src/icons/IconPlus.tsx","./IconPlusCircle.tsx":"./src/icons/IconPlusCircle.tsx","./IconPlusCircleFill.tsx":"./src/icons/IconPlusCircleFill.tsx","./IconPodcast.tsx":"./src/icons/IconPodcast.tsx","./IconPrinter.tsx":"./src/icons/IconPrinter.tsx","./IconQuestionCircle.tsx":"./src/icons/IconQuestionCircle.tsx","./IconQuestionCircleFill.tsx":"./src/icons/IconQuestionCircleFill.tsx","./IconRefresh.tsx":"./src/icons/IconRefresh.tsx","./IconRestaurant.tsx":"./src/icons/IconRestaurant.tsx","./IconRss.tsx":"./src/icons/IconRss.tsx","./IconSaveDiskette.tsx":"./src/icons/IconSaveDiskette.tsx","./IconSaveDisketteFill.tsx":"./src/icons/IconSaveDisketteFill.tsx","./IconScroll.tsx":"./src/icons/IconScroll.tsx","./IconScrollCogwheel.tsx":"./src/icons/IconScrollCogwheel.tsx","./IconScrollContent.tsx":"./src/icons/IconScrollContent.tsx","./IconScrollGroup.tsx":"./src/icons/IconScrollGroup.tsx","./IconSearch.tsx":"./src/icons/IconSearch.tsx","./IconSenior.tsx":"./src/icons/IconSenior.tsx","./IconShare.tsx":"./src/icons/IconShare.tsx","./IconShield.tsx":"./src/icons/IconShield.tsx","./IconShoppingCart.tsx":"./src/icons/IconShoppingCart.tsx","./IconSignin.tsx":"./src/icons/IconSignin.tsx","./IconSignout.tsx":"./src/icons/IconSignout.tsx","./IconSitemap.tsx":"./src/icons/IconSitemap.tsx","./IconSliders.tsx":"./src/icons/IconSliders.tsx","./IconSnapchat.tsx":"./src/icons/IconSnapchat.tsx","./IconSort.tsx":"./src/icons/IconSort.tsx","./IconSortAlphabeticalAscending.tsx":"./src/icons/IconSortAlphabeticalAscending.tsx","./IconSortAlphabeticalDescending.tsx":"./src/icons/IconSortAlphabeticalDescending.tsx","./IconSortAscending.tsx":"./src/icons/IconSortAscending.tsx","./IconSortDescending.tsx":"./src/icons/IconSortDescending.tsx","./IconSpeechbubble.tsx":"./src/icons/IconSpeechbubble.tsx","./IconSpeechbubbleText.tsx":"./src/icons/IconSpeechbubbleText.tsx","./IconStar.tsx":"./src/icons/IconStar.tsx","./IconStarFill.tsx":"./src/icons/IconStarFill.tsx","./IconSwapUser.tsx":"./src/icons/IconSwapUser.tsx","./IconTextBold.tsx":"./src/icons/IconTextBold.tsx","./IconTextItalic.tsx":"./src/icons/IconTextItalic.tsx","./IconTextTool.tsx":"./src/icons/IconTextTool.tsx","./IconThumbsDown.tsx":"./src/icons/IconThumbsDown.tsx","./IconThumbsDownFill.tsx":"./src/icons/IconThumbsDownFill.tsx","./IconThumbsUp.tsx":"./src/icons/IconThumbsUp.tsx","./IconThumbsUpFill.tsx":"./src/icons/IconThumbsUpFill.tsx","./IconTicket.tsx":"./src/icons/IconTicket.tsx","./IconTiktok.tsx":"./src/icons/IconTiktok.tsx","./IconTrash.tsx":"./src/icons/IconTrash.tsx","./IconTraveler.tsx":"./src/icons/IconTraveler.tsx","./IconTwitch.tsx":"./src/icons/IconTwitch.tsx","./IconTwitter.tsx":"./src/icons/IconTwitter.tsx","./IconUpload.tsx":"./src/icons/IconUpload.tsx","./IconUploadCloud.tsx":"./src/icons/IconUploadCloud.tsx","./IconUser.tsx":"./src/icons/IconUser.tsx","./IconVaccine.tsx":"./src/icons/IconVaccine.tsx","./IconVideocamera.tsx":"./src/icons/IconVideocamera.tsx","./IconVideocameraCrossed.tsx":"./src/icons/IconVideocameraCrossed.tsx","./IconVimeo.tsx":"./src/icons/IconVimeo.tsx","./IconVirus.tsx":"./src/icons/IconVirus.tsx","./IconVolumeHigh.tsx":"./src/icons/IconVolumeHigh.tsx","./IconVolumeLow.tsx":"./src/icons/IconVolumeLow.tsx","./IconVolumeMinus.tsx":"./src/icons/IconVolumeMinus.tsx","./IconVolumeMute.tsx":"./src/icons/IconVolumeMute.tsx","./IconVolumePlus.tsx":"./src/icons/IconVolumePlus.tsx","./IconWhatsapp.tsx":"./src/icons/IconWhatsapp.tsx","./IconWifi.tsx":"./src/icons/IconWifi.tsx","./IconWifiCrossed.tsx":"./src/icons/IconWifiCrossed.tsx","./IconYle.tsx":"./src/icons/IconYle.tsx","./IconYouth.tsx":"./src/icons/IconYouth.tsx","./IconYoutube.tsx":"./src/icons/IconYoutube.tsx","./IconZoomIn.tsx":"./src/icons/IconZoomIn.tsx","./IconZoomOut.tsx":"./src/icons/IconZoomOut.tsx","./IconZoomText.tsx":"./src/icons/IconZoomText.tsx"};function webpackContext(req){var id=webpackContextResolve(req);return __webpack_require__(id)}function webpackContextResolve(req){if(!__webpack_require__.o(map,req)){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}return map[req]}webpackContext.keys=function webpackContextKeys(){return Object.keys(map)},webpackContext.resolve=webpackContextResolve,module.exports=webpackContext,webpackContext.id="./src/icons sync recursive Icon.*.tsx$"},"./src sync recursive ^\\.(?:(?:^%7C\\/%7C(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/)(?%21\\.)(?=.)[^/]*?\\.stories\\.tsx)$":(module,__unused_webpack_exports,__webpack_require__)=>{var map={"./components/accordion/Accordion.stories.tsx":"./src/components/accordion/Accordion.stories.tsx","./components/breadcrumb/Breadcrumb.stories.tsx":"./src/components/breadcrumb/Breadcrumb.stories.tsx","./components/button/Button.stories.tsx":"./src/components/button/Button.stories.tsx","./components/card/Card.stories.tsx":"./src/components/card/Card.stories.tsx","./components/checkbox/Checkbox.stories.tsx":"./src/components/checkbox/Checkbox.stories.tsx","./components/container/Container.stories.tsx":"./src/components/container/Container.stories.tsx","./components/cookieConsent/CookieConsent.stories.tsx":"./src/components/cookieConsent/CookieConsent.stories.tsx","./components/dateInput/DateInput.stories.tsx":"./src/components/dateInput/DateInput.stories.tsx","./components/dialog/Dialog.stories.tsx":"./src/components/dialog/Dialog.stories.tsx","./components/dropdown/combobox/Combobox.stories.tsx":"./src/components/dropdown/combobox/Combobox.stories.tsx","./components/dropdown/select/Select.stories.tsx":"./src/components/dropdown/select/Select.stories.tsx","./components/errorSummary/ErrorSummary.stories.tsx":"./src/components/errorSummary/ErrorSummary.stories.tsx","./components/fieldset/Fieldset.stories.tsx":"./src/components/fieldset/Fieldset.stories.tsx","./components/fileInput/FileInput.stories.tsx":"./src/components/fileInput/FileInput.stories.tsx","./components/footer/Footer.stories.tsx":"./src/components/footer/Footer.stories.tsx","./components/header/Header.stories.tsx":"./src/components/header/Header.stories.tsx","./components/hero/Hero.stories.tsx":"./src/components/hero/Hero.stories.tsx","./components/highlight/Highlight.stories.tsx":"./src/components/highlight/Highlight.stories.tsx","./components/imageWithCard/ImageWithCard.stories.tsx":"./src/components/imageWithCard/ImageWithCard.stories.tsx","./components/koros/Koros.stories.tsx":"./src/components/koros/Koros.stories.tsx","./components/link/Link.stories.tsx":"./src/components/link/Link.stories.tsx","./components/linkbox/LinkboxEmpty.stories.tsx":"./src/components/linkbox/LinkboxEmpty.stories.tsx","./components/linkbox/LinkboxWithHeadingAndTitle.stories.tsx":"./src/components/linkbox/LinkboxWithHeadingAndTitle.stories.tsx","./components/linkbox/LinkboxWithImage.stories.tsx":"./src/components/linkbox/LinkboxWithImage.stories.tsx","./components/loadingSpinner/LoadingSpinner.stories.tsx":"./src/components/loadingSpinner/LoadingSpinner.stories.tsx","./components/logo/Logo.stories.tsx":"./src/components/logo/Logo.stories.tsx","./components/notification/Notification.stories.tsx":"./src/components/notification/Notification.stories.tsx","./components/numberInput/NumberInput.stories.tsx":"./src/components/numberInput/NumberInput.stories.tsx","./components/pagination/Pagination.stories.tsx":"./src/components/pagination/Pagination.stories.tsx","./components/passwordInput/PasswordInput.stories.tsx":"./src/components/passwordInput/PasswordInput.stories.tsx","./components/phoneInput/PhoneInput.stories.tsx":"./src/components/phoneInput/PhoneInput.stories.tsx","./components/radioButton/RadioButton.stories.tsx":"./src/components/radioButton/RadioButton.stories.tsx","./components/searchInput/SearchInput.stories.tsx":"./src/components/searchInput/SearchInput.stories.tsx","./components/section/Section.stories.tsx":"./src/components/section/Section.stories.tsx","./components/selectionGroup/SelectionGroup.stories.tsx":"./src/components/selectionGroup/SelectionGroup.stories.tsx","./components/sideNavigation/SideNavigation.stories.tsx":"./src/components/sideNavigation/SideNavigation.stories.tsx","./components/statusLabel/StatusLabel.stories.tsx":"./src/components/statusLabel/StatusLabel.stories.tsx","./components/stepByStep/StepByStep.stories.tsx":"./src/components/stepByStep/StepByStep.stories.tsx","./components/stepper/Stepper.stories.tsx":"./src/components/stepper/Stepper.stories.tsx","./components/table/Table.stories.tsx":"./src/components/table/Table.stories.tsx","./components/tabs/Tabs.stories.tsx":"./src/components/tabs/Tabs.stories.tsx","./components/tag/Tag.stories.tsx":"./src/components/tag/Tag.stories.tsx","./components/textInput/TextInput.stories.tsx":"./src/components/textInput/TextInput.stories.tsx","./components/textarea/TextArea.stories.tsx":"./src/components/textarea/TextArea.stories.tsx","./components/timeInput/TimeInput.stories.tsx":"./src/components/timeInput/TimeInput.stories.tsx","./components/toggleButton/ToggleButton.stories.tsx":"./src/components/toggleButton/ToggleButton.stories.tsx","./components/tooltip/Tooltip.stories.tsx":"./src/components/tooltip/Tooltip.stories.tsx","./examples/forms/validation.stories.tsx":"./src/examples/forms/validation.stories.tsx","./examples/forms/validationDynamic.stories.tsx":"./src/examples/forms/validationDynamic.stories.tsx","./examples/forms/validationHybrid.stories.tsx":"./src/examples/forms/validationHybrid.stories.tsx","./examples/forms/validationStatic.stories.tsx":"./src/examples/forms/validationStatic.stories.tsx","./icons/icons.stories.tsx":"./src/icons/icons.stories.tsx"};function webpackContext(req){var id=webpackContextResolve(req);return __webpack_require__(id)}function webpackContextResolve(req){if(!__webpack_require__.o(map,req)){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}return map[req]}webpackContext.keys=function webpackContextKeys(){return Object.keys(map)},webpackContext.resolve=webpackContextResolve,module.exports=webpackContext,webpackContext.id="./src sync recursive ^\\.(?:(?:^%7C\\/%7C(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/)(?%21\\.)(?=.)[^/]*?\\.stories\\.tsx)$"},"./storybook-init-framework-entry.js":(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__("../../node_modules/@storybook/react/dist/esm/client/index.js")},"./src/assets/img/placeholder_1920x1080.jpg":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=__webpack_require__.p+"eb2614cfc5b332b75292.jpg"},"?c95a":()=>{},"./generated-stories-entry.cjs":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module=__webpack_require__.nmd(module),(0,__webpack_require__("../../node_modules/@storybook/react/dist/esm/client/index.js").configure)([__webpack_require__("./src sync recursive ^\\.(?:(?:^%7C\\/%7C(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/)(?%21\\.)(?=.)[^/]*?\\.stories\\.tsx)$")],module,!1)}},__webpack_require__=>{var __webpack_exec__=moduleId=>__webpack_require__(__webpack_require__.s=moduleId);__webpack_require__.O(0,[499],(()=>(__webpack_exec__("../../node_modules/@storybook/react/node_modules/@storybook/core-client/dist/esm/globals/polyfills.js"),__webpack_exec__("../../node_modules/@storybook/react/node_modules/@storybook/core-client/dist/esm/globals/globals.js"),__webpack_exec__("./storybook-init-framework-entry.js"),__webpack_exec__("./node_modules/@storybook/addon-docs/dist/esm/frameworks/common/config.js-generated-config-entry.js"),__webpack_exec__("./node_modules/@storybook/addon-docs/dist/esm/frameworks/react/config.js-generated-config-entry.js"),__webpack_exec__("../../node_modules/@storybook/react/dist/esm/client/preview/config-generated-config-entry.js"),__webpack_exec__("./node_modules/@storybook/addon-backgrounds/dist/esm/preset/addDecorator.js-generated-config-entry.js"),__webpack_exec__("./node_modules/@storybook/addon-backgrounds/dist/esm/preset/addParameter.js-generated-config-entry.js"),__webpack_exec__("./node_modules/@storybook/addon-a11y/dist/esm/a11yRunner.js-generated-config-entry.js"),__webpack_exec__("./node_modules/@storybook/addon-a11y/dist/esm/a11yHighlight.js-generated-config-entry.js"),__webpack_exec__("../../node_modules/@storybook/addon-actions/dist/esm/preset/addDecorator.js-generated-config-entry.js"),__webpack_exec__("../../node_modules/@storybook/addon-actions/dist/esm/preset/addArgs.js-generated-config-entry.js"),__webpack_exec__("./.storybook/preview.js-generated-config-entry.js"),__webpack_exec__("./generated-stories-entry.cjs"))));__webpack_require__.O()}]);
\ No newline at end of file
+(self.webpackChunkhds_react=self.webpackChunkhds_react||[]).push([[179],{"./src/components/accordion/Accordion.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{CardAccordion:()=>CardAccordion,CustomAccordion:()=>CustomAccordion,CustomTheme:()=>CustomTheme,Default:()=>Default,InitiallyOpen:()=>InitiallyOpen,Large:()=>Large,Medium:()=>Medium,Small:()=>Small,StackedAccordionCards:()=>StackedAccordionCards,WithoutCloseButton:()=>WithoutCloseButton,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),_icons__WEBPACK_IMPORTED_MODULE_5__=(__webpack_require__("../../node_modules/react/index.js"),__webpack_require__("./src/icons/IconAngleUp.tsx")),_icons__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./src/icons/IconAngleDown.tsx"),_button__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./src/components/button/Button.tsx"),_card__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./src/components/card/Card.tsx"),_dropdown_select__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("./src/components/dropdown/select/Select.tsx"),_Accordion__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/components/accordion/Accordion.tsx"),_useAccordion__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/components/accordion/useAccordion.ts"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js");const __WEBPACK_DEFAULT_EXPORT__={component:_Accordion__WEBPACK_IMPORTED_MODULE_2__.U,title:"Components/Accordion",decorators:[function(storyFn){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{maxWidth:"480px"},children:storyFn()})}],parameters:{storySource:{source:"import React from 'react';\n\nimport { IconAngleDown, IconAngleUp } from '../../icons';\nimport { Button } from '../button';\nimport { Card } from '../card';\nimport { Select } from '../dropdown/select';\nimport { Accordion } from './Accordion';\nimport { useAccordion } from './useAccordion';\n\nexport default {\n component: Accordion,\n title: 'Components/Accordion',\n decorators: [(storyFn) => {storyFn()}
],\n parameters: {\n controls: { hideNoControlsWarning: true },\n },\n args: {\n heading: 'How to publish data?',\n language: 'en',\n children: 'To publish your data, open your profile settings and click button \"Publish\".',\n style: { maxWidth: '360px' },\n },\n};\n\nexport const Default = (args) => ;\n\nexport const Small = (args) => ;\n\nexport const Medium = (args) => ;\n\nexport const Large = (args) => ;\n\nexport const WithoutCloseButton = (args) => ;\nWithoutCloseButton.storyName = 'Without close button';\n\nexport const StackedAccordionCards = (args) => (\n <>\n Stacked Accordions in Cards \n \n \n \n >\n);\n\nStackedAccordionCards.storyName = 'Stacked cards';\n\nexport const InitiallyOpen = (args) => ;\nInitiallyOpen.storyName = 'Initially open';\n\nexport const CardAccordion = (args) => (\n <>\n Card \n \n Small card with border \n \n Medium card with border \n \n Large card with border \n \n >\n);\nCardAccordion.storyName = 'Card';\nCardAccordion.args = {\n style: { marginBottom: 'var(--spacing-m)', maxWidth: '360px' },\n};\n\nexport const CustomTheme = (args) => (\n <>\n \n \n >\n);\nCustomTheme.storyName = 'Custom theme';\nCustomTheme.args = {\n style: { marginBottom: 'var(--spacing-m)', maxWidth: '480px' },\n};\n\nexport const CustomAccordion = () => {\n const { isOpen, buttonProps, contentProps } = useAccordion({ initiallyOpen: false });\n const icon = isOpen ? : ;\n return (\n <>\n \n Advanced filters\n \n \n \n \n \n >\n );\n};\nCustomAccordion.storyName = 'Custom accordion';\nCustomAccordion.args = {};\n",locationsMap:{default:{startLoc:{col:23,line:25},endLoc:{col:56,line:25},startBody:{col:23,line:25},endBody:{col:56,line:25}},small:{startLoc:{col:21,line:27},endLoc:{col:63,line:27},startBody:{col:21,line:27},endBody:{col:63,line:27}},medium:{startLoc:{col:22,line:29},endLoc:{col:64,line:29},startBody:{col:22,line:29},endBody:{col:64,line:29}},large:{startLoc:{col:21,line:31},endLoc:{col:63,line:31},startBody:{col:21,line:31},endBody:{col:63,line:31}},"without-close-button":{startLoc:{col:34,line:33},endLoc:{col:87,line:33},startBody:{col:34,line:33},endBody:{col:87,line:33}},"stacked-accordion-cards":{startLoc:{col:37,line:36},endLoc:{col:1,line:43},startBody:{col:37,line:36},endBody:{col:1,line:43}},"initially-open":{startLoc:{col:29,line:47},endLoc:{col:76,line:47},startBody:{col:29,line:47},endBody:{col:76,line:47}},"card-accordion":{startLoc:{col:29,line:50},endLoc:{col:1,line:61},startBody:{col:29,line:50},endBody:{col:1,line:61}},"custom-theme":{startLoc:{col:27,line:67},endLoc:{col:1,line:111},startBody:{col:27,line:67},endBody:{col:1,line:111}},"custom-accordion":{startLoc:{col:31,line:117},endLoc:{col:1,line:155},startBody:{col:31,line:117},endBody:{col:1,line:155}}}},controls:{hideNoControlsWarning:!0}},args:{heading:"How to publish data?",language:"en",children:'To publish your data, open your profile settings and click button "Publish".',style:{maxWidth:"360px"}}};var Default=function Default(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Accordion__WEBPACK_IMPORTED_MODULE_2__.U,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args))},Small=function Small(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Accordion__WEBPACK_IMPORTED_MODULE_2__.U,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{size:"s"}))},Medium=function Medium(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Accordion__WEBPACK_IMPORTED_MODULE_2__.U,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{size:"m"}))},Large=function Large(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Accordion__WEBPACK_IMPORTED_MODULE_2__.U,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{size:"l"}))},WithoutCloseButton=function WithoutCloseButton(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Accordion__WEBPACK_IMPORTED_MODULE_2__.U,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{closeButton:!1}))};WithoutCloseButton.storyName="Without close button";var StackedAccordionCards=function StackedAccordionCards(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("h1",{children:"Stacked Accordions in Cards"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Accordion__WEBPACK_IMPORTED_MODULE_2__.U,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{card:!0,border:!0,style:{maxWidth:"360px"}})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Accordion__WEBPACK_IMPORTED_MODULE_2__.U,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{card:!0,border:!0,style:{maxWidth:"360px",borderTop:0}})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Accordion__WEBPACK_IMPORTED_MODULE_2__.U,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{card:!0,border:!0,style:{maxWidth:"360px",borderTop:0}}))]})};StackedAccordionCards.storyName="Stacked cards";var InitiallyOpen=function InitiallyOpen(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Accordion__WEBPACK_IMPORTED_MODULE_2__.U,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{initiallyOpen:!0}))};InitiallyOpen.storyName="Initially open";var CardAccordion=function CardAccordion(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("h2",{children:"Card"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Accordion__WEBPACK_IMPORTED_MODULE_2__.U,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{card:!0})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("h2",{children:"Small card with border"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Accordion__WEBPACK_IMPORTED_MODULE_2__.U,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{card:!0,border:!0,size:"s"})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("h2",{children:"Medium card with border"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Accordion__WEBPACK_IMPORTED_MODULE_2__.U,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{card:!0,border:!0,size:"m"})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("h2",{children:"Large card with border"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Accordion__WEBPACK_IMPORTED_MODULE_2__.U,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{card:!0,border:!0,size:"l"}))]})};CardAccordion.storyName="Card",CardAccordion.args={style:{marginBottom:"var(--spacing-m)",maxWidth:"360px"}};var CustomTheme=function CustomTheme(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Accordion__WEBPACK_IMPORTED_MODULE_2__.U,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{card:!0,border:!0,theme:{"--background-color":"var(--color-white)","--border-color":"var(--color-brick)","--padding-horizontal":"var(--spacing-m)","--padding-vertical":"var(--spacing-m)","--header-font-color":"var(--color-black-90)","--header-font-size":"var(--fontsize-heading-l)","--header-font-weight":"400","--header-line-height":"var(--lineheight-s)","--header-letter-spacing":"-0.4px","--button-size":"28px","--button-border-color-hover":"var(--color-coat-of-arms)","--content-font-color":"var(--color-black-90)","--content-font-size":"var(--fontsize-body-m)","--content-line-height":"var(--lineheight-l)"}})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Accordion__WEBPACK_IMPORTED_MODULE_2__.U,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{card:!0,style:{maxWidth:"360px",marginTop:"var(--spacing-s)"},theme:{"--background-color":"var(--color-bus)","--padding-horizontal":"var(--spacing-m)","--padding-vertical":"20px","--header-font-color":"var(--color-white)","--header-font-size":"var(--fontsize-heading-s)","--header-font-weight":"500","--header-letter-spacing":"0.2px","--header-line-height":"1.4","--button-size":"28px","--button-border-color-hover":"var(--color-white)","--content-font-color":"var(--color-white)","--content-font-size":"var(--fontsize-body-m)","--content-line-height":"var(--lineheight-l)"}}))]})};CustomTheme.storyName="Custom theme",CustomTheme.args={style:{marginBottom:"var(--spacing-m)",maxWidth:"480px"}};var CustomAccordion=function CustomAccordion(){var _useAccordion=(0,_useAccordion__WEBPACK_IMPORTED_MODULE_4__.A)({initiallyOpen:!1}),isOpen=_useAccordion.isOpen,buttonProps=_useAccordion.buttonProps,contentProps=_useAccordion.contentProps,icon=isOpen?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_5__.IconAngleUp,{"aria-hidden":!0}):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_6__.IconAngleDown,{"aria-hidden":!0});return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_button__WEBPACK_IMPORTED_MODULE_7__.z,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({iconLeft:icon},buttonProps),{},{children:"Advanced filters"})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_card__WEBPACK_IMPORTED_MODULE_8__.Z,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({border:!0,"aria-label":"Advanced filters",style:{marginTop:"var(--spacing-m)"}},contentProps),{},{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_dropdown_select__WEBPACK_IMPORTED_MODULE_9__.Ph,{multiselect:!0,label:"Filter by event category",placeholder:"No selected categories",options:[{label:"Culture & arts"},{label:"Sports"},{label:"Museums"},{label:"Music"}],clearButtonAriaLabel:"Clear all selections",selectedItemRemoveButtonAriaLabel:"Remove"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_dropdown_select__WEBPACK_IMPORTED_MODULE_9__.Ph,{multiselect:!0,label:"Filter by event location",placeholder:"No selected locations",options:[{label:"Haaga"},{label:"Herttoniemi"},{label:"Kallio"},{label:"Kamppi"},{label:"Laajasalo"},{label:"Lauttasaari"},{label:"Mellunkylä"},{label:"Pasila"}],clearButtonAriaLabel:"Clear all selections",selectedItemRemoveButtonAriaLabel:"Remove",style:{marginTop:"var(--spacing-s)"}})]}))]})};CustomAccordion.storyName="Custom accordion",CustomAccordion.args={},Default.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => "}},Default.parameters),Small.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:'(args) => '}},Small.parameters),Medium.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:'(args) => '}},Medium.parameters),Large.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:'(args) => '}},Large.parameters),WithoutCloseButton.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => "}},WithoutCloseButton.parameters),StackedAccordionCards.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => (\n <>\n Stacked Accordions in Cards \n \n \n \n >\n)"}},StackedAccordionCards.parameters),InitiallyOpen.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => "}},InitiallyOpen.parameters),CardAccordion.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:'(args) => (\n <>\n Card \n \n Small card with border \n \n Medium card with border \n \n Large card with border \n \n >\n)'}},CardAccordion.parameters),CustomTheme.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => (\n <>\n \n \n >\n)"}},CustomTheme.parameters),CustomAccordion.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"() => {\n const { isOpen, buttonProps, contentProps } = useAccordion({ initiallyOpen: false });\n const icon = isOpen ? : ;\n return (\n <>\n \n Advanced filters\n \n \n \n \n \n >\n );\n}"}},CustomAccordion.parameters);try{Default.displayName="Default",Default.__docgenInfo={description:"",displayName:"Default",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/accordion/Accordion.stories.tsx#Default"]={docgenInfo:Default.__docgenInfo,name:"Default",path:"src/components/accordion/Accordion.stories.tsx#Default"})}catch(__react_docgen_typescript_loader_error){}try{Small.displayName="Small",Small.__docgenInfo={description:"",displayName:"Small",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/accordion/Accordion.stories.tsx#Small"]={docgenInfo:Small.__docgenInfo,name:"Small",path:"src/components/accordion/Accordion.stories.tsx#Small"})}catch(__react_docgen_typescript_loader_error){}try{Medium.displayName="Medium",Medium.__docgenInfo={description:"",displayName:"Medium",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/accordion/Accordion.stories.tsx#Medium"]={docgenInfo:Medium.__docgenInfo,name:"Medium",path:"src/components/accordion/Accordion.stories.tsx#Medium"})}catch(__react_docgen_typescript_loader_error){}try{Large.displayName="Large",Large.__docgenInfo={description:"",displayName:"Large",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/accordion/Accordion.stories.tsx#Large"]={docgenInfo:Large.__docgenInfo,name:"Large",path:"src/components/accordion/Accordion.stories.tsx#Large"})}catch(__react_docgen_typescript_loader_error){}try{WithoutCloseButton.displayName="WithoutCloseButton",WithoutCloseButton.__docgenInfo={description:"",displayName:"WithoutCloseButton",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/accordion/Accordion.stories.tsx#WithoutCloseButton"]={docgenInfo:WithoutCloseButton.__docgenInfo,name:"WithoutCloseButton",path:"src/components/accordion/Accordion.stories.tsx#WithoutCloseButton"})}catch(__react_docgen_typescript_loader_error){}try{StackedAccordionCards.displayName="StackedAccordionCards",StackedAccordionCards.__docgenInfo={description:"",displayName:"StackedAccordionCards",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/accordion/Accordion.stories.tsx#StackedAccordionCards"]={docgenInfo:StackedAccordionCards.__docgenInfo,name:"StackedAccordionCards",path:"src/components/accordion/Accordion.stories.tsx#StackedAccordionCards"})}catch(__react_docgen_typescript_loader_error){}try{InitiallyOpen.displayName="InitiallyOpen",InitiallyOpen.__docgenInfo={description:"",displayName:"InitiallyOpen",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/accordion/Accordion.stories.tsx#InitiallyOpen"]={docgenInfo:InitiallyOpen.__docgenInfo,name:"InitiallyOpen",path:"src/components/accordion/Accordion.stories.tsx#InitiallyOpen"})}catch(__react_docgen_typescript_loader_error){}try{CardAccordion.displayName="CardAccordion",CardAccordion.__docgenInfo={description:"",displayName:"CardAccordion",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/accordion/Accordion.stories.tsx#CardAccordion"]={docgenInfo:CardAccordion.__docgenInfo,name:"CardAccordion",path:"src/components/accordion/Accordion.stories.tsx#CardAccordion"})}catch(__react_docgen_typescript_loader_error){}try{CustomTheme.displayName="CustomTheme",CustomTheme.__docgenInfo={description:"",displayName:"CustomTheme",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/accordion/Accordion.stories.tsx#CustomTheme"]={docgenInfo:CustomTheme.__docgenInfo,name:"CustomTheme",path:"src/components/accordion/Accordion.stories.tsx#CustomTheme"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/breadcrumb/Breadcrumb.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Example:()=>Example,ExampleInHeader:()=>ExampleInHeader,LastItemIsLink:()=>LastItemIsLink,WithCustomTheme:()=>WithCustomTheme,default:()=>Breadcrumb_stories});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),react=__webpack_require__("../../node_modules/react/index.js"),Header=__webpack_require__("./src/components/header/Header.tsx");__webpack_require__("./src/styles/base.css");const Breadcrumb_module_breadcrumb="Breadcrumb_breadcrumb__NEAtt breadcrumb_hds-breadcrumb__BNF6h",Breadcrumb_module_list="Breadcrumb_list__pqona breadcrumb_hds-breadcrumb__list__nNYQO",Breadcrumb_module_mobileList="Breadcrumb_mobileList__SHEas breadcrumb_hds-breadcrumb__list--mobile__2nBYy",Breadcrumb_module_desktopList="Breadcrumb_desktopList__cTrSq breadcrumb_hds-breadcrumb__list--desktop__qOClY",Breadcrumb_module_listItem="Breadcrumb_listItem__PEj7D breadcrumb_hds-breadcrumb__list-item__sW6ea",Breadcrumb_module_activeListItem="Breadcrumb_activeListItem__KFhJD breadcrumb_hds-breadcrumb__list-item--active__1MDtT",Breadcrumb_module_link="Breadcrumb_link__xYu7s breadcrumb_hds-breadcrumb__link__fQvLu",Breadcrumb_module_backArrow="Breadcrumb_backArrow__YGO5y breadcrumb_hds-breadcrumb__back-arrow__O69Ux",Breadcrumb_module_separator="Breadcrumb_separator__CX0dM breadcrumb_hds-breadcrumb__separator__7os0V";var Link=__webpack_require__("./src/components/link/Link.tsx"),IconAngleRight=__webpack_require__("./src/icons/IconAngleRight.tsx"),IconAngleLeft=__webpack_require__("./src/icons/IconAngleLeft.tsx"),classNames=__webpack_require__("./src/utils/classNames.ts"),useTheme=__webpack_require__("./src/hooks/useTheme.tsx"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),LinkItem=function LinkItem(_ref){var item=_ref.item;return(0,jsx_runtime.jsx)(Link.r,{href:item.path,className:Breadcrumb_module_link,children:item.title})},Separator=function Separator(_ref2){var _ref2$direction=_ref2.direction,isRightArrow="right"===(void 0===_ref2$direction?"right":_ref2$direction),IconComponent=isRightArrow?IconAngleRight.IconAngleRight:IconAngleLeft.IconAngleLeft,classList=isRightArrow?Breadcrumb_module_separator:Breadcrumb_module_backArrow,size=isRightArrow?"xs":"s";return(0,jsx_runtime.jsx)("span",{className:classList,"aria-hidden":!0,children:(0,jsx_runtime.jsx)(IconComponent,{size})})},BreadcrumbItem=function BreadcrumbItem(_ref3){var item=_ref3.item,showSeparator=_ref3.showSeparator,hasPath=null!==item.path;return(0,jsx_runtime.jsxs)("li",{className:Breadcrumb_module_listItem,children:[hasPath?(0,jsx_runtime.jsx)(LinkItem,{item}):(0,jsx_runtime.jsx)("span",{"aria-current":!0,className:Breadcrumb_module_activeListItem,children:item.title}),showSeparator&&(0,jsx_runtime.jsx)(Separator,{},"separator-".concat(item.title))]})},MobileView=function MobileView(_ref4){var item=_ref4.item;return(0,jsx_runtime.jsxs)("div",{className:(0,classNames.Z)(Breadcrumb_module_list,Breadcrumb_module_mobileList),children:[(0,jsx_runtime.jsx)(Separator,{direction:"left"}),(0,jsx_runtime.jsx)(LinkItem,{item})]})},DesktopListView=function DesktopListView(_ref5){var list=_ref5.list;return(0,jsx_runtime.jsx)("ol",{className:(0,classNames.Z)(Breadcrumb_module_list,Breadcrumb_module_desktopList),children:list.map((function(item,index){return(0,jsx_runtime.jsx)(react.Fragment,{children:(0,jsx_runtime.jsx)(BreadcrumbItem,{item,showSeparator:index element",name:"ariaLabel",required:!0,type:{name:"string"}},list:{defaultValue:null,description:"Array of items that should be shown in the breadcrumb.",name:"list",required:!0,type:{name:"BreadcrumbListItem[]"}},theme:{defaultValue:null,description:"Custom theme styles",name:"theme",required:!1,type:{name:"BreadcrumbCustomTheme"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/breadcrumb/Breadcrumb.tsx#Breadcrumb"]={docgenInfo:Breadcrumb.__docgenInfo,name:"Breadcrumb",path:"src/components/breadcrumb/Breadcrumb.tsx#Breadcrumb"})}catch(__react_docgen_typescript_loader_error){}var Logo=__webpack_require__("./src/components/logo/Logo.tsx");const Breadcrumb_stories={component:Breadcrumb,title:"Components/Breadcrumb",parameters:{storySource:{source:"import React from 'react';\n\nimport { Header } from '../header/Header';\nimport { Breadcrumb } from './Breadcrumb';\nimport { Link } from '../link';\nimport { LanguageOption } from '../header/LanguageContext';\nimport { Logo, logoFi } from '../logo';\n\nexport default {\n component: Breadcrumb,\n title: 'Components/Breadcrumb',\n parameters: {\n controls: { expanded: true },\n },\n args: {\n ariaLabel: 'Breadcrumb',\n list: [\n { title: 'Front page', path: '/' },\n { title: 'Health and social services', path: '/path' },\n { title: 'Senior services ', path: '/path/2ndLevelPath' },\n { title: 'Informal care', path: '/path/2ndLevelPath/3rdLevelPath' },\n { title: 'Care options', path: null },\n ],\n },\n};\n\nconst languages: LanguageOption[] = [\n { label: 'Suomi', value: 'fi' },\n { label: 'Svenska', value: 'sv' },\n { label: 'English', value: 'en' },\n];\n\nexport const Example = (args) => ;\n\nexport const ExampleInHeader = (args) => {\n return (\n \n \n }\n menuButtonAriaLabel=\"Menu\"\n >\n \n Tietoa muilla kielillä \n \n Selkosuomi\n \n \n Viittomakieli\n \n \n \n \n event.preventDefault()}\n active\n dropdownLinks={[\n ,\n ,\n ,\n ]}\n />,\n ,\n ,\n ]}\n />,\n ]}\n />\n \n \n \n \n );\n};\n\nExampleInHeader.storyName = 'Breadcrumb in header';\n\nexport const LastItemIsLink = (args) => (\n \n);\n\nLastItemIsLink.storyName = 'Last item a link';\n\nexport const WithCustomTheme = (args) => (\n \n);\n\nWithCustomTheme.storyName = 'With custom theme';\n",locationsMap:{example:{startLoc:{col:23,line:33},endLoc:{col:57,line:33},startBody:{col:23,line:33},endBody:{col:57,line:33}},"example-in-header":{startLoc:{col:31,line:35},endLoc:{col:1,line:98},startBody:{col:31,line:35},endBody:{col:1,line:98}},"last-item-is-link":{startLoc:{col:30,line:102},endLoc:{col:1,line:113},startBody:{col:30,line:102},endBody:{col:1,line:113}},"with-custom-theme":{startLoc:{col:31,line:117},endLoc:{col:1,line:127},startBody:{col:31,line:117},endBody:{col:1,line:127}}}},controls:{expanded:!0}},args:{ariaLabel:"Breadcrumb",list:[{title:"Front page",path:"/"},{title:"Health and social services",path:"/path"},{title:"Senior services ",path:"/path/2ndLevelPath"},{title:"Informal care",path:"/path/2ndLevelPath/3rdLevelPath"},{title:"Care options",path:null}]}};var languages=[{label:"Suomi",value:"fi"},{label:"Svenska",value:"sv"},{label:"English",value:"en"}],Example=function Example(args){return(0,jsx_runtime.jsx)(Breadcrumb,(0,objectSpread2.Z)({},args))},ExampleInHeader=function ExampleInHeader(args){return(0,jsx_runtime.jsxs)(Header.h,{languages,children:[(0,jsx_runtime.jsx)(Header.h.UniversalBar,{primaryLinkText:"Helsingin kaupunki",primaryLinkHref:"#"}),(0,jsx_runtime.jsx)(Header.h.ActionBar,{title:"Helsingin kaupunki",titleAriaLabel:"Helsingin kaupunki",titleHref:"https://hel.fi",logoAriaLabel:"Service logo",logoHref:"https://hel.fi",logo:(0,jsx_runtime.jsx)(Logo.TR,{src:Logo.Cv,alt:"Helsingin kaupunki"}),menuButtonAriaLabel:"Menu",children:(0,jsx_runtime.jsxs)(Header.h.LanguageSelector,{ariaLabel:"Kielen valinta",children:[(0,jsx_runtime.jsx)("h3",{children:"Tietoa muilla kielillä"}),(0,jsx_runtime.jsx)(Link.r,{external:!0,href:"www.example.com",children:"Selkosuomi"}),(0,jsx_runtime.jsx)(Link.r,{external:!0,href:"www.example.com",children:"Viittomakieli"})]})}),(0,jsx_runtime.jsxs)(Header.h.NavigationMenu,{children:[(0,jsx_runtime.jsx)(Header.h.Link,{href:"#",label:"Health and social services",onClick:function onClick(event){return event.preventDefault()},active:!0,dropdownLinks:[(0,jsx_runtime.jsx)(Header.h.Link,{href:"#",label:"Senior services",active:!0,dropdownLinks:[(0,jsx_runtime.jsx)(Header.h.Link,{href:"#",label:"Informal care",active:!0}),(0,jsx_runtime.jsx)(Header.h.Link,{href:"#",label:"Senior centres"}),(0,jsx_runtime.jsx)(Header.h.Link,{href:"#",label:"Home care"})]}),(0,jsx_runtime.jsx)(Header.h.Link,{href:"#",label:"Data and the rights of the client",dropdownLinks:[(0,jsx_runtime.jsx)(Header.h.Link,{href:"#",label:"Requesting client data"}),(0,jsx_runtime.jsx)(Header.h.Link,{href:"#",label:"Fees"})]})]}),(0,jsx_runtime.jsx)(Header.h.Link,{href:"#",label:"Child and family services"})]}),(0,jsx_runtime.jsx)(Breadcrumb,(0,objectSpread2.Z)((0,objectSpread2.Z)({},args),{},{theme:{"--horizontal-margin-small":"0","--horizontal-margin-medium":"var(--spacing-m)","--horizontal-margin-large":"var(--spacing-xs)","--horizontal-margin-x-large":"var(--spacing-xs)"}}))]})};ExampleInHeader.storyName="Breadcrumb in header";var LastItemIsLink=function LastItemIsLink(args){return(0,jsx_runtime.jsx)(Breadcrumb,(0,objectSpread2.Z)((0,objectSpread2.Z)({},args),{},{list:[{title:"Front page",path:"/"},{title:"Health and social services",path:"/path"},{title:"Senior services ",path:"/path/2ndLevelPath"},{title:"Informal care",path:"/path/2ndLevelPath/3rdLevelPath"},{title:"Care options",path:"/path/2ndLevelPath/3rdLevelPath/currentPage"}]}))};LastItemIsLink.storyName="Last item a link";var WithCustomTheme=function WithCustomTheme(args){return(0,jsx_runtime.jsx)(Breadcrumb,(0,objectSpread2.Z)((0,objectSpread2.Z)({},args),{},{theme:{"--horizontal-margin-small":"var(--spacing-layout-s)","--horizontal-margin-medium":"var(--spacing-layout-m)","--horizontal-margin-large":"var(--spacing-layout-l)","--horizontal-margin-x-large":"var(--spacing-layout-xl)"}}))};WithCustomTheme.storyName="With custom theme",Example.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => "}},Example.parameters),ExampleInHeader.parameters=(0,objectSpread2.Z)({storySource:{source:'(args) => {\n return (\n \n \n }\n menuButtonAriaLabel="Menu"\n >\n \n Tietoa muilla kielillä \n \n Selkosuomi\n \n \n Viittomakieli\n \n \n \n \n event.preventDefault()}\n active\n dropdownLinks={[\n ,\n ,\n ,\n ]}\n />,\n ,\n ,\n ]}\n />,\n ]}\n />\n \n \n \n \n );\n}'}},ExampleInHeader.parameters),LastItemIsLink.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => (\n \n)"}},LastItemIsLink.parameters),WithCustomTheme.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => (\n \n)"}},WithCustomTheme.parameters);try{Example.displayName="Example",Example.__docgenInfo={description:"",displayName:"Example",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/breadcrumb/Breadcrumb.stories.tsx#Example"]={docgenInfo:Example.__docgenInfo,name:"Example",path:"src/components/breadcrumb/Breadcrumb.stories.tsx#Example"})}catch(__react_docgen_typescript_loader_error){}try{ExampleInHeader.displayName="ExampleInHeader",ExampleInHeader.__docgenInfo={description:"",displayName:"ExampleInHeader",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/breadcrumb/Breadcrumb.stories.tsx#ExampleInHeader"]={docgenInfo:ExampleInHeader.__docgenInfo,name:"ExampleInHeader",path:"src/components/breadcrumb/Breadcrumb.stories.tsx#ExampleInHeader"})}catch(__react_docgen_typescript_loader_error){}try{LastItemIsLink.displayName="LastItemIsLink",LastItemIsLink.__docgenInfo={description:"",displayName:"LastItemIsLink",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/breadcrumb/Breadcrumb.stories.tsx#LastItemIsLink"]={docgenInfo:LastItemIsLink.__docgenInfo,name:"LastItemIsLink",path:"src/components/breadcrumb/Breadcrumb.stories.tsx#LastItemIsLink"})}catch(__react_docgen_typescript_loader_error){}try{WithCustomTheme.displayName="WithCustomTheme",WithCustomTheme.__docgenInfo={description:"",displayName:"WithCustomTheme",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/breadcrumb/Breadcrumb.stories.tsx#WithCustomTheme"]={docgenInfo:WithCustomTheme.__docgenInfo,name:"WithCustomTheme",path:"src/components/breadcrumb/Breadcrumb.stories.tsx#WithCustomTheme"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/button/Button.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{FullWidth:()=>FullWidth,Icons:()=>Icons,LinkButton:()=>LinkButton,Loading:()=>Loading,LoadingOnClick:()=>LoadingOnClick,Playground:()=>Playground,Primary:()=>Primary,Secondary:()=>Secondary,Small:()=>Small,Supplementary:()=>Supplementary,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/react/index.js"),_storybook_addon_actions__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/@storybook/addon-actions/dist/esm/index.js"),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@storybook/addon-docs/blocks.js"),_icons__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./src/icons/IconTrash.tsx"),_icons__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./src/icons/IconShare.tsx"),_icons__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./src/icons/IconAngleRight.tsx"),_icons__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("./src/icons/IconFaceSmile.tsx"),_Button__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/components/button/Button.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/react/jsx-runtime.js"),_excluded=["label","variant","theme","size","disabled","fullWidth","iconLeft","iconRight","isLoading","loadingText"],onClick=(0,_storybook_addon_actions__WEBPACK_IMPORTED_MODULE_1__.action)("button-click");const __WEBPACK_DEFAULT_EXPORT__={component:_Button__WEBPACK_IMPORTED_MODULE_4__.z,title:"Components/Button",parameters:{storySource:{source:"import React, { useEffect, useState } from 'react';\nimport { action } from '@storybook/addon-actions';\nimport { ArgsTable, Stories, Title } from '@storybook/addon-docs/blocks';\n\nimport { IconShare, IconAngleRight, IconFaceSmile, IconTrash } from '../../icons';\nimport { Button } from './Button';\n\nconst onClick = action('button-click');\n\nexport default {\n component: Button,\n title: 'Components/Button',\n parameters: {\n controls: { hideNoControlsWarning: true },\n docs: {\n page: () => (\n <>\n Props \n \n \n >\n ),\n },\n },\n};\n\nexport const Primary = () => Button ;\n\nexport const Secondary = () => (\n \n Button\n \n);\n\nexport const Supplementary = () => (\n }>\n Button\n \n);\n\nexport const Small = () => (\n \n Button\n \n);\n\nexport const FullWidth = () => (\n \n Button\n \n);\nFullWidth.storyName = 'Full width';\n\nexport const Icons = () => (\n <>\n }>\n Button\n \n\n \n \n\n }>\n Button\n \n\n \n \n\n } iconRight={ }>\n Button\n \n >\n);\n\nexport const Loading = () => (\n \n Button\n \n);\n\nexport const LoadingOnClick = (args) => {\n const [isLoading, setIsLoading] = useState(false);\n const onButtonClick: React.MouseEventHandler = () => {\n setIsLoading(true);\n };\n useEffect(() => {\n let timeout;\n if (isLoading) {\n timeout = setTimeout(() => {\n setIsLoading(false);\n }, 5000);\n }\n return () => {\n clearTimeout(timeout);\n };\n }, [isLoading]);\n return (\n : undefined }}\n onClick={onButtonClick}\n isLoading={isLoading}\n loadingText=\"Saving your changes\"\n >\n Button\n \n );\n};\nLoadingOnClick.args = {\n variant: 'primary',\n};\n\nexport const Playground = ({\n label,\n variant,\n theme,\n size,\n disabled,\n fullWidth,\n iconLeft,\n iconRight,\n isLoading,\n loadingText,\n ...args\n}) => {\n return (\n : null}\n iconRight={iconRight ? : null}\n isLoading={isLoading}\n loadingText={loadingText}\n {...args}\n >\n {label}\n \n );\n};\nPlayground.parameters = {\n previewTabs: {\n 'storybook/docs/panel': {\n hidden: true,\n },\n },\n docs: {\n disable: true,\n },\n};\n\nPlayground.args = {\n label: 'Button',\n variant: 'primary',\n theme: 'default',\n size: 'default',\n disabled: false,\n fullWidth: false,\n iconLeft: false,\n iconRight: false,\n isLoading: false,\n loadingText: 'Saving your changes',\n};\n\nPlayground.argTypes = {\n variant: {\n options: ['primary', 'secondary', 'supplementary', 'success', 'danger'],\n control: { type: 'radio' },\n },\n theme: {\n options: ['default', 'coat', 'black'],\n control: { type: 'radio' },\n },\n size: {\n options: ['default', 'small'],\n control: { type: 'radio' },\n },\n};\n\nexport const LinkButton = () => (\n {\n window.open('/');\n }}\n role=\"link\"\n >\n Button used as a link\n \n);\n",locationsMap:{primary:{startLoc:{col:23,line:27},endLoc:{col:70,line:27},startBody:{col:23,line:27},endBody:{col:70,line:27}},secondary:{startLoc:{col:25,line:29},endLoc:{col:1,line:33},startBody:{col:25,line:29},endBody:{col:1,line:33}},supplementary:{startLoc:{col:29,line:35},endLoc:{col:1,line:39},startBody:{col:29,line:35},endBody:{col:1,line:39}},small:{startLoc:{col:21,line:41},endLoc:{col:1,line:45},startBody:{col:21,line:41},endBody:{col:1,line:45}},"full-width":{startLoc:{col:25,line:47},endLoc:{col:1,line:51},startBody:{col:25,line:47},endBody:{col:1,line:51}},icons:{startLoc:{col:21,line:54},endLoc:{col:1,line:74},startBody:{col:21,line:54},endBody:{col:1,line:74}},loading:{startLoc:{col:23,line:76},endLoc:{col:1,line:80},startBody:{col:23,line:76},endBody:{col:1,line:80}},"loading-on-click":{startLoc:{col:30,line:82},endLoc:{col:1,line:108},startBody:{col:30,line:82},endBody:{col:1,line:108}},playground:{startLoc:{col:26,line:113},endLoc:{col:1,line:142},startBody:{col:26,line:113},endBody:{col:1,line:142}},"link-button":{startLoc:{col:26,line:182},endLoc:{col:1,line:191},startBody:{col:26,line:182},endBody:{col:1,line:191}}}},controls:{hideNoControlsWarning:!0},docs:{page:function page(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_2__.Dx,{children:"Props"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_2__.$4,{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_2__.fQ,{title:"Examples",includePrimary:!0})]})}}}};var Primary=function Primary(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_Button__WEBPACK_IMPORTED_MODULE_4__.z,{onClick,children:"Button"})},Secondary=function Secondary(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_Button__WEBPACK_IMPORTED_MODULE_4__.z,{onClick,variant:"secondary",children:"Button"})},Supplementary=function Supplementary(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_Button__WEBPACK_IMPORTED_MODULE_4__.z,{onClick,variant:"supplementary",iconLeft:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_5__.IconTrash,{}),children:"Button"})},Small=function Small(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_Button__WEBPACK_IMPORTED_MODULE_4__.z,{onClick,size:"small",children:"Button"})},FullWidth=function FullWidth(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_Button__WEBPACK_IMPORTED_MODULE_4__.z,{onClick,fullWidth:!0,children:"Button"})};FullWidth.storyName="Full width";var Icons=function Icons(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_Button__WEBPACK_IMPORTED_MODULE_4__.z,{onClick,iconLeft:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_6__.IconShare,{}),children:"Button"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_Button__WEBPACK_IMPORTED_MODULE_4__.z,{onClick,iconRight:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_7__.IconAngleRight,{}),children:"Button"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("br",{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_Button__WEBPACK_IMPORTED_MODULE_4__.z,{onClick,iconLeft:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_6__.IconShare,{}),iconRight:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_7__.IconAngleRight,{}),children:"Button"})]})},Loading=function Loading(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_Button__WEBPACK_IMPORTED_MODULE_4__.z,{isLoading:!0,loadingText:"Saving your changes",children:"Button"})},LoadingOnClick=function LoadingOnClick(args){var _useState=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),_useState2=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_8__.Z)(_useState,2),isLoading=_useState2[0],setIsLoading=_useState2[1];return(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((function(){var timeout;return isLoading&&(timeout=setTimeout((function(){setIsLoading(!1)}),5e3)),function(){clearTimeout(timeout)}}),[isLoading]),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_Button__WEBPACK_IMPORTED_MODULE_4__.z,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)({},(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)({},args),{},{iconLeft:"supplementary"===args.variant?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_5__.IconTrash,{}):void 0})),{},{onClick:function onButtonClick(){setIsLoading(!0)},isLoading,loadingText:"Saving your changes",children:"Button"}))};LoadingOnClick.args={variant:"primary"};var Playground=function Playground(_ref){var label=_ref.label,variant=_ref.variant,theme=_ref.theme,size=_ref.size,disabled=_ref.disabled,fullWidth=_ref.fullWidth,iconLeft=_ref.iconLeft,iconRight=_ref.iconRight,isLoading=_ref.isLoading,loadingText=_ref.loadingText,args=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_10__.Z)(_ref,_excluded);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_Button__WEBPACK_IMPORTED_MODULE_4__.z,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)({variant,theme,disabled,fullWidth,size,iconLeft:iconLeft?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_11__.IconFaceSmile,{}):null,iconRight:iconRight?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_11__.IconFaceSmile,{}):null,isLoading,loadingText},args),{},{children:label}))};Playground.parameters={previewTabs:{"storybook/docs/panel":{hidden:!0}},docs:{disable:!0}},Playground.args={label:"Button",variant:"primary",theme:"default",size:"default",disabled:!1,fullWidth:!1,iconLeft:!1,iconRight:!1,isLoading:!1,loadingText:"Saving your changes"},Playground.argTypes={variant:{options:["primary","secondary","supplementary","success","danger"],control:{type:"radio"}},theme:{options:["default","coat","black"],control:{type:"radio"}},size:{options:["default","small"],control:{type:"radio"}}};var LinkButton=function LinkButton(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_Button__WEBPACK_IMPORTED_MODULE_4__.z,{onClick:function onClick(){window.open("/")},role:"link",children:"Button used as a link"})};Primary.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)({storySource:{source:"() => Button "}},Primary.parameters),Secondary.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)({storySource:{source:'() => (\n \n Button\n \n)'}},Secondary.parameters),Supplementary.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)({storySource:{source:'() => (\n }>\n Button\n \n)'}},Supplementary.parameters),Small.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)({storySource:{source:'() => (\n \n Button\n \n)'}},Small.parameters),FullWidth.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)({storySource:{source:"() => (\n \n Button\n \n)"}},FullWidth.parameters),Icons.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)({storySource:{source:"() => (\n <>\n }>\n Button\n \n\n \n \n\n }>\n Button\n \n\n \n \n\n } iconRight={ }>\n Button\n \n >\n)"}},Icons.parameters),Loading.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)({storySource:{source:'() => (\n \n Button\n \n)'}},Loading.parameters),LoadingOnClick.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)({storySource:{source:"(args) => {\n const [isLoading, setIsLoading] = useState(false);\n const onButtonClick: React.MouseEventHandler = () => {\n setIsLoading(true);\n };\n useEffect(() => {\n let timeout;\n if (isLoading) {\n timeout = setTimeout(() => {\n setIsLoading(false);\n }, 5000);\n }\n return () => {\n clearTimeout(timeout);\n };\n }, [isLoading]);\n return (\n : undefined }}\n onClick={onButtonClick}\n isLoading={isLoading}\n loadingText=\"Saving your changes\"\n >\n Button\n \n );\n}"}},LoadingOnClick.parameters),Playground.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)({storySource:{source:"({\n label,\n variant,\n theme,\n size,\n disabled,\n fullWidth,\n iconLeft,\n iconRight,\n isLoading,\n loadingText,\n ...args\n}) => {\n return (\n : null}\n iconRight={iconRight ? : null}\n isLoading={isLoading}\n loadingText={loadingText}\n {...args}\n >\n {label}\n \n );\n}"}},Playground.parameters),LinkButton.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_9__.Z)({storySource:{source:"() => (\n {\n window.open('/');\n }}\n role=\"link\"\n >\n Button used as a link\n \n)"}},LinkButton.parameters);try{LoadingOnClick.displayName="LoadingOnClick",LoadingOnClick.__docgenInfo={description:"",displayName:"LoadingOnClick",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/button/Button.stories.tsx#LoadingOnClick"]={docgenInfo:LoadingOnClick.__docgenInfo,name:"LoadingOnClick",path:"src/components/button/Button.stories.tsx#LoadingOnClick"})}catch(__react_docgen_typescript_loader_error){}try{Playground.displayName="Playground",Playground.__docgenInfo={description:"",displayName:"Playground",props:{label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"any"}},variant:{defaultValue:null,description:"",name:"variant",required:!0,type:{name:"any"}},theme:{defaultValue:null,description:"",name:"theme",required:!0,type:{name:"any"}},size:{defaultValue:null,description:"",name:"size",required:!0,type:{name:"any"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!0,type:{name:"any"}},fullWidth:{defaultValue:null,description:"",name:"fullWidth",required:!0,type:{name:"any"}},iconLeft:{defaultValue:null,description:"",name:"iconLeft",required:!0,type:{name:"any"}},iconRight:{defaultValue:null,description:"",name:"iconRight",required:!0,type:{name:"any"}},isLoading:{defaultValue:null,description:"",name:"isLoading",required:!0,type:{name:"any"}},loadingText:{defaultValue:null,description:"",name:"loadingText",required:!0,type:{name:"any"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/button/Button.stories.tsx#Playground"]={docgenInfo:Playground.__docgenInfo,name:"Playground",path:"src/components/button/Button.stories.tsx#Playground"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/card/Card.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Empty:()=>Empty,TextHeading:()=>TextHeading,WithBorder:()=>WithBorder,WithBoxShadow:()=>WithBoxShadow,WithCustomTheme:()=>WithCustomTheme,WithOtherComponents:()=>WithOtherComponents,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),_Card__WEBPACK_IMPORTED_MODULE_2__=(__webpack_require__("../../node_modules/react/index.js"),__webpack_require__("./src/components/card/Card.tsx")),_button__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./src/components/button/Button.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js");const __WEBPACK_DEFAULT_EXPORT__={component:_Card__WEBPACK_IMPORTED_MODULE_2__.Z,title:"Components/Card",parameters:{storySource:{source:"import React from 'react';\n\nimport { Card } from './Card';\nimport { Button } from '../button';\n\nexport default {\n component: Card,\n title: 'Components/Card',\n parameters: {\n controls: { expanded: true },\n },\n};\n\nexport const Empty = (args) => ;\n\nexport const WithBorder = (args) => ;\nWithBorder.storyName = 'With border';\nWithBorder.args = {\n border: true,\n};\n\nexport const WithBoxShadow = (args) => ;\nWithBoxShadow.storyName = 'With box shadow';\nWithBoxShadow.args = {\n boxShadow: true,\n};\n\nexport const TextHeading = (args) => ;\nTextHeading.storyName = 'With text & heading';\nTextHeading.args = {\n heading: 'Card',\n text:\n 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',\n};\n\nexport const WithOtherComponents = (args) => (\n \n \n Button\n \n \n);\nWithOtherComponents.storyName = 'With other components';\nWithOtherComponents.args = {\n heading: 'Card',\n text:\n 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',\n};\n\nexport const WithCustomTheme = (args) => ;\nWithCustomTheme.storyName = 'With custom theme';\nWithCustomTheme.args = {\n border: true,\n heading: 'Card',\n text:\n 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',\n theme: {\n '--background-color': 'var(--color-white)',\n '--border-color': 'var(--color-black-90)',\n '--border-width': '2px',\n '--color': 'var(--color-black-90)',\n '--padding-horizontal': 'var(--spacing-l)',\n '--padding-vertical': 'var(--spacing-m)',\n },\n};\n",locationsMap:{empty:{startLoc:{col:21,line:14},endLoc:{col:49,line:14},startBody:{col:21,line:14},endBody:{col:49,line:14}},"with-border":{startLoc:{col:26,line:16},endLoc:{col:54,line:16},startBody:{col:26,line:16},endBody:{col:54,line:16}},"with-box-shadow":{startLoc:{col:29,line:22},endLoc:{col:57,line:22},startBody:{col:29,line:22},endBody:{col:57,line:22}},"text-heading":{startLoc:{col:27,line:28},endLoc:{col:55,line:28},startBody:{col:27,line:28},endBody:{col:55,line:28}},"with-other-components":{startLoc:{col:35,line:36},endLoc:{col:1,line:42},startBody:{col:35,line:36},endBody:{col:1,line:42}},"with-custom-theme":{startLoc:{col:31,line:50},endLoc:{col:59,line:50},startBody:{col:31,line:50},endBody:{col:59,line:50}}}},controls:{expanded:!0}}};var Empty=function Empty(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Card__WEBPACK_IMPORTED_MODULE_2__.Z,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args))},WithBorder=function WithBorder(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Card__WEBPACK_IMPORTED_MODULE_2__.Z,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args))};WithBorder.storyName="With border",WithBorder.args={border:!0};var WithBoxShadow=function WithBoxShadow(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Card__WEBPACK_IMPORTED_MODULE_2__.Z,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args))};WithBoxShadow.storyName="With box shadow",WithBoxShadow.args={boxShadow:!0};var TextHeading=function TextHeading(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Card__WEBPACK_IMPORTED_MODULE_2__.Z,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args))};TextHeading.storyName="With text & heading",TextHeading.args={heading:"Card",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."};var WithOtherComponents=function WithOtherComponents(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Card__WEBPACK_IMPORTED_MODULE_2__.Z,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_button__WEBPACK_IMPORTED_MODULE_4__.z,{variant:"secondary",theme:"black",role:"link",children:"Button"})}))};WithOtherComponents.storyName="With other components",WithOtherComponents.args={heading:"Card",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."};var WithCustomTheme=function WithCustomTheme(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_Card__WEBPACK_IMPORTED_MODULE_2__.Z,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args))};WithCustomTheme.storyName="With custom theme",WithCustomTheme.args={border:!0,heading:"Card",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",theme:{"--background-color":"var(--color-white)","--border-color":"var(--color-black-90)","--border-width":"2px","--color":"var(--color-black-90)","--padding-horizontal":"var(--spacing-l)","--padding-vertical":"var(--spacing-m)"}},Empty.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => "}},Empty.parameters),WithBorder.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => "}},WithBorder.parameters),WithBoxShadow.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => "}},WithBoxShadow.parameters),TextHeading.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => "}},TextHeading.parameters),WithOtherComponents.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:'(args) => (\n \n \n Button\n \n \n)'}},WithOtherComponents.parameters),WithCustomTheme.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => "}},WithCustomTheme.parameters);try{Empty.displayName="Empty",Empty.__docgenInfo={description:"",displayName:"Empty",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/card/Card.stories.tsx#Empty"]={docgenInfo:Empty.__docgenInfo,name:"Empty",path:"src/components/card/Card.stories.tsx#Empty"})}catch(__react_docgen_typescript_loader_error){}try{WithBorder.displayName="WithBorder",WithBorder.__docgenInfo={description:"",displayName:"WithBorder",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/card/Card.stories.tsx#WithBorder"]={docgenInfo:WithBorder.__docgenInfo,name:"WithBorder",path:"src/components/card/Card.stories.tsx#WithBorder"})}catch(__react_docgen_typescript_loader_error){}try{WithBoxShadow.displayName="WithBoxShadow",WithBoxShadow.__docgenInfo={description:"",displayName:"WithBoxShadow",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/card/Card.stories.tsx#WithBoxShadow"]={docgenInfo:WithBoxShadow.__docgenInfo,name:"WithBoxShadow",path:"src/components/card/Card.stories.tsx#WithBoxShadow"})}catch(__react_docgen_typescript_loader_error){}try{TextHeading.displayName="TextHeading",TextHeading.__docgenInfo={description:"",displayName:"TextHeading",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/card/Card.stories.tsx#TextHeading"]={docgenInfo:TextHeading.__docgenInfo,name:"TextHeading",path:"src/components/card/Card.stories.tsx#TextHeading"})}catch(__react_docgen_typescript_loader_error){}try{WithOtherComponents.displayName="WithOtherComponents",WithOtherComponents.__docgenInfo={description:"",displayName:"WithOtherComponents",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/card/Card.stories.tsx#WithOtherComponents"]={docgenInfo:WithOtherComponents.__docgenInfo,name:"WithOtherComponents",path:"src/components/card/Card.stories.tsx#WithOtherComponents"})}catch(__react_docgen_typescript_loader_error){}try{WithCustomTheme.displayName="WithCustomTheme",WithCustomTheme.__docgenInfo={description:"",displayName:"WithCustomTheme",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/card/Card.stories.tsx#WithCustomTheme"]={docgenInfo:WithCustomTheme.__docgenInfo,name:"WithCustomTheme",path:"src/components/card/Card.stories.tsx#WithCustomTheme"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/checkbox/Checkbox.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Custom:()=>Custom,Default:()=>Default,Disabled:()=>Disabled,GroupWithParent:()=>GroupWithParent,Indeterminate:()=>Indeterminate,Invalid:()=>Invalid,Playground:()=>Playground,Selected:()=>Selected,SelectedDisabled:()=>SelectedDisabled,WithHelperText:()=>WithHelperText,WithTooltip:()=>WithTooltip,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/defineProperty.js"),_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/react/index.js"),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@storybook/addon-docs/blocks.js"),_Checkbox__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./src/components/checkbox/Checkbox.tsx"),_fieldset__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./src/components/fieldset/Fieldset.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/react/jsx-runtime.js");const __WEBPACK_DEFAULT_EXPORT__={component:_Checkbox__WEBPACK_IMPORTED_MODULE_3__.X,title:"Components/Checkbox",parameters:{storySource:{source:"import React, { useReducer, useState } from 'react';\nimport { ArgsTable, Stories, Title } from '@storybook/addon-docs/blocks';\n\nimport { Checkbox } from './Checkbox';\nimport { Fieldset } from '../fieldset';\n\nexport default {\n component: Checkbox,\n title: 'Components/Checkbox',\n parameters: {\n controls: { hideNoControlsWarning: true },\n docs: {\n page: () => (\n <>\n Props \n \n \n >\n ),\n },\n },\n};\n\nexport const Default = () => ;\n\nexport const Selected = () => ;\n\nexport const Indeterminate = () => (\n event.preventDefault()} />\n);\n\nexport const Disabled = () => ;\n\nexport const Invalid = () => ;\n\nexport const WithHelperText = () => ;\n\nexport const WithTooltip = (args) => ;\nWithTooltip.args = {\n label: 'label',\n tooltipText: 'tooltip text',\n tooltipLabel: 'tooltip text aria label',\n tooltipButtonLabel: 'tooltip button aria label',\n};\n\nexport const SelectedDisabled = () => ;\nSelectedDisabled.storyName = 'Selected & disabled';\n\nexport const Custom = () => {\n const [checked, setChecked] = useState(false);\n const customStyles = {\n '--size': '40px',\n '--icon-scale': 0.6,\n '--border-width': '3px',\n '--outline-width': '4px',\n '--background-selected': 'var(--color-success)',\n '--background-hover': 'var(--color-success-dark)',\n '--border-color-selected': 'var(--color-success)',\n '--border-color-selected-hover': 'var(--color-success-dark)',\n '--border-color-selected-focus': 'var(--color-success)',\n '--focus-outline-color': 'var(--color-black-20)',\n } as React.CSSProperties;\n return (\n setChecked(!checked)}\n />\n );\n};\nCustom.storyName = 'With custom styles';\n\nexport const GroupWithParent = () => {\n enum CheckboxState {\n checked,\n unchecked,\n indeterminate,\n }\n\n const areAllChecked = (state) => {\n let checkedCount = 0;\n Object.keys(state).forEach((key) => {\n if (key === 'controllerCheckbox') {\n return;\n }\n if (state[key] === CheckboxState.checked) {\n checkedCount += 1;\n }\n });\n\n return checkedCount === 4;\n };\n\n const areAllUnchecked = (state) => {\n let checkedCount = 0;\n Object.keys(state).forEach((key) => {\n if (key === 'controllerCheckbox') {\n return;\n }\n if (state[key] === CheckboxState.checked) {\n checkedCount += 1;\n }\n });\n\n return checkedCount === 1;\n };\n\n const reducer = (state, action) => {\n switch (action.type) {\n case 'check': {\n if (action.payload === 'controllerCheckbox') {\n return {\n controllerCheckbox: CheckboxState.checked,\n checkbox1: CheckboxState.checked,\n checkbox2: CheckboxState.checked,\n checkbox3: CheckboxState.checked,\n checkbox4: CheckboxState.checked,\n checkbox5: CheckboxState.checked,\n };\n }\n return {\n ...state,\n [action.payload]: CheckboxState.checked,\n controllerCheckbox: areAllChecked(state) ? CheckboxState.checked : CheckboxState.indeterminate,\n };\n }\n case 'uncheck': {\n if (action.payload === 'controllerCheckbox') {\n return {\n controllerCheckbox: CheckboxState.unchecked,\n checkbox1: CheckboxState.unchecked,\n checkbox2: CheckboxState.unchecked,\n checkbox3: CheckboxState.unchecked,\n checkbox4: CheckboxState.unchecked,\n checkbox5: CheckboxState.unchecked,\n };\n }\n return {\n ...state,\n [action.payload]: CheckboxState.unchecked,\n controllerCheckbox: areAllUnchecked(state) ? CheckboxState.unchecked : CheckboxState.indeterminate,\n };\n }\n default:\n throw new Error();\n }\n };\n\n const initialState = {\n controllerCheckbox: CheckboxState.unchecked,\n checkbox1: CheckboxState.unchecked,\n checkbox2: CheckboxState.unchecked,\n checkbox3: CheckboxState.unchecked,\n checkbox4: CheckboxState.unchecked,\n checkbox5: CheckboxState.unchecked,\n };\n\n const [state, dispatch] = useReducer(reducer, initialState);\n\n return (\n \n {\n if (\n state.controllerCheckbox === CheckboxState.unchecked ||\n state.controllerCheckbox === CheckboxState.indeterminate\n ) {\n dispatch({ type: 'check', payload: 'controllerCheckbox' });\n } else {\n dispatch({ type: 'uncheck', payload: 'controllerCheckbox' });\n }\n }}\n />\n \n {Object.entries(state).map((entry) => {\n if (entry[0] === 'controllerCheckbox') {\n return null;\n }\n return (\n \n {\n if (entry[1] === CheckboxState.unchecked) {\n dispatch({ type: 'check', payload: entry[0] });\n } else {\n dispatch({ type: 'uncheck', payload: entry[0] });\n }\n }}\n />\n \n );\n })}\n \n \n );\n};\n\nGroupWithParent.storyName = 'Group with a parent';\n\nexport const Playground = (args) => {\n const [checkedItems, setCheckedItems] = useState({});\n const options = ['Option 1', 'Option 2', 'Option 3'];\n\n const handleChange = (e) => {\n const item = e.target.name;\n const isChecked = e.target.checked;\n setCheckedItems({ ...checkedItems, [item]: isChecked });\n };\n\n const [indeterminateState, setIndeterminateState] = useState('indeterminate');\n\n const handleIndeterminateChange = () => {\n if (indeterminateState === 'indeterminate') {\n setIndeterminateState('checked');\n } else if (indeterminateState === 'checked') {\n setIndeterminateState('unchecked');\n } else {\n setIndeterminateState('indeterminate');\n }\n };\n\n const styles = {\n '--size': `${args.size}px`,\n '--icon-scale': args.iconScale,\n '--border-width': `${args.borderWidth}px`,\n '--outline-width': `${args.outlineWidth}px`,\n '--label-font-size': `${args.labelFontSize}px`,\n '--label-padding': `${args.labelPadding}px`,\n '--background-unselected': args.backgroundUnselected,\n '--background-selected': args.backgroundSelected,\n '--background-hover': args.backgroundHover,\n '--background-disabled': args.backgroundDisabled,\n '--border-color-selected': args.borderColorSelected,\n '--border-color-selected-hover': args.borderColorSelectedHover,\n '--border-color-selected-focus': args.borderColorSelectedFocus,\n '--border-color-unselected': args.borderColorUnselected,\n '--border-color-unselected-hover': args.borderColorUnselectedHover,\n '--border-color-unselected-focus': args.borderColorUnselectedFocus,\n '--border-color-disabled': args.borderColorDisabled,\n '--focus-outline-color': args.focusOutlineColor,\n '--icon-color-unselected': args.iconColorUnselected,\n '--icon-color-selected': args.iconColorSelected,\n '--icon-color-disabled': args.iconColorDisabled,\n '--label-color': args.labelColorDefault,\n '--label-color-disabled': args.labelColorDisabled,\n } as React.CSSProperties;\n\n return (\n <>\n {options.map((item) => (\n \n ))}\n \n \n \n >\n );\n};\nPlayground.parameters = {\n previewTabs: {\n 'storybook/docs/panel': {\n hidden: true,\n },\n },\n docs: {\n disable: true,\n },\n};\n\nPlayground.args = {\n size: 24,\n iconScale: 1,\n borderWidth: 2,\n outlineWidth: 3,\n labelFontSize: 16,\n labelPadding: 8,\n backgroundUnselected: 'rgba(0, 0, 0, 0)',\n backgroundSelected: '#0000bf',\n backgroundHover: '#000098',\n backgroundDisabled: '#e5e5e5',\n borderColorSelected: '#0000bf',\n borderColorSelectedHover: '#000098',\n borderColorSelectedFocus: '#0000bf',\n borderColorUnselected: '#808080',\n borderColorUnselectedHover: '#1a1a1a',\n borderColorUnselectedFocus: '#000000',\n borderColorDisabled: '#e5e5e5',\n focusOutlineColor: '#0072c6',\n iconColorUnselected: 'rgba(0, 0, 0, 0)',\n iconColorSelected: '#ffffff',\n iconColorDisabled: '#ffffff',\n labelColorDefault: '#1a1a1a',\n labelColorDisabled: '#999898',\n};\n\nPlayground.argTypes = {\n size: {\n control: {\n type: 'range',\n min: 10,\n max: 100,\n step: 1,\n },\n },\n iconScale: {\n control: {\n type: 'range',\n min: 0.1,\n max: 1,\n step: 0.05,\n },\n },\n borderWidth: {\n control: {\n type: 'range',\n min: 1,\n max: 10,\n step: 1,\n },\n },\n outlineWidth: {\n control: {\n type: 'range',\n min: 1,\n max: 10,\n step: 1,\n },\n },\n labelFontSize: {\n control: {\n type: 'range',\n min: 12,\n max: 32,\n step: 1,\n },\n },\n labelPadding: {\n control: {\n type: 'range',\n min: 4,\n max: 32,\n step: 2,\n },\n },\n backgroundUnselected: { control: { type: 'color' } },\n backgroundSelected: { control: { type: 'color' } },\n backgroundHover: { control: { type: 'color' } },\n backgroundDisabled: { control: { type: 'color' } },\n borderColorSelected: { control: { type: 'color' } },\n borderColorSelectedHover: { control: { type: 'color' } },\n borderColorSelectedFocus: { control: { type: 'color' } },\n borderColorUnselected: { control: { type: 'color' } },\n borderColorUnselectedHover: { control: { type: 'color' } },\n borderColorUnselectedFocus: { control: { type: 'color' } },\n borderColorDisabled: { control: { type: 'color' } },\n focusOutlineColor: { control: { type: 'color' } },\n iconColorUnselected: { control: { type: 'color' } },\n iconColorSelected: { control: { type: 'color' } },\n iconColorDisabled: { control: { type: 'color' } },\n labelColorDefault: { control: { type: 'color' } },\n labelColorDisabled: { control: { type: 'color' } },\n};\n",locationsMap:{default:{startLoc:{col:23,line:24},endLoc:{col:68,line:24},startBody:{col:23,line:24},endBody:{col:68,line:24}},selected:{startLoc:{col:24,line:26},endLoc:{col:78,line:26},startBody:{col:24,line:26},endBody:{col:78,line:26}},indeterminate:{startLoc:{col:29,line:28},endLoc:{col:1,line:30},startBody:{col:29,line:28},endBody:{col:1,line:30}},disabled:{startLoc:{col:24,line:32},endLoc:{col:79,line:32},startBody:{col:24,line:32},endBody:{col:79,line:32}},invalid:{startLoc:{col:23,line:34},endLoc:{col:91,line:34},startBody:{col:23,line:34},endBody:{col:91,line:34}},"with-helper-text":{startLoc:{col:30,line:36},endLoc:{col:107,line:36},startBody:{col:30,line:36},endBody:{col:107,line:36}},"with-tooltip":{startLoc:{col:27,line:38},endLoc:{col:77,line:38},startBody:{col:27,line:38},endBody:{col:77,line:38}},"selected-disabled":{startLoc:{col:32,line:46},endLoc:{col:104,line:46},startBody:{col:32,line:46},endBody:{col:104,line:46}},custom:{startLoc:{col:22,line:49},endLoc:{col:1,line:72},startBody:{col:22,line:49},endBody:{col:1,line:72}},"group-with-parent":{startLoc:{col:31,line:75},endLoc:{col:1,line:207},startBody:{col:31,line:75},endBody:{col:1,line:207}},playground:{startLoc:{col:26,line:211},endLoc:{col:1,line:284},startBody:{col:26,line:211},endBody:{col:1,line:284}}}},controls:{hideNoControlsWarning:!0},docs:{page:function page(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_1__.Dx,{children:"Props"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_1__.$4,{}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_1__.fQ,{title:"Examples",includePrimary:!0})]})}}}};var Default=function Default(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Checkbox__WEBPACK_IMPORTED_MODULE_3__.X,{id:"default",label:"Label"})},Selected=function Selected(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Checkbox__WEBPACK_IMPORTED_MODULE_3__.X,{id:"selected",label:"Label",checked:!0})},Indeterminate=function Indeterminate(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Checkbox__WEBPACK_IMPORTED_MODULE_3__.X,{id:"indeterminate",label:"Label",indeterminate:!0,onChange:function onChange(event){return event.preventDefault()}})},Disabled=function Disabled(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Checkbox__WEBPACK_IMPORTED_MODULE_3__.X,{id:"disabled",label:"Label",disabled:!0})},Invalid=function Invalid(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Checkbox__WEBPACK_IMPORTED_MODULE_3__.X,{id:"invalid",label:"Label",errorText:"Error text"})},WithHelperText=function WithHelperText(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Checkbox__WEBPACK_IMPORTED_MODULE_3__.X,{id:"helper-text",label:"Label",helperText:"Assistive text"})},WithTooltip=function WithTooltip(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Checkbox__WEBPACK_IMPORTED_MODULE_3__.X,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({id:"with-tooltip"},args))};WithTooltip.args={label:"label",tooltipText:"tooltip text",tooltipLabel:"tooltip text aria label",tooltipButtonLabel:"tooltip button aria label"};var SelectedDisabled=function SelectedDisabled(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Checkbox__WEBPACK_IMPORTED_MODULE_3__.X,{id:"selected-disabled",label:"Label",checked:!0,disabled:!0})};SelectedDisabled.storyName="Selected & disabled";var Custom=function Custom(){var _useState=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),_useState2=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_5__.Z)(_useState,2),checked=_useState2[0],setChecked=_useState2[1];return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Checkbox__WEBPACK_IMPORTED_MODULE_3__.X,{id:"checkbox5",label:"Label",style:{"--size":"40px","--icon-scale":.6,"--border-width":"3px","--outline-width":"4px","--background-selected":"var(--color-success)","--background-hover":"var(--color-success-dark)","--border-color-selected":"var(--color-success)","--border-color-selected-hover":"var(--color-success-dark)","--border-color-selected-focus":"var(--color-success)","--focus-outline-color":"var(--color-black-20)"},checked,onChange:function onChange(){return setChecked(!checked)}})};Custom.storyName="With custom styles";var GroupWithParent=function GroupWithParent(){var CheckboxState=function(CheckboxState){return CheckboxState[CheckboxState.checked=0]="checked",CheckboxState[CheckboxState.unchecked=1]="unchecked",CheckboxState[CheckboxState.indeterminate=2]="indeterminate",CheckboxState}({}),initialState={controllerCheckbox:CheckboxState.unchecked,checkbox1:CheckboxState.unchecked,checkbox2:CheckboxState.unchecked,checkbox3:CheckboxState.unchecked,checkbox4:CheckboxState.unchecked,checkbox5:CheckboxState.unchecked},_useReducer=(0,react__WEBPACK_IMPORTED_MODULE_0__.useReducer)((function reducer(state,action){switch(action.type){case"check":var _objectSpread2;return"controllerCheckbox"===action.payload?{controllerCheckbox:CheckboxState.checked,checkbox1:CheckboxState.checked,checkbox2:CheckboxState.checked,checkbox3:CheckboxState.checked,checkbox4:CheckboxState.checked,checkbox5:CheckboxState.checked}:(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},state),{},(_objectSpread2={},(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__.Z)(_objectSpread2,action.payload,CheckboxState.checked),(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__.Z)(_objectSpread2,"controllerCheckbox",function areAllChecked(state){var checkedCount=0;return Object.keys(state).forEach((function(key){"controllerCheckbox"!==key&&state[key]===CheckboxState.checked&&(checkedCount+=1)})),4===checkedCount}(state)?CheckboxState.checked:CheckboxState.indeterminate),_objectSpread2));case"uncheck":var _objectSpread3;return"controllerCheckbox"===action.payload?{controllerCheckbox:CheckboxState.unchecked,checkbox1:CheckboxState.unchecked,checkbox2:CheckboxState.unchecked,checkbox3:CheckboxState.unchecked,checkbox4:CheckboxState.unchecked,checkbox5:CheckboxState.unchecked}:(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},state),{},(_objectSpread3={},(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__.Z)(_objectSpread3,action.payload,CheckboxState.unchecked),(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__.Z)(_objectSpread3,"controllerCheckbox",function areAllUnchecked(state){var checkedCount=0;return Object.keys(state).forEach((function(key){"controllerCheckbox"!==key&&state[key]===CheckboxState.checked&&(checkedCount+=1)})),1===checkedCount}(state)?CheckboxState.unchecked:CheckboxState.indeterminate),_objectSpread3));default:throw new Error}}),initialState),_useReducer2=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_5__.Z)(_useReducer,2),state=_useReducer2[0],dispatch=_useReducer2[1];return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(_fieldset__WEBPACK_IMPORTED_MODULE_7__.p,{heading:"Group label *",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Checkbox__WEBPACK_IMPORTED_MODULE_3__.X,{"aria-controls":"checkbox1 checkbox2 checkbox3 checkbox4 checkbox5",id:"controllerCheckbox",label:"Label",indeterminate:state.controllerCheckbox===CheckboxState.indeterminate,checked:state.controllerCheckbox===CheckboxState.checked,style:{marginTop:"var(--spacing-xs)"},onChange:function onChange(){state.controllerCheckbox===CheckboxState.unchecked||state.controllerCheckbox===CheckboxState.indeterminate?dispatch({type:"check",payload:"controllerCheckbox"}):dispatch({type:"uncheck",payload:"controllerCheckbox"})}}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("ul",{style:{marginLeft:"var(--spacing-s)",paddingInlineStart:"0"},children:Object.entries(state).map((function(entry){return"controllerCheckbox"===entry[0]?null:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("li",{style:{marginTop:"var(--spacing-s)",listStyle:"none"},children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Checkbox__WEBPACK_IMPORTED_MODULE_3__.X,{id:entry[0],label:"Label",checked:entry[1]===CheckboxState.checked,onChange:function onChange(){entry[1]===CheckboxState.unchecked?dispatch({type:"check",payload:entry[0]}):dispatch({type:"uncheck",payload:entry[0]})}})},entry[0])}))})]})};GroupWithParent.storyName="Group with a parent";var Playground=function Playground(args){var _useState3=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)({}),_useState4=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_5__.Z)(_useState3,2),checkedItems=_useState4[0],setCheckedItems=_useState4[1],handleChange=function handleChange(e){var item=e.target.name,isChecked=e.target.checked;setCheckedItems((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({},checkedItems),{},(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__.Z)({},item,isChecked)))},_useState5=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)("indeterminate"),_useState6=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_5__.Z)(_useState5,2),indeterminateState=_useState6[0],setIndeterminateState=_useState6[1],styles={"--size":"".concat(args.size,"px"),"--icon-scale":args.iconScale,"--border-width":"".concat(args.borderWidth,"px"),"--outline-width":"".concat(args.outlineWidth,"px"),"--label-font-size":"".concat(args.labelFontSize,"px"),"--label-padding":"".concat(args.labelPadding,"px"),"--background-unselected":args.backgroundUnselected,"--background-selected":args.backgroundSelected,"--background-hover":args.backgroundHover,"--background-disabled":args.backgroundDisabled,"--border-color-selected":args.borderColorSelected,"--border-color-selected-hover":args.borderColorSelectedHover,"--border-color-selected-focus":args.borderColorSelectedFocus,"--border-color-unselected":args.borderColorUnselected,"--border-color-unselected-hover":args.borderColorUnselectedHover,"--border-color-unselected-focus":args.borderColorUnselectedFocus,"--border-color-disabled":args.borderColorDisabled,"--focus-outline-color":args.focusOutlineColor,"--icon-color-unselected":args.iconColorUnselected,"--icon-color-selected":args.iconColorSelected,"--icon-color-disabled":args.iconColorDisabled,"--label-color":args.labelColorDefault,"--label-color-disabled":args.labelColorDisabled};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment,{children:[["Option 1","Option 2","Option 3"].map((function(item){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Checkbox__WEBPACK_IMPORTED_MODULE_3__.X,{id:"checkbox-".concat(item),label:item,name:item,checked:checkedItems[item],onChange:handleChange,style:styles},"checkbox-".concat(item))})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Checkbox__WEBPACK_IMPORTED_MODULE_3__.X,{id:"indeterminate-playground",label:"Option 4",style:styles,checked:"checked"===indeterminateState,indeterminate:"indeterminate"===indeterminateState,onChange:function handleIndeterminateChange(){setIndeterminateState("indeterminate"===indeterminateState?"checked":"checked"===indeterminateState?"unchecked":"indeterminate")}}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Checkbox__WEBPACK_IMPORTED_MODULE_3__.X,{id:"checkbox7",label:"Option 5",style:styles,disabled:!0}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_Checkbox__WEBPACK_IMPORTED_MODULE_3__.X,{id:"checkbox8",label:"Option 6",style:styles,checked:!0,disabled:!0})]})};Playground.parameters={previewTabs:{"storybook/docs/panel":{hidden:!0}},docs:{disable:!0}},Playground.args={size:24,iconScale:1,borderWidth:2,outlineWidth:3,labelFontSize:16,labelPadding:8,backgroundUnselected:"rgba(0, 0, 0, 0)",backgroundSelected:"#0000bf",backgroundHover:"#000098",backgroundDisabled:"#e5e5e5",borderColorSelected:"#0000bf",borderColorSelectedHover:"#000098",borderColorSelectedFocus:"#0000bf",borderColorUnselected:"#808080",borderColorUnselectedHover:"#1a1a1a",borderColorUnselectedFocus:"#000000",borderColorDisabled:"#e5e5e5",focusOutlineColor:"#0072c6",iconColorUnselected:"rgba(0, 0, 0, 0)",iconColorSelected:"#ffffff",iconColorDisabled:"#ffffff",labelColorDefault:"#1a1a1a",labelColorDisabled:"#999898"},Playground.argTypes={size:{control:{type:"range",min:10,max:100,step:1}},iconScale:{control:{type:"range",min:.1,max:1,step:.05}},borderWidth:{control:{type:"range",min:1,max:10,step:1}},outlineWidth:{control:{type:"range",min:1,max:10,step:1}},labelFontSize:{control:{type:"range",min:12,max:32,step:1}},labelPadding:{control:{type:"range",min:4,max:32,step:2}},backgroundUnselected:{control:{type:"color"}},backgroundSelected:{control:{type:"color"}},backgroundHover:{control:{type:"color"}},backgroundDisabled:{control:{type:"color"}},borderColorSelected:{control:{type:"color"}},borderColorSelectedHover:{control:{type:"color"}},borderColorSelectedFocus:{control:{type:"color"}},borderColorUnselected:{control:{type:"color"}},borderColorUnselectedHover:{control:{type:"color"}},borderColorUnselectedFocus:{control:{type:"color"}},borderColorDisabled:{control:{type:"color"}},focusOutlineColor:{control:{type:"color"}},iconColorUnselected:{control:{type:"color"}},iconColorSelected:{control:{type:"color"}},iconColorDisabled:{control:{type:"color"}},labelColorDefault:{control:{type:"color"}},labelColorDisabled:{control:{type:"color"}}},Default.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:'() => '}},Default.parameters),Selected.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:'() => '}},Selected.parameters),Indeterminate.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:'() => (\n event.preventDefault()} />\n)'}},Indeterminate.parameters),Disabled.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:'() => '}},Disabled.parameters),Invalid.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:'() => '}},Invalid.parameters),WithHelperText.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:'() => '}},WithHelperText.parameters),WithTooltip.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:'(args) => '}},WithTooltip.parameters),SelectedDisabled.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:'() => '}},SelectedDisabled.parameters),Custom.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:"() => {\n const [checked, setChecked] = useState(false);\n const customStyles = {\n '--size': '40px',\n '--icon-scale': 0.6,\n '--border-width': '3px',\n '--outline-width': '4px',\n '--background-selected': 'var(--color-success)',\n '--background-hover': 'var(--color-success-dark)',\n '--border-color-selected': 'var(--color-success)',\n '--border-color-selected-hover': 'var(--color-success-dark)',\n '--border-color-selected-focus': 'var(--color-success)',\n '--focus-outline-color': 'var(--color-black-20)',\n } as React.CSSProperties;\n return (\n setChecked(!checked)}\n />\n );\n}"}},Custom.parameters),GroupWithParent.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:"() => {\n enum CheckboxState {\n checked,\n unchecked,\n indeterminate,\n }\n\n const areAllChecked = (state) => {\n let checkedCount = 0;\n Object.keys(state).forEach((key) => {\n if (key === 'controllerCheckbox') {\n return;\n }\n if (state[key] === CheckboxState.checked) {\n checkedCount += 1;\n }\n });\n\n return checkedCount === 4;\n };\n\n const areAllUnchecked = (state) => {\n let checkedCount = 0;\n Object.keys(state).forEach((key) => {\n if (key === 'controllerCheckbox') {\n return;\n }\n if (state[key] === CheckboxState.checked) {\n checkedCount += 1;\n }\n });\n\n return checkedCount === 1;\n };\n\n const reducer = (state, action) => {\n switch (action.type) {\n case 'check': {\n if (action.payload === 'controllerCheckbox') {\n return {\n controllerCheckbox: CheckboxState.checked,\n checkbox1: CheckboxState.checked,\n checkbox2: CheckboxState.checked,\n checkbox3: CheckboxState.checked,\n checkbox4: CheckboxState.checked,\n checkbox5: CheckboxState.checked,\n };\n }\n return {\n ...state,\n [action.payload]: CheckboxState.checked,\n controllerCheckbox: areAllChecked(state) ? CheckboxState.checked : CheckboxState.indeterminate,\n };\n }\n case 'uncheck': {\n if (action.payload === 'controllerCheckbox') {\n return {\n controllerCheckbox: CheckboxState.unchecked,\n checkbox1: CheckboxState.unchecked,\n checkbox2: CheckboxState.unchecked,\n checkbox3: CheckboxState.unchecked,\n checkbox4: CheckboxState.unchecked,\n checkbox5: CheckboxState.unchecked,\n };\n }\n return {\n ...state,\n [action.payload]: CheckboxState.unchecked,\n controllerCheckbox: areAllUnchecked(state) ? CheckboxState.unchecked : CheckboxState.indeterminate,\n };\n }\n default:\n throw new Error();\n }\n };\n\n const initialState = {\n controllerCheckbox: CheckboxState.unchecked,\n checkbox1: CheckboxState.unchecked,\n checkbox2: CheckboxState.unchecked,\n checkbox3: CheckboxState.unchecked,\n checkbox4: CheckboxState.unchecked,\n checkbox5: CheckboxState.unchecked,\n };\n\n const [state, dispatch] = useReducer(reducer, initialState);\n\n return (\n \n {\n if (\n state.controllerCheckbox === CheckboxState.unchecked ||\n state.controllerCheckbox === CheckboxState.indeterminate\n ) {\n dispatch({ type: 'check', payload: 'controllerCheckbox' });\n } else {\n dispatch({ type: 'uncheck', payload: 'controllerCheckbox' });\n }\n }}\n />\n \n {Object.entries(state).map((entry) => {\n if (entry[0] === 'controllerCheckbox') {\n return null;\n }\n return (\n \n {\n if (entry[1] === CheckboxState.unchecked) {\n dispatch({ type: 'check', payload: entry[0] });\n } else {\n dispatch({ type: 'uncheck', payload: entry[0] });\n }\n }}\n />\n \n );\n })}\n \n \n );\n}"}},GroupWithParent.parameters),Playground.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_4__.Z)({storySource:{source:"(args) => {\n const [checkedItems, setCheckedItems] = useState({});\n const options = ['Option 1', 'Option 2', 'Option 3'];\n\n const handleChange = (e) => {\n const item = e.target.name;\n const isChecked = e.target.checked;\n setCheckedItems({ ...checkedItems, [item]: isChecked });\n };\n\n const [indeterminateState, setIndeterminateState] = useState('indeterminate');\n\n const handleIndeterminateChange = () => {\n if (indeterminateState === 'indeterminate') {\n setIndeterminateState('checked');\n } else if (indeterminateState === 'checked') {\n setIndeterminateState('unchecked');\n } else {\n setIndeterminateState('indeterminate');\n }\n };\n\n const styles = {\n '--size': `${args.size}px`,\n '--icon-scale': args.iconScale,\n '--border-width': `${args.borderWidth}px`,\n '--outline-width': `${args.outlineWidth}px`,\n '--label-font-size': `${args.labelFontSize}px`,\n '--label-padding': `${args.labelPadding}px`,\n '--background-unselected': args.backgroundUnselected,\n '--background-selected': args.backgroundSelected,\n '--background-hover': args.backgroundHover,\n '--background-disabled': args.backgroundDisabled,\n '--border-color-selected': args.borderColorSelected,\n '--border-color-selected-hover': args.borderColorSelectedHover,\n '--border-color-selected-focus': args.borderColorSelectedFocus,\n '--border-color-unselected': args.borderColorUnselected,\n '--border-color-unselected-hover': args.borderColorUnselectedHover,\n '--border-color-unselected-focus': args.borderColorUnselectedFocus,\n '--border-color-disabled': args.borderColorDisabled,\n '--focus-outline-color': args.focusOutlineColor,\n '--icon-color-unselected': args.iconColorUnselected,\n '--icon-color-selected': args.iconColorSelected,\n '--icon-color-disabled': args.iconColorDisabled,\n '--label-color': args.labelColorDefault,\n '--label-color-disabled': args.labelColorDisabled,\n } as React.CSSProperties;\n\n return (\n <>\n {options.map((item) => (\n \n ))}\n \n \n \n >\n );\n}"}},Playground.parameters);try{WithTooltip.displayName="WithTooltip",WithTooltip.__docgenInfo={description:"",displayName:"WithTooltip",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/checkbox/Checkbox.stories.tsx#WithTooltip"]={docgenInfo:WithTooltip.__docgenInfo,name:"WithTooltip",path:"src/components/checkbox/Checkbox.stories.tsx#WithTooltip"})}catch(__react_docgen_typescript_loader_error){}try{Playground.displayName="Playground",Playground.__docgenInfo={description:"",displayName:"Playground",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/checkbox/Checkbox.stories.tsx#Playground"]={docgenInfo:Playground.__docgenInfo,name:"Playground",path:"src/components/checkbox/Checkbox.stories.tsx#Playground"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/container/Container.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Example:()=>Example,default:()=>Container_stories});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),objectWithoutProperties=(__webpack_require__("../../node_modules/react/index.js"),__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"));__webpack_require__("./src/styles/base.css");const Container_module_container="Container_container__T6j24 container_hds-container__1LLqG";var classNames=__webpack_require__("./src/utils/classNames.ts"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),_excluded=["children","className"],Container=function Container(_ref){var children=_ref.children,className=_ref.className,rest=(0,objectWithoutProperties.Z)(_ref,_excluded);return(0,jsx_runtime.jsx)("div",(0,objectSpread2.Z)((0,objectSpread2.Z)({className:(0,classNames.Z)(Container_module_container,className)},rest),{},{children}))};try{Container.displayName="Container",Container.__docgenInfo={description:"",displayName:"Container",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/container/Container.tsx#Container"]={docgenInfo:Container.__docgenInfo,name:"Container",path:"src/components/container/Container.tsx#Container"})}catch(__react_docgen_typescript_loader_error){}const Container_stories={parameters:{storySource:{source:"import React from 'react';\n\nimport { Container } from './Container';\n\nexport default {\n component: Container,\n title: 'Components/Container',\n};\n\nexport const Example = (args) => (\n \n \n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore\n magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.\n Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\n
\n \n);\n",locationsMap:{example:{startLoc:{col:23,line:10},endLoc:{col:1,line:19},startBody:{col:23,line:10},endBody:{col:1,line:19}}}}},component:Container,title:"Components/Container"};var Example=function Example(args){return(0,jsx_runtime.jsx)(Container,(0,objectSpread2.Z)((0,objectSpread2.Z)({},args),{},{children:(0,jsx_runtime.jsx)("p",{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."})}))};Example.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => (\n \n \n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore\n magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.\n Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\n
\n \n)"}},Example.parameters);try{Example.displayName="Example",Example.__docgenInfo={description:"",displayName:"Example",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/container/Container.stories.tsx#Example"]={docgenInfo:Example.__docgenInfo,name:"Example",path:"src/components/container/Container.stories.tsx#Example"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/cookieConsent/CookieConsent.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{CustomContentVersion:()=>CustomContentVersion,DebugVersion:()=>DebugVersion,EnglishModalVersion:()=>EnglishModalVersion,FinnishModalVersion:()=>FinnishModalVersion,PageVersion:()=>PageVersion,SimpleModalVersion:()=>SimpleModalVersion,TunnistamoLoginCookies:()=>TunnistamoLoginCookies,default:()=>CookieConsent_stories});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),toConsumableArray=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),slicedToArray=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react=__webpack_require__("../../node_modules/react/index.js"),lodash_pick=__webpack_require__("../../node_modules/lodash.pick/index.js"),lodash_pick_default=__webpack_require__.n(lodash_pick),lodash_isobject=__webpack_require__("../../node_modules/lodash.isobject/index.js"),lodash_isobject_default=__webpack_require__.n(lodash_isobject),lodash_isundefined=__webpack_require__("../../node_modules/lodash.isundefined/index.js"),lodash_isundefined_default=__webpack_require__.n(lodash_isundefined),cookie=__webpack_require__("../../node_modules/cookie/index.js");function getNamedCookie(name){return function getAll(){return cookie.parse(document.cookie)}()[name]}function cookieController_createCookieController(options,cookieName){var defaultCookieSetOptions={path:"/",secure:!1,sameSite:"strict",maxAge:void 0},cookieOptions=(0,objectSpread2.Z)((0,objectSpread2.Z)({},defaultCookieSetOptions),options);if("undefined"==typeof window)return{get:function get(){return""},set:function set(){return""}};return{get:function getCookie(){return getNamedCookie(cookieName)||""},set:function setCookie(data){!function setNamedCookie(name,value,options){document.cookie=cookie.serialize(name,value,options)}(cookieName,data,cookieOptions)}}}var COOKIE_NAME="city-of-helsinki-cookie-consents";function convertStringArrayToKeyConsentObject(array){return array.reduce((function(current,key){return current[key]=!1,current}),{})}function mergeConsents(set1,set2,set3){return(0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)({},set1),set2),set3)}function parseConsents(jsonString){if(!jsonString||jsonString.length<2||"{"!==jsonString.charAt(0))return{};try{return JSON.parse(jsonString)}catch(e){return{}}}var getCookieDomainFromUrl=function getCookieDomainFromUrl(){return"undefined"==typeof window?"":window.location.hostname.split(".").slice(-2).join(".")};function createStorage(initialValues){var storage=(0,objectSpread2.Z)({},initialValues),getStorage=function getStorage(){return storage},findConsentSource=function findConsentSource(consentName,targetStorage){return lodash_isundefined_default()(targetStorage.required[consentName])?lodash_isundefined_default()(targetStorage.optional[consentName])?void 0:targetStorage.optional:targetStorage.required},setConsents=function setConsents(keys,value){var copiedStorage=function copyStorage(){return{optional:(0,objectSpread2.Z)({},storage.optional),required:(0,objectSpread2.Z)({},storage.required),unknown:(0,objectSpread2.Z)({},storage.unknown)}}();return keys.forEach((function(key){!function updateConsent(targetStorage,consentName,value){var target=findConsentSource(consentName,targetStorage);if(!target)throw new Error("Unknown consent ".concat(consentName));target[consentName]=value}(copiedStorage,key,value)})),function updateStorage(newStorage){storage=newStorage}(copiedStorage),copiedStorage};return{getAll:function getAll(){return getStorage()},getConsentByName:function getConsentByName(consentName){var target=findConsentSource(consentName,getStorage());return!!target&&target[consentName]},approve:function approve(keys){return setConsents(keys,!0)},reject:function reject(keys){return setConsents(keys,!1)}}}function createConsentController(props){!function verifyConsentProps(_ref){var optionalConsents=_ref.optionalConsents,requiredConsents=_ref.requiredConsents;requiredConsents&&optionalConsents&&requiredConsents.forEach((function(consent){if(optionalConsents.includes(consent))throw new Error("optional consent '".concat(consent,"' found in requiredConsents."))}))}(props);var _props$optionalConsen=props.optionalConsents,optionalConsents=void 0===_props$optionalConsen?[]:_props$optionalConsen,_props$requiredConsen=props.requiredConsents,requiredConsents=void 0===_props$requiredConsen?[]:_props$requiredConsen,allConsents=[].concat((0,toConsumableArray.Z)(optionalConsents),(0,toConsumableArray.Z)(requiredConsents)),cookieController=cookieController_createCookieController({maxAge:31536e3,domain:props.cookieDomain||getCookieDomainFromUrl()},COOKIE_NAME),currentConsentsInCookie=parseConsents(cookieController.get()),required=mergeConsents(convertStringArrayToKeyConsentObject(requiredConsents),lodash_pick_default()(currentConsentsInCookie,requiredConsents)),optional=mergeConsents(convertStringArrayToKeyConsentObject(optionalConsents),lodash_pick_default()(currentConsentsInCookie,optionalConsents)),unknownConsentKeys=Object.keys(currentConsentsInCookie).filter((function(key){return!allConsents.includes(key)})),storage=createStorage({required,optional,unknown:unknownConsentKeys.length?lodash_pick_default()(currentConsentsInCookie,unknownConsentKeys):void 0});return{getRequired:function getRequired(){return storage.getAll().required},getOptional:function getOptional(){return storage.getAll().optional},update:function update(consentName,value){var arr=[consentName];value?storage.approve(arr):storage.reject(arr)},approveAll:function approveAll(){storage.approve(allConsents)},approveRequired:function approveRequired(){storage.approve(requiredConsents)},getRequiredWithoutConsent:function getRequiredWithoutConsent(){return requiredConsents.filter((function(key){return!0!==storage.getConsentByName(key)}))},rejectAll:function rejectAll(){storage.reject(allConsents)},getUnhandledConsents:function getUnhandledConsents(){var storedCookies=parseConsents(cookieController.get());return allConsents.filter((function(key){return lodash_isundefined_default()(storedCookies[key])}))},save:function save(){var currentVersion=function getConsents(){return storage.getAll()}(),consents=mergeConsents(currentVersion.required,currentVersion.optional,currentVersion.unknown);return cookieController.set(function createConsentsString(consents){return lodash_isobject_default()(consents)?JSON.stringify(consents):"{}"}(consents)),consents}}}var objectWithoutProperties=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),lodash_get=__webpack_require__("../../node_modules/lodash.get/index.js"),lodash_get_default=__webpack_require__.n(lodash_get);var _excluded=["commonGroup","groupId","commonCookie"],commonContent=function getCookieContent(){var commonLanguageTranslations={fi:{description:"Eväste vaaditaan jotta käyttäjän kielivalinta säilyisi.",expiration:"Istunto"},sv:{description:"Kakan krävs för att spara användarens språkval.",expiration:"Session"},en:{description:"Required to persist the user's chosen language.",expiration:"Session"}},commonLoginTranslations={fi:{description:"Tunnistautumisistunnon säilymiseksi vaadittu eväste.",expiration:"Istunto"},sv:{description:"Cookie som krävs för att bevara autentiseringssession.",expiration:"Session"},en:{description:"Required to persist the authentication session.",expiration:"Session"}},commonSecurityControlTranslations={fi:{description:"Tietoturvakontrolli",expiration:"365 päivää"},sv:{description:"Datasäkerhetskontroll",expiration:"365 dagar"},en:{description:"A security control",expiration:"365 days"}},commonLoginGroupTranslations={fi:{title:"Kirjautuminen",text:"Kirjautumisevästeitä käytetään käyttäjän kirjautuessa palveluun.",expandAriaLabel:"Näytä kirjautumiseen liittyvien evästeiden tiedot",checkboxAriaDescription:"Kirjautumisevästeitä käytetään käyttäjän kirjautuessa palveluun."},sv:{title:"Inloggning",text:"Inloggningskakor används när användaren loggar in på tjänsten.",expandAriaLabel:"Visa information om inloggningskakor",checkboxAriaDescription:"Inloggningskakor används när användaren loggar in på tjänsten."},en:{title:"Login",text:"Login cookies are used when the user logs in to the service.",expandAriaLabel:"Show cookie information related to login",checkboxAriaDescription:"Login cookies are used when the user logs in to the service."}},commonTrackingCookieDescription_fi="Eväste kerää tietoa kävijän liikkeistä sivustolla.",commonTrackingCookieDescription_sv="Statistiksystemets kaka samlar information om hur webbplatsen används.",commonTrackingCookieDescription_en="This cookie is used to store a few details about the user such as the unique visitor ID.",keycloakUrl="tunnistus.hel.fi";return{texts:{sections:{main:{fi:{title:"{{siteName}} käyttää evästeitä",text:"Tämä sivusto käyttää välttämättömiä evästeitä sivun perustoimintojen ja suorituskyvyn varmistamiseksi. Lisäksi käytämme kohdennusevästeitä käyttäjäkokemuksen parantamiseksi, analytiikkaan ja yksilöidyn sisällön näyttämiseen."},sv:{title:"{{siteName}} använder kakor",text:"Denna webbplats använder obligatoriska kakor för att säkerställa de grundläggande funktionerna och prestandan. Dessutom använder vi inriktningskakor för bättre användarupplevelse, analytik och individualiserat innehåll."},en:{title:"{{siteName}} uses cookies",text:"This website uses required cookies to ensure the basic functionality and performance. In addition, we use targeting cookies to improve the user experience, perform analytics and display personalised content."}},details:{fi:{title:"Tietoa sivustolla käytetyistä evästeistä",text:"Sivustolla käytetyt evästeet on luokiteltu käyttötarkoituksen mukaan. Alla voit lukea eri luokista ja sallia tai kieltää evästeiden käytön."},sv:{title:"Information om kakor som används på webbplatsen",text:"Kakorna som används på webbplatsen har klassificerats enligt användningsändamål. Du kan läsa om de olika klasserna och acceptera eller förbjuda användningen av kakor."},en:{title:"About the cookies used on the website",text:"The cookies used on the website have been classified according to their intended use. Below, you can read about the various categories and accept or reject the use of cookies."}}},ui:{fi:{showSettings:"Näytä evästeasetukset",hideSettings:"Piilota asetukset",approveAllConsents:"Hyväksy kaikki evästeet",approveRequiredAndSelectedConsents:"Hyväksy valitut evästeet",approveOnlyRequiredConsents:"Hyväksy vain välttämättömät evästeet",settingsSaved:"Asetukset tallennettu!",readMore:"Lue lisää"},sv:{showSettings:"Visa kakinställningarna",hideSettings:"Stänga kakinställningarna",approveAllConsents:"Acceptera alla kakor",approveRequiredAndSelectedConsents:"Acceptera valda kakor",approveOnlyRequiredConsents:"Acceptera endast nödvändiga",settingsSaved:"Inställningar sparade!",readMore:"Läs mer"},en:{showSettings:"Show cookie settings",hideSettings:"Hide cookie settings",approveAllConsents:"Accept all cookies",approveRequiredAndSelectedConsents:"Accept selected cookies",approveOnlyRequiredConsents:"Accept required cookies only",settingsSaved:"Settings saved!",readMore:"Read more"}},tableHeadings:{fi:{name:"Nimi",hostName:"Evästeen asettaja",description:"Käyttötarkoitus",expiration:"Voimassaoloaika"},sv:{name:"Namn",hostName:"Den som lagrat kakan",description:"Användning",expiration:"Giltighetstid"},en:{name:"Name",hostName:"Cookie set by",description:"Purpose of use",expiration:"Period of validity"}}},language:{languageOptions:[{code:"fi",label:"Suomeksi (FI)"},{code:"sv",label:"Svenska (SV)"},{code:"en",label:"English (EN)"}],languageSelectorAriaLabel:"Kieli: Suomi. Vaihda kieli. Change language. Ändra språk."},requiredCookies:{fi:{title:"Välttämättömät evästeet",text:"Välttämättömien evästeiden käyttöä ei voi kieltää. Ne mahdollistavat sivuston toiminnan ja vaikuttavat käytettävyyteen.",checkboxAriaDescription:"Välttämättömien evästeiden käyttöä ei voi kieltää. Ne mahdollistavat sivuston toiminnan ja vaikuttavat käytettävyyteen."},sv:{title:"Nödvändig kakor",text:"Du kan inte förbjuda användningen av nödvändiga kakorna. De möjliggör webbplatsens funktioner och påverkar användbarheten.",checkboxAriaDescription:"Du kan inte förbjuda användningen av nödvändiga kakorna. De möjliggör webbplatsens funktioner och påverkar användbarheten."},en:{title:"Necessary cookies",text:"Necessary cookies cannot be rejected. They enable the proper functioning of the website and affect the usability.",checkboxAriaDescription:"Necessary cookies cannot be rejected. They enable the proper functioning of the website and affect the usability."}},optionalCookies:{fi:{title:"Valinnaiset evästeet",text:"Voit hyväksyä tai kieltää valinnaiset evästeet.",checkboxAriaDescription:"Voit hyväksyä tai kieltää valinnaiset evästeet."},sv:{title:"Valfri kakor",text:"Du kan acceptera eller förbjuda de valfria kakorna.",checkboxAriaDescription:"Du kan acceptera eller förbjuda de valfria kakorna."},en:{title:"Optional cookies",text:"You can accept or reject optional cookies.",checkboxAriaDescription:"You can accept or reject optional cookies."}},commonGroups:{login:(0,objectSpread2.Z)({},commonLoginGroupTranslations),marketing:{fi:{title:"Mainonta ja markkinointi",text:"Markkinointievästeiden avulla sivuston käyttäjille voidaan kohdentaa sisältöjä.",expandAriaLabel:"Näytä mainontaan ja markkinointiin liittyvien evästeiden tiedot",checkboxAriaDescription:"Markkinointievästeiden avulla sivuston käyttäjille voidaan kohdentaa sisältöjä."},sv:{title:"Reklam och marknadsföring",text:"Med hjälp av marknadsföringskakor kan innehåll riktas till webbplatsens användare.",expandAriaLabel:"Visa information om reklam- och marknadsföringskakor",checkboxAriaDescription:"Med hjälp av marknadsföringskakor kan innehåll riktas till webbplatsens användare."},en:{title:"Advertising and marketing",text:"Marketing cookies can be used to target content to users of the website.",expandAriaLabel:"Show cookie information related to advertising and marketing",checkboxAriaDescription:"Marketing cookies can be used to target content to users of the website."}},preferences:{fi:{title:"Mieltymykset",text:"Mieltymysevästeet mukauttavat sivuston ulkoasua ja toimintaa käyttäjän tekemien valintojen perusteella.",expandAriaLabel:"Näytä mieltymyksiin liittyvien evästeiden tiedot",checkboxAriaDescription:"Mieltymysevästeet mukauttavat sivuston ulkoasua ja toimintaa käyttäjän tekemien valintojen perusteella."},sv:{title:"Preferenser",text:"Preferenskakor ändrar webbplatsens utseende och funktioner enligt användarens tidigare val.",expandAriaLabel:"Visa information om preferenskakor",checkboxAriaDetextscription:"Preferenskakor ändrar webbplatsens utseende och funktioner enligt användarens tidigare val."},en:{title:"Preferences",text:"Preference cookies customise the layout and operation of the website based on the choices made by the user.",expandAriaLabel:"Show cookie information related to preferences",checkboxAriaDescription:"Preference cookies customise the layout and operation of the website based on the choices made by the user."}},userInputs:{fi:{title:"Käyttäjän syötteet",text:"Syöte-evästeillä voidaan tallentaa käyttäjän palveluun syöttämiä tietoja.",expandAriaLabel:"Näytä käyttäjän syötteisiin liittyvien evästeiden tiedot",checkboxAriaDescription:"Syöte-evästeillä voidaan tallentaa käyttäjän palveluun syöttämiä tietoja."},sv:{title:"Användarens input",text:"Med inputskakor kan man lagra information som användaren matar in i tjänsten.",expandAriaLabel:"Visa information om inputskakor",checkboxAriaDescription:"Med inputskakor kan man lagra information som användaren matar in i tjänsten."},en:{title:"User input",text:"User-input cookies can be used to store information entered by the user in the service.",expandAriaLabel:"Show cookie information related to the user's input",checkboxAriaDescription:"User-input cookies can be used to store information entered by the user in the service."}},informationSecurity:{fi:{title:"Tietoturva",text:"Tietoturvaevästeet mahdollistavat turvallisen tiedonsiirron käyttäjän ja palvelun välillä.",expandAriaLabel:"Näytä tietoturvaan liittyvien evästeiden tiedot",checkboxAriaDescription:"Tietoturvaevästeet mahdollistavat turvallisen tiedonsiirron käyttäjän ja palvelun välillä."},sv:{title:"Datasäkerhet",text:"Datasäkerhetskakor möjliggör en säker dataöverföring mellan användaren och tjänsten.",expandAriaLabel:"Visa information om datasäkerhetskakor",checkboxAriaDescription:"Datasäkerhetskakor möjliggör en säker dataöverföring mellan användaren och tjänsten."},en:{title:"Information security",text:"Security cookies enable secure data transfer between the user and the service.",expandAriaLabel:"Show cookie information related to information security",checkboxAriaDescription:"Security cookies enable secure data transfer between the user and the service."}},socialMedia:{fi:{title:"Sosiaalinen media",text:"Sosiaalisen median evästeet liittyvät erilaisten sosiaalisen median palveluiden ominaisuuksiin.",expandAriaLabel:"Näytä sosiaaliseen mediaan liittyvien evästeiden tiedot",checkboxAriaDescription:"Sosiaalisen median evästeet liittyvät erilaisten sosiaalisen median palveluiden ominaisuuksiin."},sv:{title:"Sociala medier",text:"Sociala medier-kakor förknippas med olika sociala medie-tjänsters egenskaper.",expandAriaLabel:"Visa information om kakor för sociala medier",checkboxAriaDescription:"Sociala medier-kakor förknippas med olika sociala medie-tjänsters egenskaper."},en:{title:"Social media",text:"Social media cookies are related to the characteristics of various social media services.",expandAriaLabel:"Show cookie information related to social media",checkboxAriaDescription:"Social media cookies are related to the characteristics of various social media services."}},accessibility:{fi:{title:"Saavutettavuus",text:"Saavutettavuusevästeet mahdollistavat palvelun joitakin saavutettavuusominaisuuksia.",expandAriaLabel:"Näytä saavutettavuuteen liittyvien evästeiden tiedot",checkboxAriaDescription:"Saavutettavuusevästeet mahdollistavat palvelun joitakin saavutettavuusominaisuuksia."},sv:{title:"Tillgänglighet",text:"Tillgänglighetskakor möjliggör vissa egenskaper för tjänstens tillgänglighet.",expandAriaLabel:"Visa information om tillgänglighetskakor",checkboxAriaDescription:"Tillgänglighetskakor möjliggör vissa egenskaper för tjänstens tillgänglighet."},en:{title:"Accessibility",text:"Accessibility cookies enable some of the service's accessibility features.",expandAriaLabel:"Show cookie information related to accessibility",checkboxAriaDescription:"Accessibility cookies enable some of the service's accessibility features."}},deviceInfo:{fi:{title:"Laitetiedot",text:"Laitetietoevästeet sisältävät sellaisia käyttäjän laitteelta kerättyjä tietoja, joilla varmistetaan palvelun toiminta.",expandAriaLabel:"Näytä laitetietoihin liittyvien evästeiden tiedot",checkboxAriaDescription:"Laitetietoevästeet sisältävät sellaisia käyttäjän laitteelta kerättyjä tietoja, joilla varmistetaan palvelun toiminta."},sv:{title:"Enhetsuppgifter",text:"Kakor för enhetsuppgifterna innehåller sådana uppgifter som samlats in från användarens enhet med vilka tjänstens funktioner säkerställs.",expandAriaLabel:"Visa information om kakor för enhetsuppgifterna",checkboxAriaDescription:"Kakor för enhetsuppgifterna innehåller sådana uppgifter som samlats in från användarens enhet med vilka tjänstens funktioner säkerställs."},en:{title:"Device information",text:"Device information cookies contain information collected from the user's device that ensures the functionality of the service.",expandAriaLabel:"Show cookie information related to device information",checkboxAriaDescription:"Device information cookies contain information collected from the user's device that ensures the functionality of the service."}},chat:{fi:{title:"Chat-palvelut",text:"Chat-palveluiden evästeet mahdollistavat yhteydenpidon käyttäjän ja palvelun välillä.",expandAriaLabel:"Näytä chat-palveluihin liittyvien evästeiden tiedot",checkboxAriaDescription:"Chat-palveluiden evästeet mahdollistavat yhteydenpidon käyttäjän ja palvelun välillä."},sv:{title:"Chattjänster",text:"Kakor för chattjänsterna möjliggör kontakten mellan användaren och tjänsten.",expandAriaLabel:"Visa information om kakor för chattjänsterna",checkboxAriaDescription:"Kakor för chattjänsterna möjliggör kontakten mellan användaren och tjänsten."},en:{title:"Chat services",text:"Chat service cookies enable communication between the user and the service.",expandAriaLabel:"Show cookie information related to chat services",checkboxAriaDescription:"Chat service cookies enable communication between the user and the service."}},thirdParty:{fi:{title:"Kolmannen osapuolen palvelut",text:"Evästeet mahdollistavat ulkopuolisten palvelujen (kuten sosiaalisen median alustojen) toiminnan tällä sivustolla.",expandAriaLabel:"Näytä kolmansiin osapuoliin liittyvien evästeiden tiedot",checkboxAriaDescription:"Evästeet mahdollistavat ulkopuolisten palvelujen (kuten sosiaalisen median alustojen) toiminnan tällä sivustolla."},sv:{title:"Tredje parts tjänster",text:"Kakor möjliggör utomstående tjänsters (såsom sociala medie-plattformar) funktioner på denna webbplats.",expandAriaLabel:"Visa information om tredjepartskakor",checkboxAriaDescription:"Kakor möjliggör utomstående tjänsters (såsom sociala medie-plattformar) funktioner på denna webbplats."},en:{title:"Third-party services",text:"Cookies allow external services (such as social media platforms) to operate on this website.",expandAriaLabel:"Show cookie information related to third parties",checkboxAriaDescription:"Cookies allow external services (such as social media platforms) to operate on this website."}},content:{fi:{title:"Sisällön esittäminen",text:"Evästeitä hyödynnetään erilaisten sisältöjen näyttämiseen käyttäjälle.",expandAriaLabel:"Näytä sisällön esittämiseen liittyvien evästeiden tiedot",checkboxAriaDescription:"Evästeitä hyödynnetään erilaisten sisältöjen näyttämiseen käyttäjälle."},sv:{title:"Visning av innehåll",text:"Kakor utnyttjas för att visa olika innehåll för användaren.",expandAriaLabel:"Visa information om kakor för visning av innehåll",checkboxAriaDescription:"Kakor utnyttjas för att visa olika innehåll för användaren."},en:{title:"Content presentation",text:"Cookies are used to display various types of content to the user.",expandAriaLabel:"Show cookie information related to content presentation",checkboxAriaDescription:"Cookies are used to display various types of content to the user."}},location:{fi:{title:"Sijainti",text:"Sijaintievästeiden avulla voidaan hyödyntää käyttäjän laitteelta saatua sijaintitietoa (GPS).",expandAriaLabel:"Näytä sijaintiin liittyvien evästeiden tiedot",checkboxAriaDescription:"Sijaintievästeiden avulla voidaan hyödyntää käyttäjän laitteelta saatua sijaintitietoa (GPS)."},sv:{title:"Läge",text:"Med hjälp av lägeskakor kan man utnyttja lägesdata som fåtts från användarens enhet (GPS).",expandAriaLabel:"Visa information om lägeskakor",checkboxAriaDescription:"Med hjälp av lägeskakor kan man utnyttja lägesdata som fåtts från användarens enhet (GPS)."},en:{title:"Location",text:"Location cookies can be used to utilise location information (GPS) received from the user's device.",expandAriaLabel:"Show cookie information related to location",checkboxAriaDescription:"Location cookies can be used to utilise location information (GPS) received from the user’s device."}},loadBalancing:{fi:{title:"Kuormantasaus",text:"Kuormantasausevästeiden avulla varmistetaan, että palvelu latautuu ja toimii nopeasti ja tehokkaasti.",expandAriaLabel:"Näytä kuormantasaukseen liittyvien evästeiden tiedot",checkboxAriaDescription:"Kuormantasausevästeiden avulla varmistetaan, että palvelu latautuu ja toimii nopeasti ja tehokkaasti."},sv:{title:"Belastningsutjämning",text:"Med hjälp av belastningsutjämningskakor säkerställer man att tjänsten laddas och fungerar snabbt och effektivt.",expandAriaLabel:"Visa information om belastningsutjämningskakor",checkboxAriaDescription:"Med hjälp av belastningsutjämningskakor säkerställer man att tjänsten laddas och fungerar snabbt och effektivt."},en:{title:"Load balancing",text:"Load-balancing cookies ensure that the service loads and works quickly and efficiently.",expandAriaLabel:"Show cookie information related to load-balancing",checkboxAriaDescription:"Load-balancing cookies ensure that the service loads and works quickly and efficiently."}},essential:{fi:{title:"Perustoimintoihin liittyvät evästeet",text:"Perustoimintoihin liittyviä evästeitä ei voi hylätä. Ne mahdollistavat sivuston kunnollisen toimivuuden ja vaikuttavat käytettävyyteen.",expandAriaLabel:"Näytä perustoimintoihin liittyvien evästeiden tiedot",checkboxAriaDescription:"Sivusto ei toimi ilman näitä"},sv:{title:"Kakor för grundläggande funktioner",text:"Du kan inte förbjuda användningen av kakor för grundläggande funktioner. De möjliggör webbplatsens funktioner och påverkar användbarheten.",expandAriaLabel:"Visa information om kakor för grundläggande funktioner",checkboxAriaDescription:"Du kan inte förbjuda användningen av kakor för grundläggande funktioner. De möjliggör webbplatsens funktioner och påverkar användbarheten."},en:{title:"Cookies related to basic functionalities",text:"Cookies related to basic functionalities cannot be rejected. They enable the proper functioning of the website and affect the usability.",expandAriaLabel:"Show cookie information related to basic functionalities",checkboxAriaDescription:"Cookies related to basic functionalities cannot be rejected. They enable the proper functioning of the website and affect the usability"}},statistics:{fi:{title:"Tilastointi",text:"Tilastointievästeiden keräämää tietoa käytetään verkkosivuston kehittämiseen.",expandAriaLabel:"Näytä tilastointiin liittyvien evästeiden tiedot",checkboxAriaDescription:"Tilastointievästeiden keräämää tietoa käytetään verkkosivuston kehittämiseen."},sv:{title:"Statistik",text:"Data från statistikkakorna används för att utveckla webbplatsen.",expandAriaLabel:"Visa information om statistikkakor",checkboxAriaDescription:"Data från statistikkakorna används för att utveckla webbplatsen."},en:{title:"Statistics",text:"The information collected by statistics cookies is used to develop the website.",expandAriaLabel:"Show cookie information related to statistics",checkboxAriaDescription:"The information collected by statistics cookies is used to develop the website."}},sharedConsents:{fi:{title:"Yhteiset evästeet",text:"Helsingin kaupungin palvelut käyttävät yhteisiä evästeitä. Tallennamme nämä suostumukset, jottei sinun tarvitse hyväksyä samoja evästeitä uudelleen kaupungin muissa palveluissa.",expandAriaLabel:"Näytä yhteisiin evästesuostumuksiin liittyvien evästeiden tiedot",checkboxAriaDescription:"Helsingin kaupungin palvelut käyttävät yhteisiä evästeitä. Tallennamme nämä suostumukset, jottei sinun tarvitse hyväksyä samoja evästeitä uudelleen muissa kaupungin palveluissa."},sv:{title:"Gemensamma kakor",text:"Helsingfors stads tjänster använder gemensamma kakor . Vi lagrar dessa samtycken så att du inte behöver godkänna samma kakor igen i stadens andra tjänster.",expandAriaLabel:"Visa information om kakor för gemensamt samtycke",checkboxAriaDescription:"Helsingfors stads tjänster använder gemensamma kakor . Vi lagrar dessa samtycken så att du inte behöver godkänna samma kakor igen i stadens andra tjänster."},en:{title:"Shared consent",text:"City of Helsinki services use shared consent. We will store these consents so that you do not have to accept the same cookies again on other City services.",expandAriaLabel:"Show cookie information related to shared cookie consent",checkboxAriaDescription:"City of Helsinki services use shared consent. We will store these consents so that you do not have to accept the same cookies again on other City services."}},language:{fi:{title:"Kielivalinnat",text:"Kielievästeisiin tallennetaan käyttäjän tekemät kielivalinnat, jotta valittu kieli säilyisi.",expandAriaLabel:"Näytä kielievästeisiin liittyvien evästeiden tiedot",checkboxAriaDescription:"Kielievästeisiin tallennetaan käyttäjän tekemät kielivalinnat, jotta valittu kieli säilyisi."},sv:{title:"Språkval",text:"I språkkakorna lagras användarens språkval för att minnas vilket språk som har valts.",expandAriaLabel:"Visa information om kakor för språkvalkakor",checkboxAriaDescription:"I språkkakorna lagras användarens språkval för att minnas vilket språk som har valts."},en:{title:"Language settings",text:"Language cookies store the language selections by the user to remember the preferred language.",expandAriaLabel:"Show cookie information related to language settings",checkboxAriaDescription:"Language cookies store the language selections by the user to remember the preferred language."}},tunnistamoLogin:(0,objectSpread2.Z)((0,objectSpread2.Z)({},commonLoginGroupTranslations),{},{cookies:[{commonCookie:"keycloak"},{commonCookie:"keycloak-legacy"},{commonCookie:"keycloak-generic"},{commonCookie:"tunnistamo"},{commonCookie:"tunnistamo-sessionid"},{commonCookie:"suomifi-session"},{commonCookie:"suomifi-saml"},{commonCookie:"suomifi-shibstate"},{commonCookie:"suomifi-shibsession"},{commonCookie:"suomifi-shib-idp-session"},{commonCookie:"suomifi-logtag"}]})},commonCookies:{helConsentCookie:{id:"SET_IN_CODE",hostName:"*.hel.fi",commonGroup:"SET_IN_CODE",fi:{name:"Evästesuostumukset",description:"Sivusto käyttää tätä evästettä tietojen tallentamiseen siitä, ovatko kävijät antaneet hyväksyntänsä tai kieltäytyneet evästeiden käytöstä.",expiration:"1 vuosi"},sv:{name:"Samtycken till kakor",description:"Webbplatsen använder denna kaka för att lagra information om huruvida besökare har godkänt användningen av kakor eller inte.",expiration:"Ett år"},en:{name:"Cookie consents",description:"Used by hel.fi to store information about whether visitors have given or declined the use of cookie categories used on the hel.fi site.",expiration:"1 year"}},cookiehub:{id:"cookiehub",hostName:"cookiehub.com",name:"cookiehub",fi:{description:"Mahdollistaa evästehallinnan hel.fi sivuilla.",expiration:"365 päivää"},sv:{description:"Möjliggör hantering av kakor på hel.fi webbplatsen.",expiration:"365 dagar"},en:{description:"Used by CookieHub to store information about whether visitors have given or declined the use of cookie categories used on the hel.fi site.",expiration:"365 days"}},keycloak:(0,objectSpread2.Z)({id:"keycloak",hostName:keycloakUrl,name:"AUTH_SESSION_ID"},commonLoginTranslations),matomo:{id:"matomo",hostName:"*.hel.fi",name:"_pk_id.*",fi:{description:commonTrackingCookieDescription_fi,expiration:"393 päivää"},sv:{description:commonTrackingCookieDescription_sv,expiration:"393 dagar"},en:{description:commonTrackingCookieDescription_en,expiration:"393 days"}},matomoSession:{id:"matomo-session",hostName:"*.hel.fi",name:"_pk_ses*",fi:{description:commonTrackingCookieDescription_fi,expiration:"30 minuuttia"},sv:{description:commonTrackingCookieDescription_sv,expiration:"30 minuter"},en:{description:commonTrackingCookieDescription_en,expiration:"30 minutes"}},matomoConsent:{id:"matomo-cookie-consent",hostName:"*.hel.fi",name:"mtm_.*",fi:{description:"Evästeeseen tallennetaan suostumus tilastointievästeisiin.",expiration:"400 päivää"},sv:{description:"Kakan lagrar samtycke för användning av statistikkakorna.",expiration:"400 dagar"},en:{description:"Cookie stores consent for using analytics cookies.",expiration:"400 days"}},"cms-session":{id:"cms-session",hostName:"hel.fi",name:"SSESS*",fi:{description:"Sisällönhallintajärjestelmän toimintaan liittyvä eväste.",expiration:"23 päivää"},sv:{description:"En kaka för driften av innehållshanteringssystemet.",expiration:"23 dagar"},en:{description:"A cookie related to the operation of the content management system.",expiration:"23 days"}},tunnistamo:(0,objectSpread2.Z)({id:"tunnistamo",hostName:"api.hel.fi",name:"sso-sessionid"},commonLoginTranslations),"suomifi-session":(0,objectSpread2.Z)({id:"suomifi-session",hostName:"suomi.fi",name:"JSESSIONID"},commonLoginTranslations),"suomifi-logtag":(0,objectSpread2.Z)({id:"suomifi-logtag",hostName:"suomi.fi",name:"E-Identification-LogTag"},commonLoginTranslations),"suomifi-saml":(0,objectSpread2.Z)({id:"suomifi-saml",hostName:"suomi.fi",name:"_opensaml_req_cookie*"},commonLoginTranslations),"suomifi-shibstate":(0,objectSpread2.Z)({id:"suomifi-shibstate",hostName:"suomi.fi",name:"_shibstate_*"},commonLoginTranslations),"suomifi-shibsession":(0,objectSpread2.Z)({id:"suomifi-shibsession",hostName:"suomi.fi",name:"_shibsession_*"},commonLoginTranslations),"suomifi-shib-idp-session":(0,objectSpread2.Z)({id:"suomifi-shib-idp-session",hostName:"suomi.fi",name:"shib_idp_session"},commonLoginTranslations),"tunnistamo-sessionid":(0,objectSpread2.Z)({id:"tunnistamo-sessionid",hostName:"api.hel.fi",name:"tunnistamo_prod-sessionid"},commonLoginTranslations),"keycloak-legacy":(0,objectSpread2.Z)({id:"keycloak-legacy",hostName:keycloakUrl,name:"AUTH_SESSION_ID_LEGACY"},commonLoginTranslations),"keycloak-generic":(0,objectSpread2.Z)({id:"keycloak-generic",hostName:keycloakUrl,name:"KC_*"},commonLoginTranslations),"tunnistamo-csrftoken":(0,objectSpread2.Z)({id:"tunnistamo-csrftoken",hostName:"api.hel.fi",name:"tunnistamo_prod-csrftoken"},commonSecurityControlTranslations),"profiili-csrftoken":(0,objectSpread2.Z)({id:"profiili-csrftoken",hostName:"api.hel.fi",name:"profiili-prod-csrftoken"},commonSecurityControlTranslations),"tunnistamo-login-loadbalancer":(0,objectSpread2.Z)({id:"tunnistamo-login-loadbalancer",hostName:"".concat("api.hel.fi",", ").concat(keycloakUrl)},{fi:{name:"Satunnainen 32 merkin pituinen merkkijono",description:"Verkkoliikenteen tekninen reititys.",expiration:"Istunto"},sv:{name:"En slumpmässig teckensträng med 32 tecken",description:"Teknisk routning av webbtrafiken.",expiration:"Session"},en:{name:"A random 32-character long string",description:"Technical routing of requests.",expiration:"Session"}}),"keycloak-language":(0,objectSpread2.Z)({id:"keycloak-language",name:"KEYCLOAK_LOCALE",hostName:keycloakUrl},commonLanguageTranslations),"suomifi-language":(0,objectSpread2.Z)({id:"suomifi-language",name:"E-Identification-Lang",hostName:"suomi.fi"},commonLanguageTranslations)}}}();function getTexts(language,siteName){var texts=commonContent.texts,textContent={sections:{main:(0,objectSpread2.Z)({},texts.sections.main[language]),details:(0,objectSpread2.Z)({},texts.sections.details[language])},ui:(0,objectSpread2.Z)({},texts.ui[language]),tableHeadings:(0,objectSpread2.Z)({},texts.tableHeadings[language])};return textContent.sections.main.title=textContent.sections.main.title.replace("{{siteName}}",siteName),textContent}function getLanguage(lang,overrides){var language=commonContent.language;return(0,objectSpread2.Z)((0,objectSpread2.Z)({},language),{},{current:lang,onLanguageChange:function onLanguageChange(){}},overrides)}function getCommonCookieGroup(id){var commonGroups=commonContent.commonGroups;if(!commonGroups[id])throw new Error("Unknown common consent group ".concat(id));return commonGroups[id]}function mergeCookieGroupCookieSources(groupSource){var cookiesFromCommonGroup=groupSource.commonGroup?function getCommonCookieGroupTextsCookies(id){return getCommonCookieGroup(id).cookies||[]}(groupSource.commonGroup):[],cookiesFromSource=groupSource.cookies||[];return[].concat((0,toConsumableArray.Z)(cookiesFromCommonGroup),(0,toConsumableArray.Z)(cookiesFromSource))}function getCommonCookie(language,id){var commonCookies=commonContent.commonCookies;if(!commonCookies[id])throw new Error("Unknown common cookie ".concat(id));var dataWithTranslations=commonCookies[id];return(0,objectSpread2.Z)({id:dataWithTranslations.id,hostName:dataWithTranslations.hostName,name:dataWithTranslations.name},commonCookies[id][language])}function setPropsToObject(targetObject,path,value){if(path.includes("_"))throw new Error('String "_" is not allowed in the path to avoid prototype pollution');var splitPath=path.split("."),lastPath=splitPath.pop(),targetPointInObject=splitPath.reduce((function(currentObj,currentPath){return void 0===currentObj[currentPath]&&(currentObj[currentPath]=Object.create(null)),currentObj[currentPath]}),targetObject);return lastPath&&(targetPointInObject[lastPath]=value),targetObject}function mergeObjects(target,source,paths){paths.forEach((function(path){var pickedFromSource=lodash_get_default()(source,path);if(pickedFromSource){var pickedFromTarget=lodash_get_default()(target,path);setPropsToObject(target,path,"string"==typeof pickedFromSource?pickedFromSource||pickedFromTarget:(0,objectSpread2.Z)((0,objectSpread2.Z)({},pickedFromTarget),pickedFromSource))}}))}function buildCookieGroups(props){var _props$requiredCookie,_props$optionalCookie,_props$requiredCookie2,_props$optionalCookie2,requiredCookies=[],optionalCookies=[],groupMap=new Map,currentLanguage=props.currentLanguage,noCommonConsentCookie=props.noCommonConsentCookie,helConsentCookieFound=!1,parseGroup=function parseGroup(groupSource,isRequired){var consentGroup,mapId=groupSource.commonGroup||groupSource.id||groupSource.title;if(!(consentGroup=groupMap.get(mapId))){if(groupSource.commonGroup){["title","text","expandAriaLabel","checkboxAriaDescription"].forEach((function(key){if(groupSource[key])throw new Error("Common group texts cannot be overridden.")}));var groupTexts=function getCommonCookieGroupTexts(language,id){return getCommonCookieGroup(id)[language]}(currentLanguage,groupSource.commonGroup);consentGroup=(0,objectSpread2.Z)((0,objectSpread2.Z)({},groupTexts),{},{cookies:[]})}else consentGroup={title:groupSource.title,text:groupSource.text,expandAriaLabel:groupSource.expandAriaLabel,checkboxAriaDescription:groupSource.checkboxAriaDescription,cookies:[]};groupMap.set(mapId,consentGroup),isRequired?requiredCookies.push(consentGroup):optionalCookies.push(consentGroup)}var cookies=mergeCookieGroupCookieSources(groupSource);cookies.length&&cookies.forEach((function(cookieSource){var _ref=cookieSource,commonCookie=(_ref.commonGroup,_ref.groupId,_ref.commonCookie),cookieProps=(0,objectWithoutProperties.Z)(_ref,_excluded);commonCookie&&["id","name","hostName","description","expiration"].forEach((function(key){if(cookieProps[key])throw new Error("Common cookie properties cannot be overridden.")}));var cookieData=commonCookie?getCommonCookie(currentLanguage,commonCookie):cookieProps;consentGroup.cookies.push(cookieData)}))},parseCookie=function parseCookie(cookie,isRequired){var commonGroup=cookie.commonGroup,groupId=cookie.groupId;if(!(commonGroup||groupId))throw new Error("Cannot add single cookie without a group");parseGroup({commonGroup,id:groupId,cookies:[cookie]},isRequired)};if(null!==(_props$requiredCookie=props.requiredCookies)&&void 0!==_props$requiredCookie&&_props$requiredCookie.groups&&props.requiredCookies.groups.forEach((function(group){parseGroup(group,!0)})),null!==(_props$optionalCookie=props.optionalCookies)&&void 0!==_props$optionalCookie&&_props$optionalCookie.groups&&props.optionalCookies.groups.forEach((function(group){parseGroup(group,!1)})),null!==(_props$requiredCookie2=props.requiredCookies)&&void 0!==_props$requiredCookie2&&_props$requiredCookie2.cookies&&props.requiredCookies.cookies.forEach((function(cookie){parseCookie(cookie,!0),cookie.id===COOKIE_NAME&&(helConsentCookieFound=!0)})),null!==(_props$optionalCookie2=props.optionalCookies)&&void 0!==_props$optionalCookie2&&_props$optionalCookie2.cookies&&props.optionalCookies.cookies.forEach((function(cookie){parseCookie(cookie,!1),cookie.id===COOKIE_NAME&&(helConsentCookieFound=!0)})),!noCommonConsentCookie&&!helConsentCookieFound){var consentCookie=getCommonCookie(currentLanguage,"helConsentCookie");consentCookie.id=COOKIE_NAME,parseGroup({commonGroup:"sharedConsents",cookies:[consentCookie]},!0)}return{requiredCookies,optionalCookies}}function buildConsentCategories(description,overrides,groups){if(overrides||groups&&groups.length){var data=(0,objectSpread2.Z)({},description);return overrides&&mergeObjects(data,overrides,["title","text","checkboxAriaDescription"]),groups&&(data.groups=groups),data}}function createContent(props){var siteName=props.siteName,language=props.language,currentLanguage=props.currentLanguage,optionalCookies=props.optionalCookies,requiredCookies=props.requiredCookies,focusTargetSelector=props.focusTargetSelector,content={texts:getTexts(currentLanguage,siteName),language:getLanguage(currentLanguage,language),focusTargetSelector};props.texts&&mergeObjects(content.texts,props.texts,["sections.main","sections.details","ui","tableHeadings"]);var consentGroups=buildCookieGroups(props),categoryDescriptions=function getCategoryDescriptions(language){var requiredCookies=commonContent.requiredCookies,optionalCookies=commonContent.optionalCookies;return{requiredCookies:requiredCookies[language],optionalCookies:optionalCookies[language]}}(currentLanguage);return content.optionalCookies=buildConsentCategories(categoryDescriptions.optionalCookies,optionalCookies,consentGroups.optionalCookies),content.requiredCookies=buildConsentCategories(categoryDescriptions.requiredCookies,requiredCookies,consentGroups.requiredCookies),content}var jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),ContentContext=(0,react.createContext)((0,objectSpread2.Z)((0,objectSpread2.Z)({},{language:{},texts:{}}),{},{callbacks:{}})),forceFocusToElement=function forceFocusToElement(elementSelector){var focusTarget=document.querySelector(elementSelector);focusTarget&&focusTarget.focus&&(focusTarget.focus(),document.activeElement!==focusTarget&&(focusTarget.setAttribute("tabindex","-1"),focusTarget.focus()))},Provider=function Provider(_ref){var children=_ref.children,contentSource=_ref.contentSource,language=contentSource.currentLanguage,contextData=(0,react.useMemo)((function(){var content=createContent(contentSource),callbacks={onAllConsentsGiven:contentSource.onAllConsentsGiven,onConsentsParsed:contentSource.onConsentsParsed};return(0,objectSpread2.Z)((0,objectSpread2.Z)({},content),{},{callbacks})}),[language]);return(0,jsx_runtime.jsx)(ContentContext.Provider,{value:contextData,children})},useCookieContentContext=function useCookieContentContext(){return(0,react.useContext)(ContentContext)},useUiTexts=function useUiTexts(){return useCookieContentContext().texts.ui},useSectionTexts=function useSectionTexts(section){return useCookieContentContext().texts.sections[section]},useTableData=function useTableData(){return useCookieContentContext().texts.tableHeadings},useContentLanguage=function useContentLanguage(){return useCookieContentContext().language};try{forceFocusToElement.displayName="forceFocusToElement",forceFocusToElement.__docgenInfo={description:"",displayName:"forceFocusToElement",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/cookieConsent/contexts/ContentContext.tsx#forceFocusToElement"]={docgenInfo:forceFocusToElement.__docgenInfo,name:"forceFocusToElement",path:"src/components/cookieConsent/contexts/ContentContext.tsx#forceFocusToElement"})}catch(__react_docgen_typescript_loader_error){}try{Provider.displayName="Provider",Provider.__docgenInfo={description:"",displayName:"Provider",props:{cookieDomain:{defaultValue:null,description:"",name:"cookieDomain",required:!1,type:{name:"string"}},contentSource:{defaultValue:null,description:"",name:"contentSource",required:!0,type:{name:"CookieContentSource"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/cookieConsent/contexts/ContentContext.tsx#Provider"]={docgenInfo:Provider.__docgenInfo,name:"Provider",path:"src/components/cookieConsent/contexts/ContentContext.tsx#Provider"})}catch(__react_docgen_typescript_loader_error){}try{useSectionTexts.displayName="useSectionTexts",useSectionTexts.__docgenInfo={description:"",displayName:"useSectionTexts",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/cookieConsent/contexts/ContentContext.tsx#useSectionTexts"]={docgenInfo:useSectionTexts.__docgenInfo,name:"useSectionTexts",path:"src/components/cookieConsent/contexts/ContentContext.tsx#useSectionTexts"})}catch(__react_docgen_typescript_loader_error){}var ConsentContext=(0,react.createContext)({hasUserHandledAllConsents:function hasUserHandledAllConsents(){return!1},onAction:function onAction(){},getApprovalPercentageForOptional:function getApprovalPercentageForOptional(){return 0},areGroupConsentsApproved:function areGroupConsentsApproved(){return!1}}),getConsentsFromCookieGroup=function getConsentsFromCookieGroup(groups){return groups.reduce((function(ids,currentGroup){return currentGroup.cookies.forEach((function(consentData){ids.push(consentData.id)})),ids}),[])},ConsentContext_Provider=function Provider(_ref){var cookieDomain=_ref.cookieDomain,children=_ref.children,content=useCookieContentContext(),cookies=(0,react.useMemo)((function(){return{requiredCookies:content.requiredCookies,optionalCookies:content.optionalCookies}}),[]),requiredConsents=cookies.requiredCookies?getConsentsFromCookieGroup(cookies.requiredCookies.groups):void 0,optionalConsents=cookies.optionalCookies?getConsentsFromCookieGroup(cookies.optionalCookies.groups):void 0,consentController=(0,react.useMemo)((function(){return createConsentController({requiredConsents,optionalConsents,cookieDomain})}),[]),_useState=(0,react.useState)(0),forceUpdate=(0,slicedToArray.Z)(_useState,2)[1],reRender=(0,react.useCallback)((function(){forceUpdate((function(p){return p+1}))}),[forceUpdate]),consentControllerFunctions=(0,react.useMemo)((function(){var hasUserHandledAllConsents=function hasUserHandledAllConsents(){return 0===consentController.getRequiredWithoutConsent().length&&0===consentController.getUnhandledConsents().length},mergeConsents=function mergeConsents(){return(0,objectSpread2.Z)((0,objectSpread2.Z)({},consentController.getRequired()),consentController.getOptional())},notifyOnAllConsentsGiven=function notifyOnAllConsentsGiven(){content.callbacks.onAllConsentsGiven&&hasUserHandledAllConsents()&&content.callbacks.onAllConsentsGiven(mergeConsents()),content.focusTargetSelector&&forceFocusToElement(content.focusTargetSelector)},setOptional=function setOptional(approved){Object.keys(consentController.getOptional()).forEach((function(optionalConsent){consentController.update(optionalConsent,approved)}))},deselectOptional=function deselectOptional(){setOptional(!1)};return{setOptional,areGroupConsentsApproved:function areGroupConsentsApproved(consentData){var optionalConsentList=consentController.getOptional();return!consentData.reduce((function(hasUnApprovedConsent,consent){return hasUnApprovedConsent||!0!==optionalConsentList[consent.id]}),!1)},getApprovalPercentageForOptional:function getApprovalPercentageForOptional(){var counter=0,approved=0;return Object.values(consentController.getOptional()).forEach((function(isApproved){counter+=1,isApproved&&(approved+=1)})),approved/counter},onAction:function onAction(action,consents,value){"approveAll"===action?function approveAllAndSave(){consentController.approveAll(),consentController.save(),notifyOnAllConsentsGiven()}():"approveRequired"===action?function approveOnlyRequiredAndSave(){deselectOptional(),consentController.approveRequired(),consentController.save(),notifyOnAllConsentsGiven()}():"approveSelectedAndRequired"===action?function approveRequiredAndSaveAllGivenConsents(){consentController.approveRequired(),consentController.save(),notifyOnAllConsentsGiven()}():"changeCookieGroupConsents"===action&&consents?consents.forEach((function(consent){consentController.update(consent,!!value)})):"approveOptional"===action?function selectOptional(){setOptional(!0)}():"unapproveOptional"===action&&deselectOptional(),reRender()},hasUserHandledAllConsents,mergeConsents}}),[consentController,reRender]),contextData={hasUserHandledAllConsents:consentControllerFunctions.hasUserHandledAllConsents,onAction:consentControllerFunctions.onAction,getApprovalPercentageForOptional:consentControllerFunctions.getApprovalPercentageForOptional,areGroupConsentsApproved:consentControllerFunctions.areGroupConsentsApproved};return content.callbacks.onConsentsParsed&&(content.callbacks.onConsentsParsed(consentControllerFunctions.mergeConsents(),consentControllerFunctions.hasUserHandledAllConsents()),content.callbacks.onConsentsParsed=void 0),(0,jsx_runtime.jsx)(ConsentContext.Provider,{value:contextData,children})},useCookieConsentContext=function useCookieConsentContext(){return(0,react.useContext)(ConsentContext)},useConsentActions=function useConsentActions(){return(0,react.useContext)(ConsentContext).onAction},useFocusShift=function useFocusShift(){var focusTargetSelector=useCookieContentContext().focusTargetSelector;if(!focusTargetSelector)throw new Error("Cookie consent modal requires a content.focusTargetSelector to be set");return(0,react.useCallback)((function(){forceFocusToElement(focusTargetSelector)}),[focusTargetSelector])};try{getConsentsFromCookieGroup.displayName="getConsentsFromCookieGroup",getConsentsFromCookieGroup.__docgenInfo={description:"",displayName:"getConsentsFromCookieGroup",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/cookieConsent/contexts/ConsentContext.tsx#getConsentsFromCookieGroup"]={docgenInfo:getConsentsFromCookieGroup.__docgenInfo,name:"getConsentsFromCookieGroup",path:"src/components/cookieConsent/contexts/ConsentContext.tsx#getConsentsFromCookieGroup"})}catch(__react_docgen_typescript_loader_error){}try{ConsentContext_Provider.displayName="Provider",ConsentContext_Provider.__docgenInfo={description:"",displayName:"Provider",props:{cookieDomain:{defaultValue:null,description:"",name:"cookieDomain",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/cookieConsent/contexts/ConsentContext.tsx#Provider"]={docgenInfo:ConsentContext_Provider.__docgenInfo,name:"Provider",path:"src/components/cookieConsent/contexts/ConsentContext.tsx#Provider"})}catch(__react_docgen_typescript_loader_error){}function CookieConsentContext(props){var cookieDomain=props.cookieDomain,contentSource=props.contentSource,children=props.children;return(0,jsx_runtime.jsx)(Provider,{contentSource,children:(0,jsx_runtime.jsx)(ConsentContext_Provider,{cookieDomain,children})})}try{CookieConsentContext.displayName="CookieConsentContext",CookieConsentContext.__docgenInfo={description:"",displayName:"CookieConsentContext",props:{contentSource:{defaultValue:null,description:"",name:"contentSource",required:!0,type:{name:"CookieContentSource"}},cookieDomain:{defaultValue:null,description:"",name:"cookieDomain",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/cookieConsent/contexts/ContextComponent.tsx#CookieConsentContext"]={docgenInfo:CookieConsentContext.__docgenInfo,name:"CookieConsentContext",path:"src/components/cookieConsent/contexts/ContextComponent.tsx#CookieConsentContext"})}catch(__react_docgen_typescript_loader_error){}const CookieConsent_module={accordionButton:"CookieConsent_accordionButton__xSVea",container:"CookieConsent_container__dsEn5",aligner:"CookieConsent_aligner__BpPTD",animateIn:"CookieConsent_animateIn__M+nBi",page:"CookieConsent_page__2AA1O",buttons:"CookieConsent_buttons__g7E1s",emulatedH1:"CookieConsent_emulatedH1__OLXR7 helpers_heading-l__ZCbCh",emulatedH2:"CookieConsent_emulatedH2__T4JhT helpers_heading-m__7mAiU",content:"CookieConsent_content__RLmY5",languageSwitcher:"CookieConsent_languageSwitcher__sYmnz",languageDropdown:"CookieConsent_languageDropdown__bp3Br",mainContent:"CookieConsent_mainContent__ii5XZ",textContent:"CookieConsent_textContent__iwsea",list:"CookieConsent_list__imaJ6",detailsAccordionButton:"CookieConsent_detailsAccordionButton__YIPsP",accordionButtonSettingsClosed:"CookieConsent_accordionButtonSettingsClosed__mOY6L",consentCategory:"CookieConsent_consentCategory__eqNHR",consentGroup:"CookieConsent_consentGroup__tB53y",consentGroupContent:"CookieConsent_consentGroupContent__MJ36h",titleWithCheckbox:"CookieConsent_titleWithCheckbox__YRs6y",dataTableContainer:"CookieConsent_dataTableContainer__2eIGW",saveNotification:"CookieConsent_saveNotification__y0AGx",readMoreButton:"CookieConsent_readMoreButton__YYUGw",shrinkOnBlur:"CookieConsent_shrinkOnBlur__ZB-Xt",visuallyHiddenWithoutFocus:"CookieConsent_visuallyHiddenWithoutFocus__Inl2e",hiddenWithoutFocus:"CookieConsent_hiddenWithoutFocus__Sn3EG"};var dist_import=__webpack_require__("../../node_modules/@react-aria/visually-hidden/dist/import.mjs"),Checkbox=__webpack_require__("./src/components/checkbox/Checkbox.tsx"),useAccordion=__webpack_require__("./src/components/accordion/useAccordion.ts"),IconAngleUp=__webpack_require__("./src/icons/IconAngleUp.tsx"),IconAngleDown=__webpack_require__("./src/icons/IconAngleDown.tsx"),Card=__webpack_require__("./src/components/card/Card.tsx"),Table=__webpack_require__("./src/components/table/Table.tsx"),classNames=__webpack_require__("./src/utils/classNames.ts");function ConsentGroupDataTable(props){var tableHeadings=useTableData(),consents=props.consents,id=props.id,cols=(0,react.useMemo)((function(){return Object.entries(tableHeadings).map((function(entry){var _entry=(0,slicedToArray.Z)(entry,2);return{key:_entry[0],headerName:_entry[1]}}))}),[tableHeadings]),rows=(0,react.useMemo)((function(){return consents.map((function(consent){return consent}))}),[consents]);return(0,jsx_runtime.jsx)("div",{className:(0,classNames.Z)(CookieConsent_module.dataTableContainer),children:(0,jsx_runtime.jsx)(Table.i,{id,"data-testid":id,cols,rows,indexKey:"id",renderIndexCol:!1,theme:{"--header-background-color":"var(--color-black-90)"},dense:!0})})}try{ConsentGroupDataTable.displayName="ConsentGroupDataTable",ConsentGroupDataTable.__docgenInfo={description:"",displayName:"ConsentGroupDataTable",props:{consents:{defaultValue:null,description:"",name:"consents",required:!0,type:{name:"CookieData[]"}},id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/cookieConsent/consentGroupDataTable/ConsentGroupDataTable.tsx#ConsentGroupDataTable"]={docgenInfo:ConsentGroupDataTable.__docgenInfo,name:"ConsentGroupDataTable",path:"src/components/cookieConsent/consentGroupDataTable/ConsentGroupDataTable.tsx#ConsentGroupDataTable"})}catch(__react_docgen_typescript_loader_error){}function ConsentGroup(props){var group=props.group,isRequired=props.isRequired,id=props.id,_useAccordion=(0,useAccordion.A)({initiallyOpen:!1}),isOpen=_useAccordion.isOpen,buttonProps=_useAccordion.buttonProps,contentProps=_useAccordion.contentProps,groupConsents=group.cookies,cookieConsentContext=useCookieConsentContext(),triggerAction=useConsentActions(),areAllApproved=isRequired||cookieConsentContext.areGroupConsentsApproved(groupConsents),title=group.title,text=group.text,checkboxAriaDescription=group.checkboxAriaDescription,expandAriaLabel=group.expandAriaLabel,Icon=isOpen?IconAngleUp.IconAngleUp:IconAngleDown.IconAngleDown,getGroupIdentifier=function getGroupIdentifier(suffix){return"".concat(id,"-").concat(suffix)},checkboxId=getGroupIdentifier("checkbox"),descriptionElementId=getGroupIdentifier("description"),checkboxProps={onChange:isRequired?function(){}:function(){return triggerAction("changeCookieGroupConsents",groupConsents.map((function(consent){return consent.id})),!areAllApproved)},disabled:isRequired,checked:areAllApproved,id:checkboxId,"data-testid":checkboxId,name:checkboxId,label:title,"aria-describedby":descriptionElementId,style:{"--label-font-size":"var(--fontsize-heading-s)"}};return(0,jsx_runtime.jsxs)("div",{className:CookieConsent_module.consentGroup,children:[(0,jsx_runtime.jsx)("div",{className:CookieConsent_module.titleWithCheckbox,children:(0,jsx_runtime.jsx)(Checkbox.X,(0,objectSpread2.Z)({},checkboxProps))}),(0,jsx_runtime.jsxs)("div",{className:CookieConsent_module.consentGroupContent,children:[(0,jsx_runtime.jsx)("p",{"aria-hidden":!0,children:text}),(0,jsx_runtime.jsx)(dist_import.T,{id:descriptionElementId,children:checkboxAriaDescription||text}),(0,jsx_runtime.jsx)("button",(0,objectSpread2.Z)((0,objectSpread2.Z)({type:"button",className:CookieConsent_module.accordionButton,"data-testid":getGroupIdentifier("details-toggler"),"aria-label":expandAriaLabel},buttonProps),{},{children:(0,jsx_runtime.jsx)(Icon,{"aria-hidden":!0})})),(0,jsx_runtime.jsx)(Card.Z,(0,objectSpread2.Z)((0,objectSpread2.Z)({},contentProps),{},{"aria-label":title,theme:{"--padding-horizontal":"0","--padding-vertical":"0"},children:(0,jsx_runtime.jsx)(ConsentGroupDataTable,{consents:groupConsents,id:getGroupIdentifier("table")})}))]})]})}try{ConsentGroup.displayName="ConsentGroup",ConsentGroup.__docgenInfo={description:"",displayName:"ConsentGroup",props:{group:{defaultValue:null,description:"",name:"group",required:!0,type:{name:"CookieGroup"}},isRequired:{defaultValue:null,description:"",name:"isRequired",required:!0,type:{name:"boolean"}},id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/cookieConsent/consentGroup/ConsentGroup.tsx#ConsentGroup"]={docgenInfo:ConsentGroup.__docgenInfo,name:"ConsentGroup",path:"src/components/cookieConsent/consentGroup/ConsentGroup.tsx#ConsentGroup"})}catch(__react_docgen_typescript_loader_error){}function Category(props){var category=props.category,isRequired=props.isRequired,triggerAction=props.triggerAction,_props$selectPercenta=props.selectPercentage,selectPercentage=void 0===_props$selectPercenta?-1:_props$selectPercenta;if(!category)return null;var allApproved=isRequired||1===selectPercentage,title=category.title,text=category.text,groups=category.groups,checkboxAriaDescription=category.checkboxAriaDescription,checked=isRequired||allApproved,groupId=isRequired?"required":"optional",getConsentGroupIdentifier=function getConsentGroupIdentifier(suffix){return"".concat(groupId,"-consents-").concat(suffix)},checkboxId=getConsentGroupIdentifier("checkbox"),descriptionElementId=getConsentGroupIdentifier("description"),checkboxProps={onChange:triggerAction?function(){return triggerAction(checked?"unapproveOptional":"approveOptional")}:function(){},disabled:isRequired,checked,indeterminate:!isRequired&&!Number.isInteger(selectPercentage),id:checkboxId,"data-testid":checkboxId,name:checkboxId,label:title,"aria-describedby":descriptionElementId,style:{"--label-font-size":"var(--fontsize-heading-m)"}};return(0,jsx_runtime.jsxs)("div",{className:CookieConsent_module.consentCategory,children:[(0,jsx_runtime.jsx)("div",{className:CookieConsent_module.titleWithCheckbox,children:(0,jsx_runtime.jsx)(Checkbox.X,(0,objectSpread2.Z)({},checkboxProps))}),(0,jsx_runtime.jsx)("p",{"aria-hidden":!0,children:text}),(0,jsx_runtime.jsx)(dist_import.T,{id:descriptionElementId,children:checkboxAriaDescription||text}),(0,jsx_runtime.jsx)("ul",{className:CookieConsent_module.list,children:groups.map((function(group,index){return(0,jsx_runtime.jsx)("li",{children:(0,jsx_runtime.jsx)(ConsentGroup,{group,isRequired,id:getConsentGroupIdentifier("group-".concat(index))})},group.title)}))})]})}var MemoizedCategory=react.memo(Category);try{Category.displayName="Category",Category.__docgenInfo={description:"",displayName:"Category",props:{category:{defaultValue:null,description:"",name:"category",required:!1,type:{name:"Category"}},isRequired:{defaultValue:null,description:"",name:"isRequired",required:!1,type:{name:"boolean"}},triggerAction:{defaultValue:null,description:"",name:"triggerAction",required:!1,type:{name:"CookieConsentActionListener"}},selectPercentage:{defaultValue:null,description:"",name:"selectPercentage",required:!1,type:{name:"number"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/cookieConsent/category/Category.tsx#Category"]={docgenInfo:Category.__docgenInfo,name:"Category",path:"src/components/cookieConsent/category/Category.tsx#Category"})}catch(__react_docgen_typescript_loader_error){}try{MemoizedCategory.displayName="MemoizedCategory",MemoizedCategory.__docgenInfo={description:"",displayName:"MemoizedCategory",props:{category:{defaultValue:null,description:"",name:"category",required:!1,type:{name:"Category"}},isRequired:{defaultValue:null,description:"",name:"isRequired",required:!1,type:{name:"boolean"}},triggerAction:{defaultValue:null,description:"",name:"triggerAction",required:!1,type:{name:"CookieConsentActionListener"}},selectPercentage:{defaultValue:null,description:"",name:"selectPercentage",required:!1,type:{name:"number"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/cookieConsent/category/Category.tsx#MemoizedCategory"]={docgenInfo:MemoizedCategory.__docgenInfo,name:"MemoizedCategory",path:"src/components/cookieConsent/category/Category.tsx#MemoizedCategory"})}catch(__react_docgen_typescript_loader_error){}function Details(){var content=useCookieContentContext(),consentContext=useCookieConsentContext(),triggerAction=useConsentActions(),selectPercentage=consentContext.getApprovalPercentageForOptional(),_useSectionTexts=useSectionTexts("details"),title=_useSectionTexts.title,text=_useSectionTexts.text,requiredCookies=content.requiredCookies,optionalCookies=content.optionalCookies;return(0,jsx_runtime.jsxs)("div",{className:CookieConsent_module.textContent,"data-testid":"cookie-consent-details",children:[(0,jsx_runtime.jsx)("span",{className:CookieConsent_module.emulatedH2,role:"heading","aria-level":2,children:title}),(0,jsx_runtime.jsx)("p",{children:text}),(0,jsx_runtime.jsx)(MemoizedCategory,{category:requiredCookies,isRequired:!0}),(0,jsx_runtime.jsx)(MemoizedCategory,{category:optionalCookies,triggerAction,selectPercentage})]})}var Button=__webpack_require__("./src/components/button/Button.tsx");function Buttons(_ref){var detailsAreShown=_ref.detailsAreShown,_ref$onClick=_ref.onClick,_onClick=void 0===_ref$onClick?function(){}:_ref$onClick,triggerAction=_ref.triggerAction,_useUiTexts=useUiTexts(),approveRequiredAndSelectedConsents=_useUiTexts.approveRequiredAndSelectedConsents,approveOnlyRequiredConsents=_useUiTexts.approveOnlyRequiredConsents,approveAllConsents=_useUiTexts.approveAllConsents,primaryButtonText=detailsAreShown?approveRequiredAndSelectedConsents:approveAllConsents,primaryButtonAction=detailsAreShown?"approveSelectedAndRequired":"approveAll";return(0,jsx_runtime.jsxs)("div",{className:(0,classNames.Z)(CookieConsent_module.buttons,detailsAreShown?"":CookieConsent_module.visuallyHiddenWithoutFocus),children:[(0,jsx_runtime.jsx)(Button.z,{variant:"secondary",onClick:function onClick(){triggerAction(primaryButtonAction),_onClick()},"data-testid":"cookie-consent-approve-button",children:primaryButtonText}),(0,jsx_runtime.jsx)(Button.z,{variant:"secondary",onClick:function onClick(){triggerAction("approveRequired"),_onClick()},"data-testid":"cookie-consent-approve-required-button",children:approveOnlyRequiredConsents})]})}var MemoizedButtons=react.memo(Buttons);try{MemoizedButtons.displayName="MemoizedButtons",MemoizedButtons.__docgenInfo={description:"",displayName:"MemoizedButtons",props:{detailsAreShown:{defaultValue:null,description:"",name:"detailsAreShown",required:!0,type:{name:"boolean"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"() => void"}},triggerAction:{defaultValue:null,description:"",name:"triggerAction",required:!0,type:{name:"CookieConsentActionListener"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/cookieConsent/buttons/Buttons.tsx#MemoizedButtons"]={docgenInfo:MemoizedButtons.__docgenInfo,name:"MemoizedButtons",path:"src/components/cookieConsent/buttons/Buttons.tsx#MemoizedButtons"})}catch(__react_docgen_typescript_loader_error){}var Notification=__webpack_require__("./src/components/notification/Notification.tsx");function Page(){var content=useCookieContentContext(),triggerAction=useConsentActions(),_content$texts$sectio=content.texts.sections.main,title=_content$texts$sectio.title,text=_content$texts$sectio.text,settingsSaved=content.texts.ui.settingsSaved,_useState=(0,react.useState)(!1),_useState2=(0,slicedToArray.Z)(_useState,2),showSaveNotification=_useState2[0],setShowSaveNotification=_useState2[1],onButtonClick=(0,react.useCallback)((function(){setShowSaveNotification(!0)}),[setShowSaveNotification]);return(0,jsx_runtime.jsx)("div",{className:CookieConsent_module.page,"data-testid":"cookie-consent",children:(0,jsx_runtime.jsxs)("div",{className:CookieConsent_module.content,id:"cookie-consent-content",children:[(0,jsx_runtime.jsxs)("div",{className:CookieConsent_module.mainContent,"data-testid":"cookie-consent-information",children:[(0,jsx_runtime.jsx)("h1",{className:"heading-xl",children:title}),(0,jsx_runtime.jsx)("p",{children:text})]}),(0,jsx_runtime.jsx)(Details,{}),showSaveNotification&&(0,jsx_runtime.jsx)(Notification.P,{size:"small",type:"success",label:"Saved",dataTestId:"cookie-consent-save-notification",className:CookieConsent_module.saveNotification,children:settingsSaved}),(0,jsx_runtime.jsx)(MemoizedButtons,{detailsAreShown:!0,onClick:onButtonClick,triggerAction})]})})}function CookiePage(props){var cookieDomain=props.cookieDomain,contentSource=props.contentSource;return(0,jsx_runtime.jsx)(CookieConsentContext,{contentSource,cookieDomain,children:(0,jsx_runtime.jsx)(Page,{})})}try{CookiePage.displayName="CookiePage",CookiePage.__docgenInfo={description:"",displayName:"CookiePage",props:{contentSource:{defaultValue:null,description:"",name:"contentSource",required:!0,type:{name:"CookieContentSource"}},cookieDomain:{defaultValue:null,description:"",name:"cookieDomain",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/cookieConsent/cookiePage/CookiePage.tsx#CookiePage"]={docgenInfo:CookiePage.__docgenInfo,name:"CookiePage",path:"src/components/cookieConsent/cookiePage/CookiePage.tsx#CookiePage"})}catch(__react_docgen_typescript_loader_error){}var lodash_uniqueid=__webpack_require__("../../node_modules/lodash.uniqueid/index.js"),lodash_uniqueid_default=__webpack_require__.n(lodash_uniqueid),react_merge_refs_esm=__webpack_require__("../../node_modules/react-merge-refs/dist/react-merge-refs.esm.js"),web=__webpack_require__("../../node_modules/react-use-measure/dist/web.js"),resize_observer=__webpack_require__("../../node_modules/@juggle/resize-observer/lib/exports/resize-observer.js");__webpack_require__("./src/styles/base.css");const MenuButton_module_toggleButton="MenuButton_toggleButton__ETZyH",MenuButton_module_menuButton="MenuButton_menuButton__e51A9",MenuButton_module_toggleButtonLabel="MenuButton_toggleButtonLabel__D8B0J",Menu_module_menu="Menu_menu__V4Wya",Menu_module_open="Menu_open__QwAEr",Menu_module_item="Menu_item__vKEwm";var Menu_excluded=["children","menuContainerSize","menuOffset","menuOpen","onItemClick"],Menu=function Menu(_ref){var children=_ref.children,menuContainerSize=_ref.menuContainerSize,_ref$menuOffset=_ref.menuOffset,menuOffset=void 0===_ref$menuOffset?0:_ref$menuOffset,menuOpen=_ref.menuOpen,onItemClick=_ref.onItemClick,rest=(0,objectWithoutProperties.Z)(_ref,Menu_excluded),menuRef=(0,react.useRef)(null),_useState=(0,react.useState)({}),_useState2=(0,slicedToArray.Z)(_useState,2),menuStyles=_useState2[0],setMenuStyles=_useState2[1];return(0,react.useEffect)((function(){var _menuContainerSize$he=menuContainerSize.height,height=void 0===_menuContainerSize$he?0:_menuContainerSize$he,_menuContainerSize$wi=menuContainerSize.width,width=void 0===_menuContainerSize$wi?0:_menuContainerSize$wi;setMenuStyles({top:height+menuOffset,minWidth:190>=width?190:width})}),[menuContainerSize,menuOffset]),(0,jsx_runtime.jsx)("div",(0,objectSpread2.Z)((0,objectSpread2.Z)({ref:menuRef,role:"region",className:(0,classNames.Z)(Menu_module_menu,menuOpen&&Menu_module_open),style:menuStyles},rest),{},{children:react.Children.toArray(children).map((function(child){return(0,react.isValidElement)(child)?(0,react.cloneElement)(child,{className:"".concat(Menu_module_item," ").concat(child.props.className||""),onClick:function onClick(event){"function"==typeof child.props.onClick&&child.props.onClick(event),"function"==typeof onItemClick&&onItemClick(event)}}):child}))}))};try{Menu.displayName="Menu",Menu.__docgenInfo={description:"",displayName:"Menu",props:{menuContainerSize:{defaultValue:null,description:"",name:"menuContainerSize",required:!0,type:{name:"RectReadOnly"}},menuOffset:{defaultValue:{value:"0"},description:"",name:"menuOffset",required:!1,type:{name:"number"}},menuOpen:{defaultValue:null,description:"",name:"menuOpen",required:!0,type:{name:"boolean"}},onItemClick:{defaultValue:null,description:"",name:"onItemClick",required:!1,type:{name:"(event: MouseEvent) => void"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/internal/menuButton/menu/Menu.tsx#Menu"]={docgenInfo:Menu.__docgenInfo,name:"Menu",path:"src/internal/menuButton/menu/Menu.tsx#Menu"})}catch(__react_docgen_typescript_loader_error){}var useMobile=__webpack_require__("./src/hooks/useMobile.tsx"),MenuButton=function MenuButton(_ref){var buttonAriaLabel=_ref.buttonAriaLabel,buttonAriaLabelledby=_ref.buttonAriaLabelledby,children=_ref.children,className=_ref.className,_ref$closeOnItemClick=_ref.closeOnItemClick,closeOnItemClick=void 0!==_ref$closeOnItemClick&&_ref$closeOnItemClick,icon=_ref.icon,_id=_ref.id,label=_ref.label,menuOffset=_ref.menuOffset,_ref$hoverAndClick=_ref.hoverAndClick,hoverAndClick=void 0!==_ref$hoverAndClick&&_ref$hoverAndClick,_useMeasure=(0,web.Z)({debounce:0,scroll:!1,polyfill:resize_observer.d}),_useMeasure2=(0,slicedToArray.Z)(_useMeasure,2),ref=_useMeasure2[0],menuContainerSize=_useMeasure2[1],_useState=(0,react.useState)(!1),_useState2=(0,slicedToArray.Z)(_useState,2),menuOpen=_useState2[0],setMenuOpen=_useState2[1],containerRef=(0,react.useRef)(null),id=(0,react.useRef)(_id||lodash_uniqueid_default()("hds-menu-button-")).current,buttonId="".concat(id,"-button"),menuId="".concat(id,"-menu"),isMobile=(0,useMobile.X)();(0,react.useEffect)((function(){var handleOutsideClick=function handleOutsideClick(e){containerRef.current&&menuOpen&&!containerRef.current.contains(e.target)&&setMenuOpen(!1)};return document.addEventListener("click",handleOutsideClick),function(){return document.removeEventListener("click",handleOutsideClick)}}),[menuOpen]);var _useState3=(0,react.useState)(!isMobile&&hoverAndClick),_useState4=(0,slicedToArray.Z)(_useState3,2),useHoverProps=_useState4[0],setUseHoverProps=_useState4[1],hoverProps={onMouseOver:function onMouseOver(){return setMenuOpen(!0)},onMouseLeave:function onMouseLeave(){return setMenuOpen(!1)}};return(0,react.useEffect)((function(){return setUseHoverProps(!isMobile&&hoverAndClick)}),[isMobile]),(0,jsx_runtime.jsxs)("div",(0,objectSpread2.Z)((0,objectSpread2.Z)({ref:(0,react_merge_refs_esm.Z)([ref,containerRef]),className:(0,classNames.Z)(MenuButton_module_menuButton,className)},useHoverProps&&hoverProps),{},{children:[hoverAndClick&&label,(0,jsx_runtime.jsxs)("button",{type:"button",id:buttonId,className:MenuButton_module_toggleButton,"aria-label":!buttonAriaLabelledby&&buttonAriaLabel,"aria-labelledby":buttonAriaLabelledby,"aria-haspopup":"true","aria-controls":menuId,"aria-expanded":menuOpen,onClick:function onClick(){return setMenuOpen(!menuOpen)},children:[icon,!hoverAndClick&&(0,jsx_runtime.jsx)("span",{className:MenuButton_module_toggleButtonLabel,children:label}),menuOpen?(0,jsx_runtime.jsx)(IconAngleUp.IconAngleUp,{"aria-hidden":!0}):(0,jsx_runtime.jsx)(IconAngleDown.IconAngleDown,{"aria-hidden":!0})]}),(0,jsx_runtime.jsx)(Menu,{id:menuId,"aria-labelledby":null!=buttonAriaLabelledby?buttonAriaLabelledby:buttonId,menuContainerSize,menuOffset,menuOpen,onItemClick:closeOnItemClick?function(){return setMenuOpen(!1)}:void 0,children})]}))};try{MenuButton.displayName="MenuButton",MenuButton.__docgenInfo={description:"",displayName:"MenuButton",props:{buttonAriaLabel:{defaultValue:null,description:"aria-label for the dropdown toggle button",name:"buttonAriaLabel",required:!1,type:{name:"string"}},buttonAriaLabelledby:{defaultValue:null,description:"aria-labelledby for the dropdown toggle button",name:"buttonAriaLabelledby",required:!1,type:{name:"string"}},className:{defaultValue:null,description:"Additional class names to apply to the dropdown",name:"className",required:!1,type:{name:"string"}},closeOnItemClick:{defaultValue:{value:"false"},description:"Should the menu close after item is clicked",name:"closeOnItemClick",required:!1,type:{name:"boolean"}},id:{defaultValue:null,description:"Used to generate the first part of the id on the elements",name:"id",required:!1,type:{name:"string"}},icon:{defaultValue:null,description:"Icon to be displayed in the dropdown",name:"icon",required:!1,type:{name:"ReactNode"}},label:{defaultValue:null,description:"Label for the dropdown",name:"label",required:!0,type:{name:"ReactNode"}},menuOffset:{defaultValue:null,description:"Spacing between the toggle button and the menu",name:"menuOffset",required:!1,type:{name:"number"}},hoverAndClick:{defaultValue:{value:"false"},description:"Render label outside button and open menu via hover.",name:"hoverAndClick",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/internal/menuButton/MenuButton.tsx#MenuButton"]={docgenInfo:MenuButton.__docgenInfo,name:"MenuButton",path:"src/internal/menuButton/MenuButton.tsx#MenuButton"})}catch(__react_docgen_typescript_loader_error){}const LanguageSwitcherItem_module={"x-small-down":"only screen and (max-width: 575.98px)","small-down":"only screen and (max-width: 767.98px)","small-only":"only screen and (min-width: 576px) and (max-width: 767.98px)","medium-only":"only screen and (min-width: 768px) and (max-width: 991.98px)","medium-up":"only screen and (min-width: 768px)","large-only":"only screen and (min-width: 992px) and (max-width: 1247.98px)","large-up":"only screen and (min-width: 992px)","x-large-only":"only screen and (min-width: 1248px)","x-large-up":"only screen and (min-width: 1248px)",rowItem:"LanguageSwitcherItem_rowItem__nITie",supplementary:"LanguageSwitcherItem_supplementary__o1wh- button_hds-button__0Xq-p button_hds-button--fullwidth__iALSM button_hds-button--small__Dzlfw button_hds-button--supplementary__Xz03B",secondary:"LanguageSwitcherItem_secondary__PgFu8 button_hds-button__0Xq-p button_hds-button--fullwidth__iALSM button_hds-button--small__Dzlfw button_hds-button--secondary__OO96T",primary:"LanguageSwitcherItem_primary__-Ac7Q button_hds-button__0Xq-p button_hds-button--fullwidth__iALSM button_hds-button--small__Dzlfw button_hds-button--primary__49TcJ",item:"LanguageSwitcherItem_item__8PZJq button_hds-button__0Xq-p button_hds-button--fullwidth__iALSM button_hds-button--small__Dzlfw",label:"LanguageSwitcherItem_label__K7970 button_hds-button__label__uGz5c",icon:"LanguageSwitcherItem_icon__SdTWd button_hds-icon__dmvEa",dropdownItem:"LanguageSwitcherItem_dropdownItem__pcxv1",dropdownLinkItem:"LanguageSwitcherItem_dropdownLinkItem__LlFfS",active:"LanguageSwitcherItem_active__l8DgQ"};var LanguageSwitcherItem_excluded=["active","as","children","className","icon","label","variant"],LanguageSwitcherItem=function LanguageSwitcherItem(_ref){var active=_ref.active,as=_ref.as,children=_ref.children,className=_ref.className,icon=_ref.icon,label=_ref.label,variant=_ref.variant,rest=(0,objectWithoutProperties.Z)(_ref,LanguageSwitcherItem_excluded),isMobile=(0,useMobile.X)(),Item=as;return(0,jsx_runtime.jsxs)(Item,(0,objectSpread2.Z)((0,objectSpread2.Z)((0,objectSpread2.Z)({className:(0,classNames.Z)(isMobile&&LanguageSwitcherItem_module[variant],className)},active&&{"aria-current":"page"}),rest),{},{children:[icon&&(0,jsx_runtime.jsx)("span",{className:LanguageSwitcherItem_module.icon,children:icon}),(0,jsx_runtime.jsxs)("span",{className:LanguageSwitcherItem_module.label,children:[label,children]})]}))};LanguageSwitcherItem.defaultProps={as:"a"};try{LanguageSwitcherItem.displayName="LanguageSwitcherItem",LanguageSwitcherItem.__docgenInfo={description:"",displayName:"LanguageSwitcherItem",props:{as:{defaultValue:{value:"a"},description:"Element type",name:"as",required:!1,type:{name:"ElementType"}},active:{defaultValue:null,description:"If `true`, the item will be marked as active",name:"active",required:!1,type:{name:"boolean"}},icon:{defaultValue:null,description:"Icon placed on the left side of the item label",name:"icon",required:!1,type:{name:"ReactNode"}},label:{defaultValue:null,description:"The label for the item. Optionally, children can be passed",name:"label",required:!1,type:{name:"ReactNode"}},variant:{defaultValue:null,description:"Defines the button variant in mobile view.",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"secondary"'},{value:'"supplementary"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/cookieConsent/languageSwitcher/LanguageSwitcherItem/LanguageSwitcherItem.tsx#LanguageSwitcherItem"]={docgenInfo:LanguageSwitcherItem.__docgenInfo,name:"LanguageSwitcherItem",path:"src/components/cookieConsent/languageSwitcher/LanguageSwitcherItem/LanguageSwitcherItem.tsx#LanguageSwitcherItem"})}catch(__react_docgen_typescript_loader_error){}function LanguageSwitcher(){var _useContentLanguage=useContentLanguage(),current=_useContentLanguage.current,languageOptions=_useContentLanguage.languageOptions,languageSelectorAriaLabel=_useContentLanguage.languageSelectorAriaLabel,onLanguageChange=_useContentLanguage.onLanguageChange,currentOption=languageOptions.find((function(option){return option.code===current}));return(0,jsx_runtime.jsx)(MenuButton,{className:(0,classNames.Z)(CookieConsent_module.languageDropdown),id:"cookie-consent-language-selector",label:currentOption.label,menuOffset:10,buttonAriaLabel:languageSelectorAriaLabel,closeOnItemClick:!0,children:languageOptions.map((function(option){return(0,jsx_runtime.jsx)(LanguageSwitcherItem,{href:"#",onClick:function onClick(e){return function setLanguage(code,e){if(e.preventDefault(),code!==current)onLanguageChange(code);else{var languageMenuButton=document.getElementById("".concat("cookie-consent-language-selector","-button"));languageMenuButton&&languageMenuButton.focus()}}(option.code,e)},label:option.label,active:current===option.code,lang:option.code,"data-testid":"cookie-consent-language-option-".concat(option.code)},option.code)}))})}function useEscKey(callBack){(0,react.useEffect)((function(){var handleEscKey=function handleEscKey(event){var key=event.key||event.keyCode;"Escape"!==key&&"Esc"!==key&&27!==key||callBack(event)};return document.addEventListener("keyup",handleEscKey),function(){document.removeEventListener("keyup",handleEscKey)}}),[callBack])}function Content(){var _useAccordion=(0,useAccordion.A)({initiallyOpen:!1}),isOpen=_useAccordion.isOpen,buttonProps=_useAccordion.buttonProps,contentProps=_useAccordion.contentProps,closeAccordion=_useAccordion.closeAccordion,_useUiTexts=useUiTexts(),hideSettings=_useUiTexts.hideSettings,showSettings=_useUiTexts.showSettings,readMore=_useUiTexts.readMore,_useSectionTexts=useSectionTexts("main"),title=_useSectionTexts.title,text=_useSectionTexts.text,triggerAction=useConsentActions(),titleRef=(0,react.useRef)(),Icon=isOpen?IconAngleUp.IconAngleUp:IconAngleDown.IconAngleDown,settingsButtonText=isOpen?hideSettings:showSettings,detailsButtonClassName=isOpen?(0,classNames.Z)(CookieConsent_module.detailsAccordionButton,CookieConsent_module.accordionButton,CookieConsent_module.hiddenWithoutFocus):(0,classNames.Z)(CookieConsent_module.detailsAccordionButton,CookieConsent_module.accordionButton,CookieConsent_module.accordionButtonSettingsClosed,CookieConsent_module.hiddenWithoutFocus),setFocusToTitle=(0,react.useCallback)((function(){title&&titleRef.current&&titleRef.current.focus()}),[titleRef,title]);return(0,react.useEffect)((function(){setFocusToTitle()}),[setFocusToTitle]),useEscKey(closeAccordion),useEscKey(useFocusShift()),(0,jsx_runtime.jsxs)("div",{className:(0,classNames.Z)(CookieConsent_module.content,isOpen?"":CookieConsent_module.shrinkOnBlur),id:"cookie-consent-content",tabIndex:-1,children:[(0,jsx_runtime.jsxs)("div",{className:CookieConsent_module.mainContent,"data-testid":"cookie-consent-information",children:[(0,jsx_runtime.jsx)("span",{className:CookieConsent_module.emulatedH1,role:"heading","aria-level":1,tabIndex:-1,ref:titleRef,children:title}),(0,jsx_runtime.jsx)("div",{className:(0,classNames.Z)(CookieConsent_module.languageSwitcher,CookieConsent_module.visuallyHiddenWithoutFocus),"data-testid":"cookie-consent-language-switcher",children:(0,jsx_runtime.jsx)(LanguageSwitcher,{})}),(0,jsx_runtime.jsx)("p",{className:CookieConsent_module.visuallyHiddenWithoutFocus,children:text}),(0,jsx_runtime.jsxs)("button",{type:"button",className:(0,classNames.Z)(CookieConsent_module.accordionButton,CookieConsent_module.readMoreButton),onMouseDown:function onMouseDown(e){e.preventDefault(),setFocusToTitle()},children:[(0,jsx_runtime.jsx)("span",{children:readMore}),(0,jsx_runtime.jsx)(IconAngleUp.IconAngleUp,{"aria-hidden":!0})]})]}),(0,jsx_runtime.jsxs)("button",(0,objectSpread2.Z)((0,objectSpread2.Z)({type:"button",className:detailsButtonClassName,"data-testid":"cookie-consent-settings-toggler"},buttonProps),{},{children:[(0,jsx_runtime.jsx)(Icon,{"aria-hidden":!0}),(0,jsx_runtime.jsx)("span",{children:settingsButtonText})]})),(0,jsx_runtime.jsx)(Card.Z,(0,objectSpread2.Z)((0,objectSpread2.Z)({},contentProps),{},{theme:{"--padding-horizontal":"0","--padding-vertical":"0"},children:(0,jsx_runtime.jsx)(Details,{})})),(0,jsx_runtime.jsx)(MemoizedButtons,{detailsAreShown:isOpen,triggerAction})]})}function useModalRenderChecker(){var consentContext=useCookieConsentContext(),contentContext=useCookieContentContext();return!(!contentContext.optionalCookies||0===contentContext.optionalCookies.groups.length)&&!consentContext.hasUserHandledAllConsents()}function Modal(){var shouldShowModal=useModalRenderChecker(),_useState=(0,react.useState)(shouldShowModal),isModalInitiallyShown=(0,slicedToArray.Z)(_useState,1)[0],_useState3=(0,react.useState)(!1),_useState4=(0,slicedToArray.Z)(_useState3,2),popupTimerComplete=_useState4[0],setPopupTimerComplete=_useState4[1],showScreenReaderSaveNotification=isModalInitiallyShown&&!shouldShowModal,settingsSaved=useUiTexts().settingsSaved,forwardedRef=function useModalPlaceHolder(){var placeHolderId="HdsCookieConsentModalPlaceholder",observedElementRef=(0,react.useRef)(null),placeHolderRef=(0,react.useRef)(null),contentObserver=(0,react.useRef)(null),createPlaceholderElement=(0,react.useCallback)((function(){var placeHolderElement=document.createElement("div");return placeHolderElement.setAttribute("data-testid","html-cookie-consent-placeholder"),placeHolderElement.setAttribute("aria-hidden","true"),placeHolderElement.setAttribute("id",placeHolderId),document.body.lastChild.after(placeHolderElement),placeHolderElement}),[]),updatePlaceHolder=(0,react.useCallback)((function(placeHolderElement,contentElement){if(placeHolderElement){var newHeight=contentElement?contentElement.getBoundingClientRect().height:0;placeHolderElement.style.height="".concat(newHeight,"px")}}),[]),setPlaceHolderTransitionDelay=(0,react.useCallback)((function(placeHolderElement){placeHolderElement&&(placeHolderElement.style.transition="height 0.1s ease 0.2s")}),[]),onObservedElementChange=(0,react.useCallback)((function(){updatePlaceHolder(placeHolderRef.current,observedElementRef.current)}),[updatePlaceHolder,placeHolderRef,observedElementRef]),getPlaceHolderElement=(0,react.useCallback)((function(){return document.getElementById(placeHolderId)}),[placeHolderId]),removeContentObserver=(0,react.useCallback)((function(){contentObserver.current&&(contentObserver.current.disconnect(),contentObserver.current=null)}),[contentObserver]),addContentObserver=(0,react.useCallback)((function(observedElement){removeContentObserver(),contentObserver.current=new ResizeObserver(onObservedElementChange),contentObserver.current.observe(observedElement)}),[removeContentObserver,contentObserver,onObservedElementChange]),removePlaceHolder=(0,react.useCallback)((function(){placeHolderRef.current&&(placeHolderRef.current.remove(),placeHolderRef.current=null)}),[placeHolderRef]),createAndStorePlaceHolderElement=(0,react.useCallback)((function(){placeHolderRef.current||(placeHolderRef.current=getPlaceHolderElement()||createPlaceholderElement(),setPlaceHolderTransitionDelay(placeHolderRef.current))}),[placeHolderRef,getPlaceHolderElement,createPlaceholderElement,setPlaceHolderTransitionDelay]),cleanUp=(0,react.useCallback)((function(){removeContentObserver(),removePlaceHolder()}),[removeContentObserver,removePlaceHolder]),refListener=(0,react.useCallback)((function(observedElement){return observedElement&&!placeHolderRef.current&&createAndStorePlaceHolderElement(),observedElementRef.current!==observedElement&&(observedElement?addContentObserver(observedElement):cleanUp(),observedElementRef.current=observedElement),observedElementRef}),[placeHolderRef,cleanUp,observedElementRef,addContentObserver,createAndStorePlaceHolderElement]);return(0,react.useEffect)((function(){return function(){cleanUp()}}),[cleanUp]),refListener}();return(0,react.useEffect)((function(){setTimeout((function(){return setPopupTimerComplete(!0)}),500)}),[]),showScreenReaderSaveNotification?(0,jsx_runtime.jsx)(dist_import.T,{children:(0,jsx_runtime.jsx)("div",{role:"alert","data-testid":"cookie-consent-screen-reader-notification",tabIndex:-1,children:settingsSaved})}):shouldShowModal?(0,jsx_runtime.jsx)("div",{className:(0,classNames.Z)(CookieConsent_module.container,CookieConsent_module.modal,popupTimerComplete&&CookieConsent_module.animateIn),"data-testid":"cookie-consent",children:(0,jsx_runtime.jsx)("div",{className:CookieConsent_module.aligner,ref:forwardedRef,children:popupTimerComplete&&(0,jsx_runtime.jsx)(Content,{})})}):null}var Accordion=__webpack_require__("./src/components/accordion/Accordion.tsx");function useCookies(props){var _ref=props||{},cookieDomain=_ref.cookieDomain,cookieName=_ref.cookieName;return(0,react.useMemo)((function(){var cookieController=cookieController_createCookieController({domain:cookieDomain||getCookieDomainFromUrl()},cookieName||COOKIE_NAME),getCookie=function getCookie(){return cookieController.get()};return{getCookie,getAllConsents:function getAllConsents(){return parseConsents(getCookie())}}}),[cookieDomain,cookieName])}var react_dom=__webpack_require__("../../node_modules/react-dom/index.js");function Portal(_ref){var rootId=_ref.rootId,children=_ref.children,shouldShowModal=useModalRenderChecker(),containerElementRef=(0,react.useRef)(null),wasPortalCreated=(0,react.useRef)(!1),_useState=(0,react.useState)(!1),_useState2=(0,slicedToArray.Z)(_useState,2),isDomReady=_useState2[0],setIsDomReady=_useState2[1],getContainerElement=(0,react.useCallback)((function(){return containerElementRef.current||document.getElementById(rootId)}),[rootId,containerElementRef]),getChildNodeCount=(0,react.useCallback)((function(){var container=getContainerElement();return container?container.childNodes.length:0}),[getContainerElement]),removePortal=(0,react.useCallback)((function(){var containerElement=containerElementRef.current||document.getElementById(rootId);containerElementRef.current=null,containerElement&&!getChildNodeCount()&&containerElement.remove()}),[rootId,getChildNodeCount]);return(0,react.useEffect)((function(){if(!shouldShowModal)return removePortal(),function(){};var containerElement=document.getElementById(rootId);return containerElement||((containerElement=document.createElement("div")).setAttribute("id",rootId),containerElement.setAttribute("data-testid","html-cookie-consent-container"),document.body.insertBefore(containerElement,document.body.firstChild)),containerElementRef.current=containerElement,setIsDomReady(!0),function(){removePortal()}}),[rootId,shouldShowModal,setIsDomReady,removePortal]),"undefined"==typeof document?null:0!==getChildNodeCount()||shouldShowModal&&isDomReady?getChildNodeCount()>0&&!wasPortalCreated.current?null:containerElementRef.current?(wasPortalCreated.current=!0,(0,react_dom.createPortal)((0,jsx_runtime.jsx)(jsx_runtime.Fragment,{children}),containerElementRef.current)):null:null}try{Portal.displayName="Portal",Portal.__docgenInfo={description:"",displayName:"Portal",props:{rootId:{defaultValue:null,description:"",name:"rootId",required:!0,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/cookieConsent/cookieModal/Portal.tsx#Portal"]={docgenInfo:Portal.__docgenInfo,name:"Portal",path:"src/components/cookieConsent/cookieModal/Portal.tsx#Portal"})}catch(__react_docgen_typescript_loader_error){}function CookieModal(_ref){var contentSource=_ref.contentSource,cookieDomain=_ref.cookieDomain,_ref$rootId=_ref.rootId,rootId=void 0===_ref$rootId?"HdsCookieConsentContainer":_ref$rootId;return(0,jsx_runtime.jsx)(CookieConsentContext,{contentSource,cookieDomain,children:(0,jsx_runtime.jsx)(Portal,{rootId,children:(0,jsx_runtime.jsx)(Modal,{})})})}try{CookieModal.displayName="CookieModal",CookieModal.__docgenInfo={description:"",displayName:"CookieModal",props:{contentSource:{defaultValue:null,description:"",name:"contentSource",required:!0,type:{name:"CookieContentSource"}},cookieDomain:{defaultValue:null,description:"",name:"cookieDomain",required:!1,type:{name:"string"}},rootId:{defaultValue:{value:"HdsCookieConsentContainer"},description:"",name:"rootId",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/cookieConsent/cookieModal/CookieModal.tsx#CookieModal"]={docgenInfo:CookieModal.__docgenInfo,name:"CookieModal",path:"src/components/cookieConsent/cookieModal/CookieModal.tsx#CookieModal"})}catch(__react_docgen_typescript_loader_error){}const CookieConsent_stories={component:CookieModal,title:"Components/CookieConsent",parameters:{storySource:{source:"import React, { useState } from 'react';\n\nimport { useCookieConsentContext } from './contexts/ConsentContext';\nimport { Category, CookieData, SupportedLanguage, useCookieContentContext } from './contexts/ContentContext';\nimport { CookieConsentContext } from './contexts/ContextComponent';\nimport { CookiePage } from './cookiePage/CookiePage';\nimport { CookieContentSource } from './content.builder';\nimport { Modal } from './modal/Modal';\nimport { Accordion } from '../accordion';\nimport { useCookies } from './useCookies';\nimport { CookieModal } from './cookieModal/CookieModal';\n\nexport default {\n component: CookieModal,\n title: 'Components/CookieConsent',\n parameters: {\n controls: { expanded: true },\n docs: { disable: true },\n },\n args: {},\n};\n\nconst ForcePageScrollBarForModalTesting = () => {\n return (\n \n );\n};\n\n// args is required for docs tab to show source code\n\nexport const EnglishModalVersion = (args) => {\n const [language, setLanguage] = useState('en');\n const onLanguageChange = (newLang) => setLanguage(newLang);\n const contentSource: CookieContentSource = {\n siteName: 'Test website',\n currentLanguage: language,\n requiredCookies: {\n groups: [\n {\n commonGroup: 'login',\n cookies: [\n {\n commonCookie: 'tunnistamo',\n },\n {\n commonCookie: 'keycloak',\n },\n ],\n },\n {\n commonGroup: 'essential',\n cookies: [\n {\n commonCookie: 'cms-session',\n },\n ],\n },\n {\n commonGroup: 'loadBalancing',\n cookies: [\n {\n id: 'loadbalancer',\n name: 'Loadbalancer Cookie',\n hostName: 'CDN site',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'accessibility',\n cookies: [\n {\n id: 'accessibility',\n name: 'Accessibility cookie',\n hostName: 'CDN site',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'userInputs',\n cookies: [\n {\n id: 'userInputs',\n name: 'User inputs cookie',\n hostName: 'CDN site',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n ],\n },\n optionalCookies: {\n groups: [\n {\n commonGroup: 'marketing',\n cookies: [\n {\n id: 'marketing',\n name: 'Custom Marketing cookie',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'preferences',\n cookies: [\n {\n id: 'preferences1',\n name: 'Preference 1',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n {\n id: 'preferences2',\n name: 'Preference 2',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1 years',\n },\n {\n id: 'preferences3',\n name: 'Preference 3',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '2h',\n },\n ],\n },\n {\n commonGroup: 'statistics',\n cookies: [\n {\n commonCookie: 'matomo',\n },\n {\n commonCookie: 'matomoSession',\n },\n {\n commonCookie: 'matomoConsent',\n },\n {\n commonCookie: 'cookiehub',\n },\n {\n id: 'someOtherConsent',\n name: 'Other consent',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'location',\n cookies: [\n {\n id: 'location',\n name: 'Location consent',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'content',\n cookies: [\n {\n id: 'content',\n name: 'Content consent',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'thirdParty',\n cookies: [\n {\n id: 'thirdParty',\n name: 'ThirdParty consent',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'chat',\n cookies: [\n {\n id: 'chat',\n name: 'Chat consent',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'deviceInfo',\n cookies: [\n {\n id: 'deviceInfo',\n name: 'Device info consent',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'socialMedia',\n cookies: [\n {\n id: 'socialMedia',\n name: 'Social media consent',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'informationSecurity',\n cookies: [\n {\n id: 'informationSecurity',\n name: 'Information security consent',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n ],\n },\n\n language: {\n onLanguageChange,\n },\n onAllConsentsGiven: (consents) => {\n if (consents.matomo) {\n // start tracking\n // window._paq.push(['setConsentGiven']);\n // window._paq.push(['setCookieConsentGiven']);\n }\n },\n onConsentsParsed: (consents, hasUserHandledAllConsents) => {\n if (consents.matomo === undefined) {\n // tell matomo to wait for consent:\n // window._paq.push(['requireConsent']);\n // window._paq.push(['requireCookieConsent']);\n } else if (consents.matomo === false) {\n // tell matomo to forget conset\n // window._paq.push(['forgetConsentGiven']);\n }\n if (hasUserHandledAllConsents) {\n // cookie consent modal will not be shown\n }\n },\n focusTargetSelector: '#focused-element-after-cookie-consent-closed',\n };\n\n const MatomoCookieTracker = () => {\n const { getAllConsents } = useCookies();\n const getConsentStatus = (cookieId: string) => {\n const consents = getAllConsents();\n return consents[cookieId];\n };\n const isMatomoCookieApproved = getConsentStatus('matomo');\n return (\n \n
Example how to track single consent.
\n
Matomo onConsentsParsed is {!isMatomoCookieApproved && NOT } set.*
\n
* This won't change in real time \n
\n );\n };\n\n const Application = () => {\n return (\n \n {}\n
\n This is an example application with cookie consent modal\n \n
The modal will be shown when required. If user has given consents, it will not be shown.
\n
If hidden, remove the cookie to see the modal again.
\n
\n
\n
\n );\n };\n\n return (\n <>\n \n \n >\n );\n};\n\n// args is required for docs tab to show source code\n\nexport const FinnishModalVersion = (args) => {\n const [language, setLanguage] = useState('fi');\n const onLanguageChange = (newLang) => setLanguage(newLang);\n const contentSource: CookieContentSource = {\n siteName: 'Testisivusto',\n currentLanguage: language,\n requiredCookies: {\n groups: [\n {\n commonGroup: 'login',\n cookies: [\n {\n commonCookie: 'tunnistamo',\n },\n {\n commonCookie: 'keycloak',\n },\n ],\n },\n {\n commonGroup: 'essential',\n cookies: [\n {\n commonCookie: 'cms-session',\n },\n ],\n },\n {\n commonGroup: 'loadBalancing',\n cookies: [\n {\n id: 'loadbalancer',\n name: 'Loadbalancer Cookie',\n hostName: 'CDN site',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'accessibility',\n cookies: [\n {\n id: 'accessibility',\n name: 'Accessibility cookie',\n hostName: 'CDN site',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'userInputs',\n cookies: [\n {\n id: 'userInputs',\n name: 'User inputs cookie',\n hostName: 'CDN site',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n ],\n },\n optionalCookies: {\n groups: [\n {\n commonGroup: 'marketing',\n cookies: [\n {\n id: 'marketing',\n name: 'Custom Marketing cookie',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'preferences',\n cookies: [\n {\n id: 'preferences1',\n name: 'Preference 1',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n {\n id: 'preferences2',\n name: 'Preference 2',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1 years',\n },\n {\n id: 'preferences3',\n name: 'Preference 3',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '2h',\n },\n ],\n },\n {\n commonGroup: 'statistics',\n cookies: [\n {\n commonCookie: 'matomo',\n },\n {\n commonCookie: 'matomoSession',\n },\n {\n commonCookie: 'matomoConsent',\n },\n {\n commonCookie: 'cookiehub',\n },\n {\n id: 'someOtherConsent',\n name: 'Other consent',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'location',\n cookies: [\n {\n id: 'location',\n name: 'Location consent',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'content',\n cookies: [\n {\n id: 'content',\n name: 'Content consent',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'thirdParty',\n cookies: [\n {\n id: 'thirdParty',\n name: 'ThirdParty consent',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'chat',\n cookies: [\n {\n id: 'chat',\n name: 'Chat consent',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'deviceInfo',\n cookies: [\n {\n id: 'deviceInfo',\n name: 'Device info consent',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'socialMedia',\n cookies: [\n {\n id: 'socialMedia',\n name: 'Social media consent',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'informationSecurity',\n cookies: [\n {\n id: 'informationSecurity',\n name: 'Information security consent',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n ],\n },\n\n language: {\n onLanguageChange,\n },\n onAllConsentsGiven: (consents) => {\n if (consents.matomo) {\n // start tracking\n // window._paq.push(['setConsentGiven']);\n // window._paq.push(['setCookieConsentGiven']);\n }\n },\n onConsentsParsed: (consents, hasUserHandledAllConsents) => {\n if (consents.matomo === undefined) {\n // tell matomo to wait for consent:\n // window._paq.push(['requireConsent']);\n // window._paq.push(['requireCookieConsent']);\n } else if (consents.matomo === false) {\n // tell matomo to forget conset\n // window._paq.push(['forgetConsentGiven']);\n }\n if (hasUserHandledAllConsents) {\n // cookie consent modal will not be shown\n }\n },\n focusTargetSelector: '#focused-element-after-cookie-consent-closed',\n };\n\n const MatomoCookieTrackerFinnish = () => {\n const { getAllConsents } = useCookies();\n const getConsentStatus = (cookieId: string) => {\n const consents = getAllConsents();\n return consents[cookieId];\n };\n const isMatomoCookieApproved = getConsentStatus('matomo');\n return (\n \n
Esimerkki kuinka seurata yhden keksin suostumusta
\n
Matomo suostumusta {isMatomoCookieApproved ? 'on' : EI OLE } asetettu.*
\n
* Tämä ei päivity reaaliajassa \n
\n );\n };\n\n const Application = () => {\n return (\n \n {}\n
\n Tämä on esimerkkisovellus CookieConsent-komponentin käytöstä\n \n
\n Keksienhallintaikkuna näytetään tarpeen vaatiessa. Jos käyttäjä on suorittanut keksien hyväksymisprosessin,\n ikkunaa ei näytetä.\n
\n
Jos ikkuna on piilossa, poista keksit jotta se tulee taas näkyviin.
\n
\n
\n
\n );\n };\n\n return (\n <>\n \n \n >\n );\n};\n\n// args is required for docs tab to show source code\n\nexport const SimpleModalVersion = (args) => {\n const [language, setLanguage] = useState('en');\n const onLanguageChange = (newLang) => setLanguage(newLang);\n const contentSource: CookieContentSource = {\n siteName: `Site title ${language}`,\n currentLanguage: language,\n optionalCookies: {\n cookies: [\n {\n commonGroup: 'essential',\n commonCookie: 'tunnistamo',\n },\n ],\n },\n language: {\n onLanguageChange,\n },\n focusTargetSelector: '#focused-element-after-cookie-consent-closed',\n };\n\n const Application = () => {\n return (\n \n {}\n
\n Simplest cookie consent example\n \n
This is an example how the modal is shown with minimal content parameters.
\n
If modal is not shown, remove the cookie to see the modal again.
\n
Note: it the cookie.required would be true, the modal would never be shown.
\n
\n
\n );\n };\n\n return (\n <>\n \n \n >\n );\n};\n\n// args is required for docs tab to show source code\n\nexport const PageVersion = (args) => {\n const contentSource: CookieContentSource = {\n siteName: 'Test website',\n currentLanguage: 'en',\n texts: {\n sections: {\n main: {\n title: 'Cookie consents as a page!',\n },\n },\n },\n requiredCookies: {\n groups: [\n {\n commonGroup: 'essential',\n cookies: [\n {\n commonCookie: 'tunnistamo',\n },\n {\n id: 'loadbalancer',\n name: 'loadbalancer cookie',\n hostName: 'CDN service',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n {\n commonCookie: 'keycloak',\n },\n ],\n },\n ],\n },\n optionalCookies: {\n groups: [\n {\n commonGroup: 'marketing',\n cookies: [\n {\n id: 'marketing',\n name: 'Marketing 1',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'preferences',\n cookies: [\n {\n id: 'preferences1',\n name: 'Setting 1',\n hostName: 'UserPreferences',\n description:\n 'Proin sodales maximus est, pulvinar tempus felis tempus quis. Aenean at vestibulum lectus. Aliquam erat volutpat. Nullam venenatis feugiat sem vitae cursus. ',\n expiration: '1 year',\n },\n ],\n },\n {\n commonGroup: 'statistics',\n cookies: [\n {\n commonCookie: 'matomo',\n },\n {\n commonCookie: 'matomoSession',\n },\n {\n commonCookie: 'matomoConsent',\n },\n {\n id: 'someOtherConsent',\n name: 'Other analytics site',\n hostName: 'Other analytics',\n description: 'Vel est molestie Quisque vel dui vel est molestie con con',\n expiration: '1 year',\n },\n ],\n },\n ],\n },\n\n onAllConsentsGiven: (consents) => {\n // called when consents are saved\n // handle changes like:\n if (!consents.matomo) {\n // stop matomo tracking\n }\n },\n };\n\n return (\n \n \n \n );\n};\n\n// args is required for docs tab to show source code\n\nexport const CustomContentVersion = (args) => {\n const contentSource: CookieContentSource = {\n siteName: 'Not shown if main title is overridden',\n currentLanguage: 'en',\n texts: {\n sections: {\n main: {\n title: 'Custom main title',\n text: 'Custom main preferences',\n },\n details: {\n title: 'Custom details title',\n text: 'Custom details preferences',\n },\n },\n ui: {\n showSettings: 'Custom show settings',\n hideSettings: 'Custom hide settings',\n approveAllConsents: 'Custom approve all consents',\n approveRequiredAndSelectedConsents: 'Custom approve required and selected consents',\n approveOnlyRequiredConsents: 'Custom approve only required consents',\n settingsSaved: 'Custom settings saved text',\n },\n tableHeadings: {\n name: 'Cookie custom name',\n hostName: 'Host',\n description: 'Cookie purpose',\n expiration: 'Lifespan',\n },\n },\n requiredCookies: {\n title: 'Overridden title of required cookies',\n text: 'Overridden text of required cookies. The default text is not shown.',\n checkboxAriaDescription: 'This is the overridden checkbox aria description of required cookies',\n groups: [\n {\n id: 'my-cookie-group',\n title: 'My required cookie groupcustom title',\n text: 'My required cookie groupcustom text',\n checkboxAriaDescription: 'Custom checkbox aria description for My cookie group',\n expandAriaLabel: 'Custom expand button aria label for My cookie group',\n cookies: [\n {\n id: 'custom-cookie',\n name: 'Custom cookie',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1000 years',\n },\n ],\n },\n {\n title: 'Custom cookie group title',\n text: 'Custom cookie group text',\n checkboxAriaDescription: 'Custom checkbox aria description for custom cookies group',\n expandAriaLabel: 'Custom expand button aria label for custom cookies group',\n cookies: [\n {\n id: 'marketing',\n name: 'Marketing 1',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n ],\n cookies: [\n {\n commonCookie: 'tunnistamo',\n groupId: 'my-cookie-group',\n },\n ],\n },\n optionalCookies: {\n title: 'Overridden title of optional cookies',\n text: 'Overridden text of optional cookies. The default text is not shown.',\n checkboxAriaDescription: 'This is the overridden checkbox aria description of optional cookies',\n groups: [\n {\n title: 'Custom cookies group title',\n text: 'Custom cookies group text',\n checkboxAriaDescription: 'Custom checkbox aria description for custom cookies group',\n expandAriaLabel: 'Custom expand button aria label for custom cookies group',\n cookies: [\n {\n id: 'some-cookie',\n name: 'Setting 1',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: 'Sessio',\n },\n {\n id: 'some-cookie2',\n name: 'Setting 2',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: 'Sessio',\n },\n ],\n },\n {\n commonGroup: 'statistics',\n cookies: [\n {\n id: 'someOtherConsent',\n name: 'Other cookie',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: 'Sessio',\n },\n ],\n },\n ],\n cookies: [\n {\n commonGroup: 'statistics',\n commonCookie: 'matomo',\n },\n ],\n },\n };\n\n return (\n \n \n \n );\n};\n\n// args is required for docs tab to show source code\n\nexport const DebugVersion = (args) => {\n const contentSource: CookieContentSource = {\n siteName: 'Cookie consent debugging',\n currentLanguage: 'fi',\n requiredCookies: {\n cookies: [\n {\n commonGroup: 'statistics',\n commonCookie: 'matomo',\n },\n ],\n },\n optionalCookies: {\n cookies: [\n {\n commonCookie: 'tunnistamo',\n commonGroup: 'essential',\n },\n {\n id: `random-cookie-${Math.random()}-without-consent`,\n commonGroup: 'marketing',\n },\n ],\n },\n focusTargetSelector: '#focused-element-after-cookie-consent-closed',\n };\n\n const getCategoryCookies = (category?: Category): CookieData[] => {\n if (!category) {\n return [];\n }\n let allCookies: CookieData[] = [];\n category.groups.forEach((group) => {\n allCookies = [...allCookies, ...group.cookies];\n });\n return allCookies;\n };\n\n const Application = () => {\n const consentContext = useCookieConsentContext();\n const content = useCookieContentContext();\n const { hasUserHandledAllConsents } = consentContext;\n const { requiredCookies, optionalCookies } = content;\n const willRenderCookieConsentDialog = hasUserHandledAllConsents();\n const { getAllConsents } = useCookies();\n const storedConsents = getAllConsents();\n const getConsentStatus = (cookieId: string) => {\n return storedConsents[cookieId];\n };\n return (\n \n
\n Debugging example\n \n
This is an example how to get all data from the cookie consent context.
\n
\n The same contentSource can be passed to the context and it provides access to the content built from the\n source. There are multiple hooks for getting the context, content, texts, etc. You can also trigger actions to\n store consents.\n
\n
All consents have been given: {String(!willRenderCookieConsentDialog)}
\n
There is a random cookie, so modal is always shown.
\n
\n To see all consents in the cookie, open DevTools, goto Application tab and select Storage/Cookies from the\n side panel\n
\n
\n \n
{JSON.stringify(content, null, 2)} \n
\n \n
\n The consents are read from the stored cookie
\n \n {getCategoryCookies(requiredCookies).map((cookie) => {\n return (\n \n {cookie.id} has consent stored in cookie: {String(getConsentStatus(cookie.id))}\n \n );\n })}\n \n \n
\n The consents are read from the stored cookie
\n \n {getCategoryCookies(optionalCookies).map((cookie) => {\n return (\n \n {cookie.id} has consent: {String(getConsentStatus(cookie.id))}\n \n );\n })}\n \n \n
\n The stored cookie has these user given consents:
\n \n {Object.keys(storedConsents).map((cookieId) => {\n return (\n \n {cookieId} : {String(getConsentStatus(cookieId))}\n \n );\n })}\n \n \n
\n );\n };\n\n return (\n \n \n \n \n );\n};\n\nDebugVersion.parameters = {\n loki: { skip: true },\n};\n\n// args is required for docs tab to show source code\n\nexport const TunnistamoLoginCookies = (args) => {\n const [language, setLanguage] = useState('en');\n const onLanguageChange = (newLang) => setLanguage(newLang);\n const contentSource: CookieContentSource = {\n siteName: `Site title ${language}`,\n texts: {\n sections: {\n main: {\n title: 'List all cookies used in Tunnistamo login',\n text:\n 'This is an example how to get consents for all cookies when using Tunnistamo login flow. All used session, language, load balancer and csrf cookies are listed. Tunnistamo uses Tunnistus and Suomi.fi services and cookies of those services are also listed as they have no consent queries of their own.',\n },\n },\n },\n currentLanguage: language,\n requiredCookies: {\n groups: [\n { commonGroup: 'tunnistamoLogin' },\n { commonGroup: 'loadBalancing', cookies: [{ commonCookie: 'tunnistamo-login-loadbalancer' }] },\n {\n commonGroup: 'informationSecurity',\n cookies: [{ commonCookie: 'tunnistamo-csrftoken' }],\n },\n {\n commonGroup: 'language',\n cookies: [{ commonCookie: 'keycloak-language' }, { commonCookie: 'suomifi-language' }],\n },\n ],\n },\n language: {\n onLanguageChange,\n },\n focusTargetSelector: '#focused-element-after-cookie-consent-closed',\n };\n\n return (\n <>\n \n >\n );\n};\n\nTunnistamoLoginCookies.parameters = {\n loki: { skip: true },\n};\n",locationsMap:{"english-modal-version":{startLoc:{col:35,line:34},endLoc:{col:1,line:328},startBody:{col:35,line:34},endBody:{col:1,line:328}},"finnish-modal-version":{startLoc:{col:35,line:332},endLoc:{col:1,line:629},startBody:{col:35,line:332},endBody:{col:1,line:629}},"simple-modal-version":{startLoc:{col:34,line:633},endLoc:{col:1,line:674},startBody:{col:34,line:633},endBody:{col:1,line:674}},"page-version":{startLoc:{col:27,line:678},endLoc:{col:1,line:778},startBody:{col:27,line:678},endBody:{col:1,line:778}},"custom-content-version":{startLoc:{col:36,line:782},endLoc:{col:1,line:915},startBody:{col:36,line:782},endBody:{col:1,line:915}},"debug-version":{startLoc:{col:28,line:919},endLoc:{col:1,line:1036},startBody:{col:28,line:919},endBody:{col:1,line:1036}},"tunnistamo-login-cookies":{startLoc:{col:38,line:1044},endLoc:{col:1,line:1084},startBody:{col:38,line:1044},endBody:{col:1,line:1084}}}},controls:{expanded:!0},docs:{disable:!0}},args:{}};var ForcePageScrollBarForModalTesting=function ForcePageScrollBarForModalTesting(){return(0,jsx_runtime.jsxs)("div",{children:[(0,jsx_runtime.jsx)("div",{style:{height:"100vh"},children:" "}),(0,jsx_runtime.jsx)("p",{children:"Bottom page"})]})},EnglishModalVersion=function EnglishModalVersion(args){var _useState=(0,react.useState)("en"),_useState2=(0,slicedToArray.Z)(_useState,2),language=_useState2[0],setLanguage=_useState2[1],contentSource={siteName:"Test website",currentLanguage:language,requiredCookies:{groups:[{commonGroup:"login",cookies:[{commonCookie:"tunnistamo"},{commonCookie:"keycloak"}]},{commonGroup:"essential",cookies:[{commonCookie:"cms-session"}]},{commonGroup:"loadBalancing",cookies:[{id:"loadbalancer",name:"Loadbalancer Cookie",hostName:"CDN site",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"1h"}]},{commonGroup:"accessibility",cookies:[{id:"accessibility",name:"Accessibility cookie",hostName:"CDN site",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"1h"}]},{commonGroup:"userInputs",cookies:[{id:"userInputs",name:"User inputs cookie",hostName:"CDN site",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"1h"}]}]},optionalCookies:{groups:[{commonGroup:"marketing",cookies:[{id:"marketing",name:"Custom Marketing cookie",hostName:"Host name",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"1h"}]},{commonGroup:"preferences",cookies:[{id:"preferences1",name:"Preference 1",hostName:"Host name",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"1h"},{id:"preferences2",name:"Preference 2",hostName:"Host name",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"1 years"},{id:"preferences3",name:"Preference 3",hostName:"Host name",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"2h"}]},{commonGroup:"statistics",cookies:[{commonCookie:"matomo"},{commonCookie:"matomoSession"},{commonCookie:"matomoConsent"},{commonCookie:"cookiehub"},{id:"someOtherConsent",name:"Other consent",hostName:"Host name",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"1h"}]},{commonGroup:"location",cookies:[{id:"location",name:"Location consent",hostName:"Host name",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"1h"}]},{commonGroup:"content",cookies:[{id:"content",name:"Content consent",hostName:"Host name",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"1h"}]},{commonGroup:"thirdParty",cookies:[{id:"thirdParty",name:"ThirdParty consent",hostName:"Host name",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"1h"}]},{commonGroup:"chat",cookies:[{id:"chat",name:"Chat consent",hostName:"Host name",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"1h"}]},{commonGroup:"deviceInfo",cookies:[{id:"deviceInfo",name:"Device info consent",hostName:"Host name",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"1h"}]},{commonGroup:"socialMedia",cookies:[{id:"socialMedia",name:"Social media consent",hostName:"Host name",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"1h"}]},{commonGroup:"informationSecurity",cookies:[{id:"informationSecurity",name:"Information security consent",hostName:"Host name",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"1h"}]}]},language:{onLanguageChange:function onLanguageChange(newLang){return setLanguage(newLang)}},onAllConsentsGiven:function onAllConsentsGiven(consents){consents.matomo},onConsentsParsed:function onConsentsParsed(consents,hasUserHandledAllConsents){void 0===consents.matomo||consents.matomo},focusTargetSelector:"#focused-element-after-cookie-consent-closed"},MatomoCookieTracker=function MatomoCookieTracker(){var getAllConsents=useCookies().getAllConsents,isMatomoCookieApproved=function getConsentStatus(cookieId){return getAllConsents()[cookieId]}("matomo");return(0,jsx_runtime.jsxs)("div",{children:[(0,jsx_runtime.jsx)("p",{children:"Example how to track single consent."}),(0,jsx_runtime.jsxs)("p",{children:["Matomo onConsentsParsed is ",!isMatomoCookieApproved&&(0,jsx_runtime.jsx)("strong",{children:"NOT"})," set.*"]}),(0,jsx_runtime.jsx)("small",{style:{fontSize:"80%"},children:"* This won't change in real time"})]})},Application=function Application(){var _contentSource$focusT;return(0,jsx_runtime.jsxs)("div",{children:[(0,jsx_runtime.jsx)("h1",{className:"heading-xl",id:null===(_contentSource$focusT=contentSource.focusTargetSelector)||void 0===_contentSource$focusT?void 0:_contentSource$focusT.replace("#",""),tabIndex:0,children:"This is an example application with cookie consent modal"}),(0,jsx_runtime.jsx)("p",{children:"The modal will be shown when required. If user has given consents, it will not be shown."}),(0,jsx_runtime.jsx)("p",{children:"If hidden, remove the cookie to see the modal again."}),(0,jsx_runtime.jsx)(MatomoCookieTracker,{}),(0,jsx_runtime.jsx)(ForcePageScrollBarForModalTesting,{})]})};return(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsx)(CookieModal,{contentSource}),(0,jsx_runtime.jsx)(Application,{})]})},FinnishModalVersion=function FinnishModalVersion(args){var _useState3=(0,react.useState)("fi"),_useState4=(0,slicedToArray.Z)(_useState3,2),language=_useState4[0],setLanguage=_useState4[1],contentSource={siteName:"Testisivusto",currentLanguage:language,requiredCookies:{groups:[{commonGroup:"login",cookies:[{commonCookie:"tunnistamo"},{commonCookie:"keycloak"}]},{commonGroup:"essential",cookies:[{commonCookie:"cms-session"}]},{commonGroup:"loadBalancing",cookies:[{id:"loadbalancer",name:"Loadbalancer Cookie",hostName:"CDN site",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"1h"}]},{commonGroup:"accessibility",cookies:[{id:"accessibility",name:"Accessibility cookie",hostName:"CDN site",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"1h"}]},{commonGroup:"userInputs",cookies:[{id:"userInputs",name:"User inputs cookie",hostName:"CDN site",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"1h"}]}]},optionalCookies:{groups:[{commonGroup:"marketing",cookies:[{id:"marketing",name:"Custom Marketing cookie",hostName:"Host name",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"1h"}]},{commonGroup:"preferences",cookies:[{id:"preferences1",name:"Preference 1",hostName:"Host name",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"1h"},{id:"preferences2",name:"Preference 2",hostName:"Host name",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"1 years"},{id:"preferences3",name:"Preference 3",hostName:"Host name",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"2h"}]},{commonGroup:"statistics",cookies:[{commonCookie:"matomo"},{commonCookie:"matomoSession"},{commonCookie:"matomoConsent"},{commonCookie:"cookiehub"},{id:"someOtherConsent",name:"Other consent",hostName:"Host name",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"1h"}]},{commonGroup:"location",cookies:[{id:"location",name:"Location consent",hostName:"Host name",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"1h"}]},{commonGroup:"content",cookies:[{id:"content",name:"Content consent",hostName:"Host name",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"1h"}]},{commonGroup:"thirdParty",cookies:[{id:"thirdParty",name:"ThirdParty consent",hostName:"Host name",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"1h"}]},{commonGroup:"chat",cookies:[{id:"chat",name:"Chat consent",hostName:"Host name",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"1h"}]},{commonGroup:"deviceInfo",cookies:[{id:"deviceInfo",name:"Device info consent",hostName:"Host name",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"1h"}]},{commonGroup:"socialMedia",cookies:[{id:"socialMedia",name:"Social media consent",hostName:"Host name",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"1h"}]},{commonGroup:"informationSecurity",cookies:[{id:"informationSecurity",name:"Information security consent",hostName:"Host name",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"1h"}]}]},language:{onLanguageChange:function onLanguageChange(newLang){return setLanguage(newLang)}},onAllConsentsGiven:function onAllConsentsGiven(consents){consents.matomo},onConsentsParsed:function onConsentsParsed(consents,hasUserHandledAllConsents){void 0===consents.matomo||consents.matomo},focusTargetSelector:"#focused-element-after-cookie-consent-closed"},MatomoCookieTrackerFinnish=function MatomoCookieTrackerFinnish(){var getAllConsents=useCookies().getAllConsents,isMatomoCookieApproved=function getConsentStatus(cookieId){return getAllConsents()[cookieId]}("matomo");return(0,jsx_runtime.jsxs)("div",{children:[(0,jsx_runtime.jsx)("p",{children:"Esimerkki kuinka seurata yhden keksin suostumusta"}),(0,jsx_runtime.jsxs)("p",{children:["Matomo suostumusta ",isMatomoCookieApproved?"on":(0,jsx_runtime.jsx)("strong",{children:"EI OLE "})," asetettu.*"]}),(0,jsx_runtime.jsx)("small",{style:{fontSize:"80%"},children:"* Tämä ei päivity reaaliajassa"})]})},Application=function Application(){var _contentSource$focusT2;return(0,jsx_runtime.jsxs)("div",{children:[(0,jsx_runtime.jsx)("h1",{className:"heading-xl",id:null===(_contentSource$focusT2=contentSource.focusTargetSelector)||void 0===_contentSource$focusT2?void 0:_contentSource$focusT2.replace("#",""),tabIndex:0,children:"Tämä on esimerkkisovellus CookieConsent-komponentin käytöstä"}),(0,jsx_runtime.jsx)("p",{children:"Keksienhallintaikkuna näytetään tarpeen vaatiessa. Jos käyttäjä on suorittanut keksien hyväksymisprosessin, ikkunaa ei näytetä."}),(0,jsx_runtime.jsx)("p",{children:"Jos ikkuna on piilossa, poista keksit jotta se tulee taas näkyviin."}),(0,jsx_runtime.jsx)(MatomoCookieTrackerFinnish,{}),(0,jsx_runtime.jsx)(ForcePageScrollBarForModalTesting,{})]})};return(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsx)(CookieModal,{contentSource}),(0,jsx_runtime.jsx)(Application,{})]})},SimpleModalVersion=function SimpleModalVersion(args){var _useState5=(0,react.useState)("en"),_useState6=(0,slicedToArray.Z)(_useState5,2),language=_useState6[0],setLanguage=_useState6[1],contentSource={siteName:"Site title ".concat(language),currentLanguage:language,optionalCookies:{cookies:[{commonGroup:"essential",commonCookie:"tunnistamo"}]},language:{onLanguageChange:function onLanguageChange(newLang){return setLanguage(newLang)}},focusTargetSelector:"#focused-element-after-cookie-consent-closed"},Application=function Application(){var _contentSource$focusT3;return(0,jsx_runtime.jsxs)("div",{children:[(0,jsx_runtime.jsx)("h1",{className:"heading-xl",id:null===(_contentSource$focusT3=contentSource.focusTargetSelector)||void 0===_contentSource$focusT3?void 0:_contentSource$focusT3.replace("#",""),tabIndex:0,children:"Simplest cookie consent example"}),(0,jsx_runtime.jsx)("p",{children:"This is an example how the modal is shown with minimal content parameters."}),(0,jsx_runtime.jsx)("p",{children:"If modal is not shown, remove the cookie to see the modal again."}),(0,jsx_runtime.jsx)("p",{children:"Note: it the cookie.required would be true, the modal would never be shown."}),(0,jsx_runtime.jsx)(ForcePageScrollBarForModalTesting,{})]})};return(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsx)(CookieModal,{contentSource}),(0,jsx_runtime.jsx)(Application,{})]})},PageVersion=function PageVersion(args){return(0,jsx_runtime.jsx)("main",{children:(0,jsx_runtime.jsx)(CookiePage,{contentSource:{siteName:"Test website",currentLanguage:"en",texts:{sections:{main:{title:"Cookie consents as a page!"}}},requiredCookies:{groups:[{commonGroup:"essential",cookies:[{commonCookie:"tunnistamo"},{id:"loadbalancer",name:"loadbalancer cookie",hostName:"CDN service",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"1h"},{commonCookie:"keycloak"}]}]},optionalCookies:{groups:[{commonGroup:"marketing",cookies:[{id:"marketing",name:"Marketing 1",hostName:"Host name",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"1h"}]},{commonGroup:"preferences",cookies:[{id:"preferences1",name:"Setting 1",hostName:"UserPreferences",description:"Proin sodales maximus est, pulvinar tempus felis tempus quis. Aenean at vestibulum lectus. Aliquam erat volutpat. Nullam venenatis feugiat sem vitae cursus. ",expiration:"1 year"}]},{commonGroup:"statistics",cookies:[{commonCookie:"matomo"},{commonCookie:"matomoSession"},{commonCookie:"matomoConsent"},{id:"someOtherConsent",name:"Other analytics site",hostName:"Other analytics",description:"Vel est molestie Quisque vel dui vel est molestie con con",expiration:"1 year"}]}]},onAllConsentsGiven:function onAllConsentsGiven(consents){consents.matomo}}})})},CustomContentVersion=function CustomContentVersion(args){return(0,jsx_runtime.jsx)("main",{children:(0,jsx_runtime.jsx)(CookiePage,{contentSource:{siteName:"Not shown if main title is overridden",currentLanguage:"en",texts:{sections:{main:{title:"Custom main title",text:"Custom main preferences"},details:{title:"Custom details title",text:"Custom details preferences"}},ui:{showSettings:"Custom show settings",hideSettings:"Custom hide settings",approveAllConsents:"Custom approve all consents",approveRequiredAndSelectedConsents:"Custom approve required and selected consents",approveOnlyRequiredConsents:"Custom approve only required consents",settingsSaved:"Custom settings saved text"},tableHeadings:{name:"Cookie custom name",hostName:"Host",description:"Cookie purpose",expiration:"Lifespan"}},requiredCookies:{title:"Overridden title of required cookies",text:"Overridden text of required cookies. The default text is not shown.",checkboxAriaDescription:"This is the overridden checkbox aria description of required cookies",groups:[{id:"my-cookie-group",title:"My required cookie groupcustom title",text:"My required cookie groupcustom text",checkboxAriaDescription:"Custom checkbox aria description for My cookie group",expandAriaLabel:"Custom expand button aria label for My cookie group",cookies:[{id:"custom-cookie",name:"Custom cookie",hostName:"Host name",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"1000 years"}]},{title:"Custom cookie group title",text:"Custom cookie group text",checkboxAriaDescription:"Custom checkbox aria description for custom cookies group",expandAriaLabel:"Custom expand button aria label for custom cookies group",cookies:[{id:"marketing",name:"Marketing 1",hostName:"Host name",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"1h"}]}],cookies:[{commonCookie:"tunnistamo",groupId:"my-cookie-group"}]},optionalCookies:{title:"Overridden title of optional cookies",text:"Overridden text of optional cookies. The default text is not shown.",checkboxAriaDescription:"This is the overridden checkbox aria description of optional cookies",groups:[{title:"Custom cookies group title",text:"Custom cookies group text",checkboxAriaDescription:"Custom checkbox aria description for custom cookies group",expandAriaLabel:"Custom expand button aria label for custom cookies group",cookies:[{id:"some-cookie",name:"Setting 1",hostName:"Host name",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"Sessio"},{id:"some-cookie2",name:"Setting 2",hostName:"Host name",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"Sessio"}]},{commonGroup:"statistics",cookies:[{id:"someOtherConsent",name:"Other cookie",hostName:"Host name",description:"Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus",expiration:"Sessio"}]}],cookies:[{commonGroup:"statistics",commonCookie:"matomo"}]}}})})},DebugVersion=function DebugVersion(args){var contentSource={siteName:"Cookie consent debugging",currentLanguage:"fi",requiredCookies:{cookies:[{commonGroup:"statistics",commonCookie:"matomo"}]},optionalCookies:{cookies:[{commonCookie:"tunnistamo",commonGroup:"essential"},{id:"random-cookie-".concat(Math.random(),"-without-consent"),commonGroup:"marketing"}]},focusTargetSelector:"#focused-element-after-cookie-consent-closed"},getCategoryCookies=function getCategoryCookies(category){if(!category)return[];var allCookies=[];return category.groups.forEach((function(group){allCookies=[].concat((0,toConsumableArray.Z)(allCookies),(0,toConsumableArray.Z)(group.cookies))})),allCookies},Application=function Application(){var _contentSource$focusT4,consentContext=useCookieConsentContext(),content=useCookieContentContext(),hasUserHandledAllConsents=consentContext.hasUserHandledAllConsents,requiredCookies=content.requiredCookies,optionalCookies=content.optionalCookies,willRenderCookieConsentDialog=hasUserHandledAllConsents(),storedConsents=(0,useCookies().getAllConsents)(),getConsentStatus=function getConsentStatus(cookieId){return storedConsents[cookieId]};return(0,jsx_runtime.jsxs)("div",{children:[(0,jsx_runtime.jsx)("h1",{className:"heading-xl",id:null===(_contentSource$focusT4=contentSource.focusTargetSelector)||void 0===_contentSource$focusT4?void 0:_contentSource$focusT4.replace("#",""),children:"Debugging example"}),(0,jsx_runtime.jsx)("p",{children:"This is an example how to get all data from the cookie consent context."}),(0,jsx_runtime.jsx)("p",{children:"The same contentSource can be passed to the context and it provides access to the content built from the source. There are multiple hooks for getting the context, content, texts, etc. You can also trigger actions to store consents."}),(0,jsx_runtime.jsxs)("p",{children:["All consents have been given: ",String(!willRenderCookieConsentDialog)]}),(0,jsx_runtime.jsx)("p",{children:"There is a random cookie, so modal is always shown."}),(0,jsx_runtime.jsx)("p",{children:"To see all consents in the cookie, open DevTools, goto Application tab and select Storage/Cookies from the side panel"}),(0,jsx_runtime.jsx)(Accordion.U,{heading:"View full content",children:(0,jsx_runtime.jsx)("div",{children:(0,jsx_runtime.jsx)("pre",{children:JSON.stringify(content,null,2)})})}),(0,jsx_runtime.jsxs)(Accordion.U,{heading:"View required cookies and their consets",children:[(0,jsx_runtime.jsx)("p",{children:"The consents are read from the stored cookie"}),(0,jsx_runtime.jsx)("ul",{children:getCategoryCookies(requiredCookies).map((function(cookie){return(0,jsx_runtime.jsxs)("li",{children:[(0,jsx_runtime.jsx)("strong",{children:cookie.id})," has consent stored in cookie: ",String(getConsentStatus(cookie.id))]},cookie.id)}))})]}),(0,jsx_runtime.jsxs)(Accordion.U,{heading:"View optional cookies and their consents",children:[(0,jsx_runtime.jsx)("p",{children:"The consents are read from the stored cookie"}),(0,jsx_runtime.jsx)("ul",{children:getCategoryCookies(optionalCookies).map((function(cookie){return(0,jsx_runtime.jsxs)("li",{children:[(0,jsx_runtime.jsx)("strong",{children:cookie.id})," has consent: ",String(getConsentStatus(cookie.id))]},cookie.id)}))})]}),(0,jsx_runtime.jsxs)(Accordion.U,{heading:"View consents in the stored cookie",children:[(0,jsx_runtime.jsx)("p",{children:"The stored cookie has these user given consents:"}),(0,jsx_runtime.jsx)("ul",{children:Object.keys(storedConsents).map((function(cookieId){return(0,jsx_runtime.jsxs)("li",{children:[(0,jsx_runtime.jsx)("strong",{children:cookieId}),": ",String(getConsentStatus(cookieId))]},cookieId)}))})]})]})};return(0,jsx_runtime.jsxs)(CookieConsentContext,{contentSource,children:[(0,jsx_runtime.jsx)(Application,{}),(0,jsx_runtime.jsx)(Modal,{})]})};DebugVersion.parameters={loki:{skip:!0}};var TunnistamoLoginCookies=function TunnistamoLoginCookies(args){var _useState7=(0,react.useState)("en"),_useState8=(0,slicedToArray.Z)(_useState7,2),language=_useState8[0],setLanguage=_useState8[1],contentSource={siteName:"Site title ".concat(language),texts:{sections:{main:{title:"List all cookies used in Tunnistamo login",text:"This is an example how to get consents for all cookies when using Tunnistamo login flow. All used session, language, load balancer and csrf cookies are listed. Tunnistamo uses Tunnistus and Suomi.fi services and cookies of those services are also listed as they have no consent queries of their own."}}},currentLanguage:language,requiredCookies:{groups:[{commonGroup:"tunnistamoLogin"},{commonGroup:"loadBalancing",cookies:[{commonCookie:"tunnistamo-login-loadbalancer"}]},{commonGroup:"informationSecurity",cookies:[{commonCookie:"tunnistamo-csrftoken"}]},{commonGroup:"language",cookies:[{commonCookie:"keycloak-language"},{commonCookie:"suomifi-language"}]}]},language:{onLanguageChange:function onLanguageChange(newLang){return setLanguage(newLang)}},focusTargetSelector:"#focused-element-after-cookie-consent-closed"};return(0,jsx_runtime.jsx)(jsx_runtime.Fragment,{children:(0,jsx_runtime.jsx)(CookiePage,{contentSource})})};TunnistamoLoginCookies.parameters={loki:{skip:!0}},EnglishModalVersion.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const [language, setLanguage] = useState('en');\n const onLanguageChange = (newLang) => setLanguage(newLang);\n const contentSource: CookieContentSource = {\n siteName: 'Test website',\n currentLanguage: language,\n requiredCookies: {\n groups: [\n {\n commonGroup: 'login',\n cookies: [\n {\n commonCookie: 'tunnistamo',\n },\n {\n commonCookie: 'keycloak',\n },\n ],\n },\n {\n commonGroup: 'essential',\n cookies: [\n {\n commonCookie: 'cms-session',\n },\n ],\n },\n {\n commonGroup: 'loadBalancing',\n cookies: [\n {\n id: 'loadbalancer',\n name: 'Loadbalancer Cookie',\n hostName: 'CDN site',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'accessibility',\n cookies: [\n {\n id: 'accessibility',\n name: 'Accessibility cookie',\n hostName: 'CDN site',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'userInputs',\n cookies: [\n {\n id: 'userInputs',\n name: 'User inputs cookie',\n hostName: 'CDN site',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n ],\n },\n optionalCookies: {\n groups: [\n {\n commonGroup: 'marketing',\n cookies: [\n {\n id: 'marketing',\n name: 'Custom Marketing cookie',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'preferences',\n cookies: [\n {\n id: 'preferences1',\n name: 'Preference 1',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n {\n id: 'preferences2',\n name: 'Preference 2',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1 years',\n },\n {\n id: 'preferences3',\n name: 'Preference 3',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '2h',\n },\n ],\n },\n {\n commonGroup: 'statistics',\n cookies: [\n {\n commonCookie: 'matomo',\n },\n {\n commonCookie: 'matomoSession',\n },\n {\n commonCookie: 'matomoConsent',\n },\n {\n commonCookie: 'cookiehub',\n },\n {\n id: 'someOtherConsent',\n name: 'Other consent',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'location',\n cookies: [\n {\n id: 'location',\n name: 'Location consent',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'content',\n cookies: [\n {\n id: 'content',\n name: 'Content consent',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'thirdParty',\n cookies: [\n {\n id: 'thirdParty',\n name: 'ThirdParty consent',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'chat',\n cookies: [\n {\n id: 'chat',\n name: 'Chat consent',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'deviceInfo',\n cookies: [\n {\n id: 'deviceInfo',\n name: 'Device info consent',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'socialMedia',\n cookies: [\n {\n id: 'socialMedia',\n name: 'Social media consent',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'informationSecurity',\n cookies: [\n {\n id: 'informationSecurity',\n name: 'Information security consent',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n ],\n },\n\n language: {\n onLanguageChange,\n },\n onAllConsentsGiven: (consents) => {\n if (consents.matomo) {\n // start tracking\n // window._paq.push(['setConsentGiven']);\n // window._paq.push(['setCookieConsentGiven']);\n }\n },\n onConsentsParsed: (consents, hasUserHandledAllConsents) => {\n if (consents.matomo === undefined) {\n // tell matomo to wait for consent:\n // window._paq.push(['requireConsent']);\n // window._paq.push(['requireCookieConsent']);\n } else if (consents.matomo === false) {\n // tell matomo to forget conset\n // window._paq.push(['forgetConsentGiven']);\n }\n if (hasUserHandledAllConsents) {\n // cookie consent modal will not be shown\n }\n },\n focusTargetSelector: '#focused-element-after-cookie-consent-closed',\n };\n\n const MatomoCookieTracker = () => {\n const { getAllConsents } = useCookies();\n const getConsentStatus = (cookieId: string) => {\n const consents = getAllConsents();\n return consents[cookieId];\n };\n const isMatomoCookieApproved = getConsentStatus('matomo');\n return (\n \n
Example how to track single consent.
\n
Matomo onConsentsParsed is {!isMatomoCookieApproved && NOT } set.*
\n
* This won't change in real time \n
\n );\n };\n\n const Application = () => {\n return (\n \n {}\n
\n This is an example application with cookie consent modal\n \n
The modal will be shown when required. If user has given consents, it will not be shown.
\n
If hidden, remove the cookie to see the modal again.
\n
\n
\n
\n );\n };\n\n return (\n <>\n \n \n >\n );\n}"}},EnglishModalVersion.parameters),FinnishModalVersion.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const [language, setLanguage] = useState('fi');\n const onLanguageChange = (newLang) => setLanguage(newLang);\n const contentSource: CookieContentSource = {\n siteName: 'Testisivusto',\n currentLanguage: language,\n requiredCookies: {\n groups: [\n {\n commonGroup: 'login',\n cookies: [\n {\n commonCookie: 'tunnistamo',\n },\n {\n commonCookie: 'keycloak',\n },\n ],\n },\n {\n commonGroup: 'essential',\n cookies: [\n {\n commonCookie: 'cms-session',\n },\n ],\n },\n {\n commonGroup: 'loadBalancing',\n cookies: [\n {\n id: 'loadbalancer',\n name: 'Loadbalancer Cookie',\n hostName: 'CDN site',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'accessibility',\n cookies: [\n {\n id: 'accessibility',\n name: 'Accessibility cookie',\n hostName: 'CDN site',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'userInputs',\n cookies: [\n {\n id: 'userInputs',\n name: 'User inputs cookie',\n hostName: 'CDN site',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n ],\n },\n optionalCookies: {\n groups: [\n {\n commonGroup: 'marketing',\n cookies: [\n {\n id: 'marketing',\n name: 'Custom Marketing cookie',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'preferences',\n cookies: [\n {\n id: 'preferences1',\n name: 'Preference 1',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n {\n id: 'preferences2',\n name: 'Preference 2',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1 years',\n },\n {\n id: 'preferences3',\n name: 'Preference 3',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '2h',\n },\n ],\n },\n {\n commonGroup: 'statistics',\n cookies: [\n {\n commonCookie: 'matomo',\n },\n {\n commonCookie: 'matomoSession',\n },\n {\n commonCookie: 'matomoConsent',\n },\n {\n commonCookie: 'cookiehub',\n },\n {\n id: 'someOtherConsent',\n name: 'Other consent',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'location',\n cookies: [\n {\n id: 'location',\n name: 'Location consent',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'content',\n cookies: [\n {\n id: 'content',\n name: 'Content consent',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'thirdParty',\n cookies: [\n {\n id: 'thirdParty',\n name: 'ThirdParty consent',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'chat',\n cookies: [\n {\n id: 'chat',\n name: 'Chat consent',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'deviceInfo',\n cookies: [\n {\n id: 'deviceInfo',\n name: 'Device info consent',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'socialMedia',\n cookies: [\n {\n id: 'socialMedia',\n name: 'Social media consent',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'informationSecurity',\n cookies: [\n {\n id: 'informationSecurity',\n name: 'Information security consent',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n ],\n },\n\n language: {\n onLanguageChange,\n },\n onAllConsentsGiven: (consents) => {\n if (consents.matomo) {\n // start tracking\n // window._paq.push(['setConsentGiven']);\n // window._paq.push(['setCookieConsentGiven']);\n }\n },\n onConsentsParsed: (consents, hasUserHandledAllConsents) => {\n if (consents.matomo === undefined) {\n // tell matomo to wait for consent:\n // window._paq.push(['requireConsent']);\n // window._paq.push(['requireCookieConsent']);\n } else if (consents.matomo === false) {\n // tell matomo to forget conset\n // window._paq.push(['forgetConsentGiven']);\n }\n if (hasUserHandledAllConsents) {\n // cookie consent modal will not be shown\n }\n },\n focusTargetSelector: '#focused-element-after-cookie-consent-closed',\n };\n\n const MatomoCookieTrackerFinnish = () => {\n const { getAllConsents } = useCookies();\n const getConsentStatus = (cookieId: string) => {\n const consents = getAllConsents();\n return consents[cookieId];\n };\n const isMatomoCookieApproved = getConsentStatus('matomo');\n return (\n \n
Esimerkki kuinka seurata yhden keksin suostumusta
\n
Matomo suostumusta {isMatomoCookieApproved ? 'on' : EI OLE } asetettu.*
\n
* Tämä ei päivity reaaliajassa \n
\n );\n };\n\n const Application = () => {\n return (\n \n {}\n
\n Tämä on esimerkkisovellus CookieConsent-komponentin käytöstä\n \n
\n Keksienhallintaikkuna näytetään tarpeen vaatiessa. Jos käyttäjä on suorittanut keksien hyväksymisprosessin,\n ikkunaa ei näytetä.\n
\n
Jos ikkuna on piilossa, poista keksit jotta se tulee taas näkyviin.
\n
\n
\n
\n );\n };\n\n return (\n <>\n \n \n >\n );\n}"}},FinnishModalVersion.parameters),SimpleModalVersion.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const [language, setLanguage] = useState('en');\n const onLanguageChange = (newLang) => setLanguage(newLang);\n const contentSource: CookieContentSource = {\n siteName: `Site title ${language}`,\n currentLanguage: language,\n optionalCookies: {\n cookies: [\n {\n commonGroup: 'essential',\n commonCookie: 'tunnistamo',\n },\n ],\n },\n language: {\n onLanguageChange,\n },\n focusTargetSelector: '#focused-element-after-cookie-consent-closed',\n };\n\n const Application = () => {\n return (\n \n {}\n
\n Simplest cookie consent example\n \n
This is an example how the modal is shown with minimal content parameters.
\n
If modal is not shown, remove the cookie to see the modal again.
\n
Note: it the cookie.required would be true, the modal would never be shown.
\n
\n
\n );\n };\n\n return (\n <>\n \n \n >\n );\n}"}},SimpleModalVersion.parameters),PageVersion.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const contentSource: CookieContentSource = {\n siteName: 'Test website',\n currentLanguage: 'en',\n texts: {\n sections: {\n main: {\n title: 'Cookie consents as a page!',\n },\n },\n },\n requiredCookies: {\n groups: [\n {\n commonGroup: 'essential',\n cookies: [\n {\n commonCookie: 'tunnistamo',\n },\n {\n id: 'loadbalancer',\n name: 'loadbalancer cookie',\n hostName: 'CDN service',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n {\n commonCookie: 'keycloak',\n },\n ],\n },\n ],\n },\n optionalCookies: {\n groups: [\n {\n commonGroup: 'marketing',\n cookies: [\n {\n id: 'marketing',\n name: 'Marketing 1',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n {\n commonGroup: 'preferences',\n cookies: [\n {\n id: 'preferences1',\n name: 'Setting 1',\n hostName: 'UserPreferences',\n description:\n 'Proin sodales maximus est, pulvinar tempus felis tempus quis. Aenean at vestibulum lectus. Aliquam erat volutpat. Nullam venenatis feugiat sem vitae cursus. ',\n expiration: '1 year',\n },\n ],\n },\n {\n commonGroup: 'statistics',\n cookies: [\n {\n commonCookie: 'matomo',\n },\n {\n commonCookie: 'matomoSession',\n },\n {\n commonCookie: 'matomoConsent',\n },\n {\n id: 'someOtherConsent',\n name: 'Other analytics site',\n hostName: 'Other analytics',\n description: 'Vel est molestie Quisque vel dui vel est molestie con con',\n expiration: '1 year',\n },\n ],\n },\n ],\n },\n\n onAllConsentsGiven: (consents) => {\n // called when consents are saved\n // handle changes like:\n if (!consents.matomo) {\n // stop matomo tracking\n }\n },\n };\n\n return (\n \n \n \n );\n}"}},PageVersion.parameters),CustomContentVersion.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const contentSource: CookieContentSource = {\n siteName: 'Not shown if main title is overridden',\n currentLanguage: 'en',\n texts: {\n sections: {\n main: {\n title: 'Custom main title',\n text: 'Custom main preferences',\n },\n details: {\n title: 'Custom details title',\n text: 'Custom details preferences',\n },\n },\n ui: {\n showSettings: 'Custom show settings',\n hideSettings: 'Custom hide settings',\n approveAllConsents: 'Custom approve all consents',\n approveRequiredAndSelectedConsents: 'Custom approve required and selected consents',\n approveOnlyRequiredConsents: 'Custom approve only required consents',\n settingsSaved: 'Custom settings saved text',\n },\n tableHeadings: {\n name: 'Cookie custom name',\n hostName: 'Host',\n description: 'Cookie purpose',\n expiration: 'Lifespan',\n },\n },\n requiredCookies: {\n title: 'Overridden title of required cookies',\n text: 'Overridden text of required cookies. The default text is not shown.',\n checkboxAriaDescription: 'This is the overridden checkbox aria description of required cookies',\n groups: [\n {\n id: 'my-cookie-group',\n title: 'My required cookie groupcustom title',\n text: 'My required cookie groupcustom text',\n checkboxAriaDescription: 'Custom checkbox aria description for My cookie group',\n expandAriaLabel: 'Custom expand button aria label for My cookie group',\n cookies: [\n {\n id: 'custom-cookie',\n name: 'Custom cookie',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1000 years',\n },\n ],\n },\n {\n title: 'Custom cookie group title',\n text: 'Custom cookie group text',\n checkboxAriaDescription: 'Custom checkbox aria description for custom cookies group',\n expandAriaLabel: 'Custom expand button aria label for custom cookies group',\n cookies: [\n {\n id: 'marketing',\n name: 'Marketing 1',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: '1h',\n },\n ],\n },\n ],\n cookies: [\n {\n commonCookie: 'tunnistamo',\n groupId: 'my-cookie-group',\n },\n ],\n },\n optionalCookies: {\n title: 'Overridden title of optional cookies',\n text: 'Overridden text of optional cookies. The default text is not shown.',\n checkboxAriaDescription: 'This is the overridden checkbox aria description of optional cookies',\n groups: [\n {\n title: 'Custom cookies group title',\n text: 'Custom cookies group text',\n checkboxAriaDescription: 'Custom checkbox aria description for custom cookies group',\n expandAriaLabel: 'Custom expand button aria label for custom cookies group',\n cookies: [\n {\n id: 'some-cookie',\n name: 'Setting 1',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: 'Sessio',\n },\n {\n id: 'some-cookie2',\n name: 'Setting 2',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: 'Sessio',\n },\n ],\n },\n {\n commonGroup: 'statistics',\n cookies: [\n {\n id: 'someOtherConsent',\n name: 'Other cookie',\n hostName: 'Host name',\n description:\n 'Description lectus lacinia sed. Phasellus purus nisi, imperdiet id volutpat vel, pellentesque in ex. In pretium maximus finibus',\n expiration: 'Sessio',\n },\n ],\n },\n ],\n cookies: [\n {\n commonGroup: 'statistics',\n commonCookie: 'matomo',\n },\n ],\n },\n };\n\n return (\n \n \n \n );\n}"}},CustomContentVersion.parameters),DebugVersion.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const contentSource: CookieContentSource = {\n siteName: 'Cookie consent debugging',\n currentLanguage: 'fi',\n requiredCookies: {\n cookies: [\n {\n commonGroup: 'statistics',\n commonCookie: 'matomo',\n },\n ],\n },\n optionalCookies: {\n cookies: [\n {\n commonCookie: 'tunnistamo',\n commonGroup: 'essential',\n },\n {\n id: `random-cookie-${Math.random()}-without-consent`,\n commonGroup: 'marketing',\n },\n ],\n },\n focusTargetSelector: '#focused-element-after-cookie-consent-closed',\n };\n\n const getCategoryCookies = (category?: Category): CookieData[] => {\n if (!category) {\n return [];\n }\n let allCookies: CookieData[] = [];\n category.groups.forEach((group) => {\n allCookies = [...allCookies, ...group.cookies];\n });\n return allCookies;\n };\n\n const Application = () => {\n const consentContext = useCookieConsentContext();\n const content = useCookieContentContext();\n const { hasUserHandledAllConsents } = consentContext;\n const { requiredCookies, optionalCookies } = content;\n const willRenderCookieConsentDialog = hasUserHandledAllConsents();\n const { getAllConsents } = useCookies();\n const storedConsents = getAllConsents();\n const getConsentStatus = (cookieId: string) => {\n return storedConsents[cookieId];\n };\n return (\n \n
\n Debugging example\n \n
This is an example how to get all data from the cookie consent context.
\n
\n The same contentSource can be passed to the context and it provides access to the content built from the\n source. There are multiple hooks for getting the context, content, texts, etc. You can also trigger actions to\n store consents.\n
\n
All consents have been given: {String(!willRenderCookieConsentDialog)}
\n
There is a random cookie, so modal is always shown.
\n
\n To see all consents in the cookie, open DevTools, goto Application tab and select Storage/Cookies from the\n side panel\n
\n
\n \n
{JSON.stringify(content, null, 2)} \n
\n \n
\n The consents are read from the stored cookie
\n \n {getCategoryCookies(requiredCookies).map((cookie) => {\n return (\n \n {cookie.id} has consent stored in cookie: {String(getConsentStatus(cookie.id))}\n \n );\n })}\n \n \n
\n The consents are read from the stored cookie
\n \n {getCategoryCookies(optionalCookies).map((cookie) => {\n return (\n \n {cookie.id} has consent: {String(getConsentStatus(cookie.id))}\n \n );\n })}\n \n \n
\n The stored cookie has these user given consents:
\n \n {Object.keys(storedConsents).map((cookieId) => {\n return (\n \n {cookieId} : {String(getConsentStatus(cookieId))}\n \n );\n })}\n \n \n
\n );\n };\n\n return (\n \n \n \n \n );\n}"}},DebugVersion.parameters),TunnistamoLoginCookies.parameters=(0,objectSpread2.Z)({storySource:{source:"(args) => {\n const [language, setLanguage] = useState('en');\n const onLanguageChange = (newLang) => setLanguage(newLang);\n const contentSource: CookieContentSource = {\n siteName: `Site title ${language}`,\n texts: {\n sections: {\n main: {\n title: 'List all cookies used in Tunnistamo login',\n text:\n 'This is an example how to get consents for all cookies when using Tunnistamo login flow. All used session, language, load balancer and csrf cookies are listed. Tunnistamo uses Tunnistus and Suomi.fi services and cookies of those services are also listed as they have no consent queries of their own.',\n },\n },\n },\n currentLanguage: language,\n requiredCookies: {\n groups: [\n { commonGroup: 'tunnistamoLogin' },\n { commonGroup: 'loadBalancing', cookies: [{ commonCookie: 'tunnistamo-login-loadbalancer' }] },\n {\n commonGroup: 'informationSecurity',\n cookies: [{ commonCookie: 'tunnistamo-csrftoken' }],\n },\n {\n commonGroup: 'language',\n cookies: [{ commonCookie: 'keycloak-language' }, { commonCookie: 'suomifi-language' }],\n },\n ],\n },\n language: {\n onLanguageChange,\n },\n focusTargetSelector: '#focused-element-after-cookie-consent-closed',\n };\n\n return (\n <>\n \n >\n );\n}"}},TunnistamoLoginCookies.parameters);try{EnglishModalVersion.displayName="EnglishModalVersion",EnglishModalVersion.__docgenInfo={description:"",displayName:"EnglishModalVersion",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/cookieConsent/CookieConsent.stories.tsx#EnglishModalVersion"]={docgenInfo:EnglishModalVersion.__docgenInfo,name:"EnglishModalVersion",path:"src/components/cookieConsent/CookieConsent.stories.tsx#EnglishModalVersion"})}catch(__react_docgen_typescript_loader_error){}try{FinnishModalVersion.displayName="FinnishModalVersion",FinnishModalVersion.__docgenInfo={description:"",displayName:"FinnishModalVersion",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/cookieConsent/CookieConsent.stories.tsx#FinnishModalVersion"]={docgenInfo:FinnishModalVersion.__docgenInfo,name:"FinnishModalVersion",path:"src/components/cookieConsent/CookieConsent.stories.tsx#FinnishModalVersion"})}catch(__react_docgen_typescript_loader_error){}try{SimpleModalVersion.displayName="SimpleModalVersion",SimpleModalVersion.__docgenInfo={description:"",displayName:"SimpleModalVersion",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/cookieConsent/CookieConsent.stories.tsx#SimpleModalVersion"]={docgenInfo:SimpleModalVersion.__docgenInfo,name:"SimpleModalVersion",path:"src/components/cookieConsent/CookieConsent.stories.tsx#SimpleModalVersion"})}catch(__react_docgen_typescript_loader_error){}try{PageVersion.displayName="PageVersion",PageVersion.__docgenInfo={description:"",displayName:"PageVersion",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/cookieConsent/CookieConsent.stories.tsx#PageVersion"]={docgenInfo:PageVersion.__docgenInfo,name:"PageVersion",path:"src/components/cookieConsent/CookieConsent.stories.tsx#PageVersion"})}catch(__react_docgen_typescript_loader_error){}try{CustomContentVersion.displayName="CustomContentVersion",CustomContentVersion.__docgenInfo={description:"",displayName:"CustomContentVersion",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/cookieConsent/CookieConsent.stories.tsx#CustomContentVersion"]={docgenInfo:CustomContentVersion.__docgenInfo,name:"CustomContentVersion",path:"src/components/cookieConsent/CookieConsent.stories.tsx#CustomContentVersion"})}catch(__react_docgen_typescript_loader_error){}try{DebugVersion.displayName="DebugVersion",DebugVersion.__docgenInfo={description:"",displayName:"DebugVersion",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/cookieConsent/CookieConsent.stories.tsx#DebugVersion"]={docgenInfo:DebugVersion.__docgenInfo,name:"DebugVersion",path:"src/components/cookieConsent/CookieConsent.stories.tsx#DebugVersion"})}catch(__react_docgen_typescript_loader_error){}try{TunnistamoLoginCookies.displayName="TunnistamoLoginCookies",TunnistamoLoginCookies.__docgenInfo={description:"",displayName:"TunnistamoLoginCookies",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/cookieConsent/CookieConsent.stories.tsx#TunnistamoLoginCookies"]={docgenInfo:TunnistamoLoginCookies.__docgenInfo,name:"TunnistamoLoginCookies",path:"src/components/cookieConsent/CookieConsent.stories.tsx#TunnistamoLoginCookies"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/dateInput/DateInput.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Default:()=>Default,Localisation:()=>Localisation,WithDisabledDates:()=>WithDisabledDates,WithExternalClearValueButton:()=>WithExternalClearValueButton,WithMinAndMaxDate:()=>WithMinAndMaxDate,WithSelectedDisabledDates:()=>WithSelectedDisabledDates,WithoutConfirmation:()=>WithoutConfirmation,WithoutDatePicker:()=>WithoutDatePicker,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/react/index.js"),date_fns_parse__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("../../node_modules/date-fns/esm/parse/index.js"),date_fns_addDays__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("../../node_modules/date-fns/esm/addDays/index.js"),date_fns_format__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("../../node_modules/date-fns/esm/format/index.js"),date_fns_isWeekend__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("../../node_modules/date-fns/esm/isWeekend/index.js"),date_fns_isSameDay__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("../../node_modules/date-fns/esm/isSameDay/index.js"),date_fns__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("../../node_modules/date-fns/esm/addMonths/index.js"),___WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./src/components/dateInput/DateInput.tsx"),_button__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./src/components/button/Button.tsx"),_icons__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./src/icons/IconCrossCircle.tsx"),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/react/jsx-runtime.js");const __WEBPACK_DEFAULT_EXPORT__={component:___WEBPACK_IMPORTED_MODULE_2__.W,title:"Components/DateInput",decorators:[function(storyFn){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:{maxWidth:"400px"},children:storyFn()})}],parameters:{storySource:{source:"import React, { useState } from 'react';\nimport parse from 'date-fns/parse';\nimport addDays from 'date-fns/addDays';\nimport format from 'date-fns/format';\nimport isWeekend from 'date-fns/isWeekend';\nimport isSameDay from 'date-fns/isSameDay';\nimport { addMonths } from 'date-fns';\n\nimport { DateInput } from '.';\nimport { Button } from '../button';\nimport { IconCrossCircle } from '../../icons';\n\nconst formatHelperTextEnglish = 'Use format D.M.YYYY';\n\nconst argTypes = {\n minDate: {\n control: 'date',\n },\n maxDate: {\n control: 'date',\n },\n};\n\nexport default {\n component: DateInput,\n title: 'Components/DateInput',\n decorators: [(storyFn) => {storyFn()}
],\n parameters: {\n controls: { hideNoControlsWarning: true },\n },\n argTypes,\n args: {\n id: 'date',\n label: 'Choose a date',\n helperText: formatHelperTextEnglish,\n language: 'en',\n disableConfirmation: false,\n disableDatePicker: false,\n onChange: (value: string, valueAsDate: Date) => {\n \n console.log(value, valueAsDate);\n },\n },\n};\n\nexport const Default = (args) => {\n return ;\n};\n\nexport const WithMinAndMaxDate = (args) => {\n const minDate = new Date();\n minDate.setDate(4);\n const maxDate = addMonths(new Date(), 4);\n return ;\n};\n\nWithMinAndMaxDate.parameters = { loki: { skip: true } };\n\nexport const WithoutConfirmation = (args) => {\n return ;\n};\nWithoutConfirmation.storyName = 'Without confirmation';\nWithoutConfirmation.args = {\n disableConfirmation: true,\n};\n\nexport const Localisation = (args) => {\n const bottomMargin = { marginBottom: 'var(--spacing-m)' };\n return (\n \n
\n \n
\n
\n \n
\n
\n \n
\n
\n );\n};\n\nexport const WithoutDatePicker = (args) => {\n return ;\n};\nWithoutDatePicker.storyName = 'Without date picker';\nWithoutDatePicker.args = {\n disableDatePicker: true,\n};\n\nexport const WithExternalClearValueButton = (args) => {\n const [value, setValue] = useState('10.2.2022');\n return (\n \n \n setValue('')} iconLeft={ }>\n Clear value\n \n
\n );\n};\nWithExternalClearValueButton.storyName = 'With external clear value button';\n\nexport const WithDisabledDates = (args) => {\n const [value, setValue] = useState('');\n const [errorText, setErrorText] = useState(undefined);\n const dateHelperText = 'Only weekdays are available.';\n const helperText = `${dateHelperText} ${formatHelperTextEnglish}`;\n\n React.useEffect(() => {\n if (!value) {\n setErrorText(undefined);\n } else {\n const selectedDate = parse(value, 'dd.M.yyyy', new Date());\n if (isWeekend(selectedDate)) {\n setErrorText(`The date is a weekend day. ${dateHelperText}`);\n } else {\n setErrorText(undefined);\n }\n }\n }, [value]);\n\n return (\n \n );\n};\nWithDisabledDates.storyName = 'With disabled dates';\nWithDisabledDates.parameters = { loki: { skip: true } };\n\nexport const WithSelectedDisabledDates = (args) => {\n const dateFormat = 'dd.M.yyyy';\n const dateValue = new Date(2021, 10, 12);\n const [value, setValue] = useState(format(dateValue, dateFormat));\n const [errorText, setErrorText] = useState(undefined);\n const disabledDates = [addDays(dateValue, 12), addDays(dateValue, 14)];\n const helperText = `Dates ${disabledDates\n .map((d) => format(d, dateFormat))\n .join(' and ')} are disabled. Use other dates instead. ${formatHelperTextEnglish}`;\n const isDisabledDate = (date) => !!disabledDates.find((disabledDate) => isSameDay(disabledDate, date));\n\n React.useEffect(() => {\n if (!value) {\n setErrorText(undefined);\n } else {\n const selectedDate = parse(value, dateFormat, new Date());\n if (isDisabledDate(selectedDate)) {\n setErrorText(`This date is disabled. Please use another date instead.`);\n } else {\n setErrorText(undefined);\n }\n }\n }, [value]);\n\n return (\n \n );\n};\nWithSelectedDisabledDates.storyName = 'With selected disabled dates';\nWithSelectedDisabledDates.parameters = { loki: { skip: true } };\n",locationsMap:{default:{startLoc:{col:23,line:46},endLoc:{col:1,line:48},startBody:{col:23,line:46},endBody:{col:1,line:48}},"with-min-and-max-date":{startLoc:{col:33,line:50},endLoc:{col:1,line:55},startBody:{col:33,line:50},endBody:{col:1,line:55}},"without-confirmation":{startLoc:{col:35,line:59},endLoc:{col:1,line:61},startBody:{col:35,line:59},endBody:{col:1,line:61}},localisation:{startLoc:{col:28,line:67},endLoc:{col:1,line:100},startBody:{col:28,line:67},endBody:{col:1,line:100}},"without-date-picker":{startLoc:{col:33,line:102},endLoc:{col:1,line:104},startBody:{col:33,line:102},endBody:{col:1,line:104}},"with-external-clear-value-button":{startLoc:{col:44,line:110},endLoc:{col:1,line:120},startBody:{col:44,line:110},endBody:{col:1,line:120}},"with-disabled-dates":{startLoc:{col:33,line:123},endLoc:{col:1,line:153},startBody:{col:33,line:123},endBody:{col:1,line:153}},"with-selected-disabled-dates":{startLoc:{col:41,line:157},endLoc:{col:1,line:192},startBody:{col:41,line:157},endBody:{col:1,line:192}}}},controls:{hideNoControlsWarning:!0}},argTypes:{minDate:{control:"date"},maxDate:{control:"date"}},args:{id:"date",label:"Choose a date",helperText:"Use format D.M.YYYY",language:"en",disableConfirmation:!1,disableDatePicker:!1,onChange:function onChange(value,valueAsDate){console.log(value,valueAsDate)}}};var Default=function Default(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(___WEBPACK_IMPORTED_MODULE_2__.W,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args))},WithMinAndMaxDate=function WithMinAndMaxDate(args){var minDate=new Date;minDate.setDate(4);var maxDate=(0,date_fns__WEBPACK_IMPORTED_MODULE_4__.Z)(new Date,4);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(___WEBPACK_IMPORTED_MODULE_2__.W,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{minDate,maxDate}))};WithMinAndMaxDate.parameters={loki:{skip:!0}};var WithoutConfirmation=function WithoutConfirmation(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(___WEBPACK_IMPORTED_MODULE_2__.W,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args))};WithoutConfirmation.storyName="Without confirmation",WithoutConfirmation.args={disableConfirmation:!0};var Localisation=function Localisation(args){var bottomMargin={marginBottom:"var(--spacing-m)"};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:bottomMargin,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(___WEBPACK_IMPORTED_MODULE_2__.W,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{id:"".concat(args.id,"-fi"),language:"fi",label:"Valitse päivämäärä",helperText:"Use format D.M.YYYY"}))}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:bottomMargin,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(___WEBPACK_IMPORTED_MODULE_2__.W,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{id:"".concat(args.id,"-sv"),language:"sv",label:"Välj ett datum",helperText:"Använd ett format D.M.ÅÅÅÅ"}))}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div",{style:bottomMargin,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(___WEBPACK_IMPORTED_MODULE_2__.W,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{id:"".concat(args.id,"-en"),language:"en",label:"Choose a date",helperText:"Käytä muotoa P.K.VVVV"}))})]})},WithoutDatePicker=function WithoutDatePicker(args){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(___WEBPACK_IMPORTED_MODULE_2__.W,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args))};WithoutDatePicker.storyName="Without date picker",WithoutDatePicker.args={disableDatePicker:!0};var WithExternalClearValueButton=function WithExternalClearValueButton(args){var _useState=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)("10.2.2022"),_useState2=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_5__.Z)(_useState,2),value=_useState2[0],setValue=_useState2[1];return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div",{className:"date-input--external-clear-value-button",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(___WEBPACK_IMPORTED_MODULE_2__.W,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{value,onChange:setValue})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_button__WEBPACK_IMPORTED_MODULE_6__.z,{variant:"supplementary",onClick:function onClick(){return setValue("")},iconLeft:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_icons__WEBPACK_IMPORTED_MODULE_7__.IconCrossCircle,{"aria-hidden":!0}),children:"Clear value"})]})};WithExternalClearValueButton.storyName="With external clear value button";var WithDisabledDates=function WithDisabledDates(args){var _useState3=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(""),_useState4=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_5__.Z)(_useState3,2),value=_useState4[0],setValue=_useState4[1],_useState5=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(void 0),_useState6=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_5__.Z)(_useState5,2),errorText=_useState6[0],setErrorText=_useState6[1],helperText="".concat("Only weekdays are available."," ").concat("Use format D.M.YYYY");return react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){if(value){var selectedDate=(0,date_fns_parse__WEBPACK_IMPORTED_MODULE_8__.Z)(value,"dd.M.yyyy",new Date);(0,date_fns_isWeekend__WEBPACK_IMPORTED_MODULE_9__.Z)(selectedDate)?setErrorText("The date is a weekend day. ".concat("Only weekdays are available.")):setErrorText(void 0)}else setErrorText(void 0)}),[value]),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(___WEBPACK_IMPORTED_MODULE_2__.W,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{value,onChange:setValue,isDateDisabledBy:date_fns_isWeekend__WEBPACK_IMPORTED_MODULE_9__.Z,helperText,errorText,invalid:!!errorText}))};WithDisabledDates.storyName="With disabled dates",WithDisabledDates.parameters={loki:{skip:!0}};var WithSelectedDisabledDates=function WithSelectedDisabledDates(args){var dateValue=new Date(2021,10,12),_useState7=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)((0,date_fns_format__WEBPACK_IMPORTED_MODULE_10__.Z)(dateValue,"dd.M.yyyy")),_useState8=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_5__.Z)(_useState7,2),value=_useState8[0],setValue=_useState8[1],_useState9=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(void 0),_useState10=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_5__.Z)(_useState9,2),errorText=_useState10[0],setErrorText=_useState10[1],disabledDates=[(0,date_fns_addDays__WEBPACK_IMPORTED_MODULE_11__.Z)(dateValue,12),(0,date_fns_addDays__WEBPACK_IMPORTED_MODULE_11__.Z)(dateValue,14)],helperText="Dates ".concat(disabledDates.map((function(d){return(0,date_fns_format__WEBPACK_IMPORTED_MODULE_10__.Z)(d,"dd.M.yyyy")})).join(" and ")," are disabled. Use other dates instead. ").concat("Use format D.M.YYYY"),isDisabledDate=function isDisabledDate(date){return!!disabledDates.find((function(disabledDate){return(0,date_fns_isSameDay__WEBPACK_IMPORTED_MODULE_12__.Z)(disabledDate,date)}))};return react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){if(value){var selectedDate=(0,date_fns_parse__WEBPACK_IMPORTED_MODULE_8__.Z)(value,"dd.M.yyyy",new Date);isDisabledDate(selectedDate)?setErrorText("This date is disabled. Please use another date instead."):setErrorText(void 0)}else setErrorText(void 0)}),[value]),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(___WEBPACK_IMPORTED_MODULE_2__.W,(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)((0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({},args),{},{value,onChange:setValue,isDateDisabledBy:isDisabledDate,helperText,errorText,invalid:!!errorText}))};WithSelectedDisabledDates.storyName="With selected disabled dates",WithSelectedDisabledDates.parameters={loki:{skip:!0}},Default.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => {\n return ;\n}"}},Default.parameters),WithMinAndMaxDate.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => {\n const minDate = new Date();\n minDate.setDate(4);\n const maxDate = addMonths(new Date(), 4);\n return ;\n}"}},WithMinAndMaxDate.parameters),WithoutConfirmation.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => {\n return ;\n}"}},WithoutConfirmation.parameters),Localisation.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:'(args) => {\n const bottomMargin = { marginBottom: \'var(--spacing-m)\' };\n return (\n \n
\n \n
\n
\n \n
\n
\n \n
\n
\n );\n}'}},Localisation.parameters),WithoutDatePicker.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => {\n return ;\n}"}},WithoutDatePicker.parameters),WithExternalClearValueButton.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => {\n const [value, setValue] = useState('10.2.2022');\n return (\n \n \n setValue('')} iconLeft={ }>\n Clear value\n \n
\n );\n}"}},WithExternalClearValueButton.parameters),WithDisabledDates.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => {\n const [value, setValue] = useState('');\n const [errorText, setErrorText] = useState(undefined);\n const dateHelperText = 'Only weekdays are available.';\n const helperText = `${dateHelperText} ${formatHelperTextEnglish}`;\n\n React.useEffect(() => {\n if (!value) {\n setErrorText(undefined);\n } else {\n const selectedDate = parse(value, 'dd.M.yyyy', new Date());\n if (isWeekend(selectedDate)) {\n setErrorText(`The date is a weekend day. ${dateHelperText}`);\n } else {\n setErrorText(undefined);\n }\n }\n }, [value]);\n\n return (\n \n );\n}"}},WithDisabledDates.parameters),WithSelectedDisabledDates.parameters=(0,_Users_mikko_jamia_git_helsinki_helsinki_design_system_node_modules_babel_runtime_helpers_esm_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3__.Z)({storySource:{source:"(args) => {\n const dateFormat = 'dd.M.yyyy';\n const dateValue = new Date(2021, 10, 12);\n const [value, setValue] = useState(format(dateValue, dateFormat));\n const [errorText, setErrorText] = useState(undefined);\n const disabledDates = [addDays(dateValue, 12), addDays(dateValue, 14)];\n const helperText = `Dates ${disabledDates\n .map((d) => format(d, dateFormat))\n .join(' and ')} are disabled. Use other dates instead. ${formatHelperTextEnglish}`;\n const isDisabledDate = (date) => !!disabledDates.find((disabledDate) => isSameDay(disabledDate, date));\n\n React.useEffect(() => {\n if (!value) {\n setErrorText(undefined);\n } else {\n const selectedDate = parse(value, dateFormat, new Date());\n if (isDisabledDate(selectedDate)) {\n setErrorText(`This date is disabled. Please use another date instead.`);\n } else {\n setErrorText(undefined);\n }\n }\n }, [value]);\n\n return (\n \n );\n}"}},WithSelectedDisabledDates.parameters);try{Default.displayName="Default",Default.__docgenInfo={description:"",displayName:"Default",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/dateInput/DateInput.stories.tsx#Default"]={docgenInfo:Default.__docgenInfo,name:"Default",path:"src/components/dateInput/DateInput.stories.tsx#Default"})}catch(__react_docgen_typescript_loader_error){}try{WithMinAndMaxDate.displayName="WithMinAndMaxDate",WithMinAndMaxDate.__docgenInfo={description:"",displayName:"WithMinAndMaxDate",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/dateInput/DateInput.stories.tsx#WithMinAndMaxDate"]={docgenInfo:WithMinAndMaxDate.__docgenInfo,name:"WithMinAndMaxDate",path:"src/components/dateInput/DateInput.stories.tsx#WithMinAndMaxDate"})}catch(__react_docgen_typescript_loader_error){}try{WithoutConfirmation.displayName="WithoutConfirmation",WithoutConfirmation.__docgenInfo={description:"",displayName:"WithoutConfirmation",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/dateInput/DateInput.stories.tsx#WithoutConfirmation"]={docgenInfo:WithoutConfirmation.__docgenInfo,name:"WithoutConfirmation",path:"src/components/dateInput/DateInput.stories.tsx#WithoutConfirmation"})}catch(__react_docgen_typescript_loader_error){}try{Localisation.displayName="Localisation",Localisation.__docgenInfo={description:"",displayName:"Localisation",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/dateInput/DateInput.stories.tsx#Localisation"]={docgenInfo:Localisation.__docgenInfo,name:"Localisation",path:"src/components/dateInput/DateInput.stories.tsx#Localisation"})}catch(__react_docgen_typescript_loader_error){}try{WithoutDatePicker.displayName="WithoutDatePicker",WithoutDatePicker.__docgenInfo={description:"",displayName:"WithoutDatePicker",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/dateInput/DateInput.stories.tsx#WithoutDatePicker"]={docgenInfo:WithoutDatePicker.__docgenInfo,name:"WithoutDatePicker",path:"src/components/dateInput/DateInput.stories.tsx#WithoutDatePicker"})}catch(__react_docgen_typescript_loader_error){}try{WithExternalClearValueButton.displayName="WithExternalClearValueButton",WithExternalClearValueButton.__docgenInfo={description:"",displayName:"WithExternalClearValueButton",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/dateInput/DateInput.stories.tsx#WithExternalClearValueButton"]={docgenInfo:WithExternalClearValueButton.__docgenInfo,name:"WithExternalClearValueButton",path:"src/components/dateInput/DateInput.stories.tsx#WithExternalClearValueButton"})}catch(__react_docgen_typescript_loader_error){}try{WithDisabledDates.displayName="WithDisabledDates",WithDisabledDates.__docgenInfo={description:"",displayName:"WithDisabledDates",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/dateInput/DateInput.stories.tsx#WithDisabledDates"]={docgenInfo:WithDisabledDates.__docgenInfo,name:"WithDisabledDates",path:"src/components/dateInput/DateInput.stories.tsx#WithDisabledDates"})}catch(__react_docgen_typescript_loader_error){}try{WithSelectedDisabledDates.displayName="WithSelectedDisabledDates",WithSelectedDisabledDates.__docgenInfo={description:"",displayName:"WithSelectedDisabledDates",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/dateInput/DateInput.stories.tsx#WithSelectedDisabledDates"]={docgenInfo:WithSelectedDisabledDates.__docgenInfo,name:"WithSelectedDisabledDates",path:"src/components/dateInput/DateInput.stories.tsx#WithSelectedDisabledDates"})}catch(__react_docgen_typescript_loader_error){}},"./src/components/dialog/Dialog.stories.tsx":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Confirmation:()=>Confirmation,ConfirmationWithTerms:()=>ConfirmationWithTerms,Danger:()=>Danger,Default:()=>Default,LongButtonLabels:()=>LongButtonLabels,ScrollableConfirmation:()=>ScrollableConfirmation,WithBoxShadow:()=>WithBoxShadow,WithControlledContent:()=>WithControlledContent,default:()=>Dialog_stories});var objectSpread2=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),slicedToArray=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),react=__webpack_require__("../../node_modules/react/index.js"),Button=__webpack_require__("./src/components/button/Button.tsx"),TextArea=__webpack_require__("./src/components/textarea/TextArea.tsx"),TextInput=__webpack_require__("./src/components/textInput/TextInput.tsx"),objectWithoutProperties=__webpack_require__("../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),react_dom=__webpack_require__("../../node_modules/react-dom/index.js");__webpack_require__("./src/styles/base.css");const Dialog_module={"medium-up":"only screen and (min-width: 768px)",dialogVisibleBodyWithHiddenScrollbars:"Dialog_dialogVisibleBodyWithHiddenScrollbars__JmYA7",dialogBackdrop:"Dialog_dialogBackdrop__y8OAO",dialog:"Dialog_dialog__Qe1nH",dialogContainer:"Dialog_dialogContainer__PG0Xs",danger:"Dialog_danger__QBwE9",dialogVisible:"Dialog_dialogVisible__w0jBb",dialogScrollable:"Dialog_dialogScrollable__xhfov",boxShadow:"Dialog_boxShadow__DT3Rq"};var classNames=__webpack_require__("./src/utils/classNames.ts"),useTheme=__webpack_require__("./src/hooks/useTheme.tsx");const DialogActionButtons_module_dialogActionButtons="DialogActionButtons_dialogActionButtons__F197P";var jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),DialogActionButtons=function DialogActionButtons(_ref){var children=_ref.children,className=_ref.className;return(0,jsx_runtime.jsx)("div",{className:(0,classNames.Z)(DialogActionButtons_module_dialogActionButtons,className),children})};DialogActionButtons.componentName="DialogActionButtons";try{DialogActionButtons.displayName="DialogActionButtons",DialogActionButtons.__docgenInfo={description:"",displayName:"DialogActionButtons",props:{className:{defaultValue:null,description:"className for custom styling",name:"className",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/dialog/dialogActionButtons/DialogActionButtons.tsx#DialogActionButtons"]={docgenInfo:DialogActionButtons.__docgenInfo,name:"DialogActionButtons",path:"src/components/dialog/dialogActionButtons/DialogActionButtons.tsx#DialogActionButtons"})}catch(__react_docgen_typescript_loader_error){}var IconCross=__webpack_require__("./src/icons/IconCross.tsx");const DialogHeader_module_dialogHeaderClose="DialogHeader_dialogHeaderClose__x0sym",DialogHeader_module_dialogHeader="DialogHeader_dialogHeader__pdpXM",DialogHeader_module_dialogHeaderContent="DialogHeader_dialogHeaderContent__x1IcU",DialogHeader_module_dialogTitle="DialogHeader_dialogTitle__sw2N8",DialogHeader_module_dialogTitleLeftIcon="DialogHeader_dialogTitleLeftIcon__sQYOw";var DialogContext=react.createContext({}),DialogHeader=function DialogHeader(_ref){var id=_ref.id,title=_ref.title,iconLeft=_ref.iconLeft,_useContext=(0,react.useContext)(DialogContext),close=_useContext.close,closeButtonLabelText=_useContext.closeButtonLabelText,isReadyToShowDialog=_useContext.isReadyToShowDialog,titleRef=react.useRef();return(0,react.useEffect)((function(){titleRef&&isReadyToShowDialog&&titleRef.current.focus()}),[titleRef,isReadyToShowDialog]),(0,jsx_runtime.jsx)("div",{className:DialogHeader_module_dialogHeader,children:(0,jsx_runtime.jsxs)("div",{className:DialogHeader_module_dialogHeaderContent,children:[close&&(0,jsx_runtime.jsx)("button",{className:DialogHeader_module_dialogHeaderClose,type:"button","aria-label":closeButtonLabelText||"Close",onClick:function onClick(){return close()},children:(0,jsx_runtime.jsx)(IconCross.IconCross,{"aria-hidden":"true"})}),(0,jsx_runtime.jsxs)("h2",{id,tabIndex:-1,className:DialogHeader_module_dialogTitle,ref:titleRef,children:[iconLeft&&(0,jsx_runtime.jsx)("span",{className:DialogHeader_module_dialogTitleLeftIcon,"aria-hidden":"true",children:iconLeft}),title]})]})})};DialogHeader.componentName="DialogHeader";try{DialogHeader.displayName="DialogHeader",DialogHeader.__docgenInfo={description:"",displayName:"DialogHeader",props:{id:{defaultValue:null,description:"The id of the heading element.",name:"id",required:!0,type:{name:"string"}},title:{defaultValue:null,description:"The text of the heading element.",name:"title",required:!0,type:{name:"string"}},iconLeft:{defaultValue:null,description:"Element placed on the left side of the heading element.",name:"iconLeft",required:!1,type:{name:"ReactNode"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/dialog/dialogHeader/DialogHeader.tsx#DialogHeader"]={docgenInfo:DialogHeader.__docgenInfo,name:"DialogHeader",path:"src/components/dialog/dialogHeader/DialogHeader.tsx#DialogHeader"})}catch(__react_docgen_typescript_loader_error){}const DialogContent_module_dialogContent="DialogContent_dialogContent__GM1RQ",DialogContent_module_dialogContentScrollable="DialogContent_dialogContentScrollable__ARSfO";var DialogContent=function DialogContent(_ref){var id=_ref.id,children=_ref.children,scrollable=(0,react.useContext)(DialogContext).scrollable;return(0,jsx_runtime.jsx)("div",{id,className:(0,classNames.Z)(DialogContent_module_dialogContent,scrollable&&DialogContent_module_dialogContentScrollable),children})};DialogContent.componentName="DialogContent";try{DialogContent.displayName="DialogContent",DialogContent.__docgenInfo={description:"",displayName:"DialogContent",props:{id:{defaultValue:null,description:"The id of the content element.",name:"id",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/dialog/dialogContent/DialogContent.tsx#DialogContent"]={docgenInfo:DialogContent.__docgenInfo,name:"DialogContent",path:"src/components/dialog/dialogContent/DialogContent.tsx#DialogContent"})}catch(__react_docgen_typescript_loader_error){}var _excluded=["boxShadow","id","isOpen","children","close","closeButtonLabelText","focusAfterCloseElement","focusAfterCloseRef","scrollable","variant","style","theme","className","targetElement"],TabBarrierPosition=function(TabBarrierPosition){return TabBarrierPosition.top="top",TabBarrierPosition.bottom="bottom",TabBarrierPosition}(TabBarrierPosition||{}),defaultBarrierProps={tabIndex:0,"aria-hidden":!0},focusToDialogElement=function focusToDialogElement(position,dialogElement){if(dialogElement){var focusableElements=function findFocusableDialogElements(dialogElement){return dialogElement.querySelectorAll('a, button, textarea, input[type="text"], input[type="radio"], input[type="checkbox"], select')}(dialogElement);focusableElements.length&&focusableElements[position===TabBarrierPosition.top?0:focusableElements.length-1].focus()}},ContentTabBarrier=function ContentTabBarrier(_ref){var onFocus=_ref.onFocus;return(0,jsx_runtime.jsx)("div",(0,objectSpread2.Z)((0,objectSpread2.Z)({},defaultBarrierProps),{},{onFocus}))},addDocumentTabBarrier=function addDocumentTabBarrier(position,dialogElement){var element=document.createElement("div");return element.className="hds-dialog-tab-barrier",element.tabIndex=defaultBarrierProps.tabIndex,element["aria-hidden"]=defaultBarrierProps.tabIndex["aria-hidden"],element.addEventListener("focus",(function(){return focusToDialogElement(position,dialogElement)})),position===TabBarrierPosition.top?document.body.insertBefore(element,document.body.firstChild):document.body.appendChild(element),element},Dialog=function Dialog(_ref2){var _ref2$boxShadow=_ref2.boxShadow,boxShadow=void 0!==_ref2$boxShadow&&_ref2$boxShadow,id=_ref2.id,isOpen=_ref2.isOpen,children=_ref2.children,close=_ref2.close,closeButtonLabelText=_ref2.closeButtonLabelText,focusAfterCloseElement=_ref2.focusAfterCloseElement,focusAfterCloseRef=_ref2.focusAfterCloseRef,scrollable=_ref2.scrollable,_ref2$variant=_ref2.variant,variant=void 0===_ref2$variant?"primary":_ref2$variant,style=_ref2.style,theme=_ref2.theme,className=_ref2.className,targetElement=_ref2.targetElement,props=(0,objectWithoutProperties.Z)(_ref2,_excluded),_useState=(0,react.useState)(!1),_useState2=(0,slicedToArray.Z)(_useState,2),isReadyToShowDialog=_useState2[0],setIsReadyToShowDialog=_useState2[1],dialogContextProps={isReadyToShowDialog,scrollable,close,closeButtonLabelText},customThemeClass=(0,useTheme.F)(Dialog_module.dialogContainer,theme),dialogRef=(0,react.createRef)(),bodyRightPaddingStyleRef=(0,react.useRef)(null);(0,react.useEffect)((function(){if(isOpen&&void 0!==dialogRef)return addDocumentTabBarrier(TabBarrierPosition.top,dialogRef.current),addDocumentTabBarrier(TabBarrierPosition.bottom,dialogRef.current),function(){document.querySelectorAll(".hds-dialog-tab-barrier").forEach((function(element){element.remove()}))}}),[dialogRef,isOpen]);var ariaLabelledby=props["aria-labelledby"],ariaDescribedby=props["aria-describedby"],onKeyDown=(0,react.useCallback)((function(event){close&&"Escape"===event.key&&close()}),[close]),getElementToFocusAfterClose=(0,react.useCallback)((function(){return focusAfterCloseElement||focusAfterCloseRef&&focusAfterCloseRef.current}),[focusAfterCloseElement,focusAfterCloseRef]);(0,react.useEffect)((function(){if(isOpen){var documentScrollbarWidth=window.innerWidth-document.body.offsetWidth;if(documentScrollbarWidth>0){bodyRightPaddingStyleRef.current=document.body.style.paddingRight;var bodyPaddingRightInPixels=parseInt(window.getComputedStyle(document.body).paddingRight,10);document.body.style.paddingRight="".concat(bodyPaddingRightInPixels+documentScrollbarWidth,"px")}document.body.classList.add(Dialog_module.dialogVisibleBodyWithHiddenScrollbars),document.documentElement.classList.add(Dialog_module.dialogVisibleBodyWithHiddenScrollbars),document.addEventListener("keydown",onKeyDown,!1),setIsReadyToShowDialog(!0)}return function(){if(isOpen){setIsReadyToShowDialog(!1),document.body.classList.remove(Dialog_module.dialogVisibleBodyWithHiddenScrollbars),document.documentElement.classList.remove(Dialog_module.dialogVisibleBodyWithHiddenScrollbars),document.removeEventListener("keydown",onKeyDown,!1),document.body.style.paddingRight=bodyRightPaddingStyleRef.current||"";var elementToFocus=getElementToFocusAfterClose();elementToFocus&&elementToFocus.focus()}}}),[isOpen,getElementToFocusAfterClose]);return isOpen?react_dom.createPortal(function renderDialogComponent(){return(0,jsx_runtime.jsx)(DialogContext.Provider,{value:dialogContextProps,children:(0,jsx_runtime.jsxs)("div",{className:(0,classNames.Z)(Dialog_module.dialogContainer,customThemeClass),children:[(0,jsx_runtime.jsx)(ContentTabBarrier,{onFocus:function onFocus(){return focusToDialogElement(TabBarrierPosition.bottom,dialogRef.current)}}),(0,jsx_runtime.jsx)("div",{tabIndex:-1,className:Dialog_module.dialogBackdrop}),(0,jsx_runtime.jsx)("div",{ref:dialogRef,role:"dialog","aria-modal":"true",id,className:(0,classNames.Z)(Dialog_module.dialog,isReadyToShowDialog&&Dialog_module.dialogVisible,scrollable&&Dialog_module.dialogScrollable,Dialog_module[variant],boxShadow&&Dialog_module.boxShadow,className),style,"aria-labelledby":ariaLabelledby,"aria-describedby":ariaDescribedby,children}),(0,jsx_runtime.jsx)(ContentTabBarrier,{onFocus:function onFocus(){return focusToDialogElement(TabBarrierPosition.top,dialogRef.current)}})]})})}(),targetElement||document.body):null};Dialog.Header=DialogHeader,Dialog.Content=DialogContent,Dialog.ActionButtons=DialogActionButtons;try{Dialog.displayName="Dialog",Dialog.__docgenInfo={description:"",displayName:"Dialog",props:{id:{defaultValue:null,description:"The id of the dialog element.",name:"id",required:!0,type:{name:"string"}},"aria-labelledby":{defaultValue:null,description:"The id of the heading element.",name:"aria-labelledby",required:!0,type:{name:"string"}},"aria-describedby":{defaultValue:null,description:"The id of the content description element which is usually a paragraph. The paragraph should be part of the content.",name:"aria-describedby",required:!1,type:{name:"string"}},boxShadow:{defaultValue:{value:"false"},description:"Boolean indicating whether dialog has box shadow or not.",name:"boxShadow",required:!1,type:{name:"boolean"}},isOpen:{defaultValue:null,description:"When `true`, dialog is visible,",name:"isOpen",required:!0,type:{name:"boolean"}},focusAfterCloseRef:{defaultValue:null,description:"The element ref which will get focus after the dialog is closed.",name:"focusAfterCloseRef",required:!1,type:{name:"RefObject"}},focusAfterCloseElement:{defaultValue:null,description:"The element which will get focus after the dialog is closed.",name:"focusAfterCloseElement",required:!1,type:{name:"HTMLElement"}},scrollable:{defaultValue:null,description:"When `true` dialog content is scrollable if needed. Use only for long text contents.",name:"scrollable",required:!1,type:{name:"boolean"}},variant:{defaultValue:{value:"primary"},description:"Defines the dialog variant",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"danger"'}]}},style:{defaultValue:null,description:"Additional styles",name:"style",required:!1,type:{name:"CSSProperties"}},theme:{defaultValue:null,description:"Custom theme styles",name:"theme",required:!1,type:{name:"DialogCustomTheme"}},className:{defaultValue:null,description:"Additional class names to apply to the dialog.",name:"className",required:!1,type:{name:"string"}},targetElement:{defaultValue:null,description:"Target element where dialog is rendered. The dialog is rendered into the document.body by default.",name:"targetElement",required:!1,type:{name:"HTMLElement"}},close:{defaultValue:null,description:"A function to set isOpen property to `false`. The dialog header will have a close-button if this property exists. The dialog will also close on Escape keypress.",name:"close",required:!1,type:{name:"() => void"}},closeButtonLabelText:{defaultValue:null,description:"The aria-label for the close button. Required with close property.",name:"closeButtonLabelText",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/dialog/Dialog.tsx#Dialog"]={docgenInfo:Dialog.__docgenInfo,name:"Dialog",path:"src/components/dialog/Dialog.tsx#Dialog"})}catch(__react_docgen_typescript_loader_error){}try{Dialog.Header.displayName="Dialog.Header",Dialog.Header.__docgenInfo={description:"",displayName:"Dialog.Header",props:{id:{defaultValue:null,description:"The id of the heading element.",name:"id",required:!0,type:{name:"string"}},title:{defaultValue:null,description:"The text of the heading element.",name:"title",required:!0,type:{name:"string"}},iconLeft:{defaultValue:null,description:"Element placed on the left side of the heading element.",name:"iconLeft",required:!1,type:{name:"ReactNode"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/dialog/Dialog.tsx#Dialog.Header"]={docgenInfo:Dialog.Header.__docgenInfo,name:"Dialog.Header",path:"src/components/dialog/Dialog.tsx#Dialog.Header"})}catch(__react_docgen_typescript_loader_error){}try{Dialog.Content.displayName="Dialog.Content",Dialog.Content.__docgenInfo={description:"",displayName:"Dialog.Content",props:{id:{defaultValue:null,description:"The id of the content element.",name:"id",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/dialog/Dialog.tsx#Dialog.Content"]={docgenInfo:Dialog.Content.__docgenInfo,name:"Dialog.Content",path:"src/components/dialog/Dialog.tsx#Dialog.Content"})}catch(__react_docgen_typescript_loader_error){}try{Dialog.ActionButtons.displayName="Dialog.ActionButtons",Dialog.ActionButtons.__docgenInfo={description:"",displayName:"Dialog.ActionButtons",props:{className:{defaultValue:null,description:"className for custom styling",name:"className",required:!1,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/dialog/Dialog.tsx#Dialog.ActionButtons"]={docgenInfo:Dialog.ActionButtons.__docgenInfo,name:"Dialog.ActionButtons",path:"src/components/dialog/Dialog.tsx#Dialog.ActionButtons"})}catch(__react_docgen_typescript_loader_error){}var IconPlusCircle=__webpack_require__("./src/icons/IconPlusCircle.tsx"),IconAlertCircle=__webpack_require__("./src/icons/IconAlertCircle.tsx"),IconTrash=__webpack_require__("./src/icons/IconTrash.tsx"),IconInfoCircle=__webpack_require__("./src/icons/IconInfoCircle.tsx"),DateInput=__webpack_require__("./src/components/dateInput/DateInput.tsx");const Dialog_stories={component:Dialog,title:"Components/Dialog",parameters:{storySource:{source:"import React, { useRef, useState } from 'react';\n\nimport { Button } from '../button/Button';\nimport { TextArea } from '../textarea/TextArea';\nimport { TextInput } from '../textInput/TextInput';\nimport { Dialog } from './Dialog';\nimport { IconAlertCircle, IconInfoCircle, IconPlusCircle, IconTrash } from '../../icons';\nimport { DateInput } from '../dateInput';\n\nconst argTypes = {\n variant: {\n options: ['primary', 'danger'],\n control: { type: 'radio' },\n defaultValue: 'primary',\n },\n};\n\nexport default {\n component: Dialog,\n title: 'Components/Dialog',\n parameters: {\n controls: { expanded: true },\n loki: { skip: true },\n },\n args: {\n id: 'example-dialog',\n scrollable: false,\n boxShadow: false,\n theme: {},\n style: {},\n closeButtonLabelText: 'Close',\n },\n argTypes,\n};\n\nexport const Default = (args) => {\n const openButtonRef = useRef(null);\n const [open, setOpen] = useState(false);\n const close = () => setOpen(false);\n const titleId = 'custom-dialog-title';\n const descriptionId = 'custom-dialog-content';\n\n return (\n <>\n setOpen(true)}>\n Open Dialog\n \n \n } />\n \n \n Add a new item by filling the information below. All fields are mandatory.\n
\n \n \n \n \n \n \n \n {\n // Add operations here\n close();\n }}\n >\n Add item\n \n \n Cancel\n \n \n \n >\n );\n};\n\n// This dialog story is part of Loki's visual regression tests. It is open by default, and it is not part of the Storybooks' docs section.\nexport const WithBoxShadow = (args) => {\n const dialogTargetElement = document.getElementById('root'); // Because of the story regression tests, we need to render the dialog into the root element\n const openButtonRef = useRef(null);\n const [open, setOpen] = useState(true);\n const close = () => setOpen(false);\n const titleId = 'custom-dialog-title';\n const descriptionId = 'custom-dialog-content';\n\n return (\n <>\n setOpen(true)}>\n Open Dialog\n \n \n } />\n \n \n Add a new item by filling the information below. All fields are mandatory.\n
\n \n \n \n \n \n {\n // Add operations here\n close();\n }}\n >\n Add item\n \n \n Cancel\n \n \n \n >\n );\n};\n\nWithBoxShadow.storyName = 'With box shadow';\n\nWithBoxShadow.parameters = {\n previewTabs: {\n 'storybook/docs/panel': {\n hidden: true,\n },\n },\n docs: {\n disable: true,\n },\n loki: { skip: false },\n};\n\n// This dialog story is part of Loki's visual regression tests. It is open by default, and it is not part of the Storybooks' docs section.\nexport const Confirmation = (args) => {\n const dialogTargetElement = document.getElementById('root'); // Because of the story regression tests, we need to render the dialog into the root element\n const openConfirmationButtonRef = useRef(null);\n const [open, setOpen] = useState(true);\n const close = () => setOpen(false);\n const titleId = 'confirmation-dialog-title';\n const descriptionId = 'confirmation-dialog-description';\n\n return (\n <>\n setOpen(true)}>\n Open Confirmation Dialog\n \n \n } />\n \n \n Are you sure you want to continue?\n
\n \n \n {\n // Add confirm operations here\n close();\n }}\n >\n Confirm\n \n \n Cancel\n \n \n \n >\n );\n};\n\nConfirmation.storyName = 'Confirmation';\n\nConfirmation.args = {\n id: 'confirmation-dialog',\n};\n\nConfirmation.parameters = {\n previewTabs: {\n 'storybook/docs/panel': {\n hidden: true,\n },\n },\n docs: {\n disable: true,\n },\n loki: { skip: false },\n};\n\n// This dialog story is part of Loki's visual regression tests. It is open by default, and it is not part of the Storybooks' docs section.\nexport const Danger = (args) => {\n const dialogTargetElement = document.getElementById('root'); // Because of the story regression tests, we need to render the dialog into the root element\n const openDangerButtonRef = useRef(null);\n const [open, setOpen] = useState(true);\n const close = () => setOpen(false);\n const titleId = 'danger-dialog-title';\n const descriptionId = 'danger-dialog-description';\n\n return (\n <>\n setOpen(true)}>\n Open Danger Dialog\n \n \n } />\n \n \n Are you sure you want to delete the item?\n
\n \n \n \n Cancel\n \n }\n onClick={() => {\n // Add confirm operations here\n close();\n }}\n >\n Delete\n \n \n \n >\n );\n};\n\nDanger.storyName = 'Danger';\n\nDanger.args = {\n id: 'danger-dialog',\n};\n\nDanger.parameters = {\n previewTabs: {\n 'storybook/docs/panel': {\n hidden: true,\n },\n },\n docs: {\n disable: true,\n },\n loki: { skip: false },\n};\n\n// This dialog story is part of Loki's visual regression tests. It is open by default, and it is not part of the Storybooks' docs section.\nexport const ScrollableConfirmation = (args) => {\n const dialogTargetElement = document.getElementById('root'); // Because of the story regression tests, we need to render the dialog into the root element\n const openScrollableConfirmationButtonRef = useRef(null);\n const [open, setOpen] = useState(true);\n const close = () => setOpen(false);\n const titleId = 'confirmation-scrollable-title';\n const descriptionId = 'confirmation-scrollable-description';\n\n return (\n <>\n setOpen(true)}>\n Open Scrollable Confirmation Dialog\n \n \n } />\n \n Are you sure you want to continue? \n \n Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem\n aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.\n Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni\n dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor\n sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore\n magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis\n suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in\n ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas\n nulla pariatur?\n
\n\n \n Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem\n aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.\n Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni\n dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor\n sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore\n magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis\n suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in\n ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas\n nulla pariatur?\n
\n\n \n Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem\n aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.\n Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni\n dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor\n sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore\n magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis\n suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in\n ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas\n nulla pariatur?\n
\n\n \n Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem\n aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.\n Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni\n dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor\n sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore\n magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis\n suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in\n ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas\n nulla pariatur?\n
\n\n \n Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem\n aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.\n Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni\n dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor\n sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore\n magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis\n suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in\n ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas\n nulla pariatur?\n
\n\n \n Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem\n aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.\n Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni\n dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor\n sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore\n magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis\n suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in\n ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas\n nulla pariatur?\n
\n \n \n {\n // Add confirm operations here\n close();\n }}\n >\n Confirm\n \n \n Cancel\n \n \n \n >\n );\n};\n\nScrollableConfirmation.storyName = 'Scrollable confirmation';\n\nScrollableConfirmation.args = {\n id: 'confirmation-scrollable-dialog',\n};\n\nScrollableConfirmation.parameters = {\n previewTabs: {\n 'storybook/docs/panel': {\n hidden: true,\n },\n },\n docs: {\n disable: true,\n },\n loki: { skip: false },\n};\n\n// This dialog story is part of Loki's visual regression tests. It is open by default, and it is not part of the Storybooks' docs section.\nexport const LongButtonLabels = (args) => {\n const dialogTargetElement = document.getElementById('root'); // Because of the story regression tests, we need to render the dialog into the root element\n const openDialogButtonRef = useRef(null);\n const [open, setOpen] = useState(true);\n const close = () => setOpen(false);\n const titleId = 'dialog-with-long-labels-title';\n\n return (\n <>\n setOpen(true)}>\n Open dialog\n \n \n } />\n \n Are you sure you want to continue? \n \n \n {\n // Add confirm operations here\n close();\n }}\n >\n Confirm this thing now with a long label\n \n \n Cancel and go back to the beginning\n \n \n \n >\n );\n};\n\nLongButtonLabels.storyName = 'With long button labels';\n\nLongButtonLabels.args = {\n id: 'dialog-with-long-button-labels',\n};\n\nLongButtonLabels.parameters = {\n previewTabs: {\n 'storybook/docs/panel': {\n hidden: true,\n },\n },\n docs: {\n disable: true,\n },\n loki: { skip: false },\n};\n\n// This dialog story is not part of the Storybooks' docs section.\nexport const ConfirmationWithTerms = (args) => {\n const openConfirmationButtonRef = useRef(null);\n const [open, setOpen] = useState(false);\n const [termsOpen, setTermsOpen] = useState(false);\n const close = () => setOpen(false);\n const openTermsButtonRef = useRef(null);\n const closeTerms = () => setTermsOpen(false);\n const openTermsDialog = () => setTermsOpen(true);\n const confirmationTitleId = 'confirmation-title';\n const confirmationDescriptionId = 'confirmation-description';\n const termsTitleId = 'terms-title';\n const termsDescriptionId = 'terms-description';\n\n return (\n <>\n setOpen(true)}>\n Open Accept Terms Dialog\n \n \n }\n />\n \n