@oncehub/ui-react 1.5.0-beta.1.2 → 1.5.0-beta.1.3
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.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './progress-bar';
|
package/dist/ui-react.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode("*,:before,:after{--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: rgb(59 130 246 / .5);--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: }::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: rgb(59 130 246 / .5);--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{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.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;display:flex;cursor:pointer;align-items:center;justify-content:center;border-width:1px;border-style:solid;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)}._button_1q2ge_1:hover{text-decoration-line:underline}._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{border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(0 107 177 / var(--tw-bg-opacity, 1));font-weight:500;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));outline-color:#006bb1}._primary_1q2ge_5:focus{outline-width:2px;outline-offset:3px}._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));font-weight:400;--tw-text-opacity: 1;color:rgb(0 107 177 / var(--tw-text-opacity, 1))}._secondary_1q2ge_12:hover{border-color:transparent;outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._secondary_1q2ge_12:focus{border-color:transparent;outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#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{outline-width:0px}._secondary_1q2ge_12:disabled:focus{outline-width:0px}._small_1q2ge_19{min-height:35px;min-width:70px;padding:4px 22px;font-size:.875rem;line-height:1.25rem;line-height:22px}._small_1q2ge_19._rounded_1q2ge_22{border-radius:18px}._medium_1q2ge_26{min-height:40px;min-width:74px;padding:7px 22px;font-size:.875rem;line-height:1.25rem;line-height:22px}._medium_1q2ge_26._rounded_1q2ge_22{border-radius:20px}._large_1q2ge_33{min-height:44px;min-width:94px;padding-left:1.5rem;padding-right:1.5rem;padding-top:8px;padding-bottom:8px;font-size:1rem;line-height:1.5rem;line-height:24px}._large_1q2ge_33._rounded_1q2ge_22{border-radius:22px}._squared_1q2ge_40{border-radius:.25rem}._checkboxLayout_bt7qx_1{display:inline-flex;width:100%;align-items:center;white-space:nowrap;vertical-align:middle}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4{display:flex;width:100%;cursor:pointer;align-items:baseline;gap:.5rem;font-size:.875rem;line-height:1.25rem;line-height:22px;letter-spacing:0;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4>span{white-space:normal;font-size:.875rem;line-height:1.25rem;line-height:22px;letter-spacing:0;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10{position:relative;top:2px;display:inline-block;height:1rem;width:1rem;flex-shrink:0;cursor:pointer;white-space:nowrap;border-width:0px;vertical-align:middle;line-height:0;--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);outline-width:0px}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxInput_bt7qx_13{position:absolute;bottom:0;left:0;height:0px;width:0px;appearance:none;border-width:0px;padding:0;opacity:0;outline-width:0px}._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{animation:.18s linear 0ms _checkboxUncheckedChecked_bt7qx_1;stroke-dashoffset:0}._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{position:absolute;inset:0;box-sizing:border-box;border-radius:3px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(156 156 156 / var(--tw-border-opacity, 1));background-color:transparent}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxFrame_bt7qx_16 ._checkboxCheckMark_bt7qx_19{position:absolute;inset:0;width:100%}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxFrame_bt7qx_16 ._checkboxCheckMark_bt7qx_19 ._checkboxCheckMarkPath_bt7qx_22{stroke-width:3px;stroke-dashoffset:23;stroke-dasharray:23}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10:focus-visible ._checkboxFrame_bt7qx_16{outline-style:solid;outline-width:2px;outline-offset:-1px;outline-color:#006bb1}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._visuallyHidden_bt7qx_43{position:absolute;width:0px;height:0px;margin:0;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}._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{height:1rem;width: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{top:4px;height:1.25rem;width:1.25rem}@keyframes _checkboxUncheckedChecked_bt7qx_1{0%,50%{stroke-dashoffset:23}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;display:block;height:2.5rem;max-height:225px;width:100%;resize:none;border-width:0px;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(51 51 51 / var(--tw-border-opacity, 1));padding-left:10px;padding-right:10px;padding-bottom:.5rem;padding-top:7px;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1));outline:2px solid transparent;outline-offset:2px}._textInputWrapper_1i9m6_1 ._textInput_1i9m6_1:focus{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));padding-bottom:7px}._multiSelectContainer_lh9wi_1,._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4{position:relative;width:100%}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7{position:relative;height:2.5rem;width:100%}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7{box-sizing:border-box;display:block;height:100%;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-width:0px;border-bottom-width:1px;border-style:solid;--tw-border-opacity: 1;border-bottom-color:rgb(51 51 51 / var(--tw-border-opacity, 1));padding-bottom:.5rem;padding-left:10px;padding-right:2.75rem;padding-top:.5rem;font-size:1rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._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:2px solid transparent;outline-offset:2px}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7:focus{border-bottom-width:2px;--tw-border-opacity: 1;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:2px solid transparent;outline-offset:2px}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7._focused_lh9wi_13{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));padding-bottom:7px;outline:2px solid transparent;outline-offset:2px}._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{position:absolute;right:.5rem;top:50%;display:flex;height:100%;width:1.75rem;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));cursor:pointer;align-items:center;justify-content:center}._optionsListContainer_lh9wi_23{position:absolute;z-index:10;margin-top:0;max-height:293px;width:100%;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding-bottom:4rem;font-size:.875rem;line-height:1.25rem;line-height:22px;--tw-shadow: 0 1px 6px 0 rgba(0,0,0,.5);--tw-shadow-colored: 0 1px 6px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}._optionsListContainer_lh9wi_23:focus{outline:2px solid transparent;outline-offset:2px}._optionsListContainer_lh9wi_23._top_lh9wi_26{transform:translateY(calc(-100% - 40px))}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29{max-height:225px;overflow:auto;padding-top:1rem;padding-bottom:1rem}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._searchInputWrap_lh9wi_32{margin-bottom:.5rem;height:2.5rem;padding-left:10px;padding-right:10px}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._searchInputWrap_lh9wi_32 ._searchInput_lh9wi_32{box-sizing:border-box;height:100%;width:100%;padding-top:.5rem;padding-bottom:.5rem;padding-left:10px;outline-style:solid;outline-width:1px;outline-offset:-2px;outline-color:#c8c8c8}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ul{margin:0;padding:0}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._optionsList_lh9wi_23{box-sizing:border-box;display:flex;list-style-type:none;align-items:flex-start;gap:.5rem;padding-left:10px;padding-right:10px;padding-top:.5rem;padding-bottom:.5rem}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._optionsList_lh9wi_23 span{word-break:break-word;display:block;width:calc(100% - 22px);overflow-wrap:break-word;font-size:.875rem;line-height:1.25rem;line-height:22px}._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{position:absolute;left:0;right:0;box-sizing:border-box;display:flex;height:64px;width:100%;align-items:center;justify-content:flex-end;border-width:0px;border-top-width:1px;border-style:solid;--tw-border-opacity: 1;border-top-color:rgb(200 200 200 / var(--tw-border-opacity, 1));padding-left:18px;padding-right:18px}._optionsListContainer_lh9wi_23 ._btnContainer_lh9wi_54 ._hiddenButton_lh9wi_57{position:absolute;left:-9999px;height:0px;width:0px;opacity:0}._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;height:0px;overflow:hidden;opacity:0}._pseudoCheckbox_z8j4c_1{position:relative;top:3px;box-sizing:border-box;height:1rem;width:1rem;border-radius:3px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(156 156 156 / var(--tw-border-opacity, 1))}._pseudoCheckbox_z8j4c_1 ._checkboxCheckMark_z8j4c_4{position:absolute;inset:0;width:100%}._pseudoCheckbox_z8j4c_1 ._checkboxCheckMark_z8j4c_4 ._checkboxCheckMarkPath_z8j4c_7{stroke-width:3px;stroke-dashoffset:23;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{animation:.18s linear 0ms _checkboxUncheckedChecked_z8j4c_1;stroke-dashoffset:0}._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:23}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}to{stroke-dashoffset:0}}._multiSelectContainer_1rhxq_1{position:relative}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4{margin-right:-.75rem;display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li{word-break:break-word;position:relative;box-sizing:border-box;display:inline-flex;min-width:80px;cursor:pointer;list-style-type:none;align-items:center;overflow-wrap:break-word;border-radius:4px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));background-color:transparent;padding:8px 14px;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(0 107 177 / var(--tw-text-opacity, 1))}._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-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#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;text-decoration-line:none!important;outline-width:0px!important}._singleSelectWrapper_1x2o4_1{position:relative}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4{display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li{position:relative;box-sizing:border-box;display:inline-flex;min-height:44px;min-width:80px;cursor:pointer;list-style-type:none;align-items:center;word-break:break-all;border-radius:4px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));background-color:transparent;padding-left:1.5rem;padding-right:1.5rem;padding-top:9px;padding-bottom:9px;text-align:center;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(0 107 177 / var(--tw-text-opacity, 1))}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li:hover,._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li:focus-visible,._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li._selected_1x2o4_10{outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li:hover,._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li:focus-visible{text-decoration-line:underline}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16{position:absolute;right:0;top:0;display:inline-block;height:0px;width:0px;border-width:11px;border-style:solid;border-bottom-color:transparent;border-left-color:transparent;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))}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16 ._loader_1x2o4_19{position:absolute;left:0;top:-10px;height:10px;width:10px}@keyframes _tw-spin_1x2o4_1{to{transform:rotate(360deg)}}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16 ._loader_1x2o4_19{animation:_tw-spin_1x2o4_1 1s linear infinite;border-radius:50%;border-width:2px;border-style:solid;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))}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16 ._checkmarkWrap_1x2o4_22{position:absolute;left:-1px;top:-9px}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16 ._checkmarkWrap_1x2o4_22 ._checkmark_1x2o4_22{display:block;animation:_fill_1x2o4_1 .4s ease-in-out .4s forwards,_scale_1x2o4_1 .3s ease-in-out .9s both;border-radius:50%;--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}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16 ._checkmarkWrap_1x2o4_22 ._checkmark_1x2o4_22 ._checkmarkCheck_1x2o4_29{transform-origin:50% 50%;animation:_stroke_1x2o4_1 .8s cubic-bezier(.5,0,.45,1) .2s forwards;stroke-dasharray:48;stroke-dashoffset:48}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li._disabled_1x2o4_34{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;text-decoration-line:none!important;outline-width:0px!important}@keyframes _scale_1x2o4_1{0%,to{transform:none}50%{transform:scale3d(1.1,1.1,1)}}@keyframes _fill_1x2o4_1{to{box-shadow:inset 0 0 0 30px transparent}}@keyframes _stroke_1x2o4_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{background-color:#ccc!important;border:2px #fff solid;border-radius:15px}._scrollbarContainer_40vsr_1{@supports not selector(::-webkit-scrollbar){scrollbar-width:thin;scrollbar-color:#ccc #0000}}._select_c79hj_1,._select_c79hj_1 ._selectContainer_c79hj_4{position:relative}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7{position:relative;box-sizing:border-box;height:2.5rem;width:100%;cursor:pointer;border-left-width:0px;border-right-width:0px;border-bottom-width:1px;border-top-width:1px;border-style:solid;border-top-color:transparent;--tw-border-opacity: 1;border-bottom-color:rgb(51 51 51 / var(--tw-border-opacity, 1));background-color:transparent;padding-top:.375rem;padding-bottom:.375rem;padding-left:10px;padding-right:2rem;text-align:left;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7:focus{border-bottom-width:2px;border-top-width:2px;--tw-border-opacity: 1;border-bottom-color:rgb(0 107 177 / var(--tw-border-opacity, 1));padding-top:5px;padding-bottom:5px;outline:2px solid transparent;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)}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7._open_c79hj_13{border-bottom-width:2px;border-top-width:2px;--tw-border-opacity: 1;border-bottom-color:rgb(0 107 177 / var(--tw-border-opacity, 1))}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._selectValue_c79hj_16{display:flex;align-items:center}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._selectValue_c79hj_16 ._seletIcon_c79hj_19{margin-right:.5rem;height:1.25rem;width:1.25rem;flex-shrink:0}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._selectValue_c79hj_16 ._selectText_c79hj_22{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._chevronDownIconSpan_c79hj_25{pointer-events:none;position:absolute;top:0;bottom:0;right:0;display:flex;align-items:center;padding-right:.5rem}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._chevronDownIconSpan_c79hj_25 ._chevronDownIcon_c79hj_25{height:1.25rem;width:1.25rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._leave_c79hj_32{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,1,1)}._leaveFrom_c79hj_36{opacity:1}._leaveTo_c79hj_40{opacity:0}._selectOptions_c79hj_44{margin:0;max-height:200px;width:100%;list-style-type:none;overflow:auto;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:10px 0;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 1px 6px 0 rgba(0,0,0,.5);--tw-shadow-colored: 0 1px 6px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 640px){._selectOptions_c79hj_44{font-size:.875rem;line-height:1.25rem}}._selectOptions_c79hj_44::-webkit-scrollbar-thumb{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(169 169 169 / var(--tw-bg-opacity, 1))}._selectOptions_c79hj_44::-webkit-scrollbar{width:6px}._selectOptions_c79hj_44:focus{outline:2px solid transparent;outline-offset:2px}._autocomplete_1uhaj_1{position:relative}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4{position:relative;height:2.5rem;width:100%;cursor:default;overflow:hidden;background-color:transparent;text-align:left;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4._disable_1uhaj_7{--tw-text-opacity: 1;color:rgb(167 167 167 / var(--tw-text-opacity, 1))}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4:focus{outline:2px solid transparent;outline-offset:2px}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_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_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteInput_1uhaj_16{box-sizing:border-box;height:100%;width:100%;border-width:0px;border-bottom-width:1px;--tw-border-opacity: 1;border-bottom-color:rgb(51 51 51 / var(--tw-border-opacity, 1));background-color:transparent;padding-bottom:.5rem;padding-left:10px;padding-right:2.5rem;padding-top:.5rem;font-size:1rem;line-height:1.25rem}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteInput_1uhaj_16::placeholder{--tw-placeholder-opacity: 1;color:rgb(102 102 102 / var(--tw-placeholder-opacity, 1))}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteInput_1uhaj_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_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteInput_1uhaj_16:focus{border-bottom-width:2px;--tw-border-opacity: 1;border-bottom-color:rgb(0 107 177 / var(--tw-border-opacity, 1));padding-bottom:7px;outline:2px solid transparent;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)}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteInput_1uhaj_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_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteButton_1uhaj_25{position:absolute;top:0;bottom:0;right:0;display:flex;align-items:center;border-width:0px;background-color:transparent;padding-right:.5rem}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteButton_1uhaj_25 ._chevronDownIcon_1uhaj_28{height:1.25rem;width:1.25rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteButton_1uhaj_25 ._chevronDownIcon_1uhaj_28._disable_1uhaj_7{--tw-text-opacity: 1;color:rgb(167 167 167 / var(--tw-text-opacity, 1))}._leave_1uhaj_35{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,1,1)}._leaveFrom_1uhaj_39{opacity:1}._leaveTo_1uhaj_43{opacity:0}._autocompleteOptions_1uhaj_47{margin:0;max-height:210px;width:100%;list-style-type:none;overflow:auto;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:10px 0;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 1px 6px 0 rgba(0,0,0,.5);--tw-shadow-colored: 0 1px 6px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 640px){._autocompleteOptions_1uhaj_47{font-size:.875rem;line-height:1.25rem}}._autocompleteOptions_1uhaj_47::-webkit-scrollbar-thumb{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(169 169 169 / var(--tw-bg-opacity, 1))}._autocompleteOptions_1uhaj_47::-webkit-scrollbar{width:6px}._autocompleteOptions_1uhaj_47:focus{outline:2px solid transparent;outline-offset:2px}._textInputWrapper_gym4n_1{width:100%}._textInputWrapper_gym4n_1 ._textInput_gym4n_1{display:block;height:2.5rem;width:100%;border-width:0px;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(51 51 51 / var(--tw-border-opacity, 1));padding-left:10px;padding-right:10px;padding-bottom:.5rem;padding-top:7px;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1));outline:2px solid transparent;outline-offset:2px}._textInputWrapper_gym4n_1 ._textInput_gym4n_1:focus{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));padding-bottom:7px}")),document.head.appendChild(t)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode("*,:before,:after{--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: rgb(59 130 246 / .5);--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: }::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: rgb(59 130 246 / .5);--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{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.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;display:flex;cursor:pointer;align-items:center;justify-content:center;border-width:1px;border-style:solid;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)}._button_1q2ge_1:hover{text-decoration-line:underline}._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{border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(0 107 177 / var(--tw-bg-opacity, 1));font-weight:500;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));outline-color:#006bb1}._primary_1q2ge_5:focus{outline-width:2px;outline-offset:3px}._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));font-weight:400;--tw-text-opacity: 1;color:rgb(0 107 177 / var(--tw-text-opacity, 1))}._secondary_1q2ge_12:hover{border-color:transparent;outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._secondary_1q2ge_12:focus{border-color:transparent;outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#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{outline-width:0px}._secondary_1q2ge_12:disabled:focus{outline-width:0px}._small_1q2ge_19{min-height:35px;min-width:70px;padding:4px 22px;font-size:.875rem;line-height:1.25rem;line-height:22px}._small_1q2ge_19._rounded_1q2ge_22{border-radius:18px}._medium_1q2ge_26{min-height:40px;min-width:74px;padding:7px 22px;font-size:.875rem;line-height:1.25rem;line-height:22px}._medium_1q2ge_26._rounded_1q2ge_22{border-radius:20px}._large_1q2ge_33{min-height:44px;min-width:94px;padding-left:1.5rem;padding-right:1.5rem;padding-top:8px;padding-bottom:8px;font-size:1rem;line-height:1.5rem;line-height:24px}._large_1q2ge_33._rounded_1q2ge_22{border-radius:22px}._squared_1q2ge_40{border-radius:.25rem}._checkboxLayout_bt7qx_1{display:inline-flex;width:100%;align-items:center;white-space:nowrap;vertical-align:middle}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4{display:flex;width:100%;cursor:pointer;align-items:baseline;gap:.5rem;font-size:.875rem;line-height:1.25rem;line-height:22px;letter-spacing:0;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4>span{white-space:normal;font-size:.875rem;line-height:1.25rem;line-height:22px;letter-spacing:0;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10{position:relative;top:2px;display:inline-block;height:1rem;width:1rem;flex-shrink:0;cursor:pointer;white-space:nowrap;border-width:0px;vertical-align:middle;line-height:0;--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);outline-width:0px}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxInput_bt7qx_13{position:absolute;bottom:0;left:0;height:0px;width:0px;appearance:none;border-width:0px;padding:0;opacity:0;outline-width:0px}._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{animation:.18s linear 0ms _checkboxUncheckedChecked_bt7qx_1;stroke-dashoffset:0}._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{position:absolute;inset:0;box-sizing:border-box;border-radius:3px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(156 156 156 / var(--tw-border-opacity, 1));background-color:transparent}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxFrame_bt7qx_16 ._checkboxCheckMark_bt7qx_19{position:absolute;inset:0;width:100%}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxFrame_bt7qx_16 ._checkboxCheckMark_bt7qx_19 ._checkboxCheckMarkPath_bt7qx_22{stroke-width:3px;stroke-dashoffset:23;stroke-dasharray:23}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10:focus-visible ._checkboxFrame_bt7qx_16{outline-style:solid;outline-width:2px;outline-offset:-1px;outline-color:#006bb1}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._visuallyHidden_bt7qx_43{position:absolute;width:0px;height:0px;margin:0;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}._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{height:1rem;width: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{top:4px;height:1.25rem;width:1.25rem}@keyframes _checkboxUncheckedChecked_bt7qx_1{0%,50%{stroke-dashoffset:23}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;display:block;height:2.5rem;max-height:225px;width:100%;resize:none;border-width:0px;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(51 51 51 / var(--tw-border-opacity, 1));padding-left:10px;padding-right:10px;padding-bottom:.5rem;padding-top:7px;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1));outline:2px solid transparent;outline-offset:2px}._textInputWrapper_1i9m6_1 ._textInput_1i9m6_1:focus{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));padding-bottom:7px}._multiSelectContainer_lh9wi_1,._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4{position:relative;width:100%}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7{position:relative;height:2.5rem;width:100%}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7{box-sizing:border-box;display:block;height:100%;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-width:0px;border-bottom-width:1px;border-style:solid;--tw-border-opacity: 1;border-bottom-color:rgb(51 51 51 / var(--tw-border-opacity, 1));padding-bottom:.5rem;padding-left:10px;padding-right:2.75rem;padding-top:.5rem;font-size:1rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._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:2px solid transparent;outline-offset:2px}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7:focus{border-bottom-width:2px;--tw-border-opacity: 1;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:2px solid transparent;outline-offset:2px}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7._focused_lh9wi_13{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));padding-bottom:7px;outline:2px solid transparent;outline-offset:2px}._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{position:absolute;right:.5rem;top:50%;display:flex;height:100%;width:1.75rem;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));cursor:pointer;align-items:center;justify-content:center}._optionsListContainer_lh9wi_23{position:absolute;z-index:10;margin-top:0;max-height:293px;width:100%;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding-bottom:4rem;font-size:.875rem;line-height:1.25rem;line-height:22px;--tw-shadow: 0 1px 6px 0 rgba(0,0,0,.5);--tw-shadow-colored: 0 1px 6px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}._optionsListContainer_lh9wi_23:focus{outline:2px solid transparent;outline-offset:2px}._optionsListContainer_lh9wi_23._top_lh9wi_26{transform:translateY(calc(-100% - 40px))}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29{max-height:225px;overflow:auto;padding-top:1rem;padding-bottom:1rem}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._searchInputWrap_lh9wi_32{margin-bottom:.5rem;height:2.5rem;padding-left:10px;padding-right:10px}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._searchInputWrap_lh9wi_32 ._searchInput_lh9wi_32{box-sizing:border-box;height:100%;width:100%;padding-top:.5rem;padding-bottom:.5rem;padding-left:10px;outline-style:solid;outline-width:1px;outline-offset:-2px;outline-color:#c8c8c8}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ul{margin:0;padding:0}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._optionsList_lh9wi_23{box-sizing:border-box;display:flex;list-style-type:none;align-items:flex-start;gap:.5rem;padding-left:10px;padding-right:10px;padding-top:.5rem;padding-bottom:.5rem}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._optionsList_lh9wi_23 span{word-break:break-word;display:block;width:calc(100% - 22px);overflow-wrap:break-word;font-size:.875rem;line-height:1.25rem;line-height:22px}._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{position:absolute;left:0;right:0;box-sizing:border-box;display:flex;height:64px;width:100%;align-items:center;justify-content:flex-end;border-width:0px;border-top-width:1px;border-style:solid;--tw-border-opacity: 1;border-top-color:rgb(200 200 200 / var(--tw-border-opacity, 1));padding-left:18px;padding-right:18px}._optionsListContainer_lh9wi_23 ._btnContainer_lh9wi_54 ._hiddenButton_lh9wi_57{position:absolute;left:-9999px;height:0px;width:0px;opacity:0}._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;height:0px;overflow:hidden;opacity:0}._pseudoCheckbox_z8j4c_1{position:relative;top:3px;box-sizing:border-box;height:1rem;width:1rem;border-radius:3px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(156 156 156 / var(--tw-border-opacity, 1))}._pseudoCheckbox_z8j4c_1 ._checkboxCheckMark_z8j4c_4{position:absolute;inset:0;width:100%}._pseudoCheckbox_z8j4c_1 ._checkboxCheckMark_z8j4c_4 ._checkboxCheckMarkPath_z8j4c_7{stroke-width:3px;stroke-dashoffset:23;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{animation:.18s linear 0ms _checkboxUncheckedChecked_z8j4c_1;stroke-dashoffset:0}._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:23}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}to{stroke-dashoffset:0}}._multiSelectContainer_1rhxq_1{position:relative}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4{margin-right:-.75rem;display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li{word-break:break-word;position:relative;box-sizing:border-box;display:inline-flex;min-width:80px;cursor:pointer;list-style-type:none;align-items:center;overflow-wrap:break-word;border-radius:4px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));background-color:transparent;padding:8px 14px;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(0 107 177 / var(--tw-text-opacity, 1))}._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-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#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;text-decoration-line:none!important;outline-width:0px!important}._singleSelectWrapper_1x2o4_1{position:relative}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4{display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li{position:relative;box-sizing:border-box;display:inline-flex;min-height:44px;min-width:80px;cursor:pointer;list-style-type:none;align-items:center;word-break:break-all;border-radius:4px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));background-color:transparent;padding-left:1.5rem;padding-right:1.5rem;padding-top:9px;padding-bottom:9px;text-align:center;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(0 107 177 / var(--tw-text-opacity, 1))}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li:hover,._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li:focus-visible,._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li._selected_1x2o4_10{outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li:hover,._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li:focus-visible{text-decoration-line:underline}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16{position:absolute;right:0;top:0;display:inline-block;height:0px;width:0px;border-width:11px;border-style:solid;border-bottom-color:transparent;border-left-color:transparent;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))}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16 ._loader_1x2o4_19{position:absolute;left:0;top:-10px;height:10px;width:10px}@keyframes _tw-spin_1x2o4_1{to{transform:rotate(360deg)}}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16 ._loader_1x2o4_19{animation:_tw-spin_1x2o4_1 1s linear infinite;border-radius:50%;border-width:2px;border-style:solid;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))}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16 ._checkmarkWrap_1x2o4_22{position:absolute;left:-1px;top:-9px}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16 ._checkmarkWrap_1x2o4_22 ._checkmark_1x2o4_22{display:block;animation:_fill_1x2o4_1 .4s ease-in-out .4s forwards,_scale_1x2o4_1 .3s ease-in-out .9s both;border-radius:50%;--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}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16 ._checkmarkWrap_1x2o4_22 ._checkmark_1x2o4_22 ._checkmarkCheck_1x2o4_29{transform-origin:50% 50%;animation:_stroke_1x2o4_1 .8s cubic-bezier(.5,0,.45,1) .2s forwards;stroke-dasharray:48;stroke-dashoffset:48}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li._disabled_1x2o4_34{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;text-decoration-line:none!important;outline-width:0px!important}@keyframes _scale_1x2o4_1{0%,to{transform:none}50%{transform:scale3d(1.1,1.1,1)}}@keyframes _fill_1x2o4_1{to{box-shadow:inset 0 0 0 30px transparent}}@keyframes _stroke_1x2o4_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{background-color:#ccc!important;border:2px #fff solid;border-radius:15px}._scrollbarContainer_40vsr_1{@supports not selector(::-webkit-scrollbar){scrollbar-width:thin;scrollbar-color:#ccc #0000}}._select_c79hj_1,._select_c79hj_1 ._selectContainer_c79hj_4{position:relative}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7{position:relative;box-sizing:border-box;height:2.5rem;width:100%;cursor:pointer;border-left-width:0px;border-right-width:0px;border-bottom-width:1px;border-top-width:1px;border-style:solid;border-top-color:transparent;--tw-border-opacity: 1;border-bottom-color:rgb(51 51 51 / var(--tw-border-opacity, 1));background-color:transparent;padding-top:.375rem;padding-bottom:.375rem;padding-left:10px;padding-right:2rem;text-align:left;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7:focus{border-bottom-width:2px;border-top-width:2px;--tw-border-opacity: 1;border-bottom-color:rgb(0 107 177 / var(--tw-border-opacity, 1));padding-top:5px;padding-bottom:5px;outline:2px solid transparent;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)}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7._open_c79hj_13{border-bottom-width:2px;border-top-width:2px;--tw-border-opacity: 1;border-bottom-color:rgb(0 107 177 / var(--tw-border-opacity, 1))}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._selectValue_c79hj_16{display:flex;align-items:center}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._selectValue_c79hj_16 ._seletIcon_c79hj_19{margin-right:.5rem;height:1.25rem;width:1.25rem;flex-shrink:0}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._selectValue_c79hj_16 ._selectText_c79hj_22{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._chevronDownIconSpan_c79hj_25{pointer-events:none;position:absolute;top:0;bottom:0;right:0;display:flex;align-items:center;padding-right:.5rem}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._chevronDownIconSpan_c79hj_25 ._chevronDownIcon_c79hj_25{height:1.25rem;width:1.25rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._leave_c79hj_32{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,1,1)}._leaveFrom_c79hj_36{opacity:1}._leaveTo_c79hj_40{opacity:0}._selectOptions_c79hj_44{margin:0;max-height:200px;width:100%;list-style-type:none;overflow:auto;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:10px 0;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 1px 6px 0 rgba(0,0,0,.5);--tw-shadow-colored: 0 1px 6px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 640px){._selectOptions_c79hj_44{font-size:.875rem;line-height:1.25rem}}._selectOptions_c79hj_44::-webkit-scrollbar-thumb{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(169 169 169 / var(--tw-bg-opacity, 1))}._selectOptions_c79hj_44::-webkit-scrollbar{width:6px}._selectOptions_c79hj_44:focus{outline:2px solid transparent;outline-offset:2px}._autocomplete_1uhaj_1{position:relative}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4{position:relative;height:2.5rem;width:100%;cursor:default;overflow:hidden;background-color:transparent;text-align:left;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4._disable_1uhaj_7{--tw-text-opacity: 1;color:rgb(167 167 167 / var(--tw-text-opacity, 1))}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4:focus{outline:2px solid transparent;outline-offset:2px}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_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_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteInput_1uhaj_16{box-sizing:border-box;height:100%;width:100%;border-width:0px;border-bottom-width:1px;--tw-border-opacity: 1;border-bottom-color:rgb(51 51 51 / var(--tw-border-opacity, 1));background-color:transparent;padding-bottom:.5rem;padding-left:10px;padding-right:2.5rem;padding-top:.5rem;font-size:1rem;line-height:1.25rem}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteInput_1uhaj_16::placeholder{--tw-placeholder-opacity: 1;color:rgb(102 102 102 / var(--tw-placeholder-opacity, 1))}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteInput_1uhaj_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_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteInput_1uhaj_16:focus{border-bottom-width:2px;--tw-border-opacity: 1;border-bottom-color:rgb(0 107 177 / var(--tw-border-opacity, 1));padding-bottom:7px;outline:2px solid transparent;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)}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteInput_1uhaj_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_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteButton_1uhaj_25{position:absolute;top:0;bottom:0;right:0;display:flex;align-items:center;border-width:0px;background-color:transparent;padding-right:.5rem}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteButton_1uhaj_25 ._chevronDownIcon_1uhaj_28{height:1.25rem;width:1.25rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteButton_1uhaj_25 ._chevronDownIcon_1uhaj_28._disable_1uhaj_7{--tw-text-opacity: 1;color:rgb(167 167 167 / var(--tw-text-opacity, 1))}._leave_1uhaj_35{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,1,1)}._leaveFrom_1uhaj_39{opacity:1}._leaveTo_1uhaj_43{opacity:0}._autocompleteOptions_1uhaj_47{margin:0;max-height:210px;width:100%;list-style-type:none;overflow:auto;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:10px 0;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 1px 6px 0 rgba(0,0,0,.5);--tw-shadow-colored: 0 1px 6px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 640px){._autocompleteOptions_1uhaj_47{font-size:.875rem;line-height:1.25rem}}._autocompleteOptions_1uhaj_47::-webkit-scrollbar-thumb{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(169 169 169 / var(--tw-bg-opacity, 1))}._autocompleteOptions_1uhaj_47::-webkit-scrollbar{width:6px}._autocompleteOptions_1uhaj_47:focus{outline:2px solid transparent;outline-offset:2px}._textInputWrapper_gym4n_1{width:100%}._textInputWrapper_gym4n_1 ._textInput_gym4n_1{display:block;height:2.5rem;width:100%;border-width:0px;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(51 51 51 / var(--tw-border-opacity, 1));padding-left:10px;padding-right:10px;padding-bottom:.5rem;padding-top:7px;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1));outline:2px solid transparent;outline-offset:2px}._textInputWrapper_gym4n_1 ._textInput_gym4n_1:focus{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));padding-bottom:7px}._progress_1k1zg_1{position:relative;overflow:hidden;max-width:100%;min-width:260px;margin:0 auto}._progress-bar_1k1zg_9{position:absolute;display:block;left:-200px;width:200px;animation-duration:2s;animation-timing-function:linear;animation-iteration-count:infinite}")),document.head.appendChild(t)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
2
2
|
import * as j from "react";
|
|
3
3
|
import z, { forwardRef as ht, useState as ne, useEffect as ce, useRef as L, useCallback as ge, useMemo as he, useLayoutEffect as br, createContext as Te, useContext as Ee, Fragment as Ve, isValidElement as Jl, cloneElement as Zl, createElement as es, useId as st, useReducer as gr, useSyncExternalStore as ts, createRef as Co } from "react";
|
|
4
4
|
import * as gn from "react-dom";
|
package/dist/ui-react.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode("*,:before,:after{--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: rgb(59 130 246 / .5);--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: }::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: rgb(59 130 246 / .5);--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{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.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;display:flex;cursor:pointer;align-items:center;justify-content:center;border-width:1px;border-style:solid;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)}._button_1q2ge_1:hover{text-decoration-line:underline}._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{border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(0 107 177 / var(--tw-bg-opacity, 1));font-weight:500;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));outline-color:#006bb1}._primary_1q2ge_5:focus{outline-width:2px;outline-offset:3px}._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));font-weight:400;--tw-text-opacity: 1;color:rgb(0 107 177 / var(--tw-text-opacity, 1))}._secondary_1q2ge_12:hover{border-color:transparent;outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._secondary_1q2ge_12:focus{border-color:transparent;outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#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{outline-width:0px}._secondary_1q2ge_12:disabled:focus{outline-width:0px}._small_1q2ge_19{min-height:35px;min-width:70px;padding:4px 22px;font-size:.875rem;line-height:1.25rem;line-height:22px}._small_1q2ge_19._rounded_1q2ge_22{border-radius:18px}._medium_1q2ge_26{min-height:40px;min-width:74px;padding:7px 22px;font-size:.875rem;line-height:1.25rem;line-height:22px}._medium_1q2ge_26._rounded_1q2ge_22{border-radius:20px}._large_1q2ge_33{min-height:44px;min-width:94px;padding-left:1.5rem;padding-right:1.5rem;padding-top:8px;padding-bottom:8px;font-size:1rem;line-height:1.5rem;line-height:24px}._large_1q2ge_33._rounded_1q2ge_22{border-radius:22px}._squared_1q2ge_40{border-radius:.25rem}._checkboxLayout_bt7qx_1{display:inline-flex;width:100%;align-items:center;white-space:nowrap;vertical-align:middle}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4{display:flex;width:100%;cursor:pointer;align-items:baseline;gap:.5rem;font-size:.875rem;line-height:1.25rem;line-height:22px;letter-spacing:0;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4>span{white-space:normal;font-size:.875rem;line-height:1.25rem;line-height:22px;letter-spacing:0;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10{position:relative;top:2px;display:inline-block;height:1rem;width:1rem;flex-shrink:0;cursor:pointer;white-space:nowrap;border-width:0px;vertical-align:middle;line-height:0;--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);outline-width:0px}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxInput_bt7qx_13{position:absolute;bottom:0;left:0;height:0px;width:0px;appearance:none;border-width:0px;padding:0;opacity:0;outline-width:0px}._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{animation:.18s linear 0ms _checkboxUncheckedChecked_bt7qx_1;stroke-dashoffset:0}._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{position:absolute;inset:0;box-sizing:border-box;border-radius:3px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(156 156 156 / var(--tw-border-opacity, 1));background-color:transparent}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxFrame_bt7qx_16 ._checkboxCheckMark_bt7qx_19{position:absolute;inset:0;width:100%}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxFrame_bt7qx_16 ._checkboxCheckMark_bt7qx_19 ._checkboxCheckMarkPath_bt7qx_22{stroke-width:3px;stroke-dashoffset:23;stroke-dasharray:23}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10:focus-visible ._checkboxFrame_bt7qx_16{outline-style:solid;outline-width:2px;outline-offset:-1px;outline-color:#006bb1}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._visuallyHidden_bt7qx_43{position:absolute;width:0px;height:0px;margin:0;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}._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{height:1rem;width: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{top:4px;height:1.25rem;width:1.25rem}@keyframes _checkboxUncheckedChecked_bt7qx_1{0%,50%{stroke-dashoffset:23}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;display:block;height:2.5rem;max-height:225px;width:100%;resize:none;border-width:0px;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(51 51 51 / var(--tw-border-opacity, 1));padding-left:10px;padding-right:10px;padding-bottom:.5rem;padding-top:7px;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1));outline:2px solid transparent;outline-offset:2px}._textInputWrapper_1i9m6_1 ._textInput_1i9m6_1:focus{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));padding-bottom:7px}._multiSelectContainer_lh9wi_1,._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4{position:relative;width:100%}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7{position:relative;height:2.5rem;width:100%}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7{box-sizing:border-box;display:block;height:100%;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-width:0px;border-bottom-width:1px;border-style:solid;--tw-border-opacity: 1;border-bottom-color:rgb(51 51 51 / var(--tw-border-opacity, 1));padding-bottom:.5rem;padding-left:10px;padding-right:2.75rem;padding-top:.5rem;font-size:1rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._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:2px solid transparent;outline-offset:2px}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7:focus{border-bottom-width:2px;--tw-border-opacity: 1;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:2px solid transparent;outline-offset:2px}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7._focused_lh9wi_13{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));padding-bottom:7px;outline:2px solid transparent;outline-offset:2px}._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{position:absolute;right:.5rem;top:50%;display:flex;height:100%;width:1.75rem;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));cursor:pointer;align-items:center;justify-content:center}._optionsListContainer_lh9wi_23{position:absolute;z-index:10;margin-top:0;max-height:293px;width:100%;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding-bottom:4rem;font-size:.875rem;line-height:1.25rem;line-height:22px;--tw-shadow: 0 1px 6px 0 rgba(0,0,0,.5);--tw-shadow-colored: 0 1px 6px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}._optionsListContainer_lh9wi_23:focus{outline:2px solid transparent;outline-offset:2px}._optionsListContainer_lh9wi_23._top_lh9wi_26{transform:translateY(calc(-100% - 40px))}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29{max-height:225px;overflow:auto;padding-top:1rem;padding-bottom:1rem}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._searchInputWrap_lh9wi_32{margin-bottom:.5rem;height:2.5rem;padding-left:10px;padding-right:10px}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._searchInputWrap_lh9wi_32 ._searchInput_lh9wi_32{box-sizing:border-box;height:100%;width:100%;padding-top:.5rem;padding-bottom:.5rem;padding-left:10px;outline-style:solid;outline-width:1px;outline-offset:-2px;outline-color:#c8c8c8}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ul{margin:0;padding:0}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._optionsList_lh9wi_23{box-sizing:border-box;display:flex;list-style-type:none;align-items:flex-start;gap:.5rem;padding-left:10px;padding-right:10px;padding-top:.5rem;padding-bottom:.5rem}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._optionsList_lh9wi_23 span{word-break:break-word;display:block;width:calc(100% - 22px);overflow-wrap:break-word;font-size:.875rem;line-height:1.25rem;line-height:22px}._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{position:absolute;left:0;right:0;box-sizing:border-box;display:flex;height:64px;width:100%;align-items:center;justify-content:flex-end;border-width:0px;border-top-width:1px;border-style:solid;--tw-border-opacity: 1;border-top-color:rgb(200 200 200 / var(--tw-border-opacity, 1));padding-left:18px;padding-right:18px}._optionsListContainer_lh9wi_23 ._btnContainer_lh9wi_54 ._hiddenButton_lh9wi_57{position:absolute;left:-9999px;height:0px;width:0px;opacity:0}._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;height:0px;overflow:hidden;opacity:0}._pseudoCheckbox_z8j4c_1{position:relative;top:3px;box-sizing:border-box;height:1rem;width:1rem;border-radius:3px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(156 156 156 / var(--tw-border-opacity, 1))}._pseudoCheckbox_z8j4c_1 ._checkboxCheckMark_z8j4c_4{position:absolute;inset:0;width:100%}._pseudoCheckbox_z8j4c_1 ._checkboxCheckMark_z8j4c_4 ._checkboxCheckMarkPath_z8j4c_7{stroke-width:3px;stroke-dashoffset:23;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{animation:.18s linear 0ms _checkboxUncheckedChecked_z8j4c_1;stroke-dashoffset:0}._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:23}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}to{stroke-dashoffset:0}}._multiSelectContainer_1rhxq_1{position:relative}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4{margin-right:-.75rem;display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li{word-break:break-word;position:relative;box-sizing:border-box;display:inline-flex;min-width:80px;cursor:pointer;list-style-type:none;align-items:center;overflow-wrap:break-word;border-radius:4px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));background-color:transparent;padding:8px 14px;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(0 107 177 / var(--tw-text-opacity, 1))}._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-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#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;text-decoration-line:none!important;outline-width:0px!important}._singleSelectWrapper_1x2o4_1{position:relative}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4{display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li{position:relative;box-sizing:border-box;display:inline-flex;min-height:44px;min-width:80px;cursor:pointer;list-style-type:none;align-items:center;word-break:break-all;border-radius:4px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));background-color:transparent;padding-left:1.5rem;padding-right:1.5rem;padding-top:9px;padding-bottom:9px;text-align:center;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(0 107 177 / var(--tw-text-opacity, 1))}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li:hover,._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li:focus-visible,._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li._selected_1x2o4_10{outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li:hover,._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li:focus-visible{text-decoration-line:underline}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16{position:absolute;right:0;top:0;display:inline-block;height:0px;width:0px;border-width:11px;border-style:solid;border-bottom-color:transparent;border-left-color:transparent;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))}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16 ._loader_1x2o4_19{position:absolute;left:0;top:-10px;height:10px;width:10px}@keyframes _tw-spin_1x2o4_1{to{transform:rotate(360deg)}}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16 ._loader_1x2o4_19{animation:_tw-spin_1x2o4_1 1s linear infinite;border-radius:50%;border-width:2px;border-style:solid;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))}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16 ._checkmarkWrap_1x2o4_22{position:absolute;left:-1px;top:-9px}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16 ._checkmarkWrap_1x2o4_22 ._checkmark_1x2o4_22{display:block;animation:_fill_1x2o4_1 .4s ease-in-out .4s forwards,_scale_1x2o4_1 .3s ease-in-out .9s both;border-radius:50%;--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}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16 ._checkmarkWrap_1x2o4_22 ._checkmark_1x2o4_22 ._checkmarkCheck_1x2o4_29{transform-origin:50% 50%;animation:_stroke_1x2o4_1 .8s cubic-bezier(.5,0,.45,1) .2s forwards;stroke-dasharray:48;stroke-dashoffset:48}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li._disabled_1x2o4_34{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;text-decoration-line:none!important;outline-width:0px!important}@keyframes _scale_1x2o4_1{0%,to{transform:none}50%{transform:scale3d(1.1,1.1,1)}}@keyframes _fill_1x2o4_1{to{box-shadow:inset 0 0 0 30px transparent}}@keyframes _stroke_1x2o4_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{background-color:#ccc!important;border:2px #fff solid;border-radius:15px}._scrollbarContainer_40vsr_1{@supports not selector(::-webkit-scrollbar){scrollbar-width:thin;scrollbar-color:#ccc #0000}}._select_c79hj_1,._select_c79hj_1 ._selectContainer_c79hj_4{position:relative}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7{position:relative;box-sizing:border-box;height:2.5rem;width:100%;cursor:pointer;border-left-width:0px;border-right-width:0px;border-bottom-width:1px;border-top-width:1px;border-style:solid;border-top-color:transparent;--tw-border-opacity: 1;border-bottom-color:rgb(51 51 51 / var(--tw-border-opacity, 1));background-color:transparent;padding-top:.375rem;padding-bottom:.375rem;padding-left:10px;padding-right:2rem;text-align:left;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7:focus{border-bottom-width:2px;border-top-width:2px;--tw-border-opacity: 1;border-bottom-color:rgb(0 107 177 / var(--tw-border-opacity, 1));padding-top:5px;padding-bottom:5px;outline:2px solid transparent;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)}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7._open_c79hj_13{border-bottom-width:2px;border-top-width:2px;--tw-border-opacity: 1;border-bottom-color:rgb(0 107 177 / var(--tw-border-opacity, 1))}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._selectValue_c79hj_16{display:flex;align-items:center}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._selectValue_c79hj_16 ._seletIcon_c79hj_19{margin-right:.5rem;height:1.25rem;width:1.25rem;flex-shrink:0}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._selectValue_c79hj_16 ._selectText_c79hj_22{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._chevronDownIconSpan_c79hj_25{pointer-events:none;position:absolute;top:0;bottom:0;right:0;display:flex;align-items:center;padding-right:.5rem}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._chevronDownIconSpan_c79hj_25 ._chevronDownIcon_c79hj_25{height:1.25rem;width:1.25rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._leave_c79hj_32{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,1,1)}._leaveFrom_c79hj_36{opacity:1}._leaveTo_c79hj_40{opacity:0}._selectOptions_c79hj_44{margin:0;max-height:200px;width:100%;list-style-type:none;overflow:auto;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:10px 0;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 1px 6px 0 rgba(0,0,0,.5);--tw-shadow-colored: 0 1px 6px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 640px){._selectOptions_c79hj_44{font-size:.875rem;line-height:1.25rem}}._selectOptions_c79hj_44::-webkit-scrollbar-thumb{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(169 169 169 / var(--tw-bg-opacity, 1))}._selectOptions_c79hj_44::-webkit-scrollbar{width:6px}._selectOptions_c79hj_44:focus{outline:2px solid transparent;outline-offset:2px}._autocomplete_1uhaj_1{position:relative}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4{position:relative;height:2.5rem;width:100%;cursor:default;overflow:hidden;background-color:transparent;text-align:left;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4._disable_1uhaj_7{--tw-text-opacity: 1;color:rgb(167 167 167 / var(--tw-text-opacity, 1))}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4:focus{outline:2px solid transparent;outline-offset:2px}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_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_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteInput_1uhaj_16{box-sizing:border-box;height:100%;width:100%;border-width:0px;border-bottom-width:1px;--tw-border-opacity: 1;border-bottom-color:rgb(51 51 51 / var(--tw-border-opacity, 1));background-color:transparent;padding-bottom:.5rem;padding-left:10px;padding-right:2.5rem;padding-top:.5rem;font-size:1rem;line-height:1.25rem}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteInput_1uhaj_16::placeholder{--tw-placeholder-opacity: 1;color:rgb(102 102 102 / var(--tw-placeholder-opacity, 1))}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteInput_1uhaj_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_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteInput_1uhaj_16:focus{border-bottom-width:2px;--tw-border-opacity: 1;border-bottom-color:rgb(0 107 177 / var(--tw-border-opacity, 1));padding-bottom:7px;outline:2px solid transparent;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)}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteInput_1uhaj_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_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteButton_1uhaj_25{position:absolute;top:0;bottom:0;right:0;display:flex;align-items:center;border-width:0px;background-color:transparent;padding-right:.5rem}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteButton_1uhaj_25 ._chevronDownIcon_1uhaj_28{height:1.25rem;width:1.25rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteButton_1uhaj_25 ._chevronDownIcon_1uhaj_28._disable_1uhaj_7{--tw-text-opacity: 1;color:rgb(167 167 167 / var(--tw-text-opacity, 1))}._leave_1uhaj_35{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,1,1)}._leaveFrom_1uhaj_39{opacity:1}._leaveTo_1uhaj_43{opacity:0}._autocompleteOptions_1uhaj_47{margin:0;max-height:210px;width:100%;list-style-type:none;overflow:auto;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:10px 0;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 1px 6px 0 rgba(0,0,0,.5);--tw-shadow-colored: 0 1px 6px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 640px){._autocompleteOptions_1uhaj_47{font-size:.875rem;line-height:1.25rem}}._autocompleteOptions_1uhaj_47::-webkit-scrollbar-thumb{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(169 169 169 / var(--tw-bg-opacity, 1))}._autocompleteOptions_1uhaj_47::-webkit-scrollbar{width:6px}._autocompleteOptions_1uhaj_47:focus{outline:2px solid transparent;outline-offset:2px}._textInputWrapper_gym4n_1{width:100%}._textInputWrapper_gym4n_1 ._textInput_gym4n_1{display:block;height:2.5rem;width:100%;border-width:0px;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(51 51 51 / var(--tw-border-opacity, 1));padding-left:10px;padding-right:10px;padding-bottom:.5rem;padding-top:7px;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1));outline:2px solid transparent;outline-offset:2px}._textInputWrapper_gym4n_1 ._textInput_gym4n_1:focus{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));padding-bottom:7px}")),document.head.appendChild(t)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode("*,:before,:after{--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: rgb(59 130 246 / .5);--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: }::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: rgb(59 130 246 / .5);--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{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.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;display:flex;cursor:pointer;align-items:center;justify-content:center;border-width:1px;border-style:solid;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)}._button_1q2ge_1:hover{text-decoration-line:underline}._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{border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(0 107 177 / var(--tw-bg-opacity, 1));font-weight:500;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));outline-color:#006bb1}._primary_1q2ge_5:focus{outline-width:2px;outline-offset:3px}._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));font-weight:400;--tw-text-opacity: 1;color:rgb(0 107 177 / var(--tw-text-opacity, 1))}._secondary_1q2ge_12:hover{border-color:transparent;outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._secondary_1q2ge_12:focus{border-color:transparent;outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#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{outline-width:0px}._secondary_1q2ge_12:disabled:focus{outline-width:0px}._small_1q2ge_19{min-height:35px;min-width:70px;padding:4px 22px;font-size:.875rem;line-height:1.25rem;line-height:22px}._small_1q2ge_19._rounded_1q2ge_22{border-radius:18px}._medium_1q2ge_26{min-height:40px;min-width:74px;padding:7px 22px;font-size:.875rem;line-height:1.25rem;line-height:22px}._medium_1q2ge_26._rounded_1q2ge_22{border-radius:20px}._large_1q2ge_33{min-height:44px;min-width:94px;padding-left:1.5rem;padding-right:1.5rem;padding-top:8px;padding-bottom:8px;font-size:1rem;line-height:1.5rem;line-height:24px}._large_1q2ge_33._rounded_1q2ge_22{border-radius:22px}._squared_1q2ge_40{border-radius:.25rem}._checkboxLayout_bt7qx_1{display:inline-flex;width:100%;align-items:center;white-space:nowrap;vertical-align:middle}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4{display:flex;width:100%;cursor:pointer;align-items:baseline;gap:.5rem;font-size:.875rem;line-height:1.25rem;line-height:22px;letter-spacing:0;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4>span{white-space:normal;font-size:.875rem;line-height:1.25rem;line-height:22px;letter-spacing:0;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10{position:relative;top:2px;display:inline-block;height:1rem;width:1rem;flex-shrink:0;cursor:pointer;white-space:nowrap;border-width:0px;vertical-align:middle;line-height:0;--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);outline-width:0px}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxInput_bt7qx_13{position:absolute;bottom:0;left:0;height:0px;width:0px;appearance:none;border-width:0px;padding:0;opacity:0;outline-width:0px}._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{animation:.18s linear 0ms _checkboxUncheckedChecked_bt7qx_1;stroke-dashoffset:0}._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{position:absolute;inset:0;box-sizing:border-box;border-radius:3px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(156 156 156 / var(--tw-border-opacity, 1));background-color:transparent}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxFrame_bt7qx_16 ._checkboxCheckMark_bt7qx_19{position:absolute;inset:0;width:100%}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxFrame_bt7qx_16 ._checkboxCheckMark_bt7qx_19 ._checkboxCheckMarkPath_bt7qx_22{stroke-width:3px;stroke-dashoffset:23;stroke-dasharray:23}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10:focus-visible ._checkboxFrame_bt7qx_16{outline-style:solid;outline-width:2px;outline-offset:-1px;outline-color:#006bb1}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._visuallyHidden_bt7qx_43{position:absolute;width:0px;height:0px;margin:0;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}._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{height:1rem;width: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{top:4px;height:1.25rem;width:1.25rem}@keyframes _checkboxUncheckedChecked_bt7qx_1{0%,50%{stroke-dashoffset:23}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;display:block;height:2.5rem;max-height:225px;width:100%;resize:none;border-width:0px;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(51 51 51 / var(--tw-border-opacity, 1));padding-left:10px;padding-right:10px;padding-bottom:.5rem;padding-top:7px;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1));outline:2px solid transparent;outline-offset:2px}._textInputWrapper_1i9m6_1 ._textInput_1i9m6_1:focus{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));padding-bottom:7px}._multiSelectContainer_lh9wi_1,._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4{position:relative;width:100%}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7{position:relative;height:2.5rem;width:100%}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7{box-sizing:border-box;display:block;height:100%;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-width:0px;border-bottom-width:1px;border-style:solid;--tw-border-opacity: 1;border-bottom-color:rgb(51 51 51 / var(--tw-border-opacity, 1));padding-bottom:.5rem;padding-left:10px;padding-right:2.75rem;padding-top:.5rem;font-size:1rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._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:2px solid transparent;outline-offset:2px}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7:focus{border-bottom-width:2px;--tw-border-opacity: 1;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:2px solid transparent;outline-offset:2px}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7._focused_lh9wi_13{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));padding-bottom:7px;outline:2px solid transparent;outline-offset:2px}._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{position:absolute;right:.5rem;top:50%;display:flex;height:100%;width:1.75rem;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));cursor:pointer;align-items:center;justify-content:center}._optionsListContainer_lh9wi_23{position:absolute;z-index:10;margin-top:0;max-height:293px;width:100%;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding-bottom:4rem;font-size:.875rem;line-height:1.25rem;line-height:22px;--tw-shadow: 0 1px 6px 0 rgba(0,0,0,.5);--tw-shadow-colored: 0 1px 6px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}._optionsListContainer_lh9wi_23:focus{outline:2px solid transparent;outline-offset:2px}._optionsListContainer_lh9wi_23._top_lh9wi_26{transform:translateY(calc(-100% - 40px))}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29{max-height:225px;overflow:auto;padding-top:1rem;padding-bottom:1rem}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._searchInputWrap_lh9wi_32{margin-bottom:.5rem;height:2.5rem;padding-left:10px;padding-right:10px}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._searchInputWrap_lh9wi_32 ._searchInput_lh9wi_32{box-sizing:border-box;height:100%;width:100%;padding-top:.5rem;padding-bottom:.5rem;padding-left:10px;outline-style:solid;outline-width:1px;outline-offset:-2px;outline-color:#c8c8c8}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ul{margin:0;padding:0}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._optionsList_lh9wi_23{box-sizing:border-box;display:flex;list-style-type:none;align-items:flex-start;gap:.5rem;padding-left:10px;padding-right:10px;padding-top:.5rem;padding-bottom:.5rem}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._optionsList_lh9wi_23 span{word-break:break-word;display:block;width:calc(100% - 22px);overflow-wrap:break-word;font-size:.875rem;line-height:1.25rem;line-height:22px}._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{position:absolute;left:0;right:0;box-sizing:border-box;display:flex;height:64px;width:100%;align-items:center;justify-content:flex-end;border-width:0px;border-top-width:1px;border-style:solid;--tw-border-opacity: 1;border-top-color:rgb(200 200 200 / var(--tw-border-opacity, 1));padding-left:18px;padding-right:18px}._optionsListContainer_lh9wi_23 ._btnContainer_lh9wi_54 ._hiddenButton_lh9wi_57{position:absolute;left:-9999px;height:0px;width:0px;opacity:0}._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;height:0px;overflow:hidden;opacity:0}._pseudoCheckbox_z8j4c_1{position:relative;top:3px;box-sizing:border-box;height:1rem;width:1rem;border-radius:3px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(156 156 156 / var(--tw-border-opacity, 1))}._pseudoCheckbox_z8j4c_1 ._checkboxCheckMark_z8j4c_4{position:absolute;inset:0;width:100%}._pseudoCheckbox_z8j4c_1 ._checkboxCheckMark_z8j4c_4 ._checkboxCheckMarkPath_z8j4c_7{stroke-width:3px;stroke-dashoffset:23;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{animation:.18s linear 0ms _checkboxUncheckedChecked_z8j4c_1;stroke-dashoffset:0}._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:23}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}to{stroke-dashoffset:0}}._multiSelectContainer_1rhxq_1{position:relative}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4{margin-right:-.75rem;display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li{word-break:break-word;position:relative;box-sizing:border-box;display:inline-flex;min-width:80px;cursor:pointer;list-style-type:none;align-items:center;overflow-wrap:break-word;border-radius:4px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));background-color:transparent;padding:8px 14px;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(0 107 177 / var(--tw-text-opacity, 1))}._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-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#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;text-decoration-line:none!important;outline-width:0px!important}._singleSelectWrapper_1x2o4_1{position:relative}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4{display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li{position:relative;box-sizing:border-box;display:inline-flex;min-height:44px;min-width:80px;cursor:pointer;list-style-type:none;align-items:center;word-break:break-all;border-radius:4px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));background-color:transparent;padding-left:1.5rem;padding-right:1.5rem;padding-top:9px;padding-bottom:9px;text-align:center;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(0 107 177 / var(--tw-text-opacity, 1))}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li:hover,._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li:focus-visible,._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li._selected_1x2o4_10{outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li:hover,._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li:focus-visible{text-decoration-line:underline}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16{position:absolute;right:0;top:0;display:inline-block;height:0px;width:0px;border-width:11px;border-style:solid;border-bottom-color:transparent;border-left-color:transparent;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))}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16 ._loader_1x2o4_19{position:absolute;left:0;top:-10px;height:10px;width:10px}@keyframes _tw-spin_1x2o4_1{to{transform:rotate(360deg)}}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16 ._loader_1x2o4_19{animation:_tw-spin_1x2o4_1 1s linear infinite;border-radius:50%;border-width:2px;border-style:solid;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))}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16 ._checkmarkWrap_1x2o4_22{position:absolute;left:-1px;top:-9px}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16 ._checkmarkWrap_1x2o4_22 ._checkmark_1x2o4_22{display:block;animation:_fill_1x2o4_1 .4s ease-in-out .4s forwards,_scale_1x2o4_1 .3s ease-in-out .9s both;border-radius:50%;--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}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16 ._checkmarkWrap_1x2o4_22 ._checkmark_1x2o4_22 ._checkmarkCheck_1x2o4_29{transform-origin:50% 50%;animation:_stroke_1x2o4_1 .8s cubic-bezier(.5,0,.45,1) .2s forwards;stroke-dasharray:48;stroke-dashoffset:48}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li._disabled_1x2o4_34{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;text-decoration-line:none!important;outline-width:0px!important}@keyframes _scale_1x2o4_1{0%,to{transform:none}50%{transform:scale3d(1.1,1.1,1)}}@keyframes _fill_1x2o4_1{to{box-shadow:inset 0 0 0 30px transparent}}@keyframes _stroke_1x2o4_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{background-color:#ccc!important;border:2px #fff solid;border-radius:15px}._scrollbarContainer_40vsr_1{@supports not selector(::-webkit-scrollbar){scrollbar-width:thin;scrollbar-color:#ccc #0000}}._select_c79hj_1,._select_c79hj_1 ._selectContainer_c79hj_4{position:relative}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7{position:relative;box-sizing:border-box;height:2.5rem;width:100%;cursor:pointer;border-left-width:0px;border-right-width:0px;border-bottom-width:1px;border-top-width:1px;border-style:solid;border-top-color:transparent;--tw-border-opacity: 1;border-bottom-color:rgb(51 51 51 / var(--tw-border-opacity, 1));background-color:transparent;padding-top:.375rem;padding-bottom:.375rem;padding-left:10px;padding-right:2rem;text-align:left;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7:focus{border-bottom-width:2px;border-top-width:2px;--tw-border-opacity: 1;border-bottom-color:rgb(0 107 177 / var(--tw-border-opacity, 1));padding-top:5px;padding-bottom:5px;outline:2px solid transparent;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)}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7._open_c79hj_13{border-bottom-width:2px;border-top-width:2px;--tw-border-opacity: 1;border-bottom-color:rgb(0 107 177 / var(--tw-border-opacity, 1))}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._selectValue_c79hj_16{display:flex;align-items:center}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._selectValue_c79hj_16 ._seletIcon_c79hj_19{margin-right:.5rem;height:1.25rem;width:1.25rem;flex-shrink:0}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._selectValue_c79hj_16 ._selectText_c79hj_22{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._chevronDownIconSpan_c79hj_25{pointer-events:none;position:absolute;top:0;bottom:0;right:0;display:flex;align-items:center;padding-right:.5rem}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._chevronDownIconSpan_c79hj_25 ._chevronDownIcon_c79hj_25{height:1.25rem;width:1.25rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._leave_c79hj_32{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,1,1)}._leaveFrom_c79hj_36{opacity:1}._leaveTo_c79hj_40{opacity:0}._selectOptions_c79hj_44{margin:0;max-height:200px;width:100%;list-style-type:none;overflow:auto;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:10px 0;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 1px 6px 0 rgba(0,0,0,.5);--tw-shadow-colored: 0 1px 6px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 640px){._selectOptions_c79hj_44{font-size:.875rem;line-height:1.25rem}}._selectOptions_c79hj_44::-webkit-scrollbar-thumb{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(169 169 169 / var(--tw-bg-opacity, 1))}._selectOptions_c79hj_44::-webkit-scrollbar{width:6px}._selectOptions_c79hj_44:focus{outline:2px solid transparent;outline-offset:2px}._autocomplete_1uhaj_1{position:relative}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4{position:relative;height:2.5rem;width:100%;cursor:default;overflow:hidden;background-color:transparent;text-align:left;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4._disable_1uhaj_7{--tw-text-opacity: 1;color:rgb(167 167 167 / var(--tw-text-opacity, 1))}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4:focus{outline:2px solid transparent;outline-offset:2px}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_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_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteInput_1uhaj_16{box-sizing:border-box;height:100%;width:100%;border-width:0px;border-bottom-width:1px;--tw-border-opacity: 1;border-bottom-color:rgb(51 51 51 / var(--tw-border-opacity, 1));background-color:transparent;padding-bottom:.5rem;padding-left:10px;padding-right:2.5rem;padding-top:.5rem;font-size:1rem;line-height:1.25rem}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteInput_1uhaj_16::placeholder{--tw-placeholder-opacity: 1;color:rgb(102 102 102 / var(--tw-placeholder-opacity, 1))}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteInput_1uhaj_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_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteInput_1uhaj_16:focus{border-bottom-width:2px;--tw-border-opacity: 1;border-bottom-color:rgb(0 107 177 / var(--tw-border-opacity, 1));padding-bottom:7px;outline:2px solid transparent;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)}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteInput_1uhaj_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_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteButton_1uhaj_25{position:absolute;top:0;bottom:0;right:0;display:flex;align-items:center;border-width:0px;background-color:transparent;padding-right:.5rem}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteButton_1uhaj_25 ._chevronDownIcon_1uhaj_28{height:1.25rem;width:1.25rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteButton_1uhaj_25 ._chevronDownIcon_1uhaj_28._disable_1uhaj_7{--tw-text-opacity: 1;color:rgb(167 167 167 / var(--tw-text-opacity, 1))}._leave_1uhaj_35{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,1,1)}._leaveFrom_1uhaj_39{opacity:1}._leaveTo_1uhaj_43{opacity:0}._autocompleteOptions_1uhaj_47{margin:0;max-height:210px;width:100%;list-style-type:none;overflow:auto;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:10px 0;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 1px 6px 0 rgba(0,0,0,.5);--tw-shadow-colored: 0 1px 6px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 640px){._autocompleteOptions_1uhaj_47{font-size:.875rem;line-height:1.25rem}}._autocompleteOptions_1uhaj_47::-webkit-scrollbar-thumb{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(169 169 169 / var(--tw-bg-opacity, 1))}._autocompleteOptions_1uhaj_47::-webkit-scrollbar{width:6px}._autocompleteOptions_1uhaj_47:focus{outline:2px solid transparent;outline-offset:2px}._textInputWrapper_gym4n_1{width:100%}._textInputWrapper_gym4n_1 ._textInput_gym4n_1{display:block;height:2.5rem;width:100%;border-width:0px;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(51 51 51 / var(--tw-border-opacity, 1));padding-left:10px;padding-right:10px;padding-bottom:.5rem;padding-top:7px;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1));outline:2px solid transparent;outline-offset:2px}._textInputWrapper_gym4n_1 ._textInput_gym4n_1:focus{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));padding-bottom:7px}._progress_1k1zg_1{position:relative;overflow:hidden;max-width:100%;min-width:260px;margin:0 auto}._progress-bar_1k1zg_9{position:absolute;display:block;left:-200px;width:200px;animation-duration:2s;animation-timing-function:linear;animation-iteration-count:infinite}")),document.head.appendChild(t)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
2
2
|
(function(be,c){typeof exports=="object"&&typeof module<"u"?c(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],c):(be=typeof globalThis<"u"?globalThis:be||self,c(be["ui-react"]={},be.React,be.ReactDOM))})(this,function(be,c,xe){"use strict";function Nr(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const B=Nr(c),tn=Nr(xe),kf="";var Us=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},An={exports:{}},At={};/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react-jsx-runtime.production.js
|
|
@@ -37,5 +37,5 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
37
37
|
font-size: .6rem;
|
|
38
38
|
font-weight: bold;
|
|
39
39
|
color: hsl(${Math.max(0,Math.min(120-120*v,120))}deg 100% 31%);`,n?.key)}return(h=n?.onChange)==null||h.call(n,o),o}return i.updateDeps=l=>{r=l},i}function or(e,t){if(e===void 0)throw new Error(`Unexpected undefined${t?`: ${t}`:""}`);return e}const lu=(e,t)=>Math.abs(e-t)<1,au=(e,t,n)=>{let r;return function(...o){e.clearTimeout(r),r=e.setTimeout(()=>t.apply(this,o),n)}},uu=e=>e,cu=e=>{const t=Math.max(e.startIndex-e.overscan,0),n=Math.min(e.endIndex+e.overscan,e.count-1),r=[];for(let o=t;o<=n;o++)r.push(o);return r},du=(e,t)=>{const n=e.scrollElement;if(!n)return;const r=e.targetWindow;if(!r)return;const o=l=>{const{width:s,height:a}=l;t({width:Math.round(s),height:Math.round(a)})};if(o(n.getBoundingClientRect()),!r.ResizeObserver)return()=>{};const i=new r.ResizeObserver(l=>{const s=()=>{const a=l[0];if(a?.borderBoxSize){const h=a.borderBoxSize[0];if(h){o({width:h.inlineSize,height:h.blockSize});return}}o(n.getBoundingClientRect())};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(s):s()});return i.observe(n,{box:"border-box"}),()=>{i.unobserve(n)}},xi={passive:!0},yi=typeof window>"u"?!0:"onscrollend"in window,fu=(e,t)=>{const n=e.scrollElement;if(!n)return;const r=e.targetWindow;if(!r)return;let o=0;const i=e.options.useScrollendEvent&&yi?()=>{}:au(r,()=>{t(o,!1)},e.options.isScrollingResetDelay),l=m=>()=>{const{horizontal:b,isRtl:f}=e.options;o=b?n.scrollLeft*(f&&-1||1):n.scrollTop,i(),t(o,m)},s=l(!0),a=l(!1);a(),n.addEventListener("scroll",s,xi);const h=e.options.useScrollendEvent&&yi;return h&&n.addEventListener("scrollend",a,xi),()=>{n.removeEventListener("scroll",s),h&&n.removeEventListener("scrollend",a)}},pu=(e,t,n)=>{if(t?.borderBoxSize){const r=t.borderBoxSize[0];if(r)return Math.round(r[n.options.horizontal?"inlineSize":"blockSize"])}return Math.round(e.getBoundingClientRect()[n.options.horizontal?"width":"height"])},mu=(e,{adjustments:t=0,behavior:n},r)=>{var o,i;const l=e+t;(i=(o=r.scrollElement)==null?void 0:o.scrollTo)==null||i.call(o,{[r.options.horizontal?"left":"top"]:l,behavior:n})};class hu{constructor(t){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let n=null;const r=()=>n||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:n=new this.targetWindow.ResizeObserver(o=>{o.forEach(i=>{const l=()=>{this._measureElement(i.target,i)};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(l):l()})}));return{disconnect:()=>{var o;(o=r())==null||o.disconnect(),n=null},observe:o=>{var i;return(i=r())==null?void 0:i.observe(o,{box:"border-box"})},unobserve:o=>{var i;return(i=r())==null?void 0:i.unobserve(o)}}})(),this.range=null,this.setOptions=n=>{Object.entries(n).forEach(([r,o])=>{typeof o>"u"&&delete n[r]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:uu,rangeExtractor:cu,onChange:()=>{},measureElement:pu,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,...n}},this.notify=n=>{var r,o;(o=(r=this.options).onChange)==null||o.call(r,this,n)},this.maybeNotify=Tt(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),n=>{this.notify(n)},{key:process.env.NODE_ENV!=="production"&&"maybeNotify",debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(n=>n()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var n;const r=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==r){if(this.cleanup(),!r){this.maybeNotify();return}this.scrollElement=r,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=((n=this.scrollElement)==null?void 0:n.window)??null,this.elementsCache.forEach(o=>{this.observer.observe(o)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,o=>{this.scrollRect=o,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(o,i)=>{this.scrollAdjustments=0,this.scrollDirection=i?this.getScrollOffset()<o?"forward":"backward":null,this.scrollOffset=o,this.isScrolling=i,this.maybeNotify()}))}},this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??(typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(n,r)=>{const o=new Map,i=new Map;for(let l=r-1;l>=0;l--){const s=n[l];if(o.has(s.lane))continue;const a=i.get(s.lane);if(a==null||s.end>a.end?i.set(s.lane,s):s.end<a.end&&o.set(s.lane,!0),o.size===this.options.lanes)break}return i.size===this.options.lanes?Array.from(i.values()).sort((l,s)=>l.end===s.end?l.index-s.index:l.end-s.end)[0]:void 0},this.getMeasurementOptions=Tt(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(n,r,o,i,l)=>(this.pendingMeasuredCacheIndexes=[],{count:n,paddingStart:r,scrollMargin:o,getItemKey:i,enabled:l}),{key:!1}),this.getMeasurements=Tt(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:n,paddingStart:r,scrollMargin:o,getItemKey:i,enabled:l},s)=>{if(!l)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(m=>{this.itemSizeCache.set(m.key,m.size)}));const a=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];const h=this.measurementsCache.slice(0,a);for(let m=a;m<n;m++){const b=i(m),f=this.options.lanes===1?h[m-1]:this.getFurthestMeasurement(h,m),d=f?f.end+this.options.gap:r+o,u=s.get(b),p=typeof u=="number"?u:this.options.estimateSize(m),v=d+p,y=f?f.lane:m%this.options.lanes;h[m]={index:m,start:d,size:p,end:v,key:b,lane:y}}return this.measurementsCache=h,h},{key:process.env.NODE_ENV!=="production"&&"getMeasurements",debug:()=>this.options.debug}),this.calculateRange=Tt(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(n,r,o,i)=>this.range=n.length>0&&r>0?vu({measurements:n,outerSize:r,scrollOffset:o,lanes:i}):null,{key:process.env.NODE_ENV!=="production"&&"calculateRange",debug:()=>this.options.debug}),this.getVirtualIndexes=Tt(()=>{let n=null,r=null;const o=this.calculateRange();return o&&(n=o.startIndex,r=o.endIndex),this.maybeNotify.updateDeps([this.isScrolling,n,r]),[this.options.rangeExtractor,this.options.overscan,this.options.count,n,r]},(n,r,o,i,l)=>i===null||l===null?[]:n({startIndex:i,endIndex:l,overscan:r,count:o}),{key:process.env.NODE_ENV!=="production"&&"getVirtualIndexes",debug:()=>this.options.debug}),this.indexFromElement=n=>{const r=this.options.indexAttribute,o=n.getAttribute(r);return o?parseInt(o,10):(console.warn(`Missing attribute name '${r}={index}' on measured element.`),-1)},this._measureElement=(n,r)=>{const o=this.indexFromElement(n),i=this.measurementsCache[o];if(!i)return;const l=i.key,s=this.elementsCache.get(l);s!==n&&(s&&this.observer.unobserve(s),this.observer.observe(n),this.elementsCache.set(l,n)),n.isConnected&&this.resizeItem(o,this.options.measureElement(n,r,this))},this.resizeItem=(n,r)=>{const o=this.measurementsCache[n];if(!o)return;const i=this.itemSizeCache.get(o.key)??o.size,l=r-i;l!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(o,l,this):o.start<this.getScrollOffset()+this.scrollAdjustments)&&(process.env.NODE_ENV!=="production"&&this.options.debug&&console.info("correction",l),this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=l,behavior:void 0})),this.pendingMeasuredCacheIndexes.push(o.index),this.itemSizeCache=new Map(this.itemSizeCache.set(o.key,r)),this.notify(!1))},this.measureElement=n=>{if(!n){this.elementsCache.forEach((r,o)=>{r.isConnected||(this.observer.unobserve(r),this.elementsCache.delete(o))});return}this._measureElement(n,void 0)},this.getVirtualItems=Tt(()=>[this.getVirtualIndexes(),this.getMeasurements()],(n,r)=>{const o=[];for(let i=0,l=n.length;i<l;i++){const s=n[i],a=r[s];o.push(a)}return o},{key:process.env.NODE_ENV!=="production"&&"getVirtualItems",debug:()=>this.options.debug}),this.getVirtualItemForOffset=n=>{const r=this.getMeasurements();if(r.length!==0)return or(r[Ei(0,r.length-1,o=>or(r[o]).start,n)])},this.getOffsetForAlignment=(n,r,o=0)=>{const i=this.getSize(),l=this.getScrollOffset();r==="auto"&&(r=n>=l+i?"end":"start"),r==="center"?n+=(o-i)/2:r==="end"&&(n-=i);const s=this.options.horizontal?"scrollWidth":"scrollHeight",h=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[s]:this.scrollElement[s]:0)-i;return Math.max(Math.min(h,n),0)},this.getOffsetForIndex=(n,r="auto")=>{n=Math.max(0,Math.min(n,this.options.count-1));const o=this.measurementsCache[n];if(!o)return;const i=this.getSize(),l=this.getScrollOffset();if(r==="auto")if(o.end>=l+i-this.options.scrollPaddingEnd)r="end";else if(o.start<=l+this.options.scrollPaddingStart)r="start";else return[l,r];const s=r==="end"?o.end+this.options.scrollPaddingEnd:o.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(s,r,o.size),r]},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{this.scrollToIndexTimeoutId!==null&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(n,{align:r="start",behavior:o}={})=>{this.cancelScrollToIndex(),o==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(n,r),{adjustments:void 0,behavior:o})},this.scrollToIndex=(n,{align:r="auto",behavior:o}={})=>{n=Math.max(0,Math.min(n,this.options.count-1)),this.cancelScrollToIndex(),o==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");const i=this.getOffsetForIndex(n,r);if(!i)return;const[l,s]=i;this._scrollToOffset(l,{adjustments:void 0,behavior:o}),o!=="smooth"&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(n))){const[h]=or(this.getOffsetForIndex(n,s));lu(h,this.getScrollOffset())||this.scrollToIndex(n,{align:s,behavior:o})}else this.scrollToIndex(n,{align:s,behavior:o})}))},this.scrollBy=(n,{behavior:r}={})=>{this.cancelScrollToIndex(),r==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+n,{adjustments:void 0,behavior:r})},this.getTotalSize=()=>{var n;const r=this.getMeasurements();let o;if(r.length===0)o=this.options.paddingStart;else if(this.options.lanes===1)o=((n=r[r.length-1])==null?void 0:n.end)??0;else{const i=Array(this.options.lanes).fill(null);let l=r.length-1;for(;l>0&&i.some(s=>s===null);){const s=r[l];i[s.lane]===null&&(i[s.lane]=s.end),l--}o=Math.max(...i.filter(s=>s!==null))}return Math.max(o-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(n,{adjustments:r,behavior:o})=>{this.options.scrollToFn(n,{behavior:o,adjustments:r},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(t)}}const Ei=(e,t,n,r)=>{for(;e<=t;){const o=(e+t)/2|0,i=n(o);if(i<r)e=o+1;else if(i>r)t=o-1;else return o}return e>0?e-1:0};function vu({measurements:e,outerSize:t,scrollOffset:n,lanes:r}){const o=e.length-1,i=a=>e[a].start;if(e.length<=r)return{startIndex:0,endIndex:o};let l=Ei(0,o,i,n),s=l;if(r===1)for(;s<o&&e[s].end<n+t;)s++;else if(r>1){const a=Array(r).fill(0);for(;s<o&&a.some(m=>m<n+t);){const m=e[s];a[m.lane]=m.end,s++}const h=Array(r).fill(n+t);for(;l>0&&h.some(m=>m>=n);){const m=e[l];h[m.lane]=m.start,l--}l=Math.max(0,l-l%r),s=Math.min(o,s+(r-1-s%r))}return{startIndex:l,endIndex:s}}const Si=typeof document<"u"?B.useLayoutEffect:B.useEffect;function bu(e){const t=B.useReducer(()=>({}),{})[1],n={...e,onChange:(o,i)=>{var l;i?xe.flushSync(t):t(),(l=e.onChange)==null||l.call(e,o,i)}},[r]=B.useState(()=>new hu(n));return r.setOptions(n),Si(()=>r._didMount(),[]),Si(()=>r._willUpdate()),r}function gu(e){return bu({observeElementRect:du,observeElementOffset:fu,scrollToFn:mu,...e})}function wu(e,t){return e!==null&&t!==null&&typeof e=="object"&&typeof t=="object"&&"id"in e&&"id"in t?e.id===t.id:e===t}function Oi(e=wu){return c.useCallback((t,n)=>{if(typeof e=="string"){let r=e;return t?.[r]===n?.[r]}return e(t,n)},[e])}function xu(e){if(e===null)return{width:0,height:0};let{width:t,height:n}=e.getBoundingClientRect();return{width:t,height:n}}function ir(e,t=!1){let[n,r]=c.useReducer(()=>({}),{}),o=c.useMemo(()=>xu(e),[e,n]);return ue(()=>{if(!e)return;let i=new ResizeObserver(r);return i.observe(e),()=>{i.disconnect()}},[e]),t?{width:`${o.width}px`,height:`${o.height}px`}:o}let yu=class extends Map{constructor(t){super(),this.factory=t}get(t){let n=super.get(t);return n===void 0&&(n=this.factory(t),this.set(t,n)),n}};function Ti(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(o){return r.add(o),()=>r.delete(o)},dispatch(o,...i){let l=t[o].call(n,...i);l&&(n=l,r.forEach(s=>s()))}}}function ki(e){return c.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot)}let Eu=new yu(()=>Ti(()=>[],{ADD(e){return this.includes(e)?this:[...this,e]},REMOVE(e){let t=this.indexOf(e);if(t===-1)return this;let n=this.slice();return n.splice(t,1),n}}));function sr(e,t){let n=Eu.get(t),r=c.useId(),o=ki(n);if(ue(()=>{if(e)return n.dispatch("ADD",r),()=>n.dispatch("REMOVE",r)},[n,e]),!e)return!1;let i=o.indexOf(r),l=o.length;return i===-1&&(i=l,l+=1),i===l-1}let lr=new Map,Rt=new Map;function Ci(e){var t;let n=(t=Rt.get(e))!=null?t:0;return Rt.set(e,n+1),n!==0?()=>_i(e):(lr.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0,()=>_i(e))}function _i(e){var t;let n=(t=Rt.get(e))!=null?t:1;if(n===1?Rt.delete(e):Rt.set(e,n-1),n!==1)return;let r=lr.get(e);r&&(r["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r["aria-hidden"]),e.inert=r.inert,lr.delete(e))}function Ii(e,{allowed:t,disallowed:n}={}){let r=sr(e,"inert-others");ue(()=>{var o,i;if(!r)return;let l=qe();for(let a of(o=n?.())!=null?o:[])a&&l.add(Ci(a));let s=(i=t?.())!=null?i:[];for(let a of s){if(!a)continue;let h=St(a);if(!h)continue;let m=a.parentElement;for(;m&&m!==h.body;){for(let b of m.children)s.some(f=>b.contains(f))||l.add(Ci(b));m=m.parentElement}}return l.dispose},[r,t,n])}function Pi(e,t,n){let r=nt(o=>{let i=o.getBoundingClientRect();i.x===0&&i.y===0&&i.width===0&&i.height===0&&n()});c.useEffect(()=>{if(!e)return;let o=t===null?null:t instanceof HTMLElement?t:t.current;if(!o)return;let i=qe();if(typeof ResizeObserver<"u"){let l=new ResizeObserver(()=>r.current(o));l.observe(o),i.add(()=>l.disconnect())}if(typeof IntersectionObserver<"u"){let l=new IntersectionObserver(()=>r.current(o));l.observe(o),i.add(()=>l.disconnect())}return()=>i.dispose()},[t,r,e])}let mn=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),Su=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var ar=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(ar||{}),Ou=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Ou||{}),Tu=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Tu||{});function Mi(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(mn)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}function ku(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Su)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var ur=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(ur||{});function Ai(e,t=0){var n;return e===((n=St(e))==null?void 0:n.body)?!1:Te(t,{0(){return e.matches(mn)},1(){let r=e;for(;r!==null;){if(r.matches(mn))return!0;r=r.parentElement}return!1}})}var Cu=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Cu||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));let _u=["textarea","input"].join(",");function Iu(e){var t,n;return(n=(t=e?.matches)==null?void 0:t.call(e,_u))!=null?n:!1}function cr(e,t=n=>n){return e.slice().sort((n,r)=>{let o=t(n),i=t(r);if(o===null||i===null)return 0;let l=o.compareDocumentPosition(i);return l&Node.DOCUMENT_POSITION_FOLLOWING?-1:l&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Pu(e,t){return Mu(Mi(),t,{relativeTo:e})}function Mu(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:o=[]}={}){let i=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,l=Array.isArray(e)?n?cr(e):e:t&64?ku(e):Mi(e);o.length>0&&l.length>1&&(l=l.filter(d=>!o.some(u=>u!=null&&"current"in u?u?.current===d:u===d))),r=r??i.activeElement;let s=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),a=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,l.indexOf(r))-1;if(t&4)return Math.max(0,l.indexOf(r))+1;if(t&8)return l.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),h=t&32?{preventScroll:!0}:{},m=0,b=l.length,f;do{if(m>=b||m+b<=0)return 0;let d=a+m;if(t&16)d=(d+b)%b;else{if(d<0)return 3;if(d>=b)return 1}f=l[d],f?.focus(h),m+=s}while(f!==i.activeElement);return t&6&&Iu(f)&&f.select(),2}function Fi(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Au(){return/Android/gi.test(window.navigator.userAgent)}function Li(){return Fi()||Au()}function Ut(e,t,n,r){let o=nt(n);c.useEffect(()=>{if(!e)return;function i(l){o.current(l)}return document.addEventListener(t,i,r),()=>document.removeEventListener(t,i,r)},[e,t,r])}function Fu(e,t,n,r){let o=nt(n);c.useEffect(()=>{if(!e)return;function i(l){o.current(l)}return window.addEventListener(t,i,r),()=>window.removeEventListener(t,i,r)},[e,t,r])}const Ni=30;function Di(e,t,n){let r=sr(e,"outside-click"),o=nt(n),i=c.useCallback(function(a,h){if(a.defaultPrevented)return;let m=h(a);if(m===null||!m.getRootNode().contains(m)||!m.isConnected)return;let b=function f(d){return typeof d=="function"?f(d()):Array.isArray(d)||d instanceof Set?d:[d]}(t);for(let f of b)if(f!==null&&(f.contains(m)||a.composed&&a.composedPath().includes(f)))return;return!Ai(m,ur.Loose)&&m.tabIndex!==-1&&a.preventDefault(),o.current(a,m)},[o,t]),l=c.useRef(null);Ut(r,"pointerdown",a=>{var h,m;l.current=((m=(h=a.composedPath)==null?void 0:h.call(a))==null?void 0:m[0])||a.target},!0),Ut(r,"mousedown",a=>{var h,m;l.current=((m=(h=a.composedPath)==null?void 0:h.call(a))==null?void 0:m[0])||a.target},!0),Ut(r,"click",a=>{Li()||l.current&&(i(a,()=>l.current),l.current=null)},!0);let s=c.useRef({x:0,y:0});Ut(r,"touchstart",a=>{s.current.x=a.touches[0].clientX,s.current.y=a.touches[0].clientY},!0),Ut(r,"touchend",a=>{let h={x:a.changedTouches[0].clientX,y:a.changedTouches[0].clientY};if(!(Math.abs(h.x-s.current.x)>=Ni||Math.abs(h.y-s.current.y)>=Ni))return i(a,()=>a.target instanceof HTMLElement?a.target:null)},!0),Fu(r,"blur",a=>i(a,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function zt(...e){return c.useMemo(()=>St(...e),[...e])}function Lu(e,t,n,r){let o=nt(n);c.useEffect(()=>{e=e??window;function i(l){o.current(l)}return e.addEventListener(t,i,r),()=>e.removeEventListener(t,i,r)},[e,t,r])}function ji(e){let t=c.useRef({value:"",selectionStart:null,selectionEnd:null});return Lu(e,"blur",n=>{let r=n.target;r instanceof HTMLInputElement&&(t.current={value:r.value,selectionStart:r.selectionStart,selectionEnd:r.selectionEnd})}),A(()=>{if(document.activeElement!==e&&e instanceof HTMLInputElement&&e.isConnected){if(e.focus({preventScroll:!0}),e.value!==t.current.value)e.setSelectionRange(e.value.length,e.value.length);else{let{selectionStart:n,selectionEnd:r}=t.current;n!==null&&r!==null&&e.setSelectionRange(n,r)}t.current={value:"",selectionStart:null,selectionEnd:null}}})}function Wi(e,t){return c.useMemo(()=>{var n;if(e.type)return e.type;let r=(n=e.as)!=null?n:"button";if(typeof r=="string"&&r.toLowerCase()==="button"||t?.tagName==="BUTTON"&&!t.hasAttribute("type"))return"button"},[e.type,e.as,t])}function Nu(){let e;return{before({doc:t}){var n;let r=t.documentElement,o=(n=t.defaultView)!=null?n:window;e=Math.max(0,o.innerWidth-r.clientWidth)},after({doc:t,d:n}){let r=t.documentElement,o=Math.max(0,r.clientWidth-r.offsetWidth),i=Math.max(0,e-o);n.style(r,"paddingRight",`${i}px`)}}}function Du(){return Fi()?{before({doc:e,d:t,meta:n}){function r(o){return n.containers.flatMap(i=>i()).some(i=>i.contains(o))}t.microTask(()=>{var o;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let s=qe();s.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>s.dispose()))}let i=(o=window.scrollY)!=null?o:window.pageYOffset,l=null;t.addEventListener(e,"click",s=>{if(s.target instanceof HTMLElement)try{let a=s.target.closest("a");if(!a)return;let{hash:h}=new URL(a.href),m=e.querySelector(h);m&&!r(m)&&(l=m)}catch{}},!0),t.addEventListener(e,"touchstart",s=>{if(s.target instanceof HTMLElement)if(r(s.target)){let a=s.target;for(;a.parentElement&&r(a.parentElement);)a=a.parentElement;t.style(a,"overscrollBehavior","contain")}else t.style(s.target,"touchAction","none")}),t.addEventListener(e,"touchmove",s=>{if(s.target instanceof HTMLElement){if(s.target.tagName==="INPUT")return;if(r(s.target)){let a=s.target;for(;a.parentElement&&a.dataset.headlessuiPortal!==""&&!(a.scrollHeight>a.clientHeight||a.scrollWidth>a.clientWidth);)a=a.parentElement;a.dataset.headlessuiPortal===""&&s.preventDefault()}else s.preventDefault()}},{passive:!1}),t.add(()=>{var s;let a=(s=window.scrollY)!=null?s:window.pageYOffset;i!==a&&window.scrollTo(0,i),l&&l.isConnected&&(l.scrollIntoView({block:"nearest"}),l=null)})})}}:{}}function ju(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function Wu(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let ht=Ti(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:qe(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:Wu(n)},o=[Du(),Nu(),ju()];o.forEach(({before:i})=>i?.(r)),o.forEach(({after:i})=>i?.(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});ht.subscribe(()=>{let e=ht.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let r=t.get(n.doc)==="hidden",o=n.count!==0;(o&&!r||!o&&r)&&ht.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&ht.dispatch("TEARDOWN",n)}});function Bu(e,t,n=()=>({containers:[]})){let r=ki(ht),o=t?r.get(t):void 0,i=o?o.count>0:!1;return ue(()=>{if(!(!t||!e))return ht.dispatch("PUSH",t,n),()=>ht.dispatch("POP",t,n)},[e,t]),i}function Bi(e,t,n=()=>[document.body]){let r=sr(e,"scroll-lock");Bu(r,t,o=>{var i;return{containers:[...(i=o.containers)!=null?i:[],n]}})}function Vi(e){return[e.screenX,e.screenY]}function Hi(){let e=c.useRef([-1,-1]);return{wasMoved(t){let n=Vi(t);return e.current[0]===n[0]&&e.current[1]===n[1]?!1:(e.current=n,!0)},update(t){e.current=Vi(t)}}}function Vu(e=0){let[t,n]=c.useState(e),r=c.useCallback(a=>n(a),[t]),o=c.useCallback(a=>n(h=>h|a),[t]),i=c.useCallback(a=>(t&a)===a,[t]),l=c.useCallback(a=>n(h=>h&~a),[n]),s=c.useCallback(a=>n(h=>h^a),[n]);return{flags:t,setFlag:r,addFlag:o,hasFlag:i,removeFlag:l,toggleFlag:s}}var Ri,Ui;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((Ri=process==null?void 0:process.env)==null?void 0:Ri.NODE_ENV)==="test"&&typeof((Ui=Element?.prototype)==null?void 0:Ui.getAnimations)>"u"&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(`
|
|
40
|
-
`)),[]});var Hu=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(Hu||{});function dr(e){let t={};for(let n in e)e[n]===!0&&(t[`data-${n}`]="");return t}function fr(e,t,n,r){let[o,i]=c.useState(n),{hasFlag:l,addFlag:s,removeFlag:a}=Vu(e&&o?3:0),h=c.useRef(!1),m=c.useRef(!1),b=lt();return ue(()=>{var f;if(e){if(n&&i(!0),!t){n&&s(3);return}return(f=r?.start)==null||f.call(r,n),Ru(t,{inFlight:h,prepare(){m.current?m.current=!1:m.current=h.current,h.current=!0,!m.current&&(n?(s(3),a(4)):(s(4),a(2)))},run(){m.current?n?(a(3),s(4)):(a(4),s(3)):n?a(1):s(1)},done(){var d;m.current&&typeof t.getAnimations=="function"&&t.getAnimations().length>0||(h.current=!1,a(7),n||i(!1),(d=r?.end)==null||d.call(r,n))}})}},[e,n,t,b]),e?[o,{closed:l(1),enter:l(2),leave:l(4),transition:l(2)||l(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function Ru(e,{prepare:t,run:n,done:r,inFlight:o}){let i=qe();return zu(e,{prepare:t,inFlight:o}),i.nextFrame(()=>{n(),i.requestAnimationFrame(()=>{i.add(Uu(e,r))})}),i.dispose}function Uu(e,t){var n,r;let o=qe();if(!e)return o.dispose;let i=!1;o.add(()=>{i=!0});let l=(r=(n=e.getAnimations)==null?void 0:n.call(e).filter(s=>s instanceof CSSTransition))!=null?r:[];return l.length===0?(t(),o.dispose):(Promise.allSettled(l.map(s=>s.finished)).then(()=>{i||t()}),o.dispose)}function zu(e,{inFlight:t,prepare:n}){if(t!=null&&t.current){n();return}let r=e.style.transition;e.style.transition="none",n(),e.offsetHeight,e.style.transition=r}function $u(e,{container:t,accept:n,walk:r}){let o=c.useRef(n),i=c.useRef(r);c.useEffect(()=>{o.current=n,i.current=r},[n,r]),ue(()=>{if(!t||!e)return;let l=St(t);if(!l)return;let s=o.current,a=i.current,h=Object.assign(b=>s(b),{acceptNode:s}),m=l.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,h,!1);for(;m.nextNode();)a(m.currentNode)},[t,e,o,i])}function zi(e,t){let n=c.useRef([]),r=A(e);c.useEffect(()=>{let o=[...n.current];for(let[i,l]of t.entries())if(n.current[i]!==l){let s=r(t,o);return n.current=t,s}},[r,...t])}function hn(){return typeof window<"u"}function kt(e){return $i(e)?(e.nodeName||"").toLowerCase():"#document"}function Ve(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ze(e){var t;return(t=($i(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function $i(e){return hn()?e instanceof Node||e instanceof Ve(e).Node:!1}function Me(e){return hn()?e instanceof Element||e instanceof Ve(e).Element:!1}function et(e){return hn()?e instanceof HTMLElement||e instanceof Ve(e).HTMLElement:!1}function qi(e){return!hn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ve(e).ShadowRoot}function $t(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Ye(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function qu(e){return["table","td","th"].includes(kt(e))}function vn(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function pr(e){const t=mr(),n=Me(e)?Ye(e):e;return["transform","translate","scale","rotate","perspective"].some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function Yu(e){let t=ct(e);for(;et(t)&&!Ct(t);){if(pr(t))return t;if(vn(t))return null;t=ct(t)}return null}function mr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ct(e){return["html","body","#document"].includes(kt(e))}function Ye(e){return Ve(e).getComputedStyle(e)}function bn(e){return Me(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ct(e){if(kt(e)==="html")return e;const t=e.assignedSlot||e.parentNode||qi(e)&&e.host||Ze(e);return qi(t)?t.host:t}function Yi(e){const t=ct(e);return Ct(t)?e.ownerDocument?e.ownerDocument.body:e.body:et(t)&&$t(t)?t:Yi(t)}function qt(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Yi(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),l=Ve(o);if(i){const s=hr(l);return t.concat(l,l.visualViewport||[],$t(o)?o:[],s&&n?qt(s):[])}return t.concat(o,qt(o,[],n))}function hr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ku(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(t=>{let{brand:n,version:r}=t;return n+"/"+r}).join(" "):navigator.userAgent}const vt=Math.min,Ae=Math.max,Yt=Math.round,gn=Math.floor,tt=e=>({x:e,y:e}),Gu={left:"right",right:"left",bottom:"top",top:"bottom"},Xu={start:"end",end:"start"};function Ki(e,t,n){return Ae(e,vt(t,n))}function _t(e,t){return typeof e=="function"?e(t):e}function dt(e){return e.split("-")[0]}function Kt(e){return e.split("-")[1]}function Gi(e){return e==="x"?"y":"x"}function Xi(e){return e==="y"?"height":"width"}function bt(e){return["top","bottom"].includes(dt(e))?"y":"x"}function Qi(e){return Gi(bt(e))}function Qu(e,t,n){n===void 0&&(n=!1);const r=Kt(e),o=Qi(e),i=Xi(o);let l=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=wn(l)),[l,wn(l)]}function Ju(e){const t=wn(e);return[vr(e),t,vr(t)]}function vr(e){return e.replace(/start|end/g,t=>Xu[t])}function Zu(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],l=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:l;default:return[]}}function ec(e,t,n,r){const o=Kt(e);let i=Zu(dt(e),n==="start",r);return o&&(i=i.map(l=>l+"-"+o),t&&(i=i.concat(i.map(vr)))),i}function wn(e){return e.replace(/left|right|bottom|top/g,t=>Gu[t])}function tc(e){return{top:0,right:0,bottom:0,left:0,...e}}function nc(e){return typeof e!="number"?tc(e):{top:e,right:e,bottom:e,left:e}}function xn(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Ji(e,t,n){let{reference:r,floating:o}=e;const i=bt(t),l=Qi(t),s=Xi(l),a=dt(t),h=i==="y",m=r.x+r.width/2-o.width/2,b=r.y+r.height/2-o.height/2,f=r[s]/2-o[s]/2;let d;switch(a){case"top":d={x:m,y:r.y-o.height};break;case"bottom":d={x:m,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:b};break;case"left":d={x:r.x-o.width,y:b};break;default:d={x:r.x,y:r.y}}switch(Kt(t)){case"start":d[l]-=f*(n&&h?-1:1);break;case"end":d[l]+=f*(n&&h?-1:1);break}return d}const rc=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,s=i.filter(Boolean),a=await(l.isRTL==null?void 0:l.isRTL(t));let h=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:m,y:b}=Ji(h,r,a),f=r,d={},u=0;for(let p=0;p<s.length;p++){const{name:v,fn:y}=s[p],{x:E,y:w,data:x,reset:k}=await y({x:m,y:b,initialPlacement:r,placement:f,strategy:o,middlewareData:d,rects:h,platform:l,elements:{reference:e,floating:t}});m=E??m,b=w??b,d={...d,[v]:{...d[v],...x}},k&&u<=50&&(u++,typeof k=="object"&&(k.placement&&(f=k.placement),k.rects&&(h=k.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:o}):k.rects),{x:m,y:b}=Ji(h,f,a)),p=-1)}return{x:m,y:b,placement:f,strategy:o,middlewareData:d}};async function yn(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:l,elements:s,strategy:a}=e,{boundary:h="clippingAncestors",rootBoundary:m="viewport",elementContext:b="floating",altBoundary:f=!1,padding:d=0}=_t(t,e),u=nc(d),v=s[f?b==="floating"?"reference":"floating":b],y=xn(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(v)))==null||n?v:v.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:h,rootBoundary:m,strategy:a})),E=b==="floating"?{x:r,y:o,width:l.floating.width,height:l.floating.height}:l.reference,w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),x=await(i.isElement==null?void 0:i.isElement(w))?await(i.getScale==null?void 0:i.getScale(w))||{x:1,y:1}:{x:1,y:1},k=xn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:E,offsetParent:w,strategy:a}):E);return{top:(y.top-k.top+u.top)/x.y,bottom:(k.bottom-y.bottom+u.bottom)/x.y,left:(y.left-k.left+u.left)/x.x,right:(k.right-y.right+u.right)/x.x}}const oc=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:l,initialPlacement:s,platform:a,elements:h}=t,{mainAxis:m=!0,crossAxis:b=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:u="none",flipAlignment:p=!0,...v}=_t(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const y=dt(o),E=bt(s),w=dt(s)===s,x=await(a.isRTL==null?void 0:a.isRTL(h.floating)),k=f||(w||!p?[wn(s)]:Ju(s)),S=u!=="none";!f&&S&&k.push(...ec(s,p,u,x));const C=[s,...k],R=await yn(t,v),W=[];let D=((r=i.flip)==null?void 0:r.overflows)||[];if(m&&W.push(R[y]),b){const M=Qu(o,l,x);W.push(R[M[0]],R[M[1]])}if(D=[...D,{placement:o,overflows:W}],!W.every(M=>M<=0)){var I,K;const M=(((I=i.flip)==null?void 0:I.index)||0)+1,X=C[M];if(X)return{data:{index:M,overflows:D},reset:{placement:X}};let J=(K=D.filter(Z=>Z.overflows[0]<=0).sort((Z,$)=>Z.overflows[1]-$.overflows[1])[0])==null?void 0:K.placement;if(!J)switch(d){case"bestFit":{var P;const Z=(P=D.filter($=>{if(S){const z=bt($.placement);return z===E||z==="y"}return!0}).map($=>[$.placement,$.overflows.filter(z=>z>0).reduce((z,Q)=>z+Q,0)]).sort(($,z)=>$[1]-z[1])[0])==null?void 0:P[0];Z&&(J=Z);break}case"initialPlacement":J=s;break}if(o!==J)return{reset:{placement:J}}}return{}}}};async function ic(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),l=dt(n),s=Kt(n),a=bt(n)==="y",h=["left","top"].includes(l)?-1:1,m=i&&a?-1:1,b=_t(t,e);let{mainAxis:f,crossAxis:d,alignmentAxis:u}=typeof b=="number"?{mainAxis:b,crossAxis:0,alignmentAxis:null}:{mainAxis:b.mainAxis||0,crossAxis:b.crossAxis||0,alignmentAxis:b.alignmentAxis};return s&&typeof u=="number"&&(d=s==="end"?u*-1:u),a?{x:d*m,y:f*h}:{x:f*h,y:d*m}}const sc=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:l,middlewareData:s}=t,a=await ic(t,e);return l===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+a.x,y:i+a.y,data:{...a,placement:l}}}}},lc=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:l=!1,limiter:s={fn:v=>{let{x:y,y:E}=v;return{x:y,y:E}}},...a}=_t(e,t),h={x:n,y:r},m=await yn(t,a),b=bt(dt(o)),f=Gi(b);let d=h[f],u=h[b];if(i){const v=f==="y"?"top":"left",y=f==="y"?"bottom":"right",E=d+m[v],w=d-m[y];d=Ki(E,d,w)}if(l){const v=b==="y"?"top":"left",y=b==="y"?"bottom":"right",E=u+m[v],w=u-m[y];u=Ki(E,u,w)}const p=s.fn({...t,[f]:d,[b]:u});return{...p,data:{x:p.x-n,y:p.y-r,enabled:{[f]:i,[b]:l}}}}}},ac=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:l,elements:s}=t,{apply:a=()=>{},...h}=_t(e,t),m=await yn(t,h),b=dt(o),f=Kt(o),d=bt(o)==="y",{width:u,height:p}=i.floating;let v,y;b==="top"||b==="bottom"?(v=b,y=f===(await(l.isRTL==null?void 0:l.isRTL(s.floating))?"start":"end")?"left":"right"):(y=b,v=f==="end"?"top":"bottom");const E=p-m.top-m.bottom,w=u-m.left-m.right,x=vt(p-m[v],E),k=vt(u-m[y],w),S=!t.middlewareData.shift;let C=x,R=k;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(R=w),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=E),S&&!f){const D=Ae(m.left,0),I=Ae(m.right,0),K=Ae(m.top,0),P=Ae(m.bottom,0);d?R=u-2*(D!==0||I!==0?D+I:Ae(m.left,m.right)):C=p-2*(K!==0||P!==0?K+P:Ae(m.top,m.bottom))}await a({...t,availableWidth:R,availableHeight:C});const W=await l.getDimensions(s.floating);return u!==W.width||p!==W.height?{reset:{rects:!0}}:{}}}};function Zi(e){const t=Ye(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=et(e),i=o?e.offsetWidth:n,l=o?e.offsetHeight:r,s=Yt(n)!==i||Yt(r)!==l;return s&&(n=i,r=l),{width:n,height:r,$:s}}function br(e){return Me(e)?e:e.contextElement}function It(e){const t=br(e);if(!et(t))return tt(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Zi(t);let l=(i?Yt(n.width):n.width)/r,s=(i?Yt(n.height):n.height)/o;return(!l||!Number.isFinite(l))&&(l=1),(!s||!Number.isFinite(s))&&(s=1),{x:l,y:s}}const uc=tt(0);function es(e){const t=Ve(e);return!mr()||!t.visualViewport?uc:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function cc(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Ve(e)?!1:t}function gt(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=br(e);let l=tt(1);t&&(r?Me(r)&&(l=It(r)):l=It(e));const s=cc(i,n,r)?es(i):tt(0);let a=(o.left+s.x)/l.x,h=(o.top+s.y)/l.y,m=o.width/l.x,b=o.height/l.y;if(i){const f=Ve(i),d=r&&Me(r)?Ve(r):r;let u=f,p=hr(u);for(;p&&r&&d!==u;){const v=It(p),y=p.getBoundingClientRect(),E=Ye(p),w=y.left+(p.clientLeft+parseFloat(E.paddingLeft))*v.x,x=y.top+(p.clientTop+parseFloat(E.paddingTop))*v.y;a*=v.x,h*=v.y,m*=v.x,b*=v.y,a+=w,h+=x,u=Ve(p),p=hr(u)}}return xn({width:m,height:b,x:a,y:h})}function gr(e,t){const n=bn(e).scrollLeft;return t?t.left+n:gt(Ze(e)).left+n}function ts(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:gr(e,r)),i=r.top+t.scrollTop;return{x:o,y:i}}function dc(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",l=Ze(r),s=t?vn(t.floating):!1;if(r===l||s&&i)return n;let a={scrollLeft:0,scrollTop:0},h=tt(1);const m=tt(0),b=et(r);if((b||!b&&!i)&&((kt(r)!=="body"||$t(l))&&(a=bn(r)),et(r))){const d=gt(r);h=It(r),m.x=d.x+r.clientLeft,m.y=d.y+r.clientTop}const f=l&&!b&&!i?ts(l,a,!0):tt(0);return{width:n.width*h.x,height:n.height*h.y,x:n.x*h.x-a.scrollLeft*h.x+m.x+f.x,y:n.y*h.y-a.scrollTop*h.y+m.y+f.y}}function fc(e){return Array.from(e.getClientRects())}function pc(e){const t=Ze(e),n=bn(e),r=e.ownerDocument.body,o=Ae(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Ae(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let l=-n.scrollLeft+gr(e);const s=-n.scrollTop;return Ye(r).direction==="rtl"&&(l+=Ae(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:l,y:s}}function mc(e,t){const n=Ve(e),r=Ze(e),o=n.visualViewport;let i=r.clientWidth,l=r.clientHeight,s=0,a=0;if(o){i=o.width,l=o.height;const h=mr();(!h||h&&t==="fixed")&&(s=o.offsetLeft,a=o.offsetTop)}return{width:i,height:l,x:s,y:a}}function hc(e,t){const n=gt(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=et(e)?It(e):tt(1),l=e.clientWidth*i.x,s=e.clientHeight*i.y,a=o*i.x,h=r*i.y;return{width:l,height:s,x:a,y:h}}function ns(e,t,n){let r;if(t==="viewport")r=mc(e,n);else if(t==="document")r=pc(Ze(e));else if(Me(t))r=hc(t,n);else{const o=es(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return xn(r)}function rs(e,t){const n=ct(e);return n===t||!Me(n)||Ct(n)?!1:Ye(n).position==="fixed"||rs(n,t)}function vc(e,t){const n=t.get(e);if(n)return n;let r=qt(e,[],!1).filter(s=>Me(s)&&kt(s)!=="body"),o=null;const i=Ye(e).position==="fixed";let l=i?ct(e):e;for(;Me(l)&&!Ct(l);){const s=Ye(l),a=pr(l);!a&&s.position==="fixed"&&(o=null),(i?!a&&!o:!a&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||$t(l)&&!a&&rs(e,l))?r=r.filter(m=>m!==l):o=s,l=ct(l)}return t.set(e,r),r}function bc(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const l=[...n==="clippingAncestors"?vn(t)?[]:vc(t,this._c):[].concat(n),r],s=l[0],a=l.reduce((h,m)=>{const b=ns(t,m,o);return h.top=Ae(b.top,h.top),h.right=vt(b.right,h.right),h.bottom=vt(b.bottom,h.bottom),h.left=Ae(b.left,h.left),h},ns(t,s,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function gc(e){const{width:t,height:n}=Zi(e);return{width:t,height:n}}function wc(e,t,n){const r=et(t),o=Ze(t),i=n==="fixed",l=gt(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const a=tt(0);if(r||!r&&!i)if((kt(t)!=="body"||$t(o))&&(s=bn(t)),r){const f=gt(t,!0,i,t);a.x=f.x+t.clientLeft,a.y=f.y+t.clientTop}else o&&(a.x=gr(o));const h=o&&!r&&!i?ts(o,s):tt(0),m=l.left+s.scrollLeft-a.x-h.x,b=l.top+s.scrollTop-a.y-h.y;return{x:m,y:b,width:l.width,height:l.height}}function wr(e){return Ye(e).position==="static"}function os(e,t){if(!et(e)||Ye(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Ze(e)===n&&(n=n.ownerDocument.body),n}function is(e,t){const n=Ve(e);if(vn(e))return n;if(!et(e)){let o=ct(e);for(;o&&!Ct(o);){if(Me(o)&&!wr(o))return o;o=ct(o)}return n}let r=os(e,t);for(;r&&qu(r)&&wr(r);)r=os(r,t);return r&&Ct(r)&&wr(r)&&!pr(r)?n:r||Yu(e)||n}const xc=async function(e){const t=this.getOffsetParent||is,n=this.getDimensions,r=await n(e.floating);return{reference:wc(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function yc(e){return Ye(e).direction==="rtl"}const Ec={convertOffsetParentRelativeRectToViewportRelativeRect:dc,getDocumentElement:Ze,getClippingRect:bc,getOffsetParent:is,getElementRects:xc,getClientRects:fc,getDimensions:gc,getScale:It,isElement:Me,isRTL:yc};function ss(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Sc(e,t){let n=null,r;const o=Ze(e);function i(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function l(s,a){s===void 0&&(s=!1),a===void 0&&(a=1),i();const h=e.getBoundingClientRect(),{left:m,top:b,width:f,height:d}=h;if(s||t(),!f||!d)return;const u=gn(b),p=gn(o.clientWidth-(m+f)),v=gn(o.clientHeight-(b+d)),y=gn(m),w={rootMargin:-u+"px "+-p+"px "+-v+"px "+-y+"px",threshold:Ae(0,vt(1,a))||1};let x=!0;function k(S){const C=S[0].intersectionRatio;if(C!==a){if(!x)return l();C?l(!1,C):r=setTimeout(()=>{l(!1,1e-7)},1e3)}C===1&&!ss(h,e.getBoundingClientRect())&&l(),x=!1}try{n=new IntersectionObserver(k,{...w,root:o.ownerDocument})}catch{n=new IntersectionObserver(k,w)}n.observe(e)}return l(!0),i}function Oc(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:a=!1}=r,h=br(e),m=o||i?[...h?qt(h):[],...qt(t)]:[];m.forEach(y=>{o&&y.addEventListener("scroll",n,{passive:!0}),i&&y.addEventListener("resize",n)});const b=h&&s?Sc(h,n):null;let f=-1,d=null;l&&(d=new ResizeObserver(y=>{let[E]=y;E&&E.target===h&&d&&(d.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var w;(w=d)==null||w.observe(t)})),n()}),h&&!a&&d.observe(h),d.observe(t));let u,p=a?gt(e):null;a&&v();function v(){const y=gt(e);p&&!ss(p,y)&&n(),p=y,u=requestAnimationFrame(v)}return n(),()=>{var y;m.forEach(E=>{o&&E.removeEventListener("scroll",n),i&&E.removeEventListener("resize",n)}),b?.(),(y=d)==null||y.disconnect(),d=null,a&&cancelAnimationFrame(u)}}const xr=yn,Tc=sc,kc=lc,Cc=oc,_c=ac,Ic=(e,t,n)=>{const r=new Map,o={platform:Ec,...n},i={...o.platform,_c:r};return rc(e,t,{...o,platform:i})};var En=typeof document<"u"?c.useLayoutEffect:c.useEffect;function Sn(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Sn(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!Sn(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function ls(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function as(e,t){const n=ls(e);return Math.round(t*n)/n}function yr(e){const t=B.useRef(e);return En(()=>{t.current=e}),t}function Pc(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:l}={},transform:s=!0,whileElementsMounted:a,open:h}=e,[m,b]=B.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,d]=B.useState(r);Sn(f,r)||d(r);const[u,p]=B.useState(null),[v,y]=B.useState(null),E=B.useCallback($=>{$!==S.current&&(S.current=$,p($))},[]),w=B.useCallback($=>{$!==C.current&&(C.current=$,y($))},[]),x=i||u,k=l||v,S=B.useRef(null),C=B.useRef(null),R=B.useRef(m),W=a!=null,D=yr(a),I=yr(o),K=yr(h),P=B.useCallback(()=>{if(!S.current||!C.current)return;const $={placement:t,strategy:n,middleware:f};I.current&&($.platform=I.current),Ic(S.current,C.current,$).then(z=>{const Q={...z,isPositioned:K.current!==!1};M.current&&!Sn(R.current,Q)&&(R.current=Q,tn.flushSync(()=>{b(Q)}))})},[f,t,n,I,K]);En(()=>{h===!1&&R.current.isPositioned&&(R.current.isPositioned=!1,b($=>({...$,isPositioned:!1})))},[h]);const M=B.useRef(!1);En(()=>(M.current=!0,()=>{M.current=!1}),[]),En(()=>{if(x&&(S.current=x),k&&(C.current=k),x&&k){if(D.current)return D.current(x,k,P);P()}},[x,k,P,D,W]);const X=B.useMemo(()=>({reference:S,floating:C,setReference:E,setFloating:w}),[E,w]),J=B.useMemo(()=>({reference:x,floating:k}),[x,k]),Z=B.useMemo(()=>{const $={position:n,left:0,top:0};if(!J.floating)return $;const z=as(J.floating,m.x),Q=as(J.floating,m.y);return s?{...$,transform:"translate("+z+"px, "+Q+"px)",...ls(J.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:z,top:Q}},[n,s,J.floating,m.x,m.y]);return B.useMemo(()=>({...m,update:P,refs:X,elements:J,floatingStyles:Z}),[m,P,X,J,Z])}const us=(e,t)=>({...Tc(e),options:[e,t]}),Mc=(e,t)=>({...kc(e),options:[e,t]}),Ac=(e,t)=>({...Cc(e),options:[e,t]}),Fc=(e,t)=>({..._c(e),options:[e,t]}),cs={...B},Lc=cs.useInsertionEffect||(e=>e());function ds(e){const t=B.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return Lc(()=>{t.current=e}),B.useCallback(function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t.current==null?void 0:t.current(...r)},[])}var Er=typeof document<"u"?c.useLayoutEffect:c.useEffect;let fs=!1,Nc=0;const ps=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+Nc++;function Dc(){const[e,t]=B.useState(()=>fs?ps():void 0);return Er(()=>{e==null&&t(ps())},[]),B.useEffect(()=>{fs=!0},[]),e}const jc=cs.useId||Dc;let Gt;process.env.NODE_ENV!=="production"&&(Gt=new Set);function Wc(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o="Floating UI: "+n.join(" ");if(!((e=Gt)!=null&&e.has(o))){var i;(i=Gt)==null||i.add(o),console.warn(o)}}function Bc(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o="Floating UI: "+n.join(" ");if(!((e=Gt)!=null&&e.has(o))){var i;(i=Gt)==null||i.add(o),console.error(o)}}function Vc(){const e=new Map;return{emit(t,n){var r;(r=e.get(t))==null||r.forEach(o=>o(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,((r=e.get(t))==null?void 0:r.filter(o=>o!==n))||[])}}}const Hc=B.createContext(null),Rc=B.createContext(null),Uc=()=>{var e;return((e=B.useContext(Hc))==null?void 0:e.id)||null},zc=()=>B.useContext(Rc),$c="data-floating-ui-focusable";function qc(e){const{open:t=!1,onOpenChange:n,elements:r}=e,o=jc(),i=B.useRef({}),[l]=B.useState(()=>Vc()),s=Uc()!=null;if(process.env.NODE_ENV!=="production"){const d=r.reference;d&&!Me(d)&&Bc("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[a,h]=B.useState(r.reference),m=ds((d,u,p)=>{i.current.openEvent=d?u:void 0,l.emit("openchange",{open:d,event:u,reason:p,nested:s}),n?.(d,u,p)}),b=B.useMemo(()=>({setPositionReference:h}),[]),f=B.useMemo(()=>({reference:a||r.reference||null,floating:r.floating||null,domReference:r.reference}),[a,r.reference,r.floating]);return B.useMemo(()=>({dataRef:i,open:t,onOpenChange:m,elements:f,events:l,floatingId:o,refs:b}),[t,m,f,l,o,b])}function Yc(e){e===void 0&&(e={});const{nodeId:t}=e,n=qc({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,o=r.elements,[i,l]=B.useState(null),[s,a]=B.useState(null),m=o?.domReference||i,b=B.useRef(null),f=zc();Er(()=>{m&&(b.current=m)},[m]);const d=Pc({...e,elements:{...o,...s&&{reference:s}}}),u=B.useCallback(w=>{const x=Me(w)?{getBoundingClientRect:()=>w.getBoundingClientRect(),contextElement:w}:w;a(x),d.refs.setReference(x)},[d.refs]),p=B.useCallback(w=>{(Me(w)||w===null)&&(b.current=w,l(w)),(Me(d.refs.reference.current)||d.refs.reference.current===null||w!==null&&!Me(w))&&d.refs.setReference(w)},[d.refs]),v=B.useMemo(()=>({...d.refs,setReference:p,setPositionReference:u,domReference:b}),[d.refs,p,u]),y=B.useMemo(()=>({...d.elements,domReference:m}),[d.elements,m]),E=B.useMemo(()=>({...d,...r,refs:v,elements:y,nodeId:t}),[d,v,y,t,r]);return Er(()=>{r.dataRef.current.floatingContext=E;const w=f?.nodesRef.current.find(x=>x.id===t);w&&(w.context=E)}),B.useMemo(()=>({...d,context:E,refs:v,elements:y}),[d,v,y,E])}const ms="active",hs="selected";function Sr(e,t,n){const r=new Map,o=n==="item";let i=e;if(o&&e){const{[ms]:l,[hs]:s,...a}=e;i=a}return{...n==="floating"&&{tabIndex:-1,[$c]:""},...i,...t.map(l=>{const s=l?l[n]:null;return typeof s=="function"?e?s(e):null:s}).concat(e).reduce((l,s)=>(s&&Object.entries(s).forEach(a=>{let[h,m]=a;if(!(o&&[ms,hs].includes(h)))if(h.indexOf("on")===0){if(r.has(h)||r.set(h,[]),typeof m=="function"){var b;(b=r.get(h))==null||b.push(m),l[h]=function(){for(var f,d=arguments.length,u=new Array(d),p=0;p<d;p++)u[p]=arguments[p];return(f=r.get(h))==null?void 0:f.map(v=>v(...u)).find(v=>v!==void 0)}}}else l[h]=m}),l),{})}}function Kc(e){e===void 0&&(e=[]);const t=e.map(s=>s?.reference),n=e.map(s=>s?.floating),r=e.map(s=>s?.item),o=B.useCallback(s=>Sr(s,e,"reference"),t),i=B.useCallback(s=>Sr(s,e,"floating"),n),l=B.useCallback(s=>Sr(s,e,"item"),r);return B.useMemo(()=>({getReferenceProps:o,getFloatingProps:i,getItemProps:l}),[o,i,l])}function vs(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}const Gc=e=>({name:"inner",options:e,async fn(t){const{listRef:n,overflowRef:r,onFallbackChange:o,offset:i=0,index:l=0,minItemsVisible:s=4,referenceOverflowThreshold:a=0,scrollRef:h,...m}=_t(e,t),{rects:b,elements:{floating:f}}=t,d=n.current[l],u=h?.current||f,p=f.clientTop||u.clientTop,v=f.clientTop!==0,y=u.clientTop!==0,E=f===u;if(process.env.NODE_ENV!=="production"&&(t.placement.startsWith("bottom")||Wc('`placement` side must be "bottom" when using the `inner`',"middleware.")),!d)return{};const w={...t,...await us(-d.offsetTop-f.clientTop-b.reference.height/2-d.offsetHeight/2-i).fn(t)},x=await xr(vs(w,u.scrollHeight+p+f.clientTop),m),k=await xr(w,{...m,elementContext:"reference"}),S=Ae(0,x.top),C=w.y+S,D=(u.scrollHeight>u.clientHeight?I=>I:Yt)(Ae(0,u.scrollHeight+(v&&E||y?p*2:0)-S-Ae(0,x.bottom)));if(u.style.maxHeight=D+"px",u.scrollTop=S,o){const I=u.offsetHeight<d.offsetHeight*vt(s,n.current.length)-1||k.top>=-a||k.bottom>=-a;tn.flushSync(()=>o(I))}return r&&(r.current=await xr(vs({...w,y:C},u.offsetHeight+p+f.clientTop),m)),{y:C}}});function Xc(e,t){const{open:n,elements:r}=e,{enabled:o=!0,overflowRef:i,scrollRef:l,onChange:s}=t,a=ds(s),h=B.useRef(!1),m=B.useRef(null),b=B.useRef(null);B.useEffect(()=>{if(!o)return;function d(p){if(p.ctrlKey||!u||i.current==null)return;const v=p.deltaY,y=i.current.top>=-.5,E=i.current.bottom>=-.5,w=u.scrollHeight-u.clientHeight,x=v<0?-1:1,k=v<0?"max":"min";u.scrollHeight<=u.clientHeight||(!y&&v>0||!E&&v<0?(p.preventDefault(),tn.flushSync(()=>{a(S=>S+Math[k](v,w*x))})):/firefox/i.test(Ku())&&(u.scrollTop+=v))}const u=l?.current||r.floating;if(n&&u)return u.addEventListener("wheel",d),requestAnimationFrame(()=>{m.current=u.scrollTop,i.current!=null&&(b.current={...i.current})}),()=>{m.current=null,b.current=null,u.removeEventListener("wheel",d)}},[o,n,r.floating,i,l,a]);const f=B.useMemo(()=>({onKeyDown(){h.current=!0},onWheel(){h.current=!1},onPointerMove(){h.current=!1},onScroll(){const d=l?.current||r.floating;if(!(!i.current||!d||!h.current)){if(m.current!==null){const u=d.scrollTop-m.current;(i.current.bottom<-.5&&u<-1||i.current.top<-.5&&u>1)&&tn.flushSync(()=>a(p=>p+u))}requestAnimationFrame(()=>{m.current=d.scrollTop})}}}),[r.floating,a,i,l]);return B.useMemo(()=>o?{floating:f}:{},[o,f])}let Pt=c.createContext({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});Pt.displayName="FloatingContext";let Or=c.createContext(null);Or.displayName="PlacementContext";function bs(e){return c.useMemo(()=>e?typeof e=="string"?{to:e}:e:null,[e])}function gs(){return c.useContext(Pt).setReference}function Qc(){return c.useContext(Pt).getReferenceProps}function ws(){let{getFloatingProps:e,slot:t}=c.useContext(Pt);return c.useCallback((...n)=>Object.assign({},e(...n),{"data-anchor":t.anchor}),[e,t])}function xs(e=null){e===!1&&(e=null),typeof e=="string"&&(e={to:e});let t=c.useContext(Or),n=c.useMemo(()=>e,[JSON.stringify(e,(o,i)=>{var l;return(l=i?.outerHTML)!=null?l:i})]);ue(()=>{t?.(n??null)},[t,n]);let r=c.useContext(Pt);return c.useMemo(()=>[r.setFloating,e?r.styles:{}],[r.setFloating,e,r.styles])}let ys=4;function Es({children:e,enabled:t=!0}){let[n,r]=c.useState(null),[o,i]=c.useState(0),l=c.useRef(null),[s,a]=c.useState(null);Jc(s);let h=t&&n!==null&&s!==null,{to:m="bottom",gap:b=0,offset:f=0,padding:d=0,inner:u}=Zc(n,s),[p,v="center"]=m.split(" ");ue(()=>{h&&i(0)},[h]);let{refs:y,floatingStyles:E,context:w}=Yc({open:h,placement:p==="selection"?v==="center"?"bottom":`bottom-${v}`:v==="center"?`${p}`:`${p}-${v}`,strategy:"absolute",transform:!1,middleware:[us({mainAxis:p==="selection"?0:b,crossAxis:f}),Mc({padding:d}),p!=="selection"&&Ac({padding:d}),p==="selection"&&u?Gc({...u,padding:d,overflowRef:l,offset:o,minItemsVisible:ys,referenceOverflowThreshold:d,onFallbackChange(I){var K,P;if(!I)return;let M=w.elements.floating;if(!M)return;let X=parseFloat(getComputedStyle(M).scrollPaddingBottom)||0,J=Math.min(ys,M.childElementCount),Z=0,$=0;for(let z of(P=(K=w.elements.floating)==null?void 0:K.childNodes)!=null?P:[])if(z instanceof HTMLElement){let Q=z.offsetTop,ie=Q+z.clientHeight+X,le=M.scrollTop,T=le+M.clientHeight;if(Q>=le&&ie<=T)J--;else{$=Math.max(0,Math.min(ie,T)-Math.max(Q,le)),Z=z.clientHeight;break}}J>=1&&i(z=>{let Q=Z*J-$+X;return z>=Q?z:Q})}}):null,Fc({padding:d,apply({availableWidth:I,availableHeight:K,elements:P}){Object.assign(P.floating.style,{overflow:"auto",maxWidth:`${I}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${K}px)`})}})].filter(Boolean),whileElementsMounted:Oc}),[x=p,k=v]=w.placement.split("-");p==="selection"&&(x="selection");let S=c.useMemo(()=>({anchor:[x,k].filter(Boolean).join(" ")}),[x,k]),C=Xc(w,{overflowRef:l,onChange:i}),{getReferenceProps:R,getFloatingProps:W}=Kc([C]),D=A(I=>{a(I),y.setFloating(I)});return B.createElement(Or.Provider,{value:r},B.createElement(Pt.Provider,{value:{setFloating:D,setReference:y.setReference,styles:E,getReferenceProps:R,getFloatingProps:W,slot:S}},e))}function Jc(e){ue(()=>{if(!e)return;let t=new MutationObserver(()=>{let n=window.getComputedStyle(e).maxHeight,r=parseFloat(n);if(isNaN(r))return;let o=parseInt(n);isNaN(o)||r!==o&&(e.style.maxHeight=`${Math.ceil(r)}px`)});return t.observe(e,{attributes:!0,attributeFilter:["style"]}),()=>{t.disconnect()}},[e])}function Zc(e,t){var n,r,o;let i=Tr((n=e?.gap)!=null?n:"var(--anchor-gap, 0)",t),l=Tr((r=e?.offset)!=null?r:"var(--anchor-offset, 0)",t),s=Tr((o=e?.padding)!=null?o:"var(--anchor-padding, 0)",t);return{...e,gap:i,offset:l,padding:s}}function Tr(e,t,n=void 0){let r=lt(),o=A((a,h)=>{if(a==null)return[n,null];if(typeof a=="number")return[a,null];if(typeof a=="string"){if(!h)return[n,null];let m=Os(a,h);return[m,b=>{let f=Ss(a);{let d=f.map(u=>window.getComputedStyle(h).getPropertyValue(u));r.requestAnimationFrame(function u(){r.nextFrame(u);let p=!1;for(let[y,E]of f.entries()){let w=window.getComputedStyle(h).getPropertyValue(E);if(d[y]!==w){d[y]=w,p=!0;break}}if(!p)return;let v=Os(a,h);m!==v&&(b(v),m=v)})}return r.dispose}]}return[n,null]}),i=c.useMemo(()=>o(e,t)[0],[e,t]),[l=i,s]=c.useState();return ue(()=>{let[a,h]=o(e,t);if(s(a),!!h)return h(s)},[e,t]),l}function Ss(e){let t=/var\((.*)\)/.exec(e);if(t){let n=t[1].indexOf(",");if(n===-1)return[t[1]];let r=t[1].slice(0,n).trim(),o=t[1].slice(n+1).trim();return o?[r,...Ss(o)]:[r]}return[]}function Os(e,t){let n=document.createElement("div");t.appendChild(n),n.style.setProperty("margin-top","0px","important"),n.style.setProperty("margin-top",e,"important");let r=parseFloat(window.getComputedStyle(n).marginTop)||0;return t.removeChild(n),r}function ed({children:e,freeze:t}){let n=On(t,e);return c.createElement(c.Fragment,null,n)}function On(e,t){let[n,r]=c.useState(t);return!e&&n!==t&&r(t),e?n:t}let kr=c.createContext(null);kr.displayName="OpenClosedContext";var Le=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(Le||{});function Tn(){return c.useContext(kr)}function Cr({value:e,children:t}){return c.createElement(kr.Provider,{value:e},t)}function td(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let wt=[];td(()=>{function e(t){if(!(t.target instanceof HTMLElement)||t.target===document.body||wt[0]===t.target)return;let n=t.target;n=n.closest(mn),wt.unshift(n??t.target),wt=wt.filter(r=>r!=null&&r.isConnected),wt.splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function nd(e){throw new Error("Unexpected object: "+e)}var re=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(re||{});function Xt(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),o=r??-1;switch(e.focus){case 0:{for(let i=0;i<n.length;++i)if(!t.resolveDisabled(n[i],i,n))return i;return r}case 1:{o===-1&&(o=n.length);for(let i=o-1;i>=0;--i)if(!t.resolveDisabled(n[i],i,n))return i;return r}case 2:{for(let i=o+1;i<n.length;++i)if(!t.resolveDisabled(n[i],i,n))return i;return r}case 3:{for(let i=n.length-1;i>=0;--i)if(!t.resolveDisabled(n[i],i,n))return i;return r}case 4:{for(let i=0;i<n.length;++i)if(t.resolveId(n[i],i,n)===e.id)return i;return r}case 5:return null;default:nd(e)}}var _r=(e=>(e[e.Left=0]="Left",e[e.Right=2]="Right",e))(_r||{});function rd(e){let t=A(e),n=c.useRef(!1);c.useEffect(()=>(n.current=!1,()=>{n.current=!0,ri(()=>{n.current&&t()})}),[t])}function od(){let e=typeof document>"u";return"useSyncExternalStore"in B?(t=>t.useSyncExternalStore)(B)(()=>()=>{},()=>!1,()=>!e):!1}function Ir(){let e=od(),[t,n]=B.useState(mt.isHandoffComplete);return t&&mt.isHandoffComplete===!1&&n(!1),B.useEffect(()=>{t!==!0&&n(!0)},[t]),B.useEffect(()=>mt.handoff(),[]),e?!1:t}let id=c.createContext(!1);function sd(){return c.useContext(id)}function ld(e){let t=sd(),n=c.useContext(ks),r=zt(e),[o,i]=c.useState(()=>{var l;if(!t&&n!==null)return(l=n.current)!=null?l:null;if(mt.isServer)return null;let s=r?.getElementById("headlessui-portal-root");if(s)return s;if(r===null)return null;let a=r.createElement("div");return a.setAttribute("id","headlessui-portal-root"),r.body.appendChild(a)});return c.useEffect(()=>{o!==null&&(r!=null&&r.body.contains(o)||r==null||r.body.appendChild(o))},[o,r]),c.useEffect(()=>{t||n!==null&&i(n.current)},[n,i,t]),o}let Ts=c.Fragment,ad=ye(function(e,t){let n=e,r=c.useRef(null),o=Pe(eu(b=>{r.current=b}),t),i=zt(r),l=ld(r),[s]=c.useState(()=>{var b;return mt.isServer?null:(b=i?.createElement("div"))!=null?b:null}),a=c.useContext(fd),h=Ir();ue(()=>{!l||!s||l.contains(s)||(s.setAttribute("data-headlessui-portal",""),l.appendChild(s))},[l,s]),ue(()=>{if(s&&a)return a.register(s)},[a,s]),rd(()=>{var b;!l||!s||(s instanceof Node&&l.contains(s)&&l.removeChild(s),l.childNodes.length<=0&&((b=l.parentElement)==null||b.removeChild(l)))});let m=Ee();return h?!l||!s?null:xe.createPortal(m({ourProps:{ref:o},theirProps:n,slot:{},defaultTag:Ts,name:"Portal"}),s):null});function ud(e,t){let n=Pe(t),{enabled:r=!0,...o}=e,i=Ee();return r?c.createElement(ad,{...o,ref:n}):i({ourProps:{ref:n},theirProps:o,slot:{},defaultTag:Ts,name:"Portal"})}let cd=c.Fragment,ks=c.createContext(null);function dd(e,t){let{target:n,...r}=e,o={ref:Pe(t)},i=Ee();return c.createElement(ks.Provider,{value:n},i({ourProps:o,theirProps:r,defaultTag:cd,name:"Popover.Group"}))}let fd=c.createContext(null),pd=ye(ud),md=ye(dd),Cs=Object.assign(pd,{Group:md});var hd=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(hd||{}),vd=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(vd||{}),bd=(e=>(e[e.Pointer=0]="Pointer",e[e.Focus=1]="Focus",e[e.Other=2]="Other",e))(bd||{}),gd=(e=>(e[e.OpenCombobox=0]="OpenCombobox",e[e.CloseCombobox=1]="CloseCombobox",e[e.GoToOption=2]="GoToOption",e[e.SetTyping=3]="SetTyping",e[e.RegisterOption=4]="RegisterOption",e[e.UnregisterOption=5]="UnregisterOption",e[e.SetActivationTrigger=6]="SetActivationTrigger",e[e.UpdateVirtualConfiguration=7]="UpdateVirtualConfiguration",e[e.SetInputElement=8]="SetInputElement",e[e.SetButtonElement=9]="SetButtonElement",e[e.SetOptionsElement=10]="SetOptionsElement",e))(gd||{});function Pr(e,t=n=>n){let n=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,r=t(e.options.slice()),o=r.length>0&&r[0].dataRef.current.order!==null?r.sort((l,s)=>l.dataRef.current.order-s.dataRef.current.order):cr(r,l=>l.dataRef.current.domRef.current),i=n?o.indexOf(n):null;return i===-1&&(i=null),{options:o,activeOptionIndex:i}}let wd={1(e){var t;return(t=e.dataRef.current)!=null&&t.disabled||e.comboboxState===1?e:{...e,activeOptionIndex:null,comboboxState:1,isTyping:!1,activationTrigger:2,__demoMode:!1}},0(e){var t,n;if((t=e.dataRef.current)!=null&&t.disabled||e.comboboxState===0)return e;if((n=e.dataRef.current)!=null&&n.value){let r=e.dataRef.current.calculateIndex(e.dataRef.current.value);if(r!==-1)return{...e,activeOptionIndex:r,comboboxState:0,__demoMode:!1}}return{...e,comboboxState:0,__demoMode:!1}},3(e,t){return e.isTyping===t.isTyping?e:{...e,isTyping:t.isTyping}},2(e,t){var n,r,o,i;if((n=e.dataRef.current)!=null&&n.disabled||e.optionsElement&&!((r=e.dataRef.current)!=null&&r.optionsPropsRef.current.static)&&e.comboboxState===1)return e;if(e.virtual){let{options:h,disabled:m}=e.virtual,b=t.focus===re.Specific?t.idx:Xt(t,{resolveItems:()=>h,resolveActiveIndex:()=>{var d,u;return(u=(d=e.activeOptionIndex)!=null?d:h.findIndex(p=>!m(p)))!=null?u:null},resolveDisabled:m,resolveId(){throw new Error("Function not implemented.")}}),f=(o=t.trigger)!=null?o:2;return e.activeOptionIndex===b&&e.activationTrigger===f?e:{...e,activeOptionIndex:b,activationTrigger:f,isTyping:!1,__demoMode:!1}}let l=Pr(e);if(l.activeOptionIndex===null){let h=l.options.findIndex(m=>!m.dataRef.current.disabled);h!==-1&&(l.activeOptionIndex=h)}let s=t.focus===re.Specific?t.idx:Xt(t,{resolveItems:()=>l.options,resolveActiveIndex:()=>l.activeOptionIndex,resolveId:h=>h.id,resolveDisabled:h=>h.dataRef.current.disabled}),a=(i=t.trigger)!=null?i:2;return e.activeOptionIndex===s&&e.activationTrigger===a?e:{...e,...l,isTyping:!1,activeOptionIndex:s,activationTrigger:a,__demoMode:!1}},4:(e,t)=>{var n,r,o;if((n=e.dataRef.current)!=null&&n.virtual)return{...e,options:[...e.options,t.payload]};let i=t.payload,l=Pr(e,a=>(a.push(i),a));e.activeOptionIndex===null&&(r=e.dataRef.current)!=null&&r.isSelected(t.payload.dataRef.current.value)&&(l.activeOptionIndex=l.options.indexOf(i));let s={...e,...l,activationTrigger:2};return(o=e.dataRef.current)!=null&&o.__demoMode&&e.dataRef.current.value===void 0&&(s.activeOptionIndex=0),s},5:(e,t)=>{var n;if((n=e.dataRef.current)!=null&&n.virtual)return{...e,options:e.options.filter(o=>o.id!==t.id)};let r=Pr(e,o=>{let i=o.findIndex(l=>l.id===t.id);return i!==-1&&o.splice(i,1),o});return{...e,...r,activationTrigger:2}},6:(e,t)=>e.activationTrigger===t.trigger?e:{...e,activationTrigger:t.trigger},7:(e,t)=>{var n,r;if(e.virtual===null)return{...e,virtual:{options:t.options,disabled:(n=t.disabled)!=null?n:()=>!1}};if(e.virtual.options===t.options&&e.virtual.disabled===t.disabled)return e;let o=e.activeOptionIndex;if(e.activeOptionIndex!==null){let i=t.options.indexOf(e.virtual.options[e.activeOptionIndex]);i!==-1?o=i:o=null}return{...e,activeOptionIndex:o,virtual:{options:t.options,disabled:(r=t.disabled)!=null?r:()=>!1}}},8:(e,t)=>e.inputElement===t.element?e:{...e,inputElement:t.element},9:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},10:(e,t)=>e.optionsElement===t.element?e:{...e,optionsElement:t.element}},Mr=c.createContext(null);Mr.displayName="ComboboxActionsContext";function Qt(e){let t=c.useContext(Mr);if(t===null){let n=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Qt),n}return t}let _s=c.createContext(null);function xd(e){let t=Mt("VirtualProvider"),{options:n}=t.virtual,[r,o]=c.useMemo(()=>{let h=t.optionsElement;if(!h)return[0,0];let m=window.getComputedStyle(h);return[parseFloat(m.paddingBlockStart||m.paddingTop),parseFloat(m.paddingBlockEnd||m.paddingBottom)]},[t.optionsElement]),i=gu({enabled:n.length!==0,scrollPaddingStart:r,scrollPaddingEnd:o,count:n.length,estimateSize(){return 40},getScrollElement(){return t.optionsElement},overscan:12}),[l,s]=c.useState(0);ue(()=>{s(h=>h+1)},[n]);let a=i.getVirtualItems();return a.length===0?null:c.createElement(_s.Provider,{value:i},c.createElement("div",{style:{position:"relative",width:"100%",height:`${i.getTotalSize()}px`},ref:h=>{h&&t.activationTrigger!==0&&t.activeOptionIndex!==null&&n.length>t.activeOptionIndex&&i.scrollToIndex(t.activeOptionIndex)}},a.map(h=>{var m;return c.createElement(c.Fragment,{key:h.key},c.cloneElement((m=e.children)==null?void 0:m.call(e,{...e.slot,option:n[h.index]}),{key:`${l}-${h.key}`,"data-index":h.index,"aria-setsize":n.length,"aria-posinset":h.index+1,style:{position:"absolute",top:0,left:0,transform:`translateY(${h.start}px)`,overflowAnchor:"none"}}))})))}let Jt=c.createContext(null);Jt.displayName="ComboboxDataContext";function Mt(e){let t=c.useContext(Jt);if(t===null){let n=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Mt),n}return t}function yd(e,t){return Te(t.type,wd,e,t)}let Ed=c.Fragment;function Sd(e,t){var n,r;let o=dn(),{value:i,defaultValue:l,onChange:s,form:a,name:h,by:m,disabled:b=o||!1,onClose:f,__demoMode:d=!1,multiple:u=!1,immediate:p=!1,virtual:v=null,nullable:y,...E}=e,w=li(l),[x=u?[]:void 0,k]=si(i,s,w),[S,C]=c.useReducer(yd,{dataRef:c.createRef(),comboboxState:d?0:1,isTyping:!1,options:[],virtual:v?{options:v.options,disabled:(n=v.disabled)!=null?n:()=>!1}:null,activeOptionIndex:null,activationTrigger:2,inputElement:null,buttonElement:null,optionsElement:null,__demoMode:d}),R=c.useRef(!1),W=c.useRef({static:!1,hold:!1}),D=Oi(m),I=A(F=>v?m===null?v.options.indexOf(F):v.options.findIndex(G=>D(G,F)):S.options.findIndex(G=>D(G.dataRef.current.value,F))),K=c.useCallback(F=>Te(M.mode,{1:()=>x.some(G=>D(G,F)),0:()=>D(x,F)}),[x]),P=A(F=>S.activeOptionIndex===I(F)),M=c.useMemo(()=>({...S,immediate:p,optionsPropsRef:W,value:x,defaultValue:w,disabled:b,mode:u?1:0,virtual:v?S.virtual:null,get activeOptionIndex(){if(R.current&&S.activeOptionIndex===null&&(v?v.options.length>0:S.options.length>0)){if(v){let G=v.options.findIndex(ge=>{var ke,Ne;return!((Ne=(ke=v.disabled)==null?void 0:ke.call(v,ge))!=null&&Ne)});if(G!==-1)return G}let F=S.options.findIndex(G=>!G.dataRef.current.disabled);if(F!==-1)return F}return S.activeOptionIndex},calculateIndex:I,compare:D,isSelected:K,isActive:P}),[x,w,b,u,d,S,v]);ue(()=>{var F;v&&C({type:7,options:v.options,disabled:(F=v.disabled)!=null?F:null})},[v,v?.options,v?.disabled]),ue(()=>{S.dataRef.current=M},[M]);let X=M.comboboxState===0;Di(X,[M.buttonElement,M.inputElement,M.optionsElement],()=>fe.closeCombobox());let J=c.useMemo(()=>{var F,G,ge;return{open:M.comboboxState===0,disabled:b,activeIndex:M.activeOptionIndex,activeOption:M.activeOptionIndex===null?null:M.virtual?M.virtual.options[(F=M.activeOptionIndex)!=null?F:0]:(ge=(G=M.options[M.activeOptionIndex])==null?void 0:G.dataRef.current.value)!=null?ge:null,value:x}},[M,b,x]),Z=A(()=>{if(M.activeOptionIndex!==null){if(fe.setIsTyping(!1),M.virtual)T(M.virtual.options[M.activeOptionIndex]);else{let{dataRef:F}=M.options[M.activeOptionIndex];T(F.current.value)}fe.goToOption(re.Specific,M.activeOptionIndex)}}),$=A(()=>{C({type:0}),R.current=!0}),z=A(()=>{C({type:1}),R.current=!1,f?.()}),Q=A(F=>{C({type:3,isTyping:F})}),ie=A((F,G,ge)=>(R.current=!1,F===re.Specific?C({type:2,focus:re.Specific,idx:G,trigger:ge}):C({type:2,focus:F,trigger:ge}))),le=A((F,G)=>(C({type:4,payload:{id:F,dataRef:G}}),()=>{M.isActive(G.current.value)&&(R.current=!0),C({type:5,id:F})})),T=A(F=>Te(M.mode,{0(){return k?.(F)},1(){let G=M.value.slice(),ge=G.findIndex(ke=>D(ke,F));return ge===-1?G.push(F):G.splice(ge,1),k?.(G)}})),te=A(F=>{C({type:6,trigger:F})}),ne=A(F=>{C({type:8,element:F})}),pe=A(F=>{C({type:9,element:F})}),ae=A(F=>{C({type:10,element:F})}),fe=c.useMemo(()=>({onChange:T,registerOption:le,goToOption:ie,setIsTyping:Q,closeCombobox:z,openCombobox:$,setActivationTrigger:te,selectActiveOption:Z,setInputElement:ne,setButtonElement:pe,setOptionsElement:ae}),[]),[he,We]=gi(),Ge=t===null?{}:{ref:t},O=c.useCallback(()=>{if(w!==void 0)return k?.(w)},[k,w]),V=Ee();return c.createElement(We,{value:he,props:{htmlFor:(r=M.inputElement)==null?void 0:r.id},slot:{open:M.comboboxState===0,disabled:b}},c.createElement(Es,null,c.createElement(Mr.Provider,{value:fe},c.createElement(Jt.Provider,{value:M},c.createElement(Cr,{value:Te(M.comboboxState,{0:Le.Open,1:Le.Closed})},h!=null&&c.createElement(fi,{disabled:b,data:x!=null?{[h]:x}:{},form:a,onReset:O}),V({ourProps:Ge,theirProps:E,slot:J,defaultTag:Ed,name:"Combobox"}))))))}let Od="input";function Td(e,t){var n,r,o,i,l;let s=Mt("Combobox.Input"),a=Qt("Combobox.Input"),h=c.useId(),m=nr(),{id:b=m||`headlessui-combobox-input-${h}`,onChange:f,displayValue:d,disabled:u=s.disabled||!1,autoFocus:p=!1,type:v="text",...y}=e,E=c.useRef(null),w=Pe(E,t,gs(),a.setInputElement),x=zt(s.inputElement),k=lt(),S=A(()=>{a.onChange(null),s.optionsElement&&(s.optionsElement.scrollTop=0),a.goToOption(re.Nothing)}),C=c.useMemo(()=>{var T;return typeof d=="function"&&s.value!==void 0?(T=d(s.value))!=null?T:"":typeof s.value=="string"?s.value:""},[s.value,d]);zi(([T,te],[ne,pe])=>{if(s.isTyping)return;let ae=E.current;ae&&((pe===0&&te===1||T!==ne)&&(ae.value=T),requestAnimationFrame(()=>{if(s.isTyping||!ae||x?.activeElement!==ae)return;let{selectionStart:fe,selectionEnd:he}=ae;Math.abs((he??0)-(fe??0))===0&&fe===0&&ae.setSelectionRange(ae.value.length,ae.value.length)}))},[C,s.comboboxState,x,s.isTyping]),zi(([T],[te])=>{if(T===0&&te===1){if(s.isTyping)return;let ne=E.current;if(!ne)return;let pe=ne.value,{selectionStart:ae,selectionEnd:fe,selectionDirection:he}=ne;ne.value="",ne.value=pe,he!==null?ne.setSelectionRange(ae,fe,he):ne.setSelectionRange(ae,fe)}},[s.comboboxState]);let R=c.useRef(!1),W=A(()=>{R.current=!0}),D=A(()=>{k.nextFrame(()=>{R.current=!1})}),I=A(T=>{switch(a.setIsTyping(!0),T.key){case de.Enter:if(s.comboboxState!==0||R.current)return;if(T.preventDefault(),T.stopPropagation(),s.activeOptionIndex===null){a.closeCombobox();return}a.selectActiveOption(),s.mode===0&&a.closeCombobox();break;case de.ArrowDown:return T.preventDefault(),T.stopPropagation(),Te(s.comboboxState,{0:()=>a.goToOption(re.Next),1:()=>a.openCombobox()});case de.ArrowUp:return T.preventDefault(),T.stopPropagation(),Te(s.comboboxState,{0:()=>a.goToOption(re.Previous),1:()=>{xe.flushSync(()=>a.openCombobox()),s.value||a.goToOption(re.Last)}});case de.Home:if(T.shiftKey)break;return T.preventDefault(),T.stopPropagation(),a.goToOption(re.First);case de.PageUp:return T.preventDefault(),T.stopPropagation(),a.goToOption(re.First);case de.End:if(T.shiftKey)break;return T.preventDefault(),T.stopPropagation(),a.goToOption(re.Last);case de.PageDown:return T.preventDefault(),T.stopPropagation(),a.goToOption(re.Last);case de.Escape:return s.comboboxState!==0?void 0:(T.preventDefault(),s.optionsElement&&!s.optionsPropsRef.current.static&&T.stopPropagation(),s.mode===0&&s.value===null&&S(),a.closeCombobox());case de.Tab:if(s.comboboxState!==0)return;s.mode===0&&s.activationTrigger!==1&&a.selectActiveOption(),a.closeCombobox();break}}),K=A(T=>{f?.(T),s.mode===0&&T.target.value===""&&S(),a.openCombobox()}),P=A(T=>{var te,ne,pe;let ae=(te=T.relatedTarget)!=null?te:wt.find(fe=>fe!==T.currentTarget);if(!((ne=s.optionsElement)!=null&&ne.contains(ae))&&!((pe=s.buttonElement)!=null&&pe.contains(ae))&&s.comboboxState===0)return T.preventDefault(),s.mode===0&&s.value===null&&S(),a.closeCombobox()}),M=A(T=>{var te,ne,pe;let ae=(te=T.relatedTarget)!=null?te:wt.find(fe=>fe!==T.currentTarget);(ne=s.buttonElement)!=null&&ne.contains(ae)||(pe=s.optionsElement)!=null&&pe.contains(ae)||s.disabled||s.immediate&&s.comboboxState!==0&&k.microTask(()=>{xe.flushSync(()=>a.openCombobox()),a.setActivationTrigger(1)})}),X=Ht(),J=vi(),{isFocused:Z,focusProps:$}=Qn({autoFocus:p}),{isHovered:z,hoverProps:Q}=Xn({isDisabled:u}),ie=c.useMemo(()=>({open:s.comboboxState===0,disabled:u,hover:z,focus:Z,autofocus:p}),[s,z,Z,p,u]),le=Vt({ref:w,id:b,role:"combobox",type:v,"aria-controls":(n=s.optionsElement)==null?void 0:n.id,"aria-expanded":s.comboboxState===0,"aria-activedescendant":s.activeOptionIndex===null?void 0:s.virtual?(r=s.options.find(T=>!T.dataRef.current.disabled&&s.compare(T.dataRef.current.value,s.virtual.options[s.activeOptionIndex])))==null?void 0:r.id:(o=s.options[s.activeOptionIndex])==null?void 0:o.id,"aria-labelledby":X,"aria-describedby":J,"aria-autocomplete":"list",defaultValue:(l=(i=e.defaultValue)!=null?i:s.defaultValue!==void 0?d?.(s.defaultValue):null)!=null?l:s.defaultValue,disabled:u||void 0,autoFocus:p,onCompositionStart:W,onCompositionEnd:D,onKeyDown:I,onChange:K,onFocus:M,onBlur:P},$,Q);return Ee()({ourProps:le,theirProps:y,slot:ie,defaultTag:Od,name:"Combobox.Input"})}let kd="button";function Cd(e,t){var n;let r=Mt("Combobox.Button"),o=Qt("Combobox.Button"),i=Pe(t,o.setButtonElement),l=c.useId(),{id:s=`headlessui-combobox-button-${l}`,disabled:a=r.disabled||!1,autoFocus:h=!1,...m}=e,b=ji(r.inputElement),f=A(C=>{switch(C.key){case de.Space:case de.Enter:C.preventDefault(),C.stopPropagation(),r.comboboxState===1&&xe.flushSync(()=>o.openCombobox()),b();return;case de.ArrowDown:C.preventDefault(),C.stopPropagation(),r.comboboxState===1&&(xe.flushSync(()=>o.openCombobox()),r.value||o.goToOption(re.First)),b();return;case de.ArrowUp:C.preventDefault(),C.stopPropagation(),r.comboboxState===1&&(xe.flushSync(()=>o.openCombobox()),r.value||o.goToOption(re.Last)),b();return;case de.Escape:if(r.comboboxState!==0)return;C.preventDefault(),r.optionsElement&&!r.optionsPropsRef.current.static&&C.stopPropagation(),xe.flushSync(()=>o.closeCombobox()),b();return;default:return}}),d=A(C=>{C.preventDefault(),!pi(C.currentTarget)&&(C.button===_r.Left&&(r.comboboxState===0?o.closeCombobox():o.openCombobox()),b())}),u=Ht([s]),{isFocusVisible:p,focusProps:v}=Qn({autoFocus:h}),{isHovered:y,hoverProps:E}=Xn({isDisabled:a}),{pressed:w,pressProps:x}=oi({disabled:a}),k=c.useMemo(()=>({open:r.comboboxState===0,active:w||r.comboboxState===0,disabled:a,value:r.value,hover:y,focus:p}),[r,y,p,w,a]),S=Vt({ref:i,id:s,type:Wi(e,r.buttonElement),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":(n=r.optionsElement)==null?void 0:n.id,"aria-expanded":r.comboboxState===0,"aria-labelledby":u,disabled:a||void 0,autoFocus:h,onMouseDown:d,onKeyDown:f},v,E,x);return Ee()({ourProps:S,theirProps:m,slot:k,defaultTag:kd,name:"Combobox.Button"})}let _d="div",Id=Ot.RenderStrategy|Ot.Static;function Pd(e,t){var n,r,o;let i=c.useId(),{id:l=`headlessui-combobox-options-${i}`,hold:s=!1,anchor:a,portal:h=!1,modal:m=!0,transition:b=!1,...f}=e,d=Mt("Combobox.Options"),u=Qt("Combobox.Options"),p=bs(a);p&&(h=!0);let[v,y]=xs(p),[E,w]=c.useState(null),x=ws(),k=Pe(t,p?v:null,u.setOptionsElement,w),S=zt(d.optionsElement),C=Tn(),[R,W]=fr(b,E,C!==null?(C&Le.Open)===Le.Open:d.comboboxState===0);Pi(R,d.inputElement,u.closeCombobox);let D=d.__demoMode?!1:m&&d.comboboxState===0;Bi(D,S);let I=d.__demoMode?!1:m&&d.comboboxState===0;Ii(I,{allowed:c.useCallback(()=>[d.inputElement,d.buttonElement,d.optionsElement],[d.inputElement,d.buttonElement,d.optionsElement])}),ue(()=>{var le;d.optionsPropsRef.current.static=(le=e.static)!=null?le:!1},[d.optionsPropsRef,e.static]),ue(()=>{d.optionsPropsRef.current.hold=s},[d.optionsPropsRef,s]),$u(d.comboboxState===0,{container:d.optionsElement,accept(le){return le.getAttribute("role")==="option"?NodeFilter.FILTER_REJECT:le.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(le){le.setAttribute("role","none")}});let K=Ht([(n=d.buttonElement)==null?void 0:n.id]),P=c.useMemo(()=>({open:d.comboboxState===0,option:void 0}),[d.comboboxState]),M=A(()=>{u.setActivationTrigger(0)}),X=A(le=>{le.preventDefault(),u.setActivationTrigger(0)}),J=Vt(p?x():{},{"aria-labelledby":K,role:"listbox","aria-multiselectable":d.mode===1?!0:void 0,id:l,ref:k,style:{...f.style,...y,"--input-width":ir(d.inputElement,!0).width,"--button-width":ir(d.buttonElement,!0).width},onWheel:d.activationTrigger===0?void 0:M,onMouseDown:X,...dr(W)}),Z=R&&d.comboboxState===1,$=On(Z,(r=d.virtual)==null?void 0:r.options),z=On(Z,d.value),Q=A(le=>d.compare(z,le));if(d.virtual){if($===void 0)throw new Error("Missing `options` in virtual mode");Object.assign(f,{children:c.createElement(Jt.Provider,{value:$!==d.virtual.options?{...d,virtual:{...d.virtual,options:$}}:d},c.createElement(xd,{slot:P},f.children))})}let ie=Ee();return c.createElement(Cs,{enabled:h?e.static||R:!1},c.createElement(Jt.Provider,{value:d.mode===1?d:{...d,isSelected:Q}},ie({ourProps:J,theirProps:{...f,children:c.createElement(ed,{freeze:Z},typeof f.children=="function"?(o=f.children)==null?void 0:o.call(f,P):f.children)},slot:P,defaultTag:_d,features:Id,visible:R,name:"Combobox.Options"})))}let Md="div";function Ad(e,t){var n,r,o,i;let l=Mt("Combobox.Option"),s=Qt("Combobox.Option"),a=c.useId(),{id:h=`headlessui-combobox-option-${a}`,value:m,disabled:b=(o=(r=(n=l.virtual)==null?void 0:n.disabled)==null?void 0:r.call(n,m))!=null?o:!1,order:f=null,...d}=e,u=ji(l.inputElement),p=l.virtual?l.activeOptionIndex===l.calculateIndex(m):l.activeOptionIndex===null?!1:((i=l.options[l.activeOptionIndex])==null?void 0:i.id)===h,v=l.isSelected(m),y=c.useRef(null),E=nt({disabled:b,value:m,domRef:y,order:f}),w=c.useContext(_s),x=Pe(t,y,w?w.measureElement:null),k=A(()=>{s.setIsTyping(!1),s.onChange(m)});ue(()=>s.registerOption(h,E),[E,h]);let S=c.useRef(!(l.virtual||l.__demoMode));ue(()=>{if(!l.virtual&&!l.__demoMode)return qe().requestAnimationFrame(()=>{S.current=!0})},[l.virtual,l.__demoMode]),ue(()=>{if(S.current&&l.comboboxState===0&&p&&l.activationTrigger!==0)return qe().requestAnimationFrame(()=>{var X,J;(J=(X=y.current)==null?void 0:X.scrollIntoView)==null||J.call(X,{block:"nearest"})})},[y,p,l.comboboxState,l.activationTrigger,l.activeOptionIndex]);let C=A(X=>{X.preventDefault(),X.button===_r.Left&&(b||(k(),Li()||requestAnimationFrame(()=>u()),l.mode===0&&s.closeCombobox()))}),R=A(()=>{if(b)return s.goToOption(re.Nothing);let X=l.calculateIndex(m);s.goToOption(re.Specific,X)}),W=Hi(),D=A(X=>W.update(X)),I=A(X=>{if(!W.wasMoved(X)||b||p)return;let J=l.calculateIndex(m);s.goToOption(re.Specific,J,0)}),K=A(X=>{W.wasMoved(X)&&(b||p&&(l.optionsPropsRef.current.hold||s.goToOption(re.Nothing)))}),P=c.useMemo(()=>({active:p,focus:p,selected:v,disabled:b}),[p,v,b]),M={id:h,ref:x,role:"option",tabIndex:b===!0?void 0:-1,"aria-disabled":b===!0?!0:void 0,"aria-selected":v,disabled:void 0,onMouseDown:C,onFocus:R,onPointerEnter:D,onMouseEnter:D,onPointerMove:I,onMouseMove:I,onPointerLeave:K,onMouseLeave:K};return Ee()({ourProps:M,theirProps:d,slot:P,defaultTag:Md,name:"Combobox.Option"})}let Fd=ye(Sd),Ld=ye(Cd),Nd=ye(Td),Dd=wi,jd=ye(Pd),Wd=ye(Ad),Zt=Object.assign(Fd,{Input:Nd,Button:Ld,Label:Dd,Options:jd,Option:Wd});function Bd(){let e=c.useRef(!1);return ue(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function Is(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||((t=e.as)!=null?t:Ms)!==c.Fragment||c.Children.count(e.children)===1}let kn=c.createContext(null);kn.displayName="TransitionContext";var Vd=(e=>(e.Visible="visible",e.Hidden="hidden",e))(Vd||{});function Hd(){let e=c.useContext(kn);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function Rd(){let e=c.useContext(Cn);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let Cn=c.createContext(null);Cn.displayName="NestingContext";function _n(e){return"children"in e?_n(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function Ps(e,t){let n=nt(e),r=c.useRef([]),o=Bd(),i=lt(),l=A((d,u=at.Hidden)=>{let p=r.current.findIndex(({el:v})=>v===d);p!==-1&&(Te(u,{[at.Unmount](){r.current.splice(p,1)},[at.Hidden](){r.current[p].state="hidden"}}),i.microTask(()=>{var v;!_n(r)&&o.current&&((v=n.current)==null||v.call(n))}))}),s=A(d=>{let u=r.current.find(({el:p})=>p===d);return u?u.state!=="visible"&&(u.state="visible"):r.current.push({el:d,state:"visible"}),()=>l(d,at.Unmount)}),a=c.useRef([]),h=c.useRef(Promise.resolve()),m=c.useRef({enter:[],leave:[]}),b=A((d,u,p)=>{a.current.splice(0),t&&(t.chains.current[u]=t.chains.current[u].filter(([v])=>v!==d)),t?.chains.current[u].push([d,new Promise(v=>{a.current.push(v)})]),t?.chains.current[u].push([d,new Promise(v=>{Promise.all(m.current[u].map(([y,E])=>E)).then(()=>v())})]),u==="enter"?h.current=h.current.then(()=>t?.wait.current).then(()=>p(u)):p(u)}),f=A((d,u,p)=>{Promise.all(m.current[u].splice(0).map(([v,y])=>y)).then(()=>{var v;(v=a.current.shift())==null||v()}).then(()=>p(u))});return c.useMemo(()=>({children:r,register:s,unregister:l,onStart:b,onStop:f,wait:h,chains:m}),[s,l,r,b,f,m,h])}let Ms=c.Fragment,As=Ot.RenderStrategy;function Ud(e,t){var n,r;let{transition:o=!0,beforeEnter:i,afterEnter:l,beforeLeave:s,afterLeave:a,enter:h,enterFrom:m,enterTo:b,entered:f,leave:d,leaveFrom:u,leaveTo:p,...v}=e,[y,E]=c.useState(null),w=c.useRef(null),x=Is(e),k=Pe(...x?[w,t,E]:t===null?[]:[t]),S=(n=v.unmount)==null||n?at.Unmount:at.Hidden,{show:C,appear:R,initial:W}=Hd(),[D,I]=c.useState(C?"visible":"hidden"),K=Rd(),{register:P,unregister:M}=K;ue(()=>P(w),[P,w]),ue(()=>{if(S===at.Hidden&&w.current){if(C&&D!=="visible"){I("visible");return}return Te(D,{hidden:()=>M(w),visible:()=>P(w)})}},[D,w,P,M,C,S]);let X=Ir();ue(()=>{if(x&&X&&D==="visible"&&w.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[w,D,X,x]);let J=W&&!R,Z=R&&C&&W,$=c.useRef(!1),z=Ps(()=>{$.current||(I("hidden"),M(w))},K),Q=A(ae=>{$.current=!0;let fe=ae?"enter":"leave";z.onStart(w,fe,he=>{he==="enter"?i?.():he==="leave"&&s?.()})}),ie=A(ae=>{let fe=ae?"enter":"leave";$.current=!1,z.onStop(w,fe,he=>{he==="enter"?l?.():he==="leave"&&a?.()}),fe==="leave"&&!_n(z)&&(I("hidden"),M(w))});c.useEffect(()=>{x&&o||(Q(C),ie(C))},[C,x,o]);let le=(()=>!(!o||!x||!X||J))(),[,T]=fr(le,y,C,{start:Q,end:ie}),te=ut({ref:k,className:((r=Zn(v.className,Z&&h,Z&&m,T.enter&&h,T.enter&&T.closed&&m,T.enter&&!T.closed&&b,T.leave&&d,T.leave&&!T.closed&&u,T.leave&&T.closed&&p,!T.transition&&C&&f))==null?void 0:r.trim())||void 0,...dr(T)}),ne=0;D==="visible"&&(ne|=Le.Open),D==="hidden"&&(ne|=Le.Closed),T.enter&&(ne|=Le.Opening),T.leave&&(ne|=Le.Closing);let pe=Ee();return c.createElement(Cn.Provider,{value:z},c.createElement(Cr,{value:ne},pe({ourProps:te,theirProps:v,defaultTag:Ms,features:As,visible:D==="visible",name:"Transition.Child"})))}function zd(e,t){let{show:n,appear:r=!1,unmount:o=!0,...i}=e,l=c.useRef(null),s=Is(e),a=Pe(...s?[l,t]:t===null?[]:[t]);Ir();let h=Tn();if(n===void 0&&h!==null&&(n=(h&Le.Open)===Le.Open),n===void 0)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[m,b]=c.useState(n?"visible":"hidden"),f=Ps(()=>{n||b("hidden")}),[d,u]=c.useState(!0),p=c.useRef([n]);ue(()=>{d!==!1&&p.current[p.current.length-1]!==n&&(p.current.push(n),u(!1))},[p,n]);let v=c.useMemo(()=>({show:n,appear:r,initial:d}),[n,r,d]);ue(()=>{n?b("visible"):!_n(f)&&l.current!==null&&b("hidden")},[n,f]);let y={unmount:o},E=A(()=>{var k;d&&u(!1),(k=e.beforeEnter)==null||k.call(e)}),w=A(()=>{var k;d&&u(!1),(k=e.beforeLeave)==null||k.call(e)}),x=Ee();return c.createElement(Cn.Provider,{value:f},c.createElement(kn.Provider,{value:v},x({ourProps:{...y,as:c.Fragment,children:c.createElement(Fs,{ref:a,...y,...i,beforeEnter:E,beforeLeave:w})},theirProps:{},defaultTag:c.Fragment,features:As,visible:m==="visible",name:"Transition"})))}function $d(e,t){let n=c.useContext(kn)!==null,r=Tn()!==null;return c.createElement(c.Fragment,null,!n&&r?c.createElement(Ar,{ref:t,...e}):c.createElement(Fs,{ref:t,...e}))}let Ar=ye(zd),Fs=ye(Ud),qd=ye($d),Ls=Object.assign(Ar,{Child:qd,Root:Ar});function Yd(e,t){let n=c.useRef({left:0,top:0});if(ue(()=>{if(!t)return;let o=t.getBoundingClientRect();o&&(n.current=o)},[e,t]),t==null||!e||t===document.activeElement)return!1;let r=t.getBoundingClientRect();return r.top!==n.current.top||r.left!==n.current.left}let Ns=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function Ds(e){var t,n;let r=(t=e.innerText)!=null?t:"",o=e.cloneNode(!0);if(!(o instanceof HTMLElement))return r;let i=!1;for(let s of o.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))s.remove(),i=!0;let l=i?(n=o.innerText)!=null?n:"":r;return Ns.test(l)&&(l=l.replace(Ns,"")),l}function Kd(e){let t=e.getAttribute("aria-label");if(typeof t=="string")return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let r=n.split(" ").map(o=>{let i=document.getElementById(o);if(i){let l=i.getAttribute("aria-label");return typeof l=="string"?l.trim():Ds(i).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return Ds(e).trim()}function Gd(e){let t=c.useRef(""),n=c.useRef("");return A(()=>{let r=e.current;if(!r)return"";let o=r.innerText;if(t.current===o)return n.current;let i=Kd(r).trim().toLowerCase();return t.current=o,n.current=i,i})}var Xd=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Xd||{}),Qd=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(Qd||{}),Jd=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Jd||{}),Zd=(e=>(e[e.OpenListbox=0]="OpenListbox",e[e.CloseListbox=1]="CloseListbox",e[e.GoToOption=2]="GoToOption",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterOption=5]="RegisterOption",e[e.UnregisterOption=6]="UnregisterOption",e[e.SetButtonElement=7]="SetButtonElement",e[e.SetOptionsElement=8]="SetOptionsElement",e))(Zd||{});function Fr(e,t=n=>n){let n=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,r=cr(t(e.options.slice()),i=>i.dataRef.current.domRef.current),o=n?r.indexOf(n):null;return o===-1&&(o=null),{options:r,activeOptionIndex:o}}let ef={1(e){return e.dataRef.current.disabled||e.listboxState===1?e:{...e,activeOptionIndex:null,listboxState:1,__demoMode:!1}},0(e){if(e.dataRef.current.disabled||e.listboxState===0)return e;let t=e.activeOptionIndex,{isSelected:n}=e.dataRef.current,r=e.options.findIndex(o=>n(o.dataRef.current.value));return r!==-1&&(t=r),{...e,listboxState:0,activeOptionIndex:t,__demoMode:!1}},2(e,t){var n,r,o,i,l;if(e.dataRef.current.disabled||e.listboxState===1)return e;let s={...e,searchQuery:"",activationTrigger:(n=t.trigger)!=null?n:1,__demoMode:!1};if(t.focus===re.Nothing)return{...s,activeOptionIndex:null};if(t.focus===re.Specific)return{...s,activeOptionIndex:e.options.findIndex(m=>m.id===t.id)};if(t.focus===re.Previous){let m=e.activeOptionIndex;if(m!==null){let b=e.options[m].dataRef.current.domRef,f=Xt(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:d=>d.id,resolveDisabled:d=>d.dataRef.current.disabled});if(f!==null){let d=e.options[f].dataRef.current.domRef;if(((r=b.current)==null?void 0:r.previousElementSibling)===d.current||((o=d.current)==null?void 0:o.previousElementSibling)===null)return{...s,activeOptionIndex:f}}}}else if(t.focus===re.Next){let m=e.activeOptionIndex;if(m!==null){let b=e.options[m].dataRef.current.domRef,f=Xt(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:d=>d.id,resolveDisabled:d=>d.dataRef.current.disabled});if(f!==null){let d=e.options[f].dataRef.current.domRef;if(((i=b.current)==null?void 0:i.nextElementSibling)===d.current||((l=d.current)==null?void 0:l.nextElementSibling)===null)return{...s,activeOptionIndex:f}}}}let a=Fr(e),h=Xt(t,{resolveItems:()=>a.options,resolveActiveIndex:()=>a.activeOptionIndex,resolveId:m=>m.id,resolveDisabled:m=>m.dataRef.current.disabled});return{...s,...a,activeOptionIndex:h}},3:(e,t)=>{if(e.dataRef.current.disabled||e.listboxState===1)return e;let n=e.searchQuery!==""?0:1,r=e.searchQuery+t.value.toLowerCase(),o=(e.activeOptionIndex!==null?e.options.slice(e.activeOptionIndex+n).concat(e.options.slice(0,e.activeOptionIndex+n)):e.options).find(l=>{var s;return!l.dataRef.current.disabled&&((s=l.dataRef.current.textValue)==null?void 0:s.startsWith(r))}),i=o?e.options.indexOf(o):-1;return i===-1||i===e.activeOptionIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeOptionIndex:i,activationTrigger:1}},4(e){return e.dataRef.current.disabled||e.listboxState===1||e.searchQuery===""?e:{...e,searchQuery:""}},5:(e,t)=>{let n={id:t.id,dataRef:t.dataRef},r=Fr(e,o=>[...o,n]);return e.activeOptionIndex===null&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(r.activeOptionIndex=r.options.indexOf(n)),{...e,...r}},6:(e,t)=>{let n=Fr(e,r=>{let o=r.findIndex(i=>i.id===t.id);return o!==-1&&r.splice(o,1),r});return{...e,...n,activationTrigger:1}},7:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},8:(e,t)=>e.optionsElement===t.element?e:{...e,optionsElement:t.element}},Lr=c.createContext(null);Lr.displayName="ListboxActionsContext";function In(e){let t=c.useContext(Lr);if(t===null){let n=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,In),n}return t}let Pn=c.createContext(null);Pn.displayName="ListboxDataContext";function en(e){let t=c.useContext(Pn);if(t===null){let n=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,en),n}return t}function tf(e,t){return Te(t.type,ef,e,t)}let nf=c.Fragment;function rf(e,t){var n;let r=dn(),{value:o,defaultValue:i,form:l,name:s,onChange:a,by:h,invalid:m=!1,disabled:b=r||!1,horizontal:f=!1,multiple:d=!1,__demoMode:u=!1,...p}=e;const v=f?"horizontal":"vertical";let y=Pe(t),E=li(i),[w=d?[]:void 0,x]=si(o,a,E),[k,S]=c.useReducer(tf,{dataRef:c.createRef(),listboxState:u?0:1,options:[],searchQuery:"",activeOptionIndex:null,activationTrigger:1,optionsVisible:!1,buttonElement:null,optionsElement:null,__demoMode:u}),C=c.useRef({static:!1,hold:!1}),R=c.useRef(new Map),W=Oi(h),D=c.useCallback(O=>Te(I.mode,{1:()=>w.some(V=>W(V,O)),0:()=>W(w,O)}),[w]),I=c.useMemo(()=>({...k,value:w,disabled:b,invalid:m,mode:d?1:0,orientation:v,compare:W,isSelected:D,optionsPropsRef:C,listRef:R}),[w,b,m,d,k,R]);ue(()=>{k.dataRef.current=I},[I]);let K=I.listboxState===0;Di(K,[I.buttonElement,I.optionsElement],(O,V)=>{var F;S({type:1}),Ai(V,ur.Loose)||(O.preventDefault(),(F=I.buttonElement)==null||F.focus())});let P=c.useMemo(()=>({open:I.listboxState===0,disabled:b,invalid:m,value:w}),[I,b,w,m]),M=A(O=>{let V=I.options.find(F=>F.id===O);V&&ie(V.dataRef.current.value)}),X=A(()=>{if(I.activeOptionIndex!==null){let{dataRef:O,id:V}=I.options[I.activeOptionIndex];ie(O.current.value),S({type:2,focus:re.Specific,id:V})}}),J=A(()=>S({type:0})),Z=A(()=>S({type:1})),$=lt(),z=A((O,V,F)=>{$.dispose(),$.microTask(()=>O===re.Specific?S({type:2,focus:re.Specific,id:V,trigger:F}):S({type:2,focus:O,trigger:F}))}),Q=A((O,V)=>(S({type:5,id:O,dataRef:V}),()=>S({type:6,id:O}))),ie=A(O=>Te(I.mode,{0(){return x?.(O)},1(){let V=I.value.slice(),F=V.findIndex(G=>W(G,O));return F===-1?V.push(O):V.splice(F,1),x?.(V)}})),le=A(O=>S({type:3,value:O})),T=A(()=>S({type:4})),te=A(O=>{S({type:7,element:O})}),ne=A(O=>{S({type:8,element:O})}),pe=c.useMemo(()=>({onChange:ie,registerOption:Q,goToOption:z,closeListbox:Z,openListbox:J,selectActiveOption:X,selectOption:M,search:le,clearSearch:T,setButtonElement:te,setOptionsElement:ne}),[]),[ae,fe]=gi({inherit:!0}),he={ref:y},We=c.useCallback(()=>{if(E!==void 0)return x?.(E)},[x,E]),Ge=Ee();return c.createElement(fe,{value:ae,props:{htmlFor:(n=I.buttonElement)==null?void 0:n.id},slot:{open:I.listboxState===0,disabled:b}},c.createElement(Es,null,c.createElement(Lr.Provider,{value:pe},c.createElement(Pn.Provider,{value:I},c.createElement(Cr,{value:Te(I.listboxState,{0:Le.Open,1:Le.Closed})},s!=null&&w!=null&&c.createElement(fi,{disabled:b,data:{[s]:w},form:l,onReset:We}),Ge({ourProps:he,theirProps:p,slot:P,defaultTag:nf,name:"Listbox"}))))))}let of="button";function sf(e,t){var n;let r=en("Listbox.Button"),o=In("Listbox.Button"),i=c.useId(),l=nr(),{id:s=l||`headlessui-listbox-button-${i}`,disabled:a=r.disabled||!1,autoFocus:h=!1,...m}=e,b=Pe(t,gs(),o.setButtonElement),f=Qc(),d=A(I=>{switch(I.key){case de.Enter:qa(I.currentTarget);break;case de.Space:case de.ArrowDown:I.preventDefault(),xe.flushSync(()=>o.openListbox()),r.value||o.goToOption(re.First);break;case de.ArrowUp:I.preventDefault(),xe.flushSync(()=>o.openListbox()),r.value||o.goToOption(re.Last);break}}),u=A(I=>{switch(I.key){case de.Space:I.preventDefault();break}}),p=A(I=>{var K;if(pi(I.currentTarget))return I.preventDefault();r.listboxState===0?(xe.flushSync(()=>o.closeListbox()),(K=r.buttonElement)==null||K.focus({preventScroll:!0})):(I.preventDefault(),o.openListbox())}),v=A(I=>I.preventDefault()),y=Ht([s]),E=vi(),{isFocusVisible:w,focusProps:x}=Qn({autoFocus:h}),{isHovered:k,hoverProps:S}=Xn({isDisabled:a}),{pressed:C,pressProps:R}=oi({disabled:a}),W=c.useMemo(()=>({open:r.listboxState===0,active:C||r.listboxState===0,disabled:a,invalid:r.invalid,value:r.value,hover:k,focus:w,autofocus:h}),[r.listboxState,r.value,a,k,w,C,r.invalid,h]),D=Vt(f(),{ref:b,id:s,type:Wi(e,r.buttonElement),"aria-haspopup":"listbox","aria-controls":(n=r.optionsElement)==null?void 0:n.id,"aria-expanded":r.listboxState===0,"aria-labelledby":y,"aria-describedby":E,disabled:a||void 0,autoFocus:h,onKeyDown:d,onKeyUp:u,onKeyPress:v,onClick:p},x,S,R);return Ee()({ourProps:D,theirProps:m,slot:W,defaultTag:of,name:"Listbox.Button"})}let js=c.createContext(!1),lf="div",af=Ot.RenderStrategy|Ot.Static;function uf(e,t){var n,r;let o=c.useId(),{id:i=`headlessui-listbox-options-${o}`,anchor:l,portal:s=!1,modal:a=!0,transition:h=!1,...m}=e,b=bs(l),[f,d]=c.useState(null);b&&(s=!0);let u=en("Listbox.Options"),p=In("Listbox.Options"),v=zt(u.optionsElement),y=Tn(),[E,w]=fr(h,f,y!==null?(y&Le.Open)===Le.Open:u.listboxState===0);Pi(E,u.buttonElement,p.closeListbox);let x=u.__demoMode?!1:a&&u.listboxState===0;Bi(x,v);let k=u.__demoMode?!1:a&&u.listboxState===0;Ii(k,{allowed:c.useCallback(()=>[u.buttonElement,u.optionsElement],[u.buttonElement,u.optionsElement])});let S=u.listboxState!==0,C=Yd(S,u.buttonElement)?!1:E,R=E&&u.listboxState===1,W=On(R,u.value),D=A(T=>u.compare(W,T)),I=c.useMemo(()=>{var T;if(b==null||!((T=b?.to)!=null&&T.includes("selection")))return null;let te=u.options.findIndex(ne=>D(ne.dataRef.current.value));return te===-1&&(te=0),te},[b,u.options]),K=(()=>{if(b==null)return;if(I===null)return{...b,inner:void 0};let T=Array.from(u.listRef.current.values());return{...b,inner:{listRef:{current:T},index:I}}})(),[P,M]=xs(K),X=ws(),J=Pe(t,b?P:null,p.setOptionsElement,d),Z=lt();c.useEffect(()=>{var T;let te=u.optionsElement;te&&u.listboxState===0&&te!==((T=St(te))==null?void 0:T.activeElement)&&te?.focus({preventScroll:!0})},[u.listboxState,u.optionsElement]);let $=A(T=>{var te,ne;switch(Z.dispose(),T.key){case de.Space:if(u.searchQuery!=="")return T.preventDefault(),T.stopPropagation(),p.search(T.key);case de.Enter:if(T.preventDefault(),T.stopPropagation(),u.activeOptionIndex!==null){let{dataRef:pe}=u.options[u.activeOptionIndex];p.onChange(pe.current.value)}u.mode===0&&(xe.flushSync(()=>p.closeListbox()),(te=u.buttonElement)==null||te.focus({preventScroll:!0}));break;case Te(u.orientation,{vertical:de.ArrowDown,horizontal:de.ArrowRight}):return T.preventDefault(),T.stopPropagation(),p.goToOption(re.Next);case Te(u.orientation,{vertical:de.ArrowUp,horizontal:de.ArrowLeft}):return T.preventDefault(),T.stopPropagation(),p.goToOption(re.Previous);case de.Home:case de.PageUp:return T.preventDefault(),T.stopPropagation(),p.goToOption(re.First);case de.End:case de.PageDown:return T.preventDefault(),T.stopPropagation(),p.goToOption(re.Last);case de.Escape:T.preventDefault(),T.stopPropagation(),xe.flushSync(()=>p.closeListbox()),(ne=u.buttonElement)==null||ne.focus({preventScroll:!0});return;case de.Tab:T.preventDefault(),T.stopPropagation(),xe.flushSync(()=>p.closeListbox()),Pu(u.buttonElement,T.shiftKey?ar.Previous:ar.Next);break;default:T.key.length===1&&(p.search(T.key),Z.setTimeout(()=>p.clearSearch(),350));break}}),z=(n=u.buttonElement)==null?void 0:n.id,Q=c.useMemo(()=>({open:u.listboxState===0}),[u.listboxState]),ie=Vt(b?X():{},{id:i,ref:J,"aria-activedescendant":u.activeOptionIndex===null||(r=u.options[u.activeOptionIndex])==null?void 0:r.id,"aria-multiselectable":u.mode===1?!0:void 0,"aria-labelledby":z,"aria-orientation":u.orientation,onKeyDown:$,role:"listbox",tabIndex:u.listboxState===0?0:void 0,style:{...m.style,...M,"--button-width":ir(u.buttonElement,!0).width},...dr(w)}),le=Ee();return c.createElement(Cs,{enabled:s?e.static||E:!1},c.createElement(Pn.Provider,{value:u.mode===1?u:{...u,isSelected:D}},le({ourProps:ie,theirProps:m,slot:Q,defaultTag:lf,features:af,visible:C,name:"Listbox.Options"})))}let cf="div";function df(e,t){let n=c.useId(),{id:r=`headlessui-listbox-option-${n}`,disabled:o=!1,value:i,...l}=e,s=c.useContext(js)===!0,a=en("Listbox.Option"),h=In("Listbox.Option"),m=a.activeOptionIndex!==null?a.options[a.activeOptionIndex].id===r:!1,b=a.isSelected(i),f=c.useRef(null),d=Gd(f),u=nt({disabled:o,value:i,domRef:f,get textValue(){return d()}}),p=Pe(t,f,W=>{W?a.listRef.current.set(r,W):a.listRef.current.delete(r)});ue(()=>{if(!a.__demoMode&&a.listboxState===0&&m&&a.activationTrigger!==0)return qe().requestAnimationFrame(()=>{var W,D;(D=(W=f.current)==null?void 0:W.scrollIntoView)==null||D.call(W,{block:"nearest"})})},[f,m,a.__demoMode,a.listboxState,a.activationTrigger,a.activeOptionIndex]),ue(()=>{if(!s)return h.registerOption(r,u)},[u,r,s]);let v=A(W=>{var D;if(o)return W.preventDefault();h.onChange(i),a.mode===0&&(xe.flushSync(()=>h.closeListbox()),(D=a.buttonElement)==null||D.focus({preventScroll:!0}))}),y=A(()=>{if(o)return h.goToOption(re.Nothing);h.goToOption(re.Specific,r)}),E=Hi(),w=A(W=>{E.update(W),!o&&(m||h.goToOption(re.Specific,r,0))}),x=A(W=>{E.wasMoved(W)&&(o||m||h.goToOption(re.Specific,r,0))}),k=A(W=>{E.wasMoved(W)&&(o||m&&h.goToOption(re.Nothing))}),S=c.useMemo(()=>({active:m,focus:m,selected:b,disabled:o,selectedOption:b&&s}),[m,b,o,s]),C=s?{}:{id:r,ref:p,role:"option",tabIndex:o===!0?void 0:-1,"aria-disabled":o===!0?!0:void 0,"aria-selected":b,disabled:void 0,onClick:v,onFocus:y,onPointerEnter:w,onMouseEnter:w,onPointerMove:x,onMouseMove:x,onPointerLeave:k,onMouseLeave:k},R=Ee();return!b&&s?null:R({ourProps:C,theirProps:l,slot:S,defaultTag:cf,name:"Listbox.Option"})}let ff=c.Fragment;function pf(e,t){let{options:n,placeholder:r,...o}=e,i={ref:Pe(t)},l=en("ListboxSelectedOption"),s=c.useMemo(()=>({}),[]),a=l.value===void 0||l.value===null||l.mode===1&&Array.isArray(l.value)&&l.value.length===0,h=Ee();return c.createElement(js.Provider,{value:!0},h({ourProps:i,theirProps:{...o,children:c.createElement(c.Fragment,null,r&&a?r:n)},slot:s,defaultTag:ff,name:"ListboxSelectedOption"}))}let mf=ye(rf),hf=ye(sf),vf=wi,bf=ye(uf),gf=ye(df),wf=ye(pf),Mn=Object.assign(mf,{Button:hf,Label:vf,Options:bf,Option:gf,SelectedOption:wf});function xf({title:e,titleId:t,...n},r){return B.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?B.createElement("title",{id:t},e):null,B.createElement("path",{fillRule:"evenodd",d:"M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}const Ws=B.forwardRef(xf),He={select:"_select_c79hj_1",selectContainer:"_selectContainer_c79hj_4",selectButton:"_selectButton_c79hj_7",open:"_open_c79hj_13",selectValue:"_selectValue_c79hj_16",seletIcon:"_seletIcon_c79hj_19",selectText:"_selectText_c79hj_22",chevronDownIconSpan:"_chevronDownIconSpan_c79hj_25",chevronDownIcon:"_chevronDownIcon_c79hj_25",leave:"_leave_c79hj_32",leaveFrom:"_leaveFrom_c79hj_36",leaveTo:"_leaveTo_c79hj_40",selectOptions:"_selectOptions_c79hj_44"},yf=({children:e,selected:t,onSelect:n,themeColor:r})=>{const[o,i]=c.useState(!1),[l,s]=c.useState(!1),a=c.useRef(null),h=c.useRef(null),m=c.useRef(null),[b,f]=c.useState({left:0,top:0}),d=c.useRef(0),u=c.useRef(0);let p="#333333";const v=S=>{n(S)},y=()=>{i(!0)},E=()=>{i(!1)};c.useEffect(()=>{const S=h.current;return S&&(S.addEventListener("focus",y),S.addEventListener("blur",E)),()=>{S&&(S.removeEventListener("focus",y),S.removeEventListener("blur",E))}},[y,E]);const w=()=>{d.current=window.innerHeight,u.current=document.body.scrollHeight,s(!0)};c.useEffect(()=>(w(),window.addEventListener("resize",w),()=>{window.addEventListener("resize",w)}),[]);const x=()=>u.current-(d.current+window.scrollY),k=()=>{if(a.current){const S=a.current.getBoundingClientRect();setTimeout(()=>{const C=m?.current?.getBoundingClientRect(),R=x(),W=d.current-S.bottom;let D;if(C){const I=S.height,K=S.top,P=C.height,M=P>=K+window.scrollY;P>=K&&(M||M&&W<=P||R>=P||W>=P)||K>=P&&W>=P?D=S.y+I:D=S.y-P,f({left:S.left,top:D??S.top})}},0)}};if(c.useEffect(()=>(window.addEventListener("scroll",k),window.addEventListener("resize",k),()=>{window.removeEventListener("scroll",k),window.removeEventListener("resize",k)}),[]),r){r=$e.convert3HexTo6(r);const S=rt(r);(S==="dark"||S==="light")&&(p=r==="#ffffff"?"#c8c8c8":r)}return _.jsx(Mn,{value:t,onChange:v,children:({open:S})=>_.jsxs("div",{className:He.select,children:[_.jsx("div",{className:He.selectContainer,ref:a,children:_.jsxs(Mn.Button,{"data-testid":"select-options",ref:h,onFocus:y,onBlur:E,onClick:k,onKeyDown:C=>{(C.key===" "||C.code==="Space"||C.code==="Enter")&&k()},style:{borderBottomColor:r&&(o||S)?p:""},className:`${He.selectButton} ${S?He.open:""}`,tabIndex:0,children:[t&&_.jsxs("span",{className:He.selectValue,children:[t.avatar&&_.jsx("img",{src:t.avatar,alt:"",className:He.seletIcon}),_.jsx("span",{className:He.selectText,children:t.label})]}),_.jsx("span",{className:He.chevronDownIconSpan,children:_.jsx(Ws,{className:He.chevronDownIcon,"aria-hidden":"true"})})]})}),l?xe.createPortal(_.jsx(_.Fragment,{children:S&&_.jsx("div",{style:{position:"fixed",inset:0,backgroundColor:"rgba(255,255,255,0)",zIndex:1e3},children:_.jsx("div",{ref:m,style:{position:"absolute",opacity:b.left?1:0,width:a.current?a.current.clientWidth:"auto",left:b.left,top:b.top},children:e})})}),document.body):null]})})},Ef=({children:e,setQuery:t})=>_.jsx(Ls,{as:c.Fragment,leave:He.leave,leaveFrom:He.leaveFrom,leaveTo:He.leaveTo,afterLeave:()=>t(""),children:_.jsx(Mn.Options,{className:He.selectOptions,children:e})}),Bs=c.forwardRef((e,t)=>_.jsx(Mn.Option,{ref:t,className:e.className,value:e.value,disabled:e.disable,children:e.children}));Bs.displayName="SelectOption";const Ke={autocomplete:"_autocomplete_1uhaj_1",autocompleteContainer:"_autocompleteContainer_1uhaj_4",disable:"_disable_1uhaj_7",autocompleteInput:"_autocompleteInput_1uhaj_16",autocompleteButton:"_autocompleteButton_1uhaj_25",chevronDownIcon:"_chevronDownIcon_1uhaj_28",leave:"_leave_1uhaj_35",leaveFrom:"_leaveFrom_1uhaj_39",leaveTo:"_leaveTo_1uhaj_43",autocompleteOptions:"_autocompleteOptions_1uhaj_47"},Sf=({children:e,selected:t,onSelect:n,setQuery:r,disable:o,clearSearch:i=!1,themeColor:l})=>{const s=c.useRef(null),a=c.useRef(null),[h,m]=c.useState(!1),[b,f]=c.useState(!1),d=c.useRef(null),u=c.useRef(null),[p,v]=c.useState({left:0,top:0}),y=c.useRef(0),E=c.useRef(0);let w={};c.useEffect(()=>{s.current&&t&&(s.current.value=t.label||"")},[t]);const x=()=>{y.current=window.innerHeight,E.current=document.body.scrollHeight,f(!0)};c.useEffect(()=>(x(),window.addEventListener("resize",x),()=>{window.addEventListener("resize",x)}),[]);const k=()=>E.current-(y.current+window.scrollY),S=()=>{if(d.current){const P=d.current.getBoundingClientRect();setTimeout(()=>{const M=u?.current?.getBoundingClientRect(),X=k(),J=y.current-P.bottom;let Z;if(M){const $=P.height,z=P.top,Q=M.height,ie=Q>z+window.scrollY;z<Q&&(ie||ie&&J<Q||X>Q||J>Q)||z>Q&&J>Q?Z=P.y+$:Z=P.y-Q,v({left:P.left,top:Z??P.top})}},0)}};c.useEffect(()=>(window.addEventListener("scroll",S),window.addEventListener("resize",S),()=>{window.removeEventListener("scroll",S),window.removeEventListener("resize",S)}),[]);const C=P=>{n(P),D()},R=()=>{S(),m(!0),s.current&&t&&(s.current.value=t.label||""),s.current&&a.current&&(i&&(s.current.value="",r("")),a.current.click())},W=P=>P?.label,D=()=>{const P=s.current;P&&P.setSelectionRange(P.value.length,P.value.length)},I=()=>{m(!0)},K=()=>{m(!1)};if(c.useEffect(()=>{const P=s.current;return P&&(P.addEventListener("focus",I),P.addEventListener("blur",K)),()=>{P&&(P.removeEventListener("focus",I),P.removeEventListener("blur",K))}},[I,K]),l){const P=rt(l);l=$e.convert3HexTo6(l),(P==="dark"||P==="light")&&(w={borderBottomColor:l==="#ffffff"?"#c8c8c8":h?l:"#333333"})}return _.jsx(Zt,{value:t,onChange:C,disabled:o,children:({open:P})=>_.jsxs("div",{className:Ke.autocomplete,children:[_.jsxs("div",{ref:d,className:`${Ke.autocompleteContainer} ${o?Ke.disable:""}`,children:[_.jsx(Zt.Input,{ref:s,"data-testid":"select-input",className:Ke.autocompleteInput,displayValue:W,onChange:M=>{r(M.target.value),S()},onClick:R,onFocus:I,onBlur:K,onKeyDown:M=>{(M.key===" "||M.code==="Space")&&S()},style:{...w},placeholder:"Select your option",autoComplete:"off"}),_.jsx(Zt.Button,{className:Ke.autocompleteButton,"data-testid":"select-button",ref:a,onClick:S,children:_.jsx(Ws,{className:`${Ke.chevronDownIcon} ${o?Ke.disable:""}`,"aria-hidden":"true"})})]}),b?xe.createPortal(_.jsx(_.Fragment,{children:P&&_.jsx("div",{style:{position:"fixed",inset:0,backgroundColor:"rgba(255,255,255,0)",zIndex:1e3},children:_.jsx("div",{ref:u,style:{position:"absolute",opacity:p.left?1:0,width:d.current?d.current.clientWidth:"auto",left:p.left,top:p.top},children:e})})}),document.body):null]})})},Of=({children:e,setQuery:t})=>_.jsx(Ls,{as:c.Fragment,leave:Ke.leave,leaveFrom:Ke.leaveFrom,leaveTo:Ke.leaveTo,afterLeave:()=>t(""),children:_.jsx(Zt.Options,{className:Ke.autocompleteOptions,children:e})}),Vs=c.forwardRef((e,t)=>_.jsx(Zt.Option,{ref:t,className:e.className,value:e.value,disabled:e.disable,children:e.children}));Vs.displayName="AutoCompleteOption";const Hs={textInputWrapper:"_textInputWrapper_gym4n_1",textInput:"_textInput_gym4n_1"},Tf=c.memo(c.forwardRef(({themeColor:e="",style:t={},className:n="",onFocus:r,onBlur:o,...i},l)=>{const[s,a]=c.useState(!1);let h={};const m=[Hs.textInput,n].filter(Boolean).join(" ");e=$e.convert3HexTo6(e);const b=()=>{a(!0)},f=()=>{a(!1)};return h={borderBottomColor:s?e!=="#ffffff"?e:"#c8c8c8":""},_.jsx("div",{className:Hs.textInputWrapper,children:_.jsx("input",{type:"text","data-testid":"textbox-input",ref:l,className:m,onFocus:b,onBlur:f,style:{...h,...t},...i})})}));be.AutoComplete=Sf,be.AutoCompleteOption=Vs,be.AutoCompleteOptions=Of,be.Button=Fn,be.Checkbox=Ln,be.ColorsService=$e,be.MultiLineInput=fa,be.MultiSelect=pa,be.QuickMultiSelect=ma,be.QuickSelect=ha,be.Scrollbar=Uo,be.Select=yf,be.SelectOption=Bs,be.SelectOptions=Ef,be.SingleLineInput=Tf,Object.defineProperty(be,Symbol.toStringTag,{value:"Module"})});
|
|
40
|
+
`)),[]});var Hu=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(Hu||{});function dr(e){let t={};for(let n in e)e[n]===!0&&(t[`data-${n}`]="");return t}function fr(e,t,n,r){let[o,i]=c.useState(n),{hasFlag:l,addFlag:s,removeFlag:a}=Vu(e&&o?3:0),h=c.useRef(!1),m=c.useRef(!1),b=lt();return ue(()=>{var f;if(e){if(n&&i(!0),!t){n&&s(3);return}return(f=r?.start)==null||f.call(r,n),Ru(t,{inFlight:h,prepare(){m.current?m.current=!1:m.current=h.current,h.current=!0,!m.current&&(n?(s(3),a(4)):(s(4),a(2)))},run(){m.current?n?(a(3),s(4)):(a(4),s(3)):n?a(1):s(1)},done(){var d;m.current&&typeof t.getAnimations=="function"&&t.getAnimations().length>0||(h.current=!1,a(7),n||i(!1),(d=r?.end)==null||d.call(r,n))}})}},[e,n,t,b]),e?[o,{closed:l(1),enter:l(2),leave:l(4),transition:l(2)||l(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function Ru(e,{prepare:t,run:n,done:r,inFlight:o}){let i=qe();return zu(e,{prepare:t,inFlight:o}),i.nextFrame(()=>{n(),i.requestAnimationFrame(()=>{i.add(Uu(e,r))})}),i.dispose}function Uu(e,t){var n,r;let o=qe();if(!e)return o.dispose;let i=!1;o.add(()=>{i=!0});let l=(r=(n=e.getAnimations)==null?void 0:n.call(e).filter(s=>s instanceof CSSTransition))!=null?r:[];return l.length===0?(t(),o.dispose):(Promise.allSettled(l.map(s=>s.finished)).then(()=>{i||t()}),o.dispose)}function zu(e,{inFlight:t,prepare:n}){if(t!=null&&t.current){n();return}let r=e.style.transition;e.style.transition="none",n(),e.offsetHeight,e.style.transition=r}function $u(e,{container:t,accept:n,walk:r}){let o=c.useRef(n),i=c.useRef(r);c.useEffect(()=>{o.current=n,i.current=r},[n,r]),ue(()=>{if(!t||!e)return;let l=St(t);if(!l)return;let s=o.current,a=i.current,h=Object.assign(b=>s(b),{acceptNode:s}),m=l.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,h,!1);for(;m.nextNode();)a(m.currentNode)},[t,e,o,i])}function zi(e,t){let n=c.useRef([]),r=A(e);c.useEffect(()=>{let o=[...n.current];for(let[i,l]of t.entries())if(n.current[i]!==l){let s=r(t,o);return n.current=t,s}},[r,...t])}function hn(){return typeof window<"u"}function kt(e){return $i(e)?(e.nodeName||"").toLowerCase():"#document"}function Ve(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ze(e){var t;return(t=($i(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function $i(e){return hn()?e instanceof Node||e instanceof Ve(e).Node:!1}function Me(e){return hn()?e instanceof Element||e instanceof Ve(e).Element:!1}function et(e){return hn()?e instanceof HTMLElement||e instanceof Ve(e).HTMLElement:!1}function qi(e){return!hn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ve(e).ShadowRoot}function $t(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Ye(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function qu(e){return["table","td","th"].includes(kt(e))}function vn(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function pr(e){const t=mr(),n=Me(e)?Ye(e):e;return["transform","translate","scale","rotate","perspective"].some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function Yu(e){let t=ct(e);for(;et(t)&&!Ct(t);){if(pr(t))return t;if(vn(t))return null;t=ct(t)}return null}function mr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ct(e){return["html","body","#document"].includes(kt(e))}function Ye(e){return Ve(e).getComputedStyle(e)}function bn(e){return Me(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ct(e){if(kt(e)==="html")return e;const t=e.assignedSlot||e.parentNode||qi(e)&&e.host||Ze(e);return qi(t)?t.host:t}function Yi(e){const t=ct(e);return Ct(t)?e.ownerDocument?e.ownerDocument.body:e.body:et(t)&&$t(t)?t:Yi(t)}function qt(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Yi(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),l=Ve(o);if(i){const s=hr(l);return t.concat(l,l.visualViewport||[],$t(o)?o:[],s&&n?qt(s):[])}return t.concat(o,qt(o,[],n))}function hr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ku(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(t=>{let{brand:n,version:r}=t;return n+"/"+r}).join(" "):navigator.userAgent}const vt=Math.min,Ae=Math.max,Yt=Math.round,gn=Math.floor,tt=e=>({x:e,y:e}),Gu={left:"right",right:"left",bottom:"top",top:"bottom"},Xu={start:"end",end:"start"};function Ki(e,t,n){return Ae(e,vt(t,n))}function _t(e,t){return typeof e=="function"?e(t):e}function dt(e){return e.split("-")[0]}function Kt(e){return e.split("-")[1]}function Gi(e){return e==="x"?"y":"x"}function Xi(e){return e==="y"?"height":"width"}function bt(e){return["top","bottom"].includes(dt(e))?"y":"x"}function Qi(e){return Gi(bt(e))}function Qu(e,t,n){n===void 0&&(n=!1);const r=Kt(e),o=Qi(e),i=Xi(o);let l=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=wn(l)),[l,wn(l)]}function Ju(e){const t=wn(e);return[vr(e),t,vr(t)]}function vr(e){return e.replace(/start|end/g,t=>Xu[t])}function Zu(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],l=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:l;default:return[]}}function ec(e,t,n,r){const o=Kt(e);let i=Zu(dt(e),n==="start",r);return o&&(i=i.map(l=>l+"-"+o),t&&(i=i.concat(i.map(vr)))),i}function wn(e){return e.replace(/left|right|bottom|top/g,t=>Gu[t])}function tc(e){return{top:0,right:0,bottom:0,left:0,...e}}function nc(e){return typeof e!="number"?tc(e):{top:e,right:e,bottom:e,left:e}}function xn(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Ji(e,t,n){let{reference:r,floating:o}=e;const i=bt(t),l=Qi(t),s=Xi(l),a=dt(t),h=i==="y",m=r.x+r.width/2-o.width/2,b=r.y+r.height/2-o.height/2,f=r[s]/2-o[s]/2;let d;switch(a){case"top":d={x:m,y:r.y-o.height};break;case"bottom":d={x:m,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:b};break;case"left":d={x:r.x-o.width,y:b};break;default:d={x:r.x,y:r.y}}switch(Kt(t)){case"start":d[l]-=f*(n&&h?-1:1);break;case"end":d[l]+=f*(n&&h?-1:1);break}return d}const rc=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,s=i.filter(Boolean),a=await(l.isRTL==null?void 0:l.isRTL(t));let h=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:m,y:b}=Ji(h,r,a),f=r,d={},u=0;for(let p=0;p<s.length;p++){const{name:v,fn:y}=s[p],{x:E,y:w,data:x,reset:k}=await y({x:m,y:b,initialPlacement:r,placement:f,strategy:o,middlewareData:d,rects:h,platform:l,elements:{reference:e,floating:t}});m=E??m,b=w??b,d={...d,[v]:{...d[v],...x}},k&&u<=50&&(u++,typeof k=="object"&&(k.placement&&(f=k.placement),k.rects&&(h=k.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:o}):k.rects),{x:m,y:b}=Ji(h,f,a)),p=-1)}return{x:m,y:b,placement:f,strategy:o,middlewareData:d}};async function yn(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:l,elements:s,strategy:a}=e,{boundary:h="clippingAncestors",rootBoundary:m="viewport",elementContext:b="floating",altBoundary:f=!1,padding:d=0}=_t(t,e),u=nc(d),v=s[f?b==="floating"?"reference":"floating":b],y=xn(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(v)))==null||n?v:v.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:h,rootBoundary:m,strategy:a})),E=b==="floating"?{x:r,y:o,width:l.floating.width,height:l.floating.height}:l.reference,w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),x=await(i.isElement==null?void 0:i.isElement(w))?await(i.getScale==null?void 0:i.getScale(w))||{x:1,y:1}:{x:1,y:1},k=xn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:E,offsetParent:w,strategy:a}):E);return{top:(y.top-k.top+u.top)/x.y,bottom:(k.bottom-y.bottom+u.bottom)/x.y,left:(y.left-k.left+u.left)/x.x,right:(k.right-y.right+u.right)/x.x}}const oc=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:l,initialPlacement:s,platform:a,elements:h}=t,{mainAxis:m=!0,crossAxis:b=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:u="none",flipAlignment:p=!0,...v}=_t(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const y=dt(o),E=bt(s),w=dt(s)===s,x=await(a.isRTL==null?void 0:a.isRTL(h.floating)),k=f||(w||!p?[wn(s)]:Ju(s)),S=u!=="none";!f&&S&&k.push(...ec(s,p,u,x));const C=[s,...k],R=await yn(t,v),W=[];let D=((r=i.flip)==null?void 0:r.overflows)||[];if(m&&W.push(R[y]),b){const M=Qu(o,l,x);W.push(R[M[0]],R[M[1]])}if(D=[...D,{placement:o,overflows:W}],!W.every(M=>M<=0)){var I,K;const M=(((I=i.flip)==null?void 0:I.index)||0)+1,X=C[M];if(X)return{data:{index:M,overflows:D},reset:{placement:X}};let J=(K=D.filter(Z=>Z.overflows[0]<=0).sort((Z,$)=>Z.overflows[1]-$.overflows[1])[0])==null?void 0:K.placement;if(!J)switch(d){case"bestFit":{var P;const Z=(P=D.filter($=>{if(S){const z=bt($.placement);return z===E||z==="y"}return!0}).map($=>[$.placement,$.overflows.filter(z=>z>0).reduce((z,Q)=>z+Q,0)]).sort(($,z)=>$[1]-z[1])[0])==null?void 0:P[0];Z&&(J=Z);break}case"initialPlacement":J=s;break}if(o!==J)return{reset:{placement:J}}}return{}}}};async function ic(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),l=dt(n),s=Kt(n),a=bt(n)==="y",h=["left","top"].includes(l)?-1:1,m=i&&a?-1:1,b=_t(t,e);let{mainAxis:f,crossAxis:d,alignmentAxis:u}=typeof b=="number"?{mainAxis:b,crossAxis:0,alignmentAxis:null}:{mainAxis:b.mainAxis||0,crossAxis:b.crossAxis||0,alignmentAxis:b.alignmentAxis};return s&&typeof u=="number"&&(d=s==="end"?u*-1:u),a?{x:d*m,y:f*h}:{x:f*h,y:d*m}}const sc=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:l,middlewareData:s}=t,a=await ic(t,e);return l===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+a.x,y:i+a.y,data:{...a,placement:l}}}}},lc=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:l=!1,limiter:s={fn:v=>{let{x:y,y:E}=v;return{x:y,y:E}}},...a}=_t(e,t),h={x:n,y:r},m=await yn(t,a),b=bt(dt(o)),f=Gi(b);let d=h[f],u=h[b];if(i){const v=f==="y"?"top":"left",y=f==="y"?"bottom":"right",E=d+m[v],w=d-m[y];d=Ki(E,d,w)}if(l){const v=b==="y"?"top":"left",y=b==="y"?"bottom":"right",E=u+m[v],w=u-m[y];u=Ki(E,u,w)}const p=s.fn({...t,[f]:d,[b]:u});return{...p,data:{x:p.x-n,y:p.y-r,enabled:{[f]:i,[b]:l}}}}}},ac=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:l,elements:s}=t,{apply:a=()=>{},...h}=_t(e,t),m=await yn(t,h),b=dt(o),f=Kt(o),d=bt(o)==="y",{width:u,height:p}=i.floating;let v,y;b==="top"||b==="bottom"?(v=b,y=f===(await(l.isRTL==null?void 0:l.isRTL(s.floating))?"start":"end")?"left":"right"):(y=b,v=f==="end"?"top":"bottom");const E=p-m.top-m.bottom,w=u-m.left-m.right,x=vt(p-m[v],E),k=vt(u-m[y],w),S=!t.middlewareData.shift;let C=x,R=k;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(R=w),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=E),S&&!f){const D=Ae(m.left,0),I=Ae(m.right,0),K=Ae(m.top,0),P=Ae(m.bottom,0);d?R=u-2*(D!==0||I!==0?D+I:Ae(m.left,m.right)):C=p-2*(K!==0||P!==0?K+P:Ae(m.top,m.bottom))}await a({...t,availableWidth:R,availableHeight:C});const W=await l.getDimensions(s.floating);return u!==W.width||p!==W.height?{reset:{rects:!0}}:{}}}};function Zi(e){const t=Ye(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=et(e),i=o?e.offsetWidth:n,l=o?e.offsetHeight:r,s=Yt(n)!==i||Yt(r)!==l;return s&&(n=i,r=l),{width:n,height:r,$:s}}function br(e){return Me(e)?e:e.contextElement}function It(e){const t=br(e);if(!et(t))return tt(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Zi(t);let l=(i?Yt(n.width):n.width)/r,s=(i?Yt(n.height):n.height)/o;return(!l||!Number.isFinite(l))&&(l=1),(!s||!Number.isFinite(s))&&(s=1),{x:l,y:s}}const uc=tt(0);function es(e){const t=Ve(e);return!mr()||!t.visualViewport?uc:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function cc(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Ve(e)?!1:t}function gt(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=br(e);let l=tt(1);t&&(r?Me(r)&&(l=It(r)):l=It(e));const s=cc(i,n,r)?es(i):tt(0);let a=(o.left+s.x)/l.x,h=(o.top+s.y)/l.y,m=o.width/l.x,b=o.height/l.y;if(i){const f=Ve(i),d=r&&Me(r)?Ve(r):r;let u=f,p=hr(u);for(;p&&r&&d!==u;){const v=It(p),y=p.getBoundingClientRect(),E=Ye(p),w=y.left+(p.clientLeft+parseFloat(E.paddingLeft))*v.x,x=y.top+(p.clientTop+parseFloat(E.paddingTop))*v.y;a*=v.x,h*=v.y,m*=v.x,b*=v.y,a+=w,h+=x,u=Ve(p),p=hr(u)}}return xn({width:m,height:b,x:a,y:h})}function gr(e,t){const n=bn(e).scrollLeft;return t?t.left+n:gt(Ze(e)).left+n}function ts(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:gr(e,r)),i=r.top+t.scrollTop;return{x:o,y:i}}function dc(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",l=Ze(r),s=t?vn(t.floating):!1;if(r===l||s&&i)return n;let a={scrollLeft:0,scrollTop:0},h=tt(1);const m=tt(0),b=et(r);if((b||!b&&!i)&&((kt(r)!=="body"||$t(l))&&(a=bn(r)),et(r))){const d=gt(r);h=It(r),m.x=d.x+r.clientLeft,m.y=d.y+r.clientTop}const f=l&&!b&&!i?ts(l,a,!0):tt(0);return{width:n.width*h.x,height:n.height*h.y,x:n.x*h.x-a.scrollLeft*h.x+m.x+f.x,y:n.y*h.y-a.scrollTop*h.y+m.y+f.y}}function fc(e){return Array.from(e.getClientRects())}function pc(e){const t=Ze(e),n=bn(e),r=e.ownerDocument.body,o=Ae(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Ae(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let l=-n.scrollLeft+gr(e);const s=-n.scrollTop;return Ye(r).direction==="rtl"&&(l+=Ae(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:l,y:s}}function mc(e,t){const n=Ve(e),r=Ze(e),o=n.visualViewport;let i=r.clientWidth,l=r.clientHeight,s=0,a=0;if(o){i=o.width,l=o.height;const h=mr();(!h||h&&t==="fixed")&&(s=o.offsetLeft,a=o.offsetTop)}return{width:i,height:l,x:s,y:a}}function hc(e,t){const n=gt(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=et(e)?It(e):tt(1),l=e.clientWidth*i.x,s=e.clientHeight*i.y,a=o*i.x,h=r*i.y;return{width:l,height:s,x:a,y:h}}function ns(e,t,n){let r;if(t==="viewport")r=mc(e,n);else if(t==="document")r=pc(Ze(e));else if(Me(t))r=hc(t,n);else{const o=es(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return xn(r)}function rs(e,t){const n=ct(e);return n===t||!Me(n)||Ct(n)?!1:Ye(n).position==="fixed"||rs(n,t)}function vc(e,t){const n=t.get(e);if(n)return n;let r=qt(e,[],!1).filter(s=>Me(s)&&kt(s)!=="body"),o=null;const i=Ye(e).position==="fixed";let l=i?ct(e):e;for(;Me(l)&&!Ct(l);){const s=Ye(l),a=pr(l);!a&&s.position==="fixed"&&(o=null),(i?!a&&!o:!a&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||$t(l)&&!a&&rs(e,l))?r=r.filter(m=>m!==l):o=s,l=ct(l)}return t.set(e,r),r}function bc(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const l=[...n==="clippingAncestors"?vn(t)?[]:vc(t,this._c):[].concat(n),r],s=l[0],a=l.reduce((h,m)=>{const b=ns(t,m,o);return h.top=Ae(b.top,h.top),h.right=vt(b.right,h.right),h.bottom=vt(b.bottom,h.bottom),h.left=Ae(b.left,h.left),h},ns(t,s,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function gc(e){const{width:t,height:n}=Zi(e);return{width:t,height:n}}function wc(e,t,n){const r=et(t),o=Ze(t),i=n==="fixed",l=gt(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const a=tt(0);if(r||!r&&!i)if((kt(t)!=="body"||$t(o))&&(s=bn(t)),r){const f=gt(t,!0,i,t);a.x=f.x+t.clientLeft,a.y=f.y+t.clientTop}else o&&(a.x=gr(o));const h=o&&!r&&!i?ts(o,s):tt(0),m=l.left+s.scrollLeft-a.x-h.x,b=l.top+s.scrollTop-a.y-h.y;return{x:m,y:b,width:l.width,height:l.height}}function wr(e){return Ye(e).position==="static"}function os(e,t){if(!et(e)||Ye(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Ze(e)===n&&(n=n.ownerDocument.body),n}function is(e,t){const n=Ve(e);if(vn(e))return n;if(!et(e)){let o=ct(e);for(;o&&!Ct(o);){if(Me(o)&&!wr(o))return o;o=ct(o)}return n}let r=os(e,t);for(;r&&qu(r)&&wr(r);)r=os(r,t);return r&&Ct(r)&&wr(r)&&!pr(r)?n:r||Yu(e)||n}const xc=async function(e){const t=this.getOffsetParent||is,n=this.getDimensions,r=await n(e.floating);return{reference:wc(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function yc(e){return Ye(e).direction==="rtl"}const Ec={convertOffsetParentRelativeRectToViewportRelativeRect:dc,getDocumentElement:Ze,getClippingRect:bc,getOffsetParent:is,getElementRects:xc,getClientRects:fc,getDimensions:gc,getScale:It,isElement:Me,isRTL:yc};function ss(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Sc(e,t){let n=null,r;const o=Ze(e);function i(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function l(s,a){s===void 0&&(s=!1),a===void 0&&(a=1),i();const h=e.getBoundingClientRect(),{left:m,top:b,width:f,height:d}=h;if(s||t(),!f||!d)return;const u=gn(b),p=gn(o.clientWidth-(m+f)),v=gn(o.clientHeight-(b+d)),y=gn(m),w={rootMargin:-u+"px "+-p+"px "+-v+"px "+-y+"px",threshold:Ae(0,vt(1,a))||1};let x=!0;function k(S){const C=S[0].intersectionRatio;if(C!==a){if(!x)return l();C?l(!1,C):r=setTimeout(()=>{l(!1,1e-7)},1e3)}C===1&&!ss(h,e.getBoundingClientRect())&&l(),x=!1}try{n=new IntersectionObserver(k,{...w,root:o.ownerDocument})}catch{n=new IntersectionObserver(k,w)}n.observe(e)}return l(!0),i}function Oc(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:a=!1}=r,h=br(e),m=o||i?[...h?qt(h):[],...qt(t)]:[];m.forEach(y=>{o&&y.addEventListener("scroll",n,{passive:!0}),i&&y.addEventListener("resize",n)});const b=h&&s?Sc(h,n):null;let f=-1,d=null;l&&(d=new ResizeObserver(y=>{let[E]=y;E&&E.target===h&&d&&(d.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var w;(w=d)==null||w.observe(t)})),n()}),h&&!a&&d.observe(h),d.observe(t));let u,p=a?gt(e):null;a&&v();function v(){const y=gt(e);p&&!ss(p,y)&&n(),p=y,u=requestAnimationFrame(v)}return n(),()=>{var y;m.forEach(E=>{o&&E.removeEventListener("scroll",n),i&&E.removeEventListener("resize",n)}),b?.(),(y=d)==null||y.disconnect(),d=null,a&&cancelAnimationFrame(u)}}const xr=yn,Tc=sc,kc=lc,Cc=oc,_c=ac,Ic=(e,t,n)=>{const r=new Map,o={platform:Ec,...n},i={...o.platform,_c:r};return rc(e,t,{...o,platform:i})};var En=typeof document<"u"?c.useLayoutEffect:c.useEffect;function Sn(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Sn(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!Sn(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function ls(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function as(e,t){const n=ls(e);return Math.round(t*n)/n}function yr(e){const t=B.useRef(e);return En(()=>{t.current=e}),t}function Pc(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:l}={},transform:s=!0,whileElementsMounted:a,open:h}=e,[m,b]=B.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,d]=B.useState(r);Sn(f,r)||d(r);const[u,p]=B.useState(null),[v,y]=B.useState(null),E=B.useCallback($=>{$!==S.current&&(S.current=$,p($))},[]),w=B.useCallback($=>{$!==C.current&&(C.current=$,y($))},[]),x=i||u,k=l||v,S=B.useRef(null),C=B.useRef(null),R=B.useRef(m),W=a!=null,D=yr(a),I=yr(o),K=yr(h),P=B.useCallback(()=>{if(!S.current||!C.current)return;const $={placement:t,strategy:n,middleware:f};I.current&&($.platform=I.current),Ic(S.current,C.current,$).then(z=>{const Q={...z,isPositioned:K.current!==!1};M.current&&!Sn(R.current,Q)&&(R.current=Q,tn.flushSync(()=>{b(Q)}))})},[f,t,n,I,K]);En(()=>{h===!1&&R.current.isPositioned&&(R.current.isPositioned=!1,b($=>({...$,isPositioned:!1})))},[h]);const M=B.useRef(!1);En(()=>(M.current=!0,()=>{M.current=!1}),[]),En(()=>{if(x&&(S.current=x),k&&(C.current=k),x&&k){if(D.current)return D.current(x,k,P);P()}},[x,k,P,D,W]);const X=B.useMemo(()=>({reference:S,floating:C,setReference:E,setFloating:w}),[E,w]),J=B.useMemo(()=>({reference:x,floating:k}),[x,k]),Z=B.useMemo(()=>{const $={position:n,left:0,top:0};if(!J.floating)return $;const z=as(J.floating,m.x),Q=as(J.floating,m.y);return s?{...$,transform:"translate("+z+"px, "+Q+"px)",...ls(J.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:z,top:Q}},[n,s,J.floating,m.x,m.y]);return B.useMemo(()=>({...m,update:P,refs:X,elements:J,floatingStyles:Z}),[m,P,X,J,Z])}const us=(e,t)=>({...Tc(e),options:[e,t]}),Mc=(e,t)=>({...kc(e),options:[e,t]}),Ac=(e,t)=>({...Cc(e),options:[e,t]}),Fc=(e,t)=>({..._c(e),options:[e,t]}),cs={...B},Lc=cs.useInsertionEffect||(e=>e());function ds(e){const t=B.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return Lc(()=>{t.current=e}),B.useCallback(function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t.current==null?void 0:t.current(...r)},[])}var Er=typeof document<"u"?c.useLayoutEffect:c.useEffect;let fs=!1,Nc=0;const ps=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+Nc++;function Dc(){const[e,t]=B.useState(()=>fs?ps():void 0);return Er(()=>{e==null&&t(ps())},[]),B.useEffect(()=>{fs=!0},[]),e}const jc=cs.useId||Dc;let Gt;process.env.NODE_ENV!=="production"&&(Gt=new Set);function Wc(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o="Floating UI: "+n.join(" ");if(!((e=Gt)!=null&&e.has(o))){var i;(i=Gt)==null||i.add(o),console.warn(o)}}function Bc(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o="Floating UI: "+n.join(" ");if(!((e=Gt)!=null&&e.has(o))){var i;(i=Gt)==null||i.add(o),console.error(o)}}function Vc(){const e=new Map;return{emit(t,n){var r;(r=e.get(t))==null||r.forEach(o=>o(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,((r=e.get(t))==null?void 0:r.filter(o=>o!==n))||[])}}}const Hc=B.createContext(null),Rc=B.createContext(null),Uc=()=>{var e;return((e=B.useContext(Hc))==null?void 0:e.id)||null},zc=()=>B.useContext(Rc),$c="data-floating-ui-focusable";function qc(e){const{open:t=!1,onOpenChange:n,elements:r}=e,o=jc(),i=B.useRef({}),[l]=B.useState(()=>Vc()),s=Uc()!=null;if(process.env.NODE_ENV!=="production"){const d=r.reference;d&&!Me(d)&&Bc("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[a,h]=B.useState(r.reference),m=ds((d,u,p)=>{i.current.openEvent=d?u:void 0,l.emit("openchange",{open:d,event:u,reason:p,nested:s}),n?.(d,u,p)}),b=B.useMemo(()=>({setPositionReference:h}),[]),f=B.useMemo(()=>({reference:a||r.reference||null,floating:r.floating||null,domReference:r.reference}),[a,r.reference,r.floating]);return B.useMemo(()=>({dataRef:i,open:t,onOpenChange:m,elements:f,events:l,floatingId:o,refs:b}),[t,m,f,l,o,b])}function Yc(e){e===void 0&&(e={});const{nodeId:t}=e,n=qc({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,o=r.elements,[i,l]=B.useState(null),[s,a]=B.useState(null),m=o?.domReference||i,b=B.useRef(null),f=zc();Er(()=>{m&&(b.current=m)},[m]);const d=Pc({...e,elements:{...o,...s&&{reference:s}}}),u=B.useCallback(w=>{const x=Me(w)?{getBoundingClientRect:()=>w.getBoundingClientRect(),contextElement:w}:w;a(x),d.refs.setReference(x)},[d.refs]),p=B.useCallback(w=>{(Me(w)||w===null)&&(b.current=w,l(w)),(Me(d.refs.reference.current)||d.refs.reference.current===null||w!==null&&!Me(w))&&d.refs.setReference(w)},[d.refs]),v=B.useMemo(()=>({...d.refs,setReference:p,setPositionReference:u,domReference:b}),[d.refs,p,u]),y=B.useMemo(()=>({...d.elements,domReference:m}),[d.elements,m]),E=B.useMemo(()=>({...d,...r,refs:v,elements:y,nodeId:t}),[d,v,y,t,r]);return Er(()=>{r.dataRef.current.floatingContext=E;const w=f?.nodesRef.current.find(x=>x.id===t);w&&(w.context=E)}),B.useMemo(()=>({...d,context:E,refs:v,elements:y}),[d,v,y,E])}const ms="active",hs="selected";function Sr(e,t,n){const r=new Map,o=n==="item";let i=e;if(o&&e){const{[ms]:l,[hs]:s,...a}=e;i=a}return{...n==="floating"&&{tabIndex:-1,[$c]:""},...i,...t.map(l=>{const s=l?l[n]:null;return typeof s=="function"?e?s(e):null:s}).concat(e).reduce((l,s)=>(s&&Object.entries(s).forEach(a=>{let[h,m]=a;if(!(o&&[ms,hs].includes(h)))if(h.indexOf("on")===0){if(r.has(h)||r.set(h,[]),typeof m=="function"){var b;(b=r.get(h))==null||b.push(m),l[h]=function(){for(var f,d=arguments.length,u=new Array(d),p=0;p<d;p++)u[p]=arguments[p];return(f=r.get(h))==null?void 0:f.map(v=>v(...u)).find(v=>v!==void 0)}}}else l[h]=m}),l),{})}}function Kc(e){e===void 0&&(e=[]);const t=e.map(s=>s?.reference),n=e.map(s=>s?.floating),r=e.map(s=>s?.item),o=B.useCallback(s=>Sr(s,e,"reference"),t),i=B.useCallback(s=>Sr(s,e,"floating"),n),l=B.useCallback(s=>Sr(s,e,"item"),r);return B.useMemo(()=>({getReferenceProps:o,getFloatingProps:i,getItemProps:l}),[o,i,l])}function vs(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}const Gc=e=>({name:"inner",options:e,async fn(t){const{listRef:n,overflowRef:r,onFallbackChange:o,offset:i=0,index:l=0,minItemsVisible:s=4,referenceOverflowThreshold:a=0,scrollRef:h,...m}=_t(e,t),{rects:b,elements:{floating:f}}=t,d=n.current[l],u=h?.current||f,p=f.clientTop||u.clientTop,v=f.clientTop!==0,y=u.clientTop!==0,E=f===u;if(process.env.NODE_ENV!=="production"&&(t.placement.startsWith("bottom")||Wc('`placement` side must be "bottom" when using the `inner`',"middleware.")),!d)return{};const w={...t,...await us(-d.offsetTop-f.clientTop-b.reference.height/2-d.offsetHeight/2-i).fn(t)},x=await xr(vs(w,u.scrollHeight+p+f.clientTop),m),k=await xr(w,{...m,elementContext:"reference"}),S=Ae(0,x.top),C=w.y+S,D=(u.scrollHeight>u.clientHeight?I=>I:Yt)(Ae(0,u.scrollHeight+(v&&E||y?p*2:0)-S-Ae(0,x.bottom)));if(u.style.maxHeight=D+"px",u.scrollTop=S,o){const I=u.offsetHeight<d.offsetHeight*vt(s,n.current.length)-1||k.top>=-a||k.bottom>=-a;tn.flushSync(()=>o(I))}return r&&(r.current=await xr(vs({...w,y:C},u.offsetHeight+p+f.clientTop),m)),{y:C}}});function Xc(e,t){const{open:n,elements:r}=e,{enabled:o=!0,overflowRef:i,scrollRef:l,onChange:s}=t,a=ds(s),h=B.useRef(!1),m=B.useRef(null),b=B.useRef(null);B.useEffect(()=>{if(!o)return;function d(p){if(p.ctrlKey||!u||i.current==null)return;const v=p.deltaY,y=i.current.top>=-.5,E=i.current.bottom>=-.5,w=u.scrollHeight-u.clientHeight,x=v<0?-1:1,k=v<0?"max":"min";u.scrollHeight<=u.clientHeight||(!y&&v>0||!E&&v<0?(p.preventDefault(),tn.flushSync(()=>{a(S=>S+Math[k](v,w*x))})):/firefox/i.test(Ku())&&(u.scrollTop+=v))}const u=l?.current||r.floating;if(n&&u)return u.addEventListener("wheel",d),requestAnimationFrame(()=>{m.current=u.scrollTop,i.current!=null&&(b.current={...i.current})}),()=>{m.current=null,b.current=null,u.removeEventListener("wheel",d)}},[o,n,r.floating,i,l,a]);const f=B.useMemo(()=>({onKeyDown(){h.current=!0},onWheel(){h.current=!1},onPointerMove(){h.current=!1},onScroll(){const d=l?.current||r.floating;if(!(!i.current||!d||!h.current)){if(m.current!==null){const u=d.scrollTop-m.current;(i.current.bottom<-.5&&u<-1||i.current.top<-.5&&u>1)&&tn.flushSync(()=>a(p=>p+u))}requestAnimationFrame(()=>{m.current=d.scrollTop})}}}),[r.floating,a,i,l]);return B.useMemo(()=>o?{floating:f}:{},[o,f])}let Pt=c.createContext({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});Pt.displayName="FloatingContext";let Or=c.createContext(null);Or.displayName="PlacementContext";function bs(e){return c.useMemo(()=>e?typeof e=="string"?{to:e}:e:null,[e])}function gs(){return c.useContext(Pt).setReference}function Qc(){return c.useContext(Pt).getReferenceProps}function ws(){let{getFloatingProps:e,slot:t}=c.useContext(Pt);return c.useCallback((...n)=>Object.assign({},e(...n),{"data-anchor":t.anchor}),[e,t])}function xs(e=null){e===!1&&(e=null),typeof e=="string"&&(e={to:e});let t=c.useContext(Or),n=c.useMemo(()=>e,[JSON.stringify(e,(o,i)=>{var l;return(l=i?.outerHTML)!=null?l:i})]);ue(()=>{t?.(n??null)},[t,n]);let r=c.useContext(Pt);return c.useMemo(()=>[r.setFloating,e?r.styles:{}],[r.setFloating,e,r.styles])}let ys=4;function Es({children:e,enabled:t=!0}){let[n,r]=c.useState(null),[o,i]=c.useState(0),l=c.useRef(null),[s,a]=c.useState(null);Jc(s);let h=t&&n!==null&&s!==null,{to:m="bottom",gap:b=0,offset:f=0,padding:d=0,inner:u}=Zc(n,s),[p,v="center"]=m.split(" ");ue(()=>{h&&i(0)},[h]);let{refs:y,floatingStyles:E,context:w}=Yc({open:h,placement:p==="selection"?v==="center"?"bottom":`bottom-${v}`:v==="center"?`${p}`:`${p}-${v}`,strategy:"absolute",transform:!1,middleware:[us({mainAxis:p==="selection"?0:b,crossAxis:f}),Mc({padding:d}),p!=="selection"&&Ac({padding:d}),p==="selection"&&u?Gc({...u,padding:d,overflowRef:l,offset:o,minItemsVisible:ys,referenceOverflowThreshold:d,onFallbackChange(I){var K,P;if(!I)return;let M=w.elements.floating;if(!M)return;let X=parseFloat(getComputedStyle(M).scrollPaddingBottom)||0,J=Math.min(ys,M.childElementCount),Z=0,$=0;for(let z of(P=(K=w.elements.floating)==null?void 0:K.childNodes)!=null?P:[])if(z instanceof HTMLElement){let Q=z.offsetTop,ie=Q+z.clientHeight+X,le=M.scrollTop,T=le+M.clientHeight;if(Q>=le&&ie<=T)J--;else{$=Math.max(0,Math.min(ie,T)-Math.max(Q,le)),Z=z.clientHeight;break}}J>=1&&i(z=>{let Q=Z*J-$+X;return z>=Q?z:Q})}}):null,Fc({padding:d,apply({availableWidth:I,availableHeight:K,elements:P}){Object.assign(P.floating.style,{overflow:"auto",maxWidth:`${I}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${K}px)`})}})].filter(Boolean),whileElementsMounted:Oc}),[x=p,k=v]=w.placement.split("-");p==="selection"&&(x="selection");let S=c.useMemo(()=>({anchor:[x,k].filter(Boolean).join(" ")}),[x,k]),C=Xc(w,{overflowRef:l,onChange:i}),{getReferenceProps:R,getFloatingProps:W}=Kc([C]),D=A(I=>{a(I),y.setFloating(I)});return B.createElement(Or.Provider,{value:r},B.createElement(Pt.Provider,{value:{setFloating:D,setReference:y.setReference,styles:E,getReferenceProps:R,getFloatingProps:W,slot:S}},e))}function Jc(e){ue(()=>{if(!e)return;let t=new MutationObserver(()=>{let n=window.getComputedStyle(e).maxHeight,r=parseFloat(n);if(isNaN(r))return;let o=parseInt(n);isNaN(o)||r!==o&&(e.style.maxHeight=`${Math.ceil(r)}px`)});return t.observe(e,{attributes:!0,attributeFilter:["style"]}),()=>{t.disconnect()}},[e])}function Zc(e,t){var n,r,o;let i=Tr((n=e?.gap)!=null?n:"var(--anchor-gap, 0)",t),l=Tr((r=e?.offset)!=null?r:"var(--anchor-offset, 0)",t),s=Tr((o=e?.padding)!=null?o:"var(--anchor-padding, 0)",t);return{...e,gap:i,offset:l,padding:s}}function Tr(e,t,n=void 0){let r=lt(),o=A((a,h)=>{if(a==null)return[n,null];if(typeof a=="number")return[a,null];if(typeof a=="string"){if(!h)return[n,null];let m=Os(a,h);return[m,b=>{let f=Ss(a);{let d=f.map(u=>window.getComputedStyle(h).getPropertyValue(u));r.requestAnimationFrame(function u(){r.nextFrame(u);let p=!1;for(let[y,E]of f.entries()){let w=window.getComputedStyle(h).getPropertyValue(E);if(d[y]!==w){d[y]=w,p=!0;break}}if(!p)return;let v=Os(a,h);m!==v&&(b(v),m=v)})}return r.dispose}]}return[n,null]}),i=c.useMemo(()=>o(e,t)[0],[e,t]),[l=i,s]=c.useState();return ue(()=>{let[a,h]=o(e,t);if(s(a),!!h)return h(s)},[e,t]),l}function Ss(e){let t=/var\((.*)\)/.exec(e);if(t){let n=t[1].indexOf(",");if(n===-1)return[t[1]];let r=t[1].slice(0,n).trim(),o=t[1].slice(n+1).trim();return o?[r,...Ss(o)]:[r]}return[]}function Os(e,t){let n=document.createElement("div");t.appendChild(n),n.style.setProperty("margin-top","0px","important"),n.style.setProperty("margin-top",e,"important");let r=parseFloat(window.getComputedStyle(n).marginTop)||0;return t.removeChild(n),r}function ed({children:e,freeze:t}){let n=On(t,e);return c.createElement(c.Fragment,null,n)}function On(e,t){let[n,r]=c.useState(t);return!e&&n!==t&&r(t),e?n:t}let kr=c.createContext(null);kr.displayName="OpenClosedContext";var Le=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(Le||{});function Tn(){return c.useContext(kr)}function Cr({value:e,children:t}){return c.createElement(kr.Provider,{value:e},t)}function td(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let wt=[];td(()=>{function e(t){if(!(t.target instanceof HTMLElement)||t.target===document.body||wt[0]===t.target)return;let n=t.target;n=n.closest(mn),wt.unshift(n??t.target),wt=wt.filter(r=>r!=null&&r.isConnected),wt.splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function nd(e){throw new Error("Unexpected object: "+e)}var re=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(re||{});function Xt(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),o=r??-1;switch(e.focus){case 0:{for(let i=0;i<n.length;++i)if(!t.resolveDisabled(n[i],i,n))return i;return r}case 1:{o===-1&&(o=n.length);for(let i=o-1;i>=0;--i)if(!t.resolveDisabled(n[i],i,n))return i;return r}case 2:{for(let i=o+1;i<n.length;++i)if(!t.resolveDisabled(n[i],i,n))return i;return r}case 3:{for(let i=n.length-1;i>=0;--i)if(!t.resolveDisabled(n[i],i,n))return i;return r}case 4:{for(let i=0;i<n.length;++i)if(t.resolveId(n[i],i,n)===e.id)return i;return r}case 5:return null;default:nd(e)}}var _r=(e=>(e[e.Left=0]="Left",e[e.Right=2]="Right",e))(_r||{});function rd(e){let t=A(e),n=c.useRef(!1);c.useEffect(()=>(n.current=!1,()=>{n.current=!0,ri(()=>{n.current&&t()})}),[t])}function od(){let e=typeof document>"u";return"useSyncExternalStore"in B?(t=>t.useSyncExternalStore)(B)(()=>()=>{},()=>!1,()=>!e):!1}function Ir(){let e=od(),[t,n]=B.useState(mt.isHandoffComplete);return t&&mt.isHandoffComplete===!1&&n(!1),B.useEffect(()=>{t!==!0&&n(!0)},[t]),B.useEffect(()=>mt.handoff(),[]),e?!1:t}let id=c.createContext(!1);function sd(){return c.useContext(id)}function ld(e){let t=sd(),n=c.useContext(ks),r=zt(e),[o,i]=c.useState(()=>{var l;if(!t&&n!==null)return(l=n.current)!=null?l:null;if(mt.isServer)return null;let s=r?.getElementById("headlessui-portal-root");if(s)return s;if(r===null)return null;let a=r.createElement("div");return a.setAttribute("id","headlessui-portal-root"),r.body.appendChild(a)});return c.useEffect(()=>{o!==null&&(r!=null&&r.body.contains(o)||r==null||r.body.appendChild(o))},[o,r]),c.useEffect(()=>{t||n!==null&&i(n.current)},[n,i,t]),o}let Ts=c.Fragment,ad=ye(function(e,t){let n=e,r=c.useRef(null),o=Pe(eu(b=>{r.current=b}),t),i=zt(r),l=ld(r),[s]=c.useState(()=>{var b;return mt.isServer?null:(b=i?.createElement("div"))!=null?b:null}),a=c.useContext(fd),h=Ir();ue(()=>{!l||!s||l.contains(s)||(s.setAttribute("data-headlessui-portal",""),l.appendChild(s))},[l,s]),ue(()=>{if(s&&a)return a.register(s)},[a,s]),rd(()=>{var b;!l||!s||(s instanceof Node&&l.contains(s)&&l.removeChild(s),l.childNodes.length<=0&&((b=l.parentElement)==null||b.removeChild(l)))});let m=Ee();return h?!l||!s?null:xe.createPortal(m({ourProps:{ref:o},theirProps:n,slot:{},defaultTag:Ts,name:"Portal"}),s):null});function ud(e,t){let n=Pe(t),{enabled:r=!0,...o}=e,i=Ee();return r?c.createElement(ad,{...o,ref:n}):i({ourProps:{ref:n},theirProps:o,slot:{},defaultTag:Ts,name:"Portal"})}let cd=c.Fragment,ks=c.createContext(null);function dd(e,t){let{target:n,...r}=e,o={ref:Pe(t)},i=Ee();return c.createElement(ks.Provider,{value:n},i({ourProps:o,theirProps:r,defaultTag:cd,name:"Popover.Group"}))}let fd=c.createContext(null),pd=ye(ud),md=ye(dd),Cs=Object.assign(pd,{Group:md});var hd=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(hd||{}),vd=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(vd||{}),bd=(e=>(e[e.Pointer=0]="Pointer",e[e.Focus=1]="Focus",e[e.Other=2]="Other",e))(bd||{}),gd=(e=>(e[e.OpenCombobox=0]="OpenCombobox",e[e.CloseCombobox=1]="CloseCombobox",e[e.GoToOption=2]="GoToOption",e[e.SetTyping=3]="SetTyping",e[e.RegisterOption=4]="RegisterOption",e[e.UnregisterOption=5]="UnregisterOption",e[e.SetActivationTrigger=6]="SetActivationTrigger",e[e.UpdateVirtualConfiguration=7]="UpdateVirtualConfiguration",e[e.SetInputElement=8]="SetInputElement",e[e.SetButtonElement=9]="SetButtonElement",e[e.SetOptionsElement=10]="SetOptionsElement",e))(gd||{});function Pr(e,t=n=>n){let n=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,r=t(e.options.slice()),o=r.length>0&&r[0].dataRef.current.order!==null?r.sort((l,s)=>l.dataRef.current.order-s.dataRef.current.order):cr(r,l=>l.dataRef.current.domRef.current),i=n?o.indexOf(n):null;return i===-1&&(i=null),{options:o,activeOptionIndex:i}}let wd={1(e){var t;return(t=e.dataRef.current)!=null&&t.disabled||e.comboboxState===1?e:{...e,activeOptionIndex:null,comboboxState:1,isTyping:!1,activationTrigger:2,__demoMode:!1}},0(e){var t,n;if((t=e.dataRef.current)!=null&&t.disabled||e.comboboxState===0)return e;if((n=e.dataRef.current)!=null&&n.value){let r=e.dataRef.current.calculateIndex(e.dataRef.current.value);if(r!==-1)return{...e,activeOptionIndex:r,comboboxState:0,__demoMode:!1}}return{...e,comboboxState:0,__demoMode:!1}},3(e,t){return e.isTyping===t.isTyping?e:{...e,isTyping:t.isTyping}},2(e,t){var n,r,o,i;if((n=e.dataRef.current)!=null&&n.disabled||e.optionsElement&&!((r=e.dataRef.current)!=null&&r.optionsPropsRef.current.static)&&e.comboboxState===1)return e;if(e.virtual){let{options:h,disabled:m}=e.virtual,b=t.focus===re.Specific?t.idx:Xt(t,{resolveItems:()=>h,resolveActiveIndex:()=>{var d,u;return(u=(d=e.activeOptionIndex)!=null?d:h.findIndex(p=>!m(p)))!=null?u:null},resolveDisabled:m,resolveId(){throw new Error("Function not implemented.")}}),f=(o=t.trigger)!=null?o:2;return e.activeOptionIndex===b&&e.activationTrigger===f?e:{...e,activeOptionIndex:b,activationTrigger:f,isTyping:!1,__demoMode:!1}}let l=Pr(e);if(l.activeOptionIndex===null){let h=l.options.findIndex(m=>!m.dataRef.current.disabled);h!==-1&&(l.activeOptionIndex=h)}let s=t.focus===re.Specific?t.idx:Xt(t,{resolveItems:()=>l.options,resolveActiveIndex:()=>l.activeOptionIndex,resolveId:h=>h.id,resolveDisabled:h=>h.dataRef.current.disabled}),a=(i=t.trigger)!=null?i:2;return e.activeOptionIndex===s&&e.activationTrigger===a?e:{...e,...l,isTyping:!1,activeOptionIndex:s,activationTrigger:a,__demoMode:!1}},4:(e,t)=>{var n,r,o;if((n=e.dataRef.current)!=null&&n.virtual)return{...e,options:[...e.options,t.payload]};let i=t.payload,l=Pr(e,a=>(a.push(i),a));e.activeOptionIndex===null&&(r=e.dataRef.current)!=null&&r.isSelected(t.payload.dataRef.current.value)&&(l.activeOptionIndex=l.options.indexOf(i));let s={...e,...l,activationTrigger:2};return(o=e.dataRef.current)!=null&&o.__demoMode&&e.dataRef.current.value===void 0&&(s.activeOptionIndex=0),s},5:(e,t)=>{var n;if((n=e.dataRef.current)!=null&&n.virtual)return{...e,options:e.options.filter(o=>o.id!==t.id)};let r=Pr(e,o=>{let i=o.findIndex(l=>l.id===t.id);return i!==-1&&o.splice(i,1),o});return{...e,...r,activationTrigger:2}},6:(e,t)=>e.activationTrigger===t.trigger?e:{...e,activationTrigger:t.trigger},7:(e,t)=>{var n,r;if(e.virtual===null)return{...e,virtual:{options:t.options,disabled:(n=t.disabled)!=null?n:()=>!1}};if(e.virtual.options===t.options&&e.virtual.disabled===t.disabled)return e;let o=e.activeOptionIndex;if(e.activeOptionIndex!==null){let i=t.options.indexOf(e.virtual.options[e.activeOptionIndex]);i!==-1?o=i:o=null}return{...e,activeOptionIndex:o,virtual:{options:t.options,disabled:(r=t.disabled)!=null?r:()=>!1}}},8:(e,t)=>e.inputElement===t.element?e:{...e,inputElement:t.element},9:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},10:(e,t)=>e.optionsElement===t.element?e:{...e,optionsElement:t.element}},Mr=c.createContext(null);Mr.displayName="ComboboxActionsContext";function Qt(e){let t=c.useContext(Mr);if(t===null){let n=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Qt),n}return t}let _s=c.createContext(null);function xd(e){let t=Mt("VirtualProvider"),{options:n}=t.virtual,[r,o]=c.useMemo(()=>{let h=t.optionsElement;if(!h)return[0,0];let m=window.getComputedStyle(h);return[parseFloat(m.paddingBlockStart||m.paddingTop),parseFloat(m.paddingBlockEnd||m.paddingBottom)]},[t.optionsElement]),i=gu({enabled:n.length!==0,scrollPaddingStart:r,scrollPaddingEnd:o,count:n.length,estimateSize(){return 40},getScrollElement(){return t.optionsElement},overscan:12}),[l,s]=c.useState(0);ue(()=>{s(h=>h+1)},[n]);let a=i.getVirtualItems();return a.length===0?null:c.createElement(_s.Provider,{value:i},c.createElement("div",{style:{position:"relative",width:"100%",height:`${i.getTotalSize()}px`},ref:h=>{h&&t.activationTrigger!==0&&t.activeOptionIndex!==null&&n.length>t.activeOptionIndex&&i.scrollToIndex(t.activeOptionIndex)}},a.map(h=>{var m;return c.createElement(c.Fragment,{key:h.key},c.cloneElement((m=e.children)==null?void 0:m.call(e,{...e.slot,option:n[h.index]}),{key:`${l}-${h.key}`,"data-index":h.index,"aria-setsize":n.length,"aria-posinset":h.index+1,style:{position:"absolute",top:0,left:0,transform:`translateY(${h.start}px)`,overflowAnchor:"none"}}))})))}let Jt=c.createContext(null);Jt.displayName="ComboboxDataContext";function Mt(e){let t=c.useContext(Jt);if(t===null){let n=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Mt),n}return t}function yd(e,t){return Te(t.type,wd,e,t)}let Ed=c.Fragment;function Sd(e,t){var n,r;let o=dn(),{value:i,defaultValue:l,onChange:s,form:a,name:h,by:m,disabled:b=o||!1,onClose:f,__demoMode:d=!1,multiple:u=!1,immediate:p=!1,virtual:v=null,nullable:y,...E}=e,w=li(l),[x=u?[]:void 0,k]=si(i,s,w),[S,C]=c.useReducer(yd,{dataRef:c.createRef(),comboboxState:d?0:1,isTyping:!1,options:[],virtual:v?{options:v.options,disabled:(n=v.disabled)!=null?n:()=>!1}:null,activeOptionIndex:null,activationTrigger:2,inputElement:null,buttonElement:null,optionsElement:null,__demoMode:d}),R=c.useRef(!1),W=c.useRef({static:!1,hold:!1}),D=Oi(m),I=A(F=>v?m===null?v.options.indexOf(F):v.options.findIndex(G=>D(G,F)):S.options.findIndex(G=>D(G.dataRef.current.value,F))),K=c.useCallback(F=>Te(M.mode,{1:()=>x.some(G=>D(G,F)),0:()=>D(x,F)}),[x]),P=A(F=>S.activeOptionIndex===I(F)),M=c.useMemo(()=>({...S,immediate:p,optionsPropsRef:W,value:x,defaultValue:w,disabled:b,mode:u?1:0,virtual:v?S.virtual:null,get activeOptionIndex(){if(R.current&&S.activeOptionIndex===null&&(v?v.options.length>0:S.options.length>0)){if(v){let G=v.options.findIndex(ge=>{var ke,Ne;return!((Ne=(ke=v.disabled)==null?void 0:ke.call(v,ge))!=null&&Ne)});if(G!==-1)return G}let F=S.options.findIndex(G=>!G.dataRef.current.disabled);if(F!==-1)return F}return S.activeOptionIndex},calculateIndex:I,compare:D,isSelected:K,isActive:P}),[x,w,b,u,d,S,v]);ue(()=>{var F;v&&C({type:7,options:v.options,disabled:(F=v.disabled)!=null?F:null})},[v,v?.options,v?.disabled]),ue(()=>{S.dataRef.current=M},[M]);let X=M.comboboxState===0;Di(X,[M.buttonElement,M.inputElement,M.optionsElement],()=>fe.closeCombobox());let J=c.useMemo(()=>{var F,G,ge;return{open:M.comboboxState===0,disabled:b,activeIndex:M.activeOptionIndex,activeOption:M.activeOptionIndex===null?null:M.virtual?M.virtual.options[(F=M.activeOptionIndex)!=null?F:0]:(ge=(G=M.options[M.activeOptionIndex])==null?void 0:G.dataRef.current.value)!=null?ge:null,value:x}},[M,b,x]),Z=A(()=>{if(M.activeOptionIndex!==null){if(fe.setIsTyping(!1),M.virtual)T(M.virtual.options[M.activeOptionIndex]);else{let{dataRef:F}=M.options[M.activeOptionIndex];T(F.current.value)}fe.goToOption(re.Specific,M.activeOptionIndex)}}),$=A(()=>{C({type:0}),R.current=!0}),z=A(()=>{C({type:1}),R.current=!1,f?.()}),Q=A(F=>{C({type:3,isTyping:F})}),ie=A((F,G,ge)=>(R.current=!1,F===re.Specific?C({type:2,focus:re.Specific,idx:G,trigger:ge}):C({type:2,focus:F,trigger:ge}))),le=A((F,G)=>(C({type:4,payload:{id:F,dataRef:G}}),()=>{M.isActive(G.current.value)&&(R.current=!0),C({type:5,id:F})})),T=A(F=>Te(M.mode,{0(){return k?.(F)},1(){let G=M.value.slice(),ge=G.findIndex(ke=>D(ke,F));return ge===-1?G.push(F):G.splice(ge,1),k?.(G)}})),te=A(F=>{C({type:6,trigger:F})}),ne=A(F=>{C({type:8,element:F})}),pe=A(F=>{C({type:9,element:F})}),ae=A(F=>{C({type:10,element:F})}),fe=c.useMemo(()=>({onChange:T,registerOption:le,goToOption:ie,setIsTyping:Q,closeCombobox:z,openCombobox:$,setActivationTrigger:te,selectActiveOption:Z,setInputElement:ne,setButtonElement:pe,setOptionsElement:ae}),[]),[he,We]=gi(),Ge=t===null?{}:{ref:t},O=c.useCallback(()=>{if(w!==void 0)return k?.(w)},[k,w]),V=Ee();return c.createElement(We,{value:he,props:{htmlFor:(r=M.inputElement)==null?void 0:r.id},slot:{open:M.comboboxState===0,disabled:b}},c.createElement(Es,null,c.createElement(Mr.Provider,{value:fe},c.createElement(Jt.Provider,{value:M},c.createElement(Cr,{value:Te(M.comboboxState,{0:Le.Open,1:Le.Closed})},h!=null&&c.createElement(fi,{disabled:b,data:x!=null?{[h]:x}:{},form:a,onReset:O}),V({ourProps:Ge,theirProps:E,slot:J,defaultTag:Ed,name:"Combobox"}))))))}let Od="input";function Td(e,t){var n,r,o,i,l;let s=Mt("Combobox.Input"),a=Qt("Combobox.Input"),h=c.useId(),m=nr(),{id:b=m||`headlessui-combobox-input-${h}`,onChange:f,displayValue:d,disabled:u=s.disabled||!1,autoFocus:p=!1,type:v="text",...y}=e,E=c.useRef(null),w=Pe(E,t,gs(),a.setInputElement),x=zt(s.inputElement),k=lt(),S=A(()=>{a.onChange(null),s.optionsElement&&(s.optionsElement.scrollTop=0),a.goToOption(re.Nothing)}),C=c.useMemo(()=>{var T;return typeof d=="function"&&s.value!==void 0?(T=d(s.value))!=null?T:"":typeof s.value=="string"?s.value:""},[s.value,d]);zi(([T,te],[ne,pe])=>{if(s.isTyping)return;let ae=E.current;ae&&((pe===0&&te===1||T!==ne)&&(ae.value=T),requestAnimationFrame(()=>{if(s.isTyping||!ae||x?.activeElement!==ae)return;let{selectionStart:fe,selectionEnd:he}=ae;Math.abs((he??0)-(fe??0))===0&&fe===0&&ae.setSelectionRange(ae.value.length,ae.value.length)}))},[C,s.comboboxState,x,s.isTyping]),zi(([T],[te])=>{if(T===0&&te===1){if(s.isTyping)return;let ne=E.current;if(!ne)return;let pe=ne.value,{selectionStart:ae,selectionEnd:fe,selectionDirection:he}=ne;ne.value="",ne.value=pe,he!==null?ne.setSelectionRange(ae,fe,he):ne.setSelectionRange(ae,fe)}},[s.comboboxState]);let R=c.useRef(!1),W=A(()=>{R.current=!0}),D=A(()=>{k.nextFrame(()=>{R.current=!1})}),I=A(T=>{switch(a.setIsTyping(!0),T.key){case de.Enter:if(s.comboboxState!==0||R.current)return;if(T.preventDefault(),T.stopPropagation(),s.activeOptionIndex===null){a.closeCombobox();return}a.selectActiveOption(),s.mode===0&&a.closeCombobox();break;case de.ArrowDown:return T.preventDefault(),T.stopPropagation(),Te(s.comboboxState,{0:()=>a.goToOption(re.Next),1:()=>a.openCombobox()});case de.ArrowUp:return T.preventDefault(),T.stopPropagation(),Te(s.comboboxState,{0:()=>a.goToOption(re.Previous),1:()=>{xe.flushSync(()=>a.openCombobox()),s.value||a.goToOption(re.Last)}});case de.Home:if(T.shiftKey)break;return T.preventDefault(),T.stopPropagation(),a.goToOption(re.First);case de.PageUp:return T.preventDefault(),T.stopPropagation(),a.goToOption(re.First);case de.End:if(T.shiftKey)break;return T.preventDefault(),T.stopPropagation(),a.goToOption(re.Last);case de.PageDown:return T.preventDefault(),T.stopPropagation(),a.goToOption(re.Last);case de.Escape:return s.comboboxState!==0?void 0:(T.preventDefault(),s.optionsElement&&!s.optionsPropsRef.current.static&&T.stopPropagation(),s.mode===0&&s.value===null&&S(),a.closeCombobox());case de.Tab:if(s.comboboxState!==0)return;s.mode===0&&s.activationTrigger!==1&&a.selectActiveOption(),a.closeCombobox();break}}),K=A(T=>{f?.(T),s.mode===0&&T.target.value===""&&S(),a.openCombobox()}),P=A(T=>{var te,ne,pe;let ae=(te=T.relatedTarget)!=null?te:wt.find(fe=>fe!==T.currentTarget);if(!((ne=s.optionsElement)!=null&&ne.contains(ae))&&!((pe=s.buttonElement)!=null&&pe.contains(ae))&&s.comboboxState===0)return T.preventDefault(),s.mode===0&&s.value===null&&S(),a.closeCombobox()}),M=A(T=>{var te,ne,pe;let ae=(te=T.relatedTarget)!=null?te:wt.find(fe=>fe!==T.currentTarget);(ne=s.buttonElement)!=null&&ne.contains(ae)||(pe=s.optionsElement)!=null&&pe.contains(ae)||s.disabled||s.immediate&&s.comboboxState!==0&&k.microTask(()=>{xe.flushSync(()=>a.openCombobox()),a.setActivationTrigger(1)})}),X=Ht(),J=vi(),{isFocused:Z,focusProps:$}=Qn({autoFocus:p}),{isHovered:z,hoverProps:Q}=Xn({isDisabled:u}),ie=c.useMemo(()=>({open:s.comboboxState===0,disabled:u,hover:z,focus:Z,autofocus:p}),[s,z,Z,p,u]),le=Vt({ref:w,id:b,role:"combobox",type:v,"aria-controls":(n=s.optionsElement)==null?void 0:n.id,"aria-expanded":s.comboboxState===0,"aria-activedescendant":s.activeOptionIndex===null?void 0:s.virtual?(r=s.options.find(T=>!T.dataRef.current.disabled&&s.compare(T.dataRef.current.value,s.virtual.options[s.activeOptionIndex])))==null?void 0:r.id:(o=s.options[s.activeOptionIndex])==null?void 0:o.id,"aria-labelledby":X,"aria-describedby":J,"aria-autocomplete":"list",defaultValue:(l=(i=e.defaultValue)!=null?i:s.defaultValue!==void 0?d?.(s.defaultValue):null)!=null?l:s.defaultValue,disabled:u||void 0,autoFocus:p,onCompositionStart:W,onCompositionEnd:D,onKeyDown:I,onChange:K,onFocus:M,onBlur:P},$,Q);return Ee()({ourProps:le,theirProps:y,slot:ie,defaultTag:Od,name:"Combobox.Input"})}let kd="button";function Cd(e,t){var n;let r=Mt("Combobox.Button"),o=Qt("Combobox.Button"),i=Pe(t,o.setButtonElement),l=c.useId(),{id:s=`headlessui-combobox-button-${l}`,disabled:a=r.disabled||!1,autoFocus:h=!1,...m}=e,b=ji(r.inputElement),f=A(C=>{switch(C.key){case de.Space:case de.Enter:C.preventDefault(),C.stopPropagation(),r.comboboxState===1&&xe.flushSync(()=>o.openCombobox()),b();return;case de.ArrowDown:C.preventDefault(),C.stopPropagation(),r.comboboxState===1&&(xe.flushSync(()=>o.openCombobox()),r.value||o.goToOption(re.First)),b();return;case de.ArrowUp:C.preventDefault(),C.stopPropagation(),r.comboboxState===1&&(xe.flushSync(()=>o.openCombobox()),r.value||o.goToOption(re.Last)),b();return;case de.Escape:if(r.comboboxState!==0)return;C.preventDefault(),r.optionsElement&&!r.optionsPropsRef.current.static&&C.stopPropagation(),xe.flushSync(()=>o.closeCombobox()),b();return;default:return}}),d=A(C=>{C.preventDefault(),!pi(C.currentTarget)&&(C.button===_r.Left&&(r.comboboxState===0?o.closeCombobox():o.openCombobox()),b())}),u=Ht([s]),{isFocusVisible:p,focusProps:v}=Qn({autoFocus:h}),{isHovered:y,hoverProps:E}=Xn({isDisabled:a}),{pressed:w,pressProps:x}=oi({disabled:a}),k=c.useMemo(()=>({open:r.comboboxState===0,active:w||r.comboboxState===0,disabled:a,value:r.value,hover:y,focus:p}),[r,y,p,w,a]),S=Vt({ref:i,id:s,type:Wi(e,r.buttonElement),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":(n=r.optionsElement)==null?void 0:n.id,"aria-expanded":r.comboboxState===0,"aria-labelledby":u,disabled:a||void 0,autoFocus:h,onMouseDown:d,onKeyDown:f},v,E,x);return Ee()({ourProps:S,theirProps:m,slot:k,defaultTag:kd,name:"Combobox.Button"})}let _d="div",Id=Ot.RenderStrategy|Ot.Static;function Pd(e,t){var n,r,o;let i=c.useId(),{id:l=`headlessui-combobox-options-${i}`,hold:s=!1,anchor:a,portal:h=!1,modal:m=!0,transition:b=!1,...f}=e,d=Mt("Combobox.Options"),u=Qt("Combobox.Options"),p=bs(a);p&&(h=!0);let[v,y]=xs(p),[E,w]=c.useState(null),x=ws(),k=Pe(t,p?v:null,u.setOptionsElement,w),S=zt(d.optionsElement),C=Tn(),[R,W]=fr(b,E,C!==null?(C&Le.Open)===Le.Open:d.comboboxState===0);Pi(R,d.inputElement,u.closeCombobox);let D=d.__demoMode?!1:m&&d.comboboxState===0;Bi(D,S);let I=d.__demoMode?!1:m&&d.comboboxState===0;Ii(I,{allowed:c.useCallback(()=>[d.inputElement,d.buttonElement,d.optionsElement],[d.inputElement,d.buttonElement,d.optionsElement])}),ue(()=>{var le;d.optionsPropsRef.current.static=(le=e.static)!=null?le:!1},[d.optionsPropsRef,e.static]),ue(()=>{d.optionsPropsRef.current.hold=s},[d.optionsPropsRef,s]),$u(d.comboboxState===0,{container:d.optionsElement,accept(le){return le.getAttribute("role")==="option"?NodeFilter.FILTER_REJECT:le.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(le){le.setAttribute("role","none")}});let K=Ht([(n=d.buttonElement)==null?void 0:n.id]),P=c.useMemo(()=>({open:d.comboboxState===0,option:void 0}),[d.comboboxState]),M=A(()=>{u.setActivationTrigger(0)}),X=A(le=>{le.preventDefault(),u.setActivationTrigger(0)}),J=Vt(p?x():{},{"aria-labelledby":K,role:"listbox","aria-multiselectable":d.mode===1?!0:void 0,id:l,ref:k,style:{...f.style,...y,"--input-width":ir(d.inputElement,!0).width,"--button-width":ir(d.buttonElement,!0).width},onWheel:d.activationTrigger===0?void 0:M,onMouseDown:X,...dr(W)}),Z=R&&d.comboboxState===1,$=On(Z,(r=d.virtual)==null?void 0:r.options),z=On(Z,d.value),Q=A(le=>d.compare(z,le));if(d.virtual){if($===void 0)throw new Error("Missing `options` in virtual mode");Object.assign(f,{children:c.createElement(Jt.Provider,{value:$!==d.virtual.options?{...d,virtual:{...d.virtual,options:$}}:d},c.createElement(xd,{slot:P},f.children))})}let ie=Ee();return c.createElement(Cs,{enabled:h?e.static||R:!1},c.createElement(Jt.Provider,{value:d.mode===1?d:{...d,isSelected:Q}},ie({ourProps:J,theirProps:{...f,children:c.createElement(ed,{freeze:Z},typeof f.children=="function"?(o=f.children)==null?void 0:o.call(f,P):f.children)},slot:P,defaultTag:_d,features:Id,visible:R,name:"Combobox.Options"})))}let Md="div";function Ad(e,t){var n,r,o,i;let l=Mt("Combobox.Option"),s=Qt("Combobox.Option"),a=c.useId(),{id:h=`headlessui-combobox-option-${a}`,value:m,disabled:b=(o=(r=(n=l.virtual)==null?void 0:n.disabled)==null?void 0:r.call(n,m))!=null?o:!1,order:f=null,...d}=e,u=ji(l.inputElement),p=l.virtual?l.activeOptionIndex===l.calculateIndex(m):l.activeOptionIndex===null?!1:((i=l.options[l.activeOptionIndex])==null?void 0:i.id)===h,v=l.isSelected(m),y=c.useRef(null),E=nt({disabled:b,value:m,domRef:y,order:f}),w=c.useContext(_s),x=Pe(t,y,w?w.measureElement:null),k=A(()=>{s.setIsTyping(!1),s.onChange(m)});ue(()=>s.registerOption(h,E),[E,h]);let S=c.useRef(!(l.virtual||l.__demoMode));ue(()=>{if(!l.virtual&&!l.__demoMode)return qe().requestAnimationFrame(()=>{S.current=!0})},[l.virtual,l.__demoMode]),ue(()=>{if(S.current&&l.comboboxState===0&&p&&l.activationTrigger!==0)return qe().requestAnimationFrame(()=>{var X,J;(J=(X=y.current)==null?void 0:X.scrollIntoView)==null||J.call(X,{block:"nearest"})})},[y,p,l.comboboxState,l.activationTrigger,l.activeOptionIndex]);let C=A(X=>{X.preventDefault(),X.button===_r.Left&&(b||(k(),Li()||requestAnimationFrame(()=>u()),l.mode===0&&s.closeCombobox()))}),R=A(()=>{if(b)return s.goToOption(re.Nothing);let X=l.calculateIndex(m);s.goToOption(re.Specific,X)}),W=Hi(),D=A(X=>W.update(X)),I=A(X=>{if(!W.wasMoved(X)||b||p)return;let J=l.calculateIndex(m);s.goToOption(re.Specific,J,0)}),K=A(X=>{W.wasMoved(X)&&(b||p&&(l.optionsPropsRef.current.hold||s.goToOption(re.Nothing)))}),P=c.useMemo(()=>({active:p,focus:p,selected:v,disabled:b}),[p,v,b]),M={id:h,ref:x,role:"option",tabIndex:b===!0?void 0:-1,"aria-disabled":b===!0?!0:void 0,"aria-selected":v,disabled:void 0,onMouseDown:C,onFocus:R,onPointerEnter:D,onMouseEnter:D,onPointerMove:I,onMouseMove:I,onPointerLeave:K,onMouseLeave:K};return Ee()({ourProps:M,theirProps:d,slot:P,defaultTag:Md,name:"Combobox.Option"})}let Fd=ye(Sd),Ld=ye(Cd),Nd=ye(Td),Dd=wi,jd=ye(Pd),Wd=ye(Ad),Zt=Object.assign(Fd,{Input:Nd,Button:Ld,Label:Dd,Options:jd,Option:Wd});function Bd(){let e=c.useRef(!1);return ue(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function Is(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||((t=e.as)!=null?t:Ms)!==c.Fragment||c.Children.count(e.children)===1}let kn=c.createContext(null);kn.displayName="TransitionContext";var Vd=(e=>(e.Visible="visible",e.Hidden="hidden",e))(Vd||{});function Hd(){let e=c.useContext(kn);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function Rd(){let e=c.useContext(Cn);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let Cn=c.createContext(null);Cn.displayName="NestingContext";function _n(e){return"children"in e?_n(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function Ps(e,t){let n=nt(e),r=c.useRef([]),o=Bd(),i=lt(),l=A((d,u=at.Hidden)=>{let p=r.current.findIndex(({el:v})=>v===d);p!==-1&&(Te(u,{[at.Unmount](){r.current.splice(p,1)},[at.Hidden](){r.current[p].state="hidden"}}),i.microTask(()=>{var v;!_n(r)&&o.current&&((v=n.current)==null||v.call(n))}))}),s=A(d=>{let u=r.current.find(({el:p})=>p===d);return u?u.state!=="visible"&&(u.state="visible"):r.current.push({el:d,state:"visible"}),()=>l(d,at.Unmount)}),a=c.useRef([]),h=c.useRef(Promise.resolve()),m=c.useRef({enter:[],leave:[]}),b=A((d,u,p)=>{a.current.splice(0),t&&(t.chains.current[u]=t.chains.current[u].filter(([v])=>v!==d)),t?.chains.current[u].push([d,new Promise(v=>{a.current.push(v)})]),t?.chains.current[u].push([d,new Promise(v=>{Promise.all(m.current[u].map(([y,E])=>E)).then(()=>v())})]),u==="enter"?h.current=h.current.then(()=>t?.wait.current).then(()=>p(u)):p(u)}),f=A((d,u,p)=>{Promise.all(m.current[u].splice(0).map(([v,y])=>y)).then(()=>{var v;(v=a.current.shift())==null||v()}).then(()=>p(u))});return c.useMemo(()=>({children:r,register:s,unregister:l,onStart:b,onStop:f,wait:h,chains:m}),[s,l,r,b,f,m,h])}let Ms=c.Fragment,As=Ot.RenderStrategy;function Ud(e,t){var n,r;let{transition:o=!0,beforeEnter:i,afterEnter:l,beforeLeave:s,afterLeave:a,enter:h,enterFrom:m,enterTo:b,entered:f,leave:d,leaveFrom:u,leaveTo:p,...v}=e,[y,E]=c.useState(null),w=c.useRef(null),x=Is(e),k=Pe(...x?[w,t,E]:t===null?[]:[t]),S=(n=v.unmount)==null||n?at.Unmount:at.Hidden,{show:C,appear:R,initial:W}=Hd(),[D,I]=c.useState(C?"visible":"hidden"),K=Rd(),{register:P,unregister:M}=K;ue(()=>P(w),[P,w]),ue(()=>{if(S===at.Hidden&&w.current){if(C&&D!=="visible"){I("visible");return}return Te(D,{hidden:()=>M(w),visible:()=>P(w)})}},[D,w,P,M,C,S]);let X=Ir();ue(()=>{if(x&&X&&D==="visible"&&w.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[w,D,X,x]);let J=W&&!R,Z=R&&C&&W,$=c.useRef(!1),z=Ps(()=>{$.current||(I("hidden"),M(w))},K),Q=A(ae=>{$.current=!0;let fe=ae?"enter":"leave";z.onStart(w,fe,he=>{he==="enter"?i?.():he==="leave"&&s?.()})}),ie=A(ae=>{let fe=ae?"enter":"leave";$.current=!1,z.onStop(w,fe,he=>{he==="enter"?l?.():he==="leave"&&a?.()}),fe==="leave"&&!_n(z)&&(I("hidden"),M(w))});c.useEffect(()=>{x&&o||(Q(C),ie(C))},[C,x,o]);let le=(()=>!(!o||!x||!X||J))(),[,T]=fr(le,y,C,{start:Q,end:ie}),te=ut({ref:k,className:((r=Zn(v.className,Z&&h,Z&&m,T.enter&&h,T.enter&&T.closed&&m,T.enter&&!T.closed&&b,T.leave&&d,T.leave&&!T.closed&&u,T.leave&&T.closed&&p,!T.transition&&C&&f))==null?void 0:r.trim())||void 0,...dr(T)}),ne=0;D==="visible"&&(ne|=Le.Open),D==="hidden"&&(ne|=Le.Closed),T.enter&&(ne|=Le.Opening),T.leave&&(ne|=Le.Closing);let pe=Ee();return c.createElement(Cn.Provider,{value:z},c.createElement(Cr,{value:ne},pe({ourProps:te,theirProps:v,defaultTag:Ms,features:As,visible:D==="visible",name:"Transition.Child"})))}function zd(e,t){let{show:n,appear:r=!1,unmount:o=!0,...i}=e,l=c.useRef(null),s=Is(e),a=Pe(...s?[l,t]:t===null?[]:[t]);Ir();let h=Tn();if(n===void 0&&h!==null&&(n=(h&Le.Open)===Le.Open),n===void 0)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[m,b]=c.useState(n?"visible":"hidden"),f=Ps(()=>{n||b("hidden")}),[d,u]=c.useState(!0),p=c.useRef([n]);ue(()=>{d!==!1&&p.current[p.current.length-1]!==n&&(p.current.push(n),u(!1))},[p,n]);let v=c.useMemo(()=>({show:n,appear:r,initial:d}),[n,r,d]);ue(()=>{n?b("visible"):!_n(f)&&l.current!==null&&b("hidden")},[n,f]);let y={unmount:o},E=A(()=>{var k;d&&u(!1),(k=e.beforeEnter)==null||k.call(e)}),w=A(()=>{var k;d&&u(!1),(k=e.beforeLeave)==null||k.call(e)}),x=Ee();return c.createElement(Cn.Provider,{value:f},c.createElement(kn.Provider,{value:v},x({ourProps:{...y,as:c.Fragment,children:c.createElement(Fs,{ref:a,...y,...i,beforeEnter:E,beforeLeave:w})},theirProps:{},defaultTag:c.Fragment,features:As,visible:m==="visible",name:"Transition"})))}function $d(e,t){let n=c.useContext(kn)!==null,r=Tn()!==null;return c.createElement(c.Fragment,null,!n&&r?c.createElement(Ar,{ref:t,...e}):c.createElement(Fs,{ref:t,...e}))}let Ar=ye(zd),Fs=ye(Ud),qd=ye($d),Ls=Object.assign(Ar,{Child:qd,Root:Ar});function Yd(e,t){let n=c.useRef({left:0,top:0});if(ue(()=>{if(!t)return;let o=t.getBoundingClientRect();o&&(n.current=o)},[e,t]),t==null||!e||t===document.activeElement)return!1;let r=t.getBoundingClientRect();return r.top!==n.current.top||r.left!==n.current.left}let Ns=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function Ds(e){var t,n;let r=(t=e.innerText)!=null?t:"",o=e.cloneNode(!0);if(!(o instanceof HTMLElement))return r;let i=!1;for(let s of o.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))s.remove(),i=!0;let l=i?(n=o.innerText)!=null?n:"":r;return Ns.test(l)&&(l=l.replace(Ns,"")),l}function Kd(e){let t=e.getAttribute("aria-label");if(typeof t=="string")return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let r=n.split(" ").map(o=>{let i=document.getElementById(o);if(i){let l=i.getAttribute("aria-label");return typeof l=="string"?l.trim():Ds(i).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return Ds(e).trim()}function Gd(e){let t=c.useRef(""),n=c.useRef("");return A(()=>{let r=e.current;if(!r)return"";let o=r.innerText;if(t.current===o)return n.current;let i=Kd(r).trim().toLowerCase();return t.current=o,n.current=i,i})}var Xd=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Xd||{}),Qd=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(Qd||{}),Jd=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Jd||{}),Zd=(e=>(e[e.OpenListbox=0]="OpenListbox",e[e.CloseListbox=1]="CloseListbox",e[e.GoToOption=2]="GoToOption",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterOption=5]="RegisterOption",e[e.UnregisterOption=6]="UnregisterOption",e[e.SetButtonElement=7]="SetButtonElement",e[e.SetOptionsElement=8]="SetOptionsElement",e))(Zd||{});function Fr(e,t=n=>n){let n=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,r=cr(t(e.options.slice()),i=>i.dataRef.current.domRef.current),o=n?r.indexOf(n):null;return o===-1&&(o=null),{options:r,activeOptionIndex:o}}let ef={1(e){return e.dataRef.current.disabled||e.listboxState===1?e:{...e,activeOptionIndex:null,listboxState:1,__demoMode:!1}},0(e){if(e.dataRef.current.disabled||e.listboxState===0)return e;let t=e.activeOptionIndex,{isSelected:n}=e.dataRef.current,r=e.options.findIndex(o=>n(o.dataRef.current.value));return r!==-1&&(t=r),{...e,listboxState:0,activeOptionIndex:t,__demoMode:!1}},2(e,t){var n,r,o,i,l;if(e.dataRef.current.disabled||e.listboxState===1)return e;let s={...e,searchQuery:"",activationTrigger:(n=t.trigger)!=null?n:1,__demoMode:!1};if(t.focus===re.Nothing)return{...s,activeOptionIndex:null};if(t.focus===re.Specific)return{...s,activeOptionIndex:e.options.findIndex(m=>m.id===t.id)};if(t.focus===re.Previous){let m=e.activeOptionIndex;if(m!==null){let b=e.options[m].dataRef.current.domRef,f=Xt(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:d=>d.id,resolveDisabled:d=>d.dataRef.current.disabled});if(f!==null){let d=e.options[f].dataRef.current.domRef;if(((r=b.current)==null?void 0:r.previousElementSibling)===d.current||((o=d.current)==null?void 0:o.previousElementSibling)===null)return{...s,activeOptionIndex:f}}}}else if(t.focus===re.Next){let m=e.activeOptionIndex;if(m!==null){let b=e.options[m].dataRef.current.domRef,f=Xt(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:d=>d.id,resolveDisabled:d=>d.dataRef.current.disabled});if(f!==null){let d=e.options[f].dataRef.current.domRef;if(((i=b.current)==null?void 0:i.nextElementSibling)===d.current||((l=d.current)==null?void 0:l.nextElementSibling)===null)return{...s,activeOptionIndex:f}}}}let a=Fr(e),h=Xt(t,{resolveItems:()=>a.options,resolveActiveIndex:()=>a.activeOptionIndex,resolveId:m=>m.id,resolveDisabled:m=>m.dataRef.current.disabled});return{...s,...a,activeOptionIndex:h}},3:(e,t)=>{if(e.dataRef.current.disabled||e.listboxState===1)return e;let n=e.searchQuery!==""?0:1,r=e.searchQuery+t.value.toLowerCase(),o=(e.activeOptionIndex!==null?e.options.slice(e.activeOptionIndex+n).concat(e.options.slice(0,e.activeOptionIndex+n)):e.options).find(l=>{var s;return!l.dataRef.current.disabled&&((s=l.dataRef.current.textValue)==null?void 0:s.startsWith(r))}),i=o?e.options.indexOf(o):-1;return i===-1||i===e.activeOptionIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeOptionIndex:i,activationTrigger:1}},4(e){return e.dataRef.current.disabled||e.listboxState===1||e.searchQuery===""?e:{...e,searchQuery:""}},5:(e,t)=>{let n={id:t.id,dataRef:t.dataRef},r=Fr(e,o=>[...o,n]);return e.activeOptionIndex===null&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(r.activeOptionIndex=r.options.indexOf(n)),{...e,...r}},6:(e,t)=>{let n=Fr(e,r=>{let o=r.findIndex(i=>i.id===t.id);return o!==-1&&r.splice(o,1),r});return{...e,...n,activationTrigger:1}},7:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},8:(e,t)=>e.optionsElement===t.element?e:{...e,optionsElement:t.element}},Lr=c.createContext(null);Lr.displayName="ListboxActionsContext";function In(e){let t=c.useContext(Lr);if(t===null){let n=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,In),n}return t}let Pn=c.createContext(null);Pn.displayName="ListboxDataContext";function en(e){let t=c.useContext(Pn);if(t===null){let n=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,en),n}return t}function tf(e,t){return Te(t.type,ef,e,t)}let nf=c.Fragment;function rf(e,t){var n;let r=dn(),{value:o,defaultValue:i,form:l,name:s,onChange:a,by:h,invalid:m=!1,disabled:b=r||!1,horizontal:f=!1,multiple:d=!1,__demoMode:u=!1,...p}=e;const v=f?"horizontal":"vertical";let y=Pe(t),E=li(i),[w=d?[]:void 0,x]=si(o,a,E),[k,S]=c.useReducer(tf,{dataRef:c.createRef(),listboxState:u?0:1,options:[],searchQuery:"",activeOptionIndex:null,activationTrigger:1,optionsVisible:!1,buttonElement:null,optionsElement:null,__demoMode:u}),C=c.useRef({static:!1,hold:!1}),R=c.useRef(new Map),W=Oi(h),D=c.useCallback(O=>Te(I.mode,{1:()=>w.some(V=>W(V,O)),0:()=>W(w,O)}),[w]),I=c.useMemo(()=>({...k,value:w,disabled:b,invalid:m,mode:d?1:0,orientation:v,compare:W,isSelected:D,optionsPropsRef:C,listRef:R}),[w,b,m,d,k,R]);ue(()=>{k.dataRef.current=I},[I]);let K=I.listboxState===0;Di(K,[I.buttonElement,I.optionsElement],(O,V)=>{var F;S({type:1}),Ai(V,ur.Loose)||(O.preventDefault(),(F=I.buttonElement)==null||F.focus())});let P=c.useMemo(()=>({open:I.listboxState===0,disabled:b,invalid:m,value:w}),[I,b,w,m]),M=A(O=>{let V=I.options.find(F=>F.id===O);V&&ie(V.dataRef.current.value)}),X=A(()=>{if(I.activeOptionIndex!==null){let{dataRef:O,id:V}=I.options[I.activeOptionIndex];ie(O.current.value),S({type:2,focus:re.Specific,id:V})}}),J=A(()=>S({type:0})),Z=A(()=>S({type:1})),$=lt(),z=A((O,V,F)=>{$.dispose(),$.microTask(()=>O===re.Specific?S({type:2,focus:re.Specific,id:V,trigger:F}):S({type:2,focus:O,trigger:F}))}),Q=A((O,V)=>(S({type:5,id:O,dataRef:V}),()=>S({type:6,id:O}))),ie=A(O=>Te(I.mode,{0(){return x?.(O)},1(){let V=I.value.slice(),F=V.findIndex(G=>W(G,O));return F===-1?V.push(O):V.splice(F,1),x?.(V)}})),le=A(O=>S({type:3,value:O})),T=A(()=>S({type:4})),te=A(O=>{S({type:7,element:O})}),ne=A(O=>{S({type:8,element:O})}),pe=c.useMemo(()=>({onChange:ie,registerOption:Q,goToOption:z,closeListbox:Z,openListbox:J,selectActiveOption:X,selectOption:M,search:le,clearSearch:T,setButtonElement:te,setOptionsElement:ne}),[]),[ae,fe]=gi({inherit:!0}),he={ref:y},We=c.useCallback(()=>{if(E!==void 0)return x?.(E)},[x,E]),Ge=Ee();return c.createElement(fe,{value:ae,props:{htmlFor:(n=I.buttonElement)==null?void 0:n.id},slot:{open:I.listboxState===0,disabled:b}},c.createElement(Es,null,c.createElement(Lr.Provider,{value:pe},c.createElement(Pn.Provider,{value:I},c.createElement(Cr,{value:Te(I.listboxState,{0:Le.Open,1:Le.Closed})},s!=null&&w!=null&&c.createElement(fi,{disabled:b,data:{[s]:w},form:l,onReset:We}),Ge({ourProps:he,theirProps:p,slot:P,defaultTag:nf,name:"Listbox"}))))))}let of="button";function sf(e,t){var n;let r=en("Listbox.Button"),o=In("Listbox.Button"),i=c.useId(),l=nr(),{id:s=l||`headlessui-listbox-button-${i}`,disabled:a=r.disabled||!1,autoFocus:h=!1,...m}=e,b=Pe(t,gs(),o.setButtonElement),f=Qc(),d=A(I=>{switch(I.key){case de.Enter:qa(I.currentTarget);break;case de.Space:case de.ArrowDown:I.preventDefault(),xe.flushSync(()=>o.openListbox()),r.value||o.goToOption(re.First);break;case de.ArrowUp:I.preventDefault(),xe.flushSync(()=>o.openListbox()),r.value||o.goToOption(re.Last);break}}),u=A(I=>{switch(I.key){case de.Space:I.preventDefault();break}}),p=A(I=>{var K;if(pi(I.currentTarget))return I.preventDefault();r.listboxState===0?(xe.flushSync(()=>o.closeListbox()),(K=r.buttonElement)==null||K.focus({preventScroll:!0})):(I.preventDefault(),o.openListbox())}),v=A(I=>I.preventDefault()),y=Ht([s]),E=vi(),{isFocusVisible:w,focusProps:x}=Qn({autoFocus:h}),{isHovered:k,hoverProps:S}=Xn({isDisabled:a}),{pressed:C,pressProps:R}=oi({disabled:a}),W=c.useMemo(()=>({open:r.listboxState===0,active:C||r.listboxState===0,disabled:a,invalid:r.invalid,value:r.value,hover:k,focus:w,autofocus:h}),[r.listboxState,r.value,a,k,w,C,r.invalid,h]),D=Vt(f(),{ref:b,id:s,type:Wi(e,r.buttonElement),"aria-haspopup":"listbox","aria-controls":(n=r.optionsElement)==null?void 0:n.id,"aria-expanded":r.listboxState===0,"aria-labelledby":y,"aria-describedby":E,disabled:a||void 0,autoFocus:h,onKeyDown:d,onKeyUp:u,onKeyPress:v,onClick:p},x,S,R);return Ee()({ourProps:D,theirProps:m,slot:W,defaultTag:of,name:"Listbox.Button"})}let js=c.createContext(!1),lf="div",af=Ot.RenderStrategy|Ot.Static;function uf(e,t){var n,r;let o=c.useId(),{id:i=`headlessui-listbox-options-${o}`,anchor:l,portal:s=!1,modal:a=!0,transition:h=!1,...m}=e,b=bs(l),[f,d]=c.useState(null);b&&(s=!0);let u=en("Listbox.Options"),p=In("Listbox.Options"),v=zt(u.optionsElement),y=Tn(),[E,w]=fr(h,f,y!==null?(y&Le.Open)===Le.Open:u.listboxState===0);Pi(E,u.buttonElement,p.closeListbox);let x=u.__demoMode?!1:a&&u.listboxState===0;Bi(x,v);let k=u.__demoMode?!1:a&&u.listboxState===0;Ii(k,{allowed:c.useCallback(()=>[u.buttonElement,u.optionsElement],[u.buttonElement,u.optionsElement])});let S=u.listboxState!==0,C=Yd(S,u.buttonElement)?!1:E,R=E&&u.listboxState===1,W=On(R,u.value),D=A(T=>u.compare(W,T)),I=c.useMemo(()=>{var T;if(b==null||!((T=b?.to)!=null&&T.includes("selection")))return null;let te=u.options.findIndex(ne=>D(ne.dataRef.current.value));return te===-1&&(te=0),te},[b,u.options]),K=(()=>{if(b==null)return;if(I===null)return{...b,inner:void 0};let T=Array.from(u.listRef.current.values());return{...b,inner:{listRef:{current:T},index:I}}})(),[P,M]=xs(K),X=ws(),J=Pe(t,b?P:null,p.setOptionsElement,d),Z=lt();c.useEffect(()=>{var T;let te=u.optionsElement;te&&u.listboxState===0&&te!==((T=St(te))==null?void 0:T.activeElement)&&te?.focus({preventScroll:!0})},[u.listboxState,u.optionsElement]);let $=A(T=>{var te,ne;switch(Z.dispose(),T.key){case de.Space:if(u.searchQuery!=="")return T.preventDefault(),T.stopPropagation(),p.search(T.key);case de.Enter:if(T.preventDefault(),T.stopPropagation(),u.activeOptionIndex!==null){let{dataRef:pe}=u.options[u.activeOptionIndex];p.onChange(pe.current.value)}u.mode===0&&(xe.flushSync(()=>p.closeListbox()),(te=u.buttonElement)==null||te.focus({preventScroll:!0}));break;case Te(u.orientation,{vertical:de.ArrowDown,horizontal:de.ArrowRight}):return T.preventDefault(),T.stopPropagation(),p.goToOption(re.Next);case Te(u.orientation,{vertical:de.ArrowUp,horizontal:de.ArrowLeft}):return T.preventDefault(),T.stopPropagation(),p.goToOption(re.Previous);case de.Home:case de.PageUp:return T.preventDefault(),T.stopPropagation(),p.goToOption(re.First);case de.End:case de.PageDown:return T.preventDefault(),T.stopPropagation(),p.goToOption(re.Last);case de.Escape:T.preventDefault(),T.stopPropagation(),xe.flushSync(()=>p.closeListbox()),(ne=u.buttonElement)==null||ne.focus({preventScroll:!0});return;case de.Tab:T.preventDefault(),T.stopPropagation(),xe.flushSync(()=>p.closeListbox()),Pu(u.buttonElement,T.shiftKey?ar.Previous:ar.Next);break;default:T.key.length===1&&(p.search(T.key),Z.setTimeout(()=>p.clearSearch(),350));break}}),z=(n=u.buttonElement)==null?void 0:n.id,Q=c.useMemo(()=>({open:u.listboxState===0}),[u.listboxState]),ie=Vt(b?X():{},{id:i,ref:J,"aria-activedescendant":u.activeOptionIndex===null||(r=u.options[u.activeOptionIndex])==null?void 0:r.id,"aria-multiselectable":u.mode===1?!0:void 0,"aria-labelledby":z,"aria-orientation":u.orientation,onKeyDown:$,role:"listbox",tabIndex:u.listboxState===0?0:void 0,style:{...m.style,...M,"--button-width":ir(u.buttonElement,!0).width},...dr(w)}),le=Ee();return c.createElement(Cs,{enabled:s?e.static||E:!1},c.createElement(Pn.Provider,{value:u.mode===1?u:{...u,isSelected:D}},le({ourProps:ie,theirProps:m,slot:Q,defaultTag:lf,features:af,visible:C,name:"Listbox.Options"})))}let cf="div";function df(e,t){let n=c.useId(),{id:r=`headlessui-listbox-option-${n}`,disabled:o=!1,value:i,...l}=e,s=c.useContext(js)===!0,a=en("Listbox.Option"),h=In("Listbox.Option"),m=a.activeOptionIndex!==null?a.options[a.activeOptionIndex].id===r:!1,b=a.isSelected(i),f=c.useRef(null),d=Gd(f),u=nt({disabled:o,value:i,domRef:f,get textValue(){return d()}}),p=Pe(t,f,W=>{W?a.listRef.current.set(r,W):a.listRef.current.delete(r)});ue(()=>{if(!a.__demoMode&&a.listboxState===0&&m&&a.activationTrigger!==0)return qe().requestAnimationFrame(()=>{var W,D;(D=(W=f.current)==null?void 0:W.scrollIntoView)==null||D.call(W,{block:"nearest"})})},[f,m,a.__demoMode,a.listboxState,a.activationTrigger,a.activeOptionIndex]),ue(()=>{if(!s)return h.registerOption(r,u)},[u,r,s]);let v=A(W=>{var D;if(o)return W.preventDefault();h.onChange(i),a.mode===0&&(xe.flushSync(()=>h.closeListbox()),(D=a.buttonElement)==null||D.focus({preventScroll:!0}))}),y=A(()=>{if(o)return h.goToOption(re.Nothing);h.goToOption(re.Specific,r)}),E=Hi(),w=A(W=>{E.update(W),!o&&(m||h.goToOption(re.Specific,r,0))}),x=A(W=>{E.wasMoved(W)&&(o||m||h.goToOption(re.Specific,r,0))}),k=A(W=>{E.wasMoved(W)&&(o||m&&h.goToOption(re.Nothing))}),S=c.useMemo(()=>({active:m,focus:m,selected:b,disabled:o,selectedOption:b&&s}),[m,b,o,s]),C=s?{}:{id:r,ref:p,role:"option",tabIndex:o===!0?void 0:-1,"aria-disabled":o===!0?!0:void 0,"aria-selected":b,disabled:void 0,onClick:v,onFocus:y,onPointerEnter:w,onMouseEnter:w,onPointerMove:x,onMouseMove:x,onPointerLeave:k,onMouseLeave:k},R=Ee();return!b&&s?null:R({ourProps:C,theirProps:l,slot:S,defaultTag:cf,name:"Listbox.Option"})}let ff=c.Fragment;function pf(e,t){let{options:n,placeholder:r,...o}=e,i={ref:Pe(t)},l=en("ListboxSelectedOption"),s=c.useMemo(()=>({}),[]),a=l.value===void 0||l.value===null||l.mode===1&&Array.isArray(l.value)&&l.value.length===0,h=Ee();return c.createElement(js.Provider,{value:!0},h({ourProps:i,theirProps:{...o,children:c.createElement(c.Fragment,null,r&&a?r:n)},slot:s,defaultTag:ff,name:"ListboxSelectedOption"}))}let mf=ye(rf),hf=ye(sf),vf=wi,bf=ye(uf),gf=ye(df),wf=ye(pf),Mn=Object.assign(mf,{Button:hf,Label:vf,Options:bf,Option:gf,SelectedOption:wf});function xf({title:e,titleId:t,...n},r){return B.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?B.createElement("title",{id:t},e):null,B.createElement("path",{fillRule:"evenodd",d:"M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}const Ws=B.forwardRef(xf),He={select:"_select_c79hj_1",selectContainer:"_selectContainer_c79hj_4",selectButton:"_selectButton_c79hj_7",open:"_open_c79hj_13",selectValue:"_selectValue_c79hj_16",seletIcon:"_seletIcon_c79hj_19",selectText:"_selectText_c79hj_22",chevronDownIconSpan:"_chevronDownIconSpan_c79hj_25",chevronDownIcon:"_chevronDownIcon_c79hj_25",leave:"_leave_c79hj_32",leaveFrom:"_leaveFrom_c79hj_36",leaveTo:"_leaveTo_c79hj_40",selectOptions:"_selectOptions_c79hj_44"},yf=({children:e,selected:t,onSelect:n,themeColor:r})=>{const[o,i]=c.useState(!1),[l,s]=c.useState(!1),a=c.useRef(null),h=c.useRef(null),m=c.useRef(null),[b,f]=c.useState({left:0,top:0}),d=c.useRef(0),u=c.useRef(0);let p="#333333";const v=S=>{n(S)},y=()=>{i(!0)},E=()=>{i(!1)};c.useEffect(()=>{const S=h.current;return S&&(S.addEventListener("focus",y),S.addEventListener("blur",E)),()=>{S&&(S.removeEventListener("focus",y),S.removeEventListener("blur",E))}},[y,E]);const w=()=>{d.current=window.innerHeight,u.current=document.body.scrollHeight,s(!0)};c.useEffect(()=>(w(),window.addEventListener("resize",w),()=>{window.addEventListener("resize",w)}),[]);const x=()=>u.current-(d.current+window.scrollY),k=()=>{if(a.current){const S=a.current.getBoundingClientRect();setTimeout(()=>{const C=m?.current?.getBoundingClientRect(),R=x(),W=d.current-S.bottom;let D;if(C){const I=S.height,K=S.top,P=C.height,M=P>=K+window.scrollY;P>=K&&(M||M&&W<=P||R>=P||W>=P)||K>=P&&W>=P?D=S.y+I:D=S.y-P,f({left:S.left,top:D??S.top})}},0)}};if(c.useEffect(()=>(window.addEventListener("scroll",k),window.addEventListener("resize",k),()=>{window.removeEventListener("scroll",k),window.removeEventListener("resize",k)}),[]),r){r=$e.convert3HexTo6(r);const S=rt(r);(S==="dark"||S==="light")&&(p=r==="#ffffff"?"#c8c8c8":r)}return _.jsx(Mn,{value:t,onChange:v,children:({open:S})=>_.jsxs("div",{className:He.select,children:[_.jsx("div",{className:He.selectContainer,ref:a,children:_.jsxs(Mn.Button,{"data-testid":"select-options",ref:h,onFocus:y,onBlur:E,onClick:k,onKeyDown:C=>{(C.key===" "||C.code==="Space"||C.code==="Enter")&&k()},style:{borderBottomColor:r&&(o||S)?p:""},className:`${He.selectButton} ${S?He.open:""}`,tabIndex:0,children:[t&&_.jsxs("span",{className:He.selectValue,children:[t.avatar&&_.jsx("img",{src:t.avatar,alt:"",className:He.seletIcon}),_.jsx("span",{className:He.selectText,children:t.label})]}),_.jsx("span",{className:He.chevronDownIconSpan,children:_.jsx(Ws,{className:He.chevronDownIcon,"aria-hidden":"true"})})]})}),l?xe.createPortal(_.jsx(_.Fragment,{children:S&&_.jsx("div",{style:{position:"fixed",inset:0,backgroundColor:"rgba(255,255,255,0)",zIndex:1e3},children:_.jsx("div",{ref:m,style:{position:"absolute",opacity:b.left?1:0,width:a.current?a.current.clientWidth:"auto",left:b.left,top:b.top},children:e})})}),document.body):null]})})},Ef=({children:e,setQuery:t})=>_.jsx(Ls,{as:c.Fragment,leave:He.leave,leaveFrom:He.leaveFrom,leaveTo:He.leaveTo,afterLeave:()=>t(""),children:_.jsx(Mn.Options,{className:He.selectOptions,children:e})}),Bs=c.forwardRef((e,t)=>_.jsx(Mn.Option,{ref:t,className:e.className,value:e.value,disabled:e.disable,children:e.children}));Bs.displayName="SelectOption";const Ke={autocomplete:"_autocomplete_1uhaj_1",autocompleteContainer:"_autocompleteContainer_1uhaj_4",disable:"_disable_1uhaj_7",autocompleteInput:"_autocompleteInput_1uhaj_16",autocompleteButton:"_autocompleteButton_1uhaj_25",chevronDownIcon:"_chevronDownIcon_1uhaj_28",leave:"_leave_1uhaj_35",leaveFrom:"_leaveFrom_1uhaj_39",leaveTo:"_leaveTo_1uhaj_43",autocompleteOptions:"_autocompleteOptions_1uhaj_47"},Sf=({children:e,selected:t,onSelect:n,setQuery:r,disable:o,clearSearch:i=!1,themeColor:l})=>{const s=c.useRef(null),a=c.useRef(null),[h,m]=c.useState(!1),[b,f]=c.useState(!1),d=c.useRef(null),u=c.useRef(null),[p,v]=c.useState({left:0,top:0}),y=c.useRef(0),E=c.useRef(0);let w={};c.useEffect(()=>{s.current&&t&&(s.current.value=t.label||"")},[t]);const x=()=>{y.current=window.innerHeight,E.current=document.body.scrollHeight,f(!0)};c.useEffect(()=>(x(),window.addEventListener("resize",x),()=>{window.addEventListener("resize",x)}),[]);const k=()=>E.current-(y.current+window.scrollY),S=()=>{if(d.current){const P=d.current.getBoundingClientRect();setTimeout(()=>{const M=u?.current?.getBoundingClientRect(),X=k(),J=y.current-P.bottom;let Z;if(M){const $=P.height,z=P.top,Q=M.height,ie=Q>z+window.scrollY;z<Q&&(ie||ie&&J<Q||X>Q||J>Q)||z>Q&&J>Q?Z=P.y+$:Z=P.y-Q,v({left:P.left,top:Z??P.top})}},0)}};c.useEffect(()=>(window.addEventListener("scroll",S),window.addEventListener("resize",S),()=>{window.removeEventListener("scroll",S),window.removeEventListener("resize",S)}),[]);const C=P=>{n(P),D()},R=()=>{S(),m(!0),s.current&&t&&(s.current.value=t.label||""),s.current&&a.current&&(i&&(s.current.value="",r("")),a.current.click())},W=P=>P?.label,D=()=>{const P=s.current;P&&P.setSelectionRange(P.value.length,P.value.length)},I=()=>{m(!0)},K=()=>{m(!1)};if(c.useEffect(()=>{const P=s.current;return P&&(P.addEventListener("focus",I),P.addEventListener("blur",K)),()=>{P&&(P.removeEventListener("focus",I),P.removeEventListener("blur",K))}},[I,K]),l){const P=rt(l);l=$e.convert3HexTo6(l),(P==="dark"||P==="light")&&(w={borderBottomColor:l==="#ffffff"?"#c8c8c8":h?l:"#333333"})}return _.jsx(Zt,{value:t,onChange:C,disabled:o,children:({open:P})=>_.jsxs("div",{className:Ke.autocomplete,children:[_.jsxs("div",{ref:d,className:`${Ke.autocompleteContainer} ${o?Ke.disable:""}`,children:[_.jsx(Zt.Input,{ref:s,"data-testid":"select-input",className:Ke.autocompleteInput,displayValue:W,onChange:M=>{r(M.target.value),S()},onClick:R,onFocus:I,onBlur:K,onKeyDown:M=>{(M.key===" "||M.code==="Space")&&S()},style:{...w},placeholder:"Select your option",autoComplete:"off"}),_.jsx(Zt.Button,{className:Ke.autocompleteButton,"data-testid":"select-button",ref:a,onClick:S,children:_.jsx(Ws,{className:`${Ke.chevronDownIcon} ${o?Ke.disable:""}`,"aria-hidden":"true"})})]}),b?xe.createPortal(_.jsx(_.Fragment,{children:P&&_.jsx("div",{style:{position:"fixed",inset:0,backgroundColor:"rgba(255,255,255,0)",zIndex:1e3},children:_.jsx("div",{ref:u,style:{position:"absolute",opacity:p.left?1:0,width:d.current?d.current.clientWidth:"auto",left:p.left,top:p.top},children:e})})}),document.body):null]})})},Of=({children:e,setQuery:t})=>_.jsx(Ls,{as:c.Fragment,leave:Ke.leave,leaveFrom:Ke.leaveFrom,leaveTo:Ke.leaveTo,afterLeave:()=>t(""),children:_.jsx(Zt.Options,{className:Ke.autocompleteOptions,children:e})}),Vs=c.forwardRef((e,t)=>_.jsx(Zt.Option,{ref:t,className:e.className,value:e.value,disabled:e.disable,children:e.children}));Vs.displayName="AutoCompleteOption";const Hs={textInputWrapper:"_textInputWrapper_gym4n_1",textInput:"_textInput_gym4n_1"},Tf=c.memo(c.forwardRef(({themeColor:e="",style:t={},className:n="",onFocus:r,onBlur:o,...i},l)=>{const[s,a]=c.useState(!1);let h={};const m=[Hs.textInput,n].filter(Boolean).join(" ");e=$e.convert3HexTo6(e);const b=()=>{a(!0)},f=()=>{a(!1)};return h={borderBottomColor:s?e!=="#ffffff"?e:"#c8c8c8":""},_.jsx("div",{className:Hs.textInputWrapper,children:_.jsx("input",{type:"text","data-testid":"textbox-input",ref:l,className:m,onFocus:b,onBlur:f,style:{...h,...t},...i})})})),um={progress:"_progress_1k1zg_1","progress-bar":"_progress-bar_1k1zg_9"};be.AutoComplete=Sf,be.AutoCompleteOption=Vs,be.AutoCompleteOptions=Of,be.Button=Fn,be.Checkbox=Ln,be.ColorsService=$e,be.MultiLineInput=fa,be.MultiSelect=pa,be.QuickMultiSelect=ma,be.QuickSelect=ha,be.Scrollbar=Uo,be.Select=yf,be.SelectOption=Bs,be.SelectOptions=Ef,be.SingleLineInput=Tf,Object.defineProperty(be,Symbol.toStringTag,{value:"Module"})});
|
|
41
41
|
//# sourceMappingURL=ui-react.umd.js.map
|