@oncehub/ui-react 2.2.0-beta.8 → 2.2.0-beta.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  (function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`*,:before,:after,::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.tw-relative{position:relative}.tw-block{display:block}.tw-flex{display:flex}.tw-h-20{height:5rem}.tw-cursor-default{cursor:default}.tw-select-none{user-select:none}.tw-items-center{align-items:center}.tw-truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tw-bg-\\[\\#EEEEEE\\]{--tw-bg-opacity:1;background-color:rgb(238 238 238/var(--tw-bg-opacity,1))}.tw-py-2{padding-top:.5rem;padding-bottom:.5rem}.tw-pl-4{padding-left:1rem}.tw-pr-4{padding-right:1rem}.tw-font-medium{font-weight:500}.tw-font-normal{font-weight:400}.tw-text-\\[\\#333333\\]{--tw-text-opacity:1;color:rgb(51 51 51/var(--tw-text-opacity,1))}._button_1q2ge_1{box-sizing:border-box;cursor:pointer;text-align:center;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow);border-style:solid;border-width:1px;justify-content:center;align-items:center;display:flex}._button_1q2ge_1:hover,._button_1q2ge_1:focus{text-decoration-line:underline}._button_1q2ge_1:disabled{cursor:default}._button_1q2ge_1:hover:disabled{text-decoration-line:none}._primary_1q2ge_5{--tw-bg-opacity:1;background-color:rgb(0 107 177/var(--tw-bg-opacity,1));--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1));border-color:#0000;outline-color:#006bb1;font-weight:500}._primary_1q2ge_5:focus{outline-offset:3px;outline-width:2px}._primary_1q2ge_5:disabled{--tw-border-opacity:1;border-color:rgb(200 200 200/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(200 200 200/var(--tw-bg-opacity,1));--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}._secondary_1q2ge_12{--tw-border-opacity:1;border-color:rgb(0 107 177/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));--tw-text-opacity:1;color:rgb(0 107 177/var(--tw-text-opacity,1));font-weight:400}._secondary_1q2ge_12:hover,._secondary_1q2ge_12:focus{outline-offset:-2px;border-color:#0000;outline:2px solid #006bb1}._secondary_1q2ge_12:disabled{--tw-border-opacity:1;border-color:rgb(200 200 200/var(--tw-border-opacity,1));--tw-text-opacity:1;color:rgb(200 200 200/var(--tw-text-opacity,1))}._secondary_1q2ge_12:disabled:hover,._secondary_1q2ge_12:disabled:focus{outline-width:0}._small_1q2ge_19{min-width:70px;min-height:35px;padding:4px 22px;font-size:.875rem;line-height:22px}._small_1q2ge_19._rounded_1q2ge_22{border-radius:18px}._medium_1q2ge_26{min-width:74px;min-height:40px;padding:7px 22px;font-size:.875rem;line-height:22px}._medium_1q2ge_26._rounded_1q2ge_22{border-radius:20px}._large_1q2ge_33{min-width:94px;min-height:44px;padding:8px 1.5rem;font-size:1rem;line-height:24px}._large_1q2ge_33._rounded_1q2ge_22{border-radius:22px}._squared_1q2ge_40{border-radius:.25rem}._checkboxLayout_bt7qx_1{white-space:nowrap;vertical-align:middle;align-items:center;width:100%;display:inline-flex}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4{cursor:pointer;letter-spacing:0;--tw-text-opacity:1;width:100%;color:rgb(51 51 51/var(--tw-text-opacity,1));align-items:baseline;gap:.5rem;font-size:.875rem;line-height:22px;display:flex}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4>span{white-space:normal;letter-spacing:0;--tw-text-opacity:1;color:rgb(51 51 51/var(--tw-text-opacity,1));font-size:.875rem;line-height:22px}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10{cursor:pointer;white-space:nowrap;vertical-align:middle;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;width:1rem;height:1rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow);border-width:0;outline-width:0;flex-shrink:0;line-height:0;display:inline-block;position:relative;top:2px}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxInput_bt7qx_13{appearance:none;opacity:0;border-width:0;outline-width:0;width:0;height:0;padding:0;position:absolute;bottom:0;left:0}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxInput_bt7qx_13:checked+._checkboxFrame_bt7qx_16{--tw-border-opacity:1;border-color:rgb(0 107 177/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(0 107 177/var(--tw-bg-opacity,1))}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxInput_bt7qx_13:checked+._checkboxFrame_bt7qx_16 ._checkboxCheckMark_bt7qx_19{opacity:1}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxInput_bt7qx_13:checked+._checkboxFrame_bt7qx_16 ._checkboxCheckMark_bt7qx_19 ._checkboxCheckMarkPath_bt7qx_22{stroke-dashoffset:0;animation:.18s linear _checkboxUncheckedChecked_bt7qx_1}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxInput_bt7qx_13:disabled+._checkboxFrame_bt7qx_16{--tw-border-opacity:1;border-color:rgb(228 228 228/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(249 249 249/var(--tw-bg-opacity,1))}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxFrame_bt7qx_16{box-sizing:border-box;--tw-border-opacity:1;border-style:solid;border-width:1px;border-color:rgb(156 156 156/var(--tw-border-opacity,1));background-color:#0000;border-radius:3px;position:absolute;inset:0}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxFrame_bt7qx_16 ._checkboxCheckMark_bt7qx_19{width:100%;position:absolute;inset:0}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxFrame_bt7qx_16 ._checkboxCheckMark_bt7qx_19 ._checkboxCheckMarkPath_bt7qx_22{stroke-width:3px;stroke-dashoffset:23px;stroke-dasharray:23}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10:focus-visible ._checkboxFrame_bt7qx_16{outline-offset:-1px;outline:2px solid #006bb1}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._visuallyHidden_bt7qx_43{clip:rect(0, 0, 0, 0);border:0;width:0;height:0;margin:0;padding:0;position:absolute;overflow:hidden}._checkboxLayout_bt7qx_1._checkboxDisabled_bt7qx_53{pointer-events:none;cursor:default}._checkboxLayout_bt7qx_1._checkboxDisabled_bt7qx_53 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxFrame_bt7qx_16{--tw-border-opacity:1;border-color:rgb(228 228 228/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(249 249 249/var(--tw-bg-opacity,1))}._checkboxLayout_bt7qx_1._medium_bt7qx_59 ._checkboxLabel_bt7qx_4>span{width:calc(100% - 24px);font-size:.875rem;line-height:1.25rem}._checkboxLayout_bt7qx_1._medium_bt7qx_59 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10{width:1rem;height:1rem}._checkboxLayout_bt7qx_1._large_bt7qx_65 ._checkboxLabel_bt7qx_4>span{width:calc(100% - 27px);font-size:1rem;line-height:1.5rem}._checkboxLayout_bt7qx_1._large_bt7qx_65 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10{width:1.25rem;height:1.25rem;top:4px}@keyframes _checkboxUncheckedChecked_bt7qx_1{0%,50%{stroke-dashoffset:23px}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}to{stroke-dashoffset:0}}._textInputWrapper_1i9m6_1{width:100%}._textInputWrapper_1i9m6_1 ._textInput_1i9m6_1{box-sizing:border-box;resize:none;--tw-border-opacity:1;border-width:0 0 1px;border-color:rgb(51 51 51/var(--tw-border-opacity,1));--tw-text-opacity:1;width:100%;height:2.5rem;max-height:225px;color:rgb(51 51 51/var(--tw-text-opacity,1));outline-offset:2px;outline:2px solid #0000;padding:7px 10px .5rem;font-size:1rem;line-height:1.5rem;display:block}._textInputWrapper_1i9m6_1 ._textInput_1i9m6_1:focus{--tw-border-opacity:1;border-bottom-width:2px;border-color:rgb(0 107 177/var(--tw-border-opacity,1));padding-bottom:7px}._multiSelectContainer_lh9wi_1,._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4{width:100%;position:relative}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7{width:100%;height:2.5rem;position:relative}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7{box-sizing:border-box;text-overflow:ellipsis;white-space:nowrap;--tw-border-opacity:1;border-style:solid;border-width:0 0 1px;border-bottom-color:rgb(51 51 51/var(--tw-border-opacity,1));--tw-text-opacity:1;width:100%;height:100%;color:rgb(51 51 51/var(--tw-text-opacity,1));padding:.5rem 2.75rem .5rem 10px;font-size:1rem;line-height:1rem;display:block;overflow:hidden}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7::placeholder{--tw-placeholder-opacity:1;color:rgb(102 102 102/var(--tw-placeholder-opacity,1))}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7:focus-within{outline-offset:2px;outline:2px solid #0000}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7:focus{--tw-border-opacity:1;border-bottom-width:2px;border-color:rgb(0 107 177/var(--tw-border-opacity,1));padding-bottom:7px}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7:focus-visible{outline-offset:2px;outline:2px solid #0000}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7._focused_lh9wi_13{--tw-border-opacity:1;border-bottom-width:2px;border-color:rgb(0 107 177/var(--tw-border-opacity,1));outline-offset:2px;outline:2px solid #0000;padding-bottom:7px}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7._placeholder_lh9wi_16{--tw-text-opacity:1;color:rgb(102 102 102/var(--tw-text-opacity,1))}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._dropDownIcon_lh9wi_19{--tw-translate-y:-50%;width:1.75rem;height:100%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));cursor:pointer;justify-content:center;align-items:center;display:flex;position:absolute;top:50%;right:.5rem}._optionsListContainer_lh9wi_23{z-index:10;--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));--tw-shadow:0 1px 6px 0 #00000080;--tw-shadow-colored:0 1px 6px 0 var(--tw-shadow-color);width:100%;max-height:293px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow);margin-top:0;padding-bottom:4rem;font-size:.875rem;line-height:22px;position:absolute}._optionsListContainer_lh9wi_23:focus{outline-offset:2px;outline:2px solid #0000}._optionsListContainer_lh9wi_23._top_lh9wi_26{transform:translateY(calc(-100% - 40px))}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29{max-height:225px;padding-top:1rem;padding-bottom:1rem;overflow:auto}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._searchInputWrap_lh9wi_32{height:2.5rem;margin-bottom:.5rem;padding-left:10px;padding-right:10px}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._searchInputWrap_lh9wi_32 ._searchInput_lh9wi_32{box-sizing:border-box;outline-offset:-2px;outline:1px solid #c8c8c8;width:100%;height:100%;padding-top:.5rem;padding-bottom:.5rem;padding-left:10px}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ul{margin:0;padding:0}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._optionsList_lh9wi_23{box-sizing:border-box;align-items:flex-start;gap:.5rem;padding:.5rem 10px;list-style-type:none;display:flex}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._optionsList_lh9wi_23 span{word-break:break-word;overflow-wrap:break-word;width:calc(100% - 22px);font-size:.875rem;line-height:22px;display:block}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._optionsList_lh9wi_23:hover,._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._optionsList_lh9wi_23._focused_lh9wi_13{--tw-bg-opacity:1;background-color:rgb(238 238 238/var(--tw-bg-opacity,1))}._optionsListContainer_lh9wi_23 ._btnContainer_lh9wi_54{box-sizing:border-box;--tw-border-opacity:1;border-style:solid;border-width:1px 0 0;border-top-color:rgb(200 200 200/var(--tw-border-opacity,1));justify-content:flex-end;align-items:center;width:100%;height:64px;padding-left:18px;padding-right:18px;display:flex;position:absolute;left:0;right:0}._optionsListContainer_lh9wi_23 ._btnContainer_lh9wi_54 ._hiddenButton_lh9wi_57{opacity:0;width:0;height:0;position:absolute;left:-9999px}._optionsListContainer_lh9wi_23 ::-webkit-scrollbar{width:6px}._optionsListContainer_lh9wi_23 ::-webkit-scrollbar-thumb{background-color:#a9a9a9;border-radius:6px}._announcement_lh9wi_70{pointer-events:none;opacity:0;height:0;overflow:hidden}._pseudoCheckbox_z8j4c_1{box-sizing:border-box;--tw-border-opacity:1;border-style:solid;border-width:1px;border-color:rgb(156 156 156/var(--tw-border-opacity,1));border-radius:3px;width:1rem;height:1rem;position:relative;top:3px}._pseudoCheckbox_z8j4c_1 ._checkboxCheckMark_z8j4c_4{width:100%;position:absolute;inset:0}._pseudoCheckbox_z8j4c_1 ._checkboxCheckMark_z8j4c_4 ._checkboxCheckMarkPath_z8j4c_7{stroke-width:3px;stroke-dashoffset:23px;stroke-dasharray:23}._pseudoCheckbox_z8j4c_1._checked_z8j4c_12{--tw-border-opacity:1;border-color:rgb(0 107 177/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(0 107 177/var(--tw-bg-opacity,1))}._pseudoCheckbox_z8j4c_1._checked_z8j4c_12 ._checkboxCheckMark_z8j4c_4{opacity:1}._pseudoCheckbox_z8j4c_1._checked_z8j4c_12 ._checkboxCheckMark_z8j4c_4 ._checkboxCheckMarkPath_z8j4c_7{stroke-dashoffset:0;animation:.18s linear _checkboxUncheckedChecked_z8j4c_1}._pseudoCheckbox_z8j4c_1._checkboxDisabled_z8j4c_22{pointer-events:none;cursor:default;--tw-border-opacity:1;border-color:rgb(228 228 228/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(249 249 249/var(--tw-bg-opacity,1))}@keyframes _checkboxUncheckedChecked_z8j4c_1{0%,50%{stroke-dashoffset:23px}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}to{stroke-dashoffset:0}}._multiSelectContainer_1on91_1{width:auto;position:relative}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4{width:100%;position:relative}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7{width:100%;height:38px;margin-top:1px;position:relative}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7{box-sizing:border-box;cursor:pointer;text-overflow:ellipsis;white-space:nowrap;--tw-border-opacity:1;border-style:solid;border-width:0 0 1px;border-bottom-color:rgb(200 200 200/var(--tw-border-opacity,1));--tw-text-opacity:1;width:100%;height:100%;color:rgb(51 51 51/var(--tw-text-opacity,1));justify-content:space-between;align-items:center;padding-top:.5rem;padding-bottom:.5rem;padding-left:10px;font-size:14px;line-height:20px;display:flex;position:relative;overflow:hidden}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7:focus-within{outline-offset:2px;outline:2px solid #0000}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7:focus{padding-bottom:7px}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7:focus-visible{outline-offset:2px;outline:2px solid #0000}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7:focus{border-bottom:2px solid var(--theme-color,#006bb1)}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._focused_1on91_16{outline-offset:2px;outline:2px solid #0000;padding-bottom:7px}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7 ._countAndIconContainer_1on91_19{align-items:center;display:flex}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._rounded_1on91_22{--tw-border-opacity:1;border-width:1px;border-color:rgb(200 200 200/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(244 244 244/var(--tw-bg-opacity,1));border-radius:9999px;align-items:center;height:2.25rem;margin-top:0;padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;display:flex}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._rounded_1on91_22._focused_1on91_16,._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._rounded_1on91_22:hover,._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._rounded_1on91_22:focus-visible{border-color:var(--theme-color,#006bb1);box-shadow:0 0 0 1px var(--theme-color,#006bb1)}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._rounded_1on91_22._selected_1on91_7{border:1px solid var(--theme-color,#006bb1);box-shadow:0 0 0 1px var(--theme-color,#006bb1);background-color:color-mix(in srgb, var(--theme-color,#006bb1) 18%, transparent)}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._rounded_1on91_22._selected_1on91_7:hover{background-color:color-mix(in srgb, var(--theme-color,#006bb1) 36%, transparent)}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedCount_1on91_37{box-sizing:border-box;--tw-text-opacity:1;min-width:22px;height:22px;color:rgb(255 255 255/var(--tw-text-opacity,1));background-color:var(--theme-color,#006bb1);border-radius:9999px;margin-top:1px;margin-left:.5rem;padding-left:7px;padding-right:7px;font-size:14px;font-weight:600;line-height:22px}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._dropDownIcon_1on91_41{cursor:pointer;margin-top:0;margin-left:.5rem;margin-right:18px}._optionsListContainer_1on91_45{z-index:10;--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));--tw-shadow:0 1px 6px 0 #00000080;--tw-shadow-colored:0 1px 6px 0 var(--tw-shadow-color);width:83%;max-width:367px;max-height:293px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow);margin-top:0;padding-bottom:4rem;font-size:.875rem;line-height:22px;position:absolute}._optionsListContainer_1on91_45:focus{outline-offset:2px;outline:2px solid #0000}@media (width<=767px){._optionsListContainer_1on91_45{max-width:320px}}._optionsListContainer_1on91_45._top_1on91_48{transform:translateY(calc(-100% - 40px))}._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51{max-height:225px;padding-top:1rem;padding-bottom:1rem;overflow:auto}._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51 ._searchInputWrap_1on91_54{height:2.5rem;margin-bottom:.5rem;padding-left:10px;padding-right:10px}._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51 ._searchInputWrap_1on91_54 ._searchInput_1on91_54{box-sizing:border-box;outline-offset:-2px;outline:1px solid #c8c8c8;width:100%;height:100%;padding-top:.5rem;padding-bottom:.5rem;padding-left:10px}._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51 ul{margin:0;padding:0}._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51 ._optionsList_1on91_45{box-sizing:border-box;align-items:flex-start;gap:.5rem;padding:.5rem 10px;list-style-type:none;display:flex}._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51 ._optionsList_1on91_45 span{word-break:break-word;overflow-wrap:break-word;width:calc(100% - 22px);font-size:.875rem;line-height:22px;display:block}._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51 ._optionsList_1on91_45:hover,._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51 ._optionsList_1on91_45._focused_1on91_16{--tw-bg-opacity:1;background-color:rgb(238 238 238/var(--tw-bg-opacity,1))}._optionsListContainer_1on91_45 ._btnContainer_1on91_76{box-sizing:border-box;--tw-border-opacity:1;border-style:solid;border-width:1px 0 0;border-top-color:rgb(200 200 200/var(--tw-border-opacity,1));justify-content:flex-end;align-items:center;width:100%;height:64px;padding-left:18px;padding-right:18px;display:flex;position:absolute;left:0;right:0}._optionsListContainer_1on91_45 ._btnContainer_1on91_76 ._hiddenButton_1on91_79{opacity:0;width:0;height:0;position:absolute;left:-9999px}._optionsListContainer_1on91_45 ::-webkit-scrollbar{width:6px}._optionsListContainer_1on91_45 ::-webkit-scrollbar-thumb{background-color:#a9a9a9;border-radius:6px}._announcement_1on91_92{pointer-events:none;opacity:0;width:58px;height:0;overflow:hidden}._multiSelectContainer_1rhxq_1{position:relative}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4{flex-flow:wrap;gap:.75rem;margin-right:-.75rem;display:flex}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li{word-break:break-word;box-sizing:border-box;cursor:pointer;overflow-wrap:break-word;--tw-border-opacity:1;border-style:solid;border-width:1px;border-color:rgb(0 107 177/var(--tw-border-opacity,1));--tw-text-opacity:1;min-width:80px;color:rgb(0 107 177/var(--tw-text-opacity,1));background-color:#0000;border-radius:4px;align-items:center;padding:8px 14px;font-size:1rem;line-height:1.5rem;list-style-type:none;display:inline-flex;position:relative}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li:hover,._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li:focus-visible,._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li._selected_1rhxq_11{outline-offset:-2px;outline:2px solid #006bb1}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li:hover,._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li:focus-visible{text-decoration-line:underline}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li._disabled_1rhxq_17{pointer-events:none!important;cursor:default!important;--tw-border-opacity:1!important;border-color:rgb(228 228 228/var(--tw-border-opacity,1))!important;--tw-text-opacity:1!important;color:rgb(51 51 51/var(--tw-text-opacity,1))!important;outline-width:0!important;text-decoration-line:none!important}._singleSelectWrapper_7i31h_1{position:relative}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4{flex-flow:wrap;gap:.75rem;display:flex}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li{box-sizing:border-box;cursor:pointer;--tw-border-opacity:1;border-style:solid;border-width:1px;border-color:rgb(0 107 177/var(--tw-border-opacity,1));text-align:center;--tw-text-opacity:1;min-width:80px;min-height:44px;color:rgb(0 107 177/var(--tw-text-opacity,1));word-break:break-word;background-color:#0000;border-radius:4px;align-items:center;padding:9px 1.5rem;font-size:1rem;line-height:1.5rem;list-style-type:none;display:inline-flex;position:relative}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li:hover,._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li:focus-visible,._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li._selected_7i31h_11{outline-offset:-2px;outline:2px solid #006bb1}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li:hover,._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li:focus-visible{text-decoration-line:underline}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li ._triangle_7i31h_17{border-style:solid;border-width:11px;border-bottom-color:#0000;border-left-color:#0000;border-right-color:rgb(0 107 177/var(--tw-border-opacity,1));--tw-border-opacity:1;border-top-color:rgb(0 107 177/var(--tw-border-opacity,1));width:0;height:0;display:inline-block;position:absolute;top:0;right:0}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li ._triangle_7i31h_17 ._loader_7i31h_20{width:10px;height:10px;position:absolute;top:-10px;left:0}@keyframes _tw-spin_7i31h_1{to{transform:rotate(360deg)}}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li ._triangle_7i31h_17 ._loader_7i31h_20{border-style:solid;border-width:2px;border-color:rgb(255 255 255/var(--tw-border-opacity,1));--tw-border-opacity:1;border-right-color:rgb(0 107 177/var(--tw-border-opacity,1));border-radius:50%;animation:1s linear infinite _tw-spin_7i31h_1}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li ._triangle_7i31h_17 ._checkmarkWrap_7i31h_23{position:absolute;top:-9px;left:-1px}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li ._triangle_7i31h_17 ._checkmarkWrap_7i31h_23 ._checkmark_7i31h_23{--tw-shadow:inset 0px 0px 0px transparent;--tw-shadow-colored:inset 0px 0px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow);stroke-miterlimit:10;border-radius:50%;animation:.4s ease-in-out .4s forwards _fill_7i31h_1,.3s ease-in-out .9s both _scale_7i31h_1;display:block}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li ._triangle_7i31h_17 ._checkmarkWrap_7i31h_23 ._checkmark_7i31h_23 ._checkmarkCheck_7i31h_30{transform-origin:50%;stroke-dasharray:48;stroke-dashoffset:48px;animation:.8s cubic-bezier(.5,0,.45,1) .2s forwards _stroke_7i31h_1}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li._disabled_7i31h_35{pointer-events:none!important;cursor:default!important;--tw-border-opacity:1!important;border-color:rgb(228 228 228/var(--tw-border-opacity,1))!important;--tw-text-opacity:1!important;color:rgb(51 51 51/var(--tw-text-opacity,1))!important;outline-width:0!important;text-decoration-line:none!important}@keyframes _scale_7i31h_1{0%,to{transform:none}50%{transform:scale(1.1)}}@keyframes _fill_7i31h_1{to{box-shadow:inset 0 0 0 30px #0000}}@keyframes _stroke_7i31h_1{to{stroke-dashoffset:0}}._scrollbarContainer_40vsr_1{overflow-y:auto}._scrollbarContainer_40vsr_1::-webkit-scrollbar{width:10px}._scrollbarContainer_40vsr_1::-webkit-scrollbar-track{display:none}._scrollbarContainer_40vsr_1::-webkit-scrollbar-thumb{border:2px solid #fff;border-radius:15px;background-color:#ccc!important}._scrollbarContainer_40vsr_1{@supports not selector(::-webkit-scrollbar){scrollbar-width:thin;scrollbar-color:#ccc #0000}}._select_fcnvh_1,._select_fcnvh_1 ._selectContainer_fcnvh_4{position:relative}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7{box-sizing:border-box;cursor:pointer;--tw-border-opacity:1;border-style:solid;border-width:1px 0;border-top-color:#0000;border-bottom-color:rgb(51 51 51/var(--tw-border-opacity,1));text-align:left;--tw-text-opacity:1;width:100%;height:2.5rem;color:rgb(51 51 51/var(--tw-text-opacity,1));background-color:#0000;padding:.375rem 2rem .375rem 10px;font-size:1rem;line-height:1.5rem;position:relative}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7:focus{--tw-border-opacity:1;border-top-width:2px;border-bottom-width:2px;border-bottom-color:rgb(0 107 177/var(--tw-border-opacity,1));outline-offset:2px;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000);outline:2px solid #0000;padding-top:5px;padding-bottom:5px}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7._open_fcnvh_13{--tw-border-opacity:1;border-top-width:2px;border-bottom-width:2px;border-bottom-color:rgb(0 107 177/var(--tw-border-opacity,1))}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7 ._selectValue_fcnvh_16{align-items:center;display:flex}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7 ._selectValue_fcnvh_16._placeholder_fcnvh_19{--tw-text-opacity:1;color:rgb(102 102 102/var(--tw-text-opacity,1))}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7 ._selectValue_fcnvh_16 ._seletIcon_fcnvh_22{flex-shrink:0;width:1.25rem;height:1.25rem;margin-right:.5rem}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7 ._selectValue_fcnvh_16 ._selectText_fcnvh_25{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7 ._chevronDownIconSpan_fcnvh_28{pointer-events:none;align-items:center;padding-right:.5rem;display:flex;position:absolute;top:0;bottom:0;right:0}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7 ._chevronDownIconSpan_fcnvh_28 ._chevronDownIcon_fcnvh_28{--tw-text-opacity:1;width:1.25rem;height:1.25rem;color:rgb(51 51 51/var(--tw-text-opacity,1))}._leave_fcnvh_35{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,1,1)}._leaveFrom_fcnvh_39{opacity:1}._leaveTo_fcnvh_43{opacity:0}._selectOptions_fcnvh_47{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));--tw-shadow:0 1px 6px 0 #00000080;--tw-shadow-colored:0 1px 6px 0 var(--tw-shadow-color);width:100%;max-height:200px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow);margin:0;padding:10px 0;font-size:1rem;line-height:1.5rem;list-style-type:none;overflow:auto}@media (width>=640px){._selectOptions_fcnvh_47{font-size:.875rem;line-height:1.25rem}}._selectOptions_fcnvh_47::-webkit-scrollbar-thumb{--tw-bg-opacity:1;background-color:rgb(169 169 169/var(--tw-bg-opacity,1));border-radius:.375rem}._selectOptions_fcnvh_47::-webkit-scrollbar{width:6px}._selectOptions_fcnvh_47:focus{outline-offset:2px;outline:2px solid #0000}._autocomplete_29ukn_1{position:relative}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4{cursor:default;text-align:left;--tw-text-opacity:1;width:100%;height:2.5rem;color:rgb(51 51 51/var(--tw-text-opacity,1));background-color:#0000;position:relative;overflow:hidden}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4._disable_29ukn_7{--tw-text-opacity:1;color:rgb(167 167 167/var(--tw-text-opacity,1))}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4:focus{outline-offset:2px;outline:2px solid #0000}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000);--tw-ring-opacity:1;--tw-ring-color:rgb(223 223 223/var(--tw-ring-opacity,1));--tw-ring-offset-width:2px;--tw-ring-offset-color:#dfdfdf}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteInput_29ukn_16{box-sizing:border-box;--tw-border-opacity:1;border-width:0 0 1px;border-bottom-color:rgb(51 51 51/var(--tw-border-opacity,1));background-color:#0000;width:100%;height:100%;padding:.5rem 2.5rem .5rem 10px;font-size:1rem;line-height:1.25rem}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteInput_29ukn_16::placeholder{--tw-placeholder-opacity:1;color:rgb(102 102 102/var(--tw-placeholder-opacity,1))}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteInput_29ukn_16{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow)}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteInput_29ukn_16:focus{--tw-border-opacity:1;border-bottom-width:2px;border-bottom-color:rgb(0 107 177/var(--tw-border-opacity,1));outline-offset:2px;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000);outline:2px solid #0000;padding-bottom:7px}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteInput_29ukn_16:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000)}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteInput_29ukn_16[data-focus]{--tw-border-opacity:1;border-bottom-width:2px;border-bottom-color:rgb(0 107 177/var(--tw-border-opacity,1));outline-offset:2px;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000);outline:2px solid #0000;padding-bottom:7px}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteInput_29ukn_16[data-disabled]{cursor:not-allowed;--tw-text-opacity:1;color:rgb(167 167 167/var(--tw-text-opacity,1))}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteButton_29ukn_34{background-color:#0000;border-width:0;align-items:center;padding-right:.5rem;display:flex;position:absolute;top:0;bottom:0;right:0}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteButton_29ukn_34[data-focus]{outline-offset:2px;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000);--tw-ring-opacity:1;--tw-ring-color:rgb(0 107 177/var(--tw-ring-opacity,1));--tw-ring-offset-width:1px;outline:2px solid #0000}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteButton_29ukn_34[data-disabled]{cursor:not-allowed}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteButton_29ukn_34 ._chevronDownIcon_29ukn_44{--tw-text-opacity:1;width:1.25rem;height:1.25rem;color:rgb(51 51 51/var(--tw-text-opacity,1));transition-property:transform;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteButton_29ukn_34 ._chevronDownIcon_29ukn_44._disable_29ukn_7{--tw-text-opacity:1;color:rgb(167 167 167/var(--tw-text-opacity,1))}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteButton_29ukn_34[data-open] ._chevronDownIcon_29ukn_44{--tw-rotate:180deg;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}._leave_29ukn_57{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,1,1)}._leaveFrom_29ukn_61{opacity:1}._leaveTo_29ukn_65{opacity:0}._autocompleteOptions_29ukn_69{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));--tw-shadow:0 1px 6px 0 #00000080;--tw-shadow-colored:0 1px 6px 0 var(--tw-shadow-color);width:100%;max-height:210px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow);margin:0;padding:10px 0;font-size:1rem;line-height:1.5rem;list-style-type:none;overflow:auto}@media (width>=640px){._autocompleteOptions_29ukn_69{font-size:.875rem;line-height:1.25rem}}._autocompleteOptions_29ukn_69::-webkit-scrollbar-thumb{--tw-bg-opacity:1;background-color:rgb(169 169 169/var(--tw-bg-opacity,1));border-radius:.375rem}._autocompleteOptions_29ukn_69::-webkit-scrollbar{width:6px}._autocompleteOptions_29ukn_69[data-transition]{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-duration:.2s;transition-timing-function:cubic-bezier(0,0,.2,1)}._autocompleteOptions_29ukn_69[data-closed]{--tw-scale-x:.95;--tw-scale-y:.95;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0}._autocompleteOptions_29ukn_69[data-open]{--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:1}._autocompleteOptions_29ukn_69:focus{outline-offset:2px;outline:2px solid #0000}._textInputWrapper_gym4n_1{width:100%}._textInputWrapper_gym4n_1 ._textInput_gym4n_1{--tw-border-opacity:1;border-width:0 0 1px;border-color:rgb(51 51 51/var(--tw-border-opacity,1));--tw-text-opacity:1;width:100%;height:2.5rem;color:rgb(51 51 51/var(--tw-text-opacity,1));outline-offset:2px;outline:2px solid #0000;padding:7px 10px .5rem;font-size:1rem;line-height:1.5rem;display:block}._textInputWrapper_gym4n_1 ._textInput_gym4n_1:focus{--tw-border-opacity:1;border-bottom-width:2px;border-color:rgb(0 107 177/var(--tw-border-opacity,1));padding-bottom:7px}._phoneWrapper_dwcpz_1{justify-content:space-between;align-items:center;gap:.75rem;max-width:380px;display:flex}._phoneWrapper_dwcpz_1 ._countryCode_dwcpz_4{width:100%;max-width:110px;height:2.5rem}._phoneWrapper_dwcpz_1 ._countryCode_dwcpz_4 button{background-color:#0000;height:2.5rem;padding-left:10px;font-weight:400;background:0 0!important}._phoneWrapper_dwcpz_1 ._phoneInputWrap_dwcpz_11{width:100%}._phoneWrapper_dwcpz_1 ._phoneInputWrap_dwcpz_11 ._phoneInput_dwcpz_11{box-sizing:border-box;--tw-border-opacity:1;border-width:0 0 1px;border-color:rgb(51 51 51/var(--tw-border-opacity,1));--tw-text-opacity:1;width:100%;height:2.5rem;color:rgb(51 51 51/var(--tw-text-opacity,1));background-color:#0000;padding-left:3px;padding-right:3px;font-size:1rem;line-height:1.5rem}._phoneWrapper_dwcpz_1 ._phoneInputWrap_dwcpz_11 ._phoneInput_dwcpz_11::placeholder{--tw-placeholder-opacity:1;color:rgb(102 102 102/var(--tw-placeholder-opacity,1))}._phoneWrapper_dwcpz_1 ._phoneInputWrap_dwcpz_11 ._phoneInput_dwcpz_11{outline-offset:2px;outline:2px solid #0000}._phoneWrapper_dwcpz_1 ._phoneInputWrap_dwcpz_11 ._phoneInput_dwcpz_11:focus{--tw-border-opacity:1;border-bottom-width:2px;border-color:rgb(0 107 177/var(--tw-border-opacity,1))}._phoneWrapper_dwcpz_1 ._phoneInputWrap_dwcpz_11 ._phoneInput_dwcpz_11._serverError_dwcpz_17:focus{--tw-border-opacity:1;border-bottom-color:rgb(245 77 77/var(--tw-border-opacity,1))}._phonNumberList_dwcpz_21{min-width:286px}._phonNumberList_dwcpz_21>div{width:auto}._phonNumberList_dwcpz_21>div>div{cursor:default;user-select:none;padding:.5rem 10px;position:relative}._phonNumberList_dwcpz_21>div>div[data-focus=true],._phonNumberList_dwcpz_21>div>div[data-selected=true],._phonNumberList_dwcpz_21>div>div._active_dwcpz_30,._phonNumberList_dwcpz_21>div>div:hover{--tw-bg-opacity:1;background-color:rgb(238 238 238/var(--tw-bg-opacity,1));--tw-text-opacity:1;color:rgb(51 51 51/var(--tw-text-opacity,1))}._phonNumberList_dwcpz_21>div>div ._countryListText_dwcpz_33{align-items:center;display:flex}._phonNumberList_dwcpz_21>div>div ._countryListText_dwcpz_33>span{text-overflow:ellipsis;white-space:nowrap;font-weight:400;display:block;overflow:hidden}._phonNumberList_dwcpz_21 ul{width:auto}._phonNumberList_dwcpz_21 ul li{cursor:default;user-select:none;padding:.5rem 10px;position:relative}._phonNumberList_dwcpz_21 ul li._active_dwcpz_30{--tw-bg-opacity:1;background-color:rgb(238 238 238/var(--tw-bg-opacity,1));--tw-text-opacity:1;color:rgb(51 51 51/var(--tw-text-opacity,1))}._phonNumberList_dwcpz_21 ul li ._countryListText_dwcpz_33{align-items:center;display:flex}._phonNumberList_dwcpz_21 ul li ._countryListText_dwcpz_33>span{text-overflow:ellipsis;white-space:nowrap;font-weight:400;display:block;overflow:hidden}._progress_1piqy_1{width:100%;max-width:100%;margin:0 auto;position:relative;overflow:hidden}._progress-bar_1piqy_9{width:60%;animation-duration:2s;animation-timing-function:linear;animation-iteration-count:infinite;display:block;position:absolute;left:-60%}._radioWrapper_e4gpr_1{flex-direction:column;display:flex}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4{align-items:center;display:flex;position:relative}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7{cursor:pointer;margin-top:7px;margin-bottom:7px;display:flex}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7 ._radioBtnInsideLabel_e4gpr_10{width:1.25rem;height:1.25rem;margin-right:10px;position:relative}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7 ._radioBtnInput_e4gpr_13{opacity:0;width:0;height:0;position:absolute}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7 ._radioBtnAvatar_e4gpr_16{width:1.25rem;height:1.25rem;margin-right:9px}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7 ._radioBtnAvatar_e4gpr_16 img{width:1.25rem;min-width:20px;height:1.25rem;margin-top:1px}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7 ._radioBtnText_e4gpr_23{word-break:break-word;font-size:16px;line-height:22px}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7 ._radioBtnCircle_e4gpr_27{border-style:solid;border-width:1px;border-radius:9999px;width:1.25rem;height:1.25rem;margin-top:1px;display:inline-block;position:relative}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7 ._radioBtnCircle_e4gpr_27._radioBtnChecked_e4gpr_30{border-width:2px}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7 ._radioBtnCircleInside_e4gpr_33{border-radius:9999px;width:10px;height:10px;margin-top:-5px;margin-left:-5px;position:absolute;top:50%;left:50%}
2
- /*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();(function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports,require("react"),require("react/jsx-runtime"),require("react-dom"),require("@headlessui/react"),require("@heroicons/react/20/solid"),require("react-phone-number-input/max"),require("react-phone-number-input/locale/en.json")):typeof define==`function`&&define.amd?define([`exports`,`react`,`react/jsx-runtime`,`react-dom`,`@headlessui/react`,`@heroicons/react/20/solid`,`react-phone-number-input/max`,`react-phone-number-input/locale/en.json`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e[`ui-react`]={},e.React,e[`react/jsx-runtime`],e.ReactDOM,e._headlessui_react,e._heroicons_react_20_solid,e.react_phone_number_input_max,e.react_phone_number_input_locale_en_json))})(this,function(e,t,n,r,i,a,o,s){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var c=Object.create,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyNames,f=Object.getPrototypeOf,p=Object.prototype.hasOwnProperty,m=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),h=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=d(t),a=0,o=i.length,s;a<o;a++)s=i[a],!p.call(e,s)&&s!==n&&l(e,s,{get:(e=>t[e]).bind(null,s),enumerable:!(r=u(t,s))||r.enumerable});return e},g=(e,t,n)=>(n=e==null?{}:c(f(e)),h(t||!e||!e.__esModule?l(n,`default`,{value:e,enumerable:!0}):n,e));t=g(t,1),s=g(s,1);var _={button:`_button_1q2ge_1`,primary:`_primary_1q2ge_5`,secondary:`_secondary_1q2ge_12`,small:`_small_1q2ge_19`,rounded:`_rounded_1q2ge_22`,medium:`_medium_1q2ge_26`,large:`_large_1q2ge_33`,squared:`_squared_1q2ge_40`},v=e=>{if(!e)throw Error(`Please provide a hex color code`);if(!/^#([A-Fa-f0-9]{3}){1,2}$/.test(e))throw Error(`Please provide a valid hex code`);e=e.length===4?e.replace(/^#(.)(.)(.)$/,`#$1$1$2$2$3$3`):e;let t=e.substring(1),[n,r,i]=[0,2,4].map(e=>Number.parseInt(t.substring(e,e+2),16));return(.2126*n+.7152*r+.0722*i)/255<.7?`dark`:`light`},y=class{static convert3HexTo6(e){return typeof e==`string`&&/^#(?:[0-9a-fA-F]{3}){1,2}$/.test(e)&&e.length===4?e.replace(/^#(.)(.)(.)$/,`#$1$1$2$2$3$3`):e}},b=(0,t.forwardRef)(({themeColor:e=``,variant:t=`primary`,size:r=`small`,shape:i=`rounded`,children:a,className:o=``,style:s={},disabled:c,...l},u)=>{let d={};if(e){let n=v(e);if(e=y.convert3HexTo6(e),!c&&(n===`dark`||n===`light`)){let r=t===`primary`?e:`#ffffff`,i=t===`primary`?n===`dark`?`#ffffff`:`#333333`:n===`light`?`#333333`:e,a=e===`#ffffff`?`#c8c8c8`:e;d={backgroundColor:r,color:i,outlineColor:a,borderColor:a}}}let f=[_.button,_[t],_[r],_[i],o].filter(Boolean).join(` `);return(0,n.jsx)(`button`,{disabled:c,ref:u,style:{...d,...s},className:`${f}`,...l,children:a})});b.displayName=`Button`;var x={checkboxLayout:`_checkboxLayout_bt7qx_1`,checkboxLabel:`_checkboxLabel_bt7qx_4`,checkboxInnerContainer:`_checkboxInnerContainer_bt7qx_10`,checkboxInput:`_checkboxInput_bt7qx_13`,checkboxFrame:`_checkboxFrame_bt7qx_16`,checkboxCheckMark:`_checkboxCheckMark_bt7qx_19`,checkboxCheckMarkPath:`_checkboxCheckMarkPath_bt7qx_22`,checkboxUncheckedChecked:`_checkboxUncheckedChecked_bt7qx_1`,visuallyHidden:`_visuallyHidden_bt7qx_43`,checkboxDisabled:`_checkboxDisabled_bt7qx_53`,medium:`_medium_bt7qx_59`,large:`_large_bt7qx_65`},S=()=>`checkbox_${Math.random().toString(36).substring(2,11)}`,C=(0,t.forwardRef)(({children:e,themeColor:r=``,checkboxSize:i=`medium`,id:a=S(),checked:o=!1,disabled:s=!1,className:c=``,onChange:l,style:u={},tabIndex:d,...f},p)=>{let[m,h]=(0,t.useState)(o),g={},_,b=s?`#9b9b9b`:`#ffffff`;if(r){let e=v(r);if(r=y.convert3HexTo6(r),e===`dark`||e===`light`){switch(e){case`dark`:b=s?m?`#9b9b9b`:`#f9f9f9`:`#ffffff`;break;case`light`:b=s?m?`#9b9b9b`:`#f9f9f9`:m?`#333333`:`#ffffff`;break;default:b=`#9b9b9b`;break}let t=s?`#f9f9f9`:m?r:`#ffffff`;_=s?`#e4e4e4`:r==`#ffffff`?`#333333`:r,m&&(g={backgroundColor:t,borderColor:_,outlineColor:_})}}let C=s?x.checkboxDisabled:``,w=[x.checkboxLayout,x[i],C,c].filter(Boolean).join(` `),T=e=>{e.key!=`Enter`&&(e.preventDefault(),l?.(e.target.checked),h(!m))};return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(`div`,{className:w,"data-testid":`checkbox`,children:(0,n.jsxs)(`label`,{className:x.checkboxLabel,htmlFor:a,onClick:e=>T(e),children:[(0,n.jsxs)(`div`,{className:x.checkboxInnerContainer,tabIndex:d||s?-1:0,onKeyPress:e=>T(e),"data-testid":`checkbox-inner-container`,children:[(0,n.jsx)(`input`,{className:x.checkboxInput,onChange:e=>T(e),type:`checkbox`,checked:m,disabled:s,id:a,ref:p,...f,tabIndex:-1,"data-testid":`checkbox-input`}),(0,n.jsx)(`div`,{className:x.checkboxFrame,style:{...g,...u},"data-testid":`checkbox-frame`,children:(0,n.jsx)(`svg`,{version:`1.1`,focusable:`false`,className:x.checkboxCheckMark,viewBox:`0 0 24 24`,"data-testid":`check-mark-svg`,children:(0,n.jsx)(`path`,{className:x.checkboxCheckMarkPath,fill:`none`,stroke:b,d:`M4.1,12.7 9,17.6 20.3,6.3`})})})]}),e&&(0,n.jsx)(`span`,{"data-testid":`checkbox-label`,children:e}),(0,n.jsx)(`div`,{className:x.visuallyHidden,"aria-live":`polite`,"aria-atomic":`true`,children:m?`Checked`:`Unchecked`})]})})})});C.displayName=`Checkbox`;var w={textInputWrapper:`_textInputWrapper_1i9m6_1`,textInput:`_textInput_1i9m6_1`},T=m(((e,t)=>{(function(n,r){"use strict";var i=`1.0.41`,a=``,o=`?`,s=`function`,c=`undefined`,l=`object`,u=`string`,d=`major`,f=`model`,p=`name`,m=`type`,h=`vendor`,g=`version`,_=`architecture`,v=`console`,y=`mobile`,b=`tablet`,x=`smarttv`,S=`wearable`,C=`embedded`,w=500,T=`Amazon`,E=`Apple`,D=`ASUS`,O=`BlackBerry`,k=`Browser`,A=`Chrome`,j=`Edge`,M=`Firefox`,N=`Google`,P=`Honor`,ee=`Huawei`,F=`Lenovo`,I=`LG`,te=`Microsoft`,L=`Motorola`,R=`Nvidia`,z=`OnePlus`,B=`Opera`,V=`OPPO`,H=`Samsung`,U=`Sharp`,W=`Sony`,G=`Xiaomi`,K=`Zebra`,ne=`Facebook`,q=`Chromium OS`,J=`Mac OS`,Y=` Browser`,X=function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},Z=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},re=function(e,t){return typeof e===u?Q(t).indexOf(Q(e))!==-1:!1},Q=function(e){return e.toLowerCase()},ie=function(e){return typeof e===u?e.replace(/[^\d\.]/g,a).split(`.`)[0]:r},ae=function(e,t){if(typeof e===u)return e=e.replace(/^\s\s*/,a),typeof t===c?e:e.substring(0,w)},oe=function(e,t){for(var n=0,i,a,o,c,u,d;n<t.length&&!u;){var f=t[n],p=t[n+1];for(i=a=0;i<f.length&&!u&&f[i];)if(u=f[i++].exec(e),u)for(o=0;o<p.length;o++)d=u[++a],c=p[o],typeof c===l&&c.length>0?c.length===2?typeof c[1]==s?this[c[0]]=c[1].call(this,d):this[c[0]]=c[1]:c.length===3?typeof c[1]===s&&!(c[1].exec&&c[1].test)?this[c[0]]=d?c[1].call(this,d,c[2]):r:this[c[0]]=d?d.replace(c[1],c[2]):r:c.length===4&&(this[c[0]]=d?c[3].call(this,d.replace(c[1],c[2])):r):this[c]=d||r;n+=2}},se=function(e,t){for(var n in t)if(typeof t[n]===l&&t[n].length>0){for(var i=0;i<t[n].length;i++)if(re(t[n][i],e))return n===o?r:n}else if(re(t[n],e))return n===o?r:n;return t.hasOwnProperty(`*`)?t[`*`]:e},ce={"1.0":`/8`,1.2:`/1`,1.3:`/3`,"2.0":`/412`,"2.0.2":`/416`,"2.0.3":`/417`,"2.0.4":`/419`,"?":`/`},le={ME:`4.90`,"NT 3.11":`NT3.51`,"NT 4.0":`NT4.0`,2e3:`NT 5.0`,XP:[`NT 5.1`,`NT 5.2`],Vista:`NT 6.0`,7:`NT 6.1`,8:`NT 6.2`,8.1:`NT 6.3`,10:[`NT 6.4`,`NT 10.0`],RT:`ARM`},ue={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[g,[p,`Chrome`]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[g,[p,`Edge`]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[p,g],[/opios[\/ ]+([\w\.]+)/i],[g,[p,B+` Mini`]],[/\bop(?:rg)?x\/([\w\.]+)/i],[g,[p,B+` GX`]],[/\bopr\/([\w\.]+)/i],[g,[p,B]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[g,[p,`Baidu`]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[g,[p,`Maxthon`]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[p,g],[/quark(?:pc)?\/([-\w\.]+)/i],[g,[p,`Quark`]],[/\bddg\/([\w\.]+)/i],[g,[p,`DuckDuckGo`]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[g,[p,`UC`+k]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[g,[p,`WeChat`]],[/konqueror\/([\w\.]+)/i],[g,[p,`Konqueror`]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[g,[p,`IE`]],[/ya(?:search)?browser\/([\w\.]+)/i],[g,[p,`Yandex`]],[/slbrowser\/([\w\.]+)/i],[g,[p,`Smart Lenovo `+k]],[/(avast|avg)\/([\w\.]+)/i],[[p,/(.+)/,`$1 Secure `+k],g],[/\bfocus\/([\w\.]+)/i],[g,[p,M+` Focus`]],[/\bopt\/([\w\.]+)/i],[g,[p,B+` Touch`]],[/coc_coc\w+\/([\w\.]+)/i],[g,[p,`Coc Coc`]],[/dolfin\/([\w\.]+)/i],[g,[p,`Dolphin`]],[/coast\/([\w\.]+)/i],[g,[p,B+` Coast`]],[/miuibrowser\/([\w\.]+)/i],[g,[p,`MIUI`+Y]],[/fxios\/([\w\.-]+)/i],[g,[p,M]],[/\bqihoobrowser\/?([\w\.]*)/i],[g,[p,`360`]],[/\b(qq)\/([\w\.]+)/i],[[p,/(.+)/,`$1Browser`],g],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[p,/(.+)/,`$1`+Y],g],[/samsungbrowser\/([\w\.]+)/i],[g,[p,H+` Internet`]],[/metasr[\/ ]?([\d\.]+)/i],[g,[p,`Sogou Explorer`]],[/(sogou)mo\w+\/([\d\.]+)/i],[[p,`Sogou Mobile`],g],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[p,g],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[p],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[g,p],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[p,ne],g],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[p,g],[/\bgsa\/([\w\.]+) .*safari\//i],[g,[p,`GSA`]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[g,[p,`TikTok`]],[/headlesschrome(?:\/([\w\.]+)| )/i],[g,[p,A+` Headless`]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[p,A+` WebView`],g],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[g,[p,`Android `+k]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[p,g],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[g,[p,`Mobile Safari`]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[g,p],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[p,[g,se,ce]],[/(webkit|khtml)\/([\w\.]+)/i],[p,g],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[p,`Netscape`],g],[/(wolvic|librewolf)\/([\w\.]+)/i],[p,g],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[g,[p,M+` Reality`]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[p,[g,/_/g,`.`]],[/(cobalt)\/([\w\.]+)/i],[p,[g,/master.|lts./,``]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[_,`amd64`]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[_,`ia32`]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[_,`arm64`]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[_,`armhf`]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[_,`arm`]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[_,/ower/,a,Q]],[/ sun4\w[;\)]/i],[[_,`sparc`]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[_,Q]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[f,[h,H],[m,b]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[f,[h,H],[m,y]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[f,[h,E],[m,y]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[f,[h,E],[m,b]],[/(macintosh);/i],[f,[h,E]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[f,[h,U],[m,y]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[f,[h,P],[m,b]],[/honor([-\w ]+)[;\)]/i],[f,[h,P],[m,y]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[f,[h,ee],[m,b]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[f,[h,ee],[m,y]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[f,/_/g,` `],[h,G],[m,b]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[f,/_/g,` `],[h,G],[m,y]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[f,[h,V],[m,y]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[f,[h,se,{OnePlus:[`304`,`403`,`203`],"*":V}],[m,b]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[f,[h,`Vivo`],[m,y]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[f,[h,`Realme`],[m,y]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[f,[h,L],[m,y]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[f,[h,L],[m,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[f,[h,I],[m,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[f,[h,I],[m,y]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[f,[h,F],[m,b]],[/(nokia) (t[12][01])/i],[h,f,[m,b]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[f,/_/g,` `],[m,y],[h,`Nokia`]],[/(pixel (c|tablet))\b/i],[f,[h,N],[m,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[f,[h,N],[m,y]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[f,[h,W],[m,y]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[f,`Xperia Tablet`],[h,W],[m,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[f,[h,z],[m,y]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[f,[h,T],[m,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[f,/(.+)/g,`Fire Phone $1`],[h,T],[m,y]],[/(playbook);[-\w\),; ]+(rim)/i],[f,h,[m,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[f,[h,O],[m,y]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[f,[h,D],[m,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[f,[h,D],[m,y]],[/(nexus 9)/i],[f,[h,`HTC`],[m,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[f,/_/g,` `],[m,y]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[f,[h,`TCL`],[m,b]],[/(itel) ((\w+))/i],[[h,Q],f,[m,se,{tablet:[`p10001l`,`w7001`],"*":`mobile`}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[f,[h,`Acer`],[m,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[f,[h,`Meizu`],[m,y]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[f,[h,`Ulefone`],[m,y]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[f,[h,`Energizer`],[m,y]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[f,[h,`Cat`],[m,y]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[f,[h,`Smartfren`],[m,y]],[/droid.+; (a(?:015|06[35]|142p?))/i],[f,[h,`Nothing`],[m,y]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[f,[h,`Archos`],[m,b]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[f,[h,`Archos`],[m,y]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[h,f,[m,b]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[h,f,[m,y]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[h,f,[m,b]],[/(surface duo)/i],[f,[h,te],[m,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[f,[h,`Fairphone`],[m,y]],[/(u304aa)/i],[f,[h,`AT&T`],[m,y]],[/\bsie-(\w*)/i],[f,[h,`Siemens`],[m,y]],[/\b(rct\w+) b/i],[f,[h,`RCA`],[m,b]],[/\b(venue[\d ]{2,7}) b/i],[f,[h,`Dell`],[m,b]],[/\b(q(?:mv|ta)\w+) b/i],[f,[h,`Verizon`],[m,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[f,[h,`Barnes & Noble`],[m,b]],[/\b(tm\d{3}\w+) b/i],[f,[h,`NuVision`],[m,b]],[/\b(k88) b/i],[f,[h,`ZTE`],[m,b]],[/\b(nx\d{3}j) b/i],[f,[h,`ZTE`],[m,y]],[/\b(gen\d{3}) b.+49h/i],[f,[h,`Swiss`],[m,y]],[/\b(zur\d{3}) b/i],[f,[h,`Swiss`],[m,b]],[/\b((zeki)?tb.*\b) b/i],[f,[h,`Zeki`],[m,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,`Dragon Touch`],f,[m,b]],[/\b(ns-?\w{0,9}) b/i],[f,[h,`Insignia`],[m,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[f,[h,`NextBook`],[m,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,`Voice`],f,[m,y]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,`LvTel`],f,[m,y]],[/\b(ph-1) /i],[f,[h,`Essential`],[m,y]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[f,[h,`Envizen`],[m,b]],[/\b(trio[-\w\. ]+) b/i],[f,[h,`MachSpeed`],[m,b]],[/\btu_(1491) b/i],[f,[h,`Rotor`],[m,b]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[f,[h,R],[m,b]],[/(sprint) (\w+)/i],[h,f,[m,y]],[/(kin\.[onetw]{3})/i],[[f,/\./g,` `],[h,te],[m,y]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[f,[h,K],[m,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[f,[h,K],[m,y]],[/smart-tv.+(samsung)/i],[h,[m,x]],[/hbbtv.+maple;(\d+)/i],[[f,/^/,`SmartTV`],[h,H],[m,x]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,I],[m,x]],[/(apple) ?tv/i],[h,[f,E+` TV`],[m,x]],[/crkey/i],[[f,A+`cast`],[h,N],[m,x]],[/droid.+aft(\w+)( bui|\))/i],[f,[h,T],[m,x]],[/(shield \w+ tv)/i],[f,[h,R],[m,x]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[f,[h,U],[m,x]],[/(bravia[\w ]+)( bui|\))/i],[f,[h,W],[m,x]],[/(mi(tv|box)-?\w+) bui/i],[f,[h,G],[m,x]],[/Hbbtv.*(technisat) (.*);/i],[h,f,[m,x]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[h,ae],[f,ae],[m,x]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[f,[m,x]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[m,x]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,f,[m,v]],[/droid.+; (shield)( bui|\))/i],[f,[h,R],[m,v]],[/(playstation \w+)/i],[f,[h,W],[m,v]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[f,[h,te],[m,v]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[f,[h,H],[m,S]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[h,f,[m,S]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[f,[h,V],[m,S]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[f,[h,E],[m,S]],[/(opwwe\d{3})/i],[f,[h,z],[m,S]],[/(moto 360)/i],[f,[h,L],[m,S]],[/(smartwatch 3)/i],[f,[h,W],[m,S]],[/(g watch r)/i],[f,[h,I],[m,S]],[/droid.+; (wt63?0{2,3})\)/i],[f,[h,K],[m,S]],[/droid.+; (glass) \d/i],[f,[h,N],[m,S]],[/(pico) (4|neo3(?: link|pro)?)/i],[h,f,[m,S]],[/; (quest( \d| pro)?)/i],[f,[h,ne],[m,S]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[m,C]],[/(aeobc)\b/i],[f,[h,T],[m,C]],[/(homepod).+mac os/i],[f,[h,E],[m,C]],[/windows iot/i],[[m,C]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[f,[m,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[f,[m,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[m,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[m,y]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[f,[h,`Generic`]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[g,[p,j+`HTML`]],[/(arkweb)\/([\w\.]+)/i],[p,g],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[g,[p,`Blink`]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[p,g],[/ladybird\//i],[[p,`LibWeb`]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[g,p]],os:[[/microsoft (windows) (vista|xp)/i],[p,g],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[p,[g,se,le]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[g,se,le],[p,`Windows`]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[g,/_/g,`.`],[p,`iOS`]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[p,J],[g,/_/g,`.`]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[g,p],[/(ubuntu) ([\w\.]+) like android/i],[[p,/(.+)/,`$1 Touch`],g],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[p,g],[/\(bb(10);/i],[g,[p,O]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[g,[p,`Symbian`]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[g,[p,M+` OS`]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[g,[p,`webOS`]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[g,[p,`watchOS`]],[/crkey\/([\d\.]+)/i],[g,[p,A+`cast`]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[p,q],g],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[p,g],[/(sunos) ?([\w\.\d]*)/i],[[p,`Solaris`],g],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[p,g]]},$=function(e,t){if(typeof e===l&&(t=e,e=r),!(this instanceof $))return new $(e,t).getResult();var i=typeof n!==c&&n.navigator?n.navigator:r,o=e||(i&&i.userAgent?i.userAgent:a),v=i&&i.userAgentData?i.userAgentData:r,x=t?X(ue,t):ue,S=i&&i.userAgent==o;return this.getBrowser=function(){var e={};return e[p]=r,e[g]=r,oe.call(e,o,x.browser),e[d]=ie(e[g]),S&&i&&i.brave&&typeof i.brave.isBrave==s&&(e[p]=`Brave`),e},this.getCPU=function(){var e={};return e[_]=r,oe.call(e,o,x.cpu),e},this.getDevice=function(){var e={};return e[h]=r,e[f]=r,e[m]=r,oe.call(e,o,x.device),S&&!e[m]&&v&&v.mobile&&(e[m]=y),S&&e[f]==`Macintosh`&&i&&typeof i.standalone!==c&&i.maxTouchPoints&&i.maxTouchPoints>2&&(e[f]=`iPad`,e[m]=b),e},this.getEngine=function(){var e={};return e[p]=r,e[g]=r,oe.call(e,o,x.engine),e},this.getOS=function(){var e={};return e[p]=r,e[g]=r,oe.call(e,o,x.os),S&&!e[p]&&v&&v.platform&&v.platform!=`Unknown`&&(e[p]=v.platform.replace(/chrome os/i,q).replace(/macos/i,J)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return o},this.setUA=function(e){return o=typeof e===u&&e.length>w?ae(e,w):e,this},this.setUA(o),this};$.VERSION=i,$.BROWSER=Z([p,g,d]),$.CPU=Z([_]),$.DEVICE=Z([f,h,m,v,y,x,b,S,C]),$.ENGINE=$.OS=Z([p,g]),typeof e===c?typeof define===s&&define.amd?define(function(){return $}):typeof n!==c&&(n.UAParser=$):(typeof t!==c&&t.exports&&(e=t.exports=$),e.UAParser=$);var de=typeof n!==c&&(n.jQuery||n.Zepto);if(de&&!de.ua){var fe=new $;de.ua=fe.getResult(),de.ua.get=function(){return fe.getUA()},de.ua.set=function(e){fe.setUA(e);var t=fe.getResult();for(var n in t)de.ua[n]=t[n]}}})(typeof window==`object`?window:e)})),E=m((e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(e){return e&&typeof e==`object`&&`default`in e?e.default:e}t(require("react"));var n=new(T()),r=n.getBrowser();n.getCPU();var i=n.getDevice(),a=n.getEngine(),o=n.getOS(),s=n.getUA(),c={Mobile:`mobile`,Tablet:`tablet`,SmartTv:`smarttv`,Console:`console`,Wearable:`wearable`,Embedded:`embedded`,Browser:void 0},l={Chrome:`Chrome`,Firefox:`Firefox`,Opera:`Opera`,Yandex:`Yandex`,Safari:`Safari`,InternetExplorer:`Internet Explorer`,Edge:`Edge`,Chromium:`Chromium`,Ie:`IE`,MobileSafari:`Mobile Safari`,EdgeChromium:`Edge Chromium`,MIUI:`MIUI Browser`,SamsungBrowser:`Samsung Browser`},u={IOS:`iOS`,Android:`Android`,WindowsPhone:`Windows Phone`,Windows:`Windows`,MAC_OS:`Mac OS`},d=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:`none`;return e||t},f=function(){return typeof window<`u`&&(window.navigator||navigator)?window.navigator||navigator:!1},p=function(e){var t=f();return t&&t.platform&&(t.platform.indexOf(e)!==-1||t.platform===`MacIntel`&&t.maxTouchPoints>1&&!window.MSStream)},m=function(e){return e.type===c.Mobile},h=function(e){return e.type===c.Tablet},g=function(e){var t=e.type;return t===c.Mobile||t===c.Tablet},_=function(e){return e.type===c.SmartTv},v=function(e){return e.type===c.Browser},y=function(e){return e.type===c.Wearable},b=function(e){return e.type===c.Console},x=function(e){return e.type===c.Embedded},S=function(e){var t=e.vendor;return d(t)},C=function(e){var t=e.model;return d(t)},w=function(e){var t=e.type;return d(t,`browser`)},E=function(e){return e.name===u.Android},D=function(e){return e.name===u.Windows},O=function(e){return e.name===u.MAC_OS},k=function(e){return e.name===u.WindowsPhone},A=function(e){return e.name===u.IOS},j=function(e){var t=e.version;return d(t)},M=function(e){var t=e.name;return d(t)},N=function(e){return e.name===l.Chrome},P=function(e){return e.name===l.Firefox},ee=function(e){return e.name===l.Chromium},F=function(e){return e.name===l.Edge},I=function(e){return e.name===l.Yandex},te=function(e){var t=e.name;return t===l.Safari||t===l.MobileSafari},L=function(e){return e.name===l.MobileSafari},R=function(e){return e.name===l.Opera},z=function(e){var t=e.name;return t===l.InternetExplorer||t===l.Ie},B=function(e){return e.name===l.MIUI},V=function(e){return e.name===l.SamsungBrowser},H=function(e){var t=e.version;return d(t)},U=function(e){var t=e.major;return d(t)},W=function(e){var t=e.name;return d(t)},G=function(e){var t=e.name;return d(t)},K=function(e){var t=e.version;return d(t)},ne=function(){var e=f(),t=e&&e.userAgent&&e.userAgent.toLowerCase();return typeof t==`string`?/electron/.test(t):!1},q=function(e){return typeof e==`string`&&e.indexOf(`Edg/`)!==-1},J=function(){var e=f();return e&&(/iPad|iPhone|iPod/.test(e.platform)||e.platform===`MacIntel`&&e.maxTouchPoints>1)&&!window.MSStream},Y=function(){return p(`iPad`)},X=function(){return p(`iPhone`)},Z=function(){return p(`iPod`)},re=function(e){return d(e)};_(i),b(i),y(i),x(i),L(r)||Y(),ee(r);var Q=g(i)||Y();m(i),h(i)||Y(),v(i),v(i),E(o),k(o),A(o)||Y(),N(r),P(r),te(r),R(r),z(r),j(o),M(o),H(r),U(r),W(r),S(i),C(i),G(a),K(a),re(s),F(r)||q(s),I(r),w(i),J(),Y(),X(),Z(),ne(),q(s),F(r)&&q(s),D(o),O(o),B(r),V(r),e.isMobile=Q}))(),D=t.default.memo((0,t.forwardRef)(({themeColor:e=``,onSubmit:r,style:i={},className:a=``,onInput:o,onFocus:s,onBlur:c,...l},u)=>{let[d,f]=(0,t.useState)(!0),[p,m]=(0,t.useState)(!1);e=y.convert3HexTo6(e),(0,t.useEffect)(()=>{f(E.isMobile)},[]);let h=e=>{!d&&e.key===`Enter`&&!e.shiftKey&&r&&(e.preventDefault(),r())},g=e=>{o?.(e),e.target.style.height=`40px`,e.target.style.height=2+e.target.scrollHeight+`px`},_={},v=[w.textInput,a].filter(Boolean).join(` `),b=()=>{m(!0)},x=()=>{m(!1)};return _={borderBottomColor:p?e===`#ffffff`?`#c8c8c8`:e:``},(0,n.jsx)(`div`,{className:w.textInputWrapper,children:(0,n.jsx)(`textarea`,{"data-testid":`textbox-input`,ref:u,className:v,style:{..._,...i},onFocus:b,onBlur:x,onInput:e=>g(e),onKeyDown:h,...l})})})),O={multiSelectContainer:`_multiSelectContainer_lh9wi_1`,listOptionsWrap:`_listOptionsWrap_lh9wi_4`,selectedValuesWrap:`_selectedValuesWrap_lh9wi_7`,selectedValues:`_selectedValues_lh9wi_7`,focused:`_focused_lh9wi_13`,placeholder:`_placeholder_lh9wi_16`,dropDownIcon:`_dropDownIcon_lh9wi_19`,optionsListContainer:`_optionsListContainer_lh9wi_23`,top:`_top_lh9wi_26`,optionsListWrap:`_optionsListWrap_lh9wi_29`,searchInputWrap:`_searchInputWrap_lh9wi_32`,searchInput:`_searchInput_lh9wi_32`,optionsList:`_optionsList_lh9wi_23`,btnContainer:`_btnContainer_lh9wi_54`,hiddenButton:`_hiddenButton_lh9wi_57`,announcement:`_announcement_lh9wi_70`},k={pseudoCheckbox:`_pseudoCheckbox_z8j4c_1`,checkboxCheckMark:`_checkboxCheckMark_z8j4c_4`,checkboxCheckMarkPath:`_checkboxCheckMarkPath_z8j4c_7`,checked:`_checked_z8j4c_12`,checkboxUncheckedChecked:`_checkboxUncheckedChecked_z8j4c_1`,checkboxDisabled:`_checkboxDisabled_z8j4c_22`},A=({checked:e=!1,themeColor:t=``,disabled:r=!1})=>{let i={},a=`#006bb1`,o=r?`#9b9b9b`:`#ffffff`,s=r?k.checkboxDisabled:``,c=e?k.checked:``,l=[k.pseudoCheckbox,c,s].filter(Boolean).join(` `),u;if(t){let n=v(t);t=y.convert3HexTo6(t),n===`dark`||n===`light`?(o=r?e?`#9b9b9b`:`#f9f9f9`:n==`light`?`#333333`:`#ffffff`,a=r?`#f9f9f9`:e?t:`#ffffff`,u=r?`#e4e4e4`:t===`#ffffff`?`#333333`:t,e&&(i={backgroundColor:a,borderColor:u,outlineColor:u})):o=`#9b9b9b`}return(0,n.jsx)(`div`,{style:i,className:l,role:`checkbox`,"aria-checked":e,"aria-hidden":`true`,tabIndex:-1,"data-testid":`checkbox-input`,children:(0,n.jsx)(`svg`,{version:`1.1`,focusable:`false`,className:k.checkboxCheckMark,viewBox:`0 0 24 24`,children:(0,n.jsx)(`path`,{className:k.checkboxCheckMarkPath,fill:`none`,stroke:o,d:`M4.1,12.7 9,17.6 20.3,6.3`})})})};A.displayName=`Checkbox`;var j=({options:e,checkedValue:i,onSelectionChange:a,maxOptions:o,themeColor:s,className:c=``,style:l={}})=>{let u=(0,t.useRef)(e),[d,f]=(0,t.useState)(i),[p,m]=(0,t.useState)(``),[h,g]=(0,t.useState)(!1),[_,x]=(0,t.useState)(!1),S=(0,t.useRef)(null),C=(0,t.useRef)(null),w=(0,t.useRef)(null),T=(0,t.useRef)(null),E=(0,t.useRef)(null),D=(0,t.useRef)(null),[k,j]=(0,t.useState)(-1),M=(0,t.useRef)(0),N=(0,t.useRef)(0),[P,ee]=(0,t.useState)(!1),F={},[I,te]=(0,t.useState)({left:0,top:0}),[L,R]=(0,t.useState)(null),z=(0,t.useRef)(!1),B=(0,t.useRef)(null),V=()=>{setTimeout(()=>{(S.current?.children[0]).focus()},0)};(0,t.useEffect)(()=>{let e=e=>{C.current&&!C.current.contains(e.target)&&(g(!1),m(``),V())};return document.addEventListener(`mousedown`,e),()=>{document.removeEventListener(`mousedown`,e)}},[]);let H=()=>{M.current=window.innerHeight,N.current=document.body.scrollHeight,ee(!0)};(0,t.useEffect)(()=>(H(),window.addEventListener(`resize`,H),()=>{window.addEventListener(`resize`,H)}),[]);let U=e=>{let t=document.getElementById(`announcement`);t&&(t.textContent=e,t.setAttribute(`aria-live`,`assertive`),setTimeout(()=>{t.textContent=``,t.setAttribute(`aria-live`,`off`)},1e3))};(0,t.useEffect)(()=>{u.current=e.filter(e=>e.label.toLowerCase().includes(p.toLowerCase()))},[e,p]);let W=d.length>0?d.map(t=>{let n=e.find(e=>e.value===t);return n?.label===null?``:n?.label}).filter(e=>e!==``).join(`, `):`Select your option`,G=t=>{let n=e.find(e=>e.value===t);if(n&&!n.disable&&(o===void 0||d.length<=o)){let e=d.includes(t)?d.filter(e=>e!==t):[...d,t];(o===void 0||e.length<=o)&&h&&(f(e),a(e),U(`${n?.label} ${e.includes(t)?`selected`:`not selected`}`))}},K=e=>{q(),g(e),setTimeout(()=>{w.current?w.current?.focus():T.current?.focus(),U(`use up and down arrow keys to navigate`)},0)},ne=()=>N.current-(M.current+window.scrollY),q=()=>{if(S.current){let e=S.current.getBoundingClientRect();setTimeout(()=>{let t=C?.current?.getBoundingClientRect(),n=ne(),r=M.current-e.bottom,i;if(t){let a=e.height,o=e.top,s=t.height,c=s>o+window.scrollY;i=o<s&&(c||c&&r<s||n>s||r>s)||o>s&&r>s?e.y+a:e.y-s,te({left:e.left,top:i??e.top})}},0)}};(0,t.useEffect)(()=>(window.addEventListener(`scroll`,q),window.addEventListener(`resize`,q),()=>{window.removeEventListener(`scroll`,q),window.removeEventListener(`resize`,q)}),[h]);let J=e=>{e.preventDefault(),e.key===`Shift`?z.current=!0:e.shiftKey&&z.current&&e.key===`Tab`||e.key===`Tab`?(setTimeout(()=>{w.current?w.current?.focus():T.current?.focus()},0),z.current=!1):e.key===`Escape`||e.key===`Enter`||e.key===`Space`||e.key===` `?(K(!1),V()):z.current=!1},Y=e=>{let{key:t}=e;if(t===`Tab`||e.shiftKey&&t===`Tab`)setTimeout(()=>{E.current?.focus()},0);else if(t===`ArrowDown`||t===`ArrowUp`){e.preventDefault(),setTimeout(()=>{T.current?.focus()},0);let n=k;if(t===`ArrowDown`?n=Math.min(k+1,u.current.length-1):t===`ArrowUp`&&(n=Math.max(k-1,0)),k===0&&e.key===`ArrowUp`?n=u.current.length-1:k===u.current.length-1&&e.key===`ArrowDown`&&(n=0),j(n),D.current&&n>=0){let e=D.current.querySelectorAll(`.${O.optionsList}`)[n],t=e.children[0].getAttribute(`aria-checked`);U(`${e.textContent} ${t===`true`?`selected`:`not selected`} ${n+1} out of ${u.current.length}`),e&&e.scrollIntoView({block:`nearest`,inline:`nearest`})}}else t===`Enter`||t===`Space`||t===` `?k!==-1&&G(u.current[k].value):t===`Escape`&&(K(!1),V())};(0,t.useEffect)(()=>{L&&clearTimeout(L),R(setTimeout(()=>{let e=u.current.length?`${u.current.length} results are available, use up and down arrow keys to navigate`:`No results available`;h&&U(e)},500))},[p]);let X=()=>{x(!0)},Z=()=>{x(!1)};if((0,t.useEffect)(()=>{let e=B.current;return e&&(e.addEventListener(`focus`,X),e.addEventListener(`blur`,Z)),()=>{e&&(e.removeEventListener(`focus`,X),e.removeEventListener(`blur`,Z))}},[X,Z]),s){let e=v(s);s=y.convert3HexTo6(s),(e===`dark`||e===`light`)&&(F={borderBottomColor:s===`#ffffff`?`#c8c8c8`:_||h?s:`#333333`})}let re=()=>{g(!1)};return(0,n.jsx)(`div`,{className:O.multiSelectContainer,children:(0,n.jsxs)(`div`,{className:O.listOptionsWrap,children:[(0,n.jsxs)(`div`,{className:`${c} ${O.selectedValuesWrap}`,ref:S,children:[(0,n.jsx)(`div`,{className:`${O.selectedValues} ${h?O.focused:``} ${d.length===0?O.placeholder:``}`,ref:B,onFocus:X,onBlur:Z,onClick:()=>K(!h),onKeyPress:e=>{(e.key===` `||e.code===`Space`||e.code===`Enter`)&&(e.preventDefault(),K(!h))},tabIndex:0,"data-testid":`selected-input`,style:{...F,...l},"aria-expanded":h,"aria-haspopup":`listbox`,"aria-multiselectable":`true`,"aria-autocomplete":`list`,role:`combobox`,children:W}),(0,n.jsx)(`span`,{className:O.dropDownIcon,onClick:()=>K(!h),"data-testid":`arrow-button`,children:(0,n.jsx)(`svg`,{width:`12px`,height:`7px`,viewBox:`0 0 12 7`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,children:(0,n.jsx)(`g`,{stroke:`none`,strokeWidth:`1`,fill:`none`,fillRule:`evenodd`,children:(0,n.jsx)(`g`,{transform:`translate(-2360.000000, -295.000000)`,fill:`#666666`,children:(0,n.jsx)(`g`,{transform:`translate(2006.000000, 248.000000)`,children:(0,n.jsx)(`path`,{d:`M358.027356,44.3431458 L358.027146,50.6581458 L364.343146,50.6589352 L364.343146,52.3431458 L358.027146,52.3421458 L358.027356,52.3431458 L356.343146,52.3431458 L356.343146,44.3431458 L358.027356,44.3431458 Z`,transform:`translate(360.343146, 48.343146) scale(-1, -1) rotate(-225.000000) translate(-360.343146, -48.343146)`})})})})})})]}),(0,n.jsx)(`div`,{id:`announcement`,"aria-live":`assertive`,role:`alert`,className:O.announcement}),P?(0,r.createPortal)((0,n.jsx)(n.Fragment,{children:h&&S&&(0,n.jsx)(`div`,{onClick:re,style:{position:`fixed`,inset:0,backgroundColor:`rgba(255,255,255,0)`,zIndex:1e3},children:(0,n.jsxs)(`div`,{className:`${O.optionsListContainer}`,ref:C,onClick:e=>e.stopPropagation(),style:{opacity:+!!I.left,width:S.current?S.current.clientWidth:`auto`,left:I.left,top:I.top},children:[(0,n.jsxs)(`div`,{className:O.optionsListWrap,children:[e.length>=6&&(0,n.jsx)(`div`,{className:O.searchInputWrap,children:(0,n.jsx)(`input`,{type:`text`,ref:w,placeholder:`Type to filter`,className:O.searchInput,value:p,onChange:e=>m(e.target.value),"data-testid":`search-input`,onKeyDown:e=>{Y(e)}})}),(0,n.jsx)(`ul`,{ref:D,role:`listbox`,children:u.current.map((e,t)=>(0,n.jsxs)(`li`,{className:`${O.optionsList} ${t===k?O.focused:``}`,onClick:()=>G(e.value),"aria-selected":t===k,role:`option`,children:[(0,n.jsx)(A,{themeColor:s,checked:d.includes(e.value),disabled:e.disable||o!==void 0&&d.length>=o&&!d.includes(e.value)}),(0,n.jsx)(`span`,{children:e.label})]},e.value))})]}),(0,n.jsxs)(`div`,{className:O.btnContainer,children:[(0,n.jsx)(`input`,{ref:T,onKeyDown:e=>{Y(e)},className:O.hiddenButton}),(0,n.jsx)(b,{themeColor:s,variant:`primary`,size:`medium`,onClick:()=>{g(!1),m(``),V(),a(d)},"data-testid":`done-button`,onKeyDown:e=>{J(e)},ref:E,children:`Done`})]})]})})}),document.body):null]})})},M={multiSelectContainer:`_multiSelectContainer_1on91_1`,listOptionsWrap:`_listOptionsWrap_1on91_4`,selectedValuesWrap:`_selectedValuesWrap_1on91_7`,selectedValues:`_selectedValues_1on91_7`,focused:`_focused_1on91_16`,countAndIconContainer:`_countAndIconContainer_1on91_19`,rounded:`_rounded_1on91_22`,selected:`_selected_1on91_7`,selectedCount:`_selectedCount_1on91_37`,dropDownIcon:`_dropDownIcon_1on91_41`,optionsListContainer:`_optionsListContainer_1on91_45`,top:`_top_1on91_48`,optionsListWrap:`_optionsListWrap_1on91_51`,searchInputWrap:`_searchInputWrap_1on91_54`,searchInput:`_searchInput_1on91_54`,optionsList:`_optionsList_1on91_45`,btnContainer:`_btnContainer_1on91_76`,hiddenButton:`_hiddenButton_1on91_79`,announcement:`_announcement_1on91_92`},N=({options:e,checkedValue:i,onSelectionChange:a,maxOptions:o,themeColor:s,className:c=``,style:l={},categoryName:u=``,variant:d=`default`,placeholder:f=`Select your option`})=>{let p=(0,t.useRef)(e),[m,h]=(0,t.useState)(i),[g,_]=(0,t.useState)(``),[x,S]=(0,t.useState)(!1),[C,w]=(0,t.useState)(!1),T=(0,t.useRef)(null),E=(0,t.useRef)(null),D=(0,t.useRef)(null),O=(0,t.useRef)(null),k=(0,t.useRef)(null),j=(0,t.useRef)(null),[N,P]=(0,t.useState)(-1),ee=(0,t.useRef)(0),F=(0,t.useRef)(0),[I,te]=(0,t.useState)(!1),L={},[R,z]=(0,t.useState)({left:0,top:0}),[B,V]=(0,t.useState)(null),H=(0,t.useRef)(!1),U=(0,t.useRef)(null);(0,t.useEffect)(()=>{h(i)},[i]);let W=()=>{setTimeout(()=>{(T.current?.children[0]).focus()},0)};(0,t.useEffect)(()=>{let e=e=>{E.current&&!E.current.contains(e.target)&&(S(!1),_(``),W())};return document.addEventListener(`mousedown`,e),()=>{document.removeEventListener(`mousedown`,e)}},[]);let G=()=>{ee.current=window.innerHeight,F.current=document.body.scrollHeight,te(!0)};(0,t.useEffect)(()=>(G(),window.addEventListener(`resize`,G),()=>{window.addEventListener(`resize`,G)}),[]);let K=e=>{let t=document.getElementById(`announcement`);t&&(t.textContent=e,t.setAttribute(`aria-live`,`assertive`),setTimeout(()=>{t.textContent=``,t.setAttribute(`aria-live`,`off`)},1e3))};(0,t.useEffect)(()=>{p.current=e.filter(e=>e.label.toLowerCase().includes(g.toLowerCase()))},[e,g]);let ne=m.length>1&&u?u:m.length>0?m.map(t=>{let n=e.find(e=>e.value===t);return n?.label===null?``:n?.label}).filter(e=>e!==``).join(`, `):f,q=t=>{let n=e.find(e=>e.value===t);if(n&&!n.disable&&(o===void 0||m.length<=o)){let e=m.includes(t)?m.filter(e=>e!==t):[...m,t];(o===void 0||e.length<=o)&&x&&(h(e),a(e),setTimeout(()=>{Y()},50),p.current.length===1&&S(!1),K(`${n?.label} ${e.includes(t)?`selected`:`not selected`}`))}},J=e=>{Y(),S(e),setTimeout(()=>{D.current?D.current?.focus():O.current?.focus(),K(`use up and down arrow keys to navigate`)},0)},Y=()=>{if(T.current){let e=T.current.getBoundingClientRect();setTimeout(()=>{let t=E?.current?.getBoundingClientRect();if(t){let n=t.height,r=t.width,i=window.innerWidth,a=ee.current-e.bottom,o=e.top,s;s=a>=n?e.bottom:o>=n?e.top-n:a>=o?e.bottom:e.top-n;let c=i-e.left,l=e.right,u;u=c-20>=r?e.left:l>=r?e.right-r+20:c>=l?Math.max(20,i-r-20):Math.max(20,e.right-r+20),z({left:u,top:s})}},10)}};(0,t.useEffect)(()=>(window.addEventListener(`scroll`,Y),window.addEventListener(`resize`,Y),()=>{window.removeEventListener(`scroll`,Y),window.removeEventListener(`resize`,Y)}),[x]);let X=e=>{e.preventDefault(),e.key===`Shift`?H.current=!0:e.shiftKey&&H.current&&e.key===`Tab`||e.key===`Tab`?(setTimeout(()=>{D.current?D.current?.focus():O.current?.focus()},0),H.current=!1):e.key===`Escape`||e.key===`Enter`||e.key===`Space`||e.key===` `?(J(!1),W()):H.current=!1},Z=e=>{let{key:t}=e;if(t===`Tab`||e.shiftKey&&t===`Tab`)setTimeout(()=>{k.current?.focus()},0);else if(t===`ArrowDown`||t===`ArrowUp`){e.preventDefault(),setTimeout(()=>{O.current?.focus()},0);let n=N;if(t===`ArrowDown`?n=Math.min(N+1,p.current.length-1):t===`ArrowUp`&&(n=Math.max(N-1,0)),N===0&&e.key===`ArrowUp`?n=p.current.length-1:N===p.current.length-1&&e.key===`ArrowDown`&&(n=0),P(n),j.current&&n>=0){let e=j.current.querySelectorAll(`.${M.optionsList}`)[n],t=e.children[0].getAttribute(`aria-checked`);K(`${e.textContent} ${t===`true`?`selected`:`not selected`} ${n+1} out of ${p.current.length}`),e&&e.scrollIntoView({block:`nearest`,inline:`nearest`})}}else t===`Enter`||t===`Space`||t===` `?N!==-1&&q(p.current[N].value):t===`Escape`&&(J(!1),W())};(0,t.useEffect)(()=>{B&&clearTimeout(B),V(setTimeout(()=>{let e=p.current.length?`${p.current.length} results are available, use up and down arrow keys to navigate`:`No results available`;x&&K(e)},500))},[g]);let re=()=>{w(!0)},Q=()=>{w(!1)};if((0,t.useEffect)(()=>{let e=U.current;return e&&(e.addEventListener(`focus`,re),e.addEventListener(`blur`,Q)),()=>{e&&(e.removeEventListener(`focus`,re),e.removeEventListener(`blur`,Q))}},[re,Q]),s){let e=v(s);s=y.convert3HexTo6(s),(e===`dark`||e===`light`)&&(L={"--theme-color":s})}let ie=()=>{S(!1)},ae=()=>{S(!1),_(``),W(),a(m)};return(0,n.jsx)(`div`,{className:M.multiSelectContainer,children:(0,n.jsxs)(`div`,{className:M.listOptionsWrap,children:[(0,n.jsx)(`div`,{className:`${c} ${M.selectedValuesWrap}`,ref:T,children:(0,n.jsxs)(`div`,{className:`${M.selectedValues} ${x?M.focused:``} ${m.length>0?M.selected:``} ${m.length>1?M.countShow:``} ${m.length===0?M.placeholder:``} ${d===`rounded`?M.rounded:``}`,ref:U,onFocus:re,onBlur:Q,onClick:()=>J(!x),onKeyPress:e=>{(e.key===` `||e.code===`Space`||e.code===`Enter`)&&(e.preventDefault(),J(!x))},tabIndex:0,"data-testid":`selected-input`,style:{...L,...l},"aria-expanded":x,"aria-haspopup":`listbox`,"aria-multiselectable":`true`,"aria-autocomplete":`list`,role:`combobox`,children:[(0,n.jsx)(`span`,{children:ne}),(0,n.jsxs)(`div`,{className:M.countAndIconContainer,children:[m.length>1&&(0,n.jsx)(`span`,{className:M.selectedCount,"data-testid":`selected-count`,style:{backgroundColor:s},children:m.length}),(0,n.jsx)(`span`,{className:M.dropDownIcon,onClick:()=>J(!x),"data-testid":`arrow-button`,children:(0,n.jsx)(`svg`,{width:`12px`,height:`7px`,viewBox:`0 0 12 7`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,children:(0,n.jsx)(`g`,{stroke:`none`,strokeWidth:`1`,fill:`none`,fillRule:`evenodd`,children:(0,n.jsx)(`g`,{transform:`translate(-2360.000000, -295.000000)`,fill:`#666666`,children:(0,n.jsx)(`g`,{transform:`translate(2006.000000, 248.000000)`,children:(0,n.jsx)(`path`,{d:`M358.027356,44.3431458 L358.027146,50.6581458 L364.343146,50.6589352 L364.343146,52.3431458 L358.027146,52.3421458 L358.027356,52.3431458 L356.343146,52.3431458 L356.343146,44.3431458 L358.027356,44.3431458 Z`,transform:`translate(360.343146, 48.343146) scale(-1, -1) rotate(-225.000000) translate(-360.343146, -48.343146)`})})})})})})]})]})}),(0,n.jsx)(`div`,{id:`announcement`,"aria-live":`assertive`,role:`alert`,className:M.announcement}),I?(0,r.createPortal)((0,n.jsx)(n.Fragment,{children:x&&T&&(0,n.jsx)(`div`,{onClick:ie,style:{position:`fixed`,inset:0,backgroundColor:`rgba(255,255,255,0)`,zIndex:1e3},children:(0,n.jsxs)(`div`,{className:`${M.optionsListContainer}`,ref:E,onClick:e=>e.stopPropagation(),style:{opacity:+!!R.top,left:R.left,top:R.top,paddingBottom:p.current.length===1?0:void 0},children:[(0,n.jsxs)(`div`,{className:M.optionsListWrap,children:[e.length>=6&&(0,n.jsx)(`div`,{className:M.searchInputWrap,children:(0,n.jsx)(`input`,{type:`text`,ref:D,placeholder:`Type to filter`,className:M.searchInput,value:g,onChange:e=>_(e.target.value),"data-testid":`search-input`,onKeyDown:e=>{Z(e)}})}),(0,n.jsx)(`ul`,{ref:j,role:`listbox`,children:p.current.map((e,t)=>(0,n.jsxs)(`li`,{className:`${M.optionsList} ${t===N?M.focused:``}`,onClick:()=>q(e.value),"aria-selected":t===N,role:`option`,children:[(0,n.jsx)(A,{themeColor:s,checked:m.includes(e.value),disabled:e.disable||o!==void 0&&m.length>=o&&!m.includes(e.value)}),(0,n.jsx)(`span`,{children:e.label})]},e.value))})]}),p.current.length>1&&(0,n.jsxs)(`div`,{className:M.btnContainer,children:[(0,n.jsx)(`input`,{ref:O,onKeyDown:e=>{Z(e)},className:M.hiddenButton}),(0,n.jsx)(b,{themeColor:s,variant:`primary`,size:`medium`,disabled:!(m.length>0),onClick:ae,"data-testid":`done-button`,onKeyDown:e=>{X(e)},ref:k,children:`Done`})]})]})})}),document.body):null]})})},P={multiSelectContainer:`_multiSelectContainer_1rhxq_1`,quickOptionsWrap:`_quickOptionsWrap_1rhxq_4`,selected:`_selected_1rhxq_11`,disabled:`_disabled_1rhxq_17`},ee=({options:e,checkedValue:r,onSelectionChange:i,maxOptions:a,themeColor:o,className:s=``,style:c={},id:l=``})=>{let[u,d]=(0,t.useState)(r),f=(0,t.useRef)({}),p={},m,h=t=>{let n=e.find(e=>e.value===t);if(!n||n.disable)return;f.current[t]?.click();let r=u.includes(t)?u.filter(e=>e!==t):[...u,t];(a===void 0||r.length<=a)&&(d(r),i(r))};if(o){m=v(o),o=y.convert3HexTo6(o);let e=o===`#ffffff`?`#333333`:o;(m===`dark`||m===`light`)&&(p={outlineColor:e,borderColor:e,color:o===`#ffffff`||m===`light`?`#333333`:o})}return(0,n.jsx)(`div`,{className:P.multiSelectContainer,role:`group`,children:(0,n.jsx)(`ul`,{className:P.quickOptionsWrap,id:l,children:e.map(e=>(0,n.jsx)(`li`,{style:{...p,...c},className:`${s} ${e.disable||a!==void 0&&u.length>=a&&!u.includes(e.value)?P.disabled:``} ${u.includes(e.value)?P.selected:``}`,tabIndex:e.disable?-1:0,onClick:()=>h(e.value),onKeyPress:t=>{(t.key===` `||t.code===`Space`)&&(t.preventDefault(),h(e.value))},"data-testid":`option-box`,children:(0,n.jsx)(C,{id:e.value,checkboxSize:`large`,tabIndex:-1,themeColor:o,ref:t=>{f.current[e.value]=t},checked:u.includes(e.value),disabled:e.disable||a!==void 0&&u.length>=a&&!u.includes(e.value),children:(0,n.jsx)(`span`,{style:{color:o&&(o===`#ffffff`||m===`light`)||e.disable||a!==void 0&&u.length>=a&&!u.includes(e.value)?`#333333`:o&&(o!==`#ffffff`||m!==`light`)?o:`#006bb1`},children:e.label})})},e.value))})})},F={singleSelectWrapper:`_singleSelectWrapper_7i31h_1`,quickOption:`_quickOption_7i31h_4`,selected:`_selected_7i31h_11`,triangle:`_triangle_7i31h_17`,loader:`_loader_7i31h_20`,"tw-spin":`_tw-spin_7i31h_1`,checkmarkWrap:`_checkmarkWrap_7i31h_23`,checkmark:`_checkmark_7i31h_23`,fill:`_fill_7i31h_1`,scale:`_scale_7i31h_1`,checkmarkCheck:`_checkmarkCheck_7i31h_30`,stroke:`_stroke_7i31h_1`,disabled:`_disabled_7i31h_35`},I=({options:e,onSelect:r,selected:i,themeColor:a,className:o=``,style:s={},showLoader:c=!1,id:l=``})=>{let[u,d]=(0,t.useState)(i),f={},p={},m=`#ffffff`,h=e=>{if(u?.value===e?.value){d(void 0),r(void 0);return}r(e),d(e)};if(a){let e=v(a);a=y.convert3HexTo6(a);let t=a===`#ffffff`?`#333333`:a;(e===`dark`||e===`light`)&&(m=a===`#ffffff`||e===`dark`?`#ffffff`:`#333333`,f={outlineColor:t,borderColor:t,color:a===`#ffffff`||e===`light`?`#333333`:a},p={borderRightColor:t,borderTopColor:t})}return(0,n.jsx)(`div`,{className:F.singleSelectWrapper,children:(0,n.jsx)(`div`,{className:F.quickOption,children:(0,n.jsx)(`ul`,{className:F.quickOption,role:`radiogroup`,id:l,children:e.map(e=>(0,n.jsxs)(`li`,{tabIndex:e.disable?-1:0,className:`${o} ${u?.value===e.value?F.selected:``} ${e.disable?F.disabled:``}`,style:{...f,...s},onClick:()=>h(e),onKeyPress:t=>{(t.key===` `||t.code===`Space`)&&(t.preventDefault(),h(e))},"data-testid":`checkbox-input`,role:`radio`,"aria-checked":u?.value===e.value,children:[e.label,u?.value===e.value&&!e.disable&&(0,n.jsxs)(`div`,{className:F.triangle,style:{...p},children:[c&&(0,n.jsx)(`div`,{className:F.loader,style:{borderRightColor:a??`#006bb1`}}),!c&&(0,n.jsx)(`div`,{className:F.checkmarkWrap,children:(0,n.jsx)(`svg`,{className:F.checkmark,xmlns:`http://www.w3.org/2000/svg`,width:`11`,height:`9`,viewBox:`0 0 11 9`,fill:`none`,children:(0,n.jsx)(`path`,{className:F.checkmarkCheck,stroke:m,d:`M2.1 4.34286L4.12857 6.40001L8.9 1.60001`,strokeWidth:`2`})})})]})]},e.value))})})})},te={scrollbarContainer:`_scrollbarContainer_40vsr_1`},L=(0,t.forwardRef)(({children:e,className:t=``,style:r={},...i},a)=>{let o=[te.scrollbarContainer,t].filter(Boolean).join(` `);return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(`div`,{ref:a,style:{...r},className:o,...i,children:e})})});L.displayName=`Scrollbar`;var R={select:`_select_fcnvh_1`,selectContainer:`_selectContainer_fcnvh_4`,selectButton:`_selectButton_fcnvh_7`,open:`_open_fcnvh_13`,selectValue:`_selectValue_fcnvh_16`,placeholder:`_placeholder_fcnvh_19`,seletIcon:`_seletIcon_fcnvh_22`,selectText:`_selectText_fcnvh_25`,chevronDownIconSpan:`_chevronDownIconSpan_fcnvh_28`,chevronDownIcon:`_chevronDownIcon_fcnvh_28`,leave:`_leave_fcnvh_35`,leaveFrom:`_leaveFrom_fcnvh_39`,leaveTo:`_leaveTo_fcnvh_43`,selectOptions:`_selectOptions_fcnvh_47`},z=({children:e,selected:o,onSelect:s,themeColor:c,placeholder:l})=>{let[u,d]=(0,t.useState)(!1),[f,p]=(0,t.useState)(!1),[m,h]=(0,t.useState)(!1),g=(0,t.useRef)(null),_=(0,t.useRef)(null),b=(0,t.useRef)(null),[x,S]=(0,t.useState)({left:0,top:0}),[C,w]=(0,t.useState)(!1),T=(0,t.useRef)(0),E=(0,t.useRef)(0),D=`#333333`,O=()=>{T.current=window.innerHeight,E.current=document.body.scrollHeight,d(!0)};(0,t.useEffect)(()=>(O(),window.addEventListener(`resize`,O),()=>{window.removeEventListener(`resize`,O)}),[]);let k=()=>E.current-(T.current+window.scrollY),A=()=>{if(g.current){let e=g.current.getBoundingClientRect();w(!1),setTimeout(()=>{let t=b?.current?.getBoundingClientRect(),n=k(),r=T.current-e.bottom;if(t){let i=t.height,a=e.top,o=i>=a+window.scrollY,s=i>=a&&(o||n>=i||r>=i)||a>=i&&r>=i?e.y+e.height:e.y-i;S({left:e.left,top:s??e.top}),w(!0)}},0)}};if((0,t.useEffect)(()=>(window.addEventListener(`scroll`,A),window.addEventListener(`resize`,A),()=>{window.removeEventListener(`scroll`,A),window.removeEventListener(`resize`,A)}),[]),c){c=y.convert3HexTo6(c);let e=v(c);(e===`dark`||e===`light`)&&(D=c===`#ffffff`?`#c8c8c8`:c)}let j=e=>{s(e)},M=()=>h(!0),N=()=>h(!1);return(0,n.jsx)(i.Listbox,{value:o,onChange:j,children:({open:t})=>(t!==f&&(p(t),t?A():w(!1)),(0,n.jsxs)(`div`,{className:R.select,children:[(0,n.jsx)(`div`,{className:R.selectContainer,ref:g,children:(0,n.jsxs)(i.ListboxButton,{ref:_,"data-testid":`select-options`,onFocus:M,onBlur:N,className:`${R.selectButton} ${t?R.open:``}`,style:{borderBottomColor:c&&(m||t)?D:``},children:[o?(0,n.jsxs)(`span`,{className:R.selectValue,children:[o.avatar&&(0,n.jsx)(`img`,{src:o.avatar,alt:``,className:R.seletIcon}),(0,n.jsx)(`span`,{className:R.selectText,children:o.label})]}):l&&(0,n.jsx)(`span`,{className:`${R.selectValue} ${R.placeholder}`,children:l}),(0,n.jsx)(`span`,{className:R.chevronDownIconSpan,children:(0,n.jsx)(a.ChevronDownIcon,{className:R.chevronDownIcon,"aria-hidden":`true`,"data-open":f?!0:void 0})})]})}),u&&(0,r.createPortal)(t&&(0,n.jsx)(`div`,{style:{position:`fixed`,inset:0,backgroundColor:`rgba(255,255,255,0)`,zIndex:1e3},children:(0,n.jsx)(`div`,{ref:b,style:{position:`absolute`,opacity:+!!C,width:g.current?.clientWidth??`auto`,left:x.left,top:x.top},children:e})}),document.body)]}))})},B=({children:e,setQuery:r})=>(0,n.jsx)(i.Transition,{as:t.Fragment,leave:R.leave,leaveFrom:R.leaveFrom,leaveTo:R.leaveTo,afterLeave:()=>r(``),children:(0,n.jsx)(i.ListboxOptions,{className:R.selectOptions,children:e})}),V=(0,t.forwardRef)((e,t)=>(0,n.jsx)(i.ListboxOption,{ref:t,className:e.className,value:e.value,disabled:e.disable,children:e.children}));V.displayName=`SelectOption`;var H={autocomplete:`_autocomplete_29ukn_1`,autocompleteContainer:`_autocompleteContainer_29ukn_4`,disable:`_disable_29ukn_7`,autocompleteInput:`_autocompleteInput_29ukn_16`,autocompleteButton:`_autocompleteButton_29ukn_34`,chevronDownIcon:`_chevronDownIcon_29ukn_44`,leave:`_leave_29ukn_57`,leaveFrom:`_leaveFrom_29ukn_61`,leaveTo:`_leaveTo_29ukn_65`,autocompleteOptions:`_autocompleteOptions_29ukn_69`},U=({children:e,selected:o,onSelect:s,setQuery:c=()=>{},disable:l,clearSearch:u=!1,themeColor:d})=>{let f=(0,t.useRef)(null),p=(0,t.useRef)(null),m=(0,t.useRef)(null),h=(0,t.useRef)(null),[g,_]=(0,t.useState)(!1),[b,x]=(0,t.useState)(!1),[S,C]=(0,t.useState)(!1),[w,T]=(0,t.useState)({top:0,left:0}),[E,D]=(0,t.useState)(!1),O=(0,t.useRef)(0),k=(0,t.useRef)(0),A={};(0,t.useEffect)(()=>{f.current&&o&&(f.current.value=o.label||``)},[o]),(0,t.useEffect)(()=>{O.current=window.innerHeight,k.current=document.body.scrollHeight,C(!0)},[]);let j=(0,t.useCallback)(()=>{if(m.current){let e=window.visualViewport,t=m.current.getBoundingClientRect();D(!1),setTimeout(()=>{let n=h?.current?.getBoundingClientRect(),r=t.left,i=t.y+t.height,a=window.innerHeight-t.bottom,o=document.body.scrollHeight-(window.innerHeight+window.scrollY);if(e&&(r=t.left+e.offsetLeft,i=t.top+t.height+e.offsetTop,a=e.height-(t.bottom-e.offsetTop),o=document.body.scrollHeight-(e.height+e.pageTop)),n){let s=n.height,c=t.top,l=s>=c+window.scrollY,u=s>=c&&(l||o>=s||a>=s)||c>=s&&a>=s?i:(e?t.top+e.offsetTop:t.y)-s;T({left:r,top:u??(e?t.top+e.offsetTop:t.top)}),D(!0)}},0)}},[]);(0,t.useEffect)(()=>(window.addEventListener(`scroll`,j),window.addEventListener(`resize`,j),()=>{window.removeEventListener(`scroll`,j),window.removeEventListener(`resize`,j)}),[]);let M=()=>{b!==void 0&&f.current&&(b?(f.current.dispatchEvent(new KeyboardEvent(`keydown`,{key:`Escape`,bubbles:!0})),_(!1)):(j(),_(!0),o&&(f.current.value=o.label||``),u&&(f.current.value=``,c(``)),f.current.dispatchEvent(new KeyboardEvent(`keydown`,{key:`ArrowDown`,bubbles:!0}))))},N=()=>{_(!0)},P=()=>{_(!1)};if(d){let e=v(d);d=y.convert3HexTo6(d);let t;t=d===`#ffffff`?`#c8c8c8`:g?d:`#333333`,(e===`dark`||e===`light`)&&(A={borderBottomColor:t})}return(0,n.jsx)(i.Combobox,{value:o,onChange:s,disabled:l,children:({open:t})=>(t!==b&&(x(t),t?j():D(!1)),(0,n.jsxs)(`div`,{className:H.autocomplete,children:[(0,n.jsxs)(`div`,{ref:m,className:`${H.autocompleteContainer} ${l?H.disable:``}`,children:[(0,n.jsx)(i.ComboboxInput,{ref:f,"data-testid":`select-input`,className:H.autocompleteInput,displayValue:e=>e?.label||``,onChange:e=>{c(e.target.value)},onClick:M,onFocus:N,onBlur:P,style:{...A},placeholder:`Select your option`,autoComplete:`off`}),(0,n.jsx)(i.ComboboxButton,{className:H.autocompleteButton,"data-testid":`select-button`,ref:p,children:(0,n.jsx)(a.ChevronDownIcon,{className:`${H.chevronDownIcon} ${l?H.disable:``}`,"aria-hidden":`true`,"data-open":t?!0:void 0})})]}),S?(0,r.createPortal)((0,n.jsx)(n.Fragment,{children:t&&(0,n.jsx)(`div`,{style:{position:`fixed`,inset:0,backgroundColor:`rgba(255,255,255,0)`,zIndex:1e3},children:(0,n.jsx)(`div`,{ref:h,style:{position:`absolute`,opacity:+!!E,width:m.current?m.current.clientWidth:`auto`,left:w.left,top:w.top,zIndex:1e3},children:e})})}),document.body):null]}))})},W=({children:e,setQuery:r})=>(0,n.jsx)(i.Transition,{as:t.Fragment,leave:H.leave,leaveFrom:H.leaveFrom,leaveTo:H.leaveTo,afterLeave:()=>r(``),children:(0,n.jsx)(i.ComboboxOptions,{className:H.autocompleteOptions,children:e})}),G=(0,t.forwardRef)((e,t)=>(0,n.jsx)(i.ComboboxOption,{ref:t,className:e.className,value:e.value,disabled:e.disable,children:e.children}));G.displayName=`AutoCompleteOption`;var K={textInputWrapper:`_textInputWrapper_gym4n_1`,textInput:`_textInput_gym4n_1`},ne=t.default.memo((0,t.forwardRef)(({themeColor:e=``,style:r={},className:i=``,onFocus:a,onBlur:o,...s},c)=>{let[l,u]=(0,t.useState)(!1),d={},f=[K.textInput,i].filter(Boolean).join(` `);return e=y.convert3HexTo6(e),d={borderBottomColor:l?e===`#ffffff`?`#c8c8c8`:e:``},(0,n.jsx)(`div`,{className:K.textInputWrapper,children:(0,n.jsx)(`input`,{type:`text`,"data-testid":`textbox-input`,ref:c,className:f,onFocus:()=>{u(!0)},onBlur:()=>{u(!1)},style:{...d,...r},...s})})})),q={phoneWrapper:`_phoneWrapper_dwcpz_1`,countryCode:`_countryCode_dwcpz_4`,phoneInputWrap:`_phoneInputWrap_dwcpz_11`,phoneInput:`_phoneInput_dwcpz_11`,serverError:`_serverError_dwcpz_17`,phonNumberList:`_phonNumberList_dwcpz_21`,active:`_active_dwcpz_30`,countryListText:`_countryListText_dwcpz_33`},J=({countryShortName:e,required:r=!1,themeColor:i=``,onUpdate:a,placeholder:c=``,error:l=!1,validate:u=!0,id:d=``,phoneNumberValue:f=``,countryCodeFromURL:p=``,additionalClassName:m=``,type:h=`tel`,inputMode:g=`numeric`})=>{let[_,v]=(0,t.useState)(l),y=(0,t.useRef)(e&&e!==`001`?e:`US`);(0,t.useEffect)(()=>{if(p){let e=S(p);e&&(w(e),y.current=p)}},[p]);let b=(e,t)=>JSON.stringify(e)===JSON.stringify(t),x=(0,o.getCountries)().sort((e,t)=>s.default[e]<s.default[t]?-1:+(s.default[e]>s.default[t])).map(e=>({label:e+` +`+(0,o.getCountryCallingCode)(e),value:e})),S=e=>x.find(t=>t.value==e),[C,w]=(0,t.useState)(()=>S(y.current)||null),T=e=>{y.current=e,w(S(e)),O(E.current)},E=(0,t.useRef)(f??``),D=e=>{let t=e.trim();return t&&y.current?/^(\d)\1*$/.test(e.trim())?!1:(0,o.isValidPhoneNumber)(`+${(0,o.getCountryCallingCode)(y.current)}${t}`):!0},O=(e,t=!1)=>{u||a({phoneNumber:e,countryCode:y.current,error:void 0,id:d,initialConsentChecked:t}),e=e.trim();let n=e?D(e)?void 0:`invalid`:r?`required`:void 0;v(!(!_&&n!==void 0)),a({phoneNumber:e,countryCode:y.current,error:n,id:d,initialConsentChecked:t})};return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(`div`,{className:`${q.phoneWrapper} ${m?.trim()||``}`,"data-testid":`phone-wrapper`,children:[(0,n.jsx)(`div`,{className:`${q.countryCode} ouiCountryCode`,children:(0,n.jsx)(z,{selected:C,onSelect:T,"data-testid":`phone-select`,themeColor:i,children:(0,n.jsx)(`div`,{className:`${q.phonNumberList} ouiPhonNumberList`,children:(0,n.jsx)(B,{setQuery:()=>{},"data-testid":`phone-select-options`,children:x.map(e=>(0,n.jsx)(V,{disable:!1,value:e.value,className:({active:t})=>`${t||b(C,e)?q.active:``}`,"data-testid":`phone-select-option-${e.value}`,children:(0,n.jsx)(`div`,{className:`${q.countryListText} ouiCountryListText`,children:(0,n.jsxs)(`span`,{children:[s.default[e.value],` +`,(0,o.getCountryCallingCode)(e.value)]})})},e.value))})})})}),(0,n.jsx)(`div`,{className:`${q.phoneInputWrap} ouiPhoneInputWrap`,children:(0,n.jsx)(ne,{type:h,inputMode:g,"aria-labelledby":`phone-number`,placeholder:c,className:`${q.phoneInput} ${_&&u?q.serverError:``} ouiPhoneInput`,id:d,value:f??``,onBlur:e=>{E.current=e.target.value.trim()},onChange:e=>{E.current=e.target.value,O(E.current)},"data-testid":`phone-input`,themeColor:i})})]})})},Y={progress:`_progress_1piqy_1`,"progress-bar":`_progress-bar_1piqy_9`},X=({value:e,mode:r,strokeWidth:i=4,barColor:a=`#1976d2`,trackColor:o=`rgba(25,118,210,0.3)`})=>{let s=r??(e==null?`indeterminate`:`determinate`),c=(0,t.useMemo)(()=>s===`determinate`&&e!=null?Math.max(0,Math.min(100,e)):0,[s,e]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`div`,{className:Y.progress,role:`progressbar`,"aria-valuemin":s===`determinate`?0:void 0,"aria-valuemax":s===`determinate`?100:void 0,"aria-valuenow":s===`determinate`?c:void 0,style:{height:i,backgroundColor:o},children:(0,n.jsx)(`div`,{className:Y[`progress-bar`],style:{height:i,width:s===`determinate`?`${c}%`:void 0,backgroundColor:a,animationName:s===`indeterminate`?`loading`:void 0,left:s===`indeterminate`?-200:0}})}),(0,n.jsx)(`style`,{children:`
2
+ /*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();(function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports,require("react"),require("react/jsx-runtime"),require("react-device-detect"),require("react-dom"),require("@headlessui/react"),require("@heroicons/react/20/solid"),require("react-phone-number-input/max"),require("react-phone-number-input/locale/en.json")):typeof define==`function`&&define.amd?define([`exports`,`react`,`react/jsx-runtime`,`react-device-detect`,`react-dom`,`@headlessui/react`,`@heroicons/react/20/solid`,`react-phone-number-input/max`,`react-phone-number-input/locale/en.json`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e[`ui-react`]={},e.React,e[`react/jsx-runtime`],e.react_device_detect,e.ReactDOM,e._headlessui_react,e._heroicons_react_20_solid,e.react_phone_number_input_max,e.react_phone_number_input_locale_en_json))})(this,function(e,t,n,r,i,a,o,s,c){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var l=Object.create,u=Object.defineProperty,d=Object.getOwnPropertyDescriptor,f=Object.getOwnPropertyNames,p=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty,h=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=f(t),a=0,o=i.length,s;a<o;a++)s=i[a],!m.call(e,s)&&s!==n&&u(e,s,{get:(e=>t[e]).bind(null,s),enumerable:!(r=d(t,s))||r.enumerable});return e},g=(e,t,n)=>(n=e==null?{}:l(p(e)),h(t||!e||!e.__esModule?u(n,`default`,{value:e,enumerable:!0}):n,e));t=g(t,1),c=g(c,1);var _={button:`_button_1q2ge_1`,primary:`_primary_1q2ge_5`,secondary:`_secondary_1q2ge_12`,small:`_small_1q2ge_19`,rounded:`_rounded_1q2ge_22`,medium:`_medium_1q2ge_26`,large:`_large_1q2ge_33`,squared:`_squared_1q2ge_40`},v=e=>{if(!e)throw Error(`Please provide a hex color code`);if(!/^#([A-Fa-f0-9]{3}){1,2}$/.test(e))throw Error(`Please provide a valid hex code`);e=e.length===4?e.replace(/^#(.)(.)(.)$/,`#$1$1$2$2$3$3`):e;let t=e.substring(1),[n,r,i]=[0,2,4].map(e=>Number.parseInt(t.substring(e,e+2),16));return(.2126*n+.7152*r+.0722*i)/255<.7?`dark`:`light`},y=class{static convert3HexTo6(e){return typeof e==`string`&&/^#(?:[0-9a-fA-F]{3}){1,2}$/.test(e)&&e.length===4?e.replace(/^#(.)(.)(.)$/,`#$1$1$2$2$3$3`):e}},b=(0,t.forwardRef)(({themeColor:e=``,variant:t=`primary`,size:r=`small`,shape:i=`rounded`,children:a,className:o=``,style:s={},disabled:c,...l},u)=>{let d={};if(e){let n=v(e);if(e=y.convert3HexTo6(e),!c&&(n===`dark`||n===`light`)){let r=t===`primary`?e:`#ffffff`,i=t===`primary`?n===`dark`?`#ffffff`:`#333333`:n===`light`?`#333333`:e,a=e===`#ffffff`?`#c8c8c8`:e;d={backgroundColor:r,color:i,outlineColor:a,borderColor:a}}}let f=[_.button,_[t],_[r],_[i],o].filter(Boolean).join(` `);return(0,n.jsx)(`button`,{disabled:c,ref:u,style:{...d,...s},className:`${f}`,...l,children:a})});b.displayName=`Button`;var x={checkboxLayout:`_checkboxLayout_bt7qx_1`,checkboxLabel:`_checkboxLabel_bt7qx_4`,checkboxInnerContainer:`_checkboxInnerContainer_bt7qx_10`,checkboxInput:`_checkboxInput_bt7qx_13`,checkboxFrame:`_checkboxFrame_bt7qx_16`,checkboxCheckMark:`_checkboxCheckMark_bt7qx_19`,checkboxCheckMarkPath:`_checkboxCheckMarkPath_bt7qx_22`,checkboxUncheckedChecked:`_checkboxUncheckedChecked_bt7qx_1`,visuallyHidden:`_visuallyHidden_bt7qx_43`,checkboxDisabled:`_checkboxDisabled_bt7qx_53`,medium:`_medium_bt7qx_59`,large:`_large_bt7qx_65`},S=()=>`checkbox_${Math.random().toString(36).substring(2,11)}`,C=(0,t.forwardRef)(({children:e,themeColor:r=``,checkboxSize:i=`medium`,id:a=S(),checked:o=!1,disabled:s=!1,className:c=``,onChange:l,style:u={},tabIndex:d,...f},p)=>{let[m,h]=(0,t.useState)(o),g={},_,b=s?`#9b9b9b`:`#ffffff`;if(r){let e=v(r);if(r=y.convert3HexTo6(r),e===`dark`||e===`light`){switch(e){case`dark`:b=s?m?`#9b9b9b`:`#f9f9f9`:`#ffffff`;break;case`light`:b=s?m?`#9b9b9b`:`#f9f9f9`:m?`#333333`:`#ffffff`;break;default:b=`#9b9b9b`;break}let t=s?`#f9f9f9`:m?r:`#ffffff`;_=s?`#e4e4e4`:r==`#ffffff`?`#333333`:r,m&&(g={backgroundColor:t,borderColor:_,outlineColor:_})}}let C=s?x.checkboxDisabled:``,w=[x.checkboxLayout,x[i],C,c].filter(Boolean).join(` `),T=e=>{e.key!=`Enter`&&(e.preventDefault(),l?.(e.target.checked),h(!m))};return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(`div`,{className:w,"data-testid":`checkbox`,children:(0,n.jsxs)(`label`,{className:x.checkboxLabel,htmlFor:a,onClick:e=>T(e),children:[(0,n.jsxs)(`div`,{className:x.checkboxInnerContainer,tabIndex:d||s?-1:0,onKeyPress:e=>T(e),"data-testid":`checkbox-inner-container`,children:[(0,n.jsx)(`input`,{className:x.checkboxInput,onChange:e=>T(e),type:`checkbox`,checked:m,disabled:s,id:a,ref:p,...f,tabIndex:-1,"data-testid":`checkbox-input`}),(0,n.jsx)(`div`,{className:x.checkboxFrame,style:{...g,...u},"data-testid":`checkbox-frame`,children:(0,n.jsx)(`svg`,{version:`1.1`,focusable:`false`,className:x.checkboxCheckMark,viewBox:`0 0 24 24`,"data-testid":`check-mark-svg`,children:(0,n.jsx)(`path`,{className:x.checkboxCheckMarkPath,fill:`none`,stroke:b,d:`M4.1,12.7 9,17.6 20.3,6.3`})})})]}),e&&(0,n.jsx)(`span`,{"data-testid":`checkbox-label`,children:e}),(0,n.jsx)(`div`,{className:x.visuallyHidden,"aria-live":`polite`,"aria-atomic":`true`,children:m?`Checked`:`Unchecked`})]})})})});C.displayName=`Checkbox`;var w={textInputWrapper:`_textInputWrapper_1i9m6_1`,textInput:`_textInput_1i9m6_1`},T=t.default.memo((0,t.forwardRef)(({themeColor:e=``,onSubmit:i,style:a={},className:o=``,onInput:s,onFocus:c,onBlur:l,...u},d)=>{let[f,p]=(0,t.useState)(!0),[m,h]=(0,t.useState)(!1);e=y.convert3HexTo6(e),(0,t.useEffect)(()=>{p(r.isMobile)},[]);let g=e=>{!f&&e.key===`Enter`&&!e.shiftKey&&i&&(e.preventDefault(),i())},_=e=>{s?.(e),e.target.style.height=`40px`,e.target.style.height=2+e.target.scrollHeight+`px`},v={},b=[w.textInput,o].filter(Boolean).join(` `),x=()=>{h(!0)},S=()=>{h(!1)};return v={borderBottomColor:m?e===`#ffffff`?`#c8c8c8`:e:``},(0,n.jsx)(`div`,{className:w.textInputWrapper,children:(0,n.jsx)(`textarea`,{"data-testid":`textbox-input`,ref:d,className:b,style:{...v,...a},onFocus:x,onBlur:S,onInput:e=>_(e),onKeyDown:g,...u})})})),E={multiSelectContainer:`_multiSelectContainer_lh9wi_1`,listOptionsWrap:`_listOptionsWrap_lh9wi_4`,selectedValuesWrap:`_selectedValuesWrap_lh9wi_7`,selectedValues:`_selectedValues_lh9wi_7`,focused:`_focused_lh9wi_13`,placeholder:`_placeholder_lh9wi_16`,dropDownIcon:`_dropDownIcon_lh9wi_19`,optionsListContainer:`_optionsListContainer_lh9wi_23`,top:`_top_lh9wi_26`,optionsListWrap:`_optionsListWrap_lh9wi_29`,searchInputWrap:`_searchInputWrap_lh9wi_32`,searchInput:`_searchInput_lh9wi_32`,optionsList:`_optionsList_lh9wi_23`,btnContainer:`_btnContainer_lh9wi_54`,hiddenButton:`_hiddenButton_lh9wi_57`,announcement:`_announcement_lh9wi_70`},D={pseudoCheckbox:`_pseudoCheckbox_z8j4c_1`,checkboxCheckMark:`_checkboxCheckMark_z8j4c_4`,checkboxCheckMarkPath:`_checkboxCheckMarkPath_z8j4c_7`,checked:`_checked_z8j4c_12`,checkboxUncheckedChecked:`_checkboxUncheckedChecked_z8j4c_1`,checkboxDisabled:`_checkboxDisabled_z8j4c_22`},O=({checked:e=!1,themeColor:t=``,disabled:r=!1})=>{let i={},a=`#006bb1`,o=r?`#9b9b9b`:`#ffffff`,s=r?D.checkboxDisabled:``,c=e?D.checked:``,l=[D.pseudoCheckbox,c,s].filter(Boolean).join(` `),u;if(t){let n=v(t);t=y.convert3HexTo6(t),n===`dark`||n===`light`?(o=r?e?`#9b9b9b`:`#f9f9f9`:n==`light`?`#333333`:`#ffffff`,a=r?`#f9f9f9`:e?t:`#ffffff`,u=r?`#e4e4e4`:t===`#ffffff`?`#333333`:t,e&&(i={backgroundColor:a,borderColor:u,outlineColor:u})):o=`#9b9b9b`}return(0,n.jsx)(`div`,{style:i,className:l,role:`checkbox`,"aria-checked":e,"aria-hidden":`true`,tabIndex:-1,"data-testid":`checkbox-input`,children:(0,n.jsx)(`svg`,{version:`1.1`,focusable:`false`,className:D.checkboxCheckMark,viewBox:`0 0 24 24`,children:(0,n.jsx)(`path`,{className:D.checkboxCheckMarkPath,fill:`none`,stroke:o,d:`M4.1,12.7 9,17.6 20.3,6.3`})})})};O.displayName=`Checkbox`;var k=({options:e,checkedValue:r,onSelectionChange:a,maxOptions:o,themeColor:s,className:c=``,style:l={}})=>{let u=(0,t.useRef)(e),[d,f]=(0,t.useState)(r),[p,m]=(0,t.useState)(``),[h,g]=(0,t.useState)(!1),[_,x]=(0,t.useState)(!1),S=(0,t.useRef)(null),C=(0,t.useRef)(null),w=(0,t.useRef)(null),T=(0,t.useRef)(null),D=(0,t.useRef)(null),k=(0,t.useRef)(null),[A,j]=(0,t.useState)(-1),M=(0,t.useRef)(0),N=(0,t.useRef)(0),[P,ee]=(0,t.useState)(!1),F={},[I,L]=(0,t.useState)({left:0,top:0}),[R,z]=(0,t.useState)(null),B=(0,t.useRef)(!1),V=(0,t.useRef)(null),H=()=>{setTimeout(()=>{(S.current?.children[0]).focus()},0)};(0,t.useEffect)(()=>{let e=e=>{C.current&&!C.current.contains(e.target)&&(g(!1),m(``),H())};return document.addEventListener(`mousedown`,e),()=>{document.removeEventListener(`mousedown`,e)}},[]);let U=()=>{M.current=window.innerHeight,N.current=document.body.scrollHeight,ee(!0)};(0,t.useEffect)(()=>(U(),window.addEventListener(`resize`,U),()=>{window.addEventListener(`resize`,U)}),[]);let W=e=>{let t=document.getElementById(`announcement`);t&&(t.textContent=e,t.setAttribute(`aria-live`,`assertive`),setTimeout(()=>{t.textContent=``,t.setAttribute(`aria-live`,`off`)},1e3))};(0,t.useEffect)(()=>{u.current=e.filter(e=>e.label.toLowerCase().includes(p.toLowerCase()))},[e,p]);let G=d.length>0?d.map(t=>{let n=e.find(e=>e.value===t);return n?.label===null?``:n?.label}).filter(e=>e!==``).join(`, `):`Select your option`,K=t=>{let n=e.find(e=>e.value===t);if(n&&!n.disable&&(o===void 0||d.length<=o)){let e=d.includes(t)?d.filter(e=>e!==t):[...d,t];(o===void 0||e.length<=o)&&h&&(f(e),a(e),W(`${n?.label} ${e.includes(t)?`selected`:`not selected`}`))}},q=e=>{J(),g(e),setTimeout(()=>{w.current?w.current?.focus():T.current?.focus(),W(`use up and down arrow keys to navigate`)},0)},te=()=>N.current-(M.current+window.scrollY),J=()=>{if(S.current){let e=S.current.getBoundingClientRect();setTimeout(()=>{let t=C?.current?.getBoundingClientRect(),n=te(),r=M.current-e.bottom,i;if(t){let a=e.height,o=e.top,s=t.height,c=s>o+window.scrollY;i=o<s&&(c||c&&r<s||n>s||r>s)||o>s&&r>s?e.y+a:e.y-s,L({left:e.left,top:i??e.top})}},0)}};(0,t.useEffect)(()=>(window.addEventListener(`scroll`,J),window.addEventListener(`resize`,J),()=>{window.removeEventListener(`scroll`,J),window.removeEventListener(`resize`,J)}),[h]);let Y=e=>{e.preventDefault(),e.key===`Shift`?B.current=!0:e.shiftKey&&B.current&&e.key===`Tab`||e.key===`Tab`?(setTimeout(()=>{w.current?w.current?.focus():T.current?.focus()},0),B.current=!1):e.key===`Escape`||e.key===`Enter`||e.key===`Space`||e.key===` `?(q(!1),H()):B.current=!1},X=e=>{let{key:t}=e;if(t===`Tab`||e.shiftKey&&t===`Tab`)setTimeout(()=>{D.current?.focus()},0);else if(t===`ArrowDown`||t===`ArrowUp`){e.preventDefault(),setTimeout(()=>{T.current?.focus()},0);let n=A;if(t===`ArrowDown`?n=Math.min(A+1,u.current.length-1):t===`ArrowUp`&&(n=Math.max(A-1,0)),A===0&&e.key===`ArrowUp`?n=u.current.length-1:A===u.current.length-1&&e.key===`ArrowDown`&&(n=0),j(n),k.current&&n>=0){let e=k.current.querySelectorAll(`.${E.optionsList}`)[n],t=e.children[0].getAttribute(`aria-checked`);W(`${e.textContent} ${t===`true`?`selected`:`not selected`} ${n+1} out of ${u.current.length}`),e&&e.scrollIntoView({block:`nearest`,inline:`nearest`})}}else t===`Enter`||t===`Space`||t===` `?A!==-1&&K(u.current[A].value):t===`Escape`&&(q(!1),H())};(0,t.useEffect)(()=>{R&&clearTimeout(R),z(setTimeout(()=>{let e=u.current.length?`${u.current.length} results are available, use up and down arrow keys to navigate`:`No results available`;h&&W(e)},500))},[p]);let Z=()=>{x(!0)},Q=()=>{x(!1)};if((0,t.useEffect)(()=>{let e=V.current;return e&&(e.addEventListener(`focus`,Z),e.addEventListener(`blur`,Q)),()=>{e&&(e.removeEventListener(`focus`,Z),e.removeEventListener(`blur`,Q))}},[Z,Q]),s){let e=v(s);s=y.convert3HexTo6(s),(e===`dark`||e===`light`)&&(F={borderBottomColor:s===`#ffffff`?`#c8c8c8`:_||h?s:`#333333`})}let $=()=>{g(!1)};return(0,n.jsx)(`div`,{className:E.multiSelectContainer,children:(0,n.jsxs)(`div`,{className:E.listOptionsWrap,children:[(0,n.jsxs)(`div`,{className:`${c} ${E.selectedValuesWrap}`,ref:S,children:[(0,n.jsx)(`div`,{className:`${E.selectedValues} ${h?E.focused:``} ${d.length===0?E.placeholder:``}`,ref:V,onFocus:Z,onBlur:Q,onClick:()=>q(!h),onKeyPress:e=>{(e.key===` `||e.code===`Space`||e.code===`Enter`)&&(e.preventDefault(),q(!h))},tabIndex:0,"data-testid":`selected-input`,style:{...F,...l},"aria-expanded":h,"aria-haspopup":`listbox`,"aria-multiselectable":`true`,"aria-autocomplete":`list`,role:`combobox`,children:G}),(0,n.jsx)(`span`,{className:E.dropDownIcon,onClick:()=>q(!h),"data-testid":`arrow-button`,children:(0,n.jsx)(`svg`,{width:`12px`,height:`7px`,viewBox:`0 0 12 7`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,children:(0,n.jsx)(`g`,{stroke:`none`,strokeWidth:`1`,fill:`none`,fillRule:`evenodd`,children:(0,n.jsx)(`g`,{transform:`translate(-2360.000000, -295.000000)`,fill:`#666666`,children:(0,n.jsx)(`g`,{transform:`translate(2006.000000, 248.000000)`,children:(0,n.jsx)(`path`,{d:`M358.027356,44.3431458 L358.027146,50.6581458 L364.343146,50.6589352 L364.343146,52.3431458 L358.027146,52.3421458 L358.027356,52.3431458 L356.343146,52.3431458 L356.343146,44.3431458 L358.027356,44.3431458 Z`,transform:`translate(360.343146, 48.343146) scale(-1, -1) rotate(-225.000000) translate(-360.343146, -48.343146)`})})})})})})]}),(0,n.jsx)(`div`,{id:`announcement`,"aria-live":`assertive`,role:`alert`,className:E.announcement}),P?(0,i.createPortal)((0,n.jsx)(n.Fragment,{children:h&&S&&(0,n.jsx)(`div`,{onClick:$,style:{position:`fixed`,inset:0,backgroundColor:`rgba(255,255,255,0)`,zIndex:1e3},children:(0,n.jsxs)(`div`,{className:`${E.optionsListContainer}`,ref:C,onClick:e=>e.stopPropagation(),style:{opacity:+!!I.left,width:S.current?S.current.clientWidth:`auto`,left:I.left,top:I.top},children:[(0,n.jsxs)(`div`,{className:E.optionsListWrap,children:[e.length>=6&&(0,n.jsx)(`div`,{className:E.searchInputWrap,children:(0,n.jsx)(`input`,{type:`text`,ref:w,placeholder:`Type to filter`,className:E.searchInput,value:p,onChange:e=>m(e.target.value),"data-testid":`search-input`,onKeyDown:e=>{X(e)}})}),(0,n.jsx)(`ul`,{ref:k,role:`listbox`,children:u.current.map((e,t)=>(0,n.jsxs)(`li`,{className:`${E.optionsList} ${t===A?E.focused:``}`,onClick:()=>K(e.value),"aria-selected":t===A,role:`option`,children:[(0,n.jsx)(O,{themeColor:s,checked:d.includes(e.value),disabled:e.disable||o!==void 0&&d.length>=o&&!d.includes(e.value)}),(0,n.jsx)(`span`,{children:e.label})]},e.value))})]}),(0,n.jsxs)(`div`,{className:E.btnContainer,children:[(0,n.jsx)(`input`,{ref:T,onKeyDown:e=>{X(e)},className:E.hiddenButton}),(0,n.jsx)(b,{themeColor:s,variant:`primary`,size:`medium`,onClick:()=>{g(!1),m(``),H(),a(d)},"data-testid":`done-button`,onKeyDown:e=>{Y(e)},ref:D,children:`Done`})]})]})})}),document.body):null]})})},A={multiSelectContainer:`_multiSelectContainer_1on91_1`,listOptionsWrap:`_listOptionsWrap_1on91_4`,selectedValuesWrap:`_selectedValuesWrap_1on91_7`,selectedValues:`_selectedValues_1on91_7`,focused:`_focused_1on91_16`,countAndIconContainer:`_countAndIconContainer_1on91_19`,rounded:`_rounded_1on91_22`,selected:`_selected_1on91_7`,selectedCount:`_selectedCount_1on91_37`,dropDownIcon:`_dropDownIcon_1on91_41`,optionsListContainer:`_optionsListContainer_1on91_45`,top:`_top_1on91_48`,optionsListWrap:`_optionsListWrap_1on91_51`,searchInputWrap:`_searchInputWrap_1on91_54`,searchInput:`_searchInput_1on91_54`,optionsList:`_optionsList_1on91_45`,btnContainer:`_btnContainer_1on91_76`,hiddenButton:`_hiddenButton_1on91_79`,announcement:`_announcement_1on91_92`},j=({options:e,checkedValue:r,onSelectionChange:a,maxOptions:o,themeColor:s,className:c=``,style:l={},categoryName:u=``,variant:d=`default`,placeholder:f=`Select your option`})=>{let p=(0,t.useRef)(e),[m,h]=(0,t.useState)(r),[g,_]=(0,t.useState)(``),[x,S]=(0,t.useState)(!1),[C,w]=(0,t.useState)(!1),T=(0,t.useRef)(null),E=(0,t.useRef)(null),D=(0,t.useRef)(null),k=(0,t.useRef)(null),j=(0,t.useRef)(null),M=(0,t.useRef)(null),[N,P]=(0,t.useState)(-1),ee=(0,t.useRef)(0),F=(0,t.useRef)(0),[I,L]=(0,t.useState)(!1),R={},[z,B]=(0,t.useState)({left:0,top:0}),[V,H]=(0,t.useState)(null),U=(0,t.useRef)(!1),W=(0,t.useRef)(null);(0,t.useEffect)(()=>{h(r)},[r]);let G=()=>{setTimeout(()=>{(T.current?.children[0]).focus()},0)};(0,t.useEffect)(()=>{let e=e=>{E.current&&!E.current.contains(e.target)&&(S(!1),_(``),G())};return document.addEventListener(`mousedown`,e),()=>{document.removeEventListener(`mousedown`,e)}},[]);let K=()=>{ee.current=window.innerHeight,F.current=document.body.scrollHeight,L(!0)};(0,t.useEffect)(()=>(K(),window.addEventListener(`resize`,K),()=>{window.addEventListener(`resize`,K)}),[]);let q=e=>{let t=document.getElementById(`announcement`);t&&(t.textContent=e,t.setAttribute(`aria-live`,`assertive`),setTimeout(()=>{t.textContent=``,t.setAttribute(`aria-live`,`off`)},1e3))};(0,t.useEffect)(()=>{p.current=e.filter(e=>e.label.toLowerCase().includes(g.toLowerCase()))},[e,g]);let te=m.length>1&&u?u:m.length>0?m.map(t=>{let n=e.find(e=>e.value===t);return n?.label===null?``:n?.label}).filter(e=>e!==``).join(`, `):f,J=t=>{let n=e.find(e=>e.value===t);if(n&&!n.disable&&(o===void 0||m.length<=o)){let e=m.includes(t)?m.filter(e=>e!==t):[...m,t];(o===void 0||e.length<=o)&&x&&(h(e),a(e),setTimeout(()=>{X()},50),p.current.length===1&&S(!1),q(`${n?.label} ${e.includes(t)?`selected`:`not selected`}`))}},Y=e=>{X(),S(e),setTimeout(()=>{D.current?D.current?.focus():k.current?.focus(),q(`use up and down arrow keys to navigate`)},0)},X=()=>{if(T.current){let e=T.current.getBoundingClientRect();setTimeout(()=>{let t=E?.current?.getBoundingClientRect();if(t){let n=t.height,r=t.width,i=window.innerWidth,a=ee.current-e.bottom,o=e.top,s;s=a>=n?e.bottom:o>=n?e.top-n:a>=o?e.bottom:e.top-n;let c=i-e.left,l=e.right,u;u=c-20>=r?e.left:l>=r?e.right-r+20:c>=l?Math.max(20,i-r-20):Math.max(20,e.right-r+20),B({left:u,top:s})}},10)}};(0,t.useEffect)(()=>(window.addEventListener(`scroll`,X),window.addEventListener(`resize`,X),()=>{window.removeEventListener(`scroll`,X),window.removeEventListener(`resize`,X)}),[x]);let Z=e=>{e.preventDefault(),e.key===`Shift`?U.current=!0:e.shiftKey&&U.current&&e.key===`Tab`||e.key===`Tab`?(setTimeout(()=>{D.current?D.current?.focus():k.current?.focus()},0),U.current=!1):e.key===`Escape`||e.key===`Enter`||e.key===`Space`||e.key===` `?(Y(!1),G()):U.current=!1},Q=e=>{let{key:t}=e;if(t===`Tab`||e.shiftKey&&t===`Tab`)setTimeout(()=>{j.current?.focus()},0);else if(t===`ArrowDown`||t===`ArrowUp`){e.preventDefault(),setTimeout(()=>{k.current?.focus()},0);let n=N;if(t===`ArrowDown`?n=Math.min(N+1,p.current.length-1):t===`ArrowUp`&&(n=Math.max(N-1,0)),N===0&&e.key===`ArrowUp`?n=p.current.length-1:N===p.current.length-1&&e.key===`ArrowDown`&&(n=0),P(n),M.current&&n>=0){let e=M.current.querySelectorAll(`.${A.optionsList}`)[n],t=e.children[0].getAttribute(`aria-checked`);q(`${e.textContent} ${t===`true`?`selected`:`not selected`} ${n+1} out of ${p.current.length}`),e&&e.scrollIntoView({block:`nearest`,inline:`nearest`})}}else t===`Enter`||t===`Space`||t===` `?N!==-1&&J(p.current[N].value):t===`Escape`&&(Y(!1),G())};(0,t.useEffect)(()=>{V&&clearTimeout(V),H(setTimeout(()=>{let e=p.current.length?`${p.current.length} results are available, use up and down arrow keys to navigate`:`No results available`;x&&q(e)},500))},[g]);let $=()=>{w(!0)},ne=()=>{w(!1)};if((0,t.useEffect)(()=>{let e=W.current;return e&&(e.addEventListener(`focus`,$),e.addEventListener(`blur`,ne)),()=>{e&&(e.removeEventListener(`focus`,$),e.removeEventListener(`blur`,ne))}},[$,ne]),s){let e=v(s);s=y.convert3HexTo6(s),(e===`dark`||e===`light`)&&(R={"--theme-color":s})}let re=()=>{S(!1)},ie=()=>{S(!1),_(``),G(),a(m)};return(0,n.jsx)(`div`,{className:A.multiSelectContainer,children:(0,n.jsxs)(`div`,{className:A.listOptionsWrap,children:[(0,n.jsx)(`div`,{className:`${c} ${A.selectedValuesWrap}`,ref:T,children:(0,n.jsxs)(`div`,{className:`${A.selectedValues} ${x?A.focused:``} ${m.length>0?A.selected:``} ${m.length>1?A.countShow:``} ${m.length===0?A.placeholder:``} ${d===`rounded`?A.rounded:``}`,ref:W,onFocus:$,onBlur:ne,onClick:()=>Y(!x),onKeyPress:e=>{(e.key===` `||e.code===`Space`||e.code===`Enter`)&&(e.preventDefault(),Y(!x))},tabIndex:0,"data-testid":`selected-input`,style:{...R,...l},"aria-expanded":x,"aria-haspopup":`listbox`,"aria-multiselectable":`true`,"aria-autocomplete":`list`,role:`combobox`,children:[(0,n.jsx)(`span`,{children:te}),(0,n.jsxs)(`div`,{className:A.countAndIconContainer,children:[m.length>1&&(0,n.jsx)(`span`,{className:A.selectedCount,"data-testid":`selected-count`,style:{backgroundColor:s},children:m.length}),(0,n.jsx)(`span`,{className:A.dropDownIcon,onClick:()=>Y(!x),"data-testid":`arrow-button`,children:(0,n.jsx)(`svg`,{width:`12px`,height:`7px`,viewBox:`0 0 12 7`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,children:(0,n.jsx)(`g`,{stroke:`none`,strokeWidth:`1`,fill:`none`,fillRule:`evenodd`,children:(0,n.jsx)(`g`,{transform:`translate(-2360.000000, -295.000000)`,fill:`#666666`,children:(0,n.jsx)(`g`,{transform:`translate(2006.000000, 248.000000)`,children:(0,n.jsx)(`path`,{d:`M358.027356,44.3431458 L358.027146,50.6581458 L364.343146,50.6589352 L364.343146,52.3431458 L358.027146,52.3421458 L358.027356,52.3431458 L356.343146,52.3431458 L356.343146,44.3431458 L358.027356,44.3431458 Z`,transform:`translate(360.343146, 48.343146) scale(-1, -1) rotate(-225.000000) translate(-360.343146, -48.343146)`})})})})})})]})]})}),(0,n.jsx)(`div`,{id:`announcement`,"aria-live":`assertive`,role:`alert`,className:A.announcement}),I?(0,i.createPortal)((0,n.jsx)(n.Fragment,{children:x&&T&&(0,n.jsx)(`div`,{onClick:re,style:{position:`fixed`,inset:0,backgroundColor:`rgba(255,255,255,0)`,zIndex:1e3},children:(0,n.jsxs)(`div`,{className:`${A.optionsListContainer}`,ref:E,onClick:e=>e.stopPropagation(),style:{opacity:+!!z.top,left:z.left,top:z.top,paddingBottom:p.current.length===1?0:void 0},children:[(0,n.jsxs)(`div`,{className:A.optionsListWrap,children:[e.length>=6&&(0,n.jsx)(`div`,{className:A.searchInputWrap,children:(0,n.jsx)(`input`,{type:`text`,ref:D,placeholder:`Type to filter`,className:A.searchInput,value:g,onChange:e=>_(e.target.value),"data-testid":`search-input`,onKeyDown:e=>{Q(e)}})}),(0,n.jsx)(`ul`,{ref:M,role:`listbox`,children:p.current.map((e,t)=>(0,n.jsxs)(`li`,{className:`${A.optionsList} ${t===N?A.focused:``}`,onClick:()=>J(e.value),"aria-selected":t===N,role:`option`,children:[(0,n.jsx)(O,{themeColor:s,checked:m.includes(e.value),disabled:e.disable||o!==void 0&&m.length>=o&&!m.includes(e.value)}),(0,n.jsx)(`span`,{children:e.label})]},e.value))})]}),p.current.length>1&&(0,n.jsxs)(`div`,{className:A.btnContainer,children:[(0,n.jsx)(`input`,{ref:k,onKeyDown:e=>{Q(e)},className:A.hiddenButton}),(0,n.jsx)(b,{themeColor:s,variant:`primary`,size:`medium`,disabled:!(m.length>0),onClick:ie,"data-testid":`done-button`,onKeyDown:e=>{Z(e)},ref:j,children:`Done`})]})]})})}),document.body):null]})})},M={multiSelectContainer:`_multiSelectContainer_1rhxq_1`,quickOptionsWrap:`_quickOptionsWrap_1rhxq_4`,selected:`_selected_1rhxq_11`,disabled:`_disabled_1rhxq_17`},N=({options:e,checkedValue:r,onSelectionChange:i,maxOptions:a,themeColor:o,className:s=``,style:c={},id:l=``})=>{let[u,d]=(0,t.useState)(r),f=(0,t.useRef)({}),p={},m,h=t=>{let n=e.find(e=>e.value===t);if(!n||n.disable)return;f.current[t]?.click();let r=u.includes(t)?u.filter(e=>e!==t):[...u,t];(a===void 0||r.length<=a)&&(d(r),i(r))};if(o){m=v(o),o=y.convert3HexTo6(o);let e=o===`#ffffff`?`#333333`:o;(m===`dark`||m===`light`)&&(p={outlineColor:e,borderColor:e,color:o===`#ffffff`||m===`light`?`#333333`:o})}return(0,n.jsx)(`div`,{className:M.multiSelectContainer,role:`group`,children:(0,n.jsx)(`ul`,{className:M.quickOptionsWrap,id:l,children:e.map(e=>(0,n.jsx)(`li`,{style:{...p,...c},className:`${s} ${e.disable||a!==void 0&&u.length>=a&&!u.includes(e.value)?M.disabled:``} ${u.includes(e.value)?M.selected:``}`,tabIndex:e.disable?-1:0,onClick:()=>h(e.value),onKeyPress:t=>{(t.key===` `||t.code===`Space`)&&(t.preventDefault(),h(e.value))},"data-testid":`option-box`,children:(0,n.jsx)(C,{id:e.value,checkboxSize:`large`,tabIndex:-1,themeColor:o,ref:t=>{f.current[e.value]=t},checked:u.includes(e.value),disabled:e.disable||a!==void 0&&u.length>=a&&!u.includes(e.value),children:(0,n.jsx)(`span`,{style:{color:o&&(o===`#ffffff`||m===`light`)||e.disable||a!==void 0&&u.length>=a&&!u.includes(e.value)?`#333333`:o&&(o!==`#ffffff`||m!==`light`)?o:`#006bb1`},children:e.label})})},e.value))})})},P={singleSelectWrapper:`_singleSelectWrapper_7i31h_1`,quickOption:`_quickOption_7i31h_4`,selected:`_selected_7i31h_11`,triangle:`_triangle_7i31h_17`,loader:`_loader_7i31h_20`,"tw-spin":`_tw-spin_7i31h_1`,checkmarkWrap:`_checkmarkWrap_7i31h_23`,checkmark:`_checkmark_7i31h_23`,fill:`_fill_7i31h_1`,scale:`_scale_7i31h_1`,checkmarkCheck:`_checkmarkCheck_7i31h_30`,stroke:`_stroke_7i31h_1`,disabled:`_disabled_7i31h_35`},ee=({options:e,onSelect:r,selected:i,themeColor:a,className:o=``,style:s={},showLoader:c=!1,id:l=``})=>{let[u,d]=(0,t.useState)(i),f={},p={},m=`#ffffff`,h=e=>{if(u?.value===e?.value){d(void 0),r(void 0);return}r(e),d(e)};if(a){let e=v(a);a=y.convert3HexTo6(a);let t=a===`#ffffff`?`#333333`:a;(e===`dark`||e===`light`)&&(m=a===`#ffffff`||e===`dark`?`#ffffff`:`#333333`,f={outlineColor:t,borderColor:t,color:a===`#ffffff`||e===`light`?`#333333`:a},p={borderRightColor:t,borderTopColor:t})}return(0,n.jsx)(`div`,{className:P.singleSelectWrapper,children:(0,n.jsx)(`div`,{className:P.quickOption,children:(0,n.jsx)(`ul`,{className:P.quickOption,role:`radiogroup`,id:l,children:e.map(e=>(0,n.jsxs)(`li`,{tabIndex:e.disable?-1:0,className:`${o} ${u?.value===e.value?P.selected:``} ${e.disable?P.disabled:``}`,style:{...f,...s},onClick:()=>h(e),onKeyPress:t=>{(t.key===` `||t.code===`Space`)&&(t.preventDefault(),h(e))},"data-testid":`checkbox-input`,role:`radio`,"aria-checked":u?.value===e.value,children:[e.label,u?.value===e.value&&!e.disable&&(0,n.jsxs)(`div`,{className:P.triangle,style:{...p},children:[c&&(0,n.jsx)(`div`,{className:P.loader,style:{borderRightColor:a??`#006bb1`}}),!c&&(0,n.jsx)(`div`,{className:P.checkmarkWrap,children:(0,n.jsx)(`svg`,{className:P.checkmark,xmlns:`http://www.w3.org/2000/svg`,width:`11`,height:`9`,viewBox:`0 0 11 9`,fill:`none`,children:(0,n.jsx)(`path`,{className:P.checkmarkCheck,stroke:m,d:`M2.1 4.34286L4.12857 6.40001L8.9 1.60001`,strokeWidth:`2`})})})]})]},e.value))})})})},F={scrollbarContainer:`_scrollbarContainer_40vsr_1`},I=(0,t.forwardRef)(({children:e,className:t=``,style:r={},...i},a)=>{let o=[F.scrollbarContainer,t].filter(Boolean).join(` `);return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(`div`,{ref:a,style:{...r},className:o,...i,children:e})})});I.displayName=`Scrollbar`;var L={select:`_select_fcnvh_1`,selectContainer:`_selectContainer_fcnvh_4`,selectButton:`_selectButton_fcnvh_7`,open:`_open_fcnvh_13`,selectValue:`_selectValue_fcnvh_16`,placeholder:`_placeholder_fcnvh_19`,seletIcon:`_seletIcon_fcnvh_22`,selectText:`_selectText_fcnvh_25`,chevronDownIconSpan:`_chevronDownIconSpan_fcnvh_28`,chevronDownIcon:`_chevronDownIcon_fcnvh_28`,leave:`_leave_fcnvh_35`,leaveFrom:`_leaveFrom_fcnvh_39`,leaveTo:`_leaveTo_fcnvh_43`,selectOptions:`_selectOptions_fcnvh_47`},R=({children:e,selected:r,onSelect:s,themeColor:c,placeholder:l})=>{let[u,d]=(0,t.useState)(!1),[f,p]=(0,t.useState)(!1),[m,h]=(0,t.useState)(!1),g=(0,t.useRef)(null),_=(0,t.useRef)(null),b=(0,t.useRef)(null),[x,S]=(0,t.useState)({left:0,top:0}),[C,w]=(0,t.useState)(!1),T=(0,t.useRef)(0),E=(0,t.useRef)(0),D=`#333333`,O=()=>{T.current=window.innerHeight,E.current=document.body.scrollHeight,d(!0)};(0,t.useEffect)(()=>(O(),window.addEventListener(`resize`,O),()=>{window.removeEventListener(`resize`,O)}),[]);let k=()=>E.current-(T.current+window.scrollY),A=()=>{if(g.current){let e=g.current.getBoundingClientRect();w(!1),setTimeout(()=>{let t=b?.current?.getBoundingClientRect(),n=k(),r=T.current-e.bottom;if(t){let i=t.height,a=e.top,o=i>=a+window.scrollY,s=i>=a&&(o||n>=i||r>=i)||a>=i&&r>=i?e.y+e.height:e.y-i;S({left:e.left,top:s??e.top}),w(!0)}},0)}};if((0,t.useEffect)(()=>(window.addEventListener(`scroll`,A),window.addEventListener(`resize`,A),()=>{window.removeEventListener(`scroll`,A),window.removeEventListener(`resize`,A)}),[]),c){c=y.convert3HexTo6(c);let e=v(c);(e===`dark`||e===`light`)&&(D=c===`#ffffff`?`#c8c8c8`:c)}let j=e=>{s(e)},M=()=>h(!0),N=()=>h(!1);return(0,n.jsx)(a.Listbox,{value:r,onChange:j,children:({open:t})=>(t!==f&&(p(t),t?A():w(!1)),(0,n.jsxs)(`div`,{className:L.select,children:[(0,n.jsx)(`div`,{className:L.selectContainer,ref:g,children:(0,n.jsxs)(a.ListboxButton,{ref:_,"data-testid":`select-options`,onFocus:M,onBlur:N,className:`${L.selectButton} ${t?L.open:``}`,style:{borderBottomColor:c&&(m||t)?D:``},children:[r?(0,n.jsxs)(`span`,{className:L.selectValue,children:[r.avatar&&(0,n.jsx)(`img`,{src:r.avatar,alt:``,className:L.seletIcon}),(0,n.jsx)(`span`,{className:L.selectText,children:r.label})]}):l&&(0,n.jsx)(`span`,{className:`${L.selectValue} ${L.placeholder}`,children:l}),(0,n.jsx)(`span`,{className:L.chevronDownIconSpan,children:(0,n.jsx)(o.ChevronDownIcon,{className:L.chevronDownIcon,"aria-hidden":`true`,"data-open":f?!0:void 0})})]})}),u&&(0,i.createPortal)(t&&(0,n.jsx)(`div`,{style:{position:`fixed`,inset:0,backgroundColor:`rgba(255,255,255,0)`,zIndex:1e3},children:(0,n.jsx)(`div`,{ref:b,style:{position:`absolute`,opacity:+!!C,width:g.current?.clientWidth??`auto`,left:x.left,top:x.top},children:e})}),document.body)]}))})},z=({children:e,setQuery:r})=>(0,n.jsx)(a.Transition,{as:t.Fragment,leave:L.leave,leaveFrom:L.leaveFrom,leaveTo:L.leaveTo,afterLeave:()=>r(``),children:(0,n.jsx)(a.ListboxOptions,{className:L.selectOptions,children:e})}),B=(0,t.forwardRef)((e,t)=>(0,n.jsx)(a.ListboxOption,{ref:t,className:e.className,value:e.value,disabled:e.disable,children:e.children}));B.displayName=`SelectOption`;var V={autocomplete:`_autocomplete_29ukn_1`,autocompleteContainer:`_autocompleteContainer_29ukn_4`,disable:`_disable_29ukn_7`,autocompleteInput:`_autocompleteInput_29ukn_16`,autocompleteButton:`_autocompleteButton_29ukn_34`,chevronDownIcon:`_chevronDownIcon_29ukn_44`,leave:`_leave_29ukn_57`,leaveFrom:`_leaveFrom_29ukn_61`,leaveTo:`_leaveTo_29ukn_65`,autocompleteOptions:`_autocompleteOptions_29ukn_69`},H=({children:e,selected:r,onSelect:s,setQuery:c=()=>{},disable:l,clearSearch:u=!1,themeColor:d})=>{let f=(0,t.useRef)(null),p=(0,t.useRef)(null),m=(0,t.useRef)(null),h=(0,t.useRef)(null),[g,_]=(0,t.useState)(!1),[b,x]=(0,t.useState)(!1),[S,C]=(0,t.useState)(!1),[w,T]=(0,t.useState)({top:0,left:0}),[E,D]=(0,t.useState)(!1),O=(0,t.useRef)(0),k=(0,t.useRef)(0),A={};(0,t.useEffect)(()=>{f.current&&r&&(f.current.value=r.label||``)},[r]),(0,t.useEffect)(()=>{O.current=window.innerHeight,k.current=document.body.scrollHeight,C(!0)},[]);let j=(0,t.useCallback)(()=>{if(m.current){let e=window.visualViewport,t=m.current.getBoundingClientRect();D(!1),setTimeout(()=>{let n=h?.current?.getBoundingClientRect(),r=t.left,i=t.y+t.height,a=window.innerHeight-t.bottom,o=document.body.scrollHeight-(window.innerHeight+window.scrollY);if(e&&(r=t.left+e.offsetLeft,i=t.top+t.height+e.offsetTop,a=e.height-(t.bottom-e.offsetTop),o=document.body.scrollHeight-(e.height+e.pageTop)),n){let s=n.height,c=t.top,l=s>=c+window.scrollY,u=s>=c&&(l||o>=s||a>=s)||c>=s&&a>=s?i:(e?t.top+e.offsetTop:t.y)-s;T({left:r,top:u??(e?t.top+e.offsetTop:t.top)}),D(!0)}},0)}},[]);(0,t.useEffect)(()=>(window.addEventListener(`scroll`,j),window.addEventListener(`resize`,j),()=>{window.removeEventListener(`scroll`,j),window.removeEventListener(`resize`,j)}),[]);let M=()=>{b!==void 0&&f.current&&(b?(f.current.dispatchEvent(new KeyboardEvent(`keydown`,{key:`Escape`,bubbles:!0})),_(!1)):(j(),_(!0),r&&(f.current.value=r.label||``),u&&(f.current.value=``,c(``)),f.current.dispatchEvent(new KeyboardEvent(`keydown`,{key:`ArrowDown`,bubbles:!0}))))},N=()=>{_(!0)},P=()=>{_(!1)};if(d){let e=v(d);d=y.convert3HexTo6(d);let t;t=d===`#ffffff`?`#c8c8c8`:g?d:`#333333`,(e===`dark`||e===`light`)&&(A={borderBottomColor:t})}return(0,n.jsx)(a.Combobox,{value:r,onChange:s,disabled:l,children:({open:t})=>(t!==b&&(x(t),t?j():D(!1)),(0,n.jsxs)(`div`,{className:V.autocomplete,children:[(0,n.jsxs)(`div`,{ref:m,className:`${V.autocompleteContainer} ${l?V.disable:``}`,children:[(0,n.jsx)(a.ComboboxInput,{ref:f,"data-testid":`select-input`,className:V.autocompleteInput,displayValue:e=>e?.label||``,onChange:e=>{c(e.target.value)},onClick:M,onFocus:N,onBlur:P,style:{...A},placeholder:`Select your option`,autoComplete:`off`}),(0,n.jsx)(a.ComboboxButton,{className:V.autocompleteButton,"data-testid":`select-button`,ref:p,children:(0,n.jsx)(o.ChevronDownIcon,{className:`${V.chevronDownIcon} ${l?V.disable:``}`,"aria-hidden":`true`,"data-open":t?!0:void 0})})]}),S?(0,i.createPortal)((0,n.jsx)(n.Fragment,{children:t&&(0,n.jsx)(`div`,{style:{position:`fixed`,inset:0,backgroundColor:`rgba(255,255,255,0)`,zIndex:1e3},children:(0,n.jsx)(`div`,{ref:h,style:{position:`absolute`,opacity:+!!E,width:m.current?m.current.clientWidth:`auto`,left:w.left,top:w.top,zIndex:1e3},children:e})})}),document.body):null]}))})},U=({children:e,setQuery:r})=>(0,n.jsx)(a.Transition,{as:t.Fragment,leave:V.leave,leaveFrom:V.leaveFrom,leaveTo:V.leaveTo,afterLeave:()=>r(``),children:(0,n.jsx)(a.ComboboxOptions,{className:V.autocompleteOptions,children:e})}),W=(0,t.forwardRef)((e,t)=>(0,n.jsx)(a.ComboboxOption,{ref:t,className:e.className,value:e.value,disabled:e.disable,children:e.children}));W.displayName=`AutoCompleteOption`;var G={textInputWrapper:`_textInputWrapper_gym4n_1`,textInput:`_textInput_gym4n_1`},K=t.default.memo((0,t.forwardRef)(({themeColor:e=``,style:r={},className:i=``,onFocus:a,onBlur:o,...s},c)=>{let[l,u]=(0,t.useState)(!1),d={},f=[G.textInput,i].filter(Boolean).join(` `);return e=y.convert3HexTo6(e),d={borderBottomColor:l?e===`#ffffff`?`#c8c8c8`:e:``},(0,n.jsx)(`div`,{className:G.textInputWrapper,children:(0,n.jsx)(`input`,{type:`text`,"data-testid":`textbox-input`,ref:c,className:f,onFocus:()=>{u(!0)},onBlur:()=>{u(!1)},style:{...d,...r},...s})})})),q={phoneWrapper:`_phoneWrapper_dwcpz_1`,countryCode:`_countryCode_dwcpz_4`,phoneInputWrap:`_phoneInputWrap_dwcpz_11`,phoneInput:`_phoneInput_dwcpz_11`,serverError:`_serverError_dwcpz_17`,phonNumberList:`_phonNumberList_dwcpz_21`,active:`_active_dwcpz_30`,countryListText:`_countryListText_dwcpz_33`},te=({countryShortName:e,required:r=!1,themeColor:i=``,onUpdate:a,placeholder:o=``,error:l=!1,validate:u=!0,id:d=``,phoneNumberValue:f=``,countryCodeFromURL:p=``,additionalClassName:m=``,type:h=`tel`,inputMode:g=`numeric`})=>{let[_,v]=(0,t.useState)(l),y=(0,t.useRef)(e&&e!==`001`?e:`US`);(0,t.useEffect)(()=>{if(p){let e=S(p);e&&(w(e),y.current=p)}},[p]);let b=(e,t)=>JSON.stringify(e)===JSON.stringify(t),x=(0,s.getCountries)().sort((e,t)=>c.default[e]<c.default[t]?-1:+(c.default[e]>c.default[t])).map(e=>({label:e+` +`+(0,s.getCountryCallingCode)(e),value:e})),S=e=>x.find(t=>t.value==e),[C,w]=(0,t.useState)(()=>S(y.current)||null),T=e=>{y.current=e,w(S(e)),O(E.current)},E=(0,t.useRef)(f??``),D=e=>{let t=e.trim();return t&&y.current?/^(\d)\1*$/.test(e.trim())?!1:(0,s.isValidPhoneNumber)(`+${(0,s.getCountryCallingCode)(y.current)}${t}`):!0},O=(e,t=!1)=>{u||a({phoneNumber:e,countryCode:y.current,error:void 0,id:d,initialConsentChecked:t}),e=e.trim();let n=e?D(e)?void 0:`invalid`:r?`required`:void 0;v(!(!_&&n!==void 0)),a({phoneNumber:e,countryCode:y.current,error:n,id:d,initialConsentChecked:t})};return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(`div`,{className:`${q.phoneWrapper} ${m?.trim()||``}`,"data-testid":`phone-wrapper`,children:[(0,n.jsx)(`div`,{className:`${q.countryCode} ouiCountryCode`,children:(0,n.jsx)(R,{selected:C,onSelect:T,"data-testid":`phone-select`,themeColor:i,children:(0,n.jsx)(`div`,{className:`${q.phonNumberList} ouiPhonNumberList`,children:(0,n.jsx)(z,{setQuery:()=>{},"data-testid":`phone-select-options`,children:x.map(e=>(0,n.jsx)(B,{disable:!1,value:e.value,className:({active:t})=>`${t||b(C,e)?q.active:``}`,"data-testid":`phone-select-option-${e.value}`,children:(0,n.jsx)(`div`,{className:`${q.countryListText} ouiCountryListText`,children:(0,n.jsxs)(`span`,{children:[c.default[e.value],` +`,(0,s.getCountryCallingCode)(e.value)]})})},e.value))})})})}),(0,n.jsx)(`div`,{className:`${q.phoneInputWrap} ouiPhoneInputWrap`,children:(0,n.jsx)(K,{type:h,inputMode:g,"aria-labelledby":`phone-number`,placeholder:o,className:`${q.phoneInput} ${_&&u?q.serverError:``} ouiPhoneInput`,id:d,value:f??``,onBlur:e=>{E.current=e.target.value.trim()},onChange:e=>{E.current=e.target.value,O(E.current)},"data-testid":`phone-input`,themeColor:i})})]})})},J={progress:`_progress_1piqy_1`,"progress-bar":`_progress-bar_1piqy_9`},Y=({value:e,mode:r,strokeWidth:i=4,barColor:a=`#1976d2`,trackColor:o=`rgba(25,118,210,0.3)`})=>{let s=r??(e==null?`indeterminate`:`determinate`),c=(0,t.useMemo)(()=>s===`determinate`&&e!=null?Math.max(0,Math.min(100,e)):0,[s,e]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`div`,{className:J.progress,role:`progressbar`,"aria-valuemin":s===`determinate`?0:void 0,"aria-valuemax":s===`determinate`?100:void 0,"aria-valuenow":s===`determinate`?c:void 0,style:{height:i,backgroundColor:o},children:(0,n.jsx)(`div`,{className:J[`progress-bar`],style:{height:i,width:s===`determinate`?`${c}%`:void 0,backgroundColor:a,animationName:s===`indeterminate`?`loading`:void 0,left:s===`indeterminate`?-200:0}})}),(0,n.jsx)(`style`,{children:`
3
3
  @keyframes loading {
4
4
  0% {
5
5
  left: -200px;
@@ -21,5 +21,5 @@
21
21
  left: 100%;
22
22
  }
23
23
  }
24
- `})]})},Z={radioWrapper:`_radioWrapper_e4gpr_1`,radioBtnBox:`_radioBtnBox_e4gpr_4`,radioBtnLabel:`_radioBtnLabel_e4gpr_7`,radioBtnInsideLabel:`_radioBtnInsideLabel_e4gpr_10`,radioBtnInput:`_radioBtnInput_e4gpr_13`,radioBtnAvatar:`_radioBtnAvatar_e4gpr_16`,radioBtnText:`_radioBtnText_e4gpr_23`,radioBtnCircle:`_radioBtnCircle_e4gpr_27`,radioBtnChecked:`_radioBtnChecked_e4gpr_30`,radioBtnCircleInside:`_radioBtnCircleInside_e4gpr_33`};e.AutoComplete=U,e.AutoCompleteOption=G,e.AutoCompleteOptions=W,e.Button=b,e.Checkbox=C,e.ColorsService=y,e.MultiLineInput=D,e.MultiSelect=j,e.MultiSelectWithCount=N,e.Phone=J,e.ProgressBar=X,e.QuickMultiSelect=ee,e.QuickSelect=I,e.Radio=({themeColor:e,name:t,checked:r,onChange:i,option:a})=>{let o=e?.toLowerCase()===`#ffffff`?`#c8c8c8`:e,s=e=>{i(e)};return(0,n.jsx)(`div`,{className:Z.radioWrapper,children:(0,n.jsx)(`div`,{className:Z.radioBtnBox,children:(0,n.jsxs)(`label`,{htmlFor:a.value,className:Z.radioBtnLabel,children:[(0,n.jsxs)(`div`,{className:Z.radioBtnInsideLabel,children:[(0,n.jsx)(`input`,{type:`radio`,id:a.value,name:t,value:a.value,checked:r,onChange:()=>s(a),className:Z.radioBtnInput}),(0,n.jsx)(`span`,{className:`${Z.radioBtnCircle} ${r?Z.radioBtnChecked:``}`,style:{borderColor:r?o:`#C8C8C8`},children:r&&(0,n.jsx)(`span`,{className:Z.radioBtnCircleInside,style:{backgroundColor:o}})})]}),a.avatar&&(0,n.jsx)(`div`,{className:Z.radioBtnAvatar,children:(0,n.jsx)(`img`,{"aria-hidden":!0,src:a.avatar,width:20,height:20,alt:`Location icon`,className:Z.radioBtnAvatarImg})}),(0,n.jsx)(`div`,{className:Z.radioBtnText,children:a.label})]})})})},e.Scrollbar=L,e.Select=z,e.SelectOption=V,e.SelectOptions=B,e.SingleLineInput=ne});
24
+ `})]})},X={radioWrapper:`_radioWrapper_e4gpr_1`,radioBtnBox:`_radioBtnBox_e4gpr_4`,radioBtnLabel:`_radioBtnLabel_e4gpr_7`,radioBtnInsideLabel:`_radioBtnInsideLabel_e4gpr_10`,radioBtnInput:`_radioBtnInput_e4gpr_13`,radioBtnAvatar:`_radioBtnAvatar_e4gpr_16`,radioBtnText:`_radioBtnText_e4gpr_23`,radioBtnCircle:`_radioBtnCircle_e4gpr_27`,radioBtnChecked:`_radioBtnChecked_e4gpr_30`,radioBtnCircleInside:`_radioBtnCircleInside_e4gpr_33`};e.AutoComplete=H,e.AutoCompleteOption=W,e.AutoCompleteOptions=U,e.Button=b,e.Checkbox=C,e.ColorsService=y,e.MultiLineInput=T,e.MultiSelect=k,e.MultiSelectWithCount=j,e.Phone=te,e.ProgressBar=Y,e.QuickMultiSelect=N,e.QuickSelect=ee,e.Radio=({themeColor:e,name:t,checked:r,onChange:i,option:a})=>{let o=e?.toLowerCase()===`#ffffff`?`#c8c8c8`:e,s=e=>{i(e)};return(0,n.jsx)(`div`,{className:X.radioWrapper,children:(0,n.jsx)(`div`,{className:X.radioBtnBox,children:(0,n.jsxs)(`label`,{htmlFor:a.value,className:X.radioBtnLabel,children:[(0,n.jsxs)(`div`,{className:X.radioBtnInsideLabel,children:[(0,n.jsx)(`input`,{type:`radio`,id:a.value,name:t,value:a.value,checked:r,onChange:()=>s(a),className:X.radioBtnInput}),(0,n.jsx)(`span`,{className:`${X.radioBtnCircle} ${r?X.radioBtnChecked:``}`,style:{borderColor:r?o:`#C8C8C8`},children:r&&(0,n.jsx)(`span`,{className:X.radioBtnCircleInside,style:{backgroundColor:o}})})]}),a.avatar&&(0,n.jsx)(`div`,{className:X.radioBtnAvatar,children:(0,n.jsx)(`img`,{"aria-hidden":!0,src:a.avatar,width:20,height:20,alt:`Location icon`,className:X.radioBtnAvatarImg})}),(0,n.jsx)(`div`,{className:X.radioBtnText,children:a.label})]})})})},e.Scrollbar=I,e.Select=R,e.SelectOption=B,e.SelectOptions=z,e.SingleLineInput=K});
25
25
  //# sourceMappingURL=ui-react.umd.js.map