@oncehub/ui-react 1.4.0-beta.1.4 → 1.4.0-beta.1.5
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
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-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-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_1d9mw_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_1d9mw_1:hover{text-decoration-line:underline}._button_1d9mw_1:focus{text-decoration-line:underline}._button_1d9mw_1:disabled{cursor:default}._button_1d9mw_1:hover:disabled{text-decoration-line:none}._primary_1d9mw_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_1d9mw_5:focus{outline-width:2px;outline-offset:3px}._primary_1d9mw_5:disabled{--tw-border-opacity: 1 !important;border-color:rgb(200 200 200 / var(--tw-border-opacity))!important;--tw-bg-opacity: 1 !important;background-color:rgb(200 200 200 / var(--tw-bg-opacity))!important;--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity))!important}._secondary_1d9mw_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_1d9mw_12:hover{border-color:transparent;outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._secondary_1d9mw_12:focus{border-color:transparent;outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._secondary_1d9mw_12:disabled{--tw-border-opacity: 1 !important;border-color:rgb(200 200 200 / var(--tw-border-opacity))!important;--tw-text-opacity: 1 !important;color:rgb(200 200 200 / var(--tw-text-opacity))!important}._secondary_1d9mw_12:disabled:hover{outline-width:0px!important}._secondary_1d9mw_12:disabled:focus{outline-width:0px!important}._small_1d9mw_19{min-height:35px;min-width:70px;padding:4px 22px;font-size:.875rem;line-height:1.25rem;line-height:22px}._small_1d9mw_19._rounded_1d9mw_22{border-radius:18px}._medium_1d9mw_26{min-height:40px;min-width:74px;padding:7px 22px;font-size:.875rem;line-height:1.25rem;line-height:22px}._medium_1d9mw_26._rounded_1d9mw_22{border-radius:20px}._large_1d9mw_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_1d9mw_33._rounded_1d9mw_22{border-radius:22px}._squared_1d9mw_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-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)}})();
|
|
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
|
/**
|
|
@@ -19,14 +19,14 @@ function Di() {
|
|
|
19
19
|
Mr = 1;
|
|
20
20
|
var e = ce, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
21
|
function o(f, b, v) {
|
|
22
|
-
var m, h = {}, s = null,
|
|
23
|
-
v !== void 0 && (s = "" + v), b.key !== void 0 && (s = "" + b.key), b.ref !== void 0 && (
|
|
22
|
+
var m, h = {}, s = null, d = null;
|
|
23
|
+
v !== void 0 && (s = "" + v), b.key !== void 0 && (s = "" + b.key), b.ref !== void 0 && (d = b.ref);
|
|
24
24
|
for (m in b)
|
|
25
25
|
n.call(b, m) && !c.hasOwnProperty(m) && (h[m] = b[m]);
|
|
26
26
|
if (f && f.defaultProps)
|
|
27
27
|
for (m in b = f.defaultProps, b)
|
|
28
28
|
h[m] === void 0 && (h[m] = b[m]);
|
|
29
|
-
return { $$typeof: t, type: f, key: s, ref:
|
|
29
|
+
return { $$typeof: t, type: f, key: s, ref: d, props: h, _owner: i.current };
|
|
30
30
|
}
|
|
31
31
|
return Et.Fragment = r, Et.jsx = o, Et.jsxs = o, Et;
|
|
32
32
|
}
|
|
@@ -43,45 +43,45 @@ var Tt = {};
|
|
|
43
43
|
var $r;
|
|
44
44
|
function Mi() {
|
|
45
45
|
return $r || ($r = 1, process.env.NODE_ENV !== "production" && function() {
|
|
46
|
-
var e = ce, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), f = Symbol.for("react.context"), b = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), s = Symbol.for("react.lazy"),
|
|
46
|
+
var e = ce, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), f = Symbol.for("react.context"), b = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), s = Symbol.for("react.lazy"), d = Symbol.for("react.offscreen"), a = Symbol.iterator, u = "@@iterator";
|
|
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
|
-
var y = !1, F = !1, P = !1,
|
|
71
|
+
var y = !1, F = !1, P = !1, q = !1, $ = !1, C;
|
|
72
72
|
C = Symbol.for("react.module.reference");
|
|
73
|
-
function
|
|
74
|
-
return !!(typeof l == "string" || typeof l == "function" || l === n || l === c || $ || l === i || l === v || l === m ||
|
|
73
|
+
function z(l) {
|
|
74
|
+
return !!(typeof l == "string" || typeof l == "function" || l === n || l === c || $ || l === i || l === v || l === m || q || l === d || y || F || P || typeof l == "object" && l !== null && (l.$$typeof === s || l.$$typeof === h || l.$$typeof === o || l.$$typeof === f || l.$$typeof === b || // This needs to include all possible module reference object
|
|
75
75
|
// types supported by any Flight configuration anywhere since
|
|
76
76
|
// we don't know which Flight build this will end up being used
|
|
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,26 +309,26 @@ 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 Le = Object.prototype.hasOwnProperty, We = {}, Re =
|
|
323
|
+
var Le = 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
333
|
var se = Function.call.bind(Le);
|
|
334
334
|
for (var K in l)
|
|
@@ -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,39 +371,39 @@ 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,
|
|
378
378
|
__source: !0
|
|
379
|
-
},
|
|
379
|
+
}, qe, Me, Y;
|
|
380
380
|
Y = {};
|
|
381
381
|
function N(l) {
|
|
382
382
|
if (Le.call(l, "ref")) {
|
|
383
|
-
var
|
|
384
|
-
if (
|
|
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
390
|
if (Le.call(l, "key")) {
|
|
391
|
-
var
|
|
392
|
-
if (
|
|
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
|
-
|
|
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
|
-
Le.call(
|
|
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
|
+
Le.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,27 +587,27 @@ 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
|
-
var K =
|
|
592
|
+
var K = z(l);
|
|
593
593
|
if (!K) {
|
|
594
594
|
var H = "";
|
|
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;
|
|
@@ -629,15 +629,15 @@ Check the top-level render call using <` + T + ">.");
|
|
|
629
629
|
}
|
|
630
630
|
process.env.NODE_ENV === "production" ? ur.exports = Di() : ur.exports = Mi();
|
|
631
631
|
var O = ur.exports;
|
|
632
|
-
const $i = "
|
|
632
|
+
const $i = "_button_1q2ge_1", Wi = "_primary_1q2ge_5", Vi = "_secondary_1q2ge_12", Bi = "_small_1q2ge_19", Ui = "_rounded_1q2ge_22", Hi = "_medium_1q2ge_26", qi = "_large_1q2ge_33", zi = "_squared_1q2ge_40", $t = {
|
|
633
633
|
button: $i,
|
|
634
634
|
primary: Wi,
|
|
635
635
|
secondary: Vi,
|
|
636
636
|
small: Bi,
|
|
637
637
|
rounded: Ui,
|
|
638
638
|
medium: Hi,
|
|
639
|
-
large:
|
|
640
|
-
squared:
|
|
639
|
+
large: qi,
|
|
640
|
+
squared: zi
|
|
641
641
|
}, dt = (e) => {
|
|
642
642
|
if (!e)
|
|
643
643
|
throw new Error("Please provide a hex color code");
|
|
@@ -663,23 +663,34 @@ const rn = ct(
|
|
|
663
663
|
children: i,
|
|
664
664
|
className: c = "",
|
|
665
665
|
style: o = {},
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
666
|
+
disabled: f,
|
|
667
|
+
...b
|
|
668
|
+
}, v) => {
|
|
669
|
+
let m = {};
|
|
669
670
|
if (e) {
|
|
670
|
-
const
|
|
671
|
-
if (e = Qe.convert3HexTo6(e),
|
|
672
|
-
const
|
|
673
|
-
|
|
674
|
-
backgroundColor:
|
|
675
|
-
color:
|
|
676
|
-
outlineColor:
|
|
677
|
-
borderColor:
|
|
671
|
+
const s = dt(e);
|
|
672
|
+
if (e = Qe.convert3HexTo6(e), !f && (s === "dark" || s === "light")) {
|
|
673
|
+
const d = t === "primary" ? e : "#ffffff", a = t === "primary" ? s === "dark" ? "#ffffff" : "#333333" : s === "light" ? "#333333" : e, u = e === "#ffffff" ? "#c8c8c8" : e;
|
|
674
|
+
m = {
|
|
675
|
+
backgroundColor: d,
|
|
676
|
+
color: a,
|
|
677
|
+
outlineColor: u,
|
|
678
|
+
borderColor: u
|
|
678
679
|
};
|
|
679
680
|
}
|
|
680
681
|
}
|
|
681
|
-
const
|
|
682
|
-
return /* @__PURE__ */ O.jsx(
|
|
682
|
+
const h = [$t.button, $t[t], $t[r], $t[n], c].filter(Boolean).join(" ");
|
|
683
|
+
return /* @__PURE__ */ O.jsx(
|
|
684
|
+
"button",
|
|
685
|
+
{
|
|
686
|
+
disabled: f,
|
|
687
|
+
ref: v,
|
|
688
|
+
style: { ...m, ...o },
|
|
689
|
+
className: `${h}`,
|
|
690
|
+
...b,
|
|
691
|
+
children: i
|
|
692
|
+
}
|
|
693
|
+
);
|
|
683
694
|
}
|
|
684
695
|
);
|
|
685
696
|
rn.displayName = "Button";
|
|
@@ -710,8 +721,8 @@ const Yi = "_checkboxLayout_1jaci_1", Ki = "_checkboxLabel_1jaci_4", Gi = "_chec
|
|
|
710
721
|
tabIndex: v,
|
|
711
722
|
...m
|
|
712
723
|
}, h) => {
|
|
713
|
-
const [s,
|
|
714
|
-
let a = {},
|
|
724
|
+
const [s, d] = oe(i);
|
|
725
|
+
let a = {}, u, p = c ? "#9b9b9b" : "#ffffff";
|
|
715
726
|
if (t) {
|
|
716
727
|
const y = dt(t);
|
|
717
728
|
if (t = Qe.convert3HexTo6(t), y === "dark" || y === "light") {
|
|
@@ -727,15 +738,15 @@ const Yi = "_checkboxLayout_1jaci_1", Ki = "_checkboxLabel_1jaci_4", Gi = "_chec
|
|
|
727
738
|
break;
|
|
728
739
|
}
|
|
729
740
|
const F = c ? "#f9f9f9" : s ? t : "#ffffff";
|
|
730
|
-
|
|
741
|
+
u = c ? "#e4e4e4" : t == "#ffffff" ? "#333333" : t, s && (a = {
|
|
731
742
|
backgroundColor: F,
|
|
732
|
-
borderColor:
|
|
733
|
-
outlineColor:
|
|
743
|
+
borderColor: u,
|
|
744
|
+
outlineColor: u
|
|
734
745
|
});
|
|
735
746
|
}
|
|
736
747
|
}
|
|
737
|
-
const
|
|
738
|
-
y.key != "Enter" && (y.preventDefault(), f?.(y.target.checked),
|
|
748
|
+
const g = c ? Ye.checkboxDisabled : "", S = [Ye.checkboxLayout, Ye[r], g, o].filter(Boolean).join(" "), x = (y) => {
|
|
749
|
+
y.key != "Enter" && (y.preventDefault(), f?.(y.target.checked), d(!s));
|
|
739
750
|
};
|
|
740
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: [
|
|
741
752
|
/* @__PURE__ */ O.jsxs(
|
|
@@ -804,7 +815,7 @@ const ao = "_textInputWrapper_1i9m6_1", so = "_textInput_1i9m6_1", Wr = {
|
|
|
804
815
|
var R = {}, dr = { exports: {} };
|
|
805
816
|
(function(e, t) {
|
|
806
817
|
(function(r, n) {
|
|
807
|
-
var i = "1.0.37", c = "", o = "?", f = "function", b = "undefined", v = "object", m = "string", h = "major", s = "model",
|
|
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) {
|
|
808
819
|
var A = {};
|
|
809
820
|
for (var ie in U)
|
|
810
821
|
J[ie] && J[ie].length % 2 === 0 ? A[ie] = J[ie].concat(U[ie]) : A[ie] = U[ie];
|
|
@@ -823,12 +834,12 @@ var R = {}, dr = { exports: {} };
|
|
|
823
834
|
if (typeof U === m)
|
|
824
835
|
return U = U.replace(/^\s\s*/, c), typeof J === b ? U : U.substring(0, $);
|
|
825
836
|
}, We = function(U, J) {
|
|
826
|
-
for (var A = 0, ie,
|
|
837
|
+
for (var A = 0, ie, qe, Me, Y, N, Ve; A < J.length && !N; ) {
|
|
827
838
|
var St = J[A], Mt = J[A + 1];
|
|
828
|
-
for (ie =
|
|
839
|
+
for (ie = qe = 0; ie < St.length && !N && St[ie]; )
|
|
829
840
|
if (N = St[ie++].exec(U), N)
|
|
830
841
|
for (Me = 0; Me < Mt.length; Me++)
|
|
831
|
-
Ve = N[++
|
|
842
|
+
Ve = N[++qe], Y = Mt[Me], typeof Y === v && Y.length > 0 ? Y.length === 2 ? typeof Y[1] == f ? this[Y[0]] = Y[1].call(this, Ve) : this[Y[0]] = Y[1] : Y.length === 3 ? typeof Y[1] === f && !(Y[1].exec && Y[1].test) ? this[Y[0]] = Ve ? Y[1].call(this, Ve, Y[2]) : n : this[Y[0]] = Ve ? Ve.replace(Y[1], Y[2]) : n : Y.length === 4 && (this[Y[0]] = Ve ? Y[3].call(this, Ve.replace(Y[1], Y[2])) : n) : this[Y] = Ve || n;
|
|
832
843
|
A += 2;
|
|
833
844
|
}
|
|
834
845
|
}, Re = function(U, J) {
|
|
@@ -840,25 +851,25 @@ var R = {}, dr = { exports: {} };
|
|
|
840
851
|
} else if (ye(J[A], U))
|
|
841
852
|
return A === o ? n : A;
|
|
842
853
|
return U;
|
|
843
|
-
}, 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, [u, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [p, [u, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [u, p], [/opios[\/ ]+([\w\.]+)/i], [p, [u, ve + " Mini"]], [/\bopr\/([\w\.]+)/i], [p, [u, ve]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [p, [u, "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], [u, p], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [p, [u, "UC" + k]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [p, [u, "WeChat"]], [/konqueror\/([\w\.]+)/i], [p, [u, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [p, [u, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [p, [u, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [p, [u, "Smart Lenovo " + k]], [/(avast|avg)\/([\w\.]+)/i], [[u, /(.+)/, "$1 Secure " + k], p], [/\bfocus\/([\w\.]+)/i], [p, [u, pe + " Focus"]], [/\bopt\/([\w\.]+)/i], [p, [u, ve + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [p, [u, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [p, [u, "Dolphin"]], [/coast\/([\w\.]+)/i], [p, [u, ve + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [p, [u, "MIUI " + k]], [/fxios\/([-\w\.]+)/i], [p, [u, pe]], [/\bqihu|(qi?ho?o?|360)browser/i], [[u, "360 " + k]], [/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i], [[u, /(.+)/, "$1 " + k], p], [/samsungbrowser\/([\w\.]+)/i], [p, [u, le + " Internet"]], [/(comodo_dragon)\/([\w\.]+)/i], [[u, /_/g, " "], p], [/metasr[\/ ]?([\d\.]+)/i], [p, [u, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[u, "Sogou Mobile"], p], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i], [u, p], [/(lbbrowser)/i, /\[(linkedin)app\]/i], [u], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[u, 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], [u, p], [/\bgsa\/([\w\.]+) .*safari\//i], [p, [u, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [p, [u, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [p, [u, G + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[u, G + " WebView"], p], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [p, [u, "Android " + k]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [u, p], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [p, [u, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [p, u], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [u, [p, Re, Ze]], [/(webkit|khtml)\/([\w\.]+)/i], [u, p], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[u, "Netscape"], p], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [p, [u, 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], [u, p], [/(cobalt)\/([\w\.]+)/i], [u, [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, [d, 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, [d, le], [a, x]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [s, [d, q], [a, x]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [s, [d, q], [a, y]], [/(macintosh);/i], [s, [d, q]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [s, [d, _], [a, x]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [s, [d, fe], [a, y]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [s, [d, 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, " "], [d, V], [a, x]], [/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, /\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[s, /_/g, " "], [d, 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, [d, "OPPO"], [a, x]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [s, [d, "Vivo"], [a, x]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [s, [d, "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, [d, me], [a, x]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [s, [d, me], [a, y]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [s, [d, 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, [d, ne], [a, x]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [s, [d, "Lenovo"], [a, y]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[s, /_/g, " "], [d, "Nokia"], [a, x]], [/(pixel c)\b/i], [s, [d, B], [a, y]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [s, [d, 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, [d, I], [a, x]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[s, "Xperia Tablet"], [d, I], [a, y]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [s, [d, "OnePlus"], [a, x]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [s, [d, C], [a, y]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[s, /(.+)/g, "Fire Phone $1"], [d, C], [a, x]], [/(playbook);[-\w\),; ]+(rim)/i], [s, d, [a, y]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [s, [d, Z], [a, x]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [s, [d, de], [a, y]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [s, [d, de], [a, x]], [/(nexus 9)/i], [s, [d, "HTC"], [a, y]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [d, [s, /_/g, " "], [a, x]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [s, [d, "Acer"], [a, y]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [s, [d, "Meizu"], [a, x]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [s, [d, "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], [d, 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], [d, s, [a, y]], [/(surface duo)/i], [s, [d, Q], [a, y]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [s, [d, "Fairphone"], [a, x]], [/(u304aa)/i], [s, [d, "AT&T"], [a, x]], [/\bsie-(\w*)/i], [s, [d, "Siemens"], [a, x]], [/\b(rct\w+) b/i], [s, [d, "RCA"], [a, y]], [/\b(venue[\d ]{2,7}) b/i], [s, [d, "Dell"], [a, y]], [/\b(q(?:mv|ta)\w+) b/i], [s, [d, "Verizon"], [a, y]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [s, [d, "Barnes & Noble"], [a, y]], [/\b(tm\d{3}\w+) b/i], [s, [d, "NuVision"], [a, y]], [/\b(k88) b/i], [s, [d, "ZTE"], [a, y]], [/\b(nx\d{3}j) b/i], [s, [d, "ZTE"], [a, x]], [/\b(gen\d{3}) b.+49h/i], [s, [d, "Swiss"], [a, x]], [/\b(zur\d{3}) b/i], [s, [d, "Swiss"], [a, y]], [/\b((zeki)?tb.*\b) b/i], [s, [d, "Zeki"], [a, y]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[d, "Dragon Touch"], s, [a, y]], [/\b(ns-?\w{0,9}) b/i], [s, [d, "Insignia"], [a, y]], [/\b((nxa|next)-?\w{0,9}) b/i], [s, [d, "NextBook"], [a, y]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[d, "Voice"], s, [a, x]], [/\b(lvtel\-)?(v1[12]) b/i], [[d, "LvTel"], s, [a, x]], [/\b(ph-1) /i], [s, [d, "Essential"], [a, x]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [s, [d, "Envizen"], [a, y]], [/\b(trio[-\w\. ]+) b/i], [s, [d, "MachSpeed"], [a, y]], [/\btu_(1491) b/i], [s, [d, "Rotor"], [a, y]], [/(shield[\w ]+) b/i], [s, [d, "Nvidia"], [a, y]], [/(sprint) (\w+)/i], [d, s, [a, x]], [/(kin\.[onetw]{3})/i], [[s, /\./g, " "], [d, Q], [a, x]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [s, [d, xe], [a, y]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [s, [d, xe], [a, x]], [/smart-tv.+(samsung)/i], [d, [a, F]], [/hbbtv.+maple;(\d+)/i], [[s, /^/, "SmartTV"], [d, le], [a, F]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[d, ne], [a, F]], [/(apple) ?tv/i], [d, [s, q + " TV"], [a, F]], [/crkey/i], [[s, G + "cast"], [d, B], [a, F]], [/droid.+aft(\w+)( bui|\))/i], [s, [d, C], [a, F]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [s, [d, _], [a, F]], [/(bravia[\w ]+)( bui|\))/i], [s, [d, I], [a, F]], [/(mitv-\w{5}) bui/i], [s, [d, V], [a, F]], [/Hbbtv.*(technisat) (.*);/i], [d, s, [a, F]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[d, Le], [s, Le], [a, F]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[a, F]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [d, s, [a, S]], [/droid.+; (shield) bui/i], [s, [d, "Nvidia"], [a, S]], [/(playstation [345portablevi]+)/i], [s, [d, I], [a, S]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [s, [d, Q], [a, S]], [/((pebble))app/i], [d, s, [a, P]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [s, [d, q], [a, P]], [/droid.+; (glass) \d/i], [s, [d, B], [a, P]], [/droid.+; (wt63?0{2,3})\)/i], [s, [d, xe], [a, P]], [/(quest( 2| pro)?)/i], [s, [d, Ce], [a, P]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [d, [a, z]], [/(aeobc)\b/i], [s, [d, C], [a, z]], [/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, [d, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [p, [u, re + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [p, [u, "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], [u, p], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [p, u]], os: [[/microsoft (windows) (vista|xp)/i], [u, p], [/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i], [u, [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], [u, "Windows"]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[p, /_/g, "."], [u, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[u, Xe], [p, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [p, u], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [u, p], [/\(bb(10);/i], [p, [u, Z]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [p, [u, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [p, [u, pe + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [p, [u, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [p, [u, "watchOS"]], [/crkey\/([\d\.]+)/i], [p, [u, G + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[u, 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], [u, p], [/(sunos) ?([\w\.\d]*)/i], [[u, "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], [u, 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, 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) {
|
|
844
855
|
if (typeof U === v && (J = U, U = n), !(this instanceof Pe))
|
|
845
856
|
return new Pe(U, J).getResult();
|
|
846
|
-
var A = typeof r !== b && r.navigator ? r.navigator : n, ie = U || (A && A.userAgent ? A.userAgent : c),
|
|
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;
|
|
847
858
|
return this.getBrowser = function() {
|
|
848
859
|
var N = {};
|
|
849
|
-
return N[
|
|
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;
|
|
850
861
|
}, this.getCPU = function() {
|
|
851
862
|
var N = {};
|
|
852
|
-
return N[
|
|
863
|
+
return N[g] = n, We.call(N, ie, Me.cpu), N;
|
|
853
864
|
}, this.getDevice = function() {
|
|
854
865
|
var N = {};
|
|
855
|
-
return N[
|
|
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;
|
|
856
867
|
}, this.getEngine = function() {
|
|
857
868
|
var N = {};
|
|
858
|
-
return N[
|
|
869
|
+
return N[d] = n, N[p] = n, We.call(N, ie, Me.engine), N;
|
|
859
870
|
}, this.getOS = function() {
|
|
860
871
|
var N = {};
|
|
861
|
-
return N[
|
|
872
|
+
return N[d] = n, N[p] = n, We.call(N, ie, Me.os), Y && !N[d] && qe && qe.platform != "Unknown" && (N[d] = qe.platform.replace(/chrome os/i, ot).replace(/macos/i, Xe)), N;
|
|
862
873
|
}, this.getResult = function() {
|
|
863
874
|
return { ua: this.getUA(), browser: this.getBrowser(), engine: this.getEngine(), os: this.getOS(), device: this.getDevice(), cpu: this.getCPU() };
|
|
864
875
|
}, this.getUA = function() {
|
|
@@ -867,7 +878,7 @@ var R = {}, dr = { exports: {} };
|
|
|
867
878
|
return ie = typeof N === m && N.length > $ ? Le(N, $) : N, this;
|
|
868
879
|
}, this.setUA(ie), this;
|
|
869
880
|
};
|
|
870
|
-
Pe.VERSION = i, Pe.BROWSER = 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;
|
|
871
882
|
var at = typeof r !== b && (r.jQuery || r.Zepto);
|
|
872
883
|
if (at && !at.ua) {
|
|
873
884
|
var mt = new Pe();
|
|
@@ -1023,14 +1034,14 @@ function Ut(e) {
|
|
|
1023
1034
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1024
1035
|
return e;
|
|
1025
1036
|
}
|
|
1026
|
-
function
|
|
1037
|
+
function go(e, t) {
|
|
1027
1038
|
if (t && (typeof t == "object" || typeof t == "function"))
|
|
1028
1039
|
return t;
|
|
1029
1040
|
if (t !== void 0)
|
|
1030
1041
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
1031
1042
|
return Ut(e);
|
|
1032
1043
|
}
|
|
1033
|
-
function
|
|
1044
|
+
function wo(e, t) {
|
|
1034
1045
|
return xo(e) || yo(e, t) || Oo(e, t) || ko();
|
|
1035
1046
|
}
|
|
1036
1047
|
function xo(e) {
|
|
@@ -1151,10 +1162,10 @@ var Ee = {
|
|
|
1151
1162
|
}, M = function(t) {
|
|
1152
1163
|
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "none";
|
|
1153
1164
|
return t || r;
|
|
1154
|
-
},
|
|
1165
|
+
}, gr = function() {
|
|
1155
1166
|
return typeof window < "u" && (window.navigator || navigator) ? window.navigator || navigator : !1;
|
|
1156
|
-
},
|
|
1157
|
-
var r =
|
|
1167
|
+
}, wr = function(t) {
|
|
1168
|
+
var r = gr();
|
|
1158
1169
|
return r && r.platform && (r.platform.indexOf(t) !== -1 || r.platform === "MacIntel" && r.maxTouchPoints > 1 && !window.MSStream);
|
|
1159
1170
|
}, _o = function(t, r, n, i, c) {
|
|
1160
1171
|
return {
|
|
@@ -1216,7 +1227,7 @@ var Ee = {
|
|
|
1216
1227
|
};
|
|
1217
1228
|
};
|
|
1218
1229
|
function jo(e) {
|
|
1219
|
-
var t = e ? It(e) : sn, r = t.device, n = t.browser, i = t.engine, c = t.os, o = t.ua, f = Eo(r.type), b = f.isBrowser, v = f.isMobile, m = f.isTablet, h = f.isSmartTV, s = f.isConsole,
|
|
1230
|
+
var t = e ? It(e) : sn, r = t.device, n = t.browser, i = t.engine, c = t.os, o = t.ua, f = Eo(r.type), b = f.isBrowser, v = f.isMobile, m = f.isTablet, h = f.isSmartTV, s = f.isConsole, d = f.isWearable, a = f.isEmbedded;
|
|
1220
1231
|
if (b)
|
|
1221
1232
|
return _o(b, n, i, c, o);
|
|
1222
1233
|
if (h)
|
|
@@ -1225,8 +1236,8 @@ function jo(e) {
|
|
|
1225
1236
|
return Ro(s, i, c, o);
|
|
1226
1237
|
if (v || m)
|
|
1227
1238
|
return Hr(f, r, c, o);
|
|
1228
|
-
if (
|
|
1229
|
-
return Po(
|
|
1239
|
+
if (d)
|
|
1240
|
+
return Po(d, i, c, o);
|
|
1230
1241
|
if (a)
|
|
1231
1242
|
return Io(a, r, i, c, o);
|
|
1232
1243
|
}
|
|
@@ -1263,10 +1274,10 @@ var ln = function(t) {
|
|
|
1263
1274
|
}, hn = function(t) {
|
|
1264
1275
|
var r = t.type;
|
|
1265
1276
|
return M(r, "browser");
|
|
1266
|
-
},
|
|
1277
|
+
}, gn = function(t) {
|
|
1267
1278
|
var r = t.name;
|
|
1268
1279
|
return r === Ot.Android;
|
|
1269
|
-
},
|
|
1280
|
+
}, wn = function(t) {
|
|
1270
1281
|
var r = t.name;
|
|
1271
1282
|
return r === Ot.Windows;
|
|
1272
1283
|
}, xn = function(t) {
|
|
@@ -1293,7 +1304,7 @@ var ln = function(t) {
|
|
|
1293
1304
|
}, _n = function(t) {
|
|
1294
1305
|
var r = t.name;
|
|
1295
1306
|
return r === Ae.Chromium;
|
|
1296
|
-
},
|
|
1307
|
+
}, qt = function(t) {
|
|
1297
1308
|
var r = t.name;
|
|
1298
1309
|
return r === Ae.Edge;
|
|
1299
1310
|
}, Cn = function(t) {
|
|
@@ -1333,23 +1344,23 @@ var ln = function(t) {
|
|
|
1333
1344
|
var r = t.version;
|
|
1334
1345
|
return M(r);
|
|
1335
1346
|
}, Wn = function() {
|
|
1336
|
-
var t =
|
|
1347
|
+
var t = gr(), r = t && t.userAgent && t.userAgent.toLowerCase();
|
|
1337
1348
|
return typeof r == "string" ? /electron/.test(r) : !1;
|
|
1338
1349
|
}, xt = function(t) {
|
|
1339
1350
|
return typeof t == "string" && t.indexOf("Edg/") !== -1;
|
|
1340
1351
|
}, Vn = function() {
|
|
1341
|
-
var t =
|
|
1352
|
+
var t = gr();
|
|
1342
1353
|
return t && (/iPad|iPhone|iPod/.test(t.platform) || t.platform === "MacIntel" && t.maxTouchPoints > 1) && !window.MSStream;
|
|
1343
1354
|
}, Ge = function() {
|
|
1344
|
-
return
|
|
1355
|
+
return wr("iPad");
|
|
1345
1356
|
}, Bn = function() {
|
|
1346
|
-
return
|
|
1357
|
+
return wr("iPhone");
|
|
1347
1358
|
}, Un = function() {
|
|
1348
|
-
return
|
|
1359
|
+
return wr("iPod");
|
|
1349
1360
|
}, Hn = function(t) {
|
|
1350
1361
|
return M(t);
|
|
1351
1362
|
};
|
|
1352
|
-
function
|
|
1363
|
+
function qn(e) {
|
|
1353
1364
|
var t = e || sn, r = t.device, n = t.browser, i = t.os, c = t.engine, o = t.ua;
|
|
1354
1365
|
return {
|
|
1355
1366
|
isSmartTV: dn(r),
|
|
@@ -1363,7 +1374,7 @@ function zn(e) {
|
|
|
1363
1374
|
isTablet: cn(r) || Ge(),
|
|
1364
1375
|
isBrowser: Ht(r),
|
|
1365
1376
|
isDesktop: Ht(r),
|
|
1366
|
-
isAndroid:
|
|
1377
|
+
isAndroid: gn(i),
|
|
1367
1378
|
isWinPhone: yn(i),
|
|
1368
1379
|
isIOS: On(i) || Ge(),
|
|
1369
1380
|
isChrome: En(n),
|
|
@@ -1381,7 +1392,7 @@ function zn(e) {
|
|
|
1381
1392
|
engineName: Mn(c),
|
|
1382
1393
|
engineVersion: $n(c),
|
|
1383
1394
|
getUA: Hn(o),
|
|
1384
|
-
isEdge:
|
|
1395
|
+
isEdge: qt(n) || xt(o),
|
|
1385
1396
|
isYandex: Cn(n),
|
|
1386
1397
|
deviceType: hn(r),
|
|
1387
1398
|
isIOS13: Vn(),
|
|
@@ -1390,20 +1401,20 @@ function zn(e) {
|
|
|
1390
1401
|
isIPod13: Un(),
|
|
1391
1402
|
isElectron: Wn(),
|
|
1392
1403
|
isEdgeChromium: xt(o),
|
|
1393
|
-
isLegacyEdge:
|
|
1394
|
-
isWindows:
|
|
1404
|
+
isLegacyEdge: qt(n) && !xt(o),
|
|
1405
|
+
isWindows: wn(i),
|
|
1395
1406
|
isMacOs: xn(i),
|
|
1396
1407
|
isMIUI: Ln(n),
|
|
1397
1408
|
isSamsungBrowser: Fn(n)
|
|
1398
1409
|
};
|
|
1399
1410
|
}
|
|
1400
|
-
var
|
|
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) {
|
|
1401
1412
|
if (!t || typeof t != "string") {
|
|
1402
1413
|
console.error("No valid user agent string was provided");
|
|
1403
1414
|
return;
|
|
1404
1415
|
}
|
|
1405
1416
|
var r = It(t), n = r.device, i = r.browser, c = r.os, o = r.engine, f = r.ua;
|
|
1406
|
-
return
|
|
1417
|
+
return qn({
|
|
1407
1418
|
device: n,
|
|
1408
1419
|
browser: i,
|
|
1409
1420
|
os: c,
|
|
@@ -1428,17 +1439,17 @@ var qn = dn($e), Yn = pn($e), Kn = fn($e), Lo = bn($e), Fo = Pn(_e) || Ge(), Ao
|
|
|
1428
1439
|
}, ha = function(t) {
|
|
1429
1440
|
var r = t.renderWithFragment, n = t.children, i = Ue(t, ["renderWithFragment", "children"]);
|
|
1430
1441
|
return Jn ? r ? ue.createElement(Te.Fragment, null, n) : ue.createElement("div", i, n) : null;
|
|
1431
|
-
},
|
|
1442
|
+
}, ga = function(t) {
|
|
1432
1443
|
var r = t.renderWithFragment, n = t.children, i = Ue(t, ["renderWithFragment", "children"]);
|
|
1433
1444
|
return Zn ? r ? ue.createElement(Te.Fragment, null, n) : ue.createElement("div", i, n) : null;
|
|
1434
|
-
},
|
|
1445
|
+
}, wa = function(t) {
|
|
1435
1446
|
var r = t.renderWithFragment, n = t.children;
|
|
1436
1447
|
t.viewClassName, t.style;
|
|
1437
1448
|
var i = Ue(t, ["renderWithFragment", "children", "viewClassName", "style"]);
|
|
1438
1449
|
return Gn ? r ? ue.createElement(Te.Fragment, null, n) : ue.createElement("div", i, n) : null;
|
|
1439
1450
|
}, xa = function(t) {
|
|
1440
1451
|
var r = t.renderWithFragment, n = t.children, i = Ue(t, ["renderWithFragment", "children"]);
|
|
1441
|
-
return
|
|
1452
|
+
return zn ? r ? ue.createElement(Te.Fragment, null, n) : ue.createElement("div", i, n) : null;
|
|
1442
1453
|
}, ya = function(t) {
|
|
1443
1454
|
var r = t.renderWithFragment, n = t.children, i = Ue(t, ["renderWithFragment", "children"]);
|
|
1444
1455
|
return Yn ? r ? ue.createElement(Te.Fragment, null, n) : ue.createElement("div", i, n) : null;
|
|
@@ -1456,7 +1467,7 @@ function Sa(e) {
|
|
|
1456
1467
|
mo(r, t);
|
|
1457
1468
|
function r(n) {
|
|
1458
1469
|
var i;
|
|
1459
|
-
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 = {
|
|
1460
1471
|
isLandscape: !1,
|
|
1461
1472
|
isPortrait: !1
|
|
1462
1473
|
}, i;
|
|
@@ -1510,7 +1521,7 @@ function Ea() {
|
|
|
1510
1521
|
isLandscape: c === 90,
|
|
1511
1522
|
orientation: c === 0 ? "portrait" : "landscape"
|
|
1512
1523
|
};
|
|
1513
|
-
}), t =
|
|
1524
|
+
}), t = wo(e, 2), r = t[0], n = t[1], i = Te.useCallback(function() {
|
|
1514
1525
|
var c = window.innerWidth > window.innerHeight ? 90 : 0, o = {
|
|
1515
1526
|
isPortrait: c === 0,
|
|
1516
1527
|
isLandscape: c === 90,
|
|
@@ -1529,7 +1540,7 @@ function ri(e) {
|
|
|
1529
1540
|
return It(t);
|
|
1530
1541
|
}
|
|
1531
1542
|
function Ta(e) {
|
|
1532
|
-
var t = e || window.navigator.userAgent, r = ri(t), n =
|
|
1543
|
+
var t = e || window.navigator.userAgent, r = ri(t), n = qn(r);
|
|
1533
1544
|
return [n, r];
|
|
1534
1545
|
}
|
|
1535
1546
|
R.AndroidView = fa;
|
|
@@ -1539,14 +1550,14 @@ R.ConsoleView = ya;
|
|
|
1539
1550
|
R.CustomView = ka;
|
|
1540
1551
|
R.IEView = ba;
|
|
1541
1552
|
R.IOSView = va;
|
|
1542
|
-
R.MobileOnlyView =
|
|
1553
|
+
R.MobileOnlyView = wa;
|
|
1543
1554
|
R.MobileView = ma;
|
|
1544
1555
|
R.OsTypes = Ot;
|
|
1545
1556
|
R.SmartTVView = xa;
|
|
1546
1557
|
R.TabletView = ha;
|
|
1547
1558
|
R.WearableView = Oa;
|
|
1548
|
-
R.WinPhoneView =
|
|
1549
|
-
R.browserName =
|
|
1559
|
+
R.WinPhoneView = ga;
|
|
1560
|
+
R.browserName = qo;
|
|
1550
1561
|
R.browserVersion = Ho;
|
|
1551
1562
|
R.deviceDetect = jo;
|
|
1552
1563
|
R.deviceType = Zo;
|
|
@@ -1581,14 +1592,14 @@ R.isMobileSafari = Fo;
|
|
|
1581
1592
|
R.isOpera = Wo;
|
|
1582
1593
|
R.isSafari = $o;
|
|
1583
1594
|
R.isSamsungBrowser = ua;
|
|
1584
|
-
R.isSmartTV =
|
|
1595
|
+
R.isSmartTV = zn;
|
|
1585
1596
|
R.isTablet = Jn;
|
|
1586
1597
|
R.isWearable = Kn;
|
|
1587
1598
|
R.isWinPhone = Zn;
|
|
1588
1599
|
R.isWindows = sa;
|
|
1589
1600
|
R.isYandex = Xo;
|
|
1590
1601
|
R.mobileModel = Yo;
|
|
1591
|
-
R.mobileVendor =
|
|
1602
|
+
R.mobileVendor = zo;
|
|
1592
1603
|
R.osName = Bo;
|
|
1593
1604
|
R.osVersion = Vo;
|
|
1594
1605
|
R.parseUserAgent = It;
|
|
@@ -1604,18 +1615,18 @@ const Xl = ce.memo(
|
|
|
1604
1615
|
e = Qe.convert3HexTo6(e), ae(() => {
|
|
1605
1616
|
m(_a);
|
|
1606
1617
|
}, []);
|
|
1607
|
-
const
|
|
1618
|
+
const d = (x) => {
|
|
1608
1619
|
!v && x.key === "Enter" && !x.shiftKey && t && (x.preventDefault(), t());
|
|
1609
1620
|
}, a = (x) => {
|
|
1610
1621
|
i?.(x), x.target.style.height = "40px", x.target.style.height = 2 + x.target.scrollHeight + "px";
|
|
1611
1622
|
};
|
|
1612
|
-
let
|
|
1613
|
-
const p = [Wr.textInput, n].filter(Boolean).join(" "),
|
|
1623
|
+
let u = {};
|
|
1624
|
+
const p = [Wr.textInput, n].filter(Boolean).join(" "), g = () => {
|
|
1614
1625
|
s(!0);
|
|
1615
1626
|
}, S = () => {
|
|
1616
1627
|
s(!1);
|
|
1617
1628
|
};
|
|
1618
|
-
return
|
|
1629
|
+
return u = {
|
|
1619
1630
|
borderBottomColor: h ? e !== "#ffffff" ? e : "#c8c8c8" : ""
|
|
1620
1631
|
}, /* @__PURE__ */ O.jsx("div", { className: Wr.textInputWrapper, children: /* @__PURE__ */ O.jsx(
|
|
1621
1632
|
"textarea",
|
|
@@ -1623,11 +1634,11 @@ const Xl = ce.memo(
|
|
|
1623
1634
|
"data-testid": "textbox-input",
|
|
1624
1635
|
ref: b,
|
|
1625
1636
|
className: p,
|
|
1626
|
-
style: { ...
|
|
1627
|
-
onFocus:
|
|
1637
|
+
style: { ...u, ...r },
|
|
1638
|
+
onFocus: g,
|
|
1628
1639
|
onBlur: S,
|
|
1629
1640
|
onInput: (x) => a(x),
|
|
1630
|
-
onKeyDown:
|
|
1641
|
+
onKeyDown: d,
|
|
1631
1642
|
...f
|
|
1632
1643
|
}
|
|
1633
1644
|
) });
|
|
@@ -1647,13 +1658,13 @@ const Xl = ce.memo(
|
|
|
1647
1658
|
searchInput: Ma,
|
|
1648
1659
|
optionsList: $a,
|
|
1649
1660
|
btnContainer: Wa
|
|
1650
|
-
}, Va = "_pseudoCheckbox_1tuhb_1", Ba = "_checkboxCheckMark_1tuhb_4", Ua = "_checkboxCheckMarkPath_1tuhb_7", Ha = "_checked_1tuhb_12",
|
|
1661
|
+
}, Va = "_pseudoCheckbox_1tuhb_1", Ba = "_checkboxCheckMark_1tuhb_4", Ua = "_checkboxCheckMarkPath_1tuhb_7", Ha = "_checked_1tuhb_12", qa = "_checkboxUncheckedChecked_1tuhb_1", za = "_checkboxDisabled_1tuhb_22", _t = {
|
|
1651
1662
|
pseudoCheckbox: Va,
|
|
1652
1663
|
checkboxCheckMark: Ba,
|
|
1653
1664
|
checkboxCheckMarkPath: Ua,
|
|
1654
1665
|
checked: Ha,
|
|
1655
|
-
checkboxUncheckedChecked:
|
|
1656
|
-
checkboxDisabled:
|
|
1666
|
+
checkboxUncheckedChecked: qa,
|
|
1667
|
+
checkboxDisabled: za
|
|
1657
1668
|
}, ni = ({ checked: e = !1, themeColor: t = "", disabled: r = !1 }) => {
|
|
1658
1669
|
let n = {}, i = "#006bb1", c = r ? "#9b9b9b" : "#ffffff";
|
|
1659
1670
|
const o = r ? _t.checkboxDisabled : "", f = e ? _t.checked : "", b = [_t.pseudoCheckbox, f, o].filter(Boolean).join(" ");
|
|
@@ -1698,7 +1709,7 @@ const Zl = ({
|
|
|
1698
1709
|
className: c = "",
|
|
1699
1710
|
style: o = {}
|
|
1700
1711
|
}) => {
|
|
1701
|
-
const f = j(e), [b, v] = oe(t), [m, h] = oe(""), [s,
|
|
1712
|
+
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);
|
|
1702
1713
|
let Z = {};
|
|
1703
1714
|
const [k, G] = oe({ left: 0, top: 0 }), [re, pe] = oe(null), B = j(!1), fe = () => {
|
|
1704
1715
|
setTimeout(() => {
|
|
@@ -1707,7 +1718,7 @@ const Zl = ({
|
|
|
1707
1718
|
};
|
|
1708
1719
|
ae(() => {
|
|
1709
1720
|
const E = (W) => {
|
|
1710
|
-
|
|
1721
|
+
g.current && !g.current.contains(W.target) && (d(!1), h(""), fe());
|
|
1711
1722
|
};
|
|
1712
1723
|
return document.addEventListener("mousedown", E), () => {
|
|
1713
1724
|
document.removeEventListener("mousedown", E);
|
|
@@ -1739,14 +1750,14 @@ const Zl = ({
|
|
|
1739
1750
|
(n === void 0 || he.length <= n) && s && (v(he), r(he), Q(`${W?.text} ${he.includes(E) ? "selected" : "not selected"}`));
|
|
1740
1751
|
}
|
|
1741
1752
|
}, le = (E) => {
|
|
1742
|
-
I(),
|
|
1753
|
+
I(), d(E), setTimeout(() => {
|
|
1743
1754
|
S.current ? S.current?.focus() : x.current?.focus(), Q("use up and down arrow keys to navigate");
|
|
1744
1755
|
}, 0);
|
|
1745
1756
|
}, _ = () => C.current - ($.current + window.scrollY), I = () => {
|
|
1746
1757
|
if (p.current) {
|
|
1747
1758
|
const E = p.current.getBoundingClientRect();
|
|
1748
1759
|
setTimeout(() => {
|
|
1749
|
-
const W =
|
|
1760
|
+
const W = g?.current?.getBoundingClientRect(), ye = _(), he = $.current - E.bottom;
|
|
1750
1761
|
let De;
|
|
1751
1762
|
if (W) {
|
|
1752
1763
|
const Le = E.height, We = E.top, Re = W.height, Ze = Re > We + window.scrollY;
|
|
@@ -1776,7 +1787,7 @@ const Zl = ({
|
|
|
1776
1787
|
x.current?.focus();
|
|
1777
1788
|
}, 0);
|
|
1778
1789
|
let ye = P;
|
|
1779
|
-
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),
|
|
1790
|
+
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) {
|
|
1780
1791
|
const he = F.current.querySelectorAll(`.${Fe.optionsList}`)[ye], De = he.children[0].getAttribute("aria-checked"), Le = `${he.textContent} ${De === "true" ? "selected" : "not selected"} ${ye + 1} out of ${f.current.length}`;
|
|
1781
1792
|
Q(Le), he && he.scrollIntoView({
|
|
1782
1793
|
block: "nearest",
|
|
@@ -1795,9 +1806,9 @@ const Zl = ({
|
|
|
1795
1806
|
pe(E);
|
|
1796
1807
|
}, [m]);
|
|
1797
1808
|
const Ce = () => {
|
|
1798
|
-
|
|
1809
|
+
u(!0);
|
|
1799
1810
|
}, ot = () => {
|
|
1800
|
-
|
|
1811
|
+
u(!1);
|
|
1801
1812
|
};
|
|
1802
1813
|
if (i) {
|
|
1803
1814
|
const E = dt(i);
|
|
@@ -1806,7 +1817,7 @@ const Zl = ({
|
|
|
1806
1817
|
});
|
|
1807
1818
|
}
|
|
1808
1819
|
const Xe = () => {
|
|
1809
|
-
|
|
1820
|
+
d(!1);
|
|
1810
1821
|
};
|
|
1811
1822
|
return /* @__PURE__ */ O.jsx("div", { className: Fe.multiSelectContainer, children: /* @__PURE__ */ O.jsxs("div", { className: Fe.listOptionsWrap, children: [
|
|
1812
1823
|
/* @__PURE__ */ O.jsxs("div", { className: `${c} ${Fe.selectedValuesWrap}`, ref: p, children: [
|
|
@@ -1856,7 +1867,7 @@ const Zl = ({
|
|
|
1856
1867
|
className: "tw-pointer-events-none tw-h-0 tw-overflow-hidden tw-opacity-0"
|
|
1857
1868
|
}
|
|
1858
1869
|
),
|
|
1859
|
-
|
|
1870
|
+
z ? mr(
|
|
1860
1871
|
/* @__PURE__ */ O.jsx(O.Fragment, { children: s && p && /* @__PURE__ */ O.jsx(
|
|
1861
1872
|
"div",
|
|
1862
1873
|
{
|
|
@@ -1871,7 +1882,7 @@ const Zl = ({
|
|
|
1871
1882
|
"div",
|
|
1872
1883
|
{
|
|
1873
1884
|
className: `${Fe.optionsListContainer}`,
|
|
1874
|
-
ref:
|
|
1885
|
+
ref: g,
|
|
1875
1886
|
onClick: (E) => E.stopPropagation(),
|
|
1876
1887
|
style: {
|
|
1877
1888
|
opacity: k.left ? 1 : 0,
|
|
@@ -1939,7 +1950,7 @@ const Zl = ({
|
|
|
1939
1950
|
variant: "primary",
|
|
1940
1951
|
size: "medium",
|
|
1941
1952
|
onClick: () => {
|
|
1942
|
-
|
|
1953
|
+
d(!1), h(""), fe(), r(b);
|
|
1943
1954
|
},
|
|
1944
1955
|
"data-testid": "done-button",
|
|
1945
1956
|
onKeyDown: (E) => {
|
|
@@ -1975,9 +1986,9 @@ const Zl = ({
|
|
|
1975
1986
|
}) => {
|
|
1976
1987
|
const [b, v] = oe(t), m = j({});
|
|
1977
1988
|
let h = {}, s;
|
|
1978
|
-
const
|
|
1979
|
-
const
|
|
1980
|
-
if (!
|
|
1989
|
+
const d = (a) => {
|
|
1990
|
+
const u = e.find((y) => y.id === a);
|
|
1991
|
+
if (!u || u.disabled)
|
|
1981
1992
|
return;
|
|
1982
1993
|
m.current[a]?.click();
|
|
1983
1994
|
const S = b.includes(a) ? b.filter((y) => y !== a) : [...b, a];
|
|
@@ -1998,9 +2009,9 @@ const Zl = ({
|
|
|
1998
2009
|
style: { ...h, ...o },
|
|
1999
2010
|
className: `${c} ${a.disabled || n !== void 0 && b.length >= n && !b.includes(a.id) ? Wt.disabled : ""} ${b.includes(a.id) ? Wt.selected : ""}`,
|
|
2000
2011
|
tabIndex: a.disabled ? -1 : 0,
|
|
2001
|
-
onClick: () =>
|
|
2002
|
-
onKeyPress: (
|
|
2003
|
-
(
|
|
2012
|
+
onClick: () => d(a.id),
|
|
2013
|
+
onKeyPress: (u) => {
|
|
2014
|
+
(u.key === " " || u.code === "Space") && (u.preventDefault(), d(a.id));
|
|
2004
2015
|
},
|
|
2005
2016
|
"data-testid": "option-box",
|
|
2006
2017
|
children: /* @__PURE__ */ O.jsx(
|
|
@@ -2010,8 +2021,8 @@ const Zl = ({
|
|
|
2010
2021
|
checkboxSize: "large",
|
|
2011
2022
|
tabIndex: -1,
|
|
2012
2023
|
themeColor: i,
|
|
2013
|
-
ref: (
|
|
2014
|
-
m.current[a.id] =
|
|
2024
|
+
ref: (u) => {
|
|
2025
|
+
m.current[a.id] = u;
|
|
2015
2026
|
},
|
|
2016
2027
|
checked: b.includes(a.id),
|
|
2017
2028
|
disabled: a.disabled || n !== void 0 && b.length >= n && !b.includes(a.id),
|
|
@@ -2055,7 +2066,7 @@ const Zl = ({
|
|
|
2055
2066
|
}) => {
|
|
2056
2067
|
const [b, v] = oe(r);
|
|
2057
2068
|
let m = {}, h = {}, s = "#ffffff";
|
|
2058
|
-
const
|
|
2069
|
+
const d = (a) => {
|
|
2059
2070
|
if (b?.id === a?.id) {
|
|
2060
2071
|
v(void 0), t(void 0);
|
|
2061
2072
|
return;
|
|
@@ -2065,14 +2076,14 @@ const Zl = ({
|
|
|
2065
2076
|
if (n) {
|
|
2066
2077
|
const a = dt(n);
|
|
2067
2078
|
n = Qe.convert3HexTo6(n);
|
|
2068
|
-
const
|
|
2079
|
+
const u = n === "#ffffff" ? "#333333" : n;
|
|
2069
2080
|
(a === "dark" || a === "light") && (s = n === "#ffffff" || a === "dark" ? "#ffffff" : "#333333", m = {
|
|
2070
|
-
outlineColor:
|
|
2071
|
-
borderColor:
|
|
2081
|
+
outlineColor: u,
|
|
2082
|
+
borderColor: u,
|
|
2072
2083
|
color: n === "#ffffff" || a === "light" ? "#333333" : n
|
|
2073
2084
|
}, h = {
|
|
2074
|
-
borderRightColor:
|
|
2075
|
-
borderTopColor:
|
|
2085
|
+
borderRightColor: u,
|
|
2086
|
+
borderTopColor: u
|
|
2076
2087
|
});
|
|
2077
2088
|
}
|
|
2078
2089
|
return /* @__PURE__ */ O.jsx("div", { className: Ke.singleSelectWrapper, children: /* @__PURE__ */ O.jsx("div", { className: Ke.quickOption, children: /* @__PURE__ */ O.jsx("ul", { className: Ke.quickOption, role: "radiogroup", id: f, children: e.map((a) => /* @__PURE__ */ O.jsxs(
|
|
@@ -2081,9 +2092,9 @@ const Zl = ({
|
|
|
2081
2092
|
tabIndex: a.disabled ? -1 : 0,
|
|
2082
2093
|
className: `${i} ${b?.id === a.id ? Ke.selected : ""} ${a.disabled ? Ke.disabled : ""}`,
|
|
2083
2094
|
style: { ...m, ...c },
|
|
2084
|
-
onClick: () =>
|
|
2085
|
-
onKeyPress: (
|
|
2086
|
-
(
|
|
2095
|
+
onClick: () => d(a),
|
|
2096
|
+
onKeyPress: (u) => {
|
|
2097
|
+
(u.key === " " || u.code === "Space") && (u.preventDefault(), d(a));
|
|
2087
2098
|
},
|
|
2088
2099
|
"data-testid": "checkbox-input",
|
|
2089
2100
|
role: "radio",
|
|
@@ -2155,18 +2166,18 @@ let bs = class {
|
|
|
2155
2166
|
get isHandoffComplete() {
|
|
2156
2167
|
return this.handoffState === "complete";
|
|
2157
2168
|
}
|
|
2158
|
-
}, bt = new bs(),
|
|
2169
|
+
}, bt = new bs(), we = (e, t) => {
|
|
2159
2170
|
bt.isServer ? ae(e, t) : ji(e, t);
|
|
2160
2171
|
};
|
|
2161
|
-
function
|
|
2172
|
+
function ze(e) {
|
|
2162
2173
|
let t = j(e);
|
|
2163
|
-
return
|
|
2174
|
+
return we(() => {
|
|
2164
2175
|
t.current = e;
|
|
2165
2176
|
}, [e]), t;
|
|
2166
2177
|
}
|
|
2167
2178
|
function jt(e, t) {
|
|
2168
|
-
let [r, n] = oe(e), i =
|
|
2169
|
-
return
|
|
2179
|
+
let [r, n] = oe(e), i = ze(e);
|
|
2180
|
+
return we(() => n(i.current), [i, n, ...t]), r;
|
|
2170
2181
|
}
|
|
2171
2182
|
function vs(e) {
|
|
2172
2183
|
typeof queueMicrotask == "function" ? queueMicrotask(e) : Promise.resolve().then(e).catch((t) => setTimeout(() => {
|
|
@@ -2217,7 +2228,7 @@ function nt() {
|
|
|
2217
2228
|
return ae(() => () => e.dispose(), [e]), e;
|
|
2218
2229
|
}
|
|
2219
2230
|
let L = function(e) {
|
|
2220
|
-
let t =
|
|
2231
|
+
let t = ze(e);
|
|
2221
2232
|
return ce.useCallback((...r) => t.current(...r), [t]);
|
|
2222
2233
|
};
|
|
2223
2234
|
function ms() {
|
|
@@ -2231,10 +2242,10 @@ function xr() {
|
|
|
2231
2242
|
t !== !0 && r(!0);
|
|
2232
2243
|
}, [t]), tt.useEffect(() => bt.handoff(), []), e ? !1 : t;
|
|
2233
2244
|
}
|
|
2234
|
-
var
|
|
2235
|
-
let it = (
|
|
2245
|
+
var qr;
|
|
2246
|
+
let it = (qr = ce.useId) != null ? qr : function() {
|
|
2236
2247
|
let e = xr(), [t, r] = ce.useState(e ? () => bt.nextId() : null);
|
|
2237
|
-
return
|
|
2248
|
+
return we(() => {
|
|
2238
2249
|
t === null && r(bt.nextId());
|
|
2239
2250
|
}, [t]), t != null ? "" + t : void 0;
|
|
2240
2251
|
};
|
|
@@ -2249,16 +2260,16 @@ function be(e, t, ...r) {
|
|
|
2249
2260
|
function Jt(e) {
|
|
2250
2261
|
return bt.isServer ? null : e instanceof Node ? e.ownerDocument : e != null && e.hasOwnProperty("current") && e.current instanceof Node ? e.current.ownerDocument : document;
|
|
2251
2262
|
}
|
|
2252
|
-
let
|
|
2253
|
-
var hs = ((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))(hs || {}),
|
|
2263
|
+
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 hs = ((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))(hs || {}), gs = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(gs || {}), ws = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(ws || {}), yr = ((e) => (e[e.Strict = 0] = "Strict", e[e.Loose = 1] = "Loose", e))(yr || {});
|
|
2254
2265
|
function ii(e, t = 0) {
|
|
2255
2266
|
var r;
|
|
2256
2267
|
return e === ((r = Jt(e)) == null ? void 0 : r.body) ? !1 : be(t, { 0() {
|
|
2257
|
-
return e.matches(
|
|
2268
|
+
return e.matches(zr);
|
|
2258
2269
|
}, 1() {
|
|
2259
2270
|
let n = e;
|
|
2260
2271
|
for (; n !== null; ) {
|
|
2261
|
-
if (n.matches(
|
|
2272
|
+
if (n.matches(zr))
|
|
2262
2273
|
return !0;
|
|
2263
2274
|
n = n.parentElement;
|
|
2264
2275
|
}
|
|
@@ -2281,7 +2292,7 @@ function oi(e, t = (r) => r) {
|
|
|
2281
2292
|
});
|
|
2282
2293
|
}
|
|
2283
2294
|
function Vt(e, t, r) {
|
|
2284
|
-
let n =
|
|
2295
|
+
let n = ze(t);
|
|
2285
2296
|
ae(() => {
|
|
2286
2297
|
function i(c) {
|
|
2287
2298
|
n.current(c);
|
|
@@ -2290,7 +2301,7 @@ function Vt(e, t, r) {
|
|
|
2290
2301
|
}, [e, r]);
|
|
2291
2302
|
}
|
|
2292
2303
|
function ys(e, t, r) {
|
|
2293
|
-
let n =
|
|
2304
|
+
let n = ze(t);
|
|
2294
2305
|
ae(() => {
|
|
2295
2306
|
function i(c) {
|
|
2296
2307
|
n.current(c);
|
|
@@ -2344,9 +2355,9 @@ function Yr(e) {
|
|
|
2344
2355
|
}
|
|
2345
2356
|
function si(e, t) {
|
|
2346
2357
|
let [r, n] = oe(() => Yr(e));
|
|
2347
|
-
return
|
|
2358
|
+
return we(() => {
|
|
2348
2359
|
n(Yr(e));
|
|
2349
|
-
}, [e.type, e.as]),
|
|
2360
|
+
}, [e.type, e.as]), we(() => {
|
|
2350
2361
|
r || t.current && t.current instanceof HTMLButtonElement && !t.current.hasAttribute("type") && n("button");
|
|
2351
2362
|
}, [r, t]), r;
|
|
2352
2363
|
}
|
|
@@ -2366,7 +2377,7 @@ function ks({ container: e, accept: t, walk: r, enabled: n = !0 }) {
|
|
|
2366
2377
|
let i = j(t), c = j(r);
|
|
2367
2378
|
ae(() => {
|
|
2368
2379
|
i.current = t, c.current = r;
|
|
2369
|
-
}, [t, r]),
|
|
2380
|
+
}, [t, r]), we(() => {
|
|
2370
2381
|
if (!e || !n)
|
|
2371
2382
|
return;
|
|
2372
2383
|
let o = Jt(e);
|
|
@@ -2409,7 +2420,7 @@ function li(e, t) {
|
|
|
2409
2420
|
})();
|
|
2410
2421
|
return c === -1 ? n : c;
|
|
2411
2422
|
}
|
|
2412
|
-
function
|
|
2423
|
+
function zt(...e) {
|
|
2413
2424
|
return Array.from(new Set(e.flatMap((t) => typeof t == "string" ? t.split(" ") : []))).filter(Boolean).join(" ");
|
|
2414
2425
|
}
|
|
2415
2426
|
var yt = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(yt || {}), lt = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(lt || {});
|
|
@@ -2439,8 +2450,8 @@ function Bt(e, t = {}, r, n) {
|
|
|
2439
2450
|
let m = {};
|
|
2440
2451
|
if (t) {
|
|
2441
2452
|
let h = !1, s = [];
|
|
2442
|
-
for (let [
|
|
2443
|
-
typeof a == "boolean" && (h = !0), a === !0 && s.push(
|
|
2453
|
+
for (let [d, a] of Object.entries(t))
|
|
2454
|
+
typeof a == "boolean" && (h = !0), a === !0 && s.push(d);
|
|
2444
2455
|
h && (m["data-headlessui-state"] = s.join(" "));
|
|
2445
2456
|
}
|
|
2446
2457
|
if (i === rt && Object.keys(Yt(f)).length > 0) {
|
|
@@ -2449,8 +2460,8 @@ function Bt(e, t = {}, r, n) {
|
|
|
2449
2460
|
`), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".', "Render a single element as the child so that we can forward the props onto that element."].map((a) => ` - ${a}`).join(`
|
|
2450
2461
|
`)].join(`
|
|
2451
2462
|
`));
|
|
2452
|
-
let h = v.props, s = typeof h?.className == "function" ? (...a) =>
|
|
2453
|
-
return Fi(v, Object.assign({}, ci(v.props, Yt(or(f, ["ref"]))), m, b, Es(v.ref, b.ref),
|
|
2463
|
+
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, Es(v.ref, b.ref), d));
|
|
2454
2465
|
}
|
|
2455
2466
|
return Ai(i, Object.assign({}, or(f, ["ref"]), i !== rt && b, i !== rt && m), v);
|
|
2456
2467
|
}
|
|
@@ -2652,24 +2663,24 @@ function Ms(e, t) {
|
|
|
2652
2663
|
}
|
|
2653
2664
|
let $s = rt;
|
|
2654
2665
|
function Ws(e, t) {
|
|
2655
|
-
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, [
|
|
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(Ms, { 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) => {
|
|
2656
2667
|
let V = f;
|
|
2657
2668
|
return _?.[V] === I?.[V];
|
|
2658
|
-
} : f), $ =
|
|
2659
|
-
if (
|
|
2660
|
-
let _ =
|
|
2669
|
+
} : 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() {
|
|
2670
|
+
if (g.current && u.activeOptionIndex === null && u.options.length > 0) {
|
|
2671
|
+
let _ = u.options.findIndex((I) => !I.dataRef.current.disabled);
|
|
2661
2672
|
if (_ !== -1)
|
|
2662
2673
|
return _;
|
|
2663
2674
|
}
|
|
2664
|
-
return
|
|
2665
|
-
}, compare:
|
|
2675
|
+
return u.activeOptionIndex;
|
|
2676
|
+
}, compare: q, isSelected: $, nullable: m, __demoMode: v }), [d, n, b, h, m, v, u]), z = j(C.activeOptionIndex !== null ? C.options[C.activeOptionIndex] : null);
|
|
2666
2677
|
ae(() => {
|
|
2667
2678
|
let _ = C.activeOptionIndex !== null ? C.options[C.activeOptionIndex] : null;
|
|
2668
|
-
|
|
2669
|
-
}),
|
|
2670
|
-
|
|
2679
|
+
z.current !== _ && (z.current = _);
|
|
2680
|
+
}), we(() => {
|
|
2681
|
+
u.dataRef.current = C;
|
|
2671
2682
|
}, [C]), ai([C.buttonRef, C.inputRef, C.optionsRef], () => Q.closeCombobox(), C.comboboxState === 0);
|
|
2672
|
-
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:
|
|
2683
|
+
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((_) => {
|
|
2673
2684
|
let I = C.options.find((V) => V.id === _);
|
|
2674
2685
|
I && ne(I.dataRef.current.value);
|
|
2675
2686
|
}), k = L(() => {
|
|
@@ -2678,23 +2689,23 @@ function Ws(e, t) {
|
|
|
2678
2689
|
ne(_.current.value), Q.goToOption(te.Specific, I);
|
|
2679
2690
|
}
|
|
2680
2691
|
}), G = L(() => {
|
|
2681
|
-
p({ type: 0 }),
|
|
2692
|
+
p({ type: 0 }), g.current = !0;
|
|
2682
2693
|
}), re = L(() => {
|
|
2683
|
-
p({ type: 1 }),
|
|
2684
|
-
}), pe = L((_, I, V) => (
|
|
2694
|
+
p({ type: 1 }), g.current = !1;
|
|
2695
|
+
}), 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 }), () => {
|
|
2685
2696
|
var V;
|
|
2686
|
-
((V =
|
|
2697
|
+
((V = z.current) == null ? void 0 : V.id) === _ && (g.current = !0), p({ type: 4, id: _ });
|
|
2687
2698
|
})), fe = L((_) => (p({ type: 5, id: _ }), () => p({ type: 5, id: null }))), ne = L((_) => be(C.mode, { 0() {
|
|
2688
2699
|
return a?.(_);
|
|
2689
2700
|
}, 1() {
|
|
2690
|
-
let I = C.value.slice(), V = I.findIndex((xe) =>
|
|
2701
|
+
let I = C.value.slice(), V = I.findIndex((xe) => q(xe, _));
|
|
2691
2702
|
return V === -1 ? I.push(_) : I.splice(V, 1), a?.(I);
|
|
2692
2703
|
} })), Q = ke(() => ({ onChange: ne, registerOption: B, registerLabel: fe, goToOption: pe, closeCombobox: re, openCombobox: G, selectActiveOption: k, selectOption: Z }), []), me = t === null ? {} : { ref: t }, ve = j(null), le = nt();
|
|
2693
2704
|
return ae(() => {
|
|
2694
2705
|
ve.current && n !== void 0 && le.addEventListener(ve.current, "reset", () => {
|
|
2695
2706
|
a?.(n);
|
|
2696
2707
|
});
|
|
2697
|
-
}, [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 &&
|
|
2708
|
+
}, [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) => {
|
|
2698
2709
|
var Ce;
|
|
2699
2710
|
ve.current = (Ce = xe?.closest("form")) != null ? Ce : null;
|
|
2700
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: $s, name: "Combobox" }))));
|
|
@@ -2702,8 +2713,8 @@ function Ws(e, t) {
|
|
|
2702
2713
|
let Vs = "input";
|
|
2703
2714
|
function Bs(e, t) {
|
|
2704
2715
|
var r, n, i, c;
|
|
2705
|
-
let o = it(), { id: f = `headlessui-combobox-input-${o}`, onChange: b, displayValue: v, type: m = "text", ...h } = e, s = kt("Combobox.Input"),
|
|
2706
|
-
|
|
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 = js(s.inputRef), p = j(!1), g = nt(), S = L(() => {
|
|
2717
|
+
d.onChange(null), s.optionsRef.current && (s.optionsRef.current.scrollTop = 0), d.goToOption(te.Nothing);
|
|
2707
2718
|
}), x = function() {
|
|
2708
2719
|
var k;
|
|
2709
2720
|
return typeof v == "function" && s.value !== void 0 ? (k = v(s.value)) != null ? k : "" : typeof s.value == "string" ? s.value : "";
|
|
@@ -2713,12 +2724,12 @@ function Bs(e, t) {
|
|
|
2713
2724
|
return;
|
|
2714
2725
|
let B = s.inputRef.current;
|
|
2715
2726
|
B && ((pe === 0 && G === 1 || k !== re) && (B.value = k), requestAnimationFrame(() => {
|
|
2716
|
-
if (p.current || !B ||
|
|
2727
|
+
if (p.current || !B || u?.activeElement !== B)
|
|
2717
2728
|
return;
|
|
2718
2729
|
let { selectionStart: fe, selectionEnd: ne } = B;
|
|
2719
2730
|
Math.abs((ne ?? 0) - (fe ?? 0)) === 0 && fe === 0 && B.setSelectionRange(B.value.length, B.value.length);
|
|
2720
2731
|
}));
|
|
2721
|
-
}, [x, s.comboboxState,
|
|
2732
|
+
}, [x, s.comboboxState, u]), Kr(([k], [G]) => {
|
|
2722
2733
|
if (k === 0 && G === 1) {
|
|
2723
2734
|
if (p.current)
|
|
2724
2735
|
return;
|
|
@@ -2732,159 +2743,159 @@ function Bs(e, t) {
|
|
|
2732
2743
|
let y = j(!1), F = L(() => {
|
|
2733
2744
|
y.current = !0;
|
|
2734
2745
|
}), P = L(() => {
|
|
2735
|
-
|
|
2746
|
+
g.nextFrame(() => {
|
|
2736
2747
|
y.current = !1;
|
|
2737
2748
|
});
|
|
2738
|
-
}),
|
|
2749
|
+
}), q = L((k) => {
|
|
2739
2750
|
switch (p.current = !0, k.key) {
|
|
2740
2751
|
case ee.Enter:
|
|
2741
2752
|
if (p.current = !1, s.comboboxState !== 0 || y.current)
|
|
2742
2753
|
return;
|
|
2743
2754
|
if (k.preventDefault(), k.stopPropagation(), s.activeOptionIndex === null) {
|
|
2744
|
-
|
|
2755
|
+
d.closeCombobox();
|
|
2745
2756
|
return;
|
|
2746
2757
|
}
|
|
2747
|
-
|
|
2758
|
+
d.selectActiveOption(), s.mode === 0 && d.closeCombobox();
|
|
2748
2759
|
break;
|
|
2749
2760
|
case ee.ArrowDown:
|
|
2750
2761
|
return p.current = !1, k.preventDefault(), k.stopPropagation(), be(s.comboboxState, { 0: () => {
|
|
2751
|
-
|
|
2762
|
+
d.goToOption(te.Next);
|
|
2752
2763
|
}, 1: () => {
|
|
2753
|
-
|
|
2764
|
+
d.openCombobox();
|
|
2754
2765
|
} });
|
|
2755
2766
|
case ee.ArrowUp:
|
|
2756
2767
|
return p.current = !1, k.preventDefault(), k.stopPropagation(), be(s.comboboxState, { 0: () => {
|
|
2757
|
-
|
|
2768
|
+
d.goToOption(te.Previous);
|
|
2758
2769
|
}, 1: () => {
|
|
2759
|
-
|
|
2760
|
-
s.value ||
|
|
2770
|
+
d.openCombobox(), g.nextFrame(() => {
|
|
2771
|
+
s.value || d.goToOption(te.Last);
|
|
2761
2772
|
});
|
|
2762
2773
|
} });
|
|
2763
2774
|
case ee.Home:
|
|
2764
2775
|
if (k.shiftKey)
|
|
2765
2776
|
break;
|
|
2766
|
-
return p.current = !1, k.preventDefault(), k.stopPropagation(),
|
|
2777
|
+
return p.current = !1, k.preventDefault(), k.stopPropagation(), d.goToOption(te.First);
|
|
2767
2778
|
case ee.PageUp:
|
|
2768
|
-
return p.current = !1, k.preventDefault(), k.stopPropagation(),
|
|
2779
|
+
return p.current = !1, k.preventDefault(), k.stopPropagation(), d.goToOption(te.First);
|
|
2769
2780
|
case ee.End:
|
|
2770
2781
|
if (k.shiftKey)
|
|
2771
2782
|
break;
|
|
2772
|
-
return p.current = !1, k.preventDefault(), k.stopPropagation(),
|
|
2783
|
+
return p.current = !1, k.preventDefault(), k.stopPropagation(), d.goToOption(te.Last);
|
|
2773
2784
|
case ee.PageDown:
|
|
2774
|
-
return p.current = !1, k.preventDefault(), k.stopPropagation(),
|
|
2785
|
+
return p.current = !1, k.preventDefault(), k.stopPropagation(), d.goToOption(te.Last);
|
|
2775
2786
|
case ee.Escape:
|
|
2776
|
-
return p.current = !1, s.comboboxState !== 0 ? void 0 : (k.preventDefault(), s.optionsRef.current && !s.optionsPropsRef.current.static && k.stopPropagation(), s.nullable && s.mode === 0 && s.value === null && S(),
|
|
2787
|
+
return p.current = !1, s.comboboxState !== 0 ? void 0 : (k.preventDefault(), s.optionsRef.current && !s.optionsPropsRef.current.static && k.stopPropagation(), s.nullable && s.mode === 0 && s.value === null && S(), d.closeCombobox());
|
|
2777
2788
|
case ee.Tab:
|
|
2778
2789
|
if (p.current = !1, s.comboboxState !== 0)
|
|
2779
2790
|
return;
|
|
2780
|
-
s.mode === 0 &&
|
|
2791
|
+
s.mode === 0 && d.selectActiveOption(), d.closeCombobox();
|
|
2781
2792
|
break;
|
|
2782
2793
|
}
|
|
2783
2794
|
}), $ = L((k) => {
|
|
2784
|
-
b?.(k), s.nullable && s.mode === 0 && k.target.value === "" && S(),
|
|
2795
|
+
b?.(k), s.nullable && s.mode === 0 && k.target.value === "" && S(), d.openCombobox();
|
|
2785
2796
|
}), C = L(() => {
|
|
2786
2797
|
p.current = !1;
|
|
2787
|
-
}),
|
|
2798
|
+
}), z = jt(() => {
|
|
2788
2799
|
if (s.labelId)
|
|
2789
2800
|
return [s.labelId].join(" ");
|
|
2790
|
-
}, [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":
|
|
2801
|
+
}, [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 };
|
|
2791
2802
|
return Ne({ ourProps: Z, theirProps: h, slot: de, defaultTag: Vs, name: "Combobox.Input" });
|
|
2792
2803
|
}
|
|
2793
2804
|
let Us = "button";
|
|
2794
2805
|
function Hs(e, t) {
|
|
2795
2806
|
var r;
|
|
2796
|
-
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((
|
|
2797
|
-
switch (
|
|
2807
|
+
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
|
+
switch (u.key) {
|
|
2798
2809
|
case ee.ArrowDown:
|
|
2799
|
-
return
|
|
2810
|
+
return u.preventDefault(), u.stopPropagation(), n.comboboxState === 1 && i.openCombobox(), v.nextFrame(() => {
|
|
2800
2811
|
var p;
|
|
2801
2812
|
return (p = n.inputRef.current) == null ? void 0 : p.focus({ preventScroll: !0 });
|
|
2802
2813
|
});
|
|
2803
2814
|
case ee.ArrowUp:
|
|
2804
|
-
return
|
|
2815
|
+
return u.preventDefault(), u.stopPropagation(), n.comboboxState === 1 && (i.openCombobox(), v.nextFrame(() => {
|
|
2805
2816
|
n.value || i.goToOption(te.Last);
|
|
2806
2817
|
})), v.nextFrame(() => {
|
|
2807
2818
|
var p;
|
|
2808
2819
|
return (p = n.inputRef.current) == null ? void 0 : p.focus({ preventScroll: !0 });
|
|
2809
2820
|
});
|
|
2810
2821
|
case ee.Escape:
|
|
2811
|
-
return n.comboboxState !== 0 ? void 0 : (
|
|
2822
|
+
return n.comboboxState !== 0 ? void 0 : (u.preventDefault(), n.optionsRef.current && !n.optionsPropsRef.current.static && u.stopPropagation(), i.closeCombobox(), v.nextFrame(() => {
|
|
2812
2823
|
var p;
|
|
2813
2824
|
return (p = n.inputRef.current) == null ? void 0 : p.focus({ preventScroll: !0 });
|
|
2814
2825
|
}));
|
|
2815
2826
|
default:
|
|
2816
2827
|
return;
|
|
2817
2828
|
}
|
|
2818
|
-
}), h = L((
|
|
2819
|
-
if (ui(
|
|
2820
|
-
return
|
|
2821
|
-
n.comboboxState === 0 ? i.closeCombobox() : (
|
|
2829
|
+
}), h = L((u) => {
|
|
2830
|
+
if (ui(u.currentTarget))
|
|
2831
|
+
return u.preventDefault();
|
|
2832
|
+
n.comboboxState === 0 ? i.closeCombobox() : (u.preventDefault(), i.openCombobox()), v.nextFrame(() => {
|
|
2822
2833
|
var p;
|
|
2823
2834
|
return (p = n.inputRef.current) == null ? void 0 : p.focus({ preventScroll: !0 });
|
|
2824
2835
|
});
|
|
2825
2836
|
}), s = jt(() => {
|
|
2826
2837
|
if (n.labelId)
|
|
2827
2838
|
return [n.labelId, f].join(" ");
|
|
2828
|
-
}, [n.labelId, f]),
|
|
2829
|
-
return Ne({ ourProps: a, theirProps: b, slot:
|
|
2839
|
+
}, [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: Us, name: "Combobox.Button" });
|
|
2830
2841
|
}
|
|
2831
|
-
let
|
|
2832
|
-
function
|
|
2842
|
+
let qs = "label";
|
|
2843
|
+
function zs(e, t) {
|
|
2833
2844
|
let r = it(), { id: n = `headlessui-combobox-label-${r}`, ...i } = e, c = kt("Combobox.Label"), o = Lt("Combobox.Label"), f = He(c.labelRef, t);
|
|
2834
|
-
|
|
2845
|
+
we(() => o.registerLabel(n), [n]);
|
|
2835
2846
|
let b = L(() => {
|
|
2836
2847
|
var m;
|
|
2837
2848
|
return (m = c.inputRef.current) == null ? void 0 : m.focus({ preventScroll: !0 });
|
|
2838
2849
|
}), v = ke(() => ({ open: c.comboboxState === 0, disabled: c.disabled }), [c]);
|
|
2839
|
-
return Ne({ ourProps: { ref: f, id: n, onClick: b }, theirProps: i, slot: v, defaultTag:
|
|
2850
|
+
return Ne({ ourProps: { ref: f, id: n, onClick: b }, theirProps: i, slot: v, defaultTag: qs, name: "Combobox.Label" });
|
|
2840
2851
|
}
|
|
2841
2852
|
let Ys = "ul", Ks = yt.RenderStrategy | yt.Static;
|
|
2842
2853
|
function Gs(e, t) {
|
|
2843
2854
|
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)();
|
|
2844
|
-
|
|
2845
|
-
var
|
|
2846
|
-
o.optionsPropsRef.current.static = (
|
|
2847
|
-
}, [o.optionsPropsRef, e.static]),
|
|
2855
|
+
we(() => {
|
|
2856
|
+
var d;
|
|
2857
|
+
o.optionsPropsRef.current.static = (d = e.static) != null ? d : !1;
|
|
2858
|
+
}, [o.optionsPropsRef, e.static]), we(() => {
|
|
2848
2859
|
o.optionsPropsRef.current.hold = i;
|
|
2849
|
-
}, [o.optionsPropsRef, i]), ks({ container: o.optionsRef.current, enabled: o.comboboxState === 0, accept(
|
|
2850
|
-
return
|
|
2851
|
-
}, walk(
|
|
2852
|
-
|
|
2860
|
+
}, [o.optionsPropsRef, i]), ks({ container: o.optionsRef.current, enabled: o.comboboxState === 0, accept(d) {
|
|
2861
|
+
return d.getAttribute("role") === "option" ? NodeFilter.FILTER_REJECT : d.hasAttribute("role") ? NodeFilter.FILTER_SKIP : NodeFilter.FILTER_ACCEPT;
|
|
2862
|
+
}, walk(d) {
|
|
2863
|
+
d.setAttribute("role", "none");
|
|
2853
2864
|
} });
|
|
2854
2865
|
let m = jt(() => {
|
|
2855
|
-
var
|
|
2856
|
-
return (a = o.labelId) != null ? a : (
|
|
2866
|
+
var d, a;
|
|
2867
|
+
return (a = o.labelId) != null ? a : (d = o.buttonRef.current) == null ? void 0 : d.id;
|
|
2857
2868
|
}, [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 };
|
|
2858
2869
|
return Ne({ ourProps: s, theirProps: c, slot: h, defaultTag: Ys, features: Ks, visible: v, name: "Combobox.Options" });
|
|
2859
2870
|
}
|
|
2860
2871
|
let Js = "li";
|
|
2861
2872
|
function Qs(e, t) {
|
|
2862
2873
|
var r, n;
|
|
2863
|
-
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),
|
|
2864
|
-
|
|
2865
|
-
let
|
|
2866
|
-
|
|
2874
|
+
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
|
+
we(() => m.registerOption(c, a), [a, c]);
|
|
2876
|
+
let g = j(!v.__demoMode);
|
|
2877
|
+
we(() => {
|
|
2867
2878
|
if (!v.__demoMode)
|
|
2868
2879
|
return;
|
|
2869
2880
|
let C = Je();
|
|
2870
2881
|
return C.requestAnimationFrame(() => {
|
|
2871
|
-
|
|
2882
|
+
g.current = !0;
|
|
2872
2883
|
}), C.dispose;
|
|
2873
|
-
}, []),
|
|
2874
|
-
if (v.comboboxState !== 0 || !h || !
|
|
2884
|
+
}, []), we(() => {
|
|
2885
|
+
if (v.comboboxState !== 0 || !h || !g.current || v.activationTrigger === 0)
|
|
2875
2886
|
return;
|
|
2876
2887
|
let C = Je();
|
|
2877
2888
|
return C.requestAnimationFrame(() => {
|
|
2878
|
-
var
|
|
2879
|
-
(de = (
|
|
2889
|
+
var z, de;
|
|
2890
|
+
(de = (z = d.current) == null ? void 0 : z.scrollIntoView) == null || de.call(z, { block: "nearest" });
|
|
2880
2891
|
}), C.dispose;
|
|
2881
|
-
}, [
|
|
2892
|
+
}, [d, h, v.comboboxState, v.activationTrigger, v.activeOptionIndex]);
|
|
2882
2893
|
let S = L((C) => {
|
|
2883
2894
|
if (o)
|
|
2884
2895
|
return C.preventDefault();
|
|
2885
2896
|
p(), v.mode === 0 && m.closeCombobox(), Is() || requestAnimationFrame(() => {
|
|
2886
|
-
var
|
|
2887
|
-
return (
|
|
2897
|
+
var z;
|
|
2898
|
+
return (z = v.inputRef.current) == null ? void 0 : z.focus();
|
|
2888
2899
|
});
|
|
2889
2900
|
}), x = L(() => {
|
|
2890
2901
|
if (o)
|
|
@@ -2892,15 +2903,15 @@ function Qs(e, t) {
|
|
|
2892
2903
|
m.goToOption(te.Specific, c);
|
|
2893
2904
|
}), y = vi(), F = L((C) => y.update(C)), P = L((C) => {
|
|
2894
2905
|
y.wasMoved(C) && (o || h || m.goToOption(te.Specific, c, 0));
|
|
2895
|
-
}),
|
|
2906
|
+
}), q = L((C) => {
|
|
2896
2907
|
y.wasMoved(C) && (o || h && (v.optionsPropsRef.current.hold || m.goToOption(te.Nothing)));
|
|
2897
2908
|
}), $ = ke(() => ({ active: h, selected: s, disabled: o }), [h, s, o]);
|
|
2898
|
-
return Ne({ ourProps: { id: c, ref:
|
|
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: Js, name: "Combobox.Option" });
|
|
2899
2910
|
}
|
|
2900
|
-
let Xs = je(Ws), Zs = je(Hs), el = je(Bs), tl = je(
|
|
2911
|
+
let Xs = je(Ws), Zs = je(Hs), el = je(Bs), tl = je(zs), rl = je(Gs), nl = je(Qs), Rt = Object.assign(Xs, { Input: el, Button: Zs, Label: tl, Options: rl, Option: nl });
|
|
2901
2912
|
function Cr() {
|
|
2902
2913
|
let e = j(!1);
|
|
2903
|
-
return
|
|
2914
|
+
return we(() => (e.current = !0, () => {
|
|
2904
2915
|
e.current = !1;
|
|
2905
2916
|
}), []), e;
|
|
2906
2917
|
}
|
|
@@ -3012,35 +3023,35 @@ let fl = rt;
|
|
|
3012
3023
|
function pl(e, t) {
|
|
3013
3024
|
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;
|
|
3014
3025
|
const s = v ? "horizontal" : "vertical";
|
|
3015
|
-
let
|
|
3026
|
+
let d = He(t), [a = m ? [] : void 0, u] = bi(r, o, n), [p, g] = en(dl, { 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) => {
|
|
3016
3027
|
let V = f;
|
|
3017
3028
|
return _?.[V] === I?.[V];
|
|
3018
|
-
} : f),
|
|
3019
|
-
|
|
3029
|
+
} : 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]);
|
|
3030
|
+
we(() => {
|
|
3020
3031
|
p.dataRef.current = $;
|
|
3021
3032
|
}, [$]), ai([$.buttonRef, $.optionsRef], (_, I) => {
|
|
3022
3033
|
var V;
|
|
3023
|
-
|
|
3034
|
+
g({ type: 1 }), ii(I, yr.Loose) || (_.preventDefault(), (V = $.buttonRef.current) == null || V.focus());
|
|
3024
3035
|
}, $.listboxState === 0);
|
|
3025
|
-
let C = ke(() => ({ open: $.listboxState === 0, disabled: b, value: a }), [$, b, a]),
|
|
3036
|
+
let C = ke(() => ({ open: $.listboxState === 0, disabled: b, value: a }), [$, b, a]), z = L((_) => {
|
|
3026
3037
|
let I = $.options.find((V) => V.id === _);
|
|
3027
3038
|
I && B(I.dataRef.current.value);
|
|
3028
3039
|
}), de = L(() => {
|
|
3029
3040
|
if ($.activeOptionIndex !== null) {
|
|
3030
3041
|
let { dataRef: _, id: I } = $.options[$.activeOptionIndex];
|
|
3031
|
-
B(_.current.value),
|
|
3042
|
+
B(_.current.value), g({ type: 2, focus: te.Specific, id: I });
|
|
3032
3043
|
}
|
|
3033
|
-
}), Z = L(() =>
|
|
3034
|
-
return
|
|
3044
|
+
}), 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
|
+
return u?.(_);
|
|
3035
3046
|
}, 1() {
|
|
3036
3047
|
let I = $.value.slice(), V = I.findIndex((xe) => P(xe, _));
|
|
3037
|
-
return V === -1 ? I.push(_) : I.splice(V, 1),
|
|
3038
|
-
} })), fe = L((_) =>
|
|
3048
|
+
return V === -1 ? I.push(_) : I.splice(V, 1), u?.(I);
|
|
3049
|
+
} })), 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();
|
|
3039
3050
|
return ae(() => {
|
|
3040
3051
|
ve.current && n !== void 0 && le.addEventListener(ve.current, "reset", () => {
|
|
3041
|
-
|
|
3052
|
+
u?.(n);
|
|
3042
3053
|
});
|
|
3043
|
-
}, [ve,
|
|
3054
|
+
}, [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) => {
|
|
3044
3055
|
var Ce;
|
|
3045
3056
|
ve.current = (Ce = xe?.closest("form")) != null ? Ce : null;
|
|
3046
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: fl, name: "Listbox" }))));
|
|
@@ -3073,41 +3084,41 @@ function vl(e, t) {
|
|
|
3073
3084
|
if (ui(p.currentTarget))
|
|
3074
3085
|
return p.preventDefault();
|
|
3075
3086
|
o.listboxState === 0 ? (f.closeListbox(), v.nextFrame(() => {
|
|
3076
|
-
var
|
|
3077
|
-
return (
|
|
3087
|
+
var g;
|
|
3088
|
+
return (g = o.buttonRef.current) == null ? void 0 : g.focus({ preventScroll: !0 });
|
|
3078
3089
|
})) : (p.preventDefault(), f.openListbox());
|
|
3079
|
-
}),
|
|
3090
|
+
}), d = jt(() => {
|
|
3080
3091
|
if (o.labelId)
|
|
3081
3092
|
return [o.labelId, i].join(" ");
|
|
3082
|
-
}, [o.labelId, i]), a = ke(() => ({ open: o.listboxState === 0, disabled: o.disabled, value: o.value }), [o]),
|
|
3083
|
-
return Ne({ ourProps:
|
|
3093
|
+
}, [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: bl, name: "Listbox.Button" });
|
|
3084
3095
|
}
|
|
3085
3096
|
let ml = "label";
|
|
3086
3097
|
function hl(e, t) {
|
|
3087
3098
|
let r = it(), { id: n = `headlessui-listbox-label-${r}`, ...i } = e, c = At("Listbox.Label"), o = Ft("Listbox.Label"), f = He(c.labelRef, t);
|
|
3088
|
-
|
|
3099
|
+
we(() => o.registerLabel(n), [n]);
|
|
3089
3100
|
let b = L(() => {
|
|
3090
3101
|
var m;
|
|
3091
3102
|
return (m = c.buttonRef.current) == null ? void 0 : m.focus({ preventScroll: !0 });
|
|
3092
3103
|
}), v = ke(() => ({ open: c.listboxState === 0, disabled: c.disabled }), [c]);
|
|
3093
3104
|
return Ne({ ourProps: { ref: f, id: n, onClick: b }, theirProps: i, slot: v, defaultTag: ml, name: "Listbox.Label" });
|
|
3094
3105
|
}
|
|
3095
|
-
let
|
|
3106
|
+
let gl = "ul", wl = yt.RenderStrategy | yt.Static;
|
|
3096
3107
|
function xl(e, t) {
|
|
3097
3108
|
var r;
|
|
3098
3109
|
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)();
|
|
3099
3110
|
ae(() => {
|
|
3100
|
-
var
|
|
3111
|
+
var g;
|
|
3101
3112
|
let S = o.optionsRef.current;
|
|
3102
|
-
S && o.listboxState === 0 && S !== ((
|
|
3113
|
+
S && o.listboxState === 0 && S !== ((g = Jt(S)) == null ? void 0 : g.activeElement) && S.focus({ preventScroll: !0 });
|
|
3103
3114
|
}, [o.listboxState, o.optionsRef]);
|
|
3104
|
-
let
|
|
3105
|
-
switch (m.dispose(),
|
|
3115
|
+
let d = L((g) => {
|
|
3116
|
+
switch (m.dispose(), g.key) {
|
|
3106
3117
|
case ee.Space:
|
|
3107
3118
|
if (o.searchQuery !== "")
|
|
3108
|
-
return
|
|
3119
|
+
return g.preventDefault(), g.stopPropagation(), f.search(g.key);
|
|
3109
3120
|
case ee.Enter:
|
|
3110
|
-
if (
|
|
3121
|
+
if (g.preventDefault(), g.stopPropagation(), o.activeOptionIndex !== null) {
|
|
3111
3122
|
let { dataRef: S } = o.options[o.activeOptionIndex];
|
|
3112
3123
|
f.onChange(S.current.value);
|
|
3113
3124
|
}
|
|
@@ -3117,72 +3128,72 @@ function xl(e, t) {
|
|
|
3117
3128
|
}));
|
|
3118
3129
|
break;
|
|
3119
3130
|
case be(o.orientation, { vertical: ee.ArrowDown, horizontal: ee.ArrowRight }):
|
|
3120
|
-
return
|
|
3131
|
+
return g.preventDefault(), g.stopPropagation(), f.goToOption(te.Next);
|
|
3121
3132
|
case be(o.orientation, { vertical: ee.ArrowUp, horizontal: ee.ArrowLeft }):
|
|
3122
|
-
return
|
|
3133
|
+
return g.preventDefault(), g.stopPropagation(), f.goToOption(te.Previous);
|
|
3123
3134
|
case ee.Home:
|
|
3124
3135
|
case ee.PageUp:
|
|
3125
|
-
return
|
|
3136
|
+
return g.preventDefault(), g.stopPropagation(), f.goToOption(te.First);
|
|
3126
3137
|
case ee.End:
|
|
3127
3138
|
case ee.PageDown:
|
|
3128
|
-
return
|
|
3139
|
+
return g.preventDefault(), g.stopPropagation(), f.goToOption(te.Last);
|
|
3129
3140
|
case ee.Escape:
|
|
3130
|
-
return
|
|
3141
|
+
return g.preventDefault(), g.stopPropagation(), f.closeListbox(), v.nextFrame(() => {
|
|
3131
3142
|
var S;
|
|
3132
3143
|
return (S = o.buttonRef.current) == null ? void 0 : S.focus({ preventScroll: !0 });
|
|
3133
3144
|
});
|
|
3134
3145
|
case ee.Tab:
|
|
3135
|
-
|
|
3146
|
+
g.preventDefault(), g.stopPropagation();
|
|
3136
3147
|
break;
|
|
3137
3148
|
default:
|
|
3138
|
-
|
|
3149
|
+
g.key.length === 1 && (f.search(g.key), m.setTimeout(() => f.clearSearch(), 350));
|
|
3139
3150
|
break;
|
|
3140
3151
|
}
|
|
3141
3152
|
}), a = jt(() => {
|
|
3142
|
-
var
|
|
3143
|
-
return (x = (
|
|
3144
|
-
}, [o.labelRef.current, o.buttonRef.current]),
|
|
3145
|
-
return Ne({ ourProps: p, theirProps: c, slot:
|
|
3153
|
+
var g, S, x;
|
|
3154
|
+
return (x = (g = o.labelRef.current) == null ? void 0 : g.id) != null ? x : (S = o.buttonRef.current) == null ? void 0 : S.id;
|
|
3155
|
+
}, [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: gl, features: wl, visible: s, name: "Listbox.Options" });
|
|
3146
3157
|
}
|
|
3147
3158
|
let yl = "li";
|
|
3148
3159
|
function Ol(e, t) {
|
|
3149
|
-
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 = ol(h),
|
|
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 = ol(h), d = ze({ disabled: i, value: c, domRef: h, get textValue() {
|
|
3150
3161
|
return s();
|
|
3151
3162
|
} }), a = He(t, h);
|
|
3152
|
-
|
|
3163
|
+
we(() => {
|
|
3153
3164
|
if (f.listboxState !== 0 || !v || f.activationTrigger === 0)
|
|
3154
3165
|
return;
|
|
3155
3166
|
let P = Je();
|
|
3156
3167
|
return P.requestAnimationFrame(() => {
|
|
3157
|
-
var
|
|
3158
|
-
($ = (
|
|
3168
|
+
var q, $;
|
|
3169
|
+
($ = (q = h.current) == null ? void 0 : q.scrollIntoView) == null || $.call(q, { block: "nearest" });
|
|
3159
3170
|
}), P.dispose;
|
|
3160
|
-
}, [h, v, f.listboxState, f.activationTrigger, f.activeOptionIndex]),
|
|
3161
|
-
let
|
|
3171
|
+
}, [h, v, f.listboxState, f.activationTrigger, f.activeOptionIndex]), we(() => b.registerOption(n, d), [d, n]);
|
|
3172
|
+
let u = L((P) => {
|
|
3162
3173
|
if (i)
|
|
3163
3174
|
return P.preventDefault();
|
|
3164
3175
|
b.onChange(c), f.mode === 0 && (b.closeListbox(), Je().nextFrame(() => {
|
|
3165
|
-
var
|
|
3166
|
-
return (
|
|
3176
|
+
var q;
|
|
3177
|
+
return (q = f.buttonRef.current) == null ? void 0 : q.focus({ preventScroll: !0 });
|
|
3167
3178
|
}));
|
|
3168
3179
|
}), p = L(() => {
|
|
3169
3180
|
if (i)
|
|
3170
3181
|
return b.goToOption(te.Nothing);
|
|
3171
3182
|
b.goToOption(te.Specific, n);
|
|
3172
|
-
}),
|
|
3173
|
-
|
|
3183
|
+
}), g = vi(), S = L((P) => g.update(P)), x = L((P) => {
|
|
3184
|
+
g.wasMoved(P) && (i || v || b.goToOption(te.Specific, n, 0));
|
|
3174
3185
|
}), y = L((P) => {
|
|
3175
|
-
|
|
3186
|
+
g.wasMoved(P) && (i || v && b.goToOption(te.Nothing));
|
|
3176
3187
|
}), F = ke(() => ({ active: v, selected: m, disabled: i }), [v, m, i]);
|
|
3177
|
-
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:
|
|
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: yl, name: "Listbox.Option" });
|
|
3178
3189
|
}
|
|
3179
3190
|
let kl = je(pl), Sl = je(vl), El = je(hl), Tl = je(xl), _l = je(Ol), Kt = Object.assign(kl, { Button: Sl, Label: El, Options: Tl, Option: _l });
|
|
3180
3191
|
function Cl(e = 0) {
|
|
3181
|
-
let [t, r] = oe(e), n = Cr(), i =
|
|
3192
|
+
let [t, r] = oe(e), n = Cr(), i = wt((b) => {
|
|
3182
3193
|
n.current && r((v) => v | b);
|
|
3183
|
-
}, [t, n]), c =
|
|
3194
|
+
}, [t, n]), c = wt((b) => !!(t & b), [t]), o = wt((b) => {
|
|
3184
3195
|
n.current && r((v) => v & ~b);
|
|
3185
|
-
}, [r, n]), f =
|
|
3196
|
+
}, [r, n]), f = wt((b) => {
|
|
3186
3197
|
n.current && r((v) => v ^ b);
|
|
3187
3198
|
}, [r]);
|
|
3188
3199
|
return { flags: t, addFlag: i, hasFlag: c, removeFlag: o, toggleFlag: f };
|
|
@@ -3233,10 +3244,10 @@ function Il(e, t, r, n) {
|
|
|
3233
3244
|
}), c.dispose;
|
|
3234
3245
|
}
|
|
3235
3246
|
function jl({ immediate: e, container: t, direction: r, classes: n, onStart: i, onStop: c }) {
|
|
3236
|
-
let o = Cr(), f = nt(), b =
|
|
3237
|
-
|
|
3247
|
+
let o = Cr(), f = nt(), b = ze(r);
|
|
3248
|
+
we(() => {
|
|
3238
3249
|
e && (b.current = "enter");
|
|
3239
|
-
}, [e]),
|
|
3250
|
+
}, [e]), we(() => {
|
|
3240
3251
|
let v = Je();
|
|
3241
3252
|
f.add(v.dispose);
|
|
3242
3253
|
let m = t.current;
|
|
@@ -3270,30 +3281,30 @@ function er(e) {
|
|
|
3270
3281
|
return "children" in e ? er(e.children) : e.current.filter(({ el: t }) => t.current !== null).filter(({ state: t }) => t === "visible").length > 0;
|
|
3271
3282
|
}
|
|
3272
3283
|
function mi(e, t) {
|
|
3273
|
-
let r =
|
|
3274
|
-
let
|
|
3275
|
-
|
|
3276
|
-
n.current.splice(
|
|
3284
|
+
let r = ze(e), n = j([]), i = Cr(), c = nt(), o = L((d, a = lt.Hidden) => {
|
|
3285
|
+
let u = n.current.findIndex(({ el: p }) => p === d);
|
|
3286
|
+
u !== -1 && (be(a, { [lt.Unmount]() {
|
|
3287
|
+
n.current.splice(u, 1);
|
|
3277
3288
|
}, [lt.Hidden]() {
|
|
3278
|
-
n.current[
|
|
3289
|
+
n.current[u].state = "hidden";
|
|
3279
3290
|
} }), c.microTask(() => {
|
|
3280
3291
|
var p;
|
|
3281
3292
|
!er(n) && i.current && ((p = r.current) == null || p.call(r));
|
|
3282
3293
|
}));
|
|
3283
|
-
}), f = L((
|
|
3284
|
-
let a = n.current.find(({ el:
|
|
3285
|
-
return a ? a.state !== "visible" && (a.state = "visible") : n.current.push({ el:
|
|
3286
|
-
}), b = j([]), v = j(Promise.resolve()), m = j({ enter: [], leave: [], idle: [] }), h = L((
|
|
3287
|
-
b.current.splice(0), t && (t.chains.current[a] = t.chains.current[a].filter(([p]) => p !==
|
|
3294
|
+
}), f = L((d) => {
|
|
3295
|
+
let a = n.current.find(({ el: u }) => u === d);
|
|
3296
|
+
return a ? a.state !== "visible" && (a.state = "visible") : n.current.push({ el: d, state: "visible" }), () => o(d, lt.Unmount);
|
|
3297
|
+
}), b = j([]), v = j(Promise.resolve()), m = j({ enter: [], leave: [], idle: [] }), h = L((d, a, u) => {
|
|
3298
|
+
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) => {
|
|
3288
3299
|
b.current.push(p);
|
|
3289
|
-
})]), t?.chains.current[a].push([
|
|
3290
|
-
Promise.all(m.current[a].map(([
|
|
3291
|
-
})]), a === "enter" ? v.current = v.current.then(() => t?.wait.current).then(() =>
|
|
3292
|
-
}), s = L((
|
|
3293
|
-
Promise.all(m.current[a].splice(0).map(([p,
|
|
3300
|
+
})]), t?.chains.current[a].push([d, new Promise((p) => {
|
|
3301
|
+
Promise.all(m.current[a].map(([g, S]) => S)).then(() => p());
|
|
3302
|
+
})]), a === "enter" ? v.current = v.current.then(() => t?.wait.current).then(() => u(a)) : u(a);
|
|
3303
|
+
}), s = L((d, a, u) => {
|
|
3304
|
+
Promise.all(m.current[a].splice(0).map(([p, g]) => g)).then(() => {
|
|
3294
3305
|
var p;
|
|
3295
3306
|
(p = b.current.shift()) == null || p();
|
|
3296
|
-
}).then(() =>
|
|
3307
|
+
}).then(() => u(a));
|
|
3297
3308
|
});
|
|
3298
3309
|
return ke(() => ({ children: n, register: f, unregister: o, onStart: h, onStop: s, wait: v, chains: m }), [f, o, n, h, s, m, v]);
|
|
3299
3310
|
}
|
|
@@ -3316,17 +3327,17 @@ function Ml(e) {
|
|
|
3316
3327
|
let $l = "div", hi = yt.RenderStrategy;
|
|
3317
3328
|
function Wl(e, t) {
|
|
3318
3329
|
var r, n;
|
|
3319
|
-
let { beforeEnter: i, afterEnter: c, beforeLeave: o, afterLeave: f, enter: b, enterFrom: v, enterTo: m, entered: h, leave: s, leaveFrom:
|
|
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), g = He(p, t), S = (r = u.unmount) == null || r ? lt.Unmount : lt.Hidden, { show: x, appear: y, initial: F } = Fl(), [P, q] = oe(x ? "visible" : "hidden"), $ = Al(), { register: C, unregister: z } = $;
|
|
3320
3331
|
ae(() => C(p), [C, p]), ae(() => {
|
|
3321
3332
|
if (S === lt.Hidden && p.current) {
|
|
3322
3333
|
if (x && P !== "visible") {
|
|
3323
|
-
|
|
3334
|
+
q("visible");
|
|
3324
3335
|
return;
|
|
3325
3336
|
}
|
|
3326
|
-
return be(P, { hidden: () =>
|
|
3337
|
+
return be(P, { hidden: () => z(p), visible: () => C(p) });
|
|
3327
3338
|
}
|
|
3328
|
-
}, [P, p, C,
|
|
3329
|
-
let de =
|
|
3339
|
+
}, [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 = Ml({ beforeEnter: i, afterEnter: c, beforeLeave: o, afterLeave: f }), k = xr();
|
|
3330
3341
|
ae(() => {
|
|
3331
3342
|
if (k && P === "visible" && p.current === null)
|
|
3332
3343
|
throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
|
|
@@ -3342,15 +3353,15 @@ function Wl(e, t) {
|
|
|
3342
3353
|
B.removeFlag(Se.Closing), Z.current.afterLeave();
|
|
3343
3354
|
}, idle: () => {
|
|
3344
3355
|
} })), Q = mi(() => {
|
|
3345
|
-
|
|
3356
|
+
q("hidden"), z(p);
|
|
3346
3357
|
}, $);
|
|
3347
|
-
jl({ immediate: re, container: p, classes: de, direction: pe, onStart:
|
|
3358
|
+
jl({ immediate: re, container: p, classes: de, direction: pe, onStart: ze((le) => {
|
|
3348
3359
|
Q.onStart(p, le, fe);
|
|
3349
|
-
}), onStop:
|
|
3350
|
-
Q.onStop(p, le, ne), le === "leave" && !er(Q) && (
|
|
3360
|
+
}), onStop: ze((le) => {
|
|
3361
|
+
Q.onStop(p, le, ne), le === "leave" && !er(Q) && (q("hidden"), z(p));
|
|
3351
3362
|
}) });
|
|
3352
|
-
let me =
|
|
3353
|
-
return re ? me = { ...me, className:
|
|
3363
|
+
let me = u, ve = { ref: g };
|
|
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: $l, features: hi, visible: P === "visible", name: "Transition.Child" })));
|
|
3354
3365
|
}
|
|
3355
3366
|
function Vl(e, t) {
|
|
3356
3367
|
let { show: r, appear: n = !1, unmount: i = !0, ...c } = e, o = j(null), f = He(o, t);
|
|
@@ -3360,11 +3371,11 @@ function Vl(e, t) {
|
|
|
3360
3371
|
throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");
|
|
3361
3372
|
let [v, m] = oe(r ? "visible" : "hidden"), h = mi(() => {
|
|
3362
3373
|
m("hidden");
|
|
3363
|
-
}), [s,
|
|
3364
|
-
|
|
3365
|
-
s !== !1 && a.current[a.current.length - 1] !== r && (a.current.push(r),
|
|
3374
|
+
}), [s, d] = oe(!0), a = j([r]);
|
|
3375
|
+
we(() => {
|
|
3376
|
+
s !== !1 && a.current[a.current.length - 1] !== r && (a.current.push(r), d(!1));
|
|
3366
3377
|
}, [a, r]);
|
|
3367
|
-
let
|
|
3378
|
+
let u = ke(() => ({ show: r, appear: n, initial: s }), [r, n, s]);
|
|
3368
3379
|
ae(() => {
|
|
3369
3380
|
if (r)
|
|
3370
3381
|
m("visible");
|
|
@@ -3378,20 +3389,20 @@ function Vl(e, t) {
|
|
|
3378
3389
|
y.x === 0 && y.y === 0 && y.width === 0 && y.height === 0 && m("hidden");
|
|
3379
3390
|
}
|
|
3380
3391
|
}, [r, h]);
|
|
3381
|
-
let p = { unmount: i },
|
|
3392
|
+
let p = { unmount: i }, g = L(() => {
|
|
3382
3393
|
var x;
|
|
3383
|
-
s &&
|
|
3394
|
+
s && d(!1), (x = e.beforeEnter) == null || x.call(e);
|
|
3384
3395
|
}), S = L(() => {
|
|
3385
3396
|
var x;
|
|
3386
|
-
s &&
|
|
3397
|
+
s && d(!1), (x = e.beforeLeave) == null || x.call(e);
|
|
3387
3398
|
});
|
|
3388
|
-
return ce.createElement(Zt.Provider, { value: h }, ce.createElement(Xt.Provider, { value:
|
|
3399
|
+
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" })));
|
|
3389
3400
|
}
|
|
3390
3401
|
function Bl(e, t) {
|
|
3391
3402
|
let r = ut(Xt) !== null, n = Qt() !== null;
|
|
3392
|
-
return ce.createElement(ce.Fragment, null, !r && n ? ce.createElement(vr, { ref: t, ...e }) : ce.createElement(
|
|
3403
|
+
return ce.createElement(ce.Fragment, null, !r && n ? ce.createElement(vr, { ref: t, ...e }) : ce.createElement(gi, { ref: t, ...e }));
|
|
3393
3404
|
}
|
|
3394
|
-
let vr = je(Vl),
|
|
3405
|
+
let vr = je(Vl), gi = je(Wl), Ul = je(Bl), wi = Object.assign(vr, { Child: Ul, Root: vr });
|
|
3395
3406
|
function Hl({
|
|
3396
3407
|
title: e,
|
|
3397
3408
|
titleId: t,
|
|
@@ -3412,30 +3423,30 @@ function Hl({
|
|
|
3412
3423
|
clipRule: "evenodd"
|
|
3413
3424
|
}));
|
|
3414
3425
|
}
|
|
3415
|
-
const
|
|
3416
|
-
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),
|
|
3426
|
+
const ql = tt.forwardRef(Hl), xi = ql, nc = ({ children: e, selected: t, onSelect: r, themeColor: n }) => {
|
|
3427
|
+
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);
|
|
3417
3428
|
let a = "#333333";
|
|
3418
|
-
const
|
|
3429
|
+
const u = (F) => {
|
|
3419
3430
|
r(F);
|
|
3420
3431
|
}, p = () => {
|
|
3421
3432
|
c(!0);
|
|
3422
|
-
},
|
|
3433
|
+
}, g = () => {
|
|
3423
3434
|
c(!1);
|
|
3424
3435
|
}, S = () => {
|
|
3425
|
-
s.current = window.innerHeight,
|
|
3436
|
+
s.current = window.innerHeight, d.current = document.body.scrollHeight, f(!0);
|
|
3426
3437
|
};
|
|
3427
3438
|
ae(() => (S(), window.addEventListener("resize", S), () => {
|
|
3428
3439
|
window.addEventListener("resize", S);
|
|
3429
3440
|
}), []);
|
|
3430
|
-
const x = () =>
|
|
3441
|
+
const x = () => d.current - (s.current + window.scrollY), y = () => {
|
|
3431
3442
|
if (b.current) {
|
|
3432
3443
|
const F = b.current.getBoundingClientRect();
|
|
3433
3444
|
setTimeout(() => {
|
|
3434
|
-
const P = v?.current?.getBoundingClientRect(),
|
|
3445
|
+
const P = v?.current?.getBoundingClientRect(), q = x(), $ = s.current - F.bottom;
|
|
3435
3446
|
let C;
|
|
3436
3447
|
if (P) {
|
|
3437
|
-
const
|
|
3438
|
-
de < Z && (k || k && $ < Z ||
|
|
3448
|
+
const z = F.height, de = F.top, Z = P.height, k = Z > de + window.scrollY;
|
|
3449
|
+
de < Z && (k || k && $ < Z || q > Z || $ > Z) || de > Z && $ > Z ? C = F.y + z : C = F.y - Z, h({
|
|
3439
3450
|
left: F.left,
|
|
3440
3451
|
top: C ?? F.top
|
|
3441
3452
|
});
|
|
@@ -3450,22 +3461,22 @@ const zl = tt.forwardRef(Hl), xi = zl, nc = ({ children: e, selected: t, onSelec
|
|
|
3450
3461
|
const F = dt(n);
|
|
3451
3462
|
(F === "dark" || F === "light") && (a = n === "#ffffff" ? "#c8c8c8" : n);
|
|
3452
3463
|
}
|
|
3453
|
-
return /* @__PURE__ */ O.jsx(Kt, { value: t, onChange:
|
|
3464
|
+
return /* @__PURE__ */ O.jsx(Kt, { value: t, onChange: u, children: ({ open: F }) => /* @__PURE__ */ O.jsxs("div", { className: "tw-relative", children: [
|
|
3454
3465
|
/* @__PURE__ */ O.jsx("div", { className: "tw-relative", ref: b, children: /* @__PURE__ */ O.jsxs(
|
|
3455
3466
|
Kt.Button,
|
|
3456
3467
|
{
|
|
3457
3468
|
"data-testid": "select-options",
|
|
3458
3469
|
onFocus: p,
|
|
3459
|
-
onBlur:
|
|
3470
|
+
onBlur: g,
|
|
3460
3471
|
onClick: y,
|
|
3461
3472
|
onKeyDown: (P) => {
|
|
3462
3473
|
(P.key === " " || P.code === "Space" || P.code === "Enter") && y();
|
|
3463
3474
|
},
|
|
3464
3475
|
style: { borderBottomColor: n && (i || F) ? a : "" },
|
|
3465
|
-
className: "tw-relative tw-h-10 tw-w-full tw-cursor-pointer tw-border-b tw-border-t tw-border-t-transparent tw-bg-white tw-py-1.5 tw-pl-[10px] tw-pr-8 tw-text-left tw-text-base tw-text-[#333333] focus:tw-border-b-2 focus:tw-border-t-2 focus:tw-border-b-[#006bb1] focus:tw-py-[5px] focus:tw-outline-none focus:tw-ring-0" + (F ? " tw-border-b-2 tw-border-t-2 tw-border-b-[#006bb1]" : " tw-border-b-[#333333]"),
|
|
3476
|
+
className: "tw-border-x-0 tw-relative tw-h-10 tw-w-full tw-cursor-pointer tw-border-b tw-border-t tw-border-t-transparent tw-bg-white tw-py-1.5 tw-pl-[10px] tw-pr-8 tw-text-left tw-text-base tw-text-[#333333] focus:tw-border-b-2 focus:tw-border-t-2 focus:tw-border-b-[#006bb1] focus:tw-py-[5px] focus:tw-outline-none focus:tw-ring-0" + (F ? " tw-border-b-2 tw-border-t-2 tw-border-b-[#006bb1]" : " tw-border-b-[#333333]"),
|
|
3466
3477
|
children: [
|
|
3467
3478
|
t && /* @__PURE__ */ O.jsxs("span", { className: "tw-flex tw-items-center", children: [
|
|
3468
|
-
t.avatar && /* @__PURE__ */ O.jsx("img", { src: t.avatar
|
|
3479
|
+
t.avatar && /* @__PURE__ */ O.jsx("img", { src: t.avatar, alt: "", className: "tw-mr-2 tw-h-5 tw-w-5 tw-flex-shrink-0" }),
|
|
3469
3480
|
/* @__PURE__ */ O.jsx("span", { className: "tw-block tw-truncate", children: t.label })
|
|
3470
3481
|
] }),
|
|
3471
3482
|
/* @__PURE__ */ O.jsx("span", { className: "tw-pointer-events-none tw-absolute tw-inset-y-0 tw-right-0 tw-flex tw-items-center tw-pr-2", children: /* @__PURE__ */ O.jsx(xi, { className: "tw-h-5 tw-w-5 tw-text-[#333333]", "aria-hidden": "true" }) })
|
|
@@ -3502,7 +3513,7 @@ const zl = tt.forwardRef(Hl), xi = zl, nc = ({ children: e, selected: t, onSelec
|
|
|
3502
3513
|
) : null
|
|
3503
3514
|
] }) });
|
|
3504
3515
|
}, ic = ({ children: e, setQuery: t }) => /* @__PURE__ */ O.jsx(
|
|
3505
|
-
|
|
3516
|
+
wi,
|
|
3506
3517
|
{
|
|
3507
3518
|
as: rt,
|
|
3508
3519
|
leave: "tw-transition tw-ease-in tw-duration-100",
|
|
@@ -3511,8 +3522,8 @@ const zl = tt.forwardRef(Hl), xi = zl, nc = ({ children: e, selected: t, onSelec
|
|
|
3511
3522
|
afterLeave: () => t(""),
|
|
3512
3523
|
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 })
|
|
3513
3524
|
}
|
|
3514
|
-
),
|
|
3515
|
-
|
|
3525
|
+
), zl = ct((e, t) => /* @__PURE__ */ O.jsx(Kt.Option, { ref: t, className: e.className, value: e.value, disabled: e.disable, children: e.children }));
|
|
3526
|
+
zl.displayName = "SelectOption";
|
|
3516
3527
|
const oc = ({
|
|
3517
3528
|
children: e,
|
|
3518
3529
|
selected: t,
|
|
@@ -3522,22 +3533,22 @@ const oc = ({
|
|
|
3522
3533
|
clearSearch: c = !1,
|
|
3523
3534
|
themeColor: o
|
|
3524
3535
|
}) => {
|
|
3525
|
-
const f = j(null), b = j(null), [v, m] = oe(!1), [h, s] = oe(!1),
|
|
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 }), g = j(0), S = j(0);
|
|
3526
3537
|
let x = {};
|
|
3527
3538
|
ae(() => {
|
|
3528
3539
|
f.current && t && (f.current.value = t.label || "");
|
|
3529
3540
|
}, [t]);
|
|
3530
3541
|
const y = () => {
|
|
3531
|
-
|
|
3542
|
+
g.current = window.innerHeight, S.current = document.body.scrollHeight, s(!0);
|
|
3532
3543
|
};
|
|
3533
3544
|
ae(() => (y(), window.addEventListener("resize", y), () => {
|
|
3534
3545
|
window.addEventListener("resize", y);
|
|
3535
3546
|
}), []);
|
|
3536
|
-
const F = () => S.current - (
|
|
3537
|
-
if (
|
|
3538
|
-
const k =
|
|
3547
|
+
const F = () => S.current - (g.current + window.scrollY), P = () => {
|
|
3548
|
+
if (d.current) {
|
|
3549
|
+
const k = d.current.getBoundingClientRect();
|
|
3539
3550
|
setTimeout(() => {
|
|
3540
|
-
const G = a?.current?.getBoundingClientRect(), re = F(), pe =
|
|
3551
|
+
const G = a?.current?.getBoundingClientRect(), re = F(), pe = g.current - k.bottom;
|
|
3541
3552
|
let B;
|
|
3542
3553
|
if (G) {
|
|
3543
3554
|
const fe = k.height, ne = k.top, Q = G.height, me = Q > ne + window.scrollY;
|
|
@@ -3552,11 +3563,11 @@ const oc = ({
|
|
|
3552
3563
|
ae(() => (window.addEventListener("scroll", P), window.addEventListener("resize", P), () => {
|
|
3553
3564
|
window.removeEventListener("scroll", P), window.removeEventListener("resize", P);
|
|
3554
3565
|
}), []);
|
|
3555
|
-
const
|
|
3556
|
-
r(k),
|
|
3566
|
+
const q = (k) => {
|
|
3567
|
+
r(k), z();
|
|
3557
3568
|
}, $ = () => {
|
|
3558
3569
|
P(), m(!0), f.current && t && (f.current.value = t.label || ""), f.current && b.current && (c && (f.current.value = "", n("")), b.current.click());
|
|
3559
|
-
}, C = (k) => (
|
|
3570
|
+
}, C = (k) => (z(), k?.label), z = () => {
|
|
3560
3571
|
const k = f.current;
|
|
3561
3572
|
k && k.setSelectionRange(k.value.length, k.value.length);
|
|
3562
3573
|
}, de = () => {
|
|
@@ -3570,11 +3581,11 @@ const oc = ({
|
|
|
3570
3581
|
borderBottomColor: o === "#ffffff" ? "#c8c8c8" : v ? o : "#333333"
|
|
3571
3582
|
});
|
|
3572
3583
|
}
|
|
3573
|
-
return /* @__PURE__ */ O.jsx(Rt, { value: t, onChange:
|
|
3584
|
+
return /* @__PURE__ */ O.jsx(Rt, { value: t, onChange: q, disabled: i, children: ({ open: k }) => /* @__PURE__ */ O.jsxs("div", { className: "tw-relative ", children: [
|
|
3574
3585
|
/* @__PURE__ */ O.jsxs(
|
|
3575
3586
|
"div",
|
|
3576
3587
|
{
|
|
3577
|
-
ref:
|
|
3588
|
+
ref: d,
|
|
3578
3589
|
className: `tw-relative tw-h-10 tw-w-full tw-cursor-default tw-overflow-hidden tw-bg-white tw-text-left focus:tw-outline-none focus-visible:tw-ring-1 focus-visible:tw-ring-[#DFDFDF] focus-visible:tw-ring-offset-2 focus-visible:tw-ring-offset-[#DFDFDF] ${i ? "tw-text-[#A7A7A7]" : "tw-text-[#333333]"}`,
|
|
3579
3590
|
children: [
|
|
3580
3591
|
/* @__PURE__ */ O.jsx(
|
|
@@ -3633,10 +3644,10 @@ const oc = ({
|
|
|
3633
3644
|
ref: a,
|
|
3634
3645
|
className: "tw-absolute",
|
|
3635
3646
|
style: {
|
|
3636
|
-
opacity:
|
|
3637
|
-
width:
|
|
3638
|
-
left:
|
|
3639
|
-
top:
|
|
3647
|
+
opacity: u.left ? 1 : 0,
|
|
3648
|
+
width: d.current ? d.current.clientWidth : "auto",
|
|
3649
|
+
left: u.left,
|
|
3650
|
+
top: u.top
|
|
3640
3651
|
},
|
|
3641
3652
|
children: e
|
|
3642
3653
|
}
|
|
@@ -3647,7 +3658,7 @@ const oc = ({
|
|
|
3647
3658
|
) : null
|
|
3648
3659
|
] }) });
|
|
3649
3660
|
}, ac = ({ children: e, setQuery: t }) => /* @__PURE__ */ O.jsx(
|
|
3650
|
-
|
|
3661
|
+
wi,
|
|
3651
3662
|
{
|
|
3652
3663
|
as: rt,
|
|
3653
3664
|
leave: "tw-transition tw-ease-in tw-duration-100",
|
|
@@ -3704,7 +3715,7 @@ export {
|
|
|
3704
3715
|
tc as QuickSelect,
|
|
3705
3716
|
ds as Scrollbar,
|
|
3706
3717
|
nc as Select,
|
|
3707
|
-
|
|
3718
|
+
zl as SelectOption,
|
|
3708
3719
|
ic as SelectOptions,
|
|
3709
3720
|
sc as SingleLineInput
|
|
3710
3721
|
};
|