@oncehub/ui-react 1.4.1 → 1.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ui-react.es.js +401 -400
- package/dist/ui-react.es.js.map +1 -1
- package/dist/ui-react.umd.js +8 -8
- package/dist/ui-react.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/ui-react.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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: }::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-pointer-events-none{pointer-events:none}.tw-absolute{position:absolute}.tw-relative{position:relative}.tw-inset-y-0{top:0;bottom:0}.tw-left-\\[-9999px\\]{left:-9999px}.tw-right-0{right:0}.tw-mr-2{margin-right:.5rem}.tw-block{display:block}.tw-flex{display:flex}.tw-h-0{height:0px}.tw-h-10{height:2.5rem}.tw-h-20{height:5rem}.tw-h-5{height:1.25rem}.tw-h-full{height:100%}.tw-max-h-\\[200px\\]{max-height:200px}.tw-max-h-\\[210px\\]{max-height:210px}.tw-w-0{width:0px}.tw-w-5{width:1.25rem}.tw-w-full{width:100%}.tw-flex-shrink-0{flex-shrink:0}.tw-cursor-default{cursor:default}.tw-cursor-pointer{cursor:pointer}.tw-select-none{user-select:none}.tw-items-center{align-items:center}.tw-overflow-auto{overflow:auto}.tw-overflow-hidden{overflow:hidden}.tw-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tw-border-0{border-width:0px}.tw-border-x-0{border-left-width:0px;border-right-width:0px}.tw-border-b{border-bottom-width:1px}.tw-border-b-2{border-bottom-width:2px}.tw-border-b-\\[1px\\]{border-bottom-width:1px}.tw-border-t{border-top-width:1px}.tw-border-t-2{border-top-width:2px}.tw-border-solid{border-style:solid}.tw-border-b-\\[\\#006bb1\\]{--tw-border-opacity: 1;border-bottom-color:rgb(0 107 177 / var(--tw-border-opacity))}.tw-border-b-\\[\\#333333\\]{--tw-border-opacity: 1;border-bottom-color:rgb(51 51 51 / var(--tw-border-opacity))}.tw-border-t-transparent{border-top-color:transparent}.tw-bg-\\[\\#EEEEEE\\]{--tw-bg-opacity: 1;background-color:rgb(238 238 238 / var(--tw-bg-opacity))}.tw-bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.tw-py-1{padding-top:.25rem;padding-bottom:.25rem}.tw-py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.tw-py-2{padding-top:.5rem;padding-bottom:.5rem}.tw-pb-2{padding-bottom:.5rem}.tw-pb-\\[10px\\]{padding-bottom:10px}.tw-pl-4{padding-left:1rem}.tw-pl-\\[10px\\]{padding-left:10px}.tw-pr-10{padding-right:2.5rem}.tw-pr-2{padding-right:.5rem}.tw-pr-4{padding-right:1rem}.tw-pr-8{padding-right:2rem}.tw-pt-2{padding-top:.5rem}.tw-pt-\\[10px\\]{padding-top:10px}.tw-text-left{text-align:left}.tw-text-base{font-size:1rem;line-height:1.5rem}.tw-font-medium{font-weight:500}.tw-font-normal{font-weight:400}.tw-leading-5{line-height:1.25rem}.tw-text-\\[\\#333333\\]{--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}.tw-text-\\[\\#A7A7A7\\]{--tw-text-opacity: 1;color:rgb(167 167 167 / var(--tw-text-opacity))}.tw-placeholder-\\[\\#666666\\]::placeholder{--tw-placeholder-opacity: 1;color:rgb(102 102 102 / var(--tw-placeholder-opacity))}.tw-opacity-0{opacity:0}.tw-opacity-100{opacity:1}.tw-shadow-\\[0_1px_6px_0_rgba\\(0\\,0\\,0\\,0\\.5\\)\\]{--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)}.tw-shadow-none{--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)}.tw-transition{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:.15s}.tw-duration-100{transition-duration:.1s}.tw-ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.focus\\:tw-border-b-2:focus{border-bottom-width:2px}.focus\\:tw-border-t-2:focus{border-top-width:2px}.focus\\:tw-border-b-\\[\\#006bb1\\]:focus{--tw-border-opacity: 1;border-bottom-color:rgb(0 107 177 / var(--tw-border-opacity))}.focus\\:tw-py-\\[5px\\]:focus{padding-top:5px;padding-bottom:5px}.focus\\:tw-pb-\\[7px\\]:focus{padding-bottom:7px}.focus\\:tw-outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:tw-ring-0:focus{--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)}.focus\\:tw-ring-\\[0px\\]:focus{--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)}.focus-visible\\:tw-ring-1: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)}.focus-visible\\:tw-ring-\\[0px\\]: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)}.focus-visible\\:tw-ring-\\[\\#DFDFDF\\]:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(223 223 223 / var(--tw-ring-opacity)) }.focus-visible\\:tw-ring-offset-2:focus-visible{--tw-ring-offset-width: 2px }.focus-visible\\:tw-ring-offset-\\[\\#DFDFDF\\]:focus-visible{--tw-ring-offset-color: #DFDFDF }@media (min-width: 640px){.sm\\:tw-text-sm{font-size:.875rem;line-height:1.25rem}}.\\[\\&\\:\\:-webkit-scrollbar-thumb\\]\\:tw-rounded-md::-webkit-scrollbar-thumb{border-radius:.375rem}.\\[\\&\\:\\:-webkit-scrollbar-thumb\\]\\:tw-bg-\\[\\#a9a9a9\\]::-webkit-scrollbar-thumb{--tw-bg-opacity: 1;background-color:rgb(169 169 169 / var(--tw-bg-opacity))}.\\[\\&\\:\\:-webkit-scrollbar\\]\\:tw-w-\\[6px\\]::-webkit-scrollbar{width:6px}._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));font-weight:500;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity));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));--tw-bg-opacity: 1;background-color:rgb(200 200 200 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._secondary_1q2ge_12{--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));font-weight:400;--tw-text-opacity: 1;color:rgb(0 107 177 / var(--tw-text-opacity))}._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));--tw-text-opacity: 1;color:rgb(200 200 200 / var(--tw-text-opacity))}._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_1jaci_1{display:inline-flex;width:100%;align-items:center;white-space:nowrap;vertical-align:middle}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_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))}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_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))}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_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_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxInput_1jaci_13{position:absolute;bottom:0;left:0;height:0px;width:0px;appearance:none;border-width:0px;padding:0;opacity:0;outline-width:0px}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxInput_1jaci_13:checked+._checkboxFrame_1jaci_16{--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(0 107 177 / var(--tw-bg-opacity))}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxInput_1jaci_13:checked+._checkboxFrame_1jaci_16 ._checkboxCheckMark_1jaci_19{opacity:1}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxInput_1jaci_13:checked+._checkboxFrame_1jaci_16 ._checkboxCheckMark_1jaci_19 ._checkboxCheckMarkPath_1jaci_22{animation:.18s linear 0ms _checkboxUncheckedChecked_1jaci_1;stroke-dashoffset:0}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxInput_1jaci_13:disabled+._checkboxFrame_1jaci_16{--tw-border-opacity: 1;border-color:rgb(228 228 228 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(249 249 249 / var(--tw-bg-opacity))}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxFrame_1jaci_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));background-color:transparent}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxFrame_1jaci_16 ._checkboxCheckMark_1jaci_19{position:absolute;inset:0;width:100%}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxFrame_1jaci_16 ._checkboxCheckMark_1jaci_19 ._checkboxCheckMarkPath_1jaci_22{stroke-width:3px;stroke-dashoffset:23;stroke-dasharray:23}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10:focus-visible ._checkboxFrame_1jaci_16{outline-style:solid;outline-width:2px;outline-offset:-1px;outline-color:#006bb1}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._visuallyHidden_1jaci_43{position:absolute;width:0px;height:0px;margin:0;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}._checkboxLayout_1jaci_1._checkboxDisabled_1jaci_53{pointer-events:none;cursor:default}._checkboxLayout_1jaci_1._checkboxDisabled_1jaci_53 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxFrame_1jaci_16{--tw-border-opacity: 1;border-color:rgb(228 228 228 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(249 249 249 / var(--tw-bg-opacity))}._checkboxLayout_1jaci_1._medium_1jaci_59 ._checkboxLabel_1jaci_4>span{width:calc(100% - 24px);font-size:.875rem;line-height:1.25rem}._checkboxLayout_1jaci_1._medium_1jaci_59 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10{height:1rem;width:1rem}._checkboxLayout_1jaci_1._large_1jaci_65 ._checkboxLabel_1jaci_4>span{width:calc(100% - 28px);font-size:1rem;line-height:1.5rem}._checkboxLayout_1jaci_1._large_1jaci_65 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10{top:4px;height:1.25rem;width:1.25rem}@keyframes _checkboxUncheckedChecked_1jaci_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));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));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));padding-bottom:7px}._multiSelectContainer_o3j9t_1,._multiSelectContainer_o3j9t_1 ._listOptionsWrap_o3j9t_4{position:relative;width:100%}._multiSelectContainer_o3j9t_1 ._listOptionsWrap_o3j9t_4 ._selectedValuesWrap_o3j9t_7{position:relative;height:2.5rem;width:100%}._multiSelectContainer_o3j9t_1 ._listOptionsWrap_o3j9t_4 ._selectedValuesWrap_o3j9t_7 ._selectedValues_o3j9t_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;--tw-border-opacity: 1;border-bottom-color:rgb(51 51 51 / var(--tw-border-opacity));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))}._multiSelectContainer_o3j9t_1 ._listOptionsWrap_o3j9t_4 ._selectedValuesWrap_o3j9t_7 ._selectedValues_o3j9t_7::placeholder{--tw-placeholder-opacity: 1;color:rgb(102 102 102 / var(--tw-placeholder-opacity))}._multiSelectContainer_o3j9t_1 ._listOptionsWrap_o3j9t_4 ._selectedValuesWrap_o3j9t_7 ._selectedValues_o3j9t_7:focus-within{outline:2px solid transparent;outline-offset:2px}._multiSelectContainer_o3j9t_1 ._listOptionsWrap_o3j9t_4 ._selectedValuesWrap_o3j9t_7 ._selectedValues_o3j9t_7:focus{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));padding-bottom:7px}._multiSelectContainer_o3j9t_1 ._listOptionsWrap_o3j9t_4 ._selectedValuesWrap_o3j9t_7 ._selectedValues_o3j9t_7:focus-visible{outline:2px solid transparent;outline-offset:2px}._multiSelectContainer_o3j9t_1 ._listOptionsWrap_o3j9t_4 ._selectedValuesWrap_o3j9t_7 ._selectedValues_o3j9t_7._focused_o3j9t_13{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));padding-bottom:7px;outline:2px solid transparent;outline-offset:2px}._multiSelectContainer_o3j9t_1 ._listOptionsWrap_o3j9t_4 ._selectedValuesWrap_o3j9t_7 ._dropDownIcon_o3j9t_16{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_o3j9t_20{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));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_o3j9t_20:focus{outline:2px solid transparent;outline-offset:2px}._optionsListContainer_o3j9t_20._top_o3j9t_23{transform:translateY(calc(-100% - 40px))}._optionsListContainer_o3j9t_20 ._optionsListWrap_o3j9t_26{max-height:225px;overflow:auto;padding-top:1rem;padding-bottom:1rem}._optionsListContainer_o3j9t_20 ._optionsListWrap_o3j9t_26 ._searchInputWrap_o3j9t_29{margin-bottom:.5rem;height:2.5rem;padding-left:10px;padding-right:10px}._optionsListContainer_o3j9t_20 ._optionsListWrap_o3j9t_26 ._searchInputWrap_o3j9t_29 ._searchInput_o3j9t_29{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_o3j9t_20 ._optionsListWrap_o3j9t_26 ._optionsList_o3j9t_20{display:flex;height:38px;list-style-type:none;align-items:center;gap:.5rem;padding-left:10px;padding-right:10px;padding-top:.5rem;padding-bottom:.5rem}._optionsListContainer_o3j9t_20 ._optionsListWrap_o3j9t_26 ._optionsList_o3j9t_20 span{display:block;width:calc(100% - 22px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;line-height:1.25rem;line-height:22px}._optionsListContainer_o3j9t_20 ._optionsListWrap_o3j9t_26 ._optionsList_o3j9t_20:hover,._optionsListContainer_o3j9t_20 ._optionsListWrap_o3j9t_26 ._optionsList_o3j9t_20._focused_o3j9t_13{--tw-bg-opacity: 1;background-color:rgb(238 238 238 / var(--tw-bg-opacity))}._optionsListContainer_o3j9t_20 ._btnContainer_o3j9t_47{position:absolute;left:0;right:0;display:flex;height:64px;width:100%;align-items:center;justify-content:flex-end;border-top-width:1px;border-style:solid;--tw-border-opacity: 1;border-top-color:rgb(200 200 200 / var(--tw-border-opacity));padding-left:18px;padding-right:18px}._optionsListContainer_o3j9t_20 ::-webkit-scrollbar{width:6px}._optionsListContainer_o3j9t_20 ::-webkit-scrollbar-thumb{background-color:#a9a9a9;border-radius:6px}._pseudoCheckbox_1tuhb_1{position:relative;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))}._pseudoCheckbox_1tuhb_1 ._checkboxCheckMark_1tuhb_4{position:absolute;inset:0;width:100%}._pseudoCheckbox_1tuhb_1 ._checkboxCheckMark_1tuhb_4 ._checkboxCheckMarkPath_1tuhb_7{stroke-width:3px;stroke-dashoffset:23;stroke-dasharray:23}._pseudoCheckbox_1tuhb_1._checked_1tuhb_12{--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(0 107 177 / var(--tw-bg-opacity))}._pseudoCheckbox_1tuhb_1._checked_1tuhb_12 ._checkboxCheckMark_1tuhb_4{opacity:1}._pseudoCheckbox_1tuhb_1._checked_1tuhb_12 ._checkboxCheckMark_1tuhb_4 ._checkboxCheckMarkPath_1tuhb_7{animation:.18s linear 0ms _checkboxUncheckedChecked_1tuhb_1;stroke-dashoffset:0}._pseudoCheckbox_1tuhb_1._checkboxDisabled_1tuhb_22{pointer-events:none;cursor:default;--tw-border-opacity: 1;border-color:rgb(228 228 228 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(249 249 249 / var(--tw-bg-opacity))}@keyframes _checkboxUncheckedChecked_1tuhb_1{0%,50%{stroke-dashoffset:23}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}to{stroke-dashoffset:0}}._multiSelectContainer_owbxn_1{position:relative}._multiSelectContainer_owbxn_1 ._quickOptionsWrap_owbxn_4{margin-right:-.75rem;display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem}._multiSelectContainer_owbxn_1 ._quickOptionsWrap_owbxn_4 li{position:relative;box-sizing:border-box;display:inline-flex;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));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:8px 14px;text-align:center;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(0 107 177 / var(--tw-text-opacity))}._multiSelectContainer_owbxn_1 ._quickOptionsWrap_owbxn_4 li:hover,._multiSelectContainer_owbxn_1 ._quickOptionsWrap_owbxn_4 li:focus-visible,._multiSelectContainer_owbxn_1 ._quickOptionsWrap_owbxn_4 li._selected_owbxn_10{outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._multiSelectContainer_owbxn_1 ._quickOptionsWrap_owbxn_4 li:hover,._multiSelectContainer_owbxn_1 ._quickOptionsWrap_owbxn_4 li:focus-visible{text-decoration-line:underline}._multiSelectContainer_owbxn_1 ._quickOptionsWrap_owbxn_4 li._disabled_owbxn_16{pointer-events:none!important;cursor:default!important;--tw-border-opacity: 1 !important;border-color:rgb(228 228 228 / var(--tw-border-opacity))!important;--tw-text-opacity: 1 !important;color:rgb(51 51 51 / var(--tw-text-opacity))!important;text-decoration-line:none!important;outline-width:0px!important}._singleSelectWrapper_j8hf5_1{position:relative}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4{display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_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));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));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))}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li:hover,._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li:focus-visible,._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li._selected_j8hf5_10{outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li:hover,._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li:focus-visible{text-decoration-line:underline}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li ._triangle_j8hf5_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));--tw-border-opacity: 1;border-top-color:rgb(0 107 177 / var(--tw-border-opacity))}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li ._triangle_j8hf5_16 ._loader_j8hf5_19{position:absolute;left:0;top:-10px;height:10px;width:10px}@keyframes _tw-spin_j8hf5_1{to{transform:rotate(360deg)}}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li ._triangle_j8hf5_16 ._loader_j8hf5_19{animation:_tw-spin_j8hf5_1 1s linear infinite;border-radius:50%;border-width:2px;border-style:solid;border-color:rgb(255 255 255 / var(--tw-border-opacity));--tw-border-opacity: 1;border-right-color:rgb(0 107 177 / var(--tw-border-opacity))}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li ._triangle_j8hf5_16 ._checkmarkWrap_j8hf5_22{position:absolute;left:-1px;top:-9px}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li ._triangle_j8hf5_16 ._checkmarkWrap_j8hf5_22 ._checkmark_j8hf5_22{display:block;animation:_fill_j8hf5_1 .4s ease-in-out .4s forwards,_scale_j8hf5_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_j8hf5_1 ._quickOption_j8hf5_4 li ._triangle_j8hf5_16 ._checkmarkWrap_j8hf5_22 ._checkmark_j8hf5_22 ._checkmarkCheck_j8hf5_29{transform-origin:50% 50%;animation:_stroke_j8hf5_1 .8s cubic-bezier(.5,0,.45,1) .2s forwards;stroke-dasharray:48;stroke-dashoffset:48}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li._disabled_j8hf5_34{pointer-events:none!important;cursor:default!important;--tw-border-opacity: 1 !important;border-color:rgb(228 228 228 / var(--tw-border-opacity))!important;--tw-text-opacity: 1 !important;color:rgb(51 51 51 / var(--tw-text-opacity))!important;text-decoration-line:none!important;outline-width:0px!important}@keyframes _scale_j8hf5_1{0%,to{transform:none}50%{transform:scale3d(1.1,1.1,1)}}@keyframes _fill_j8hf5_1{to{box-shadow:inset 0 0 0 30px transparent}}@keyframes _stroke_j8hf5_1{to{stroke-dashoffset:0}}._scrollbarContainer_er2uj_1{overflow-y:scroll;scrollbar-color:#ccc transparent;scrollbar-width:thin}._scrollbarContainer_er2uj_1::-webkit-scrollbar{width:12px;scrollbar-width:thin}._scrollbarContainer_er2uj_1::-webkit-scrollbar-track{display:none}._scrollbarContainer_er2uj_1::-webkit-scrollbar-thumb{background-color:#ccc!important;scrollbar-color:#ccc;border:3px #fff solid;border-radius:15px}._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));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));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));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: }::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-pointer-events-none{pointer-events:none}.tw-absolute{position:absolute}.tw-relative{position:relative}.tw-inset-y-0{top:0;bottom:0}.tw-left-\\[-9999px\\]{left:-9999px}.tw-right-0{right:0}.tw-mr-2{margin-right:.5rem}.tw-block{display:block}.tw-flex{display:flex}.tw-h-0{height:0px}.tw-h-10{height:2.5rem}.tw-h-20{height:5rem}.tw-h-5{height:1.25rem}.tw-h-full{height:100%}.tw-max-h-\\[200px\\]{max-height:200px}.tw-max-h-\\[210px\\]{max-height:210px}.tw-w-0{width:0px}.tw-w-5{width:1.25rem}.tw-w-full{width:100%}.tw-flex-shrink-0{flex-shrink:0}.tw-cursor-default{cursor:default}.tw-cursor-pointer{cursor:pointer}.tw-select-none{user-select:none}.tw-items-center{align-items:center}.tw-overflow-auto{overflow:auto}.tw-overflow-hidden{overflow:hidden}.tw-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tw-border-0{border-width:0px}.tw-border-x-0{border-left-width:0px;border-right-width:0px}.tw-border-b{border-bottom-width:1px}.tw-border-b-2{border-bottom-width:2px}.tw-border-b-\\[1px\\]{border-bottom-width:1px}.tw-border-t{border-top-width:1px}.tw-border-t-2{border-top-width:2px}.tw-border-solid{border-style:solid}.tw-border-b-\\[\\#006bb1\\]{--tw-border-opacity: 1;border-bottom-color:rgb(0 107 177 / var(--tw-border-opacity))}.tw-border-b-\\[\\#333333\\]{--tw-border-opacity: 1;border-bottom-color:rgb(51 51 51 / var(--tw-border-opacity))}.tw-border-t-transparent{border-top-color:transparent}.tw-bg-\\[\\#EEEEEE\\]{--tw-bg-opacity: 1;background-color:rgb(238 238 238 / var(--tw-bg-opacity))}.tw-bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.tw-py-1{padding-top:.25rem;padding-bottom:.25rem}.tw-py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.tw-py-2{padding-top:.5rem;padding-bottom:.5rem}.tw-pb-2{padding-bottom:.5rem}.tw-pb-\\[10px\\]{padding-bottom:10px}.tw-pl-4{padding-left:1rem}.tw-pl-\\[10px\\]{padding-left:10px}.tw-pr-10{padding-right:2.5rem}.tw-pr-2{padding-right:.5rem}.tw-pr-4{padding-right:1rem}.tw-pr-8{padding-right:2rem}.tw-pt-2{padding-top:.5rem}.tw-pt-\\[10px\\]{padding-top:10px}.tw-text-left{text-align:left}.tw-text-base{font-size:1rem;line-height:1.5rem}.tw-font-medium{font-weight:500}.tw-font-normal{font-weight:400}.tw-leading-5{line-height:1.25rem}.tw-text-\\[\\#333333\\]{--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}.tw-text-\\[\\#A7A7A7\\]{--tw-text-opacity: 1;color:rgb(167 167 167 / var(--tw-text-opacity))}.tw-placeholder-\\[\\#666666\\]::placeholder{--tw-placeholder-opacity: 1;color:rgb(102 102 102 / var(--tw-placeholder-opacity))}.tw-opacity-0{opacity:0}.tw-opacity-100{opacity:1}.tw-shadow-\\[0_1px_6px_0_rgba\\(0\\,0\\,0\\,0\\.5\\)\\]{--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)}.tw-shadow-none{--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)}.tw-transition{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:.15s}.tw-duration-100{transition-duration:.1s}.tw-ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.focus\\:tw-border-b-2:focus{border-bottom-width:2px}.focus\\:tw-border-t-2:focus{border-top-width:2px}.focus\\:tw-border-b-\\[\\#006bb1\\]:focus{--tw-border-opacity: 1;border-bottom-color:rgb(0 107 177 / var(--tw-border-opacity))}.focus\\:tw-py-\\[5px\\]:focus{padding-top:5px;padding-bottom:5px}.focus\\:tw-pb-\\[7px\\]:focus{padding-bottom:7px}.focus\\:tw-outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:tw-ring-0:focus{--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)}.focus\\:tw-ring-\\[0px\\]:focus{--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)}.focus-visible\\:tw-ring-1: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)}.focus-visible\\:tw-ring-\\[0px\\]: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)}.focus-visible\\:tw-ring-\\[\\#DFDFDF\\]:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(223 223 223 / var(--tw-ring-opacity)) }.focus-visible\\:tw-ring-offset-2:focus-visible{--tw-ring-offset-width: 2px }.focus-visible\\:tw-ring-offset-\\[\\#DFDFDF\\]:focus-visible{--tw-ring-offset-color: #DFDFDF }@media (min-width: 640px){.sm\\:tw-text-sm{font-size:.875rem;line-height:1.25rem}}.\\[\\&\\:\\:-webkit-scrollbar-thumb\\]\\:tw-rounded-md::-webkit-scrollbar-thumb{border-radius:.375rem}.\\[\\&\\:\\:-webkit-scrollbar-thumb\\]\\:tw-bg-\\[\\#a9a9a9\\]::-webkit-scrollbar-thumb{--tw-bg-opacity: 1;background-color:rgb(169 169 169 / var(--tw-bg-opacity))}.\\[\\&\\:\\:-webkit-scrollbar\\]\\:tw-w-\\[6px\\]::-webkit-scrollbar{width:6px}._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));font-weight:500;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity));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));--tw-bg-opacity: 1;background-color:rgb(200 200 200 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._secondary_1q2ge_12{--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));font-weight:400;--tw-text-opacity: 1;color:rgb(0 107 177 / var(--tw-text-opacity))}._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));--tw-text-opacity: 1;color:rgb(200 200 200 / var(--tw-text-opacity))}._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_1jaci_1{display:inline-flex;width:100%;align-items:center;white-space:nowrap;vertical-align:middle}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_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))}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_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))}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_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_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxInput_1jaci_13{position:absolute;bottom:0;left:0;height:0px;width:0px;appearance:none;border-width:0px;padding:0;opacity:0;outline-width:0px}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxInput_1jaci_13:checked+._checkboxFrame_1jaci_16{--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(0 107 177 / var(--tw-bg-opacity))}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxInput_1jaci_13:checked+._checkboxFrame_1jaci_16 ._checkboxCheckMark_1jaci_19{opacity:1}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxInput_1jaci_13:checked+._checkboxFrame_1jaci_16 ._checkboxCheckMark_1jaci_19 ._checkboxCheckMarkPath_1jaci_22{animation:.18s linear 0ms _checkboxUncheckedChecked_1jaci_1;stroke-dashoffset:0}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxInput_1jaci_13:disabled+._checkboxFrame_1jaci_16{--tw-border-opacity: 1;border-color:rgb(228 228 228 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(249 249 249 / var(--tw-bg-opacity))}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxFrame_1jaci_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));background-color:transparent}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxFrame_1jaci_16 ._checkboxCheckMark_1jaci_19{position:absolute;inset:0;width:100%}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxFrame_1jaci_16 ._checkboxCheckMark_1jaci_19 ._checkboxCheckMarkPath_1jaci_22{stroke-width:3px;stroke-dashoffset:23;stroke-dasharray:23}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10:focus-visible ._checkboxFrame_1jaci_16{outline-style:solid;outline-width:2px;outline-offset:-1px;outline-color:#006bb1}._checkboxLayout_1jaci_1 ._checkboxLabel_1jaci_4 ._visuallyHidden_1jaci_43{position:absolute;width:0px;height:0px;margin:0;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}._checkboxLayout_1jaci_1._checkboxDisabled_1jaci_53{pointer-events:none;cursor:default}._checkboxLayout_1jaci_1._checkboxDisabled_1jaci_53 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10 ._checkboxFrame_1jaci_16{--tw-border-opacity: 1;border-color:rgb(228 228 228 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(249 249 249 / var(--tw-bg-opacity))}._checkboxLayout_1jaci_1._medium_1jaci_59 ._checkboxLabel_1jaci_4>span{width:calc(100% - 24px);font-size:.875rem;line-height:1.25rem}._checkboxLayout_1jaci_1._medium_1jaci_59 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10{height:1rem;width:1rem}._checkboxLayout_1jaci_1._large_1jaci_65 ._checkboxLabel_1jaci_4>span{width:calc(100% - 28px);font-size:1rem;line-height:1.5rem}._checkboxLayout_1jaci_1._large_1jaci_65 ._checkboxLabel_1jaci_4 ._checkboxInnerContainer_1jaci_10{top:4px;height:1.25rem;width:1.25rem}@keyframes _checkboxUncheckedChecked_1jaci_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));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));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));padding-bottom:7px}._multiSelectContainer_1if8o_1,._multiSelectContainer_1if8o_1 ._listOptionsWrap_1if8o_4{position:relative;width:100%}._multiSelectContainer_1if8o_1 ._listOptionsWrap_1if8o_4 ._selectedValuesWrap_1if8o_7{position:relative;height:2.5rem;width:100%}._multiSelectContainer_1if8o_1 ._listOptionsWrap_1if8o_4 ._selectedValuesWrap_1if8o_7 ._selectedValues_1if8o_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));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))}._multiSelectContainer_1if8o_1 ._listOptionsWrap_1if8o_4 ._selectedValuesWrap_1if8o_7 ._selectedValues_1if8o_7::placeholder{--tw-placeholder-opacity: 1;color:rgb(102 102 102 / var(--tw-placeholder-opacity))}._multiSelectContainer_1if8o_1 ._listOptionsWrap_1if8o_4 ._selectedValuesWrap_1if8o_7 ._selectedValues_1if8o_7:focus-within{outline:2px solid transparent;outline-offset:2px}._multiSelectContainer_1if8o_1 ._listOptionsWrap_1if8o_4 ._selectedValuesWrap_1if8o_7 ._selectedValues_1if8o_7:focus{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));padding-bottom:7px}._multiSelectContainer_1if8o_1 ._listOptionsWrap_1if8o_4 ._selectedValuesWrap_1if8o_7 ._selectedValues_1if8o_7:focus-visible{outline:2px solid transparent;outline-offset:2px}._multiSelectContainer_1if8o_1 ._listOptionsWrap_1if8o_4 ._selectedValuesWrap_1if8o_7 ._selectedValues_1if8o_7._focused_1if8o_13{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));padding-bottom:7px;outline:2px solid transparent;outline-offset:2px}._multiSelectContainer_1if8o_1 ._listOptionsWrap_1if8o_4 ._selectedValuesWrap_1if8o_7 ._selectedValues_1if8o_7._placeholder_1if8o_16{--tw-text-opacity: 1;color:rgb(102 102 102 / var(--tw-text-opacity))}._multiSelectContainer_1if8o_1 ._listOptionsWrap_1if8o_4 ._selectedValuesWrap_1if8o_7 ._dropDownIcon_1if8o_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_1if8o_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));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_1if8o_23:focus{outline:2px solid transparent;outline-offset:2px}._optionsListContainer_1if8o_23._top_1if8o_26{transform:translateY(calc(-100% - 40px))}._optionsListContainer_1if8o_23 ._optionsListWrap_1if8o_29{max-height:225px;overflow:auto;padding-top:1rem;padding-bottom:1rem}._optionsListContainer_1if8o_23 ._optionsListWrap_1if8o_29 ._searchInputWrap_1if8o_32{margin-bottom:.5rem;height:2.5rem;padding-left:10px;padding-right:10px}._optionsListContainer_1if8o_23 ._optionsListWrap_1if8o_29 ._searchInputWrap_1if8o_32 ._searchInput_1if8o_32{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_1if8o_23 ._optionsListWrap_1if8o_29 ul{margin:0;padding:0}._optionsListContainer_1if8o_23 ._optionsListWrap_1if8o_29 ._optionsList_1if8o_23{box-sizing:border-box;display:flex;height:38px;list-style-type:none;align-items:center;gap:.5rem;padding-left:10px;padding-right:10px;padding-top:.5rem;padding-bottom:.5rem}._optionsListContainer_1if8o_23 ._optionsListWrap_1if8o_29 ._optionsList_1if8o_23 span{display:block;width:calc(100% - 22px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;line-height:1.25rem;line-height:22px}._optionsListContainer_1if8o_23 ._optionsListWrap_1if8o_29 ._optionsList_1if8o_23:hover,._optionsListContainer_1if8o_23 ._optionsListWrap_1if8o_29 ._optionsList_1if8o_23._focused_1if8o_13{--tw-bg-opacity: 1;background-color:rgb(238 238 238 / var(--tw-bg-opacity))}._optionsListContainer_1if8o_23 ._btnContainer_1if8o_53{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));padding-left:18px;padding-right:18px}._optionsListContainer_1if8o_23 ::-webkit-scrollbar{width:6px}._optionsListContainer_1if8o_23 ::-webkit-scrollbar-thumb{background-color:#a9a9a9;border-radius:6px}._pseudoCheckbox_1tuhb_1{position:relative;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))}._pseudoCheckbox_1tuhb_1 ._checkboxCheckMark_1tuhb_4{position:absolute;inset:0;width:100%}._pseudoCheckbox_1tuhb_1 ._checkboxCheckMark_1tuhb_4 ._checkboxCheckMarkPath_1tuhb_7{stroke-width:3px;stroke-dashoffset:23;stroke-dasharray:23}._pseudoCheckbox_1tuhb_1._checked_1tuhb_12{--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(0 107 177 / var(--tw-bg-opacity))}._pseudoCheckbox_1tuhb_1._checked_1tuhb_12 ._checkboxCheckMark_1tuhb_4{opacity:1}._pseudoCheckbox_1tuhb_1._checked_1tuhb_12 ._checkboxCheckMark_1tuhb_4 ._checkboxCheckMarkPath_1tuhb_7{animation:.18s linear 0ms _checkboxUncheckedChecked_1tuhb_1;stroke-dashoffset:0}._pseudoCheckbox_1tuhb_1._checkboxDisabled_1tuhb_22{pointer-events:none;cursor:default;--tw-border-opacity: 1;border-color:rgb(228 228 228 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(249 249 249 / var(--tw-bg-opacity))}@keyframes _checkboxUncheckedChecked_1tuhb_1{0%,50%{stroke-dashoffset:23}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}to{stroke-dashoffset:0}}._multiSelectContainer_owbxn_1{position:relative}._multiSelectContainer_owbxn_1 ._quickOptionsWrap_owbxn_4{margin-right:-.75rem;display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem}._multiSelectContainer_owbxn_1 ._quickOptionsWrap_owbxn_4 li{position:relative;box-sizing:border-box;display:inline-flex;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));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:8px 14px;text-align:center;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(0 107 177 / var(--tw-text-opacity))}._multiSelectContainer_owbxn_1 ._quickOptionsWrap_owbxn_4 li:hover,._multiSelectContainer_owbxn_1 ._quickOptionsWrap_owbxn_4 li:focus-visible,._multiSelectContainer_owbxn_1 ._quickOptionsWrap_owbxn_4 li._selected_owbxn_10{outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._multiSelectContainer_owbxn_1 ._quickOptionsWrap_owbxn_4 li:hover,._multiSelectContainer_owbxn_1 ._quickOptionsWrap_owbxn_4 li:focus-visible{text-decoration-line:underline}._multiSelectContainer_owbxn_1 ._quickOptionsWrap_owbxn_4 li._disabled_owbxn_16{pointer-events:none!important;cursor:default!important;--tw-border-opacity: 1 !important;border-color:rgb(228 228 228 / var(--tw-border-opacity))!important;--tw-text-opacity: 1 !important;color:rgb(51 51 51 / var(--tw-text-opacity))!important;text-decoration-line:none!important;outline-width:0px!important}._singleSelectWrapper_j8hf5_1{position:relative}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4{display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_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));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));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))}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li:hover,._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li:focus-visible,._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li._selected_j8hf5_10{outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li:hover,._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li:focus-visible{text-decoration-line:underline}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li ._triangle_j8hf5_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));--tw-border-opacity: 1;border-top-color:rgb(0 107 177 / var(--tw-border-opacity))}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li ._triangle_j8hf5_16 ._loader_j8hf5_19{position:absolute;left:0;top:-10px;height:10px;width:10px}@keyframes _tw-spin_j8hf5_1{to{transform:rotate(360deg)}}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li ._triangle_j8hf5_16 ._loader_j8hf5_19{animation:_tw-spin_j8hf5_1 1s linear infinite;border-radius:50%;border-width:2px;border-style:solid;border-color:rgb(255 255 255 / var(--tw-border-opacity));--tw-border-opacity: 1;border-right-color:rgb(0 107 177 / var(--tw-border-opacity))}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li ._triangle_j8hf5_16 ._checkmarkWrap_j8hf5_22{position:absolute;left:-1px;top:-9px}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li ._triangle_j8hf5_16 ._checkmarkWrap_j8hf5_22 ._checkmark_j8hf5_22{display:block;animation:_fill_j8hf5_1 .4s ease-in-out .4s forwards,_scale_j8hf5_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_j8hf5_1 ._quickOption_j8hf5_4 li ._triangle_j8hf5_16 ._checkmarkWrap_j8hf5_22 ._checkmark_j8hf5_22 ._checkmarkCheck_j8hf5_29{transform-origin:50% 50%;animation:_stroke_j8hf5_1 .8s cubic-bezier(.5,0,.45,1) .2s forwards;stroke-dasharray:48;stroke-dashoffset:48}._singleSelectWrapper_j8hf5_1 ._quickOption_j8hf5_4 li._disabled_j8hf5_34{pointer-events:none!important;cursor:default!important;--tw-border-opacity: 1 !important;border-color:rgb(228 228 228 / var(--tw-border-opacity))!important;--tw-text-opacity: 1 !important;color:rgb(51 51 51 / var(--tw-text-opacity))!important;text-decoration-line:none!important;outline-width:0px!important}@keyframes _scale_j8hf5_1{0%,to{transform:none}50%{transform:scale3d(1.1,1.1,1)}}@keyframes _fill_j8hf5_1{to{box-shadow:inset 0 0 0 30px transparent}}@keyframes _stroke_j8hf5_1{to{stroke-dashoffset:0}}._scrollbarContainer_er2uj_1{overflow-y:scroll;scrollbar-color:#ccc transparent;scrollbar-width:thin}._scrollbarContainer_er2uj_1::-webkit-scrollbar{width:12px;scrollbar-width:thin}._scrollbarContainer_er2uj_1::-webkit-scrollbar-track{display:none}._scrollbarContainer_er2uj_1::-webkit-scrollbar-thumb{background-color:#ccc!important;scrollbar-color:#ccc;border:3px #fff solid;border-radius:15px}._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));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));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));padding-bottom:7px}")),document.head.appendChild(t)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
2
2
|
import * as tt from "react";
|
|
3
|
-
import ce, { forwardRef as ct, useState as oe, useEffect as ae, useRef as j, useLayoutEffect as ji, Fragment as rt, isValidElement as Li, cloneElement as Fi, createElement as Ai, createContext as vt, useContext as ut, useMemo as ke, useReducer as en, createRef as tn, useCallback as
|
|
3
|
+
import ce, { forwardRef as ct, useState as oe, useEffect as ae, useRef as j, useLayoutEffect as ji, Fragment as rt, isValidElement as Li, cloneElement as Fi, createElement as Ai, createContext as vt, useContext as ut, useMemo as ke, useReducer as en, createRef as tn, useCallback as wt } from "react";
|
|
4
4
|
import { createPortal as mr } from "react-dom";
|
|
5
5
|
var Ni = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, ur = { exports: {} }, Et = {};
|
|
6
6
|
/**
|
|
@@ -47,25 +47,25 @@ function Mi() {
|
|
|
47
47
|
function p(l) {
|
|
48
48
|
if (l === null || typeof l != "object")
|
|
49
49
|
return null;
|
|
50
|
-
var
|
|
51
|
-
return typeof
|
|
50
|
+
var w = a && l[a] || l[u];
|
|
51
|
+
return typeof w == "function" ? w : null;
|
|
52
52
|
}
|
|
53
|
-
var
|
|
53
|
+
var g = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
54
54
|
function S(l) {
|
|
55
55
|
{
|
|
56
|
-
for (var
|
|
56
|
+
for (var w = arguments.length, T = new Array(w > 1 ? w - 1 : 0), D = 1; D < w; D++)
|
|
57
57
|
T[D - 1] = arguments[D];
|
|
58
58
|
x("error", l, T);
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
function x(l,
|
|
61
|
+
function x(l, w, T) {
|
|
62
62
|
{
|
|
63
|
-
var D =
|
|
64
|
-
X !== "" && (
|
|
63
|
+
var D = g.ReactDebugCurrentFrame, X = D.getStackAddendum();
|
|
64
|
+
X !== "" && (w += "%s", T = T.concat([X]));
|
|
65
65
|
var se = T.map(function(K) {
|
|
66
66
|
return String(K);
|
|
67
67
|
});
|
|
68
|
-
se.unshift("Warning: " +
|
|
68
|
+
se.unshift("Warning: " + w), Function.prototype.apply.call(console[l], console, se);
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
var y = !1, F = !1, P = !1, q = !1, $ = !1, C;
|
|
@@ -77,11 +77,11 @@ function Mi() {
|
|
|
77
77
|
// with.
|
|
78
78
|
l.$$typeof === C || l.getModuleId !== void 0));
|
|
79
79
|
}
|
|
80
|
-
function de(l,
|
|
80
|
+
function de(l, w, T) {
|
|
81
81
|
var D = l.displayName;
|
|
82
82
|
if (D)
|
|
83
83
|
return D;
|
|
84
|
-
var X =
|
|
84
|
+
var X = w.displayName || w.name || "";
|
|
85
85
|
return X !== "" ? T + "(" + X + ")" : T;
|
|
86
86
|
}
|
|
87
87
|
function Z(l) {
|
|
@@ -111,8 +111,8 @@ function Mi() {
|
|
|
111
111
|
if (typeof l == "object")
|
|
112
112
|
switch (l.$$typeof) {
|
|
113
113
|
case f:
|
|
114
|
-
var
|
|
115
|
-
return Z(
|
|
114
|
+
var w = l;
|
|
115
|
+
return Z(w) + ".Consumer";
|
|
116
116
|
case o:
|
|
117
117
|
var T = l;
|
|
118
118
|
return Z(T._context) + ".Provider";
|
|
@@ -194,8 +194,8 @@ function Mi() {
|
|
|
194
194
|
re < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
|
-
var V =
|
|
198
|
-
function Ce(l,
|
|
197
|
+
var V = g.ReactCurrentDispatcher, xe;
|
|
198
|
+
function Ce(l, w, T) {
|
|
199
199
|
{
|
|
200
200
|
if (xe === void 0)
|
|
201
201
|
try {
|
|
@@ -213,7 +213,7 @@ function Mi() {
|
|
|
213
213
|
var E = typeof WeakMap == "function" ? WeakMap : Map;
|
|
214
214
|
Xe = new E();
|
|
215
215
|
}
|
|
216
|
-
function W(l,
|
|
216
|
+
function W(l, w) {
|
|
217
217
|
if (!l || ot)
|
|
218
218
|
return "";
|
|
219
219
|
{
|
|
@@ -228,7 +228,7 @@ function Mi() {
|
|
|
228
228
|
var se;
|
|
229
229
|
se = V.current, V.current = null, _();
|
|
230
230
|
try {
|
|
231
|
-
if (
|
|
231
|
+
if (w) {
|
|
232
232
|
var K = function() {
|
|
233
233
|
throw Error();
|
|
234
234
|
};
|
|
@@ -263,35 +263,35 @@ function Mi() {
|
|
|
263
263
|
if (et && D && typeof et.stack == "string") {
|
|
264
264
|
for (var H = et.stack.split(`
|
|
265
265
|
`), Ie = D.stack.split(`
|
|
266
|
-
`),
|
|
266
|
+
`), ge = H.length - 1, Oe = Ie.length - 1; ge >= 1 && Oe >= 0 && H[ge] !== Ie[Oe]; )
|
|
267
267
|
Oe--;
|
|
268
|
-
for (;
|
|
269
|
-
if (H[
|
|
270
|
-
if (
|
|
268
|
+
for (; ge >= 1 && Oe >= 0; ge--, Oe--)
|
|
269
|
+
if (H[ge] !== Ie[Oe]) {
|
|
270
|
+
if (ge !== 1 || Oe !== 1)
|
|
271
271
|
do
|
|
272
|
-
if (
|
|
272
|
+
if (ge--, Oe--, Oe < 0 || H[ge] !== Ie[Oe]) {
|
|
273
273
|
var Be = `
|
|
274
|
-
` + H[
|
|
274
|
+
` + H[ge].replace(" at new ", " at ");
|
|
275
275
|
return l.displayName && Be.includes("<anonymous>") && (Be = Be.replace("<anonymous>", l.displayName)), typeof l == "function" && Xe.set(l, Be), Be;
|
|
276
276
|
}
|
|
277
|
-
while (
|
|
277
|
+
while (ge >= 1 && Oe >= 0);
|
|
278
278
|
break;
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
281
|
} finally {
|
|
282
282
|
ot = !1, V.current = se, I(), Error.prepareStackTrace = X;
|
|
283
283
|
}
|
|
284
|
-
var
|
|
284
|
+
var gt = l ? l.displayName || l.name : "", Dr = gt ? Ce(gt) : "";
|
|
285
285
|
return typeof l == "function" && Xe.set(l, Dr), Dr;
|
|
286
286
|
}
|
|
287
|
-
function ye(l,
|
|
287
|
+
function ye(l, w, T) {
|
|
288
288
|
return W(l, !1);
|
|
289
289
|
}
|
|
290
290
|
function he(l) {
|
|
291
|
-
var
|
|
292
|
-
return !!(
|
|
291
|
+
var w = l.prototype;
|
|
292
|
+
return !!(w && w.isReactComponent);
|
|
293
293
|
}
|
|
294
|
-
function De(l,
|
|
294
|
+
function De(l, w, T) {
|
|
295
295
|
if (l == null)
|
|
296
296
|
return "";
|
|
297
297
|
if (typeof l == "function")
|
|
@@ -309,28 +309,28 @@ function Mi() {
|
|
|
309
309
|
case b:
|
|
310
310
|
return ye(l.render);
|
|
311
311
|
case h:
|
|
312
|
-
return De(l.type,
|
|
312
|
+
return De(l.type, w, T);
|
|
313
313
|
case s: {
|
|
314
314
|
var D = l, X = D._payload, se = D._init;
|
|
315
315
|
try {
|
|
316
|
-
return De(se(X),
|
|
316
|
+
return De(se(X), w, T);
|
|
317
317
|
} catch {
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
return "";
|
|
322
322
|
}
|
|
323
|
-
var
|
|
323
|
+
var Fe = Object.prototype.hasOwnProperty, We = {}, Re = g.ReactDebugCurrentFrame;
|
|
324
324
|
function Ze(l) {
|
|
325
325
|
if (l) {
|
|
326
|
-
var
|
|
326
|
+
var w = l._owner, T = De(l.type, l._source, w ? w.type : null);
|
|
327
327
|
Re.setExtraStackFrame(T);
|
|
328
328
|
} else
|
|
329
329
|
Re.setExtraStackFrame(null);
|
|
330
330
|
}
|
|
331
|
-
function Nt(l,
|
|
331
|
+
function Nt(l, w, T, D, X) {
|
|
332
332
|
{
|
|
333
|
-
var se = Function.call.bind(
|
|
333
|
+
var se = Function.call.bind(Fe);
|
|
334
334
|
for (var K in l)
|
|
335
335
|
if (se(l, K)) {
|
|
336
336
|
var H = void 0;
|
|
@@ -339,9 +339,9 @@ function Mi() {
|
|
|
339
339
|
var Ie = Error((D || "React class") + ": " + T + " type `" + K + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof l[K] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
340
340
|
throw Ie.name = "Invariant Violation", Ie;
|
|
341
341
|
}
|
|
342
|
-
H = l[K](
|
|
343
|
-
} catch (
|
|
344
|
-
H =
|
|
342
|
+
H = l[K](w, K, D, T, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
343
|
+
} catch (ge) {
|
|
344
|
+
H = ge;
|
|
345
345
|
}
|
|
346
346
|
H && !(H instanceof Error) && (Ze(X), S("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", D || "React class", T, K, typeof H), Ze(null)), H instanceof Error && !(H.message in We) && (We[H.message] = !0, Ze(X), S("Failed %s type: %s", T, H.message), Ze(null));
|
|
347
347
|
}
|
|
@@ -353,7 +353,7 @@ function Mi() {
|
|
|
353
353
|
}
|
|
354
354
|
function at(l) {
|
|
355
355
|
{
|
|
356
|
-
var
|
|
356
|
+
var w = typeof Symbol == "function" && Symbol.toStringTag, T = w && l[Symbol.toStringTag] || l.constructor.name || "Object";
|
|
357
357
|
return T;
|
|
358
358
|
}
|
|
359
359
|
}
|
|
@@ -371,7 +371,7 @@ function Mi() {
|
|
|
371
371
|
if (mt(l))
|
|
372
372
|
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", at(l)), U(l);
|
|
373
373
|
}
|
|
374
|
-
var A =
|
|
374
|
+
var A = g.ReactCurrentOwner, ie = {
|
|
375
375
|
key: !0,
|
|
376
376
|
ref: !0,
|
|
377
377
|
__self: !0,
|
|
@@ -379,31 +379,31 @@ function Mi() {
|
|
|
379
379
|
}, qe, Me, Y;
|
|
380
380
|
Y = {};
|
|
381
381
|
function N(l) {
|
|
382
|
-
if (
|
|
383
|
-
var
|
|
384
|
-
if (
|
|
382
|
+
if (Fe.call(l, "ref")) {
|
|
383
|
+
var w = Object.getOwnPropertyDescriptor(l, "ref").get;
|
|
384
|
+
if (w && w.isReactWarning)
|
|
385
385
|
return !1;
|
|
386
386
|
}
|
|
387
387
|
return l.ref !== void 0;
|
|
388
388
|
}
|
|
389
389
|
function Ve(l) {
|
|
390
|
-
if (
|
|
391
|
-
var
|
|
392
|
-
if (
|
|
390
|
+
if (Fe.call(l, "key")) {
|
|
391
|
+
var w = Object.getOwnPropertyDescriptor(l, "key").get;
|
|
392
|
+
if (w && w.isReactWarning)
|
|
393
393
|
return !1;
|
|
394
394
|
}
|
|
395
395
|
return l.key !== void 0;
|
|
396
396
|
}
|
|
397
|
-
function St(l,
|
|
398
|
-
if (typeof l.ref == "string" && A.current &&
|
|
397
|
+
function St(l, w) {
|
|
398
|
+
if (typeof l.ref == "string" && A.current && w && A.current.stateNode !== w) {
|
|
399
399
|
var T = k(A.current.type);
|
|
400
400
|
Y[T] || (S('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', k(A.current.type), l.ref), Y[T] = !0);
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
|
-
function Mt(l,
|
|
403
|
+
function Mt(l, w) {
|
|
404
404
|
{
|
|
405
405
|
var T = function() {
|
|
406
|
-
qe || (qe = !0, S("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",
|
|
406
|
+
qe || (qe = !0, S("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", w));
|
|
407
407
|
};
|
|
408
408
|
T.isReactWarning = !0, Object.defineProperty(l, "key", {
|
|
409
409
|
get: T,
|
|
@@ -411,10 +411,10 @@ function Mi() {
|
|
|
411
411
|
});
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
|
-
function yi(l,
|
|
414
|
+
function yi(l, w) {
|
|
415
415
|
{
|
|
416
416
|
var T = function() {
|
|
417
|
-
Me || (Me = !0, S("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",
|
|
417
|
+
Me || (Me = !0, S("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", w));
|
|
418
418
|
};
|
|
419
419
|
T.isReactWarning = !0, Object.defineProperty(l, "ref", {
|
|
420
420
|
get: T,
|
|
@@ -422,13 +422,13 @@ function Mi() {
|
|
|
422
422
|
});
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
|
-
var Oi = function(l,
|
|
425
|
+
var Oi = function(l, w, T, D, X, se, K) {
|
|
426
426
|
var H = {
|
|
427
427
|
// This tag allows us to uniquely identify this as a React Element
|
|
428
428
|
$$typeof: t,
|
|
429
429
|
// Built-in properties that belong on the element
|
|
430
430
|
type: l,
|
|
431
|
-
key:
|
|
431
|
+
key: w,
|
|
432
432
|
ref: T,
|
|
433
433
|
props: K,
|
|
434
434
|
// Record the component responsible for creating this element.
|
|
@@ -451,16 +451,16 @@ function Mi() {
|
|
|
451
451
|
value: X
|
|
452
452
|
}), Object.freeze && (Object.freeze(H.props), Object.freeze(H)), H;
|
|
453
453
|
};
|
|
454
|
-
function ki(l,
|
|
454
|
+
function ki(l, w, T, D, X) {
|
|
455
455
|
{
|
|
456
456
|
var se, K = {}, H = null, Ie = null;
|
|
457
|
-
T !== void 0 && (J(T), H = "" + T), Ve(
|
|
458
|
-
for (se in
|
|
459
|
-
|
|
457
|
+
T !== void 0 && (J(T), H = "" + T), Ve(w) && (J(w.key), H = "" + w.key), N(w) && (Ie = w.ref, St(w, X));
|
|
458
|
+
for (se in w)
|
|
459
|
+
Fe.call(w, se) && !ie.hasOwnProperty(se) && (K[se] = w[se]);
|
|
460
460
|
if (l && l.defaultProps) {
|
|
461
|
-
var
|
|
462
|
-
for (se in
|
|
463
|
-
K[se] === void 0 && (K[se] =
|
|
461
|
+
var ge = l.defaultProps;
|
|
462
|
+
for (se in ge)
|
|
463
|
+
K[se] === void 0 && (K[se] = ge[se]);
|
|
464
464
|
}
|
|
465
465
|
if (H || Ie) {
|
|
466
466
|
var Oe = typeof l == "function" ? l.displayName || l.name || "Unknown" : l;
|
|
@@ -469,10 +469,10 @@ function Mi() {
|
|
|
469
469
|
return Oi(l, H, Ie, X, D, A.current, K);
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
|
-
var tr =
|
|
472
|
+
var tr = g.ReactCurrentOwner, Ir = g.ReactDebugCurrentFrame;
|
|
473
473
|
function ht(l) {
|
|
474
474
|
if (l) {
|
|
475
|
-
var
|
|
475
|
+
var w = l._owner, T = De(l.type, l._source, w ? w.type : null);
|
|
476
476
|
Ir.setExtraStackFrame(T);
|
|
477
477
|
} else
|
|
478
478
|
Ir.setExtraStackFrame(null);
|
|
@@ -497,10 +497,10 @@ Check the render method of \`` + l + "`.";
|
|
|
497
497
|
function Si(l) {
|
|
498
498
|
{
|
|
499
499
|
if (l !== void 0) {
|
|
500
|
-
var
|
|
500
|
+
var w = l.fileName.replace(/^.*[\\\/]/, ""), T = l.lineNumber;
|
|
501
501
|
return `
|
|
502
502
|
|
|
503
|
-
Check your code at ` +
|
|
503
|
+
Check your code at ` + w + ":" + T + ".";
|
|
504
504
|
}
|
|
505
505
|
return "";
|
|
506
506
|
}
|
|
@@ -508,22 +508,22 @@ Check your code at ` + g + ":" + T + ".";
|
|
|
508
508
|
var Lr = {};
|
|
509
509
|
function Ei(l) {
|
|
510
510
|
{
|
|
511
|
-
var
|
|
512
|
-
if (!
|
|
511
|
+
var w = jr();
|
|
512
|
+
if (!w) {
|
|
513
513
|
var T = typeof l == "string" ? l : l.displayName || l.name;
|
|
514
|
-
T && (
|
|
514
|
+
T && (w = `
|
|
515
515
|
|
|
516
516
|
Check the top-level render call using <` + T + ">.");
|
|
517
517
|
}
|
|
518
|
-
return
|
|
518
|
+
return w;
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
|
-
function Fr(l,
|
|
521
|
+
function Fr(l, w) {
|
|
522
522
|
{
|
|
523
523
|
if (!l._store || l._store.validated || l.key != null)
|
|
524
524
|
return;
|
|
525
525
|
l._store.validated = !0;
|
|
526
|
-
var T = Ei(
|
|
526
|
+
var T = Ei(w);
|
|
527
527
|
if (Lr[T])
|
|
528
528
|
return;
|
|
529
529
|
Lr[T] = !0;
|
|
@@ -531,14 +531,14 @@ Check the top-level render call using <` + T + ">.");
|
|
|
531
531
|
l && l._owner && l._owner !== tr.current && (D = " It was passed a child from " + k(l._owner.type) + "."), ht(l), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', T, D), ht(null);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
|
-
function Ar(l,
|
|
534
|
+
function Ar(l, w) {
|
|
535
535
|
{
|
|
536
536
|
if (typeof l != "object")
|
|
537
537
|
return;
|
|
538
538
|
if (Pe(l))
|
|
539
539
|
for (var T = 0; T < l.length; T++) {
|
|
540
540
|
var D = l[T];
|
|
541
|
-
nr(D) && Fr(D,
|
|
541
|
+
nr(D) && Fr(D, w);
|
|
542
542
|
}
|
|
543
543
|
else if (nr(l))
|
|
544
544
|
l._store && (l._store.validated = !0);
|
|
@@ -546,39 +546,39 @@ Check the top-level render call using <` + T + ">.");
|
|
|
546
546
|
var X = p(l);
|
|
547
547
|
if (typeof X == "function" && X !== l.entries)
|
|
548
548
|
for (var se = X.call(l), K; !(K = se.next()).done; )
|
|
549
|
-
nr(K.value) && Fr(K.value,
|
|
549
|
+
nr(K.value) && Fr(K.value, w);
|
|
550
550
|
}
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
553
|
function Ti(l) {
|
|
554
554
|
{
|
|
555
|
-
var
|
|
556
|
-
if (
|
|
555
|
+
var w = l.type;
|
|
556
|
+
if (w == null || typeof w == "string")
|
|
557
557
|
return;
|
|
558
558
|
var T;
|
|
559
|
-
if (typeof
|
|
560
|
-
T =
|
|
561
|
-
else if (typeof
|
|
559
|
+
if (typeof w == "function")
|
|
560
|
+
T = w.propTypes;
|
|
561
|
+
else if (typeof w == "object" && (w.$$typeof === b || // Note: Memo only checks outer props here.
|
|
562
562
|
// Inner props are checked in the reconciler.
|
|
563
|
-
|
|
564
|
-
T =
|
|
563
|
+
w.$$typeof === h))
|
|
564
|
+
T = w.propTypes;
|
|
565
565
|
else
|
|
566
566
|
return;
|
|
567
567
|
if (T) {
|
|
568
|
-
var D = k(
|
|
568
|
+
var D = k(w);
|
|
569
569
|
Nt(T, l.props, "prop", D, l);
|
|
570
|
-
} else if (
|
|
570
|
+
} else if (w.PropTypes !== void 0 && !rr) {
|
|
571
571
|
rr = !0;
|
|
572
|
-
var X = k(
|
|
572
|
+
var X = k(w);
|
|
573
573
|
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", X || "Unknown");
|
|
574
574
|
}
|
|
575
|
-
typeof
|
|
575
|
+
typeof w.getDefaultProps == "function" && !w.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
576
576
|
}
|
|
577
577
|
}
|
|
578
578
|
function _i(l) {
|
|
579
579
|
{
|
|
580
|
-
for (var
|
|
581
|
-
var D =
|
|
580
|
+
for (var w = Object.keys(l.props), T = 0; T < w.length; T++) {
|
|
581
|
+
var D = w[T];
|
|
582
582
|
if (D !== "children" && D !== "key") {
|
|
583
583
|
ht(l), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", D), ht(null);
|
|
584
584
|
break;
|
|
@@ -587,7 +587,7 @@ Check the top-level render call using <` + T + ">.");
|
|
|
587
587
|
l.ref !== null && (ht(l), S("Invalid attribute `ref` supplied to `React.Fragment`."), ht(null));
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
|
-
function Nr(l,
|
|
590
|
+
function Nr(l, w, T, D, X, se) {
|
|
591
591
|
{
|
|
592
592
|
var K = z(l);
|
|
593
593
|
if (!K) {
|
|
@@ -595,19 +595,19 @@ Check the top-level render call using <` + T + ">.");
|
|
|
595
595
|
(l === void 0 || typeof l == "object" && l !== null && Object.keys(l).length === 0) && (H += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
596
596
|
var Ie = Si(X);
|
|
597
597
|
Ie ? H += Ie : H += jr();
|
|
598
|
-
var
|
|
599
|
-
l === null ?
|
|
598
|
+
var ge;
|
|
599
|
+
l === null ? ge = "null" : Pe(l) ? ge = "array" : l !== void 0 && l.$$typeof === t ? (ge = "<" + (k(l.type) || "Unknown") + " />", H = " Did you accidentally export a JSX literal instead of a component?") : ge = typeof l, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ge, H);
|
|
600
600
|
}
|
|
601
|
-
var Oe = ki(l,
|
|
601
|
+
var Oe = ki(l, w, T, X, se);
|
|
602
602
|
if (Oe == null)
|
|
603
603
|
return Oe;
|
|
604
604
|
if (K) {
|
|
605
|
-
var Be =
|
|
605
|
+
var Be = w.children;
|
|
606
606
|
if (Be !== void 0)
|
|
607
607
|
if (D)
|
|
608
608
|
if (Pe(Be)) {
|
|
609
|
-
for (var
|
|
610
|
-
Ar(Be[
|
|
609
|
+
for (var gt = 0; gt < Be.length; gt++)
|
|
610
|
+
Ar(Be[gt], l);
|
|
611
611
|
Object.freeze && Object.freeze(Be);
|
|
612
612
|
} else
|
|
613
613
|
S("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
@@ -617,11 +617,11 @@ Check the top-level render call using <` + T + ">.");
|
|
|
617
617
|
return l === n ? _i(Oe) : Ti(Oe), Oe;
|
|
618
618
|
}
|
|
619
619
|
}
|
|
620
|
-
function Ci(l,
|
|
621
|
-
return Nr(l,
|
|
620
|
+
function Ci(l, w, T) {
|
|
621
|
+
return Nr(l, w, T, !0);
|
|
622
622
|
}
|
|
623
|
-
function Ri(l,
|
|
624
|
-
return Nr(l,
|
|
623
|
+
function Ri(l, w, T) {
|
|
624
|
+
return Nr(l, w, T, !1);
|
|
625
625
|
}
|
|
626
626
|
var Pi = Ri, Ii = Ci;
|
|
627
627
|
Tt.Fragment = n, Tt.jsx = Pi, Tt.jsxs = Ii;
|
|
@@ -745,7 +745,7 @@ const Yi = "_checkboxLayout_1jaci_1", Ki = "_checkboxLabel_1jaci_4", Gi = "_chec
|
|
|
745
745
|
});
|
|
746
746
|
}
|
|
747
747
|
}
|
|
748
|
-
const
|
|
748
|
+
const g = c ? Ye.checkboxDisabled : "", S = [Ye.checkboxLayout, Ye[r], g, o].filter(Boolean).join(" "), x = (y) => {
|
|
749
749
|
y.key != "Enter" && (y.preventDefault(), f?.(y.target.checked), d(!s));
|
|
750
750
|
};
|
|
751
751
|
return /* @__PURE__ */ O.jsx(O.Fragment, { children: /* @__PURE__ */ O.jsx("div", { className: S, "data-testid": "checkbox", children: /* @__PURE__ */ O.jsxs("label", { className: Ye.checkboxLabel, htmlFor: n, onClick: (y) => x(y), children: [
|
|
@@ -815,7 +815,7 @@ const ao = "_textInputWrapper_1i9m6_1", so = "_textInput_1i9m6_1", Wr = {
|
|
|
815
815
|
var R = {}, dr = { exports: {} };
|
|
816
816
|
(function(e, t) {
|
|
817
817
|
(function(r, n) {
|
|
818
|
-
var i = "1.0.37", c = "", o = "?", f = "function", b = "undefined", v = "object", m = "string", h = "major", s = "model", d = "name", a = "type", u = "vendor", p = "version",
|
|
818
|
+
var i = "1.0.37", c = "", o = "?", f = "function", b = "undefined", v = "object", m = "string", h = "major", s = "model", d = "name", a = "type", u = "vendor", p = "version", g = "architecture", S = "console", x = "mobile", y = "tablet", F = "smarttv", P = "wearable", q = "embedded", $ = 500, C = "Amazon", z = "Apple", de = "ASUS", Z = "BlackBerry", k = "Browser", G = "Chrome", re = "Edge", pe = "Firefox", B = "Google", fe = "Huawei", ne = "LG", Q = "Microsoft", me = "Motorola", ve = "Opera", le = "Samsung", _ = "Sharp", I = "Sony", V = "Xiaomi", xe = "Zebra", Ce = "Facebook", ot = "Chromium OS", Xe = "Mac OS", E = function(U, J) {
|
|
819
819
|
var A = {};
|
|
820
820
|
for (var ie in U)
|
|
821
821
|
J[ie] && J[ie].length % 2 === 0 ? A[ie] = J[ie].concat(U[ie]) : A[ie] = U[ie];
|
|
@@ -830,7 +830,7 @@ var R = {}, dr = { exports: {} };
|
|
|
830
830
|
return U.toLowerCase();
|
|
831
831
|
}, De = function(U) {
|
|
832
832
|
return typeof U === m ? U.replace(/[^\d\.]/g, c).split(".")[0] : n;
|
|
833
|
-
},
|
|
833
|
+
}, Fe = function(U, J) {
|
|
834
834
|
if (typeof U === m)
|
|
835
835
|
return U = U.replace(/^\s\s*/, c), typeof J === b ? U : U.substring(0, $);
|
|
836
836
|
}, We = function(U, J) {
|
|
@@ -851,7 +851,7 @@ var R = {}, dr = { exports: {} };
|
|
|
851
851
|
} else if (ye(J[A], U))
|
|
852
852
|
return A === o ? n : A;
|
|
853
853
|
return U;
|
|
854
|
-
}, Ze = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, Nt = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, Dt = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [p, [d, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [p, [d, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [d, p], [/opios[\/ ]+([\w\.]+)/i], [p, [d, ve + " Mini"]], [/\bopr\/([\w\.]+)/i], [p, [d, ve]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [p, [d, "Baidu"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i, /(heytap|ovi)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [d, p], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [p, [d, "UC" + k]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [p, [d, "WeChat"]], [/konqueror\/([\w\.]+)/i], [p, [d, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [p, [d, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [p, [d, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [p, [d, "Smart Lenovo " + k]], [/(avast|avg)\/([\w\.]+)/i], [[d, /(.+)/, "$1 Secure " + k], p], [/\bfocus\/([\w\.]+)/i], [p, [d, pe + " Focus"]], [/\bopt\/([\w\.]+)/i], [p, [d, ve + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [p, [d, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [p, [d, "Dolphin"]], [/coast\/([\w\.]+)/i], [p, [d, ve + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [p, [d, "MIUI " + k]], [/fxios\/([-\w\.]+)/i], [p, [d, pe]], [/\bqihu|(qi?ho?o?|360)browser/i], [[d, "360 " + k]], [/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i], [[d, /(.+)/, "$1 " + k], p], [/samsungbrowser\/([\w\.]+)/i], [p, [d, le + " Internet"]], [/(comodo_dragon)\/([\w\.]+)/i], [[d, /_/g, " "], p], [/metasr[\/ ]?([\d\.]+)/i], [p, [d, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[d, "Sogou Mobile"], p], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i], [d, p], [/(lbbrowser)/i, /\[(linkedin)app\]/i], [d], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[d, Ce], p], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [d, p], [/\bgsa\/([\w\.]+) .*safari\//i], [p, [d, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [p, [d, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [p, [d, G + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[d, G + " WebView"], p], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [p, [d, "Android " + k]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [d, p], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [p, [d, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [p, d], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [d, [p, Re, Ze]], [/(webkit|khtml)\/([\w\.]+)/i], [d, p], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[d, "Netscape"], p], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [p, [d, pe + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i, /panasonic;(viera)/i], [d, p], [/(cobalt)\/([\w\.]+)/i], [d, [p, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[w, "amd64"]], [/(ia32(?=;))/i], [[w, he]], [/((?:i[346]|x)86)[;\)]/i], [[w, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[w, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[w, "armhf"]], [/windows (ce|mobile); ppc;/i], [[w, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[w, /ower/, c, he]], [/(sun4\w)[;\)]/i], [[w, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[w, he]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [s, [u, le], [a, y]], [/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i], [s, [u, le], [a, x]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [s, [u, z], [a, x]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [s, [u, z], [a, y]], [/(macintosh);/i], [s, [u, z]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [s, [u, _], [a, x]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [s, [u, fe], [a, y]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [s, [u, fe], [a, x]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i], [[s, /_/g, " "], [u, V], [a, x]], [/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, /\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[s, /_/g, " "], [u, V], [a, y]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [s, [u, "OPPO"], [a, x]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [s, [u, "Vivo"], [a, x]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [s, [u, "Realme"], [a, x]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [s, [u, me], [a, x]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [s, [u, me], [a, y]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [s, [u, ne], [a, y]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [s, [u, ne], [a, x]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [s, [u, "Lenovo"], [a, y]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[s, /_/g, " "], [u, "Nokia"], [a, x]], [/(pixel c)\b/i], [s, [u, B], [a, y]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [s, [u, B], [a, x]], [/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [s, [u, I], [a, x]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[s, "Xperia Tablet"], [u, I], [a, y]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [s, [u, "OnePlus"], [a, x]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [s, [u, C], [a, y]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[s, /(.+)/g, "Fire Phone $1"], [u, C], [a, x]], [/(playbook);[-\w\),; ]+(rim)/i], [s, u, [a, y]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [s, [u, Z], [a, x]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [s, [u, de], [a, y]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [s, [u, de], [a, x]], [/(nexus 9)/i], [s, [u, "HTC"], [a, y]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [u, [s, /_/g, " "], [a, x]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [s, [u, "Acer"], [a, y]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [s, [u, "Meizu"], [a, x]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [s, [u, "Ulefone"], [a, x]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [u, s, [a, x]], [/(kobo)\s(ereader|touch)/i, /(archos) (gamepad2?)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [u, s, [a, y]], [/(surface duo)/i], [s, [u, Q], [a, y]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [s, [u, "Fairphone"], [a, x]], [/(u304aa)/i], [s, [u, "AT&T"], [a, x]], [/\bsie-(\w*)/i], [s, [u, "Siemens"], [a, x]], [/\b(rct\w+) b/i], [s, [u, "RCA"], [a, y]], [/\b(venue[\d ]{2,7}) b/i], [s, [u, "Dell"], [a, y]], [/\b(q(?:mv|ta)\w+) b/i], [s, [u, "Verizon"], [a, y]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [s, [u, "Barnes & Noble"], [a, y]], [/\b(tm\d{3}\w+) b/i], [s, [u, "NuVision"], [a, y]], [/\b(k88) b/i], [s, [u, "ZTE"], [a, y]], [/\b(nx\d{3}j) b/i], [s, [u, "ZTE"], [a, x]], [/\b(gen\d{3}) b.+49h/i], [s, [u, "Swiss"], [a, x]], [/\b(zur\d{3}) b/i], [s, [u, "Swiss"], [a, y]], [/\b((zeki)?tb.*\b) b/i], [s, [u, "Zeki"], [a, y]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[u, "Dragon Touch"], s, [a, y]], [/\b(ns-?\w{0,9}) b/i], [s, [u, "Insignia"], [a, y]], [/\b((nxa|next)-?\w{0,9}) b/i], [s, [u, "NextBook"], [a, y]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[u, "Voice"], s, [a, x]], [/\b(lvtel\-)?(v1[12]) b/i], [[u, "LvTel"], s, [a, x]], [/\b(ph-1) /i], [s, [u, "Essential"], [a, x]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [s, [u, "Envizen"], [a, y]], [/\b(trio[-\w\. ]+) b/i], [s, [u, "MachSpeed"], [a, y]], [/\btu_(1491) b/i], [s, [u, "Rotor"], [a, y]], [/(shield[\w ]+) b/i], [s, [u, "Nvidia"], [a, y]], [/(sprint) (\w+)/i], [u, s, [a, x]], [/(kin\.[onetw]{3})/i], [[s, /\./g, " "], [u, Q], [a, x]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [s, [u, xe], [a, y]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [s, [u, xe], [a, x]], [/smart-tv.+(samsung)/i], [u, [a, F]], [/hbbtv.+maple;(\d+)/i], [[s, /^/, "SmartTV"], [u, le], [a, F]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[u, ne], [a, F]], [/(apple) ?tv/i], [u, [s, z + " TV"], [a, F]], [/crkey/i], [[s, G + "cast"], [u, B], [a, F]], [/droid.+aft(\w+)( bui|\))/i], [s, [u, C], [a, F]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [s, [u, _], [a, F]], [/(bravia[\w ]+)( bui|\))/i], [s, [u, I], [a, F]], [/(mitv-\w{5}) bui/i], [s, [u, V], [a, F]], [/Hbbtv.*(technisat) (.*);/i], [u, s, [a, F]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[u, Le], [s, Le], [a, F]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[a, F]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [u, s, [a, S]], [/droid.+; (shield) bui/i], [s, [u, "Nvidia"], [a, S]], [/(playstation [345portablevi]+)/i], [s, [u, I], [a, S]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [s, [u, Q], [a, S]], [/((pebble))app/i], [u, s, [a, P]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [s, [u, z], [a, P]], [/droid.+; (glass) \d/i], [s, [u, B], [a, P]], [/droid.+; (wt63?0{2,3})\)/i], [s, [u, xe], [a, P]], [/(quest( 2| pro)?)/i], [s, [u, Ce], [a, P]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [u, [a, q]], [/(aeobc)\b/i], [s, [u, C], [a, q]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [s, [a, x]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [s, [a, y]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[a, y]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[a, x]], [/(android[-\w\. ]{0,9});.+buil/i], [s, [u, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [p, [d, re + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [p, [d, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [d, p], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [p, d]], os: [[/microsoft (windows) (vista|xp)/i], [d, p], [/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i], [d, [p, Re, Nt]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[p, Re, Nt], [d, "Windows"]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[p, /_/g, "."], [d, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[d, Xe], [p, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [p, d], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [d, p], [/\(bb(10);/i], [p, [d, Z]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [p, [d, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [p, [d, pe + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [p, [d, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [p, [d, "watchOS"]], [/crkey\/([\d\.]+)/i], [p, [d, G + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[d, ot], p], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [d, p], [/(sunos) ?([\w\.\d]*)/i], [[d, "Solaris"], p], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [d, p]] }, Pe = function(U, J) {
|
|
854
|
+
}, Ze = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, Nt = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, Dt = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [p, [d, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [p, [d, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [d, p], [/opios[\/ ]+([\w\.]+)/i], [p, [d, ve + " Mini"]], [/\bopr\/([\w\.]+)/i], [p, [d, ve]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [p, [d, "Baidu"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i, /(heytap|ovi)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [d, p], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [p, [d, "UC" + k]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [p, [d, "WeChat"]], [/konqueror\/([\w\.]+)/i], [p, [d, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [p, [d, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [p, [d, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [p, [d, "Smart Lenovo " + k]], [/(avast|avg)\/([\w\.]+)/i], [[d, /(.+)/, "$1 Secure " + k], p], [/\bfocus\/([\w\.]+)/i], [p, [d, pe + " Focus"]], [/\bopt\/([\w\.]+)/i], [p, [d, ve + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [p, [d, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [p, [d, "Dolphin"]], [/coast\/([\w\.]+)/i], [p, [d, ve + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [p, [d, "MIUI " + k]], [/fxios\/([-\w\.]+)/i], [p, [d, pe]], [/\bqihu|(qi?ho?o?|360)browser/i], [[d, "360 " + k]], [/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i], [[d, /(.+)/, "$1 " + k], p], [/samsungbrowser\/([\w\.]+)/i], [p, [d, le + " Internet"]], [/(comodo_dragon)\/([\w\.]+)/i], [[d, /_/g, " "], p], [/metasr[\/ ]?([\d\.]+)/i], [p, [d, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[d, "Sogou Mobile"], p], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i], [d, p], [/(lbbrowser)/i, /\[(linkedin)app\]/i], [d], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[d, Ce], p], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [d, p], [/\bgsa\/([\w\.]+) .*safari\//i], [p, [d, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [p, [d, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [p, [d, G + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[d, G + " WebView"], p], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [p, [d, "Android " + k]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [d, p], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [p, [d, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [p, d], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [d, [p, Re, Ze]], [/(webkit|khtml)\/([\w\.]+)/i], [d, p], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[d, "Netscape"], p], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [p, [d, pe + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i, /panasonic;(viera)/i], [d, p], [/(cobalt)\/([\w\.]+)/i], [d, [p, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[g, "amd64"]], [/(ia32(?=;))/i], [[g, he]], [/((?:i[346]|x)86)[;\)]/i], [[g, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[g, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[g, "armhf"]], [/windows (ce|mobile); ppc;/i], [[g, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[g, /ower/, c, he]], [/(sun4\w)[;\)]/i], [[g, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[g, he]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [s, [u, le], [a, y]], [/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i], [s, [u, le], [a, x]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [s, [u, z], [a, x]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [s, [u, z], [a, y]], [/(macintosh);/i], [s, [u, z]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [s, [u, _], [a, x]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [s, [u, fe], [a, y]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [s, [u, fe], [a, x]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i], [[s, /_/g, " "], [u, V], [a, x]], [/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, /\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[s, /_/g, " "], [u, V], [a, y]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [s, [u, "OPPO"], [a, x]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [s, [u, "Vivo"], [a, x]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [s, [u, "Realme"], [a, x]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [s, [u, me], [a, x]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [s, [u, me], [a, y]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [s, [u, ne], [a, y]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [s, [u, ne], [a, x]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [s, [u, "Lenovo"], [a, y]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[s, /_/g, " "], [u, "Nokia"], [a, x]], [/(pixel c)\b/i], [s, [u, B], [a, y]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [s, [u, B], [a, x]], [/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [s, [u, I], [a, x]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[s, "Xperia Tablet"], [u, I], [a, y]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [s, [u, "OnePlus"], [a, x]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [s, [u, C], [a, y]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[s, /(.+)/g, "Fire Phone $1"], [u, C], [a, x]], [/(playbook);[-\w\),; ]+(rim)/i], [s, u, [a, y]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [s, [u, Z], [a, x]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [s, [u, de], [a, y]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [s, [u, de], [a, x]], [/(nexus 9)/i], [s, [u, "HTC"], [a, y]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [u, [s, /_/g, " "], [a, x]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [s, [u, "Acer"], [a, y]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [s, [u, "Meizu"], [a, x]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [s, [u, "Ulefone"], [a, x]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [u, s, [a, x]], [/(kobo)\s(ereader|touch)/i, /(archos) (gamepad2?)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [u, s, [a, y]], [/(surface duo)/i], [s, [u, Q], [a, y]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [s, [u, "Fairphone"], [a, x]], [/(u304aa)/i], [s, [u, "AT&T"], [a, x]], [/\bsie-(\w*)/i], [s, [u, "Siemens"], [a, x]], [/\b(rct\w+) b/i], [s, [u, "RCA"], [a, y]], [/\b(venue[\d ]{2,7}) b/i], [s, [u, "Dell"], [a, y]], [/\b(q(?:mv|ta)\w+) b/i], [s, [u, "Verizon"], [a, y]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [s, [u, "Barnes & Noble"], [a, y]], [/\b(tm\d{3}\w+) b/i], [s, [u, "NuVision"], [a, y]], [/\b(k88) b/i], [s, [u, "ZTE"], [a, y]], [/\b(nx\d{3}j) b/i], [s, [u, "ZTE"], [a, x]], [/\b(gen\d{3}) b.+49h/i], [s, [u, "Swiss"], [a, x]], [/\b(zur\d{3}) b/i], [s, [u, "Swiss"], [a, y]], [/\b((zeki)?tb.*\b) b/i], [s, [u, "Zeki"], [a, y]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[u, "Dragon Touch"], s, [a, y]], [/\b(ns-?\w{0,9}) b/i], [s, [u, "Insignia"], [a, y]], [/\b((nxa|next)-?\w{0,9}) b/i], [s, [u, "NextBook"], [a, y]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[u, "Voice"], s, [a, x]], [/\b(lvtel\-)?(v1[12]) b/i], [[u, "LvTel"], s, [a, x]], [/\b(ph-1) /i], [s, [u, "Essential"], [a, x]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [s, [u, "Envizen"], [a, y]], [/\b(trio[-\w\. ]+) b/i], [s, [u, "MachSpeed"], [a, y]], [/\btu_(1491) b/i], [s, [u, "Rotor"], [a, y]], [/(shield[\w ]+) b/i], [s, [u, "Nvidia"], [a, y]], [/(sprint) (\w+)/i], [u, s, [a, x]], [/(kin\.[onetw]{3})/i], [[s, /\./g, " "], [u, Q], [a, x]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [s, [u, xe], [a, y]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [s, [u, xe], [a, x]], [/smart-tv.+(samsung)/i], [u, [a, F]], [/hbbtv.+maple;(\d+)/i], [[s, /^/, "SmartTV"], [u, le], [a, F]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[u, ne], [a, F]], [/(apple) ?tv/i], [u, [s, z + " TV"], [a, F]], [/crkey/i], [[s, G + "cast"], [u, B], [a, F]], [/droid.+aft(\w+)( bui|\))/i], [s, [u, C], [a, F]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [s, [u, _], [a, F]], [/(bravia[\w ]+)( bui|\))/i], [s, [u, I], [a, F]], [/(mitv-\w{5}) bui/i], [s, [u, V], [a, F]], [/Hbbtv.*(technisat) (.*);/i], [u, s, [a, F]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[u, Fe], [s, Fe], [a, F]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[a, F]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [u, s, [a, S]], [/droid.+; (shield) bui/i], [s, [u, "Nvidia"], [a, S]], [/(playstation [345portablevi]+)/i], [s, [u, I], [a, S]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [s, [u, Q], [a, S]], [/((pebble))app/i], [u, s, [a, P]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [s, [u, z], [a, P]], [/droid.+; (glass) \d/i], [s, [u, B], [a, P]], [/droid.+; (wt63?0{2,3})\)/i], [s, [u, xe], [a, P]], [/(quest( 2| pro)?)/i], [s, [u, Ce], [a, P]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [u, [a, q]], [/(aeobc)\b/i], [s, [u, C], [a, q]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [s, [a, x]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [s, [a, y]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[a, y]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[a, x]], [/(android[-\w\. ]{0,9});.+buil/i], [s, [u, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [p, [d, re + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [p, [d, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [d, p], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [p, d]], os: [[/microsoft (windows) (vista|xp)/i], [d, p], [/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i], [d, [p, Re, Nt]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[p, Re, Nt], [d, "Windows"]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[p, /_/g, "."], [d, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[d, Xe], [p, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [p, d], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [d, p], [/\(bb(10);/i], [p, [d, Z]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [p, [d, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [p, [d, pe + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [p, [d, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [p, [d, "watchOS"]], [/crkey\/([\d\.]+)/i], [p, [d, G + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[d, ot], p], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [d, p], [/(sunos) ?([\w\.\d]*)/i], [[d, "Solaris"], p], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [d, p]] }, Pe = function(U, J) {
|
|
855
855
|
if (typeof U === v && (J = U, U = n), !(this instanceof Pe))
|
|
856
856
|
return new Pe(U, J).getResult();
|
|
857
857
|
var A = typeof r !== b && r.navigator ? r.navigator : n, ie = U || (A && A.userAgent ? A.userAgent : c), qe = A && A.userAgentData ? A.userAgentData : n, Me = J ? E(Dt, J) : Dt, Y = A && A.userAgent == ie;
|
|
@@ -860,7 +860,7 @@ var R = {}, dr = { exports: {} };
|
|
|
860
860
|
return N[d] = n, N[p] = n, We.call(N, ie, Me.browser), N[h] = De(N[p]), Y && A && A.brave && typeof A.brave.isBrave == f && (N[d] = "Brave"), N;
|
|
861
861
|
}, this.getCPU = function() {
|
|
862
862
|
var N = {};
|
|
863
|
-
return N[
|
|
863
|
+
return N[g] = n, We.call(N, ie, Me.cpu), N;
|
|
864
864
|
}, this.getDevice = function() {
|
|
865
865
|
var N = {};
|
|
866
866
|
return N[u] = n, N[s] = n, N[a] = n, We.call(N, ie, Me.device), Y && !N[a] && qe && qe.mobile && (N[a] = x), Y && N[s] == "Macintosh" && A && typeof A.standalone !== b && A.maxTouchPoints && A.maxTouchPoints > 2 && (N[s] = "iPad", N[a] = y), N;
|
|
@@ -875,10 +875,10 @@ var R = {}, dr = { exports: {} };
|
|
|
875
875
|
}, this.getUA = function() {
|
|
876
876
|
return ie;
|
|
877
877
|
}, this.setUA = function(N) {
|
|
878
|
-
return ie = typeof N === m && N.length > $ ?
|
|
878
|
+
return ie = typeof N === m && N.length > $ ? Fe(N, $) : N, this;
|
|
879
879
|
}, this.setUA(ie), this;
|
|
880
880
|
};
|
|
881
|
-
Pe.VERSION = i, Pe.BROWSER = W([d, p, h]), Pe.CPU = W([
|
|
881
|
+
Pe.VERSION = i, Pe.BROWSER = W([d, p, h]), Pe.CPU = W([g]), Pe.DEVICE = W([s, u, a, S, x, F, y, P, q]), Pe.ENGINE = Pe.OS = W([d, p]), e.exports && (t = e.exports = Pe), t.UAParser = Pe;
|
|
882
882
|
var at = typeof r !== b && (r.jQuery || r.Zepto);
|
|
883
883
|
if (at && !at.ua) {
|
|
884
884
|
var mt = new Pe();
|
|
@@ -1034,14 +1034,14 @@ function Ut(e) {
|
|
|
1034
1034
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1035
1035
|
return e;
|
|
1036
1036
|
}
|
|
1037
|
-
function
|
|
1037
|
+
function go(e, t) {
|
|
1038
1038
|
if (t && (typeof t == "object" || typeof t == "function"))
|
|
1039
1039
|
return t;
|
|
1040
1040
|
if (t !== void 0)
|
|
1041
1041
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
1042
1042
|
return Ut(e);
|
|
1043
1043
|
}
|
|
1044
|
-
function
|
|
1044
|
+
function wo(e, t) {
|
|
1045
1045
|
return xo(e) || yo(e, t) || Oo(e, t) || ko();
|
|
1046
1046
|
}
|
|
1047
1047
|
function xo(e) {
|
|
@@ -1162,10 +1162,10 @@ var Ee = {
|
|
|
1162
1162
|
}, M = function(t) {
|
|
1163
1163
|
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "none";
|
|
1164
1164
|
return t || r;
|
|
1165
|
-
},
|
|
1165
|
+
}, gr = function() {
|
|
1166
1166
|
return typeof window < "u" && (window.navigator || navigator) ? window.navigator || navigator : !1;
|
|
1167
|
-
},
|
|
1168
|
-
var r =
|
|
1167
|
+
}, wr = function(t) {
|
|
1168
|
+
var r = gr();
|
|
1169
1169
|
return r && r.platform && (r.platform.indexOf(t) !== -1 || r.platform === "MacIntel" && r.maxTouchPoints > 1 && !window.MSStream);
|
|
1170
1170
|
}, _o = function(t, r, n, i, c) {
|
|
1171
1171
|
return {
|
|
@@ -1274,10 +1274,10 @@ var ln = function(t) {
|
|
|
1274
1274
|
}, hn = function(t) {
|
|
1275
1275
|
var r = t.type;
|
|
1276
1276
|
return M(r, "browser");
|
|
1277
|
-
},
|
|
1277
|
+
}, gn = function(t) {
|
|
1278
1278
|
var r = t.name;
|
|
1279
1279
|
return r === Ot.Android;
|
|
1280
|
-
},
|
|
1280
|
+
}, wn = function(t) {
|
|
1281
1281
|
var r = t.name;
|
|
1282
1282
|
return r === Ot.Windows;
|
|
1283
1283
|
}, xn = function(t) {
|
|
@@ -1344,19 +1344,19 @@ var ln = function(t) {
|
|
|
1344
1344
|
var r = t.version;
|
|
1345
1345
|
return M(r);
|
|
1346
1346
|
}, Wn = function() {
|
|
1347
|
-
var t =
|
|
1347
|
+
var t = gr(), r = t && t.userAgent && t.userAgent.toLowerCase();
|
|
1348
1348
|
return typeof r == "string" ? /electron/.test(r) : !1;
|
|
1349
1349
|
}, xt = function(t) {
|
|
1350
1350
|
return typeof t == "string" && t.indexOf("Edg/") !== -1;
|
|
1351
1351
|
}, Vn = function() {
|
|
1352
|
-
var t =
|
|
1352
|
+
var t = gr();
|
|
1353
1353
|
return t && (/iPad|iPhone|iPod/.test(t.platform) || t.platform === "MacIntel" && t.maxTouchPoints > 1) && !window.MSStream;
|
|
1354
1354
|
}, Ge = function() {
|
|
1355
|
-
return
|
|
1355
|
+
return wr("iPad");
|
|
1356
1356
|
}, Bn = function() {
|
|
1357
|
-
return
|
|
1357
|
+
return wr("iPhone");
|
|
1358
1358
|
}, Un = function() {
|
|
1359
|
-
return
|
|
1359
|
+
return wr("iPod");
|
|
1360
1360
|
}, Hn = function(t) {
|
|
1361
1361
|
return M(t);
|
|
1362
1362
|
};
|
|
@@ -1374,7 +1374,7 @@ function qn(e) {
|
|
|
1374
1374
|
isTablet: cn(r) || Ge(),
|
|
1375
1375
|
isBrowser: Ht(r),
|
|
1376
1376
|
isDesktop: Ht(r),
|
|
1377
|
-
isAndroid:
|
|
1377
|
+
isAndroid: gn(i),
|
|
1378
1378
|
isWinPhone: yn(i),
|
|
1379
1379
|
isIOS: On(i) || Ge(),
|
|
1380
1380
|
isChrome: En(n),
|
|
@@ -1402,13 +1402,13 @@ function qn(e) {
|
|
|
1402
1402
|
isElectron: Wn(),
|
|
1403
1403
|
isEdgeChromium: xt(o),
|
|
1404
1404
|
isLegacyEdge: qt(n) && !xt(o),
|
|
1405
|
-
isWindows:
|
|
1405
|
+
isWindows: wn(i),
|
|
1406
1406
|
isMacOs: xn(i),
|
|
1407
1407
|
isMIUI: Ln(n),
|
|
1408
1408
|
isSamsungBrowser: Fn(n)
|
|
1409
1409
|
};
|
|
1410
1410
|
}
|
|
1411
|
-
var zn = dn($e), Yn = pn($e), Kn = fn($e), Lo = bn($e), Fo = Pn(_e) || Ge(), Ao = _n(_e), Gt = un($e) || Ge(), Gn = ln($e), Jn = cn($e) || Ge(), Qn = Ht($e), No = Ht($e), Xn =
|
|
1411
|
+
var zn = dn($e), Yn = pn($e), Kn = fn($e), Lo = bn($e), Fo = Pn(_e) || Ge(), Ao = _n(_e), Gt = un($e) || Ge(), Gn = ln($e), Jn = cn($e) || Ge(), Qn = Ht($e), No = Ht($e), Xn = gn(pt), Zn = yn(pt), ei = On(pt) || Ge(), Do = En(_e), Mo = Tn(_e), $o = Rn(_e), Wo = In(_e), ti = jn(_e), Vo = kn(pt), Bo = Sn(pt), Uo = An(_e), Ho = Nn(_e), qo = Dn(_e), zo = vn($e), Yo = mn($e), Ko = Mn(hr), Go = $n(hr), Jo = Hn(Pt), Qo = qt(_e) || xt(Pt), Xo = Cn(_e), Zo = hn($e), ea = Vn(), ta = Ge(), ra = Bn(), na = Un(), ia = Wn(), oa = xt(Pt), aa = qt(_e) && !xt(Pt), sa = wn(pt), la = xn(pt), ca = Ln(_e), ua = Fn(_e), da = function(t) {
|
|
1412
1412
|
if (!t || typeof t != "string") {
|
|
1413
1413
|
console.error("No valid user agent string was provided");
|
|
1414
1414
|
return;
|
|
@@ -1439,10 +1439,10 @@ var zn = dn($e), Yn = pn($e), Kn = fn($e), Lo = bn($e), Fo = Pn(_e) || Ge(), Ao
|
|
|
1439
1439
|
}, ha = function(t) {
|
|
1440
1440
|
var r = t.renderWithFragment, n = t.children, i = Ue(t, ["renderWithFragment", "children"]);
|
|
1441
1441
|
return Jn ? r ? ue.createElement(Te.Fragment, null, n) : ue.createElement("div", i, n) : null;
|
|
1442
|
-
},
|
|
1442
|
+
}, ga = function(t) {
|
|
1443
1443
|
var r = t.renderWithFragment, n = t.children, i = Ue(t, ["renderWithFragment", "children"]);
|
|
1444
1444
|
return Zn ? r ? ue.createElement(Te.Fragment, null, n) : ue.createElement("div", i, n) : null;
|
|
1445
|
-
},
|
|
1445
|
+
}, wa = function(t) {
|
|
1446
1446
|
var r = t.renderWithFragment, n = t.children;
|
|
1447
1447
|
t.viewClassName, t.style;
|
|
1448
1448
|
var i = Ue(t, ["renderWithFragment", "children", "viewClassName", "style"]);
|
|
@@ -1467,7 +1467,7 @@ function Sa(e) {
|
|
|
1467
1467
|
mo(r, t);
|
|
1468
1468
|
function r(n) {
|
|
1469
1469
|
var i;
|
|
1470
|
-
return po(this, r), i =
|
|
1470
|
+
return po(this, r), i = go(this, pr(r).call(this, n)), i.isEventListenerAdded = !1, i.handleOrientationChange = i.handleOrientationChange.bind(Ut(i)), i.onOrientationChange = i.onOrientationChange.bind(Ut(i)), i.onPageLoad = i.onPageLoad.bind(Ut(i)), i.state = {
|
|
1471
1471
|
isLandscape: !1,
|
|
1472
1472
|
isPortrait: !1
|
|
1473
1473
|
}, i;
|
|
@@ -1521,7 +1521,7 @@ function Ea() {
|
|
|
1521
1521
|
isLandscape: c === 90,
|
|
1522
1522
|
orientation: c === 0 ? "portrait" : "landscape"
|
|
1523
1523
|
};
|
|
1524
|
-
}), t =
|
|
1524
|
+
}), t = wo(e, 2), r = t[0], n = t[1], i = Te.useCallback(function() {
|
|
1525
1525
|
var c = window.innerWidth > window.innerHeight ? 90 : 0, o = {
|
|
1526
1526
|
isPortrait: c === 0,
|
|
1527
1527
|
isLandscape: c === 90,
|
|
@@ -1550,13 +1550,13 @@ R.ConsoleView = ya;
|
|
|
1550
1550
|
R.CustomView = ka;
|
|
1551
1551
|
R.IEView = ba;
|
|
1552
1552
|
R.IOSView = va;
|
|
1553
|
-
R.MobileOnlyView =
|
|
1553
|
+
R.MobileOnlyView = wa;
|
|
1554
1554
|
R.MobileView = ma;
|
|
1555
1555
|
R.OsTypes = Ot;
|
|
1556
1556
|
R.SmartTVView = xa;
|
|
1557
1557
|
R.TabletView = ha;
|
|
1558
1558
|
R.WearableView = Oa;
|
|
1559
|
-
R.WinPhoneView =
|
|
1559
|
+
R.WinPhoneView = ga;
|
|
1560
1560
|
R.browserName = qo;
|
|
1561
1561
|
R.browserVersion = Ho;
|
|
1562
1562
|
R.deviceDetect = jo;
|
|
@@ -1608,7 +1608,7 @@ R.useDeviceData = ri;
|
|
|
1608
1608
|
R.useDeviceSelectors = Ta;
|
|
1609
1609
|
R.useMobileOrientation = Ea;
|
|
1610
1610
|
R.withOrientationChange = Sa;
|
|
1611
|
-
const
|
|
1611
|
+
const Zl = ce.memo(
|
|
1612
1612
|
ct(
|
|
1613
1613
|
({ themeColor: e = "", onSubmit: t, style: r = {}, className: n = "", onInput: i, onFocus: c, onBlur: o, ...f }, b) => {
|
|
1614
1614
|
const [v, m] = oe(!0), [h, s] = oe(!1);
|
|
@@ -1621,7 +1621,7 @@ const Xl = ce.memo(
|
|
|
1621
1621
|
i?.(x), x.target.style.height = "40px", x.target.style.height = 2 + x.target.scrollHeight + "px";
|
|
1622
1622
|
};
|
|
1623
1623
|
let u = {};
|
|
1624
|
-
const p = [Wr.textInput, n].filter(Boolean).join(" "),
|
|
1624
|
+
const p = [Wr.textInput, n].filter(Boolean).join(" "), g = () => {
|
|
1625
1625
|
s(!0);
|
|
1626
1626
|
}, S = () => {
|
|
1627
1627
|
s(!1);
|
|
@@ -1635,7 +1635,7 @@ const Xl = ce.memo(
|
|
|
1635
1635
|
ref: b,
|
|
1636
1636
|
className: p,
|
|
1637
1637
|
style: { ...u, ...r },
|
|
1638
|
-
onFocus:
|
|
1638
|
+
onFocus: g,
|
|
1639
1639
|
onBlur: S,
|
|
1640
1640
|
onInput: (x) => a(x),
|
|
1641
1641
|
onKeyDown: d,
|
|
@@ -1644,27 +1644,28 @@ const Xl = ce.memo(
|
|
|
1644
1644
|
) });
|
|
1645
1645
|
}
|
|
1646
1646
|
)
|
|
1647
|
-
), Ca = "
|
|
1647
|
+
), Ca = "_multiSelectContainer_1if8o_1", Ra = "_listOptionsWrap_1if8o_4", Pa = "_selectedValuesWrap_1if8o_7", Ia = "_selectedValues_1if8o_7", ja = "_focused_1if8o_13", La = "_placeholder_1if8o_16", Fa = "_dropDownIcon_1if8o_19", Aa = "_optionsListContainer_1if8o_23", Na = "_top_1if8o_26", Da = "_optionsListWrap_1if8o_29", Ma = "_searchInputWrap_1if8o_32", $a = "_searchInput_1if8o_32", Wa = "_optionsList_1if8o_23", Va = "_btnContainer_1if8o_53", je = {
|
|
1648
1648
|
multiSelectContainer: Ca,
|
|
1649
1649
|
listOptionsWrap: Ra,
|
|
1650
1650
|
selectedValuesWrap: Pa,
|
|
1651
1651
|
selectedValues: Ia,
|
|
1652
1652
|
focused: ja,
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1653
|
+
placeholder: La,
|
|
1654
|
+
dropDownIcon: Fa,
|
|
1655
|
+
optionsListContainer: Aa,
|
|
1656
|
+
top: Na,
|
|
1657
|
+
optionsListWrap: Da,
|
|
1658
|
+
searchInputWrap: Ma,
|
|
1659
|
+
searchInput: $a,
|
|
1660
|
+
optionsList: Wa,
|
|
1661
|
+
btnContainer: Va
|
|
1662
|
+
}, Ba = "_pseudoCheckbox_1tuhb_1", Ua = "_checkboxCheckMark_1tuhb_4", Ha = "_checkboxCheckMarkPath_1tuhb_7", qa = "_checked_1tuhb_12", za = "_checkboxUncheckedChecked_1tuhb_1", Ya = "_checkboxDisabled_1tuhb_22", _t = {
|
|
1663
|
+
pseudoCheckbox: Ba,
|
|
1664
|
+
checkboxCheckMark: Ua,
|
|
1665
|
+
checkboxCheckMarkPath: Ha,
|
|
1666
|
+
checked: qa,
|
|
1667
|
+
checkboxUncheckedChecked: za,
|
|
1668
|
+
checkboxDisabled: Ya
|
|
1668
1669
|
}, ni = ({ checked: e = !1, themeColor: t = "", disabled: r = !1 }) => {
|
|
1669
1670
|
let n = {}, i = "#006bb1", c = r ? "#9b9b9b" : "#ffffff";
|
|
1670
1671
|
const o = r ? _t.checkboxDisabled : "", f = e ? _t.checked : "", b = [_t.pseudoCheckbox, f, o].filter(Boolean).join(" ");
|
|
@@ -1700,7 +1701,7 @@ const Xl = ce.memo(
|
|
|
1700
1701
|
);
|
|
1701
1702
|
};
|
|
1702
1703
|
ni.displayName = "Checkbox";
|
|
1703
|
-
const
|
|
1704
|
+
const ec = ({
|
|
1704
1705
|
options: e,
|
|
1705
1706
|
checkedValue: t,
|
|
1706
1707
|
onSelectionChange: r,
|
|
@@ -1709,7 +1710,7 @@ const Zl = ({
|
|
|
1709
1710
|
className: c = "",
|
|
1710
1711
|
style: o = {}
|
|
1711
1712
|
}) => {
|
|
1712
|
-
const f = j(e), [b, v] = oe(t), [m, h] = oe(""), [s, d] = oe(!1), [a, u] = oe(!1), p = j(null),
|
|
1713
|
+
const f = j(e), [b, v] = oe(t), [m, h] = oe(""), [s, d] = oe(!1), [a, u] = oe(!1), p = j(null), g = j(null), S = j(null), x = j(null), y = j(null), F = j(null), [P, q] = oe(-1), $ = j(0), C = j(0), [z, de] = oe(!1);
|
|
1713
1714
|
let Z = {};
|
|
1714
1715
|
const [k, G] = oe({ left: 0, top: 0 }), [re, pe] = oe(null), B = j(!1), fe = () => {
|
|
1715
1716
|
setTimeout(() => {
|
|
@@ -1718,7 +1719,7 @@ const Zl = ({
|
|
|
1718
1719
|
};
|
|
1719
1720
|
ae(() => {
|
|
1720
1721
|
const E = (W) => {
|
|
1721
|
-
|
|
1722
|
+
g.current && !g.current.contains(W.target) && (d(!1), h(""), fe());
|
|
1722
1723
|
};
|
|
1723
1724
|
return document.addEventListener("mousedown", E), () => {
|
|
1724
1725
|
document.removeEventListener("mousedown", E);
|
|
@@ -1740,13 +1741,13 @@ const Zl = ({
|
|
|
1740
1741
|
const E = e.filter((W) => W.text.toLowerCase().includes(m.toLowerCase()));
|
|
1741
1742
|
f.current = E;
|
|
1742
1743
|
}, [e, m]);
|
|
1743
|
-
const me = b.map((E) => {
|
|
1744
|
+
const me = b.length > 0 ? b.map((E) => {
|
|
1744
1745
|
const W = e.find((ye) => ye.id === E);
|
|
1745
1746
|
return W?.text !== null ? W?.text : "";
|
|
1746
|
-
}).filter((E) => E !== "").join(", "), ve = (E) => {
|
|
1747
|
+
}).filter((E) => E !== "").join(", ") : "Select your option", ve = (E) => {
|
|
1747
1748
|
const W = e.find((ye) => ye.id === E);
|
|
1748
1749
|
if (W && !W.disabled && (n === void 0 || b.length <= n)) {
|
|
1749
|
-
const he = b.includes(E) ? b.filter((
|
|
1750
|
+
const he = b.includes(E) ? b.filter((Fe) => Fe !== E) : [...b, E];
|
|
1750
1751
|
(n === void 0 || he.length <= n) && s && (v(he), r(he), Q(`${W?.text} ${he.includes(E) ? "selected" : "not selected"}`));
|
|
1751
1752
|
}
|
|
1752
1753
|
}, le = (E) => {
|
|
@@ -1757,11 +1758,11 @@ const Zl = ({
|
|
|
1757
1758
|
if (p.current) {
|
|
1758
1759
|
const E = p.current.getBoundingClientRect();
|
|
1759
1760
|
setTimeout(() => {
|
|
1760
|
-
const W =
|
|
1761
|
+
const W = g?.current?.getBoundingClientRect(), ye = _(), he = $.current - E.bottom;
|
|
1761
1762
|
let De;
|
|
1762
1763
|
if (W) {
|
|
1763
|
-
const
|
|
1764
|
-
We < Re && (Ze || Ze && he < Re || ye > Re || he > Re) || We > Re && he > Re ? De = E.y +
|
|
1764
|
+
const Fe = E.height, We = E.top, Re = W.height, Ze = Re > We + window.scrollY;
|
|
1765
|
+
We < Re && (Ze || Ze && he < Re || ye > Re || he > Re) || We > Re && he > Re ? De = E.y + Fe : De = E.y - Re, G({
|
|
1765
1766
|
left: E.left,
|
|
1766
1767
|
top: De ?? E.top
|
|
1767
1768
|
});
|
|
@@ -1788,8 +1789,8 @@ const Zl = ({
|
|
|
1788
1789
|
}, 0);
|
|
1789
1790
|
let ye = P;
|
|
1790
1791
|
if (W === "ArrowDown" ? ye = Math.min(P + 1, f.current.length - 1) : W === "ArrowUp" && (ye = Math.max(P - 1, 0)), P === 0 && E.key === "ArrowUp" ? ye = f.current.length - 1 : P === f.current.length - 1 && E.key === "ArrowDown" && (ye = 0), q(ye), F.current && ye >= 0) {
|
|
1791
|
-
const he = F.current.querySelectorAll(`.${
|
|
1792
|
-
Q(
|
|
1792
|
+
const he = F.current.querySelectorAll(`.${je.optionsList}`)[ye], De = he.children[0].getAttribute("aria-checked"), Fe = `${he.textContent} ${De === "true" ? "selected" : "not selected"} ${ye + 1} out of ${f.current.length}`;
|
|
1793
|
+
Q(Fe), he && he.scrollIntoView({
|
|
1793
1794
|
block: "nearest",
|
|
1794
1795
|
inline: "nearest"
|
|
1795
1796
|
});
|
|
@@ -1819,12 +1820,12 @@ const Zl = ({
|
|
|
1819
1820
|
const Xe = () => {
|
|
1820
1821
|
d(!1);
|
|
1821
1822
|
};
|
|
1822
|
-
return /* @__PURE__ */ O.jsx("div", { className:
|
|
1823
|
-
/* @__PURE__ */ O.jsxs("div", { className: `${c} ${
|
|
1823
|
+
return /* @__PURE__ */ O.jsx("div", { className: je.multiSelectContainer, children: /* @__PURE__ */ O.jsxs("div", { className: je.listOptionsWrap, children: [
|
|
1824
|
+
/* @__PURE__ */ O.jsxs("div", { className: `${c} ${je.selectedValuesWrap}`, ref: p, children: [
|
|
1824
1825
|
/* @__PURE__ */ O.jsx(
|
|
1825
1826
|
"div",
|
|
1826
1827
|
{
|
|
1827
|
-
className: `${
|
|
1828
|
+
className: `${je.selectedValues} ${s ? je.focused : ""} ${b.length === 0 ? je.placeholder : ""}`,
|
|
1828
1829
|
onFocus: Ce,
|
|
1829
1830
|
onBlur: ot,
|
|
1830
1831
|
onClick: () => le(!s),
|
|
@@ -1845,7 +1846,7 @@ const Zl = ({
|
|
|
1845
1846
|
/* @__PURE__ */ O.jsx(
|
|
1846
1847
|
"span",
|
|
1847
1848
|
{
|
|
1848
|
-
className:
|
|
1849
|
+
className: je.dropDownIcon,
|
|
1849
1850
|
onClick: () => le(!s),
|
|
1850
1851
|
"data-testid": "arrow-button",
|
|
1851
1852
|
children: /* @__PURE__ */ O.jsx("svg", { width: "12px", height: "7px", viewBox: "0 0 12 7", version: "1.1", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ O.jsx("g", { stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ O.jsx("g", { transform: "translate(-2360.000000, -295.000000)", fill: "#666666", children: /* @__PURE__ */ O.jsx("g", { transform: "translate(2006.000000, 248.000000)", children: /* @__PURE__ */ O.jsx(
|
|
@@ -1881,8 +1882,8 @@ const Zl = ({
|
|
|
1881
1882
|
children: /* @__PURE__ */ O.jsxs(
|
|
1882
1883
|
"div",
|
|
1883
1884
|
{
|
|
1884
|
-
className: `${
|
|
1885
|
-
ref:
|
|
1885
|
+
className: `${je.optionsListContainer}`,
|
|
1886
|
+
ref: g,
|
|
1886
1887
|
onClick: (E) => E.stopPropagation(),
|
|
1887
1888
|
style: {
|
|
1888
1889
|
opacity: k.left ? 1 : 0,
|
|
@@ -1891,14 +1892,14 @@ const Zl = ({
|
|
|
1891
1892
|
top: k.top
|
|
1892
1893
|
},
|
|
1893
1894
|
children: [
|
|
1894
|
-
/* @__PURE__ */ O.jsxs("div", { className:
|
|
1895
|
-
e.length >= 6 && /* @__PURE__ */ O.jsx("div", { className:
|
|
1895
|
+
/* @__PURE__ */ O.jsxs("div", { className: je.optionsListWrap, children: [
|
|
1896
|
+
e.length >= 6 && /* @__PURE__ */ O.jsx("div", { className: je.searchInputWrap, children: /* @__PURE__ */ O.jsx(
|
|
1896
1897
|
"input",
|
|
1897
1898
|
{
|
|
1898
1899
|
type: "text",
|
|
1899
1900
|
ref: S,
|
|
1900
1901
|
placeholder: "Type to filter",
|
|
1901
|
-
className:
|
|
1902
|
+
className: je.searchInput,
|
|
1902
1903
|
value: m,
|
|
1903
1904
|
onChange: (E) => h(E.target.value),
|
|
1904
1905
|
"data-testid": "search-input",
|
|
@@ -1912,7 +1913,7 @@ const Zl = ({
|
|
|
1912
1913
|
/* @__PURE__ */ O.jsxs(
|
|
1913
1914
|
"li",
|
|
1914
1915
|
{
|
|
1915
|
-
className: `${
|
|
1916
|
+
className: `${je.optionsList} ${W === P ? je.focused : ""}`,
|
|
1916
1917
|
onClick: () => ve(E.id),
|
|
1917
1918
|
"aria-selected": W === P,
|
|
1918
1919
|
role: "option",
|
|
@@ -1932,7 +1933,7 @@ const Zl = ({
|
|
|
1932
1933
|
)
|
|
1933
1934
|
)) })
|
|
1934
1935
|
] }),
|
|
1935
|
-
/* @__PURE__ */ O.jsxs("div", { className:
|
|
1936
|
+
/* @__PURE__ */ O.jsxs("div", { className: je.btnContainer, children: [
|
|
1936
1937
|
/* @__PURE__ */ O.jsx(
|
|
1937
1938
|
"input",
|
|
1938
1939
|
{
|
|
@@ -1969,12 +1970,12 @@ const Zl = ({
|
|
|
1969
1970
|
document.body
|
|
1970
1971
|
) : null
|
|
1971
1972
|
] }) });
|
|
1972
|
-
},
|
|
1973
|
-
multiSelectContainer:
|
|
1974
|
-
quickOptionsWrap:
|
|
1975
|
-
selected:
|
|
1976
|
-
disabled:
|
|
1977
|
-
},
|
|
1973
|
+
}, Ka = "_multiSelectContainer_owbxn_1", Ga = "_quickOptionsWrap_owbxn_4", Ja = "_selected_owbxn_10", Qa = "_disabled_owbxn_16", Wt = {
|
|
1974
|
+
multiSelectContainer: Ka,
|
|
1975
|
+
quickOptionsWrap: Ga,
|
|
1976
|
+
selected: Ja,
|
|
1977
|
+
disabled: Qa
|
|
1978
|
+
}, tc = ({
|
|
1978
1979
|
options: e,
|
|
1979
1980
|
checkedValue: t,
|
|
1980
1981
|
onSelectionChange: r,
|
|
@@ -2040,21 +2041,21 @@ const Zl = ({
|
|
|
2040
2041
|
},
|
|
2041
2042
|
a.id
|
|
2042
2043
|
)) }) });
|
|
2043
|
-
},
|
|
2044
|
-
singleSelectWrapper:
|
|
2045
|
-
quickOption:
|
|
2046
|
-
selected:
|
|
2047
|
-
triangle:
|
|
2048
|
-
loader:
|
|
2044
|
+
}, Xa = "_singleSelectWrapper_j8hf5_1", Za = "_quickOption_j8hf5_4", es = "_selected_j8hf5_10", ts = "_triangle_j8hf5_16", rs = "_loader_j8hf5_19", ns = "_checkmarkWrap_j8hf5_22", is = "_checkmark_j8hf5_22", os = "_fill_j8hf5_1", as = "_scale_j8hf5_1", ss = "_checkmarkCheck_j8hf5_29", ls = "_stroke_j8hf5_1", cs = "_disabled_j8hf5_34", Ke = {
|
|
2045
|
+
singleSelectWrapper: Xa,
|
|
2046
|
+
quickOption: Za,
|
|
2047
|
+
selected: es,
|
|
2048
|
+
triangle: ts,
|
|
2049
|
+
loader: rs,
|
|
2049
2050
|
"tw-spin": "_tw-spin_j8hf5_1",
|
|
2050
|
-
checkmarkWrap:
|
|
2051
|
-
checkmark:
|
|
2052
|
-
fill:
|
|
2053
|
-
scale:
|
|
2054
|
-
checkmarkCheck:
|
|
2055
|
-
stroke:
|
|
2056
|
-
disabled:
|
|
2057
|
-
},
|
|
2051
|
+
checkmarkWrap: ns,
|
|
2052
|
+
checkmark: is,
|
|
2053
|
+
fill: os,
|
|
2054
|
+
scale: as,
|
|
2055
|
+
checkmarkCheck: ss,
|
|
2056
|
+
stroke: ls,
|
|
2057
|
+
disabled: cs
|
|
2058
|
+
}, rc = ({
|
|
2058
2059
|
options: e,
|
|
2059
2060
|
onSelect: t,
|
|
2060
2061
|
selected: r,
|
|
@@ -2128,17 +2129,17 @@ const Zl = ({
|
|
|
2128
2129
|
},
|
|
2129
2130
|
a.id
|
|
2130
2131
|
)) }) }) });
|
|
2131
|
-
},
|
|
2132
|
-
scrollbarContainer:
|
|
2133
|
-
},
|
|
2132
|
+
}, us = "_scrollbarContainer_er2uj_1", ds = {
|
|
2133
|
+
scrollbarContainer: us
|
|
2134
|
+
}, fs = ct(
|
|
2134
2135
|
({ children: e, className: t = "", style: r = {}, ...n }, i) => {
|
|
2135
|
-
const c = [
|
|
2136
|
+
const c = [ds.scrollbarContainer, t].filter(Boolean).join(" ");
|
|
2136
2137
|
return /* @__PURE__ */ O.jsx(O.Fragment, { children: /* @__PURE__ */ O.jsx("div", { ref: i, style: { ...r }, className: c, ...n, children: e }) });
|
|
2137
2138
|
}
|
|
2138
2139
|
);
|
|
2139
|
-
|
|
2140
|
-
var
|
|
2141
|
-
let
|
|
2140
|
+
fs.displayName = "Scrollbar";
|
|
2141
|
+
var ps = Object.defineProperty, bs = (e, t, r) => t in e ? ps(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ir = (e, t, r) => (bs(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
2142
|
+
let vs = class {
|
|
2142
2143
|
constructor() {
|
|
2143
2144
|
ir(this, "current", this.detect()), ir(this, "handoffState", "pending"), ir(this, "currentId", 0);
|
|
2144
2145
|
}
|
|
@@ -2166,20 +2167,20 @@ let bs = class {
|
|
|
2166
2167
|
get isHandoffComplete() {
|
|
2167
2168
|
return this.handoffState === "complete";
|
|
2168
2169
|
}
|
|
2169
|
-
}, bt = new
|
|
2170
|
+
}, bt = new vs(), we = (e, t) => {
|
|
2170
2171
|
bt.isServer ? ae(e, t) : ji(e, t);
|
|
2171
2172
|
};
|
|
2172
2173
|
function ze(e) {
|
|
2173
2174
|
let t = j(e);
|
|
2174
|
-
return
|
|
2175
|
+
return we(() => {
|
|
2175
2176
|
t.current = e;
|
|
2176
2177
|
}, [e]), t;
|
|
2177
2178
|
}
|
|
2178
2179
|
function jt(e, t) {
|
|
2179
2180
|
let [r, n] = oe(e), i = ze(e);
|
|
2180
|
-
return
|
|
2181
|
+
return we(() => n(i.current), [i, n, ...t]), r;
|
|
2181
2182
|
}
|
|
2182
|
-
function
|
|
2183
|
+
function ms(e) {
|
|
2183
2184
|
typeof queueMicrotask == "function" ? queueMicrotask(e) : Promise.resolve().then(e).catch((t) => setTimeout(() => {
|
|
2184
2185
|
throw t;
|
|
2185
2186
|
}));
|
|
@@ -2197,7 +2198,7 @@ function Je() {
|
|
|
2197
2198
|
return t.add(() => clearTimeout(n));
|
|
2198
2199
|
}, microTask(...r) {
|
|
2199
2200
|
let n = { current: !0 };
|
|
2200
|
-
return
|
|
2201
|
+
return ms(() => {
|
|
2201
2202
|
n.current && r[0]();
|
|
2202
2203
|
}), t.add(() => {
|
|
2203
2204
|
n.current = !1;
|
|
@@ -2231,13 +2232,13 @@ let L = function(e) {
|
|
|
2231
2232
|
let t = ze(e);
|
|
2232
2233
|
return ce.useCallback((...r) => t.current(...r), [t]);
|
|
2233
2234
|
};
|
|
2234
|
-
function
|
|
2235
|
+
function hs() {
|
|
2235
2236
|
let e = typeof document > "u";
|
|
2236
2237
|
return "useSyncExternalStore" in tt ? ((t) => t.useSyncExternalStore)(tt)(() => () => {
|
|
2237
2238
|
}, () => !1, () => !e) : !1;
|
|
2238
2239
|
}
|
|
2239
2240
|
function xr() {
|
|
2240
|
-
let e =
|
|
2241
|
+
let e = hs(), [t, r] = tt.useState(bt.isHandoffComplete);
|
|
2241
2242
|
return t && bt.isHandoffComplete === !1 && r(!1), tt.useEffect(() => {
|
|
2242
2243
|
t !== !0 && r(!0);
|
|
2243
2244
|
}, [t]), tt.useEffect(() => bt.handoff(), []), e ? !1 : t;
|
|
@@ -2245,7 +2246,7 @@ function xr() {
|
|
|
2245
2246
|
var qr;
|
|
2246
2247
|
let it = (qr = ce.useId) != null ? qr : function() {
|
|
2247
2248
|
let e = xr(), [t, r] = ce.useState(e ? () => bt.nextId() : null);
|
|
2248
|
-
return
|
|
2249
|
+
return we(() => {
|
|
2249
2250
|
t === null && r(bt.nextId());
|
|
2250
2251
|
}, [t]), t != null ? "" + t : void 0;
|
|
2251
2252
|
};
|
|
@@ -2261,7 +2262,7 @@ function Jt(e) {
|
|
|
2261
2262
|
return bt.isServer ? null : e instanceof Node ? e.ownerDocument : e != null && e.hasOwnProperty("current") && e.current instanceof Node ? e.current.ownerDocument : document;
|
|
2262
2263
|
}
|
|
2263
2264
|
let zr = ["[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(",");
|
|
2264
|
-
var
|
|
2265
|
+
var gs = ((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))(gs || {}), ws = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(ws || {}), xs = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(xs || {}), yr = ((e) => (e[e.Strict = 0] = "Strict", e[e.Loose = 1] = "Loose", e))(yr || {});
|
|
2265
2266
|
function ii(e, t = 0) {
|
|
2266
2267
|
var r;
|
|
2267
2268
|
return e === ((r = Jt(e)) == null ? void 0 : r.body) ? !1 : be(t, { 0() {
|
|
@@ -2276,7 +2277,7 @@ function ii(e, t = 0) {
|
|
|
2276
2277
|
return !1;
|
|
2277
2278
|
} });
|
|
2278
2279
|
}
|
|
2279
|
-
var
|
|
2280
|
+
var ys = ((e) => (e[e.Keyboard = 0] = "Keyboard", e[e.Mouse = 1] = "Mouse", e))(ys || {});
|
|
2280
2281
|
typeof window < "u" && typeof document < "u" && (document.addEventListener("keydown", (e) => {
|
|
2281
2282
|
e.metaKey || e.altKey || e.ctrlKey || (document.documentElement.dataset.headlessuiFocusVisible = "");
|
|
2282
2283
|
}, !0), document.addEventListener("click", (e) => {
|
|
@@ -2300,7 +2301,7 @@ function Vt(e, t, r) {
|
|
|
2300
2301
|
return document.addEventListener(e, i, r), () => document.removeEventListener(e, i, r);
|
|
2301
2302
|
}, [e, r]);
|
|
2302
2303
|
}
|
|
2303
|
-
function
|
|
2304
|
+
function Os(e, t, r) {
|
|
2304
2305
|
let n = ze(t);
|
|
2305
2306
|
ae(() => {
|
|
2306
2307
|
function i(c) {
|
|
@@ -2343,7 +2344,7 @@ function ai(e, t, r = !0) {
|
|
|
2343
2344
|
n.current && (c.current = ((b = (f = o.composedPath) == null ? void 0 : f.call(o)) == null ? void 0 : b[0]) || o.target);
|
|
2344
2345
|
}, !0), Vt("click", (o) => {
|
|
2345
2346
|
c.current && (i(o, () => c.current), c.current = null);
|
|
2346
|
-
}, !0), Vt("touchend", (o) => i(o, () => o.target instanceof HTMLElement ? o.target : null), !0),
|
|
2347
|
+
}, !0), Vt("touchend", (o) => i(o, () => o.target instanceof HTMLElement ? o.target : null), !0), Os("blur", (o) => i(o, () => window.document.activeElement instanceof HTMLIFrameElement ? window.document.activeElement : null), !0);
|
|
2347
2348
|
}
|
|
2348
2349
|
function Yr(e) {
|
|
2349
2350
|
var t;
|
|
@@ -2355,13 +2356,13 @@ function Yr(e) {
|
|
|
2355
2356
|
}
|
|
2356
2357
|
function si(e, t) {
|
|
2357
2358
|
let [r, n] = oe(() => Yr(e));
|
|
2358
|
-
return
|
|
2359
|
+
return we(() => {
|
|
2359
2360
|
n(Yr(e));
|
|
2360
|
-
}, [e.type, e.as]),
|
|
2361
|
+
}, [e.type, e.as]), we(() => {
|
|
2361
2362
|
r || t.current && t.current instanceof HTMLButtonElement && !t.current.hasAttribute("type") && n("button");
|
|
2362
2363
|
}, [r, t]), r;
|
|
2363
2364
|
}
|
|
2364
|
-
let
|
|
2365
|
+
let ks = Symbol();
|
|
2365
2366
|
function He(...e) {
|
|
2366
2367
|
let t = j(e);
|
|
2367
2368
|
ae(() => {
|
|
@@ -2371,13 +2372,13 @@ function He(...e) {
|
|
|
2371
2372
|
for (let i of t.current)
|
|
2372
2373
|
i != null && (typeof i == "function" ? i(n) : i.current = n);
|
|
2373
2374
|
});
|
|
2374
|
-
return e.every((n) => n == null || n?.[
|
|
2375
|
+
return e.every((n) => n == null || n?.[ks]) ? void 0 : r;
|
|
2375
2376
|
}
|
|
2376
|
-
function
|
|
2377
|
+
function Ss({ container: e, accept: t, walk: r, enabled: n = !0 }) {
|
|
2377
2378
|
let i = j(t), c = j(r);
|
|
2378
2379
|
ae(() => {
|
|
2379
2380
|
i.current = t, c.current = r;
|
|
2380
|
-
}, [t, r]),
|
|
2381
|
+
}, [t, r]), we(() => {
|
|
2381
2382
|
if (!e || !n)
|
|
2382
2383
|
return;
|
|
2383
2384
|
let o = Jt(e);
|
|
@@ -2388,7 +2389,7 @@ function ks({ container: e, accept: t, walk: r, enabled: n = !0 }) {
|
|
|
2388
2389
|
b(m.currentNode);
|
|
2389
2390
|
}, [e, n, i, c]);
|
|
2390
2391
|
}
|
|
2391
|
-
function
|
|
2392
|
+
function Es(e) {
|
|
2392
2393
|
throw new Error("Unexpected object: " + e);
|
|
2393
2394
|
}
|
|
2394
2395
|
var te = ((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))(te || {});
|
|
@@ -2415,7 +2416,7 @@ function li(e, t) {
|
|
|
2415
2416
|
case 5:
|
|
2416
2417
|
return null;
|
|
2417
2418
|
default:
|
|
2418
|
-
|
|
2419
|
+
Es(e);
|
|
2419
2420
|
}
|
|
2420
2421
|
})();
|
|
2421
2422
|
return c === -1 ? n : c;
|
|
@@ -2461,11 +2462,11 @@ function Bt(e, t = {}, r, n) {
|
|
|
2461
2462
|
`)].join(`
|
|
2462
2463
|
`));
|
|
2463
2464
|
let h = v.props, s = typeof h?.className == "function" ? (...a) => zt(h?.className(...a), f.className) : zt(h?.className, f.className), d = s ? { className: s } : {};
|
|
2464
|
-
return Fi(v, Object.assign({}, ci(v.props, Yt(or(f, ["ref"]))), m, b,
|
|
2465
|
+
return Fi(v, Object.assign({}, ci(v.props, Yt(or(f, ["ref"]))), m, b, Ts(v.ref, b.ref), d));
|
|
2465
2466
|
}
|
|
2466
2467
|
return Ai(i, Object.assign({}, or(f, ["ref"]), i !== rt && b, i !== rt && m), v);
|
|
2467
2468
|
}
|
|
2468
|
-
function
|
|
2469
|
+
function Ts(...e) {
|
|
2469
2470
|
return { ref: e.every((t) => t == null) ? void 0 : (t) => {
|
|
2470
2471
|
for (let r of e)
|
|
2471
2472
|
r != null && (typeof r == "function" ? r(t) : r.current = t);
|
|
@@ -2493,7 +2494,7 @@ function ci(...e) {
|
|
|
2493
2494
|
} });
|
|
2494
2495
|
return t;
|
|
2495
2496
|
}
|
|
2496
|
-
function
|
|
2497
|
+
function Le(e) {
|
|
2497
2498
|
var t;
|
|
2498
2499
|
return Object.assign(ct(e), { displayName: (t = e.displayName) != null ? t : e.name });
|
|
2499
2500
|
}
|
|
@@ -2514,9 +2515,9 @@ function ui(e) {
|
|
|
2514
2515
|
for (; t && !(t instanceof HTMLFieldSetElement); )
|
|
2515
2516
|
t instanceof HTMLLegendElement && (r = t), t = t.parentElement;
|
|
2516
2517
|
let n = t?.getAttribute("disabled") === "";
|
|
2517
|
-
return n &&
|
|
2518
|
+
return n && _s(r) ? !1 : n;
|
|
2518
2519
|
}
|
|
2519
|
-
function
|
|
2520
|
+
function _s(e) {
|
|
2520
2521
|
if (!e)
|
|
2521
2522
|
return !1;
|
|
2522
2523
|
let t = e.previousElementSibling;
|
|
@@ -2542,13 +2543,13 @@ function fi(e, t, r) {
|
|
|
2542
2543
|
else
|
|
2543
2544
|
r instanceof Date ? e.push([t, r.toISOString()]) : typeof r == "boolean" ? e.push([t, r ? "1" : "0"]) : typeof r == "string" ? e.push([t, r]) : typeof r == "number" ? e.push([t, `${r}`]) : r == null ? e.push([t, ""]) : Or(r, t, e);
|
|
2544
2545
|
}
|
|
2545
|
-
let
|
|
2546
|
+
let Cs = "div";
|
|
2546
2547
|
var kr = ((e) => (e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.Hidden = 4] = "Hidden", e))(kr || {});
|
|
2547
|
-
function
|
|
2548
|
+
function Rs(e, t) {
|
|
2548
2549
|
let { features: r = 1, ...n } = e, i = { ref: t, "aria-hidden": (r & 2) === 2 ? !0 : void 0, style: { position: "fixed", top: 1, left: 1, width: 1, height: 0, padding: 0, margin: -1, overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0", ...(r & 4) === 4 && (r & 2) !== 2 && { display: "none" } } };
|
|
2549
|
-
return Ne({ ourProps: i, theirProps: n, slot: {}, defaultTag:
|
|
2550
|
+
return Ne({ ourProps: i, theirProps: n, slot: {}, defaultTag: Cs, name: "Hidden" });
|
|
2550
2551
|
}
|
|
2551
|
-
let pi =
|
|
2552
|
+
let pi = Le(Rs), Sr = vt(null);
|
|
2552
2553
|
Sr.displayName = "OpenClosedContext";
|
|
2553
2554
|
var Se = ((e) => (e[e.Open = 1] = "Open", e[e.Closed = 2] = "Closed", e[e.Closing = 4] = "Closing", e[e.Opening = 8] = "Opening", e))(Se || {});
|
|
2554
2555
|
function Qt() {
|
|
@@ -2585,24 +2586,24 @@ function vi() {
|
|
|
2585
2586
|
e.current = Gr(t);
|
|
2586
2587
|
} };
|
|
2587
2588
|
}
|
|
2588
|
-
function
|
|
2589
|
+
function Ps() {
|
|
2589
2590
|
return /iPhone/gi.test(window.navigator.platform) || /Mac/gi.test(window.navigator.platform) && window.navigator.maxTouchPoints > 0;
|
|
2590
2591
|
}
|
|
2591
|
-
function
|
|
2592
|
+
function Is() {
|
|
2592
2593
|
return /Android/gi.test(window.navigator.userAgent);
|
|
2593
2594
|
}
|
|
2594
|
-
function
|
|
2595
|
-
return
|
|
2595
|
+
function js() {
|
|
2596
|
+
return Ps() || Is();
|
|
2596
2597
|
}
|
|
2597
|
-
function
|
|
2598
|
+
function Ls(...e) {
|
|
2598
2599
|
return ke(() => Jt(...e), [...e]);
|
|
2599
2600
|
}
|
|
2600
|
-
var
|
|
2601
|
+
var Fs = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(Fs || {}), As = ((e) => (e[e.Single = 0] = "Single", e[e.Multi = 1] = "Multi", e))(As || {}), Ns = ((e) => (e[e.Pointer = 0] = "Pointer", e[e.Other = 1] = "Other", e))(Ns || {}), Ds = ((e) => (e[e.OpenCombobox = 0] = "OpenCombobox", e[e.CloseCombobox = 1] = "CloseCombobox", e[e.GoToOption = 2] = "GoToOption", e[e.RegisterOption = 3] = "RegisterOption", e[e.UnregisterOption = 4] = "UnregisterOption", e[e.RegisterLabel = 5] = "RegisterLabel", e))(Ds || {});
|
|
2601
2602
|
function ar(e, t = (r) => r) {
|
|
2602
2603
|
let r = e.activeOptionIndex !== null ? e.options[e.activeOptionIndex] : null, n = oi(t(e.options.slice()), (c) => c.dataRef.current.domRef.current), i = r ? n.indexOf(r) : null;
|
|
2603
2604
|
return i === -1 && (i = null), { options: n, activeOptionIndex: i };
|
|
2604
2605
|
}
|
|
2605
|
-
let
|
|
2606
|
+
let Ms = { 1(e) {
|
|
2606
2607
|
var t;
|
|
2607
2608
|
return (t = e.dataRef.current) != null && t.disabled || e.comboboxState === 1 ? e : { ...e, activeOptionIndex: null, comboboxState: 1 };
|
|
2608
2609
|
}, 0(e) {
|
|
@@ -2658,16 +2659,16 @@ function kt(e) {
|
|
|
2658
2659
|
}
|
|
2659
2660
|
return t;
|
|
2660
2661
|
}
|
|
2661
|
-
function
|
|
2662
|
-
return be(t.type,
|
|
2662
|
+
function $s(e, t) {
|
|
2663
|
+
return be(t.type, Ms, e, t);
|
|
2663
2664
|
}
|
|
2664
|
-
let
|
|
2665
|
-
function
|
|
2666
|
-
let { value: r, defaultValue: n, onChange: i, form: c, name: o, by: f = (_, I) => _ === I, disabled: b = !1, __demoMode: v = !1, nullable: m = !1, multiple: h = !1, ...s } = e, [d = h ? [] : void 0, a] = bi(r, i, n), [u, p] = en(
|
|
2665
|
+
let Ws = rt;
|
|
2666
|
+
function Vs(e, t) {
|
|
2667
|
+
let { value: r, defaultValue: n, onChange: i, form: c, name: o, by: f = (_, I) => _ === I, disabled: b = !1, __demoMode: v = !1, nullable: m = !1, multiple: h = !1, ...s } = e, [d = h ? [] : void 0, a] = bi(r, i, n), [u, p] = en($s, { dataRef: tn(), comboboxState: v ? 0 : 1, options: [], activeOptionIndex: null, activationTrigger: 1, labelId: null }), g = j(!1), S = j({ static: !1, hold: !1 }), x = j(null), y = j(null), F = j(null), P = j(null), q = L(typeof f == "string" ? (_, I) => {
|
|
2667
2668
|
let V = f;
|
|
2668
2669
|
return _?.[V] === I?.[V];
|
|
2669
|
-
} : f), $ =
|
|
2670
|
-
if (
|
|
2670
|
+
} : f), $ = wt((_) => be(C.mode, { 1: () => d.some((I) => q(I, _)), 0: () => q(d, _) }), [d]), C = ke(() => ({ ...u, optionsPropsRef: S, labelRef: x, inputRef: y, buttonRef: F, optionsRef: P, value: d, defaultValue: n, disabled: b, mode: h ? 1 : 0, get activeOptionIndex() {
|
|
2671
|
+
if (g.current && u.activeOptionIndex === null && u.options.length > 0) {
|
|
2671
2672
|
let _ = u.options.findIndex((I) => !I.dataRef.current.disabled);
|
|
2672
2673
|
if (_ !== -1)
|
|
2673
2674
|
return _;
|
|
@@ -2677,7 +2678,7 @@ function Ws(e, t) {
|
|
|
2677
2678
|
ae(() => {
|
|
2678
2679
|
let _ = C.activeOptionIndex !== null ? C.options[C.activeOptionIndex] : null;
|
|
2679
2680
|
z.current !== _ && (z.current = _);
|
|
2680
|
-
}),
|
|
2681
|
+
}), we(() => {
|
|
2681
2682
|
u.dataRef.current = C;
|
|
2682
2683
|
}, [C]), ai([C.buttonRef, C.inputRef, C.optionsRef], () => Q.closeCombobox(), C.comboboxState === 0);
|
|
2683
2684
|
let de = ke(() => ({ open: C.comboboxState === 0, disabled: b, activeIndex: C.activeOptionIndex, activeOption: C.activeOptionIndex === null ? null : C.options[C.activeOptionIndex].dataRef.current.value, value: d }), [C, b, d]), Z = L((_) => {
|
|
@@ -2689,12 +2690,12 @@ function Ws(e, t) {
|
|
|
2689
2690
|
ne(_.current.value), Q.goToOption(te.Specific, I);
|
|
2690
2691
|
}
|
|
2691
2692
|
}), G = L(() => {
|
|
2692
|
-
p({ type: 0 }),
|
|
2693
|
+
p({ type: 0 }), g.current = !0;
|
|
2693
2694
|
}), re = L(() => {
|
|
2694
|
-
p({ type: 1 }),
|
|
2695
|
-
}), pe = L((_, I, V) => (
|
|
2695
|
+
p({ type: 1 }), g.current = !1;
|
|
2696
|
+
}), pe = L((_, I, V) => (g.current = !1, _ === te.Specific ? p({ type: 2, focus: te.Specific, id: I, trigger: V }) : p({ type: 2, focus: _, trigger: V }))), B = L((_, I) => (p({ type: 3, id: _, dataRef: I }), () => {
|
|
2696
2697
|
var V;
|
|
2697
|
-
((V = z.current) == null ? void 0 : V.id) === _ && (
|
|
2698
|
+
((V = z.current) == null ? void 0 : V.id) === _ && (g.current = !0), p({ type: 4, id: _ });
|
|
2698
2699
|
})), fe = L((_) => (p({ type: 5, id: _ }), () => p({ type: 5, id: null }))), ne = L((_) => be(C.mode, { 0() {
|
|
2699
2700
|
return a?.(_);
|
|
2700
2701
|
}, 1() {
|
|
@@ -2708,12 +2709,12 @@ function Ws(e, t) {
|
|
|
2708
2709
|
}, [ve, a]), ce.createElement(Tr.Provider, { value: Q }, ce.createElement(_r.Provider, { value: C }, ce.createElement(Er, { value: be(C.comboboxState, { 0: Se.Open, 1: Se.Closed }) }, o != null && d != null && Or({ [o]: d }).map(([_, I], V) => ce.createElement(pi, { features: kr.Hidden, ref: V === 0 ? (xe) => {
|
|
2709
2710
|
var Ce;
|
|
2710
2711
|
ve.current = (Ce = xe?.closest("form")) != null ? Ce : null;
|
|
2711
|
-
} : void 0, ...Yt({ key: _, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: c, name: _, value: I }) })), Ne({ ourProps: me, theirProps: s, slot: de, defaultTag:
|
|
2712
|
+
} : void 0, ...Yt({ key: _, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: c, name: _, value: I }) })), Ne({ ourProps: me, theirProps: s, slot: de, defaultTag: Ws, name: "Combobox" }))));
|
|
2712
2713
|
}
|
|
2713
|
-
let
|
|
2714
|
-
function
|
|
2714
|
+
let Bs = "input";
|
|
2715
|
+
function Us(e, t) {
|
|
2715
2716
|
var r, n, i, c;
|
|
2716
|
-
let o = it(), { id: f = `headlessui-combobox-input-${o}`, onChange: b, displayValue: v, type: m = "text", ...h } = e, s = kt("Combobox.Input"), d = Lt("Combobox.Input"), a = He(s.inputRef, t), u =
|
|
2717
|
+
let o = it(), { id: f = `headlessui-combobox-input-${o}`, onChange: b, displayValue: v, type: m = "text", ...h } = e, s = kt("Combobox.Input"), d = Lt("Combobox.Input"), a = He(s.inputRef, t), u = Ls(s.inputRef), p = j(!1), g = nt(), S = L(() => {
|
|
2717
2718
|
d.onChange(null), s.optionsRef.current && (s.optionsRef.current.scrollTop = 0), d.goToOption(te.Nothing);
|
|
2718
2719
|
}), x = function() {
|
|
2719
2720
|
var k;
|
|
@@ -2743,7 +2744,7 @@ function Bs(e, t) {
|
|
|
2743
2744
|
let y = j(!1), F = L(() => {
|
|
2744
2745
|
y.current = !0;
|
|
2745
2746
|
}), P = L(() => {
|
|
2746
|
-
|
|
2747
|
+
g.nextFrame(() => {
|
|
2747
2748
|
y.current = !1;
|
|
2748
2749
|
});
|
|
2749
2750
|
}), q = L((k) => {
|
|
@@ -2767,7 +2768,7 @@ function Bs(e, t) {
|
|
|
2767
2768
|
return p.current = !1, k.preventDefault(), k.stopPropagation(), be(s.comboboxState, { 0: () => {
|
|
2768
2769
|
d.goToOption(te.Previous);
|
|
2769
2770
|
}, 1: () => {
|
|
2770
|
-
d.openCombobox(),
|
|
2771
|
+
d.openCombobox(), g.nextFrame(() => {
|
|
2771
2772
|
s.value || d.goToOption(te.Last);
|
|
2772
2773
|
});
|
|
2773
2774
|
} });
|
|
@@ -2799,10 +2800,10 @@ function Bs(e, t) {
|
|
|
2799
2800
|
if (s.labelId)
|
|
2800
2801
|
return [s.labelId].join(" ");
|
|
2801
2802
|
}, [s.labelId]), de = ke(() => ({ open: s.comboboxState === 0, disabled: s.disabled }), [s]), Z = { ref: a, id: f, role: "combobox", type: m, "aria-controls": (r = s.optionsRef.current) == null ? void 0 : r.id, "aria-expanded": s.comboboxState === 0, "aria-activedescendant": s.activeOptionIndex === null || (n = s.options[s.activeOptionIndex]) == null ? void 0 : n.id, "aria-labelledby": z, "aria-autocomplete": "list", defaultValue: (c = (i = e.defaultValue) != null ? i : s.defaultValue !== void 0 ? v?.(s.defaultValue) : null) != null ? c : s.defaultValue, disabled: s.disabled, onCompositionStart: F, onCompositionEnd: P, onKeyDown: q, onChange: $, onBlur: C };
|
|
2802
|
-
return Ne({ ourProps: Z, theirProps: h, slot: de, defaultTag:
|
|
2803
|
+
return Ne({ ourProps: Z, theirProps: h, slot: de, defaultTag: Bs, name: "Combobox.Input" });
|
|
2803
2804
|
}
|
|
2804
|
-
let
|
|
2805
|
-
function
|
|
2805
|
+
let Hs = "button";
|
|
2806
|
+
function qs(e, t) {
|
|
2806
2807
|
var r;
|
|
2807
2808
|
let n = kt("Combobox.Button"), i = Lt("Combobox.Button"), c = He(n.buttonRef, t), o = it(), { id: f = `headlessui-combobox-button-${o}`, ...b } = e, v = nt(), m = L((u) => {
|
|
2808
2809
|
switch (u.key) {
|
|
@@ -2837,27 +2838,27 @@ function Hs(e, t) {
|
|
|
2837
2838
|
if (n.labelId)
|
|
2838
2839
|
return [n.labelId, f].join(" ");
|
|
2839
2840
|
}, [n.labelId, f]), d = ke(() => ({ open: n.comboboxState === 0, disabled: n.disabled, value: n.value }), [n]), a = { ref: c, id: f, type: si(e, n.buttonRef), tabIndex: -1, "aria-haspopup": "listbox", "aria-controls": (r = n.optionsRef.current) == null ? void 0 : r.id, "aria-expanded": n.comboboxState === 0, "aria-labelledby": s, disabled: n.disabled, onClick: h, onKeyDown: m };
|
|
2840
|
-
return Ne({ ourProps: a, theirProps: b, slot: d, defaultTag:
|
|
2841
|
+
return Ne({ ourProps: a, theirProps: b, slot: d, defaultTag: Hs, name: "Combobox.Button" });
|
|
2841
2842
|
}
|
|
2842
|
-
let
|
|
2843
|
-
function
|
|
2843
|
+
let zs = "label";
|
|
2844
|
+
function Ys(e, t) {
|
|
2844
2845
|
let r = it(), { id: n = `headlessui-combobox-label-${r}`, ...i } = e, c = kt("Combobox.Label"), o = Lt("Combobox.Label"), f = He(c.labelRef, t);
|
|
2845
|
-
|
|
2846
|
+
we(() => o.registerLabel(n), [n]);
|
|
2846
2847
|
let b = L(() => {
|
|
2847
2848
|
var m;
|
|
2848
2849
|
return (m = c.inputRef.current) == null ? void 0 : m.focus({ preventScroll: !0 });
|
|
2849
2850
|
}), v = ke(() => ({ open: c.comboboxState === 0, disabled: c.disabled }), [c]);
|
|
2850
|
-
return Ne({ ourProps: { ref: f, id: n, onClick: b }, theirProps: i, slot: v, defaultTag:
|
|
2851
|
+
return Ne({ ourProps: { ref: f, id: n, onClick: b }, theirProps: i, slot: v, defaultTag: zs, name: "Combobox.Label" });
|
|
2851
2852
|
}
|
|
2852
|
-
let
|
|
2853
|
-
function
|
|
2853
|
+
let Ks = "ul", Gs = yt.RenderStrategy | yt.Static;
|
|
2854
|
+
function Js(e, t) {
|
|
2854
2855
|
let r = it(), { id: n = `headlessui-combobox-options-${r}`, hold: i = !1, ...c } = e, o = kt("Combobox.Options"), f = He(o.optionsRef, t), b = Qt(), v = (() => b !== null ? (b & Se.Open) === Se.Open : o.comboboxState === 0)();
|
|
2855
|
-
|
|
2856
|
+
we(() => {
|
|
2856
2857
|
var d;
|
|
2857
2858
|
o.optionsPropsRef.current.static = (d = e.static) != null ? d : !1;
|
|
2858
|
-
}, [o.optionsPropsRef, e.static]),
|
|
2859
|
+
}, [o.optionsPropsRef, e.static]), we(() => {
|
|
2859
2860
|
o.optionsPropsRef.current.hold = i;
|
|
2860
|
-
}, [o.optionsPropsRef, i]),
|
|
2861
|
+
}, [o.optionsPropsRef, i]), Ss({ container: o.optionsRef.current, enabled: o.comboboxState === 0, accept(d) {
|
|
2861
2862
|
return d.getAttribute("role") === "option" ? NodeFilter.FILTER_REJECT : d.hasAttribute("role") ? NodeFilter.FILTER_SKIP : NodeFilter.FILTER_ACCEPT;
|
|
2862
2863
|
}, walk(d) {
|
|
2863
2864
|
d.setAttribute("role", "none");
|
|
@@ -2866,23 +2867,23 @@ function Gs(e, t) {
|
|
|
2866
2867
|
var d, a;
|
|
2867
2868
|
return (a = o.labelId) != null ? a : (d = o.buttonRef.current) == null ? void 0 : d.id;
|
|
2868
2869
|
}, [o.labelId, o.buttonRef.current]), h = ke(() => ({ open: o.comboboxState === 0 }), [o]), s = { "aria-labelledby": m, role: "listbox", "aria-multiselectable": o.mode === 1 ? !0 : void 0, id: n, ref: f };
|
|
2869
|
-
return Ne({ ourProps: s, theirProps: c, slot: h, defaultTag:
|
|
2870
|
+
return Ne({ ourProps: s, theirProps: c, slot: h, defaultTag: Ks, features: Gs, visible: v, name: "Combobox.Options" });
|
|
2870
2871
|
}
|
|
2871
|
-
let
|
|
2872
|
-
function
|
|
2872
|
+
let Qs = "li";
|
|
2873
|
+
function Xs(e, t) {
|
|
2873
2874
|
var r, n;
|
|
2874
2875
|
let i = it(), { id: c = `headlessui-combobox-option-${i}`, disabled: o = !1, value: f, ...b } = e, v = kt("Combobox.Option"), m = Lt("Combobox.Option"), h = v.activeOptionIndex !== null ? v.options[v.activeOptionIndex].id === c : !1, s = v.isSelected(f), d = j(null), a = ze({ disabled: o, value: f, domRef: d, textValue: (n = (r = d.current) == null ? void 0 : r.textContent) == null ? void 0 : n.toLowerCase() }), u = He(t, d), p = L(() => m.selectOption(c));
|
|
2875
|
-
|
|
2876
|
-
let
|
|
2877
|
-
|
|
2876
|
+
we(() => m.registerOption(c, a), [a, c]);
|
|
2877
|
+
let g = j(!v.__demoMode);
|
|
2878
|
+
we(() => {
|
|
2878
2879
|
if (!v.__demoMode)
|
|
2879
2880
|
return;
|
|
2880
2881
|
let C = Je();
|
|
2881
2882
|
return C.requestAnimationFrame(() => {
|
|
2882
|
-
|
|
2883
|
+
g.current = !0;
|
|
2883
2884
|
}), C.dispose;
|
|
2884
|
-
}, []),
|
|
2885
|
-
if (v.comboboxState !== 0 || !h || !
|
|
2885
|
+
}, []), we(() => {
|
|
2886
|
+
if (v.comboboxState !== 0 || !h || !g.current || v.activationTrigger === 0)
|
|
2886
2887
|
return;
|
|
2887
2888
|
let C = Je();
|
|
2888
2889
|
return C.requestAnimationFrame(() => {
|
|
@@ -2893,7 +2894,7 @@ function Qs(e, t) {
|
|
|
2893
2894
|
let S = L((C) => {
|
|
2894
2895
|
if (o)
|
|
2895
2896
|
return C.preventDefault();
|
|
2896
|
-
p(), v.mode === 0 && m.closeCombobox(),
|
|
2897
|
+
p(), v.mode === 0 && m.closeCombobox(), js() || requestAnimationFrame(() => {
|
|
2897
2898
|
var z;
|
|
2898
2899
|
return (z = v.inputRef.current) == null ? void 0 : z.focus();
|
|
2899
2900
|
});
|
|
@@ -2906,12 +2907,12 @@ function Qs(e, t) {
|
|
|
2906
2907
|
}), q = L((C) => {
|
|
2907
2908
|
y.wasMoved(C) && (o || h && (v.optionsPropsRef.current.hold || m.goToOption(te.Nothing)));
|
|
2908
2909
|
}), $ = ke(() => ({ active: h, selected: s, disabled: o }), [h, s, o]);
|
|
2909
|
-
return Ne({ ourProps: { id: c, ref: u, role: "option", tabIndex: o === !0 ? void 0 : -1, "aria-disabled": o === !0 ? !0 : void 0, "aria-selected": s, disabled: void 0, onClick: S, onFocus: x, onPointerEnter: F, onMouseEnter: F, onPointerMove: P, onMouseMove: P, onPointerLeave: q, onMouseLeave: q }, theirProps: b, slot: $, defaultTag:
|
|
2910
|
+
return Ne({ ourProps: { id: c, ref: u, role: "option", tabIndex: o === !0 ? void 0 : -1, "aria-disabled": o === !0 ? !0 : void 0, "aria-selected": s, disabled: void 0, onClick: S, onFocus: x, onPointerEnter: F, onMouseEnter: F, onPointerMove: P, onMouseMove: P, onPointerLeave: q, onMouseLeave: q }, theirProps: b, slot: $, defaultTag: Qs, name: "Combobox.Option" });
|
|
2910
2911
|
}
|
|
2911
|
-
let
|
|
2912
|
+
let Zs = Le(Vs), el = Le(qs), tl = Le(Us), rl = Le(Ys), nl = Le(Js), il = Le(Xs), Rt = Object.assign(Zs, { Input: tl, Button: el, Label: rl, Options: nl, Option: il });
|
|
2912
2913
|
function Cr() {
|
|
2913
2914
|
let e = j(!1);
|
|
2914
|
-
return
|
|
2915
|
+
return we(() => (e.current = !0, () => {
|
|
2915
2916
|
e.current = !1;
|
|
2916
2917
|
}), []), e;
|
|
2917
2918
|
}
|
|
@@ -2927,7 +2928,7 @@ function Qr(e) {
|
|
|
2927
2928
|
let o = c ? (r = i.innerText) != null ? r : "" : n;
|
|
2928
2929
|
return Jr.test(o) && (o = o.replace(Jr, "")), o;
|
|
2929
2930
|
}
|
|
2930
|
-
function
|
|
2931
|
+
function ol(e) {
|
|
2931
2932
|
let t = e.getAttribute("aria-label");
|
|
2932
2933
|
if (typeof t == "string")
|
|
2933
2934
|
return t.trim();
|
|
@@ -2946,7 +2947,7 @@ function il(e) {
|
|
|
2946
2947
|
}
|
|
2947
2948
|
return Qr(e).trim();
|
|
2948
2949
|
}
|
|
2949
|
-
function
|
|
2950
|
+
function al(e) {
|
|
2950
2951
|
let t = j(""), r = j("");
|
|
2951
2952
|
return L(() => {
|
|
2952
2953
|
let n = e.current;
|
|
@@ -2955,16 +2956,16 @@ function ol(e) {
|
|
|
2955
2956
|
let i = n.innerText;
|
|
2956
2957
|
if (t.current === i)
|
|
2957
2958
|
return r.current;
|
|
2958
|
-
let c =
|
|
2959
|
+
let c = ol(n).trim().toLowerCase();
|
|
2959
2960
|
return t.current = i, r.current = c, c;
|
|
2960
2961
|
});
|
|
2961
2962
|
}
|
|
2962
|
-
var
|
|
2963
|
+
var sl = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(sl || {}), ll = ((e) => (e[e.Single = 0] = "Single", e[e.Multi = 1] = "Multi", e))(ll || {}), cl = ((e) => (e[e.Pointer = 0] = "Pointer", e[e.Other = 1] = "Other", e))(cl || {}), ul = ((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.RegisterLabel = 7] = "RegisterLabel", e))(ul || {});
|
|
2963
2964
|
function sr(e, t = (r) => r) {
|
|
2964
2965
|
let r = e.activeOptionIndex !== null ? e.options[e.activeOptionIndex] : null, n = oi(t(e.options.slice()), (c) => c.dataRef.current.domRef.current), i = r ? n.indexOf(r) : null;
|
|
2965
2966
|
return i === -1 && (i = null), { options: n, activeOptionIndex: i };
|
|
2966
2967
|
}
|
|
2967
|
-
let
|
|
2968
|
+
let dl = { 1(e) {
|
|
2968
2969
|
return e.dataRef.current.disabled || e.listboxState === 1 ? e : { ...e, activeOptionIndex: null, listboxState: 1 };
|
|
2969
2970
|
}, 0(e) {
|
|
2970
2971
|
if (e.dataRef.current.disabled || e.listboxState === 0)
|
|
@@ -3016,22 +3017,22 @@ function At(e) {
|
|
|
3016
3017
|
}
|
|
3017
3018
|
return t;
|
|
3018
3019
|
}
|
|
3019
|
-
function
|
|
3020
|
-
return be(t.type,
|
|
3020
|
+
function fl(e, t) {
|
|
3021
|
+
return be(t.type, dl, e, t);
|
|
3021
3022
|
}
|
|
3022
|
-
let
|
|
3023
|
-
function
|
|
3023
|
+
let pl = rt;
|
|
3024
|
+
function bl(e, t) {
|
|
3024
3025
|
let { value: r, defaultValue: n, form: i, name: c, onChange: o, by: f = (_, I) => _ === I, disabled: b = !1, horizontal: v = !1, multiple: m = !1, ...h } = e;
|
|
3025
3026
|
const s = v ? "horizontal" : "vertical";
|
|
3026
|
-
let d = He(t), [a = m ? [] : void 0, u] = bi(r, o, n), [p,
|
|
3027
|
+
let d = He(t), [a = m ? [] : void 0, u] = bi(r, o, n), [p, g] = en(fl, { dataRef: tn(), listboxState: 1, options: [], searchQuery: "", labelId: null, activeOptionIndex: null, activationTrigger: 1 }), S = j({ static: !1, hold: !1 }), x = j(null), y = j(null), F = j(null), P = L(typeof f == "string" ? (_, I) => {
|
|
3027
3028
|
let V = f;
|
|
3028
3029
|
return _?.[V] === I?.[V];
|
|
3029
|
-
} : f), q =
|
|
3030
|
-
|
|
3030
|
+
} : f), q = wt((_) => be($.mode, { 1: () => a.some((I) => P(I, _)), 0: () => P(a, _) }), [a]), $ = ke(() => ({ ...p, value: a, disabled: b, mode: m ? 1 : 0, orientation: s, compare: P, isSelected: q, optionsPropsRef: S, labelRef: x, buttonRef: y, optionsRef: F }), [a, b, m, p]);
|
|
3031
|
+
we(() => {
|
|
3031
3032
|
p.dataRef.current = $;
|
|
3032
3033
|
}, [$]), ai([$.buttonRef, $.optionsRef], (_, I) => {
|
|
3033
3034
|
var V;
|
|
3034
|
-
|
|
3035
|
+
g({ type: 1 }), ii(I, yr.Loose) || (_.preventDefault(), (V = $.buttonRef.current) == null || V.focus());
|
|
3035
3036
|
}, $.listboxState === 0);
|
|
3036
3037
|
let C = ke(() => ({ open: $.listboxState === 0, disabled: b, value: a }), [$, b, a]), z = L((_) => {
|
|
3037
3038
|
let I = $.options.find((V) => V.id === _);
|
|
@@ -3039,14 +3040,14 @@ function pl(e, t) {
|
|
|
3039
3040
|
}), de = L(() => {
|
|
3040
3041
|
if ($.activeOptionIndex !== null) {
|
|
3041
3042
|
let { dataRef: _, id: I } = $.options[$.activeOptionIndex];
|
|
3042
|
-
B(_.current.value),
|
|
3043
|
+
B(_.current.value), g({ type: 2, focus: te.Specific, id: I });
|
|
3043
3044
|
}
|
|
3044
|
-
}), Z = L(() =>
|
|
3045
|
+
}), Z = L(() => g({ type: 0 })), k = L(() => g({ type: 1 })), G = L((_, I, V) => _ === te.Specific ? g({ type: 2, focus: te.Specific, id: I, trigger: V }) : g({ type: 2, focus: _, trigger: V })), re = L((_, I) => (g({ type: 5, id: _, dataRef: I }), () => g({ type: 6, id: _ }))), pe = L((_) => (g({ type: 7, id: _ }), () => g({ type: 7, id: null }))), B = L((_) => be($.mode, { 0() {
|
|
3045
3046
|
return u?.(_);
|
|
3046
3047
|
}, 1() {
|
|
3047
3048
|
let I = $.value.slice(), V = I.findIndex((xe) => P(xe, _));
|
|
3048
3049
|
return V === -1 ? I.push(_) : I.splice(V, 1), u?.(I);
|
|
3049
|
-
} })), fe = L((_) =>
|
|
3050
|
+
} })), fe = L((_) => g({ type: 3, value: _ })), ne = L(() => g({ type: 4 })), Q = ke(() => ({ onChange: B, registerOption: re, registerLabel: pe, goToOption: G, closeListbox: k, openListbox: Z, selectActiveOption: de, selectOption: z, search: fe, clearSearch: ne }), []), me = { ref: d }, ve = j(null), le = nt();
|
|
3050
3051
|
return ae(() => {
|
|
3051
3052
|
ve.current && n !== void 0 && le.addEventListener(ve.current, "reset", () => {
|
|
3052
3053
|
u?.(n);
|
|
@@ -3054,10 +3055,10 @@ function pl(e, t) {
|
|
|
3054
3055
|
}, [ve, u]), ce.createElement(Rr.Provider, { value: Q }, ce.createElement(Pr.Provider, { value: $ }, ce.createElement(Er, { value: be($.listboxState, { 0: Se.Open, 1: Se.Closed }) }, c != null && a != null && Or({ [c]: a }).map(([_, I], V) => ce.createElement(pi, { features: kr.Hidden, ref: V === 0 ? (xe) => {
|
|
3055
3056
|
var Ce;
|
|
3056
3057
|
ve.current = (Ce = xe?.closest("form")) != null ? Ce : null;
|
|
3057
|
-
} : void 0, ...Yt({ key: _, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: i, name: _, value: I }) })), Ne({ ourProps: me, theirProps: h, slot: C, defaultTag:
|
|
3058
|
+
} : void 0, ...Yt({ key: _, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: i, name: _, value: I }) })), Ne({ ourProps: me, theirProps: h, slot: C, defaultTag: pl, name: "Listbox" }))));
|
|
3058
3059
|
}
|
|
3059
|
-
let
|
|
3060
|
-
function
|
|
3060
|
+
let vl = "button";
|
|
3061
|
+
function ml(e, t) {
|
|
3061
3062
|
var r;
|
|
3062
3063
|
let n = it(), { id: i = `headlessui-listbox-button-${n}`, ...c } = e, o = At("Listbox.Button"), f = Ft("Listbox.Button"), b = He(o.buttonRef, t), v = nt(), m = L((p) => {
|
|
3063
3064
|
switch (p.key) {
|
|
@@ -3084,41 +3085,41 @@ function vl(e, t) {
|
|
|
3084
3085
|
if (ui(p.currentTarget))
|
|
3085
3086
|
return p.preventDefault();
|
|
3086
3087
|
o.listboxState === 0 ? (f.closeListbox(), v.nextFrame(() => {
|
|
3087
|
-
var
|
|
3088
|
-
return (
|
|
3088
|
+
var g;
|
|
3089
|
+
return (g = o.buttonRef.current) == null ? void 0 : g.focus({ preventScroll: !0 });
|
|
3089
3090
|
})) : (p.preventDefault(), f.openListbox());
|
|
3090
3091
|
}), d = jt(() => {
|
|
3091
3092
|
if (o.labelId)
|
|
3092
3093
|
return [o.labelId, i].join(" ");
|
|
3093
3094
|
}, [o.labelId, i]), a = ke(() => ({ open: o.listboxState === 0, disabled: o.disabled, value: o.value }), [o]), u = { ref: b, id: i, type: si(e, o.buttonRef), "aria-haspopup": "listbox", "aria-controls": (r = o.optionsRef.current) == null ? void 0 : r.id, "aria-expanded": o.listboxState === 0, "aria-labelledby": d, disabled: o.disabled, onKeyDown: m, onKeyUp: h, onClick: s };
|
|
3094
|
-
return Ne({ ourProps: u, theirProps: c, slot: a, defaultTag:
|
|
3095
|
+
return Ne({ ourProps: u, theirProps: c, slot: a, defaultTag: vl, name: "Listbox.Button" });
|
|
3095
3096
|
}
|
|
3096
|
-
let
|
|
3097
|
-
function
|
|
3097
|
+
let hl = "label";
|
|
3098
|
+
function gl(e, t) {
|
|
3098
3099
|
let r = it(), { id: n = `headlessui-listbox-label-${r}`, ...i } = e, c = At("Listbox.Label"), o = Ft("Listbox.Label"), f = He(c.labelRef, t);
|
|
3099
|
-
|
|
3100
|
+
we(() => o.registerLabel(n), [n]);
|
|
3100
3101
|
let b = L(() => {
|
|
3101
3102
|
var m;
|
|
3102
3103
|
return (m = c.buttonRef.current) == null ? void 0 : m.focus({ preventScroll: !0 });
|
|
3103
3104
|
}), v = ke(() => ({ open: c.listboxState === 0, disabled: c.disabled }), [c]);
|
|
3104
|
-
return Ne({ ourProps: { ref: f, id: n, onClick: b }, theirProps: i, slot: v, defaultTag:
|
|
3105
|
+
return Ne({ ourProps: { ref: f, id: n, onClick: b }, theirProps: i, slot: v, defaultTag: hl, name: "Listbox.Label" });
|
|
3105
3106
|
}
|
|
3106
|
-
let wl = "ul",
|
|
3107
|
-
function
|
|
3107
|
+
let wl = "ul", xl = yt.RenderStrategy | yt.Static;
|
|
3108
|
+
function yl(e, t) {
|
|
3108
3109
|
var r;
|
|
3109
3110
|
let n = it(), { id: i = `headlessui-listbox-options-${n}`, ...c } = e, o = At("Listbox.Options"), f = Ft("Listbox.Options"), b = He(o.optionsRef, t), v = nt(), m = nt(), h = Qt(), s = (() => h !== null ? (h & Se.Open) === Se.Open : o.listboxState === 0)();
|
|
3110
3111
|
ae(() => {
|
|
3111
|
-
var
|
|
3112
|
+
var g;
|
|
3112
3113
|
let S = o.optionsRef.current;
|
|
3113
|
-
S && o.listboxState === 0 && S !== ((
|
|
3114
|
+
S && o.listboxState === 0 && S !== ((g = Jt(S)) == null ? void 0 : g.activeElement) && S.focus({ preventScroll: !0 });
|
|
3114
3115
|
}, [o.listboxState, o.optionsRef]);
|
|
3115
|
-
let d = L((
|
|
3116
|
-
switch (m.dispose(),
|
|
3116
|
+
let d = L((g) => {
|
|
3117
|
+
switch (m.dispose(), g.key) {
|
|
3117
3118
|
case ee.Space:
|
|
3118
3119
|
if (o.searchQuery !== "")
|
|
3119
|
-
return
|
|
3120
|
+
return g.preventDefault(), g.stopPropagation(), f.search(g.key);
|
|
3120
3121
|
case ee.Enter:
|
|
3121
|
-
if (
|
|
3122
|
+
if (g.preventDefault(), g.stopPropagation(), o.activeOptionIndex !== null) {
|
|
3122
3123
|
let { dataRef: S } = o.options[o.activeOptionIndex];
|
|
3123
3124
|
f.onChange(S.current.value);
|
|
3124
3125
|
}
|
|
@@ -3128,39 +3129,39 @@ function xl(e, t) {
|
|
|
3128
3129
|
}));
|
|
3129
3130
|
break;
|
|
3130
3131
|
case be(o.orientation, { vertical: ee.ArrowDown, horizontal: ee.ArrowRight }):
|
|
3131
|
-
return
|
|
3132
|
+
return g.preventDefault(), g.stopPropagation(), f.goToOption(te.Next);
|
|
3132
3133
|
case be(o.orientation, { vertical: ee.ArrowUp, horizontal: ee.ArrowLeft }):
|
|
3133
|
-
return
|
|
3134
|
+
return g.preventDefault(), g.stopPropagation(), f.goToOption(te.Previous);
|
|
3134
3135
|
case ee.Home:
|
|
3135
3136
|
case ee.PageUp:
|
|
3136
|
-
return
|
|
3137
|
+
return g.preventDefault(), g.stopPropagation(), f.goToOption(te.First);
|
|
3137
3138
|
case ee.End:
|
|
3138
3139
|
case ee.PageDown:
|
|
3139
|
-
return
|
|
3140
|
+
return g.preventDefault(), g.stopPropagation(), f.goToOption(te.Last);
|
|
3140
3141
|
case ee.Escape:
|
|
3141
|
-
return
|
|
3142
|
+
return g.preventDefault(), g.stopPropagation(), f.closeListbox(), v.nextFrame(() => {
|
|
3142
3143
|
var S;
|
|
3143
3144
|
return (S = o.buttonRef.current) == null ? void 0 : S.focus({ preventScroll: !0 });
|
|
3144
3145
|
});
|
|
3145
3146
|
case ee.Tab:
|
|
3146
|
-
|
|
3147
|
+
g.preventDefault(), g.stopPropagation();
|
|
3147
3148
|
break;
|
|
3148
3149
|
default:
|
|
3149
|
-
|
|
3150
|
+
g.key.length === 1 && (f.search(g.key), m.setTimeout(() => f.clearSearch(), 350));
|
|
3150
3151
|
break;
|
|
3151
3152
|
}
|
|
3152
3153
|
}), a = jt(() => {
|
|
3153
|
-
var
|
|
3154
|
-
return (x = (
|
|
3154
|
+
var g, S, x;
|
|
3155
|
+
return (x = (g = o.labelRef.current) == null ? void 0 : g.id) != null ? x : (S = o.buttonRef.current) == null ? void 0 : S.id;
|
|
3155
3156
|
}, [o.labelRef.current, o.buttonRef.current]), u = ke(() => ({ open: o.listboxState === 0 }), [o]), p = { "aria-activedescendant": o.activeOptionIndex === null || (r = o.options[o.activeOptionIndex]) == null ? void 0 : r.id, "aria-multiselectable": o.mode === 1 ? !0 : void 0, "aria-labelledby": a, "aria-orientation": o.orientation, id: i, onKeyDown: d, role: "listbox", tabIndex: 0, ref: b };
|
|
3156
|
-
return Ne({ ourProps: p, theirProps: c, slot: u, defaultTag: wl, features:
|
|
3157
|
+
return Ne({ ourProps: p, theirProps: c, slot: u, defaultTag: wl, features: xl, visible: s, name: "Listbox.Options" });
|
|
3157
3158
|
}
|
|
3158
|
-
let
|
|
3159
|
-
function
|
|
3160
|
-
let r = it(), { id: n = `headlessui-listbox-option-${r}`, disabled: i = !1, value: c, ...o } = e, f = At("Listbox.Option"), b = Ft("Listbox.Option"), v = f.activeOptionIndex !== null ? f.options[f.activeOptionIndex].id === n : !1, m = f.isSelected(c), h = j(null), s =
|
|
3159
|
+
let Ol = "li";
|
|
3160
|
+
function kl(e, t) {
|
|
3161
|
+
let r = it(), { id: n = `headlessui-listbox-option-${r}`, disabled: i = !1, value: c, ...o } = e, f = At("Listbox.Option"), b = Ft("Listbox.Option"), v = f.activeOptionIndex !== null ? f.options[f.activeOptionIndex].id === n : !1, m = f.isSelected(c), h = j(null), s = al(h), d = ze({ disabled: i, value: c, domRef: h, get textValue() {
|
|
3161
3162
|
return s();
|
|
3162
3163
|
} }), a = He(t, h);
|
|
3163
|
-
|
|
3164
|
+
we(() => {
|
|
3164
3165
|
if (f.listboxState !== 0 || !v || f.activationTrigger === 0)
|
|
3165
3166
|
return;
|
|
3166
3167
|
let P = Je();
|
|
@@ -3168,7 +3169,7 @@ function Ol(e, t) {
|
|
|
3168
3169
|
var q, $;
|
|
3169
3170
|
($ = (q = h.current) == null ? void 0 : q.scrollIntoView) == null || $.call(q, { block: "nearest" });
|
|
3170
3171
|
}), P.dispose;
|
|
3171
|
-
}, [h, v, f.listboxState, f.activationTrigger, f.activeOptionIndex]),
|
|
3172
|
+
}, [h, v, f.listboxState, f.activationTrigger, f.activeOptionIndex]), we(() => b.registerOption(n, d), [d, n]);
|
|
3172
3173
|
let u = L((P) => {
|
|
3173
3174
|
if (i)
|
|
3174
3175
|
return P.preventDefault();
|
|
@@ -3180,25 +3181,25 @@ function Ol(e, t) {
|
|
|
3180
3181
|
if (i)
|
|
3181
3182
|
return b.goToOption(te.Nothing);
|
|
3182
3183
|
b.goToOption(te.Specific, n);
|
|
3183
|
-
}),
|
|
3184
|
-
|
|
3184
|
+
}), g = vi(), S = L((P) => g.update(P)), x = L((P) => {
|
|
3185
|
+
g.wasMoved(P) && (i || v || b.goToOption(te.Specific, n, 0));
|
|
3185
3186
|
}), y = L((P) => {
|
|
3186
|
-
|
|
3187
|
+
g.wasMoved(P) && (i || v && b.goToOption(te.Nothing));
|
|
3187
3188
|
}), F = ke(() => ({ active: v, selected: m, disabled: i }), [v, m, i]);
|
|
3188
|
-
return Ne({ ourProps: { id: n, ref: a, role: "option", tabIndex: i === !0 ? void 0 : -1, "aria-disabled": i === !0 ? !0 : void 0, "aria-selected": m, disabled: void 0, onClick: u, onFocus: p, onPointerEnter: S, onMouseEnter: S, onPointerMove: x, onMouseMove: x, onPointerLeave: y, onMouseLeave: y }, theirProps: o, slot: F, defaultTag:
|
|
3189
|
+
return Ne({ ourProps: { id: n, ref: a, role: "option", tabIndex: i === !0 ? void 0 : -1, "aria-disabled": i === !0 ? !0 : void 0, "aria-selected": m, disabled: void 0, onClick: u, onFocus: p, onPointerEnter: S, onMouseEnter: S, onPointerMove: x, onMouseMove: x, onPointerLeave: y, onMouseLeave: y }, theirProps: o, slot: F, defaultTag: Ol, name: "Listbox.Option" });
|
|
3189
3190
|
}
|
|
3190
|
-
let
|
|
3191
|
-
function
|
|
3192
|
-
let [t, r] = oe(e), n = Cr(), i =
|
|
3191
|
+
let Sl = Le(bl), El = Le(ml), Tl = Le(gl), _l = Le(yl), Cl = Le(kl), Kt = Object.assign(Sl, { Button: El, Label: Tl, Options: _l, Option: Cl });
|
|
3192
|
+
function Rl(e = 0) {
|
|
3193
|
+
let [t, r] = oe(e), n = Cr(), i = wt((b) => {
|
|
3193
3194
|
n.current && r((v) => v | b);
|
|
3194
|
-
}, [t, n]), c =
|
|
3195
|
+
}, [t, n]), c = wt((b) => !!(t & b), [t]), o = wt((b) => {
|
|
3195
3196
|
n.current && r((v) => v & ~b);
|
|
3196
|
-
}, [r, n]), f =
|
|
3197
|
+
}, [r, n]), f = wt((b) => {
|
|
3197
3198
|
n.current && r((v) => v ^ b);
|
|
3198
3199
|
}, [r]);
|
|
3199
3200
|
return { flags: t, addFlag: i, hasFlag: c, removeFlag: o, toggleFlag: f };
|
|
3200
3201
|
}
|
|
3201
|
-
function
|
|
3202
|
+
function Pl(e) {
|
|
3202
3203
|
let t = { called: !1 };
|
|
3203
3204
|
return (...r) => {
|
|
3204
3205
|
if (!t.called)
|
|
@@ -3211,7 +3212,7 @@ function lr(e, ...t) {
|
|
|
3211
3212
|
function cr(e, ...t) {
|
|
3212
3213
|
e && t.length > 0 && e.classList.remove(...t);
|
|
3213
3214
|
}
|
|
3214
|
-
function
|
|
3215
|
+
function Il(e, t) {
|
|
3215
3216
|
let r = Je();
|
|
3216
3217
|
if (!e)
|
|
3217
3218
|
return r.dispose;
|
|
@@ -3234,25 +3235,25 @@ function Pl(e, t) {
|
|
|
3234
3235
|
t();
|
|
3235
3236
|
return r.add(() => t()), r.dispose;
|
|
3236
3237
|
}
|
|
3237
|
-
function
|
|
3238
|
-
let i = r ? "enter" : "leave", c = Je(), o = n !== void 0 ?
|
|
3238
|
+
function jl(e, t, r, n) {
|
|
3239
|
+
let i = r ? "enter" : "leave", c = Je(), o = n !== void 0 ? Pl(n) : () => {
|
|
3239
3240
|
};
|
|
3240
3241
|
i === "enter" && (e.removeAttribute("hidden"), e.style.display = "");
|
|
3241
3242
|
let f = be(i, { enter: () => t.enter, leave: () => t.leave }), b = be(i, { enter: () => t.enterTo, leave: () => t.leaveTo }), v = be(i, { enter: () => t.enterFrom, leave: () => t.leaveFrom });
|
|
3242
3243
|
return cr(e, ...t.base, ...t.enter, ...t.enterTo, ...t.enterFrom, ...t.leave, ...t.leaveFrom, ...t.leaveTo, ...t.entered), lr(e, ...t.base, ...f, ...v), c.nextFrame(() => {
|
|
3243
|
-
cr(e, ...t.base, ...f, ...v), lr(e, ...t.base, ...f, ...b),
|
|
3244
|
+
cr(e, ...t.base, ...f, ...v), lr(e, ...t.base, ...f, ...b), Il(e, () => (cr(e, ...t.base, ...f), lr(e, ...t.base, ...t.entered), o()));
|
|
3244
3245
|
}), c.dispose;
|
|
3245
3246
|
}
|
|
3246
|
-
function
|
|
3247
|
+
function Ll({ immediate: e, container: t, direction: r, classes: n, onStart: i, onStop: c }) {
|
|
3247
3248
|
let o = Cr(), f = nt(), b = ze(r);
|
|
3248
|
-
|
|
3249
|
+
we(() => {
|
|
3249
3250
|
e && (b.current = "enter");
|
|
3250
|
-
}, [e]),
|
|
3251
|
+
}, [e]), we(() => {
|
|
3251
3252
|
let v = Je();
|
|
3252
3253
|
f.add(v.dispose);
|
|
3253
3254
|
let m = t.current;
|
|
3254
3255
|
if (m && b.current !== "idle" && o.current)
|
|
3255
|
-
return v.dispose(), i.current(b.current), v.add(
|
|
3256
|
+
return v.dispose(), i.current(b.current), v.add(jl(m, n.current, b.current === "enter", () => {
|
|
3256
3257
|
v.dispose(), c.current(b.current);
|
|
3257
3258
|
})), v.dispose;
|
|
3258
3259
|
}, [r]);
|
|
@@ -3262,14 +3263,14 @@ function st(e = "") {
|
|
|
3262
3263
|
}
|
|
3263
3264
|
let Xt = vt(null);
|
|
3264
3265
|
Xt.displayName = "TransitionContext";
|
|
3265
|
-
var
|
|
3266
|
-
function
|
|
3266
|
+
var Fl = ((e) => (e.Visible = "visible", e.Hidden = "hidden", e))(Fl || {});
|
|
3267
|
+
function Al() {
|
|
3267
3268
|
let e = ut(Xt);
|
|
3268
3269
|
if (e === null)
|
|
3269
3270
|
throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");
|
|
3270
3271
|
return e;
|
|
3271
3272
|
}
|
|
3272
|
-
function
|
|
3273
|
+
function Nl() {
|
|
3273
3274
|
let e = ut(Zt);
|
|
3274
3275
|
if (e === null)
|
|
3275
3276
|
throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");
|
|
@@ -3298,36 +3299,36 @@ function mi(e, t) {
|
|
|
3298
3299
|
b.current.splice(0), t && (t.chains.current[a] = t.chains.current[a].filter(([p]) => p !== d)), t?.chains.current[a].push([d, new Promise((p) => {
|
|
3299
3300
|
b.current.push(p);
|
|
3300
3301
|
})]), t?.chains.current[a].push([d, new Promise((p) => {
|
|
3301
|
-
Promise.all(m.current[a].map(([
|
|
3302
|
+
Promise.all(m.current[a].map(([g, S]) => S)).then(() => p());
|
|
3302
3303
|
})]), a === "enter" ? v.current = v.current.then(() => t?.wait.current).then(() => u(a)) : u(a);
|
|
3303
3304
|
}), s = L((d, a, u) => {
|
|
3304
|
-
Promise.all(m.current[a].splice(0).map(([p,
|
|
3305
|
+
Promise.all(m.current[a].splice(0).map(([p, g]) => g)).then(() => {
|
|
3305
3306
|
var p;
|
|
3306
3307
|
(p = b.current.shift()) == null || p();
|
|
3307
3308
|
}).then(() => u(a));
|
|
3308
3309
|
});
|
|
3309
3310
|
return ke(() => ({ children: n, register: f, unregister: o, onStart: h, onStop: s, wait: v, chains: m }), [f, o, n, h, s, m, v]);
|
|
3310
3311
|
}
|
|
3311
|
-
function
|
|
3312
|
+
function Dl() {
|
|
3312
3313
|
}
|
|
3313
|
-
let
|
|
3314
|
+
let Ml = ["beforeEnter", "afterEnter", "beforeLeave", "afterLeave"];
|
|
3314
3315
|
function Xr(e) {
|
|
3315
3316
|
var t;
|
|
3316
3317
|
let r = {};
|
|
3317
|
-
for (let n of
|
|
3318
|
-
r[n] = (t = e[n]) != null ? t :
|
|
3318
|
+
for (let n of Ml)
|
|
3319
|
+
r[n] = (t = e[n]) != null ? t : Dl;
|
|
3319
3320
|
return r;
|
|
3320
3321
|
}
|
|
3321
|
-
function
|
|
3322
|
+
function $l(e) {
|
|
3322
3323
|
let t = j(Xr(e));
|
|
3323
3324
|
return ae(() => {
|
|
3324
3325
|
t.current = Xr(e);
|
|
3325
3326
|
}, [e]), t;
|
|
3326
3327
|
}
|
|
3327
|
-
let
|
|
3328
|
-
function
|
|
3328
|
+
let Wl = "div", hi = yt.RenderStrategy;
|
|
3329
|
+
function Vl(e, t) {
|
|
3329
3330
|
var r, n;
|
|
3330
|
-
let { beforeEnter: i, afterEnter: c, beforeLeave: o, afterLeave: f, enter: b, enterFrom: v, enterTo: m, entered: h, leave: s, leaveFrom: d, leaveTo: a, ...u } = e, p = j(null),
|
|
3331
|
+
let { beforeEnter: i, afterEnter: c, beforeLeave: o, afterLeave: f, enter: b, enterFrom: v, enterTo: m, entered: h, leave: s, leaveFrom: d, leaveTo: a, ...u } = e, p = j(null), g = He(p, t), S = (r = u.unmount) == null || r ? lt.Unmount : lt.Hidden, { show: x, appear: y, initial: F } = Al(), [P, q] = oe(x ? "visible" : "hidden"), $ = Nl(), { register: C, unregister: z } = $;
|
|
3331
3332
|
ae(() => C(p), [C, p]), ae(() => {
|
|
3332
3333
|
if (S === lt.Hidden && p.current) {
|
|
3333
3334
|
if (x && P !== "visible") {
|
|
@@ -3337,12 +3338,12 @@ function Wl(e, t) {
|
|
|
3337
3338
|
return be(P, { hidden: () => z(p), visible: () => C(p) });
|
|
3338
3339
|
}
|
|
3339
3340
|
}, [P, p, C, z, x, S]);
|
|
3340
|
-
let de = ze({ base: st(u.className), enter: st(b), enterFrom: st(v), enterTo: st(m), entered: st(h), leave: st(s), leaveFrom: st(d), leaveTo: st(a) }), Z =
|
|
3341
|
+
let de = ze({ base: st(u.className), enter: st(b), enterFrom: st(v), enterTo: st(m), entered: st(h), leave: st(s), leaveFrom: st(d), leaveTo: st(a) }), Z = $l({ beforeEnter: i, afterEnter: c, beforeLeave: o, afterLeave: f }), k = xr();
|
|
3341
3342
|
ae(() => {
|
|
3342
3343
|
if (k && P === "visible" && p.current === null)
|
|
3343
3344
|
throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
|
|
3344
3345
|
}, [p, P, k]);
|
|
3345
|
-
let G = F && !y, re = y && x && F, pe = (() => !k || G ? "idle" : x ? "enter" : "leave")(), B =
|
|
3346
|
+
let G = F && !y, re = y && x && F, pe = (() => !k || G ? "idle" : x ? "enter" : "leave")(), B = Rl(0), fe = L((le) => be(le, { enter: () => {
|
|
3346
3347
|
B.addFlag(Se.Opening), Z.current.beforeEnter();
|
|
3347
3348
|
}, leave: () => {
|
|
3348
3349
|
B.addFlag(Se.Closing), Z.current.beforeLeave();
|
|
@@ -3355,15 +3356,15 @@ function Wl(e, t) {
|
|
|
3355
3356
|
} })), Q = mi(() => {
|
|
3356
3357
|
q("hidden"), z(p);
|
|
3357
3358
|
}, $);
|
|
3358
|
-
|
|
3359
|
+
Ll({ immediate: re, container: p, classes: de, direction: pe, onStart: ze((le) => {
|
|
3359
3360
|
Q.onStart(p, le, fe);
|
|
3360
3361
|
}), onStop: ze((le) => {
|
|
3361
3362
|
Q.onStop(p, le, ne), le === "leave" && !er(Q) && (q("hidden"), z(p));
|
|
3362
3363
|
}) });
|
|
3363
|
-
let me = u, ve = { ref:
|
|
3364
|
-
return re ? me = { ...me, className: zt(u.className, ...de.current.enter, ...de.current.enterFrom) } : (me.className = zt(u.className, (n = p.current) == null ? void 0 : n.className), me.className === "" && delete me.className), ce.createElement(Zt.Provider, { value: Q }, ce.createElement(Er, { value: be(P, { visible: Se.Open, hidden: Se.Closed }) | B.flags }, Ne({ ourProps: ve, theirProps: me, defaultTag:
|
|
3364
|
+
let me = u, ve = { ref: g };
|
|
3365
|
+
return re ? me = { ...me, className: zt(u.className, ...de.current.enter, ...de.current.enterFrom) } : (me.className = zt(u.className, (n = p.current) == null ? void 0 : n.className), me.className === "" && delete me.className), ce.createElement(Zt.Provider, { value: Q }, ce.createElement(Er, { value: be(P, { visible: Se.Open, hidden: Se.Closed }) | B.flags }, Ne({ ourProps: ve, theirProps: me, defaultTag: Wl, features: hi, visible: P === "visible", name: "Transition.Child" })));
|
|
3365
3366
|
}
|
|
3366
|
-
function
|
|
3367
|
+
function Bl(e, t) {
|
|
3367
3368
|
let { show: r, appear: n = !1, unmount: i = !0, ...c } = e, o = j(null), f = He(o, t);
|
|
3368
3369
|
xr();
|
|
3369
3370
|
let b = Qt();
|
|
@@ -3372,7 +3373,7 @@ function Vl(e, t) {
|
|
|
3372
3373
|
let [v, m] = oe(r ? "visible" : "hidden"), h = mi(() => {
|
|
3373
3374
|
m("hidden");
|
|
3374
3375
|
}), [s, d] = oe(!0), a = j([r]);
|
|
3375
|
-
|
|
3376
|
+
we(() => {
|
|
3376
3377
|
s !== !1 && a.current[a.current.length - 1] !== r && (a.current.push(r), d(!1));
|
|
3377
3378
|
}, [a, r]);
|
|
3378
3379
|
let u = ke(() => ({ show: r, appear: n, initial: s }), [r, n, s]);
|
|
@@ -3389,21 +3390,21 @@ function Vl(e, t) {
|
|
|
3389
3390
|
y.x === 0 && y.y === 0 && y.width === 0 && y.height === 0 && m("hidden");
|
|
3390
3391
|
}
|
|
3391
3392
|
}, [r, h]);
|
|
3392
|
-
let p = { unmount: i },
|
|
3393
|
+
let p = { unmount: i }, g = L(() => {
|
|
3393
3394
|
var x;
|
|
3394
3395
|
s && d(!1), (x = e.beforeEnter) == null || x.call(e);
|
|
3395
3396
|
}), S = L(() => {
|
|
3396
3397
|
var x;
|
|
3397
3398
|
s && d(!1), (x = e.beforeLeave) == null || x.call(e);
|
|
3398
3399
|
});
|
|
3399
|
-
return ce.createElement(Zt.Provider, { value: h }, ce.createElement(Xt.Provider, { value: u }, Ne({ ourProps: { ...p, as: rt, children: ce.createElement(
|
|
3400
|
+
return ce.createElement(Zt.Provider, { value: h }, ce.createElement(Xt.Provider, { value: u }, Ne({ ourProps: { ...p, as: rt, children: ce.createElement(gi, { ref: f, ...p, ...c, beforeEnter: g, beforeLeave: S }) }, theirProps: {}, defaultTag: rt, features: hi, visible: v === "visible", name: "Transition" })));
|
|
3400
3401
|
}
|
|
3401
|
-
function
|
|
3402
|
+
function Ul(e, t) {
|
|
3402
3403
|
let r = ut(Xt) !== null, n = Qt() !== null;
|
|
3403
|
-
return ce.createElement(ce.Fragment, null, !r && n ? ce.createElement(vr, { ref: t, ...e }) : ce.createElement(
|
|
3404
|
+
return ce.createElement(ce.Fragment, null, !r && n ? ce.createElement(vr, { ref: t, ...e }) : ce.createElement(gi, { ref: t, ...e }));
|
|
3404
3405
|
}
|
|
3405
|
-
let vr =
|
|
3406
|
-
function
|
|
3406
|
+
let vr = Le(Bl), gi = Le(Vl), Hl = Le(Ul), wi = Object.assign(vr, { Child: Hl, Root: vr });
|
|
3407
|
+
function ql({
|
|
3407
3408
|
title: e,
|
|
3408
3409
|
titleId: t,
|
|
3409
3410
|
...r
|
|
@@ -3423,14 +3424,14 @@ function Hl({
|
|
|
3423
3424
|
clipRule: "evenodd"
|
|
3424
3425
|
}));
|
|
3425
3426
|
}
|
|
3426
|
-
const
|
|
3427
|
+
const zl = tt.forwardRef(ql), xi = zl, ic = ({ children: e, selected: t, onSelect: r, themeColor: n }) => {
|
|
3427
3428
|
const [i, c] = oe(!1), [o, f] = oe(!1), b = j(null), v = j(null), [m, h] = oe({ left: 0, top: 0 }), s = j(0), d = j(0);
|
|
3428
3429
|
let a = "#333333";
|
|
3429
3430
|
const u = (F) => {
|
|
3430
3431
|
r(F);
|
|
3431
3432
|
}, p = () => {
|
|
3432
3433
|
c(!0);
|
|
3433
|
-
},
|
|
3434
|
+
}, g = () => {
|
|
3434
3435
|
c(!1);
|
|
3435
3436
|
}, S = () => {
|
|
3436
3437
|
s.current = window.innerHeight, d.current = document.body.scrollHeight, f(!0);
|
|
@@ -3467,7 +3468,7 @@ const ql = tt.forwardRef(Hl), xi = ql, nc = ({ children: e, selected: t, onSelec
|
|
|
3467
3468
|
{
|
|
3468
3469
|
"data-testid": "select-options",
|
|
3469
3470
|
onFocus: p,
|
|
3470
|
-
onBlur:
|
|
3471
|
+
onBlur: g,
|
|
3471
3472
|
onClick: y,
|
|
3472
3473
|
onKeyDown: (P) => {
|
|
3473
3474
|
(P.key === " " || P.code === "Space" || P.code === "Enter") && y();
|
|
@@ -3512,8 +3513,8 @@ const ql = tt.forwardRef(Hl), xi = ql, nc = ({ children: e, selected: t, onSelec
|
|
|
3512
3513
|
document.body
|
|
3513
3514
|
) : null
|
|
3514
3515
|
] }) });
|
|
3515
|
-
},
|
|
3516
|
-
|
|
3516
|
+
}, oc = ({ children: e, setQuery: t }) => /* @__PURE__ */ O.jsx(
|
|
3517
|
+
wi,
|
|
3517
3518
|
{
|
|
3518
3519
|
as: rt,
|
|
3519
3520
|
leave: "tw-transition tw-ease-in tw-duration-100",
|
|
@@ -3522,9 +3523,9 @@ const ql = tt.forwardRef(Hl), xi = ql, nc = ({ children: e, selected: t, onSelec
|
|
|
3522
3523
|
afterLeave: () => t(""),
|
|
3523
3524
|
children: /* @__PURE__ */ O.jsx(Kt.Options, { className: "tw-max-h-[200px] tw-w-full tw-overflow-auto tw-bg-white tw-pb-[10px] tw-pt-[10px] tw-text-base tw-shadow-[0_1px_6px_0_rgba(0,0,0,0.5)] focus:tw-outline-none sm:tw-text-sm [&::-webkit-scrollbar-thumb]:tw-rounded-md [&::-webkit-scrollbar-thumb]:tw-bg-[#a9a9a9] [&::-webkit-scrollbar]:tw-w-[6px]", children: e })
|
|
3524
3525
|
}
|
|
3525
|
-
),
|
|
3526
|
-
|
|
3527
|
-
const
|
|
3526
|
+
), Yl = ct((e, t) => /* @__PURE__ */ O.jsx(Kt.Option, { ref: t, className: e.className, value: e.value, disabled: e.disable, children: e.children }));
|
|
3527
|
+
Yl.displayName = "SelectOption";
|
|
3528
|
+
const ac = ({
|
|
3528
3529
|
children: e,
|
|
3529
3530
|
selected: t,
|
|
3530
3531
|
onSelect: r,
|
|
@@ -3533,22 +3534,22 @@ const oc = ({
|
|
|
3533
3534
|
clearSearch: c = !1,
|
|
3534
3535
|
themeColor: o
|
|
3535
3536
|
}) => {
|
|
3536
|
-
const f = j(null), b = j(null), [v, m] = oe(!1), [h, s] = oe(!1), d = j(null), a = j(null), [u, p] = oe({ left: 0, top: 0 }),
|
|
3537
|
+
const f = j(null), b = j(null), [v, m] = oe(!1), [h, s] = oe(!1), d = j(null), a = j(null), [u, p] = oe({ left: 0, top: 0 }), g = j(0), S = j(0);
|
|
3537
3538
|
let x = {};
|
|
3538
3539
|
ae(() => {
|
|
3539
3540
|
f.current && t && (f.current.value = t.label || "");
|
|
3540
3541
|
}, [t]);
|
|
3541
3542
|
const y = () => {
|
|
3542
|
-
|
|
3543
|
+
g.current = window.innerHeight, S.current = document.body.scrollHeight, s(!0);
|
|
3543
3544
|
};
|
|
3544
3545
|
ae(() => (y(), window.addEventListener("resize", y), () => {
|
|
3545
3546
|
window.addEventListener("resize", y);
|
|
3546
3547
|
}), []);
|
|
3547
|
-
const F = () => S.current - (
|
|
3548
|
+
const F = () => S.current - (g.current + window.scrollY), P = () => {
|
|
3548
3549
|
if (d.current) {
|
|
3549
3550
|
const k = d.current.getBoundingClientRect();
|
|
3550
3551
|
setTimeout(() => {
|
|
3551
|
-
const G = a?.current?.getBoundingClientRect(), re = F(), pe =
|
|
3552
|
+
const G = a?.current?.getBoundingClientRect(), re = F(), pe = g.current - k.bottom;
|
|
3552
3553
|
let B;
|
|
3553
3554
|
if (G) {
|
|
3554
3555
|
const fe = k.height, ne = k.top, Q = G.height, me = Q > ne + window.scrollY;
|
|
@@ -3657,8 +3658,8 @@ const oc = ({
|
|
|
3657
3658
|
document.body
|
|
3658
3659
|
) : null
|
|
3659
3660
|
] }) });
|
|
3660
|
-
},
|
|
3661
|
-
|
|
3661
|
+
}, sc = ({ children: e, setQuery: t }) => /* @__PURE__ */ O.jsx(
|
|
3662
|
+
wi,
|
|
3662
3663
|
{
|
|
3663
3664
|
as: rt,
|
|
3664
3665
|
leave: "tw-transition tw-ease-in tw-duration-100",
|
|
@@ -3667,12 +3668,12 @@ const oc = ({
|
|
|
3667
3668
|
afterLeave: () => t(""),
|
|
3668
3669
|
children: /* @__PURE__ */ O.jsx(Rt.Options, { className: "tw-max-h-[210px] tw-w-full tw-overflow-auto tw-bg-white tw-pb-[10px] tw-pt-[10px] tw-text-base tw-shadow-[0_1px_6px_0_rgba(0,0,0,0.5)] focus:tw-outline-none sm:tw-text-sm [&::-webkit-scrollbar-thumb]:tw-rounded-md [&::-webkit-scrollbar-thumb]:tw-bg-[#a9a9a9] [&::-webkit-scrollbar]:tw-w-[6px]", children: e })
|
|
3669
3670
|
}
|
|
3670
|
-
),
|
|
3671
|
-
|
|
3672
|
-
const
|
|
3673
|
-
textInputWrapper:
|
|
3674
|
-
textInput:
|
|
3675
|
-
},
|
|
3671
|
+
), Kl = ct((e, t) => /* @__PURE__ */ O.jsx(Rt.Option, { ref: t, className: e.className, value: e.value, disabled: e.disable, children: e.children }));
|
|
3672
|
+
Kl.displayName = "AutoCompleteOption";
|
|
3673
|
+
const Gl = "_textInputWrapper_gym4n_1", Jl = "_textInput_gym4n_1", Zr = {
|
|
3674
|
+
textInputWrapper: Gl,
|
|
3675
|
+
textInput: Jl
|
|
3676
|
+
}, lc = ce.memo(
|
|
3676
3677
|
ct(
|
|
3677
3678
|
({ themeColor: e = "", style: t = {}, className: r = "", onFocus: n, onBlur: i, ...c }, o) => {
|
|
3678
3679
|
const [f, b] = oe(!1);
|
|
@@ -3703,20 +3704,20 @@ const Kl = "_textInputWrapper_gym4n_1", Gl = "_textInput_gym4n_1", Zr = {
|
|
|
3703
3704
|
)
|
|
3704
3705
|
);
|
|
3705
3706
|
export {
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3707
|
+
ac as AutoComplete,
|
|
3708
|
+
Kl as AutoCompleteOption,
|
|
3709
|
+
sc as AutoCompleteOptions,
|
|
3709
3710
|
rn as Button,
|
|
3710
3711
|
nn as Checkbox,
|
|
3711
3712
|
Qe as ColorsService,
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3713
|
+
Zl as MultiLineInput,
|
|
3714
|
+
ec as MultiSelect,
|
|
3715
|
+
tc as QuickMultiSelect,
|
|
3716
|
+
rc as QuickSelect,
|
|
3717
|
+
fs as Scrollbar,
|
|
3718
|
+
ic as Select,
|
|
3719
|
+
Yl as SelectOption,
|
|
3720
|
+
oc as SelectOptions,
|
|
3721
|
+
lc as SingleLineInput
|
|
3721
3722
|
};
|
|
3722
3723
|
//# sourceMappingURL=ui-react.es.js.map
|