@oncehub/ui-react 2.2.0-beta.8 → 2.2.0-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ui-react.es.js +316 -1623
- package/dist/ui-react.es.js.map +1 -1
- package/dist/ui-react.umd.js +2 -2
- package/dist/ui-react.umd.js.map +1 -1
- package/package.json +3 -2
package/dist/ui-react.es.js
CHANGED
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`*,:before,:after,::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.tw-relative{position:relative}.tw-block{display:block}.tw-flex{display:flex}.tw-h-20{height:5rem}.tw-cursor-default{cursor:default}.tw-select-none{user-select:none}.tw-items-center{align-items:center}.tw-truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tw-bg-\\[\\#EEEEEE\\]{--tw-bg-opacity:1;background-color:rgb(238 238 238/var(--tw-bg-opacity,1))}.tw-py-2{padding-top:.5rem;padding-bottom:.5rem}.tw-pl-4{padding-left:1rem}.tw-pr-4{padding-right:1rem}.tw-font-medium{font-weight:500}.tw-font-normal{font-weight:400}.tw-text-\\[\\#333333\\]{--tw-text-opacity:1;color:rgb(51 51 51/var(--tw-text-opacity,1))}._button_1q2ge_1{box-sizing:border-box;cursor:pointer;text-align:center;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow);border-style:solid;border-width:1px;justify-content:center;align-items:center;display:flex}._button_1q2ge_1:hover,._button_1q2ge_1:focus{text-decoration-line:underline}._button_1q2ge_1:disabled{cursor:default}._button_1q2ge_1:hover:disabled{text-decoration-line:none}._primary_1q2ge_5{--tw-bg-opacity:1;background-color:rgb(0 107 177/var(--tw-bg-opacity,1));--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1));border-color:#0000;outline-color:#006bb1;font-weight:500}._primary_1q2ge_5:focus{outline-offset:3px;outline-width:2px}._primary_1q2ge_5:disabled{--tw-border-opacity:1;border-color:rgb(200 200 200/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(200 200 200/var(--tw-bg-opacity,1));--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}._secondary_1q2ge_12{--tw-border-opacity:1;border-color:rgb(0 107 177/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));--tw-text-opacity:1;color:rgb(0 107 177/var(--tw-text-opacity,1));font-weight:400}._secondary_1q2ge_12:hover,._secondary_1q2ge_12:focus{outline-offset:-2px;border-color:#0000;outline:2px solid #006bb1}._secondary_1q2ge_12:disabled{--tw-border-opacity:1;border-color:rgb(200 200 200/var(--tw-border-opacity,1));--tw-text-opacity:1;color:rgb(200 200 200/var(--tw-text-opacity,1))}._secondary_1q2ge_12:disabled:hover,._secondary_1q2ge_12:disabled:focus{outline-width:0}._small_1q2ge_19{min-width:70px;min-height:35px;padding:4px 22px;font-size:.875rem;line-height:22px}._small_1q2ge_19._rounded_1q2ge_22{border-radius:18px}._medium_1q2ge_26{min-width:74px;min-height:40px;padding:7px 22px;font-size:.875rem;line-height:22px}._medium_1q2ge_26._rounded_1q2ge_22{border-radius:20px}._large_1q2ge_33{min-width:94px;min-height:44px;padding:8px 1.5rem;font-size:1rem;line-height:24px}._large_1q2ge_33._rounded_1q2ge_22{border-radius:22px}._squared_1q2ge_40{border-radius:.25rem}._checkboxLayout_bt7qx_1{white-space:nowrap;vertical-align:middle;align-items:center;width:100%;display:inline-flex}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4{cursor:pointer;letter-spacing:0;--tw-text-opacity:1;width:100%;color:rgb(51 51 51/var(--tw-text-opacity,1));align-items:baseline;gap:.5rem;font-size:.875rem;line-height:22px;display:flex}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4>span{white-space:normal;letter-spacing:0;--tw-text-opacity:1;color:rgb(51 51 51/var(--tw-text-opacity,1));font-size:.875rem;line-height:22px}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10{cursor:pointer;white-space:nowrap;vertical-align:middle;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;width:1rem;height:1rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow);border-width:0;outline-width:0;flex-shrink:0;line-height:0;display:inline-block;position:relative;top:2px}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxInput_bt7qx_13{appearance:none;opacity:0;border-width:0;outline-width:0;width:0;height:0;padding:0;position:absolute;bottom:0;left:0}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxInput_bt7qx_13:checked+._checkboxFrame_bt7qx_16{--tw-border-opacity:1;border-color:rgb(0 107 177/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(0 107 177/var(--tw-bg-opacity,1))}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxInput_bt7qx_13:checked+._checkboxFrame_bt7qx_16 ._checkboxCheckMark_bt7qx_19{opacity:1}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxInput_bt7qx_13:checked+._checkboxFrame_bt7qx_16 ._checkboxCheckMark_bt7qx_19 ._checkboxCheckMarkPath_bt7qx_22{stroke-dashoffset:0;animation:.18s linear _checkboxUncheckedChecked_bt7qx_1}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxInput_bt7qx_13:disabled+._checkboxFrame_bt7qx_16{--tw-border-opacity:1;border-color:rgb(228 228 228/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(249 249 249/var(--tw-bg-opacity,1))}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxFrame_bt7qx_16{box-sizing:border-box;--tw-border-opacity:1;border-style:solid;border-width:1px;border-color:rgb(156 156 156/var(--tw-border-opacity,1));background-color:#0000;border-radius:3px;position:absolute;inset:0}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxFrame_bt7qx_16 ._checkboxCheckMark_bt7qx_19{width:100%;position:absolute;inset:0}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxFrame_bt7qx_16 ._checkboxCheckMark_bt7qx_19 ._checkboxCheckMarkPath_bt7qx_22{stroke-width:3px;stroke-dashoffset:23px;stroke-dasharray:23}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10:focus-visible ._checkboxFrame_bt7qx_16{outline-offset:-1px;outline:2px solid #006bb1}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._visuallyHidden_bt7qx_43{clip:rect(0, 0, 0, 0);border:0;width:0;height:0;margin:0;padding:0;position:absolute;overflow:hidden}._checkboxLayout_bt7qx_1._checkboxDisabled_bt7qx_53{pointer-events:none;cursor:default}._checkboxLayout_bt7qx_1._checkboxDisabled_bt7qx_53 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxFrame_bt7qx_16{--tw-border-opacity:1;border-color:rgb(228 228 228/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(249 249 249/var(--tw-bg-opacity,1))}._checkboxLayout_bt7qx_1._medium_bt7qx_59 ._checkboxLabel_bt7qx_4>span{width:calc(100% - 24px);font-size:.875rem;line-height:1.25rem}._checkboxLayout_bt7qx_1._medium_bt7qx_59 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10{width:1rem;height:1rem}._checkboxLayout_bt7qx_1._large_bt7qx_65 ._checkboxLabel_bt7qx_4>span{width:calc(100% - 27px);font-size:1rem;line-height:1.5rem}._checkboxLayout_bt7qx_1._large_bt7qx_65 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10{width:1.25rem;height:1.25rem;top:4px}@keyframes _checkboxUncheckedChecked_bt7qx_1{0%,50%{stroke-dashoffset:23px}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}to{stroke-dashoffset:0}}._textInputWrapper_1i9m6_1{width:100%}._textInputWrapper_1i9m6_1 ._textInput_1i9m6_1{box-sizing:border-box;resize:none;--tw-border-opacity:1;border-width:0 0 1px;border-color:rgb(51 51 51/var(--tw-border-opacity,1));--tw-text-opacity:1;width:100%;height:2.5rem;max-height:225px;color:rgb(51 51 51/var(--tw-text-opacity,1));outline-offset:2px;outline:2px solid #0000;padding:7px 10px .5rem;font-size:1rem;line-height:1.5rem;display:block}._textInputWrapper_1i9m6_1 ._textInput_1i9m6_1:focus{--tw-border-opacity:1;border-bottom-width:2px;border-color:rgb(0 107 177/var(--tw-border-opacity,1));padding-bottom:7px}._multiSelectContainer_lh9wi_1,._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4{width:100%;position:relative}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7{width:100%;height:2.5rem;position:relative}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7{box-sizing:border-box;text-overflow:ellipsis;white-space:nowrap;--tw-border-opacity:1;border-style:solid;border-width:0 0 1px;border-bottom-color:rgb(51 51 51/var(--tw-border-opacity,1));--tw-text-opacity:1;width:100%;height:100%;color:rgb(51 51 51/var(--tw-text-opacity,1));padding:.5rem 2.75rem .5rem 10px;font-size:1rem;line-height:1rem;display:block;overflow:hidden}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7::placeholder{--tw-placeholder-opacity:1;color:rgb(102 102 102/var(--tw-placeholder-opacity,1))}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7:focus-within{outline-offset:2px;outline:2px solid #0000}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7:focus{--tw-border-opacity:1;border-bottom-width:2px;border-color:rgb(0 107 177/var(--tw-border-opacity,1));padding-bottom:7px}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7:focus-visible{outline-offset:2px;outline:2px solid #0000}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7._focused_lh9wi_13{--tw-border-opacity:1;border-bottom-width:2px;border-color:rgb(0 107 177/var(--tw-border-opacity,1));outline-offset:2px;outline:2px solid #0000;padding-bottom:7px}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7._placeholder_lh9wi_16{--tw-text-opacity:1;color:rgb(102 102 102/var(--tw-text-opacity,1))}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._dropDownIcon_lh9wi_19{--tw-translate-y:-50%;width:1.75rem;height:100%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));cursor:pointer;justify-content:center;align-items:center;display:flex;position:absolute;top:50%;right:.5rem}._optionsListContainer_lh9wi_23{z-index:10;--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));--tw-shadow:0 1px 6px 0 #00000080;--tw-shadow-colored:0 1px 6px 0 var(--tw-shadow-color);width:100%;max-height:293px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow);margin-top:0;padding-bottom:4rem;font-size:.875rem;line-height:22px;position:absolute}._optionsListContainer_lh9wi_23:focus{outline-offset:2px;outline:2px solid #0000}._optionsListContainer_lh9wi_23._top_lh9wi_26{transform:translateY(calc(-100% - 40px))}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29{max-height:225px;padding-top:1rem;padding-bottom:1rem;overflow:auto}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._searchInputWrap_lh9wi_32{height:2.5rem;margin-bottom:.5rem;padding-left:10px;padding-right:10px}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._searchInputWrap_lh9wi_32 ._searchInput_lh9wi_32{box-sizing:border-box;outline-offset:-2px;outline:1px solid #c8c8c8;width:100%;height:100%;padding-top:.5rem;padding-bottom:.5rem;padding-left:10px}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ul{margin:0;padding:0}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._optionsList_lh9wi_23{box-sizing:border-box;align-items:flex-start;gap:.5rem;padding:.5rem 10px;list-style-type:none;display:flex}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._optionsList_lh9wi_23 span{word-break:break-word;overflow-wrap:break-word;width:calc(100% - 22px);font-size:.875rem;line-height:22px;display:block}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._optionsList_lh9wi_23:hover,._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._optionsList_lh9wi_23._focused_lh9wi_13{--tw-bg-opacity:1;background-color:rgb(238 238 238/var(--tw-bg-opacity,1))}._optionsListContainer_lh9wi_23 ._btnContainer_lh9wi_54{box-sizing:border-box;--tw-border-opacity:1;border-style:solid;border-width:1px 0 0;border-top-color:rgb(200 200 200/var(--tw-border-opacity,1));justify-content:flex-end;align-items:center;width:100%;height:64px;padding-left:18px;padding-right:18px;display:flex;position:absolute;left:0;right:0}._optionsListContainer_lh9wi_23 ._btnContainer_lh9wi_54 ._hiddenButton_lh9wi_57{opacity:0;width:0;height:0;position:absolute;left:-9999px}._optionsListContainer_lh9wi_23 ::-webkit-scrollbar{width:6px}._optionsListContainer_lh9wi_23 ::-webkit-scrollbar-thumb{background-color:#a9a9a9;border-radius:6px}._announcement_lh9wi_70{pointer-events:none;opacity:0;height:0;overflow:hidden}._pseudoCheckbox_z8j4c_1{box-sizing:border-box;--tw-border-opacity:1;border-style:solid;border-width:1px;border-color:rgb(156 156 156/var(--tw-border-opacity,1));border-radius:3px;width:1rem;height:1rem;position:relative;top:3px}._pseudoCheckbox_z8j4c_1 ._checkboxCheckMark_z8j4c_4{width:100%;position:absolute;inset:0}._pseudoCheckbox_z8j4c_1 ._checkboxCheckMark_z8j4c_4 ._checkboxCheckMarkPath_z8j4c_7{stroke-width:3px;stroke-dashoffset:23px;stroke-dasharray:23}._pseudoCheckbox_z8j4c_1._checked_z8j4c_12{--tw-border-opacity:1;border-color:rgb(0 107 177/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(0 107 177/var(--tw-bg-opacity,1))}._pseudoCheckbox_z8j4c_1._checked_z8j4c_12 ._checkboxCheckMark_z8j4c_4{opacity:1}._pseudoCheckbox_z8j4c_1._checked_z8j4c_12 ._checkboxCheckMark_z8j4c_4 ._checkboxCheckMarkPath_z8j4c_7{stroke-dashoffset:0;animation:.18s linear _checkboxUncheckedChecked_z8j4c_1}._pseudoCheckbox_z8j4c_1._checkboxDisabled_z8j4c_22{pointer-events:none;cursor:default;--tw-border-opacity:1;border-color:rgb(228 228 228/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(249 249 249/var(--tw-bg-opacity,1))}@keyframes _checkboxUncheckedChecked_z8j4c_1{0%,50%{stroke-dashoffset:23px}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}to{stroke-dashoffset:0}}._multiSelectContainer_1on91_1{width:auto;position:relative}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4{width:100%;position:relative}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7{width:100%;height:38px;margin-top:1px;position:relative}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7{box-sizing:border-box;cursor:pointer;text-overflow:ellipsis;white-space:nowrap;--tw-border-opacity:1;border-style:solid;border-width:0 0 1px;border-bottom-color:rgb(200 200 200/var(--tw-border-opacity,1));--tw-text-opacity:1;width:100%;height:100%;color:rgb(51 51 51/var(--tw-text-opacity,1));justify-content:space-between;align-items:center;padding-top:.5rem;padding-bottom:.5rem;padding-left:10px;font-size:14px;line-height:20px;display:flex;position:relative;overflow:hidden}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7:focus-within{outline-offset:2px;outline:2px solid #0000}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7:focus{padding-bottom:7px}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7:focus-visible{outline-offset:2px;outline:2px solid #0000}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7:focus{border-bottom:2px solid var(--theme-color,#006bb1)}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._focused_1on91_16{outline-offset:2px;outline:2px solid #0000;padding-bottom:7px}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7 ._countAndIconContainer_1on91_19{align-items:center;display:flex}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._rounded_1on91_22{--tw-border-opacity:1;border-width:1px;border-color:rgb(200 200 200/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(244 244 244/var(--tw-bg-opacity,1));border-radius:9999px;align-items:center;height:2.25rem;margin-top:0;padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;display:flex}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._rounded_1on91_22._focused_1on91_16,._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._rounded_1on91_22:hover,._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._rounded_1on91_22:focus-visible{border-color:var(--theme-color,#006bb1);box-shadow:0 0 0 1px var(--theme-color,#006bb1)}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._rounded_1on91_22._selected_1on91_7{border:1px solid var(--theme-color,#006bb1);box-shadow:0 0 0 1px var(--theme-color,#006bb1);background-color:color-mix(in srgb, var(--theme-color,#006bb1) 18%, transparent)}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._rounded_1on91_22._selected_1on91_7:hover{background-color:color-mix(in srgb, var(--theme-color,#006bb1) 36%, transparent)}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedCount_1on91_37{box-sizing:border-box;--tw-text-opacity:1;min-width:22px;height:22px;color:rgb(255 255 255/var(--tw-text-opacity,1));background-color:var(--theme-color,#006bb1);border-radius:9999px;margin-top:1px;margin-left:.5rem;padding-left:7px;padding-right:7px;font-size:14px;font-weight:600;line-height:22px}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._dropDownIcon_1on91_41{cursor:pointer;margin-top:0;margin-left:.5rem;margin-right:18px}._optionsListContainer_1on91_45{z-index:10;--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));--tw-shadow:0 1px 6px 0 #00000080;--tw-shadow-colored:0 1px 6px 0 var(--tw-shadow-color);width:83%;max-width:367px;max-height:293px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow);margin-top:0;padding-bottom:4rem;font-size:.875rem;line-height:22px;position:absolute}._optionsListContainer_1on91_45:focus{outline-offset:2px;outline:2px solid #0000}@media (width<=767px){._optionsListContainer_1on91_45{max-width:320px}}._optionsListContainer_1on91_45._top_1on91_48{transform:translateY(calc(-100% - 40px))}._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51{max-height:225px;padding-top:1rem;padding-bottom:1rem;overflow:auto}._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51 ._searchInputWrap_1on91_54{height:2.5rem;margin-bottom:.5rem;padding-left:10px;padding-right:10px}._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51 ._searchInputWrap_1on91_54 ._searchInput_1on91_54{box-sizing:border-box;outline-offset:-2px;outline:1px solid #c8c8c8;width:100%;height:100%;padding-top:.5rem;padding-bottom:.5rem;padding-left:10px}._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51 ul{margin:0;padding:0}._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51 ._optionsList_1on91_45{box-sizing:border-box;align-items:flex-start;gap:.5rem;padding:.5rem 10px;list-style-type:none;display:flex}._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51 ._optionsList_1on91_45 span{word-break:break-word;overflow-wrap:break-word;width:calc(100% - 22px);font-size:.875rem;line-height:22px;display:block}._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51 ._optionsList_1on91_45:hover,._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51 ._optionsList_1on91_45._focused_1on91_16{--tw-bg-opacity:1;background-color:rgb(238 238 238/var(--tw-bg-opacity,1))}._optionsListContainer_1on91_45 ._btnContainer_1on91_76{box-sizing:border-box;--tw-border-opacity:1;border-style:solid;border-width:1px 0 0;border-top-color:rgb(200 200 200/var(--tw-border-opacity,1));justify-content:flex-end;align-items:center;width:100%;height:64px;padding-left:18px;padding-right:18px;display:flex;position:absolute;left:0;right:0}._optionsListContainer_1on91_45 ._btnContainer_1on91_76 ._hiddenButton_1on91_79{opacity:0;width:0;height:0;position:absolute;left:-9999px}._optionsListContainer_1on91_45 ::-webkit-scrollbar{width:6px}._optionsListContainer_1on91_45 ::-webkit-scrollbar-thumb{background-color:#a9a9a9;border-radius:6px}._announcement_1on91_92{pointer-events:none;opacity:0;width:58px;height:0;overflow:hidden}._multiSelectContainer_1rhxq_1{position:relative}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4{flex-flow:wrap;gap:.75rem;margin-right:-.75rem;display:flex}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li{word-break:break-word;box-sizing:border-box;cursor:pointer;overflow-wrap:break-word;--tw-border-opacity:1;border-style:solid;border-width:1px;border-color:rgb(0 107 177/var(--tw-border-opacity,1));--tw-text-opacity:1;min-width:80px;color:rgb(0 107 177/var(--tw-text-opacity,1));background-color:#0000;border-radius:4px;align-items:center;padding:8px 14px;font-size:1rem;line-height:1.5rem;list-style-type:none;display:inline-flex;position:relative}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li:hover,._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li:focus-visible,._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li._selected_1rhxq_11{outline-offset:-2px;outline:2px solid #006bb1}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li:hover,._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li:focus-visible{text-decoration-line:underline}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li._disabled_1rhxq_17{pointer-events:none!important;cursor:default!important;--tw-border-opacity:1!important;border-color:rgb(228 228 228/var(--tw-border-opacity,1))!important;--tw-text-opacity:1!important;color:rgb(51 51 51/var(--tw-text-opacity,1))!important;outline-width:0!important;text-decoration-line:none!important}._singleSelectWrapper_7i31h_1{position:relative}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4{flex-flow:wrap;gap:.75rem;display:flex}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li{box-sizing:border-box;cursor:pointer;--tw-border-opacity:1;border-style:solid;border-width:1px;border-color:rgb(0 107 177/var(--tw-border-opacity,1));text-align:center;--tw-text-opacity:1;min-width:80px;min-height:44px;color:rgb(0 107 177/var(--tw-text-opacity,1));word-break:break-word;background-color:#0000;border-radius:4px;align-items:center;padding:9px 1.5rem;font-size:1rem;line-height:1.5rem;list-style-type:none;display:inline-flex;position:relative}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li:hover,._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li:focus-visible,._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li._selected_7i31h_11{outline-offset:-2px;outline:2px solid #006bb1}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li:hover,._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li:focus-visible{text-decoration-line:underline}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li ._triangle_7i31h_17{border-style:solid;border-width:11px;border-bottom-color:#0000;border-left-color:#0000;border-right-color:rgb(0 107 177/var(--tw-border-opacity,1));--tw-border-opacity:1;border-top-color:rgb(0 107 177/var(--tw-border-opacity,1));width:0;height:0;display:inline-block;position:absolute;top:0;right:0}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li ._triangle_7i31h_17 ._loader_7i31h_20{width:10px;height:10px;position:absolute;top:-10px;left:0}@keyframes _tw-spin_7i31h_1{to{transform:rotate(360deg)}}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li ._triangle_7i31h_17 ._loader_7i31h_20{border-style:solid;border-width:2px;border-color:rgb(255 255 255/var(--tw-border-opacity,1));--tw-border-opacity:1;border-right-color:rgb(0 107 177/var(--tw-border-opacity,1));border-radius:50%;animation:1s linear infinite _tw-spin_7i31h_1}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li ._triangle_7i31h_17 ._checkmarkWrap_7i31h_23{position:absolute;top:-9px;left:-1px}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li ._triangle_7i31h_17 ._checkmarkWrap_7i31h_23 ._checkmark_7i31h_23{--tw-shadow:inset 0px 0px 0px transparent;--tw-shadow-colored:inset 0px 0px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow);stroke-miterlimit:10;border-radius:50%;animation:.4s ease-in-out .4s forwards _fill_7i31h_1,.3s ease-in-out .9s both _scale_7i31h_1;display:block}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li ._triangle_7i31h_17 ._checkmarkWrap_7i31h_23 ._checkmark_7i31h_23 ._checkmarkCheck_7i31h_30{transform-origin:50%;stroke-dasharray:48;stroke-dashoffset:48px;animation:.8s cubic-bezier(.5,0,.45,1) .2s forwards _stroke_7i31h_1}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li._disabled_7i31h_35{pointer-events:none!important;cursor:default!important;--tw-border-opacity:1!important;border-color:rgb(228 228 228/var(--tw-border-opacity,1))!important;--tw-text-opacity:1!important;color:rgb(51 51 51/var(--tw-text-opacity,1))!important;outline-width:0!important;text-decoration-line:none!important}@keyframes _scale_7i31h_1{0%,to{transform:none}50%{transform:scale(1.1)}}@keyframes _fill_7i31h_1{to{box-shadow:inset 0 0 0 30px #0000}}@keyframes _stroke_7i31h_1{to{stroke-dashoffset:0}}._scrollbarContainer_40vsr_1{overflow-y:auto}._scrollbarContainer_40vsr_1::-webkit-scrollbar{width:10px}._scrollbarContainer_40vsr_1::-webkit-scrollbar-track{display:none}._scrollbarContainer_40vsr_1::-webkit-scrollbar-thumb{border:2px solid #fff;border-radius:15px;background-color:#ccc!important}._scrollbarContainer_40vsr_1{@supports not selector(::-webkit-scrollbar){scrollbar-width:thin;scrollbar-color:#ccc #0000}}._select_fcnvh_1,._select_fcnvh_1 ._selectContainer_fcnvh_4{position:relative}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7{box-sizing:border-box;cursor:pointer;--tw-border-opacity:1;border-style:solid;border-width:1px 0;border-top-color:#0000;border-bottom-color:rgb(51 51 51/var(--tw-border-opacity,1));text-align:left;--tw-text-opacity:1;width:100%;height:2.5rem;color:rgb(51 51 51/var(--tw-text-opacity,1));background-color:#0000;padding:.375rem 2rem .375rem 10px;font-size:1rem;line-height:1.5rem;position:relative}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7:focus{--tw-border-opacity:1;border-top-width:2px;border-bottom-width:2px;border-bottom-color:rgb(0 107 177/var(--tw-border-opacity,1));outline-offset:2px;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000);outline:2px solid #0000;padding-top:5px;padding-bottom:5px}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7._open_fcnvh_13{--tw-border-opacity:1;border-top-width:2px;border-bottom-width:2px;border-bottom-color:rgb(0 107 177/var(--tw-border-opacity,1))}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7 ._selectValue_fcnvh_16{align-items:center;display:flex}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7 ._selectValue_fcnvh_16._placeholder_fcnvh_19{--tw-text-opacity:1;color:rgb(102 102 102/var(--tw-text-opacity,1))}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7 ._selectValue_fcnvh_16 ._seletIcon_fcnvh_22{flex-shrink:0;width:1.25rem;height:1.25rem;margin-right:.5rem}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7 ._selectValue_fcnvh_16 ._selectText_fcnvh_25{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7 ._chevronDownIconSpan_fcnvh_28{pointer-events:none;align-items:center;padding-right:.5rem;display:flex;position:absolute;top:0;bottom:0;right:0}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7 ._chevronDownIconSpan_fcnvh_28 ._chevronDownIcon_fcnvh_28{--tw-text-opacity:1;width:1.25rem;height:1.25rem;color:rgb(51 51 51/var(--tw-text-opacity,1))}._leave_fcnvh_35{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,1,1)}._leaveFrom_fcnvh_39{opacity:1}._leaveTo_fcnvh_43{opacity:0}._selectOptions_fcnvh_47{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));--tw-shadow:0 1px 6px 0 #00000080;--tw-shadow-colored:0 1px 6px 0 var(--tw-shadow-color);width:100%;max-height:200px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow);margin:0;padding:10px 0;font-size:1rem;line-height:1.5rem;list-style-type:none;overflow:auto}@media (width>=640px){._selectOptions_fcnvh_47{font-size:.875rem;line-height:1.25rem}}._selectOptions_fcnvh_47::-webkit-scrollbar-thumb{--tw-bg-opacity:1;background-color:rgb(169 169 169/var(--tw-bg-opacity,1));border-radius:.375rem}._selectOptions_fcnvh_47::-webkit-scrollbar{width:6px}._selectOptions_fcnvh_47:focus{outline-offset:2px;outline:2px solid #0000}._autocomplete_29ukn_1{position:relative}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4{cursor:default;text-align:left;--tw-text-opacity:1;width:100%;height:2.5rem;color:rgb(51 51 51/var(--tw-text-opacity,1));background-color:#0000;position:relative;overflow:hidden}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4._disable_29ukn_7{--tw-text-opacity:1;color:rgb(167 167 167/var(--tw-text-opacity,1))}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4:focus{outline-offset:2px;outline:2px solid #0000}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000);--tw-ring-opacity:1;--tw-ring-color:rgb(223 223 223/var(--tw-ring-opacity,1));--tw-ring-offset-width:2px;--tw-ring-offset-color:#dfdfdf}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteInput_29ukn_16{box-sizing:border-box;--tw-border-opacity:1;border-width:0 0 1px;border-bottom-color:rgb(51 51 51/var(--tw-border-opacity,1));background-color:#0000;width:100%;height:100%;padding:.5rem 2.5rem .5rem 10px;font-size:1rem;line-height:1.25rem}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteInput_29ukn_16::placeholder{--tw-placeholder-opacity:1;color:rgb(102 102 102/var(--tw-placeholder-opacity,1))}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteInput_29ukn_16{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow)}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteInput_29ukn_16:focus{--tw-border-opacity:1;border-bottom-width:2px;border-bottom-color:rgb(0 107 177/var(--tw-border-opacity,1));outline-offset:2px;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000);outline:2px solid #0000;padding-bottom:7px}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteInput_29ukn_16:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000)}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteInput_29ukn_16[data-focus]{--tw-border-opacity:1;border-bottom-width:2px;border-bottom-color:rgb(0 107 177/var(--tw-border-opacity,1));outline-offset:2px;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000);outline:2px solid #0000;padding-bottom:7px}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteInput_29ukn_16[data-disabled]{cursor:not-allowed;--tw-text-opacity:1;color:rgb(167 167 167/var(--tw-text-opacity,1))}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteButton_29ukn_34{background-color:#0000;border-width:0;align-items:center;padding-right:.5rem;display:flex;position:absolute;top:0;bottom:0;right:0}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteButton_29ukn_34[data-focus]{outline-offset:2px;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000);--tw-ring-opacity:1;--tw-ring-color:rgb(0 107 177/var(--tw-ring-opacity,1));--tw-ring-offset-width:1px;outline:2px solid #0000}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteButton_29ukn_34[data-disabled]{cursor:not-allowed}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteButton_29ukn_34 ._chevronDownIcon_29ukn_44{--tw-text-opacity:1;width:1.25rem;height:1.25rem;color:rgb(51 51 51/var(--tw-text-opacity,1));transition-property:transform;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteButton_29ukn_34 ._chevronDownIcon_29ukn_44._disable_29ukn_7{--tw-text-opacity:1;color:rgb(167 167 167/var(--tw-text-opacity,1))}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteButton_29ukn_34[data-open] ._chevronDownIcon_29ukn_44{--tw-rotate:180deg;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}._leave_29ukn_57{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,1,1)}._leaveFrom_29ukn_61{opacity:1}._leaveTo_29ukn_65{opacity:0}._autocompleteOptions_29ukn_69{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));--tw-shadow:0 1px 6px 0 #00000080;--tw-shadow-colored:0 1px 6px 0 var(--tw-shadow-color);width:100%;max-height:210px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow);margin:0;padding:10px 0;font-size:1rem;line-height:1.5rem;list-style-type:none;overflow:auto}@media (width>=640px){._autocompleteOptions_29ukn_69{font-size:.875rem;line-height:1.25rem}}._autocompleteOptions_29ukn_69::-webkit-scrollbar-thumb{--tw-bg-opacity:1;background-color:rgb(169 169 169/var(--tw-bg-opacity,1));border-radius:.375rem}._autocompleteOptions_29ukn_69::-webkit-scrollbar{width:6px}._autocompleteOptions_29ukn_69[data-transition]{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-duration:.2s;transition-timing-function:cubic-bezier(0,0,.2,1)}._autocompleteOptions_29ukn_69[data-closed]{--tw-scale-x:.95;--tw-scale-y:.95;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0}._autocompleteOptions_29ukn_69[data-open]{--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:1}._autocompleteOptions_29ukn_69:focus{outline-offset:2px;outline:2px solid #0000}._textInputWrapper_gym4n_1{width:100%}._textInputWrapper_gym4n_1 ._textInput_gym4n_1{--tw-border-opacity:1;border-width:0 0 1px;border-color:rgb(51 51 51/var(--tw-border-opacity,1));--tw-text-opacity:1;width:100%;height:2.5rem;color:rgb(51 51 51/var(--tw-text-opacity,1));outline-offset:2px;outline:2px solid #0000;padding:7px 10px .5rem;font-size:1rem;line-height:1.5rem;display:block}._textInputWrapper_gym4n_1 ._textInput_gym4n_1:focus{--tw-border-opacity:1;border-bottom-width:2px;border-color:rgb(0 107 177/var(--tw-border-opacity,1));padding-bottom:7px}._phoneWrapper_dwcpz_1{justify-content:space-between;align-items:center;gap:.75rem;max-width:380px;display:flex}._phoneWrapper_dwcpz_1 ._countryCode_dwcpz_4{width:100%;max-width:110px;height:2.5rem}._phoneWrapper_dwcpz_1 ._countryCode_dwcpz_4 button{background-color:#0000;height:2.5rem;padding-left:10px;font-weight:400;background:0 0!important}._phoneWrapper_dwcpz_1 ._phoneInputWrap_dwcpz_11{width:100%}._phoneWrapper_dwcpz_1 ._phoneInputWrap_dwcpz_11 ._phoneInput_dwcpz_11{box-sizing:border-box;--tw-border-opacity:1;border-width:0 0 1px;border-color:rgb(51 51 51/var(--tw-border-opacity,1));--tw-text-opacity:1;width:100%;height:2.5rem;color:rgb(51 51 51/var(--tw-text-opacity,1));background-color:#0000;padding-left:3px;padding-right:3px;font-size:1rem;line-height:1.5rem}._phoneWrapper_dwcpz_1 ._phoneInputWrap_dwcpz_11 ._phoneInput_dwcpz_11::placeholder{--tw-placeholder-opacity:1;color:rgb(102 102 102/var(--tw-placeholder-opacity,1))}._phoneWrapper_dwcpz_1 ._phoneInputWrap_dwcpz_11 ._phoneInput_dwcpz_11{outline-offset:2px;outline:2px solid #0000}._phoneWrapper_dwcpz_1 ._phoneInputWrap_dwcpz_11 ._phoneInput_dwcpz_11:focus{--tw-border-opacity:1;border-bottom-width:2px;border-color:rgb(0 107 177/var(--tw-border-opacity,1))}._phoneWrapper_dwcpz_1 ._phoneInputWrap_dwcpz_11 ._phoneInput_dwcpz_11._serverError_dwcpz_17:focus{--tw-border-opacity:1;border-bottom-color:rgb(245 77 77/var(--tw-border-opacity,1))}._phonNumberList_dwcpz_21{min-width:286px}._phonNumberList_dwcpz_21>div{width:auto}._phonNumberList_dwcpz_21>div>div{cursor:default;user-select:none;padding:.5rem 10px;position:relative}._phonNumberList_dwcpz_21>div>div[data-focus=true],._phonNumberList_dwcpz_21>div>div[data-selected=true],._phonNumberList_dwcpz_21>div>div._active_dwcpz_30,._phonNumberList_dwcpz_21>div>div:hover{--tw-bg-opacity:1;background-color:rgb(238 238 238/var(--tw-bg-opacity,1));--tw-text-opacity:1;color:rgb(51 51 51/var(--tw-text-opacity,1))}._phonNumberList_dwcpz_21>div>div ._countryListText_dwcpz_33{align-items:center;display:flex}._phonNumberList_dwcpz_21>div>div ._countryListText_dwcpz_33>span{text-overflow:ellipsis;white-space:nowrap;font-weight:400;display:block;overflow:hidden}._phonNumberList_dwcpz_21 ul{width:auto}._phonNumberList_dwcpz_21 ul li{cursor:default;user-select:none;padding:.5rem 10px;position:relative}._phonNumberList_dwcpz_21 ul li._active_dwcpz_30{--tw-bg-opacity:1;background-color:rgb(238 238 238/var(--tw-bg-opacity,1));--tw-text-opacity:1;color:rgb(51 51 51/var(--tw-text-opacity,1))}._phonNumberList_dwcpz_21 ul li ._countryListText_dwcpz_33{align-items:center;display:flex}._phonNumberList_dwcpz_21 ul li ._countryListText_dwcpz_33>span{text-overflow:ellipsis;white-space:nowrap;font-weight:400;display:block;overflow:hidden}._progress_1piqy_1{width:100%;max-width:100%;margin:0 auto;position:relative;overflow:hidden}._progress-bar_1piqy_9{width:60%;animation-duration:2s;animation-timing-function:linear;animation-iteration-count:infinite;display:block;position:absolute;left:-60%}._radioWrapper_e4gpr_1{flex-direction:column;display:flex}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4{align-items:center;display:flex;position:relative}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7{cursor:pointer;margin-top:7px;margin-bottom:7px;display:flex}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7 ._radioBtnInsideLabel_e4gpr_10{width:1.25rem;height:1.25rem;margin-right:10px;position:relative}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7 ._radioBtnInput_e4gpr_13{opacity:0;width:0;height:0;position:absolute}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7 ._radioBtnAvatar_e4gpr_16{width:1.25rem;height:1.25rem;margin-right:9px}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7 ._radioBtnAvatar_e4gpr_16 img{width:1.25rem;min-width:20px;height:1.25rem;margin-top:1px}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7 ._radioBtnText_e4gpr_23{word-break:break-word;font-size:16px;line-height:22px}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7 ._radioBtnCircle_e4gpr_27{border-style:solid;border-width:1px;border-radius:9999px;width:1.25rem;height:1.25rem;margin-top:1px;display:inline-block;position:relative}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7 ._radioBtnCircle_e4gpr_27._radioBtnChecked_e4gpr_30{border-width:2px}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7 ._radioBtnCircleInside_e4gpr_33{border-radius:9999px;width:10px;height:10px;margin-top:-5px;margin-left:-5px;position:absolute;top:50%;left:50%}
|
|
2
2
|
/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();import e, { Fragment as t, forwardRef as n, useCallback as r, useEffect as i, useMemo as a, useRef as o, useState as s } from "react";
|
|
3
3
|
import { Fragment as c, jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import E from "react-phone-number-input/
|
|
9
|
-
|
|
10
|
-
var
|
|
11
|
-
if (typeof require < "u") return require.apply(this, arguments);
|
|
12
|
-
throw Error("Calling `require` for \"" + e + "\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.");
|
|
13
|
-
}), k = {
|
|
4
|
+
import { isMobile as d } from "react-device-detect";
|
|
5
|
+
import { createPortal as f } from "react-dom";
|
|
6
|
+
import { Combobox as p, ComboboxButton as m, ComboboxInput as h, ComboboxOption as g, ComboboxOptions as _, Listbox as v, ListboxButton as y, ListboxOption as b, ListboxOptions as x, Transition as S } from "@headlessui/react";
|
|
7
|
+
import { ChevronDownIcon as C } from "@heroicons/react/20/solid";
|
|
8
|
+
import { getCountries as w, getCountryCallingCode as T, isValidPhoneNumber as E } from "react-phone-number-input/max";
|
|
9
|
+
import D from "react-phone-number-input/locale/en.json";
|
|
10
|
+
var O = {
|
|
14
11
|
button: "_button_1q2ge_1",
|
|
15
12
|
primary: "_primary_1q2ge_5",
|
|
16
13
|
secondary: "_secondary_1q2ge_12",
|
|
@@ -19,7 +16,7 @@ var D = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t
|
|
|
19
16
|
medium: "_medium_1q2ge_26",
|
|
20
17
|
large: "_large_1q2ge_33",
|
|
21
18
|
squared: "_squared_1q2ge_40"
|
|
22
|
-
},
|
|
19
|
+
}, k = (e) => {
|
|
23
20
|
if (!e) throw Error("Please provide a hex color code");
|
|
24
21
|
if (!/^#([A-Fa-f0-9]{3}){1,2}$/.test(e)) throw Error("Please provide a valid hex code");
|
|
25
22
|
e = e.length === 4 ? e.replace(/^#(.)(.)(.)$/, "#$1$1$2$2$3$3") : e;
|
|
@@ -29,15 +26,15 @@ var D = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t
|
|
|
29
26
|
4
|
|
30
27
|
].map((e) => Number.parseInt(t.substring(e, e + 2), 16));
|
|
31
28
|
return (.2126 * n + .7152 * r + .0722 * i) / 255 < .7 ? "dark" : "light";
|
|
32
|
-
},
|
|
29
|
+
}, A = class {
|
|
33
30
|
static convert3HexTo6(e) {
|
|
34
31
|
return typeof e == "string" && /^#(?:[0-9a-fA-F]{3}){1,2}$/.test(e) && e.length === 4 ? e.replace(/^#(.)(.)(.)$/, "#$1$1$2$2$3$3") : e;
|
|
35
32
|
}
|
|
36
|
-
},
|
|
33
|
+
}, j = n(({ themeColor: e = "", variant: t = "primary", size: n = "small", shape: r = "rounded", children: i, className: a = "", style: o = {}, disabled: s, ...c }, u) => {
|
|
37
34
|
let d = {};
|
|
38
35
|
if (e) {
|
|
39
|
-
let n =
|
|
40
|
-
if (e =
|
|
36
|
+
let n = k(e);
|
|
37
|
+
if (e = A.convert3HexTo6(e), !s && (n === "dark" || n === "light")) {
|
|
41
38
|
let r = t === "primary" ? e : "#ffffff", i = t === "primary" ? n === "dark" ? "#ffffff" : "#333333" : n === "light" ? "#333333" : e, a = e === "#ffffff" ? "#c8c8c8" : e;
|
|
42
39
|
d = {
|
|
43
40
|
backgroundColor: r,
|
|
@@ -48,10 +45,10 @@ var D = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t
|
|
|
48
45
|
}
|
|
49
46
|
}
|
|
50
47
|
let f = [
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
48
|
+
O.button,
|
|
49
|
+
O[t],
|
|
50
|
+
O[n],
|
|
51
|
+
O[r],
|
|
55
52
|
a
|
|
56
53
|
].filter(Boolean).join(" ");
|
|
57
54
|
return /* @__PURE__ */ l("button", {
|
|
@@ -66,8 +63,8 @@ var D = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t
|
|
|
66
63
|
children: i
|
|
67
64
|
});
|
|
68
65
|
});
|
|
69
|
-
|
|
70
|
-
var
|
|
66
|
+
j.displayName = "Button";
|
|
67
|
+
var M = {
|
|
71
68
|
checkboxLayout: "_checkboxLayout_bt7qx_1",
|
|
72
69
|
checkboxLabel: "_checkboxLabel_bt7qx_4",
|
|
73
70
|
checkboxInnerContainer: "_checkboxInnerContainer_bt7qx_10",
|
|
@@ -80,11 +77,11 @@ var N = {
|
|
|
80
77
|
checkboxDisabled: "_checkboxDisabled_bt7qx_53",
|
|
81
78
|
medium: "_medium_bt7qx_59",
|
|
82
79
|
large: "_large_bt7qx_65"
|
|
83
|
-
},
|
|
80
|
+
}, N = () => `checkbox_${Math.random().toString(36).substring(2, 11)}`, P = n(({ children: e, themeColor: t = "", checkboxSize: n = "medium", id: r = N(), checked: i = !1, disabled: a = !1, className: o = "", onChange: d, style: f = {}, tabIndex: p, ...m }, h) => {
|
|
84
81
|
let [g, _] = s(i), v = {}, y, b = a ? "#9b9b9b" : "#ffffff";
|
|
85
82
|
if (t) {
|
|
86
|
-
let e =
|
|
87
|
-
if (t =
|
|
83
|
+
let e = k(t);
|
|
84
|
+
if (t = A.convert3HexTo6(t), e === "dark" || e === "light") {
|
|
88
85
|
switch (e) {
|
|
89
86
|
case "dark":
|
|
90
87
|
b = a ? g ? "#9b9b9b" : "#f9f9f9" : "#ffffff";
|
|
@@ -104,9 +101,9 @@ var N = {
|
|
|
104
101
|
});
|
|
105
102
|
}
|
|
106
103
|
}
|
|
107
|
-
let x = a ?
|
|
108
|
-
|
|
109
|
-
|
|
104
|
+
let x = a ? M.checkboxDisabled : "", S = [
|
|
105
|
+
M.checkboxLayout,
|
|
106
|
+
M[n],
|
|
110
107
|
x,
|
|
111
108
|
o
|
|
112
109
|
].filter(Boolean).join(" "), C = (e) => {
|
|
@@ -116,17 +113,17 @@ var N = {
|
|
|
116
113
|
className: S,
|
|
117
114
|
"data-testid": "checkbox",
|
|
118
115
|
children: /* @__PURE__ */ u("label", {
|
|
119
|
-
className:
|
|
116
|
+
className: M.checkboxLabel,
|
|
120
117
|
htmlFor: r,
|
|
121
118
|
onClick: (e) => C(e),
|
|
122
119
|
children: [
|
|
123
120
|
/* @__PURE__ */ u("div", {
|
|
124
|
-
className:
|
|
121
|
+
className: M.checkboxInnerContainer,
|
|
125
122
|
tabIndex: p || a ? -1 : 0,
|
|
126
123
|
onKeyPress: (e) => C(e),
|
|
127
124
|
"data-testid": "checkbox-inner-container",
|
|
128
125
|
children: [/* @__PURE__ */ l("input", {
|
|
129
|
-
className:
|
|
126
|
+
className: M.checkboxInput,
|
|
130
127
|
onChange: (e) => C(e),
|
|
131
128
|
type: "checkbox",
|
|
132
129
|
checked: g,
|
|
@@ -137,7 +134,7 @@ var N = {
|
|
|
137
134
|
tabIndex: -1,
|
|
138
135
|
"data-testid": "checkbox-input"
|
|
139
136
|
}), /* @__PURE__ */ l("div", {
|
|
140
|
-
className:
|
|
137
|
+
className: M.checkboxFrame,
|
|
141
138
|
style: {
|
|
142
139
|
...v,
|
|
143
140
|
...f
|
|
@@ -146,11 +143,11 @@ var N = {
|
|
|
146
143
|
children: /* @__PURE__ */ l("svg", {
|
|
147
144
|
version: "1.1",
|
|
148
145
|
focusable: "false",
|
|
149
|
-
className:
|
|
146
|
+
className: M.checkboxCheckMark,
|
|
150
147
|
viewBox: "0 0 24 24",
|
|
151
148
|
"data-testid": "check-mark-svg",
|
|
152
149
|
children: /* @__PURE__ */ l("path", {
|
|
153
|
-
className:
|
|
150
|
+
className: M.checkboxCheckMarkPath,
|
|
154
151
|
fill: "none",
|
|
155
152
|
stroke: b,
|
|
156
153
|
d: "M4.1,12.7 9,17.6 20.3,6.3"
|
|
@@ -163,7 +160,7 @@ var N = {
|
|
|
163
160
|
children: e
|
|
164
161
|
}),
|
|
165
162
|
/* @__PURE__ */ l("div", {
|
|
166
|
-
className:
|
|
163
|
+
className: M.visuallyHidden,
|
|
167
164
|
"aria-live": "polite",
|
|
168
165
|
"aria-atomic": "true",
|
|
169
166
|
children: g ? "Checked" : "Unchecked"
|
|
@@ -172,1346 +169,42 @@ var N = {
|
|
|
172
169
|
})
|
|
173
170
|
}) });
|
|
174
171
|
});
|
|
175
|
-
|
|
176
|
-
var
|
|
172
|
+
P.displayName = "Checkbox";
|
|
173
|
+
var F = {
|
|
177
174
|
textInputWrapper: "_textInputWrapper_1i9m6_1",
|
|
178
175
|
textInput: "_textInput_1i9m6_1"
|
|
179
|
-
},
|
|
180
|
-
(
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
for (var r in e) t[r] && t[r].length % 2 == 0 ? n[r] = t[r].concat(e[r]) : n[r] = e[r];
|
|
184
|
-
return n;
|
|
185
|
-
}, K = function(e) {
|
|
186
|
-
for (var t = {}, n = 0; n < e.length; n++) t[e[n].toUpperCase()] = e[n];
|
|
187
|
-
return t;
|
|
188
|
-
}, q = function(e, t) {
|
|
189
|
-
return typeof e === u ? J(t).indexOf(J(e)) !== -1 : !1;
|
|
190
|
-
}, J = function(e) {
|
|
191
|
-
return e.toLowerCase();
|
|
192
|
-
}, ce = function(e) {
|
|
193
|
-
return typeof e === u ? e.replace(/[^\d\.]/g, a).split(".")[0] : r;
|
|
194
|
-
}, le = function(e, t) {
|
|
195
|
-
if (typeof e === u) return e = e.replace(/^\s\s*/, a), typeof t === c ? e : e.substring(0, w);
|
|
196
|
-
}, Y = function(e, t) {
|
|
197
|
-
for (var n = 0, i, a, o, c, u, d; n < t.length && !u;) {
|
|
198
|
-
var f = t[n], p = t[n + 1];
|
|
199
|
-
for (i = a = 0; i < f.length && !u && f[i];) if (u = f[i++].exec(e), u) for (o = 0; o < p.length; o++) d = u[++a], c = p[o], typeof c === l && c.length > 0 ? c.length === 2 ? typeof c[1] == s ? this[c[0]] = c[1].call(this, d) : this[c[0]] = c[1] : c.length === 3 ? typeof c[1] === s && !(c[1].exec && c[1].test) ? this[c[0]] = d ? c[1].call(this, d, c[2]) : r : this[c[0]] = d ? d.replace(c[1], c[2]) : r : c.length === 4 && (this[c[0]] = d ? c[3].call(this, d.replace(c[1], c[2])) : r) : this[c] = d || r;
|
|
200
|
-
n += 2;
|
|
201
|
-
}
|
|
202
|
-
}, X = function(e, t) {
|
|
203
|
-
for (var n in t) if (typeof t[n] === l && t[n].length > 0) {
|
|
204
|
-
for (var i = 0; i < t[n].length; i++) if (q(t[n][i], e)) return n === o ? r : n;
|
|
205
|
-
} else if (q(t[n], e)) return n === o ? r : n;
|
|
206
|
-
return t.hasOwnProperty("*") ? t["*"] : e;
|
|
207
|
-
}, ue = {
|
|
208
|
-
"1.0": "/8",
|
|
209
|
-
1.2: "/1",
|
|
210
|
-
1.3: "/3",
|
|
211
|
-
"2.0": "/412",
|
|
212
|
-
"2.0.2": "/416",
|
|
213
|
-
"2.0.3": "/417",
|
|
214
|
-
"2.0.4": "/419",
|
|
215
|
-
"?": "/"
|
|
216
|
-
}, Z = {
|
|
217
|
-
ME: "4.90",
|
|
218
|
-
"NT 3.11": "NT3.51",
|
|
219
|
-
"NT 4.0": "NT4.0",
|
|
220
|
-
2e3: "NT 5.0",
|
|
221
|
-
XP: ["NT 5.1", "NT 5.2"],
|
|
222
|
-
Vista: "NT 6.0",
|
|
223
|
-
7: "NT 6.1",
|
|
224
|
-
8: "NT 6.2",
|
|
225
|
-
8.1: "NT 6.3",
|
|
226
|
-
10: ["NT 6.4", "NT 10.0"],
|
|
227
|
-
RT: "ARM"
|
|
228
|
-
}, de = {
|
|
229
|
-
browser: [
|
|
230
|
-
[/\b(?:crmo|crios)\/([\w\.]+)/i],
|
|
231
|
-
[g, [p, "Chrome"]],
|
|
232
|
-
[/edg(?:e|ios|a)?\/([\w\.]+)/i],
|
|
233
|
-
[g, [p, "Edge"]],
|
|
234
|
-
[
|
|
235
|
-
/(opera mini)\/([-\w\.]+)/i,
|
|
236
|
-
/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,
|
|
237
|
-
/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i
|
|
238
|
-
],
|
|
239
|
-
[p, g],
|
|
240
|
-
[/opios[\/ ]+([\w\.]+)/i],
|
|
241
|
-
[g, [p, ne + " Mini"]],
|
|
242
|
-
[/\bop(?:rg)?x\/([\w\.]+)/i],
|
|
243
|
-
[g, [p, ne + " GX"]],
|
|
244
|
-
[/\bopr\/([\w\.]+)/i],
|
|
245
|
-
[g, [p, ne]],
|
|
246
|
-
[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],
|
|
247
|
-
[g, [p, "Baidu"]],
|
|
248
|
-
[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],
|
|
249
|
-
[g, [p, "Maxthon"]],
|
|
250
|
-
[
|
|
251
|
-
/(kindle)\/([\w\.]+)/i,
|
|
252
|
-
/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,
|
|
253
|
-
/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,
|
|
254
|
-
/(?:ms|\()(ie) ([\w\.]+)/i,
|
|
255
|
-
/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,
|
|
256
|
-
/(heytap|ovi|115)browser\/([\d\.]+)/i,
|
|
257
|
-
/(weibo)__([\d\.]+)/i
|
|
258
|
-
],
|
|
259
|
-
[p, g],
|
|
260
|
-
[/quark(?:pc)?\/([-\w\.]+)/i],
|
|
261
|
-
[g, [p, "Quark"]],
|
|
262
|
-
[/\bddg\/([\w\.]+)/i],
|
|
263
|
-
[g, [p, "DuckDuckGo"]],
|
|
264
|
-
[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],
|
|
265
|
-
[g, [p, "UC" + k]],
|
|
266
|
-
[
|
|
267
|
-
/microm.+\bqbcore\/([\w\.]+)/i,
|
|
268
|
-
/\bqbcore\/([\w\.]+).+microm/i,
|
|
269
|
-
/micromessenger\/([\w\.]+)/i
|
|
270
|
-
],
|
|
271
|
-
[g, [p, "WeChat"]],
|
|
272
|
-
[/konqueror\/([\w\.]+)/i],
|
|
273
|
-
[g, [p, "Konqueror"]],
|
|
274
|
-
[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],
|
|
275
|
-
[g, [p, "IE"]],
|
|
276
|
-
[/ya(?:search)?browser\/([\w\.]+)/i],
|
|
277
|
-
[g, [p, "Yandex"]],
|
|
278
|
-
[/slbrowser\/([\w\.]+)/i],
|
|
279
|
-
[g, [p, "Smart Lenovo " + k]],
|
|
280
|
-
[/(avast|avg)\/([\w\.]+)/i],
|
|
281
|
-
[[
|
|
282
|
-
p,
|
|
283
|
-
/(.+)/,
|
|
284
|
-
"$1 Secure " + k
|
|
285
|
-
], g],
|
|
286
|
-
[/\bfocus\/([\w\.]+)/i],
|
|
287
|
-
[g, [p, M + " Focus"]],
|
|
288
|
-
[/\bopt\/([\w\.]+)/i],
|
|
289
|
-
[g, [p, ne + " Touch"]],
|
|
290
|
-
[/coc_coc\w+\/([\w\.]+)/i],
|
|
291
|
-
[g, [p, "Coc Coc"]],
|
|
292
|
-
[/dolfin\/([\w\.]+)/i],
|
|
293
|
-
[g, [p, "Dolphin"]],
|
|
294
|
-
[/coast\/([\w\.]+)/i],
|
|
295
|
-
[g, [p, ne + " Coast"]],
|
|
296
|
-
[/miuibrowser\/([\w\.]+)/i],
|
|
297
|
-
[g, [p, "MIUI" + G]],
|
|
298
|
-
[/fxios\/([\w\.-]+)/i],
|
|
299
|
-
[g, [p, M]],
|
|
300
|
-
[/\bqihoobrowser\/?([\w\.]*)/i],
|
|
301
|
-
[g, [p, "360"]],
|
|
302
|
-
[/\b(qq)\/([\w\.]+)/i],
|
|
303
|
-
[[
|
|
304
|
-
p,
|
|
305
|
-
/(.+)/,
|
|
306
|
-
"$1Browser"
|
|
307
|
-
], g],
|
|
308
|
-
[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],
|
|
309
|
-
[[
|
|
310
|
-
p,
|
|
311
|
-
/(.+)/,
|
|
312
|
-
"$1" + G
|
|
313
|
-
], g],
|
|
314
|
-
[/samsungbrowser\/([\w\.]+)/i],
|
|
315
|
-
[g, [p, V + " Internet"]],
|
|
316
|
-
[/metasr[\/ ]?([\d\.]+)/i],
|
|
317
|
-
[g, [p, "Sogou Explorer"]],
|
|
318
|
-
[/(sogou)mo\w+\/([\d\.]+)/i],
|
|
319
|
-
[[p, "Sogou Mobile"], g],
|
|
320
|
-
[
|
|
321
|
-
/(electron)\/([\w\.]+) safari/i,
|
|
322
|
-
/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,
|
|
323
|
-
/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i
|
|
324
|
-
],
|
|
325
|
-
[p, g],
|
|
326
|
-
[/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i],
|
|
327
|
-
[p],
|
|
328
|
-
[/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i],
|
|
329
|
-
[g, p],
|
|
330
|
-
[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],
|
|
331
|
-
[[p, ae], g],
|
|
332
|
-
[
|
|
333
|
-
/(Klarna)\/([\w\.]+)/i,
|
|
334
|
-
/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,
|
|
335
|
-
/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,
|
|
336
|
-
/(daum)apps[\/ ]([\w\.]+)/i,
|
|
337
|
-
/safari (line)\/([\w\.]+)/i,
|
|
338
|
-
/\b(line)\/([\w\.]+)\/iab/i,
|
|
339
|
-
/(alipay)client\/([\w\.]+)/i,
|
|
340
|
-
/(twitter)(?:and| f.+e\/([\w\.]+))/i,
|
|
341
|
-
/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i
|
|
342
|
-
],
|
|
343
|
-
[p, g],
|
|
344
|
-
[/\bgsa\/([\w\.]+) .*safari\//i],
|
|
345
|
-
[g, [p, "GSA"]],
|
|
346
|
-
[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],
|
|
347
|
-
[g, [p, "TikTok"]],
|
|
348
|
-
[/headlesschrome(?:\/([\w\.]+)| )/i],
|
|
349
|
-
[g, [p, A + " Headless"]],
|
|
350
|
-
[/ wv\).+(chrome)\/([\w\.]+)/i],
|
|
351
|
-
[[p, A + " WebView"], g],
|
|
352
|
-
[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],
|
|
353
|
-
[g, [p, "Android " + k]],
|
|
354
|
-
[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],
|
|
355
|
-
[p, g],
|
|
356
|
-
[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],
|
|
357
|
-
[g, [p, "Mobile Safari"]],
|
|
358
|
-
[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],
|
|
359
|
-
[g, p],
|
|
360
|
-
[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],
|
|
361
|
-
[p, [
|
|
362
|
-
g,
|
|
363
|
-
X,
|
|
364
|
-
ue
|
|
365
|
-
]],
|
|
366
|
-
[/(webkit|khtml)\/([\w\.]+)/i],
|
|
367
|
-
[p, g],
|
|
368
|
-
[/(navigator|netscape\d?)\/([-\w\.]+)/i],
|
|
369
|
-
[[p, "Netscape"], g],
|
|
370
|
-
[/(wolvic|librewolf)\/([\w\.]+)/i],
|
|
371
|
-
[p, g],
|
|
372
|
-
[/mobile vr; rv:([\w\.]+)\).+firefox/i],
|
|
373
|
-
[g, [p, M + " Reality"]],
|
|
374
|
-
[
|
|
375
|
-
/ekiohf.+(flow)\/([\w\.]+)/i,
|
|
376
|
-
/(swiftfox)/i,
|
|
377
|
-
/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,
|
|
378
|
-
/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,
|
|
379
|
-
/(firefox)\/([\w\.]+)/i,
|
|
380
|
-
/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,
|
|
381
|
-
/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,
|
|
382
|
-
/\b(links) \(([\w\.]+)/i
|
|
383
|
-
],
|
|
384
|
-
[p, [
|
|
385
|
-
g,
|
|
386
|
-
/_/g,
|
|
387
|
-
"."
|
|
388
|
-
]],
|
|
389
|
-
[/(cobalt)\/([\w\.]+)/i],
|
|
390
|
-
[p, [
|
|
391
|
-
g,
|
|
392
|
-
/master.|lts./,
|
|
393
|
-
""
|
|
394
|
-
]]
|
|
395
|
-
],
|
|
396
|
-
cpu: [
|
|
397
|
-
[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],
|
|
398
|
-
[[_, "amd64"]],
|
|
399
|
-
[/(ia32(?=;))/i, /\b((i[346]|x)86)(pc)?\b/i],
|
|
400
|
-
[[_, "ia32"]],
|
|
401
|
-
[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],
|
|
402
|
-
[[_, "arm64"]],
|
|
403
|
-
[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],
|
|
404
|
-
[[_, "armhf"]],
|
|
405
|
-
[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],
|
|
406
|
-
[[_, "arm"]],
|
|
407
|
-
[/((ppc|powerpc)(64)?)( mac|;|\))/i],
|
|
408
|
-
[[
|
|
409
|
-
_,
|
|
410
|
-
/ower/,
|
|
411
|
-
a,
|
|
412
|
-
J
|
|
413
|
-
]],
|
|
414
|
-
[/ sun4\w[;\)]/i],
|
|
415
|
-
[[_, "sparc"]],
|
|
416
|
-
[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],
|
|
417
|
-
[[_, J]]
|
|
418
|
-
],
|
|
419
|
-
device: [
|
|
420
|
-
[/\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],
|
|
421
|
-
[
|
|
422
|
-
f,
|
|
423
|
-
[h, V],
|
|
424
|
-
[m, b]
|
|
425
|
-
],
|
|
426
|
-
[
|
|
427
|
-
/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,
|
|
428
|
-
/samsung[- ]((?!sm-[lr])[-\w]+)/i,
|
|
429
|
-
/sec-(sgh\w+)/i
|
|
430
|
-
],
|
|
431
|
-
[
|
|
432
|
-
f,
|
|
433
|
-
[h, V],
|
|
434
|
-
[m, y]
|
|
435
|
-
],
|
|
436
|
-
[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],
|
|
437
|
-
[
|
|
438
|
-
f,
|
|
439
|
-
[h, E],
|
|
440
|
-
[m, y]
|
|
441
|
-
],
|
|
442
|
-
[
|
|
443
|
-
/\((ipad);[-\w\),; ]+apple/i,
|
|
444
|
-
/applecoremedia\/[\w\.]+ \((ipad)/i,
|
|
445
|
-
/\b(ipad)\d\d?,\d\d?[;\]].+ios/i
|
|
446
|
-
],
|
|
447
|
-
[
|
|
448
|
-
f,
|
|
449
|
-
[h, E],
|
|
450
|
-
[m, b]
|
|
451
|
-
],
|
|
452
|
-
[/(macintosh);/i],
|
|
453
|
-
[f, [h, E]],
|
|
454
|
-
[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],
|
|
455
|
-
[
|
|
456
|
-
f,
|
|
457
|
-
[h, re],
|
|
458
|
-
[m, y]
|
|
459
|
-
],
|
|
460
|
-
[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],
|
|
461
|
-
[
|
|
462
|
-
f,
|
|
463
|
-
[h, P],
|
|
464
|
-
[m, b]
|
|
465
|
-
],
|
|
466
|
-
[/honor([-\w ]+)[;\)]/i],
|
|
467
|
-
[
|
|
468
|
-
f,
|
|
469
|
-
[h, P],
|
|
470
|
-
[m, y]
|
|
471
|
-
],
|
|
472
|
-
[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],
|
|
473
|
-
[
|
|
474
|
-
f,
|
|
475
|
-
[h, F],
|
|
476
|
-
[m, b]
|
|
477
|
-
],
|
|
478
|
-
[/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],
|
|
479
|
-
[
|
|
480
|
-
f,
|
|
481
|
-
[h, F],
|
|
482
|
-
[m, y]
|
|
483
|
-
],
|
|
484
|
-
[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],
|
|
485
|
-
[
|
|
486
|
-
[
|
|
487
|
-
f,
|
|
488
|
-
/_/g,
|
|
489
|
-
" "
|
|
490
|
-
],
|
|
491
|
-
[h, ie],
|
|
492
|
-
[m, b]
|
|
493
|
-
],
|
|
494
|
-
[
|
|
495
|
-
/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,
|
|
496
|
-
/\b; (\w+) build\/hm\1/i,
|
|
497
|
-
/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,
|
|
498
|
-
/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,
|
|
499
|
-
/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,
|
|
500
|
-
/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,
|
|
501
|
-
/ ([\w ]+) miui\/v?\d/i
|
|
502
|
-
],
|
|
503
|
-
[
|
|
504
|
-
[
|
|
505
|
-
f,
|
|
506
|
-
/_/g,
|
|
507
|
-
" "
|
|
508
|
-
],
|
|
509
|
-
[h, ie],
|
|
510
|
-
[m, y]
|
|
511
|
-
],
|
|
512
|
-
[/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],
|
|
513
|
-
[
|
|
514
|
-
f,
|
|
515
|
-
[h, B],
|
|
516
|
-
[m, y]
|
|
517
|
-
],
|
|
518
|
-
[/\b(opd2(\d{3}a?))(?: bui|\))/i],
|
|
519
|
-
[
|
|
520
|
-
f,
|
|
521
|
-
[
|
|
522
|
-
h,
|
|
523
|
-
X,
|
|
524
|
-
{
|
|
525
|
-
OnePlus: [
|
|
526
|
-
"304",
|
|
527
|
-
"403",
|
|
528
|
-
"203"
|
|
529
|
-
],
|
|
530
|
-
"*": B
|
|
531
|
-
}
|
|
532
|
-
],
|
|
533
|
-
[m, b]
|
|
534
|
-
],
|
|
535
|
-
[/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i],
|
|
536
|
-
[
|
|
537
|
-
f,
|
|
538
|
-
[h, "Vivo"],
|
|
539
|
-
[m, y]
|
|
540
|
-
],
|
|
541
|
-
[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],
|
|
542
|
-
[
|
|
543
|
-
f,
|
|
544
|
-
[h, "Realme"],
|
|
545
|
-
[m, y]
|
|
546
|
-
],
|
|
547
|
-
[
|
|
548
|
-
/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,
|
|
549
|
-
/\bmot(?:orola)?[- ](\w*)/i,
|
|
550
|
-
/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i
|
|
551
|
-
],
|
|
552
|
-
[
|
|
553
|
-
f,
|
|
554
|
-
[h, te],
|
|
555
|
-
[m, y]
|
|
556
|
-
],
|
|
557
|
-
[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],
|
|
558
|
-
[
|
|
559
|
-
f,
|
|
560
|
-
[h, te],
|
|
561
|
-
[m, b]
|
|
562
|
-
],
|
|
563
|
-
[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],
|
|
564
|
-
[
|
|
565
|
-
f,
|
|
566
|
-
[h, I],
|
|
567
|
-
[m, b]
|
|
568
|
-
],
|
|
569
|
-
[
|
|
570
|
-
/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,
|
|
571
|
-
/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,
|
|
572
|
-
/\blg-?([\d\w]+) bui/i
|
|
573
|
-
],
|
|
574
|
-
[
|
|
575
|
-
f,
|
|
576
|
-
[h, I],
|
|
577
|
-
[m, y]
|
|
578
|
-
],
|
|
579
|
-
[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i, /lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],
|
|
580
|
-
[
|
|
581
|
-
f,
|
|
582
|
-
[h, ee],
|
|
583
|
-
[m, b]
|
|
584
|
-
],
|
|
585
|
-
[/(nokia) (t[12][01])/i],
|
|
586
|
-
[
|
|
587
|
-
h,
|
|
588
|
-
f,
|
|
589
|
-
[m, b]
|
|
590
|
-
],
|
|
591
|
-
[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i],
|
|
592
|
-
[
|
|
593
|
-
[
|
|
594
|
-
f,
|
|
595
|
-
/_/g,
|
|
596
|
-
" "
|
|
597
|
-
],
|
|
598
|
-
[m, y],
|
|
599
|
-
[h, "Nokia"]
|
|
600
|
-
],
|
|
601
|
-
[/(pixel (c|tablet))\b/i],
|
|
602
|
-
[
|
|
603
|
-
f,
|
|
604
|
-
[h, N],
|
|
605
|
-
[m, b]
|
|
606
|
-
],
|
|
607
|
-
[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],
|
|
608
|
-
[
|
|
609
|
-
f,
|
|
610
|
-
[h, N],
|
|
611
|
-
[m, y]
|
|
612
|
-
],
|
|
613
|
-
[/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],
|
|
614
|
-
[
|
|
615
|
-
f,
|
|
616
|
-
[h, H],
|
|
617
|
-
[m, y]
|
|
618
|
-
],
|
|
619
|
-
[/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i],
|
|
620
|
-
[
|
|
621
|
-
[f, "Xperia Tablet"],
|
|
622
|
-
[h, H],
|
|
623
|
-
[m, b]
|
|
624
|
-
],
|
|
625
|
-
[/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],
|
|
626
|
-
[
|
|
627
|
-
f,
|
|
628
|
-
[h, z],
|
|
629
|
-
[m, y]
|
|
630
|
-
],
|
|
631
|
-
[
|
|
632
|
-
/(alexa)webm/i,
|
|
633
|
-
/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,
|
|
634
|
-
/(kf[a-z]+)( bui|\)).+silk\//i
|
|
635
|
-
],
|
|
636
|
-
[
|
|
637
|
-
f,
|
|
638
|
-
[h, T],
|
|
639
|
-
[m, b]
|
|
640
|
-
],
|
|
641
|
-
[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],
|
|
642
|
-
[
|
|
643
|
-
[
|
|
644
|
-
f,
|
|
645
|
-
/(.+)/g,
|
|
646
|
-
"Fire Phone $1"
|
|
647
|
-
],
|
|
648
|
-
[h, T],
|
|
649
|
-
[m, y]
|
|
650
|
-
],
|
|
651
|
-
[/(playbook);[-\w\),; ]+(rim)/i],
|
|
652
|
-
[
|
|
653
|
-
f,
|
|
654
|
-
h,
|
|
655
|
-
[m, b]
|
|
656
|
-
],
|
|
657
|
-
[/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i],
|
|
658
|
-
[
|
|
659
|
-
f,
|
|
660
|
-
[h, O],
|
|
661
|
-
[m, y]
|
|
662
|
-
],
|
|
663
|
-
[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],
|
|
664
|
-
[
|
|
665
|
-
f,
|
|
666
|
-
[h, D],
|
|
667
|
-
[m, b]
|
|
668
|
-
],
|
|
669
|
-
[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],
|
|
670
|
-
[
|
|
671
|
-
f,
|
|
672
|
-
[h, D],
|
|
673
|
-
[m, y]
|
|
674
|
-
],
|
|
675
|
-
[/(nexus 9)/i],
|
|
676
|
-
[
|
|
677
|
-
f,
|
|
678
|
-
[h, "HTC"],
|
|
679
|
-
[m, b]
|
|
680
|
-
],
|
|
681
|
-
[
|
|
682
|
-
/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,
|
|
683
|
-
/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,
|
|
684
|
-
/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i
|
|
685
|
-
],
|
|
686
|
-
[
|
|
687
|
-
h,
|
|
688
|
-
[
|
|
689
|
-
f,
|
|
690
|
-
/_/g,
|
|
691
|
-
" "
|
|
692
|
-
],
|
|
693
|
-
[m, y]
|
|
694
|
-
],
|
|
695
|
-
[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],
|
|
696
|
-
[
|
|
697
|
-
f,
|
|
698
|
-
[h, "TCL"],
|
|
699
|
-
[m, b]
|
|
700
|
-
],
|
|
701
|
-
[/(itel) ((\w+))/i],
|
|
702
|
-
[
|
|
703
|
-
[h, J],
|
|
704
|
-
f,
|
|
705
|
-
[
|
|
706
|
-
m,
|
|
707
|
-
X,
|
|
708
|
-
{
|
|
709
|
-
tablet: ["p10001l", "w7001"],
|
|
710
|
-
"*": "mobile"
|
|
711
|
-
}
|
|
712
|
-
]
|
|
713
|
-
],
|
|
714
|
-
[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],
|
|
715
|
-
[
|
|
716
|
-
f,
|
|
717
|
-
[h, "Acer"],
|
|
718
|
-
[m, b]
|
|
719
|
-
],
|
|
720
|
-
[/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i],
|
|
721
|
-
[
|
|
722
|
-
f,
|
|
723
|
-
[h, "Meizu"],
|
|
724
|
-
[m, y]
|
|
725
|
-
],
|
|
726
|
-
[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],
|
|
727
|
-
[
|
|
728
|
-
f,
|
|
729
|
-
[h, "Ulefone"],
|
|
730
|
-
[m, y]
|
|
731
|
-
],
|
|
732
|
-
[/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i],
|
|
733
|
-
[
|
|
734
|
-
f,
|
|
735
|
-
[h, "Energizer"],
|
|
736
|
-
[m, y]
|
|
737
|
-
],
|
|
738
|
-
[/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],
|
|
739
|
-
[
|
|
740
|
-
f,
|
|
741
|
-
[h, "Cat"],
|
|
742
|
-
[m, y]
|
|
743
|
-
],
|
|
744
|
-
[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],
|
|
745
|
-
[
|
|
746
|
-
f,
|
|
747
|
-
[h, "Smartfren"],
|
|
748
|
-
[m, y]
|
|
749
|
-
],
|
|
750
|
-
[/droid.+; (a(?:015|06[35]|142p?))/i],
|
|
751
|
-
[
|
|
752
|
-
f,
|
|
753
|
-
[h, "Nothing"],
|
|
754
|
-
[m, y]
|
|
755
|
-
],
|
|
756
|
-
[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],
|
|
757
|
-
[
|
|
758
|
-
f,
|
|
759
|
-
[h, "Archos"],
|
|
760
|
-
[m, b]
|
|
761
|
-
],
|
|
762
|
-
[/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i],
|
|
763
|
-
[
|
|
764
|
-
f,
|
|
765
|
-
[h, "Archos"],
|
|
766
|
-
[m, y]
|
|
767
|
-
],
|
|
768
|
-
[/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i],
|
|
769
|
-
[
|
|
770
|
-
h,
|
|
771
|
-
f,
|
|
772
|
-
[m, b]
|
|
773
|
-
],
|
|
774
|
-
[
|
|
775
|
-
/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,
|
|
776
|
-
/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,
|
|
777
|
-
/(hp) ([\w ]+\w)/i,
|
|
778
|
-
/(microsoft); (lumia[\w ]+)/i,
|
|
779
|
-
/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,
|
|
780
|
-
/(oppo) ?([\w ]+) bui/i
|
|
781
|
-
],
|
|
782
|
-
[
|
|
783
|
-
h,
|
|
784
|
-
f,
|
|
785
|
-
[m, y]
|
|
786
|
-
],
|
|
787
|
-
[
|
|
788
|
-
/(kobo)\s(ereader|touch)/i,
|
|
789
|
-
/(hp).+(touchpad(?!.+tablet)|tablet)/i,
|
|
790
|
-
/(kindle)\/([\w\.]+)/i,
|
|
791
|
-
/(nook)[\w ]+build\/(\w+)/i,
|
|
792
|
-
/(dell) (strea[kpr\d ]*[\dko])/i,
|
|
793
|
-
/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,
|
|
794
|
-
/(trinity)[- ]*(t\d{3}) bui/i,
|
|
795
|
-
/(gigaset)[- ]+(q\w{1,9}) bui/i,
|
|
796
|
-
/(vodafone) ([\w ]+)(?:\)| bui)/i
|
|
797
|
-
],
|
|
798
|
-
[
|
|
799
|
-
h,
|
|
800
|
-
f,
|
|
801
|
-
[m, b]
|
|
802
|
-
],
|
|
803
|
-
[/(surface duo)/i],
|
|
804
|
-
[
|
|
805
|
-
f,
|
|
806
|
-
[h, L],
|
|
807
|
-
[m, b]
|
|
808
|
-
],
|
|
809
|
-
[/droid [\d\.]+; (fp\du?)(?: b|\))/i],
|
|
810
|
-
[
|
|
811
|
-
f,
|
|
812
|
-
[h, "Fairphone"],
|
|
813
|
-
[m, y]
|
|
814
|
-
],
|
|
815
|
-
[/(u304aa)/i],
|
|
816
|
-
[
|
|
817
|
-
f,
|
|
818
|
-
[h, "AT&T"],
|
|
819
|
-
[m, y]
|
|
820
|
-
],
|
|
821
|
-
[/\bsie-(\w*)/i],
|
|
822
|
-
[
|
|
823
|
-
f,
|
|
824
|
-
[h, "Siemens"],
|
|
825
|
-
[m, y]
|
|
826
|
-
],
|
|
827
|
-
[/\b(rct\w+) b/i],
|
|
828
|
-
[
|
|
829
|
-
f,
|
|
830
|
-
[h, "RCA"],
|
|
831
|
-
[m, b]
|
|
832
|
-
],
|
|
833
|
-
[/\b(venue[\d ]{2,7}) b/i],
|
|
834
|
-
[
|
|
835
|
-
f,
|
|
836
|
-
[h, "Dell"],
|
|
837
|
-
[m, b]
|
|
838
|
-
],
|
|
839
|
-
[/\b(q(?:mv|ta)\w+) b/i],
|
|
840
|
-
[
|
|
841
|
-
f,
|
|
842
|
-
[h, "Verizon"],
|
|
843
|
-
[m, b]
|
|
844
|
-
],
|
|
845
|
-
[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],
|
|
846
|
-
[
|
|
847
|
-
f,
|
|
848
|
-
[h, "Barnes & Noble"],
|
|
849
|
-
[m, b]
|
|
850
|
-
],
|
|
851
|
-
[/\b(tm\d{3}\w+) b/i],
|
|
852
|
-
[
|
|
853
|
-
f,
|
|
854
|
-
[h, "NuVision"],
|
|
855
|
-
[m, b]
|
|
856
|
-
],
|
|
857
|
-
[/\b(k88) b/i],
|
|
858
|
-
[
|
|
859
|
-
f,
|
|
860
|
-
[h, "ZTE"],
|
|
861
|
-
[m, b]
|
|
862
|
-
],
|
|
863
|
-
[/\b(nx\d{3}j) b/i],
|
|
864
|
-
[
|
|
865
|
-
f,
|
|
866
|
-
[h, "ZTE"],
|
|
867
|
-
[m, y]
|
|
868
|
-
],
|
|
869
|
-
[/\b(gen\d{3}) b.+49h/i],
|
|
870
|
-
[
|
|
871
|
-
f,
|
|
872
|
-
[h, "Swiss"],
|
|
873
|
-
[m, y]
|
|
874
|
-
],
|
|
875
|
-
[/\b(zur\d{3}) b/i],
|
|
876
|
-
[
|
|
877
|
-
f,
|
|
878
|
-
[h, "Swiss"],
|
|
879
|
-
[m, b]
|
|
880
|
-
],
|
|
881
|
-
[/\b((zeki)?tb.*\b) b/i],
|
|
882
|
-
[
|
|
883
|
-
f,
|
|
884
|
-
[h, "Zeki"],
|
|
885
|
-
[m, b]
|
|
886
|
-
],
|
|
887
|
-
[/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i],
|
|
888
|
-
[
|
|
889
|
-
[h, "Dragon Touch"],
|
|
890
|
-
f,
|
|
891
|
-
[m, b]
|
|
892
|
-
],
|
|
893
|
-
[/\b(ns-?\w{0,9}) b/i],
|
|
894
|
-
[
|
|
895
|
-
f,
|
|
896
|
-
[h, "Insignia"],
|
|
897
|
-
[m, b]
|
|
898
|
-
],
|
|
899
|
-
[/\b((nxa|next)-?\w{0,9}) b/i],
|
|
900
|
-
[
|
|
901
|
-
f,
|
|
902
|
-
[h, "NextBook"],
|
|
903
|
-
[m, b]
|
|
904
|
-
],
|
|
905
|
-
[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],
|
|
906
|
-
[
|
|
907
|
-
[h, "Voice"],
|
|
908
|
-
f,
|
|
909
|
-
[m, y]
|
|
910
|
-
],
|
|
911
|
-
[/\b(lvtel\-)?(v1[12]) b/i],
|
|
912
|
-
[
|
|
913
|
-
[h, "LvTel"],
|
|
914
|
-
f,
|
|
915
|
-
[m, y]
|
|
916
|
-
],
|
|
917
|
-
[/\b(ph-1) /i],
|
|
918
|
-
[
|
|
919
|
-
f,
|
|
920
|
-
[h, "Essential"],
|
|
921
|
-
[m, y]
|
|
922
|
-
],
|
|
923
|
-
[/\b(v(100md|700na|7011|917g).*\b) b/i],
|
|
924
|
-
[
|
|
925
|
-
f,
|
|
926
|
-
[h, "Envizen"],
|
|
927
|
-
[m, b]
|
|
928
|
-
],
|
|
929
|
-
[/\b(trio[-\w\. ]+) b/i],
|
|
930
|
-
[
|
|
931
|
-
f,
|
|
932
|
-
[h, "MachSpeed"],
|
|
933
|
-
[m, b]
|
|
934
|
-
],
|
|
935
|
-
[/\btu_(1491) b/i],
|
|
936
|
-
[
|
|
937
|
-
f,
|
|
938
|
-
[h, "Rotor"],
|
|
939
|
-
[m, b]
|
|
940
|
-
],
|
|
941
|
-
[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],
|
|
942
|
-
[
|
|
943
|
-
f,
|
|
944
|
-
[h, R],
|
|
945
|
-
[m, b]
|
|
946
|
-
],
|
|
947
|
-
[/(sprint) (\w+)/i],
|
|
948
|
-
[
|
|
949
|
-
h,
|
|
950
|
-
f,
|
|
951
|
-
[m, y]
|
|
952
|
-
],
|
|
953
|
-
[/(kin\.[onetw]{3})/i],
|
|
954
|
-
[
|
|
955
|
-
[
|
|
956
|
-
f,
|
|
957
|
-
/\./g,
|
|
958
|
-
" "
|
|
959
|
-
],
|
|
960
|
-
[h, L],
|
|
961
|
-
[m, y]
|
|
962
|
-
],
|
|
963
|
-
[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],
|
|
964
|
-
[
|
|
965
|
-
f,
|
|
966
|
-
[h, U],
|
|
967
|
-
[m, b]
|
|
968
|
-
],
|
|
969
|
-
[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],
|
|
970
|
-
[
|
|
971
|
-
f,
|
|
972
|
-
[h, U],
|
|
973
|
-
[m, y]
|
|
974
|
-
],
|
|
975
|
-
[/smart-tv.+(samsung)/i],
|
|
976
|
-
[h, [m, x]],
|
|
977
|
-
[/hbbtv.+maple;(\d+)/i],
|
|
978
|
-
[
|
|
979
|
-
[
|
|
980
|
-
f,
|
|
981
|
-
/^/,
|
|
982
|
-
"SmartTV"
|
|
983
|
-
],
|
|
984
|
-
[h, V],
|
|
985
|
-
[m, x]
|
|
986
|
-
],
|
|
987
|
-
[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],
|
|
988
|
-
[[h, I], [m, x]],
|
|
989
|
-
[/(apple) ?tv/i],
|
|
990
|
-
[
|
|
991
|
-
h,
|
|
992
|
-
[f, E + " TV"],
|
|
993
|
-
[m, x]
|
|
994
|
-
],
|
|
995
|
-
[/crkey/i],
|
|
996
|
-
[
|
|
997
|
-
[f, A + "cast"],
|
|
998
|
-
[h, N],
|
|
999
|
-
[m, x]
|
|
1000
|
-
],
|
|
1001
|
-
[/droid.+aft(\w+)( bui|\))/i],
|
|
1002
|
-
[
|
|
1003
|
-
f,
|
|
1004
|
-
[h, T],
|
|
1005
|
-
[m, x]
|
|
1006
|
-
],
|
|
1007
|
-
[/(shield \w+ tv)/i],
|
|
1008
|
-
[
|
|
1009
|
-
f,
|
|
1010
|
-
[h, R],
|
|
1011
|
-
[m, x]
|
|
1012
|
-
],
|
|
1013
|
-
[/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i],
|
|
1014
|
-
[
|
|
1015
|
-
f,
|
|
1016
|
-
[h, re],
|
|
1017
|
-
[m, x]
|
|
1018
|
-
],
|
|
1019
|
-
[/(bravia[\w ]+)( bui|\))/i],
|
|
1020
|
-
[
|
|
1021
|
-
f,
|
|
1022
|
-
[h, H],
|
|
1023
|
-
[m, x]
|
|
1024
|
-
],
|
|
1025
|
-
[/(mi(tv|box)-?\w+) bui/i],
|
|
1026
|
-
[
|
|
1027
|
-
f,
|
|
1028
|
-
[h, ie],
|
|
1029
|
-
[m, x]
|
|
1030
|
-
],
|
|
1031
|
-
[/Hbbtv.*(technisat) (.*);/i],
|
|
1032
|
-
[
|
|
1033
|
-
h,
|
|
1034
|
-
f,
|
|
1035
|
-
[m, x]
|
|
1036
|
-
],
|
|
1037
|
-
[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],
|
|
1038
|
-
[
|
|
1039
|
-
[h, le],
|
|
1040
|
-
[f, le],
|
|
1041
|
-
[m, x]
|
|
1042
|
-
],
|
|
1043
|
-
[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],
|
|
1044
|
-
[f, [m, x]],
|
|
1045
|
-
[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],
|
|
1046
|
-
[[m, x]],
|
|
1047
|
-
[/(ouya)/i, /(nintendo) ([wids3utch]+)/i],
|
|
1048
|
-
[
|
|
1049
|
-
h,
|
|
1050
|
-
f,
|
|
1051
|
-
[m, v]
|
|
1052
|
-
],
|
|
1053
|
-
[/droid.+; (shield)( bui|\))/i],
|
|
1054
|
-
[
|
|
1055
|
-
f,
|
|
1056
|
-
[h, R],
|
|
1057
|
-
[m, v]
|
|
1058
|
-
],
|
|
1059
|
-
[/(playstation \w+)/i],
|
|
1060
|
-
[
|
|
1061
|
-
f,
|
|
1062
|
-
[h, H],
|
|
1063
|
-
[m, v]
|
|
1064
|
-
],
|
|
1065
|
-
[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],
|
|
1066
|
-
[
|
|
1067
|
-
f,
|
|
1068
|
-
[h, L],
|
|
1069
|
-
[m, v]
|
|
1070
|
-
],
|
|
1071
|
-
[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],
|
|
1072
|
-
[
|
|
1073
|
-
f,
|
|
1074
|
-
[h, V],
|
|
1075
|
-
[m, S]
|
|
1076
|
-
],
|
|
1077
|
-
[/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],
|
|
1078
|
-
[
|
|
1079
|
-
h,
|
|
1080
|
-
f,
|
|
1081
|
-
[m, S]
|
|
1082
|
-
],
|
|
1083
|
-
[/(ow(?:19|20)?we?[1-3]{1,3})/i],
|
|
1084
|
-
[
|
|
1085
|
-
f,
|
|
1086
|
-
[h, B],
|
|
1087
|
-
[m, S]
|
|
1088
|
-
],
|
|
1089
|
-
[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],
|
|
1090
|
-
[
|
|
1091
|
-
f,
|
|
1092
|
-
[h, E],
|
|
1093
|
-
[m, S]
|
|
1094
|
-
],
|
|
1095
|
-
[/(opwwe\d{3})/i],
|
|
1096
|
-
[
|
|
1097
|
-
f,
|
|
1098
|
-
[h, z],
|
|
1099
|
-
[m, S]
|
|
1100
|
-
],
|
|
1101
|
-
[/(moto 360)/i],
|
|
1102
|
-
[
|
|
1103
|
-
f,
|
|
1104
|
-
[h, te],
|
|
1105
|
-
[m, S]
|
|
1106
|
-
],
|
|
1107
|
-
[/(smartwatch 3)/i],
|
|
1108
|
-
[
|
|
1109
|
-
f,
|
|
1110
|
-
[h, H],
|
|
1111
|
-
[m, S]
|
|
1112
|
-
],
|
|
1113
|
-
[/(g watch r)/i],
|
|
1114
|
-
[
|
|
1115
|
-
f,
|
|
1116
|
-
[h, I],
|
|
1117
|
-
[m, S]
|
|
1118
|
-
],
|
|
1119
|
-
[/droid.+; (wt63?0{2,3})\)/i],
|
|
1120
|
-
[
|
|
1121
|
-
f,
|
|
1122
|
-
[h, U],
|
|
1123
|
-
[m, S]
|
|
1124
|
-
],
|
|
1125
|
-
[/droid.+; (glass) \d/i],
|
|
1126
|
-
[
|
|
1127
|
-
f,
|
|
1128
|
-
[h, N],
|
|
1129
|
-
[m, S]
|
|
1130
|
-
],
|
|
1131
|
-
[/(pico) (4|neo3(?: link|pro)?)/i],
|
|
1132
|
-
[
|
|
1133
|
-
h,
|
|
1134
|
-
f,
|
|
1135
|
-
[m, S]
|
|
1136
|
-
],
|
|
1137
|
-
[/; (quest( \d| pro)?)/i],
|
|
1138
|
-
[
|
|
1139
|
-
f,
|
|
1140
|
-
[h, ae],
|
|
1141
|
-
[m, S]
|
|
1142
|
-
],
|
|
1143
|
-
[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],
|
|
1144
|
-
[h, [m, C]],
|
|
1145
|
-
[/(aeobc)\b/i],
|
|
1146
|
-
[
|
|
1147
|
-
f,
|
|
1148
|
-
[h, T],
|
|
1149
|
-
[m, C]
|
|
1150
|
-
],
|
|
1151
|
-
[/(homepod).+mac os/i],
|
|
1152
|
-
[
|
|
1153
|
-
f,
|
|
1154
|
-
[h, E],
|
|
1155
|
-
[m, C]
|
|
1156
|
-
],
|
|
1157
|
-
[/windows iot/i],
|
|
1158
|
-
[[m, C]],
|
|
1159
|
-
[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],
|
|
1160
|
-
[f, [m, y]],
|
|
1161
|
-
[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],
|
|
1162
|
-
[f, [m, b]],
|
|
1163
|
-
[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],
|
|
1164
|
-
[[m, b]],
|
|
1165
|
-
[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],
|
|
1166
|
-
[[m, y]],
|
|
1167
|
-
[/droid .+?; ([\w\. -]+)( bui|\))/i],
|
|
1168
|
-
[f, [h, "Generic"]]
|
|
1169
|
-
],
|
|
1170
|
-
engine: [
|
|
1171
|
-
[/windows.+ edge\/([\w\.]+)/i],
|
|
1172
|
-
[g, [p, j + "HTML"]],
|
|
1173
|
-
[/(arkweb)\/([\w\.]+)/i],
|
|
1174
|
-
[p, g],
|
|
1175
|
-
[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],
|
|
1176
|
-
[g, [p, "Blink"]],
|
|
1177
|
-
[
|
|
1178
|
-
/(presto)\/([\w\.]+)/i,
|
|
1179
|
-
/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,
|
|
1180
|
-
/ekioh(flow)\/([\w\.]+)/i,
|
|
1181
|
-
/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,
|
|
1182
|
-
/(icab)[\/ ]([23]\.[\d\.]+)/i,
|
|
1183
|
-
/\b(libweb)/i
|
|
1184
|
-
],
|
|
1185
|
-
[p, g],
|
|
1186
|
-
[/ladybird\//i],
|
|
1187
|
-
[[p, "LibWeb"]],
|
|
1188
|
-
[/rv\:([\w\.]{1,9})\b.+(gecko)/i],
|
|
1189
|
-
[g, p]
|
|
1190
|
-
],
|
|
1191
|
-
os: [
|
|
1192
|
-
[/microsoft (windows) (vista|xp)/i],
|
|
1193
|
-
[p, g],
|
|
1194
|
-
[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],
|
|
1195
|
-
[p, [
|
|
1196
|
-
g,
|
|
1197
|
-
X,
|
|
1198
|
-
Z
|
|
1199
|
-
]],
|
|
1200
|
-
[
|
|
1201
|
-
/windows nt 6\.2; (arm)/i,
|
|
1202
|
-
/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,
|
|
1203
|
-
/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i
|
|
1204
|
-
],
|
|
1205
|
-
[[
|
|
1206
|
-
g,
|
|
1207
|
-
X,
|
|
1208
|
-
Z
|
|
1209
|
-
], [p, "Windows"]],
|
|
1210
|
-
[
|
|
1211
|
-
/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,
|
|
1212
|
-
/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,
|
|
1213
|
-
/cfnetwork\/.+darwin/i
|
|
1214
|
-
],
|
|
1215
|
-
[[
|
|
1216
|
-
g,
|
|
1217
|
-
/_/g,
|
|
1218
|
-
"."
|
|
1219
|
-
], [p, "iOS"]],
|
|
1220
|
-
[/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i],
|
|
1221
|
-
[[p, W], [
|
|
1222
|
-
g,
|
|
1223
|
-
/_/g,
|
|
1224
|
-
"."
|
|
1225
|
-
]],
|
|
1226
|
-
[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],
|
|
1227
|
-
[g, p],
|
|
1228
|
-
[/(ubuntu) ([\w\.]+) like android/i],
|
|
1229
|
-
[[
|
|
1230
|
-
p,
|
|
1231
|
-
/(.+)/,
|
|
1232
|
-
"$1 Touch"
|
|
1233
|
-
], g],
|
|
1234
|
-
[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],
|
|
1235
|
-
[p, g],
|
|
1236
|
-
[/\(bb(10);/i],
|
|
1237
|
-
[g, [p, O]],
|
|
1238
|
-
[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],
|
|
1239
|
-
[g, [p, "Symbian"]],
|
|
1240
|
-
[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],
|
|
1241
|
-
[g, [p, M + " OS"]],
|
|
1242
|
-
[/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],
|
|
1243
|
-
[g, [p, "webOS"]],
|
|
1244
|
-
[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],
|
|
1245
|
-
[g, [p, "watchOS"]],
|
|
1246
|
-
[/crkey\/([\d\.]+)/i],
|
|
1247
|
-
[g, [p, A + "cast"]],
|
|
1248
|
-
[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],
|
|
1249
|
-
[[p, oe], g],
|
|
1250
|
-
[
|
|
1251
|
-
/panasonic;(viera)/i,
|
|
1252
|
-
/(netrange)mmh/i,
|
|
1253
|
-
/(nettv)\/(\d+\.[\w\.]+)/i,
|
|
1254
|
-
/(nintendo|playstation) ([wids345portablevuch]+)/i,
|
|
1255
|
-
/(xbox); +xbox ([^\);]+)/i,
|
|
1256
|
-
/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,
|
|
1257
|
-
/(mint)[\/\(\) ]?(\w*)/i,
|
|
1258
|
-
/(mageia|vectorlinux)[; ]/i,
|
|
1259
|
-
/([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,
|
|
1260
|
-
/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,
|
|
1261
|
-
/(gnu) ?([\w\.]*)/i,
|
|
1262
|
-
/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,
|
|
1263
|
-
/(haiku) (\w+)/i
|
|
1264
|
-
],
|
|
1265
|
-
[p, g],
|
|
1266
|
-
[/(sunos) ?([\w\.\d]*)/i],
|
|
1267
|
-
[[p, "Solaris"], g],
|
|
1268
|
-
[
|
|
1269
|
-
/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,
|
|
1270
|
-
/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,
|
|
1271
|
-
/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,
|
|
1272
|
-
/(unix) ?([\w\.]*)/i
|
|
1273
|
-
],
|
|
1274
|
-
[p, g]
|
|
1275
|
-
]
|
|
1276
|
-
}, Q = function(e, t) {
|
|
1277
|
-
if (typeof e === l && (t = e, e = r), !(this instanceof Q)) return new Q(e, t).getResult();
|
|
1278
|
-
var i = typeof n !== c && n.navigator ? n.navigator : r, o = e || (i && i.userAgent ? i.userAgent : a), v = i && i.userAgentData ? i.userAgentData : r, x = t ? se(de, t) : de, S = i && i.userAgent == o;
|
|
1279
|
-
return this.getBrowser = function() {
|
|
1280
|
-
var e = {};
|
|
1281
|
-
return e[p] = r, e[g] = r, Y.call(e, o, x.browser), e[d] = ce(e[g]), S && i && i.brave && typeof i.brave.isBrave == s && (e[p] = "Brave"), e;
|
|
1282
|
-
}, this.getCPU = function() {
|
|
1283
|
-
var e = {};
|
|
1284
|
-
return e[_] = r, Y.call(e, o, x.cpu), e;
|
|
1285
|
-
}, this.getDevice = function() {
|
|
1286
|
-
var e = {};
|
|
1287
|
-
return e[h] = r, e[f] = r, e[m] = r, Y.call(e, o, x.device), S && !e[m] && v && v.mobile && (e[m] = y), S && e[f] == "Macintosh" && i && typeof i.standalone !== c && i.maxTouchPoints && i.maxTouchPoints > 2 && (e[f] = "iPad", e[m] = b), e;
|
|
1288
|
-
}, this.getEngine = function() {
|
|
1289
|
-
var e = {};
|
|
1290
|
-
return e[p] = r, e[g] = r, Y.call(e, o, x.engine), e;
|
|
1291
|
-
}, this.getOS = function() {
|
|
1292
|
-
var e = {};
|
|
1293
|
-
return e[p] = r, e[g] = r, Y.call(e, o, x.os), S && !e[p] && v && v.platform && v.platform != "Unknown" && (e[p] = v.platform.replace(/chrome os/i, oe).replace(/macos/i, W)), e;
|
|
1294
|
-
}, this.getResult = function() {
|
|
1295
|
-
return {
|
|
1296
|
-
ua: this.getUA(),
|
|
1297
|
-
browser: this.getBrowser(),
|
|
1298
|
-
engine: this.getEngine(),
|
|
1299
|
-
os: this.getOS(),
|
|
1300
|
-
device: this.getDevice(),
|
|
1301
|
-
cpu: this.getCPU()
|
|
1302
|
-
};
|
|
1303
|
-
}, this.getUA = function() {
|
|
1304
|
-
return o;
|
|
1305
|
-
}, this.setUA = function(e) {
|
|
1306
|
-
return o = typeof e === u && e.length > w ? le(e, w) : e, this;
|
|
1307
|
-
}, this.setUA(o), this;
|
|
1308
|
-
};
|
|
1309
|
-
Q.VERSION = i, Q.BROWSER = K([
|
|
1310
|
-
p,
|
|
1311
|
-
g,
|
|
1312
|
-
d
|
|
1313
|
-
]), Q.CPU = K([_]), Q.DEVICE = K([
|
|
1314
|
-
f,
|
|
1315
|
-
h,
|
|
1316
|
-
m,
|
|
1317
|
-
v,
|
|
1318
|
-
y,
|
|
1319
|
-
x,
|
|
1320
|
-
b,
|
|
1321
|
-
S,
|
|
1322
|
-
C
|
|
1323
|
-
]), Q.ENGINE = Q.OS = K([p, g]), typeof e === c ? typeof define === s && define.amd ? define(function() {
|
|
1324
|
-
return Q;
|
|
1325
|
-
}) : typeof n !== c && (n.UAParser = Q) : (typeof t !== c && t.exports && (e = t.exports = Q), e.UAParser = Q);
|
|
1326
|
-
var fe = typeof n !== c && (n.jQuery || n.Zepto);
|
|
1327
|
-
if (fe && !fe.ua) {
|
|
1328
|
-
var $ = new Q();
|
|
1329
|
-
fe.ua = $.getResult(), fe.ua.get = function() {
|
|
1330
|
-
return $.getUA();
|
|
1331
|
-
}, fe.ua.set = function(e) {
|
|
1332
|
-
$.setUA(e);
|
|
1333
|
-
var t = $.getResult();
|
|
1334
|
-
for (var n in t) fe.ua[n] = t[n];
|
|
1335
|
-
};
|
|
1336
|
-
}
|
|
1337
|
-
})(typeof window == "object" ? window : e);
|
|
1338
|
-
})), L = (/* @__PURE__ */ D(((e) => {
|
|
1339
|
-
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
1340
|
-
function t(e) {
|
|
1341
|
-
return e && typeof e == "object" && "default" in e ? e.default : e;
|
|
1342
|
-
}
|
|
1343
|
-
t(O("react"));
|
|
1344
|
-
var n = new (I())(), r = n.getBrowser();
|
|
1345
|
-
n.getCPU();
|
|
1346
|
-
var i = n.getDevice(), a = n.getEngine(), o = n.getOS(), s = n.getUA(), c = {
|
|
1347
|
-
Mobile: "mobile",
|
|
1348
|
-
Tablet: "tablet",
|
|
1349
|
-
SmartTv: "smarttv",
|
|
1350
|
-
Console: "console",
|
|
1351
|
-
Wearable: "wearable",
|
|
1352
|
-
Embedded: "embedded",
|
|
1353
|
-
Browser: void 0
|
|
1354
|
-
}, l = {
|
|
1355
|
-
Chrome: "Chrome",
|
|
1356
|
-
Firefox: "Firefox",
|
|
1357
|
-
Opera: "Opera",
|
|
1358
|
-
Yandex: "Yandex",
|
|
1359
|
-
Safari: "Safari",
|
|
1360
|
-
InternetExplorer: "Internet Explorer",
|
|
1361
|
-
Edge: "Edge",
|
|
1362
|
-
Chromium: "Chromium",
|
|
1363
|
-
Ie: "IE",
|
|
1364
|
-
MobileSafari: "Mobile Safari",
|
|
1365
|
-
EdgeChromium: "Edge Chromium",
|
|
1366
|
-
MIUI: "MIUI Browser",
|
|
1367
|
-
SamsungBrowser: "Samsung Browser"
|
|
1368
|
-
}, u = {
|
|
1369
|
-
IOS: "iOS",
|
|
1370
|
-
Android: "Android",
|
|
1371
|
-
WindowsPhone: "Windows Phone",
|
|
1372
|
-
Windows: "Windows",
|
|
1373
|
-
MAC_OS: "Mac OS"
|
|
1374
|
-
}, d = function(e) {
|
|
1375
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "none";
|
|
1376
|
-
return e || t;
|
|
1377
|
-
}, f = function() {
|
|
1378
|
-
return typeof window < "u" && (window.navigator || navigator) ? window.navigator || navigator : !1;
|
|
1379
|
-
}, p = function(e) {
|
|
1380
|
-
var t = f();
|
|
1381
|
-
return t && t.platform && (t.platform.indexOf(e) !== -1 || t.platform === "MacIntel" && t.maxTouchPoints > 1 && !window.MSStream);
|
|
1382
|
-
}, m = function(e) {
|
|
1383
|
-
return e.type === c.Mobile;
|
|
1384
|
-
}, h = function(e) {
|
|
1385
|
-
return e.type === c.Tablet;
|
|
1386
|
-
}, g = function(e) {
|
|
1387
|
-
var t = e.type;
|
|
1388
|
-
return t === c.Mobile || t === c.Tablet;
|
|
1389
|
-
}, _ = function(e) {
|
|
1390
|
-
return e.type === c.SmartTv;
|
|
1391
|
-
}, v = function(e) {
|
|
1392
|
-
return e.type === c.Browser;
|
|
1393
|
-
}, y = function(e) {
|
|
1394
|
-
return e.type === c.Wearable;
|
|
1395
|
-
}, b = function(e) {
|
|
1396
|
-
return e.type === c.Console;
|
|
1397
|
-
}, x = function(e) {
|
|
1398
|
-
return e.type === c.Embedded;
|
|
1399
|
-
}, S = function(e) {
|
|
1400
|
-
var t = e.vendor;
|
|
1401
|
-
return d(t);
|
|
1402
|
-
}, C = function(e) {
|
|
1403
|
-
var t = e.model;
|
|
1404
|
-
return d(t);
|
|
1405
|
-
}, w = function(e) {
|
|
1406
|
-
var t = e.type;
|
|
1407
|
-
return d(t, "browser");
|
|
1408
|
-
}, T = function(e) {
|
|
1409
|
-
return e.name === u.Android;
|
|
1410
|
-
}, E = function(e) {
|
|
1411
|
-
return e.name === u.Windows;
|
|
1412
|
-
}, D = function(e) {
|
|
1413
|
-
return e.name === u.MAC_OS;
|
|
1414
|
-
}, k = function(e) {
|
|
1415
|
-
return e.name === u.WindowsPhone;
|
|
1416
|
-
}, A = function(e) {
|
|
1417
|
-
return e.name === u.IOS;
|
|
1418
|
-
}, j = function(e) {
|
|
1419
|
-
var t = e.version;
|
|
1420
|
-
return d(t);
|
|
1421
|
-
}, M = function(e) {
|
|
1422
|
-
var t = e.name;
|
|
1423
|
-
return d(t);
|
|
1424
|
-
}, N = function(e) {
|
|
1425
|
-
return e.name === l.Chrome;
|
|
1426
|
-
}, P = function(e) {
|
|
1427
|
-
return e.name === l.Firefox;
|
|
1428
|
-
}, F = function(e) {
|
|
1429
|
-
return e.name === l.Chromium;
|
|
1430
|
-
}, ee = function(e) {
|
|
1431
|
-
return e.name === l.Edge;
|
|
1432
|
-
}, L = function(e) {
|
|
1433
|
-
return e.name === l.Yandex;
|
|
1434
|
-
}, te = function(e) {
|
|
1435
|
-
var t = e.name;
|
|
1436
|
-
return t === l.Safari || t === l.MobileSafari;
|
|
1437
|
-
}, R = function(e) {
|
|
1438
|
-
return e.name === l.MobileSafari;
|
|
1439
|
-
}, z = function(e) {
|
|
1440
|
-
return e.name === l.Opera;
|
|
1441
|
-
}, ne = function(e) {
|
|
1442
|
-
var t = e.name;
|
|
1443
|
-
return t === l.InternetExplorer || t === l.Ie;
|
|
1444
|
-
}, B = function(e) {
|
|
1445
|
-
return e.name === l.MIUI;
|
|
1446
|
-
}, V = function(e) {
|
|
1447
|
-
return e.name === l.SamsungBrowser;
|
|
1448
|
-
}, re = function(e) {
|
|
1449
|
-
var t = e.version;
|
|
1450
|
-
return d(t);
|
|
1451
|
-
}, H = function(e) {
|
|
1452
|
-
var t = e.major;
|
|
1453
|
-
return d(t);
|
|
1454
|
-
}, ie = function(e) {
|
|
1455
|
-
var t = e.name;
|
|
1456
|
-
return d(t);
|
|
1457
|
-
}, U = function(e) {
|
|
1458
|
-
var t = e.name;
|
|
1459
|
-
return d(t);
|
|
1460
|
-
}, ae = function(e) {
|
|
1461
|
-
var t = e.version;
|
|
1462
|
-
return d(t);
|
|
1463
|
-
}, oe = function() {
|
|
1464
|
-
var e = f(), t = e && e.userAgent && e.userAgent.toLowerCase();
|
|
1465
|
-
return typeof t == "string" ? /electron/.test(t) : !1;
|
|
1466
|
-
}, W = function(e) {
|
|
1467
|
-
return typeof e == "string" && e.indexOf("Edg/") !== -1;
|
|
1468
|
-
}, G = function() {
|
|
1469
|
-
var e = f();
|
|
1470
|
-
return e && (/iPad|iPhone|iPod/.test(e.platform) || e.platform === "MacIntel" && e.maxTouchPoints > 1) && !window.MSStream;
|
|
1471
|
-
}, se = function() {
|
|
1472
|
-
return p("iPad");
|
|
1473
|
-
}, K = function() {
|
|
1474
|
-
return p("iPhone");
|
|
1475
|
-
}, q = function() {
|
|
1476
|
-
return p("iPod");
|
|
1477
|
-
}, J = function(e) {
|
|
1478
|
-
return d(e);
|
|
1479
|
-
};
|
|
1480
|
-
_(i), b(i), y(i), x(i), R(r) || se(), F(r);
|
|
1481
|
-
var ce = g(i) || se();
|
|
1482
|
-
m(i), h(i) || se(), v(i), v(i), T(o), k(o), A(o) || se(), N(r), P(r), te(r), z(r), ne(r), j(o), M(o), re(r), H(r), ie(r), S(i), C(i), U(a), ae(a), J(s), ee(r) || W(s), L(r), w(i), G(), se(), K(), q(), oe(), W(s), ee(r) && W(s), E(o), D(o), B(r), V(r), e.isMobile = ce;
|
|
1483
|
-
})))(), te = e.memo(n(({ themeColor: e = "", onSubmit: t, style: n = {}, className: r = "", onInput: a, onFocus: o, onBlur: c, ...u }, d) => {
|
|
1484
|
-
let [f, p] = s(!0), [m, h] = s(!1);
|
|
1485
|
-
e = j.convert3HexTo6(e), i(() => {
|
|
1486
|
-
p(L.isMobile);
|
|
176
|
+
}, ee = e.memo(n(({ themeColor: e = "", onSubmit: t, style: n = {}, className: r = "", onInput: a, onFocus: o, onBlur: c, ...u }, f) => {
|
|
177
|
+
let [p, m] = s(!0), [h, g] = s(!1);
|
|
178
|
+
e = A.convert3HexTo6(e), i(() => {
|
|
179
|
+
m(d);
|
|
1487
180
|
}, []);
|
|
1488
|
-
let
|
|
1489
|
-
!
|
|
1490
|
-
},
|
|
181
|
+
let _ = (e) => {
|
|
182
|
+
!p && e.key === "Enter" && !e.shiftKey && t && (e.preventDefault(), t());
|
|
183
|
+
}, v = (e) => {
|
|
1491
184
|
a?.(e), e.target.style.height = "40px", e.target.style.height = 2 + e.target.scrollHeight + "px";
|
|
1492
|
-
},
|
|
1493
|
-
|
|
1494
|
-
},
|
|
1495
|
-
|
|
185
|
+
}, y = {}, b = [F.textInput, r].filter(Boolean).join(" "), x = () => {
|
|
186
|
+
g(!0);
|
|
187
|
+
}, S = () => {
|
|
188
|
+
g(!1);
|
|
1496
189
|
};
|
|
1497
|
-
return
|
|
1498
|
-
className:
|
|
190
|
+
return y = { borderBottomColor: h ? e === "#ffffff" ? "#c8c8c8" : e : "" }, /* @__PURE__ */ l("div", {
|
|
191
|
+
className: F.textInputWrapper,
|
|
1499
192
|
children: /* @__PURE__ */ l("textarea", {
|
|
1500
193
|
"data-testid": "textbox-input",
|
|
1501
|
-
ref:
|
|
1502
|
-
className:
|
|
194
|
+
ref: f,
|
|
195
|
+
className: b,
|
|
1503
196
|
style: {
|
|
1504
|
-
...
|
|
197
|
+
...y,
|
|
1505
198
|
...n
|
|
1506
199
|
},
|
|
1507
|
-
onFocus:
|
|
1508
|
-
onBlur:
|
|
1509
|
-
onInput: (e) =>
|
|
1510
|
-
onKeyDown:
|
|
200
|
+
onFocus: x,
|
|
201
|
+
onBlur: S,
|
|
202
|
+
onInput: (e) => v(e),
|
|
203
|
+
onKeyDown: _,
|
|
1511
204
|
...u
|
|
1512
205
|
})
|
|
1513
206
|
});
|
|
1514
|
-
})),
|
|
207
|
+
})), I = {
|
|
1515
208
|
multiSelectContainer: "_multiSelectContainer_lh9wi_1",
|
|
1516
209
|
listOptionsWrap: "_listOptionsWrap_lh9wi_4",
|
|
1517
210
|
selectedValuesWrap: "_selectedValuesWrap_lh9wi_7",
|
|
@@ -1528,22 +221,22 @@ var ee = {
|
|
|
1528
221
|
btnContainer: "_btnContainer_lh9wi_54",
|
|
1529
222
|
hiddenButton: "_hiddenButton_lh9wi_57",
|
|
1530
223
|
announcement: "_announcement_lh9wi_70"
|
|
1531
|
-
},
|
|
224
|
+
}, L = {
|
|
1532
225
|
pseudoCheckbox: "_pseudoCheckbox_z8j4c_1",
|
|
1533
226
|
checkboxCheckMark: "_checkboxCheckMark_z8j4c_4",
|
|
1534
227
|
checkboxCheckMarkPath: "_checkboxCheckMarkPath_z8j4c_7",
|
|
1535
228
|
checked: "_checked_z8j4c_12",
|
|
1536
229
|
checkboxUncheckedChecked: "_checkboxUncheckedChecked_z8j4c_1",
|
|
1537
230
|
checkboxDisabled: "_checkboxDisabled_z8j4c_22"
|
|
1538
|
-
},
|
|
1539
|
-
let r = {}, i = "#006bb1", a = n ? "#9b9b9b" : "#ffffff", o = n ?
|
|
1540
|
-
|
|
231
|
+
}, te = ({ checked: e = !1, themeColor: t = "", disabled: n = !1 }) => {
|
|
232
|
+
let r = {}, i = "#006bb1", a = n ? "#9b9b9b" : "#ffffff", o = n ? L.checkboxDisabled : "", s = e ? L.checked : "", c = [
|
|
233
|
+
L.pseudoCheckbox,
|
|
1541
234
|
s,
|
|
1542
235
|
o
|
|
1543
236
|
].filter(Boolean).join(" "), u;
|
|
1544
237
|
if (t) {
|
|
1545
|
-
let o =
|
|
1546
|
-
t =
|
|
238
|
+
let o = k(t);
|
|
239
|
+
t = A.convert3HexTo6(t), o === "dark" || o === "light" ? (a = n ? e ? "#9b9b9b" : "#f9f9f9" : o == "light" ? "#333333" : "#ffffff", i = n ? "#f9f9f9" : e ? t : "#ffffff", u = n ? "#e4e4e4" : t === "#ffffff" ? "#333333" : t, e && (r = {
|
|
1547
240
|
backgroundColor: i,
|
|
1548
241
|
borderColor: u,
|
|
1549
242
|
outlineColor: u
|
|
@@ -1560,10 +253,10 @@ var ee = {
|
|
|
1560
253
|
children: /* @__PURE__ */ l("svg", {
|
|
1561
254
|
version: "1.1",
|
|
1562
255
|
focusable: "false",
|
|
1563
|
-
className:
|
|
256
|
+
className: L.checkboxCheckMark,
|
|
1564
257
|
viewBox: "0 0 24 24",
|
|
1565
258
|
children: /* @__PURE__ */ l("path", {
|
|
1566
|
-
className:
|
|
259
|
+
className: L.checkboxCheckMarkPath,
|
|
1567
260
|
fill: "none",
|
|
1568
261
|
stroke: a,
|
|
1569
262
|
d: "M4.1,12.7 9,17.6 20.3,6.3"
|
|
@@ -1571,33 +264,33 @@ var ee = {
|
|
|
1571
264
|
})
|
|
1572
265
|
});
|
|
1573
266
|
};
|
|
1574
|
-
|
|
267
|
+
te.displayName = "Checkbox";
|
|
1575
268
|
//#endregion
|
|
1576
269
|
//#region src/lib/components/multi-select/multi-select.tsx
|
|
1577
|
-
var
|
|
1578
|
-
let m = o(e), [h, g] = s(t), [_, v] = s(""), [y, b] = s(!1), [x, S] = s(!1), C = o(null), w = o(null), T = o(null), E = o(null), D = o(null), O = o(null), [
|
|
270
|
+
var ne = ({ options: e, checkedValue: t, onSelectionChange: n, maxOptions: r, themeColor: a, className: d = "", style: p = {} }) => {
|
|
271
|
+
let m = o(e), [h, g] = s(t), [_, v] = s(""), [y, b] = s(!1), [x, S] = s(!1), C = o(null), w = o(null), T = o(null), E = o(null), D = o(null), O = o(null), [M, N] = s(-1), P = o(0), F = o(0), [ee, L] = s(!1), ne = {}, [R, re] = s({
|
|
1579
272
|
left: 0,
|
|
1580
273
|
top: 0
|
|
1581
|
-
}), [
|
|
274
|
+
}), [z, ie] = s(null), B = o(!1), ae = o(null), oe = () => {
|
|
1582
275
|
setTimeout(() => {
|
|
1583
276
|
(C.current?.children[0]).focus();
|
|
1584
277
|
}, 0);
|
|
1585
278
|
};
|
|
1586
279
|
i(() => {
|
|
1587
280
|
let e = (e) => {
|
|
1588
|
-
w.current && !w.current.contains(e.target) && (b(!1), v(""),
|
|
281
|
+
w.current && !w.current.contains(e.target) && (b(!1), v(""), oe());
|
|
1589
282
|
};
|
|
1590
283
|
return document.addEventListener("mousedown", e), () => {
|
|
1591
284
|
document.removeEventListener("mousedown", e);
|
|
1592
285
|
};
|
|
1593
286
|
}, []);
|
|
1594
|
-
let
|
|
1595
|
-
P.current = window.innerHeight, F.current = document.body.scrollHeight,
|
|
287
|
+
let V = () => {
|
|
288
|
+
P.current = window.innerHeight, F.current = document.body.scrollHeight, L(!0);
|
|
1596
289
|
};
|
|
1597
|
-
i(() => (
|
|
1598
|
-
window.addEventListener("resize",
|
|
290
|
+
i(() => (V(), window.addEventListener("resize", V), () => {
|
|
291
|
+
window.addEventListener("resize", V);
|
|
1599
292
|
}), []);
|
|
1600
|
-
let
|
|
293
|
+
let H = (e) => {
|
|
1601
294
|
let t = document.getElementById("announcement");
|
|
1602
295
|
t && (t.textContent = e, t.setAttribute("aria-live", "assertive"), setTimeout(() => {
|
|
1603
296
|
t.textContent = "", t.setAttribute("aria-live", "off");
|
|
@@ -1607,28 +300,28 @@ var B = ({ options: e, checkedValue: t, onSelectionChange: n, maxOptions: r, the
|
|
|
1607
300
|
m.current = e.filter((e) => e.label.toLowerCase().includes(_.toLowerCase()));
|
|
1608
301
|
}, [e, _]);
|
|
1609
302
|
/* istanbul ignore next */
|
|
1610
|
-
let
|
|
303
|
+
let U = h.length > 0 ? h.map((t) => {
|
|
1611
304
|
let n = e.find((e) => e.value === t);
|
|
1612
305
|
return n?.label === null ? "" : n?.label;
|
|
1613
306
|
}).filter((e) => e !== "").join(", ") : "Select your option", W = (t) => {
|
|
1614
307
|
let i = e.find((e) => e.value === t);
|
|
1615
308
|
if (i && !i.disable && (r === void 0 || h.length <= r)) {
|
|
1616
309
|
let e = h.includes(t) ? h.filter((e) => e !== t) : [...h, t];
|
|
1617
|
-
(r === void 0 || e.length <= r) && y && (g(e), n(e),
|
|
310
|
+
(r === void 0 || e.length <= r) && y && (g(e), n(e), H(`${i?.label} ${e.includes(t) ? "selected" : "not selected"}`));
|
|
1618
311
|
}
|
|
1619
312
|
}, G = (e) => {
|
|
1620
|
-
|
|
1621
|
-
T.current ? T.current?.focus() : E.current?.focus(),
|
|
313
|
+
q(), b(e), setTimeout(() => {
|
|
314
|
+
T.current ? T.current?.focus() : E.current?.focus(), H("use up and down arrow keys to navigate");
|
|
1622
315
|
}, 0);
|
|
1623
|
-
},
|
|
316
|
+
}, K = () => F.current - (P.current + window.scrollY), q = () => {
|
|
1624
317
|
if (C.current) {
|
|
1625
318
|
let e = C.current.getBoundingClientRect();
|
|
1626
319
|
setTimeout(() => {
|
|
1627
|
-
let t = w?.current?.getBoundingClientRect(), n =
|
|
320
|
+
let t = w?.current?.getBoundingClientRect(), n = K(), r = P.current - e.bottom, i;
|
|
1628
321
|
/* istanbul ignore next */
|
|
1629
322
|
if (t) {
|
|
1630
323
|
let a = e.height, o = e.top, s = t.height, c = s > o + window.scrollY;
|
|
1631
|
-
i = o < s && (c || c && r < s || n > s || r > s) || o > s && r > s ? e.y + a : e.y - s,
|
|
324
|
+
i = o < s && (c || c && r < s || n > s || r > s) || o > s && r > s ? e.y + a : e.y - s, re({
|
|
1632
325
|
left: e.left,
|
|
1633
326
|
top: i ?? e.top
|
|
1634
327
|
});
|
|
@@ -1636,14 +329,14 @@ var B = ({ options: e, checkedValue: t, onSelectionChange: n, maxOptions: r, the
|
|
|
1636
329
|
}, 0);
|
|
1637
330
|
}
|
|
1638
331
|
};
|
|
1639
|
-
i(() => (window.addEventListener("scroll",
|
|
1640
|
-
window.removeEventListener("scroll",
|
|
332
|
+
i(() => (window.addEventListener("scroll", q), window.addEventListener("resize", q), () => {
|
|
333
|
+
window.removeEventListener("scroll", q), window.removeEventListener("resize", q);
|
|
1641
334
|
}), [y]);
|
|
1642
|
-
let
|
|
1643
|
-
e.preventDefault(), e.key === "Shift" ?
|
|
335
|
+
let J = (e) => {
|
|
336
|
+
e.preventDefault(), e.key === "Shift" ? B.current = !0 : e.shiftKey && B.current && e.key === "Tab" || e.key === "Tab" ? (setTimeout(() => {
|
|
1644
337
|
T.current ? T.current?.focus() : E.current?.focus();
|
|
1645
|
-
}, 0),
|
|
1646
|
-
},
|
|
338
|
+
}, 0), B.current = !1) : e.key === "Escape" || e.key === "Enter" || e.key === "Space" || e.key === " " ? (G(!1), oe()) : B.current = !1;
|
|
339
|
+
}, Y = (e) => {
|
|
1647
340
|
let { key: t } = e;
|
|
1648
341
|
if (t === "Tab" || e.shiftKey && t === "Tab") setTimeout(() => {
|
|
1649
342
|
D.current?.focus();
|
|
@@ -1652,52 +345,52 @@ var B = ({ options: e, checkedValue: t, onSelectionChange: n, maxOptions: r, the
|
|
|
1652
345
|
e.preventDefault(), setTimeout(() => {
|
|
1653
346
|
E.current?.focus();
|
|
1654
347
|
}, 0);
|
|
1655
|
-
let n =
|
|
1656
|
-
if (t === "ArrowDown" ? n = Math.min(
|
|
1657
|
-
let e = O.current.querySelectorAll(`.${
|
|
1658
|
-
|
|
348
|
+
let n = M;
|
|
349
|
+
if (t === "ArrowDown" ? n = Math.min(M + 1, m.current.length - 1) : t === "ArrowUp" && (n = Math.max(M - 1, 0)), M === 0 && e.key === "ArrowUp" ? n = m.current.length - 1 : M === m.current.length - 1 && e.key === "ArrowDown" && (n = 0), N(n), O.current && n >= 0) {
|
|
350
|
+
let e = O.current.querySelectorAll(`.${I.optionsList}`)[n], t = e.children[0].getAttribute("aria-checked");
|
|
351
|
+
H(`${e.textContent} ${t === "true" ? "selected" : "not selected"} ${n + 1} out of ${m.current.length}`), e && e.scrollIntoView({
|
|
1659
352
|
block: "nearest",
|
|
1660
353
|
inline: "nearest"
|
|
1661
354
|
});
|
|
1662
355
|
}
|
|
1663
|
-
} else t === "Enter" || t === "Space" || t === " " ?
|
|
356
|
+
} else t === "Enter" || t === "Space" || t === " " ? M !== -1 && W(m.current[M].value) : t === "Escape" && (G(!1), oe());
|
|
1664
357
|
};
|
|
1665
358
|
i(() => {
|
|
1666
|
-
|
|
359
|
+
z && clearTimeout(z), ie(setTimeout(() => {
|
|
1667
360
|
let e = m.current.length ? `${m.current.length} results are available, use up and down arrow keys to navigate` : "No results available";
|
|
1668
|
-
y &&
|
|
361
|
+
y && H(e);
|
|
1669
362
|
}, 500));
|
|
1670
363
|
}, [_]);
|
|
1671
|
-
let
|
|
364
|
+
let X = () => {
|
|
1672
365
|
S(!0);
|
|
1673
|
-
},
|
|
366
|
+
}, Z = () => {
|
|
1674
367
|
S(!1);
|
|
1675
368
|
};
|
|
1676
369
|
if (i(() => {
|
|
1677
|
-
let e =
|
|
1678
|
-
return e && (e.addEventListener("focus",
|
|
1679
|
-
e && (e.removeEventListener("focus",
|
|
370
|
+
let e = ae.current;
|
|
371
|
+
return e && (e.addEventListener("focus", X), e.addEventListener("blur", Z)), () => {
|
|
372
|
+
e && (e.removeEventListener("focus", X), e.removeEventListener("blur", Z));
|
|
1680
373
|
};
|
|
1681
|
-
}, [
|
|
1682
|
-
let e =
|
|
1683
|
-
a =
|
|
374
|
+
}, [X, Z]), a) {
|
|
375
|
+
let e = k(a);
|
|
376
|
+
a = A.convert3HexTo6(a), (e === "dark" || e === "light") && (ne = { borderBottomColor: a === "#ffffff" ? "#c8c8c8" : x || y ? a : "#333333" });
|
|
1684
377
|
}
|
|
1685
|
-
let
|
|
378
|
+
let Q = () => {
|
|
1686
379
|
b(!1);
|
|
1687
380
|
};
|
|
1688
381
|
return /* @__PURE__ */ l("div", {
|
|
1689
|
-
className:
|
|
382
|
+
className: I.multiSelectContainer,
|
|
1690
383
|
children: /* @__PURE__ */ u("div", {
|
|
1691
|
-
className:
|
|
384
|
+
className: I.listOptionsWrap,
|
|
1692
385
|
children: [
|
|
1693
386
|
/* @__PURE__ */ u("div", {
|
|
1694
|
-
className: `${
|
|
387
|
+
className: `${d} ${I.selectedValuesWrap}`,
|
|
1695
388
|
ref: C,
|
|
1696
389
|
children: [/* @__PURE__ */ l("div", {
|
|
1697
|
-
className: `${
|
|
1698
|
-
ref:
|
|
1699
|
-
onFocus:
|
|
1700
|
-
onBlur:
|
|
390
|
+
className: `${I.selectedValues} ${y ? I.focused : ""} ${h.length === 0 ? I.placeholder : ""}`,
|
|
391
|
+
ref: ae,
|
|
392
|
+
onFocus: X,
|
|
393
|
+
onBlur: Z,
|
|
1701
394
|
onClick: () => G(!y),
|
|
1702
395
|
onKeyPress: (e) => {
|
|
1703
396
|
(e.key === " " || e.code === "Space" || e.code === "Enter") && (e.preventDefault(), G(!y));
|
|
@@ -1705,7 +398,7 @@ var B = ({ options: e, checkedValue: t, onSelectionChange: n, maxOptions: r, the
|
|
|
1705
398
|
tabIndex: 0,
|
|
1706
399
|
"data-testid": "selected-input",
|
|
1707
400
|
style: {
|
|
1708
|
-
...
|
|
401
|
+
...ne,
|
|
1709
402
|
...p
|
|
1710
403
|
},
|
|
1711
404
|
"aria-expanded": y,
|
|
@@ -1713,9 +406,9 @@ var B = ({ options: e, checkedValue: t, onSelectionChange: n, maxOptions: r, the
|
|
|
1713
406
|
"aria-multiselectable": "true",
|
|
1714
407
|
"aria-autocomplete": "list",
|
|
1715
408
|
role: "combobox",
|
|
1716
|
-
children:
|
|
409
|
+
children: U
|
|
1717
410
|
}), /* @__PURE__ */ l("span", {
|
|
1718
|
-
className:
|
|
411
|
+
className: I.dropDownIcon,
|
|
1719
412
|
onClick: () => G(!y),
|
|
1720
413
|
"data-testid": "arrow-button",
|
|
1721
414
|
children: /* @__PURE__ */ l("svg", {
|
|
@@ -1748,10 +441,10 @@ var B = ({ options: e, checkedValue: t, onSelectionChange: n, maxOptions: r, the
|
|
|
1748
441
|
id: "announcement",
|
|
1749
442
|
"aria-live": "assertive",
|
|
1750
443
|
role: "alert",
|
|
1751
|
-
className:
|
|
444
|
+
className: I.announcement
|
|
1752
445
|
}),
|
|
1753
|
-
ee ?
|
|
1754
|
-
onClick:
|
|
446
|
+
ee ? f(/* @__PURE__ */ l(c, { children: y && C && /* @__PURE__ */ l("div", {
|
|
447
|
+
onClick: Q,
|
|
1755
448
|
style: {
|
|
1756
449
|
position: "fixed",
|
|
1757
450
|
inset: 0,
|
|
@@ -1759,40 +452,40 @@ var B = ({ options: e, checkedValue: t, onSelectionChange: n, maxOptions: r, the
|
|
|
1759
452
|
zIndex: 1e3
|
|
1760
453
|
},
|
|
1761
454
|
children: /* @__PURE__ */ u("div", {
|
|
1762
|
-
className: `${
|
|
455
|
+
className: `${I.optionsListContainer}`,
|
|
1763
456
|
ref: w,
|
|
1764
457
|
onClick: (e) => e.stopPropagation(),
|
|
1765
458
|
style: {
|
|
1766
|
-
opacity: +!!
|
|
459
|
+
opacity: +!!R.left,
|
|
1767
460
|
width: C.current ? C.current.clientWidth : "auto",
|
|
1768
|
-
left:
|
|
1769
|
-
top:
|
|
461
|
+
left: R.left,
|
|
462
|
+
top: R.top
|
|
1770
463
|
},
|
|
1771
464
|
children: [/* @__PURE__ */ u("div", {
|
|
1772
|
-
className:
|
|
465
|
+
className: I.optionsListWrap,
|
|
1773
466
|
children: [e.length >= 6 && /* @__PURE__ */ l("div", {
|
|
1774
|
-
className:
|
|
467
|
+
className: I.searchInputWrap,
|
|
1775
468
|
children: /* @__PURE__ */ l("input", {
|
|
1776
469
|
type: "text",
|
|
1777
470
|
ref: T,
|
|
1778
471
|
placeholder: "Type to filter",
|
|
1779
|
-
className:
|
|
472
|
+
className: I.searchInput,
|
|
1780
473
|
value: _,
|
|
1781
474
|
onChange: (e) => v(e.target.value),
|
|
1782
475
|
"data-testid": "search-input",
|
|
1783
476
|
onKeyDown: (e) => {
|
|
1784
|
-
|
|
477
|
+
Y(e);
|
|
1785
478
|
}
|
|
1786
479
|
})
|
|
1787
480
|
}), /* @__PURE__ */ l("ul", {
|
|
1788
481
|
ref: O,
|
|
1789
482
|
role: "listbox",
|
|
1790
483
|
children: m.current.map((e, t) => /* @__PURE__ */ u("li", {
|
|
1791
|
-
className: `${
|
|
484
|
+
className: `${I.optionsList} ${t === M ? I.focused : ""}`,
|
|
1792
485
|
onClick: () => W(e.value),
|
|
1793
|
-
"aria-selected": t ===
|
|
486
|
+
"aria-selected": t === M,
|
|
1794
487
|
role: "option",
|
|
1795
|
-
children: [/* @__PURE__ */ l(
|
|
488
|
+
children: [/* @__PURE__ */ l(te, {
|
|
1796
489
|
themeColor: a,
|
|
1797
490
|
checked: h.includes(e.value),
|
|
1798
491
|
disabled: e.disable || r !== void 0 && h.length >= r && !h.includes(e.value)
|
|
@@ -1800,23 +493,23 @@ var B = ({ options: e, checkedValue: t, onSelectionChange: n, maxOptions: r, the
|
|
|
1800
493
|
}, e.value))
|
|
1801
494
|
})]
|
|
1802
495
|
}), /* @__PURE__ */ u("div", {
|
|
1803
|
-
className:
|
|
496
|
+
className: I.btnContainer,
|
|
1804
497
|
children: [/* @__PURE__ */ l("input", {
|
|
1805
498
|
ref: E,
|
|
1806
499
|
onKeyDown: (e) => {
|
|
1807
|
-
|
|
500
|
+
Y(e);
|
|
1808
501
|
},
|
|
1809
|
-
className:
|
|
1810
|
-
}), /* @__PURE__ */ l(
|
|
502
|
+
className: I.hiddenButton
|
|
503
|
+
}), /* @__PURE__ */ l(j, {
|
|
1811
504
|
themeColor: a,
|
|
1812
505
|
variant: "primary",
|
|
1813
506
|
size: "medium",
|
|
1814
507
|
onClick: () => {
|
|
1815
|
-
b(!1), v(""),
|
|
508
|
+
b(!1), v(""), oe(), n(h);
|
|
1816
509
|
},
|
|
1817
510
|
"data-testid": "done-button",
|
|
1818
511
|
onKeyDown: (e) => {
|
|
1819
|
-
|
|
512
|
+
J(e);
|
|
1820
513
|
},
|
|
1821
514
|
ref: D,
|
|
1822
515
|
children: "Done"
|
|
@@ -1827,7 +520,7 @@ var B = ({ options: e, checkedValue: t, onSelectionChange: n, maxOptions: r, the
|
|
|
1827
520
|
]
|
|
1828
521
|
})
|
|
1829
522
|
});
|
|
1830
|
-
},
|
|
523
|
+
}, R = {
|
|
1831
524
|
multiSelectContainer: "_multiSelectContainer_1on91_1",
|
|
1832
525
|
listOptionsWrap: "_listOptionsWrap_1on91_4",
|
|
1833
526
|
selectedValuesWrap: "_selectedValuesWrap_1on91_7",
|
|
@@ -1847,29 +540,29 @@ var B = ({ options: e, checkedValue: t, onSelectionChange: n, maxOptions: r, the
|
|
|
1847
540
|
btnContainer: "_btnContainer_1on91_76",
|
|
1848
541
|
hiddenButton: "_hiddenButton_1on91_79",
|
|
1849
542
|
announcement: "_announcement_1on91_92"
|
|
1850
|
-
}, re = ({ options: e, checkedValue: t, onSelectionChange: n, maxOptions: r, themeColor: a, className:
|
|
1851
|
-
let _ = o(e), [v, y] = s(t), [b, x] = s(""), [S, C] = s(!1), [w, T] = s(!1), E = o(null), D = o(null), O = o(null),
|
|
543
|
+
}, re = ({ options: e, checkedValue: t, onSelectionChange: n, maxOptions: r, themeColor: a, className: d = "", style: p = {}, categoryName: m = "", variant: h = "default", placeholder: g = "Select your option" }) => {
|
|
544
|
+
let _ = o(e), [v, y] = s(t), [b, x] = s(""), [S, C] = s(!1), [w, T] = s(!1), E = o(null), D = o(null), O = o(null), M = o(null), N = o(null), P = o(null), [F, ee] = s(-1), I = o(0), L = o(0), [ne, re] = s(!1), z = {}, [ie, B] = s({
|
|
1852
545
|
left: 0,
|
|
1853
546
|
top: 0
|
|
1854
|
-
}), [
|
|
547
|
+
}), [ae, oe] = s(null), V = o(!1), H = o(null);
|
|
1855
548
|
i(() => {
|
|
1856
549
|
y(t);
|
|
1857
550
|
}, [t]);
|
|
1858
|
-
let
|
|
551
|
+
let U = () => {
|
|
1859
552
|
setTimeout(() => {
|
|
1860
553
|
(E.current?.children[0]).focus();
|
|
1861
554
|
}, 0);
|
|
1862
555
|
};
|
|
1863
556
|
i(() => {
|
|
1864
557
|
let e = (e) => {
|
|
1865
|
-
D.current && !D.current.contains(e.target) && (C(!1), x(""),
|
|
558
|
+
D.current && !D.current.contains(e.target) && (C(!1), x(""), U());
|
|
1866
559
|
};
|
|
1867
560
|
return document.addEventListener("mousedown", e), () => {
|
|
1868
561
|
document.removeEventListener("mousedown", e);
|
|
1869
562
|
};
|
|
1870
563
|
}, []);
|
|
1871
564
|
let W = () => {
|
|
1872
|
-
I.current = window.innerHeight, L.current = document.body.scrollHeight,
|
|
565
|
+
I.current = window.innerHeight, L.current = document.body.scrollHeight, re(!0);
|
|
1873
566
|
};
|
|
1874
567
|
i(() => (W(), window.addEventListener("resize", W), () => {
|
|
1875
568
|
window.addEventListener("resize", W);
|
|
@@ -1884,22 +577,22 @@ var B = ({ options: e, checkedValue: t, onSelectionChange: n, maxOptions: r, the
|
|
|
1884
577
|
_.current = e.filter((e) => e.label.toLowerCase().includes(b.toLowerCase()));
|
|
1885
578
|
}, [e, b]);
|
|
1886
579
|
/* istanbul ignore next */
|
|
1887
|
-
let
|
|
580
|
+
let K = v.length > 1 && m ? m : v.length > 0 ? v.map((t) => {
|
|
1888
581
|
let n = e.find((e) => e.value === t);
|
|
1889
582
|
return n?.label === null ? "" : n?.label;
|
|
1890
|
-
}).filter((e) => e !== "").join(", ") : g,
|
|
583
|
+
}).filter((e) => e !== "").join(", ") : g, q = (t) => {
|
|
1891
584
|
let i = e.find((e) => e.value === t);
|
|
1892
585
|
if (i && !i.disable && (r === void 0 || v.length <= r)) {
|
|
1893
586
|
let e = v.includes(t) ? v.filter((e) => e !== t) : [...v, t];
|
|
1894
587
|
(r === void 0 || e.length <= r) && S && (y(e), n(e), setTimeout(() => {
|
|
1895
|
-
|
|
588
|
+
Y();
|
|
1896
589
|
}, 50), _.current.length === 1 && C(!1), G(`${i?.label} ${e.includes(t) ? "selected" : "not selected"}`));
|
|
1897
590
|
}
|
|
1898
|
-
},
|
|
1899
|
-
|
|
1900
|
-
O.current ? O.current?.focus() :
|
|
591
|
+
}, J = (e) => {
|
|
592
|
+
Y(), C(e), setTimeout(() => {
|
|
593
|
+
O.current ? O.current?.focus() : M.current?.focus(), G("use up and down arrow keys to navigate");
|
|
1901
594
|
}, 0);
|
|
1902
|
-
},
|
|
595
|
+
}, Y = () => {
|
|
1903
596
|
if (E.current) {
|
|
1904
597
|
let e = E.current.getBoundingClientRect();
|
|
1905
598
|
setTimeout(() => {
|
|
@@ -1908,7 +601,7 @@ var B = ({ options: e, checkedValue: t, onSelectionChange: n, maxOptions: r, the
|
|
|
1908
601
|
let n = t.height, r = t.width, i = window.innerWidth, a = I.current - e.bottom, o = e.top, s;
|
|
1909
602
|
s = a >= n ? e.bottom : o >= n ? e.top - n : a >= o ? e.bottom : e.top - n;
|
|
1910
603
|
let c = i - e.left, l = e.right, u;
|
|
1911
|
-
u = c - 20 >= r ? e.left : l >= r ? e.right - r + 20 : c >= l ? Math.max(20, i - r - 20) : Math.max(20, e.right - r + 20),
|
|
604
|
+
u = c - 20 >= r ? e.left : l >= r ? e.right - r + 20 : c >= l ? Math.max(20, i - r - 20) : Math.max(20, e.right - r + 20), B({
|
|
1912
605
|
left: u,
|
|
1913
606
|
top: s
|
|
1914
607
|
});
|
|
@@ -1916,73 +609,73 @@ var B = ({ options: e, checkedValue: t, onSelectionChange: n, maxOptions: r, the
|
|
|
1916
609
|
}, 10);
|
|
1917
610
|
}
|
|
1918
611
|
};
|
|
1919
|
-
i(() => (window.addEventListener("scroll",
|
|
1920
|
-
window.removeEventListener("scroll",
|
|
612
|
+
i(() => (window.addEventListener("scroll", Y), window.addEventListener("resize", Y), () => {
|
|
613
|
+
window.removeEventListener("scroll", Y), window.removeEventListener("resize", Y);
|
|
1921
614
|
}), [S]);
|
|
1922
|
-
let
|
|
1923
|
-
e.preventDefault(), e.key === "Shift" ?
|
|
1924
|
-
O.current ? O.current?.focus() :
|
|
1925
|
-
}, 0),
|
|
1926
|
-
},
|
|
615
|
+
let X = (e) => {
|
|
616
|
+
e.preventDefault(), e.key === "Shift" ? V.current = !0 : e.shiftKey && V.current && e.key === "Tab" || e.key === "Tab" ? (setTimeout(() => {
|
|
617
|
+
O.current ? O.current?.focus() : M.current?.focus();
|
|
618
|
+
}, 0), V.current = !1) : e.key === "Escape" || e.key === "Enter" || e.key === "Space" || e.key === " " ? (J(!1), U()) : V.current = !1;
|
|
619
|
+
}, Z = (e) => {
|
|
1927
620
|
let { key: t } = e;
|
|
1928
621
|
if (t === "Tab" || e.shiftKey && t === "Tab") setTimeout(() => {
|
|
1929
622
|
N.current?.focus();
|
|
1930
623
|
}, 0);
|
|
1931
624
|
else if (t === "ArrowDown" || t === "ArrowUp") {
|
|
1932
625
|
e.preventDefault(), setTimeout(() => {
|
|
1933
|
-
|
|
626
|
+
M.current?.focus();
|
|
1934
627
|
}, 0);
|
|
1935
628
|
let n = F;
|
|
1936
629
|
if (t === "ArrowDown" ? n = Math.min(F + 1, _.current.length - 1) : t === "ArrowUp" && (n = Math.max(F - 1, 0)), F === 0 && e.key === "ArrowUp" ? n = _.current.length - 1 : F === _.current.length - 1 && e.key === "ArrowDown" && (n = 0), ee(n), P.current && n >= 0) {
|
|
1937
|
-
let e = P.current.querySelectorAll(`.${
|
|
630
|
+
let e = P.current.querySelectorAll(`.${R.optionsList}`)[n], t = e.children[0].getAttribute("aria-checked");
|
|
1938
631
|
G(`${e.textContent} ${t === "true" ? "selected" : "not selected"} ${n + 1} out of ${_.current.length}`), e && e.scrollIntoView({
|
|
1939
632
|
block: "nearest",
|
|
1940
633
|
inline: "nearest"
|
|
1941
634
|
});
|
|
1942
635
|
}
|
|
1943
|
-
} else t === "Enter" || t === "Space" || t === " " ? F !== -1 &&
|
|
636
|
+
} else t === "Enter" || t === "Space" || t === " " ? F !== -1 && q(_.current[F].value) : t === "Escape" && (J(!1), U());
|
|
1944
637
|
};
|
|
1945
638
|
i(() => {
|
|
1946
|
-
|
|
639
|
+
ae && clearTimeout(ae), oe(setTimeout(() => {
|
|
1947
640
|
let e = _.current.length ? `${_.current.length} results are available, use up and down arrow keys to navigate` : "No results available";
|
|
1948
641
|
S && G(e);
|
|
1949
642
|
}, 500));
|
|
1950
643
|
}, [b]);
|
|
1951
|
-
let
|
|
644
|
+
let Q = () => {
|
|
1952
645
|
T(!0);
|
|
1953
|
-
},
|
|
646
|
+
}, se = () => {
|
|
1954
647
|
T(!1);
|
|
1955
648
|
};
|
|
1956
649
|
if (i(() => {
|
|
1957
|
-
let e =
|
|
1958
|
-
return e && (e.addEventListener("focus",
|
|
1959
|
-
e && (e.removeEventListener("focus",
|
|
650
|
+
let e = H.current;
|
|
651
|
+
return e && (e.addEventListener("focus", Q), e.addEventListener("blur", se)), () => {
|
|
652
|
+
e && (e.removeEventListener("focus", Q), e.removeEventListener("blur", se));
|
|
1960
653
|
};
|
|
1961
|
-
}, [
|
|
1962
|
-
let e =
|
|
1963
|
-
a =
|
|
654
|
+
}, [Q, se]), a) {
|
|
655
|
+
let e = k(a);
|
|
656
|
+
a = A.convert3HexTo6(a), (e === "dark" || e === "light") && (z = { "--theme-color": a });
|
|
1964
657
|
}
|
|
1965
|
-
let
|
|
658
|
+
let ce = () => {
|
|
1966
659
|
C(!1);
|
|
1967
|
-
},
|
|
1968
|
-
C(!1), x(""),
|
|
660
|
+
}, le = () => {
|
|
661
|
+
C(!1), x(""), U(), n(v);
|
|
1969
662
|
};
|
|
1970
663
|
return /* @__PURE__ */ l("div", {
|
|
1971
|
-
className:
|
|
664
|
+
className: R.multiSelectContainer,
|
|
1972
665
|
children: /* @__PURE__ */ u("div", {
|
|
1973
|
-
className:
|
|
666
|
+
className: R.listOptionsWrap,
|
|
1974
667
|
children: [
|
|
1975
668
|
/* @__PURE__ */ l("div", {
|
|
1976
|
-
className: `${
|
|
669
|
+
className: `${d} ${R.selectedValuesWrap}`,
|
|
1977
670
|
ref: E,
|
|
1978
671
|
children: /* @__PURE__ */ u("div", {
|
|
1979
|
-
className: `${
|
|
1980
|
-
ref:
|
|
1981
|
-
onFocus:
|
|
1982
|
-
onBlur:
|
|
1983
|
-
onClick: () =>
|
|
672
|
+
className: `${R.selectedValues} ${S ? R.focused : ""} ${v.length > 0 ? R.selected : ""} ${v.length > 1 ? R.countShow : ""} ${v.length === 0 ? R.placeholder : ""} ${h === "rounded" ? R.rounded : ""}`,
|
|
673
|
+
ref: H,
|
|
674
|
+
onFocus: Q,
|
|
675
|
+
onBlur: se,
|
|
676
|
+
onClick: () => J(!S),
|
|
1984
677
|
onKeyPress: (e) => {
|
|
1985
|
-
(e.key === " " || e.code === "Space" || e.code === "Enter") && (e.preventDefault(),
|
|
678
|
+
(e.key === " " || e.code === "Space" || e.code === "Enter") && (e.preventDefault(), J(!S));
|
|
1986
679
|
},
|
|
1987
680
|
tabIndex: 0,
|
|
1988
681
|
"data-testid": "selected-input",
|
|
@@ -1995,16 +688,16 @@ var B = ({ options: e, checkedValue: t, onSelectionChange: n, maxOptions: r, the
|
|
|
1995
688
|
"aria-multiselectable": "true",
|
|
1996
689
|
"aria-autocomplete": "list",
|
|
1997
690
|
role: "combobox",
|
|
1998
|
-
children: [/* @__PURE__ */ l("span", { children:
|
|
1999
|
-
className:
|
|
691
|
+
children: [/* @__PURE__ */ l("span", { children: K }), /* @__PURE__ */ u("div", {
|
|
692
|
+
className: R.countAndIconContainer,
|
|
2000
693
|
children: [v.length > 1 && /* @__PURE__ */ l("span", {
|
|
2001
|
-
className:
|
|
694
|
+
className: R.selectedCount,
|
|
2002
695
|
"data-testid": "selected-count",
|
|
2003
696
|
style: { backgroundColor: a },
|
|
2004
697
|
children: v.length
|
|
2005
698
|
}), /* @__PURE__ */ l("span", {
|
|
2006
|
-
className:
|
|
2007
|
-
onClick: () =>
|
|
699
|
+
className: R.dropDownIcon,
|
|
700
|
+
onClick: () => J(!S),
|
|
2008
701
|
"data-testid": "arrow-button",
|
|
2009
702
|
children: /* @__PURE__ */ l("svg", {
|
|
2010
703
|
width: "12px",
|
|
@@ -2038,10 +731,10 @@ var B = ({ options: e, checkedValue: t, onSelectionChange: n, maxOptions: r, the
|
|
|
2038
731
|
id: "announcement",
|
|
2039
732
|
"aria-live": "assertive",
|
|
2040
733
|
role: "alert",
|
|
2041
|
-
className:
|
|
734
|
+
className: R.announcement
|
|
2042
735
|
}),
|
|
2043
|
-
|
|
2044
|
-
onClick:
|
|
736
|
+
ne ? f(/* @__PURE__ */ l(c, { children: S && E && /* @__PURE__ */ l("div", {
|
|
737
|
+
onClick: ce,
|
|
2045
738
|
style: {
|
|
2046
739
|
position: "fixed",
|
|
2047
740
|
inset: 0,
|
|
@@ -2049,40 +742,40 @@ var B = ({ options: e, checkedValue: t, onSelectionChange: n, maxOptions: r, the
|
|
|
2049
742
|
zIndex: 1e3
|
|
2050
743
|
},
|
|
2051
744
|
children: /* @__PURE__ */ u("div", {
|
|
2052
|
-
className: `${
|
|
745
|
+
className: `${R.optionsListContainer}`,
|
|
2053
746
|
ref: D,
|
|
2054
747
|
onClick: (e) => e.stopPropagation(),
|
|
2055
748
|
style: {
|
|
2056
|
-
opacity: +!!
|
|
2057
|
-
left:
|
|
2058
|
-
top:
|
|
749
|
+
opacity: +!!ie.top,
|
|
750
|
+
left: ie.left,
|
|
751
|
+
top: ie.top,
|
|
2059
752
|
paddingBottom: _.current.length === 1 ? 0 : void 0
|
|
2060
753
|
},
|
|
2061
754
|
children: [/* @__PURE__ */ u("div", {
|
|
2062
|
-
className:
|
|
755
|
+
className: R.optionsListWrap,
|
|
2063
756
|
children: [e.length >= 6 && /* @__PURE__ */ l("div", {
|
|
2064
|
-
className:
|
|
757
|
+
className: R.searchInputWrap,
|
|
2065
758
|
children: /* @__PURE__ */ l("input", {
|
|
2066
759
|
type: "text",
|
|
2067
760
|
ref: O,
|
|
2068
761
|
placeholder: "Type to filter",
|
|
2069
|
-
className:
|
|
762
|
+
className: R.searchInput,
|
|
2070
763
|
value: b,
|
|
2071
764
|
onChange: (e) => x(e.target.value),
|
|
2072
765
|
"data-testid": "search-input",
|
|
2073
766
|
onKeyDown: (e) => {
|
|
2074
|
-
|
|
767
|
+
Z(e);
|
|
2075
768
|
}
|
|
2076
769
|
})
|
|
2077
770
|
}), /* @__PURE__ */ l("ul", {
|
|
2078
771
|
ref: P,
|
|
2079
772
|
role: "listbox",
|
|
2080
773
|
children: _.current.map((e, t) => /* @__PURE__ */ u("li", {
|
|
2081
|
-
className: `${
|
|
2082
|
-
onClick: () =>
|
|
774
|
+
className: `${R.optionsList} ${t === F ? R.focused : ""}`,
|
|
775
|
+
onClick: () => q(e.value),
|
|
2083
776
|
"aria-selected": t === F,
|
|
2084
777
|
role: "option",
|
|
2085
|
-
children: [/* @__PURE__ */ l(
|
|
778
|
+
children: [/* @__PURE__ */ l(te, {
|
|
2086
779
|
themeColor: a,
|
|
2087
780
|
checked: v.includes(e.value),
|
|
2088
781
|
disabled: e.disable || r !== void 0 && v.length >= r && !v.includes(e.value)
|
|
@@ -2090,22 +783,22 @@ var B = ({ options: e, checkedValue: t, onSelectionChange: n, maxOptions: r, the
|
|
|
2090
783
|
}, e.value))
|
|
2091
784
|
})]
|
|
2092
785
|
}), _.current.length > 1 && /* @__PURE__ */ u("div", {
|
|
2093
|
-
className:
|
|
786
|
+
className: R.btnContainer,
|
|
2094
787
|
children: [/* @__PURE__ */ l("input", {
|
|
2095
|
-
ref:
|
|
788
|
+
ref: M,
|
|
2096
789
|
onKeyDown: (e) => {
|
|
2097
|
-
|
|
790
|
+
Z(e);
|
|
2098
791
|
},
|
|
2099
|
-
className:
|
|
2100
|
-
}), /* @__PURE__ */ l(
|
|
792
|
+
className: R.hiddenButton
|
|
793
|
+
}), /* @__PURE__ */ l(j, {
|
|
2101
794
|
themeColor: a,
|
|
2102
795
|
variant: "primary",
|
|
2103
796
|
size: "medium",
|
|
2104
797
|
disabled: !(v.length > 0),
|
|
2105
|
-
onClick:
|
|
798
|
+
onClick: le,
|
|
2106
799
|
"data-testid": "done-button",
|
|
2107
800
|
onKeyDown: (e) => {
|
|
2108
|
-
|
|
801
|
+
X(e);
|
|
2109
802
|
},
|
|
2110
803
|
ref: N,
|
|
2111
804
|
children: "Done"
|
|
@@ -2116,7 +809,7 @@ var B = ({ options: e, checkedValue: t, onSelectionChange: n, maxOptions: r, the
|
|
|
2116
809
|
]
|
|
2117
810
|
})
|
|
2118
811
|
});
|
|
2119
|
-
},
|
|
812
|
+
}, z = {
|
|
2120
813
|
multiSelectContainer: "_multiSelectContainer_1rhxq_1",
|
|
2121
814
|
quickOptionsWrap: "_quickOptionsWrap_1rhxq_4",
|
|
2122
815
|
selected: "_selected_1rhxq_11",
|
|
@@ -2130,7 +823,7 @@ var B = ({ options: e, checkedValue: t, onSelectionChange: n, maxOptions: r, the
|
|
|
2130
823
|
(r === void 0 || a.length <= r) && (f(a), n(a));
|
|
2131
824
|
};
|
|
2132
825
|
if (i) {
|
|
2133
|
-
h =
|
|
826
|
+
h = k(i), i = A.convert3HexTo6(i);
|
|
2134
827
|
let e = i === "#ffffff" ? "#333333" : i;
|
|
2135
828
|
(h === "dark" || h === "light") && (m = {
|
|
2136
829
|
outlineColor: e,
|
|
@@ -2139,24 +832,24 @@ var B = ({ options: e, checkedValue: t, onSelectionChange: n, maxOptions: r, the
|
|
|
2139
832
|
});
|
|
2140
833
|
}
|
|
2141
834
|
return /* @__PURE__ */ l("div", {
|
|
2142
|
-
className:
|
|
835
|
+
className: z.multiSelectContainer,
|
|
2143
836
|
role: "group",
|
|
2144
837
|
children: /* @__PURE__ */ l("ul", {
|
|
2145
|
-
className:
|
|
838
|
+
className: z.quickOptionsWrap,
|
|
2146
839
|
id: u,
|
|
2147
840
|
children: e.map((e) => /* @__PURE__ */ l("li", {
|
|
2148
841
|
style: {
|
|
2149
842
|
...m,
|
|
2150
843
|
...c
|
|
2151
844
|
},
|
|
2152
|
-
className: `${a} ${e.disable || r !== void 0 && d.length >= r && !d.includes(e.value) ?
|
|
845
|
+
className: `${a} ${e.disable || r !== void 0 && d.length >= r && !d.includes(e.value) ? z.disabled : ""} ${d.includes(e.value) ? z.selected : ""}`,
|
|
2153
846
|
tabIndex: e.disable ? -1 : 0,
|
|
2154
847
|
onClick: () => g(e.value),
|
|
2155
848
|
onKeyPress: (t) => {
|
|
2156
849
|
(t.key === " " || t.code === "Space") && (t.preventDefault(), g(e.value));
|
|
2157
850
|
},
|
|
2158
851
|
"data-testid": "option-box",
|
|
2159
|
-
children: /* @__PURE__ */ l(
|
|
852
|
+
children: /* @__PURE__ */ l(P, {
|
|
2160
853
|
id: e.value,
|
|
2161
854
|
checkboxSize: "large",
|
|
2162
855
|
tabIndex: -1,
|
|
@@ -2174,7 +867,7 @@ var B = ({ options: e, checkedValue: t, onSelectionChange: n, maxOptions: r, the
|
|
|
2174
867
|
}, e.value))
|
|
2175
868
|
})
|
|
2176
869
|
});
|
|
2177
|
-
},
|
|
870
|
+
}, B = {
|
|
2178
871
|
singleSelectWrapper: "_singleSelectWrapper_7i31h_1",
|
|
2179
872
|
quickOption: "_quickOption_7i31h_4",
|
|
2180
873
|
selected: "_selected_7i31h_11",
|
|
@@ -2197,8 +890,8 @@ var B = ({ options: e, checkedValue: t, onSelectionChange: n, maxOptions: r, the
|
|
|
2197
890
|
t(e), f(e);
|
|
2198
891
|
};
|
|
2199
892
|
if (r) {
|
|
2200
|
-
let e =
|
|
2201
|
-
r =
|
|
893
|
+
let e = k(r);
|
|
894
|
+
r = A.convert3HexTo6(r);
|
|
2202
895
|
let t = r === "#ffffff" ? "#333333" : r;
|
|
2203
896
|
(e === "dark" || e === "light") && (h = r === "#ffffff" || e === "dark" ? "#ffffff" : "#333333", p = {
|
|
2204
897
|
outlineColor: t,
|
|
@@ -2210,16 +903,16 @@ var B = ({ options: e, checkedValue: t, onSelectionChange: n, maxOptions: r, the
|
|
|
2210
903
|
});
|
|
2211
904
|
}
|
|
2212
905
|
return /* @__PURE__ */ l("div", {
|
|
2213
|
-
className:
|
|
906
|
+
className: B.singleSelectWrapper,
|
|
2214
907
|
children: /* @__PURE__ */ l("div", {
|
|
2215
|
-
className:
|
|
908
|
+
className: B.quickOption,
|
|
2216
909
|
children: /* @__PURE__ */ l("ul", {
|
|
2217
|
-
className:
|
|
910
|
+
className: B.quickOption,
|
|
2218
911
|
role: "radiogroup",
|
|
2219
912
|
id: c,
|
|
2220
913
|
children: e.map((e) => /* @__PURE__ */ u("li", {
|
|
2221
914
|
tabIndex: e.disable ? -1 : 0,
|
|
2222
|
-
className: `${i} ${d?.value === e.value ?
|
|
915
|
+
className: `${i} ${d?.value === e.value ? B.selected : ""} ${e.disable ? B.disabled : ""}`,
|
|
2223
916
|
style: {
|
|
2224
917
|
...p,
|
|
2225
918
|
...a
|
|
@@ -2232,22 +925,22 @@ var B = ({ options: e, checkedValue: t, onSelectionChange: n, maxOptions: r, the
|
|
|
2232
925
|
role: "radio",
|
|
2233
926
|
"aria-checked": d?.value === e.value,
|
|
2234
927
|
children: [e.label, d?.value === e.value && !e.disable && /* @__PURE__ */ u("div", {
|
|
2235
|
-
className:
|
|
928
|
+
className: B.triangle,
|
|
2236
929
|
style: { ...m },
|
|
2237
930
|
children: [o && /* @__PURE__ */ l("div", {
|
|
2238
|
-
className:
|
|
931
|
+
className: B.loader,
|
|
2239
932
|
style: { borderRightColor: r ?? "#006bb1" }
|
|
2240
933
|
}), !o && /* @__PURE__ */ l("div", {
|
|
2241
|
-
className:
|
|
934
|
+
className: B.checkmarkWrap,
|
|
2242
935
|
children: /* @__PURE__ */ l("svg", {
|
|
2243
|
-
className:
|
|
936
|
+
className: B.checkmark,
|
|
2244
937
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2245
938
|
width: "11",
|
|
2246
939
|
height: "9",
|
|
2247
940
|
viewBox: "0 0 11 9",
|
|
2248
941
|
fill: "none",
|
|
2249
942
|
children: /* @__PURE__ */ l("path", {
|
|
2250
|
-
className:
|
|
943
|
+
className: B.checkmarkCheck,
|
|
2251
944
|
stroke: h,
|
|
2252
945
|
d: "M2.1 4.34286L4.12857 6.40001L8.9 1.60001",
|
|
2253
946
|
strokeWidth: "2"
|
|
@@ -2259,7 +952,7 @@ var B = ({ options: e, checkedValue: t, onSelectionChange: n, maxOptions: r, the
|
|
|
2259
952
|
})
|
|
2260
953
|
})
|
|
2261
954
|
});
|
|
2262
|
-
}, oe = { scrollbarContainer: "_scrollbarContainer_40vsr_1" },
|
|
955
|
+
}, oe = { scrollbarContainer: "_scrollbarContainer_40vsr_1" }, V = n(({ children: e, className: t = "", style: n = {}, ...r }, i) => {
|
|
2263
956
|
let a = [oe.scrollbarContainer, t].filter(Boolean).join(" ");
|
|
2264
957
|
return /* @__PURE__ */ l(c, { children: /* @__PURE__ */ l("div", {
|
|
2265
958
|
ref: i,
|
|
@@ -2269,8 +962,8 @@ var B = ({ options: e, checkedValue: t, onSelectionChange: n, maxOptions: r, the
|
|
|
2269
962
|
children: e
|
|
2270
963
|
}) });
|
|
2271
964
|
});
|
|
2272
|
-
|
|
2273
|
-
var
|
|
965
|
+
V.displayName = "Scrollbar";
|
|
966
|
+
var H = {
|
|
2274
967
|
select: "_select_fcnvh_1",
|
|
2275
968
|
selectContainer: "_selectContainer_fcnvh_4",
|
|
2276
969
|
selectButton: "_selectButton_fcnvh_7",
|
|
@@ -2285,19 +978,19 @@ var G = {
|
|
|
2285
978
|
leaveFrom: "_leaveFrom_fcnvh_39",
|
|
2286
979
|
leaveTo: "_leaveTo_fcnvh_43",
|
|
2287
980
|
selectOptions: "_selectOptions_fcnvh_47"
|
|
2288
|
-
},
|
|
2289
|
-
let [c,
|
|
981
|
+
}, U = ({ children: e, selected: t, onSelect: n, themeColor: r, placeholder: a }) => {
|
|
982
|
+
let [c, d] = s(!1), [p, m] = s(!1), [h, g] = s(!1), _ = o(null), b = o(null), x = o(null), [S, w] = s({
|
|
2290
983
|
left: 0,
|
|
2291
984
|
top: 0
|
|
2292
|
-
}), [T, E] = s(!1), D = o(0), O = o(0),
|
|
2293
|
-
D.current = window.innerHeight, O.current = document.body.scrollHeight,
|
|
985
|
+
}), [T, E] = s(!1), D = o(0), O = o(0), j = "#333333", M = () => {
|
|
986
|
+
D.current = window.innerHeight, O.current = document.body.scrollHeight, d(!0);
|
|
2294
987
|
};
|
|
2295
988
|
i(() => (M(), window.addEventListener("resize", M), () => {
|
|
2296
989
|
window.removeEventListener("resize", M);
|
|
2297
990
|
}), []);
|
|
2298
991
|
let N = () => O.current - (D.current + window.scrollY), P = () => {
|
|
2299
|
-
if (
|
|
2300
|
-
let e =
|
|
992
|
+
if (_.current) {
|
|
993
|
+
let e = _.current.getBoundingClientRect();
|
|
2301
994
|
E(!1), setTimeout(() => {
|
|
2302
995
|
let t = x?.current?.getBoundingClientRect(), n = N(), r = D.current - e.bottom;
|
|
2303
996
|
if (t) {
|
|
@@ -2313,51 +1006,51 @@ var G = {
|
|
|
2313
1006
|
if (i(() => (window.addEventListener("scroll", P), window.addEventListener("resize", P), () => {
|
|
2314
1007
|
window.removeEventListener("scroll", P), window.removeEventListener("resize", P);
|
|
2315
1008
|
}), []), r) {
|
|
2316
|
-
r =
|
|
2317
|
-
let e =
|
|
2318
|
-
(e === "dark" || e === "light") && (
|
|
1009
|
+
r = A.convert3HexTo6(r);
|
|
1010
|
+
let e = k(r);
|
|
1011
|
+
(e === "dark" || e === "light") && (j = r === "#ffffff" ? "#c8c8c8" : r);
|
|
2319
1012
|
}
|
|
2320
1013
|
let F = (e) => {
|
|
2321
1014
|
n(e);
|
|
2322
1015
|
}, ee = () => g(!0), I = () => g(!1);
|
|
2323
|
-
return /* @__PURE__ */ l(
|
|
1016
|
+
return /* @__PURE__ */ l(v, {
|
|
2324
1017
|
value: t,
|
|
2325
1018
|
onChange: F,
|
|
2326
1019
|
children: ({ open: n }) => (n !== p && (m(n), n ? P() : E(!1)), /* @__PURE__ */ u("div", {
|
|
2327
|
-
className:
|
|
1020
|
+
className: H.select,
|
|
2328
1021
|
children: [/* @__PURE__ */ l("div", {
|
|
2329
|
-
className:
|
|
2330
|
-
ref:
|
|
2331
|
-
children: /* @__PURE__ */ u(
|
|
1022
|
+
className: H.selectContainer,
|
|
1023
|
+
ref: _,
|
|
1024
|
+
children: /* @__PURE__ */ u(y, {
|
|
2332
1025
|
ref: b,
|
|
2333
1026
|
"data-testid": "select-options",
|
|
2334
1027
|
onFocus: ee,
|
|
2335
1028
|
onBlur: I,
|
|
2336
|
-
className: `${
|
|
2337
|
-
style: { borderBottomColor: r && (h || n) ?
|
|
1029
|
+
className: `${H.selectButton} ${n ? H.open : ""}`,
|
|
1030
|
+
style: { borderBottomColor: r && (h || n) ? j : "" },
|
|
2338
1031
|
children: [t ? /* @__PURE__ */ u("span", {
|
|
2339
|
-
className:
|
|
1032
|
+
className: H.selectValue,
|
|
2340
1033
|
children: [t.avatar && /* @__PURE__ */ l("img", {
|
|
2341
1034
|
src: t.avatar,
|
|
2342
1035
|
alt: "",
|
|
2343
|
-
className:
|
|
1036
|
+
className: H.seletIcon
|
|
2344
1037
|
}), /* @__PURE__ */ l("span", {
|
|
2345
|
-
className:
|
|
1038
|
+
className: H.selectText,
|
|
2346
1039
|
children: t.label
|
|
2347
1040
|
})]
|
|
2348
1041
|
}) : a && /* @__PURE__ */ l("span", {
|
|
2349
|
-
className: `${
|
|
1042
|
+
className: `${H.selectValue} ${H.placeholder}`,
|
|
2350
1043
|
children: a
|
|
2351
1044
|
}), /* @__PURE__ */ l("span", {
|
|
2352
|
-
className:
|
|
2353
|
-
children: /* @__PURE__ */ l(
|
|
2354
|
-
className:
|
|
1045
|
+
className: H.chevronDownIconSpan,
|
|
1046
|
+
children: /* @__PURE__ */ l(C, {
|
|
1047
|
+
className: H.chevronDownIcon,
|
|
2355
1048
|
"aria-hidden": "true",
|
|
2356
1049
|
"data-open": p ? !0 : void 0
|
|
2357
1050
|
})
|
|
2358
1051
|
})]
|
|
2359
1052
|
})
|
|
2360
|
-
}), c &&
|
|
1053
|
+
}), c && f(n && /* @__PURE__ */ l("div", {
|
|
2361
1054
|
style: {
|
|
2362
1055
|
position: "fixed",
|
|
2363
1056
|
inset: 0,
|
|
@@ -2369,34 +1062,34 @@ var G = {
|
|
|
2369
1062
|
style: {
|
|
2370
1063
|
position: "absolute",
|
|
2371
1064
|
opacity: +!!T,
|
|
2372
|
-
width:
|
|
2373
|
-
left:
|
|
2374
|
-
top:
|
|
1065
|
+
width: _.current?.clientWidth ?? "auto",
|
|
1066
|
+
left: S.left,
|
|
1067
|
+
top: S.top
|
|
2375
1068
|
},
|
|
2376
1069
|
children: e
|
|
2377
1070
|
})
|
|
2378
1071
|
}), document.body)]
|
|
2379
1072
|
}))
|
|
2380
1073
|
});
|
|
2381
|
-
},
|
|
1074
|
+
}, W = ({ children: e, setQuery: n }) => /* @__PURE__ */ l(S, {
|
|
2382
1075
|
as: t,
|
|
2383
|
-
leave:
|
|
2384
|
-
leaveFrom:
|
|
2385
|
-
leaveTo:
|
|
1076
|
+
leave: H.leave,
|
|
1077
|
+
leaveFrom: H.leaveFrom,
|
|
1078
|
+
leaveTo: H.leaveTo,
|
|
2386
1079
|
afterLeave: () => n(""),
|
|
2387
|
-
children: /* @__PURE__ */ l(
|
|
2388
|
-
className:
|
|
1080
|
+
children: /* @__PURE__ */ l(x, {
|
|
1081
|
+
className: H.selectOptions,
|
|
2389
1082
|
children: e
|
|
2390
1083
|
})
|
|
2391
|
-
}),
|
|
1084
|
+
}), G = n((e, t) => /* @__PURE__ */ l(b, {
|
|
2392
1085
|
ref: t,
|
|
2393
1086
|
className: e.className,
|
|
2394
1087
|
value: e.value,
|
|
2395
1088
|
disabled: e.disable,
|
|
2396
1089
|
children: e.children
|
|
2397
1090
|
}));
|
|
2398
|
-
|
|
2399
|
-
var
|
|
1091
|
+
G.displayName = "SelectOption";
|
|
1092
|
+
var K = {
|
|
2400
1093
|
autocomplete: "_autocomplete_29ukn_1",
|
|
2401
1094
|
autocompleteContainer: "_autocompleteContainer_29ukn_4",
|
|
2402
1095
|
disable: "_disable_29ukn_7",
|
|
@@ -2407,8 +1100,8 @@ var J = {
|
|
|
2407
1100
|
leaveFrom: "_leaveFrom_29ukn_61",
|
|
2408
1101
|
leaveTo: "_leaveTo_29ukn_65",
|
|
2409
1102
|
autocompleteOptions: "_autocompleteOptions_29ukn_69"
|
|
2410
|
-
},
|
|
2411
|
-
let v = o(null), y = o(null), b = o(null), x = o(null), [
|
|
1103
|
+
}, q = ({ children: e, selected: t, onSelect: n, setQuery: a = () => {}, disable: d, clearSearch: g = !1, themeColor: _ }) => {
|
|
1104
|
+
let v = o(null), y = o(null), b = o(null), x = o(null), [S, w] = s(!1), [T, E] = s(!1), [D, O] = s(!1), [j, M] = s({
|
|
2412
1105
|
top: 0,
|
|
2413
1106
|
left: 0
|
|
2414
1107
|
}), [N, P] = s(!1), F = o(0), ee = o(0), I = {};
|
|
@@ -2443,51 +1136,51 @@ var J = {
|
|
|
2443
1136
|
key: "ArrowDown",
|
|
2444
1137
|
bubbles: !0
|
|
2445
1138
|
}))));
|
|
2446
|
-
},
|
|
1139
|
+
}, ne = () => {
|
|
2447
1140
|
w(!0);
|
|
2448
|
-
},
|
|
1141
|
+
}, R = () => {
|
|
2449
1142
|
w(!1);
|
|
2450
1143
|
};
|
|
2451
1144
|
if (_) {
|
|
2452
|
-
let e =
|
|
2453
|
-
_ =
|
|
1145
|
+
let e = k(_);
|
|
1146
|
+
_ = A.convert3HexTo6(_);
|
|
2454
1147
|
let t;
|
|
2455
|
-
t = _ === "#ffffff" ? "#c8c8c8" :
|
|
1148
|
+
t = _ === "#ffffff" ? "#c8c8c8" : S ? _ : "#333333", (e === "dark" || e === "light") && (I = { borderBottomColor: t });
|
|
2456
1149
|
}
|
|
2457
|
-
return /* @__PURE__ */ l(
|
|
1150
|
+
return /* @__PURE__ */ l(p, {
|
|
2458
1151
|
value: t,
|
|
2459
1152
|
onChange: n,
|
|
2460
|
-
disabled:
|
|
1153
|
+
disabled: d,
|
|
2461
1154
|
children: ({ open: t }) => (t !== T && (E(t), t ? L() : P(!1)), /* @__PURE__ */ u("div", {
|
|
2462
|
-
className:
|
|
1155
|
+
className: K.autocomplete,
|
|
2463
1156
|
children: [/* @__PURE__ */ u("div", {
|
|
2464
1157
|
ref: b,
|
|
2465
|
-
className: `${
|
|
2466
|
-
children: [/* @__PURE__ */ l(
|
|
1158
|
+
className: `${K.autocompleteContainer} ${d ? K.disable : ""}`,
|
|
1159
|
+
children: [/* @__PURE__ */ l(h, {
|
|
2467
1160
|
ref: v,
|
|
2468
1161
|
"data-testid": "select-input",
|
|
2469
|
-
className:
|
|
1162
|
+
className: K.autocompleteInput,
|
|
2470
1163
|
displayValue: (e) => e?.label || "",
|
|
2471
1164
|
onChange: (e) => {
|
|
2472
1165
|
a(e.target.value);
|
|
2473
1166
|
},
|
|
2474
1167
|
onClick: te,
|
|
2475
|
-
onFocus:
|
|
2476
|
-
onBlur:
|
|
1168
|
+
onFocus: ne,
|
|
1169
|
+
onBlur: R,
|
|
2477
1170
|
style: { ...I },
|
|
2478
1171
|
placeholder: "Select your option",
|
|
2479
1172
|
autoComplete: "off"
|
|
2480
|
-
}), /* @__PURE__ */ l(
|
|
2481
|
-
className:
|
|
1173
|
+
}), /* @__PURE__ */ l(m, {
|
|
1174
|
+
className: K.autocompleteButton,
|
|
2482
1175
|
"data-testid": "select-button",
|
|
2483
1176
|
ref: y,
|
|
2484
|
-
children: /* @__PURE__ */ l(
|
|
2485
|
-
className: `${
|
|
1177
|
+
children: /* @__PURE__ */ l(C, {
|
|
1178
|
+
className: `${K.chevronDownIcon} ${d ? K.disable : ""}`,
|
|
2486
1179
|
"aria-hidden": "true",
|
|
2487
1180
|
"data-open": t ? !0 : void 0
|
|
2488
1181
|
})
|
|
2489
1182
|
})]
|
|
2490
|
-
}), D ?
|
|
1183
|
+
}), D ? f(/* @__PURE__ */ l(c, { children: t && /* @__PURE__ */ l("div", {
|
|
2491
1184
|
style: {
|
|
2492
1185
|
position: "fixed",
|
|
2493
1186
|
inset: 0,
|
|
@@ -2500,8 +1193,8 @@ var J = {
|
|
|
2500
1193
|
position: "absolute",
|
|
2501
1194
|
opacity: +!!N,
|
|
2502
1195
|
width: b.current ? b.current.clientWidth : "auto",
|
|
2503
|
-
left:
|
|
2504
|
-
top:
|
|
1196
|
+
left: j.left,
|
|
1197
|
+
top: j.top,
|
|
2505
1198
|
zIndex: 1e3
|
|
2506
1199
|
},
|
|
2507
1200
|
children: e
|
|
@@ -2509,17 +1202,17 @@ var J = {
|
|
|
2509
1202
|
}) }), document.body) : null]
|
|
2510
1203
|
}))
|
|
2511
1204
|
});
|
|
2512
|
-
},
|
|
1205
|
+
}, J = ({ children: e, setQuery: n }) => /* @__PURE__ */ l(S, {
|
|
2513
1206
|
as: t,
|
|
2514
|
-
leave:
|
|
2515
|
-
leaveFrom:
|
|
2516
|
-
leaveTo:
|
|
1207
|
+
leave: K.leave,
|
|
1208
|
+
leaveFrom: K.leaveFrom,
|
|
1209
|
+
leaveTo: K.leaveTo,
|
|
2517
1210
|
afterLeave: () => n(""),
|
|
2518
|
-
children: /* @__PURE__ */ l(
|
|
2519
|
-
className:
|
|
1211
|
+
children: /* @__PURE__ */ l(_, {
|
|
1212
|
+
className: K.autocompleteOptions,
|
|
2520
1213
|
children: e
|
|
2521
1214
|
})
|
|
2522
|
-
}), Y = n((e, t) => /* @__PURE__ */ l(
|
|
1215
|
+
}), Y = n((e, t) => /* @__PURE__ */ l(g, {
|
|
2523
1216
|
ref: t,
|
|
2524
1217
|
className: e.className,
|
|
2525
1218
|
value: e.value,
|
|
@@ -2530,9 +1223,9 @@ Y.displayName = "AutoCompleteOption";
|
|
|
2530
1223
|
var X = {
|
|
2531
1224
|
textInputWrapper: "_textInputWrapper_gym4n_1",
|
|
2532
1225
|
textInput: "_textInput_gym4n_1"
|
|
2533
|
-
},
|
|
1226
|
+
}, Z = e.memo(n(({ themeColor: e = "", style: t = {}, className: n = "", onFocus: r, onBlur: i, ...a }, o) => {
|
|
2534
1227
|
let [c, u] = s(!1), d = {}, f = [X.textInput, n].filter(Boolean).join(" ");
|
|
2535
|
-
return e =
|
|
1228
|
+
return e = A.convert3HexTo6(e), d = { borderBottomColor: c ? e === "#ffffff" ? "#c8c8c8" : e : "" }, /* @__PURE__ */ l("div", {
|
|
2536
1229
|
className: X.textInputWrapper,
|
|
2537
1230
|
children: /* @__PURE__ */ l("input", {
|
|
2538
1231
|
type: "text",
|
|
@@ -2552,7 +1245,7 @@ var X = {
|
|
|
2552
1245
|
...a
|
|
2553
1246
|
})
|
|
2554
1247
|
});
|
|
2555
|
-
})),
|
|
1248
|
+
})), Q = {
|
|
2556
1249
|
phoneWrapper: "_phoneWrapper_dwcpz_1",
|
|
2557
1250
|
countryCode: "_countryCode_dwcpz_4",
|
|
2558
1251
|
phoneInputWrap: "_phoneInputWrap_dwcpz_11",
|
|
@@ -2561,7 +1254,7 @@ var X = {
|
|
|
2561
1254
|
phonNumberList: "_phonNumberList_dwcpz_21",
|
|
2562
1255
|
active: "_active_dwcpz_30",
|
|
2563
1256
|
countryListText: "_countryListText_dwcpz_33"
|
|
2564
|
-
},
|
|
1257
|
+
}, se = ({ countryShortName: e, required: t = !1, themeColor: n = "", onUpdate: r, placeholder: a = "", error: d = !1, validate: f = !0, id: p = "", phoneNumberValue: m = "", countryCodeFromURL: h = "", additionalClassName: g = "", type: _ = "tel", inputMode: v = "numeric" }) => {
|
|
2565
1258
|
let [y, b] = s(d), x = o(e && e !== "001" ? e : "US");
|
|
2566
1259
|
i(() => {
|
|
2567
1260
|
if (h) {
|
|
@@ -2569,14 +1262,14 @@ var X = {
|
|
|
2569
1262
|
e && (A(e), x.current = h);
|
|
2570
1263
|
}
|
|
2571
1264
|
}, [h]);
|
|
2572
|
-
let S = (e, t) => JSON.stringify(e) === JSON.stringify(t),
|
|
2573
|
-
label: e + " +" +
|
|
1265
|
+
let S = (e, t) => JSON.stringify(e) === JSON.stringify(t), C = w().sort((e, t) => D[e] < D[t] ? -1 : +(D[e] > D[t])).map((e) => ({
|
|
1266
|
+
label: e + " +" + T(e),
|
|
2574
1267
|
value: e
|
|
2575
|
-
})), O = (e) =>
|
|
1268
|
+
})), O = (e) => C.find((t) => t.value == e), [k, A] = s(() => O(x.current) || null), j = (e) => {
|
|
2576
1269
|
x.current = e, A(O(e)), P(M.current);
|
|
2577
1270
|
}, M = o(m ?? ""), N = (e) => {
|
|
2578
1271
|
let t = e.trim();
|
|
2579
|
-
return t && x.current ? /^(\d)\1*$/.test(e.trim()) ? !1 :
|
|
1272
|
+
return t && x.current ? /^(\d)\1*$/.test(e.trim()) ? !1 : E(`+${T(x.current)}${t}`) : !0;
|
|
2580
1273
|
}, P = (e, n = !1) => {
|
|
2581
1274
|
f || r({
|
|
2582
1275
|
phoneNumber: e,
|
|
@@ -2595,31 +1288,31 @@ var X = {
|
|
|
2595
1288
|
});
|
|
2596
1289
|
};
|
|
2597
1290
|
return /* @__PURE__ */ l(c, { children: /* @__PURE__ */ u("div", {
|
|
2598
|
-
className: `${
|
|
1291
|
+
className: `${Q.phoneWrapper} ${g?.trim() || ""}`,
|
|
2599
1292
|
"data-testid": "phone-wrapper",
|
|
2600
1293
|
children: [/* @__PURE__ */ l("div", {
|
|
2601
|
-
className: `${
|
|
2602
|
-
children: /* @__PURE__ */ l(
|
|
1294
|
+
className: `${Q.countryCode} ouiCountryCode`,
|
|
1295
|
+
children: /* @__PURE__ */ l(U, {
|
|
2603
1296
|
selected: k,
|
|
2604
1297
|
onSelect: j,
|
|
2605
1298
|
"data-testid": "phone-select",
|
|
2606
1299
|
themeColor: n,
|
|
2607
1300
|
children: /* @__PURE__ */ l("div", {
|
|
2608
|
-
className: `${
|
|
2609
|
-
children: /* @__PURE__ */ l(
|
|
1301
|
+
className: `${Q.phonNumberList} ouiPhonNumberList`,
|
|
1302
|
+
children: /* @__PURE__ */ l(W, {
|
|
2610
1303
|
setQuery: () => {},
|
|
2611
1304
|
"data-testid": "phone-select-options",
|
|
2612
|
-
children:
|
|
1305
|
+
children: C.map((e) => /* @__PURE__ */ l(G, {
|
|
2613
1306
|
disable: !1,
|
|
2614
1307
|
value: e.value,
|
|
2615
|
-
className: ({ active: t }) => `${t || S(k, e) ?
|
|
1308
|
+
className: ({ active: t }) => `${t || S(k, e) ? Q.active : ""}`,
|
|
2616
1309
|
"data-testid": `phone-select-option-${e.value}`,
|
|
2617
1310
|
children: /* @__PURE__ */ l("div", {
|
|
2618
|
-
className: `${
|
|
1311
|
+
className: `${Q.countryListText} ouiCountryListText`,
|
|
2619
1312
|
children: /* @__PURE__ */ u("span", { children: [
|
|
2620
|
-
|
|
1313
|
+
D[e.value],
|
|
2621
1314
|
" +",
|
|
2622
|
-
|
|
1315
|
+
T(e.value)
|
|
2623
1316
|
] })
|
|
2624
1317
|
})
|
|
2625
1318
|
}, e.value))
|
|
@@ -2627,13 +1320,13 @@ var X = {
|
|
|
2627
1320
|
})
|
|
2628
1321
|
})
|
|
2629
1322
|
}), /* @__PURE__ */ l("div", {
|
|
2630
|
-
className: `${
|
|
2631
|
-
children: /* @__PURE__ */ l(
|
|
1323
|
+
className: `${Q.phoneInputWrap} ouiPhoneInputWrap`,
|
|
1324
|
+
children: /* @__PURE__ */ l(Z, {
|
|
2632
1325
|
type: _,
|
|
2633
1326
|
inputMode: v,
|
|
2634
1327
|
"aria-labelledby": "phone-number",
|
|
2635
1328
|
placeholder: a,
|
|
2636
|
-
className: `${
|
|
1329
|
+
className: `${Q.phoneInput} ${y && f ? Q.serverError : ""} ouiPhoneInput`,
|
|
2637
1330
|
id: p,
|
|
2638
1331
|
value: m ?? "",
|
|
2639
1332
|
onBlur: (e) => {
|
|
@@ -2647,13 +1340,13 @@ var X = {
|
|
|
2647
1340
|
})
|
|
2648
1341
|
})]
|
|
2649
1342
|
}) });
|
|
2650
|
-
},
|
|
1343
|
+
}, ce = {
|
|
2651
1344
|
progress: "_progress_1piqy_1",
|
|
2652
1345
|
"progress-bar": "_progress-bar_1piqy_9"
|
|
2653
|
-
},
|
|
1346
|
+
}, le = ({ value: e, mode: t, strokeWidth: n = 4, barColor: r = "#1976d2", trackColor: i = "rgba(25,118,210,0.3)" }) => {
|
|
2654
1347
|
let o = t ?? (e == null ? "indeterminate" : "determinate"), s = a(() => o === "determinate" && e != null ? Math.max(0, Math.min(100, e)) : 0, [o, e]);
|
|
2655
1348
|
return /* @__PURE__ */ u(c, { children: [/* @__PURE__ */ l("div", {
|
|
2656
|
-
className:
|
|
1349
|
+
className: ce.progress,
|
|
2657
1350
|
role: "progressbar",
|
|
2658
1351
|
"aria-valuemin": o === "determinate" ? 0 : void 0,
|
|
2659
1352
|
"aria-valuemax": o === "determinate" ? 100 : void 0,
|
|
@@ -2663,7 +1356,7 @@ var X = {
|
|
|
2663
1356
|
backgroundColor: i
|
|
2664
1357
|
},
|
|
2665
1358
|
children: /* @__PURE__ */ l("div", {
|
|
2666
|
-
className:
|
|
1359
|
+
className: ce["progress-bar"],
|
|
2667
1360
|
style: {
|
|
2668
1361
|
height: n,
|
|
2669
1362
|
width: o === "determinate" ? `${s}%` : void 0,
|
|
@@ -2684,7 +1377,7 @@ var X = {
|
|
|
2684
1377
|
radioBtnCircle: "_radioBtnCircle_e4gpr_27",
|
|
2685
1378
|
radioBtnChecked: "_radioBtnChecked_e4gpr_30",
|
|
2686
1379
|
radioBtnCircleInside: "_radioBtnCircleInside_e4gpr_33"
|
|
2687
|
-
},
|
|
1380
|
+
}, ue = ({ themeColor: e, name: t, checked: n, onChange: r, option: i }) => {
|
|
2688
1381
|
let a = e?.toLowerCase() === "#ffffff" ? "#c8c8c8" : e, o = (e) => {
|
|
2689
1382
|
r(e);
|
|
2690
1383
|
};
|
|
@@ -2736,6 +1429,6 @@ var X = {
|
|
|
2736
1429
|
});
|
|
2737
1430
|
};
|
|
2738
1431
|
//#endregion
|
|
2739
|
-
export {
|
|
1432
|
+
export { q as AutoComplete, Y as AutoCompleteOption, J as AutoCompleteOptions, j as Button, P as Checkbox, A as ColorsService, ee as MultiLineInput, ne as MultiSelect, re as MultiSelectWithCount, se as Phone, le as ProgressBar, ie as QuickMultiSelect, ae as QuickSelect, ue as Radio, V as Scrollbar, U as Select, G as SelectOption, W as SelectOptions, Z as SingleLineInput };
|
|
2740
1433
|
|
|
2741
1434
|
//# sourceMappingURL=ui-react.es.js.map
|