@oncehub/ui-react 1.6.2-beta.0.0 → 1.6.2-beta.0.1
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/components/index.d.ts +1 -0
- package/dist/ui-react.es.js +631 -582
- package/dist/ui-react.es.js.map +1 -1
- package/dist/ui-react.umd.js +35 -35
- package/dist/ui-react.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/ui-react.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode("*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.tw-absolute{position:absolute}.tw-relative{position:relative}.tw-left-1\\/2{left:50%}.tw-top-1\\/2{top:50%}.tw-my-\\[6px\\]{margin-top:6px;margin-bottom:6px}.tw-ml-\\[-5px\\]{margin-left:-5px}.tw-mr-\\[10px\\]{margin-right:10px}.tw-mr-\\[9px\\]{margin-right:9px}.tw-mt-\\[-5px\\]{margin-top:-5px}.tw-mt-px{margin-top:1px}.tw-block{display:block}.tw-inline-block{display:inline-block}.tw-flex{display:flex}.tw-h-20{height:5rem}.tw-h-5{height:1.25rem}.tw-h-\\[10px\\]{height:10px}.tw-max-h-5{max-height:1.25rem}.tw-w-5{width:1.25rem}.tw-w-\\[10px\\]{width:10px}.tw-cursor-default{cursor:default}.tw-cursor-pointer{cursor:pointer}.tw-select-none{user-select:none}.tw-flex-col{flex-direction:column}.tw-items-center{align-items:center}.tw-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tw-rounded-full{border-radius:9999px}.tw-border{border-width:1px}.tw-border-2{border-width:2px}.tw-border-solid{border-style:solid}.tw-bg-\\[\\#EEEEEE\\]{--tw-bg-opacity: 1;background-color:rgb(238 238 238 / var(--tw-bg-opacity))}.tw-py-2{padding-top:.5rem;padding-bottom:.5rem}.tw-pl-4{padding-left:1rem}.tw-pr-4{padding-right:1rem}.tw-text-\\[16px\\]{font-size:16px}.tw-text-base{font-size:1rem;line-height:1.5rem}.tw-font-medium{font-weight:500}.tw-font-normal{font-weight:400}.tw-leading-\\[22px\\]{line-height:22px}.tw-text-\\[\\#333333\\]{--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}.tw-opacity-0{opacity:0}._button_1q2ge_1{box-sizing:border-box;display:flex;cursor:pointer;align-items:center;justify-content:center;border-width:1px;border-style:solid;text-align:center;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}._button_1q2ge_1:hover{text-decoration-line:underline}._button_1q2ge_1:focus{text-decoration-line:underline}._button_1q2ge_1:disabled{cursor:default}._button_1q2ge_1:hover:disabled{text-decoration-line:none}._primary_1q2ge_5{border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(0 107 177 / var(--tw-bg-opacity));font-weight:500;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity));outline-color:#006bb1}._primary_1q2ge_5:focus{outline-width:2px;outline-offset:3px}._primary_1q2ge_5:disabled{--tw-border-opacity: 1;border-color:rgb(200 200 200 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(200 200 200 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}._secondary_1q2ge_12{--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));font-weight:400;--tw-text-opacity: 1;color:rgb(0 107 177 / var(--tw-text-opacity))}._secondary_1q2ge_12:hover{border-color:transparent;outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._secondary_1q2ge_12:focus{border-color:transparent;outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._secondary_1q2ge_12:disabled{--tw-border-opacity: 1;border-color:rgb(200 200 200 / var(--tw-border-opacity));--tw-text-opacity: 1;color:rgb(200 200 200 / var(--tw-text-opacity))}._secondary_1q2ge_12:disabled:hover{outline-width:0px}._secondary_1q2ge_12:disabled:focus{outline-width:0px}._small_1q2ge_19{min-height:35px;min-width:70px;padding:4px 22px;font-size:.875rem;line-height:1.25rem;line-height:22px}._small_1q2ge_19._rounded_1q2ge_22{border-radius:18px}._medium_1q2ge_26{min-height:40px;min-width:74px;padding:7px 22px;font-size:.875rem;line-height:1.25rem;line-height:22px}._medium_1q2ge_26._rounded_1q2ge_22{border-radius:20px}._large_1q2ge_33{min-height:44px;min-width:94px;padding-left:1.5rem;padding-right:1.5rem;padding-top:8px;padding-bottom:8px;font-size:1rem;line-height:1.5rem;line-height:24px}._large_1q2ge_33._rounded_1q2ge_22{border-radius:22px}._squared_1q2ge_40{border-radius:.25rem}._checkboxLayout_bt7qx_1{display:inline-flex;width:100%;align-items:center;white-space:nowrap;vertical-align:middle}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4{display:flex;width:100%;cursor:pointer;align-items:baseline;gap:.5rem;font-size:.875rem;line-height:1.25rem;line-height:22px;letter-spacing:0;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4>span{white-space:normal;font-size:.875rem;line-height:1.25rem;line-height:22px;letter-spacing:0;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10{position:relative;top:2px;display:inline-block;height:1rem;width:1rem;flex-shrink:0;cursor:pointer;white-space:nowrap;border-width:0px;vertical-align:middle;line-height:0;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);outline-width:0px}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxInput_bt7qx_13{position:absolute;bottom:0;left:0;height:0px;width:0px;appearance:none;border-width:0px;padding:0;opacity:0;outline-width:0px}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxInput_bt7qx_13:checked+._checkboxFrame_bt7qx_16{--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(0 107 177 / var(--tw-bg-opacity))}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxInput_bt7qx_13:checked+._checkboxFrame_bt7qx_16 ._checkboxCheckMark_bt7qx_19{opacity:1}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxInput_bt7qx_13:checked+._checkboxFrame_bt7qx_16 ._checkboxCheckMark_bt7qx_19 ._checkboxCheckMarkPath_bt7qx_22{animation:.18s linear 0ms _checkboxUncheckedChecked_bt7qx_1;stroke-dashoffset:0}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxInput_bt7qx_13:disabled+._checkboxFrame_bt7qx_16{--tw-border-opacity: 1;border-color:rgb(228 228 228 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(249 249 249 / var(--tw-bg-opacity))}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxFrame_bt7qx_16{position:absolute;inset:0;box-sizing:border-box;border-radius:3px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(156 156 156 / var(--tw-border-opacity));background-color:transparent}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxFrame_bt7qx_16 ._checkboxCheckMark_bt7qx_19{position:absolute;inset:0;width:100%}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxFrame_bt7qx_16 ._checkboxCheckMark_bt7qx_19 ._checkboxCheckMarkPath_bt7qx_22{stroke-width:3px;stroke-dashoffset:23;stroke-dasharray:23}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10:focus-visible ._checkboxFrame_bt7qx_16{outline-style:solid;outline-width:2px;outline-offset:-1px;outline-color:#006bb1}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._visuallyHidden_bt7qx_43{position:absolute;width:0px;height:0px;margin:0;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}._checkboxLayout_bt7qx_1._checkboxDisabled_bt7qx_53{pointer-events:none;cursor:default}._checkboxLayout_bt7qx_1._checkboxDisabled_bt7qx_53 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxFrame_bt7qx_16{--tw-border-opacity: 1;border-color:rgb(228 228 228 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(249 249 249 / var(--tw-bg-opacity))}._checkboxLayout_bt7qx_1._medium_bt7qx_59 ._checkboxLabel_bt7qx_4>span{width:calc(100% - 24px);font-size:.875rem;line-height:1.25rem}._checkboxLayout_bt7qx_1._medium_bt7qx_59 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10{height:1rem;width:1rem}._checkboxLayout_bt7qx_1._large_bt7qx_65 ._checkboxLabel_bt7qx_4>span{width:calc(100% - 27px);font-size:1rem;line-height:1.5rem}._checkboxLayout_bt7qx_1._large_bt7qx_65 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10{top:4px;height:1.25rem;width:1.25rem}@keyframes _checkboxUncheckedChecked_bt7qx_1{0%,50%{stroke-dashoffset:23}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}to{stroke-dashoffset:0}}._textInputWrapper_1i9m6_1{width:100%}._textInputWrapper_1i9m6_1 ._textInput_1i9m6_1{box-sizing:border-box;display:block;height:2.5rem;max-height:225px;width:100%;resize:none;border-width:0px;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(51 51 51 / var(--tw-border-opacity));padding-left:10px;padding-right:10px;padding-bottom:.5rem;padding-top:7px;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}._textInputWrapper_1i9m6_1 ._textInput_1i9m6_1:focus{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));padding-bottom:7px}._multiSelectContainer_lh9wi_1,._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4{position:relative;width:100%}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7{position:relative;height:2.5rem;width:100%}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7{box-sizing:border-box;display:block;height:100%;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-width:0px;border-bottom-width:1px;border-style:solid;--tw-border-opacity: 1;border-bottom-color:rgb(51 51 51 / var(--tw-border-opacity));padding-bottom:.5rem;padding-left:10px;padding-right:2.75rem;padding-top:.5rem;font-size:1rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}._multiSelectContainer_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))}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7:focus-within{outline:2px solid transparent;outline-offset:2px}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7:focus{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));padding-bottom:7px}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7:focus-visible{outline:2px solid transparent;outline-offset:2px}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7._focused_lh9wi_13{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));padding-bottom:7px;outline:2px solid transparent;outline-offset:2px}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7._placeholder_lh9wi_16{--tw-text-opacity: 1;color:rgb(102 102 102 / var(--tw-text-opacity))}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._dropDownIcon_lh9wi_19{position:absolute;right:.5rem;top:50%;display:flex;height:100%;width:1.75rem;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));cursor:pointer;align-items:center;justify-content:center}._optionsListContainer_lh9wi_23{position:absolute;z-index:10;margin-top:0;max-height:293px;width:100%;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding-bottom:4rem;font-size:.875rem;line-height:1.25rem;line-height:22px;--tw-shadow: 0 1px 6px 0 rgba(0,0,0,.5);--tw-shadow-colored: 0 1px 6px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}._optionsListContainer_lh9wi_23:focus{outline:2px solid transparent;outline-offset:2px}._optionsListContainer_lh9wi_23._top_lh9wi_26{transform:translateY(calc(-100% - 40px))}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29{max-height:225px;overflow:auto;padding-top:1rem;padding-bottom:1rem}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._searchInputWrap_lh9wi_32{margin-bottom:.5rem;height:2.5rem;padding-left:10px;padding-right:10px}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._searchInputWrap_lh9wi_32 ._searchInput_lh9wi_32{box-sizing:border-box;height:100%;width:100%;padding-top:.5rem;padding-bottom:.5rem;padding-left:10px;outline-style:solid;outline-width:1px;outline-offset:-2px;outline-color:#c8c8c8}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ul{margin:0;padding:0}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._optionsList_lh9wi_23{box-sizing:border-box;display:flex;list-style-type:none;align-items:flex-start;gap:.5rem;padding-left:10px;padding-right:10px;padding-top:.5rem;padding-bottom:.5rem}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._optionsList_lh9wi_23 span{word-break:break-word;display:block;width:calc(100% - 22px);overflow-wrap:break-word;font-size:.875rem;line-height:1.25rem;line-height:22px}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._optionsList_lh9wi_23:hover,._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._optionsList_lh9wi_23._focused_lh9wi_13{--tw-bg-opacity: 1;background-color:rgb(238 238 238 / var(--tw-bg-opacity))}._optionsListContainer_lh9wi_23 ._btnContainer_lh9wi_54{position:absolute;left:0;right:0;box-sizing:border-box;display:flex;height:64px;width:100%;align-items:center;justify-content:flex-end;border-width:0px;border-top-width:1px;border-style:solid;--tw-border-opacity: 1;border-top-color:rgb(200 200 200 / var(--tw-border-opacity));padding-left:18px;padding-right:18px}._optionsListContainer_lh9wi_23 ._btnContainer_lh9wi_54 ._hiddenButton_lh9wi_57{position:absolute;left:-9999px;height:0px;width:0px;opacity:0}._optionsListContainer_lh9wi_23 ::-webkit-scrollbar{width:6px}._optionsListContainer_lh9wi_23 ::-webkit-scrollbar-thumb{background-color:#a9a9a9;border-radius:6px}._announcement_lh9wi_70{pointer-events:none;height:0px;overflow:hidden;opacity:0}._pseudoCheckbox_z8j4c_1{position:relative;top:3px;box-sizing:border-box;height:1rem;width:1rem;border-radius:3px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(156 156 156 / var(--tw-border-opacity))}._pseudoCheckbox_z8j4c_1 ._checkboxCheckMark_z8j4c_4{position:absolute;inset:0;width:100%}._pseudoCheckbox_z8j4c_1 ._checkboxCheckMark_z8j4c_4 ._checkboxCheckMarkPath_z8j4c_7{stroke-width:3px;stroke-dashoffset:23;stroke-dasharray:23}._pseudoCheckbox_z8j4c_1._checked_z8j4c_12{--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(0 107 177 / var(--tw-bg-opacity))}._pseudoCheckbox_z8j4c_1._checked_z8j4c_12 ._checkboxCheckMark_z8j4c_4{opacity:1}._pseudoCheckbox_z8j4c_1._checked_z8j4c_12 ._checkboxCheckMark_z8j4c_4 ._checkboxCheckMarkPath_z8j4c_7{animation:.18s linear 0ms _checkboxUncheckedChecked_z8j4c_1;stroke-dashoffset:0}._pseudoCheckbox_z8j4c_1._checkboxDisabled_z8j4c_22{pointer-events:none;cursor:default;--tw-border-opacity: 1;border-color:rgb(228 228 228 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(249 249 249 / var(--tw-bg-opacity))}@keyframes _checkboxUncheckedChecked_z8j4c_1{0%,50%{stroke-dashoffset:23}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}to{stroke-dashoffset:0}}._multiSelectContainer_1rhxq_1{position:relative}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4{margin-right:-.75rem;display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li{word-break:break-word;position:relative;box-sizing:border-box;display:inline-flex;min-width:80px;cursor:pointer;list-style-type:none;align-items:center;overflow-wrap:break-word;border-radius:4px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));background-color:transparent;padding:8px 14px;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(0 107 177 / var(--tw-text-opacity))}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li:hover,._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li:focus-visible,._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li._selected_1rhxq_11{outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li:hover,._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li:focus-visible{text-decoration-line:underline}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li._disabled_1rhxq_17{pointer-events:none!important;cursor:default!important;--tw-border-opacity: 1 !important;border-color:rgb(228 228 228 / var(--tw-border-opacity))!important;--tw-text-opacity: 1 !important;color:rgb(51 51 51 / var(--tw-text-opacity))!important;text-decoration-line:none!important;outline-width:0px!important}._singleSelectWrapper_1x2o4_1{position:relative}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4{display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li{position:relative;box-sizing:border-box;display:inline-flex;min-height:44px;min-width:80px;cursor:pointer;list-style-type:none;align-items:center;word-break:break-all;border-radius:4px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));background-color:transparent;padding-left:1.5rem;padding-right:1.5rem;padding-top:9px;padding-bottom:9px;text-align:center;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(0 107 177 / var(--tw-text-opacity))}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li:hover,._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li:focus-visible,._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li._selected_1x2o4_10{outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li:hover,._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li:focus-visible{text-decoration-line:underline}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16{position:absolute;right:0;top:0;display:inline-block;height:0px;width:0px;border-width:11px;border-style:solid;border-bottom-color:transparent;border-left-color:transparent;border-right-color:rgb(0 107 177 / var(--tw-border-opacity));--tw-border-opacity: 1;border-top-color:rgb(0 107 177 / var(--tw-border-opacity))}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16 ._loader_1x2o4_19{position:absolute;left:0;top:-10px;height:10px;width:10px}@keyframes _tw-spin_1x2o4_1{to{transform:rotate(360deg)}}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16 ._loader_1x2o4_19{animation:_tw-spin_1x2o4_1 1s linear infinite;border-radius:50%;border-width:2px;border-style:solid;border-color:rgb(255 255 255 / var(--tw-border-opacity));--tw-border-opacity: 1;border-right-color:rgb(0 107 177 / var(--tw-border-opacity))}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16 ._checkmarkWrap_1x2o4_22{position:absolute;left:-1px;top:-9px}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16 ._checkmarkWrap_1x2o4_22 ._checkmark_1x2o4_22{display:block;animation:_fill_1x2o4_1 .4s ease-in-out .4s forwards,_scale_1x2o4_1 .3s ease-in-out .9s both;border-radius:50%;--tw-shadow: inset 0px 0px 0px transparent;--tw-shadow-colored: inset 0px 0px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);stroke-miterlimit:10}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16 ._checkmarkWrap_1x2o4_22 ._checkmark_1x2o4_22 ._checkmarkCheck_1x2o4_29{transform-origin:50% 50%;animation:_stroke_1x2o4_1 .8s cubic-bezier(.5,0,.45,1) .2s forwards;stroke-dasharray:48;stroke-dashoffset:48}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li._disabled_1x2o4_34{pointer-events:none!important;cursor:default!important;--tw-border-opacity: 1 !important;border-color:rgb(228 228 228 / var(--tw-border-opacity))!important;--tw-text-opacity: 1 !important;color:rgb(51 51 51 / var(--tw-text-opacity))!important;text-decoration-line:none!important;outline-width:0px!important}@keyframes _scale_1x2o4_1{0%,to{transform:none}50%{transform:scale3d(1.1,1.1,1)}}@keyframes _fill_1x2o4_1{to{box-shadow:inset 0 0 0 30px transparent}}@keyframes _stroke_1x2o4_1{to{stroke-dashoffset:0}}._scrollbarContainer_40vsr_1{overflow-y:auto}._scrollbarContainer_40vsr_1::-webkit-scrollbar{width:10px}._scrollbarContainer_40vsr_1::-webkit-scrollbar-track{display:none}._scrollbarContainer_40vsr_1::-webkit-scrollbar-thumb{background-color:#ccc!important;border:2px #fff solid;border-radius:15px}._scrollbarContainer_40vsr_1{@supports not selector(::-webkit-scrollbar){scrollbar-width:thin;scrollbar-color:#ccc #0000}}._select_c79hj_1,._select_c79hj_1 ._selectContainer_c79hj_4{position:relative}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7{position:relative;box-sizing:border-box;height:2.5rem;width:100%;cursor:pointer;border-left-width:0px;border-right-width:0px;border-bottom-width:1px;border-top-width:1px;border-style:solid;border-top-color:transparent;--tw-border-opacity: 1;border-bottom-color:rgb(51 51 51 / var(--tw-border-opacity));background-color:transparent;padding-top:.375rem;padding-bottom:.375rem;padding-left:10px;padding-right:2rem;text-align:left;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7:focus{border-bottom-width:2px;border-top-width:2px;--tw-border-opacity: 1;border-bottom-color:rgb(0 107 177 / var(--tw-border-opacity));padding-top:5px;padding-bottom:5px;outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7._open_c79hj_13{border-bottom-width:2px;border-top-width:2px;--tw-border-opacity: 1;border-bottom-color:rgb(0 107 177 / var(--tw-border-opacity))}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._selectValue_c79hj_16{display:flex;align-items:center}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._selectValue_c79hj_16 ._seletIcon_c79hj_19{margin-right:.5rem;height:1.25rem;width:1.25rem;flex-shrink:0}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._selectValue_c79hj_16 ._selectText_c79hj_22{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._chevronDownIconSpan_c79hj_25{pointer-events:none;position:absolute;top:0;bottom:0;right:0;display:flex;align-items:center;padding-right:.5rem}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._chevronDownIconSpan_c79hj_25 ._chevronDownIcon_c79hj_25{height:1.25rem;width:1.25rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}._leave_c79hj_32{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,1,1)}._leaveFrom_c79hj_36{opacity:1}._leaveTo_c79hj_40{opacity:0}._selectOptions_c79hj_44{margin:0;max-height:200px;width:100%;list-style-type:none;overflow:auto;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:10px 0;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 1px 6px 0 rgba(0,0,0,.5);--tw-shadow-colored: 0 1px 6px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 640px){._selectOptions_c79hj_44{font-size:.875rem;line-height:1.25rem}}._selectOptions_c79hj_44::-webkit-scrollbar-thumb{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(169 169 169 / var(--tw-bg-opacity))}._selectOptions_c79hj_44::-webkit-scrollbar{width:6px}._selectOptions_c79hj_44:focus{outline:2px solid transparent;outline-offset:2px}._autocomplete_1uhaj_1{position:relative}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4{position:relative;height:2.5rem;width:100%;cursor:default;overflow:hidden;background-color:transparent;text-align:left;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4._disable_1uhaj_7{--tw-text-opacity: 1;color:rgb(167 167 167 / var(--tw-text-opacity))}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4:focus{outline:2px solid transparent;outline-offset:2px}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(223 223 223 / var(--tw-ring-opacity));--tw-ring-offset-width: 2px;--tw-ring-offset-color: #DFDFDF }._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteInput_1uhaj_16{box-sizing:border-box;height:100%;width:100%;border-width:0px;border-bottom-width:1px;--tw-border-opacity: 1;border-bottom-color:rgb(51 51 51 / var(--tw-border-opacity));background-color:transparent;padding-bottom:.5rem;padding-left:10px;padding-right:2.5rem;padding-top:.5rem;font-size:1rem;line-height:1.25rem}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteInput_1uhaj_16::placeholder{--tw-placeholder-opacity: 1;color:rgb(102 102 102 / var(--tw-placeholder-opacity))}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteInput_1uhaj_16{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteInput_1uhaj_16:focus{border-bottom-width:2px;--tw-border-opacity: 1;border-bottom-color:rgb(0 107 177 / var(--tw-border-opacity));padding-bottom:7px;outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteInput_1uhaj_16:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteButton_1uhaj_25{position:absolute;top:0;bottom:0;right:0;display:flex;align-items:center;border-width:0px;background-color:transparent;padding-right:.5rem}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteButton_1uhaj_25 ._chevronDownIcon_1uhaj_28{height:1.25rem;width:1.25rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteButton_1uhaj_25 ._chevronDownIcon_1uhaj_28._disable_1uhaj_7{--tw-text-opacity: 1;color:rgb(167 167 167 / var(--tw-text-opacity))}._leave_1uhaj_35{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,1,1)}._leaveFrom_1uhaj_39{opacity:1}._leaveTo_1uhaj_43{opacity:0}._autocompleteOptions_1uhaj_47{margin:0;max-height:210px;width:100%;list-style-type:none;overflow:auto;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:10px 0;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 1px 6px 0 rgba(0,0,0,.5);--tw-shadow-colored: 0 1px 6px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 640px){._autocompleteOptions_1uhaj_47{font-size:.875rem;line-height:1.25rem}}._autocompleteOptions_1uhaj_47::-webkit-scrollbar-thumb{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(169 169 169 / var(--tw-bg-opacity))}._autocompleteOptions_1uhaj_47::-webkit-scrollbar{width:6px}._autocompleteOptions_1uhaj_47:focus{outline:2px solid transparent;outline-offset:2px}._textInputWrapper_gym4n_1{width:100%}._textInputWrapper_gym4n_1 ._textInput_gym4n_1{display:block;height:2.5rem;width:100%;border-width:0px;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(51 51 51 / var(--tw-border-opacity));padding-left:10px;padding-right:10px;padding-bottom:.5rem;padding-top:7px;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}._textInputWrapper_gym4n_1 ._textInput_gym4n_1:focus{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity));padding-bottom:7px}._phoneWrapper_ukkym_1{display:flex;max-width:380px;align-items:center;justify-content:space-between;gap:.75rem}._phoneWrapper_ukkym_1 ._countryCode_ukkym_4{height:2.5rem;width:100%;max-width:110px}._phoneWrapper_ukkym_1 ._countryCode_ukkym_4 button{height:2.5rem;background-color:transparent;padding-left:10px;font-weight:400;background:transparent!important}._phoneWrapper_ukkym_1 ._phoneInputWrap_ukkym_11{width:100%}._phoneWrapper_ukkym_1 ._phoneInputWrap_ukkym_11 ._phoneInput_ukkym_11{box-sizing:border-box;height:2.5rem;width:100%;border-width:0px;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(51 51 51 / var(--tw-border-opacity));background-color:transparent;padding-left:3px;padding-right:3px;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}._phoneWrapper_ukkym_1 ._phoneInputWrap_ukkym_11 ._phoneInput_ukkym_11::placeholder{--tw-placeholder-opacity: 1;color:rgb(102 102 102 / var(--tw-placeholder-opacity))}._phoneWrapper_ukkym_1 ._phoneInputWrap_ukkym_11 ._phoneInput_ukkym_11{outline:2px solid transparent;outline-offset:2px}._phoneWrapper_ukkym_1 ._phoneInputWrap_ukkym_11 ._phoneInput_ukkym_11:focus{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity))}._phoneWrapper_ukkym_1 ._phoneInputWrap_ukkym_11 ._phoneInput_ukkym_11._serverError_ukkym_17:focus{--tw-border-opacity: 1;border-bottom-color:rgb(245 77 77 / var(--tw-border-opacity))}._phonNumberList_ukkym_21{min-width:286px}._phonNumberList_ukkym_21 ul{width:auto}._phonNumberList_ukkym_21 ul li{position:relative;cursor:default;user-select:none;padding-left:10px;padding-right:10px;padding-top:.5rem;padding-bottom:.5rem}._phonNumberList_ukkym_21 ul li._active_ukkym_30{--tw-bg-opacity: 1;background-color:rgb(238 238 238 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}._phonNumberList_ukkym_21 ul li ._countryListText_ukkym_33{display:flex;align-items:center}._phonNumberList_ukkym_21 ul li ._countryListText_ukkym_33>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}._progress_1piqy_1{position:relative;overflow:hidden;max-width:100%;width:100%;margin:0 auto}._progress-bar_1piqy_9{position:absolute;display:block;left:-60%;width:60%;animation-duration:2s;animation-timing-function:linear;animation-iteration-count:infinite}")),document.head.appendChild(t)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
2
2
|
import * as $t from "react";
|
|
3
|
-
import k, { forwardRef as Pt, useState as be, useEffect as pe, useRef as D, useLayoutEffect as
|
|
3
|
+
import k, { forwardRef as Pt, useState as be, useEffect as pe, useRef as D, useLayoutEffect as x0, Fragment as vt, isValidElement as O0, cloneElement as P0, createElement as S0, createContext as Rt, useContext as St, useMemo as Ee, useReducer as Ya, createRef as za, useCallback as Ye } from "react";
|
|
4
4
|
import { createPortal as Mr } from "react-dom";
|
|
5
5
|
var E0 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
6
6
|
function Za(e) {
|
|
@@ -55,7 +55,7 @@ function T0() {
|
|
|
55
55
|
return typeof I == "function" ? I : null;
|
|
56
56
|
}
|
|
57
57
|
var b = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
58
|
-
function
|
|
58
|
+
function N(h) {
|
|
59
59
|
{
|
|
60
60
|
for (var I = arguments.length, j = new Array(I > 1 ? I - 1 : 0), J = 1; J < I; J++)
|
|
61
61
|
j[J - 1] = arguments[J];
|
|
@@ -72,10 +72,10 @@ function T0() {
|
|
|
72
72
|
Ce.unshift("Warning: " + I), Function.prototype.apply.call(console[h], console, Ce);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
-
var
|
|
75
|
+
var x = !1, w = !1, E = !1, G = !1, B = !1, C;
|
|
76
76
|
C = Symbol.for("react.module.reference");
|
|
77
77
|
function L(h) {
|
|
78
|
-
return !!(typeof h == "string" || typeof h == "function" || h === r || h === a || B || h === i || h === s || h === v || G || h === p ||
|
|
78
|
+
return !!(typeof h == "string" || typeof h == "function" || h === r || h === a || B || h === i || h === s || h === v || G || h === p || x || w || E || typeof h == "object" && h !== null && (h.$$typeof === l || h.$$typeof === m || h.$$typeof === d || h.$$typeof === o || h.$$typeof === u || // This needs to include all possible module reference object
|
|
79
79
|
// types supported by any Flight configuration anywhere since
|
|
80
80
|
// we don't know which Flight build this will end up being used
|
|
81
81
|
// with.
|
|
@@ -91,10 +91,10 @@ function T0() {
|
|
|
91
91
|
function ie(h) {
|
|
92
92
|
return h.displayName || "Context";
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function T(h) {
|
|
95
95
|
if (h == null)
|
|
96
96
|
return null;
|
|
97
|
-
if (typeof h.tag == "number" &&
|
|
97
|
+
if (typeof h.tag == "number" && N("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof h == "function")
|
|
98
98
|
return h.displayName || h.name || null;
|
|
99
99
|
if (typeof h == "string")
|
|
100
100
|
return h;
|
|
@@ -124,11 +124,11 @@ function T0() {
|
|
|
124
124
|
return te(h, h.render, "ForwardRef");
|
|
125
125
|
case m:
|
|
126
126
|
var J = h.displayName || null;
|
|
127
|
-
return J !== null ? J :
|
|
127
|
+
return J !== null ? J : T(h.type) || "Memo";
|
|
128
128
|
case l: {
|
|
129
129
|
var $e = h, Ce = $e._payload, se = $e._init;
|
|
130
130
|
try {
|
|
131
|
-
return
|
|
131
|
+
return T(se(Ce));
|
|
132
132
|
} catch {
|
|
133
133
|
return null;
|
|
134
134
|
}
|
|
@@ -136,14 +136,14 @@ function T0() {
|
|
|
136
136
|
}
|
|
137
137
|
return null;
|
|
138
138
|
}
|
|
139
|
-
var Z = Object.assign, ae = 0, de, K, ce, ue,
|
|
139
|
+
var Z = Object.assign, ae = 0, de, K, ce, ue, O, R, W;
|
|
140
140
|
function U() {
|
|
141
141
|
}
|
|
142
142
|
U.__reactDisabledLog = !0;
|
|
143
|
-
function
|
|
143
|
+
function S() {
|
|
144
144
|
{
|
|
145
145
|
if (ae === 0) {
|
|
146
|
-
de = console.log, K = console.info, ce = console.warn, ue = console.error,
|
|
146
|
+
de = console.log, K = console.info, ce = console.warn, ue = console.error, O = console.group, R = console.groupCollapsed, W = console.groupEnd;
|
|
147
147
|
var h = {
|
|
148
148
|
configurable: !0,
|
|
149
149
|
enumerable: !0,
|
|
@@ -185,7 +185,7 @@ function T0() {
|
|
|
185
185
|
value: ue
|
|
186
186
|
}),
|
|
187
187
|
group: Z({}, h, {
|
|
188
|
-
value:
|
|
188
|
+
value: O
|
|
189
189
|
}),
|
|
190
190
|
groupCollapsed: Z({}, h, {
|
|
191
191
|
value: R
|
|
@@ -195,7 +195,7 @@ function T0() {
|
|
|
195
195
|
})
|
|
196
196
|
});
|
|
197
197
|
}
|
|
198
|
-
ae < 0 &&
|
|
198
|
+
ae < 0 && N("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
var F = b.ReactCurrentDispatcher, H;
|
|
@@ -230,7 +230,7 @@ function T0() {
|
|
|
230
230
|
var $e = Error.prepareStackTrace;
|
|
231
231
|
Error.prepareStackTrace = void 0;
|
|
232
232
|
var Ce;
|
|
233
|
-
Ce = F.current, F.current = null,
|
|
233
|
+
Ce = F.current, F.current = null, S();
|
|
234
234
|
try {
|
|
235
235
|
if (I) {
|
|
236
236
|
var se = function() {
|
|
@@ -295,7 +295,7 @@ function T0() {
|
|
|
295
295
|
var I = h.prototype;
|
|
296
296
|
return !!(I && I.isReactComponent);
|
|
297
297
|
}
|
|
298
|
-
function
|
|
298
|
+
function Oe(h, I, j) {
|
|
299
299
|
if (h == null)
|
|
300
300
|
return "";
|
|
301
301
|
if (typeof h == "function")
|
|
@@ -313,11 +313,11 @@ function T0() {
|
|
|
313
313
|
case u:
|
|
314
314
|
return q(h.render);
|
|
315
315
|
case m:
|
|
316
|
-
return
|
|
316
|
+
return Oe(h.type, I, j);
|
|
317
317
|
case l: {
|
|
318
318
|
var J = h, $e = J._payload, Ce = J._init;
|
|
319
319
|
try {
|
|
320
|
-
return
|
|
320
|
+
return Oe(Ce($e), I, j);
|
|
321
321
|
} catch {
|
|
322
322
|
}
|
|
323
323
|
}
|
|
@@ -327,7 +327,7 @@ function T0() {
|
|
|
327
327
|
var Le = Object.prototype.hasOwnProperty, Ve = {}, dt = b.ReactDebugCurrentFrame;
|
|
328
328
|
function De(h) {
|
|
329
329
|
if (h) {
|
|
330
|
-
var I = h._owner, j =
|
|
330
|
+
var I = h._owner, j = Oe(h.type, h._source, I ? I.type : null);
|
|
331
331
|
dt.setExtraStackFrame(j);
|
|
332
332
|
} else
|
|
333
333
|
dt.setExtraStackFrame(null);
|
|
@@ -347,7 +347,7 @@ function T0() {
|
|
|
347
347
|
} catch (Se) {
|
|
348
348
|
oe = Se;
|
|
349
349
|
}
|
|
350
|
-
oe && !(oe instanceof Error) && (De($e),
|
|
350
|
+
oe && !(oe instanceof Error) && (De($e), N("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", J || "React class", j, se, typeof oe), De(null)), oe instanceof Error && !(oe.message in Ve) && (Ve[oe.message] = !0, De($e), N("Failed %s type: %s", j, oe.message), De(null));
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
353
|
}
|
|
@@ -373,7 +373,7 @@ function T0() {
|
|
|
373
373
|
}
|
|
374
374
|
function fe(h) {
|
|
375
375
|
if (Ft(h))
|
|
376
|
-
return
|
|
376
|
+
return N("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", wt(h)), re(h);
|
|
377
377
|
}
|
|
378
378
|
var z = b.ReactCurrentOwner, we = {
|
|
379
379
|
key: !0,
|
|
@@ -400,14 +400,14 @@ function T0() {
|
|
|
400
400
|
}
|
|
401
401
|
function zt(h, I) {
|
|
402
402
|
if (typeof h.ref == "string" && z.current && I && z.current.stateNode !== I) {
|
|
403
|
-
var j =
|
|
404
|
-
le[j] || (
|
|
403
|
+
var j = T(z.current.type);
|
|
404
|
+
le[j] || (N('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', T(z.current.type), h.ref), le[j] = !0);
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
407
|
function fn(h, I) {
|
|
408
408
|
{
|
|
409
409
|
var j = function() {
|
|
410
|
-
et || (et = !0,
|
|
410
|
+
et || (et = !0, N("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", I));
|
|
411
411
|
};
|
|
412
412
|
j.isReactWarning = !0, Object.defineProperty(h, "key", {
|
|
413
413
|
get: j,
|
|
@@ -418,7 +418,7 @@ function T0() {
|
|
|
418
418
|
function f0(h, I) {
|
|
419
419
|
{
|
|
420
420
|
var j = function() {
|
|
421
|
-
Ke || (Ke = !0,
|
|
421
|
+
Ke || (Ke = !0, N("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", I));
|
|
422
422
|
};
|
|
423
423
|
j.isReactWarning = !0, Object.defineProperty(h, "ref", {
|
|
424
424
|
get: j,
|
|
@@ -476,7 +476,7 @@ function T0() {
|
|
|
476
476
|
var Kn = b.ReactCurrentOwner, oi = b.ReactDebugCurrentFrame;
|
|
477
477
|
function kt(h) {
|
|
478
478
|
if (h) {
|
|
479
|
-
var I = h._owner, j =
|
|
479
|
+
var I = h._owner, j = Oe(h.type, h._source, I ? I.type : null);
|
|
480
480
|
oi.setExtraStackFrame(j);
|
|
481
481
|
} else
|
|
482
482
|
oi.setExtraStackFrame(null);
|
|
@@ -489,7 +489,7 @@ function T0() {
|
|
|
489
489
|
function ui() {
|
|
490
490
|
{
|
|
491
491
|
if (Kn.current) {
|
|
492
|
-
var h =
|
|
492
|
+
var h = T(Kn.current.type);
|
|
493
493
|
if (h)
|
|
494
494
|
return `
|
|
495
495
|
|
|
@@ -532,7 +532,7 @@ Check the top-level render call using <` + j + ">.");
|
|
|
532
532
|
return;
|
|
533
533
|
li[j] = !0;
|
|
534
534
|
var J = "";
|
|
535
|
-
h && h._owner && h._owner !== Kn.current && (J = " It was passed a child from " +
|
|
535
|
+
h && h._owner && h._owner !== Kn.current && (J = " It was passed a child from " + T(h._owner.type) + "."), kt(h), N('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', j, J), kt(null);
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
538
|
function ci(h, I) {
|
|
@@ -569,14 +569,14 @@ Check the top-level render call using <` + j + ">.");
|
|
|
569
569
|
else
|
|
570
570
|
return;
|
|
571
571
|
if (j) {
|
|
572
|
-
var J =
|
|
572
|
+
var J = T(I);
|
|
573
573
|
It(j, h.props, "prop", J, h);
|
|
574
574
|
} else if (I.PropTypes !== void 0 && !qn) {
|
|
575
575
|
qn = !0;
|
|
576
|
-
var $e =
|
|
577
|
-
|
|
576
|
+
var $e = T(I);
|
|
577
|
+
N("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", $e || "Unknown");
|
|
578
578
|
}
|
|
579
|
-
typeof I.getDefaultProps == "function" && !I.getDefaultProps.isReactClassApproved &&
|
|
579
|
+
typeof I.getDefaultProps == "function" && !I.getDefaultProps.isReactClassApproved && N("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
580
580
|
}
|
|
581
581
|
}
|
|
582
582
|
function b0(h) {
|
|
@@ -584,11 +584,11 @@ Check the top-level render call using <` + j + ">.");
|
|
|
584
584
|
for (var I = Object.keys(h.props), j = 0; j < I.length; j++) {
|
|
585
585
|
var J = I[j];
|
|
586
586
|
if (J !== "children" && J !== "key") {
|
|
587
|
-
kt(h),
|
|
587
|
+
kt(h), N("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", J), kt(null);
|
|
588
588
|
break;
|
|
589
589
|
}
|
|
590
590
|
}
|
|
591
|
-
h.ref !== null && (kt(h),
|
|
591
|
+
h.ref !== null && (kt(h), N("Invalid attribute `ref` supplied to `React.Fragment`."), kt(null));
|
|
592
592
|
}
|
|
593
593
|
}
|
|
594
594
|
function fi(h, I, j, J, $e, Ce) {
|
|
@@ -600,7 +600,7 @@ Check the top-level render call using <` + j + ">.");
|
|
|
600
600
|
var Be = v0($e);
|
|
601
601
|
Be ? oe += Be : oe += ui();
|
|
602
602
|
var Se;
|
|
603
|
-
h === null ? Se = "null" : Me(h) ? Se = "array" : h !== void 0 && h.$$typeof === t ? (Se = "<" + (
|
|
603
|
+
h === null ? Se = "null" : Me(h) ? Se = "array" : h !== void 0 && h.$$typeof === t ? (Se = "<" + (T(h.type) || "Unknown") + " />", oe = " Did you accidentally export a JSX literal instead of a component?") : Se = typeof h, N("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Se, oe);
|
|
604
604
|
}
|
|
605
605
|
var Ie = $0(h, I, j, $e, Ce);
|
|
606
606
|
if (Ie == null)
|
|
@@ -614,7 +614,7 @@ Check the top-level render call using <` + j + ">.");
|
|
|
614
614
|
ci(Xe[jt], h);
|
|
615
615
|
Object.freeze && Object.freeze(Xe);
|
|
616
616
|
} else
|
|
617
|
-
|
|
617
|
+
N("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
618
618
|
else
|
|
619
619
|
ci(Xe, h);
|
|
620
620
|
}
|
|
@@ -632,7 +632,7 @@ Check the top-level render call using <` + j + ">.");
|
|
|
632
632
|
}()), Xt;
|
|
633
633
|
}
|
|
634
634
|
process.env.NODE_ENV === "production" ? fr.exports = N0() : fr.exports = T0();
|
|
635
|
-
var
|
|
635
|
+
var P = fr.exports;
|
|
636
636
|
const I0 = "_button_1q2ge_1", _0 = "_primary_1q2ge_5", A0 = "_secondary_1q2ge_12", R0 = "_small_1q2ge_19", F0 = "_rounded_1q2ge_22", k0 = "_medium_1q2ge_26", j0 = "_large_1q2ge_33", L0 = "_squared_1q2ge_40", pn = {
|
|
637
637
|
button: I0,
|
|
638
638
|
primary: _0,
|
|
@@ -684,7 +684,7 @@ const Xa = Pt(
|
|
|
684
684
|
}
|
|
685
685
|
}
|
|
686
686
|
const m = [pn.button, pn[t], pn[n], pn[r], a].filter(Boolean).join(" ");
|
|
687
|
-
return /* @__PURE__ */
|
|
687
|
+
return /* @__PURE__ */ P.jsx(
|
|
688
688
|
"button",
|
|
689
689
|
{
|
|
690
690
|
disabled: o,
|
|
@@ -728,9 +728,9 @@ const D0 = "_checkboxLayout_bt7qx_1", M0 = "_checkboxLabel_bt7qx_4", B0 = "_chec
|
|
|
728
728
|
const [l, p] = be(i);
|
|
729
729
|
let c = {}, $, f = a ? "#9b9b9b" : "#ffffff";
|
|
730
730
|
if (t) {
|
|
731
|
-
const
|
|
732
|
-
if (t = ct.convert3HexTo6(t),
|
|
733
|
-
switch (
|
|
731
|
+
const x = Et(t);
|
|
732
|
+
if (t = ct.convert3HexTo6(t), x === "dark" || x === "light") {
|
|
733
|
+
switch (x) {
|
|
734
734
|
case "dark":
|
|
735
735
|
f = a ? l ? "#9b9b9b" : "#f9f9f9" : "#ffffff";
|
|
736
736
|
break;
|
|
@@ -749,23 +749,23 @@ const D0 = "_checkboxLayout_bt7qx_1", M0 = "_checkboxLabel_bt7qx_4", B0 = "_chec
|
|
|
749
749
|
});
|
|
750
750
|
}
|
|
751
751
|
}
|
|
752
|
-
const b = a ? ot.checkboxDisabled : "",
|
|
753
|
-
|
|
752
|
+
const b = a ? ot.checkboxDisabled : "", N = [ot.checkboxLayout, ot[n], b, d].filter(Boolean).join(" "), y = (x) => {
|
|
753
|
+
x.key != "Enter" && (x.preventDefault(), o?.(x.target.checked), p(!l));
|
|
754
754
|
};
|
|
755
|
-
return /* @__PURE__ */
|
|
756
|
-
/* @__PURE__ */
|
|
755
|
+
return /* @__PURE__ */ P.jsx(P.Fragment, { children: /* @__PURE__ */ P.jsx("div", { className: N, "data-testid": "checkbox", children: /* @__PURE__ */ P.jsxs("label", { className: ot.checkboxLabel, htmlFor: r, onClick: (x) => y(x), children: [
|
|
756
|
+
/* @__PURE__ */ P.jsxs(
|
|
757
757
|
"div",
|
|
758
758
|
{
|
|
759
759
|
className: ot.checkboxInnerContainer,
|
|
760
760
|
tabIndex: s || a ? -1 : 0,
|
|
761
|
-
onKeyPress: (
|
|
761
|
+
onKeyPress: (x) => y(x),
|
|
762
762
|
"data-testid": "checkbox-inner-container",
|
|
763
763
|
children: [
|
|
764
|
-
/* @__PURE__ */
|
|
764
|
+
/* @__PURE__ */ P.jsx(
|
|
765
765
|
"input",
|
|
766
766
|
{
|
|
767
767
|
className: ot.checkboxInput,
|
|
768
|
-
onChange: (
|
|
768
|
+
onChange: (x) => y(x),
|
|
769
769
|
type: "checkbox",
|
|
770
770
|
checked: l,
|
|
771
771
|
disabled: a,
|
|
@@ -776,13 +776,13 @@ const D0 = "_checkboxLayout_bt7qx_1", M0 = "_checkboxLabel_bt7qx_4", B0 = "_chec
|
|
|
776
776
|
"data-testid": "checkbox-input"
|
|
777
777
|
}
|
|
778
778
|
),
|
|
779
|
-
/* @__PURE__ */
|
|
779
|
+
/* @__PURE__ */ P.jsx(
|
|
780
780
|
"div",
|
|
781
781
|
{
|
|
782
782
|
className: ot.checkboxFrame,
|
|
783
783
|
style: { ...c, ...u },
|
|
784
784
|
"data-testid": "checkbox-frame",
|
|
785
|
-
children: /* @__PURE__ */
|
|
785
|
+
children: /* @__PURE__ */ P.jsx(
|
|
786
786
|
"svg",
|
|
787
787
|
{
|
|
788
788
|
version: "1.1",
|
|
@@ -790,7 +790,7 @@ const D0 = "_checkboxLayout_bt7qx_1", M0 = "_checkboxLabel_bt7qx_4", B0 = "_chec
|
|
|
790
790
|
className: ot.checkboxCheckMark,
|
|
791
791
|
viewBox: "0 0 24 24",
|
|
792
792
|
"data-testid": "check-mark-svg",
|
|
793
|
-
children: /* @__PURE__ */
|
|
793
|
+
children: /* @__PURE__ */ P.jsx(
|
|
794
794
|
"path",
|
|
795
795
|
{
|
|
796
796
|
className: ot.checkboxCheckMarkPath,
|
|
@@ -806,8 +806,8 @@ const D0 = "_checkboxLayout_bt7qx_1", M0 = "_checkboxLabel_bt7qx_4", B0 = "_chec
|
|
|
806
806
|
]
|
|
807
807
|
}
|
|
808
808
|
),
|
|
809
|
-
e && /* @__PURE__ */
|
|
810
|
-
/* @__PURE__ */
|
|
809
|
+
e && /* @__PURE__ */ P.jsx("span", { "data-testid": "checkbox-label", children: e }),
|
|
810
|
+
/* @__PURE__ */ P.jsx("div", { className: ot.visuallyHidden, "aria-live": "polite", "aria-atomic": "true", children: l ? "Checked" : "Unchecked" })
|
|
811
811
|
] }) }) });
|
|
812
812
|
}
|
|
813
813
|
);
|
|
@@ -819,7 +819,7 @@ const X0 = "_textInputWrapper_1i9m6_1", J0 = "_textInput_1i9m6_1", hi = {
|
|
|
819
819
|
var M = {}, pr = { exports: {} };
|
|
820
820
|
(function(e, t) {
|
|
821
821
|
(function(n, r) {
|
|
822
|
-
var i = "1.0.37", a = "", d = "?", o = "function", u = "undefined", s = "object", v = "string", m = "major", l = "model", p = "name", c = "type", $ = "vendor", f = "version", b = "architecture",
|
|
822
|
+
var i = "1.0.37", a = "", d = "?", o = "function", u = "undefined", s = "object", v = "string", m = "major", l = "model", p = "name", c = "type", $ = "vendor", f = "version", b = "architecture", N = "console", y = "mobile", x = "tablet", w = "smarttv", E = "wearable", G = "embedded", B = 500, C = "Amazon", L = "Apple", te = "ASUS", ie = "BlackBerry", T = "Browser", Z = "Chrome", ae = "Edge", de = "Firefox", K = "Google", ce = "Huawei", ue = "LG", O = "Microsoft", R = "Motorola", W = "Opera", U = "Samsung", S = "Sharp", A = "Sony", F = "Xiaomi", H = "Zebra", Y = "Facebook", ne = "Chromium OS", ee = "Mac OS", Te = function(re, fe) {
|
|
823
823
|
var z = {};
|
|
824
824
|
for (var we in re)
|
|
825
825
|
fe[we] && fe[we].length % 2 === 0 ? z[we] = fe[we].concat(re[we]) : z[we] = re[we];
|
|
@@ -832,7 +832,7 @@ var M = {}, pr = { exports: {} };
|
|
|
832
832
|
return typeof re === v ? ye(fe).indexOf(ye(re)) !== -1 : !1;
|
|
833
833
|
}, ye = function(re) {
|
|
834
834
|
return re.toLowerCase();
|
|
835
|
-
},
|
|
835
|
+
}, Oe = function(re) {
|
|
836
836
|
return typeof re === v ? re.replace(/[^\d\.]/g, a).split(".")[0] : r;
|
|
837
837
|
}, Le = function(re, fe) {
|
|
838
838
|
if (typeof re === v)
|
|
@@ -855,19 +855,19 @@ var M = {}, pr = { exports: {} };
|
|
|
855
855
|
} else if (q(fe[z], re))
|
|
856
856
|
return z === d ? r : z;
|
|
857
857
|
return re;
|
|
858
|
-
}, De = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, It = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, cn = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [f, [p, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [f, [p, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [p, f], [/opios[\/ ]+([\w\.]+)/i], [f, [p, W + " Mini"]], [/\bopr\/([\w\.]+)/i], [f, [p, W]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [f, [p, "Baidu"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i, /(heytap|ovi)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [p, f], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [f, [p, "UC" + N]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [f, [p, "WeChat"]], [/konqueror\/([\w\.]+)/i], [f, [p, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [f, [p, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [f, [p, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [f, [p, "Smart Lenovo " + N]], [/(avast|avg)\/([\w\.]+)/i], [[p, /(.+)/, "$1 Secure " + N], f], [/\bfocus\/([\w\.]+)/i], [f, [p, de + " Focus"]], [/\bopt\/([\w\.]+)/i], [f, [p, W + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [f, [p, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [f, [p, "Dolphin"]], [/coast\/([\w\.]+)/i], [f, [p, W + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [f, [p, "MIUI " + N]], [/fxios\/([-\w\.]+)/i], [f, [p, de]], [/\bqihu|(qi?ho?o?|360)browser/i], [[p, "360 " + N]], [/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i], [[p, /(.+)/, "$1 " + N], f], [/samsungbrowser\/([\w\.]+)/i], [f, [p, U + " Internet"]], [/(comodo_dragon)\/([\w\.]+)/i], [[p, /_/g, " "], f], [/metasr[\/ ]?([\d\.]+)/i], [f, [p, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[p, "Sogou Mobile"], f], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i], [p, f], [/(lbbrowser)/i, /\[(linkedin)app\]/i], [p], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[p, Y], f], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [p, f], [/\bgsa\/([\w\.]+) .*safari\//i], [f, [p, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [f, [p, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [f, [p, Z + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[p, Z + " WebView"], f], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [f, [p, "Android " + N]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [p, f], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [f, [p, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [f, p], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [p, [f, dt, De]], [/(webkit|khtml)\/([\w\.]+)/i], [p, f], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[p, "Netscape"], f], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [f, [p, de + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i, /panasonic;(viera)/i], [p, f], [/(cobalt)\/([\w\.]+)/i], [p, [f, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[b, "amd64"]], [/(ia32(?=;))/i], [[b, ye]], [/((?:i[346]|x)86)[;\)]/i], [[b, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[b, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[b, "armhf"]], [/windows (ce|mobile); ppc;/i], [[b, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[b, /ower/, a, ye]], [/(sun4\w)[;\)]/i], [[b, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[b, ye]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [l, [$, U], [c, O]], [/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i], [l, [$, U], [c, y]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [l, [$, L], [c, y]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [l, [$, L], [c, O]], [/(macintosh);/i], [l, [$, L]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [l, [$, P], [c, y]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [l, [$, ce], [c, O]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [l, [$, ce], [c, y]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i], [[l, /_/g, " "], [$, F], [c, y]], [/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, /\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[l, /_/g, " "], [$, F], [c, O]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [l, [$, "OPPO"], [c, y]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [l, [$, "Vivo"], [c, y]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [l, [$, "Realme"], [c, y]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [l, [$, R], [c, y]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [l, [$, R], [c, O]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [l, [$, ue], [c, O]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [l, [$, ue], [c, y]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [l, [$, "Lenovo"], [c, O]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[l, /_/g, " "], [$, "Nokia"], [c, y]], [/(pixel c)\b/i], [l, [$, K], [c, O]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [l, [$, K], [c, y]], [/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [l, [$, A], [c, y]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[l, "Xperia Tablet"], [$, A], [c, O]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [l, [$, "OnePlus"], [c, y]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [l, [$, C], [c, O]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[l, /(.+)/g, "Fire Phone $1"], [$, C], [c, y]], [/(playbook);[-\w\),; ]+(rim)/i], [l, $, [c, O]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [l, [$, ie], [c, y]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [l, [$, te], [c, O]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [l, [$, te], [c, y]], [/(nexus 9)/i], [l, [$, "HTC"], [c, O]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [$, [l, /_/g, " "], [c, y]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [l, [$, "Acer"], [c, O]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [l, [$, "Meizu"], [c, y]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [l, [$, "Ulefone"], [c, y]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [$, l, [c, y]], [/(kobo)\s(ereader|touch)/i, /(archos) (gamepad2?)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [$, l, [c, O]], [/(surface duo)/i], [l, [$, x], [c, O]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [l, [$, "Fairphone"], [c, y]], [/(u304aa)/i], [l, [$, "AT&T"], [c, y]], [/\bsie-(\w*)/i], [l, [$, "Siemens"], [c, y]], [/\b(rct\w+) b/i], [l, [$, "RCA"], [c, O]], [/\b(venue[\d ]{2,7}) b/i], [l, [$, "Dell"], [c, O]], [/\b(q(?:mv|ta)\w+) b/i], [l, [$, "Verizon"], [c, O]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [l, [$, "Barnes & Noble"], [c, O]], [/\b(tm\d{3}\w+) b/i], [l, [$, "NuVision"], [c, O]], [/\b(k88) b/i], [l, [$, "ZTE"], [c, O]], [/\b(nx\d{3}j) b/i], [l, [$, "ZTE"], [c, y]], [/\b(gen\d{3}) b.+49h/i], [l, [$, "Swiss"], [c, y]], [/\b(zur\d{3}) b/i], [l, [$, "Swiss"], [c, O]], [/\b((zeki)?tb.*\b) b/i], [l, [$, "Zeki"], [c, O]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[$, "Dragon Touch"], l, [c, O]], [/\b(ns-?\w{0,9}) b/i], [l, [$, "Insignia"], [c, O]], [/\b((nxa|next)-?\w{0,9}) b/i], [l, [$, "NextBook"], [c, O]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[$, "Voice"], l, [c, y]], [/\b(lvtel\-)?(v1[12]) b/i], [[$, "LvTel"], l, [c, y]], [/\b(ph-1) /i], [l, [$, "Essential"], [c, y]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [l, [$, "Envizen"], [c, O]], [/\b(trio[-\w\. ]+) b/i], [l, [$, "MachSpeed"], [c, O]], [/\btu_(1491) b/i], [l, [$, "Rotor"], [c, O]], [/(shield[\w ]+) b/i], [l, [$, "Nvidia"], [c, O]], [/(sprint) (\w+)/i], [$, l, [c, y]], [/(kin\.[onetw]{3})/i], [[l, /\./g, " "], [$, x], [c, y]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [l, [$, H], [c, O]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [l, [$, H], [c, y]], [/smart-tv.+(samsung)/i], [$, [c, w]], [/hbbtv.+maple;(\d+)/i], [[l, /^/, "SmartTV"], [$, U], [c, w]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[$, ue], [c, w]], [/(apple) ?tv/i], [$, [l, L + " TV"], [c, w]], [/crkey/i], [[l, Z + "cast"], [$, K], [c, w]], [/droid.+aft(\w+)( bui|\))/i], [l, [$, C], [c, w]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [l, [$, P], [c, w]], [/(bravia[\w ]+)( bui|\))/i], [l, [$, A], [c, w]], [/(mitv-\w{5}) bui/i], [l, [$, F], [c, w]], [/Hbbtv.*(technisat) (.*);/i], [$, l, [c, w]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[$, Le], [l, Le], [c, w]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[c, w]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [$, l, [c, E]], [/droid.+; (shield) bui/i], [l, [$, "Nvidia"], [c, E]], [/(playstation [345portablevi]+)/i], [l, [$, A], [c, E]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [l, [$, x], [c, E]], [/((pebble))app/i], [$, l, [c, S]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [l, [$, L], [c, S]], [/droid.+; (glass) \d/i], [l, [$, K], [c, S]], [/droid.+; (wt63?0{2,3})\)/i], [l, [$, H], [c, S]], [/(quest( 2| pro)?)/i], [l, [$, Y], [c, S]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [$, [c, G]], [/(aeobc)\b/i], [l, [$, C], [c, G]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [l, [c, y]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [l, [c, O]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[c, O]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[c, y]], [/(android[-\w\. ]{0,9});.+buil/i], [l, [$, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [f, [p, ae + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [f, [p, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [p, f], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [f, p]], os: [[/microsoft (windows) (vista|xp)/i], [p, f], [/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i], [p, [f, dt, It]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[f, dt, It], [p, "Windows"]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[f, /_/g, "."], [p, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[p, ee], [f, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [f, p], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [p, f], [/\(bb(10);/i], [f, [p, ie]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [f, [p, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [f, [p, de + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [f, [p, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [f, [p, "watchOS"]], [/crkey\/([\d\.]+)/i], [f, [p, Z + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[p, ne], f], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [p, f], [/(sunos) ?([\w\.\d]*)/i], [[p, "Solaris"], f], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [p, f]] }, Me = function(re, fe) {
|
|
858
|
+
}, De = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, It = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, cn = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [f, [p, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [f, [p, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [p, f], [/opios[\/ ]+([\w\.]+)/i], [f, [p, W + " Mini"]], [/\bopr\/([\w\.]+)/i], [f, [p, W]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [f, [p, "Baidu"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i, /(heytap|ovi)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [p, f], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [f, [p, "UC" + T]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [f, [p, "WeChat"]], [/konqueror\/([\w\.]+)/i], [f, [p, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [f, [p, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [f, [p, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [f, [p, "Smart Lenovo " + T]], [/(avast|avg)\/([\w\.]+)/i], [[p, /(.+)/, "$1 Secure " + T], f], [/\bfocus\/([\w\.]+)/i], [f, [p, de + " Focus"]], [/\bopt\/([\w\.]+)/i], [f, [p, W + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [f, [p, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [f, [p, "Dolphin"]], [/coast\/([\w\.]+)/i], [f, [p, W + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [f, [p, "MIUI " + T]], [/fxios\/([-\w\.]+)/i], [f, [p, de]], [/\bqihu|(qi?ho?o?|360)browser/i], [[p, "360 " + T]], [/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i], [[p, /(.+)/, "$1 " + T], f], [/samsungbrowser\/([\w\.]+)/i], [f, [p, U + " Internet"]], [/(comodo_dragon)\/([\w\.]+)/i], [[p, /_/g, " "], f], [/metasr[\/ ]?([\d\.]+)/i], [f, [p, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[p, "Sogou Mobile"], f], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i], [p, f], [/(lbbrowser)/i, /\[(linkedin)app\]/i], [p], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[p, Y], f], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [p, f], [/\bgsa\/([\w\.]+) .*safari\//i], [f, [p, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [f, [p, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [f, [p, Z + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[p, Z + " WebView"], f], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [f, [p, "Android " + T]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [p, f], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [f, [p, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [f, p], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [p, [f, dt, De]], [/(webkit|khtml)\/([\w\.]+)/i], [p, f], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[p, "Netscape"], f], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [f, [p, de + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i, /panasonic;(viera)/i], [p, f], [/(cobalt)\/([\w\.]+)/i], [p, [f, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[b, "amd64"]], [/(ia32(?=;))/i], [[b, ye]], [/((?:i[346]|x)86)[;\)]/i], [[b, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[b, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[b, "armhf"]], [/windows (ce|mobile); ppc;/i], [[b, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[b, /ower/, a, ye]], [/(sun4\w)[;\)]/i], [[b, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[b, ye]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [l, [$, U], [c, x]], [/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i], [l, [$, U], [c, y]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [l, [$, L], [c, y]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [l, [$, L], [c, x]], [/(macintosh);/i], [l, [$, L]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [l, [$, S], [c, y]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [l, [$, ce], [c, x]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [l, [$, ce], [c, y]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i], [[l, /_/g, " "], [$, F], [c, y]], [/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, /\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[l, /_/g, " "], [$, F], [c, x]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [l, [$, "OPPO"], [c, y]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [l, [$, "Vivo"], [c, y]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [l, [$, "Realme"], [c, y]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [l, [$, R], [c, y]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [l, [$, R], [c, x]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [l, [$, ue], [c, x]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [l, [$, ue], [c, y]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [l, [$, "Lenovo"], [c, x]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[l, /_/g, " "], [$, "Nokia"], [c, y]], [/(pixel c)\b/i], [l, [$, K], [c, x]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [l, [$, K], [c, y]], [/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [l, [$, A], [c, y]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[l, "Xperia Tablet"], [$, A], [c, x]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [l, [$, "OnePlus"], [c, y]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [l, [$, C], [c, x]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[l, /(.+)/g, "Fire Phone $1"], [$, C], [c, y]], [/(playbook);[-\w\),; ]+(rim)/i], [l, $, [c, x]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [l, [$, ie], [c, y]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [l, [$, te], [c, x]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [l, [$, te], [c, y]], [/(nexus 9)/i], [l, [$, "HTC"], [c, x]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [$, [l, /_/g, " "], [c, y]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [l, [$, "Acer"], [c, x]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [l, [$, "Meizu"], [c, y]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [l, [$, "Ulefone"], [c, y]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [$, l, [c, y]], [/(kobo)\s(ereader|touch)/i, /(archos) (gamepad2?)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [$, l, [c, x]], [/(surface duo)/i], [l, [$, O], [c, x]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [l, [$, "Fairphone"], [c, y]], [/(u304aa)/i], [l, [$, "AT&T"], [c, y]], [/\bsie-(\w*)/i], [l, [$, "Siemens"], [c, y]], [/\b(rct\w+) b/i], [l, [$, "RCA"], [c, x]], [/\b(venue[\d ]{2,7}) b/i], [l, [$, "Dell"], [c, x]], [/\b(q(?:mv|ta)\w+) b/i], [l, [$, "Verizon"], [c, x]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [l, [$, "Barnes & Noble"], [c, x]], [/\b(tm\d{3}\w+) b/i], [l, [$, "NuVision"], [c, x]], [/\b(k88) b/i], [l, [$, "ZTE"], [c, x]], [/\b(nx\d{3}j) b/i], [l, [$, "ZTE"], [c, y]], [/\b(gen\d{3}) b.+49h/i], [l, [$, "Swiss"], [c, y]], [/\b(zur\d{3}) b/i], [l, [$, "Swiss"], [c, x]], [/\b((zeki)?tb.*\b) b/i], [l, [$, "Zeki"], [c, x]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[$, "Dragon Touch"], l, [c, x]], [/\b(ns-?\w{0,9}) b/i], [l, [$, "Insignia"], [c, x]], [/\b((nxa|next)-?\w{0,9}) b/i], [l, [$, "NextBook"], [c, x]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[$, "Voice"], l, [c, y]], [/\b(lvtel\-)?(v1[12]) b/i], [[$, "LvTel"], l, [c, y]], [/\b(ph-1) /i], [l, [$, "Essential"], [c, y]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [l, [$, "Envizen"], [c, x]], [/\b(trio[-\w\. ]+) b/i], [l, [$, "MachSpeed"], [c, x]], [/\btu_(1491) b/i], [l, [$, "Rotor"], [c, x]], [/(shield[\w ]+) b/i], [l, [$, "Nvidia"], [c, x]], [/(sprint) (\w+)/i], [$, l, [c, y]], [/(kin\.[onetw]{3})/i], [[l, /\./g, " "], [$, O], [c, y]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [l, [$, H], [c, x]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [l, [$, H], [c, y]], [/smart-tv.+(samsung)/i], [$, [c, w]], [/hbbtv.+maple;(\d+)/i], [[l, /^/, "SmartTV"], [$, U], [c, w]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[$, ue], [c, w]], [/(apple) ?tv/i], [$, [l, L + " TV"], [c, w]], [/crkey/i], [[l, Z + "cast"], [$, K], [c, w]], [/droid.+aft(\w+)( bui|\))/i], [l, [$, C], [c, w]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [l, [$, S], [c, w]], [/(bravia[\w ]+)( bui|\))/i], [l, [$, A], [c, w]], [/(mitv-\w{5}) bui/i], [l, [$, F], [c, w]], [/Hbbtv.*(technisat) (.*);/i], [$, l, [c, w]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[$, Le], [l, Le], [c, w]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[c, w]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [$, l, [c, N]], [/droid.+; (shield) bui/i], [l, [$, "Nvidia"], [c, N]], [/(playstation [345portablevi]+)/i], [l, [$, A], [c, N]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [l, [$, O], [c, N]], [/((pebble))app/i], [$, l, [c, E]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [l, [$, L], [c, E]], [/droid.+; (glass) \d/i], [l, [$, K], [c, E]], [/droid.+; (wt63?0{2,3})\)/i], [l, [$, H], [c, E]], [/(quest( 2| pro)?)/i], [l, [$, Y], [c, E]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [$, [c, G]], [/(aeobc)\b/i], [l, [$, C], [c, G]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [l, [c, y]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [l, [c, x]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[c, x]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[c, y]], [/(android[-\w\. ]{0,9});.+buil/i], [l, [$, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [f, [p, ae + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [f, [p, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [p, f], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [f, p]], os: [[/microsoft (windows) (vista|xp)/i], [p, f], [/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i], [p, [f, dt, It]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[f, dt, It], [p, "Windows"]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[f, /_/g, "."], [p, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[p, ee], [f, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [f, p], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [p, f], [/\(bb(10);/i], [f, [p, ie]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [f, [p, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [f, [p, de + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [f, [p, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [f, [p, "watchOS"]], [/crkey\/([\d\.]+)/i], [f, [p, Z + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[p, ne], f], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [p, f], [/(sunos) ?([\w\.\d]*)/i], [[p, "Solaris"], f], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [p, f]] }, Me = function(re, fe) {
|
|
859
859
|
if (typeof re === s && (fe = re, re = r), !(this instanceof Me))
|
|
860
860
|
return new Me(re, fe).getResult();
|
|
861
861
|
var z = typeof n !== u && n.navigator ? n.navigator : r, we = re || (z && z.userAgent ? z.userAgent : a), et = z && z.userAgentData ? z.userAgentData : r, Ke = fe ? Te(cn, fe) : cn, le = z && z.userAgent == we;
|
|
862
862
|
return this.getBrowser = function() {
|
|
863
863
|
var X = {};
|
|
864
|
-
return X[p] = r, X[f] = r, Ve.call(X, we, Ke.browser), X[m] =
|
|
864
|
+
return X[p] = r, X[f] = r, Ve.call(X, we, Ke.browser), X[m] = Oe(X[f]), le && z && z.brave && typeof z.brave.isBrave == o && (X[p] = "Brave"), X;
|
|
865
865
|
}, this.getCPU = function() {
|
|
866
866
|
var X = {};
|
|
867
867
|
return X[b] = r, Ve.call(X, we, Ke.cpu), X;
|
|
868
868
|
}, this.getDevice = function() {
|
|
869
869
|
var X = {};
|
|
870
|
-
return X[$] = r, X[l] = r, X[c] = r, Ve.call(X, we, Ke.device), le && !X[c] && et && et.mobile && (X[c] = y), le && X[l] == "Macintosh" && z && typeof z.standalone !== u && z.maxTouchPoints && z.maxTouchPoints > 2 && (X[l] = "iPad", X[c] =
|
|
870
|
+
return X[$] = r, X[l] = r, X[c] = r, Ve.call(X, we, Ke.device), le && !X[c] && et && et.mobile && (X[c] = y), le && X[l] == "Macintosh" && z && typeof z.standalone !== u && z.maxTouchPoints && z.maxTouchPoints > 2 && (X[l] = "iPad", X[c] = x), X;
|
|
871
871
|
}, this.getEngine = function() {
|
|
872
872
|
var X = {};
|
|
873
873
|
return X[p] = r, X[f] = r, Ve.call(X, we, Ke.engine), X;
|
|
@@ -882,7 +882,7 @@ var M = {}, pr = { exports: {} };
|
|
|
882
882
|
return we = typeof X === v && X.length > B ? Le(X, B) : X, this;
|
|
883
883
|
}, this.setUA(we), this;
|
|
884
884
|
};
|
|
885
|
-
Me.VERSION = i, Me.BROWSER = g([p, f, m]), Me.CPU = g([b]), Me.DEVICE = g([l, $, c,
|
|
885
|
+
Me.VERSION = i, Me.BROWSER = g([p, f, m]), Me.CPU = g([b]), Me.DEVICE = g([l, $, c, N, y, w, x, E, G]), Me.ENGINE = Me.OS = g([p, f]), e.exports && (t = e.exports = Me), t.UAParser = Me;
|
|
886
886
|
var wt = typeof n !== u && (n.jQuery || n.Zepto);
|
|
887
887
|
if (wt && !wt.ua) {
|
|
888
888
|
var Ft = new Me();
|
|
@@ -902,7 +902,7 @@ Object.defineProperty(M, "__esModule", { value: !0 });
|
|
|
902
902
|
function eu(e) {
|
|
903
903
|
return e && typeof e == "object" && "default" in e ? e.default : e;
|
|
904
904
|
}
|
|
905
|
-
var ke = k,
|
|
905
|
+
var ke = k, xe = eu(ke), Qa = Q0, Nt = new Qa(), je = Nt.getBrowser(), tu = Nt.getCPU(), ze = Nt.getDevice(), Br = Nt.getEngine(), Tt = Nt.getOS(), an = Nt.getUA(), ed = function(t) {
|
|
906
906
|
return Nt.setUA(t);
|
|
907
907
|
}, dn = function(t) {
|
|
908
908
|
if (!t) {
|
|
@@ -1308,16 +1308,16 @@ var nd = function(t) {
|
|
|
1308
1308
|
}, wd = function(t) {
|
|
1309
1309
|
var n = t.name;
|
|
1310
1310
|
return n === Ge.Chromium;
|
|
1311
|
-
},
|
|
1311
|
+
}, xn = function(t) {
|
|
1312
1312
|
var n = t.name;
|
|
1313
1313
|
return n === Ge.Edge;
|
|
1314
1314
|
}, Cd = function(t) {
|
|
1315
1315
|
var n = t.name;
|
|
1316
1316
|
return n === Ge.Yandex;
|
|
1317
|
-
},
|
|
1317
|
+
}, xd = function(t) {
|
|
1318
1318
|
var n = t.name;
|
|
1319
1319
|
return n === Ge.Safari || n === Ge.MobileSafari;
|
|
1320
|
-
},
|
|
1320
|
+
}, Od = function(t) {
|
|
1321
1321
|
var n = t.name;
|
|
1322
1322
|
return n === Ge.MobileSafari;
|
|
1323
1323
|
}, Pd = function(t) {
|
|
@@ -1371,7 +1371,7 @@ function Md(e) {
|
|
|
1371
1371
|
isConsole: od(n),
|
|
1372
1372
|
isWearable: dd(n),
|
|
1373
1373
|
isEmbedded: ud(n),
|
|
1374
|
-
isMobileSafari:
|
|
1374
|
+
isMobileSafari: Od(r) || lt(),
|
|
1375
1375
|
isChromium: wd(r),
|
|
1376
1376
|
isMobile: id(n) || lt(),
|
|
1377
1377
|
isMobileOnly: nd(n),
|
|
@@ -1383,7 +1383,7 @@ function Md(e) {
|
|
|
1383
1383
|
isIOS: hd(i) || lt(),
|
|
1384
1384
|
isChrome: gd(r),
|
|
1385
1385
|
isFirefox: yd(r),
|
|
1386
|
-
isSafari:
|
|
1386
|
+
isSafari: xd(r),
|
|
1387
1387
|
isOpera: Pd(r),
|
|
1388
1388
|
isIE: Sd(r),
|
|
1389
1389
|
osVersion: md(i),
|
|
@@ -1396,7 +1396,7 @@ function Md(e) {
|
|
|
1396
1396
|
engineName: Ad(a),
|
|
1397
1397
|
engineVersion: Rd(a),
|
|
1398
1398
|
getUA: Dd(d),
|
|
1399
|
-
isEdge:
|
|
1399
|
+
isEdge: xn(r) || Ut(d),
|
|
1400
1400
|
isYandex: Cd(r),
|
|
1401
1401
|
deviceType: cd(n),
|
|
1402
1402
|
isIOS13: kd(),
|
|
@@ -1405,14 +1405,14 @@ function Md(e) {
|
|
|
1405
1405
|
isIPod13: Ld(),
|
|
1406
1406
|
isElectron: Fd(),
|
|
1407
1407
|
isEdgeChromium: Ut(d),
|
|
1408
|
-
isLegacyEdge:
|
|
1408
|
+
isLegacyEdge: xn(r) && !Ut(d),
|
|
1409
1409
|
isWindows: pd(i),
|
|
1410
1410
|
isMacOs: $d(i),
|
|
1411
1411
|
isMIUI: Ed(r),
|
|
1412
1412
|
isSamsungBrowser: Nd(r)
|
|
1413
1413
|
};
|
|
1414
1414
|
}
|
|
1415
|
-
var Bd = ad(ze), Ud = od(ze), Wd = dd(ze),
|
|
1415
|
+
var Bd = ad(ze), Ud = od(ze), Wd = dd(ze), xu = ud(ze), Ou = Od(je) || lt(), Pu = wd(je), Fn = id(ze) || lt(), Vd = nd(ze), Gd = rd(ze) || lt(), Hd = Cn(ze), Su = Cn(ze), Kd = fd(Tt), qd = vd(Tt), Yd = hd(Tt) || lt(), Eu = gd(je), Nu = yd(je), Tu = xd(je), Iu = Pd(je), zd = Sd(je), _u = md(Tt), Au = bd(Tt), Ru = Td(je), Fu = Id(je), ku = _d(je), ju = ld(ze), Lu = sd(ze), Du = Ad(Br), Mu = Rd(Br), Bu = Dd(an), Uu = xn(je) || Ut(an), Wu = Cd(je), Vu = cd(ze), Gu = kd(), Hu = lt(), Ku = jd(), qu = Ld(), Yu = Fd(), zu = Ut(an), Zu = xn(je) && !Ut(an), Xu = pd(Tt), Ju = $d(Tt), Qu = Ed(je), el = Nd(je), tl = function(t) {
|
|
1416
1416
|
if (!t || typeof t != "string") {
|
|
1417
1417
|
console.error("No valid user agent string was provided");
|
|
1418
1418
|
return;
|
|
@@ -1427,44 +1427,44 @@ var Bd = ad(ze), Ud = od(ze), Wd = dd(ze), Ou = ud(ze), xu = xd(je) || lt(), Pu
|
|
|
1427
1427
|
});
|
|
1428
1428
|
}, nl = function(t) {
|
|
1429
1429
|
var n = t.renderWithFragment, r = t.children, i = Je(t, ["renderWithFragment", "children"]);
|
|
1430
|
-
return Kd ? n ?
|
|
1430
|
+
return Kd ? n ? xe.createElement(ke.Fragment, null, r) : xe.createElement("div", i, r) : null;
|
|
1431
1431
|
}, rl = function(t) {
|
|
1432
1432
|
var n = t.renderWithFragment, r = t.children, i = Je(t, ["renderWithFragment", "children"]);
|
|
1433
|
-
return Hd ? n ?
|
|
1433
|
+
return Hd ? n ? xe.createElement(ke.Fragment, null, r) : xe.createElement("div", i, r) : null;
|
|
1434
1434
|
}, il = function(t) {
|
|
1435
1435
|
var n = t.renderWithFragment, r = t.children, i = Je(t, ["renderWithFragment", "children"]);
|
|
1436
|
-
return zd ? n ?
|
|
1436
|
+
return zd ? n ? xe.createElement(ke.Fragment, null, r) : xe.createElement("div", i, r) : null;
|
|
1437
1437
|
}, al = function(t) {
|
|
1438
1438
|
var n = t.renderWithFragment, r = t.children, i = Je(t, ["renderWithFragment", "children"]);
|
|
1439
|
-
return Yd ? n ?
|
|
1439
|
+
return Yd ? n ? xe.createElement(ke.Fragment, null, r) : xe.createElement("div", i, r) : null;
|
|
1440
1440
|
}, dl = function(t) {
|
|
1441
1441
|
var n = t.renderWithFragment, r = t.children, i = Je(t, ["renderWithFragment", "children"]);
|
|
1442
|
-
return Fn ? n ?
|
|
1442
|
+
return Fn ? n ? xe.createElement(ke.Fragment, null, r) : xe.createElement("div", i, r) : null;
|
|
1443
1443
|
}, ol = function(t) {
|
|
1444
1444
|
var n = t.renderWithFragment, r = t.children, i = Je(t, ["renderWithFragment", "children"]);
|
|
1445
|
-
return Gd ? n ?
|
|
1445
|
+
return Gd ? n ? xe.createElement(ke.Fragment, null, r) : xe.createElement("div", i, r) : null;
|
|
1446
1446
|
}, ul = function(t) {
|
|
1447
1447
|
var n = t.renderWithFragment, r = t.children, i = Je(t, ["renderWithFragment", "children"]);
|
|
1448
|
-
return qd ? n ?
|
|
1448
|
+
return qd ? n ? xe.createElement(ke.Fragment, null, r) : xe.createElement("div", i, r) : null;
|
|
1449
1449
|
}, ll = function(t) {
|
|
1450
1450
|
var n = t.renderWithFragment, r = t.children;
|
|
1451
1451
|
t.viewClassName, t.style;
|
|
1452
1452
|
var i = Je(t, ["renderWithFragment", "children", "viewClassName", "style"]);
|
|
1453
|
-
return Vd ? n ?
|
|
1453
|
+
return Vd ? n ? xe.createElement(ke.Fragment, null, r) : xe.createElement("div", i, r) : null;
|
|
1454
1454
|
}, sl = function(t) {
|
|
1455
1455
|
var n = t.renderWithFragment, r = t.children, i = Je(t, ["renderWithFragment", "children"]);
|
|
1456
|
-
return Bd ? n ?
|
|
1456
|
+
return Bd ? n ? xe.createElement(ke.Fragment, null, r) : xe.createElement("div", i, r) : null;
|
|
1457
1457
|
}, cl = function(t) {
|
|
1458
1458
|
var n = t.renderWithFragment, r = t.children, i = Je(t, ["renderWithFragment", "children"]);
|
|
1459
|
-
return Ud ? n ?
|
|
1459
|
+
return Ud ? n ? xe.createElement(ke.Fragment, null, r) : xe.createElement("div", i, r) : null;
|
|
1460
1460
|
}, fl = function(t) {
|
|
1461
1461
|
var n = t.renderWithFragment, r = t.children, i = Je(t, ["renderWithFragment", "children"]);
|
|
1462
|
-
return Wd ? n ?
|
|
1462
|
+
return Wd ? n ? xe.createElement(ke.Fragment, null, r) : xe.createElement("div", i, r) : null;
|
|
1463
1463
|
}, pl = function(t) {
|
|
1464
1464
|
var n = t.renderWithFragment, r = t.children;
|
|
1465
1465
|
t.viewClassName, t.style;
|
|
1466
1466
|
var i = t.condition, a = Je(t, ["renderWithFragment", "children", "viewClassName", "style", "condition"]);
|
|
1467
|
-
return i ? n ?
|
|
1467
|
+
return i ? n ? xe.createElement(ke.Fragment, null, r) : xe.createElement("div", a, r) : null;
|
|
1468
1468
|
};
|
|
1469
1469
|
function $l(e) {
|
|
1470
1470
|
return /* @__PURE__ */ function(t) {
|
|
@@ -1509,13 +1509,13 @@ function $l(e) {
|
|
|
1509
1509
|
}, {
|
|
1510
1510
|
key: "render",
|
|
1511
1511
|
value: function() {
|
|
1512
|
-
return
|
|
1512
|
+
return xe.createElement(e, $r({}, this.props, {
|
|
1513
1513
|
isLandscape: this.state.isLandscape,
|
|
1514
1514
|
isPortrait: this.state.isPortrait
|
|
1515
1515
|
}));
|
|
1516
1516
|
}
|
|
1517
1517
|
}]), n;
|
|
1518
|
-
}(
|
|
1518
|
+
}(xe.Component);
|
|
1519
1519
|
}
|
|
1520
1520
|
function vl() {
|
|
1521
1521
|
var e = ke.useState(function() {
|
|
@@ -1579,7 +1579,7 @@ M.isDesktop = Su;
|
|
|
1579
1579
|
M.isEdge = Uu;
|
|
1580
1580
|
M.isEdgeChromium = zu;
|
|
1581
1581
|
M.isElectron = Yu;
|
|
1582
|
-
M.isEmbedded =
|
|
1582
|
+
M.isEmbedded = xu;
|
|
1583
1583
|
M.isFirefox = Nu;
|
|
1584
1584
|
M.isIE = zd;
|
|
1585
1585
|
M.isIOS = Yd;
|
|
@@ -1592,7 +1592,7 @@ M.isMIUI = Qu;
|
|
|
1592
1592
|
M.isMacOs = Ju;
|
|
1593
1593
|
var ml = M.isMobile = Fn;
|
|
1594
1594
|
M.isMobileOnly = Vd;
|
|
1595
|
-
M.isMobileSafari =
|
|
1595
|
+
M.isMobileSafari = Ou;
|
|
1596
1596
|
M.isOpera = Iu;
|
|
1597
1597
|
M.isSafari = Tu;
|
|
1598
1598
|
M.isSamsungBrowser = el;
|
|
@@ -1612,7 +1612,7 @@ M.useDeviceData = Zd;
|
|
|
1612
1612
|
M.useDeviceSelectors = hl;
|
|
1613
1613
|
M.useMobileOrientation = vl;
|
|
1614
1614
|
M.withOrientationChange = $l;
|
|
1615
|
-
const
|
|
1615
|
+
const Of = k.memo(
|
|
1616
1616
|
Pt(
|
|
1617
1617
|
({ themeColor: e = "", onSubmit: t, style: n = {}, className: r = "", onInput: i, onFocus: a, onBlur: d, ...o }, u) => {
|
|
1618
1618
|
const [s, v] = be(!0), [m, l] = be(!1);
|
|
@@ -1627,12 +1627,12 @@ const xf = k.memo(
|
|
|
1627
1627
|
let $ = {};
|
|
1628
1628
|
const f = [hi.textInput, r].filter(Boolean).join(" "), b = () => {
|
|
1629
1629
|
l(!0);
|
|
1630
|
-
},
|
|
1630
|
+
}, N = () => {
|
|
1631
1631
|
l(!1);
|
|
1632
1632
|
};
|
|
1633
1633
|
return $ = {
|
|
1634
1634
|
borderBottomColor: m ? e !== "#ffffff" ? e : "#c8c8c8" : ""
|
|
1635
|
-
}, /* @__PURE__ */
|
|
1635
|
+
}, /* @__PURE__ */ P.jsx("div", { className: hi.textInputWrapper, children: /* @__PURE__ */ P.jsx(
|
|
1636
1636
|
"textarea",
|
|
1637
1637
|
{
|
|
1638
1638
|
"data-testid": "textbox-input",
|
|
@@ -1640,7 +1640,7 @@ const xf = k.memo(
|
|
|
1640
1640
|
className: f,
|
|
1641
1641
|
style: { ...$, ...n },
|
|
1642
1642
|
onFocus: b,
|
|
1643
|
-
onBlur:
|
|
1643
|
+
onBlur: N,
|
|
1644
1644
|
onInput: (y) => c(y),
|
|
1645
1645
|
onKeyDown: p,
|
|
1646
1646
|
...o
|
|
@@ -1648,14 +1648,14 @@ const xf = k.memo(
|
|
|
1648
1648
|
) });
|
|
1649
1649
|
}
|
|
1650
1650
|
)
|
|
1651
|
-
), bl = "_multiSelectContainer_lh9wi_1", gl = "_listOptionsWrap_lh9wi_4", yl = "_selectedValuesWrap_lh9wi_7", wl = "_selectedValues_lh9wi_7", Cl = "_focused_lh9wi_13",
|
|
1651
|
+
), bl = "_multiSelectContainer_lh9wi_1", gl = "_listOptionsWrap_lh9wi_4", yl = "_selectedValuesWrap_lh9wi_7", wl = "_selectedValues_lh9wi_7", Cl = "_focused_lh9wi_13", xl = "_placeholder_lh9wi_16", Ol = "_dropDownIcon_lh9wi_19", Pl = "_optionsListContainer_lh9wi_23", Sl = "_top_lh9wi_26", El = "_optionsListWrap_lh9wi_29", Nl = "_searchInputWrap_lh9wi_32", Tl = "_searchInput_lh9wi_32", Il = "_optionsList_lh9wi_23", _l = "_btnContainer_lh9wi_54", Al = "_hiddenButton_lh9wi_57", Rl = "_announcement_lh9wi_70", Ae = {
|
|
1652
1652
|
multiSelectContainer: bl,
|
|
1653
1653
|
listOptionsWrap: gl,
|
|
1654
1654
|
selectedValuesWrap: yl,
|
|
1655
1655
|
selectedValues: wl,
|
|
1656
1656
|
focused: Cl,
|
|
1657
|
-
placeholder:
|
|
1658
|
-
dropDownIcon:
|
|
1657
|
+
placeholder: xl,
|
|
1658
|
+
dropDownIcon: Ol,
|
|
1659
1659
|
optionsListContainer: Pl,
|
|
1660
1660
|
top: Sl,
|
|
1661
1661
|
optionsListWrap: El,
|
|
@@ -1684,7 +1684,7 @@ const xf = k.memo(
|
|
|
1684
1684
|
outlineColor: s
|
|
1685
1685
|
})) : a = "#9b9b9b";
|
|
1686
1686
|
}
|
|
1687
|
-
return /* @__PURE__ */
|
|
1687
|
+
return /* @__PURE__ */ P.jsx(
|
|
1688
1688
|
"div",
|
|
1689
1689
|
{
|
|
1690
1690
|
style: r,
|
|
@@ -1694,7 +1694,7 @@ const xf = k.memo(
|
|
|
1694
1694
|
"aria-hidden": "true",
|
|
1695
1695
|
tabIndex: -1,
|
|
1696
1696
|
"data-testid": "checkbox-input",
|
|
1697
|
-
children: /* @__PURE__ */
|
|
1697
|
+
children: /* @__PURE__ */ P.jsx("svg", { version: "1.1", focusable: "false", className: Jt.checkboxCheckMark, viewBox: "0 0 24 24", children: /* @__PURE__ */ P.jsx(
|
|
1698
1698
|
"path",
|
|
1699
1699
|
{
|
|
1700
1700
|
className: Jt.checkboxCheckMarkPath,
|
|
@@ -1716,9 +1716,9 @@ const Pf = ({
|
|
|
1716
1716
|
className: a = "",
|
|
1717
1717
|
style: d = {}
|
|
1718
1718
|
}) => {
|
|
1719
|
-
const o = D(e), [u, s] = be(t), [v, m] = be(""), [l, p] = be(!1), [c, $] = be(!1), f = D(null), b = D(null),
|
|
1719
|
+
const o = D(e), [u, s] = be(t), [v, m] = be(""), [l, p] = be(!1), [c, $] = be(!1), f = D(null), b = D(null), N = D(null), y = D(null), x = D(null), w = D(null), [E, G] = be(-1), B = D(0), C = D(0), [L, te] = be(!1);
|
|
1720
1720
|
let ie = {};
|
|
1721
|
-
const [
|
|
1721
|
+
const [T, Z] = be({ left: 0, top: 0 }), [ae, de] = be(null), K = D(!1), ce = D(null), ue = () => {
|
|
1722
1722
|
setTimeout(() => {
|
|
1723
1723
|
(f.current?.children[0]).focus();
|
|
1724
1724
|
}, 0);
|
|
@@ -1731,11 +1731,11 @@ const Pf = ({
|
|
|
1731
1731
|
document.removeEventListener("mousedown", g);
|
|
1732
1732
|
};
|
|
1733
1733
|
}, []);
|
|
1734
|
-
const
|
|
1734
|
+
const O = () => {
|
|
1735
1735
|
B.current = window.innerHeight, C.current = document.body.scrollHeight, te(!0);
|
|
1736
1736
|
};
|
|
1737
|
-
pe(() => (
|
|
1738
|
-
window.addEventListener("resize",
|
|
1737
|
+
pe(() => (O(), window.addEventListener("resize", O), () => {
|
|
1738
|
+
window.addEventListener("resize", O);
|
|
1739
1739
|
}), []);
|
|
1740
1740
|
const R = (g) => {
|
|
1741
1741
|
const q = document.getElementById("announcement");
|
|
@@ -1753,22 +1753,22 @@ const Pf = ({
|
|
|
1753
1753
|
}).filter((g) => g !== "").join(", ") : "Select your option", U = (g) => {
|
|
1754
1754
|
const q = e.find((ye) => ye.value === g);
|
|
1755
1755
|
if (q && !q.disable && (r === void 0 || u.length <= r)) {
|
|
1756
|
-
const
|
|
1757
|
-
(r === void 0 ||
|
|
1756
|
+
const Oe = u.includes(g) ? u.filter((Ve) => Ve !== g) : [...u, g];
|
|
1757
|
+
(r === void 0 || Oe.length <= r) && l && (s(Oe), n(Oe), R(`${q?.label} ${Oe.includes(g) ? "selected" : "not selected"}`));
|
|
1758
1758
|
}
|
|
1759
|
-
},
|
|
1759
|
+
}, S = (g) => {
|
|
1760
1760
|
F(), p(g), setTimeout(() => {
|
|
1761
|
-
|
|
1761
|
+
N.current ? N.current?.focus() : y.current?.focus(), R("use up and down arrow keys to navigate");
|
|
1762
1762
|
}, 0);
|
|
1763
1763
|
}, A = () => C.current - (B.current + window.scrollY), F = () => {
|
|
1764
1764
|
if (f.current) {
|
|
1765
1765
|
const g = f.current.getBoundingClientRect();
|
|
1766
1766
|
setTimeout(() => {
|
|
1767
|
-
const q = b?.current?.getBoundingClientRect(), ye = A(),
|
|
1767
|
+
const q = b?.current?.getBoundingClientRect(), ye = A(), Oe = B.current - g.bottom;
|
|
1768
1768
|
let Le;
|
|
1769
1769
|
if (q) {
|
|
1770
1770
|
const Ve = g.height, dt = g.top, De = q.height, It = De > dt + window.scrollY;
|
|
1771
|
-
dt < De && (It || It &&
|
|
1771
|
+
dt < De && (It || It && Oe < De || ye > De || Oe > De) || dt > De && Oe > De ? Le = g.y + Ve : Le = g.y - De, Z({
|
|
1772
1772
|
left: g.left,
|
|
1773
1773
|
top: Le ?? g.top
|
|
1774
1774
|
});
|
|
@@ -1781,28 +1781,28 @@ const Pf = ({
|
|
|
1781
1781
|
}), [l]);
|
|
1782
1782
|
const H = (g) => {
|
|
1783
1783
|
g.preventDefault(), g.key === "Shift" ? K.current = !0 : g.shiftKey && K.current && g.key === "Tab" || g.key === "Tab" ? (setTimeout(() => {
|
|
1784
|
-
|
|
1785
|
-
}, 0), K.current = !1) : g.key === "Escape" || g.key === "Enter" || g.key === "Space" || g.key === " " ? (
|
|
1784
|
+
N.current ? N.current?.focus() : y.current?.focus();
|
|
1785
|
+
}, 0), K.current = !1) : g.key === "Escape" || g.key === "Enter" || g.key === "Space" || g.key === " " ? (S(!1), ue()) : K.current = !1;
|
|
1786
1786
|
}, Y = (g) => {
|
|
1787
1787
|
const { key: q } = g;
|
|
1788
1788
|
if (q === "Tab" || g.shiftKey && q === "Tab")
|
|
1789
1789
|
setTimeout(() => {
|
|
1790
|
-
|
|
1790
|
+
x.current?.focus();
|
|
1791
1791
|
}, 0);
|
|
1792
1792
|
else if (q === "ArrowDown" || q === "ArrowUp") {
|
|
1793
1793
|
g.preventDefault(), setTimeout(() => {
|
|
1794
1794
|
y.current?.focus();
|
|
1795
1795
|
}, 0);
|
|
1796
|
-
let ye =
|
|
1797
|
-
if (q === "ArrowDown" ? ye = Math.min(
|
|
1798
|
-
const
|
|
1799
|
-
R(Ve),
|
|
1796
|
+
let ye = E;
|
|
1797
|
+
if (q === "ArrowDown" ? ye = Math.min(E + 1, o.current.length - 1) : q === "ArrowUp" && (ye = Math.max(E - 1, 0)), E === 0 && g.key === "ArrowUp" ? ye = o.current.length - 1 : E === o.current.length - 1 && g.key === "ArrowDown" && (ye = 0), G(ye), w.current && ye >= 0) {
|
|
1798
|
+
const Oe = w.current.querySelectorAll(`.${Ae.optionsList}`)[ye], Le = Oe.children[0].getAttribute("aria-checked"), Ve = `${Oe.textContent} ${Le === "true" ? "selected" : "not selected"} ${ye + 1} out of ${o.current.length}`;
|
|
1799
|
+
R(Ve), Oe && Oe.scrollIntoView({
|
|
1800
1800
|
block: "nearest",
|
|
1801
1801
|
inline: "nearest"
|
|
1802
1802
|
});
|
|
1803
1803
|
}
|
|
1804
1804
|
} else
|
|
1805
|
-
q === "Enter" || q === "Space" || q === " " ?
|
|
1805
|
+
q === "Enter" || q === "Space" || q === " " ? E !== -1 && U(o.current[E].value) : q === "Escape" && (S(!1), ue());
|
|
1806
1806
|
};
|
|
1807
1807
|
pe(() => {
|
|
1808
1808
|
ae && clearTimeout(ae);
|
|
@@ -1831,18 +1831,18 @@ const Pf = ({
|
|
|
1831
1831
|
const Te = () => {
|
|
1832
1832
|
p(!1);
|
|
1833
1833
|
};
|
|
1834
|
-
return /* @__PURE__ */
|
|
1835
|
-
/* @__PURE__ */
|
|
1836
|
-
/* @__PURE__ */
|
|
1834
|
+
return /* @__PURE__ */ P.jsx("div", { className: Ae.multiSelectContainer, children: /* @__PURE__ */ P.jsxs("div", { className: Ae.listOptionsWrap, children: [
|
|
1835
|
+
/* @__PURE__ */ P.jsxs("div", { className: `${a} ${Ae.selectedValuesWrap}`, ref: f, children: [
|
|
1836
|
+
/* @__PURE__ */ P.jsx(
|
|
1837
1837
|
"div",
|
|
1838
1838
|
{
|
|
1839
1839
|
className: `${Ae.selectedValues} ${l ? Ae.focused : ""} ${u.length === 0 ? Ae.placeholder : ""}`,
|
|
1840
1840
|
ref: ce,
|
|
1841
1841
|
onFocus: ne,
|
|
1842
1842
|
onBlur: ee,
|
|
1843
|
-
onClick: () =>
|
|
1843
|
+
onClick: () => S(!l),
|
|
1844
1844
|
onKeyPress: (g) => {
|
|
1845
|
-
(g.key === " " || g.code === "Space" || g.code === "Enter") && (g.preventDefault(),
|
|
1845
|
+
(g.key === " " || g.code === "Space" || g.code === "Enter") && (g.preventDefault(), S(!l));
|
|
1846
1846
|
},
|
|
1847
1847
|
tabIndex: 0,
|
|
1848
1848
|
"data-testid": "selected-input",
|
|
@@ -1855,13 +1855,13 @@ const Pf = ({
|
|
|
1855
1855
|
children: W
|
|
1856
1856
|
}
|
|
1857
1857
|
),
|
|
1858
|
-
/* @__PURE__ */
|
|
1858
|
+
/* @__PURE__ */ P.jsx(
|
|
1859
1859
|
"span",
|
|
1860
1860
|
{
|
|
1861
1861
|
className: Ae.dropDownIcon,
|
|
1862
|
-
onClick: () =>
|
|
1862
|
+
onClick: () => S(!l),
|
|
1863
1863
|
"data-testid": "arrow-button",
|
|
1864
|
-
children: /* @__PURE__ */
|
|
1864
|
+
children: /* @__PURE__ */ P.jsx("svg", { width: "12px", height: "7px", viewBox: "0 0 12 7", version: "1.1", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ P.jsx("g", { stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ P.jsx("g", { transform: "translate(-2360.000000, -295.000000)", fill: "#666666", children: /* @__PURE__ */ P.jsx("g", { transform: "translate(2006.000000, 248.000000)", children: /* @__PURE__ */ P.jsx(
|
|
1865
1865
|
"path",
|
|
1866
1866
|
{
|
|
1867
1867
|
d: "M358.027356,44.3431458 L358.027146,50.6581458 L364.343146,50.6589352 L364.343146,52.3431458 L358.027146,52.3421458 L358.027356,52.3431458 L356.343146,52.3431458 L356.343146,44.3431458 L358.027356,44.3431458 Z",
|
|
@@ -1871,9 +1871,9 @@ const Pf = ({
|
|
|
1871
1871
|
}
|
|
1872
1872
|
)
|
|
1873
1873
|
] }),
|
|
1874
|
-
/* @__PURE__ */
|
|
1874
|
+
/* @__PURE__ */ P.jsx("div", { id: "announcement", "aria-live": "assertive", role: "alert", className: Ae.announcement }),
|
|
1875
1875
|
L ? Mr(
|
|
1876
|
-
/* @__PURE__ */
|
|
1876
|
+
/* @__PURE__ */ P.jsx(P.Fragment, { children: l && f && /* @__PURE__ */ P.jsx(
|
|
1877
1877
|
"div",
|
|
1878
1878
|
{
|
|
1879
1879
|
onClick: Te,
|
|
@@ -1883,25 +1883,25 @@ const Pf = ({
|
|
|
1883
1883
|
backgroundColor: "rgba(255,255,255,0)",
|
|
1884
1884
|
zIndex: 1e3
|
|
1885
1885
|
},
|
|
1886
|
-
children: /* @__PURE__ */
|
|
1886
|
+
children: /* @__PURE__ */ P.jsxs(
|
|
1887
1887
|
"div",
|
|
1888
1888
|
{
|
|
1889
1889
|
className: `${Ae.optionsListContainer}`,
|
|
1890
1890
|
ref: b,
|
|
1891
1891
|
onClick: (g) => g.stopPropagation(),
|
|
1892
1892
|
style: {
|
|
1893
|
-
opacity:
|
|
1893
|
+
opacity: T.left ? 1 : 0,
|
|
1894
1894
|
width: f.current ? f.current.clientWidth : "auto",
|
|
1895
|
-
left:
|
|
1896
|
-
top:
|
|
1895
|
+
left: T.left,
|
|
1896
|
+
top: T.top
|
|
1897
1897
|
},
|
|
1898
1898
|
children: [
|
|
1899
|
-
/* @__PURE__ */
|
|
1900
|
-
e.length >= 6 && /* @__PURE__ */
|
|
1899
|
+
/* @__PURE__ */ P.jsxs("div", { className: Ae.optionsListWrap, children: [
|
|
1900
|
+
e.length >= 6 && /* @__PURE__ */ P.jsx("div", { className: Ae.searchInputWrap, children: /* @__PURE__ */ P.jsx(
|
|
1901
1901
|
"input",
|
|
1902
1902
|
{
|
|
1903
1903
|
type: "text",
|
|
1904
|
-
ref:
|
|
1904
|
+
ref: N,
|
|
1905
1905
|
placeholder: "Type to filter",
|
|
1906
1906
|
className: Ae.searchInput,
|
|
1907
1907
|
value: v,
|
|
@@ -1912,17 +1912,17 @@ const Pf = ({
|
|
|
1912
1912
|
}
|
|
1913
1913
|
}
|
|
1914
1914
|
) }),
|
|
1915
|
-
/* @__PURE__ */
|
|
1915
|
+
/* @__PURE__ */ P.jsx("ul", { ref: w, role: "listbox", children: o.current.map((g, q) => (
|
|
1916
1916
|
// eslint-disable-next-line jsx-a11y/role-supports-aria-props
|
|
1917
|
-
/* @__PURE__ */
|
|
1917
|
+
/* @__PURE__ */ P.jsxs(
|
|
1918
1918
|
"li",
|
|
1919
1919
|
{
|
|
1920
|
-
className: `${Ae.optionsList} ${q ===
|
|
1920
|
+
className: `${Ae.optionsList} ${q === E ? Ae.focused : ""}`,
|
|
1921
1921
|
onClick: () => U(g.value),
|
|
1922
|
-
"aria-selected": q ===
|
|
1922
|
+
"aria-selected": q === E,
|
|
1923
1923
|
role: "option",
|
|
1924
1924
|
children: [
|
|
1925
|
-
/* @__PURE__ */
|
|
1925
|
+
/* @__PURE__ */ P.jsx(
|
|
1926
1926
|
Xd,
|
|
1927
1927
|
{
|
|
1928
1928
|
themeColor: i,
|
|
@@ -1930,15 +1930,15 @@ const Pf = ({
|
|
|
1930
1930
|
disabled: g.disable || r !== void 0 && u.length >= r && !u.includes(g.value)
|
|
1931
1931
|
}
|
|
1932
1932
|
),
|
|
1933
|
-
/* @__PURE__ */
|
|
1933
|
+
/* @__PURE__ */ P.jsx("span", { children: g.label })
|
|
1934
1934
|
]
|
|
1935
1935
|
},
|
|
1936
1936
|
g.value
|
|
1937
1937
|
)
|
|
1938
1938
|
)) })
|
|
1939
1939
|
] }),
|
|
1940
|
-
/* @__PURE__ */
|
|
1941
|
-
/* @__PURE__ */
|
|
1940
|
+
/* @__PURE__ */ P.jsxs("div", { className: Ae.btnContainer, children: [
|
|
1941
|
+
/* @__PURE__ */ P.jsx(
|
|
1942
1942
|
"input",
|
|
1943
1943
|
{
|
|
1944
1944
|
ref: y,
|
|
@@ -1948,7 +1948,7 @@ const Pf = ({
|
|
|
1948
1948
|
className: Ae.hiddenButton
|
|
1949
1949
|
}
|
|
1950
1950
|
),
|
|
1951
|
-
/* @__PURE__ */
|
|
1951
|
+
/* @__PURE__ */ P.jsx(
|
|
1952
1952
|
Xa,
|
|
1953
1953
|
{
|
|
1954
1954
|
themeColor: i,
|
|
@@ -1961,7 +1961,7 @@ const Pf = ({
|
|
|
1961
1961
|
onKeyDown: (g) => {
|
|
1962
1962
|
H(g);
|
|
1963
1963
|
},
|
|
1964
|
-
ref:
|
|
1964
|
+
ref: x,
|
|
1965
1965
|
children: "Done"
|
|
1966
1966
|
}
|
|
1967
1967
|
)
|
|
@@ -1992,12 +1992,12 @@ const Pf = ({
|
|
|
1992
1992
|
const [u, s] = be(t), v = D({});
|
|
1993
1993
|
let m = {}, l;
|
|
1994
1994
|
const p = (c) => {
|
|
1995
|
-
const $ = e.find((
|
|
1995
|
+
const $ = e.find((x) => x.value === c);
|
|
1996
1996
|
if (!$ || $.disable)
|
|
1997
1997
|
return;
|
|
1998
1998
|
v.current[c]?.click();
|
|
1999
|
-
const
|
|
2000
|
-
(r === void 0 ||
|
|
1999
|
+
const N = u.includes(c) ? u.filter((x) => x !== c) : [...u, c];
|
|
2000
|
+
(r === void 0 || N.length <= r) && (s(N), n(N));
|
|
2001
2001
|
};
|
|
2002
2002
|
if (i) {
|
|
2003
2003
|
l = Et(i), i = ct.convert3HexTo6(i);
|
|
@@ -2008,7 +2008,7 @@ const Pf = ({
|
|
|
2008
2008
|
color: i === "#ffffff" || l === "light" ? "#333333" : i
|
|
2009
2009
|
});
|
|
2010
2010
|
}
|
|
2011
|
-
return /* @__PURE__ */
|
|
2011
|
+
return /* @__PURE__ */ P.jsx("div", { className: $n.multiSelectContainer, role: "group", children: /* @__PURE__ */ P.jsx("ul", { className: $n.quickOptionsWrap, id: o, children: e.map((c) => /* @__PURE__ */ P.jsx(
|
|
2012
2012
|
"li",
|
|
2013
2013
|
{
|
|
2014
2014
|
style: { ...m, ...d },
|
|
@@ -2019,7 +2019,7 @@ const Pf = ({
|
|
|
2019
2019
|
($.key === " " || $.code === "Space") && ($.preventDefault(), p(c.value));
|
|
2020
2020
|
},
|
|
2021
2021
|
"data-testid": "option-box",
|
|
2022
|
-
children: /* @__PURE__ */
|
|
2022
|
+
children: /* @__PURE__ */ P.jsx(
|
|
2023
2023
|
Ja,
|
|
2024
2024
|
{
|
|
2025
2025
|
id: c.value,
|
|
@@ -2031,7 +2031,7 @@ const Pf = ({
|
|
|
2031
2031
|
},
|
|
2032
2032
|
checked: u.includes(c.value),
|
|
2033
2033
|
disabled: c.disable || r !== void 0 && u.length >= r && !u.includes(c.value),
|
|
2034
|
-
children: /* @__PURE__ */
|
|
2034
|
+
children: /* @__PURE__ */ P.jsx(
|
|
2035
2035
|
"span",
|
|
2036
2036
|
{
|
|
2037
2037
|
style: {
|
|
@@ -2091,7 +2091,7 @@ const Pf = ({
|
|
|
2091
2091
|
borderTopColor: $
|
|
2092
2092
|
});
|
|
2093
2093
|
}
|
|
2094
|
-
return /* @__PURE__ */
|
|
2094
|
+
return /* @__PURE__ */ P.jsx("div", { className: ut.singleSelectWrapper, children: /* @__PURE__ */ P.jsx("div", { className: ut.quickOption, children: /* @__PURE__ */ P.jsx("ul", { className: ut.quickOption, role: "radiogroup", id: o, children: e.map((c) => /* @__PURE__ */ P.jsxs(
|
|
2095
2095
|
"li",
|
|
2096
2096
|
{
|
|
2097
2097
|
tabIndex: c.disable ? -1 : 0,
|
|
@@ -2106,9 +2106,9 @@ const Pf = ({
|
|
|
2106
2106
|
"aria-checked": u?.value === c.value,
|
|
2107
2107
|
children: [
|
|
2108
2108
|
c.label,
|
|
2109
|
-
u?.value === c.value && !c.disable && /* @__PURE__ */
|
|
2110
|
-
d && /* @__PURE__ */
|
|
2111
|
-
!d && /* @__PURE__ */
|
|
2109
|
+
u?.value === c.value && !c.disable && /* @__PURE__ */ P.jsxs("div", { className: ut.triangle, style: { ...m }, children: [
|
|
2110
|
+
d && /* @__PURE__ */ P.jsx("div", { className: ut.loader, style: { borderRightColor: r ?? "#006bb1" } }),
|
|
2111
|
+
!d && /* @__PURE__ */ P.jsx("div", { className: ut.checkmarkWrap, children: /* @__PURE__ */ P.jsx(
|
|
2112
2112
|
"svg",
|
|
2113
2113
|
{
|
|
2114
2114
|
className: ut.checkmark,
|
|
@@ -2117,7 +2117,7 @@ const Pf = ({
|
|
|
2117
2117
|
height: "9",
|
|
2118
2118
|
viewBox: "0 0 11 9",
|
|
2119
2119
|
fill: "none",
|
|
2120
|
-
children: /* @__PURE__ */
|
|
2120
|
+
children: /* @__PURE__ */ P.jsx(
|
|
2121
2121
|
"path",
|
|
2122
2122
|
{
|
|
2123
2123
|
className: ut.checkmarkCheck,
|
|
@@ -2138,7 +2138,7 @@ const Pf = ({
|
|
|
2138
2138
|
}, i1 = Pt(
|
|
2139
2139
|
({ children: e, className: t = "", style: n = {}, ...r }, i) => {
|
|
2140
2140
|
const a = [r1.scrollbarContainer, t].filter(Boolean).join(" ");
|
|
2141
|
-
return /* @__PURE__ */
|
|
2141
|
+
return /* @__PURE__ */ P.jsx(P.Fragment, { children: /* @__PURE__ */ P.jsx("div", { ref: i, style: { ...n }, className: a, ...r, children: e }) });
|
|
2142
2142
|
}
|
|
2143
2143
|
);
|
|
2144
2144
|
i1.displayName = "Scrollbar";
|
|
@@ -2172,7 +2172,7 @@ let o1 = class {
|
|
|
2172
2172
|
return this.handoffState === "complete";
|
|
2173
2173
|
}
|
|
2174
2174
|
}, _t = new o1(), Ne = (e, t) => {
|
|
2175
|
-
_t.isServer ? pe(e, t) :
|
|
2175
|
+
_t.isServer ? pe(e, t) : x0(e, t);
|
|
2176
2176
|
};
|
|
2177
2177
|
function it(e) {
|
|
2178
2178
|
let t = D(e);
|
|
@@ -2350,7 +2350,7 @@ function eo(e, t, n = !0) {
|
|
|
2350
2350
|
a.current && (i(d, () => a.current), a.current = null);
|
|
2351
2351
|
}, !0), vn("touchend", (d) => i(d, () => d.target instanceof HTMLElement ? d.target : null), !0), $1("blur", (d) => i(d, () => window.document.activeElement instanceof HTMLIFrameElement ? window.document.activeElement : null), !0);
|
|
2352
2352
|
}
|
|
2353
|
-
function
|
|
2353
|
+
function xi(e) {
|
|
2354
2354
|
var t;
|
|
2355
2355
|
if (e.type)
|
|
2356
2356
|
return e.type;
|
|
@@ -2359,9 +2359,9 @@ function Oi(e) {
|
|
|
2359
2359
|
return "button";
|
|
2360
2360
|
}
|
|
2361
2361
|
function to(e, t) {
|
|
2362
|
-
let [n, r] = be(() =>
|
|
2362
|
+
let [n, r] = be(() => xi(e));
|
|
2363
2363
|
return Ne(() => {
|
|
2364
|
-
r(
|
|
2364
|
+
r(xi(e));
|
|
2365
2365
|
}, [e.type, e.as]), Ne(() => {
|
|
2366
2366
|
n || t.current && t.current instanceof HTMLButtonElement && !t.current.hasAttribute("type") && r("button");
|
|
2367
2367
|
}, [n, t]), n;
|
|
@@ -2425,10 +2425,10 @@ function no(e, t) {
|
|
|
2425
2425
|
})();
|
|
2426
2426
|
return a === -1 ? r : a;
|
|
2427
2427
|
}
|
|
2428
|
-
function
|
|
2428
|
+
function On(...e) {
|
|
2429
2429
|
return Array.from(new Set(e.flatMap((t) => typeof t == "string" ? t.split(" ") : []))).filter(Boolean).join(" ");
|
|
2430
2430
|
}
|
|
2431
|
-
var Gt = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(Gt || {}),
|
|
2431
|
+
var Gt = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(Gt || {}), Ot = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(Ot || {});
|
|
2432
2432
|
function He({ ourProps: e, theirProps: t, slot: n, defaultTag: r, features: i, visible: a = !0, name: d }) {
|
|
2433
2433
|
let o = ro(t, e);
|
|
2434
2434
|
if (a)
|
|
@@ -2460,12 +2460,12 @@ function hn(e, t = {}, n, r) {
|
|
|
2460
2460
|
m && (v["data-headlessui-state"] = l.join(" "));
|
|
2461
2461
|
}
|
|
2462
2462
|
if (i === vt && Object.keys(Pn(o)).length > 0) {
|
|
2463
|
-
if (!
|
|
2463
|
+
if (!O0(s) || Array.isArray(s) && s.length > 1)
|
|
2464
2464
|
throw new Error(['Passing props on "Fragment"!', "", `The current component <${r} /> is rendering a "Fragment".`, "However we need to passthrough the following props:", Object.keys(o).map((c) => ` - ${c}`).join(`
|
|
2465
2465
|
`), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".', "Render a single element as the child so that we can forward the props onto that element."].map((c) => ` - ${c}`).join(`
|
|
2466
2466
|
`)].join(`
|
|
2467
2467
|
`));
|
|
2468
|
-
let m = s.props, l = typeof m?.className == "function" ? (...c) =>
|
|
2468
|
+
let m = s.props, l = typeof m?.className == "function" ? (...c) => On(m?.className(...c), o.className) : On(m?.className, o.className), p = l ? { className: l } : {};
|
|
2469
2469
|
return P0(s, Object.assign({}, ro(s.props, Pn(Zn(o, ["ref"]))), v, u, b1(s.ref, u.ref), p));
|
|
2470
2470
|
}
|
|
2471
2471
|
return S0(i, Object.assign({}, Zn(o, ["ref"]), i !== vt && u, i !== vt && v), s);
|
|
@@ -2567,7 +2567,7 @@ function lo(e, t, n) {
|
|
|
2567
2567
|
let [r, i] = be(n), a = e !== void 0, d = D(a), o = D(!1), u = D(!1);
|
|
2568
2568
|
return a && !d.current && !o.current ? (o.current = !0, d.current = a, console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")) : !a && d.current && !u.current && (u.current = !0, d.current = a, console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")), [a ? e : r, V((s) => (a || i(s), t?.(s)))];
|
|
2569
2569
|
}
|
|
2570
|
-
function
|
|
2570
|
+
function Oi(e, t) {
|
|
2571
2571
|
let n = D([]), r = V(e);
|
|
2572
2572
|
pe(() => {
|
|
2573
2573
|
let i = [...n.current];
|
|
@@ -2593,11 +2593,11 @@ function so() {
|
|
|
2593
2593
|
function C1() {
|
|
2594
2594
|
return /iPhone/gi.test(window.navigator.platform) || /Mac/gi.test(window.navigator.platform) && window.navigator.maxTouchPoints > 0;
|
|
2595
2595
|
}
|
|
2596
|
-
function
|
|
2596
|
+
function x1() {
|
|
2597
2597
|
return /Android/gi.test(window.navigator.userAgent);
|
|
2598
2598
|
}
|
|
2599
|
-
function
|
|
2600
|
-
return C1() ||
|
|
2599
|
+
function O1() {
|
|
2600
|
+
return C1() || x1();
|
|
2601
2601
|
}
|
|
2602
2602
|
function P1(...e) {
|
|
2603
2603
|
return Ee(() => kn(...e), [...e]);
|
|
@@ -2668,74 +2668,74 @@ function _1(e, t) {
|
|
|
2668
2668
|
}
|
|
2669
2669
|
let A1 = vt;
|
|
2670
2670
|
function R1(e, t) {
|
|
2671
|
-
let { value: n, defaultValue: r, onChange: i, form: a, name: d, by: o = (
|
|
2671
|
+
let { value: n, defaultValue: r, onChange: i, form: a, name: d, by: o = (S, A) => S === A, disabled: u = !1, __demoMode: s = !1, nullable: v = !1, multiple: m = !1, ...l } = e, [p = m ? [] : void 0, c] = lo(n, i, r), [$, f] = Ya(_1, { dataRef: za(), comboboxState: s ? 0 : 1, options: [], activeOptionIndex: null, activationTrigger: 1, labelId: null }), b = D(!1), N = D({ static: !1, hold: !1 }), y = D(null), x = D(null), w = D(null), E = D(null), G = V(typeof o == "string" ? (S, A) => {
|
|
2672
2672
|
let F = o;
|
|
2673
|
-
return
|
|
2674
|
-
} : o), B = Ye((
|
|
2673
|
+
return S?.[F] === A?.[F];
|
|
2674
|
+
} : o), B = Ye((S) => Pe(C.mode, { 1: () => p.some((A) => G(A, S)), 0: () => G(p, S) }), [p]), C = Ee(() => ({ ...$, optionsPropsRef: N, labelRef: y, inputRef: x, buttonRef: w, optionsRef: E, value: p, defaultValue: r, disabled: u, mode: m ? 1 : 0, get activeOptionIndex() {
|
|
2675
2675
|
if (b.current && $.activeOptionIndex === null && $.options.length > 0) {
|
|
2676
|
-
let
|
|
2677
|
-
if (
|
|
2678
|
-
return
|
|
2676
|
+
let S = $.options.findIndex((A) => !A.dataRef.current.disabled);
|
|
2677
|
+
if (S !== -1)
|
|
2678
|
+
return S;
|
|
2679
2679
|
}
|
|
2680
2680
|
return $.activeOptionIndex;
|
|
2681
2681
|
}, compare: G, isSelected: B, nullable: v, __demoMode: s }), [p, r, u, m, v, s, $]), L = D(C.activeOptionIndex !== null ? C.options[C.activeOptionIndex] : null);
|
|
2682
2682
|
pe(() => {
|
|
2683
|
-
let
|
|
2684
|
-
L.current !==
|
|
2683
|
+
let S = C.activeOptionIndex !== null ? C.options[C.activeOptionIndex] : null;
|
|
2684
|
+
L.current !== S && (L.current = S);
|
|
2685
2685
|
}), Ne(() => {
|
|
2686
2686
|
$.dataRef.current = C;
|
|
2687
|
-
}, [C]), eo([C.buttonRef, C.inputRef, C.optionsRef], () =>
|
|
2688
|
-
let te = Ee(() => ({ open: C.comboboxState === 0, disabled: u, activeIndex: C.activeOptionIndex, activeOption: C.activeOptionIndex === null ? null : C.options[C.activeOptionIndex].dataRef.current.value, value: p }), [C, u, p]), ie = V((
|
|
2689
|
-
let A = C.options.find((F) => F.id ===
|
|
2687
|
+
}, [C]), eo([C.buttonRef, C.inputRef, C.optionsRef], () => O.closeCombobox(), C.comboboxState === 0);
|
|
2688
|
+
let te = Ee(() => ({ open: C.comboboxState === 0, disabled: u, activeIndex: C.activeOptionIndex, activeOption: C.activeOptionIndex === null ? null : C.options[C.activeOptionIndex].dataRef.current.value, value: p }), [C, u, p]), ie = V((S) => {
|
|
2689
|
+
let A = C.options.find((F) => F.id === S);
|
|
2690
2690
|
A && ue(A.dataRef.current.value);
|
|
2691
|
-
}),
|
|
2691
|
+
}), T = V(() => {
|
|
2692
2692
|
if (C.activeOptionIndex !== null) {
|
|
2693
|
-
let { dataRef:
|
|
2694
|
-
ue(
|
|
2693
|
+
let { dataRef: S, id: A } = C.options[C.activeOptionIndex];
|
|
2694
|
+
ue(S.current.value), O.goToOption(ge.Specific, A);
|
|
2695
2695
|
}
|
|
2696
2696
|
}), Z = V(() => {
|
|
2697
2697
|
f({ type: 0 }), b.current = !0;
|
|
2698
2698
|
}), ae = V(() => {
|
|
2699
2699
|
f({ type: 1 }), b.current = !1;
|
|
2700
|
-
}), de = V((
|
|
2700
|
+
}), de = V((S, A, F) => (b.current = !1, S === ge.Specific ? f({ type: 2, focus: ge.Specific, id: A, trigger: F }) : f({ type: 2, focus: S, trigger: F }))), K = V((S, A) => (f({ type: 3, id: S, dataRef: A }), () => {
|
|
2701
2701
|
var F;
|
|
2702
|
-
((F = L.current) == null ? void 0 : F.id) ===
|
|
2703
|
-
})), ce = V((
|
|
2704
|
-
return c?.(
|
|
2702
|
+
((F = L.current) == null ? void 0 : F.id) === S && (b.current = !0), f({ type: 4, id: S });
|
|
2703
|
+
})), ce = V((S) => (f({ type: 5, id: S }), () => f({ type: 5, id: null }))), ue = V((S) => Pe(C.mode, { 0() {
|
|
2704
|
+
return c?.(S);
|
|
2705
2705
|
}, 1() {
|
|
2706
|
-
let A = C.value.slice(), F = A.findIndex((H) => G(H,
|
|
2707
|
-
return F === -1 ? A.push(
|
|
2708
|
-
} })),
|
|
2706
|
+
let A = C.value.slice(), F = A.findIndex((H) => G(H, S));
|
|
2707
|
+
return F === -1 ? A.push(S) : A.splice(F, 1), c?.(A);
|
|
2708
|
+
} })), O = Ee(() => ({ onChange: ue, registerOption: K, registerLabel: ce, goToOption: de, closeCombobox: ae, openCombobox: Z, selectActiveOption: T, selectOption: ie }), []), R = t === null ? {} : { ref: t }, W = D(null), U = mt();
|
|
2709
2709
|
return pe(() => {
|
|
2710
2710
|
W.current && r !== void 0 && U.addEventListener(W.current, "reset", () => {
|
|
2711
2711
|
c?.(r);
|
|
2712
2712
|
});
|
|
2713
|
-
}, [W, c]), k.createElement(zr.Provider, { value:
|
|
2713
|
+
}, [W, c]), k.createElement(zr.Provider, { value: O }, k.createElement(Zr.Provider, { value: C }, k.createElement(Yr, { value: Pe(C.comboboxState, { 0: Re.Open, 1: Re.Closed }) }, d != null && p != null && Hr({ [d]: p }).map(([S, A], F) => k.createElement(uo, { features: Kr.Hidden, ref: F === 0 ? (H) => {
|
|
2714
2714
|
var Y;
|
|
2715
2715
|
W.current = (Y = H?.closest("form")) != null ? Y : null;
|
|
2716
|
-
} : void 0, ...Pn({ key:
|
|
2716
|
+
} : void 0, ...Pn({ key: S, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: a, name: S, value: A }) })), He({ ourProps: R, theirProps: l, slot: te, defaultTag: A1, name: "Combobox" }))));
|
|
2717
2717
|
}
|
|
2718
2718
|
let F1 = "input";
|
|
2719
2719
|
function k1(e, t) {
|
|
2720
2720
|
var n, r, i, a;
|
|
2721
|
-
let d = gt(), { id: o = `headlessui-combobox-input-${d}`, onChange: u, displayValue: s, type: v = "text", ...m } = e, l = qt("Combobox.Input"), p = un("Combobox.Input"), c = Qe(l.inputRef, t), $ = P1(l.inputRef), f = D(!1), b = mt(),
|
|
2721
|
+
let d = gt(), { id: o = `headlessui-combobox-input-${d}`, onChange: u, displayValue: s, type: v = "text", ...m } = e, l = qt("Combobox.Input"), p = un("Combobox.Input"), c = Qe(l.inputRef, t), $ = P1(l.inputRef), f = D(!1), b = mt(), N = V(() => {
|
|
2722
2722
|
p.onChange(null), l.optionsRef.current && (l.optionsRef.current.scrollTop = 0), p.goToOption(ge.Nothing);
|
|
2723
2723
|
}), y = function() {
|
|
2724
|
-
var
|
|
2725
|
-
return typeof s == "function" && l.value !== void 0 ? (
|
|
2724
|
+
var T;
|
|
2725
|
+
return typeof s == "function" && l.value !== void 0 ? (T = s(l.value)) != null ? T : "" : typeof l.value == "string" ? l.value : "";
|
|
2726
2726
|
}();
|
|
2727
|
-
|
|
2727
|
+
Oi(([T, Z], [ae, de]) => {
|
|
2728
2728
|
if (f.current)
|
|
2729
2729
|
return;
|
|
2730
2730
|
let K = l.inputRef.current;
|
|
2731
|
-
K && ((de === 0 && Z === 1 ||
|
|
2731
|
+
K && ((de === 0 && Z === 1 || T !== ae) && (K.value = T), requestAnimationFrame(() => {
|
|
2732
2732
|
if (f.current || !K || $?.activeElement !== K)
|
|
2733
2733
|
return;
|
|
2734
2734
|
let { selectionStart: ce, selectionEnd: ue } = K;
|
|
2735
2735
|
Math.abs((ue ?? 0) - (ce ?? 0)) === 0 && ce === 0 && K.setSelectionRange(K.value.length, K.value.length);
|
|
2736
2736
|
}));
|
|
2737
|
-
}, [y, l.comboboxState, $]),
|
|
2738
|
-
if (
|
|
2737
|
+
}, [y, l.comboboxState, $]), Oi(([T], [Z]) => {
|
|
2738
|
+
if (T === 0 && Z === 1) {
|
|
2739
2739
|
if (f.current)
|
|
2740
2740
|
return;
|
|
2741
2741
|
let ae = l.inputRef.current;
|
|
@@ -2745,31 +2745,31 @@ function k1(e, t) {
|
|
|
2745
2745
|
ae.value = "", ae.value = de, ue !== null ? ae.setSelectionRange(K, ce, ue) : ae.setSelectionRange(K, ce);
|
|
2746
2746
|
}
|
|
2747
2747
|
}, [l.comboboxState]);
|
|
2748
|
-
let
|
|
2749
|
-
|
|
2750
|
-
}),
|
|
2748
|
+
let x = D(!1), w = V(() => {
|
|
2749
|
+
x.current = !0;
|
|
2750
|
+
}), E = V(() => {
|
|
2751
2751
|
b.nextFrame(() => {
|
|
2752
|
-
|
|
2752
|
+
x.current = !1;
|
|
2753
2753
|
});
|
|
2754
|
-
}), G = V((
|
|
2755
|
-
switch (f.current = !0,
|
|
2754
|
+
}), G = V((T) => {
|
|
2755
|
+
switch (f.current = !0, T.key) {
|
|
2756
2756
|
case me.Enter:
|
|
2757
|
-
if (f.current = !1, l.comboboxState !== 0 ||
|
|
2757
|
+
if (f.current = !1, l.comboboxState !== 0 || x.current)
|
|
2758
2758
|
return;
|
|
2759
|
-
if (
|
|
2759
|
+
if (T.preventDefault(), T.stopPropagation(), l.activeOptionIndex === null) {
|
|
2760
2760
|
p.closeCombobox();
|
|
2761
2761
|
return;
|
|
2762
2762
|
}
|
|
2763
2763
|
p.selectActiveOption(), l.mode === 0 && p.closeCombobox();
|
|
2764
2764
|
break;
|
|
2765
2765
|
case me.ArrowDown:
|
|
2766
|
-
return f.current = !1,
|
|
2766
|
+
return f.current = !1, T.preventDefault(), T.stopPropagation(), Pe(l.comboboxState, { 0: () => {
|
|
2767
2767
|
p.goToOption(ge.Next);
|
|
2768
2768
|
}, 1: () => {
|
|
2769
2769
|
p.openCombobox();
|
|
2770
2770
|
} });
|
|
2771
2771
|
case me.ArrowUp:
|
|
2772
|
-
return f.current = !1,
|
|
2772
|
+
return f.current = !1, T.preventDefault(), T.stopPropagation(), Pe(l.comboboxState, { 0: () => {
|
|
2773
2773
|
p.goToOption(ge.Previous);
|
|
2774
2774
|
}, 1: () => {
|
|
2775
2775
|
p.openCombobox(), b.nextFrame(() => {
|
|
@@ -2777,33 +2777,33 @@ function k1(e, t) {
|
|
|
2777
2777
|
});
|
|
2778
2778
|
} });
|
|
2779
2779
|
case me.Home:
|
|
2780
|
-
if (
|
|
2780
|
+
if (T.shiftKey)
|
|
2781
2781
|
break;
|
|
2782
|
-
return f.current = !1,
|
|
2782
|
+
return f.current = !1, T.preventDefault(), T.stopPropagation(), p.goToOption(ge.First);
|
|
2783
2783
|
case me.PageUp:
|
|
2784
|
-
return f.current = !1,
|
|
2784
|
+
return f.current = !1, T.preventDefault(), T.stopPropagation(), p.goToOption(ge.First);
|
|
2785
2785
|
case me.End:
|
|
2786
|
-
if (
|
|
2786
|
+
if (T.shiftKey)
|
|
2787
2787
|
break;
|
|
2788
|
-
return f.current = !1,
|
|
2788
|
+
return f.current = !1, T.preventDefault(), T.stopPropagation(), p.goToOption(ge.Last);
|
|
2789
2789
|
case me.PageDown:
|
|
2790
|
-
return f.current = !1,
|
|
2790
|
+
return f.current = !1, T.preventDefault(), T.stopPropagation(), p.goToOption(ge.Last);
|
|
2791
2791
|
case me.Escape:
|
|
2792
|
-
return f.current = !1, l.comboboxState !== 0 ? void 0 : (
|
|
2792
|
+
return f.current = !1, l.comboboxState !== 0 ? void 0 : (T.preventDefault(), l.optionsRef.current && !l.optionsPropsRef.current.static && T.stopPropagation(), l.nullable && l.mode === 0 && l.value === null && N(), p.closeCombobox());
|
|
2793
2793
|
case me.Tab:
|
|
2794
2794
|
if (f.current = !1, l.comboboxState !== 0)
|
|
2795
2795
|
return;
|
|
2796
2796
|
l.mode === 0 && p.selectActiveOption(), p.closeCombobox();
|
|
2797
2797
|
break;
|
|
2798
2798
|
}
|
|
2799
|
-
}), B = V((
|
|
2800
|
-
u?.(
|
|
2799
|
+
}), B = V((T) => {
|
|
2800
|
+
u?.(T), l.nullable && l.mode === 0 && T.target.value === "" && N(), p.openCombobox();
|
|
2801
2801
|
}), C = V(() => {
|
|
2802
2802
|
f.current = !1;
|
|
2803
2803
|
}), L = on(() => {
|
|
2804
2804
|
if (l.labelId)
|
|
2805
2805
|
return [l.labelId].join(" ");
|
|
2806
|
-
}, [l.labelId]), te = Ee(() => ({ open: l.comboboxState === 0, disabled: l.disabled }), [l]), ie = { ref: c, id: o, role: "combobox", type: v, "aria-controls": (n = l.optionsRef.current) == null ? void 0 : n.id, "aria-expanded": l.comboboxState === 0, "aria-activedescendant": l.activeOptionIndex === null || (r = l.options[l.activeOptionIndex]) == null ? void 0 : r.id, "aria-labelledby": L, "aria-autocomplete": "list", defaultValue: (a = (i = e.defaultValue) != null ? i : l.defaultValue !== void 0 ? s?.(l.defaultValue) : null) != null ? a : l.defaultValue, disabled: l.disabled, onCompositionStart: w, onCompositionEnd:
|
|
2806
|
+
}, [l.labelId]), te = Ee(() => ({ open: l.comboboxState === 0, disabled: l.disabled }), [l]), ie = { ref: c, id: o, role: "combobox", type: v, "aria-controls": (n = l.optionsRef.current) == null ? void 0 : n.id, "aria-expanded": l.comboboxState === 0, "aria-activedescendant": l.activeOptionIndex === null || (r = l.options[l.activeOptionIndex]) == null ? void 0 : r.id, "aria-labelledby": L, "aria-autocomplete": "list", defaultValue: (a = (i = e.defaultValue) != null ? i : l.defaultValue !== void 0 ? s?.(l.defaultValue) : null) != null ? a : l.defaultValue, disabled: l.disabled, onCompositionStart: w, onCompositionEnd: E, onKeyDown: G, onChange: B, onBlur: C };
|
|
2807
2807
|
return He({ ourProps: ie, theirProps: m, slot: te, defaultTag: F1, name: "Combobox.Input" });
|
|
2808
2808
|
}
|
|
2809
2809
|
let j1 = "button";
|
|
@@ -2895,10 +2895,10 @@ function G1(e, t) {
|
|
|
2895
2895
|
(te = (L = p.current) == null ? void 0 : L.scrollIntoView) == null || te.call(L, { block: "nearest" });
|
|
2896
2896
|
}), C.dispose;
|
|
2897
2897
|
}, [p, m, s.comboboxState, s.activationTrigger, s.activeOptionIndex]);
|
|
2898
|
-
let
|
|
2898
|
+
let N = V((C) => {
|
|
2899
2899
|
if (d)
|
|
2900
2900
|
return C.preventDefault();
|
|
2901
|
-
f(), s.mode === 0 && v.closeCombobox(),
|
|
2901
|
+
f(), s.mode === 0 && v.closeCombobox(), O1() || requestAnimationFrame(() => {
|
|
2902
2902
|
var L;
|
|
2903
2903
|
return (L = s.inputRef.current) == null ? void 0 : L.focus();
|
|
2904
2904
|
});
|
|
@@ -2906,12 +2906,12 @@ function G1(e, t) {
|
|
|
2906
2906
|
if (d)
|
|
2907
2907
|
return v.goToOption(ge.Nothing);
|
|
2908
2908
|
v.goToOption(ge.Specific, a);
|
|
2909
|
-
}),
|
|
2910
|
-
|
|
2909
|
+
}), x = so(), w = V((C) => x.update(C)), E = V((C) => {
|
|
2910
|
+
x.wasMoved(C) && (d || m || v.goToOption(ge.Specific, a, 0));
|
|
2911
2911
|
}), G = V((C) => {
|
|
2912
|
-
|
|
2912
|
+
x.wasMoved(C) && (d || m && (s.optionsPropsRef.current.hold || v.goToOption(ge.Nothing)));
|
|
2913
2913
|
}), B = Ee(() => ({ active: m, selected: l, disabled: d }), [m, l, d]);
|
|
2914
|
-
return He({ ourProps: { id: a, ref: $, role: "option", tabIndex: d === !0 ? void 0 : -1, "aria-disabled": d === !0 ? !0 : void 0, "aria-selected": l, disabled: void 0, onClick:
|
|
2914
|
+
return He({ ourProps: { id: a, ref: $, role: "option", tabIndex: d === !0 ? void 0 : -1, "aria-disabled": d === !0 ? !0 : void 0, "aria-selected": l, disabled: void 0, onClick: N, onFocus: y, onPointerEnter: w, onMouseEnter: w, onPointerMove: E, onMouseMove: E, onPointerLeave: G, onMouseLeave: G }, theirProps: u, slot: B, defaultTag: V1, name: "Combobox.Option" });
|
|
2915
2915
|
}
|
|
2916
2916
|
let H1 = We(R1), K1 = We(L1), q1 = We(k1), Y1 = We(M1), z1 = We(W1), Z1 = We(G1), en = Object.assign(H1, { Input: q1, Button: K1, Label: Y1, Options: z1, Option: Z1 });
|
|
2917
2917
|
function Xr() {
|
|
@@ -3026,40 +3026,40 @@ function is(e, t) {
|
|
|
3026
3026
|
}
|
|
3027
3027
|
let as = vt;
|
|
3028
3028
|
function ds(e, t) {
|
|
3029
|
-
let { value: n, defaultValue: r, form: i, name: a, onChange: d, by: o = (
|
|
3029
|
+
let { value: n, defaultValue: r, form: i, name: a, onChange: d, by: o = (S, A) => S === A, disabled: u = !1, horizontal: s = !1, multiple: v = !1, ...m } = e;
|
|
3030
3030
|
const l = s ? "horizontal" : "vertical";
|
|
3031
|
-
let p = Qe(t), [c = v ? [] : void 0, $] = lo(n, d, r), [f, b] = Ya(is, { dataRef: za(), listboxState: 1, options: [], searchQuery: "", labelId: null, activeOptionIndex: null, activationTrigger: 1 }),
|
|
3031
|
+
let p = Qe(t), [c = v ? [] : void 0, $] = lo(n, d, r), [f, b] = Ya(is, { dataRef: za(), listboxState: 1, options: [], searchQuery: "", labelId: null, activeOptionIndex: null, activationTrigger: 1 }), N = D({ static: !1, hold: !1 }), y = D(null), x = D(null), w = D(null), E = V(typeof o == "string" ? (S, A) => {
|
|
3032
3032
|
let F = o;
|
|
3033
|
-
return
|
|
3034
|
-
} : o), G = Ye((
|
|
3033
|
+
return S?.[F] === A?.[F];
|
|
3034
|
+
} : o), G = Ye((S) => Pe(B.mode, { 1: () => c.some((A) => E(A, S)), 0: () => E(c, S) }), [c]), B = Ee(() => ({ ...f, value: c, disabled: u, mode: v ? 1 : 0, orientation: l, compare: E, isSelected: G, optionsPropsRef: N, labelRef: y, buttonRef: x, optionsRef: w }), [c, u, v, f]);
|
|
3035
3035
|
Ne(() => {
|
|
3036
3036
|
f.dataRef.current = B;
|
|
3037
|
-
}, [B]), eo([B.buttonRef, B.optionsRef], (
|
|
3037
|
+
}, [B]), eo([B.buttonRef, B.optionsRef], (S, A) => {
|
|
3038
3038
|
var F;
|
|
3039
|
-
b({ type: 1 }), Jd(A, Gr.Loose) || (
|
|
3039
|
+
b({ type: 1 }), Jd(A, Gr.Loose) || (S.preventDefault(), (F = B.buttonRef.current) == null || F.focus());
|
|
3040
3040
|
}, B.listboxState === 0);
|
|
3041
|
-
let C = Ee(() => ({ open: B.listboxState === 0, disabled: u, value: c }), [B, u, c]), L = V((
|
|
3042
|
-
let A = B.options.find((F) => F.id ===
|
|
3041
|
+
let C = Ee(() => ({ open: B.listboxState === 0, disabled: u, value: c }), [B, u, c]), L = V((S) => {
|
|
3042
|
+
let A = B.options.find((F) => F.id === S);
|
|
3043
3043
|
A && K(A.dataRef.current.value);
|
|
3044
3044
|
}), te = V(() => {
|
|
3045
3045
|
if (B.activeOptionIndex !== null) {
|
|
3046
|
-
let { dataRef:
|
|
3047
|
-
K(
|
|
3046
|
+
let { dataRef: S, id: A } = B.options[B.activeOptionIndex];
|
|
3047
|
+
K(S.current.value), b({ type: 2, focus: ge.Specific, id: A });
|
|
3048
3048
|
}
|
|
3049
|
-
}), ie = V(() => b({ type: 0 })),
|
|
3050
|
-
return $?.(
|
|
3049
|
+
}), ie = V(() => b({ type: 0 })), T = V(() => b({ type: 1 })), Z = V((S, A, F) => S === ge.Specific ? b({ type: 2, focus: ge.Specific, id: A, trigger: F }) : b({ type: 2, focus: S, trigger: F })), ae = V((S, A) => (b({ type: 5, id: S, dataRef: A }), () => b({ type: 6, id: S }))), de = V((S) => (b({ type: 7, id: S }), () => b({ type: 7, id: null }))), K = V((S) => Pe(B.mode, { 0() {
|
|
3050
|
+
return $?.(S);
|
|
3051
3051
|
}, 1() {
|
|
3052
|
-
let A = B.value.slice(), F = A.findIndex((H) =>
|
|
3053
|
-
return F === -1 ? A.push(
|
|
3054
|
-
} })), ce = V((
|
|
3052
|
+
let A = B.value.slice(), F = A.findIndex((H) => E(H, S));
|
|
3053
|
+
return F === -1 ? A.push(S) : A.splice(F, 1), $?.(A);
|
|
3054
|
+
} })), ce = V((S) => b({ type: 3, value: S })), ue = V(() => b({ type: 4 })), O = Ee(() => ({ onChange: K, registerOption: ae, registerLabel: de, goToOption: Z, closeListbox: T, openListbox: ie, selectActiveOption: te, selectOption: L, search: ce, clearSearch: ue }), []), R = { ref: p }, W = D(null), U = mt();
|
|
3055
3055
|
return pe(() => {
|
|
3056
3056
|
W.current && r !== void 0 && U.addEventListener(W.current, "reset", () => {
|
|
3057
3057
|
$?.(r);
|
|
3058
3058
|
});
|
|
3059
|
-
}, [W, $]), k.createElement(Jr.Provider, { value:
|
|
3059
|
+
}, [W, $]), k.createElement(Jr.Provider, { value: O }, k.createElement(Qr.Provider, { value: B }, k.createElement(Yr, { value: Pe(B.listboxState, { 0: Re.Open, 1: Re.Closed }) }, a != null && c != null && Hr({ [a]: c }).map(([S, A], F) => k.createElement(uo, { features: Kr.Hidden, ref: F === 0 ? (H) => {
|
|
3060
3060
|
var Y;
|
|
3061
3061
|
W.current = (Y = H?.closest("form")) != null ? Y : null;
|
|
3062
|
-
} : void 0, ...Pn({ key:
|
|
3062
|
+
} : void 0, ...Pn({ key: S, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: i, name: S, value: A }) })), He({ ourProps: R, theirProps: m, slot: C, defaultTag: as, name: "Listbox" }))));
|
|
3063
3063
|
}
|
|
3064
3064
|
let os = "button";
|
|
3065
3065
|
function us(e, t) {
|
|
@@ -3114,8 +3114,8 @@ function ps(e, t) {
|
|
|
3114
3114
|
let r = gt(), { id: i = `headlessui-listbox-options-${r}`, ...a } = e, d = sn("Listbox.Options"), o = ln("Listbox.Options"), u = Qe(d.optionsRef, t), s = mt(), v = mt(), m = jn(), l = (() => m !== null ? (m & Re.Open) === Re.Open : d.listboxState === 0)();
|
|
3115
3115
|
pe(() => {
|
|
3116
3116
|
var b;
|
|
3117
|
-
let
|
|
3118
|
-
|
|
3117
|
+
let N = d.optionsRef.current;
|
|
3118
|
+
N && d.listboxState === 0 && N !== ((b = kn(N)) == null ? void 0 : b.activeElement) && N.focus({ preventScroll: !0 });
|
|
3119
3119
|
}, [d.listboxState, d.optionsRef]);
|
|
3120
3120
|
let p = V((b) => {
|
|
3121
3121
|
switch (v.dispose(), b.key) {
|
|
@@ -3124,12 +3124,12 @@ function ps(e, t) {
|
|
|
3124
3124
|
return b.preventDefault(), b.stopPropagation(), o.search(b.key);
|
|
3125
3125
|
case me.Enter:
|
|
3126
3126
|
if (b.preventDefault(), b.stopPropagation(), d.activeOptionIndex !== null) {
|
|
3127
|
-
let { dataRef:
|
|
3128
|
-
o.onChange(
|
|
3127
|
+
let { dataRef: N } = d.options[d.activeOptionIndex];
|
|
3128
|
+
o.onChange(N.current.value);
|
|
3129
3129
|
}
|
|
3130
3130
|
d.mode === 0 && (o.closeListbox(), st().nextFrame(() => {
|
|
3131
|
-
var
|
|
3132
|
-
return (
|
|
3131
|
+
var N;
|
|
3132
|
+
return (N = d.buttonRef.current) == null ? void 0 : N.focus({ preventScroll: !0 });
|
|
3133
3133
|
}));
|
|
3134
3134
|
break;
|
|
3135
3135
|
case Pe(d.orientation, { vertical: me.ArrowDown, horizontal: me.ArrowRight }):
|
|
@@ -3144,8 +3144,8 @@ function ps(e, t) {
|
|
|
3144
3144
|
return b.preventDefault(), b.stopPropagation(), o.goToOption(ge.Last);
|
|
3145
3145
|
case me.Escape:
|
|
3146
3146
|
return b.preventDefault(), b.stopPropagation(), o.closeListbox(), s.nextFrame(() => {
|
|
3147
|
-
var
|
|
3148
|
-
return (
|
|
3147
|
+
var N;
|
|
3148
|
+
return (N = d.buttonRef.current) == null ? void 0 : N.focus({ preventScroll: !0 });
|
|
3149
3149
|
});
|
|
3150
3150
|
case me.Tab:
|
|
3151
3151
|
b.preventDefault(), b.stopPropagation();
|
|
@@ -3155,8 +3155,8 @@ function ps(e, t) {
|
|
|
3155
3155
|
break;
|
|
3156
3156
|
}
|
|
3157
3157
|
}), c = on(() => {
|
|
3158
|
-
var b,
|
|
3159
|
-
return (y = (b = d.labelRef.current) == null ? void 0 : b.id) != null ? y : (
|
|
3158
|
+
var b, N, y;
|
|
3159
|
+
return (y = (b = d.labelRef.current) == null ? void 0 : b.id) != null ? y : (N = d.buttonRef.current) == null ? void 0 : N.id;
|
|
3160
3160
|
}, [d.labelRef.current, d.buttonRef.current]), $ = Ee(() => ({ open: d.listboxState === 0 }), [d]), f = { "aria-activedescendant": d.activeOptionIndex === null || (n = d.options[d.activeOptionIndex]) == null ? void 0 : n.id, "aria-multiselectable": d.mode === 1 ? !0 : void 0, "aria-labelledby": c, "aria-orientation": d.orientation, id: i, onKeyDown: p, role: "listbox", tabIndex: 0, ref: u };
|
|
3161
3161
|
return He({ ourProps: f, theirProps: a, slot: $, defaultTag: cs, features: fs, visible: l, name: "Listbox.Options" });
|
|
3162
3162
|
}
|
|
@@ -3168,15 +3168,15 @@ function vs(e, t) {
|
|
|
3168
3168
|
Ne(() => {
|
|
3169
3169
|
if (o.listboxState !== 0 || !s || o.activationTrigger === 0)
|
|
3170
3170
|
return;
|
|
3171
|
-
let
|
|
3172
|
-
return
|
|
3171
|
+
let E = st();
|
|
3172
|
+
return E.requestAnimationFrame(() => {
|
|
3173
3173
|
var G, B;
|
|
3174
3174
|
(B = (G = m.current) == null ? void 0 : G.scrollIntoView) == null || B.call(G, { block: "nearest" });
|
|
3175
|
-
}),
|
|
3175
|
+
}), E.dispose;
|
|
3176
3176
|
}, [m, s, o.listboxState, o.activationTrigger, o.activeOptionIndex]), Ne(() => u.registerOption(r, p), [p, r]);
|
|
3177
|
-
let $ = V((
|
|
3177
|
+
let $ = V((E) => {
|
|
3178
3178
|
if (i)
|
|
3179
|
-
return
|
|
3179
|
+
return E.preventDefault();
|
|
3180
3180
|
u.onChange(a), o.mode === 0 && (u.closeListbox(), st().nextFrame(() => {
|
|
3181
3181
|
var G;
|
|
3182
3182
|
return (G = o.buttonRef.current) == null ? void 0 : G.focus({ preventScroll: !0 });
|
|
@@ -3185,12 +3185,12 @@ function vs(e, t) {
|
|
|
3185
3185
|
if (i)
|
|
3186
3186
|
return u.goToOption(ge.Nothing);
|
|
3187
3187
|
u.goToOption(ge.Specific, r);
|
|
3188
|
-
}), b = so(),
|
|
3189
|
-
b.wasMoved(
|
|
3190
|
-
}),
|
|
3191
|
-
b.wasMoved(
|
|
3188
|
+
}), b = so(), N = V((E) => b.update(E)), y = V((E) => {
|
|
3189
|
+
b.wasMoved(E) && (i || s || u.goToOption(ge.Specific, r, 0));
|
|
3190
|
+
}), x = V((E) => {
|
|
3191
|
+
b.wasMoved(E) && (i || s && u.goToOption(ge.Nothing));
|
|
3192
3192
|
}), w = Ee(() => ({ active: s, selected: v, disabled: i }), [s, v, i]);
|
|
3193
|
-
return He({ ourProps: { id: r, ref: c, role: "option", tabIndex: i === !0 ? void 0 : -1, "aria-disabled": i === !0 ? !0 : void 0, "aria-selected": v, disabled: void 0, onClick: $, onFocus: f, onPointerEnter:
|
|
3193
|
+
return He({ ourProps: { id: r, ref: c, role: "option", tabIndex: i === !0 ? void 0 : -1, "aria-disabled": i === !0 ? !0 : void 0, "aria-selected": v, disabled: void 0, onClick: $, onFocus: f, onPointerEnter: N, onMouseEnter: N, onPointerMove: y, onMouseMove: y, onPointerLeave: x, onMouseLeave: x }, theirProps: d, slot: w, defaultTag: $s, name: "Listbox.Option" });
|
|
3194
3194
|
}
|
|
3195
3195
|
let hs = We(ds), ms = We(us), bs = We(ss), gs = We(ps), ys = We(vs), Sn = Object.assign(hs, { Button: ms, Label: bs, Options: gs, Option: ys });
|
|
3196
3196
|
function ws(e = 0) {
|
|
@@ -3216,7 +3216,7 @@ function Qn(e, ...t) {
|
|
|
3216
3216
|
function er(e, ...t) {
|
|
3217
3217
|
e && t.length > 0 && e.classList.remove(...t);
|
|
3218
3218
|
}
|
|
3219
|
-
function
|
|
3219
|
+
function xs(e, t) {
|
|
3220
3220
|
let n = st();
|
|
3221
3221
|
if (!e)
|
|
3222
3222
|
return n.dispose;
|
|
@@ -3239,13 +3239,13 @@ function Os(e, t) {
|
|
|
3239
3239
|
t();
|
|
3240
3240
|
return n.add(() => t()), n.dispose;
|
|
3241
3241
|
}
|
|
3242
|
-
function
|
|
3242
|
+
function Os(e, t, n, r) {
|
|
3243
3243
|
let i = n ? "enter" : "leave", a = st(), d = r !== void 0 ? Cs(r) : () => {
|
|
3244
3244
|
};
|
|
3245
3245
|
i === "enter" && (e.removeAttribute("hidden"), e.style.display = "");
|
|
3246
3246
|
let o = Pe(i, { enter: () => t.enter, leave: () => t.leave }), u = Pe(i, { enter: () => t.enterTo, leave: () => t.leaveTo }), s = Pe(i, { enter: () => t.enterFrom, leave: () => t.leaveFrom });
|
|
3247
3247
|
return er(e, ...t.base, ...t.enter, ...t.enterTo, ...t.enterFrom, ...t.leave, ...t.leaveFrom, ...t.leaveTo, ...t.entered), Qn(e, ...t.base, ...o, ...s), a.nextFrame(() => {
|
|
3248
|
-
er(e, ...t.base, ...o, ...s), Qn(e, ...t.base, ...o, ...u),
|
|
3248
|
+
er(e, ...t.base, ...o, ...s), Qn(e, ...t.base, ...o, ...u), xs(e, () => (er(e, ...t.base, ...o), Qn(e, ...t.base, ...t.entered), d()));
|
|
3249
3249
|
}), a.dispose;
|
|
3250
3250
|
}
|
|
3251
3251
|
function Ps({ immediate: e, container: t, direction: n, classes: r, onStart: i, onStop: a }) {
|
|
@@ -3257,7 +3257,7 @@ function Ps({ immediate: e, container: t, direction: n, classes: r, onStart: i,
|
|
|
3257
3257
|
o.add(s.dispose);
|
|
3258
3258
|
let v = t.current;
|
|
3259
3259
|
if (v && u.current !== "idle" && d.current)
|
|
3260
|
-
return s.dispose(), i.current(u.current), s.add(
|
|
3260
|
+
return s.dispose(), i.current(u.current), s.add(Os(v, r.current, u.current === "enter", () => {
|
|
3261
3261
|
s.dispose(), a.current(u.current);
|
|
3262
3262
|
})), s.dispose;
|
|
3263
3263
|
}, [n]);
|
|
@@ -3286,11 +3286,11 @@ function Mn(e) {
|
|
|
3286
3286
|
return "children" in e ? Mn(e.children) : e.current.filter(({ el: t }) => t.current !== null).filter(({ state: t }) => t === "visible").length > 0;
|
|
3287
3287
|
}
|
|
3288
3288
|
function co(e, t) {
|
|
3289
|
-
let n = it(e), r = D([]), i = Xr(), a = mt(), d = V((p, c =
|
|
3289
|
+
let n = it(e), r = D([]), i = Xr(), a = mt(), d = V((p, c = Ot.Hidden) => {
|
|
3290
3290
|
let $ = r.current.findIndex(({ el: f }) => f === p);
|
|
3291
|
-
$ !== -1 && (Pe(c, { [
|
|
3291
|
+
$ !== -1 && (Pe(c, { [Ot.Unmount]() {
|
|
3292
3292
|
r.current.splice($, 1);
|
|
3293
|
-
}, [
|
|
3293
|
+
}, [Ot.Hidden]() {
|
|
3294
3294
|
r.current[$].state = "hidden";
|
|
3295
3295
|
} }), a.microTask(() => {
|
|
3296
3296
|
var f;
|
|
@@ -3298,12 +3298,12 @@ function co(e, t) {
|
|
|
3298
3298
|
}));
|
|
3299
3299
|
}), o = V((p) => {
|
|
3300
3300
|
let c = r.current.find(({ el: $ }) => $ === p);
|
|
3301
|
-
return c ? c.state !== "visible" && (c.state = "visible") : r.current.push({ el: p, state: "visible" }), () => d(p,
|
|
3301
|
+
return c ? c.state !== "visible" && (c.state = "visible") : r.current.push({ el: p, state: "visible" }), () => d(p, Ot.Unmount);
|
|
3302
3302
|
}), u = D([]), s = D(Promise.resolve()), v = D({ enter: [], leave: [], idle: [] }), m = V((p, c, $) => {
|
|
3303
3303
|
u.current.splice(0), t && (t.chains.current[c] = t.chains.current[c].filter(([f]) => f !== p)), t?.chains.current[c].push([p, new Promise((f) => {
|
|
3304
3304
|
u.current.push(f);
|
|
3305
3305
|
})]), t?.chains.current[c].push([p, new Promise((f) => {
|
|
3306
|
-
Promise.all(v.current[c].map(([b,
|
|
3306
|
+
Promise.all(v.current[c].map(([b, N]) => N)).then(() => f());
|
|
3307
3307
|
})]), c === "enter" ? s.current = s.current.then(() => t?.wait.current).then(() => $(c)) : $(c);
|
|
3308
3308
|
}), l = V((p, c, $) => {
|
|
3309
3309
|
Promise.all(v.current[c].splice(0).map(([f, b]) => b)).then(() => {
|
|
@@ -3332,22 +3332,22 @@ function _s(e) {
|
|
|
3332
3332
|
let As = "div", fo = Gt.RenderStrategy;
|
|
3333
3333
|
function Rs(e, t) {
|
|
3334
3334
|
var n, r;
|
|
3335
|
-
let { beforeEnter: i, afterEnter: a, beforeLeave: d, afterLeave: o, enter: u, enterFrom: s, enterTo: v, entered: m, leave: l, leaveFrom: p, leaveTo: c, ...$ } = e, f = D(null), b = Qe(f, t),
|
|
3335
|
+
let { beforeEnter: i, afterEnter: a, beforeLeave: d, afterLeave: o, enter: u, enterFrom: s, enterTo: v, entered: m, leave: l, leaveFrom: p, leaveTo: c, ...$ } = e, f = D(null), b = Qe(f, t), N = (n = $.unmount) == null || n ? Ot.Unmount : Ot.Hidden, { show: y, appear: x, initial: w } = Es(), [E, G] = be(y ? "visible" : "hidden"), B = Ns(), { register: C, unregister: L } = B;
|
|
3336
3336
|
pe(() => C(f), [C, f]), pe(() => {
|
|
3337
|
-
if (
|
|
3338
|
-
if (y &&
|
|
3337
|
+
if (N === Ot.Hidden && f.current) {
|
|
3338
|
+
if (y && E !== "visible") {
|
|
3339
3339
|
G("visible");
|
|
3340
3340
|
return;
|
|
3341
3341
|
}
|
|
3342
|
-
return Pe(
|
|
3342
|
+
return Pe(E, { hidden: () => L(f), visible: () => C(f) });
|
|
3343
3343
|
}
|
|
3344
|
-
}, [
|
|
3345
|
-
let te = it({ base: Ct($.className), enter: Ct(u), enterFrom: Ct(s), enterTo: Ct(v), entered: Ct(m), leave: Ct(l), leaveFrom: Ct(p), leaveTo: Ct(c) }), ie = _s({ beforeEnter: i, afterEnter: a, beforeLeave: d, afterLeave: o }),
|
|
3344
|
+
}, [E, f, C, L, y, N]);
|
|
3345
|
+
let te = it({ base: Ct($.className), enter: Ct(u), enterFrom: Ct(s), enterTo: Ct(v), entered: Ct(m), leave: Ct(l), leaveFrom: Ct(p), leaveTo: Ct(c) }), ie = _s({ beforeEnter: i, afterEnter: a, beforeLeave: d, afterLeave: o }), T = Vr();
|
|
3346
3346
|
pe(() => {
|
|
3347
|
-
if (
|
|
3347
|
+
if (T && E === "visible" && f.current === null)
|
|
3348
3348
|
throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
|
|
3349
|
-
}, [f,
|
|
3350
|
-
let Z = w && !
|
|
3349
|
+
}, [f, E, T]);
|
|
3350
|
+
let Z = w && !x, ae = x && y && w, de = (() => !T || Z ? "idle" : y ? "enter" : "leave")(), K = ws(0), ce = V((U) => Pe(U, { enter: () => {
|
|
3351
3351
|
K.addFlag(Re.Opening), ie.current.beforeEnter();
|
|
3352
3352
|
}, leave: () => {
|
|
3353
3353
|
K.addFlag(Re.Closing), ie.current.beforeLeave();
|
|
@@ -3357,16 +3357,16 @@ function Rs(e, t) {
|
|
|
3357
3357
|
}, leave: () => {
|
|
3358
3358
|
K.removeFlag(Re.Closing), ie.current.afterLeave();
|
|
3359
3359
|
}, idle: () => {
|
|
3360
|
-
} })),
|
|
3360
|
+
} })), O = co(() => {
|
|
3361
3361
|
G("hidden"), L(f);
|
|
3362
3362
|
}, B);
|
|
3363
3363
|
Ps({ immediate: ae, container: f, classes: te, direction: de, onStart: it((U) => {
|
|
3364
|
-
|
|
3364
|
+
O.onStart(f, U, ce);
|
|
3365
3365
|
}), onStop: it((U) => {
|
|
3366
|
-
|
|
3366
|
+
O.onStop(f, U, ue), U === "leave" && !Mn(O) && (G("hidden"), L(f));
|
|
3367
3367
|
}) });
|
|
3368
3368
|
let R = $, W = { ref: b };
|
|
3369
|
-
return ae ? R = { ...R, className:
|
|
3369
|
+
return ae ? R = { ...R, className: On($.className, ...te.current.enter, ...te.current.enterFrom) } : (R.className = On($.className, (r = f.current) == null ? void 0 : r.className), R.className === "" && delete R.className), k.createElement(Dn.Provider, { value: O }, k.createElement(Yr, { value: Pe(E, { visible: Re.Open, hidden: Re.Closed }) | K.flags }, He({ ourProps: W, theirProps: R, defaultTag: As, features: fo, visible: E === "visible", name: "Transition.Child" })));
|
|
3370
3370
|
}
|
|
3371
3371
|
function Fs(e, t) {
|
|
3372
3372
|
let { show: n, appear: r = !1, unmount: i = !0, ...a } = e, d = D(null), o = Qe(d, t);
|
|
@@ -3390,18 +3390,18 @@ function Fs(e, t) {
|
|
|
3390
3390
|
let y = d.current;
|
|
3391
3391
|
if (!y)
|
|
3392
3392
|
return;
|
|
3393
|
-
let
|
|
3394
|
-
|
|
3393
|
+
let x = y.getBoundingClientRect();
|
|
3394
|
+
x.x === 0 && x.y === 0 && x.width === 0 && x.height === 0 && v("hidden");
|
|
3395
3395
|
}
|
|
3396
3396
|
}, [n, m]);
|
|
3397
3397
|
let f = { unmount: i }, b = V(() => {
|
|
3398
3398
|
var y;
|
|
3399
3399
|
l && p(!1), (y = e.beforeEnter) == null || y.call(e);
|
|
3400
|
-
}),
|
|
3400
|
+
}), N = V(() => {
|
|
3401
3401
|
var y;
|
|
3402
3402
|
l && p(!1), (y = e.beforeLeave) == null || y.call(e);
|
|
3403
3403
|
});
|
|
3404
|
-
return k.createElement(Dn.Provider, { value: m }, k.createElement(Ln.Provider, { value: $ }, He({ ourProps: { ...f, as: vt, children: k.createElement(po, { ref: o, ...f, ...a, beforeEnter: b, beforeLeave:
|
|
3404
|
+
return k.createElement(Dn.Provider, { value: m }, k.createElement(Ln.Provider, { value: $ }, He({ ourProps: { ...f, as: vt, children: k.createElement(po, { ref: o, ...f, ...a, beforeEnter: b, beforeLeave: N }) }, theirProps: {}, defaultTag: vt, features: fo, visible: s === "visible", name: "Transition" })));
|
|
3405
3405
|
}
|
|
3406
3406
|
function ks(e, t) {
|
|
3407
3407
|
let n = St(Ln) !== null, r = jn() !== null;
|
|
@@ -3445,36 +3445,36 @@ const Ds = $t.forwardRef(Ls), vo = Ds, Ms = "_select_c79hj_1", Bs = "_selectCont
|
|
|
3445
3445
|
}, Js = ({ children: e, selected: t, onSelect: n, themeColor: r }) => {
|
|
3446
3446
|
const [i, a] = be(!1), [d, o] = be(!1), u = D(null), s = D(null), v = D(null), [m, l] = be({ left: 0, top: 0 }), p = D(0), c = D(0);
|
|
3447
3447
|
let $ = "#333333";
|
|
3448
|
-
const f = (
|
|
3449
|
-
n(
|
|
3448
|
+
const f = (E) => {
|
|
3449
|
+
n(E);
|
|
3450
3450
|
}, b = () => {
|
|
3451
3451
|
a(!0);
|
|
3452
|
-
},
|
|
3452
|
+
}, N = () => {
|
|
3453
3453
|
a(!1);
|
|
3454
3454
|
};
|
|
3455
3455
|
pe(() => {
|
|
3456
|
-
const
|
|
3457
|
-
return
|
|
3458
|
-
|
|
3456
|
+
const E = s.current;
|
|
3457
|
+
return E && (E.addEventListener("focus", b), E.addEventListener("blur", N)), () => {
|
|
3458
|
+
E && (E.removeEventListener("focus", b), E.removeEventListener("blur", N));
|
|
3459
3459
|
};
|
|
3460
|
-
}, [b,
|
|
3460
|
+
}, [b, N]);
|
|
3461
3461
|
const y = () => {
|
|
3462
3462
|
p.current = window.innerHeight, c.current = document.body.scrollHeight, o(!0);
|
|
3463
3463
|
};
|
|
3464
3464
|
pe(() => (y(), window.addEventListener("resize", y), () => {
|
|
3465
3465
|
window.addEventListener("resize", y);
|
|
3466
3466
|
}), []);
|
|
3467
|
-
const
|
|
3467
|
+
const x = () => c.current - (p.current + window.scrollY), w = () => {
|
|
3468
3468
|
if (u.current) {
|
|
3469
|
-
const
|
|
3469
|
+
const E = u.current.getBoundingClientRect();
|
|
3470
3470
|
setTimeout(() => {
|
|
3471
|
-
const G = v?.current?.getBoundingClientRect(), B =
|
|
3471
|
+
const G = v?.current?.getBoundingClientRect(), B = x(), C = p.current - E.bottom;
|
|
3472
3472
|
let L;
|
|
3473
3473
|
if (G) {
|
|
3474
|
-
const te =
|
|
3475
|
-
|
|
3476
|
-
left:
|
|
3477
|
-
top: L ??
|
|
3474
|
+
const te = E.height, ie = E.top, T = G.height, Z = T >= ie + window.scrollY;
|
|
3475
|
+
T >= ie && (Z || Z && C <= T || B >= T || C >= T) || ie >= T && C >= T ? L = E.y + te : L = E.y - T, l({
|
|
3476
|
+
left: E.left,
|
|
3477
|
+
top: L ?? E.top
|
|
3478
3478
|
});
|
|
3479
3479
|
}
|
|
3480
3480
|
}, 0);
|
|
@@ -3484,35 +3484,35 @@ const Ds = $t.forwardRef(Ls), vo = Ds, Ms = "_select_c79hj_1", Bs = "_selectCont
|
|
|
3484
3484
|
window.removeEventListener("scroll", w), window.removeEventListener("resize", w);
|
|
3485
3485
|
}), []), r) {
|
|
3486
3486
|
r = ct.convert3HexTo6(r);
|
|
3487
|
-
const
|
|
3488
|
-
(
|
|
3487
|
+
const E = Et(r);
|
|
3488
|
+
(E === "dark" || E === "light") && ($ = r === "#ffffff" ? "#c8c8c8" : r);
|
|
3489
3489
|
}
|
|
3490
|
-
return /* @__PURE__ */
|
|
3491
|
-
/* @__PURE__ */
|
|
3490
|
+
return /* @__PURE__ */ P.jsx(Sn, { value: t, onChange: f, children: ({ open: E }) => /* @__PURE__ */ P.jsxs("div", { className: qe.select, children: [
|
|
3491
|
+
/* @__PURE__ */ P.jsx("div", { className: qe.selectContainer, ref: u, children: /* @__PURE__ */ P.jsxs(
|
|
3492
3492
|
Sn.Button,
|
|
3493
3493
|
{
|
|
3494
3494
|
"data-testid": "select-options",
|
|
3495
3495
|
ref: s,
|
|
3496
3496
|
onFocus: b,
|
|
3497
|
-
onBlur:
|
|
3497
|
+
onBlur: N,
|
|
3498
3498
|
onClick: w,
|
|
3499
3499
|
onKeyDown: (G) => {
|
|
3500
3500
|
(G.key === " " || G.code === "Space" || G.code === "Enter") && w();
|
|
3501
3501
|
},
|
|
3502
|
-
style: { borderBottomColor: r && (i ||
|
|
3503
|
-
className: `${qe.selectButton} ${
|
|
3502
|
+
style: { borderBottomColor: r && (i || E) ? $ : "" },
|
|
3503
|
+
className: `${qe.selectButton} ${E ? qe.open : ""}`,
|
|
3504
3504
|
tabIndex: 0,
|
|
3505
3505
|
children: [
|
|
3506
|
-
t && /* @__PURE__ */
|
|
3507
|
-
t.avatar && /* @__PURE__ */
|
|
3508
|
-
/* @__PURE__ */
|
|
3506
|
+
t && /* @__PURE__ */ P.jsxs("span", { className: qe.selectValue, children: [
|
|
3507
|
+
t.avatar && /* @__PURE__ */ P.jsx("img", { src: t.avatar, alt: "", className: qe.seletIcon }),
|
|
3508
|
+
/* @__PURE__ */ P.jsx("span", { className: qe.selectText, children: t.label })
|
|
3509
3509
|
] }),
|
|
3510
|
-
/* @__PURE__ */
|
|
3510
|
+
/* @__PURE__ */ P.jsx("span", { className: qe.chevronDownIconSpan, children: /* @__PURE__ */ P.jsx(vo, { className: qe.chevronDownIcon, "aria-hidden": "true" }) })
|
|
3511
3511
|
]
|
|
3512
3512
|
}
|
|
3513
3513
|
) }),
|
|
3514
3514
|
d ? Mr(
|
|
3515
|
-
/* @__PURE__ */
|
|
3515
|
+
/* @__PURE__ */ P.jsx(P.Fragment, { children: E && /* @__PURE__ */ P.jsx(
|
|
3516
3516
|
"div",
|
|
3517
3517
|
{
|
|
3518
3518
|
style: {
|
|
@@ -3521,7 +3521,7 @@ const Ds = $t.forwardRef(Ls), vo = Ds, Ms = "_select_c79hj_1", Bs = "_selectCont
|
|
|
3521
3521
|
backgroundColor: "rgba(255,255,255,0)",
|
|
3522
3522
|
zIndex: 1e3
|
|
3523
3523
|
},
|
|
3524
|
-
children: /* @__PURE__ */
|
|
3524
|
+
children: /* @__PURE__ */ P.jsx(
|
|
3525
3525
|
"div",
|
|
3526
3526
|
{
|
|
3527
3527
|
ref: v,
|
|
@@ -3540,7 +3540,7 @@ const Ds = $t.forwardRef(Ls), vo = Ds, Ms = "_select_c79hj_1", Bs = "_selectCont
|
|
|
3540
3540
|
document.body
|
|
3541
3541
|
) : null
|
|
3542
3542
|
] }) });
|
|
3543
|
-
}, Qs = ({ children: e, setQuery: t }) => /* @__PURE__ */
|
|
3543
|
+
}, Qs = ({ children: e, setQuery: t }) => /* @__PURE__ */ P.jsx(
|
|
3544
3544
|
$o,
|
|
3545
3545
|
{
|
|
3546
3546
|
as: vt,
|
|
@@ -3548,9 +3548,9 @@ const Ds = $t.forwardRef(Ls), vo = Ds, Ms = "_select_c79hj_1", Bs = "_selectCont
|
|
|
3548
3548
|
leaveFrom: qe.leaveFrom,
|
|
3549
3549
|
leaveTo: qe.leaveTo,
|
|
3550
3550
|
afterLeave: () => t(""),
|
|
3551
|
-
children: /* @__PURE__ */
|
|
3551
|
+
children: /* @__PURE__ */ P.jsx(Sn.Options, { className: qe.selectOptions, children: e })
|
|
3552
3552
|
}
|
|
3553
|
-
), ho = Pt((e, t) => /* @__PURE__ */
|
|
3553
|
+
), ho = Pt((e, t) => /* @__PURE__ */ P.jsx(Sn.Option, { ref: t, className: e.className, value: e.value, disabled: e.disable, children: e.children }));
|
|
3554
3554
|
ho.displayName = "SelectOption";
|
|
3555
3555
|
const e2 = "_autocomplete_1uhaj_1", t2 = "_autocompleteContainer_1uhaj_4", n2 = "_disable_1uhaj_7", r2 = "_autocompleteInput_1uhaj_16", i2 = "_autocompleteButton_1uhaj_25", a2 = "_chevronDownIcon_1uhaj_28", d2 = "_leave_1uhaj_35", o2 = "_leaveFrom_1uhaj_39", u2 = "_leaveTo_1uhaj_43", l2 = "_autocompleteOptions_1uhaj_47", rt = {
|
|
3556
3556
|
autocomplete: e2,
|
|
@@ -3572,62 +3572,62 @@ const e2 = "_autocomplete_1uhaj_1", t2 = "_autocompleteContainer_1uhaj_4", n2 =
|
|
|
3572
3572
|
clearSearch: a = !1,
|
|
3573
3573
|
themeColor: d
|
|
3574
3574
|
}) => {
|
|
3575
|
-
const o = D(null), u = D(null), [s, v] = be(!1), [m, l] = be(!1), p = D(null), c = D(null), [$, f] = be({ left: 0, top: 0 }), b = D(0),
|
|
3575
|
+
const o = D(null), u = D(null), [s, v] = be(!1), [m, l] = be(!1), p = D(null), c = D(null), [$, f] = be({ left: 0, top: 0 }), b = D(0), N = D(0);
|
|
3576
3576
|
let y = {};
|
|
3577
3577
|
pe(() => {
|
|
3578
3578
|
o.current && t && (o.current.value = t.label || "");
|
|
3579
3579
|
}, [t]);
|
|
3580
|
-
const
|
|
3581
|
-
b.current = window.innerHeight,
|
|
3580
|
+
const x = () => {
|
|
3581
|
+
b.current = window.innerHeight, N.current = document.body.scrollHeight, l(!0);
|
|
3582
3582
|
};
|
|
3583
|
-
pe(() => (
|
|
3584
|
-
window.addEventListener("resize",
|
|
3583
|
+
pe(() => (x(), window.addEventListener("resize", x), () => {
|
|
3584
|
+
window.addEventListener("resize", x);
|
|
3585
3585
|
}), []);
|
|
3586
|
-
const w = () =>
|
|
3586
|
+
const w = () => N.current - (b.current + window.scrollY), E = () => {
|
|
3587
3587
|
if (p.current) {
|
|
3588
|
-
const
|
|
3588
|
+
const T = p.current.getBoundingClientRect();
|
|
3589
3589
|
setTimeout(() => {
|
|
3590
|
-
const Z = c?.current?.getBoundingClientRect(), ae = w(), de = b.current -
|
|
3590
|
+
const Z = c?.current?.getBoundingClientRect(), ae = w(), de = b.current - T.bottom;
|
|
3591
3591
|
let K;
|
|
3592
3592
|
if (Z) {
|
|
3593
|
-
const ce =
|
|
3594
|
-
ue <
|
|
3595
|
-
left:
|
|
3596
|
-
top: K ??
|
|
3593
|
+
const ce = T.height, ue = T.top, O = Z.height, R = O > ue + window.scrollY;
|
|
3594
|
+
ue < O && (R || R && de < O || ae > O || de > O) || ue > O && de > O ? K = T.y + ce : K = T.y - O, f({
|
|
3595
|
+
left: T.left,
|
|
3596
|
+
top: K ?? T.top
|
|
3597
3597
|
});
|
|
3598
3598
|
}
|
|
3599
3599
|
}, 0);
|
|
3600
3600
|
}
|
|
3601
3601
|
};
|
|
3602
|
-
pe(() => (window.addEventListener("scroll",
|
|
3603
|
-
window.removeEventListener("scroll",
|
|
3602
|
+
pe(() => (window.addEventListener("scroll", E), window.addEventListener("resize", E), () => {
|
|
3603
|
+
window.removeEventListener("scroll", E), window.removeEventListener("resize", E);
|
|
3604
3604
|
}), []);
|
|
3605
|
-
const G = (
|
|
3606
|
-
n(
|
|
3605
|
+
const G = (T) => {
|
|
3606
|
+
n(T), L();
|
|
3607
3607
|
}, B = () => {
|
|
3608
|
-
|
|
3609
|
-
}, C = (
|
|
3610
|
-
const
|
|
3611
|
-
|
|
3608
|
+
E(), v(!0), o.current && t && (o.current.value = t.label || ""), o.current && u.current && (a && (o.current.value = "", r("")), u.current.click());
|
|
3609
|
+
}, C = (T) => T?.label, L = () => {
|
|
3610
|
+
const T = o.current;
|
|
3611
|
+
T && T.setSelectionRange(T.value.length, T.value.length);
|
|
3612
3612
|
}, te = () => {
|
|
3613
3613
|
v(!0);
|
|
3614
3614
|
}, ie = () => {
|
|
3615
3615
|
v(!1);
|
|
3616
3616
|
};
|
|
3617
3617
|
if (pe(() => {
|
|
3618
|
-
const
|
|
3619
|
-
return
|
|
3620
|
-
|
|
3618
|
+
const T = o.current;
|
|
3619
|
+
return T && (T.addEventListener("focus", te), T.addEventListener("blur", ie)), () => {
|
|
3620
|
+
T && (T.removeEventListener("focus", te), T.removeEventListener("blur", ie));
|
|
3621
3621
|
};
|
|
3622
3622
|
}, [te, ie]), d) {
|
|
3623
|
-
const
|
|
3624
|
-
d = ct.convert3HexTo6(d), (
|
|
3623
|
+
const T = Et(d);
|
|
3624
|
+
d = ct.convert3HexTo6(d), (T === "dark" || T === "light") && (y = {
|
|
3625
3625
|
borderBottomColor: d === "#ffffff" ? "#c8c8c8" : s ? d : "#333333"
|
|
3626
3626
|
});
|
|
3627
3627
|
}
|
|
3628
|
-
return /* @__PURE__ */
|
|
3629
|
-
/* @__PURE__ */
|
|
3630
|
-
/* @__PURE__ */
|
|
3628
|
+
return /* @__PURE__ */ P.jsx(en, { value: t, onChange: G, disabled: i, children: ({ open: T }) => /* @__PURE__ */ P.jsxs("div", { className: rt.autocomplete, children: [
|
|
3629
|
+
/* @__PURE__ */ P.jsxs("div", { ref: p, className: `${rt.autocompleteContainer} ${i ? rt.disable : ""}`, children: [
|
|
3630
|
+
/* @__PURE__ */ P.jsx(
|
|
3631
3631
|
en.Input,
|
|
3632
3632
|
{
|
|
3633
3633
|
ref: o,
|
|
@@ -3635,27 +3635,27 @@ const e2 = "_autocomplete_1uhaj_1", t2 = "_autocompleteContainer_1uhaj_4", n2 =
|
|
|
3635
3635
|
className: rt.autocompleteInput,
|
|
3636
3636
|
displayValue: C,
|
|
3637
3637
|
onChange: (Z) => {
|
|
3638
|
-
r(Z.target.value),
|
|
3638
|
+
r(Z.target.value), E();
|
|
3639
3639
|
},
|
|
3640
3640
|
onClick: B,
|
|
3641
3641
|
onFocus: te,
|
|
3642
3642
|
onBlur: ie,
|
|
3643
3643
|
onKeyDown: (Z) => {
|
|
3644
|
-
(Z.key === " " || Z.code === "Space") &&
|
|
3644
|
+
(Z.key === " " || Z.code === "Space") && E();
|
|
3645
3645
|
},
|
|
3646
3646
|
style: { ...y },
|
|
3647
3647
|
placeholder: "Select your option",
|
|
3648
3648
|
autoComplete: "off"
|
|
3649
3649
|
}
|
|
3650
3650
|
),
|
|
3651
|
-
/* @__PURE__ */
|
|
3651
|
+
/* @__PURE__ */ P.jsx(
|
|
3652
3652
|
en.Button,
|
|
3653
3653
|
{
|
|
3654
3654
|
className: rt.autocompleteButton,
|
|
3655
3655
|
"data-testid": "select-button",
|
|
3656
3656
|
ref: u,
|
|
3657
|
-
onClick:
|
|
3658
|
-
children: /* @__PURE__ */
|
|
3657
|
+
onClick: E,
|
|
3658
|
+
children: /* @__PURE__ */ P.jsx(
|
|
3659
3659
|
vo,
|
|
3660
3660
|
{
|
|
3661
3661
|
className: `${rt.chevronDownIcon} ${i ? rt.disable : ""}`,
|
|
@@ -3666,7 +3666,7 @@ const e2 = "_autocomplete_1uhaj_1", t2 = "_autocompleteContainer_1uhaj_4", n2 =
|
|
|
3666
3666
|
)
|
|
3667
3667
|
] }),
|
|
3668
3668
|
m ? Mr(
|
|
3669
|
-
/* @__PURE__ */
|
|
3669
|
+
/* @__PURE__ */ P.jsx(P.Fragment, { children: T && /* @__PURE__ */ P.jsx(
|
|
3670
3670
|
"div",
|
|
3671
3671
|
{
|
|
3672
3672
|
style: {
|
|
@@ -3675,7 +3675,7 @@ const e2 = "_autocomplete_1uhaj_1", t2 = "_autocompleteContainer_1uhaj_4", n2 =
|
|
|
3675
3675
|
backgroundColor: "rgba(255,255,255,0)",
|
|
3676
3676
|
zIndex: 1e3
|
|
3677
3677
|
},
|
|
3678
|
-
children: /* @__PURE__ */
|
|
3678
|
+
children: /* @__PURE__ */ P.jsx(
|
|
3679
3679
|
"div",
|
|
3680
3680
|
{
|
|
3681
3681
|
ref: c,
|
|
@@ -3694,7 +3694,7 @@ const e2 = "_autocomplete_1uhaj_1", t2 = "_autocompleteContainer_1uhaj_4", n2 =
|
|
|
3694
3694
|
document.body
|
|
3695
3695
|
) : null
|
|
3696
3696
|
] }) });
|
|
3697
|
-
}, If = ({ children: e, setQuery: t }) => /* @__PURE__ */
|
|
3697
|
+
}, If = ({ children: e, setQuery: t }) => /* @__PURE__ */ P.jsx(
|
|
3698
3698
|
$o,
|
|
3699
3699
|
{
|
|
3700
3700
|
as: vt,
|
|
@@ -3702,9 +3702,9 @@ const e2 = "_autocomplete_1uhaj_1", t2 = "_autocompleteContainer_1uhaj_4", n2 =
|
|
|
3702
3702
|
leaveFrom: rt.leaveFrom,
|
|
3703
3703
|
leaveTo: rt.leaveTo,
|
|
3704
3704
|
afterLeave: () => t(""),
|
|
3705
|
-
children: /* @__PURE__ */
|
|
3705
|
+
children: /* @__PURE__ */ P.jsx(en.Options, { className: rt.autocompleteOptions, children: e })
|
|
3706
3706
|
}
|
|
3707
|
-
), s2 = Pt((e, t) => /* @__PURE__ */
|
|
3707
|
+
), s2 = Pt((e, t) => /* @__PURE__ */ P.jsx(en.Option, { ref: t, className: e.className, value: e.value, disabled: e.disable, children: e.children }));
|
|
3708
3708
|
s2.displayName = "AutoCompleteOption";
|
|
3709
3709
|
const c2 = "_textInputWrapper_gym4n_1", f2 = "_textInput_gym4n_1", Ti = {
|
|
3710
3710
|
textInputWrapper: c2,
|
|
@@ -3723,7 +3723,7 @@ const c2 = "_textInputWrapper_gym4n_1", f2 = "_textInput_gym4n_1", Ti = {
|
|
|
3723
3723
|
};
|
|
3724
3724
|
return s = {
|
|
3725
3725
|
borderBottomColor: o ? e !== "#ffffff" ? e : "#c8c8c8" : ""
|
|
3726
|
-
}, /* @__PURE__ */
|
|
3726
|
+
}, /* @__PURE__ */ P.jsx("div", { className: Ti.textInputWrapper, children: /* @__PURE__ */ P.jsx(
|
|
3727
3727
|
"input",
|
|
3728
3728
|
{
|
|
3729
3729
|
type: "text",
|
|
@@ -3738,7 +3738,7 @@ const c2 = "_textInputWrapper_gym4n_1", f2 = "_textInput_gym4n_1", Ti = {
|
|
|
3738
3738
|
) });
|
|
3739
3739
|
}
|
|
3740
3740
|
)
|
|
3741
|
-
), $2 = "_phoneWrapper_ukkym_1", v2 = "_countryCode_ukkym_4", h2 = "_phoneInputWrap_ukkym_11", m2 = "_phoneInput_ukkym_11", b2 = "_serverError_ukkym_17", g2 = "_phonNumberList_ukkym_21", y2 = "_active_ukkym_30", w2 = "_countryListText_ukkym_33",
|
|
3741
|
+
), $2 = "_phoneWrapper_ukkym_1", v2 = "_countryCode_ukkym_4", h2 = "_phoneInputWrap_ukkym_11", m2 = "_phoneInput_ukkym_11", b2 = "_serverError_ukkym_17", g2 = "_phonNumberList_ukkym_21", y2 = "_active_ukkym_30", w2 = "_countryListText_ukkym_33", xt = {
|
|
3742
3742
|
phoneWrapper: $2,
|
|
3743
3743
|
countryCode: v2,
|
|
3744
3744
|
phoneInputWrap: h2,
|
|
@@ -3762,11 +3762,11 @@ function C2() {
|
|
|
3762
3762
|
if (Ii)
|
|
3763
3763
|
return ve;
|
|
3764
3764
|
Ii = 1;
|
|
3765
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, d = e ? Symbol.for("react.provider") : 60109, o = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, s = e ? Symbol.for("react.concurrent_mode") : 60111, v = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, l = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, c = e ? Symbol.for("react.lazy") : 60116, $ = e ? Symbol.for("react.block") : 60121, f = e ? Symbol.for("react.fundamental") : 60117, b = e ? Symbol.for("react.responder") : 60118,
|
|
3765
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, d = e ? Symbol.for("react.provider") : 60109, o = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, s = e ? Symbol.for("react.concurrent_mode") : 60111, v = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, l = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, c = e ? Symbol.for("react.lazy") : 60116, $ = e ? Symbol.for("react.block") : 60121, f = e ? Symbol.for("react.fundamental") : 60117, b = e ? Symbol.for("react.responder") : 60118, N = e ? Symbol.for("react.scope") : 60119;
|
|
3766
3766
|
function y(w) {
|
|
3767
3767
|
if (typeof w == "object" && w !== null) {
|
|
3768
|
-
var
|
|
3769
|
-
switch (
|
|
3768
|
+
var E = w.$$typeof;
|
|
3769
|
+
switch (E) {
|
|
3770
3770
|
case t:
|
|
3771
3771
|
switch (w = w.type, w) {
|
|
3772
3772
|
case u:
|
|
@@ -3785,20 +3785,20 @@ function C2() {
|
|
|
3785
3785
|
case d:
|
|
3786
3786
|
return w;
|
|
3787
3787
|
default:
|
|
3788
|
-
return
|
|
3788
|
+
return E;
|
|
3789
3789
|
}
|
|
3790
3790
|
}
|
|
3791
3791
|
case n:
|
|
3792
|
-
return
|
|
3792
|
+
return E;
|
|
3793
3793
|
}
|
|
3794
3794
|
}
|
|
3795
3795
|
}
|
|
3796
|
-
function
|
|
3796
|
+
function x(w) {
|
|
3797
3797
|
return y(w) === s;
|
|
3798
3798
|
}
|
|
3799
3799
|
return ve.AsyncMode = u, ve.ConcurrentMode = s, ve.ContextConsumer = o, ve.ContextProvider = d, ve.Element = t, ve.ForwardRef = v, ve.Fragment = r, ve.Lazy = c, ve.Memo = p, ve.Portal = n, ve.Profiler = a, ve.StrictMode = i, ve.Suspense = m, ve.isAsyncMode = function(w) {
|
|
3800
|
-
return
|
|
3801
|
-
}, ve.isConcurrentMode =
|
|
3800
|
+
return x(w) || y(w) === u;
|
|
3801
|
+
}, ve.isConcurrentMode = x, ve.isContextConsumer = function(w) {
|
|
3802
3802
|
return y(w) === o;
|
|
3803
3803
|
}, ve.isContextProvider = function(w) {
|
|
3804
3804
|
return y(w) === d;
|
|
@@ -3821,7 +3821,7 @@ function C2() {
|
|
|
3821
3821
|
}, ve.isSuspense = function(w) {
|
|
3822
3822
|
return y(w) === m;
|
|
3823
3823
|
}, ve.isValidElementType = function(w) {
|
|
3824
|
-
return typeof w == "string" || typeof w == "function" || w === r || w === s || w === a || w === i || w === m || w === l || typeof w == "object" && w !== null && (w.$$typeof === c || w.$$typeof === p || w.$$typeof === d || w.$$typeof === o || w.$$typeof === v || w.$$typeof === f || w.$$typeof === b || w.$$typeof ===
|
|
3824
|
+
return typeof w == "string" || typeof w == "function" || w === r || w === s || w === a || w === i || w === m || w === l || typeof w == "object" && w !== null && (w.$$typeof === c || w.$$typeof === p || w.$$typeof === d || w.$$typeof === o || w.$$typeof === v || w.$$typeof === f || w.$$typeof === b || w.$$typeof === N || w.$$typeof === $);
|
|
3825
3825
|
}, ve.typeOf = y, ve;
|
|
3826
3826
|
}
|
|
3827
3827
|
var he = {};
|
|
@@ -3834,14 +3834,14 @@ var he = {};
|
|
|
3834
3834
|
* LICENSE file in the root directory of this source tree.
|
|
3835
3835
|
*/
|
|
3836
3836
|
var _i;
|
|
3837
|
-
function
|
|
3837
|
+
function x2() {
|
|
3838
3838
|
return _i || (_i = 1, process.env.NODE_ENV !== "production" && function() {
|
|
3839
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, d = e ? Symbol.for("react.provider") : 60109, o = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, s = e ? Symbol.for("react.concurrent_mode") : 60111, v = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, l = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, c = e ? Symbol.for("react.lazy") : 60116, $ = e ? Symbol.for("react.block") : 60121, f = e ? Symbol.for("react.fundamental") : 60117, b = e ? Symbol.for("react.responder") : 60118,
|
|
3839
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, d = e ? Symbol.for("react.provider") : 60109, o = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, s = e ? Symbol.for("react.concurrent_mode") : 60111, v = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, l = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, c = e ? Symbol.for("react.lazy") : 60116, $ = e ? Symbol.for("react.block") : 60121, f = e ? Symbol.for("react.fundamental") : 60117, b = e ? Symbol.for("react.responder") : 60118, N = e ? Symbol.for("react.scope") : 60119;
|
|
3840
3840
|
function y(g) {
|
|
3841
3841
|
return typeof g == "string" || typeof g == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
3842
|
-
g === r || g === s || g === a || g === i || g === m || g === l || typeof g == "object" && g !== null && (g.$$typeof === c || g.$$typeof === p || g.$$typeof === d || g.$$typeof === o || g.$$typeof === v || g.$$typeof === f || g.$$typeof === b || g.$$typeof ===
|
|
3842
|
+
g === r || g === s || g === a || g === i || g === m || g === l || typeof g == "object" && g !== null && (g.$$typeof === c || g.$$typeof === p || g.$$typeof === d || g.$$typeof === o || g.$$typeof === v || g.$$typeof === f || g.$$typeof === b || g.$$typeof === N || g.$$typeof === $);
|
|
3843
3843
|
}
|
|
3844
|
-
function
|
|
3844
|
+
function x(g) {
|
|
3845
3845
|
if (typeof g == "object" && g !== null) {
|
|
3846
3846
|
var q = g.$$typeof;
|
|
3847
3847
|
switch (q) {
|
|
@@ -3856,14 +3856,14 @@ function O2() {
|
|
|
3856
3856
|
case m:
|
|
3857
3857
|
return ye;
|
|
3858
3858
|
default:
|
|
3859
|
-
var
|
|
3860
|
-
switch (
|
|
3859
|
+
var Oe = ye && ye.$$typeof;
|
|
3860
|
+
switch (Oe) {
|
|
3861
3861
|
case o:
|
|
3862
3862
|
case v:
|
|
3863
3863
|
case c:
|
|
3864
3864
|
case p:
|
|
3865
3865
|
case d:
|
|
3866
|
-
return
|
|
3866
|
+
return Oe;
|
|
3867
3867
|
default:
|
|
3868
3868
|
return q;
|
|
3869
3869
|
}
|
|
@@ -3873,52 +3873,52 @@ function O2() {
|
|
|
3873
3873
|
}
|
|
3874
3874
|
}
|
|
3875
3875
|
}
|
|
3876
|
-
var w = u,
|
|
3876
|
+
var w = u, E = s, G = o, B = d, C = t, L = v, te = r, ie = c, T = p, Z = n, ae = a, de = i, K = m, ce = !1;
|
|
3877
3877
|
function ue(g) {
|
|
3878
|
-
return ce || (ce = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),
|
|
3878
|
+
return ce || (ce = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), O(g) || x(g) === u;
|
|
3879
3879
|
}
|
|
3880
|
-
function
|
|
3881
|
-
return
|
|
3880
|
+
function O(g) {
|
|
3881
|
+
return x(g) === s;
|
|
3882
3882
|
}
|
|
3883
3883
|
function R(g) {
|
|
3884
|
-
return
|
|
3884
|
+
return x(g) === o;
|
|
3885
3885
|
}
|
|
3886
3886
|
function W(g) {
|
|
3887
|
-
return
|
|
3887
|
+
return x(g) === d;
|
|
3888
3888
|
}
|
|
3889
3889
|
function U(g) {
|
|
3890
3890
|
return typeof g == "object" && g !== null && g.$$typeof === t;
|
|
3891
3891
|
}
|
|
3892
|
-
function
|
|
3893
|
-
return
|
|
3892
|
+
function S(g) {
|
|
3893
|
+
return x(g) === v;
|
|
3894
3894
|
}
|
|
3895
3895
|
function A(g) {
|
|
3896
|
-
return
|
|
3896
|
+
return x(g) === r;
|
|
3897
3897
|
}
|
|
3898
3898
|
function F(g) {
|
|
3899
|
-
return
|
|
3899
|
+
return x(g) === c;
|
|
3900
3900
|
}
|
|
3901
3901
|
function H(g) {
|
|
3902
|
-
return
|
|
3902
|
+
return x(g) === p;
|
|
3903
3903
|
}
|
|
3904
3904
|
function Y(g) {
|
|
3905
|
-
return
|
|
3905
|
+
return x(g) === n;
|
|
3906
3906
|
}
|
|
3907
3907
|
function ne(g) {
|
|
3908
|
-
return
|
|
3908
|
+
return x(g) === a;
|
|
3909
3909
|
}
|
|
3910
3910
|
function ee(g) {
|
|
3911
|
-
return
|
|
3911
|
+
return x(g) === i;
|
|
3912
3912
|
}
|
|
3913
3913
|
function Te(g) {
|
|
3914
|
-
return
|
|
3914
|
+
return x(g) === m;
|
|
3915
3915
|
}
|
|
3916
|
-
he.AsyncMode = w, he.ConcurrentMode =
|
|
3916
|
+
he.AsyncMode = w, he.ConcurrentMode = E, he.ContextConsumer = G, he.ContextProvider = B, he.Element = C, he.ForwardRef = L, he.Fragment = te, he.Lazy = ie, he.Memo = T, he.Portal = Z, he.Profiler = ae, he.StrictMode = de, he.Suspense = K, he.isAsyncMode = ue, he.isConcurrentMode = O, he.isContextConsumer = R, he.isContextProvider = W, he.isElement = U, he.isForwardRef = S, he.isFragment = A, he.isLazy = F, he.isMemo = H, he.isPortal = Y, he.isProfiler = ne, he.isStrictMode = ee, he.isSuspense = Te, he.isValidElementType = y, he.typeOf = x;
|
|
3917
3917
|
}()), he;
|
|
3918
3918
|
}
|
|
3919
3919
|
var Ai;
|
|
3920
3920
|
function bo() {
|
|
3921
|
-
return Ai || (Ai = 1, process.env.NODE_ENV === "production" ? mn.exports = C2() : mn.exports =
|
|
3921
|
+
return Ai || (Ai = 1, process.env.NODE_ENV === "production" ? mn.exports = C2() : mn.exports = x2()), mn.exports;
|
|
3922
3922
|
}
|
|
3923
3923
|
/*
|
|
3924
3924
|
object-assign
|
|
@@ -3926,7 +3926,7 @@ object-assign
|
|
|
3926
3926
|
@license MIT
|
|
3927
3927
|
*/
|
|
3928
3928
|
var tr, Ri;
|
|
3929
|
-
function
|
|
3929
|
+
function O2() {
|
|
3930
3930
|
if (Ri)
|
|
3931
3931
|
return tr;
|
|
3932
3932
|
Ri = 1;
|
|
@@ -4039,7 +4039,7 @@ function S2() {
|
|
|
4039
4039
|
if (Li)
|
|
4040
4040
|
return ar;
|
|
4041
4041
|
Li = 1;
|
|
4042
|
-
var e = bo(), t =
|
|
4042
|
+
var e = bo(), t = O2(), n = ei(), r = go(), i = P2(), a = function() {
|
|
4043
4043
|
};
|
|
4044
4044
|
process.env.NODE_ENV !== "production" && (a = function(o) {
|
|
4045
4045
|
var u = "Warning: " + o;
|
|
@@ -4054,8 +4054,8 @@ function S2() {
|
|
|
4054
4054
|
}
|
|
4055
4055
|
return ar = function(o, u) {
|
|
4056
4056
|
var s = typeof Symbol == "function" && Symbol.iterator, v = "@@iterator";
|
|
4057
|
-
function m(
|
|
4058
|
-
var R =
|
|
4057
|
+
function m(O) {
|
|
4058
|
+
var R = O && (s && O[s] || O[v]);
|
|
4059
4059
|
if (typeof R == "function")
|
|
4060
4060
|
return R;
|
|
4061
4061
|
}
|
|
@@ -4068,26 +4068,26 @@ function S2() {
|
|
|
4068
4068
|
object: b("object"),
|
|
4069
4069
|
string: b("string"),
|
|
4070
4070
|
symbol: b("symbol"),
|
|
4071
|
-
any:
|
|
4071
|
+
any: N(),
|
|
4072
4072
|
arrayOf: y,
|
|
4073
|
-
element:
|
|
4073
|
+
element: x(),
|
|
4074
4074
|
elementType: w(),
|
|
4075
|
-
instanceOf:
|
|
4075
|
+
instanceOf: E,
|
|
4076
4076
|
node: L(),
|
|
4077
4077
|
objectOf: B,
|
|
4078
4078
|
oneOf: G,
|
|
4079
4079
|
oneOfType: C,
|
|
4080
4080
|
shape: ie,
|
|
4081
|
-
exact:
|
|
4081
|
+
exact: T
|
|
4082
4082
|
};
|
|
4083
|
-
function c(
|
|
4084
|
-
return
|
|
4083
|
+
function c(O, R) {
|
|
4084
|
+
return O === R ? O !== 0 || 1 / O === 1 / R : O !== O && R !== R;
|
|
4085
4085
|
}
|
|
4086
|
-
function $(
|
|
4087
|
-
this.message =
|
|
4086
|
+
function $(O, R) {
|
|
4087
|
+
this.message = O, this.data = R && typeof R == "object" ? R : {}, this.stack = "";
|
|
4088
4088
|
}
|
|
4089
4089
|
$.prototype = Error.prototype;
|
|
4090
|
-
function f(
|
|
4090
|
+
function f(O) {
|
|
4091
4091
|
if (process.env.NODE_ENV !== "production")
|
|
4092
4092
|
var R = {}, W = 0;
|
|
4093
4093
|
function U(A, F, H, Y, ne, ee, Te) {
|
|
@@ -4105,39 +4105,39 @@ function S2() {
|
|
|
4105
4105
|
), R[q] = !0, W++);
|
|
4106
4106
|
}
|
|
4107
4107
|
}
|
|
4108
|
-
return F[H] == null ? A ? F[H] === null ? new $("The " + ne + " `" + ee + "` is marked as required " + ("in `" + Y + "`, but its value is `null`.")) : new $("The " + ne + " `" + ee + "` is marked as required in " + ("`" + Y + "`, but its value is `undefined`.")) : null :
|
|
4108
|
+
return F[H] == null ? A ? F[H] === null ? new $("The " + ne + " `" + ee + "` is marked as required " + ("in `" + Y + "`, but its value is `null`.")) : new $("The " + ne + " `" + ee + "` is marked as required in " + ("`" + Y + "`, but its value is `undefined`.")) : null : O(F, H, Y, ne, ee);
|
|
4109
4109
|
}
|
|
4110
|
-
var
|
|
4111
|
-
return
|
|
4110
|
+
var S = U.bind(null, !1);
|
|
4111
|
+
return S.isRequired = U.bind(null, !0), S;
|
|
4112
4112
|
}
|
|
4113
|
-
function b(
|
|
4114
|
-
function R(W, U,
|
|
4113
|
+
function b(O) {
|
|
4114
|
+
function R(W, U, S, A, F, H) {
|
|
4115
4115
|
var Y = W[U], ne = de(Y);
|
|
4116
|
-
if (ne !==
|
|
4116
|
+
if (ne !== O) {
|
|
4117
4117
|
var ee = K(Y);
|
|
4118
4118
|
return new $(
|
|
4119
|
-
"Invalid " + A + " `" + F + "` of type " + ("`" + ee + "` supplied to `" +
|
|
4120
|
-
{ expectedType:
|
|
4119
|
+
"Invalid " + A + " `" + F + "` of type " + ("`" + ee + "` supplied to `" + S + "`, expected ") + ("`" + O + "`."),
|
|
4120
|
+
{ expectedType: O }
|
|
4121
4121
|
);
|
|
4122
4122
|
}
|
|
4123
4123
|
return null;
|
|
4124
4124
|
}
|
|
4125
4125
|
return f(R);
|
|
4126
4126
|
}
|
|
4127
|
-
function
|
|
4127
|
+
function N() {
|
|
4128
4128
|
return f(d);
|
|
4129
4129
|
}
|
|
4130
|
-
function y(
|
|
4131
|
-
function R(W, U,
|
|
4132
|
-
if (typeof
|
|
4133
|
-
return new $("Property `" + F + "` of component `" +
|
|
4130
|
+
function y(O) {
|
|
4131
|
+
function R(W, U, S, A, F) {
|
|
4132
|
+
if (typeof O != "function")
|
|
4133
|
+
return new $("Property `" + F + "` of component `" + S + "` has invalid PropType notation inside arrayOf.");
|
|
4134
4134
|
var H = W[U];
|
|
4135
4135
|
if (!Array.isArray(H)) {
|
|
4136
4136
|
var Y = de(H);
|
|
4137
|
-
return new $("Invalid " + A + " `" + F + "` of type " + ("`" + Y + "` supplied to `" +
|
|
4137
|
+
return new $("Invalid " + A + " `" + F + "` of type " + ("`" + Y + "` supplied to `" + S + "`, expected an array."));
|
|
4138
4138
|
}
|
|
4139
4139
|
for (var ne = 0; ne < H.length; ne++) {
|
|
4140
|
-
var ee =
|
|
4140
|
+
var ee = O(H, ne, S, A, F + "[" + ne + "]", n);
|
|
4141
4141
|
if (ee instanceof Error)
|
|
4142
4142
|
return ee;
|
|
4143
4143
|
}
|
|
@@ -4145,65 +4145,65 @@ function S2() {
|
|
|
4145
4145
|
}
|
|
4146
4146
|
return f(R);
|
|
4147
4147
|
}
|
|
4148
|
-
function
|
|
4149
|
-
function
|
|
4148
|
+
function x() {
|
|
4149
|
+
function O(R, W, U, S, A) {
|
|
4150
4150
|
var F = R[W];
|
|
4151
4151
|
if (!o(F)) {
|
|
4152
4152
|
var H = de(F);
|
|
4153
|
-
return new $("Invalid " +
|
|
4153
|
+
return new $("Invalid " + S + " `" + A + "` of type " + ("`" + H + "` supplied to `" + U + "`, expected a single ReactElement."));
|
|
4154
4154
|
}
|
|
4155
4155
|
return null;
|
|
4156
4156
|
}
|
|
4157
|
-
return f(
|
|
4157
|
+
return f(O);
|
|
4158
4158
|
}
|
|
4159
4159
|
function w() {
|
|
4160
|
-
function
|
|
4160
|
+
function O(R, W, U, S, A) {
|
|
4161
4161
|
var F = R[W];
|
|
4162
4162
|
if (!e.isValidElementType(F)) {
|
|
4163
4163
|
var H = de(F);
|
|
4164
|
-
return new $("Invalid " +
|
|
4164
|
+
return new $("Invalid " + S + " `" + A + "` of type " + ("`" + H + "` supplied to `" + U + "`, expected a single ReactElement type."));
|
|
4165
4165
|
}
|
|
4166
4166
|
return null;
|
|
4167
4167
|
}
|
|
4168
|
-
return f(
|
|
4168
|
+
return f(O);
|
|
4169
4169
|
}
|
|
4170
|
-
function
|
|
4171
|
-
function R(W, U,
|
|
4172
|
-
if (!(W[U] instanceof
|
|
4173
|
-
var H =
|
|
4174
|
-
return new $("Invalid " + A + " `" + F + "` of type " + ("`" + Y + "` supplied to `" +
|
|
4170
|
+
function E(O) {
|
|
4171
|
+
function R(W, U, S, A, F) {
|
|
4172
|
+
if (!(W[U] instanceof O)) {
|
|
4173
|
+
var H = O.name || l, Y = ue(W[U]);
|
|
4174
|
+
return new $("Invalid " + A + " `" + F + "` of type " + ("`" + Y + "` supplied to `" + S + "`, expected ") + ("instance of `" + H + "`."));
|
|
4175
4175
|
}
|
|
4176
4176
|
return null;
|
|
4177
4177
|
}
|
|
4178
4178
|
return f(R);
|
|
4179
4179
|
}
|
|
4180
|
-
function G(
|
|
4181
|
-
if (!Array.isArray(
|
|
4180
|
+
function G(O) {
|
|
4181
|
+
if (!Array.isArray(O))
|
|
4182
4182
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
|
|
4183
4183
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
4184
4184
|
) : a("Invalid argument supplied to oneOf, expected an array.")), d;
|
|
4185
|
-
function R(W, U,
|
|
4186
|
-
for (var H = W[U], Y = 0; Y <
|
|
4187
|
-
if (c(H,
|
|
4185
|
+
function R(W, U, S, A, F) {
|
|
4186
|
+
for (var H = W[U], Y = 0; Y < O.length; Y++)
|
|
4187
|
+
if (c(H, O[Y]))
|
|
4188
4188
|
return null;
|
|
4189
|
-
var ne = JSON.stringify(
|
|
4189
|
+
var ne = JSON.stringify(O, function(Te, g) {
|
|
4190
4190
|
var q = K(g);
|
|
4191
4191
|
return q === "symbol" ? String(g) : g;
|
|
4192
4192
|
});
|
|
4193
|
-
return new $("Invalid " + A + " `" + F + "` of value `" + String(H) + "` " + ("supplied to `" +
|
|
4193
|
+
return new $("Invalid " + A + " `" + F + "` of value `" + String(H) + "` " + ("supplied to `" + S + "`, expected one of " + ne + "."));
|
|
4194
4194
|
}
|
|
4195
4195
|
return f(R);
|
|
4196
4196
|
}
|
|
4197
|
-
function B(
|
|
4198
|
-
function R(W, U,
|
|
4199
|
-
if (typeof
|
|
4200
|
-
return new $("Property `" + F + "` of component `" +
|
|
4197
|
+
function B(O) {
|
|
4198
|
+
function R(W, U, S, A, F) {
|
|
4199
|
+
if (typeof O != "function")
|
|
4200
|
+
return new $("Property `" + F + "` of component `" + S + "` has invalid PropType notation inside objectOf.");
|
|
4201
4201
|
var H = W[U], Y = de(H);
|
|
4202
4202
|
if (Y !== "object")
|
|
4203
|
-
return new $("Invalid " + A + " `" + F + "` of type " + ("`" + Y + "` supplied to `" +
|
|
4203
|
+
return new $("Invalid " + A + " `" + F + "` of type " + ("`" + Y + "` supplied to `" + S + "`, expected an object."));
|
|
4204
4204
|
for (var ne in H)
|
|
4205
4205
|
if (r(H, ne)) {
|
|
4206
|
-
var ee =
|
|
4206
|
+
var ee = O(H, ne, S, A, F + "." + ne, n);
|
|
4207
4207
|
if (ee instanceof Error)
|
|
4208
4208
|
return ee;
|
|
4209
4209
|
}
|
|
@@ -4211,19 +4211,19 @@ function S2() {
|
|
|
4211
4211
|
}
|
|
4212
4212
|
return f(R);
|
|
4213
4213
|
}
|
|
4214
|
-
function C(
|
|
4215
|
-
if (!Array.isArray(
|
|
4214
|
+
function C(O) {
|
|
4215
|
+
if (!Array.isArray(O))
|
|
4216
4216
|
return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), d;
|
|
4217
|
-
for (var R = 0; R <
|
|
4218
|
-
var W =
|
|
4217
|
+
for (var R = 0; R < O.length; R++) {
|
|
4218
|
+
var W = O[R];
|
|
4219
4219
|
if (typeof W != "function")
|
|
4220
4220
|
return a(
|
|
4221
4221
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ce(W) + " at index " + R + "."
|
|
4222
4222
|
), d;
|
|
4223
4223
|
}
|
|
4224
|
-
function U(
|
|
4225
|
-
for (var ne = [], ee = 0; ee <
|
|
4226
|
-
var Te =
|
|
4224
|
+
function U(S, A, F, H, Y) {
|
|
4225
|
+
for (var ne = [], ee = 0; ee < O.length; ee++) {
|
|
4226
|
+
var Te = O[ee], g = Te(S, A, F, H, Y, n);
|
|
4227
4227
|
if (g == null)
|
|
4228
4228
|
return null;
|
|
4229
4229
|
g.data && r(g.data, "expectedType") && ne.push(g.data.expectedType);
|
|
@@ -4234,26 +4234,26 @@ function S2() {
|
|
|
4234
4234
|
return f(U);
|
|
4235
4235
|
}
|
|
4236
4236
|
function L() {
|
|
4237
|
-
function
|
|
4238
|
-
return Z(R[W]) ? null : new $("Invalid " +
|
|
4237
|
+
function O(R, W, U, S, A) {
|
|
4238
|
+
return Z(R[W]) ? null : new $("Invalid " + S + " `" + A + "` supplied to " + ("`" + U + "`, expected a ReactNode."));
|
|
4239
4239
|
}
|
|
4240
|
-
return f(
|
|
4240
|
+
return f(O);
|
|
4241
4241
|
}
|
|
4242
|
-
function te(
|
|
4242
|
+
function te(O, R, W, U, S) {
|
|
4243
4243
|
return new $(
|
|
4244
|
-
(
|
|
4244
|
+
(O || "React class") + ": " + R + " type `" + W + "." + U + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + S + "`."
|
|
4245
4245
|
);
|
|
4246
4246
|
}
|
|
4247
|
-
function ie(
|
|
4248
|
-
function R(W, U,
|
|
4247
|
+
function ie(O) {
|
|
4248
|
+
function R(W, U, S, A, F) {
|
|
4249
4249
|
var H = W[U], Y = de(H);
|
|
4250
4250
|
if (Y !== "object")
|
|
4251
|
-
return new $("Invalid " + A + " `" + F + "` of type `" + Y + "` " + ("supplied to `" +
|
|
4252
|
-
for (var ne in
|
|
4253
|
-
var ee =
|
|
4251
|
+
return new $("Invalid " + A + " `" + F + "` of type `" + Y + "` " + ("supplied to `" + S + "`, expected `object`."));
|
|
4252
|
+
for (var ne in O) {
|
|
4253
|
+
var ee = O[ne];
|
|
4254
4254
|
if (typeof ee != "function")
|
|
4255
|
-
return te(
|
|
4256
|
-
var Te = ee(H, ne,
|
|
4255
|
+
return te(S, A, F, ne, K(ee));
|
|
4256
|
+
var Te = ee(H, ne, S, A, F + "." + ne, n);
|
|
4257
4257
|
if (Te)
|
|
4258
4258
|
return Te;
|
|
4259
4259
|
}
|
|
@@ -4261,22 +4261,22 @@ function S2() {
|
|
|
4261
4261
|
}
|
|
4262
4262
|
return f(R);
|
|
4263
4263
|
}
|
|
4264
|
-
function
|
|
4265
|
-
function R(W, U,
|
|
4264
|
+
function T(O) {
|
|
4265
|
+
function R(W, U, S, A, F) {
|
|
4266
4266
|
var H = W[U], Y = de(H);
|
|
4267
4267
|
if (Y !== "object")
|
|
4268
|
-
return new $("Invalid " + A + " `" + F + "` of type `" + Y + "` " + ("supplied to `" +
|
|
4269
|
-
var ne = t({}, W[U],
|
|
4268
|
+
return new $("Invalid " + A + " `" + F + "` of type `" + Y + "` " + ("supplied to `" + S + "`, expected `object`."));
|
|
4269
|
+
var ne = t({}, W[U], O);
|
|
4270
4270
|
for (var ee in ne) {
|
|
4271
|
-
var Te =
|
|
4272
|
-
if (r(
|
|
4273
|
-
return te(
|
|
4271
|
+
var Te = O[ee];
|
|
4272
|
+
if (r(O, ee) && typeof Te != "function")
|
|
4273
|
+
return te(S, A, F, ee, K(Te));
|
|
4274
4274
|
if (!Te)
|
|
4275
4275
|
return new $(
|
|
4276
|
-
"Invalid " + A + " `" + F + "` key `" + ee + "` supplied to `" +
|
|
4277
|
-
Valid keys: ` + JSON.stringify(Object.keys(
|
|
4276
|
+
"Invalid " + A + " `" + F + "` key `" + ee + "` supplied to `" + S + "`.\nBad object: " + JSON.stringify(W[U], null, " ") + `
|
|
4277
|
+
Valid keys: ` + JSON.stringify(Object.keys(O), null, " ")
|
|
4278
4278
|
);
|
|
4279
|
-
var g = Te(H, ee,
|
|
4279
|
+
var g = Te(H, ee, S, A, F + "." + ee, n);
|
|
4280
4280
|
if (g)
|
|
4281
4281
|
return g;
|
|
4282
4282
|
}
|
|
@@ -4284,30 +4284,30 @@ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
|
|
|
4284
4284
|
}
|
|
4285
4285
|
return f(R);
|
|
4286
4286
|
}
|
|
4287
|
-
function Z(
|
|
4288
|
-
switch (typeof
|
|
4287
|
+
function Z(O) {
|
|
4288
|
+
switch (typeof O) {
|
|
4289
4289
|
case "number":
|
|
4290
4290
|
case "string":
|
|
4291
4291
|
case "undefined":
|
|
4292
4292
|
return !0;
|
|
4293
4293
|
case "boolean":
|
|
4294
|
-
return !
|
|
4294
|
+
return !O;
|
|
4295
4295
|
case "object":
|
|
4296
|
-
if (Array.isArray(
|
|
4297
|
-
return
|
|
4298
|
-
if (
|
|
4296
|
+
if (Array.isArray(O))
|
|
4297
|
+
return O.every(Z);
|
|
4298
|
+
if (O === null || o(O))
|
|
4299
4299
|
return !0;
|
|
4300
|
-
var R = m(
|
|
4300
|
+
var R = m(O);
|
|
4301
4301
|
if (R) {
|
|
4302
|
-
var W = R.call(
|
|
4303
|
-
if (R !==
|
|
4302
|
+
var W = R.call(O), U;
|
|
4303
|
+
if (R !== O.entries) {
|
|
4304
4304
|
for (; !(U = W.next()).done; )
|
|
4305
4305
|
if (!Z(U.value))
|
|
4306
4306
|
return !1;
|
|
4307
4307
|
} else
|
|
4308
4308
|
for (; !(U = W.next()).done; ) {
|
|
4309
|
-
var
|
|
4310
|
-
if (
|
|
4309
|
+
var S = U.value;
|
|
4310
|
+
if (S && !Z(S[1]))
|
|
4311
4311
|
return !1;
|
|
4312
4312
|
}
|
|
4313
4313
|
} else
|
|
@@ -4317,27 +4317,27 @@ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
|
|
|
4317
4317
|
return !1;
|
|
4318
4318
|
}
|
|
4319
4319
|
}
|
|
4320
|
-
function ae(
|
|
4321
|
-
return
|
|
4320
|
+
function ae(O, R) {
|
|
4321
|
+
return O === "symbol" ? !0 : R ? R["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && R instanceof Symbol : !1;
|
|
4322
4322
|
}
|
|
4323
|
-
function de(
|
|
4324
|
-
var R = typeof
|
|
4325
|
-
return Array.isArray(
|
|
4323
|
+
function de(O) {
|
|
4324
|
+
var R = typeof O;
|
|
4325
|
+
return Array.isArray(O) ? "array" : O instanceof RegExp ? "object" : ae(R, O) ? "symbol" : R;
|
|
4326
4326
|
}
|
|
4327
|
-
function K(
|
|
4328
|
-
if (typeof
|
|
4329
|
-
return "" +
|
|
4330
|
-
var R = de(
|
|
4327
|
+
function K(O) {
|
|
4328
|
+
if (typeof O > "u" || O === null)
|
|
4329
|
+
return "" + O;
|
|
4330
|
+
var R = de(O);
|
|
4331
4331
|
if (R === "object") {
|
|
4332
|
-
if (
|
|
4332
|
+
if (O instanceof Date)
|
|
4333
4333
|
return "date";
|
|
4334
|
-
if (
|
|
4334
|
+
if (O instanceof RegExp)
|
|
4335
4335
|
return "regexp";
|
|
4336
4336
|
}
|
|
4337
4337
|
return R;
|
|
4338
4338
|
}
|
|
4339
|
-
function ce(
|
|
4340
|
-
var R = K(
|
|
4339
|
+
function ce(O) {
|
|
4340
|
+
var R = K(O);
|
|
4341
4341
|
switch (R) {
|
|
4342
4342
|
case "array":
|
|
4343
4343
|
case "object":
|
|
@@ -4350,8 +4350,8 @@ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
|
|
|
4350
4350
|
return R;
|
|
4351
4351
|
}
|
|
4352
4352
|
}
|
|
4353
|
-
function ue(
|
|
4354
|
-
return !
|
|
4353
|
+
function ue(O) {
|
|
4354
|
+
return !O.constructor || !O.constructor.name ? l : O.constructor.name;
|
|
4355
4355
|
}
|
|
4356
4356
|
return p.checkPropTypes = i, p.resetWarningCache = i.resetWarningCache, p.PropTypes = p, p;
|
|
4357
4357
|
}, ar;
|
|
@@ -4858,7 +4858,7 @@ function Un(e, t, n) {
|
|
|
4858
4858
|
}
|
|
4859
4859
|
var uc = "1.2.0", lc = "1.7.35", qi = " ext. ", sc = /^\d+$/, _e = /* @__PURE__ */ function() {
|
|
4860
4860
|
function e(t) {
|
|
4861
|
-
Bn(this, e), Co(t), this.metadata = t,
|
|
4861
|
+
Bn(this, e), Co(t), this.metadata = t, Oo.call(this, t);
|
|
4862
4862
|
}
|
|
4863
4863
|
return Un(e, [{
|
|
4864
4864
|
key: "getCountries",
|
|
@@ -5044,7 +5044,7 @@ var uc = "1.2.0", lc = "1.7.35", qi = " ext. ", sc = /^\d+$/, _e = /* @__PURE__
|
|
|
5044
5044
|
}]), e;
|
|
5045
5045
|
}(), Yi = /* @__PURE__ */ function() {
|
|
5046
5046
|
function e(t, n) {
|
|
5047
|
-
Bn(this, e), this.globalMetadataObject = n, this.metadata = t,
|
|
5047
|
+
Bn(this, e), this.globalMetadataObject = n, this.metadata = t, Oo.call(this, n.metadata);
|
|
5048
5048
|
}
|
|
5049
5049
|
return Un(e, [{
|
|
5050
5050
|
key: "callingCode",
|
|
@@ -5280,10 +5280,10 @@ function yt(e, t) {
|
|
|
5280
5280
|
return t.country(e).countryCallingCode();
|
|
5281
5281
|
throw new Error("Unknown country: ".concat(e));
|
|
5282
5282
|
}
|
|
5283
|
-
function
|
|
5283
|
+
function xo(e, t) {
|
|
5284
5284
|
return t.countries.hasOwnProperty(e);
|
|
5285
5285
|
}
|
|
5286
|
-
function
|
|
5286
|
+
function Oo(e) {
|
|
5287
5287
|
var t = e.version;
|
|
5288
5288
|
typeof t == "number" ? (this.v1 = t === 1, this.v2 = t === 2, this.v3 = t === 3, this.v4 = t === 4) : t ? Hi(t, uc) === -1 ? this.v2 = !0 : Hi(t, lc) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
|
|
5289
5289
|
}
|
|
@@ -5435,13 +5435,13 @@ function Cc(e, t, n) {
|
|
|
5435
5435
|
var r = t.v2 ? e.nationalNumber : e.phone;
|
|
5436
5436
|
return bt(r, n.nationalNumberPattern());
|
|
5437
5437
|
}
|
|
5438
|
-
function
|
|
5438
|
+
function xc(e, t, n) {
|
|
5439
5439
|
var r = new _e(n), i = r.getCountryCodesForCallingCode(e);
|
|
5440
5440
|
return i ? i.filter(function(a) {
|
|
5441
|
-
return
|
|
5441
|
+
return Oc(t, a, n);
|
|
5442
5442
|
}) : [];
|
|
5443
5443
|
}
|
|
5444
|
-
function
|
|
5444
|
+
function Oc(e, t, n) {
|
|
5445
5445
|
var r = new _e(n);
|
|
5446
5446
|
return r.selectNumberingPlan(t), r.numberingPlan.possibleLengths().indexOf(e.length) >= 0;
|
|
5447
5447
|
}
|
|
@@ -5487,7 +5487,7 @@ function Cr(e, t) {
|
|
|
5487
5487
|
nationalNumber: e
|
|
5488
5488
|
};
|
|
5489
5489
|
}
|
|
5490
|
-
function
|
|
5490
|
+
function xr(e, t) {
|
|
5491
5491
|
var n = Cr(e, t), r = n.carrierCode, i = n.nationalNumber;
|
|
5492
5492
|
if (i !== e) {
|
|
5493
5493
|
if (!Fc(e, i, t))
|
|
@@ -5520,7 +5520,7 @@ function No(e, t, n, r) {
|
|
|
5520
5520
|
var i = t ? yt(t, r) : n;
|
|
5521
5521
|
if (e.indexOf(i) === 0) {
|
|
5522
5522
|
r = new _e(r), r.selectNumberingPlan(t, n);
|
|
5523
|
-
var a = e.slice(i.length), d =
|
|
5523
|
+
var a = e.slice(i.length), d = xr(a, r), o = d.nationalNumber, u = xr(e, r), s = u.nationalNumber;
|
|
5524
5524
|
if (!bt(s, r.nationalNumberPattern()) && bt(o, r.nationalNumberPattern()) || Wn(s, r) === "TOO_LONG")
|
|
5525
5525
|
return {
|
|
5526
5526
|
countryCallingCode: i,
|
|
@@ -5608,8 +5608,8 @@ var Dc = ";ext=", Dt = function(t) {
|
|
|
5608
5608
|
return "([".concat(Ue, "]{1,").concat(t, "})");
|
|
5609
5609
|
};
|
|
5610
5610
|
function Ao(e) {
|
|
5611
|
-
var t = "20", n = "15", r = "9", i = "6", a = "[ \\t,]*", d = "[:\\..]?[ \\t,-]*", o = "#?", u = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", s = "(?:[xx##~~]|int|int)", v = "[- ]+", m = "[ \\t]*", l = "(?:,{2}|;)", p = Dc + Dt(t), c = a + u + d + Dt(t) + o, $ = a + s + d + Dt(r) + o, f = v + Dt(i) + "#", b = m + l + d + Dt(n) + o,
|
|
5612
|
-
return p + "|" + c + "|" + $ + "|" + f + "|" + b + "|" +
|
|
5611
|
+
var t = "20", n = "15", r = "9", i = "6", a = "[ \\t,]*", d = "[:\\..]?[ \\t,-]*", o = "#?", u = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", s = "(?:[xx##~~]|int|int)", v = "[- ]+", m = "[ \\t]*", l = "(?:,{2}|;)", p = Dc + Dt(t), c = a + u + d + Dt(t) + o, $ = a + s + d + Dt(r) + o, f = v + Dt(i) + "#", b = m + l + d + Dt(n) + o, N = m + "(?:,)+" + d + Dt(r) + o;
|
|
5612
|
+
return p + "|" + c + "|" + $ + "|" + f + "|" + b + "|" + N;
|
|
5613
5613
|
}
|
|
5614
5614
|
var Mc = "[" + Ue + "]{" + ni + "}", Bc = "[" + Vn + "]{0,1}(?:[" + at + "]*[" + Ue + "]){3,}[" + at + Ue + "]*", Uc = new RegExp("^[" + Vn + "]{0,1}(?:[" + at + "]*[" + Ue + "]){1,2}$", "i"), Wc = Bc + // Phone number extensions
|
|
5615
5615
|
"(?:" + Ao() + ")?", Vc = new RegExp(
|
|
@@ -5830,7 +5830,7 @@ var Ro = /* @__PURE__ */ function() {
|
|
|
5830
5830
|
}, {
|
|
5831
5831
|
key: "getPossibleCountries",
|
|
5832
5832
|
value: function() {
|
|
5833
|
-
return this.country ? [this.country] :
|
|
5833
|
+
return this.country ? [this.country] : xc(this.countryCallingCode, this.nationalNumber, this.getMetadata());
|
|
5834
5834
|
}
|
|
5835
5835
|
}, {
|
|
5836
5836
|
key: "isPossible",
|
|
@@ -5914,13 +5914,13 @@ function r3(e, t) {
|
|
|
5914
5914
|
};
|
|
5915
5915
|
}
|
|
5916
5916
|
var i3 = /^\+\d+$/;
|
|
5917
|
-
function
|
|
5917
|
+
function Or(e) {
|
|
5918
5918
|
"@babel/helpers - typeof";
|
|
5919
|
-
return
|
|
5919
|
+
return Or = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
5920
5920
|
return typeof t;
|
|
5921
5921
|
} : function(t) {
|
|
5922
5922
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
5923
|
-
},
|
|
5923
|
+
}, Or(e);
|
|
5924
5924
|
}
|
|
5925
5925
|
function aa(e, t) {
|
|
5926
5926
|
for (var n = 0; n < t.length; n++) {
|
|
@@ -5953,7 +5953,7 @@ function u3(e) {
|
|
|
5953
5953
|
};
|
|
5954
5954
|
}
|
|
5955
5955
|
function l3(e, t) {
|
|
5956
|
-
if (t && (
|
|
5956
|
+
if (t && (Or(t) === "object" || typeof t == "function"))
|
|
5957
5957
|
return t;
|
|
5958
5958
|
if (t !== void 0)
|
|
5959
5959
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
@@ -6259,7 +6259,7 @@ function Mo(e, t) {
|
|
|
6259
6259
|
metadata: i.metadata
|
|
6260
6260
|
});
|
|
6261
6261
|
}
|
|
6262
|
-
var Bo = "+", y3 = "[\\-\\.\\(\\)]?", sa = "([" + Ue + "]|" + y3 + ")", w3 = "^\\" + Bo + sa + "*[" + Ue + "]" + sa + "*$", C3 = new RegExp(w3, "g"), Er = Ue,
|
|
6262
|
+
var Bo = "+", y3 = "[\\-\\.\\(\\)]?", sa = "([" + Ue + "]|" + y3 + ")", w3 = "^\\" + Bo + sa + "*[" + Ue + "]" + sa + "*$", C3 = new RegExp(w3, "g"), Er = Ue, x3 = "[" + Er + "]+((\\-)*[" + Er + "])*", O3 = "a-zA-Z", P3 = "[" + O3 + "]+((\\-)*[" + Er + "])*", S3 = "^(" + x3 + "\\.)*" + P3 + "\\.?$", E3 = new RegExp(S3, "g"), ca = "tel:", Nr = ";phone-context=", N3 = ";isub=";
|
|
6263
6263
|
function T3(e) {
|
|
6264
6264
|
var t = e.indexOf(Nr);
|
|
6265
6265
|
if (t < 0)
|
|
@@ -6383,7 +6383,7 @@ function M3(e, t, n, r) {
|
|
|
6383
6383
|
countryCallingCodeSource: a,
|
|
6384
6384
|
countryCallingCode: d
|
|
6385
6385
|
};
|
|
6386
|
-
var s =
|
|
6386
|
+
var s = xr(Sr(o), r), v = s.nationalNumber, m = s.carrierCode, l = Mo(d, {
|
|
6387
6387
|
nationalNumber: v,
|
|
6388
6388
|
defaultCountry: t,
|
|
6389
6389
|
metadata: r
|
|
@@ -6542,7 +6542,7 @@ function z3(e, t, n) {
|
|
|
6542
6542
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
6543
6543
|
}
|
|
6544
6544
|
function Wo(e, t, n) {
|
|
6545
|
-
t && t.defaultCountry && !
|
|
6545
|
+
t && t.defaultCountry && !xo(t.defaultCountry, n) && (t = ma(ma({}, t), {}, {
|
|
6546
6546
|
defaultCountry: void 0
|
|
6547
6547
|
}));
|
|
6548
6548
|
try {
|
|
@@ -6751,7 +6751,7 @@ function o9(e, t) {
|
|
|
6751
6751
|
function u9(e, t, n) {
|
|
6752
6752
|
var r = n.metadata, i = n.shouldTryNationalPrefixFormattingRule, a = n.getSeparatorAfterNationalPrefix;
|
|
6753
6753
|
if (e.nationalSignificantNumber, e.international, e.nationalPrefix, e.carrierCode, i(t)) {
|
|
6754
|
-
var d =
|
|
6754
|
+
var d = xa(e, t, {
|
|
6755
6755
|
useNationalPrefixFormattingRule: !0,
|
|
6756
6756
|
getSeparatorAfterNationalPrefix: a,
|
|
6757
6757
|
metadata: r
|
|
@@ -6759,13 +6759,13 @@ function u9(e, t, n) {
|
|
|
6759
6759
|
if (d)
|
|
6760
6760
|
return d;
|
|
6761
6761
|
}
|
|
6762
|
-
return
|
|
6762
|
+
return xa(e, t, {
|
|
6763
6763
|
useNationalPrefixFormattingRule: !1,
|
|
6764
6764
|
getSeparatorAfterNationalPrefix: a,
|
|
6765
6765
|
metadata: r
|
|
6766
6766
|
});
|
|
6767
6767
|
}
|
|
6768
|
-
function
|
|
6768
|
+
function xa(e, t, n) {
|
|
6769
6769
|
var r = n.metadata, i = n.useNationalPrefixFormattingRule, a = n.getSeparatorAfterNationalPrefix, d = _o(e.nationalSignificantNumber, t, {
|
|
6770
6770
|
carrierCode: e.carrierCode,
|
|
6771
6771
|
useInternationalFormat: e.international,
|
|
@@ -6782,14 +6782,14 @@ function s9(e, t) {
|
|
|
6782
6782
|
if (!(e instanceof t))
|
|
6783
6783
|
throw new TypeError("Cannot call a class as a function");
|
|
6784
6784
|
}
|
|
6785
|
-
function
|
|
6785
|
+
function Oa(e, t) {
|
|
6786
6786
|
for (var n = 0; n < t.length; n++) {
|
|
6787
6787
|
var r = t[n];
|
|
6788
6788
|
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
|
|
6789
6789
|
}
|
|
6790
6790
|
}
|
|
6791
6791
|
function c9(e, t, n) {
|
|
6792
|
-
return t &&
|
|
6792
|
+
return t && Oa(e.prototype, t), n && Oa(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
6793
6793
|
}
|
|
6794
6794
|
var f9 = /* @__PURE__ */ function() {
|
|
6795
6795
|
function e() {
|
|
@@ -7107,7 +7107,7 @@ function Ia(e, t) {
|
|
|
7107
7107
|
function C9(e, t, n) {
|
|
7108
7108
|
return t && Ia(e.prototype, t), n && Ia(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
7109
7109
|
}
|
|
7110
|
-
var Ir = "9",
|
|
7110
|
+
var Ir = "9", x9 = 15, O9 = wn(Ir, x9), P9 = /[- ]/, S9 = function() {
|
|
7111
7111
|
return /\[([^\[\]])*\]/g;
|
|
7112
7112
|
}, E9 = function() {
|
|
7113
7113
|
return /\d(?=[^,}][^,}])/g;
|
|
@@ -7264,7 +7264,7 @@ var Ir = "9", O9 = 15, x9 = wn(Ir, O9), P9 = /[- ]/, S9 = function() {
|
|
|
7264
7264
|
value: function(n, r) {
|
|
7265
7265
|
var i = r.nationalSignificantNumber, a = r.international, d = r.nationalPrefix, o = r.complexPrefixBeforeNationalSignificantNumber, u = n.pattern();
|
|
7266
7266
|
u = u.replace(S9(), "\\d").replace(E9(), "\\d");
|
|
7267
|
-
var s =
|
|
7267
|
+
var s = O9.match(u)[0];
|
|
7268
7268
|
if (!(i.length > s.length)) {
|
|
7269
7269
|
var v = new RegExp("^" + u + "$"), m = i.replace(/\d/g, Ir);
|
|
7270
7270
|
v.test(m) && (s = m);
|
|
@@ -8063,12 +8063,12 @@ function c4(e) {
|
|
|
8063
8063
|
country: o,
|
|
8064
8064
|
metadata: v
|
|
8065
8065
|
}), $ = Ye(function(b) {
|
|
8066
|
-
var
|
|
8067
|
-
if (
|
|
8068
|
-
var y = ja(c,
|
|
8069
|
-
y.indexOf(b.target.value) === 0 && (
|
|
8066
|
+
var N = Sr(b.target.value);
|
|
8067
|
+
if (N === i) {
|
|
8068
|
+
var y = ja(c, N, o, v);
|
|
8069
|
+
y.indexOf(b.target.value) === 0 && (N = N.slice(0, -1));
|
|
8070
8070
|
}
|
|
8071
|
-
a(
|
|
8071
|
+
a(N);
|
|
8072
8072
|
}, [c, i, a, o, v]), f = Ho({
|
|
8073
8073
|
onKeyDown: d,
|
|
8074
8074
|
inputFormat: u
|
|
@@ -8303,10 +8303,10 @@ function kr() {
|
|
|
8303
8303
|
return e;
|
|
8304
8304
|
}, kr.apply(this, arguments);
|
|
8305
8305
|
}
|
|
8306
|
-
function
|
|
8306
|
+
function x4(e, t) {
|
|
8307
8307
|
if (e == null)
|
|
8308
8308
|
return {};
|
|
8309
|
-
var n =
|
|
8309
|
+
var n = O4(e, t), r, i;
|
|
8310
8310
|
if (Object.getOwnPropertySymbols) {
|
|
8311
8311
|
var a = Object.getOwnPropertySymbols(e);
|
|
8312
8312
|
for (i = 0; i < a.length; i++)
|
|
@@ -8314,7 +8314,7 @@ function O4(e, t) {
|
|
|
8314
8314
|
}
|
|
8315
8315
|
return n;
|
|
8316
8316
|
}
|
|
8317
|
-
function
|
|
8317
|
+
function O4(e, t) {
|
|
8318
8318
|
if (e == null)
|
|
8319
8319
|
return {};
|
|
8320
8320
|
var n = {}, r = Object.keys(e), i, a;
|
|
@@ -8323,7 +8323,7 @@ function x4(e, t) {
|
|
|
8323
8323
|
return n;
|
|
8324
8324
|
}
|
|
8325
8325
|
function ii(e) {
|
|
8326
|
-
var t = e.country, n = e.countryName, r = e.flags, i = e.flagUrl, a =
|
|
8326
|
+
var t = e.country, n = e.countryName, r = e.flags, i = e.flagUrl, a = x4(e, C4);
|
|
8327
8327
|
return r && r[t] ? r[t]({
|
|
8328
8328
|
title: n
|
|
8329
8329
|
}) : /* @__PURE__ */ k.createElement("img", kr({}, a, {
|
|
@@ -8552,7 +8552,7 @@ function R4(e, t) {
|
|
|
8552
8552
|
return e;
|
|
8553
8553
|
}
|
|
8554
8554
|
function Hn(e, t) {
|
|
8555
|
-
return
|
|
8555
|
+
return xo(e, t) ? !0 : (console.error("Country not found: ".concat(e)), !1);
|
|
8556
8556
|
}
|
|
8557
8557
|
function Qo(e, t) {
|
|
8558
8558
|
return e && (e = e.filter(function(n) {
|
|
@@ -8922,7 +8922,7 @@ function ef(e, t, n) {
|
|
|
8922
8922
|
hasUserSelectedACountry: void 0
|
|
8923
8923
|
};
|
|
8924
8924
|
if (a !== m) {
|
|
8925
|
-
var
|
|
8925
|
+
var N = !a || Hn(a, r), y = (
|
|
8926
8926
|
// By default, "no value has been entered" means `value` is `undefined`.
|
|
8927
8927
|
!c || // When `international` is `true`, and some country has been pre-selected,
|
|
8928
8928
|
// then the `<input/>` contains a pre-filled value of `+${countryCallingCode}${leadingDigits}`,
|
|
@@ -8932,8 +8932,8 @@ function ef(e, t, n) {
|
|
|
8932
8932
|
value: void 0,
|
|
8933
8933
|
defaultCountry: m
|
|
8934
8934
|
})
|
|
8935
|
-
),
|
|
8936
|
-
if (!$ &&
|
|
8935
|
+
), x = !d && y;
|
|
8936
|
+
if (!$ && N && x)
|
|
8937
8937
|
return {
|
|
8938
8938
|
country: a,
|
|
8939
8939
|
// If `phoneDigits` is empty, then automatically select the new `country`
|
|
@@ -8950,21 +8950,21 @@ function ef(e, t, n) {
|
|
|
8950
8950
|
};
|
|
8951
8951
|
}
|
|
8952
8952
|
if (!Va(d, l) && !Va(d, c)) {
|
|
8953
|
-
var w,
|
|
8953
|
+
var w, E;
|
|
8954
8954
|
if (d) {
|
|
8955
8955
|
d && Jo(d), w = r0(d, r);
|
|
8956
8956
|
var G = Qo(i, r);
|
|
8957
|
-
w && w.country ? (!G || G.indexOf(w.country) >= 0) && (
|
|
8957
|
+
w && w.country ? (!G || G.indexOf(w.country) >= 0) && (E = w.country) : (E = i0(d, {
|
|
8958
8958
|
country: void 0,
|
|
8959
8959
|
countries: G,
|
|
8960
8960
|
metadata: r
|
|
8961
|
-
}),
|
|
8961
|
+
}), E || a && d.indexOf(ht(a, r)) === 0 && (E = a));
|
|
8962
8962
|
}
|
|
8963
8963
|
var B;
|
|
8964
8964
|
if (d) {
|
|
8965
8965
|
if (f) {
|
|
8966
|
-
var C =
|
|
8967
|
-
C ?
|
|
8966
|
+
var C = E ? f === E : Wt(d, f, r);
|
|
8967
|
+
C ? E || (E = f) : B = {
|
|
8968
8968
|
latestCountrySelectedByUser: void 0
|
|
8969
8969
|
};
|
|
8970
8970
|
}
|
|
@@ -8980,7 +8980,7 @@ function ef(e, t, n) {
|
|
|
8980
8980
|
defaultCountry: a
|
|
8981
8981
|
}),
|
|
8982
8982
|
value: d,
|
|
8983
|
-
country: d ?
|
|
8983
|
+
country: d ? E : a
|
|
8984
8984
|
});
|
|
8985
8985
|
}
|
|
8986
8986
|
}
|
|
@@ -9127,13 +9127,13 @@ var ff = /* @__PURE__ */ function(e) {
|
|
|
9127
9127
|
var b = r.props.metadata;
|
|
9128
9128
|
return Hn(f, b);
|
|
9129
9129
|
}), tt(r, "onCountryChange", function(f) {
|
|
9130
|
-
var b = r.props,
|
|
9130
|
+
var b = r.props, N = b.international, y = b.metadata, x = b.onChange, w = b.focusInputOnCountrySelection, E = r.state, G = E.phoneDigits, B = E.country, C = G4(G, {
|
|
9131
9131
|
prevCountry: B,
|
|
9132
9132
|
newCountry: f,
|
|
9133
9133
|
metadata: y,
|
|
9134
9134
|
// Convert the phone number to "national" format
|
|
9135
9135
|
// when the user changes the selected country by hand.
|
|
9136
|
-
useNationalFormat: !
|
|
9136
|
+
useNationalFormat: !N
|
|
9137
9137
|
}), L = Bt(C, f, y);
|
|
9138
9138
|
w && r.inputRef.current.focus(), r.setState({
|
|
9139
9139
|
country: f,
|
|
@@ -9142,15 +9142,15 @@ var ff = /* @__PURE__ */ function(e) {
|
|
|
9142
9142
|
phoneDigits: C,
|
|
9143
9143
|
value: L
|
|
9144
9144
|
}, function() {
|
|
9145
|
-
|
|
9145
|
+
x(L);
|
|
9146
9146
|
});
|
|
9147
9147
|
}), tt(r, "onChange", function(f) {
|
|
9148
|
-
var b = r.props,
|
|
9148
|
+
var b = r.props, N = b.defaultCountry, y = b.onChange, x = b.addInternationalOption, w = b.international, E = b.limitMaxLength, G = b.countryCallingCodeEditable, B = b.metadata, C = r.state, L = C.countries, te = C.phoneDigits, ie = C.country, T = C.latestCountrySelectedByUser, Z = q4(f, {
|
|
9149
9149
|
prevPhoneDigits: te,
|
|
9150
9150
|
country: ie,
|
|
9151
|
-
countryRequired: !
|
|
9152
|
-
defaultCountry:
|
|
9153
|
-
latestCountrySelectedByUser:
|
|
9151
|
+
countryRequired: !x,
|
|
9152
|
+
defaultCountry: N,
|
|
9153
|
+
latestCountrySelectedByUser: T,
|
|
9154
9154
|
getAnyCountry: function() {
|
|
9155
9155
|
return r.getFirstSupportedCountry({
|
|
9156
9156
|
countries: L
|
|
@@ -9158,7 +9158,7 @@ var ff = /* @__PURE__ */ function(e) {
|
|
|
9158
9158
|
},
|
|
9159
9159
|
countries: L,
|
|
9160
9160
|
international: w,
|
|
9161
|
-
limitMaxLength:
|
|
9161
|
+
limitMaxLength: E,
|
|
9162
9162
|
countryCallingCodeEditable: G,
|
|
9163
9163
|
metadata: B
|
|
9164
9164
|
}), ae = Z.phoneDigits, de = Z.country, K = Z.value, ce = {
|
|
@@ -9166,7 +9166,7 @@ var ff = /* @__PURE__ */ function(e) {
|
|
|
9166
9166
|
value: K,
|
|
9167
9167
|
country: de
|
|
9168
9168
|
};
|
|
9169
|
-
|
|
9169
|
+
T && K && !Wt(K, T, B) && (ce.latestCountrySelectedByUser = void 0), G === !1 && !K && ae === r.state.phoneDigits && (ce.forceRerender = {}), r.setState(
|
|
9170
9170
|
ce,
|
|
9171
9171
|
// Update the new `value` property.
|
|
9172
9172
|
// Doing it after the `state` has been updated
|
|
@@ -9195,15 +9195,15 @@ var ff = /* @__PURE__ */ function(e) {
|
|
|
9195
9195
|
r._onFocus();
|
|
9196
9196
|
var b = r.props.countrySelectProps;
|
|
9197
9197
|
if (b) {
|
|
9198
|
-
var
|
|
9199
|
-
|
|
9198
|
+
var N = b.onFocus;
|
|
9199
|
+
N && N(f);
|
|
9200
9200
|
}
|
|
9201
9201
|
}), tt(r, "onCountryBlur", function(f) {
|
|
9202
9202
|
r._onBlur();
|
|
9203
9203
|
var b = r.props.countrySelectProps;
|
|
9204
9204
|
if (b) {
|
|
9205
|
-
var
|
|
9206
|
-
|
|
9205
|
+
var N = b.onBlur;
|
|
9206
|
+
N && N(f);
|
|
9207
9207
|
}
|
|
9208
9208
|
}), r.inputRef = /* @__PURE__ */ k.createRef();
|
|
9209
9209
|
var i = r.props, a = i.value;
|
|
@@ -9313,9 +9313,9 @@ var ff = /* @__PURE__ */ function(e) {
|
|
|
9313
9313
|
r.defaultCountry, r.countries, r.countryOptionsOrder;
|
|
9314
9314
|
var b = r.labels;
|
|
9315
9315
|
r.flags, r.flagComponent, r.flagUrl, r.addInternationalOption, r.internationalIcon, r.displayInitialValueAsLocalNumber, r.initialValueFormat, r.onCountryChange, r.limitMaxLength, r.countryCallingCodeEditable, r.focusInputOnCountrySelection, r.reset;
|
|
9316
|
-
var
|
|
9316
|
+
var N = r.metadata, y = r.international;
|
|
9317
9317
|
r.locales;
|
|
9318
|
-
var
|
|
9318
|
+
var x = nf(r, tf), w = this.state, E = w.country, G = w.countries, B = w.phoneDigits, C = w.isFocused, L = l ? o4 : f4, te = this.getCountrySelectOptions({
|
|
9319
9319
|
countries: G
|
|
9320
9320
|
});
|
|
9321
9321
|
return /* @__PURE__ */ k.createElement($, Vt({
|
|
@@ -9329,7 +9329,7 @@ var ff = /* @__PURE__ */ function(e) {
|
|
|
9329
9329
|
name: i ? "".concat(i, "Country") : void 0,
|
|
9330
9330
|
"aria-label": b.country
|
|
9331
9331
|
}, c, {
|
|
9332
|
-
value:
|
|
9332
|
+
value: E,
|
|
9333
9333
|
options: te,
|
|
9334
9334
|
onChange: this.onCountryChange,
|
|
9335
9335
|
onFocus: this.onCountryFocus,
|
|
@@ -9341,13 +9341,13 @@ var ff = /* @__PURE__ */ function(e) {
|
|
|
9341
9341
|
ref: this.setInputRef,
|
|
9342
9342
|
type: "tel",
|
|
9343
9343
|
autoComplete: o
|
|
9344
|
-
}, m,
|
|
9344
|
+
}, m, x, {
|
|
9345
9345
|
inputFormat: y === !0 ? "INTERNATIONAL" : y === !1 ? "NATIONAL" : "INTERNATIONAL_OR_NATIONAL",
|
|
9346
9346
|
international: y ? !0 : void 0,
|
|
9347
9347
|
withCountryCallingCode: y ? !0 : void 0,
|
|
9348
9348
|
name: i,
|
|
9349
|
-
metadata:
|
|
9350
|
-
country:
|
|
9349
|
+
metadata: N,
|
|
9350
|
+
country: E,
|
|
9351
9351
|
value: B || "",
|
|
9352
9352
|
onChange: this.onChange,
|
|
9353
9353
|
onFocus: this.onFocus,
|
|
@@ -9355,7 +9355,7 @@ var ff = /* @__PURE__ */ function(e) {
|
|
|
9355
9355
|
disabled: a,
|
|
9356
9356
|
readOnly: d,
|
|
9357
9357
|
inputComponent: v,
|
|
9358
|
-
className: En("PhoneInputInput", m && m.className,
|
|
9358
|
+
className: En("PhoneInputInput", m && m.className, x.className)
|
|
9359
9359
|
})));
|
|
9360
9360
|
}
|
|
9361
9361
|
}], [{
|
|
@@ -10140,41 +10140,41 @@ const _f = ({
|
|
|
10140
10140
|
);
|
|
10141
10141
|
pe(() => {
|
|
10142
10142
|
if (s) {
|
|
10143
|
-
const C =
|
|
10144
|
-
C && (
|
|
10143
|
+
const C = N(s);
|
|
10144
|
+
C && (x(C), c.current = s);
|
|
10145
10145
|
}
|
|
10146
10146
|
}, [s]);
|
|
10147
10147
|
const $ = (C, L) => JSON.stringify(C) === JSON.stringify(L), f = (C, L) => Mt[C] < Mt[L] ? -1 : Mt[C] > Mt[L] ? 1 : 0, b = yf().sort(f).map((C) => ({
|
|
10148
10148
|
label: C + " +" + cr(C),
|
|
10149
10149
|
value: C
|
|
10150
|
-
})),
|
|
10151
|
-
const C =
|
|
10150
|
+
})), N = (C) => b.find((L) => L.value == C), [y, x] = be(() => {
|
|
10151
|
+
const C = N(c.current);
|
|
10152
10152
|
return C || null;
|
|
10153
10153
|
}), w = (C) => {
|
|
10154
10154
|
c.current = C;
|
|
10155
|
-
const L =
|
|
10156
|
-
|
|
10157
|
-
},
|
|
10155
|
+
const L = N(C);
|
|
10156
|
+
x(L), B(E.current);
|
|
10157
|
+
}, E = D(u ?? ""), G = (C) => {
|
|
10158
10158
|
const L = C.trim();
|
|
10159
10159
|
if (L && c.current) {
|
|
10160
10160
|
if (/^(\d)\1*$/.test(C.trim()))
|
|
10161
10161
|
return !1;
|
|
10162
|
-
const
|
|
10162
|
+
const T = `+${cr(
|
|
10163
10163
|
c.current
|
|
10164
10164
|
)}${L}`;
|
|
10165
|
-
return gf(
|
|
10165
|
+
return gf(T);
|
|
10166
10166
|
}
|
|
10167
10167
|
return !0;
|
|
10168
10168
|
}, B = (C, L = !1) => {
|
|
10169
10169
|
if (!d) {
|
|
10170
|
-
const
|
|
10170
|
+
const T = {
|
|
10171
10171
|
phoneNumber: C,
|
|
10172
10172
|
countryCode: c.current,
|
|
10173
10173
|
error: void 0,
|
|
10174
10174
|
id: o,
|
|
10175
10175
|
initialConsentChecked: L
|
|
10176
10176
|
};
|
|
10177
|
-
r(
|
|
10177
|
+
r(T);
|
|
10178
10178
|
}
|
|
10179
10179
|
C = C.trim();
|
|
10180
10180
|
const te = C ? G(C) ? void 0 : "invalid" : t ? "required" : void 0;
|
|
@@ -10188,16 +10188,16 @@ const _f = ({
|
|
|
10188
10188
|
};
|
|
10189
10189
|
r(ie);
|
|
10190
10190
|
};
|
|
10191
|
-
return /* @__PURE__ */
|
|
10192
|
-
/* @__PURE__ */
|
|
10193
|
-
}, "data-testid": "phone-select-options", children: b.map((C) => /* @__PURE__ */
|
|
10191
|
+
return /* @__PURE__ */ P.jsx(P.Fragment, { children: /* @__PURE__ */ P.jsxs("div", { className: `${xt.phoneWrapper} ${v?.trim() || ""}`, "data-testid": "phone-wrapper", children: [
|
|
10192
|
+
/* @__PURE__ */ P.jsx("div", { className: `${xt.countryCode} ouiCountryCode`, children: /* @__PURE__ */ P.jsx(Js, { selected: y, onSelect: w, "data-testid": "phone-select", themeColor: n, children: /* @__PURE__ */ P.jsx("div", { className: `${xt.phonNumberList} ouiPhonNumberList`, children: /* @__PURE__ */ P.jsx(Qs, { setQuery: () => {
|
|
10193
|
+
}, "data-testid": "phone-select-options", children: b.map((C) => /* @__PURE__ */ P.jsx(
|
|
10194
10194
|
ho,
|
|
10195
10195
|
{
|
|
10196
10196
|
disable: !1,
|
|
10197
10197
|
value: C.value,
|
|
10198
|
-
className: ({ active: L }) => `${L || $(y, C) ?
|
|
10198
|
+
className: ({ active: L }) => `${L || $(y, C) ? xt.active : ""}`,
|
|
10199
10199
|
"data-testid": `phone-select-option-${C.value}`,
|
|
10200
|
-
children: /* @__PURE__ */
|
|
10200
|
+
children: /* @__PURE__ */ P.jsx("div", { className: `${xt.countryListText} ouiCountryListText`, children: /* @__PURE__ */ P.jsxs("span", { children: [
|
|
10201
10201
|
Mt[C.value],
|
|
10202
10202
|
" +",
|
|
10203
10203
|
cr(C.value)
|
|
@@ -10205,20 +10205,20 @@ const _f = ({
|
|
|
10205
10205
|
},
|
|
10206
10206
|
C.value
|
|
10207
10207
|
)) }) }) }) }),
|
|
10208
|
-
/* @__PURE__ */
|
|
10208
|
+
/* @__PURE__ */ P.jsx("div", { className: `${xt.phoneInputWrap} ouiPhoneInputWrap`, children: /* @__PURE__ */ P.jsx(
|
|
10209
10209
|
p2,
|
|
10210
10210
|
{
|
|
10211
10211
|
type: "text",
|
|
10212
10212
|
"aria-labelledby": "phone-number",
|
|
10213
10213
|
placeholder: i,
|
|
10214
|
-
className: `${
|
|
10214
|
+
className: `${xt.phoneInput} ${m && d ? xt.serverError : ""} ouiPhoneInput`,
|
|
10215
10215
|
id: o,
|
|
10216
10216
|
value: u ?? "",
|
|
10217
10217
|
onBlur: (C) => {
|
|
10218
|
-
|
|
10218
|
+
E.current = C.target.value.trim();
|
|
10219
10219
|
},
|
|
10220
10220
|
onChange: (C) => {
|
|
10221
|
-
|
|
10221
|
+
E.current = C.target.value, B(E.current);
|
|
10222
10222
|
},
|
|
10223
10223
|
"data-testid": "phone-input",
|
|
10224
10224
|
themeColor: n
|
|
@@ -10238,8 +10238,8 @@ const _f = ({
|
|
|
10238
10238
|
// semi‑transparent blue
|
|
10239
10239
|
}) => {
|
|
10240
10240
|
const a = t ?? (e != null ? "determinate" : "indeterminate"), d = Ee(() => a === "determinate" && e != null ? Math.max(0, Math.min(100, e)) : 0, [a, e]);
|
|
10241
|
-
return /* @__PURE__ */
|
|
10242
|
-
/* @__PURE__ */
|
|
10241
|
+
return /* @__PURE__ */ P.jsxs(P.Fragment, { children: [
|
|
10242
|
+
/* @__PURE__ */ P.jsx(
|
|
10243
10243
|
"div",
|
|
10244
10244
|
{
|
|
10245
10245
|
className: qa.progress,
|
|
@@ -10251,7 +10251,7 @@ const _f = ({
|
|
|
10251
10251
|
height: n,
|
|
10252
10252
|
backgroundColor: i
|
|
10253
10253
|
},
|
|
10254
|
-
children: /* @__PURE__ */
|
|
10254
|
+
children: /* @__PURE__ */ P.jsx(
|
|
10255
10255
|
"div",
|
|
10256
10256
|
{
|
|
10257
10257
|
className: qa["progress-bar"],
|
|
@@ -10266,7 +10266,7 @@ const _f = ({
|
|
|
10266
10266
|
)
|
|
10267
10267
|
}
|
|
10268
10268
|
),
|
|
10269
|
-
/* @__PURE__ */
|
|
10269
|
+
/* @__PURE__ */ P.jsx("style", { children: `
|
|
10270
10270
|
@keyframes loading {
|
|
10271
10271
|
0% {
|
|
10272
10272
|
left: -200px;
|
|
@@ -10290,6 +10290,54 @@ const _f = ({
|
|
|
10290
10290
|
}
|
|
10291
10291
|
` })
|
|
10292
10292
|
] });
|
|
10293
|
+
}, Rf = ({ themeColor: e, name: t, checked: n, onChange: r, option: i }) => {
|
|
10294
|
+
const a = e?.toLowerCase() === "#ffffff" ? "#c8c8c8" : e, d = (o) => {
|
|
10295
|
+
r(o);
|
|
10296
|
+
};
|
|
10297
|
+
return /* @__PURE__ */ P.jsx("div", { className: "tw-flex tw-flex-col", children: /* @__PURE__ */ P.jsx("div", { className: "tw-relative tw-flex tw-items-center", children: /* @__PURE__ */ P.jsxs("label", { htmlFor: i.value, className: "tw-my-[6px] tw-flex tw-cursor-pointer", children: [
|
|
10298
|
+
/* @__PURE__ */ P.jsxs("div", { className: "tw-relative tw-mr-[10px] tw-size-5", children: [
|
|
10299
|
+
/* @__PURE__ */ P.jsx(
|
|
10300
|
+
"input",
|
|
10301
|
+
{
|
|
10302
|
+
type: "radio",
|
|
10303
|
+
id: i.value,
|
|
10304
|
+
name: t,
|
|
10305
|
+
value: i.value,
|
|
10306
|
+
checked: n,
|
|
10307
|
+
onChange: () => d(i),
|
|
10308
|
+
className: "tw-absolute tw-size-0 tw-opacity-0"
|
|
10309
|
+
}
|
|
10310
|
+
),
|
|
10311
|
+
/* @__PURE__ */ P.jsx(
|
|
10312
|
+
"span",
|
|
10313
|
+
{
|
|
10314
|
+
className: `tw-relative tw-mt-px tw-inline-block tw-w-5 tw-h-5 tw-rounded-full tw-border tw-border-solid ${n ? "tw-border-2" : ""}`,
|
|
10315
|
+
style: {
|
|
10316
|
+
borderColor: n ? a : "#C8C8C8"
|
|
10317
|
+
},
|
|
10318
|
+
children: n && /* @__PURE__ */ P.jsx(
|
|
10319
|
+
"span",
|
|
10320
|
+
{
|
|
10321
|
+
className: "tw-absolute tw-left-1/2 tw-top-1/2 tw-ml-[-5px] tw-mt-[-5px] tw-w-[10px] tw-h-[10px] tw-rounded-full",
|
|
10322
|
+
style: { backgroundColor: a }
|
|
10323
|
+
}
|
|
10324
|
+
)
|
|
10325
|
+
}
|
|
10326
|
+
)
|
|
10327
|
+
] }),
|
|
10328
|
+
i.avatar && /* @__PURE__ */ P.jsx("div", { className: "tw-mr-[9px] tw-max-h-5", children: /* @__PURE__ */ P.jsx(
|
|
10329
|
+
"img",
|
|
10330
|
+
{
|
|
10331
|
+
"aria-hidden": !0,
|
|
10332
|
+
src: i.avatar,
|
|
10333
|
+
width: 20,
|
|
10334
|
+
height: 20,
|
|
10335
|
+
alt: "Location icon",
|
|
10336
|
+
className: "tw-mt-px tw-w-5 tw-h-5 tw-min-w-5"
|
|
10337
|
+
}
|
|
10338
|
+
) }),
|
|
10339
|
+
/* @__PURE__ */ P.jsx("div", { className: "tw-text-base tw-text-[16px] tw-leading-[22px]", children: i.label })
|
|
10340
|
+
] }) }) });
|
|
10293
10341
|
};
|
|
10294
10342
|
export {
|
|
10295
10343
|
Tf as AutoComplete,
|
|
@@ -10298,12 +10346,13 @@ export {
|
|
|
10298
10346
|
Xa as Button,
|
|
10299
10347
|
Ja as Checkbox,
|
|
10300
10348
|
ct as ColorsService,
|
|
10301
|
-
|
|
10349
|
+
Of as MultiLineInput,
|
|
10302
10350
|
Pf as MultiSelect,
|
|
10303
10351
|
_f as Phone,
|
|
10304
10352
|
Af as ProgressBar,
|
|
10305
10353
|
Sf as QuickMultiSelect,
|
|
10306
10354
|
Ef as QuickSelect,
|
|
10355
|
+
Rf as Radio,
|
|
10307
10356
|
i1 as Scrollbar,
|
|
10308
10357
|
Js as Select,
|
|
10309
10358
|
ho as SelectOption,
|