@oncehub/ui-react 1.4.24-beta.1.3 → 1.4.24-beta.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/index.d.ts +0 -1
- package/dist/ui-react.es.js +5884 -9264
- package/dist/ui-react.es.js.map +1 -1
- package/dist/ui-react.umd.js +26 -60
- package/dist/ui-react.umd.js.map +1 -1
- package/package.json +6 -8
- package/dist/components/phone/index.d.ts +0 -1
- package/dist/components/phone/phone.d.ts +0 -16
- package/dist/interfaces/phone.d.ts +0 -1
- package/dist/interfaces/phone.types.d.ts +0 -6
package/dist/ui-react.umd.js
CHANGED
|
@@ -1,75 +1,41 @@
|
|
|
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-relative{position:relative}.tw-block{display:block}.tw-flex{display:flex}.tw-h-20{height:5rem}.tw-cursor-default{cursor:default}.tw-select-none{user-select:none}.tw-items-center{align-items:center}.tw-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tw-bg-\\[\\#EEEEEE\\]{--tw-bg-opacity: 1;background-color:rgb(238 238 238 / var(--tw-bg-opacity))}.tw-py-2{padding-top:.5rem;padding-bottom:.5rem}.tw-pl-4{padding-left:1rem}.tw-pr-4{padding-right:1rem}.tw-font-medium{font-weight:500}.tw-font-normal{font-weight:400}.tw-text-\\[\\#333333\\]{--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity))}._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}")),document.head.appendChild(t)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
2
|
-
(function(
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode("*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.tw-relative{position:relative}.tw-block{display:block}.tw-flex{display:flex}.tw-h-20{height:5rem}.tw-cursor-default{cursor:default}.tw-select-none{user-select:none}.tw-items-center{align-items:center}.tw-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tw-bg-\\[\\#EEEEEE\\]{--tw-bg-opacity: 1;background-color:rgb(238 238 238 / var(--tw-bg-opacity, 1))}.tw-py-2{padding-top:.5rem;padding-bottom:.5rem}.tw-pl-4{padding-left:1rem}.tw-pr-4{padding-right:1rem}.tw-font-medium{font-weight:500}.tw-font-normal{font-weight:400}.tw-text-\\[\\#333333\\]{--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._button_1q2ge_1{box-sizing:border-box;display:flex;cursor:pointer;align-items:center;justify-content:center;border-width:1px;border-style:solid;text-align:center;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}._button_1q2ge_1:hover{text-decoration-line:underline}._button_1q2ge_1:focus{text-decoration-line:underline}._button_1q2ge_1:disabled{cursor:default}._button_1q2ge_1:hover:disabled{text-decoration-line:none}._primary_1q2ge_5{border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(0 107 177 / var(--tw-bg-opacity, 1));font-weight:500;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));outline-color:#006bb1}._primary_1q2ge_5:focus{outline-width:2px;outline-offset:3px}._primary_1q2ge_5:disabled{--tw-border-opacity: 1;border-color:rgb(200 200 200 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(200 200 200 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}._secondary_1q2ge_12{--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));font-weight:400;--tw-text-opacity: 1;color:rgb(0 107 177 / var(--tw-text-opacity, 1))}._secondary_1q2ge_12:hover{border-color:transparent;outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._secondary_1q2ge_12:focus{border-color:transparent;outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._secondary_1q2ge_12:disabled{--tw-border-opacity: 1;border-color:rgb(200 200 200 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(200 200 200 / var(--tw-text-opacity, 1))}._secondary_1q2ge_12:disabled:hover{outline-width:0px}._secondary_1q2ge_12:disabled:focus{outline-width:0px}._small_1q2ge_19{min-height:35px;min-width:70px;padding:4px 22px;font-size:.875rem;line-height:1.25rem;line-height:22px}._small_1q2ge_19._rounded_1q2ge_22{border-radius:18px}._medium_1q2ge_26{min-height:40px;min-width:74px;padding:7px 22px;font-size:.875rem;line-height:1.25rem;line-height:22px}._medium_1q2ge_26._rounded_1q2ge_22{border-radius:20px}._large_1q2ge_33{min-height:44px;min-width:94px;padding-left:1.5rem;padding-right:1.5rem;padding-top:8px;padding-bottom:8px;font-size:1rem;line-height:1.5rem;line-height:24px}._large_1q2ge_33._rounded_1q2ge_22{border-radius:22px}._squared_1q2ge_40{border-radius:.25rem}._checkboxLayout_bt7qx_1{display:inline-flex;width:100%;align-items:center;white-space:nowrap;vertical-align:middle}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4{display:flex;width:100%;cursor:pointer;align-items:baseline;gap:.5rem;font-size:.875rem;line-height:1.25rem;line-height:22px;letter-spacing:0;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4>span{white-space:normal;font-size:.875rem;line-height:1.25rem;line-height:22px;letter-spacing:0;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10{position:relative;top:2px;display:inline-block;height:1rem;width:1rem;flex-shrink:0;cursor:pointer;white-space:nowrap;border-width:0px;vertical-align:middle;line-height:0;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);outline-width:0px}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxInput_bt7qx_13{position:absolute;bottom:0;left:0;height:0px;width:0px;appearance:none;border-width:0px;padding:0;opacity:0;outline-width:0px}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxInput_bt7qx_13:checked+._checkboxFrame_bt7qx_16{--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(0 107 177 / var(--tw-bg-opacity, 1))}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxInput_bt7qx_13:checked+._checkboxFrame_bt7qx_16 ._checkboxCheckMark_bt7qx_19{opacity:1}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxInput_bt7qx_13:checked+._checkboxFrame_bt7qx_16 ._checkboxCheckMark_bt7qx_19 ._checkboxCheckMarkPath_bt7qx_22{animation:.18s linear 0ms _checkboxUncheckedChecked_bt7qx_1;stroke-dashoffset:0}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxInput_bt7qx_13:disabled+._checkboxFrame_bt7qx_16{--tw-border-opacity: 1;border-color:rgb(228 228 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(249 249 249 / var(--tw-bg-opacity, 1))}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxFrame_bt7qx_16{position:absolute;inset:0;box-sizing:border-box;border-radius:3px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(156 156 156 / var(--tw-border-opacity, 1));background-color:transparent}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxFrame_bt7qx_16 ._checkboxCheckMark_bt7qx_19{position:absolute;inset:0;width:100%}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxFrame_bt7qx_16 ._checkboxCheckMark_bt7qx_19 ._checkboxCheckMarkPath_bt7qx_22{stroke-width:3px;stroke-dashoffset:23;stroke-dasharray:23}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10:focus-visible ._checkboxFrame_bt7qx_16{outline-style:solid;outline-width:2px;outline-offset:-1px;outline-color:#006bb1}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._visuallyHidden_bt7qx_43{position:absolute;width:0px;height:0px;margin:0;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}._checkboxLayout_bt7qx_1._checkboxDisabled_bt7qx_53{pointer-events:none;cursor:default}._checkboxLayout_bt7qx_1._checkboxDisabled_bt7qx_53 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxFrame_bt7qx_16{--tw-border-opacity: 1;border-color:rgb(228 228 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(249 249 249 / var(--tw-bg-opacity, 1))}._checkboxLayout_bt7qx_1._medium_bt7qx_59 ._checkboxLabel_bt7qx_4>span{width:calc(100% - 24px);font-size:.875rem;line-height:1.25rem}._checkboxLayout_bt7qx_1._medium_bt7qx_59 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10{height:1rem;width:1rem}._checkboxLayout_bt7qx_1._large_bt7qx_65 ._checkboxLabel_bt7qx_4>span{width:calc(100% - 27px);font-size:1rem;line-height:1.5rem}._checkboxLayout_bt7qx_1._large_bt7qx_65 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10{top:4px;height:1.25rem;width:1.25rem}@keyframes _checkboxUncheckedChecked_bt7qx_1{0%,50%{stroke-dashoffset:23}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}to{stroke-dashoffset:0}}._textInputWrapper_1i9m6_1{width:100%}._textInputWrapper_1i9m6_1 ._textInput_1i9m6_1{box-sizing:border-box;display:block;height:2.5rem;max-height:225px;width:100%;resize:none;border-width:0px;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(51 51 51 / var(--tw-border-opacity, 1));padding-left:10px;padding-right:10px;padding-bottom:.5rem;padding-top:7px;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1));outline:2px solid transparent;outline-offset:2px}._textInputWrapper_1i9m6_1 ._textInput_1i9m6_1:focus{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));padding-bottom:7px}._multiSelectContainer_lh9wi_1,._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4{position:relative;width:100%}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7{position:relative;height:2.5rem;width:100%}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7{box-sizing:border-box;display:block;height:100%;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-width:0px;border-bottom-width:1px;border-style:solid;--tw-border-opacity: 1;border-bottom-color:rgb(51 51 51 / var(--tw-border-opacity, 1));padding-bottom:.5rem;padding-left:10px;padding-right:2.75rem;padding-top:.5rem;font-size:1rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7::placeholder{--tw-placeholder-opacity: 1;color:rgb(102 102 102 / var(--tw-placeholder-opacity, 1))}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7:focus-within{outline:2px solid transparent;outline-offset:2px}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7:focus{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));padding-bottom:7px}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7:focus-visible{outline:2px solid transparent;outline-offset:2px}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7._focused_lh9wi_13{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));padding-bottom:7px;outline:2px solid transparent;outline-offset:2px}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7._placeholder_lh9wi_16{--tw-text-opacity: 1;color:rgb(102 102 102 / var(--tw-text-opacity, 1))}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._dropDownIcon_lh9wi_19{position:absolute;right:.5rem;top:50%;display:flex;height:100%;width:1.75rem;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));cursor:pointer;align-items:center;justify-content:center}._optionsListContainer_lh9wi_23{position:absolute;z-index:10;margin-top:0;max-height:293px;width:100%;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding-bottom:4rem;font-size:.875rem;line-height:1.25rem;line-height:22px;--tw-shadow: 0 1px 6px 0 rgba(0,0,0,.5);--tw-shadow-colored: 0 1px 6px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}._optionsListContainer_lh9wi_23:focus{outline:2px solid transparent;outline-offset:2px}._optionsListContainer_lh9wi_23._top_lh9wi_26{transform:translateY(calc(-100% - 40px))}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29{max-height:225px;overflow:auto;padding-top:1rem;padding-bottom:1rem}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._searchInputWrap_lh9wi_32{margin-bottom:.5rem;height:2.5rem;padding-left:10px;padding-right:10px}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._searchInputWrap_lh9wi_32 ._searchInput_lh9wi_32{box-sizing:border-box;height:100%;width:100%;padding-top:.5rem;padding-bottom:.5rem;padding-left:10px;outline-style:solid;outline-width:1px;outline-offset:-2px;outline-color:#c8c8c8}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ul{margin:0;padding:0}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._optionsList_lh9wi_23{box-sizing:border-box;display:flex;list-style-type:none;align-items:flex-start;gap:.5rem;padding-left:10px;padding-right:10px;padding-top:.5rem;padding-bottom:.5rem}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._optionsList_lh9wi_23 span{word-break:break-word;display:block;width:calc(100% - 22px);overflow-wrap:break-word;font-size:.875rem;line-height:1.25rem;line-height:22px}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._optionsList_lh9wi_23:hover,._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._optionsList_lh9wi_23._focused_lh9wi_13{--tw-bg-opacity: 1;background-color:rgb(238 238 238 / var(--tw-bg-opacity, 1))}._optionsListContainer_lh9wi_23 ._btnContainer_lh9wi_54{position:absolute;left:0;right:0;box-sizing:border-box;display:flex;height:64px;width:100%;align-items:center;justify-content:flex-end;border-width:0px;border-top-width:1px;border-style:solid;--tw-border-opacity: 1;border-top-color:rgb(200 200 200 / var(--tw-border-opacity, 1));padding-left:18px;padding-right:18px}._optionsListContainer_lh9wi_23 ._btnContainer_lh9wi_54 ._hiddenButton_lh9wi_57{position:absolute;left:-9999px;height:0px;width:0px;opacity:0}._optionsListContainer_lh9wi_23 ::-webkit-scrollbar{width:6px}._optionsListContainer_lh9wi_23 ::-webkit-scrollbar-thumb{background-color:#a9a9a9;border-radius:6px}._announcement_lh9wi_70{pointer-events:none;height:0px;overflow:hidden;opacity:0}._pseudoCheckbox_z8j4c_1{position:relative;top:3px;box-sizing:border-box;height:1rem;width:1rem;border-radius:3px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(156 156 156 / var(--tw-border-opacity, 1))}._pseudoCheckbox_z8j4c_1 ._checkboxCheckMark_z8j4c_4{position:absolute;inset:0;width:100%}._pseudoCheckbox_z8j4c_1 ._checkboxCheckMark_z8j4c_4 ._checkboxCheckMarkPath_z8j4c_7{stroke-width:3px;stroke-dashoffset:23;stroke-dasharray:23}._pseudoCheckbox_z8j4c_1._checked_z8j4c_12{--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(0 107 177 / var(--tw-bg-opacity, 1))}._pseudoCheckbox_z8j4c_1._checked_z8j4c_12 ._checkboxCheckMark_z8j4c_4{opacity:1}._pseudoCheckbox_z8j4c_1._checked_z8j4c_12 ._checkboxCheckMark_z8j4c_4 ._checkboxCheckMarkPath_z8j4c_7{animation:.18s linear 0ms _checkboxUncheckedChecked_z8j4c_1;stroke-dashoffset:0}._pseudoCheckbox_z8j4c_1._checkboxDisabled_z8j4c_22{pointer-events:none;cursor:default;--tw-border-opacity: 1;border-color:rgb(228 228 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(249 249 249 / var(--tw-bg-opacity, 1))}@keyframes _checkboxUncheckedChecked_z8j4c_1{0%,50%{stroke-dashoffset:23}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}to{stroke-dashoffset:0}}._multiSelectContainer_1rhxq_1{position:relative}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4{margin-right:-.75rem;display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li{word-break:break-word;position:relative;box-sizing:border-box;display:inline-flex;min-width:80px;cursor:pointer;list-style-type:none;align-items:center;overflow-wrap:break-word;border-radius:4px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));background-color:transparent;padding:8px 14px;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(0 107 177 / var(--tw-text-opacity, 1))}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li:hover,._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li:focus-visible,._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li._selected_1rhxq_11{outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li:hover,._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li:focus-visible{text-decoration-line:underline}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li._disabled_1rhxq_17{pointer-events:none!important;cursor:default!important;--tw-border-opacity: 1 !important;border-color:rgb(228 228 228 / var(--tw-border-opacity, 1))!important;--tw-text-opacity: 1 !important;color:rgb(51 51 51 / var(--tw-text-opacity, 1))!important;text-decoration-line:none!important;outline-width:0px!important}._singleSelectWrapper_1x2o4_1{position:relative}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4{display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li{position:relative;box-sizing:border-box;display:inline-flex;min-height:44px;min-width:80px;cursor:pointer;list-style-type:none;align-items:center;word-break:break-all;border-radius:4px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));background-color:transparent;padding-left:1.5rem;padding-right:1.5rem;padding-top:9px;padding-bottom:9px;text-align:center;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(0 107 177 / var(--tw-text-opacity, 1))}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li:hover,._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li:focus-visible,._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li._selected_1x2o4_10{outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li:hover,._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li:focus-visible{text-decoration-line:underline}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16{position:absolute;right:0;top:0;display:inline-block;height:0px;width:0px;border-width:11px;border-style:solid;border-bottom-color:transparent;border-left-color:transparent;border-right-color:rgb(0 107 177 / var(--tw-border-opacity, 1));--tw-border-opacity: 1;border-top-color:rgb(0 107 177 / var(--tw-border-opacity, 1))}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16 ._loader_1x2o4_19{position:absolute;left:0;top:-10px;height:10px;width:10px}@keyframes _tw-spin_1x2o4_1{to{transform:rotate(360deg)}}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16 ._loader_1x2o4_19{animation:_tw-spin_1x2o4_1 1s linear infinite;border-radius:50%;border-width:2px;border-style:solid;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1));--tw-border-opacity: 1;border-right-color:rgb(0 107 177 / var(--tw-border-opacity, 1))}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16 ._checkmarkWrap_1x2o4_22{position:absolute;left:-1px;top:-9px}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16 ._checkmarkWrap_1x2o4_22 ._checkmark_1x2o4_22{display:block;animation:_fill_1x2o4_1 .4s ease-in-out .4s forwards,_scale_1x2o4_1 .3s ease-in-out .9s both;border-radius:50%;--tw-shadow: inset 0px 0px 0px transparent;--tw-shadow-colored: inset 0px 0px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);stroke-miterlimit:10}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li ._triangle_1x2o4_16 ._checkmarkWrap_1x2o4_22 ._checkmark_1x2o4_22 ._checkmarkCheck_1x2o4_29{transform-origin:50% 50%;animation:_stroke_1x2o4_1 .8s cubic-bezier(.5,0,.45,1) .2s forwards;stroke-dasharray:48;stroke-dashoffset:48}._singleSelectWrapper_1x2o4_1 ._quickOption_1x2o4_4 li._disabled_1x2o4_34{pointer-events:none!important;cursor:default!important;--tw-border-opacity: 1 !important;border-color:rgb(228 228 228 / var(--tw-border-opacity, 1))!important;--tw-text-opacity: 1 !important;color:rgb(51 51 51 / var(--tw-text-opacity, 1))!important;text-decoration-line:none!important;outline-width:0px!important}@keyframes _scale_1x2o4_1{0%,to{transform:none}50%{transform:scale3d(1.1,1.1,1)}}@keyframes _fill_1x2o4_1{to{box-shadow:inset 0 0 0 30px transparent}}@keyframes _stroke_1x2o4_1{to{stroke-dashoffset:0}}._scrollbarContainer_40vsr_1{overflow-y:auto}._scrollbarContainer_40vsr_1::-webkit-scrollbar{width:10px}._scrollbarContainer_40vsr_1::-webkit-scrollbar-track{display:none}._scrollbarContainer_40vsr_1::-webkit-scrollbar-thumb{background-color:#ccc!important;border:2px #fff solid;border-radius:15px}._scrollbarContainer_40vsr_1{@supports not selector(::-webkit-scrollbar){scrollbar-width:thin;scrollbar-color:#ccc #0000}}._select_c79hj_1,._select_c79hj_1 ._selectContainer_c79hj_4{position:relative}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7{position:relative;box-sizing:border-box;height:2.5rem;width:100%;cursor:pointer;border-left-width:0px;border-right-width:0px;border-bottom-width:1px;border-top-width:1px;border-style:solid;border-top-color:transparent;--tw-border-opacity: 1;border-bottom-color:rgb(51 51 51 / var(--tw-border-opacity, 1));background-color:transparent;padding-top:.375rem;padding-bottom:.375rem;padding-left:10px;padding-right:2rem;text-align:left;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7:focus{border-bottom-width:2px;border-top-width:2px;--tw-border-opacity: 1;border-bottom-color:rgb(0 107 177 / var(--tw-border-opacity, 1));padding-top:5px;padding-bottom:5px;outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7._open_c79hj_13{border-bottom-width:2px;border-top-width:2px;--tw-border-opacity: 1;border-bottom-color:rgb(0 107 177 / var(--tw-border-opacity, 1))}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._selectValue_c79hj_16{display:flex;align-items:center}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._selectValue_c79hj_16 ._seletIcon_c79hj_19{margin-right:.5rem;height:1.25rem;width:1.25rem;flex-shrink:0}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._selectValue_c79hj_16 ._selectText_c79hj_22{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._chevronDownIconSpan_c79hj_25{pointer-events:none;position:absolute;top:0;bottom:0;right:0;display:flex;align-items:center;padding-right:.5rem}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._chevronDownIconSpan_c79hj_25 ._chevronDownIcon_c79hj_25{height:1.25rem;width:1.25rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._leave_c79hj_32{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,1,1)}._leaveFrom_c79hj_36{opacity:1}._leaveTo_c79hj_40{opacity:0}._selectOptions_c79hj_44{margin:0;max-height:200px;width:100%;list-style-type:none;overflow:auto;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:10px 0;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 1px 6px 0 rgba(0,0,0,.5);--tw-shadow-colored: 0 1px 6px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 640px){._selectOptions_c79hj_44{font-size:.875rem;line-height:1.25rem}}._selectOptions_c79hj_44::-webkit-scrollbar-thumb{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(169 169 169 / var(--tw-bg-opacity, 1))}._selectOptions_c79hj_44::-webkit-scrollbar{width:6px}._selectOptions_c79hj_44:focus{outline:2px solid transparent;outline-offset:2px}._autocomplete_1uhaj_1{position:relative}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4{position:relative;height:2.5rem;width:100%;cursor:default;overflow:hidden;background-color:transparent;text-align:left;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4._disable_1uhaj_7{--tw-text-opacity: 1;color:rgb(167 167 167 / var(--tw-text-opacity, 1))}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4:focus{outline:2px solid transparent;outline-offset:2px}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(223 223 223 / var(--tw-ring-opacity, 1));--tw-ring-offset-width: 2px;--tw-ring-offset-color: #DFDFDF }._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteInput_1uhaj_16{box-sizing:border-box;height:100%;width:100%;border-width:0px;border-bottom-width:1px;--tw-border-opacity: 1;border-bottom-color:rgb(51 51 51 / var(--tw-border-opacity, 1));background-color:transparent;padding-bottom:.5rem;padding-left:10px;padding-right:2.5rem;padding-top:.5rem;font-size:1rem;line-height:1.25rem}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteInput_1uhaj_16::placeholder{--tw-placeholder-opacity: 1;color:rgb(102 102 102 / var(--tw-placeholder-opacity, 1))}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteInput_1uhaj_16{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteInput_1uhaj_16:focus{border-bottom-width:2px;--tw-border-opacity: 1;border-bottom-color:rgb(0 107 177 / var(--tw-border-opacity, 1));padding-bottom:7px;outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteInput_1uhaj_16:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteButton_1uhaj_25{position:absolute;top:0;bottom:0;right:0;display:flex;align-items:center;border-width:0px;background-color:transparent;padding-right:.5rem}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteButton_1uhaj_25 ._chevronDownIcon_1uhaj_28{height:1.25rem;width:1.25rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._autocomplete_1uhaj_1 ._autocompleteContainer_1uhaj_4 ._autocompleteButton_1uhaj_25 ._chevronDownIcon_1uhaj_28._disable_1uhaj_7{--tw-text-opacity: 1;color:rgb(167 167 167 / var(--tw-text-opacity, 1))}._leave_1uhaj_35{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,1,1)}._leaveFrom_1uhaj_39{opacity:1}._leaveTo_1uhaj_43{opacity:0}._autocompleteOptions_1uhaj_47{margin:0;max-height:210px;width:100%;list-style-type:none;overflow:auto;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:10px 0;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 1px 6px 0 rgba(0,0,0,.5);--tw-shadow-colored: 0 1px 6px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 640px){._autocompleteOptions_1uhaj_47{font-size:.875rem;line-height:1.25rem}}._autocompleteOptions_1uhaj_47::-webkit-scrollbar-thumb{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(169 169 169 / var(--tw-bg-opacity, 1))}._autocompleteOptions_1uhaj_47::-webkit-scrollbar{width:6px}._autocompleteOptions_1uhaj_47:focus{outline:2px solid transparent;outline-offset:2px}._textInputWrapper_gym4n_1{width:100%}._textInputWrapper_gym4n_1 ._textInput_gym4n_1{display:block;height:2.5rem;width:100%;border-width:0px;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(51 51 51 / var(--tw-border-opacity, 1));padding-left:10px;padding-right:10px;padding-bottom:.5rem;padding-top:7px;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1));outline:2px solid transparent;outline-offset:2px}._textInputWrapper_gym4n_1 ._textInput_gym4n_1:focus{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));padding-bottom:7px}")),document.head.appendChild(t)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
2
|
+
(function(be,c){typeof exports=="object"&&typeof module<"u"?c(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],c):(be=typeof globalThis<"u"?globalThis:be||self,c(be["ui-react"]={},be.React,be.ReactDOM))})(this,function(be,c,xe){"use strict";function Nr(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const B=Nr(c),tn=Nr(xe),kf="";var Us=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},An={exports:{}},At={};/**
|
|
3
3
|
* @license React
|
|
4
|
-
* react-jsx-runtime.production.
|
|
4
|
+
* react-jsx-runtime.production.js
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c)
|
|
6
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7
7
|
*
|
|
8
8
|
* This source code is licensed under the MIT license found in the
|
|
9
9
|
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/var
|
|
10
|
+
*/var Dr;function zs(){if(Dr)return At;Dr=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,o,i){var l=null;if(i!==void 0&&(l=""+i),o.key!==void 0&&(l=""+o.key),"key"in o){i={};for(var s in o)s!=="key"&&(i[s]=o[s])}else i=o;return o=i.ref,{$$typeof:e,type:r,key:l,ref:o!==void 0?o:null,props:i}}return At.Fragment=t,At.jsx=n,At.jsxs=n,At}var Ft={};/**
|
|
11
11
|
* @license React
|
|
12
12
|
* react-jsx-runtime.development.js
|
|
13
13
|
*
|
|
14
|
-
* Copyright (c)
|
|
14
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
15
15
|
*
|
|
16
16
|
* This source code is licensed under the MIT license found in the
|
|
17
17
|
* LICENSE file in the root directory of this source tree.
|
|
18
|
-
*/var
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
`),Se=
|
|
22
|
-
|
|
18
|
+
*/var jr;function $s(){return jr||(jr=1,process.env.NODE_ENV!=="production"&&function(){function e(g){if(g==null)return null;if(typeof g=="function")return g.$$typeof===$?null:g.displayName||g.name||null;if(typeof g=="string")return g;switch(g){case S:return"Fragment";case k:return"Portal";case R:return"Profiler";case C:return"StrictMode";case K:return"Suspense";case P:return"SuspenseList"}if(typeof g=="object")switch(typeof g.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),g.$$typeof){case D:return(g.displayName||"Context")+".Provider";case W:return(g._context.displayName||"Context")+".Consumer";case I:var H=g.render;return g=g.displayName,g||(g=H.displayName||H.name||"",g=g!==""?"ForwardRef("+g+")":"ForwardRef"),g;case M:return H=g.displayName||null,H!==null?H:e(g.type)||"Memo";case X:H=g._payload,g=g._init;try{return e(g(H))}catch{}}return null}function t(g){return""+g}function n(g){try{t(g);var H=!1}catch{H=!0}if(H){H=console;var N=H.error,oe=typeof Symbol=="function"&&Symbol.toStringTag&&g[Symbol.toStringTag]||g.constructor.name||"Object";return N.call(H,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",oe),t(g)}}function r(){}function o(){if(te===0){ne=console.log,pe=console.info,ae=console.warn,fe=console.error,he=console.group,We=console.groupCollapsed,Ge=console.groupEnd;var g={configurable:!0,enumerable:!0,value:r,writable:!0};Object.defineProperties(console,{info:g,log:g,warn:g,error:g,group:g,groupCollapsed:g,groupEnd:g})}te++}function i(){if(te--,te===0){var g={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ie({},g,{value:ne}),info:ie({},g,{value:pe}),warn:ie({},g,{value:ae}),error:ie({},g,{value:fe}),group:ie({},g,{value:he}),groupCollapsed:ie({},g,{value:We}),groupEnd:ie({},g,{value:Ge})})}0>te&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function l(g){if(O===void 0)try{throw Error()}catch(N){var H=N.stack.trim().match(/\n( *(at )?)/);O=H&&H[1]||"",V=-1<N.stack.indexOf(`
|
|
19
|
+
at`)?" (<anonymous>)":-1<N.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
20
|
+
`+O+g+V}function s(g,H){if(!g||F)return"";var N=G.get(g);if(N!==void 0)return N;F=!0,N=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var oe=null;oe=z.H,z.H=null,o();try{var we={DetermineComponentFrameRoot:function(){try{if(H){var q=function(){throw Error()};if(Object.defineProperty(q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(q,[])}catch(Re){var De=Re}Reflect.construct(g,[],q)}else{try{q.call()}catch(Re){De=Re}g.call(q.prototype)}}else{try{throw Error()}catch(Re){De=Re}(q=g())&&typeof q.catch=="function"&&q.catch(function(){})}}catch(Re){if(Re&&De&&typeof Re.stack=="string")return[Re.stack,De.stack]}return[null,null]}};we.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var U=Object.getOwnPropertyDescriptor(we.DetermineComponentFrameRoot,"name");U&&U.configurable&&Object.defineProperty(we.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var L=we.DetermineComponentFrameRoot(),Y=L[0],ce=L[1];if(Y&&ce){var ve=Y.split(`
|
|
21
|
+
`),Se=ce.split(`
|
|
22
|
+
`);for(L=U=0;U<ve.length&&!ve[U].includes("DetermineComponentFrameRoot");)U++;for(;L<Se.length&&!Se[L].includes("DetermineComponentFrameRoot");)L++;if(U===ve.length||L===Se.length)for(U=ve.length-1,L=Se.length-1;1<=U&&0<=L&&ve[U]!==Se[L];)L--;for(;1<=U&&0<=L;U--,L--)if(ve[U]!==Se[L]){if(U!==1||L!==1)do if(U--,L--,0>L||ve[U]!==Se[L]){var se=`
|
|
23
|
+
`+ve[U].replace(" at new "," at ");return g.displayName&&se.includes("<anonymous>")&&(se=se.replace("<anonymous>",g.displayName)),typeof g=="function"&&G.set(g,se),se}while(1<=U&&0<=L);break}}}finally{F=!1,z.H=oe,i(),Error.prepareStackTrace=N}return ve=(ve=g?g.displayName||g.name:"")?l(ve):"",typeof g=="function"&&G.set(g,ve),ve}function a(g){if(g==null)return"";if(typeof g=="function"){var H=g.prototype;return s(g,!(!H||!H.isReactComponent))}if(typeof g=="string")return l(g);switch(g){case K:return l("Suspense");case P:return l("SuspenseList")}if(typeof g=="object")switch(g.$$typeof){case I:return g=s(g.render,!1),g;case M:return a(g.type);case X:H=g._payload,g=g._init;try{return a(g(H))}catch{}}return""}function h(){var g=z.A;return g===null?null:g.getOwner()}function m(g){if(Q.call(g,"key")){var H=Object.getOwnPropertyDescriptor(g,"key").get;if(H&&H.isReactWarning)return!1}return g.key!==void 0}function b(g,H){function N(){ke||(ke=!0,console.error("%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://react.dev/link/special-props)",H))}N.isReactWarning=!0,Object.defineProperty(g,"key",{get:N,configurable:!0})}function f(){var g=e(this.type);return Ne[g]||(Ne[g]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),g=this.props.ref,g!==void 0?g:null}function d(g,H,N,oe,we,U){return N=U.ref,g={$$typeof:x,type:g,key:H,props:U,_owner:we},(N!==void 0?N:null)!==null?Object.defineProperty(g,"ref",{enumerable:!1,get:f}):Object.defineProperty(g,"ref",{enumerable:!1,value:null}),g._store={},Object.defineProperty(g._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(g,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.freeze&&(Object.freeze(g.props),Object.freeze(g)),g}function u(g,H,N,oe,we,U){if(typeof g=="string"||typeof g=="function"||g===S||g===R||g===C||g===K||g===P||g===J||typeof g=="object"&&g!==null&&(g.$$typeof===X||g.$$typeof===M||g.$$typeof===D||g.$$typeof===W||g.$$typeof===I||g.$$typeof===le||g.getModuleId!==void 0)){var L=H.children;if(L!==void 0)if(oe)if(T(L)){for(oe=0;oe<L.length;oe++)p(L[oe],g);Object.freeze&&Object.freeze(L)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else p(L,g)}else L="",(g===void 0||typeof g=="object"&&g!==null&&Object.keys(g).length===0)&&(L+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),g===null?oe="null":T(g)?oe="array":g!==void 0&&g.$$typeof===x?(oe="<"+(e(g.type)||"Unknown")+" />",L=" Did you accidentally export a JSX literal instead of a component?"):oe=typeof g,console.error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",oe,L);if(Q.call(H,"key")){L=e(g);var Y=Object.keys(H).filter(function(ve){return ve!=="key"});oe=0<Y.length?"{key: someKey, "+Y.join(": ..., ")+": ...}":"{key: someKey}",Fe[L+oe]||(Y=0<Y.length?"{"+Y.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
24
|
+
let props = %s;
|
|
25
|
+
<%s {...props} />
|
|
26
|
+
React keys must be passed directly to JSX without using spread:
|
|
27
|
+
let props = %s;
|
|
28
|
+
<%s key={someKey} {...props} />`,oe,L,Y,L),Fe[L+oe]=!0)}if(L=null,N!==void 0&&(n(N),L=""+N),m(H)&&(n(H.key),L=""+H.key),"key"in H){N={};for(var ce in H)ce!=="key"&&(N[ce]=H[ce])}else N=H;return L&&b(N,typeof g=="function"?g.displayName||g.name||"Unknown":g),d(g,L,U,we,h(),N)}function p(g,H){if(typeof g=="object"&&g&&g.$$typeof!==ge){if(T(g))for(var N=0;N<g.length;N++){var oe=g[N];v(oe)&&y(oe,H)}else if(v(g))g._store&&(g._store.validated=1);else if(g===null||typeof g!="object"?N=null:(N=Z&&g[Z]||g["@@iterator"],N=typeof N=="function"?N:null),typeof N=="function"&&N!==g.entries&&(N=N.call(g),N!==g))for(;!(g=N.next()).done;)v(g.value)&&y(g.value,H)}}function v(g){return typeof g=="object"&&g!==null&&g.$$typeof===x}function y(g,H){if(g._store&&!g._store.validated&&g.key==null&&(g._store.validated=1,H=E(H),!xt[H])){xt[H]=!0;var N="";g&&g._owner!=null&&g._owner!==h()&&(N=null,typeof g._owner.tag=="number"?N=e(g._owner.type):typeof g._owner.name=="string"&&(N=g._owner.name),N=" It was passed a child from "+N+".");var oe=z.getCurrentStack;z.getCurrentStack=function(){var we=a(g.type);return oe&&(we+=oe()||""),we},console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',H,N),z.getCurrentStack=oe}}function E(g){var H="",N=h();return N&&(N=e(N.type))&&(H=`
|
|
23
29
|
|
|
24
|
-
Check the render method of
|
|
30
|
+
Check the render method of \``+N+"`."),H||(g=e(g))&&(H=`
|
|
25
31
|
|
|
26
|
-
Check your code at `+A+":"+L+"."}return""}}var t0={};function g9($){{var A=e0();if(!A){var L=typeof $=="string"?$:$.displayName||$.name;L&&(A=`
|
|
27
|
-
|
|
28
|
-
Check the top-level render call using <`+L+">.")}return A}}function n0($,A){{if(!$._store||$._store.validated||$.key!=null)return;$._store.validated=!0;var L=g9(A);if(t0[L])return;t0[L]=!0;var J="";$&&$._owner&&$._owner!==Qr.current&&(J=" It was passed a child from "+N($._owner.type)+"."),Mt($),E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',L,J),Mt(null)}}function r0($,A){{if(typeof $!="object")return;if(De($))for(var L=0;L<$.length;L++){var J=$[L];ti(J)&&n0(J,A)}else if(ti($))$._store&&($._store.validated=!0);else if($){var fe=p($);if(typeof fe=="function"&&fe!==$.entries)for(var ge=fe.call($),le;!(le=ge.next()).done;)ti(le.value)&&n0(le.value,A)}}}function y9($){{var A=$.type;if(A==null||typeof A=="string")return;var L;if(typeof A=="function")L=A.propTypes;else if(typeof A=="object"&&(A.$$typeof===u||A.$$typeof===b))L=A.propTypes;else return;if(L){var J=N(A);St(L,$.props,"prop",J,$)}else if(A.PropTypes!==void 0&&!ei){ei=!0;var fe=N(A);E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",fe||"Unknown")}typeof A.getDefaultProps=="function"&&!A.getDefaultProps.isReactClassApproved&&E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function w9($){{for(var A=Object.keys($.props),L=0;L<A.length;L++){var J=A[L];if(J!=="children"&&J!=="key"){Mt($),E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",J),Mt(null);break}}$.ref!==null&&(Mt($),E("Invalid attribute `ref` supplied to `React.Fragment`."),Mt(null))}}function i0($,A,L,J,fe,ge){{var le=q($);if(!le){var de="";($===void 0||typeof $=="object"&&$!==null&&Object.keys($).length===0)&&(de+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Me=b9(fe);Me?de+=Me:de+=e0();var Se;$===null?Se="null":De($)?Se="array":$!==void 0&&$.$$typeof===t?(Se="<"+(N($.type)||"Unknown")+" />",de=" Did you accidentally export a JSX literal instead of a component?"):Se=typeof $,E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Se,de)}var Ee=$9($,A,L,fe,ge);if(Ee==null)return Ee;if(le){var ze=A.children;if(ze!==void 0)if(J)if(De(ze)){for(var Bt=0;Bt<ze.length;Bt++)r0(ze[Bt],$);Object.freeze&&Object.freeze(ze)}else E("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else r0(ze,$)}return $===r?w9(Ee):y9(Ee),Ee}}function C9($,A,L){return i0($,A,L,!0)}function O9($,A,L){return i0($,A,L,!1)}var x9=O9,S9=C9;Ut.Fragment=r,Ut.jsx=x9,Ut.jsxs=S9}()),Ut}process.env.NODE_ENV==="production"?Mn.exports=u0():Mn.exports=l0();var T=Mn.exports;const nn={button:"_button_1q2ge_1",primary:"_primary_1q2ge_5",secondary:"_secondary_1q2ge_12",small:"_small_1q2ge_19",rounded:"_rounded_1q2ge_22",medium:"_medium_1q2ge_26",large:"_large_1q2ge_33",squared:"_squared_1q2ge_40"},mt=e=>{if(!e)throw new Error("Please provide a hex color code");if(!/^#([A-Fa-f0-9]{3}){1,2}$/.test(e))throw new Error("Please provide a valid hex code");e=e.length===4?e.replace(/^#(.)(.)(.)$/,"#$1$1$2$2$3$3"):e;const r=e.substring(1),[i,a,d]=[0,2,4].map(u=>parseInt(r.substring(u,u+2),16));return(.2126*i+.7152*a+.0722*d)/255<.7?"dark":"light"};class Ze{static convert3HexTo6(t){return typeof t=="string"&&/^#(?:[0-9a-fA-F]{3}){1,2}$/.test(t)&&t.length===4?t.replace(/^#(.)(.)(.)$/,"#$1$1$2$2$3$3"):t}}const Bn=f.forwardRef(({themeColor:e="",variant:t="primary",size:n="small",shape:r="rounded",children:i,className:a="",style:d={},disabled:o,...u},s)=>{let m={};if(e){const l=mt(e);if(e=Ze.convert3HexTo6(e),!o&&(l==="dark"||l==="light")){const v=t==="primary"?e:"#ffffff",c=t==="primary"?l==="dark"?"#ffffff":"#333333":l==="light"?"#333333":e,h=e==="#ffffff"?"#c8c8c8":e;m={backgroundColor:v,color:c,outlineColor:h,borderColor:h}}}const b=[nn.button,nn[t],nn[n],nn[r],a].filter(Boolean).join(" ");return T.jsx("button",{disabled:o,ref:s,style:{...m,...d},className:`${b}`,...u,children:i})});Bn.displayName="Button";const rt={checkboxLayout:"_checkboxLayout_bt7qx_1",checkboxLabel:"_checkboxLabel_bt7qx_4",checkboxInnerContainer:"_checkboxInnerContainer_bt7qx_10",checkboxInput:"_checkboxInput_bt7qx_13",checkboxFrame:"_checkboxFrame_bt7qx_16",checkboxCheckMark:"_checkboxCheckMark_bt7qx_19",checkboxCheckMarkPath:"_checkboxCheckMarkPath_bt7qx_22",checkboxUncheckedChecked:"_checkboxUncheckedChecked_bt7qx_1",visuallyHidden:"_visuallyHidden_bt7qx_43",checkboxDisabled:"_checkboxDisabled_bt7qx_53",medium:"_medium_bt7qx_59",large:"_large_bt7qx_65"},s0=()=>`checkbox_${Math.random().toString(36).substring(2,11)}`,Wn=f.forwardRef(({children:e,themeColor:t="",checkboxSize:n="medium",id:r=s0(),checked:i=!1,disabled:a=!1,className:d="",onChange:o,style:u={},tabIndex:s,...m},b)=>{const[l,v]=f.useState(i);let c={},h,p=a?"#9b9b9b":"#ffffff";if(t){const O=mt(t);if(t=Ze.convert3HexTo6(t),O==="dark"||O==="light"){switch(O){case"dark":p=a?l?"#9b9b9b":"#f9f9f9":"#ffffff";break;case"light":p=a?l?"#9b9b9b":"#f9f9f9":l?"#333333":"#ffffff";break;default:p="#9b9b9b";break}const w=a?"#f9f9f9":l?t:"#ffffff";h=a?"#e4e4e4":t=="#ffffff"?"#333333":t,l&&(c={backgroundColor:w,borderColor:h,outlineColor:h})}}const g=a?rt.checkboxDisabled:"",E=[rt.checkboxLayout,rt[n],g,d].filter(Boolean).join(" "),C=O=>{O.key!="Enter"&&(O.preventDefault(),o?.(O.target.checked),v(!l))};return T.jsx(T.Fragment,{children:T.jsx("div",{className:E,"data-testid":"checkbox",children:T.jsxs("label",{className:rt.checkboxLabel,htmlFor:r,onClick:O=>C(O),children:[T.jsxs("div",{className:rt.checkboxInnerContainer,tabIndex:s||a?-1:0,onKeyPress:O=>C(O),"data-testid":"checkbox-inner-container",children:[T.jsx("input",{className:rt.checkboxInput,onChange:O=>C(O),type:"checkbox",checked:l,disabled:a,id:r,ref:b,...m,tabIndex:-1,"data-testid":"checkbox-input"}),T.jsx("div",{className:rt.checkboxFrame,style:{...c,...u},"data-testid":"checkbox-frame",children:T.jsx("svg",{version:"1.1",focusable:"false",className:rt.checkboxCheckMark,viewBox:"0 0 24 24","data-testid":"check-mark-svg",children:T.jsx("path",{className:rt.checkboxCheckMarkPath,fill:"none",stroke:p,d:"M4.1,12.7 9,17.6 20.3,6.3"})})})]}),e&&T.jsx("span",{"data-testid":"checkbox-label",children:e}),T.jsx("div",{className:rt.visuallyHidden,"aria-live":"polite","aria-atomic":"true",children:l?"Checked":"Unchecked"})]})})})});Wn.displayName="Checkbox";const ai={textInputWrapper:"_textInputWrapper_1i9m6_1",textInput:"_textInput_1i9m6_1"};var D={},Un={exports:{}};(function(e,t){(function(n,r){var i="1.0.37",a="",d="?",o="function",u="undefined",s="object",m="string",b="major",l="model",v="name",c="type",h="vendor",p="version",g="architecture",E="console",C="mobile",O="tablet",w="smarttv",P="wearable",W="embedded",_=500,I="Amazon",q="Apple",te="ASUS",re="BlackBerry",N="Browser",z="Chrome",ie="Edge",ae="Firefox",G="Google",se="Huawei",oe="LG",x="Microsoft",j="Motorola",U="Opera",M="Samsung",S="Sharp",F="Sony",R="Xiaomi",V="Zebra",K="Facebook",ee="Chromium OS",Q="Mac OS",Pe=function(ne,ce){var Y={};for(var be in ne)ce[be]&&ce[be].length%2===0?Y[be]=ce[be].concat(ne[be]):Y[be]=ne[be];return Y},y=function(ne){for(var ce={},Y=0;Y<ne.length;Y++)ce[ne[Y].toUpperCase()]=ne[Y];return ce},H=function(ne,ce){return typeof ne===m?$e(ce).indexOf($e(ne))!==-1:!1},$e=function(ne){return ne.toLowerCase()},Oe=function(ne){return typeof ne===m?ne.replace(/[^\d\.]/g,a).split(".")[0]:r},Re=function(ne,ce){if(typeof ne===m)return ne=ne.replace(/^\s\s*/,a),typeof ce===u?ne:ne.substring(0,_)},Ue=function(ne,ce){for(var Y=0,be,nt,He,ue,Z,Ye;Y<ce.length&&!Z;){var tn=ce[Y],Ln=ce[Y+1];for(be=nt=0;be<tn.length&&!Z&&tn[be];)if(Z=tn[be++].exec(ne),Z)for(He=0;He<Ln.length;He++)Ye=Z[++nt],ue=Ln[He],typeof ue===s&&ue.length>0?ue.length===2?typeof ue[1]==o?this[ue[0]]=ue[1].call(this,Ye):this[ue[0]]=ue[1]:ue.length===3?typeof ue[1]===o&&!(ue[1].exec&&ue[1].test)?this[ue[0]]=Ye?ue[1].call(this,Ye,ue[2]):r:this[ue[0]]=Ye?Ye.replace(ue[1],ue[2]):r:ue.length===4&&(this[ue[0]]=Ye?ue[3].call(this,Ye.replace(ue[1],ue[2])):r):this[ue]=Ye||r;Y+=2}},ot=function(ne,ce){for(var Y in ce)if(typeof ce[Y]===s&&ce[Y].length>0){for(var be=0;be<ce[Y].length;be++)if(H(ce[Y][be],ne))return Y===d?r:Y}else if(H(ce[Y],ne))return Y===d?r:Y;return ne},Le={"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},St={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"},Rn={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[p,[v,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[p,[v,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[v,p],[/opios[\/ ]+([\w\.]+)/i],[p,[v,U+" Mini"]],[/\bopr\/([\w\.]+)/i],[p,[v,U]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[p,[v,"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],[v,p],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[p,[v,"UC"+N]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[p,[v,"WeChat"]],[/konqueror\/([\w\.]+)/i],[p,[v,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[p,[v,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[p,[v,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[p,[v,"Smart Lenovo "+N]],[/(avast|avg)\/([\w\.]+)/i],[[v,/(.+)/,"$1 Secure "+N],p],[/\bfocus\/([\w\.]+)/i],[p,[v,ae+" Focus"]],[/\bopt\/([\w\.]+)/i],[p,[v,U+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[p,[v,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[p,[v,"Dolphin"]],[/coast\/([\w\.]+)/i],[p,[v,U+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[p,[v,"MIUI "+N]],[/fxios\/([-\w\.]+)/i],[p,[v,ae]],[/\bqihu|(qi?ho?o?|360)browser/i],[[v,"360 "+N]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[v,/(.+)/,"$1 "+N],p],[/samsungbrowser\/([\w\.]+)/i],[p,[v,M+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[v,/_/g," "],p],[/metasr[\/ ]?([\d\.]+)/i],[p,[v,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[v,"Sogou Mobile"],p],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[v,p],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[v],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[v,K],p],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[v,p],[/\bgsa\/([\w\.]+) .*safari\//i],[p,[v,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[p,[v,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[p,[v,z+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[v,z+" WebView"],p],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[p,[v,"Android "+N]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[v,p],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[p,[v,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[p,v],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[v,[p,ot,Le]],[/(webkit|khtml)\/([\w\.]+)/i],[v,p],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[v,"Netscape"],p],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[p,[v,ae+" 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],[v,p],[/(cobalt)\/([\w\.]+)/i],[v,[p,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[g,"amd64"]],[/(ia32(?=;))/i],[[g,$e]],[/((?:i[346]|x)86)[;\)]/i],[[g,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[g,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[g,"armhf"]],[/windows (ce|mobile); ppc;/i],[[g,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[g,/ower/,a,$e]],[/(sun4\w)[;\)]/i],[[g,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[g,$e]]],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,[h,M],[c,O]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[l,[h,M],[c,C]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[l,[h,q],[c,C]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[h,q],[c,O]],[/(macintosh);/i],[l,[h,q]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[l,[h,S],[c,C]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[l,[h,se],[c,O]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[l,[h,se],[c,C]],[/\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," "],[h,R],[c,C]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[l,/_/g," "],[h,R],[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,[h,"OPPO"],[c,C]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[l,[h,"Vivo"],[c,C]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[l,[h,"Realme"],[c,C]],[/\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,[h,j],[c,C]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[l,[h,j],[c,O]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[l,[h,oe],[c,O]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[l,[h,oe],[c,C]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[l,[h,"Lenovo"],[c,O]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[l,/_/g," "],[h,"Nokia"],[c,C]],[/(pixel c)\b/i],[l,[h,G],[c,O]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[l,[h,G],[c,C]],[/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,[h,F],[c,C]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[l,"Xperia Tablet"],[h,F],[c,O]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[l,[h,"OnePlus"],[c,C]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[l,[h,I],[c,O]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[l,/(.+)/g,"Fire Phone $1"],[h,I],[c,C]],[/(playbook);[-\w\),; ]+(rim)/i],[l,h,[c,O]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[l,[h,re],[c,C]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[l,[h,te],[c,O]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[l,[h,te],[c,C]],[/(nexus 9)/i],[l,[h,"HTC"],[c,O]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[l,/_/g," "],[c,C]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[l,[h,"Acer"],[c,O]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[l,[h,"Meizu"],[c,C]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[l,[h,"Ulefone"],[c,C]],[/(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],[h,l,[c,C]],[/(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],[h,l,[c,O]],[/(surface duo)/i],[l,[h,x],[c,O]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[l,[h,"Fairphone"],[c,C]],[/(u304aa)/i],[l,[h,"AT&T"],[c,C]],[/\bsie-(\w*)/i],[l,[h,"Siemens"],[c,C]],[/\b(rct\w+) b/i],[l,[h,"RCA"],[c,O]],[/\b(venue[\d ]{2,7}) b/i],[l,[h,"Dell"],[c,O]],[/\b(q(?:mv|ta)\w+) b/i],[l,[h,"Verizon"],[c,O]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[l,[h,"Barnes & Noble"],[c,O]],[/\b(tm\d{3}\w+) b/i],[l,[h,"NuVision"],[c,O]],[/\b(k88) b/i],[l,[h,"ZTE"],[c,O]],[/\b(nx\d{3}j) b/i],[l,[h,"ZTE"],[c,C]],[/\b(gen\d{3}) b.+49h/i],[l,[h,"Swiss"],[c,C]],[/\b(zur\d{3}) b/i],[l,[h,"Swiss"],[c,O]],[/\b((zeki)?tb.*\b) b/i],[l,[h,"Zeki"],[c,O]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],l,[c,O]],[/\b(ns-?\w{0,9}) b/i],[l,[h,"Insignia"],[c,O]],[/\b((nxa|next)-?\w{0,9}) b/i],[l,[h,"NextBook"],[c,O]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],l,[c,C]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],l,[c,C]],[/\b(ph-1) /i],[l,[h,"Essential"],[c,C]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[l,[h,"Envizen"],[c,O]],[/\b(trio[-\w\. ]+) b/i],[l,[h,"MachSpeed"],[c,O]],[/\btu_(1491) b/i],[l,[h,"Rotor"],[c,O]],[/(shield[\w ]+) b/i],[l,[h,"Nvidia"],[c,O]],[/(sprint) (\w+)/i],[h,l,[c,C]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[h,x],[c,C]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[h,V],[c,O]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[h,V],[c,C]],[/smart-tv.+(samsung)/i],[h,[c,w]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[h,M],[c,w]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,oe],[c,w]],[/(apple) ?tv/i],[h,[l,q+" TV"],[c,w]],[/crkey/i],[[l,z+"cast"],[h,G],[c,w]],[/droid.+aft(\w+)( bui|\))/i],[l,[h,I],[c,w]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[l,[h,S],[c,w]],[/(bravia[\w ]+)( bui|\))/i],[l,[h,F],[c,w]],[/(mitv-\w{5}) bui/i],[l,[h,R],[c,w]],[/Hbbtv.*(technisat) (.*);/i],[h,l,[c,w]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[h,Re],[l,Re],[c,w]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[c,w]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,l,[c,E]],[/droid.+; (shield) bui/i],[l,[h,"Nvidia"],[c,E]],[/(playstation [345portablevi]+)/i],[l,[h,F],[c,E]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[l,[h,x],[c,E]],[/((pebble))app/i],[h,l,[c,P]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[l,[h,q],[c,P]],[/droid.+; (glass) \d/i],[l,[h,G],[c,P]],[/droid.+; (wt63?0{2,3})\)/i],[l,[h,V],[c,P]],[/(quest( 2| pro)?)/i],[l,[h,K],[c,P]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[c,W]],[/(aeobc)\b/i],[l,[h,I],[c,W]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[l,[c,C]],[/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,C]],[/(android[-\w\. ]{0,9});.+buil/i],[l,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[p,[v,ie+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[p,[v,"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],[v,p],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[p,v]],os:[[/microsoft (windows) (vista|xp)/i],[v,p],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[v,[p,ot,St]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[p,ot,St],[v,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[p,/_/g,"."],[v,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[v,Q],[p,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[p,v],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[v,p],[/\(bb(10);/i],[p,[v,re]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[p,[v,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[p,[v,ae+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[p,[v,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[p,[v,"watchOS"]],[/crkey\/([\d\.]+)/i],[p,[v,z+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[v,ee],p],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[v,p],[/(sunos) ?([\w\.\d]*)/i],[[v,"Solaris"],p],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[v,p]]},De=function(ne,ce){if(typeof ne===s&&(ce=ne,ne=r),!(this instanceof De))return new De(ne,ce).getResult();var Y=typeof n!==u&&n.navigator?n.navigator:r,be=ne||(Y&&Y.userAgent?Y.userAgent:a),nt=Y&&Y.userAgentData?Y.userAgentData:r,He=ce?Pe(Rn,ce):Rn,ue=Y&&Y.userAgent==be;return this.getBrowser=function(){var Z={};return Z[v]=r,Z[p]=r,Ue.call(Z,be,He.browser),Z[b]=Oe(Z[p]),ue&&Y&&Y.brave&&typeof Y.brave.isBrave==o&&(Z[v]="Brave"),Z},this.getCPU=function(){var Z={};return Z[g]=r,Ue.call(Z,be,He.cpu),Z},this.getDevice=function(){var Z={};return Z[h]=r,Z[l]=r,Z[c]=r,Ue.call(Z,be,He.device),ue&&!Z[c]&&nt&&nt.mobile&&(Z[c]=C),ue&&Z[l]=="Macintosh"&&Y&&typeof Y.standalone!==u&&Y.maxTouchPoints&&Y.maxTouchPoints>2&&(Z[l]="iPad",Z[c]=O),Z},this.getEngine=function(){var Z={};return Z[v]=r,Z[p]=r,Ue.call(Z,be,He.engine),Z},this.getOS=function(){var Z={};return Z[v]=r,Z[p]=r,Ue.call(Z,be,He.os),ue&&!Z[v]&&nt&&nt.platform!="Unknown"&&(Z[v]=nt.platform.replace(/chrome os/i,ee).replace(/macos/i,Q)),Z},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return be},this.setUA=function(Z){return be=typeof Z===m&&Z.length>_?Re(Z,_):Z,this},this.setUA(be),this};De.VERSION=i,De.BROWSER=y([v,p,b]),De.CPU=y([g]),De.DEVICE=y([l,h,c,E,C,w,O,P,W]),De.ENGINE=De.OS=y([v,p]),e.exports&&(t=e.exports=De),t.UAParser=De;var Ct=typeof n!==u&&(n.jQuery||n.Zepto);if(Ct&&!Ct.ua){var Dt=new De;Ct.ua=Dt.getResult(),Ct.ua.get=function(){return Dt.getUA()},Ct.ua.set=function(ne){Dt.setUA(ne);var ce=Dt.getResult();for(var Y in ce)Ct.ua[Y]=ce[Y]}}})(typeof window=="object"?window:o0)})(Un,Un.exports);var c0=Un.exports;Object.defineProperty(D,"__esModule",{value:!0});function f0(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var _e=f,ye=f0(_e),di=c0,$t=new di,Ae=$t.getBrowser(),p0=$t.getCPU(),Ve=$t.getDevice(),Vn=$t.getEngine(),bt=$t.getOS(),Vt=$t.getUA(),oi=function(t){return $t.setUA(t)},Gt=function(t){if(!t){console.error("No userAgent string was provided");return}var n=new di(t);return{UA:n,browser:n.getBrowser(),cpu:n.getCPU(),device:n.getDevice(),engine:n.getEngine(),os:n.getOS(),ua:n.getUA(),setUserAgent:function(i){return n.setUA(i)}}},ui=Object.freeze({ClientUAInstance:$t,browser:Ae,cpu:p0,device:Ve,engine:Vn,os:bt,ua:Vt,setUa:oi,parseUserAgent:Gt});function li(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function v0(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?li(Object(n),!0).forEach(function(r){$0(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):li(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ht(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ht=function(t){return typeof t}:Ht=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ht(e)}function h0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function si(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m0(e,t,n){return t&&si(e.prototype,t),n&&si(e,n),e}function $0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gn(){return Gn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gn.apply(this,arguments)}function b0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qn(e,t)}function Hn(e){return Hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hn(e)}function qn(e,t){return qn=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},qn(e,t)}function g0(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function qe(e,t){if(e==null)return{};var n=g0(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function rn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y0(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return rn(e)}function w0(e,t){return C0(e)||O0(e,t)||x0(e,t)||S0()}function C0(e){if(Array.isArray(e))return e}function O0(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],i=!0,a=!1,d,o;try{for(n=n.call(e);!(i=(d=n.next()).done)&&(r.push(d.value),!(t&&r.length===t));i=!0);}catch(u){a=!0,o=u}finally{try{!i&&n.return!=null&&n.return()}finally{if(a)throw o}}return r}}function x0(e,t){if(e){if(typeof e=="string")return ci(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ci(e,t)}}function ci(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function S0(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
29
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ke={Mobile:"mobile",Tablet:"tablet",SmartTv:"smarttv",Console:"console",Wearable:"wearable",Embedded:"embedded",Browser:void 0},Be={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",EdgeChromium:"Edge Chromium",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},Pt={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},P0={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},E0=function(t){switch(t){case ke.Mobile:return{isMobile:!0};case ke.Tablet:return{isTablet:!0};case ke.SmartTv:return{isSmartTV:!0};case ke.Console:return{isConsole:!0};case ke.Wearable:return{isWearable:!0};case ke.Browser:return{isBrowser:!0};case ke.Embedded:return{isEmbedded:!0};default:return P0}},N0=function(t){return oi(t)},X=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"none";return t||n},Kn=function(){return typeof window<"u"&&(window.navigator||navigator)?window.navigator||navigator:!1},Yn=function(t){var n=Kn();return n&&n.platform&&(n.platform.indexOf(t)!==-1||n.platform==="MacIntel"&&n.maxTouchPoints>1&&!window.MSStream)},T0=function(t,n,r,i,a){return{isBrowser:t,browserMajorVersion:X(n.major),browserFullVersion:X(n.version),browserName:X(n.name),engineName:X(r.name),engineVersion:X(r.version),osName:X(i.name),osVersion:X(i.version),userAgent:X(a)}},fi=function(t,n,r,i){return v0({},t,{vendor:X(n.vendor),model:X(n.model),os:X(r.name),osVersion:X(r.version),ua:X(i)})},I0=function(t,n,r,i){return{isSmartTV:t,engineName:X(n.name),engineVersion:X(n.version),osName:X(r.name),osVersion:X(r.version),userAgent:X(i)}},_0=function(t,n,r,i){return{isConsole:t,engineName:X(n.name),engineVersion:X(n.version),osName:X(r.name),osVersion:X(r.version),userAgent:X(i)}},A0=function(t,n,r,i){return{isWearable:t,engineName:X(n.name),engineVersion:X(n.version),osName:X(r.name),osVersion:X(r.version),userAgent:X(i)}},k0=function(t,n,r,i,a){return{isEmbedded:t,vendor:X(n.vendor),model:X(n.model),engineName:X(r.name),engineVersion:X(r.version),osName:X(i.name),osVersion:X(i.version),userAgent:X(a)}};function F0(e){var t=e?Gt(e):ui,n=t.device,r=t.browser,i=t.engine,a=t.os,d=t.ua,o=E0(n.type),u=o.isBrowser,s=o.isMobile,m=o.isTablet,b=o.isSmartTV,l=o.isConsole,v=o.isWearable,c=o.isEmbedded;if(u)return T0(u,r,i,a,d);if(b)return I0(b,i,a,d);if(l)return _0(l,i,a,d);if(s||m)return fi(o,n,a,d);if(v)return A0(v,i,a,d);if(c)return k0(c,n,i,a,d)}var pi=function(t){var n=t.type;return n===ke.Mobile},vi=function(t){var n=t.type;return n===ke.Tablet},hi=function(t){var n=t.type;return n===ke.Mobile||n===ke.Tablet},mi=function(t){var n=t.type;return n===ke.SmartTv},an=function(t){var n=t.type;return n===ke.Browser},$i=function(t){var n=t.type;return n===ke.Wearable},bi=function(t){var n=t.type;return n===ke.Console},gi=function(t){var n=t.type;return n===ke.Embedded},yi=function(t){var n=t.vendor;return X(n)},wi=function(t){var n=t.model;return X(n)},Ci=function(t){var n=t.type;return X(n,"browser")},Oi=function(t){var n=t.name;return n===Pt.Android},xi=function(t){var n=t.name;return n===Pt.Windows},Si=function(t){var n=t.name;return n===Pt.MAC_OS},Pi=function(t){var n=t.name;return n===Pt.WindowsPhone},Ei=function(t){var n=t.name;return n===Pt.IOS},Ni=function(t){var n=t.version;return X(n)},Ti=function(t){var n=t.name;return X(n)},Ii=function(t){var n=t.name;return n===Be.Chrome},_i=function(t){var n=t.name;return n===Be.Firefox},Ai=function(t){var n=t.name;return n===Be.Chromium},dn=function(t){var n=t.name;return n===Be.Edge},ki=function(t){var n=t.name;return n===Be.Yandex},Fi=function(t){var n=t.name;return n===Be.Safari||n===Be.MobileSafari},ji=function(t){var n=t.name;return n===Be.MobileSafari},Ri=function(t){var n=t.name;return n===Be.Opera},Li=function(t){var n=t.name;return n===Be.InternetExplorer||n===Be.Ie},Di=function(t){var n=t.name;return n===Be.MIUI},Mi=function(t){var n=t.name;return n===Be.SamsungBrowser},Bi=function(t){var n=t.version;return X(n)},Wi=function(t){var n=t.major;return X(n)},Ui=function(t){var n=t.name;return X(n)},Vi=function(t){var n=t.name;return X(n)},Gi=function(t){var n=t.version;return X(n)},Hi=function(){var t=Kn(),n=t&&t.userAgent&&t.userAgent.toLowerCase();return typeof n=="string"?/electron/.test(n):!1},Et=function(t){return typeof t=="string"&&t.indexOf("Edg/")!==-1},qi=function(){var t=Kn();return t&&(/iPad|iPhone|iPod/.test(t.platform)||t.platform==="MacIntel"&&t.maxTouchPoints>1)&&!window.MSStream},it=function(){return Yn("iPad")},Ki=function(){return Yn("iPhone")},Yi=function(){return Yn("iPod")},zi=function(t){return X(t)};function Zi(e){var t=e||ui,n=t.device,r=t.browser,i=t.os,a=t.engine,d=t.ua;return{isSmartTV:mi(n),isConsole:bi(n),isWearable:$i(n),isEmbedded:gi(n),isMobileSafari:ji(r)||it(),isChromium:Ai(r),isMobile:hi(n)||it(),isMobileOnly:pi(n),isTablet:vi(n)||it(),isBrowser:an(n),isDesktop:an(n),isAndroid:Oi(i),isWinPhone:Pi(i),isIOS:Ei(i)||it(),isChrome:Ii(r),isFirefox:_i(r),isSafari:Fi(r),isOpera:Ri(r),isIE:Li(r),osVersion:Ni(i),osName:Ti(i),fullBrowserVersion:Bi(r),browserVersion:Wi(r),browserName:Ui(r),mobileVendor:yi(n),mobileModel:wi(n),engineName:Vi(a),engineVersion:Gi(a),getUA:zi(d),isEdge:dn(r)||Et(d),isYandex:ki(r),deviceType:Ci(n),isIOS13:qi(),isIPad13:it(),isIPhone13:Ki(),isIPod13:Yi(),isElectron:Hi(),isEdgeChromium:Et(d),isLegacyEdge:dn(r)&&!Et(d),isWindows:xi(i),isMacOs:Si(i),isMIUI:Di(r),isSamsungBrowser:Mi(r)}}var Xi=mi(Ve),Ji=bi(Ve),Qi=$i(Ve),j0=gi(Ve),R0=ji(Ae)||it(),L0=Ai(Ae),on=hi(Ve)||it(),ea=pi(Ve),ta=vi(Ve)||it(),na=an(Ve),D0=an(Ve),ra=Oi(bt),ia=Pi(bt),aa=Ei(bt)||it(),M0=Ii(Ae),B0=_i(Ae),W0=Fi(Ae),U0=Ri(Ae),da=Li(Ae),V0=Ni(bt),G0=Ti(bt),H0=Bi(Ae),q0=Wi(Ae),K0=Ui(Ae),Y0=yi(Ve),z0=wi(Ve),Z0=Vi(Vn),X0=Gi(Vn),J0=zi(Vt),Q0=dn(Ae)||Et(Vt),eu=ki(Ae),tu=Ci(Ve),nu=qi(),ru=it(),iu=Ki(),au=Yi(),du=Hi(),ou=Et(Vt),uu=dn(Ae)&&!Et(Vt),lu=xi(bt),su=Si(bt),cu=Di(Ae),fu=Mi(Ae),pu=function(t){if(!t||typeof t!="string"){console.error("No valid user agent string was provided");return}var n=Gt(t),r=n.device,i=n.browser,a=n.os,d=n.engine,o=n.ua;return Zi({device:r,browser:i,os:a,engine:d,ua:o})},vu=function(t){var n=t.renderWithFragment,r=t.children,i=qe(t,["renderWithFragment","children"]);return ra?n?ye.createElement(_e.Fragment,null,r):ye.createElement("div",i,r):null},hu=function(t){var n=t.renderWithFragment,r=t.children,i=qe(t,["renderWithFragment","children"]);return na?n?ye.createElement(_e.Fragment,null,r):ye.createElement("div",i,r):null},mu=function(t){var n=t.renderWithFragment,r=t.children,i=qe(t,["renderWithFragment","children"]);return da?n?ye.createElement(_e.Fragment,null,r):ye.createElement("div",i,r):null},$u=function(t){var n=t.renderWithFragment,r=t.children,i=qe(t,["renderWithFragment","children"]);return aa?n?ye.createElement(_e.Fragment,null,r):ye.createElement("div",i,r):null},bu=function(t){var n=t.renderWithFragment,r=t.children,i=qe(t,["renderWithFragment","children"]);return on?n?ye.createElement(_e.Fragment,null,r):ye.createElement("div",i,r):null},gu=function(t){var n=t.renderWithFragment,r=t.children,i=qe(t,["renderWithFragment","children"]);return ta?n?ye.createElement(_e.Fragment,null,r):ye.createElement("div",i,r):null},yu=function(t){var n=t.renderWithFragment,r=t.children,i=qe(t,["renderWithFragment","children"]);return ia?n?ye.createElement(_e.Fragment,null,r):ye.createElement("div",i,r):null},wu=function(t){var n=t.renderWithFragment,r=t.children;t.viewClassName,t.style;var i=qe(t,["renderWithFragment","children","viewClassName","style"]);return ea?n?ye.createElement(_e.Fragment,null,r):ye.createElement("div",i,r):null},Cu=function(t){var n=t.renderWithFragment,r=t.children,i=qe(t,["renderWithFragment","children"]);return Xi?n?ye.createElement(_e.Fragment,null,r):ye.createElement("div",i,r):null},Ou=function(t){var n=t.renderWithFragment,r=t.children,i=qe(t,["renderWithFragment","children"]);return Ji?n?ye.createElement(_e.Fragment,null,r):ye.createElement("div",i,r):null},xu=function(t){var n=t.renderWithFragment,r=t.children,i=qe(t,["renderWithFragment","children"]);return Qi?n?ye.createElement(_e.Fragment,null,r):ye.createElement("div",i,r):null},Su=function(t){var n=t.renderWithFragment,r=t.children;t.viewClassName,t.style;var i=t.condition,a=qe(t,["renderWithFragment","children","viewClassName","style","condition"]);return i?n?ye.createElement(_e.Fragment,null,r):ye.createElement("div",a,r):null};function Pu(e){return function(t){b0(n,t);function n(r){var i;return h0(this,n),i=y0(this,Hn(n).call(this,r)),i.isEventListenerAdded=!1,i.handleOrientationChange=i.handleOrientationChange.bind(rn(i)),i.onOrientationChange=i.onOrientationChange.bind(rn(i)),i.onPageLoad=i.onPageLoad.bind(rn(i)),i.state={isLandscape:!1,isPortrait:!1},i}return m0(n,[{key:"handleOrientationChange",value:function(){this.isEventListenerAdded||(this.isEventListenerAdded=!0);var i=window.innerWidth>window.innerHeight?90:0;this.setState({isPortrait:i===0,isLandscape:i===90})}},{key:"onOrientationChange",value:function(){this.handleOrientationChange()}},{key:"onPageLoad",value:function(){this.handleOrientationChange()}},{key:"componentDidMount",value:function(){(typeof window>"u"?"undefined":Ht(window))!==void 0&&on&&(this.isEventListenerAdded?window.removeEventListener("load",this.onPageLoad,!1):(this.handleOrientationChange(),window.addEventListener("load",this.onPageLoad,!1)),window.addEventListener("resize",this.onOrientationChange,!1))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.onOrientationChange,!1)}},{key:"render",value:function(){return ye.createElement(e,Gn({},this.props,{isLandscape:this.state.isLandscape,isPortrait:this.state.isPortrait}))}}]),n}(ye.Component)}function Eu(){var e=_e.useState(function(){var a=window.innerWidth>window.innerHeight?90:0;return{isPortrait:a===0,isLandscape:a===90,orientation:a===0?"portrait":"landscape"}}),t=w0(e,2),n=t[0],r=t[1],i=_e.useCallback(function(){var a=window.innerWidth>window.innerHeight?90:0,d={isPortrait:a===0,isLandscape:a===90,orientation:a===0?"portrait":"landscape"};n.orientation!==d.orientation&&r(d)},[n.orientation]);return _e.useEffect(function(){return(typeof window>"u"?"undefined":Ht(window))!==void 0&&on&&(i(),window.addEventListener("load",i,!1),window.addEventListener("resize",i,!1)),function(){window.removeEventListener("resize",i,!1),window.removeEventListener("load",i,!1)}},[i]),n}function oa(e){var t=e||window.navigator.userAgent;return Gt(t)}function Nu(e){var t=e||window.navigator.userAgent,n=oa(t),r=Zi(n);return[r,n]}D.AndroidView=vu,D.BrowserTypes=Be,D.BrowserView=hu,D.ConsoleView=Ou,D.CustomView=Su,D.IEView=mu,D.IOSView=$u,D.MobileOnlyView=wu,D.MobileView=bu,D.OsTypes=Pt,D.SmartTVView=Cu,D.TabletView=gu,D.WearableView=xu,D.WinPhoneView=yu,D.browserName=K0,D.browserVersion=q0,D.deviceDetect=F0,D.deviceType=tu,D.engineName=Z0,D.engineVersion=X0,D.fullBrowserVersion=H0,D.getSelectorsByUserAgent=pu,D.getUA=J0,D.isAndroid=ra,D.isBrowser=na,D.isChrome=M0,D.isChromium=L0,D.isConsole=Ji,D.isDesktop=D0,D.isEdge=Q0,D.isEdgeChromium=ou,D.isElectron=du,D.isEmbedded=j0,D.isFirefox=B0,D.isIE=da,D.isIOS=aa,D.isIOS13=nu,D.isIPad13=ru,D.isIPhone13=iu,D.isIPod13=au,D.isLegacyEdge=uu,D.isMIUI=cu,D.isMacOs=su;var Tu=D.isMobile=on;D.isMobileOnly=ea,D.isMobileSafari=R0,D.isOpera=U0,D.isSafari=W0,D.isSamsungBrowser=fu,D.isSmartTV=Xi,D.isTablet=ta,D.isWearable=Qi,D.isWinPhone=ia,D.isWindows=lu,D.isYandex=eu,D.mobileModel=z0,D.mobileVendor=Y0,D.osName=G0,D.osVersion=V0,D.parseUserAgent=Gt,D.setUserAgent=N0,D.useDeviceData=oa,D.useDeviceSelectors=Nu,D.useMobileOrientation=Eu,D.withOrientationChange=Pu;const Iu=f.memo(f.forwardRef(({themeColor:e="",onSubmit:t,style:n={},className:r="",onInput:i,onFocus:a,onBlur:d,...o},u)=>{const[s,m]=f.useState(!0),[b,l]=f.useState(!1);e=Ze.convert3HexTo6(e),f.useEffect(()=>{m(Tu)},[]);const v=C=>{!s&&C.key==="Enter"&&!C.shiftKey&&t&&(C.preventDefault(),t())},c=C=>{i?.(C),C.target.style.height="40px",C.target.style.height=2+C.target.scrollHeight+"px"};let h={};const p=[ai.textInput,r].filter(Boolean).join(" "),g=()=>{l(!0)},E=()=>{l(!1)};return h={borderBottomColor:b?e!=="#ffffff"?e:"#c8c8c8":""},T.jsx("div",{className:ai.textInputWrapper,children:T.jsx("textarea",{"data-testid":"textbox-input",ref:u,className:p,style:{...h,...n},onFocus:g,onBlur:E,onInput:C=>c(C),onKeyDown:v,...o})})})),Te={multiSelectContainer:"_multiSelectContainer_lh9wi_1",listOptionsWrap:"_listOptionsWrap_lh9wi_4",selectedValuesWrap:"_selectedValuesWrap_lh9wi_7",selectedValues:"_selectedValues_lh9wi_7",focused:"_focused_lh9wi_13",placeholder:"_placeholder_lh9wi_16",dropDownIcon:"_dropDownIcon_lh9wi_19",optionsListContainer:"_optionsListContainer_lh9wi_23",top:"_top_lh9wi_26",optionsListWrap:"_optionsListWrap_lh9wi_29",searchInputWrap:"_searchInputWrap_lh9wi_32",searchInput:"_searchInput_lh9wi_32",optionsList:"_optionsList_lh9wi_23",btnContainer:"_btnContainer_lh9wi_54",hiddenButton:"_hiddenButton_lh9wi_57",announcement:"_announcement_lh9wi_70"},qt={pseudoCheckbox:"_pseudoCheckbox_z8j4c_1",checkboxCheckMark:"_checkboxCheckMark_z8j4c_4",checkboxCheckMarkPath:"_checkboxCheckMarkPath_z8j4c_7",checked:"_checked_z8j4c_12",checkboxUncheckedChecked:"_checkboxUncheckedChecked_z8j4c_1",checkboxDisabled:"_checkboxDisabled_z8j4c_22"},ua=({checked:e=!1,themeColor:t="",disabled:n=!1})=>{let r={},i="#006bb1",a=n?"#9b9b9b":"#ffffff";const d=n?qt.checkboxDisabled:"",o=e?qt.checked:"",u=[qt.pseudoCheckbox,o,d].filter(Boolean).join(" ");let s;if(t){const m=mt(t);t=Ze.convert3HexTo6(t),m==="dark"||m==="light"?(n?a=e?"#9b9b9b":"#f9f9f9":a=m=="light"?"#333333":"#ffffff",i=n?"#f9f9f9":e?t:"#ffffff",s=n?"#e4e4e4":t==="#ffffff"?"#333333":t,e&&(r={backgroundColor:i,borderColor:s,outlineColor:s})):a="#9b9b9b"}return T.jsx("div",{style:r,className:u,role:"checkbox","aria-checked":e,"aria-hidden":"true",tabIndex:-1,"data-testid":"checkbox-input",children:T.jsx("svg",{version:"1.1",focusable:"false",className:qt.checkboxCheckMark,viewBox:"0 0 24 24",children:T.jsx("path",{className:qt.checkboxCheckMarkPath,fill:"none",stroke:a,d:"M4.1,12.7 9,17.6 20.3,6.3"})})})};ua.displayName="Checkbox";const _u=({options:e,checkedValue:t,onSelectionChange:n,maxOptions:r,themeColor:i,className:a="",style:d={}})=>{const o=f.useRef(e),[u,s]=f.useState(t),[m,b]=f.useState(""),[l,v]=f.useState(!1),[c,h]=f.useState(!1),p=f.useRef(null),g=f.useRef(null),E=f.useRef(null),C=f.useRef(null),O=f.useRef(null),w=f.useRef(null),[P,W]=f.useState(-1),_=f.useRef(0),I=f.useRef(0),[q,te]=f.useState(!1);let re={};const[N,z]=f.useState({left:0,top:0}),[ie,ae]=f.useState(null),G=f.useRef(!1),se=f.useRef(null),oe=()=>{setTimeout(()=>{(p.current?.children[0]).focus()},0)};f.useEffect(()=>{const y=H=>{g.current&&!g.current.contains(H.target)&&(v(!1),b(""),oe())};return document.addEventListener("mousedown",y),()=>{document.removeEventListener("mousedown",y)}},[]);const x=()=>{_.current=window.innerHeight,I.current=document.body.scrollHeight,te(!0)};f.useEffect(()=>(x(),window.addEventListener("resize",x),()=>{window.addEventListener("resize",x)}),[]);const j=y=>{const H=document.getElementById("announcement");H&&(H.textContent=y,H.setAttribute("aria-live","assertive"),setTimeout(()=>{H.textContent="",H.setAttribute("aria-live","off")},1e3))};f.useEffect(()=>{const y=e.filter(H=>H.label.toLowerCase().includes(m.toLowerCase()));o.current=y},[e,m]);const U=u.length>0?u.map(y=>{const H=e.find($e=>$e.value===y);return H?.label!==null?H?.label:""}).filter(y=>y!=="").join(", "):"Select your option",M=y=>{const H=e.find($e=>$e.value===y);if(H&&!H.disable&&(r===void 0||u.length<=r)){const Oe=u.includes(y)?u.filter(Ue=>Ue!==y):[...u,y];(r===void 0||Oe.length<=r)&&l&&(s(Oe),n(Oe),j(`${H?.label} ${Oe.includes(y)?"selected":"not selected"}`))}},S=y=>{R(),v(y),setTimeout(()=>{E.current?E.current?.focus():C.current?.focus(),j("use up and down arrow keys to navigate")},0)},F=()=>I.current-(_.current+window.scrollY),R=()=>{if(p.current){const y=p.current.getBoundingClientRect();setTimeout(()=>{const H=g?.current?.getBoundingClientRect(),$e=F(),Oe=_.current-y.bottom;let Re;if(H){const Ue=y.height,ot=y.top,Le=H.height,St=Le>ot+window.scrollY;ot<Le&&(St||St&&Oe<Le||$e>Le||Oe>Le)||ot>Le&&Oe>Le?Re=y.y+Ue:Re=y.y-Le,z({left:y.left,top:Re??y.top})}},0)}};f.useEffect(()=>(window.addEventListener("scroll",R),window.addEventListener("resize",R),()=>{window.removeEventListener("scroll",R),window.removeEventListener("resize",R)}),[l]);const V=y=>{y.preventDefault(),y.key==="Shift"?G.current=!0:y.shiftKey&&G.current&&y.key==="Tab"||y.key==="Tab"?(setTimeout(()=>{E.current?E.current?.focus():C.current?.focus()},0),G.current=!1):y.key==="Escape"||y.key==="Enter"||y.key==="Space"||y.key===" "?(S(!1),oe()):G.current=!1},K=y=>{const{key:H}=y;if(H==="Tab"||y.shiftKey&&H==="Tab")setTimeout(()=>{O.current?.focus()},0);else if(H==="ArrowDown"||H==="ArrowUp"){y.preventDefault(),setTimeout(()=>{C.current?.focus()},0);let $e=P;if(H==="ArrowDown"?$e=Math.min(P+1,o.current.length-1):H==="ArrowUp"&&($e=Math.max(P-1,0)),P===0&&y.key==="ArrowUp"?$e=o.current.length-1:P===o.current.length-1&&y.key==="ArrowDown"&&($e=0),W($e),w.current&&$e>=0){const Oe=w.current.querySelectorAll(`.${Te.optionsList}`)[$e],Re=Oe.children[0].getAttribute("aria-checked"),Ue=`${Oe.textContent} ${Re==="true"?"selected":"not selected"} ${$e+1} out of ${o.current.length}`;j(Ue),Oe&&Oe.scrollIntoView({block:"nearest",inline:"nearest"})}}else H==="Enter"||H==="Space"||H===" "?P!==-1&&M(o.current[P].value):H==="Escape"&&(S(!1),oe())};f.useEffect(()=>{ie&&clearTimeout(ie);const y=setTimeout(()=>{const H=o.current.length?`${o.current.length} results are available, use up and down arrow keys to navigate`:"No results available";l&&j(H)},500);ae(y)},[m]);const ee=()=>{h(!0)},Q=()=>{h(!1)};if(f.useEffect(()=>{const y=se.current;return y&&(y.addEventListener("focus",ee),y.addEventListener("blur",Q)),()=>{y&&(y.removeEventListener("focus",ee),y.removeEventListener("blur",Q))}},[ee,Q]),i){const y=mt(i);i=Ze.convert3HexTo6(i),(y==="dark"||y==="light")&&(re={borderBottomColor:i==="#ffffff"?"#c8c8c8":c||l?i:"#333333"})}const Pe=()=>{v(!1)};return T.jsx("div",{className:Te.multiSelectContainer,children:T.jsxs("div",{className:Te.listOptionsWrap,children:[T.jsxs("div",{className:`${a} ${Te.selectedValuesWrap}`,ref:p,children:[T.jsx("div",{className:`${Te.selectedValues} ${l?Te.focused:""} ${u.length===0?Te.placeholder:""}`,ref:se,onFocus:ee,onBlur:Q,onClick:()=>S(!l),onKeyPress:y=>{(y.key===" "||y.code==="Space"||y.code==="Enter")&&(y.preventDefault(),S(!l))},tabIndex:0,"data-testid":"selected-input",style:{...re,...d},"aria-expanded":l,"aria-haspopup":"listbox","aria-multiselectable":"true","aria-autocomplete":"list",role:"combobox",children:U}),T.jsx("span",{className:Te.dropDownIcon,onClick:()=>S(!l),"data-testid":"arrow-button",children:T.jsx("svg",{width:"12px",height:"7px",viewBox:"0 0 12 7",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:T.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:T.jsx("g",{transform:"translate(-2360.000000, -295.000000)",fill:"#666666",children:T.jsx("g",{transform:"translate(2006.000000, 248.000000)",children:T.jsx("path",{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",transform:"translate(360.343146, 48.343146) scale(-1, -1) rotate(-225.000000) translate(-360.343146, -48.343146)"})})})})})})]}),T.jsx("div",{id:"announcement","aria-live":"assertive",role:"alert",className:Te.announcement}),q?Dn.createPortal(T.jsx(T.Fragment,{children:l&&p&&T.jsx("div",{onClick:Pe,style:{position:"fixed",inset:0,backgroundColor:"rgba(255,255,255,0)",zIndex:1e3},children:T.jsxs("div",{className:`${Te.optionsListContainer}`,ref:g,onClick:y=>y.stopPropagation(),style:{opacity:N.left?1:0,width:p.current?p.current.clientWidth:"auto",left:N.left,top:N.top},children:[T.jsxs("div",{className:Te.optionsListWrap,children:[e.length>=6&&T.jsx("div",{className:Te.searchInputWrap,children:T.jsx("input",{type:"text",ref:E,placeholder:"Type to filter",className:Te.searchInput,value:m,onChange:y=>b(y.target.value),"data-testid":"search-input",onKeyDown:y=>{K(y)}})}),T.jsx("ul",{ref:w,role:"listbox",children:o.current.map((y,H)=>T.jsxs("li",{className:`${Te.optionsList} ${H===P?Te.focused:""}`,onClick:()=>M(y.value),"aria-selected":H===P,role:"option",children:[T.jsx(ua,{themeColor:i,checked:u.includes(y.value),disabled:y.disable||r!==void 0&&u.length>=r&&!u.includes(y.value)}),T.jsx("span",{children:y.label})]},y.value))})]}),T.jsxs("div",{className:Te.btnContainer,children:[T.jsx("input",{ref:C,onKeyDown:y=>{K(y)},className:Te.hiddenButton}),T.jsx(Bn,{themeColor:i,variant:"primary",size:"medium",onClick:()=>{v(!1),b(""),oe(),n(u)},"data-testid":"done-button",onKeyDown:y=>{V(y)},ref:O,children:"Done"})]})]})})}),document.body):null]})})},un={multiSelectContainer:"_multiSelectContainer_1rhxq_1",quickOptionsWrap:"_quickOptionsWrap_1rhxq_4",selected:"_selected_1rhxq_11",disabled:"_disabled_1rhxq_17"},Au=({options:e,checkedValue:t,onSelectionChange:n,maxOptions:r,themeColor:i,className:a="",style:d={},id:o=""})=>{const[u,s]=f.useState(t),m=f.useRef({});let b={},l;const v=c=>{const h=e.find(O=>O.value===c);if(!h||h.disable)return;m.current[c]?.click();const E=u.includes(c)?u.filter(O=>O!==c):[...u,c];(r===void 0||E.length<=r)&&(s(E),n(E))};if(i){l=mt(i),i=Ze.convert3HexTo6(i);const c=i==="#ffffff"?"#333333":i;(l==="dark"||l==="light")&&(b={outlineColor:c,borderColor:c,color:i==="#ffffff"||l==="light"?"#333333":i})}return T.jsx("div",{className:un.multiSelectContainer,role:"group",children:T.jsx("ul",{className:un.quickOptionsWrap,id:o,children:e.map(c=>T.jsx("li",{style:{...b,...d},className:`${a} ${c.disable||r!==void 0&&u.length>=r&&!u.includes(c.value)?un.disabled:""} ${u.includes(c.value)?un.selected:""}`,tabIndex:c.disable?-1:0,onClick:()=>v(c.value),onKeyPress:h=>{(h.key===" "||h.code==="Space")&&(h.preventDefault(),v(c.value))},"data-testid":"option-box",children:T.jsx(Wn,{id:c.value,checkboxSize:"large",tabIndex:-1,themeColor:i,ref:h=>{m.current[c.value]=h},checked:u.includes(c.value),disabled:c.disable||r!==void 0&&u.length>=r&&!u.includes(c.value),children:T.jsx("span",{style:{color:i&&(i==="#ffffff"||l==="light")||c.disable||r!==void 0&&u.length>=r&&!u.includes(c.value)?"#333333":i&&(i!=="#ffffff"||l!=="light")?i:"#006bb1"},children:c.label})})},c.value))})})},at={singleSelectWrapper:"_singleSelectWrapper_1x2o4_1",quickOption:"_quickOption_1x2o4_4",selected:"_selected_1x2o4_10",triangle:"_triangle_1x2o4_16",loader:"_loader_1x2o4_19","tw-spin":"_tw-spin_1x2o4_1",checkmarkWrap:"_checkmarkWrap_1x2o4_22",checkmark:"_checkmark_1x2o4_22",fill:"_fill_1x2o4_1",scale:"_scale_1x2o4_1",checkmarkCheck:"_checkmarkCheck_1x2o4_29",stroke:"_stroke_1x2o4_1",disabled:"_disabled_1x2o4_34"},ku=({options:e,onSelect:t,selected:n,themeColor:r,className:i="",style:a={},showLoader:d=!1,id:o=""})=>{const[u,s]=f.useState(n);let m={},b={},l="#ffffff";const v=c=>{if(u?.value===c?.value){s(void 0),t(void 0);return}t(c),s(c)};if(r){const c=mt(r);r=Ze.convert3HexTo6(r);const h=r==="#ffffff"?"#333333":r;(c==="dark"||c==="light")&&(l=r==="#ffffff"||c==="dark"?"#ffffff":"#333333",m={outlineColor:h,borderColor:h,color:r==="#ffffff"||c==="light"?"#333333":r},b={borderRightColor:h,borderTopColor:h})}return T.jsx("div",{className:at.singleSelectWrapper,children:T.jsx("div",{className:at.quickOption,children:T.jsx("ul",{className:at.quickOption,role:"radiogroup",id:o,children:e.map(c=>T.jsxs("li",{tabIndex:c.disable?-1:0,className:`${i} ${u?.value===c.value?at.selected:""} ${c.disable?at.disabled:""}`,style:{...m,...a},onClick:()=>v(c),onKeyPress:h=>{(h.key===" "||h.code==="Space")&&(h.preventDefault(),v(c))},"data-testid":"checkbox-input",role:"radio","aria-checked":u?.value===c.value,children:[c.label,u?.value===c.value&&!c.disable&&T.jsxs("div",{className:at.triangle,style:{...b},children:[d&&T.jsx("div",{className:at.loader,style:{borderRightColor:r??"#006bb1"}}),!d&&T.jsx("div",{className:at.checkmarkWrap,children:T.jsx("svg",{className:at.checkmark,xmlns:"http://www.w3.org/2000/svg",width:"11",height:"9",viewBox:"0 0 11 9",fill:"none",children:T.jsx("path",{className:at.checkmarkCheck,stroke:l,d:"M2.1 4.34286L4.12857 6.40001L8.9 1.60001",strokeWidth:"2"})})})]})]},c.value))})})})},Fu={scrollbarContainer:"_scrollbarContainer_40vsr_1"},la=f.forwardRef(({children:e,className:t="",style:n={},...r},i)=>{const a=[Fu.scrollbarContainer,t].filter(Boolean).join(" ");return T.jsx(T.Fragment,{children:T.jsx("div",{ref:i,style:{...n},className:a,...r,children:e})})});la.displayName="Scrollbar";var ju=Object.defineProperty,Ru=(e,t,n)=>t in e?ju(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,zn=(e,t,n)=>(Ru(e,typeof t!="symbol"?t+"":t,n),n);let Lu=class{constructor(){zn(this,"current",this.detect()),zn(this,"handoffState","pending"),zn(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},Ot=new Lu,xe=(e,t)=>{Ot.isServer?f.useEffect(e,t):f.useLayoutEffect(e,t)};function Xe(e){let t=f.useRef(e);return xe(()=>{t.current=e},[e]),t}function Kt(e,t){let[n,r]=f.useState(e),i=Xe(e);return xe(()=>r(i.current),[i,r,...t]),n}function Du(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function dt(){let e=[],t={addEventListener(n,r,i,a){return n.addEventListener(r,i,a),t.add(()=>n.removeEventListener(r,i,a))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(...n){let r=setTimeout(...n);return t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return Du(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,i){let a=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:i}),this.add(()=>{Object.assign(n.style,{[r]:a})})},group(n){let r=dt();return n(r),this.add(()=>r.dispose())},add(n){return e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let i of e.splice(r,1))i()}},dispose(){for(let n of e.splice(0))n()}};return t}function lt(){let[e]=f.useState(dt);return f.useEffect(()=>()=>e.dispose(),[e]),e}let B=function(e){let t=Xe(e);return f.useCallback((...n)=>t.current(...n),[t])};function Mu(){let e=typeof document>"u";return"useSyncExternalStore"in ut?(t=>t.useSyncExternalStore)(ut)(()=>()=>{},()=>!1,()=>!e):!1}function Zn(){let e=Mu(),[t,n]=ut.useState(Ot.isHandoffComplete);return t&&Ot.isHandoffComplete===!1&&n(!1),ut.useEffect(()=>{t!==!0&&n(!0)},[t]),ut.useEffect(()=>Ot.handoff(),[]),e?!1:t}var sa;let st=(sa=f.useId)!=null?sa:function(){let e=Zn(),[t,n]=f.useState(e?()=>Ot.nextId():null);return xe(()=>{t===null&&n(Ot.nextId())},[t]),t!=null?""+t:void 0};function Ce(e,t,...n){if(e in t){let i=t[e];return typeof i=="function"?i(...n):i}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(i=>`"${i}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Ce),r}function ln(e){return Ot.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let ca=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var Bu=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(Bu||{}),Wu=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Wu||{}),Uu=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Uu||{}),Xn=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Xn||{});function fa(e,t=0){var n;return e===((n=ln(e))==null?void 0:n.body)?!1:Ce(t,{0(){return e.matches(ca)},1(){let r=e;for(;r!==null;){if(r.matches(ca))return!0;r=r.parentElement}return!1}})}var Vu=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Vu||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function pa(e,t=n=>n){return e.slice().sort((n,r)=>{let i=t(n),a=t(r);if(i===null||a===null)return 0;let d=i.compareDocumentPosition(a);return d&Node.DOCUMENT_POSITION_FOLLOWING?-1:d&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function sn(e,t,n){let r=Xe(t);f.useEffect(()=>{function i(a){r.current(a)}return document.addEventListener(e,i,n),()=>document.removeEventListener(e,i,n)},[e,n])}function Gu(e,t,n){let r=Xe(t);f.useEffect(()=>{function i(a){r.current(a)}return window.addEventListener(e,i,n),()=>window.removeEventListener(e,i,n)},[e,n])}function va(e,t,n=!0){let r=f.useRef(!1);f.useEffect(()=>{requestAnimationFrame(()=>{r.current=n})},[n]);function i(d,o){if(!r.current||d.defaultPrevented)return;let u=o(d);if(u===null||!u.getRootNode().contains(u)||!u.isConnected)return;let s=function m(b){return typeof b=="function"?m(b()):Array.isArray(b)||b instanceof Set?b:[b]}(e);for(let m of s){if(m===null)continue;let b=m instanceof HTMLElement?m:m.current;if(b!=null&&b.contains(u)||d.composed&&d.composedPath().includes(b))return}return!fa(u,Xn.Loose)&&u.tabIndex!==-1&&d.preventDefault(),t(d,u)}let a=f.useRef(null);sn("pointerdown",d=>{var o,u;r.current&&(a.current=((u=(o=d.composedPath)==null?void 0:o.call(d))==null?void 0:u[0])||d.target)},!0),sn("mousedown",d=>{var o,u;r.current&&(a.current=((u=(o=d.composedPath)==null?void 0:o.call(d))==null?void 0:u[0])||d.target)},!0),sn("click",d=>{a.current&&(i(d,()=>a.current),a.current=null)},!0),sn("touchend",d=>i(d,()=>d.target instanceof HTMLElement?d.target:null),!0),Gu("blur",d=>i(d,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function ha(e){var t;if(e.type)return e.type;let n=(t=e.as)!=null?t:"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function ma(e,t){let[n,r]=f.useState(()=>ha(e));return xe(()=>{r(ha(e))},[e.type,e.as]),xe(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&r("button")},[n,t]),n}let Hu=Symbol();function Ke(...e){let t=f.useRef(e);f.useEffect(()=>{t.current=e},[e]);let n=B(r=>{for(let i of t.current)i!=null&&(typeof i=="function"?i(r):i.current=r)});return e.every(r=>r==null||r?.[Hu])?void 0:n}function qu({container:e,accept:t,walk:n,enabled:r=!0}){let i=f.useRef(t),a=f.useRef(n);f.useEffect(()=>{i.current=t,a.current=n},[t,n]),xe(()=>{if(!e||!r)return;let d=ln(e);if(!d)return;let o=i.current,u=a.current,s=Object.assign(b=>o(b),{acceptNode:o}),m=d.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,s,!1);for(;m.nextNode();)u(m.currentNode)},[e,r,i,a])}function Ku(e){throw new Error("Unexpected object: "+e)}var pe=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(pe||{});function $a(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),i=r??-1,a=(()=>{switch(e.focus){case 0:return n.findIndex(d=>!t.resolveDisabled(d));case 1:{let d=n.slice().reverse().findIndex((o,u,s)=>i!==-1&&s.length-u-1>=i?!1:!t.resolveDisabled(o));return d===-1?d:n.length-1-d}case 2:return n.findIndex((d,o)=>o<=i?!1:!t.resolveDisabled(d));case 3:{let d=n.slice().reverse().findIndex(o=>!t.resolveDisabled(o));return d===-1?d:n.length-1-d}case 4:return n.findIndex(d=>t.resolveId(d)===e.id);case 5:return null;default:Ku(e)}})();return a===-1?r:a}function cn(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}var Nt=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Nt||{}),gt=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(gt||{});function We({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:a=!0,name:d}){let o=ba(t,e);if(a)return fn(o,n,r,d);let u=i??0;if(u&2){let{static:s=!1,...m}=o;if(s)return fn(m,n,r,d)}if(u&1){let{unmount:s=!0,...m}=o;return Ce(s?0:1,{0(){return null},1(){return fn({...m,hidden:!0,style:{display:"none"}},n,r,d)}})}return fn(o,n,r,d)}function fn(e,t={},n,r){let{as:i=n,children:a,refName:d="ref",...o}=Jn(e,["unmount","static"]),u=e.ref!==void 0?{[d]:e.ref}:{},s=typeof a=="function"?a(t):a;"className"in o&&o.className&&typeof o.className=="function"&&(o.className=o.className(t));let m={};if(t){let b=!1,l=[];for(let[v,c]of Object.entries(t))typeof c=="boolean"&&(b=!0),c===!0&&l.push(v);b&&(m["data-headlessui-state"]=l.join(" "))}if(i===f.Fragment&&Object.keys(pn(o)).length>0){if(!f.isValidElement(s)||Array.isArray(s)&&s.length>1)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(`
|
|
30
|
-
`),"","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(`
|
|
32
|
+
Check the top-level render call using <`+g+">."),H}var w=c,x=Symbol.for("react.transitional.element"),k=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),W=Symbol.for("react.consumer"),D=Symbol.for("react.context"),I=Symbol.for("react.forward_ref"),K=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),X=Symbol.for("react.lazy"),J=Symbol.for("react.offscreen"),Z=Symbol.iterator,$=Symbol.for("react.client.reference"),z=w.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q=Object.prototype.hasOwnProperty,ie=Object.assign,le=Symbol.for("react.client.reference"),T=Array.isArray,te=0,ne,pe,ae,fe,he,We,Ge;r.__reactDisabledLog=!0;var O,V,F=!1,G=new(typeof WeakMap=="function"?WeakMap:Map),ge=Symbol.for("react.client.reference"),ke,Ne={},Fe={},xt={};Ft.Fragment=S,Ft.jsx=function(g,H,N,oe,we){return u(g,H,N,!1,oe,we)},Ft.jsxs=function(g,H,N,oe,we){return u(g,H,N,!0,oe,we)}}()),Ft}process.env.NODE_ENV==="production"?An.exports=zs():An.exports=$s();var _=An.exports;const nn={button:"_button_1q2ge_1",primary:"_primary_1q2ge_5",secondary:"_secondary_1q2ge_12",small:"_small_1q2ge_19",rounded:"_rounded_1q2ge_22",medium:"_medium_1q2ge_26",large:"_large_1q2ge_33",squared:"_squared_1q2ge_40"},rt=e=>{if(!e)throw new Error("Please provide a hex color code");if(!/^#([A-Fa-f0-9]{3}){1,2}$/.test(e))throw new Error("Please provide a valid hex code");e=e.length===4?e.replace(/^#(.)(.)(.)$/,"#$1$1$2$2$3$3"):e;const r=e.substring(1),[o,i,l]=[0,2,4].map(a=>parseInt(r.substring(a,a+2),16));return(.2126*o+.7152*i+.0722*l)/255<.7?"dark":"light"};class $e{static convert3HexTo6(t){return typeof t=="string"&&/^#(?:[0-9a-fA-F]{3}){1,2}$/.test(t)&&t.length===4?t.replace(/^#(.)(.)(.)$/,"#$1$1$2$2$3$3"):t}}const Fn=c.forwardRef(({themeColor:e="",variant:t="primary",size:n="small",shape:r="rounded",children:o,className:i="",style:l={},disabled:s,...a},h)=>{let m={};if(e){const f=rt(e);if(e=$e.convert3HexTo6(e),!s&&(f==="dark"||f==="light")){const d=t==="primary"?e:"#ffffff",u=t==="primary"?f==="dark"?"#ffffff":"#333333":f==="light"?"#333333":e,p=e==="#ffffff"?"#c8c8c8":e;m={backgroundColor:d,color:u,outlineColor:p,borderColor:p}}}const b=[nn.button,nn[t],nn[n],nn[r],i].filter(Boolean).join(" ");return _.jsx("button",{disabled:s,ref:h,style:{...m,...l},className:`${b}`,...a,children:o})});Fn.displayName="Button";const Xe={checkboxLayout:"_checkboxLayout_bt7qx_1",checkboxLabel:"_checkboxLabel_bt7qx_4",checkboxInnerContainer:"_checkboxInnerContainer_bt7qx_10",checkboxInput:"_checkboxInput_bt7qx_13",checkboxFrame:"_checkboxFrame_bt7qx_16",checkboxCheckMark:"_checkboxCheckMark_bt7qx_19",checkboxCheckMarkPath:"_checkboxCheckMarkPath_bt7qx_22",checkboxUncheckedChecked:"_checkboxUncheckedChecked_bt7qx_1",visuallyHidden:"_visuallyHidden_bt7qx_43",checkboxDisabled:"_checkboxDisabled_bt7qx_53",medium:"_medium_bt7qx_59",large:"_large_bt7qx_65"},qs=()=>`checkbox_${Math.random().toString(36).substring(2,11)}`,Ln=c.forwardRef(({children:e,themeColor:t="",checkboxSize:n="medium",id:r=qs(),checked:o=!1,disabled:i=!1,className:l="",onChange:s,style:a={},tabIndex:h,...m},b)=>{const[f,d]=c.useState(o);let u={},p,v=i?"#9b9b9b":"#ffffff";if(t){const x=rt(t);if(t=$e.convert3HexTo6(t),x==="dark"||x==="light"){switch(x){case"dark":v=i?f?"#9b9b9b":"#f9f9f9":"#ffffff";break;case"light":v=i?f?"#9b9b9b":"#f9f9f9":f?"#333333":"#ffffff";break;default:v="#9b9b9b";break}const k=i?"#f9f9f9":f?t:"#ffffff";p=i?"#e4e4e4":t=="#ffffff"?"#333333":t,f&&(u={backgroundColor:k,borderColor:p,outlineColor:p})}}const y=i?Xe.checkboxDisabled:"",E=[Xe.checkboxLayout,Xe[n],y,l].filter(Boolean).join(" "),w=x=>{x.key!="Enter"&&(x.preventDefault(),s?.(x.target.checked),d(!f))};return _.jsx(_.Fragment,{children:_.jsx("div",{className:E,"data-testid":"checkbox",children:_.jsxs("label",{className:Xe.checkboxLabel,htmlFor:r,onClick:x=>w(x),children:[_.jsxs("div",{className:Xe.checkboxInnerContainer,tabIndex:h||i?-1:0,onKeyPress:x=>w(x),"data-testid":"checkbox-inner-container",children:[_.jsx("input",{className:Xe.checkboxInput,onChange:x=>w(x),type:"checkbox",checked:f,disabled:i,id:r,ref:b,...m,tabIndex:-1,"data-testid":"checkbox-input"}),_.jsx("div",{className:Xe.checkboxFrame,style:{...u,...a},"data-testid":"checkbox-frame",children:_.jsx("svg",{version:"1.1",focusable:"false",className:Xe.checkboxCheckMark,viewBox:"0 0 24 24","data-testid":"check-mark-svg",children:_.jsx("path",{className:Xe.checkboxCheckMarkPath,fill:"none",stroke:v,d:"M4.1,12.7 9,17.6 20.3,6.3"})})})]}),e&&_.jsx("span",{"data-testid":"checkbox-label",children:e}),_.jsx("div",{className:Xe.visuallyHidden,"aria-live":"polite","aria-atomic":"true",children:f?"Checked":"Unchecked"})]})})})});Ln.displayName="Checkbox";const Wr={textInputWrapper:"_textInputWrapper_1i9m6_1",textInput:"_textInput_1i9m6_1"};var j={},Nn={exports:{}};(function(e,t){(function(n,r){var o="1.0.40",i="",l="?",s="function",a="undefined",h="object",m="string",b="major",f="model",d="name",u="type",p="vendor",v="version",y="architecture",E="console",w="mobile",x="tablet",k="smarttv",S="wearable",C="embedded",R=500,W="Amazon",D="Apple",I="ASUS",K="BlackBerry",P="Browser",M="Chrome",X="Edge",J="Firefox",Z="Google",$="Huawei",z="LG",Q="Microsoft",ie="Motorola",le="Opera",T="Samsung",te="Sharp",ne="Sony",pe="Xiaomi",ae="Zebra",fe="Facebook",he="Chromium OS",We="Mac OS",Ge=" Browser",O=function(U,L){var Y={};for(var ce in U)L[ce]&&L[ce].length%2===0?Y[ce]=L[ce].concat(U[ce]):Y[ce]=U[ce];return Y},V=function(U){for(var L={},Y=0;Y<U.length;Y++)L[U[Y].toUpperCase()]=U[Y];return L},F=function(U,L){return typeof U===m?G(L).indexOf(G(U))!==-1:!1},G=function(U){return U.toLowerCase()},ge=function(U){return typeof U===m?U.replace(/[^\d\.]/g,i).split(".")[0]:r},ke=function(U,L){if(typeof U===m)return U=U.replace(/^\s\s*/,i),typeof L===a?U:U.substring(0,R)},Ne=function(U,L){for(var Y=0,ce,ve,Se,se,q,De;Y<L.length&&!q;){var Re=L[Y],Rs=L[Y+1];for(ce=ve=0;ce<Re.length&&!q&&Re[ce];)if(q=Re[ce++].exec(U),q)for(Se=0;Se<Rs.length;Se++)De=q[++ve],se=Rs[Se],typeof se===h&&se.length>0?se.length===2?typeof se[1]==s?this[se[0]]=se[1].call(this,De):this[se[0]]=se[1]:se.length===3?typeof se[1]===s&&!(se[1].exec&&se[1].test)?this[se[0]]=De?se[1].call(this,De,se[2]):r:this[se[0]]=De?De.replace(se[1],se[2]):r:se.length===4&&(this[se[0]]=De?se[3].call(this,De.replace(se[1],se[2])):r):this[se]=De||r;Y+=2}},Fe=function(U,L){for(var Y in L)if(typeof L[Y]===h&&L[Y].length>0){for(var ce=0;ce<L[Y].length;ce++)if(F(L[Y][ce],U))return Y===l?r:Y}else if(F(L[Y],U))return Y===l?r:Y;return L.hasOwnProperty("*")?L["*"]:U},xt={"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},g={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"},H={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[v,[d,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[v,[d,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[d,v],[/opios[\/ ]+([\w\.]+)/i],[v,[d,le+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[v,[d,le+" GX"]],[/\bopr\/([\w\.]+)/i],[v,[d,le]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[v,[d,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[v,[d,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[d,v],[/quark(?:pc)?\/([-\w\.]+)/i],[v,[d,"Quark"]],[/\bddg\/([\w\.]+)/i],[v,[d,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[v,[d,"UC"+P]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[v,[d,"WeChat"]],[/konqueror\/([\w\.]+)/i],[v,[d,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[v,[d,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[v,[d,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[v,[d,"Smart Lenovo "+P]],[/(avast|avg)\/([\w\.]+)/i],[[d,/(.+)/,"$1 Secure "+P],v],[/\bfocus\/([\w\.]+)/i],[v,[d,J+" Focus"]],[/\bopt\/([\w\.]+)/i],[v,[d,le+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[v,[d,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[v,[d,"Dolphin"]],[/coast\/([\w\.]+)/i],[v,[d,le+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[v,[d,"MIUI"+Ge]],[/fxios\/([\w\.-]+)/i],[v,[d,J]],[/\bqihoobrowser\/?([\w\.]*)/i],[v,[d,"360"]],[/\b(qq)\/([\w\.]+)/i],[[d,/(.+)/,"$1Browser"],v],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[d,/(.+)/,"$1"+Ge],v],[/samsungbrowser\/([\w\.]+)/i],[v,[d,T+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[v,[d,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[d,"Sogou Mobile"],v],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[d,v],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[d],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[v,d],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[d,fe],v],[/(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,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[d,v],[/\bgsa\/([\w\.]+) .*safari\//i],[v,[d,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[v,[d,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[v,[d,M+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[d,M+" WebView"],v],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[v,[d,"Android "+P]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[d,v],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[v,[d,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[v,d],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[d,[v,Fe,xt]],[/(webkit|khtml)\/([\w\.]+)/i],[d,v],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[d,"Netscape"],v],[/(wolvic|librewolf)\/([\w\.]+)/i],[d,v],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[v,[d,J+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\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|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[d,[v,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[d,[v,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[y,"amd64"]],[/(ia32(?=;))/i],[[y,G]],[/((?:i[346]|x)86)[;\)]/i],[[y,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[y,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[y,"armhf"]],[/windows (ce|mobile); ppc;/i],[[y,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[y,/ower/,i,G]],[/(sun4\w)[;\)]/i],[[y,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[y,G]]],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],[f,[p,T],[u,x]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[f,[p,T],[u,w]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[f,[p,D],[u,w]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[f,[p,D],[u,x]],[/(macintosh);/i],[f,[p,D]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[f,[p,te],[u,w]],[/(?:honor)([-\w ]+)[;\)]/i],[f,[p,"Honor"],[u,w]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[f,[p,$],[u,x]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[f,[p,$],[u,w]],[/\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|pro)?)(?: bui|\))/i],[[f,/_/g," "],[p,pe],[u,w]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[f,/_/g," "],[p,pe],[u,x]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[f,[p,"OPPO"],[u,w]],[/\b(opd2\d{3}a?) bui/i],[f,[p,"OPPO"],[u,x]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[f,[p,"Vivo"],[u,w]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[f,[p,"Realme"],[u,w]],[/\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],[f,[p,ie],[u,w]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[f,[p,ie],[u,x]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[f,[p,z],[u,x]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[f,[p,z],[u,w]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[f,[p,"Lenovo"],[u,x]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[f,/_/g," "],[p,"Nokia"],[u,w]],[/(pixel c)\b/i],[f,[p,Z],[u,x]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[f,[p,Z],[u,w]],[/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],[f,[p,ne],[u,w]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[f,"Xperia Tablet"],[p,ne],[u,x]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[f,[p,"OnePlus"],[u,w]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[f,[p,W],[u,x]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[f,/(.+)/g,"Fire Phone $1"],[p,W],[u,w]],[/(playbook);[-\w\),; ]+(rim)/i],[f,p,[u,x]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[f,[p,K],[u,w]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[f,[p,I],[u,x]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[f,[p,I],[u,w]],[/(nexus 9)/i],[f,[p,"HTC"],[u,x]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[p,[f,/_/g," "],[u,w]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[f,[p,"TCL"],[u,x]],[/(itel) ((\w+))/i],[[p,G],f,[u,Fe,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[f,[p,"Acer"],[u,x]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[f,[p,"Meizu"],[u,w]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[f,[p,"Ulefone"],[u,w]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[f,[p,"Energizer"],[u,w]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[f,[p,"Cat"],[u,w]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[f,[p,"Smartfren"],[u,w]],[/droid.+; (a(?:015|06[35]|142p?))/i],[f,[p,"Nothing"],[u,w]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (imo) ((?!tab)[\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[p,f,[u,w]],[/(imo) (tab \w+)/i,/(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],[p,f,[u,x]],[/(surface duo)/i],[f,[p,Q],[u,x]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[f,[p,"Fairphone"],[u,w]],[/(u304aa)/i],[f,[p,"AT&T"],[u,w]],[/\bsie-(\w*)/i],[f,[p,"Siemens"],[u,w]],[/\b(rct\w+) b/i],[f,[p,"RCA"],[u,x]],[/\b(venue[\d ]{2,7}) b/i],[f,[p,"Dell"],[u,x]],[/\b(q(?:mv|ta)\w+) b/i],[f,[p,"Verizon"],[u,x]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[f,[p,"Barnes & Noble"],[u,x]],[/\b(tm\d{3}\w+) b/i],[f,[p,"NuVision"],[u,x]],[/\b(k88) b/i],[f,[p,"ZTE"],[u,x]],[/\b(nx\d{3}j) b/i],[f,[p,"ZTE"],[u,w]],[/\b(gen\d{3}) b.+49h/i],[f,[p,"Swiss"],[u,w]],[/\b(zur\d{3}) b/i],[f,[p,"Swiss"],[u,x]],[/\b((zeki)?tb.*\b) b/i],[f,[p,"Zeki"],[u,x]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[p,"Dragon Touch"],f,[u,x]],[/\b(ns-?\w{0,9}) b/i],[f,[p,"Insignia"],[u,x]],[/\b((nxa|next)-?\w{0,9}) b/i],[f,[p,"NextBook"],[u,x]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[p,"Voice"],f,[u,w]],[/\b(lvtel\-)?(v1[12]) b/i],[[p,"LvTel"],f,[u,w]],[/\b(ph-1) /i],[f,[p,"Essential"],[u,w]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[f,[p,"Envizen"],[u,x]],[/\b(trio[-\w\. ]+) b/i],[f,[p,"MachSpeed"],[u,x]],[/\btu_(1491) b/i],[f,[p,"Rotor"],[u,x]],[/(shield[\w ]+) b/i],[f,[p,"Nvidia"],[u,x]],[/(sprint) (\w+)/i],[p,f,[u,w]],[/(kin\.[onetw]{3})/i],[[f,/\./g," "],[p,Q],[u,w]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[f,[p,ae],[u,x]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[f,[p,ae],[u,w]],[/smart-tv.+(samsung)/i],[p,[u,k]],[/hbbtv.+maple;(\d+)/i],[[f,/^/,"SmartTV"],[p,T],[u,k]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[p,z],[u,k]],[/(apple) ?tv/i],[p,[f,D+" TV"],[u,k]],[/crkey/i],[[f,M+"cast"],[p,Z],[u,k]],[/droid.+aft(\w+)( bui|\))/i],[f,[p,W],[u,k]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[f,[p,te],[u,k]],[/(bravia[\w ]+)( bui|\))/i],[f,[p,ne],[u,k]],[/(mitv-\w{5}) bui/i],[f,[p,pe],[u,k]],[/Hbbtv.*(technisat) (.*);/i],[p,f,[u,k]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[p,ke],[f,ke],[u,k]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[u,k]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[p,f,[u,E]],[/droid.+; (shield) bui/i],[f,[p,"Nvidia"],[u,E]],[/(playstation [345portablevi]+)/i],[f,[p,ne],[u,E]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[f,[p,Q],[u,E]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[f,[p,T],[u,S]],[/((pebble))app/i],[p,f,[u,S]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[f,[p,D],[u,S]],[/droid.+; (glass) \d/i],[f,[p,Z],[u,S]],[/droid.+; (wt63?0{2,3})\)/i],[f,[p,ae],[u,S]],[/droid.+; (glass) \d/i],[f,[p,Z],[u,S]],[/(pico) (4|neo3(?: link|pro)?)/i],[p,f,[u,S]],[/; (quest( \d| pro)?)/i],[f,[p,fe],[u,S]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[p,[u,C]],[/(aeobc)\b/i],[f,[p,W],[u,C]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[f,[u,w]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[f,[u,x]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[u,x]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[u,w]],[/(android[-\w\. ]{0,9});.+buil/i],[f,[p,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[v,[d,X+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[d,v],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[v,[d,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[d,v],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[v,d]],os:[[/microsoft (windows) (vista|xp)/i],[d,v],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[d,[v,Fe,g]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[v,Fe,g],[d,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[v,/_/g,"."],[d,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[d,We],[v,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[v,d],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[d,v],[/\(bb(10);/i],[v,[d,K]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[v,[d,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[v,[d,J+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[v,[d,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[v,[d,"watchOS"]],[/crkey\/([\d\.]+)/i],[v,[d,M+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[d,he],v],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[d,v],[/(sunos) ?([\w\.\d]*)/i],[[d,"Solaris"],v],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[d,v]]},N=function(U,L){if(typeof U===h&&(L=U,U=r),!(this instanceof N))return new N(U,L).getResult();var Y=typeof n!==a&&n.navigator?n.navigator:r,ce=U||(Y&&Y.userAgent?Y.userAgent:i),ve=Y&&Y.userAgentData?Y.userAgentData:r,Se=L?O(H,L):H,se=Y&&Y.userAgent==ce;return this.getBrowser=function(){var q={};return q[d]=r,q[v]=r,Ne.call(q,ce,Se.browser),q[b]=ge(q[v]),se&&Y&&Y.brave&&typeof Y.brave.isBrave==s&&(q[d]="Brave"),q},this.getCPU=function(){var q={};return q[y]=r,Ne.call(q,ce,Se.cpu),q},this.getDevice=function(){var q={};return q[p]=r,q[f]=r,q[u]=r,Ne.call(q,ce,Se.device),se&&!q[u]&&ve&&ve.mobile&&(q[u]=w),se&&q[f]=="Macintosh"&&Y&&typeof Y.standalone!==a&&Y.maxTouchPoints&&Y.maxTouchPoints>2&&(q[f]="iPad",q[u]=x),q},this.getEngine=function(){var q={};return q[d]=r,q[v]=r,Ne.call(q,ce,Se.engine),q},this.getOS=function(){var q={};return q[d]=r,q[v]=r,Ne.call(q,ce,Se.os),se&&!q[d]&&ve&&ve.platform&&ve.platform!="Unknown"&&(q[d]=ve.platform.replace(/chrome os/i,he).replace(/macos/i,We)),q},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return ce},this.setUA=function(q){return ce=typeof q===m&&q.length>R?ke(q,R):q,this},this.setUA(ce),this};N.VERSION=o,N.BROWSER=V([d,v,b]),N.CPU=V([y]),N.DEVICE=V([f,p,u,E,w,k,x,S,C]),N.ENGINE=N.OS=V([d,v]),e.exports&&(t=e.exports=N),t.UAParser=N;var oe=typeof n!==a&&(n.jQuery||n.Zepto);if(oe&&!oe.ua){var we=new N;oe.ua=we.getResult(),oe.ua.get=function(){return we.getUA()},oe.ua.set=function(U){we.setUA(U);var L=we.getResult();for(var Y in L)oe.ua[Y]=L[Y]}}})(typeof window=="object"?window:Us)})(Nn,Nn.exports);var Ys=Nn.exports;Object.defineProperty(j,"__esModule",{value:!0});function Ks(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var Ce=c,me=Ks(Ce),Br=Ys,ot=new Br,_e=ot.getBrowser(),Gs=ot.getCPU(),Be=ot.getDevice(),Dn=ot.getEngine(),it=ot.getOS(),Lt=ot.getUA(),Vr=function(t){return ot.setUA(t)},Nt=function(t){if(!t){console.error("No userAgent string was provided");return}var n=new Br(t);return{UA:n,browser:n.getBrowser(),cpu:n.getCPU(),device:n.getDevice(),engine:n.getEngine(),os:n.getOS(),ua:n.getUA(),setUserAgent:function(o){return n.setUA(o)}}},Hr=Object.freeze({ClientUAInstance:ot,browser:_e,cpu:Gs,device:Be,engine:Dn,os:it,ua:Lt,setUa:Vr,parseUserAgent:Nt});function Rr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Xs(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Rr(Object(n),!0).forEach(function(r){Zs(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rr(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Dt(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Dt=function(t){return typeof t}:Dt=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Dt(e)}function Qs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ur(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Js(e,t,n){return t&&Ur(e.prototype,t),n&&Ur(e,n),e}function Zs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jn(){return jn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jn.apply(this,arguments)}function el(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bn(e,t)}function Wn(e){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wn(e)}function Bn(e,t){return Bn=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Bn(e,t)}function tl(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function Ue(e,t){if(e==null)return{};var n=tl(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function rn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nl(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return rn(e)}function rl(e,t){return ol(e)||il(e,t)||sl(e,t)||ll()}function ol(e){if(Array.isArray(e))return e}function il(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,i=!1,l,s;try{for(n=n.call(e);!(o=(l=n.next()).done)&&(r.push(l.value),!(t&&r.length===t));o=!0);}catch(a){i=!0,s=a}finally{try{!o&&n.return!=null&&n.return()}finally{if(i)throw s}}return r}}function sl(e,t){if(e){if(typeof e=="string")return zr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return zr(e,t)}}function zr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ll(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
33
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Ie={Mobile:"mobile",Tablet:"tablet",SmartTv:"smarttv",Console:"console",Wearable:"wearable",Embedded:"embedded",Browser:void 0},je={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",EdgeChromium:"Edge Chromium",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},yt={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},al={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},ul=function(t){switch(t){case Ie.Mobile:return{isMobile:!0};case Ie.Tablet:return{isTablet:!0};case Ie.SmartTv:return{isSmartTV:!0};case Ie.Console:return{isConsole:!0};case Ie.Wearable:return{isWearable:!0};case Ie.Browser:return{isBrowser:!0};case Ie.Embedded:return{isEmbedded:!0};default:return al}},cl=function(t){return Vr(t)},ee=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"none";return t||n},Vn=function(){return typeof window<"u"&&(window.navigator||navigator)?window.navigator||navigator:!1},Hn=function(t){var n=Vn();return n&&n.platform&&(n.platform.indexOf(t)!==-1||n.platform==="MacIntel"&&n.maxTouchPoints>1&&!window.MSStream)},dl=function(t,n,r,o,i){return{isBrowser:t,browserMajorVersion:ee(n.major),browserFullVersion:ee(n.version),browserName:ee(n.name),engineName:ee(r.name),engineVersion:ee(r.version),osName:ee(o.name),osVersion:ee(o.version),userAgent:ee(i)}},$r=function(t,n,r,o){return Xs({},t,{vendor:ee(n.vendor),model:ee(n.model),os:ee(r.name),osVersion:ee(r.version),ua:ee(o)})},fl=function(t,n,r,o){return{isSmartTV:t,engineName:ee(n.name),engineVersion:ee(n.version),osName:ee(r.name),osVersion:ee(r.version),userAgent:ee(o)}},pl=function(t,n,r,o){return{isConsole:t,engineName:ee(n.name),engineVersion:ee(n.version),osName:ee(r.name),osVersion:ee(r.version),userAgent:ee(o)}},ml=function(t,n,r,o){return{isWearable:t,engineName:ee(n.name),engineVersion:ee(n.version),osName:ee(r.name),osVersion:ee(r.version),userAgent:ee(o)}},hl=function(t,n,r,o,i){return{isEmbedded:t,vendor:ee(n.vendor),model:ee(n.model),engineName:ee(r.name),engineVersion:ee(r.version),osName:ee(o.name),osVersion:ee(o.version),userAgent:ee(i)}};function vl(e){var t=e?Nt(e):Hr,n=t.device,r=t.browser,o=t.engine,i=t.os,l=t.ua,s=ul(n.type),a=s.isBrowser,h=s.isMobile,m=s.isTablet,b=s.isSmartTV,f=s.isConsole,d=s.isWearable,u=s.isEmbedded;if(a)return dl(a,r,o,i,l);if(b)return fl(b,o,i,l);if(f)return pl(f,o,i,l);if(h||m)return $r(s,n,i,l);if(d)return ml(d,o,i,l);if(u)return hl(u,n,o,i,l)}var qr=function(t){var n=t.type;return n===Ie.Mobile},Yr=function(t){var n=t.type;return n===Ie.Tablet},Kr=function(t){var n=t.type;return n===Ie.Mobile||n===Ie.Tablet},Gr=function(t){var n=t.type;return n===Ie.SmartTv},on=function(t){var n=t.type;return n===Ie.Browser},Xr=function(t){var n=t.type;return n===Ie.Wearable},Qr=function(t){var n=t.type;return n===Ie.Console},Jr=function(t){var n=t.type;return n===Ie.Embedded},Zr=function(t){var n=t.vendor;return ee(n)},eo=function(t){var n=t.model;return ee(n)},to=function(t){var n=t.type;return ee(n,"browser")},no=function(t){var n=t.name;return n===yt.Android},ro=function(t){var n=t.name;return n===yt.Windows},oo=function(t){var n=t.name;return n===yt.MAC_OS},io=function(t){var n=t.name;return n===yt.WindowsPhone},so=function(t){var n=t.name;return n===yt.IOS},lo=function(t){var n=t.version;return ee(n)},ao=function(t){var n=t.name;return ee(n)},uo=function(t){var n=t.name;return n===je.Chrome},co=function(t){var n=t.name;return n===je.Firefox},fo=function(t){var n=t.name;return n===je.Chromium},sn=function(t){var n=t.name;return n===je.Edge},po=function(t){var n=t.name;return n===je.Yandex},mo=function(t){var n=t.name;return n===je.Safari||n===je.MobileSafari},ho=function(t){var n=t.name;return n===je.MobileSafari},vo=function(t){var n=t.name;return n===je.Opera},bo=function(t){var n=t.name;return n===je.InternetExplorer||n===je.Ie},go=function(t){var n=t.name;return n===je.MIUI},wo=function(t){var n=t.name;return n===je.SamsungBrowser},xo=function(t){var n=t.version;return ee(n)},yo=function(t){var n=t.major;return ee(n)},Eo=function(t){var n=t.name;return ee(n)},So=function(t){var n=t.name;return ee(n)},Oo=function(t){var n=t.version;return ee(n)},To=function(){var t=Vn(),n=t&&t.userAgent&&t.userAgent.toLowerCase();return typeof n=="string"?/electron/.test(n):!1},Et=function(t){return typeof t=="string"&&t.indexOf("Edg/")!==-1},ko=function(){var t=Vn();return t&&(/iPad|iPhone|iPod/.test(t.platform)||t.platform==="MacIntel"&&t.maxTouchPoints>1)&&!window.MSStream},Qe=function(){return Hn("iPad")},Co=function(){return Hn("iPhone")},_o=function(){return Hn("iPod")},Io=function(t){return ee(t)};function Po(e){var t=e||Hr,n=t.device,r=t.browser,o=t.os,i=t.engine,l=t.ua;return{isSmartTV:Gr(n),isConsole:Qr(n),isWearable:Xr(n),isEmbedded:Jr(n),isMobileSafari:ho(r)||Qe(),isChromium:fo(r),isMobile:Kr(n)||Qe(),isMobileOnly:qr(n),isTablet:Yr(n)||Qe(),isBrowser:on(n),isDesktop:on(n),isAndroid:no(o),isWinPhone:io(o),isIOS:so(o)||Qe(),isChrome:uo(r),isFirefox:co(r),isSafari:mo(r),isOpera:vo(r),isIE:bo(r),osVersion:lo(o),osName:ao(o),fullBrowserVersion:xo(r),browserVersion:yo(r),browserName:Eo(r),mobileVendor:Zr(n),mobileModel:eo(n),engineName:So(i),engineVersion:Oo(i),getUA:Io(l),isEdge:sn(r)||Et(l),isYandex:po(r),deviceType:to(n),isIOS13:ko(),isIPad13:Qe(),isIPhone13:Co(),isIPod13:_o(),isElectron:To(),isEdgeChromium:Et(l),isLegacyEdge:sn(r)&&!Et(l),isWindows:ro(o),isMacOs:oo(o),isMIUI:go(r),isSamsungBrowser:wo(r)}}var Mo=Gr(Be),Ao=Qr(Be),Fo=Xr(Be),bl=Jr(Be),gl=ho(_e)||Qe(),wl=fo(_e),ln=Kr(Be)||Qe(),Lo=qr(Be),No=Yr(Be)||Qe(),Do=on(Be),xl=on(Be),jo=no(it),Wo=io(it),Bo=so(it)||Qe(),yl=uo(_e),El=co(_e),Sl=mo(_e),Ol=vo(_e),Vo=bo(_e),Tl=lo(it),kl=ao(it),Cl=xo(_e),_l=yo(_e),Il=Eo(_e),Pl=Zr(Be),Ml=eo(Be),Al=So(Dn),Fl=Oo(Dn),Ll=Io(Lt),Nl=sn(_e)||Et(Lt),Dl=po(_e),jl=to(Be),Wl=ko(),Bl=Qe(),Vl=Co(),Hl=_o(),Rl=To(),Ul=Et(Lt),zl=sn(_e)&&!Et(Lt),$l=ro(it),ql=oo(it),Yl=go(_e),Kl=wo(_e),Gl=function(t){if(!t||typeof t!="string"){console.error("No valid user agent string was provided");return}var n=Nt(t),r=n.device,o=n.browser,i=n.os,l=n.engine,s=n.ua;return Po({device:r,browser:o,os:i,engine:l,ua:s})},Xl=function(t){var n=t.renderWithFragment,r=t.children,o=Ue(t,["renderWithFragment","children"]);return jo?n?me.createElement(Ce.Fragment,null,r):me.createElement("div",o,r):null},Ql=function(t){var n=t.renderWithFragment,r=t.children,o=Ue(t,["renderWithFragment","children"]);return Do?n?me.createElement(Ce.Fragment,null,r):me.createElement("div",o,r):null},Jl=function(t){var n=t.renderWithFragment,r=t.children,o=Ue(t,["renderWithFragment","children"]);return Vo?n?me.createElement(Ce.Fragment,null,r):me.createElement("div",o,r):null},Zl=function(t){var n=t.renderWithFragment,r=t.children,o=Ue(t,["renderWithFragment","children"]);return Bo?n?me.createElement(Ce.Fragment,null,r):me.createElement("div",o,r):null},ea=function(t){var n=t.renderWithFragment,r=t.children,o=Ue(t,["renderWithFragment","children"]);return ln?n?me.createElement(Ce.Fragment,null,r):me.createElement("div",o,r):null},ta=function(t){var n=t.renderWithFragment,r=t.children,o=Ue(t,["renderWithFragment","children"]);return No?n?me.createElement(Ce.Fragment,null,r):me.createElement("div",o,r):null},na=function(t){var n=t.renderWithFragment,r=t.children,o=Ue(t,["renderWithFragment","children"]);return Wo?n?me.createElement(Ce.Fragment,null,r):me.createElement("div",o,r):null},ra=function(t){var n=t.renderWithFragment,r=t.children;t.viewClassName,t.style;var o=Ue(t,["renderWithFragment","children","viewClassName","style"]);return Lo?n?me.createElement(Ce.Fragment,null,r):me.createElement("div",o,r):null},oa=function(t){var n=t.renderWithFragment,r=t.children,o=Ue(t,["renderWithFragment","children"]);return Mo?n?me.createElement(Ce.Fragment,null,r):me.createElement("div",o,r):null},ia=function(t){var n=t.renderWithFragment,r=t.children,o=Ue(t,["renderWithFragment","children"]);return Ao?n?me.createElement(Ce.Fragment,null,r):me.createElement("div",o,r):null},sa=function(t){var n=t.renderWithFragment,r=t.children,o=Ue(t,["renderWithFragment","children"]);return Fo?n?me.createElement(Ce.Fragment,null,r):me.createElement("div",o,r):null},la=function(t){var n=t.renderWithFragment,r=t.children;t.viewClassName,t.style;var o=t.condition,i=Ue(t,["renderWithFragment","children","viewClassName","style","condition"]);return o?n?me.createElement(Ce.Fragment,null,r):me.createElement("div",i,r):null};function aa(e){return function(t){el(n,t);function n(r){var o;return Qs(this,n),o=nl(this,Wn(n).call(this,r)),o.isEventListenerAdded=!1,o.handleOrientationChange=o.handleOrientationChange.bind(rn(o)),o.onOrientationChange=o.onOrientationChange.bind(rn(o)),o.onPageLoad=o.onPageLoad.bind(rn(o)),o.state={isLandscape:!1,isPortrait:!1},o}return Js(n,[{key:"handleOrientationChange",value:function(){this.isEventListenerAdded||(this.isEventListenerAdded=!0);var o=window.innerWidth>window.innerHeight?90:0;this.setState({isPortrait:o===0,isLandscape:o===90})}},{key:"onOrientationChange",value:function(){this.handleOrientationChange()}},{key:"onPageLoad",value:function(){this.handleOrientationChange()}},{key:"componentDidMount",value:function(){(typeof window>"u"?"undefined":Dt(window))!==void 0&&ln&&(this.isEventListenerAdded?window.removeEventListener("load",this.onPageLoad,!1):(this.handleOrientationChange(),window.addEventListener("load",this.onPageLoad,!1)),window.addEventListener("resize",this.onOrientationChange,!1))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.onOrientationChange,!1)}},{key:"render",value:function(){return me.createElement(e,jn({},this.props,{isLandscape:this.state.isLandscape,isPortrait:this.state.isPortrait}))}}]),n}(me.Component)}function ua(){var e=Ce.useState(function(){var i=window.innerWidth>window.innerHeight?90:0;return{isPortrait:i===0,isLandscape:i===90,orientation:i===0?"portrait":"landscape"}}),t=rl(e,2),n=t[0],r=t[1],o=Ce.useCallback(function(){var i=window.innerWidth>window.innerHeight?90:0,l={isPortrait:i===0,isLandscape:i===90,orientation:i===0?"portrait":"landscape"};n.orientation!==l.orientation&&r(l)},[n.orientation]);return Ce.useEffect(function(){return(typeof window>"u"?"undefined":Dt(window))!==void 0&&ln&&(o(),window.addEventListener("load",o,!1),window.addEventListener("resize",o,!1)),function(){window.removeEventListener("resize",o,!1),window.removeEventListener("load",o,!1)}},[o]),n}function Ho(e){var t=e||window.navigator.userAgent;return Nt(t)}function ca(e){var t=e||window.navigator.userAgent,n=Ho(t),r=Po(n);return[r,n]}j.AndroidView=Xl,j.BrowserTypes=je,j.BrowserView=Ql,j.ConsoleView=ia,j.CustomView=la,j.IEView=Jl,j.IOSView=Zl,j.MobileOnlyView=ra,j.MobileView=ea,j.OsTypes=yt,j.SmartTVView=oa,j.TabletView=ta,j.WearableView=sa,j.WinPhoneView=na,j.browserName=Il,j.browserVersion=_l,j.deviceDetect=vl,j.deviceType=jl,j.engineName=Al,j.engineVersion=Fl,j.fullBrowserVersion=Cl,j.getSelectorsByUserAgent=Gl,j.getUA=Ll,j.isAndroid=jo,j.isBrowser=Do,j.isChrome=yl,j.isChromium=wl,j.isConsole=Ao,j.isDesktop=xl,j.isEdge=Nl,j.isEdgeChromium=Ul,j.isElectron=Rl,j.isEmbedded=bl,j.isFirefox=El,j.isIE=Vo,j.isIOS=Bo,j.isIOS13=Wl,j.isIPad13=Bl,j.isIPhone13=Vl,j.isIPod13=Hl,j.isLegacyEdge=zl,j.isMIUI=Yl,j.isMacOs=ql;var da=j.isMobile=ln;j.isMobileOnly=Lo,j.isMobileSafari=gl,j.isOpera=Ol,j.isSafari=Sl,j.isSamsungBrowser=Kl,j.isSmartTV=Mo,j.isTablet=No,j.isWearable=Fo,j.isWinPhone=Wo,j.isWindows=$l,j.isYandex=Dl,j.mobileModel=Ml,j.mobileVendor=Pl,j.osName=kl,j.osVersion=Tl,j.parseUserAgent=Nt,j.setUserAgent=cl,j.useDeviceData=Ho,j.useDeviceSelectors=ca,j.useMobileOrientation=ua,j.withOrientationChange=aa;const fa=c.memo(c.forwardRef(({themeColor:e="",onSubmit:t,style:n={},className:r="",onInput:o,onFocus:i,onBlur:l,...s},a)=>{const[h,m]=c.useState(!0),[b,f]=c.useState(!1);e=$e.convert3HexTo6(e),c.useEffect(()=>{m(da)},[]);const d=w=>{!h&&w.key==="Enter"&&!w.shiftKey&&t&&(w.preventDefault(),t())},u=w=>{o?.(w),w.target.style.height="40px",w.target.style.height=2+w.target.scrollHeight+"px"};let p={};const v=[Wr.textInput,r].filter(Boolean).join(" "),y=()=>{f(!0)},E=()=>{f(!1)};return p={borderBottomColor:b?e!=="#ffffff"?e:"#c8c8c8":""},_.jsx("div",{className:Wr.textInputWrapper,children:_.jsx("textarea",{"data-testid":"textbox-input",ref:a,className:v,style:{...p,...n},onFocus:y,onBlur:E,onInput:w=>u(w),onKeyDown:d,...s})})})),Oe={multiSelectContainer:"_multiSelectContainer_lh9wi_1",listOptionsWrap:"_listOptionsWrap_lh9wi_4",selectedValuesWrap:"_selectedValuesWrap_lh9wi_7",selectedValues:"_selectedValues_lh9wi_7",focused:"_focused_lh9wi_13",placeholder:"_placeholder_lh9wi_16",dropDownIcon:"_dropDownIcon_lh9wi_19",optionsListContainer:"_optionsListContainer_lh9wi_23",top:"_top_lh9wi_26",optionsListWrap:"_optionsListWrap_lh9wi_29",searchInputWrap:"_searchInputWrap_lh9wi_32",searchInput:"_searchInput_lh9wi_32",optionsList:"_optionsList_lh9wi_23",btnContainer:"_btnContainer_lh9wi_54",hiddenButton:"_hiddenButton_lh9wi_57",announcement:"_announcement_lh9wi_70"},jt={pseudoCheckbox:"_pseudoCheckbox_z8j4c_1",checkboxCheckMark:"_checkboxCheckMark_z8j4c_4",checkboxCheckMarkPath:"_checkboxCheckMarkPath_z8j4c_7",checked:"_checked_z8j4c_12",checkboxUncheckedChecked:"_checkboxUncheckedChecked_z8j4c_1",checkboxDisabled:"_checkboxDisabled_z8j4c_22"},Ro=({checked:e=!1,themeColor:t="",disabled:n=!1})=>{let r={},o="#006bb1",i=n?"#9b9b9b":"#ffffff";const l=n?jt.checkboxDisabled:"",s=e?jt.checked:"",a=[jt.pseudoCheckbox,s,l].filter(Boolean).join(" ");let h;if(t){const m=rt(t);t=$e.convert3HexTo6(t),m==="dark"||m==="light"?(n?i=e?"#9b9b9b":"#f9f9f9":i=m=="light"?"#333333":"#ffffff",o=n?"#f9f9f9":e?t:"#ffffff",h=n?"#e4e4e4":t==="#ffffff"?"#333333":t,e&&(r={backgroundColor:o,borderColor:h,outlineColor:h})):i="#9b9b9b"}return _.jsx("div",{style:r,className:a,role:"checkbox","aria-checked":e,"aria-hidden":"true",tabIndex:-1,"data-testid":"checkbox-input",children:_.jsx("svg",{version:"1.1",focusable:"false",className:jt.checkboxCheckMark,viewBox:"0 0 24 24",children:_.jsx("path",{className:jt.checkboxCheckMarkPath,fill:"none",stroke:i,d:"M4.1,12.7 9,17.6 20.3,6.3"})})})};Ro.displayName="Checkbox";const pa=({options:e,checkedValue:t,onSelectionChange:n,maxOptions:r,themeColor:o,className:i="",style:l={}})=>{const s=c.useRef(e),[a,h]=c.useState(t),[m,b]=c.useState(""),[f,d]=c.useState(!1),[u,p]=c.useState(!1),v=c.useRef(null),y=c.useRef(null),E=c.useRef(null),w=c.useRef(null),x=c.useRef(null),k=c.useRef(null),[S,C]=c.useState(-1),R=c.useRef(0),W=c.useRef(0),[D,I]=c.useState(!1);let K={};const[P,M]=c.useState({left:0,top:0}),[X,J]=c.useState(null),Z=c.useRef(!1),$=c.useRef(null),z=()=>{setTimeout(()=>{(v.current?.children[0]).focus()},0)};c.useEffect(()=>{const O=V=>{y.current&&!y.current.contains(V.target)&&(d(!1),b(""),z())};return document.addEventListener("mousedown",O),()=>{document.removeEventListener("mousedown",O)}},[]);const Q=()=>{R.current=window.innerHeight,W.current=document.body.scrollHeight,I(!0)};c.useEffect(()=>(Q(),window.addEventListener("resize",Q),()=>{window.addEventListener("resize",Q)}),[]);const ie=O=>{const V=document.getElementById("announcement");V&&(V.textContent=O,V.setAttribute("aria-live","assertive"),setTimeout(()=>{V.textContent="",V.setAttribute("aria-live","off")},1e3))};c.useEffect(()=>{const O=e.filter(V=>V.label.toLowerCase().includes(m.toLowerCase()));s.current=O},[e,m]);const le=a.length>0?a.map(O=>{const V=e.find(F=>F.value===O);return V?.label!==null?V?.label:""}).filter(O=>O!=="").join(", "):"Select your option",T=O=>{const V=e.find(F=>F.value===O);if(V&&!V.disable&&(r===void 0||a.length<=r)){const G=a.includes(O)?a.filter(ke=>ke!==O):[...a,O];(r===void 0||G.length<=r)&&f&&(h(G),n(G),ie(`${V?.label} ${G.includes(O)?"selected":"not selected"}`))}},te=O=>{pe(),d(O),setTimeout(()=>{E.current?E.current?.focus():w.current?.focus(),ie("use up and down arrow keys to navigate")},0)},ne=()=>W.current-(R.current+window.scrollY),pe=()=>{if(v.current){const O=v.current.getBoundingClientRect();setTimeout(()=>{const V=y?.current?.getBoundingClientRect(),F=ne(),G=R.current-O.bottom;let ge;if(V){const ke=O.height,Ne=O.top,Fe=V.height,xt=Fe>Ne+window.scrollY;Ne<Fe&&(xt||xt&&G<Fe||F>Fe||G>Fe)||Ne>Fe&&G>Fe?ge=O.y+ke:ge=O.y-Fe,M({left:O.left,top:ge??O.top})}},0)}};c.useEffect(()=>(window.addEventListener("scroll",pe),window.addEventListener("resize",pe),()=>{window.removeEventListener("scroll",pe),window.removeEventListener("resize",pe)}),[f]);const ae=O=>{O.preventDefault(),O.key==="Shift"?Z.current=!0:O.shiftKey&&Z.current&&O.key==="Tab"||O.key==="Tab"?(setTimeout(()=>{E.current?E.current?.focus():w.current?.focus()},0),Z.current=!1):O.key==="Escape"||O.key==="Enter"||O.key==="Space"||O.key===" "?(te(!1),z()):Z.current=!1},fe=O=>{const{key:V}=O;if(V==="Tab"||O.shiftKey&&V==="Tab")setTimeout(()=>{x.current?.focus()},0);else if(V==="ArrowDown"||V==="ArrowUp"){O.preventDefault(),setTimeout(()=>{w.current?.focus()},0);let F=S;if(V==="ArrowDown"?F=Math.min(S+1,s.current.length-1):V==="ArrowUp"&&(F=Math.max(S-1,0)),S===0&&O.key==="ArrowUp"?F=s.current.length-1:S===s.current.length-1&&O.key==="ArrowDown"&&(F=0),C(F),k.current&&F>=0){const G=k.current.querySelectorAll(`.${Oe.optionsList}`)[F],ge=G.children[0].getAttribute("aria-checked"),ke=`${G.textContent} ${ge==="true"?"selected":"not selected"} ${F+1} out of ${s.current.length}`;ie(ke),G&&G.scrollIntoView({block:"nearest",inline:"nearest"})}}else V==="Enter"||V==="Space"||V===" "?S!==-1&&T(s.current[S].value):V==="Escape"&&(te(!1),z())};c.useEffect(()=>{X&&clearTimeout(X);const O=setTimeout(()=>{const V=s.current.length?`${s.current.length} results are available, use up and down arrow keys to navigate`:"No results available";f&&ie(V)},500);J(O)},[m]);const he=()=>{p(!0)},We=()=>{p(!1)};if(c.useEffect(()=>{const O=$.current;return O&&(O.addEventListener("focus",he),O.addEventListener("blur",We)),()=>{O&&(O.removeEventListener("focus",he),O.removeEventListener("blur",We))}},[he,We]),o){const O=rt(o);o=$e.convert3HexTo6(o),(O==="dark"||O==="light")&&(K={borderBottomColor:o==="#ffffff"?"#c8c8c8":u||f?o:"#333333"})}const Ge=()=>{d(!1)};return _.jsx("div",{className:Oe.multiSelectContainer,children:_.jsxs("div",{className:Oe.listOptionsWrap,children:[_.jsxs("div",{className:`${i} ${Oe.selectedValuesWrap}`,ref:v,children:[_.jsx("div",{className:`${Oe.selectedValues} ${f?Oe.focused:""} ${a.length===0?Oe.placeholder:""}`,ref:$,onFocus:he,onBlur:We,onClick:()=>te(!f),onKeyPress:O=>{(O.key===" "||O.code==="Space"||O.code==="Enter")&&(O.preventDefault(),te(!f))},tabIndex:0,"data-testid":"selected-input",style:{...K,...l},"aria-expanded":f,"aria-haspopup":"listbox","aria-multiselectable":"true","aria-autocomplete":"list",role:"combobox",children:le}),_.jsx("span",{className:Oe.dropDownIcon,onClick:()=>te(!f),"data-testid":"arrow-button",children:_.jsx("svg",{width:"12px",height:"7px",viewBox:"0 0 12 7",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:_.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:_.jsx("g",{transform:"translate(-2360.000000, -295.000000)",fill:"#666666",children:_.jsx("g",{transform:"translate(2006.000000, 248.000000)",children:_.jsx("path",{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",transform:"translate(360.343146, 48.343146) scale(-1, -1) rotate(-225.000000) translate(-360.343146, -48.343146)"})})})})})})]}),_.jsx("div",{id:"announcement","aria-live":"assertive",role:"alert",className:Oe.announcement}),D?xe.createPortal(_.jsx(_.Fragment,{children:f&&v&&_.jsx("div",{onClick:Ge,style:{position:"fixed",inset:0,backgroundColor:"rgba(255,255,255,0)",zIndex:1e3},children:_.jsxs("div",{className:`${Oe.optionsListContainer}`,ref:y,onClick:O=>O.stopPropagation(),style:{opacity:P.left?1:0,width:v.current?v.current.clientWidth:"auto",left:P.left,top:P.top},children:[_.jsxs("div",{className:Oe.optionsListWrap,children:[e.length>=6&&_.jsx("div",{className:Oe.searchInputWrap,children:_.jsx("input",{type:"text",ref:E,placeholder:"Type to filter",className:Oe.searchInput,value:m,onChange:O=>b(O.target.value),"data-testid":"search-input",onKeyDown:O=>{fe(O)}})}),_.jsx("ul",{ref:k,role:"listbox",children:s.current.map((O,V)=>_.jsxs("li",{className:`${Oe.optionsList} ${V===S?Oe.focused:""}`,onClick:()=>T(O.value),"aria-selected":V===S,role:"option",children:[_.jsx(Ro,{themeColor:o,checked:a.includes(O.value),disabled:O.disable||r!==void 0&&a.length>=r&&!a.includes(O.value)}),_.jsx("span",{children:O.label})]},O.value))})]}),_.jsxs("div",{className:Oe.btnContainer,children:[_.jsx("input",{ref:w,onKeyDown:O=>{fe(O)},className:Oe.hiddenButton}),_.jsx(Fn,{themeColor:o,variant:"primary",size:"medium",onClick:()=>{d(!1),b(""),z(),n(a)},"data-testid":"done-button",onKeyDown:O=>{ae(O)},ref:x,children:"Done"})]})]})})}),document.body):null]})})},an={multiSelectContainer:"_multiSelectContainer_1rhxq_1",quickOptionsWrap:"_quickOptionsWrap_1rhxq_4",selected:"_selected_1rhxq_11",disabled:"_disabled_1rhxq_17"},ma=({options:e,checkedValue:t,onSelectionChange:n,maxOptions:r,themeColor:o,className:i="",style:l={},id:s=""})=>{const[a,h]=c.useState(t),m=c.useRef({});let b={},f;const d=u=>{const p=e.find(x=>x.value===u);if(!p||p.disable)return;m.current[u]?.click();const E=a.includes(u)?a.filter(x=>x!==u):[...a,u];(r===void 0||E.length<=r)&&(h(E),n(E))};if(o){f=rt(o),o=$e.convert3HexTo6(o);const u=o==="#ffffff"?"#333333":o;(f==="dark"||f==="light")&&(b={outlineColor:u,borderColor:u,color:o==="#ffffff"||f==="light"?"#333333":o})}return _.jsx("div",{className:an.multiSelectContainer,role:"group",children:_.jsx("ul",{className:an.quickOptionsWrap,id:s,children:e.map(u=>_.jsx("li",{style:{...b,...l},className:`${i} ${u.disable||r!==void 0&&a.length>=r&&!a.includes(u.value)?an.disabled:""} ${a.includes(u.value)?an.selected:""}`,tabIndex:u.disable?-1:0,onClick:()=>d(u.value),onKeyPress:p=>{(p.key===" "||p.code==="Space")&&(p.preventDefault(),d(u.value))},"data-testid":"option-box",children:_.jsx(Ln,{id:u.value,checkboxSize:"large",tabIndex:-1,themeColor:o,ref:p=>{m.current[u.value]=p},checked:a.includes(u.value),disabled:u.disable||r!==void 0&&a.length>=r&&!a.includes(u.value),children:_.jsx("span",{style:{color:o&&(o==="#ffffff"||f==="light")||u.disable||r!==void 0&&a.length>=r&&!a.includes(u.value)?"#333333":o&&(o!=="#ffffff"||f!=="light")?o:"#006bb1"},children:u.label})})},u.value))})})},Je={singleSelectWrapper:"_singleSelectWrapper_1x2o4_1",quickOption:"_quickOption_1x2o4_4",selected:"_selected_1x2o4_10",triangle:"_triangle_1x2o4_16",loader:"_loader_1x2o4_19","tw-spin":"_tw-spin_1x2o4_1",checkmarkWrap:"_checkmarkWrap_1x2o4_22",checkmark:"_checkmark_1x2o4_22",fill:"_fill_1x2o4_1",scale:"_scale_1x2o4_1",checkmarkCheck:"_checkmarkCheck_1x2o4_29",stroke:"_stroke_1x2o4_1",disabled:"_disabled_1x2o4_34"},ha=({options:e,onSelect:t,selected:n,themeColor:r,className:o="",style:i={},showLoader:l=!1,id:s=""})=>{const[a,h]=c.useState(n);let m={},b={},f="#ffffff";const d=u=>{if(a?.value===u?.value){h(void 0),t(void 0);return}t(u),h(u)};if(r){const u=rt(r);r=$e.convert3HexTo6(r);const p=r==="#ffffff"?"#333333":r;(u==="dark"||u==="light")&&(f=r==="#ffffff"||u==="dark"?"#ffffff":"#333333",m={outlineColor:p,borderColor:p,color:r==="#ffffff"||u==="light"?"#333333":r},b={borderRightColor:p,borderTopColor:p})}return _.jsx("div",{className:Je.singleSelectWrapper,children:_.jsx("div",{className:Je.quickOption,children:_.jsx("ul",{className:Je.quickOption,role:"radiogroup",id:s,children:e.map(u=>_.jsxs("li",{tabIndex:u.disable?-1:0,className:`${o} ${a?.value===u.value?Je.selected:""} ${u.disable?Je.disabled:""}`,style:{...m,...i},onClick:()=>d(u),onKeyPress:p=>{(p.key===" "||p.code==="Space")&&(p.preventDefault(),d(u))},"data-testid":"checkbox-input",role:"radio","aria-checked":a?.value===u.value,children:[u.label,a?.value===u.value&&!u.disable&&_.jsxs("div",{className:Je.triangle,style:{...b},children:[l&&_.jsx("div",{className:Je.loader,style:{borderRightColor:r??"#006bb1"}}),!l&&_.jsx("div",{className:Je.checkmarkWrap,children:_.jsx("svg",{className:Je.checkmark,xmlns:"http://www.w3.org/2000/svg",width:"11",height:"9",viewBox:"0 0 11 9",fill:"none",children:_.jsx("path",{className:Je.checkmarkCheck,stroke:f,d:"M2.1 4.34286L4.12857 6.40001L8.9 1.60001",strokeWidth:"2"})})})]})]},u.value))})})})},va={scrollbarContainer:"_scrollbarContainer_40vsr_1"},Uo=c.forwardRef(({children:e,className:t="",style:n={},...r},o)=>{const i=[va.scrollbarContainer,t].filter(Boolean).join(" ");return _.jsx(_.Fragment,{children:_.jsx("div",{ref:o,style:{...n},className:i,...r,children:e})})});Uo.displayName="Scrollbar";const zo=typeof document<"u"?c.useLayoutEffect:()=>{};function ba(e){const t=c.useRef(null);return zo(()=>{t.current=e},[e]),c.useCallback((...n)=>{const r=t.current;return r?.(...n)},[])}const st=e=>{var t;return(t=e?.ownerDocument)!==null&&t!==void 0?t:document},ft=e=>e&&"window"in e&&e.window===e?e:st(e).defaultView||window;function ga(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function wa(e){return ga(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let xa=!1;function Rn(){return xa}function $o(e,t){if(!Rn())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let n=t;for(;n!==null;){if(n===e)return!0;n.tagName==="SLOT"&&n.assignedSlot?n=n.assignedSlot.parentNode:wa(n)?n=n.host:n=n.parentNode}return!1}const Un=(e=document)=>{var t;if(!Rn())return e.activeElement;let n=e.activeElement;for(;n&&"shadowRoot"in n&&(!((t=n.shadowRoot)===null||t===void 0)&&t.activeElement);)n=n.shadowRoot.activeElement;return n};function qo(e){return Rn()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}function ya(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(n=>e.test(n.brand)))||e.test(window.navigator.userAgent)}function Ea(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function Yo(e){let t=null;return()=>(t==null&&(t=e()),t)}const Sa=Yo(function(){return Ea(/^Mac/i)}),Oa=Yo(function(){return ya(/Android/i)});function Ko(){let e=c.useRef(new Map),t=c.useCallback((o,i,l,s)=>{let a=s?.once?(...h)=>{e.current.delete(l),l(...h)}:l;e.current.set(l,{type:i,eventTarget:o,fn:a,options:s}),o.addEventListener(i,a,s)},[]),n=c.useCallback((o,i,l,s)=>{var a;let h=((a=e.current.get(l))===null||a===void 0?void 0:a.fn)||l;o.removeEventListener(i,h,s),e.current.delete(l)},[]),r=c.useCallback(()=>{e.current.forEach((o,i)=>{n(o.eventTarget,o.type,i,o.options)})},[n]);return c.useEffect(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}function Ta(e){return e.mozInputSource===0&&e.isTrusted?!0:Oa()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}class Go{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(t,n){this.nativeEvent=n,this.target=n.target,this.currentTarget=n.currentTarget,this.relatedTarget=n.relatedTarget,this.bubbles=n.bubbles,this.cancelable=n.cancelable,this.defaultPrevented=n.defaultPrevented,this.eventPhase=n.eventPhase,this.isTrusted=n.isTrusted,this.timeStamp=n.timeStamp,this.type=t}}function Xo(e){let t=c.useRef({isFocused:!1,observer:null});zo(()=>{const r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]);let n=ba(r=>{e?.(r)});return c.useCallback(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){t.current.isFocused=!0;let o=r.target,i=l=>{t.current.isFocused=!1,o.disabled&&n(new Go("blur",l)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};o.addEventListener("focusout",i,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&o.disabled){var l;(l=t.current.observer)===null||l===void 0||l.disconnect();let s=o===document.activeElement?null:document.activeElement;o.dispatchEvent(new FocusEvent("blur",{relatedTarget:s})),o.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:s}))}}),t.current.observer.observe(o,{attributes:!0,attributeFilter:["disabled"]})}},[n])}let ka=!1,Wt=null,zn=new Set,Bt=new Map,pt=!1,$n=!1;const Ca={Tab:!0,Escape:!0};function qn(e,t){for(let n of zn)n(e,t)}function _a(e){return!(e.metaKey||!Sa()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function un(e){pt=!0,_a(e)&&(Wt="keyboard",qn("keyboard",e))}function ze(e){Wt="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(pt=!0,qn("pointer",e))}function Qo(e){Ta(e)&&(pt=!0,Wt="virtual")}function Jo(e){e.target===window||e.target===document||ka||!e.isTrusted||(!pt&&!$n&&(Wt="virtual",qn("virtual",e)),pt=!1,$n=!1)}function Zo(){pt=!1,$n=!0}function Yn(e){if(typeof window>"u"||Bt.get(ft(e)))return;const t=ft(e),n=st(e);let r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){pt=!0,r.apply(this,arguments)},n.addEventListener("keydown",un,!0),n.addEventListener("keyup",un,!0),n.addEventListener("click",Qo,!0),t.addEventListener("focus",Jo,!0),t.addEventListener("blur",Zo,!1),typeof PointerEvent<"u"?(n.addEventListener("pointerdown",ze,!0),n.addEventListener("pointermove",ze,!0),n.addEventListener("pointerup",ze,!0)):(n.addEventListener("mousedown",ze,!0),n.addEventListener("mousemove",ze,!0),n.addEventListener("mouseup",ze,!0)),t.addEventListener("beforeunload",()=>{ei(e)},{once:!0}),Bt.set(t,{focus:r})}const ei=(e,t)=>{const n=ft(e),r=st(e);t&&r.removeEventListener("DOMContentLoaded",t),Bt.has(n)&&(n.HTMLElement.prototype.focus=Bt.get(n).focus,r.removeEventListener("keydown",un,!0),r.removeEventListener("keyup",un,!0),r.removeEventListener("click",Qo,!0),n.removeEventListener("focus",Jo,!0),n.removeEventListener("blur",Zo,!1),typeof PointerEvent<"u"?(r.removeEventListener("pointerdown",ze,!0),r.removeEventListener("pointermove",ze,!0),r.removeEventListener("pointerup",ze,!0)):(r.removeEventListener("mousedown",ze,!0),r.removeEventListener("mousemove",ze,!0),r.removeEventListener("mouseup",ze,!0)),Bt.delete(n))};function Ia(e){const t=st(e);let n;return t.readyState!=="loading"?Yn(e):(n=()=>{Yn(e)},t.addEventListener("DOMContentLoaded",n)),()=>ei(e,n)}typeof document<"u"&&Ia();function ti(){return Wt!=="pointer"}const Pa=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Ma(e,t,n){let r=st(n?.target);const o=typeof window<"u"?ft(n?.target).HTMLInputElement:HTMLInputElement,i=typeof window<"u"?ft(n?.target).HTMLTextAreaElement:HTMLTextAreaElement,l=typeof window<"u"?ft(n?.target).HTMLElement:HTMLElement,s=typeof window<"u"?ft(n?.target).KeyboardEvent:KeyboardEvent;return e=e||r.activeElement instanceof o&&!Pa.has(r.activeElement.type)||r.activeElement instanceof i||r.activeElement instanceof l&&r.activeElement.isContentEditable,!(e&&t==="keyboard"&&n instanceof s&&!Ca[n.key])}function Aa(e,t,n){Yn(),c.useEffect(()=>{let r=(o,i)=>{Ma(!!n?.isTextInput,o,i)&&e(ti())};return zn.add(r),()=>{zn.delete(r)}},t)}function Fa(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:o}=e;const i=c.useCallback(a=>{if(a.target===a.currentTarget)return r&&r(a),o&&o(!1),!0},[r,o]),l=Xo(i),s=c.useCallback(a=>{const h=st(a.target),m=h?Un(h):Un();a.target===a.currentTarget&&m===qo(a.nativeEvent)&&(n&&n(a),o&&o(!0),l(a))},[o,n,l]);return{focusProps:{onFocus:!t&&(n||o||r)?s:void 0,onBlur:!t&&(r||o)?i:void 0}}}function La(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:o}=e,i=c.useRef({isFocusWithin:!1}),{addGlobalListener:l,removeAllGlobalListeners:s}=Ko(),a=c.useCallback(b=>{b.currentTarget.contains(b.target)&&i.current.isFocusWithin&&!b.currentTarget.contains(b.relatedTarget)&&(i.current.isFocusWithin=!1,s(),n&&n(b),o&&o(!1))},[n,o,i,s]),h=Xo(a),m=c.useCallback(b=>{if(!b.currentTarget.contains(b.target))return;const f=st(b.target),d=Un(f);if(!i.current.isFocusWithin&&d===qo(b.nativeEvent)){r&&r(b),o&&o(!0),i.current.isFocusWithin=!0,h(b);let u=b.currentTarget;l(f,"focus",p=>{if(i.current.isFocusWithin&&!$o(u,p.target)){let v=new Go("blur",new f.defaultView.FocusEvent("blur",{relatedTarget:p.target}));v.target=u,v.currentTarget=u,a(v)}},{capture:!0})}},[r,o,h,l,a]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:m,onBlur:a}}}let cn=!1,Kn=0;function Gn(){cn=!0,setTimeout(()=>{cn=!1},50)}function ni(e){e.pointerType==="touch"&&Gn()}function Na(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",ni):document.addEventListener("touchend",Gn),Kn++,()=>{Kn--,!(Kn>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",ni):document.removeEventListener("touchend",Gn))}}function Xn(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:o}=e,[i,l]=c.useState(!1),s=c.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;c.useEffect(Na,[]);let{addGlobalListener:a,removeAllGlobalListeners:h}=Ko(),{hoverProps:m,triggerHoverEnd:b}=c.useMemo(()=>{let f=(p,v)=>{if(s.pointerType=v,o||v==="touch"||s.isHovered||!p.currentTarget.contains(p.target))return;s.isHovered=!0;let y=p.currentTarget;s.target=y,a(st(p.target),"pointerover",E=>{s.isHovered&&s.target&&!$o(s.target,E.target)&&d(E,E.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:y,pointerType:v}),n&&n(!0),l(!0)},d=(p,v)=>{let y=s.target;s.pointerType="",s.target=null,!(v==="touch"||!s.isHovered||!y)&&(s.isHovered=!1,h(),r&&r({type:"hoverend",target:y,pointerType:v}),n&&n(!1),l(!1))},u={};return typeof PointerEvent<"u"?(u.onPointerEnter=p=>{cn&&p.pointerType==="mouse"||f(p,p.pointerType)},u.onPointerLeave=p=>{!o&&p.currentTarget.contains(p.target)&&d(p,p.pointerType)}):(u.onTouchStart=()=>{s.ignoreEmulatedMouseEvents=!0},u.onMouseEnter=p=>{!s.ignoreEmulatedMouseEvents&&!cn&&f(p,"mouse"),s.ignoreEmulatedMouseEvents=!1},u.onMouseLeave=p=>{!o&&p.currentTarget.contains(p.target)&&d(p,"mouse")}),{hoverProps:u,triggerHoverEnd:d}},[t,n,r,o,s,a,h]);return c.useEffect(()=>{o&&b({currentTarget:s.target},s.pointerType)},[o]),{hoverProps:m,isHovered:i}}function Qn(e={}){let{autoFocus:t=!1,isTextInput:n,within:r}=e,o=c.useRef({isFocused:!1,isFocusVisible:t||ti()}),[i,l]=c.useState(!1),[s,a]=c.useState(()=>o.current.isFocused&&o.current.isFocusVisible),h=c.useCallback(()=>a(o.current.isFocused&&o.current.isFocusVisible),[]),m=c.useCallback(d=>{o.current.isFocused=d,l(d),h()},[h]);Aa(d=>{o.current.isFocusVisible=d,h()},[],{isTextInput:n});let{focusProps:b}=Fa({isDisabled:r,onFocusChange:m}),{focusWithinProps:f}=La({isDisabled:!r,onFocusWithinChange:m});return{isFocused:i,isFocusVisible:s,focusProps:r?f:b}}var Da=Object.defineProperty,ja=(e,t,n)=>t in e?Da(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Jn=(e,t,n)=>(ja(e,typeof t!="symbol"?t+"":t,n),n);let Wa=class{constructor(){Jn(this,"current",this.detect()),Jn(this,"handoffState","pending"),Jn(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},mt=new Wa;function St(e){return mt.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}function ri(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function qe(){let e=[],t={addEventListener(n,r,o,i){return n.addEventListener(r,o,i),t.add(()=>n.removeEventListener(r,o,i))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(...n){let r=setTimeout(...n);return t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return ri(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,o){let i=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:o}),this.add(()=>{Object.assign(n.style,{[r]:i})})},group(n){let r=qe();return n(r),this.add(()=>r.dispose())},add(n){return e.includes(n)||e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let o of e.splice(r,1))o()}},dispose(){for(let n of e.splice(0))n()}};return t}function lt(){let[e]=c.useState(qe);return c.useEffect(()=>()=>e.dispose(),[e]),e}let ue=(e,t)=>{mt.isServer?c.useEffect(e,t):c.useLayoutEffect(e,t)};function nt(e){let t=c.useRef(e);return ue(()=>{t.current=e},[e]),t}let A=function(e){let t=nt(e);return c.useCallback((...n)=>t.current(...n),[t])};function Ba(e){let t=e.width/2,n=e.height/2;return{top:e.clientY-n,right:e.clientX+t,bottom:e.clientY+n,left:e.clientX-t}}function Va(e,t){return!(!e||!t||e.right<t.left||e.left>t.right||e.bottom<t.top||e.top>t.bottom)}function oi({disabled:e=!1}={}){let t=c.useRef(null),[n,r]=c.useState(!1),o=lt(),i=A(()=>{t.current=null,r(!1),o.dispose()}),l=A(s=>{if(o.dispose(),t.current===null){t.current=s.currentTarget,r(!0);{let a=St(s.currentTarget);o.addEventListener(a,"pointerup",i,!1),o.addEventListener(a,"pointermove",h=>{if(t.current){let m=Ba(h);r(Va(m,t.current.getBoundingClientRect()))}},!1),o.addEventListener(a,"pointercancel",i,!1)}}});return{pressed:n,pressProps:e?{}:{onPointerDown:l,onPointerUp:i,onClick:i}}}let Ha=c.createContext(void 0);function dn(){return c.useContext(Ha)}function Zn(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}function Te(e,t,...n){if(e in t){let o=t[e];return typeof o=="function"?o(...n):o}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(o=>`"${o}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Te),r}var Ot=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Ot||{}),at=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(at||{});function Ee(){let e=Ua();return c.useCallback(t=>Ra({mergeRefs:e,...t}),[e])}function Ra({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:o,visible:i=!0,name:l,mergeRefs:s}){s=s??za;let a=ii(t,e);if(i)return fn(a,n,r,l,s);let h=o??0;if(h&2){let{static:m=!1,...b}=a;if(m)return fn(b,n,r,l,s)}if(h&1){let{unmount:m=!0,...b}=a;return Te(m?0:1,{0(){return null},1(){return fn({...b,hidden:!0,style:{display:"none"}},n,r,l,s)}})}return fn(a,n,r,l,s)}function fn(e,t={},n,r,o){let{as:i=n,children:l,refName:s="ref",...a}=er(e,["unmount","static"]),h=e.ref!==void 0?{[s]:e.ref}:{},m=typeof l=="function"?l(t):l;"className"in a&&a.className&&typeof a.className=="function"&&(a.className=a.className(t)),a["aria-labelledby"]&&a["aria-labelledby"]===a.id&&(a["aria-labelledby"]=void 0);let b={};if(t){let f=!1,d=[];for(let[u,p]of Object.entries(t))typeof p=="boolean"&&(f=!0),p===!0&&d.push(u.replace(/([A-Z])/g,v=>`-${v.toLowerCase()}`));if(f){b["data-headlessui-state"]=d.join(" ");for(let u of d)b[`data-${u}`]=""}}if(i===c.Fragment&&(Object.keys(ut(a)).length>0||Object.keys(ut(b)).length>0))if(!c.isValidElement(m)||Array.isArray(m)&&m.length>1){if(Object.keys(ut(a)).length>0)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(ut(a)).concat(Object.keys(ut(b))).map(f=>` - ${f}`).join(`
|
|
34
|
+
`),"","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(f=>` - ${f}`).join(`
|
|
31
35
|
`)].join(`
|
|
32
|
-
`));let b=s.props,l=typeof b?.className=="function"?(...c)=>cn(b?.className(...c),o.className):cn(b?.className,o.className),v=l?{className:l}:{};return f.cloneElement(s,Object.assign({},ba(s.props,pn(Jn(o,["ref"]))),m,u,Yu(s.ref,u.ref),v))}return f.createElement(i,Object.assign({},Jn(o,["ref"]),i!==f.Fragment&&u,i!==f.Fragment&&m),s)}function Yu(...e){return{ref:e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}}function ba(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let i in r)i.startsWith("on")&&typeof r[i]=="function"?(n[i]!=null||(n[i]=[]),n[i].push(r[i])):t[i]=r[i];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(r=>[r,void 0])));for(let r in n)Object.assign(t,{[r](i,...a){let d=n[r];for(let o of d){if((i instanceof Event||i?.nativeEvent instanceof Event)&&i.defaultPrevented)return;o(i,...a)}}});return t}function Fe(e){var t;return Object.assign(f.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function pn(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function Jn(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function ga(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=t?.getAttribute("disabled")==="";return r&&zu(n)?!1:r}function zu(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}function Qn(e={},t=null,n=[]){for(let[r,i]of Object.entries(e))wa(n,ya(t,r),i);return n}function ya(e,t){return e?e+"["+t+"]":t}function wa(e,t,n){if(Array.isArray(n))for(let[r,i]of n.entries())wa(e,ya(t,r.toString()),i);else n instanceof Date?e.push([t,n.toISOString()]):typeof n=="boolean"?e.push([t,n?"1":"0"]):typeof n=="string"?e.push([t,n]):typeof n=="number"?e.push([t,`${n}`]):n==null?e.push([t,""]):Qn(n,t,e)}let Zu="div";var er=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(er||{});function Xu(e,t){let{features:n=1,...r}=e,i={ref:t,"aria-hidden":(n&2)===2?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(n&4)===4&&(n&2)!==2&&{display:"none"}}};return We({ourProps:i,theirProps:r,slot:{},defaultTag:Zu,name:"Hidden"})}let Ca=Fe(Xu),tr=f.createContext(null);tr.displayName="OpenClosedContext";var Ie=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(Ie||{});function vn(){return f.useContext(tr)}function nr({value:e,children:t}){return f.createElement(tr.Provider,{value:e},t)}var ve=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(ve||{});function Oa(e,t,n){let[r,i]=f.useState(n),a=e!==void 0,d=f.useRef(a),o=f.useRef(!1),u=f.useRef(!1);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,B(s=>(a||i(s),t?.(s)))]}function xa(e,t){let n=f.useRef([]),r=B(e);f.useEffect(()=>{let i=[...n.current];for(let[a,d]of t.entries())if(n.current[a]!==d){let o=r(t,i);return n.current=t,o}},[r,...t])}function Sa(e){return[e.screenX,e.screenY]}function Pa(){let e=f.useRef([-1,-1]);return{wasMoved(t){let n=Sa(t);return e.current[0]===n[0]&&e.current[1]===n[1]?!1:(e.current=n,!0)},update(t){e.current=Sa(t)}}}function Ju(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Qu(){return/Android/gi.test(window.navigator.userAgent)}function el(){return Ju()||Qu()}function tl(...e){return f.useMemo(()=>ln(...e),[...e])}var nl=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(nl||{}),rl=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(rl||{}),il=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(il||{}),al=(e=>(e[e.OpenCombobox=0]="OpenCombobox",e[e.CloseCombobox=1]="CloseCombobox",e[e.GoToOption=2]="GoToOption",e[e.RegisterOption=3]="RegisterOption",e[e.UnregisterOption=4]="UnregisterOption",e[e.RegisterLabel=5]="RegisterLabel",e))(al||{});function rr(e,t=n=>n){let n=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,r=pa(t(e.options.slice()),a=>a.dataRef.current.domRef.current),i=n?r.indexOf(n):null;return i===-1&&(i=null),{options:r,activeOptionIndex:i}}let dl={1(e){var t;return(t=e.dataRef.current)!=null&&t.disabled||e.comboboxState===1?e:{...e,activeOptionIndex:null,comboboxState:1}},0(e){var t;if((t=e.dataRef.current)!=null&&t.disabled||e.comboboxState===0)return e;let n=e.activeOptionIndex;if(e.dataRef.current){let{isSelected:r}=e.dataRef.current,i=e.options.findIndex(a=>r(a.dataRef.current.value));i!==-1&&(n=i)}return{...e,comboboxState:0,activeOptionIndex:n}},2(e,t){var n,r,i,a;if((n=e.dataRef.current)!=null&&n.disabled||(r=e.dataRef.current)!=null&&r.optionsRef.current&&!((i=e.dataRef.current)!=null&&i.optionsPropsRef.current.static)&&e.comboboxState===1)return e;let d=rr(e);if(d.activeOptionIndex===null){let u=d.options.findIndex(s=>!s.dataRef.current.disabled);u!==-1&&(d.activeOptionIndex=u)}let o=$a(t,{resolveItems:()=>d.options,resolveActiveIndex:()=>d.activeOptionIndex,resolveId:u=>u.id,resolveDisabled:u=>u.dataRef.current.disabled});return{...e,...d,activeOptionIndex:o,activationTrigger:(a=t.trigger)!=null?a:1}},3:(e,t)=>{var n,r;let i={id:t.id,dataRef:t.dataRef},a=rr(e,o=>[...o,i]);e.activeOptionIndex===null&&(n=e.dataRef.current)!=null&&n.isSelected(t.dataRef.current.value)&&(a.activeOptionIndex=a.options.indexOf(i));let d={...e,...a,activationTrigger:1};return(r=e.dataRef.current)!=null&&r.__demoMode&&e.dataRef.current.value===void 0&&(d.activeOptionIndex=0),d},4:(e,t)=>{let n=rr(e,r=>{let i=r.findIndex(a=>a.id===t.id);return i!==-1&&r.splice(i,1),r});return{...e,...n,activationTrigger:1}},5:(e,t)=>({...e,labelId:t.id})},ir=f.createContext(null);ir.displayName="ComboboxActionsContext";function Yt(e){let t=f.useContext(ir);if(t===null){let n=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Yt),n}return t}let ar=f.createContext(null);ar.displayName="ComboboxDataContext";function Tt(e){let t=f.useContext(ar);if(t===null){let n=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Tt),n}return t}function ol(e,t){return Ce(t.type,dl,e,t)}let ul=f.Fragment;function ll(e,t){let{value:n,defaultValue:r,onChange:i,form:a,name:d,by:o=(S,F)=>S===F,disabled:u=!1,__demoMode:s=!1,nullable:m=!1,multiple:b=!1,...l}=e,[v=b?[]:void 0,c]=Oa(n,i,r),[h,p]=f.useReducer(ol,{dataRef:f.createRef(),comboboxState:s?0:1,options:[],activeOptionIndex:null,activationTrigger:1,labelId:null}),g=f.useRef(!1),E=f.useRef({static:!1,hold:!1}),C=f.useRef(null),O=f.useRef(null),w=f.useRef(null),P=f.useRef(null),W=B(typeof o=="string"?(S,F)=>{let R=o;return S?.[R]===F?.[R]}:o),_=f.useCallback(S=>Ce(I.mode,{1:()=>v.some(F=>W(F,S)),0:()=>W(v,S)}),[v]),I=f.useMemo(()=>({...h,optionsPropsRef:E,labelRef:C,inputRef:O,buttonRef:w,optionsRef:P,value:v,defaultValue:r,disabled:u,mode:b?1:0,get activeOptionIndex(){if(g.current&&h.activeOptionIndex===null&&h.options.length>0){let S=h.options.findIndex(F=>!F.dataRef.current.disabled);if(S!==-1)return S}return h.activeOptionIndex},compare:W,isSelected:_,nullable:m,__demoMode:s}),[v,r,u,b,m,s,h]),q=f.useRef(I.activeOptionIndex!==null?I.options[I.activeOptionIndex]:null);f.useEffect(()=>{let S=I.activeOptionIndex!==null?I.options[I.activeOptionIndex]:null;q.current!==S&&(q.current=S)}),xe(()=>{h.dataRef.current=I},[I]),va([I.buttonRef,I.inputRef,I.optionsRef],()=>x.closeCombobox(),I.comboboxState===0);let te=f.useMemo(()=>({open:I.comboboxState===0,disabled:u,activeIndex:I.activeOptionIndex,activeOption:I.activeOptionIndex===null?null:I.options[I.activeOptionIndex].dataRef.current.value,value:v}),[I,u,v]),re=B(S=>{let F=I.options.find(R=>R.id===S);F&&oe(F.dataRef.current.value)}),N=B(()=>{if(I.activeOptionIndex!==null){let{dataRef:S,id:F}=I.options[I.activeOptionIndex];oe(S.current.value),x.goToOption(pe.Specific,F)}}),z=B(()=>{p({type:0}),g.current=!0}),ie=B(()=>{p({type:1}),g.current=!1}),ae=B((S,F,R)=>(g.current=!1,S===pe.Specific?p({type:2,focus:pe.Specific,id:F,trigger:R}):p({type:2,focus:S,trigger:R}))),G=B((S,F)=>(p({type:3,id:S,dataRef:F}),()=>{var R;((R=q.current)==null?void 0:R.id)===S&&(g.current=!0),p({type:4,id:S})})),se=B(S=>(p({type:5,id:S}),()=>p({type:5,id:null}))),oe=B(S=>Ce(I.mode,{0(){return c?.(S)},1(){let F=I.value.slice(),R=F.findIndex(V=>W(V,S));return R===-1?F.push(S):F.splice(R,1),c?.(F)}})),x=f.useMemo(()=>({onChange:oe,registerOption:G,registerLabel:se,goToOption:ae,closeCombobox:ie,openCombobox:z,selectActiveOption:N,selectOption:re}),[]),j=t===null?{}:{ref:t},U=f.useRef(null),M=lt();return f.useEffect(()=>{U.current&&r!==void 0&&M.addEventListener(U.current,"reset",()=>{c?.(r)})},[U,c]),f.createElement(ir.Provider,{value:x},f.createElement(ar.Provider,{value:I},f.createElement(nr,{value:Ce(I.comboboxState,{0:Ie.Open,1:Ie.Closed})},d!=null&&v!=null&&Qn({[d]:v}).map(([S,F],R)=>f.createElement(Ca,{features:er.Hidden,ref:R===0?V=>{var K;U.current=(K=V?.closest("form"))!=null?K:null}:void 0,...pn({key:S,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:a,name:S,value:F})})),We({ourProps:j,theirProps:l,slot:te,defaultTag:ul,name:"Combobox"}))))}let sl="input";function cl(e,t){var n,r,i,a;let d=st(),{id:o=`headlessui-combobox-input-${d}`,onChange:u,displayValue:s,type:m="text",...b}=e,l=Tt("Combobox.Input"),v=Yt("Combobox.Input"),c=Ke(l.inputRef,t),h=tl(l.inputRef),p=f.useRef(!1),g=lt(),E=B(()=>{v.onChange(null),l.optionsRef.current&&(l.optionsRef.current.scrollTop=0),v.goToOption(pe.Nothing)}),C=function(){var N;return typeof s=="function"&&l.value!==void 0?(N=s(l.value))!=null?N:"":typeof l.value=="string"?l.value:""}();xa(([N,z],[ie,ae])=>{if(p.current)return;let G=l.inputRef.current;G&&((ae===0&&z===1||N!==ie)&&(G.value=N),requestAnimationFrame(()=>{if(p.current||!G||h?.activeElement!==G)return;let{selectionStart:se,selectionEnd:oe}=G;Math.abs((oe??0)-(se??0))===0&&se===0&&G.setSelectionRange(G.value.length,G.value.length)}))},[C,l.comboboxState,h]),xa(([N],[z])=>{if(N===0&&z===1){if(p.current)return;let ie=l.inputRef.current;if(!ie)return;let ae=ie.value,{selectionStart:G,selectionEnd:se,selectionDirection:oe}=ie;ie.value="",ie.value=ae,oe!==null?ie.setSelectionRange(G,se,oe):ie.setSelectionRange(G,se)}},[l.comboboxState]);let O=f.useRef(!1),w=B(()=>{O.current=!0}),P=B(()=>{g.nextFrame(()=>{O.current=!1})}),W=B(N=>{switch(p.current=!0,N.key){case ve.Enter:if(p.current=!1,l.comboboxState!==0||O.current)return;if(N.preventDefault(),N.stopPropagation(),l.activeOptionIndex===null){v.closeCombobox();return}v.selectActiveOption(),l.mode===0&&v.closeCombobox();break;case ve.ArrowDown:return p.current=!1,N.preventDefault(),N.stopPropagation(),Ce(l.comboboxState,{0:()=>{v.goToOption(pe.Next)},1:()=>{v.openCombobox()}});case ve.ArrowUp:return p.current=!1,N.preventDefault(),N.stopPropagation(),Ce(l.comboboxState,{0:()=>{v.goToOption(pe.Previous)},1:()=>{v.openCombobox(),g.nextFrame(()=>{l.value||v.goToOption(pe.Last)})}});case ve.Home:if(N.shiftKey)break;return p.current=!1,N.preventDefault(),N.stopPropagation(),v.goToOption(pe.First);case ve.PageUp:return p.current=!1,N.preventDefault(),N.stopPropagation(),v.goToOption(pe.First);case ve.End:if(N.shiftKey)break;return p.current=!1,N.preventDefault(),N.stopPropagation(),v.goToOption(pe.Last);case ve.PageDown:return p.current=!1,N.preventDefault(),N.stopPropagation(),v.goToOption(pe.Last);case ve.Escape:return p.current=!1,l.comboboxState!==0?void 0:(N.preventDefault(),l.optionsRef.current&&!l.optionsPropsRef.current.static&&N.stopPropagation(),l.nullable&&l.mode===0&&l.value===null&&E(),v.closeCombobox());case ve.Tab:if(p.current=!1,l.comboboxState!==0)return;l.mode===0&&v.selectActiveOption(),v.closeCombobox();break}}),_=B(N=>{u?.(N),l.nullable&&l.mode===0&&N.target.value===""&&E(),v.openCombobox()}),I=B(()=>{p.current=!1}),q=Kt(()=>{if(l.labelId)return[l.labelId].join(" ")},[l.labelId]),te=f.useMemo(()=>({open:l.comboboxState===0,disabled:l.disabled}),[l]),re={ref:c,id:o,role:"combobox",type:m,"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":q,"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:P,onKeyDown:W,onChange:_,onBlur:I};return We({ourProps:re,theirProps:b,slot:te,defaultTag:sl,name:"Combobox.Input"})}let fl="button";function pl(e,t){var n;let r=Tt("Combobox.Button"),i=Yt("Combobox.Button"),a=Ke(r.buttonRef,t),d=st(),{id:o=`headlessui-combobox-button-${d}`,...u}=e,s=lt(),m=B(h=>{switch(h.key){case ve.ArrowDown:return h.preventDefault(),h.stopPropagation(),r.comboboxState===1&&i.openCombobox(),s.nextFrame(()=>{var p;return(p=r.inputRef.current)==null?void 0:p.focus({preventScroll:!0})});case ve.ArrowUp:return h.preventDefault(),h.stopPropagation(),r.comboboxState===1&&(i.openCombobox(),s.nextFrame(()=>{r.value||i.goToOption(pe.Last)})),s.nextFrame(()=>{var p;return(p=r.inputRef.current)==null?void 0:p.focus({preventScroll:!0})});case ve.Escape:return r.comboboxState!==0?void 0:(h.preventDefault(),r.optionsRef.current&&!r.optionsPropsRef.current.static&&h.stopPropagation(),i.closeCombobox(),s.nextFrame(()=>{var p;return(p=r.inputRef.current)==null?void 0:p.focus({preventScroll:!0})}));default:return}}),b=B(h=>{if(ga(h.currentTarget))return h.preventDefault();r.comboboxState===0?i.closeCombobox():(h.preventDefault(),i.openCombobox()),s.nextFrame(()=>{var p;return(p=r.inputRef.current)==null?void 0:p.focus({preventScroll:!0})})}),l=Kt(()=>{if(r.labelId)return[r.labelId,o].join(" ")},[r.labelId,o]),v=f.useMemo(()=>({open:r.comboboxState===0,disabled:r.disabled,value:r.value}),[r]),c={ref:a,id:o,type:ma(e,r.buttonRef),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":(n=r.optionsRef.current)==null?void 0:n.id,"aria-expanded":r.comboboxState===0,"aria-labelledby":l,disabled:r.disabled,onClick:b,onKeyDown:m};return We({ourProps:c,theirProps:u,slot:v,defaultTag:fl,name:"Combobox.Button"})}let vl="label";function hl(e,t){let n=st(),{id:r=`headlessui-combobox-label-${n}`,...i}=e,a=Tt("Combobox.Label"),d=Yt("Combobox.Label"),o=Ke(a.labelRef,t);xe(()=>d.registerLabel(r),[r]);let u=B(()=>{var m;return(m=a.inputRef.current)==null?void 0:m.focus({preventScroll:!0})}),s=f.useMemo(()=>({open:a.comboboxState===0,disabled:a.disabled}),[a]);return We({ourProps:{ref:o,id:r,onClick:u},theirProps:i,slot:s,defaultTag:vl,name:"Combobox.Label"})}let ml="ul",$l=Nt.RenderStrategy|Nt.Static;function bl(e,t){let n=st(),{id:r=`headlessui-combobox-options-${n}`,hold:i=!1,...a}=e,d=Tt("Combobox.Options"),o=Ke(d.optionsRef,t),u=vn(),s=(()=>u!==null?(u&Ie.Open)===Ie.Open:d.comboboxState===0)();xe(()=>{var v;d.optionsPropsRef.current.static=(v=e.static)!=null?v:!1},[d.optionsPropsRef,e.static]),xe(()=>{d.optionsPropsRef.current.hold=i},[d.optionsPropsRef,i]),qu({container:d.optionsRef.current,enabled:d.comboboxState===0,accept(v){return v.getAttribute("role")==="option"?NodeFilter.FILTER_REJECT:v.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(v){v.setAttribute("role","none")}});let m=Kt(()=>{var v,c;return(c=d.labelId)!=null?c:(v=d.buttonRef.current)==null?void 0:v.id},[d.labelId,d.buttonRef.current]),b=f.useMemo(()=>({open:d.comboboxState===0}),[d]),l={"aria-labelledby":m,role:"listbox","aria-multiselectable":d.mode===1?!0:void 0,id:r,ref:o};return We({ourProps:l,theirProps:a,slot:b,defaultTag:ml,features:$l,visible:s,name:"Combobox.Options"})}let gl="li";function yl(e,t){var n,r;let i=st(),{id:a=`headlessui-combobox-option-${i}`,disabled:d=!1,value:o,...u}=e,s=Tt("Combobox.Option"),m=Yt("Combobox.Option"),b=s.activeOptionIndex!==null?s.options[s.activeOptionIndex].id===a:!1,l=s.isSelected(o),v=f.useRef(null),c=Xe({disabled:d,value:o,domRef:v,textValue:(r=(n=v.current)==null?void 0:n.textContent)==null?void 0:r.toLowerCase()}),h=Ke(t,v),p=B(()=>m.selectOption(a));xe(()=>m.registerOption(a,c),[c,a]);let g=f.useRef(!s.__demoMode);xe(()=>{if(!s.__demoMode)return;let I=dt();return I.requestAnimationFrame(()=>{g.current=!0}),I.dispose},[]),xe(()=>{if(s.comboboxState!==0||!b||!g.current||s.activationTrigger===0)return;let I=dt();return I.requestAnimationFrame(()=>{var q,te;(te=(q=v.current)==null?void 0:q.scrollIntoView)==null||te.call(q,{block:"nearest"})}),I.dispose},[v,b,s.comboboxState,s.activationTrigger,s.activeOptionIndex]);let E=B(I=>{if(d)return I.preventDefault();p(),s.mode===0&&m.closeCombobox(),el()||requestAnimationFrame(()=>{var q;return(q=s.inputRef.current)==null?void 0:q.focus()})}),C=B(()=>{if(d)return m.goToOption(pe.Nothing);m.goToOption(pe.Specific,a)}),O=Pa(),w=B(I=>O.update(I)),P=B(I=>{O.wasMoved(I)&&(d||b||m.goToOption(pe.Specific,a,0))}),W=B(I=>{O.wasMoved(I)&&(d||b&&(s.optionsPropsRef.current.hold||m.goToOption(pe.Nothing)))}),_=f.useMemo(()=>({active:b,selected:l,disabled:d}),[b,l,d]);return We({ourProps:{id:a,ref:h,role:"option",tabIndex:d===!0?void 0:-1,"aria-disabled":d===!0?!0:void 0,"aria-selected":l,disabled:void 0,onClick:E,onFocus:C,onPointerEnter:w,onMouseEnter:w,onPointerMove:P,onMouseMove:P,onPointerLeave:W,onMouseLeave:W},theirProps:u,slot:_,defaultTag:gl,name:"Combobox.Option"})}let wl=Fe(ll),Cl=Fe(pl),Ol=Fe(cl),xl=Fe(hl),Sl=Fe(bl),Pl=Fe(yl),zt=Object.assign(wl,{Input:Ol,Button:Cl,Label:xl,Options:Sl,Option:Pl});function dr(){let e=f.useRef(!1);return xe(()=>(e.current=!0,()=>{e.current=!1}),[]),e}let Ea=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function Na(e){var t,n;let r=(t=e.innerText)!=null?t:"",i=e.cloneNode(!0);if(!(i instanceof HTMLElement))return r;let a=!1;for(let o of i.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))o.remove(),a=!0;let d=a?(n=i.innerText)!=null?n:"":r;return Ea.test(d)&&(d=d.replace(Ea,"")),d}function El(e){let t=e.getAttribute("aria-label");if(typeof t=="string")return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let r=n.split(" ").map(i=>{let a=document.getElementById(i);if(a){let d=a.getAttribute("aria-label");return typeof d=="string"?d.trim():Na(a).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return Na(e).trim()}function Nl(e){let t=f.useRef(""),n=f.useRef("");return B(()=>{let r=e.current;if(!r)return"";let i=r.innerText;if(t.current===i)return n.current;let a=El(r).trim().toLowerCase();return t.current=i,n.current=a,a})}var Tl=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Tl||{}),Il=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(Il||{}),_l=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(_l||{}),Al=(e=>(e[e.OpenListbox=0]="OpenListbox",e[e.CloseListbox=1]="CloseListbox",e[e.GoToOption=2]="GoToOption",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterOption=5]="RegisterOption",e[e.UnregisterOption=6]="UnregisterOption",e[e.RegisterLabel=7]="RegisterLabel",e))(Al||{});function or(e,t=n=>n){let n=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,r=pa(t(e.options.slice()),a=>a.dataRef.current.domRef.current),i=n?r.indexOf(n):null;return i===-1&&(i=null),{options:r,activeOptionIndex:i}}let kl={1(e){return e.dataRef.current.disabled||e.listboxState===1?e:{...e,activeOptionIndex:null,listboxState:1}},0(e){if(e.dataRef.current.disabled||e.listboxState===0)return e;let t=e.activeOptionIndex,{isSelected:n}=e.dataRef.current,r=e.options.findIndex(i=>n(i.dataRef.current.value));return r!==-1&&(t=r),{...e,listboxState:0,activeOptionIndex:t}},2(e,t){var n;if(e.dataRef.current.disabled||e.listboxState===1)return e;let r=or(e),i=$a(t,{resolveItems:()=>r.options,resolveActiveIndex:()=>r.activeOptionIndex,resolveId:a=>a.id,resolveDisabled:a=>a.dataRef.current.disabled});return{...e,...r,searchQuery:"",activeOptionIndex:i,activationTrigger:(n=t.trigger)!=null?n:1}},3:(e,t)=>{if(e.dataRef.current.disabled||e.listboxState===1)return e;let n=e.searchQuery!==""?0:1,r=e.searchQuery+t.value.toLowerCase(),i=(e.activeOptionIndex!==null?e.options.slice(e.activeOptionIndex+n).concat(e.options.slice(0,e.activeOptionIndex+n)):e.options).find(d=>{var o;return!d.dataRef.current.disabled&&((o=d.dataRef.current.textValue)==null?void 0:o.startsWith(r))}),a=i?e.options.indexOf(i):-1;return a===-1||a===e.activeOptionIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeOptionIndex:a,activationTrigger:1}},4(e){return e.dataRef.current.disabled||e.listboxState===1||e.searchQuery===""?e:{...e,searchQuery:""}},5:(e,t)=>{let n={id:t.id,dataRef:t.dataRef},r=or(e,i=>[...i,n]);return e.activeOptionIndex===null&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(r.activeOptionIndex=r.options.indexOf(n)),{...e,...r}},6:(e,t)=>{let n=or(e,r=>{let i=r.findIndex(a=>a.id===t.id);return i!==-1&&r.splice(i,1),r});return{...e,...n,activationTrigger:1}},7:(e,t)=>({...e,labelId:t.id})},ur=f.createContext(null);ur.displayName="ListboxActionsContext";function Zt(e){let t=f.useContext(ur);if(t===null){let n=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Zt),n}return t}let lr=f.createContext(null);lr.displayName="ListboxDataContext";function Xt(e){let t=f.useContext(lr);if(t===null){let n=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Xt),n}return t}function Fl(e,t){return Ce(t.type,kl,e,t)}let jl=f.Fragment;function Rl(e,t){let{value:n,defaultValue:r,form:i,name:a,onChange:d,by:o=(S,F)=>S===F,disabled:u=!1,horizontal:s=!1,multiple:m=!1,...b}=e;const l=s?"horizontal":"vertical";let v=Ke(t),[c=m?[]:void 0,h]=Oa(n,d,r),[p,g]=f.useReducer(Fl,{dataRef:f.createRef(),listboxState:1,options:[],searchQuery:"",labelId:null,activeOptionIndex:null,activationTrigger:1}),E=f.useRef({static:!1,hold:!1}),C=f.useRef(null),O=f.useRef(null),w=f.useRef(null),P=B(typeof o=="string"?(S,F)=>{let R=o;return S?.[R]===F?.[R]}:o),W=f.useCallback(S=>Ce(_.mode,{1:()=>c.some(F=>P(F,S)),0:()=>P(c,S)}),[c]),_=f.useMemo(()=>({...p,value:c,disabled:u,mode:m?1:0,orientation:l,compare:P,isSelected:W,optionsPropsRef:E,labelRef:C,buttonRef:O,optionsRef:w}),[c,u,m,p]);xe(()=>{p.dataRef.current=_},[_]),va([_.buttonRef,_.optionsRef],(S,F)=>{var R;g({type:1}),fa(F,Xn.Loose)||(S.preventDefault(),(R=_.buttonRef.current)==null||R.focus())},_.listboxState===0);let I=f.useMemo(()=>({open:_.listboxState===0,disabled:u,value:c}),[_,u,c]),q=B(S=>{let F=_.options.find(R=>R.id===S);F&&G(F.dataRef.current.value)}),te=B(()=>{if(_.activeOptionIndex!==null){let{dataRef:S,id:F}=_.options[_.activeOptionIndex];G(S.current.value),g({type:2,focus:pe.Specific,id:F})}}),re=B(()=>g({type:0})),N=B(()=>g({type:1})),z=B((S,F,R)=>S===pe.Specific?g({type:2,focus:pe.Specific,id:F,trigger:R}):g({type:2,focus:S,trigger:R})),ie=B((S,F)=>(g({type:5,id:S,dataRef:F}),()=>g({type:6,id:S}))),ae=B(S=>(g({type:7,id:S}),()=>g({type:7,id:null}))),G=B(S=>Ce(_.mode,{0(){return h?.(S)},1(){let F=_.value.slice(),R=F.findIndex(V=>P(V,S));return R===-1?F.push(S):F.splice(R,1),h?.(F)}})),se=B(S=>g({type:3,value:S})),oe=B(()=>g({type:4})),x=f.useMemo(()=>({onChange:G,registerOption:ie,registerLabel:ae,goToOption:z,closeListbox:N,openListbox:re,selectActiveOption:te,selectOption:q,search:se,clearSearch:oe}),[]),j={ref:v},U=f.useRef(null),M=lt();return f.useEffect(()=>{U.current&&r!==void 0&&M.addEventListener(U.current,"reset",()=>{h?.(r)})},[U,h]),f.createElement(ur.Provider,{value:x},f.createElement(lr.Provider,{value:_},f.createElement(nr,{value:Ce(_.listboxState,{0:Ie.Open,1:Ie.Closed})},a!=null&&c!=null&&Qn({[a]:c}).map(([S,F],R)=>f.createElement(Ca,{features:er.Hidden,ref:R===0?V=>{var K;U.current=(K=V?.closest("form"))!=null?K:null}:void 0,...pn({key:S,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:i,name:S,value:F})})),We({ourProps:j,theirProps:b,slot:I,defaultTag:jl,name:"Listbox"}))))}let Ll="button";function Dl(e,t){var n;let r=st(),{id:i=`headlessui-listbox-button-${r}`,...a}=e,d=Xt("Listbox.Button"),o=Zt("Listbox.Button"),u=Ke(d.buttonRef,t),s=lt(),m=B(p=>{switch(p.key){case ve.Space:case ve.Enter:case ve.ArrowDown:p.preventDefault(),o.openListbox(),s.nextFrame(()=>{d.value||o.goToOption(pe.First)});break;case ve.ArrowUp:p.preventDefault(),o.openListbox(),s.nextFrame(()=>{d.value||o.goToOption(pe.Last)});break}}),b=B(p=>{switch(p.key){case ve.Space:p.preventDefault();break}}),l=B(p=>{if(ga(p.currentTarget))return p.preventDefault();d.listboxState===0?(o.closeListbox(),s.nextFrame(()=>{var g;return(g=d.buttonRef.current)==null?void 0:g.focus({preventScroll:!0})})):(p.preventDefault(),o.openListbox())}),v=Kt(()=>{if(d.labelId)return[d.labelId,i].join(" ")},[d.labelId,i]),c=f.useMemo(()=>({open:d.listboxState===0,disabled:d.disabled,value:d.value}),[d]),h={ref:u,id:i,type:ma(e,d.buttonRef),"aria-haspopup":"listbox","aria-controls":(n=d.optionsRef.current)==null?void 0:n.id,"aria-expanded":d.listboxState===0,"aria-labelledby":v,disabled:d.disabled,onKeyDown:m,onKeyUp:b,onClick:l};return We({ourProps:h,theirProps:a,slot:c,defaultTag:Ll,name:"Listbox.Button"})}let Ml="label";function Bl(e,t){let n=st(),{id:r=`headlessui-listbox-label-${n}`,...i}=e,a=Xt("Listbox.Label"),d=Zt("Listbox.Label"),o=Ke(a.labelRef,t);xe(()=>d.registerLabel(r),[r]);let u=B(()=>{var m;return(m=a.buttonRef.current)==null?void 0:m.focus({preventScroll:!0})}),s=f.useMemo(()=>({open:a.listboxState===0,disabled:a.disabled}),[a]);return We({ourProps:{ref:o,id:r,onClick:u},theirProps:i,slot:s,defaultTag:Ml,name:"Listbox.Label"})}let Wl="ul",Ul=Nt.RenderStrategy|Nt.Static;function Vl(e,t){var n;let r=st(),{id:i=`headlessui-listbox-options-${r}`,...a}=e,d=Xt("Listbox.Options"),o=Zt("Listbox.Options"),u=Ke(d.optionsRef,t),s=lt(),m=lt(),b=vn(),l=(()=>b!==null?(b&Ie.Open)===Ie.Open:d.listboxState===0)();f.useEffect(()=>{var g;let E=d.optionsRef.current;E&&d.listboxState===0&&E!==((g=ln(E))==null?void 0:g.activeElement)&&E.focus({preventScroll:!0})},[d.listboxState,d.optionsRef]);let v=B(g=>{switch(m.dispose(),g.key){case ve.Space:if(d.searchQuery!=="")return g.preventDefault(),g.stopPropagation(),o.search(g.key);case ve.Enter:if(g.preventDefault(),g.stopPropagation(),d.activeOptionIndex!==null){let{dataRef:E}=d.options[d.activeOptionIndex];o.onChange(E.current.value)}d.mode===0&&(o.closeListbox(),dt().nextFrame(()=>{var E;return(E=d.buttonRef.current)==null?void 0:E.focus({preventScroll:!0})}));break;case Ce(d.orientation,{vertical:ve.ArrowDown,horizontal:ve.ArrowRight}):return g.preventDefault(),g.stopPropagation(),o.goToOption(pe.Next);case Ce(d.orientation,{vertical:ve.ArrowUp,horizontal:ve.ArrowLeft}):return g.preventDefault(),g.stopPropagation(),o.goToOption(pe.Previous);case ve.Home:case ve.PageUp:return g.preventDefault(),g.stopPropagation(),o.goToOption(pe.First);case ve.End:case ve.PageDown:return g.preventDefault(),g.stopPropagation(),o.goToOption(pe.Last);case ve.Escape:return g.preventDefault(),g.stopPropagation(),o.closeListbox(),s.nextFrame(()=>{var E;return(E=d.buttonRef.current)==null?void 0:E.focus({preventScroll:!0})});case ve.Tab:g.preventDefault(),g.stopPropagation();break;default:g.key.length===1&&(o.search(g.key),m.setTimeout(()=>o.clearSearch(),350));break}}),c=Kt(()=>{var g,E,C;return(C=(g=d.labelRef.current)==null?void 0:g.id)!=null?C:(E=d.buttonRef.current)==null?void 0:E.id},[d.labelRef.current,d.buttonRef.current]),h=f.useMemo(()=>({open:d.listboxState===0}),[d]),p={"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:v,role:"listbox",tabIndex:0,ref:u};return We({ourProps:p,theirProps:a,slot:h,defaultTag:Wl,features:Ul,visible:l,name:"Listbox.Options"})}let Gl="li";function Hl(e,t){let n=st(),{id:r=`headlessui-listbox-option-${n}`,disabled:i=!1,value:a,...d}=e,o=Xt("Listbox.Option"),u=Zt("Listbox.Option"),s=o.activeOptionIndex!==null?o.options[o.activeOptionIndex].id===r:!1,m=o.isSelected(a),b=f.useRef(null),l=Nl(b),v=Xe({disabled:i,value:a,domRef:b,get textValue(){return l()}}),c=Ke(t,b);xe(()=>{if(o.listboxState!==0||!s||o.activationTrigger===0)return;let P=dt();return P.requestAnimationFrame(()=>{var W,_;(_=(W=b.current)==null?void 0:W.scrollIntoView)==null||_.call(W,{block:"nearest"})}),P.dispose},[b,s,o.listboxState,o.activationTrigger,o.activeOptionIndex]),xe(()=>u.registerOption(r,v),[v,r]);let h=B(P=>{if(i)return P.preventDefault();u.onChange(a),o.mode===0&&(u.closeListbox(),dt().nextFrame(()=>{var W;return(W=o.buttonRef.current)==null?void 0:W.focus({preventScroll:!0})}))}),p=B(()=>{if(i)return u.goToOption(pe.Nothing);u.goToOption(pe.Specific,r)}),g=Pa(),E=B(P=>g.update(P)),C=B(P=>{g.wasMoved(P)&&(i||s||u.goToOption(pe.Specific,r,0))}),O=B(P=>{g.wasMoved(P)&&(i||s&&u.goToOption(pe.Nothing))}),w=f.useMemo(()=>({active:s,selected:m,disabled:i}),[s,m,i]);return We({ourProps:{id:r,ref:c,role:"option",tabIndex:i===!0?void 0:-1,"aria-disabled":i===!0?!0:void 0,"aria-selected":m,disabled:void 0,onClick:h,onFocus:p,onPointerEnter:E,onMouseEnter:E,onPointerMove:C,onMouseMove:C,onPointerLeave:O,onMouseLeave:O},theirProps:d,slot:w,defaultTag:Gl,name:"Listbox.Option"})}let ql=Fe(Rl),Kl=Fe(Dl),Yl=Fe(Bl),zl=Fe(Vl),Zl=Fe(Hl),hn=Object.assign(ql,{Button:Kl,Label:Yl,Options:zl,Option:Zl});function Xl(e=0){let[t,n]=f.useState(e),r=dr(),i=f.useCallback(u=>{r.current&&n(s=>s|u)},[t,r]),a=f.useCallback(u=>!!(t&u),[t]),d=f.useCallback(u=>{r.current&&n(s=>s&~u)},[n,r]),o=f.useCallback(u=>{r.current&&n(s=>s^u)},[n]);return{flags:t,addFlag:i,hasFlag:a,removeFlag:d,toggleFlag:o}}function Jl(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}function sr(e,...t){e&&t.length>0&&e.classList.add(...t)}function cr(e,...t){e&&t.length>0&&e.classList.remove(...t)}function Ql(e,t){let n=dt();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:i}=getComputedStyle(e),[a,d]=[r,i].map(u=>{let[s=0]=u.split(",").filter(Boolean).map(m=>m.includes("ms")?parseFloat(m):parseFloat(m)*1e3).sort((m,b)=>b-m);return s}),o=a+d;if(o!==0){n.group(s=>{s.setTimeout(()=>{t(),s.dispose()},o),s.addEventListener(e,"transitionrun",m=>{m.target===m.currentTarget&&s.dispose()})});let u=n.addEventListener(e,"transitionend",s=>{s.target===s.currentTarget&&(t(),u())})}else t();return n.add(()=>t()),n.dispose}function es(e,t,n,r){let i=n?"enter":"leave",a=dt(),d=r!==void 0?Jl(r):()=>{};i==="enter"&&(e.removeAttribute("hidden"),e.style.display="");let o=Ce(i,{enter:()=>t.enter,leave:()=>t.leave}),u=Ce(i,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),s=Ce(i,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return cr(e,...t.base,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),sr(e,...t.base,...o,...s),a.nextFrame(()=>{cr(e,...t.base,...o,...s),sr(e,...t.base,...o,...u),Ql(e,()=>(cr(e,...t.base,...o),sr(e,...t.base,...t.entered),d()))}),a.dispose}function ts({immediate:e,container:t,direction:n,classes:r,onStart:i,onStop:a}){let d=dr(),o=lt(),u=Xe(n);xe(()=>{e&&(u.current="enter")},[e]),xe(()=>{let s=dt();o.add(s.dispose);let m=t.current;if(m&&u.current!=="idle"&&d.current)return s.dispose(),i.current(u.current),s.add(es(m,r.current,u.current==="enter",()=>{s.dispose(),a.current(u.current)})),s.dispose},[n])}function yt(e=""){return e.split(" ").filter(t=>t.trim().length>1)}let mn=f.createContext(null);mn.displayName="TransitionContext";var ns=(e=>(e.Visible="visible",e.Hidden="hidden",e))(ns||{});function rs(){let e=f.useContext(mn);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function is(){let e=f.useContext($n);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let $n=f.createContext(null);$n.displayName="NestingContext";function bn(e){return"children"in e?bn(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function Ta(e,t){let n=Xe(e),r=f.useRef([]),i=dr(),a=lt(),d=B((v,c=gt.Hidden)=>{let h=r.current.findIndex(({el:p})=>p===v);h!==-1&&(Ce(c,{[gt.Unmount](){r.current.splice(h,1)},[gt.Hidden](){r.current[h].state="hidden"}}),a.microTask(()=>{var p;!bn(r)&&i.current&&((p=n.current)==null||p.call(n))}))}),o=B(v=>{let c=r.current.find(({el:h})=>h===v);return c?c.state!=="visible"&&(c.state="visible"):r.current.push({el:v,state:"visible"}),()=>d(v,gt.Unmount)}),u=f.useRef([]),s=f.useRef(Promise.resolve()),m=f.useRef({enter:[],leave:[],idle:[]}),b=B((v,c,h)=>{u.current.splice(0),t&&(t.chains.current[c]=t.chains.current[c].filter(([p])=>p!==v)),t?.chains.current[c].push([v,new Promise(p=>{u.current.push(p)})]),t?.chains.current[c].push([v,new Promise(p=>{Promise.all(m.current[c].map(([g,E])=>E)).then(()=>p())})]),c==="enter"?s.current=s.current.then(()=>t?.wait.current).then(()=>h(c)):h(c)}),l=B((v,c,h)=>{Promise.all(m.current[c].splice(0).map(([p,g])=>g)).then(()=>{var p;(p=u.current.shift())==null||p()}).then(()=>h(c))});return f.useMemo(()=>({children:r,register:o,unregister:d,onStart:b,onStop:l,wait:s,chains:m}),[o,d,r,b,l,m,s])}function as(){}let ds=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function Ia(e){var t;let n={};for(let r of ds)n[r]=(t=e[r])!=null?t:as;return n}function os(e){let t=f.useRef(Ia(e));return f.useEffect(()=>{t.current=Ia(e)},[e]),t}let us="div",_a=Nt.RenderStrategy;function ls(e,t){var n,r;let{beforeEnter:i,afterEnter:a,beforeLeave:d,afterLeave:o,enter:u,enterFrom:s,enterTo:m,entered:b,leave:l,leaveFrom:v,leaveTo:c,...h}=e,p=f.useRef(null),g=Ke(p,t),E=(n=h.unmount)==null||n?gt.Unmount:gt.Hidden,{show:C,appear:O,initial:w}=rs(),[P,W]=f.useState(C?"visible":"hidden"),_=is(),{register:I,unregister:q}=_;f.useEffect(()=>I(p),[I,p]),f.useEffect(()=>{if(E===gt.Hidden&&p.current){if(C&&P!=="visible"){W("visible");return}return Ce(P,{hidden:()=>q(p),visible:()=>I(p)})}},[P,p,I,q,C,E]);let te=Xe({base:yt(h.className),enter:yt(u),enterFrom:yt(s),enterTo:yt(m),entered:yt(b),leave:yt(l),leaveFrom:yt(v),leaveTo:yt(c)}),re=os({beforeEnter:i,afterEnter:a,beforeLeave:d,afterLeave:o}),N=Zn();f.useEffect(()=>{if(N&&P==="visible"&&p.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[p,P,N]);let z=w&&!O,ie=O&&C&&w,ae=(()=>!N||z?"idle":C?"enter":"leave")(),G=Xl(0),se=B(M=>Ce(M,{enter:()=>{G.addFlag(Ie.Opening),re.current.beforeEnter()},leave:()=>{G.addFlag(Ie.Closing),re.current.beforeLeave()},idle:()=>{}})),oe=B(M=>Ce(M,{enter:()=>{G.removeFlag(Ie.Opening),re.current.afterEnter()},leave:()=>{G.removeFlag(Ie.Closing),re.current.afterLeave()},idle:()=>{}})),x=Ta(()=>{W("hidden"),q(p)},_);ts({immediate:ie,container:p,classes:te,direction:ae,onStart:Xe(M=>{x.onStart(p,M,se)}),onStop:Xe(M=>{x.onStop(p,M,oe),M==="leave"&&!bn(x)&&(W("hidden"),q(p))})});let j=h,U={ref:g};return ie?j={...j,className:cn(h.className,...te.current.enter,...te.current.enterFrom)}:(j.className=cn(h.className,(r=p.current)==null?void 0:r.className),j.className===""&&delete j.className),f.createElement($n.Provider,{value:x},f.createElement(nr,{value:Ce(P,{visible:Ie.Open,hidden:Ie.Closed})|G.flags},We({ourProps:U,theirProps:j,defaultTag:us,features:_a,visible:P==="visible",name:"Transition.Child"})))}function ss(e,t){let{show:n,appear:r=!1,unmount:i=!0,...a}=e,d=f.useRef(null),o=Ke(d,t);Zn();let u=vn();if(n===void 0&&u!==null&&(n=(u&Ie.Open)===Ie.Open),![!0,!1].includes(n))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[s,m]=f.useState(n?"visible":"hidden"),b=Ta(()=>{m("hidden")}),[l,v]=f.useState(!0),c=f.useRef([n]);xe(()=>{l!==!1&&c.current[c.current.length-1]!==n&&(c.current.push(n),v(!1))},[c,n]);let h=f.useMemo(()=>({show:n,appear:r,initial:l}),[n,r,l]);f.useEffect(()=>{if(n)m("visible");else if(!bn(b))m("hidden");else{let C=d.current;if(!C)return;let O=C.getBoundingClientRect();O.x===0&&O.y===0&&O.width===0&&O.height===0&&m("hidden")}},[n,b]);let p={unmount:i},g=B(()=>{var C;l&&v(!1),(C=e.beforeEnter)==null||C.call(e)}),E=B(()=>{var C;l&&v(!1),(C=e.beforeLeave)==null||C.call(e)});return f.createElement($n.Provider,{value:b},f.createElement(mn.Provider,{value:h},We({ourProps:{...p,as:f.Fragment,children:f.createElement(Aa,{ref:o,...p,...a,beforeEnter:g,beforeLeave:E})},theirProps:{},defaultTag:f.Fragment,features:_a,visible:s==="visible",name:"Transition"})))}function cs(e,t){let n=f.useContext(mn)!==null,r=vn()!==null;return f.createElement(f.Fragment,null,!n&&r?f.createElement(fr,{ref:t,...e}):f.createElement(Aa,{ref:t,...e}))}let fr=Fe(ss),Aa=Fe(ls),fs=Fe(cs),ka=Object.assign(fr,{Child:fs,Root:fr});function ps({title:e,titleId:t,...n},r){return ut.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?ut.createElement("title",{id:t},e):null,ut.createElement("path",{fillRule:"evenodd",d:"M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z",clipRule:"evenodd"}))}const Fa=ut.forwardRef(ps),Ge={select:"_select_c79hj_1",selectContainer:"_selectContainer_c79hj_4",selectButton:"_selectButton_c79hj_7",open:"_open_c79hj_13",selectValue:"_selectValue_c79hj_16",seletIcon:"_seletIcon_c79hj_19",selectText:"_selectText_c79hj_22",chevronDownIconSpan:"_chevronDownIconSpan_c79hj_25",chevronDownIcon:"_chevronDownIcon_c79hj_25",leave:"_leave_c79hj_32",leaveFrom:"_leaveFrom_c79hj_36",leaveTo:"_leaveTo_c79hj_40",selectOptions:"_selectOptions_c79hj_44"},ja=({children:e,selected:t,onSelect:n,themeColor:r})=>{const[i,a]=f.useState(!1),[d,o]=f.useState(!1),u=f.useRef(null),s=f.useRef(null),m=f.useRef(null),[b,l]=f.useState({left:0,top:0}),v=f.useRef(0),c=f.useRef(0);let h="#333333";const p=P=>{n(P)},g=()=>{a(!0)},E=()=>{a(!1)};f.useEffect(()=>{const P=s.current;return P&&(P.addEventListener("focus",g),P.addEventListener("blur",E)),()=>{P&&(P.removeEventListener("focus",g),P.removeEventListener("blur",E))}},[g,E]);const C=()=>{v.current=window.innerHeight,c.current=document.body.scrollHeight,o(!0)};f.useEffect(()=>(C(),window.addEventListener("resize",C),()=>{window.addEventListener("resize",C)}),[]);const O=()=>c.current-(v.current+window.scrollY),w=()=>{if(u.current){const P=u.current.getBoundingClientRect();setTimeout(()=>{const W=m?.current?.getBoundingClientRect(),_=O(),I=v.current-P.bottom;let q;if(W){const te=P.height,re=P.top,N=W.height,z=N>=re+window.scrollY;N>=re&&(z||z&&I<=N||_>=N||I>=N)||re>=N&&I>=N?q=P.y+te:q=P.y-N,l({left:P.left,top:q??P.top})}},0)}};if(f.useEffect(()=>(window.addEventListener("scroll",w),window.addEventListener("resize",w),()=>{window.removeEventListener("scroll",w),window.removeEventListener("resize",w)}),[]),r){r=Ze.convert3HexTo6(r);const P=mt(r);(P==="dark"||P==="light")&&(h=r==="#ffffff"?"#c8c8c8":r)}return T.jsx(hn,{value:t,onChange:p,children:({open:P})=>T.jsxs("div",{className:Ge.select,children:[T.jsx("div",{className:Ge.selectContainer,ref:u,children:T.jsxs(hn.Button,{"data-testid":"select-options",ref:s,onFocus:g,onBlur:E,onClick:w,onKeyDown:W=>{(W.key===" "||W.code==="Space"||W.code==="Enter")&&w()},style:{borderBottomColor:r&&(i||P)?h:""},className:`${Ge.selectButton} ${P?Ge.open:""}`,tabIndex:0,children:[t&&T.jsxs("span",{className:Ge.selectValue,children:[t.avatar&&T.jsx("img",{src:t.avatar,alt:"",className:Ge.seletIcon}),T.jsx("span",{className:Ge.selectText,children:t.label})]}),T.jsx("span",{className:Ge.chevronDownIconSpan,children:T.jsx(Fa,{className:Ge.chevronDownIcon,"aria-hidden":"true"})})]})}),d?Dn.createPortal(T.jsx(T.Fragment,{children:P&&T.jsx("div",{style:{position:"fixed",inset:0,backgroundColor:"rgba(255,255,255,0)",zIndex:1e3},children:T.jsx("div",{ref:m,style:{position:"absolute",opacity:b.left?1:0,width:u.current?u.current.clientWidth:"auto",left:b.left,top:b.top},children:e})})}),document.body):null]})})},Ra=({children:e,setQuery:t})=>T.jsx(ka,{as:f.Fragment,leave:Ge.leave,leaveFrom:Ge.leaveFrom,leaveTo:Ge.leaveTo,afterLeave:()=>t(""),children:T.jsx(hn.Options,{className:Ge.selectOptions,children:e})}),pr=f.forwardRef((e,t)=>T.jsx(hn.Option,{ref:t,className:e.className,value:e.value,disabled:e.disable,children:e.children}));pr.displayName="SelectOption";const Je={autocomplete:"_autocomplete_1uhaj_1",autocompleteContainer:"_autocompleteContainer_1uhaj_4",disable:"_disable_1uhaj_7",autocompleteInput:"_autocompleteInput_1uhaj_16",autocompleteButton:"_autocompleteButton_1uhaj_25",chevronDownIcon:"_chevronDownIcon_1uhaj_28",leave:"_leave_1uhaj_35",leaveFrom:"_leaveFrom_1uhaj_39",leaveTo:"_leaveTo_1uhaj_43",autocompleteOptions:"_autocompleteOptions_1uhaj_47"},vs=({children:e,selected:t,onSelect:n,setQuery:r,disable:i,clearSearch:a=!1,themeColor:d})=>{const o=f.useRef(null),u=f.useRef(null),[s,m]=f.useState(!1),[b,l]=f.useState(!1),v=f.useRef(null),c=f.useRef(null),[h,p]=f.useState({left:0,top:0}),g=f.useRef(0),E=f.useRef(0);let C={};f.useEffect(()=>{o.current&&t&&(o.current.value=t.label||"")},[t]);const O=()=>{g.current=window.innerHeight,E.current=document.body.scrollHeight,l(!0)};f.useEffect(()=>(O(),window.addEventListener("resize",O),()=>{window.addEventListener("resize",O)}),[]);const w=()=>E.current-(g.current+window.scrollY),P=()=>{if(v.current){const N=v.current.getBoundingClientRect();setTimeout(()=>{const z=c?.current?.getBoundingClientRect(),ie=w(),ae=g.current-N.bottom;let G;if(z){const se=N.height,oe=N.top,x=z.height,j=x>oe+window.scrollY;oe<x&&(j||j&&ae<x||ie>x||ae>x)||oe>x&&ae>x?G=N.y+se:G=N.y-x,p({left:N.left,top:G??N.top})}},0)}};f.useEffect(()=>(window.addEventListener("scroll",P),window.addEventListener("resize",P),()=>{window.removeEventListener("scroll",P),window.removeEventListener("resize",P)}),[]);const W=N=>{n(N),q()},_=()=>{P(),m(!0),o.current&&t&&(o.current.value=t.label||""),o.current&&u.current&&(a&&(o.current.value="",r("")),u.current.click())},I=N=>N?.label,q=()=>{const N=o.current;N&&N.setSelectionRange(N.value.length,N.value.length)},te=()=>{m(!0)},re=()=>{m(!1)};if(f.useEffect(()=>{const N=o.current;return N&&(N.addEventListener("focus",te),N.addEventListener("blur",re)),()=>{N&&(N.removeEventListener("focus",te),N.removeEventListener("blur",re))}},[te,re]),d){const N=mt(d);d=Ze.convert3HexTo6(d),(N==="dark"||N==="light")&&(C={borderBottomColor:d==="#ffffff"?"#c8c8c8":s?d:"#333333"})}return T.jsx(zt,{value:t,onChange:W,disabled:i,children:({open:N})=>T.jsxs("div",{className:Je.autocomplete,children:[T.jsxs("div",{ref:v,className:`${Je.autocompleteContainer} ${i?Je.disable:""}`,children:[T.jsx(zt.Input,{ref:o,"data-testid":"select-input",className:Je.autocompleteInput,displayValue:I,onChange:z=>{r(z.target.value),P()},onClick:_,onFocus:te,onBlur:re,onKeyDown:z=>{(z.key===" "||z.code==="Space")&&P()},style:{...C},placeholder:"Select your option",autoComplete:"off"}),T.jsx(zt.Button,{className:Je.autocompleteButton,"data-testid":"select-button",ref:u,onClick:P,children:T.jsx(Fa,{className:`${Je.chevronDownIcon} ${i?Je.disable:""}`,"aria-hidden":"true"})})]}),b?Dn.createPortal(T.jsx(T.Fragment,{children:N&&T.jsx("div",{style:{position:"fixed",inset:0,backgroundColor:"rgba(255,255,255,0)",zIndex:1e3},children:T.jsx("div",{ref:c,style:{position:"absolute",opacity:h.left?1:0,width:v.current?v.current.clientWidth:"auto",left:h.left,top:h.top},children:e})})}),document.body):null]})})},hs=({children:e,setQuery:t})=>T.jsx(ka,{as:f.Fragment,leave:Je.leave,leaveFrom:Je.leaveFrom,leaveTo:Je.leaveTo,afterLeave:()=>t(""),children:T.jsx(zt.Options,{className:Je.autocompleteOptions,children:e})}),La=f.forwardRef((e,t)=>T.jsx(zt.Option,{ref:t,className:e.className,value:e.value,disabled:e.disable,children:e.children}));La.displayName="AutoCompleteOption";const Da={textInputWrapper:"_textInputWrapper_gym4n_1",textInput:"_textInput_gym4n_1"},Ma=f.memo(f.forwardRef(({themeColor:e="",style:t={},className:n="",onFocus:r,onBlur:i,...a},d)=>{const[o,u]=f.useState(!1);let s={};const m=[Da.textInput,n].filter(Boolean).join(" ");e=Ze.convert3HexTo6(e);const b=()=>{u(!0)},l=()=>{u(!1)};return s={borderBottomColor:o?e!=="#ffffff"?e:"#c8c8c8":""},T.jsx("div",{className:Da.textInputWrapper,children:T.jsx("input",{type:"text","data-testid":"textbox-input",ref:d,className:m,onFocus:b,onBlur:l,style:{...s,...t},...a})})})),wt={phoneWrapper:"_phoneWrapper_ukkym_1",countryCode:"_countryCode_ukkym_4",phoneInputWrap:"_phoneInputWrap_ukkym_11",phoneInput:"_phoneInput_ukkym_11",serverError:"_serverError_ukkym_17",phonNumberList:"_phonNumberList_ukkym_21",active:"_active_ukkym_30",countryListText:"_countryListText_ukkym_33"},Ba={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6],0,0,0,0,0,0,0,[["6[2-467]\\d{3}",[5]],["4\\d{4}",[5]],0,0,0,0,["(?:0[1-9]|[1589]\\d)\\d{4}",[6]]]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[["[78]\\d{5}",[6]],["690\\d{6}|[356]\\d{5}",[6,9]],["180[02]\\d{4}",[8]],["[19]\\d{5}",[6]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0",0,0,0,0,0,[["[2-4679][2-8]\\d{6}",[8]],["5[024-68]\\d{7}",[9]],["400\\d{6}|800\\d{2,9}"],["900[02]\\d{5}",[9]],0,0,["600[25]\\d{5}",[9]],0,0,["700[05]\\d{5}",[9]]]],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0",0,0,0,0,0,[["(?:[25][0-8]|[34][0-4]|6[0-5])[2-9]\\d{6}"],["7\\d{8}"]]],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268",[["268(?:4(?:6[0-38]|84)|56[0-2])\\d{4}"],["268(?:464|7(?:1[3-9]|[28]\\d|3[0246]|64|7[0-689]))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,["26840[69]\\d{4}"],["26848[01]\\d{4}"]]],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264",[["264(?:292|4(?:6[12]|9[78]))\\d{4}"],["264(?:235|4(?:69|76)|5(?:3[6-9]|8[1-4])|7(?:29|72))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,["264724\\d{4}"]]],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0",0,0,0,0,0,[["4505[0-2]\\d{3}|(?:[2358][16-9]\\d[2-9]|4410)\\d{4}|(?:[2358][2-5][2-9]|4(?:[2-57-9][2-9]|6\\d))\\d{5}",[8]],["6(?:[78][2-9]|9\\d)\\d{6}",[9]],["800\\d{4}",[7]],["900[1-9]\\d\\d",[6]],["700[2-9]\\d{4}",[8]],0,0,0,0,["808[1-9]\\d\\d",[6]]]],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:1[0-25]|47)\\d|2(?:2[2-46]|3[1-8]|4[2-69]|5[2-7]|6[1-9]|8[1-7])|3[12]2)\\d{5}"],["(?:33|4[1349]|55|77|88|9[13-9])\\d{6}"],["800\\d{5}"],["90[016]\\d{5}"],0,0,0,0,["60(?:2[78]|3[5-9]|4[02-9]|5[0-46-9]|[6-8]\\d|9[0-2])\\d{4}"],["80[1-4]\\d{5}"]]],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]],0,0,0,0,0,0,[["2\\d(?:[0134][25-9]|[25-9]\\d)\\d{5}"],["9[1-79]\\d{7}"]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1",0,0,[["3(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?:(?:11[1-8]|670)\\d|2(?:21[2-6]|(?:3[06]|49)4|6(?:04|1[2-8])|9[17][4-6])|3(?:(?:36|64)4|4(?:1[2-8]|[25][4-6]|84)|5(?:1[2-9]|[38][4-6])|8(?:[17][2-6]|3[4-6]|8[3-68])))\\d{6}|(?:2(?:23|64|99)|3(?:43|85))[3-6]\\d{6}|(?:2(?:657|9(?:54|66))|3(?:487|7(?:55|77)|865))[2-8]\\d{5}|(?:2(?:[28]0|37|6[36]|9[48])|3(?:62|7[069]|80))[45]\\d{6}|(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|47[35]|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|(?:2(?:2(?:62|81)|320|622|9(?:42|83))|3(?:329|4(?:62|76|89)|564))[2-6]\\d{5}|(?:2(?:284|3(?:02|23)|477|920)|3(?:4(?:46|[89]2)|541|878))[2-7]\\d{5}|2(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|(?:2(?:257|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|64|71)|5(?:25|37|4[347]|71)|7(?:18|35|5[17])))[3-6]\\d{5}|(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[035-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[14]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",[10]],["93(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?:675\\d|9(?:11[1-8]\\d|2(?:21[2-6]|(?:3[06]|49)4|6(?:04|1[2-8])|9[17][4-6])|3(?:(?:36|64)4|4(?:1[2-8]|[25][4-6]|84)|5(?:1[2-9]|[38][4-6])|8(?:[17][2-6]|3[4-6]|8[3-68]))))\\d{6}|9(?:2(?:23|64|99)|3(?:43|85))[3-6]\\d{6}|9(?:2(?:657|9(?:54|66))|3(?:487|7(?:55|77)|865))[2-8]\\d{5}|9(?:2(?:[28]0|37|6[36]|9[48])|3(?:62|7[069]|80))[45]\\d{6}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|47[35]|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|9(?:2(?:2(?:62|81)|320|622|9(?:42|83))|3(?:329|4(?:62|76|89)|564))[2-6]\\d{5}|9(?:2(?:284|3(?:02|23)|477|920)|3(?:4(?:46|[89]2)|541|878))[2-7]\\d{5}|92(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|9(?:2(?:257|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|64|71)|5(?:25|37|4[347]|71)|7(?:18|35|5[17])))[3-6]\\d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[035-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[14]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}"],["800\\d{7,8}"],["60[04579]\\d{7}",[10]],0,0,["810\\d{7}",[10]]]],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684",[["6846(?:22|33|44|55|77|88|9[19])\\d{4}"],["684(?:2(?:48|5[2468]|7[26])|7(?:3[13]|70|82))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0",0,0,0,0,0,[["1(?:11\\d|[2-9]\\d{3,11})|(?:316|463|(?:51|66|73)2)\\d{3,10}|(?:2(?:1[467]|2[13-8]|5[2357]|6[1-46-8]|7[1-8]|8[124-7]|9[1458])|3(?:1[1-578]|3[23568]|4[5-7]|5[1378]|6[1-38]|8[3-68])|4(?:2[1-8]|35|7[1368]|8[2457])|5(?:2[1-8]|3[357]|4[147]|5[12578]|6[37])|6(?:13|2[1-47]|4[135-8]|5[468])|7(?:2[1-8]|35|4[13478]|5[68]|6[16-8]|7[1-6]|9[45]))\\d{4,10}"],["6(?:5[0-3579]|6[013-9]|[7-9]\\d)\\d{4,10}",[7,8,9,10,11,12,13]],["800\\d{6,10}",[9,10,11,12,13]],["(?:8[69][2-68]|9(?:0[01]|3[019]))\\d{6,10}",[9,10,11,12,13]],0,0,0,0,["5(?:0[1-9]|17|[79]\\d)\\d{2,10}|7[28]0\\d{6,10}",[5,6,7,8,9,10,11,12,13]],["8(?:10|2[018])\\d{6,10}|828\\d{5}",[8,9,10,11,12,13]]]],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|3\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]],0,0,0,0,0,0,[["5(?:2\\d|8[1-9])\\d{4}"],["(?:290|5[69]\\d|6(?:[03]0|22|4[0-2]|[69]\\d)|7(?:[34]\\d|7[07])|9(?:6[45]|9[4-8]))\\d{4}"],["800\\d{4}"],["900\\d{4}"],0,0,0,0,["(?:28\\d|501)\\d{4}"]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",[["18[1-8]\\d{3,6}",[6,7,8,9]],["4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",[6,7,8,9,10]],["800\\d{4,6}",[7,8,9]],["[67]00\\d{5,6}",[8,9]],0,0,["20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}"]],"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:2[12]428|3655[02])\\d{4}|(?:2(?:22[0-79]|63[0-28])|3654)\\d{5}|(?:(?:1[28]|46)\\d|2(?:[014-6]2|[23]3))\\d{6}"],["36554\\d{4}|(?:[16]0|4[04]|5[015]|7[07]|99)\\d{7}"],["88\\d{7}"],["900200\\d{3}"]]],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0",0,0,0,0,0,[["(?:3(?:[05-79][2-9]|1[4579]|[23][24-9]|4[2-4689]|8[2457-9])|49[2-579]|5(?:0[2-49]|[13][2-9]|[268][2-4679]|4[4689]|5[2-79]|7[2-69]|9[2-4689]))\\d{5}",[8]],["6040\\d{5}|6(?:03|[1-356]|44|7\\d)\\d{6}"],["8[08]\\d{6}",[8]],["9[0246]\\d{6}",[8]],0,0,["703[235]0\\d{3}|70(?:2[0-5]|3[0146]|[56]0)\\d{4}",[8]],0,0,["8[12]\\d{6}",[8]]]],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246",[["246521[0369]\\d{3}|246(?:2(?:2[78]|7[0-4])|4(?:1[024-6]|2\\d|3[2-9])|5(?:20|[34]\\d|54|7[1-3])|6(?:2\\d|38)|7[35]7|9(?:1[89]|63))\\d{4}"],["246(?:(?:2(?:[3568]\\d|4[0-57-9])|3(?:5[2-9]|6[0-6])|4(?:46|5\\d)|69[5-7]|8(?:[2-5]\\d|83))\\d|52(?:1[147]|20))\\d{3}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["(?:246976|900[2-9]\\d\\d)\\d{4}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,["246(?:292|367|4(?:1[7-9]|3[01]|4[47-9]|67)|7(?:1[2-9]|2\\d|3[016]|53))\\d{4}"],0,["24631\\d{5}"]]],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0",0,0,0,0,0,[["(?:4(?:31\\d\\d|423)|5222)\\d{3}(?:\\d{2})?|8332[6-9]\\d\\d|(?:3(?:03[56]|224)|4(?:22[25]|653))\\d{3,4}|(?:3(?:42[47]|529|823)|4(?:027|525|65(?:28|8))|562|6257|7(?:1(?:5[3-5]|6[12]|7[156]|89)|22[589]56|32|42675|52(?:[25689](?:56|8)|[347]8)|71(?:6[1267]|75|89)|92374)|82(?:2[59]|32)56|9(?:03[23]56|23(?:256|373)|31|5(?:1|2[4589]56)))\\d{3}|(?:3(?:02[348]|22[35]|324|422)|4(?:22[67]|32[236-9]|6(?:2[46]|5[57])|953)|5526|6(?:024|6655)|81)\\d{4,5}|(?:2(?:7(?:1[0-267]|2[0-289]|3[0-29]|4[01]|5[1-3]|6[013]|7[0178]|91)|8(?:0[125]|1[1-6]|2[0157-9]|3[1-69]|41|6[1-35]|7[1-5]|8[1-8]|9[0-6])|9(?:0[0-2]|1[0-4]|2[568]|3[3-6]|5[5-7]|6[0136-9]|7[0-7]|8[014-9]))|3(?:0(?:2[025-79]|3[2-4])|181|22[12]|32[2356]|824)|4(?:02[09]|22[348]|32[045]|523|6(?:27|54))|666(?:22|53)|7(?:22[57-9]|42[56]|82[35])8|8(?:0[124-9]|2(?:181|2[02-4679]8)|4[12]|[5-7]2)|9(?:[04]2|2(?:2|328)|81))\\d{4}|(?:2(?:[23]\\d|[45])\\d\\d|3(?:1(?:2[5-7]|[5-7])|425|822)|4(?:033|1\\d|[257]1|332|4(?:2[246]|5[25])|6(?:2[35]|56|62)|8(?:23|54)|92[2-5])|5(?:02[03489]|22[457]|32[35-79]|42[46]|6(?:[18]|53)|724|826)|6(?:023|2(?:2[2-5]|5[3-5]|8)|32[3478]|42[34]|52[47]|6(?:[18]|6(?:2[34]|5[24]))|[78]2[2-5]|92[2-6])|7(?:02|21\\d|[3-589]1|6[12]|72[24])|8(?:217|3[12]|[5-7]1)|9[24]1)\\d{5}|(?:(?:3[2-8]|5[2-57-9]|6[03-589])1|4[4689][18])\\d{5}|[59]1\\d{5}"],["(?:1[13-9]\\d|644)\\d{7}|(?:3[78]|44|66)[02-9]\\d{7}",[10]],["80[03]\\d{7}",[10]],0,0,0,0,0,["96(?:0[469]|1[0-47]|3[389]|43|6[69]|7[78])\\d{6}",[10]]]],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0",0,0,0,0,0,[["80[2-8]\\d{5}|(?:1[0-69]|[23][2-8]|4[23]|5\\d|6[013-57-9]|71|8[1-79]|9[2-4])\\d{6}",[8]],["4[5-9]\\d{7}",[9]],["800[1-9]\\d{4}",[8]],["(?:70(?:2[0-57]|3[04-7]|44|6[04-69]|7[0579])|90\\d\\d)\\d{4}",[8]],0,0,["78(?:0[578]|1[014-8]|2[25]|3[15-8]|48|5[05]|60|7[06-8]|9\\d)\\d{4}",[8]],0,0,["7879\\d{4}",[8]]]],BF:["226","00","[025-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]],0,0,0,0,0,0,[["2(?:0(?:49|5[23]|6[5-7]|9[016-9])|4(?:4[569]|5[4-6]|6[5-7]|7[0179])|5(?:[34]\\d|50|6[5-7]))\\d{4}"],["(?:0[1-7]|5[0-8]|[67]\\d)\\d{6}"]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0",0,0,0,0,0,[["2\\d{5,7}|(?:43[1-6]|70[1-9])\\d{4,5}|(?:[36]\\d|4[124-7]|[57][1-9]|8[1-6]|9[1-7])\\d{5,6}",[6,7,8]],["(?:43[07-9]|99[69]\\d)\\d{5}|(?:8[7-9]|98)\\d{7}",[8,9]],["(?:00800\\d\\d|800)\\d{5}",[8,12]],["90\\d{6}",[8]],0,0,0,0,0,["700\\d{5}",[8]]]],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]],0,0,0,0,0,0,[["(?:1(?:3[1356]|6[0156]|7\\d)\\d|6(?:1[16]\\d|500|6(?:0\\d|3[12]|44|55|7[7-9]|88)|9[69][69])|7(?:[07]\\d\\d|1(?:11|78)))\\d{4}"],["(?:3(?:[0-79]\\d|8[0-57-9])\\d|6(?:3(?:00|33|6[16])|441|6(?:3[03-9]|[69]\\d|7[0-689])))\\d{4}"],["8[02369]\\d{6}"],["(?:87|9[0-8])\\d{6}"],0,0,0,0,0,["84\\d{6}"]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]],0,0,0,0,0,0,[["(?:22|31)\\d{6}"],["(?:29|[67][125-9])\\d{6}"]]],BJ:["229","00","(?:01\\d|[24-689])\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]],0,0,0,0,0,0,[["2090\\d{4}|(?:012\\d\\d|2(?:02|1[037]|2[45]|3[68]|4\\d))\\d{5}"],["(?:01(?:2[5-9]|[4-69]\\d)|4[0-8]|[56]\\d|9[013-9])\\d{6}"],0,0,0,0,["81\\d{6}",[8]],0,["857[58]\\d{4}",[8]]]],BL:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441",[["441(?:[46]\\d\\d|5(?:4\\d|60|89))\\d{4}"],["441(?:[2378]\\d|5[0-39]|9[02])\\d{5}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]],0,0,0,0,0,0,[["22[0-7]\\d{4}|(?:2[013-9]|[34]\\d|5[0-25-9])\\d{5}"],["(?:22[89]|[78]\\d\\d)\\d{4}"],0,0,0,0,0,0,["5[34]\\d{5}"]]],BO:["591","00(?:1\\d)?","8001\\d{5}|(?:[2-467]\\d|50)\\d{6}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[235]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?",0,0,0,[["(?:2(?:2\\d\\d|5(?:11|[258]\\d|9[67])|6(?:12|2\\d|9[34])|8(?:2[34]|39|62))|3(?:3\\d\\d|4(?:6\\d|8[24])|8(?:25|42|5[257]|86|9[25])|9(?:[27]\\d|3[2-4]|4[248]|5[24]|6[2-6]))|4(?:4\\d\\d|6(?:11|[24689]\\d|72)))\\d{4}",[8]],["[67]\\d{7}",[8]],["8001[07]\\d{4}",[9]],0,0,0,0,0,["50\\d{6}",[8]]]],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]",[["(?:318[023]|41(?:6[023]|70)|7(?:1[578]|2[05]|50)\\d)\\d{3}"],["(?:31(?:8[14-8]|9[14578])|416[14-9]|7(?:0[01]|7[07]|8\\d|9[056])\\d)\\d{3}"]]],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2",0,0,[["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\\d{7}",[10]],["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])(?:7|9\\d)\\d{7}",[10,11]],["800\\d{6,7}",[9,10]],["300\\d{6}|[59]00\\d{6,7}",[9,10]],0,0,0,0,0,["(?:30[03]\\d{3}|4(?:0(?:0\\d|20)|370))\\d{4}|300\\d{5}",[8,10]]]],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242",[["242(?:3(?:02|[236][1-9]|4[0-24-9]|5[0-68]|7[347]|8[0-4]|9[2-467])|461|502|6(?:0[1-5]|12|2[013]|[45]0|7[67]|8[78]|9[89])|7(?:02|88))\\d{4}"],["242(?:3(?:5[79]|7[56]|95)|4(?:[23][1-9]|4[1-35-9]|5[1-8]|6[2-8]|7\\d|81)|5(?:2[45]|3[35]|44|5[1-46-9]|65|77)|6[34]6|7(?:27|38)|8(?:0[1-9]|1[02-9]|2\\d|3[0-4]|[89]9))\\d{4}"],["242300\\d{4}|8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,["242225\\d{4}"]]],BT:["975","00","[17]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]],0,0,0,0,0,0,[["(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\d{5}",[7]],["(?:1[67]|77)\\d{6}",[8]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["(?:2(?:4[0-48]|6[0-24]|9[0578])|3(?:1[0-35-9]|55|[69]\\d|7[013]|81)|4(?:6[03]|7[1267]|9[0-5])|5(?:3[03489]|4[0489]|7[1-47]|88|9[0-49])|6(?:2[1-35]|5[149]|8[013467]))\\d{4}",[7]],["(?:321|7[1-8]\\d)\\d{5}",[8]],["(?:0800|800\\d)\\d{6}",[10]],["90\\d{5}",[7]],0,0,0,0,["79(?:1(?:[0-2]\\d|3[0-3])|2[0-7]\\d)\\d{3}",[8]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,[["(?:1(?:5(?:1[1-5]|[24]\\d|6[2-4]|9[1-7])|6(?:[235]\\d|4[1-7])|7\\d\\d)|2(?:1(?:[246]\\d|3[0-35-9]|5[1-9])|2(?:[235]\\d|4[0-8])|3(?:[26]\\d|3[02-79]|4[024-7]|5[03-7])))\\d{5}",[9]],["(?:2(?:5[5-79]|9[1-9])|(?:33|44)\\d)\\d{6}",[9]],["800\\d{3,7}|8(?:0[13]|20\\d)\\d{7}"],["(?:810|902)\\d{7}",[10]],0,0,0,0,["249\\d{6}",[9]]],"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]],0,0,0,0,0,0,[["(?:2(?:[02]\\d|36|[68]0)|[3-58](?:[02]\\d|[68]0)|7(?:[02]\\d|32|[68]0))\\d{4}",[7]],["6[0-35-7]\\d{5}",[7]],["0800\\d{7}",[11]]]],CA:["1","011","[2-9]\\d{9}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:12|573)\\d\\d|276)\\d{5}|[1-6]\\d{6}"],["88\\d{5}|(?:8[0-69]|9[017-9])\\d{7}",[7,9]]]],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]],0,0,0,0,0,0,[["2[12]\\d{6}"],["7[024-7]\\d{6}"],0,["8776\\d{4}"]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]],0,0,0,0,0,0,[["222[1-589]\\d{5}"],["026(?:1[0-5]|6[6-9])\\d{4}|0(?:[14-6]\\d\\d|2(?:40|5[5-8]|6[07-9]))\\d{5}"],0,["80[0-2]\\d{6}"]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:2[12467]|3[1-4]|4[134]|5[256]|6[12]|[7-9]1)\\d{7}",[9]],["(?:6[89]|7[235-9])\\d{7}",[9]],["800\\d{6}",[9]],["90[016]\\d{6}",[9]],["878\\d{6}",[9]],["860\\d{9}",[12]],["5[18]\\d{7}",[9]],["74[0248]\\d{6}",[9]],0,["84[0248]\\d{6}",[9]]]],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]],0,0,0,0,0,0,[["2(?:[15]\\d{3}|7(?:2(?:0[23]|1[2357]|2[245]|3[45]|4[3-5])|3(?:06|1[69]|[2-6]7)))\\d{5}"],["0[157]\\d{8}"]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]],0,0,0,0,0,0,[["(?:2\\d|3[13-7]|4[1-5])\\d{3}"],["[578]\\d{4}"]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]],0,0,0,0,0,0,[["2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\d\\d|3(?:[03467]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-3])|600)|646[59])|80[1-9]\\d\\d|9(?:3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|7[1-9]\\d\\d|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",[9]],["",[9]],["(?:123|8)00\\d{6}",[9,11]],0,0,0,0,0,["44\\d{7}",[9]],["600\\d{7,8}",[10,11]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]],0,0,0,0,0,0,[["2(?:22|33)\\d{6}",[9]],["(?:24[23]|6(?:[25-9]\\d|40))\\d{6}",[9]],["88\\d{6,7}"]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,[["(?:10(?:[02-79]\\d\\d|[18](?:0[1-9]|[1-9]\\d))|2(?:[02-57-9]\\d{3}|1(?:[18](?:0[1-9]|[1-9]\\d)|[2-79]\\d\\d))|(?:41[03]|8078|9(?:78|94))\\d\\d)\\d{5}|(?:10|2[0-57-9])(?:1(?:00|23)\\d\\d|95\\d{3,4})|(?:41[03]|9(?:78|94))(?:100\\d\\d|95\\d{3,4})|8078123|(?:43[35]|754|851)\\d{7,8}|(?:43[35]|754|851)(?:1(?:00\\d|23)\\d|95\\d{3,4})|(?:3(?:11|7[179])|4(?:[15]1|3[12])|5(?:1\\d|2[37]|3[12]|51|7[13-79]|9[15])|7(?:[39]1|5[57]|6[09])|8(?:71|98))(?:[02-8]\\d{7}|1(?:0(?:0\\d\\d(?:\\d{3})?|[1-9]\\d{5})|[13-9]\\d{6}|2(?:[0-24-9]\\d{5}|3\\d(?:\\d{4})?))|9(?:[0-46-9]\\d{6}|5\\d{3}(?:\\d(?:\\d{2})?)?))|(?:3(?:1[02-9]|35|49|5\\d|7[02-68]|9[1-68])|4(?:1[24-9]|2[179]|3[46-9]|5[2-9]|6[47-9]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[17]\\d|2[248]|3[04-9]|4[3-6]|5[0-3689]|6[2368]|9[02-9])|8(?:1[236-8]|2[5-7]|3\\d|5[2-9]|7[02-9]|8[36-8]|9[1-7])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))(?:[02-8]\\d{6}|1(?:0(?:0\\d\\d(?:\\d{2})?|[1-9]\\d{4})|[13-9]\\d{5}|2(?:[0-24-9]\\d{4}|3\\d(?:\\d{3})?))|9(?:[0-46-9]\\d{5}|5\\d{3,5}))",[7,8,9,10,11]],["1740[0-5]\\d{6}|1(?:[38]\\d|4[57]|[59][0-35-9]|6[25-7]|7[0-35-8])\\d{8}",[11]],["(?:(?:10|21)8|8)00\\d{7}",[10,12]],["16[08]\\d{5}",[8]],0,0,0,0,0,["10(?:10\\d{4}|96\\d{3,4})|400\\d{7}|950\\d{7,8}|(?:2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))96\\d{3,4}",[7,8,9,10,11]]],"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["46"]],["(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?",0,0,0,[["601055(?:[0-4]\\d|50)\\d\\d|6010(?:[0-4]\\d|5[0-4])\\d{4}|(?:46|60(?:[124-7][2-9]|8[1-9]))\\d{6}",[8,10]],["333301[0-5]\\d{3}|3333(?:00|2[5-9]|[3-9]\\d)\\d{4}|(?:3(?:24[1-9]|3(?:00|3[0-24-9]))|9101)\\d{6}|3(?:0[0-5]|1\\d|2[0-3]|5[01]|70)\\d{7}",[10]],["1800\\d{7}",[11]],["(?:19(?:0[01]|4[78])|901)\\d{7}",[10,11]]]],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))",0,0,0,[["210[7-9]\\d{4}|2(?:[024-7]\\d|1[1-9])\\d{5}",[8]],["(?:3005\\d|6500[01])\\d{3}|(?:5[07]|6[0-4]|7[0-3]|8[3-9])\\d{6}",[8]],["800\\d{7}",[10]],["90[059]\\d{7}",[10]],0,0,0,0,["(?:210[0-6]|4\\d{3}|5100)\\d{4}",[8]]]],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:3[23]|4[89])\\d{4,6}|(?:31|4[36]|8(?:0[25]|78)\\d)\\d{6}|(?:2[1-4]|4[1257]|7\\d)\\d{5,6}"],["(?:5\\d|6[2-4])\\d{6}",[8]],["800\\d{7}",[10]],0,0,0,0,0,0,["807\\d{7}",[10]]]],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]],0,0,0,0,0,0,[["2(?:2[1-7]|3[0-8]|4[12]|5[1256]|6\\d|7[1-3]|8[1-5])\\d{4}"],["(?:36|5[1-389]|9\\d)\\d{5}"],["800\\d{4}"],0,0,0,0,0,["(?:3[3-5]|4[356])\\d{5}"]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]",[["9(?:4(?:3[0-5]|4[14]|6\\d)|50\\d|7(?:2[014]|3[02-9]|4[4-9]|6[357]|77|8[7-9])|8(?:3[39]|[46]\\d|7[01]|8[57-9]))\\d{4}"],["953[01]\\d{4}|9(?:5[12467]|6[5-9])\\d{5}"],0,0,0,0,0,["955\\d{5}",[8]],0,["60[0-2]\\d{4}",[7]]]],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]],0,0,0,0,0,0,[["2[2-6]\\d{6}"],["9(?:10|[4-79]\\d)\\d{5}"],["800\\d{5}"],["90[09]\\d{5}"],["700\\d{5}"],0,["(?:50|77)\\d{6}"],0,0,["80[1-9]\\d{5}"]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9,10,11,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,[["(?:2\\d|3[1257-9]|4[16-9]|5[13-9])\\d{7}",[9]],["(?:60[1-8]\\d|7(?:0(?:[2-5]\\d|60)|19[0-2]|[2379]\\d\\d))\\d{5}",[9]],["800\\d{6}",[9]],["9(?:0[05689]|76)\\d{6}",[9]],["70[01]\\d{6}",[9]],["9(?:3\\d{9}|6\\d{7,10})"],["9(?:5\\d|7[2-4])\\d{6}",[9]],0,["9[17]0\\d{6}",[9]],["8[134]\\d{7}",[9]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|31)"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0",0,0,0,0,0,[["32\\d{9,11}|49[1-6]\\d{10}|322\\d{6}|49[0-7]\\d{3,9}|(?:[34]0|[68]9)\\d{3,13}|(?:2(?:0[1-689]|[1-3569]\\d|4[0-8]|7[1-7]|8[0-7])|3(?:[3569]\\d|4[0-79]|7[1-7]|8[1-8])|4(?:1[02-9]|[2-48]\\d|5[0-6]|6[0-8]|7[0-79])|5(?:0[2-8]|[124-6]\\d|[38][0-8]|[79][0-7])|6(?:0[02-9]|[1-358]\\d|[47][0-8]|6[1-9])|7(?:0[2-8]|1[1-9]|[27][0-7]|3\\d|[4-6][0-8]|8[0-5]|9[013-7])|8(?:0[2-9]|1[0-79]|2\\d|3[0-46-9]|4[0-6]|5[013-9]|6[1-8]|7[0-8]|8[0-24-6])|9(?:0[6-9]|[1-4]\\d|[589][0-7]|6[0-8]|7[0-467]))\\d{3,12}",[5,6,7,8,9,10,11,12,13,14,15]],["1(?:(?:5(?:[0-25-9]\\d\\d|310)|76\\d\\d)\\d{6}|6[023]\\d{7,8})|17\\d{8}",[10,11]],["800\\d{7,12}",[10,11,12,13,14,15]],["(?:137[7-9]|900(?:[135]|9\\d))\\d{6}",[10,11]],["700\\d{8}",[11]],["1(?:6(?:013|255|399)|7(?:(?:[015]1|[69]3)3|[2-4]55|[78]99))\\d{7,8}|15(?:(?:[03-68]00|113)\\d|2\\d55|7\\d99|9\\d33)\\d{7}",[12,13]],["18(?:1\\d{5,11}|[2-9]\\d{8})",[8,9,10,11,12,13,14]],["16(?:4\\d{1,10}|[89]\\d{1,11})",[4,5,6,7,8,9,10,11,12,13,14]],0,["180\\d{5,11}|13(?:7[1-6]\\d\\d|8)\\d{4}",[7,8,9,10,11,12,13,14]]]],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]],0,0,0,0,0,0,[["2(?:1[2-5]|7[45])\\d{5}"],["77\\d{6}"]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]],0,0,0,0,0,0,[["(?:2(?:[0-59][1-9]|[6-8]\\d)|3(?:[0-3][1-9]|4[13]|5[1-58]|6[1347-9]|7\\d|8[1-8]|9[1-79])|4(?:[0-25][1-9]|[34][2-9]|6[13-579]|7[13579]|8[1-47]|9[127])|5(?:[0-36][1-9]|4[146-9]|5[3-57-9]|7[568]|8[1-358]|9[1-69])|6(?:[0135][1-9]|2[1-68]|4[2-8]|6[1689]|[78]\\d|9[15689])|7(?:[0-69][1-9]|7[3-9]|8[147])|8(?:[16-9][1-9]|2[1-58])|9(?:[1-47-9][1-9]|6\\d))\\d{5}"],["(?:2[6-8]|37|6[78]|96)\\d{6}|(?:2[0-59]|3[0-689]|[457]\\d|6[0-69]|8[126-9]|9[1-47-9])[1-9]\\d{5}"],["80\\d{6}"],["90\\d{6}"]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767",[["767(?:2(?:55|66)|4(?:2[01]|4[0-25-9])|50[0-4])\\d{4}"],["767(?:2(?:[2-4689]5|7[5-7])|31[5-7]|61[1-8]|70[1-6])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9",[["8(?:[04]9[2-9]\\d\\d|29(?:2(?:[0-59]\\d|6[04-9]|7[0-27]|8[0237-9])|3(?:[0-35-9]\\d|4[7-9])|[45]\\d\\d|6(?:[0-27-9]\\d|[3-5][1-9]|6[0135-8])|7(?:0[013-9]|[1-37]\\d|4[1-35689]|5[1-4689]|6[1-57-9]|8[1-79]|9[1-8])|8(?:0[146-9]|1[0-48]|[248]\\d|3[1-79]|5[01589]|6[013-68]|7[124-8]|9[0-8])|9(?:[0-24]\\d|3[02-46-9]|5[0-79]|60|7[0169]|8[57-9]|9[02-9])))\\d{4}"],["8[024]9[2-9]\\d{6}"],["8(?:00(?:14|[2-9]\\d)|(?:33|44|55|66|77|88)[2-9]\\d)\\d{5}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0",0,0,0,0,0,[["9619\\d{5}|(?:1\\d|2[013-79]|3[0-8]|4[013-689])\\d{6}"],["(?:5(?:4[0-29]|5\\d|6[0-3])|6(?:[569]\\d|7[0-6])|7[7-9]\\d)\\d{6}",[9]],["800\\d{6}",[9]],["80[3-689]1\\d{5}",[9]],0,0,0,0,["98[23]\\d{6}",[9]],["80[12]1\\d{5}",[9]]]],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0",0,0,0,0,0,[["[2-7][2-7]\\d{6}",[8]],["964[0-2]\\d{5}|9(?:39|[57][89]|6[0-36-9]|[89]\\d)\\d{6}",[9]],["1800\\d{7}|1[78]00\\d{6}",[10,11]],0,0,0,0,0,["[2-7]890\\d{4}",[8]]]],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["(?:3[23589]|4[3-8]|6\\d|7[1-9]|88)\\d{5}",[7]],["(?:5\\d{5}|8(?:1(?:0(?:0(?:00|[178]\\d)|[3-9]\\d\\d)|(?:1(?:0[2-6]|1\\d)|(?:2[0-59]|[3-79]\\d)\\d)\\d)|2(?:0(?:0(?:00|4\\d)|(?:19|[2-7]\\d)\\d)|(?:(?:[124-69]\\d|3[5-9])\\d|7(?:[0-79]\\d|8[13-9])|8(?:[2-6]\\d|7[01]))\\d)|[349]\\d{4}))\\d\\d|5(?:(?:[02]\\d|5[0-478])\\d|1(?:[0-8]\\d|95)|6(?:4[0-4]|5[1-589]))\\d{3}",[7,8]],["800(?:(?:0\\d\\d|1)\\d|[2-9])\\d{3}"],["(?:40\\d\\d|900)\\d{4}",[7,8]],["70[0-2]\\d{5}",[8]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0",0,0,0,0,0,[["13[23]\\d{6}|(?:15|57)\\d{6,7}|(?:2\\d|3|4[05-8]|5[05]|6[24-689]|8[2468]|9[235-7])\\d{7}",[8,9]],["1[0-25]\\d{8}",[10]],["800\\d{7}",[10]],["900\\d{7}",[10]]]],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]",[["528[89]\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-467]|5[0-3]|8[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1[12568]|[24]0|55|6[146])|8\\d\\d)\\d{4}"],["(?:17[1-3]|7\\d\\d)\\d{4}"]]],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]],0,0,0,0,0,0,[["96906(?:0[0-8]|1[1-9]|[2-9]\\d)\\d\\d|9(?:69(?:0[0-57-9]|[1-9]\\d)|73(?:[0-8]\\d|9[1-9]))\\d{4}|(?:8(?:[1356]\\d|[28][0-8]|[47][1-9])|9(?:[135]\\d|[268][0-8]|4[1-9]|7[124-9]))\\d{6}"],["(?:590[16]00\\d|9(?:6906(?:09|10)|7390\\d\\d))\\d\\d|(?:6\\d|7[1-48])\\d{7}"],["[89]00\\d{6}"],["80[367]\\d{6}"],["70\\d{7}"],0,["51\\d{7}"],0,0,["90[12]\\d{6}"]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0",0,0,0,0,0,[["11667[01]\\d{3}|(?:11(?:1(?:1[124]|2[2-7]|3[1-5]|5[5-8]|8[6-8])|2(?:13|3[6-8]|5[89]|7[05-9]|8[2-6])|3(?:2[01]|3[0-289]|4[1289]|7[1-4]|87)|4(?:1[69]|3[2-49]|4[0-3]|6[5-8]|7\\d)|5(?:1[578]|44|5[0-4])|6(?:1[578]|2[69]|39|4[5-7]|5[0-5]|6[0-59]|8[015-8]))|2(?:2(?:11[1-9]|22[0-7]|33\\d|44[1467]|66[1-68])|5(?:11[124-6]|33[2-8]|44[1467]|55[14]|66[1-3679]|77[124-79]|880))|3(?:3(?:11[0-46-8]|(?:22|55)[0-6]|33[0134689]|44[04]|66[01467])|4(?:44[0-8]|55[0-69]|66[0-3]|77[1-5]))|4(?:6(?:119|22[0-24-7]|33[1-5]|44[13-69]|55[14-689]|660|88[1-4])|7(?:(?:11|22)[1-9]|33[13-7]|44[13-6]|55[1-689]))|5(?:7(?:227|55[05]|(?:66|77)[14-8])|8(?:11[149]|22[013-79]|33[0-68]|44[013-8]|550|66[1-5]|77\\d)))\\d{4}"],["700[1-9]\\d{5}|(?:7(?:0[1-9]|1[0-8]|22|77|86|99)|9\\d\\d)\\d{6}"]]],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",[["1[3-7][1-8]\\d{3,6}|(?:19[1-8]|[23568][1-8]\\d|9(?:00|[1-8]\\d))\\d{2,6}",[5,6,7,8,9]],["4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",[6,7,8,9,10]],["800\\d{4,6}",[7,8,9]],["[67]00\\d{5,6}",[8,9]],0,0,["20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}"]],"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,[["603\\d{4}|(?:3[0-5]|6[25-7]|8[58])\\d{5}",[7]],["(?:[279]\\d|45|5[01568]|8[034679])\\d{5}",[7]],["0800\\d{7}",[11]]],"00"],FK:["500","00","[2-7]\\d{4}",[5],0,0,0,0,0,0,0,[["[2-47]\\d{4}"],["[56]\\d{4}"]]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]],0,0,0,0,0,0,[["31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-6]\\d)\\d)\\d{3}"],["31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-7]\\d)\\d)\\d{3}"]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))",0,0,0,[["(?:20|[34]\\d|8[19])\\d{4}"],["(?:[27][1-9]|5\\d|9[16])\\d{4}"],["80[257-9]\\d{3}"],["90(?:[13-5][15-7]|2[125-7]|9\\d)\\d\\d"],0,0,0,0,["(?:6[0-36]|88)\\d{4}"]]],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0",0,0,0,0,0,[["(?:26[013-9]|59[1-35-9])\\d{6}|(?:[13]\\d|2[0-57-9]|4[1-9]|5[0-8])\\d{7}"],["(?:6(?:[0-24-8]\\d|3[0-8]|9[589])|7[3-9]\\d)\\d{6}"],["80[0-5]\\d{6}"],["836(?:0[0-36-9]|[1-9]\\d)\\d{4}|8(?:1[2-9]|2[2-47-9]|3[0-57-9]|[569]\\d|8[0-35-9])\\d{6}"],0,0,["80[6-9]\\d{6}"],0,["9\\d{8}"],["8(?:1[01]|2[0156]|4[024]|84)\\d{6}"]]],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1",0,0,[["[01]1\\d{6}",[8]],["(?:(?:0[2-7]|7[467])\\d|6(?:0[0-4]|10|[256]\\d))\\d{5}|[2-7]\\d{6}"]]],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473",[["473(?:2(?:3[0-2]|69)|3(?:2[89]|86)|4(?:[06]8|3[5-9]|4[0-4]|5[579]|73|90)|63[68]|7(?:58|84)|800|938)\\d{4}"],["473(?:4(?:0[2-79]|1[04-9]|2[0-5]|49|5[68])|5(?:2[01]|3[3-8])|901)\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0",0,0,0,0,0,[["(?:3(?:[256]\\d|4[124-9]|7[0-4])|4(?:1\\d|2[2-7]|3[1-79]|4[2-8]|7[239]|9[1-7]))\\d{6}"],["5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|5(?:0(?:0[17]0|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\d{3}|(?:5(?:0(?:0(?:0\\d|11|22|3[0-6]|44|5[05]|77|88|9[09])|(?:[14]\\d|77)\\d|22[02])|1(?:1(?:[03][01]|[124]\\d|5[2-6]|7[0-4])|4\\d\\d)|[23]555|4(?:4\\d\\d|555)|5(?:[0157-9]\\d\\d|200|333|444)|6[89]\\d\\d|7(?:[0147-9]\\d\\d|5(?:00|[57]5))|8(?:0(?:[018]\\d|2[0-4])|5(?:55|8[89])|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}"],["800\\d{6}"],0,0,0,0,0,["70[67]\\d{6}"]]],GF:["594","00","(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0",0,0,0,0,0,[["594(?:[02-49]\\d|1[0-5]|5[6-9]|6[0-3]|80)\\d{4}"],["(?:694(?:[0-249]\\d|3[0-8])|7093[0-3])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:396|76\\d)\\d|476[0-6])\\d{4}"]]],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0",0,0,0,0,0,[["3082[0-5]\\d{4}|3(?:0(?:[237]\\d|8[01])|[167](?:2[0-6]|7\\d|80)|2(?:2[0-5]|7\\d|80)|3(?:2[0-3]|7\\d|80)|4(?:2[013-9]|3[01]|7\\d|80)|5(?:2[0-7]|7\\d|80)|8(?:2[0-2]|7\\d|80)|9(?:[28]0|7\\d))\\d{5}",[9]],["(?:2(?:[0346-9]\\d|5[67])|5(?:[03-7]\\d|9[1-9]))\\d{6}",[9]],["800\\d{5}",[8]]]],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]],0,0,0,0,0,0,[["2190[0-2]\\d{3}|2(?:0(?:[02]\\d|3[01])|16[24-9]|2[2-5]\\d)\\d{4}"],["5251[0-4]\\d{3}|(?:5(?:[146-8]\\d\\d|250)|60(?:1[01]|6\\d))\\d{4}"]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]],0,0,0,0,0,0,[["(?:19|3[1-7]|[68][1-9]|70|9\\d)\\d{4}"],["[245]\\d{5}"],["80\\d{4}"],0,0,0,0,0,["3[89]\\d{4}"]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],0,0,0,0,0,0,[["(?:4(?:[23]\\d\\d|4(?:1[024679]|[6-9]\\d))|5(?:5(?:3\\d|4[0-7])|6[67]\\d|7(?:1[04]|2[035]|3[58]|48))|8\\d{3})\\d{3}"],["(?:[23679]\\d|4[015]|5[0-489])\\d{5}"]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]],0,0,0,0,0,0,[["3(?:0(?:24|3[12]|4[1-35-7]|5[13]|6[189]|[78]1|9[1478])|1\\d\\d)\\d{4}",[8]],["6[0-356]\\d{7}",[9]],0,0,0,0,0,0,["722\\d{6}",[9]]]],GP:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]],0,0,0,0,0,0,[["33[0-24-9]\\d[46]\\d{4}|3(?:33|5\\d)\\d[7-9]\\d{4}"],["(?:222|55\\d)\\d{6}"],["80\\d[1-9]\\d{5}"],["90\\d[1-9]\\d{5}"]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["2(?:1\\d\\d|2(?:2[1-46-9]|[36][1-8]|4[1-7]|5[1-4]|7[1-5]|[89][1-9])|3(?:1\\d|2[1-57]|[35][1-3]|4[13]|7[1-7]|8[124-6]|9[1-79])|4(?:1\\d|2[1-8]|3[1-4]|4[13-5]|6[1-578]|9[1-5])|5(?:1\\d|[29][1-4]|3[1-5]|4[124]|5[1-6])|6(?:1\\d|[269][1-6]|3[1245]|4[1-7]|5[13-9]|7[14]|8[1-5])|7(?:1\\d|2[1-5]|3[1-6]|4[1-7]|5[1-57]|6[135]|9[125-7])|8(?:1\\d|2[1-5]|[34][1-4]|9[1-57]))\\d{6}",[10]],["68[57-9]\\d{7}|(?:69|94)\\d{8}",[10]],["800\\d{7,9}"],["90[19]\\d{7}",[10]],["70\\d{8}",[10]],0,["5005000\\d{3}",[10]],0,0,["8(?:0[16]|12|[27]5|50)\\d{7}",[10]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[["[267][2-9]\\d{6}",[8]],["(?:[3-5]\\d\\d|80[0-4])\\d{5}",[8]],["18[01]\\d{8}",[11]],["19\\d{9}",[11]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671",[["671(?:2\\d\\d|3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[478])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]],0,0,0,0,0,0,[["443\\d{6}",[9]],["9(?:5\\d|6[569]|77)\\d{6}",[9]],0,0,0,0,0,0,["40\\d{5}",[7]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],0,0,0,0,0,0,[["(?:2(?:1[6-9]|2[0-35-9]|3[1-4]|5[3-9]|6\\d|7[0-79])|3(?:2[25-9]|3\\d)|4(?:4[0-24]|5[56])|50[0-6]|77[1-57])\\d{4}"],["(?:510|6\\d\\d|7(?:[0-5]\\d|6[01]))\\d{4}"],["(?:289|8(?:00|6[28]|88|99))\\d{4}"],["9008\\d{3}"],0,0,0,0,["515\\d{4}"]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,[["(?:2(?:[13-9]\\d|2[013-9])\\d|3(?:(?:[1569][0-24-9]|4[0-246-9]|7[0-24-69])\\d|8(?:4[0-8]|[579]\\d|6[0-2]))|58(?:0[1-9]|1[2-9]))\\d{4}",[8]],["(?:4(?:44[0-35-9]|6(?:1[0-79]|4[0-57-9]|6[0-4])|7(?:4[0-28]|6[0-5]))|5(?:73[0-6]|95[0-8])|6(?:26[013-8]|66[0-3])|70(?:7[1-8]|8[0-4])|84(?:4[0-2]|8[0-35-9])|9(?:29[013-9]|39[014-9]|59[0-4]|899))\\d{4}|(?:4(?:4[0-35-9]|6[02357-9]|7[015])|5(?:[1-59][0-46-9]|6[0-4689]|7[0-246-9])|6(?:0[1-9]|[13-59]\\d|[268][0-57-9]|7[0-79])|70[1-59]|84[0-39]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}",[8]],["800\\d{6}",[9]],["900(?:[0-24-9]\\d{7}|3\\d{1,4})",[5,6,7,8,11]],["8(?:1[0-4679]\\d|2(?:[0-36]\\d|7[0-4])|3(?:[034]\\d|2[09]|70))\\d{4}",[8]],0,["30(?:0[1-9]|[15-7]\\d|2[047]|89)\\d{4}",[8]],["7(?:1(?:0[0-38]|1[0-3679]|3[013]|69|9[0136])|2(?:[02389]\\d|1[18]|7[27-9])|3(?:[0-38]\\d|7[0-369]|9[2357-9])|47\\d|5(?:[178]\\d|5[0-5])|6(?:0[0-7]|2[236-9]|[35]\\d)|7(?:[27]\\d|8[7-9])|8(?:[23689]\\d|7[1-9])|9(?:[025]\\d|6[0-246-8]|7[0-36-9]|8[238]))\\d{4}",[8]]],"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]],0,0,0,0,0,0,[["2(?:2(?:0[0-59]|1[1-9]|[23]\\d|4[02-7]|5[57]|6[245]|7[0135689]|8[01346-9]|9[0-2])|4(?:0[578]|2[3-59]|3[13-9]|4[0-68]|5[1-3589])|5(?:0[2357-9]|1[1-356]|4[03-5]|5\\d|6[014-69]|7[04]|80)|6(?:[056]\\d|17|2[067]|3[047]|4[0-378]|[78][0-8]|9[01])|7(?:0[5-79]|6[46-9]|7[02-9]|8[034]|91)|8(?:79|8[0-357-9]|9[1-57-9]))\\d{4}",[8]],["[37-9]\\d{7}",[8]],["8002\\d{7}",[11]]]],HR:["385","00","(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",[6,7,8,9],[["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0",0,0,0,0,0,[["1\\d{7}|(?:2[0-3]|3[1-5]|4[02-47-9]|5[1-3])\\d{6,7}",[8,9]],["9(?:(?:0[1-9]|[12589]\\d)\\d\\d|7(?:[0679]\\d\\d|5(?:[01]\\d|44|55|77|9[5-79])))\\d{4}|98\\d{6}",[8,9]],["80\\d{5,7}",[7,8,9]],["6[01459]\\d{6}|6[01]\\d{4,5}",[6,7,8]],["7[45]\\d{6}",[8]],0,["62\\d{6,7}|72\\d{6}",[8,9]]]],HT:["509","00","(?:[2-489]\\d|55)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]],0,0,0,0,0,0,[["2(?:2\\d|5[1-5]|81|9[149])\\d{5}"],["(?:[34]\\d|55)\\d{6}"],["8\\d{7}"],0,0,0,0,0,["9(?:[67][0-4]|8[0-3589]|9\\d)\\d{5}"]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06",0,0,0,0,0,[["(?:1\\d|[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6[23689]|8[2-57-9]|9[2-69])\\d{6}",[8]],["(?:[257]0|3[01])\\d{7}",[9]],["(?:[48]0\\d|680[29])\\d{5}"],["9[01]\\d{6}",[8]],0,0,["38\\d{7}",[9]],0,["21\\d{7}",[9]]]],ID:["62","00[89]","00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13,14,15,16,17],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0",0,0,0,0,0,[["2[124]\\d{7,8}|619\\d{8}|2(?:1(?:14|500)|2\\d{3})\\d{3}|61\\d{5,8}|(?:2(?:[35][1-4]|6[0-8]|7[1-6]|8\\d|9[1-8])|3(?:1|[25][1-8]|3[1-68]|4[1-3]|6[1-3568]|7[0-469]|8\\d)|4(?:0[1-589]|1[01347-9]|2[0-36-8]|3[0-24-68]|43|5[1-378]|6[1-5]|7[134]|8[1245])|5(?:1[1-35-9]|2[25-8]|3[124-9]|4[1-3589]|5[1-46]|6[1-8])|6(?:[25]\\d|3[1-69]|4[1-6])|7(?:02|[125][1-9]|[36]\\d|4[1-8]|7[0-36-9])|9(?:0[12]|1[013-8]|2[0-479]|5[125-8]|6[23679]|7[159]|8[01346]))\\d{5,8}",[7,8,9,10,11]],["8[1-35-9]\\d{7,10}",[9,10,11,12]],["00(?:1803\\d{5,11}|7803\\d{7})|(?:177\\d|800)\\d{5,7}",[8,9,10,11,12,13,14,15,16,17]],["809\\d{7}",[10]],0,0,["(?:1500|8071\\d{3})\\d{3}",[7,10]],0,0,["804\\d{7}",[10]]]],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:1\\d|21)\\d{6,7}|(?:2[24-9]|4(?:0[24]|5\\d|7)|5(?:0[45]|1\\d|8)|6(?:1\\d|[237-9])|9(?:1\\d|[35-9]))\\d{5}|(?:23|4(?:[1-469]|8\\d)|5[23679]|6[4-6]|7[14]|9[04])\\d{7}"],["8(?:22|[35-9]\\d)\\d{6}",[9]],["1800\\d{6}",[10]],["15(?:1[2-8]|[2-8]0|9[089])\\d{6}",[10]],["700\\d{6}",[9]],["88210[1-9]\\d{4}|8(?:[35-79]5\\d\\d|8(?:[013-9]\\d\\d|2(?:[01][1-9]|[2-9]\\d)))\\d{5}",[10]],["818\\d{6}",[9]],0,["76\\d{7}",[9]],["18[59]0\\d{6}",[10]]]],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0",0,0,0,0,0,[["153\\d{8,9}|29[1-9]\\d{5}|(?:2[0-8]|[3489]\\d)\\d{6}",[8,11,12]],["55(?:4(?:[01]0|5[0-2])|57[0-289])\\d{4}|5(?:(?:[0-2][02-9]|[36]\\d|[49][2-9]|8[3-7])\\d|5(?:01|2\\d|3[0-3]|4[34]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}",[9]],["1(?:255|80[019]\\d{3})\\d{3}",[7,10]],["1212\\d{4}|1(?:200|9(?:0[0-2]|19))\\d{6}",[8,10]],0,["151\\d{8,9}",[11,12]],["1599\\d{6}",[10]],0,["7(?:38(?:0\\d|5[0-3569]|88)|8(?:33|55|77|81)\\d)\\d{4}|7(?:18|2[23]|3[237]|47|6[258]|7\\d|82|9[2-9])\\d{6}",[9]],["1700\\d{6}",[10]]]],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0","1624$1",0,"74576|(?:16|7[56])24",[["1624(?:230|[5-8]\\d\\d)\\d{3}"],["76245[06]\\d{4}|7(?:4576|[59]24\\d|624[0-4689])\\d{5}"],["808162\\d{4}"],["8(?:440[49]06|72299\\d)\\d{3}|(?:8(?:45|70)|90[0167])624\\d{4}"],["70\\d{8}"],0,["3440[49]06\\d{3}|(?:3(?:08162|3\\d{4}|45624|7(?:0624|2299))|55\\d{4})\\d{4}"],0,["56\\d{8}"]]],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0",0,0,0,0,0,[["2717(?:[2-7]\\d|95)\\d{4}|(?:271[0-689]|782[0-6])[2-7]\\d{5}|(?:170[24]|2(?:(?:[02][2-79]|90)\\d|80[13468])|(?:3(?:23|80)|683|79[1-7])\\d|4(?:20[24]|72[2-8])|552[1-7])\\d{6}|(?:11|33|4[04]|80)[2-7]\\d{7}|(?:342|674|788)(?:[0189][2-7]|[2-7]\\d)\\d{5}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[13]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[014-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[3-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1245]|4[5-8]|5[125689]|6[235-7]|7[157-9]|8[2-46-8])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])|7(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|8[013-7]|9[089])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d[2-7]\\d{5}",[10]],["(?:61279|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\d{5}|(?:6(?:12|[2-47]1|5[17]|6[13]|80)[0189]|7(?:1(?:2[0189]|9[0-5])|2(?:[14][017-9]|8[0-59])|3(?:2[5-8]|[34][017-9]|9[016-9])|4(?:1[015-9]|[29][89]|39|8[389])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))\\d{6}|(?:7(?:31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]\\d|7[02-8])\\d{5}|(?:6(?:[09]\\d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:0\\d|2[0235-79]|3[05-8]|40|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]\\d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9\\d\\d)\\d{7}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|8[124-6])\\d|7(?:[235689]\\d|4[0189]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-5])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]|881))[0189]\\d{5}",[10]],["000800\\d{7}|1(?:600\\d{6}|80(?:0\\d{4,9}|3\\d{9}))"],["186[12]\\d{9}",[13]],0,0,["140\\d{7}",[10]],0,0,["1860\\d{7}",[11]]]],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]],0,0,0,0,0,0,[["37\\d{5}"],["38\\d{5}"]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,[["1\\d{7}|(?:2[13-5]|3[02367]|4[023]|5[03]|6[026])\\d{6,7}",[8,9]],["7[3-9]\\d{8}",[10]]]],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0",0,0,0,0,0,[["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])(?:[03-57]\\d{7}|[16]\\d{3}(?:\\d{4})?|[289]\\d{3}(?:\\d(?:\\d{3})?)?)|94(?:000[09]|(?:12\\d|30[0-2])\\d|2(?:121|[2689]0\\d)|4(?:111|40\\d))\\d{4}",[6,7,10]],["9(?:(?:0(?:[0-35]\\d|4[4-6])|(?:[13]\\d|2[0-3])\\d)\\d|9(?:[0-46]\\d\\d|5[15]0|8(?:[12]\\d|88)|9(?:0[0-3]|[19]\\d|21|69|77|8[7-9])))\\d{5}",[10]],0,0,0,0,["96(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19])",[4,5]]]],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["(?:4(?:1[0-24-69]|2[0-7]|[37][0-8]|4[0-24589]|5[0-68]|6\\d|8[0-36-8])|5(?:05|[156]\\d|2[02578]|3[0-579]|4[03-7]|7[0-2578]|8[0-35-9]|9[013-689])|872)\\d{4}",[7]],["(?:38[589]\\d\\d|6(?:1[1-8]|2[0-6]|3[026-9]|4[014679]|5[0159]|6[0-69]|70|8[06-8]|9\\d)|7(?:5[057]|[6-9]\\d)|8(?:2[0-59]|[3-69]\\d|8[238]))\\d{4}"],["80[0-8]\\d{4}",[7]],["90(?:0\\d|1[5-79]|2[015-79]|3[135-79]|4[125-7]|5[25-79]|7[1-37]|8[0-35-7])\\d{3}",[7]],0,["(?:689|8(?:7[18]|80)|95[48])\\d{4}",[7]],["809\\d{4}",[7]],0,["49[0-24-79]\\d{4}",[7]]],"00"],IT:["39","00","0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}",[6,7,8,9,10,11]],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876",[["8766060\\d{3}|(?:658(?:2(?:[0-8]\\d|9[0-46-9])|[3-9]\\d\\d)|876(?:52[35]|6(?:0[1-3579]|1[0235-9]|[23]\\d|40|5[06]|6[2-589]|7[0-25-9]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468])))\\d{4}"],["(?:658295|876(?:2(?:0[1-9]|[13-9]\\d|2[013-9])|[348]\\d\\d|5(?:0[1-9]|[1-9]\\d)|6(?:4[89]|6[67])|7(?:0[07]|7\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579])))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,[["87(?:000|90[01])\\d{3}|(?:2(?:6(?:2[0-35-9]|3[0-578]|4[24-7]|5[0-24-8]|[6-8][023]|9[0-3])|7(?:0[1-79]|10|2[014-7]|3[0-689]|4[019]|5[0-3578]))|32(?:0[1-69]|1[1-35-7]|2[024-7]|3\\d|4[0-3]|[5-7][023])|53(?:0[0-3]|[13][023]|2[0-59]|49|5[0-35-9]|6[15]|7[45]|8[1-6]|9[0-36-9])|6(?:2(?:[05]0|22)|3(?:00|33)|4(?:0[0-25]|1[2-7]|2[0569]|[38][07-9]|4[025689]|6[0-589]|7\\d|9[0-2])|5(?:[01][056]|2[034]|3[0-57-9]|4[178]|5[0-69]|6[0-35-9]|7[1-379]|8[0-68]|9[0239]))|87(?:20|7[078]|99))\\d{4}",[8]],["7(?:[78][0-25-9]|9\\d)\\d{6}",[9]],["80\\d{6}",[8]],["9\\d{7}",[8]],["70\\d{7}",[9]],0,["8(?:10|8\\d)\\d{5}",[8]],["74(?:66|77)\\d{5}",[9]],0,["85\\d{6}",[8]]]],JP:["81","010","00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],"0",0,"(000[259]\\d{6})$|(?:(?:003768)0?)|0","$1",0,0,[["(?:1(?:1[235-8]|2[3-6]|3[3-9]|4[2-6]|[58][2-8]|6[2-7]|7[2-9]|9[1-9])|(?:2[2-9]|[36][1-9])\\d|4(?:[2-578]\\d|6[02-8]|9[2-59])|5(?:[2-589]\\d|6[1-9]|7[2-8])|7(?:[25-9]\\d|3[4-9]|4[02-9])|8(?:[2679]\\d|3[2-9]|4[5-9]|5[1-9]|8[03-9])|9(?:[2-58]\\d|[679][1-9]))\\d{6}",[9]],["[7-9]0[1-9]\\d{7}",[10]],["00777(?:[01]|5\\d)\\d\\d|(?:00(?:7778|882[1245])|(?:120|800\\d)\\d\\d)\\d{4}|00(?:37|66|78)\\d{6,13}"],["990\\d{6}",[9]],["60\\d{7}",[9]],0,["570\\d{6}",[9]],["20\\d{8}",[10]],["50[1-9]\\d{7}",[10]]]],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,[["(?:4[245]|5[1-79]|6[01457-9])\\d{5,7}|(?:4[136]|5[08]|62)\\d{7}|(?:[24]0|66)\\d{6,7}",[7,8,9]],["(?:1(?:0[0-8]|1[0-7]|2[014]|30)|7\\d\\d)\\d{6}",[9]],["800[02-8]\\d{5,6}",[9,10]],["900[02-9]\\d{5}",[9]]]],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["312(?:5[0-79]\\d|9(?:[0-689]\\d|7[0-24-9]))\\d{3}|(?:3(?:1(?:2[0-46-8]|3[1-9]|47|[56]\\d)|2(?:22|3[0-479]|6[0-7])|4(?:22|5[6-9]|6\\d)|5(?:22|3[4-7]|59|6\\d)|6(?:22|5[35-7]|6\\d)|7(?:22|3[468]|4[1-9]|59|[67]\\d)|9(?:22|4[1-8]|6\\d))|6(?:09|12|2[2-4])\\d)\\d{5}",[9]],["312(?:58\\d|973)\\d{3}|(?:2(?:0[0-35]|2\\d)|5[0-24-7]\\d|600|7(?:[07]\\d|55)|88[08]|9(?:12|9[05-9]))\\d{6}",[9]],["800\\d{6,7}"]]],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0",0,0,0,0,0,[["23(?:4(?:[2-4]|[56]\\d)|[568]\\d\\d)\\d{4}|23[236-9]\\d{5}|(?:2[4-6]|3[2-6]|4[2-4]|[5-7][2-5])(?:(?:[237-9]|4[56]|5\\d)\\d{5}|6\\d{5,6})",[8,9]],["(?:(?:1[28]|3[18]|9[67])\\d|6[016-9]|7(?:[07-9]|[16]\\d)|8(?:[013-79]|8\\d))\\d{6}|(?:1\\d|9[0-57-9])\\d{6}|(?:2[3-6]|3[2-6]|4[2-4]|[5-7][2-5])48\\d{5}",[8,9]],["1800(?:1\\d|2[019])\\d{4}",[10]],["1900(?:1\\d|2[09])\\d{4}",[10]]]],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0",0,0,0,0,0,[["(?:[24]\\d|3[1-9]|50|65(?:02[12]|12[56]|22[89]|[3-5]00)|7(?:27\\d\\d|3100|5(?:02[12]|12[56]|22[89]|[34](?:00|81)|500))|8[0-5])\\d{3}"],["(?:6200[01]|7(?:310[1-9]|5(?:02[03-9]|12[0-47-9]|22[0-7]|[34](?:0[1-9]|8[02-9])|50[1-9])))\\d{3}|(?:63\\d\\d|7(?:(?:[0146-9]\\d|2[0-689])\\d|3(?:[02-9]\\d|1[1-9])|5(?:[0-2][013-9]|[34][1-79]|5[1-9]|[6-9]\\d)))\\d{4}",[8]],0,0,0,0,0,0,["30(?:0[01]\\d\\d|12(?:11|20))\\d\\d",[8]]]],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]],0,0,0,0,0,0,[["7[4-7]\\d{5}"],["[34]\\d{6}"],0,["8\\d{6}"]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869",[["869(?:2(?:29|36)|302|4(?:6[015-9]|70)|56[5-7])\\d{4}"],["869(?:48[89]|55[6-8]|66\\d|76[02-7])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:195|2)\\d|3[19]|4[159]|5[37]|6[17]|7[39]|85)\\d{6}"],["19[1-3]\\d{7}",[10]]]],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?",0,0,0,[["(?:2|3[1-3]|[46][1-4]|5[1-5])[1-9]\\d{6,7}|(?:3[1-3]|[46][1-4]|5[1-5])1\\d{2,3}",[5,6,8,9,10]],["1(?:05(?:[0-8]\\d|9[0-6])|22[13]\\d)\\d{4,5}|1(?:0[0-46-9]|[16-9]\\d|2[013-9])\\d{6,7}",[9,10]],["00(?:308\\d{6,7}|798\\d{7,9})|(?:00368|[38]0)\\d{7}",[9,11,12,13,14]],["60[2-9]\\d{6}",[9]],["50\\d{8,9}",[10,11]],0,["1(?:5(?:22|33|44|66|77|88|99)|6(?:[07]0|44|6[0168]|88)|8(?:00|33|55|77|99))\\d{4}",[8]],["15\\d{7,8}",[9,10]],["70\\d{8}",[10]]]],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]],0,0,0,0,0,0,[["2(?:[23]\\d\\d|4(?:[1-35-9]\\d|44)|5(?:0[034]|[2-46]\\d|5[1-3]|7[1-7]))\\d{4}",[8]],["(?:41\\d\\d|5(?:(?:[05]\\d|1[0-7]|6[56])\\d|2(?:22|5[25])|7(?:55|77)|88[58])|6(?:(?:0[034679]|5[015-9]|6\\d)\\d|1(?:00|11|6[16])|2[26]2|3[36]3|4[46]4|7(?:0[013-9]|[67]\\d)|8[68]8|9(?:[069]\\d|3[039]))|9(?:(?:[04679]\\d|8[057-9])\\d|1(?:1[01]|99)|2(?:00|2\\d)|3(?:00|3[03])|5(?:00|5\\d)))\\d{4}",[8]],["18\\d{5}",[7]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345",[["345(?:2(?:22|3[23]|44|66)|333|444|6(?:23|38|40)|7(?:30|4[35-79]|6[6-9]|77)|8(?:00|1[45]|4[89]|88)|9(?:14|4[035-9]))\\d{4}"],["345(?:32[1-9]|42[0-4]|5(?:1[67]|2[5-79]|4[6-9]|50|76)|649|82[56]|9(?:1[679]|2[2-9]|3[06-9]|90))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["(?:345976|900[2-9]\\d\\d)\\d{4}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],KZ:["7","810","(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"33|7",[["(?:33622|7(?:1(?:0(?:[23]\\d|4[0-3]|59|63)|1(?:[23]\\d|4[0-79]|59)|2(?:[23]\\d|59)|3(?:2\\d|3[0-79]|4[0-35-9]|59)|4(?:[24]\\d|3[013-9]|5[1-9]|97)|5(?:2\\d|3[1-9]|4[0-7]|59)|6(?:[2-4]\\d|5[19]|61)|72\\d|8(?:[27]\\d|3[1-46-9]|4[0-5]|59))|2(?:1(?:[23]\\d|4[46-9]|5[3469])|2(?:2\\d|3[0679]|46|5[12679])|3(?:[2-4]\\d|5[139])|4(?:2\\d|3[1-35-9]|59)|5(?:[23]\\d|4[0-8]|59|61)|6(?:2\\d|3[1-9]|4[0-4]|59)|7(?:[2379]\\d|40|5[279])|8(?:[23]\\d|4[0-3]|59)|9(?:2\\d|3[124578]|59))))\\d{5}",[10]],["7(?:0[0-25-8]|47|6[0-4]|7[15-8]|85)\\d{7}",[10]],["8(?:00|108\\d{3})\\d{7}"],["809\\d{7}",[10]],["808\\d{7}",[10]],0,0,0,["751\\d{7}",[10]]],"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[0135-9]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,0,0,0,0,[["(?:2[13]|[35-7][14]|41|8[1468])\\d{6}",[8]],["208[78]\\d{6}|(?:20[23579]|30[24])\\d{7}",[10]],0,0,0,0,["30[0135-9]\\d{6}",[9]]]],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0",0,0,0,0,0,[["7(?:62|8[0-7]|9[04-9])\\d{4}|(?:[14-69]\\d|2(?:[14-69]\\d|[78][1-9])|7[2-57]|8[02-9])\\d{5}"],["793(?:[01]\\d|2[0-4])\\d{3}|(?:(?:3|81)\\d|7(?:[01]\\d|6[013-9]|8[89]|9[12]))\\d{5}"],0,["9[01]\\d{6}",[8]],0,0,0,0,0,["80\\d{6}",[8]]]],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758",[["758(?:234|4(?:30|5\\d|6[2-9]|8[0-2])|57[0-2]|(?:63|75)8)\\d{4}"],["758(?:28[4-7]|384|4(?:6[01]|8[4-9])|5(?:1[89]|20|84)|7(?:1[2-9]|2\\d|3[0-3])|812)\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0",0,0,0,[["(?:2(?:01|1[27]|2[02]|3\\d|6[02-578]|96)|3(?:[24]0|33|7[0135-7]|8[048]|9[0269]))\\d{4}",[7]],["(?:6(?:(?:4[5-9]|5[0-469])\\d|6(?:[024-6]\\d|[17]0|3[7-9]))\\d|7(?:[37-9]\\d|42|56))\\d{4}"],["8002[28]\\d\\d|80(?:05\\d|9)\\d{4}"],["90(?:02[258]|1(?:23|3[14])|66[136])\\d\\d",[7]],0,["697(?:42|56|[78]\\d)\\d{4}",[9]],["870(?:28|87)\\d\\d",[7]]]],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0",0,0,0,0,0,[["(?:12[2-9]|602|8[12]\\d|9(?:1\\d|22|9[245]))\\d{6}|(?:11|2[13-7]|3[1-8]|4[157]|5[12457]|6[35-7])[2-57]\\d{6}"],["7(?:[0-25-8]\\d|4[0-4])\\d{6}"],0,0,0,0,["1973\\d{5}"]]],LR:["231","00","(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0",0,0,0,0,0,[["2\\d{7}",[8]],["(?:(?:(?:22|33)0|555|(?:77|88)\\d)\\d|4(?:240|[67]))\\d{5}|[56]\\d{6}",[7,9]],0,["332(?:02|[34]\\d)\\d{4}",[9]]]],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]],0,0,0,0,0,0,[["2\\d{7}"],["[56]\\d{7}"],["800[1256]\\d{4}"]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]",0,0,0,[["(?:3[1478]|4[124-6]|52)\\d{6}"],["6\\d{7}"],["80[02]\\d{5}"],["9(?:0[0239]|10)\\d{5}"],["70[05]\\d{5}"],0,["70[67]\\d{5}"],0,["[89]01\\d{5}"],["808\\d{5}"]]],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)",0,0,0,[["(?:35[013-9]|80[2-9]|90[89])\\d{1,8}|(?:2[2-9]|3[0-46-9]|[457]\\d|8[13-9]|9[2-579])\\d{2,9}"],["6(?:[269][18]|5[1568]|7[189]|81)\\d{6}",[9]],["800\\d{5}",[8]],["90[015]\\d{5}",[8]],0,0,0,0,["20(?:1\\d{5}|[2-689]\\d{1,7})",[4,5,6,7,8,9,10]],["801\\d{5}",[8]]]],LV:["371","00","(?:[268]\\d|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]],0,0,0,0,0,0,[["6\\d{7}"],["2333[0-8]\\d{3}|2(?:[0-24-9]\\d\\d|3(?:0[07]|[14-9]\\d|2[02-9]|3[0-24-9]))\\d{4}"],["80\\d{6}"],["90\\d{6}"],0,0,0,0,0,["81\\d{6}"]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:2(?:0[56]|[1-6]\\d|7[124579]|8[124])|3(?:1\\d|2[2356])|4(?:[17]\\d|2[1-357]|5[2-4]|8[124])|5(?:[1347]\\d|2[1-469]|5[13-5]|8[1-4])|6(?:[1-479]\\d|5[2-57]|8[1-5])|7(?:[13]\\d|2[13-79])|8(?:[124]\\d|5[124]|84))\\d{6}"],["9[1-6]\\d{7}"]]],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"0",0,0,0,0,0,[["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-467]|5[0-3]|8[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],MC:["377","00","(?:[3489]|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],"0",0,0,0,0,0,[["(?:870|9[2-47-9]\\d)\\d{5}",[8]],["4(?:[469]\\d|5[1-9])\\d{5}|(?:3|6\\d)\\d{7}"],["(?:800|90\\d)\\d{5}",[8]]]],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:2[1-9]|3[1-79])\\d|5(?:33|5[257]))\\d{5}"],["562\\d{5}|(?:6\\d|7[16-9])\\d{6}"],["800\\d{5}"],["90[056]\\d{5}"],0,0,["803\\d{5}"],0,["3[08]\\d{6}"],["808\\d{5}"]]],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:20[2-8]|3(?:[0-2][2-7]|3[24-7])|4(?:0[2-467]|1[2467])|5(?:0[2467]|1[24-7]|2[2-467]))\\d{5}",[8]],["6(?:[07-9]\\d|3[024]|6[0-25])\\d{5}",[8]],["80(?:[0-2578]|9\\d)\\d{5}"],["9(?:4[1568]|5[178])\\d{5}",[8]],0,0,["77[1-9]\\d{5}",[8]],0,["78[1-49]\\d{5}",[8]]]],MF:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1",0,0,[["2072[29]\\d{4}|20(?:2\\d|4[47]|5[3467]|6[279]|7[356]|8[268]|9[2457])\\d{5}"],["3[2-47-9]\\d{7}"],0,0,0,0,0,0,["22\\d{7}"]]],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1",0,0,0,0,0,[["(?:247|528|625)\\d{4}"],["(?:(?:23|54)5|329|45[35-8])\\d{4}"],0,0,0,0,0,0,["635\\d{4}"]]],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:2(?:62|77)0|3444)\\d|4[56]440)\\d{3}|(?:34|4[357])700\\d{3}|(?:2(?:[0-3]\\d|5[0-578]|6[01]|82)|3(?:1[3-68]|[23][2-68]|4[23568])|4(?:[23][2-68]|4[3-68]|5[2568]|6[25-8]|7[24-68]|8[4-68]))\\d{5}"],["7(?:3555|(?:474|9[019]7)7)\\d{3}|7(?:[0-25-8]\\d\\d|3(?:[1-478]\\d|6[01])|4(?:2\\d|60|7[01578])|9(?:[2-4]\\d|5[01]|7[015]))\\d{4}"],["800\\d{5}"],["5\\d{7}"],0,0,0,0,0,["8(?:0[1-9]|[1-9]\\d)\\d{5}"]]],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]],0,0,0,0,0,0,[["2(?:07[0-8]|12[67])\\d{4}|(?:2(?:02|1[4-689])|4(?:0[0-4]|4[1-59]))\\d{5}"],["2(?:0(?:01|79)|17\\d)\\d{4}|(?:5[01]|[679]\\d|8[2-59])\\d{6}"],["80\\d{6}"]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|452|678|86","[12]|452|6788|86"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:(?:12|[28]\\d|3[56]|7[3-6]|9[0-6])\\d|4(?:2[29]|62|7[0-2]|83)|6)|2(?:2(?:00|8[34])|4(?:0\\d|[26]2|7[0-2]|83)|51\\d\\d)|4(?:2(?:2\\d\\d|48[013])|3(?:20\\d|4(?:70|83)|56)|420\\d|5(?:2\\d|470))|6(?:0(?:[23]|88\\d)|(?:124|[56]2\\d)\\d|2472|3(?:20\\d|470)|4(?:2[04]\\d|472)|7(?:3\\d\\d|4[67]0|8(?:[01459]\\d|8))))\\d{4}|5(?:2(?:2\\d{5,6}|47[02]\\d{4})|(?:3472|4(?:2(?:1|86)|470)|522\\d|6(?:20\\d|483)|7(?:20\\d|48[01])|8(?:20\\d|47[02])|9(?:20\\d|470))\\d{4})|7(?:(?:0470|4(?:25\\d|470)|5(?:202|470|96\\d))\\d{4}|1(?:20\\d{4,5}|4(?:70|83)\\d{4}))|8(?:1(?:2\\d{5,6}|4(?:10|7[01]\\d)\\d{3})|2(?:2\\d{5,6}|(?:320|490\\d)\\d{3})|(?:3(?:2\\d\\d|470)|4[24-7]|5(?:(?:2\\d|51)\\d|4(?:[1-35-9]\\d|4[0-57-9]))|6[23])\\d{4})|(?:1[2-6]\\d|4(?:2[24-8]|3[2-7]|[46][2-6]|5[3-5])|5(?:[27][2-8]|3[2-68]|4[24-8]|5[23]|6[2-4]|8[24-7]|9[2-7])|6(?:[19]20|42[03-6]|(?:52|7[45])\\d)|7(?:[04][24-8]|[15][2-7]|22|3[2-4])|8(?:1[2-689]|2[2-8]|(?:[35]2|64)\\d))\\d{4}|25\\d{5,6}|(?:2[2-9]|6(?:1[2356]|[24][2-6]|3[24-6]|5[2-4]|6[2-8]|7[235-7]|8[245]|9[24])|8(?:3[24]|5[245]))\\d{4}",[6,7,8,9]],["(?:17[01]|9(?:2(?:[0-4]|[56]\\d\\d)|(?:3(?:[0-36]|4\\d)|(?:6\\d|8[89]|9[4-8])\\d|7(?:3|40|[5-9]\\d))\\d|4(?:(?:[0245]\\d|[1379])\\d|88)|5[0-6])\\d)\\d{4}|9[69]1\\d{6}|9(?:[68]\\d|9[089])\\d{5}",[7,8,9,10]],["80080(?:0[1-9]|2\\d)\\d{3}",[10]],0,0,0,0,0,["1333\\d{4}",[8]]]],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0",0,0,0,0,0,[["[12]2[1-3]\\d{5,6}|(?:(?:[12](?:1|27)|5[368])\\d\\d|7(?:0(?:[0-5]\\d|7[078]|80)|128))\\d{4}|[12](?:3[2-8]|4[2-68]|5[1-4689])\\d{6,7}"],["(?:83[01]|92[039])\\d{5}|(?:5[05]|6[069]|72|8[015689]|9[013-9])\\d{6}",[8]],0,0,0,0,0,0,["712[0-79]\\d{4}|7(?:1[013-9]|[5-9]\\d)\\d{5}",[8]]]],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]],0,0,0,0,0,0,[["(?:28[2-9]|8(?:11|[2-57-9]\\d))\\d{5}",[8]],["6800[0-79]\\d{3}|6(?:[235]\\d\\d|6(?:0[0-5]|[1-9]\\d)|8(?:0[1-9]|[14-8]\\d|2[5-9]|[39][0-4]))\\d{4}",[8]],["0800\\d{3}",[7]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670",[["670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],MQ:["596","00","(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|8(?:0[6-9]|[36])"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:596(?:[03-7]\\d|1[05]|2[7-9]|8[0-39]|9[04-9])|80[6-9]\\d\\d|9(?:477[6-9]|767[4589]))\\d{4}"],["(?:69[67]\\d\\d|7091[0-3])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:397[0-3]|477[0-5]|76(?:6\\d|7[0-367]))\\d{4}"]]],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]],0,0,0,0,0,0,[["(?:25[08]|35\\d|45[1-7])\\d{5}"],["[2-4][0-46-9]\\d{6}"],["800\\d{5}"]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664",[["6644(?:1[0-3]|91)\\d{4}"],["664(?:3(?:49|9[1-6])|49[2-6])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]],0,0,0,0,0,0,[["20(?:3[1-4]|6[059])\\d{4}|2(?:0[19]|[1-357]\\d|60)\\d{5}"],["(?:7(?:210|[79]\\d\\d)|9(?:[29]\\d\\d|69[67]|8(?:1[1-3]|89|97)))\\d{4}"],["800(?:02|[3467]\\d)\\d{3}"],["5(?:0(?:0(?:37|43)|(?:6\\d|70|9[0168])\\d)|[12]\\d0[1-5])\\d{3}"],0,0,["501\\d{5}"],["7117\\d{4}"],["3550\\d{4}"]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,[["(?:2(?:[0346-8]\\d|1[0-7])|4(?:[013568]\\d|2[4-8]|71|90)|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}",[7,8]],["5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|(?:5(?:2[5-9]|4[3-689]|[57]\\d|8[0-689]|9[0-8])|7(?:0[0-4]|3[013]))\\d{5}",[8]],["802\\d{7}|80[0-2]\\d{4}",[7,10]],["30\\d{5}",[7]],0,0,0,0,["3(?:20|9\\d)\\d{4}",[7]]],"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,[["(?:3(?:0[0-4]|3[0-59])|6(?:[58][024689]|6[024-68]|7[02468]))\\d{4}",[7]],["(?:46[46]|[79]\\d\\d)\\d{4}",[7]],["800\\d{7}",[10]],["900\\d{7}",[10]],0,0,["4(?:0[01]|50)\\d{4}",[7]]],"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:1[2-9]|2[12]\\d\\d)\\d{5}"],["111\\d{6}|(?:31|77|[89][89])\\d{7}",[9]]]],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,[["657[12]\\d{6}|(?:2(?:0[01]|2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[267][1-9]|3[1-8]|[45]\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[0-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1346][1-9]|[27]\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69]\\d|7[12]|8[1-8]))\\d{7}"],["657[12]\\d{6}|(?:2(?:2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[267][1-9]|3[1-8]|[45]\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[0-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1346][1-9]|[27]\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69]\\d|7[12]|8[1-8]))\\d{7}"],["8(?:00|88)\\d{7}"],["900\\d{7}"],["500\\d{7}"],0,0,0,0,["300\\d{7}"]],"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0",0,0,0,0,0,[["4270\\d{4}|(?:3(?:2[0-36-9]|3[0-368]|4[0-278]|5[0-24-8]|6[0-467]|7[1246-9]|8\\d|9[0-57])\\d|4(?:2[0-689]|[3-79]\\d|8[1-35689])|5(?:2[0-589]|[3468]\\d|5[0-489]|7[1-9]|9[23])|6(?:2[2-9]|3[1357-9]|[46]\\d|5[0-6]|7[0-35-9]|85|9[015-8])|7(?:[2579]\\d|3[03-68]|4[0-8]|6[5-9]|8[0-35-9])|8(?:[24][2-8]|3[2-5]|5[2-7]|6[2-589]|7[2-578]|[89][2-9])|9(?:0[57]|13|[25-7]\\d|[3489][0-8]))\\d{5}",[8,9]],["1(?:1888[689]|4400|8(?:47|8[27])[0-4])\\d{4}|1(?:0(?:[23568]\\d|4[0-6]|7[016-9]|9[0-8])|1(?:[1-5]\\d\\d|6(?:0[5-9]|[1-9]\\d)|7(?:[0-4]\\d|5[0-7]))|(?:[269]\\d|[37][1-9]|4[235-9])\\d|5(?:31|9\\d\\d)|8(?:1[23]|[236]\\d|4[06]|5(?:46|[7-9])|7[016-9]|8[01]|9[0-8]))\\d{5}",[9,10]],["1[378]00\\d{6}",[10]],["1600\\d{6}",[10]],0,0,0,0,["15(?:4(?:6[0-4]\\d|8(?:0[125]|[17]\\d|21|3[01]|4[01589]|5[014]|6[02]))|6(?:32[0-6]|78\\d))\\d{4}",[10]]]],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["2(?:[1346]\\d|5[0-2]|[78][12]|93)\\d{5}",[8]],["8[2-79]\\d{7}",[9]],["800\\d{6}",[9]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0",0,0,0,0,0,[["64426\\d{3}|6(?:1(?:2[2-7]|3[01378]|4[0-4])|254|32[0237]|4(?:27|41|5[25])|52[236-8]|626|7(?:2[2-4]|30))\\d{4,5}|6(?:1(?:(?:0\\d|2[0189]|3[24-69]|4[5-9])\\d|17|69|7[014])|2(?:17|5[0-36-8]|69|70)|3(?:17|2[14-689]|34|6[289]|7[01]|81)|4(?:17|2[0-2]|4[06]|5[0137]|69|7[01])|5(?:17|2[0459]|69|7[01])|6(?:17|25|38|42|69|7[01])|7(?:17|2[569]|3[13]|6[89]|7[01]))\\d{4}"],["(?:60|8[1245])\\d{7}",[9]],["80\\d{7}",[9]],["8701\\d{5}",[9]],0,0,0,0,["8(?:3\\d\\d|86)\\d{5}"]]],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]],0,0,0,0,0,0,[["(?:2[03-9]|3[0-5]|4[1-7]|88)\\d{4}"],["(?:[579]\\d|8[0-79])\\d{4}"],["050\\d{3}"],["36\\d{4}"]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]],0,0,0,0,0,0,[["2(?:0(?:20|3[1-8]|4[13-5]|5[14]|6[14578]|7[1-578])|1(?:4[145]|5[14]|6[14-68]|7[169]|88))\\d{4}"],["(?:23|7[0467]|[89]\\d)\\d{6}"],["08\\d{6}"],["09\\d{6}"]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1",0,0,[["(?:1(?:06|17|28|39)|3[0-2]\\d)\\d{3}"],["(?:14|3[58])\\d{4}"]]],NG:["234","009","38\\d{6}|[78]\\d{9,13}|(?:20|9\\d)\\d{8}",[8,10,11,12,13,14],[["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["3"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0",0,0,0,0,0,[["(?:20(?:[1259]\\d|3[013-9]|4[1-8]|6[024-689]|7[1-79]|8[2-9])|38)\\d{6}",[8,10]],["(?:702[0-24-9]|819[01])\\d{6}|(?:7(?:0[13-9]|[12]\\d)|8(?:0[1-9]|1[0-8])|9(?:0[1-9]|1[1-6]))\\d{7}",[10]],["800\\d{7,11}",[10,11,12,13,14]],0,0,0,["700\\d{7,11}",[10,11,12,13,14]]]],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]],0,0,0,0,0,0,[["2\\d{7}"],["(?:5(?:5[0-7]|[78]\\d)|6(?:20|3[035]|4[045]|5[05]|77|8[1-9]|9[059])|(?:7[5-8]|8\\d)\\d)\\d{5}"],["1800\\d{4}"]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:[035]\\d|1[13-578]|6[124-8]|7[24]|8[0-467])|2(?:[0346]\\d|2[2-46-9]|5[125]|9[479])|3(?:[03568]\\d|1[3-8]|2[01]|4[1-8])|4(?:[0356]\\d|1[1-368]|7[58]|8[15-8]|9[23579])|5(?:[0358]\\d|[19][1-9]|2[1-57-9]|4[13-8]|6[126]|7[0-3578])|7\\d\\d)\\d{6}",[9]],["(?:6[1-58]|970\\d)\\d{7}",[9,11]],["800\\d{4,7}",[7,8,9,10]],["90[069]\\d{4,7}",[7,8,9,10]],0,0,["140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|(?:140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)|8[478]\\d{6})\\d",[5,6,9]],["66\\d{7}",[9]],["(?:85|91)\\d{7}",[9]]]],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]",[["(?:2[1-4]|3[1-3578]|5[1-35-7]|6[1-4679]|7[0-8])\\d{6}",[8]],["(?:4[015-8]|9\\d)\\d{6}",[8]],["80[01]\\d{5}",[8]],["82[09]\\d{5}",[8]],["880\\d{5}",[8]],["81[23]\\d{5}",[8]],["(?:0[235-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}"],0,["85[0-5]\\d{5}",[8]],["810(?:0[0-6]|[2-8]\\d)\\d{3}",[8]]]],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0",0,0,0,0,0,[["(?:1[0-6]\\d|99[02-6])\\d{5}|(?:2[13-79]|3[135-8]|4[146-9]|5[135-7]|6[13-9]|7[15-9]|8[1-46-9]|9[1-7])[2-6]\\d{5}",[8]],["9(?:00|6[0-3]|7[024-6]|8[0-24-68])\\d{7}",[10]],["1(?:66001|800\\d\\d)\\d{5}",[11]]]],NR:["674","00","(?:444|(?:55|8\\d)\\d|666)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]],0,0,0,0,0,0,[["444\\d{4}"],["(?:55[3-9]|666|8\\d\\d)\\d{4}"]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]],0,0,0,0,0,0,[["[47]\\d{3}",[4]],["(?:[56]|888[1-9])\\d{3}"]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,[["240\\d{5}|(?:3[2-79]|[49][2-9]|6[235-9]|7[2-57-9])\\d{6}",[8]],["2(?:[0-27-9]\\d|6)\\d{6,7}|2(?:1\\d|75)\\d{5}",[8,9,10]],["508\\d{6,7}|80\\d{6,8}",[8,9,10]],["(?:1[13-57-9]\\d{5}|50(?:0[08]|30|66|77|88))\\d{3}|90\\d{6,8}",[7,8,9,10]],["70\\d{7}",[9]],0,["8(?:1[16-9]|22|3\\d|4[045]|5[459]|6[235-9]|7[0-3579]|90)\\d{2,7}"]],"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]],0,0,0,0,0,0,[["2[1-6]\\d{6}",[8]],["(?:1505|90[1-9]\\d)\\d{4}|(?:7[126-9]|9[1-9])\\d{6}",[8]],["8007\\d{4,5}|(?:500|800[05])\\d{4}"],["900\\d{5}",[8]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["(?:1(?:0\\d|1[479]|2[37]|3[0137]|4[17]|5[05]|6[058]|7[0167]|8[2358]|9[1389])|2(?:[0235-79]\\d|1[0-7]|4[013-9]|8[02-9])|3(?:[07-9]\\d|1[0-7]|2[0-5]|33|4[0-79]|5[0-35]|6[068])|4(?:00|3[0-579]|4\\d|7[0-57-9])|5(?:[01]\\d|2[0-7]|[56]0|79)|7(?:0[09]|2[0-26-8]|3[03]|4[04]|5[05-9]|6[0156]|7[0-24-9]|8[5-9]|90)|8(?:09|2[89]|3\\d|4[0-24-689]|5[014]|8[02])|9(?:0[5-9]|1[0135-8]|2[036-9]|3[35-79]|40|5[0457-9]|6[05-9]|7[04-9]|8[35-8]|9\\d))\\d{4}",[7]],["(?:1[16]1|21[89]|6\\d{3}|8(?:1[01]|7[23]))\\d{4}",[7,8]],["800\\d{4,5}|(?:00800|800\\d)\\d{6}"],["(?:8(?:22|55|60|7[78]|86)|9(?:00|81))\\d{4}",[7]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,[["(?:(?:(?:4[34]|5[14])[0-8]|687)\\d|7(?:173|(?:3[0-8]|55)\\d)|8(?:10[05689]|6(?:0[06-9]|1[6-9]|29)|7(?:0[0569]|[56]0)))\\d{4}|(?:1[0-8]|4[12]|5[236]|6[1-7]|7[246]|8[2-4])\\d{6}",[8]],["9\\d{8}",[9]],["800\\d{5}",[8]],["805\\d{5}",[8]],["80[24]\\d{5}",[8]],0,0,0,0,["801\\d{5}",[8]]],"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],0,0,0,0,0,0,[["4(?:0[4-689]|9[4-68])\\d{5}",[8]],["8[7-9]\\d{6}",[8]],["80[0-5]\\d{6}",[9]],0,0,0,["44\\d{4}",[6]],0,["499\\d{5}",[8]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,[["(?:(?:3[0-2]|4[257]|5[34]|9[78])\\d|64[1-9]|85[02-46-9])\\d{4}",[7]],["(?:7\\d|8[1-38])\\d{6}",[8]],["180\\d{4}",[7]],0,0,0,0,["27[01]\\d{4}",[7]],["2(?:0[0-57]|7[568])\\d{4}",[7]]],"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0",0,0,0,0,0,[["(?:(?:2[3-8]|3[2-68]|4[2-9]|5[2-6]|6[2-58]|7[24578])\\d{3}|88(?:22\\d\\d|42))\\d{4}|(?:2|8[2-8]\\d\\d)\\d{5}",[6,8,9,10]],["(?:8(?:1[37]|9[5-8])|9(?:0[5-9]|1[0-24-9]|[235-7]\\d|4[2-9]|8[135-9]|9[1-9]))\\d{7}",[10]],["1800\\d{7,9}",[11,12,13]]]],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0",0,0,0,0,0,[["(?:(?:21|42)[2-9]|58[126])\\d{7}|(?:2[25]|4[0146-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]\\d{6,7}|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8]))[2-9]\\d{5,6}",[9,10]],["3(?:[0-247]\\d|3[0-79]|55|64)\\d{7}",[10]],["800\\d{5}(?:\\d{3})?",[8,11]],["900\\d{5}",[8]],["122\\d{6}",[9]],0,["(?:2(?:[125]|3[2358]|4[2-4]|9[2-8])|4(?:[0-246-9]|5[3479])|5(?:[1-35-7]|4[2-467])|6(?:0[468]|[1-8])|7(?:[14]|2[236])|8(?:[16]|2[2-689]|3[23578]|4[3478]|5[2356])|9(?:1|22|3[27-9]|4[2-6]|6[3569]|9[2-7]))111\\d{6}",[11,12]]]],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["47\\d{7}|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])(?:[02-9]\\d{6}|1(?:[0-8]\\d{5}|9\\d{3}(?:\\d{2})?))",[7,9]],["2131[89]\\d{4}|21(?:1[013-5]|2\\d|3[2-9])\\d{5}|(?:45|5[0137]|6[069]|7[2389]|88)\\d{7}",[9]],["800\\d{6,7}",[9,10]],["70[01346-8]\\d{6}",[9]],0,0,["804\\d{6}",[9]],["64\\d{4,7}",[6,7,8,9]],["39\\d{7}",[9]],["801\\d{6}",[9]]]],PM:["508","00","[45]\\d{5}|(?:708|8\\d\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:4[1-35-9]|5[0-47-9]|80[6-9]\\d\\d)\\d{4}"],["(?:4[02-489]|5[02-9]|708(?:4[0-5]|5[0-6]))\\d{4}"],["80[0-5]\\d{6}",[9]],["8[129]\\d{7}",[9]]]],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939",[["(?:787|939)[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0",0,0,0,0,0,[["(?:22[2-47-9]|42[45]|82[014-68]|92[3569])\\d{5}",[8]],["5[69]\\d{7}",[9]],["1800\\d{6}",[10]],0,0,0,0,0,0,["1700\\d{6}",[10]]]],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]],0,0,0,0,0,0,[["2(?:[12]\\d|3[1-689]|4[1-59]|[57][1-9]|6[1-35689]|8[1-69]|9[1256])\\d{6}"],["6(?:[06]92(?:30|9\\d)|[35]92(?:[049]\\d|3[034]))\\d{3}|(?:(?:16|6[0356])93|9(?:[1-36]\\d\\d|480))\\d{5}"],["80[02]\\d{6}"],["(?:6(?:0[178]|4[68])\\d|76(?:0[1-57]|1[2-47]|2[237]))\\d{5}"],["884[0-4689]\\d{5}"],["600\\d{6}|6[06]92(?:0\\d|3[349]|49)\\d{3}"],["70(?:38[01]|596|(?:7\\d|8[17])\\d)\\d{4}"],["6(?:222\\d|8988)\\d{4}"],["30\\d{7}"],["80(?:8\\d|9[1579])\\d{5}"]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],0,0,0,0,0,0,[["(?:2(?:55|77)|345|488|5(?:35|44|87)|6(?:22|54|79)|7(?:33|47)|8(?:24|55|76)|900)\\d{4}"],["(?:(?:46|83)[0-5]|(?:6[2-4689]|78)0)\\d{4}|(?:45|77|88)\\d{5}"]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,[["(?:[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36])\\d{5,7}|(?:2(?:2[4-68]|[4-68]\\d|7[15]|9[1-5])|3(?:18|3[167]|4[2357]|51|[67]\\d)|4(?:3[12]|5[13]|9[1-47])|5(?:[1-4]\\d|5[02-4])|6(?:3[1-3]|44|7[1-8])|7(?:4[0-4]|5\\d|6[1-578]|75|8[0-8])|858)\\d{5,6}",[7,8,9]],["9(?:51|6[129]|7[1-6]|8[1-7]|9[1-5])\\d{6}",[9]],["9800\\d{5,7}",[9,10,11]],0,0,0,["[2-9]0\\d{4,7}",[6,7,8,9]],0,["8700[0-4]\\d{4}",[9]]]],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[16]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]],0,0,0,0,0,0,[["4(?:1111|2022)\\d{3}|4(?:[04]\\d\\d|14[0-6]|999)\\d{4}",[8]],["[35-7]\\d{7}",[8]],["800\\d{4}|(?:0080[01]|800)\\d{6}",[7,9,11]],0,0,0,0,["2[16]\\d{5}",[7]]]],RE:["262","00","709\\d{6}|(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"],["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,[["[23][13-6]\\d{7}|(?:2(?:19\\d|[3-6]\\d9)|31\\d\\d)\\d\\d"],["(?:630|702)0\\d{5}|(?:6(?:00|2\\d)|7(?:0[013-9]|1[0-3]|[2-7]\\d|8[03-8]|9[0-39]))\\d{6}",[9]],["800\\d{6}",[9]],["90[0136]\\d{6}",[9]],0,0,["(?:37\\d|80[578])\\d{6}",[9]],0,0,["801\\d{6}",[9]]],0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0",0,0,0,0,0,[["(?:11[1-9]\\d|(?:2[389]|39)(?:0[2-9]|[2-9]\\d))\\d{3,8}|(?:1[02-9]|2[0-24-7]|3[0-8])[2-9]\\d{4,9}",[7,8,9,10,11,12]],["6(?:[0-689]|7\\d)\\d{6,7}",[8,9,10]],["800\\d{3,9}"],["(?:78\\d|90[0169])\\d{3,7}",[6,7,8,9,10]],0,0,["7[06]\\d{4,10}"]]],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"3[04-689]|[489]",[["(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15]|6[1-35-79]|7[1-37-9]))\\d{7}",[10]],["9\\d{9}",[10]],["8(?:0[04]|108\\d{3})\\d{7}"],["80[39]\\d{7}",[10]],["808\\d{7}",[10]]],"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:06|2[23568]\\d)\\d{6}"],["7[237-9]\\d{7}",[9]],["800\\d{6}",[9]],["900\\d{6}",[9]]]],SA:["966","00","92\\d{7}|(?:[15]|8\\d)\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0",0,0,0,0,0,[["1(?:1\\d|2[24-8]|3[35-8]|4[3-68]|6[2-5]|7[235-7])\\d{6}",[9]],["579[01]\\d{5}|5(?:[013-689]\\d|7[0-8])\\d{6}",[9]],["800\\d{7}",[10]],["925\\d{6}",[9]],0,0,["811\\d{7}",[10]],0,0,["920\\d{6}",[9]]]],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]],0,0,0,0,0,0,[["(?:1[4-79]|[23]\\d|4[0-2]|5[03]|6[0-37])\\d{3}",[5]],["48\\d{3}|(?:(?:6[89]|7[1-9]|8[4-9])\\d|9(?:1[2-9]|2[013-9]|3[0-2]|[46]\\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8]))\\d{4}"],["1[38]\\d{3}",[5]],0,0,0,0,0,["5[12]\\d{3}",[5]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,[["4[2-46]\\d{5}"],["2[125-8]\\d{5}"],["800[08]\\d{3}"],["85\\d{5}"],0,0,0,0,["971\\d{4}|(?:64|95)\\d{5}"]],"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0",0,0,0,0,0,[["1(?:5\\d|8[35-7])\\d{6}"],["(?:1[0-2]|9[0-3569])\\d{7}"]]],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10,12],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0",0,0,0,0,0,[["(?:(?:[12][136]|3[356]|4[0246]|6[03]|8\\d)\\d|90[1-9])\\d{4,6}|(?:1(?:2[0-35]|4[0-4]|5[0-25-9]|7[13-6]|[89]\\d)|2(?:2[0-7]|4[0136-8]|5[0138]|7[018]|8[01]|9[0-57])|3(?:0[0-4]|1\\d|2[0-25]|4[056]|7[0-2]|8[0-3]|9[023])|4(?:1[013-8]|3[0135]|5[14-79]|7[0-246-9]|8[0156]|9[0-689])|5(?:0[0-6]|[15][0-5]|2[0-68]|3[0-4]|4\\d|6[03-5]|7[013]|8[0-79]|9[01])|6(?:1[1-3]|2[0-4]|4[02-57]|5[0-37]|6[0-3]|7[0-2]|8[0247]|9[0-356])|9(?:1[0-68]|2\\d|3[02-5]|4[0-3]|5[0-4]|[68][01]|7[0135-8]))\\d{5,6}",[7,8,9]],["7[02369]\\d{7}",[9]],["20\\d{4,7}",[6,7,8,9]],["649\\d{6}|99[1-59]\\d{4}(?:\\d{3})?|9(?:00|39|44)[1-8]\\d{3,6}",[7,8,9,10]],["75[1-8]\\d{6}",[9]],["(?:25[245]|67[3-68])\\d{9}",[12]],["10[1-8]\\d{6}",[9]],["74[02-9]\\d{6}",[9]],0,["77[0-7]\\d{6}",[9]]]],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[["662[0-24-9]\\d{4}|6(?:[0-578]\\d|6[013-57-9]|9[0-35-9])\\d{5}",[8]],["896[0-46-8]\\d{4}|(?:8(?:0[1-9]|[1-8]\\d|9[0-5])|9[0-8]\\d)\\d{5}",[8]],["(?:18|8)00\\d{7}",[10,11]],["1900\\d{7}",[11]],0,0,["7000\\d{7}",[11]],0,["(?:3[12]\\d|666)\\d{5}",[8]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]",[["2(?:[0-57-9]\\d|6[4-9])\\d\\d"],["[56]\\d{4}",[5]],0,0,0,0,0,0,["262\\d\\d",[5]]]],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,[["(?:[1-357][2-8]|4[24-8])\\d{6}",[8]],["65(?:[178]\\d|5[56]|6[01])\\d{4}|(?:[37][01]|4[0139]|51|6[489])\\d{6}",[8]],["80\\d{4,6}",[6,7,8]],["89[1-3]\\d{2,5}|90\\d{4,6}"],0,0,0,0,["(?:59\\d\\d|8(?:1(?:[67]\\d|8[0-589])|2(?:0\\d|2[0-37-9]|8[0-2489])|3[389]\\d))\\d{4}",[8]]],"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79",[["79\\d{6}",[8]],["(?:4[015-8]|9\\d)\\d{6}",[8]],["80[01]\\d{5}",[8]],["82[09]\\d{5}",[8]],["880\\d{5}",[8]],["81[23]\\d{5}",[8]],["(?:0[235-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}"],0,["85[0-5]\\d{5}",[8]],["810(?:0[0-6]|[2-8]\\d)\\d{3}",[8]]]],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0",0,0,0,0,0,[["(?:2(?:16|[2-9]\\d{3})|(?:(?:[3-5][1-8]\\d|819)\\d|601[1-5])\\d)\\d{4}|(?:2|[3-5][1-8])1[67]\\d{3}|[3-5][1-8]16\\d\\d"],["909[1-9]\\d{5}|9(?:0[1-8]|1[0-24-9]|4[03-57-9]|5\\d)\\d{6}",[9]],["800\\d{6}",[9]],["9(?:00|[78]\\d)\\d{6}",[9]],0,0,["96\\d{7}",[9]],["9090\\d{3}",[7]],["6(?:02|5[0-4]|9[0-6])\\d{6}",[9]],["8[5-9]\\d{7}",[9]]]],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0",0,0,0,0,0,[["22[2-4][2-9]\\d{4}"],["(?:25|3[0-5]|66|7[1-9]|8[08]|9[09])\\d{6}"]]],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1",0,0,[["0549(?:8[0157-9]|9\\d)\\d{4}",[10]],["6[16]\\d{6}",[8]],0,["7[178]\\d{6}",[8]],0,0,0,0,["5[158]\\d{6}",[8]]]],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]],0,0,0,0,0,0,[["3(?:0(?:1[0-2]|80)|282|3(?:8[1-9]|9[3-9])|611)\\d{5}"],["7(?:(?:[06-8]\\d|[19]0|21)\\d|5(?:0[01]|[19]0|2[25]|3[356]|[4-7]\\d|8[35]))\\d{5}"],["800\\d{6}"],["88[4689]\\d{6}"],0,0,0,0,["(?:3(?:392|9[01]\\d)\\d|93(?:3[13]0|929))\\d{4}"],["81[02468]\\d{6}"]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|7[67]|9[2-9]"]]],"0",0,0,0,0,0,[["(?:1\\d|2[0-79]|3[0-46-8]|4[0-7]|5[57-9])\\d{5}|(?:[134]\\d|8[125])\\d{4}",[6,7]],["(?:(?:15|(?:3[59]|4[89]|6\\d|7[679]|8[08])\\d|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:[67]\\d\\d|904)\\d{5}",[7,8,9]]]],SR:["597","00","(?:[2-5]|68|[78]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]],0,0,0,0,0,0,[["(?:2[1-3]|3[0-7]|(?:4|68)\\d|5[2-58])\\d{4}"],["(?:7[124-7]|8[1-9])\\d{5}",[7]],0,0,0,0,0,0,["56\\d{4}",[6]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0",0,0,0,0,0,[["1[89]\\d{7}"],["(?:12|9[1257-9])\\d{7}"]]],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]],0,0,0,0,0,0,[["22\\d{5}"],["900[5-9]\\d{3}|9(?:0[1-9]|[89]\\d)\\d{4}"]]],SV:["503","00","[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[267]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,[["2(?:79(?:0[0347-9]|[1-9]\\d)|89(?:0[024589]|[1-9]\\d))\\d{3}|2(?:[1-69]\\d|[78][0-8])\\d{5}",[8]],["[67]\\d{7}",[8]],["800\\d{8}|80[01]\\d{4}",[7,11]],["900\\d{4}(?:\\d{4})?",[7,11]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721",[["7215(?:4[2-8]|8[239]|9[056])\\d{4}"],["7215(?:1[02]|2\\d|5[034679]|8[014-8])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],SY:["963","00","[1-359]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-4]|5[1-3]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[59]"],"0$1",1]],"0",0,0,0,0,0,[["21\\d{6,7}|(?:1(?:[14]\\d|[2356])|2[235]|3(?:[13]\\d|4)|4[134]|5[1-3])\\d{6}"],["(?:50|9[1-689])\\d{7}",[9]]]],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]],0,0,0,0,0,0,[["[23][2-5]\\d{6}",[8]],["7[6-9]\\d{6}",[8]],["0800\\d{4}",[8]],["900\\d{6}",[9]],0,0,0,0,["70\\d{6}",[8]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8",[["8\\d{3}"]]],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649",[["649(?:266|712|9(?:4\\d|50))\\d{4}"],["649(?:2(?:3[129]|4[1-79])|3\\d\\d|4[34][1-3])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,0,["649(?:71[01]|966)\\d{4}"]]],TD:["235","00|16","(?:22|[689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"]]],0,0,0,0,0,0,[["22(?:[37-9]0|5[0-5]|6[89])\\d{4}"],["(?:[69]\\d|77|8[56])\\d{6}"]],"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]],0,0,0,0,0,0,[["2(?:2[2-7]|3[23]|4[45]|55|6[67]|77)\\d{5}"],["(?:7[0-29]|9[0-36-9])\\d{6}"]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0",0,0,0,0,0,[["(?:1[0689]|2\\d|3[2-9]|4[2-5]|5[2-6]|7[3-7])\\d{6}",[8]],["67(?:1[0-8]|2[4-7])\\d{5}|(?:14|6[1-6]|[89]\\d)\\d{7}",[9]],["(?:001800\\d|1800)\\d{6}",[10,13]],["1900\\d{6}",[10]],0,0,0,0,["6[08]\\d{7}",[9]]]],TJ:["992","810","[0-57-9]\\d{8}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3(?:[1245]|3[12])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],0,0,0,0,0,0,[["(?:3(?:1[3-5]|2[245]|3[12]|4[24-7]|5[25]|72)|4(?:46|74|87))\\d{6}"],["(?:33[03-9]|4(?:1[18]|4[02-479])|81[1-9])\\d{6}|(?:[09]\\d|1[0-27-9]|2[0-27]|[34]0|5[05]|7[01578]|8[078])\\d{7}"]],"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7],0,0,0,0,0,0,0,[["(?:2[2-4]|[34]\\d)\\d{2,5}"],["7[2-4]\\d{2,5}"]]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]],0,0,0,0,0,0,[["(?:2[1-5]|3[1-9]|4[1-4])\\d{5}",[7]],["7[2-8]\\d{6}",[8]],["80\\d{5}",[7]],["90\\d{5}",[7]],["70\\d{5}",[7]]]],TM:["993","810","(?:[1-6]\\d|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,[["(?:1(?:2\\d|3[1-9])|2(?:22|4[0-35-8])|3(?:22|4[03-9])|4(?:22|3[128]|4\\d|6[15])|5(?:22|5[7-9]|6[014-689]))\\d{5}"],["(?:6\\d|71)\\d{6}"]],"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]],0,0,0,0,0,0,[["81200\\d{3}|(?:3[0-2]|7\\d)\\d{6}"],["3(?:001|[12]40)\\d{4}|(?:(?:[259]\\d|4[0-8])\\d|3(?:1[1-35]|6[0-4]|91))\\d{5}"],["8010\\d{4}"],["88\\d{6}"],0,0,0,0,0,["8[12]10\\d{4}"]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]],0,0,0,0,0,0,[["(?:2\\d|3[0-8]|4[0-4]|50|6[09]|7[0-24-69]|8[05])\\d{3}",[5]],["(?:5(?:4[0-5]|5[4-6])|6(?:[09]\\d|3[02]|8[15-9])|(?:7\\d|8[46-9])\\d|999)\\d{4}",[7]],["0800\\d{3}",[7]],0,0,0,0,0,["55[0-37-9]\\d{4}",[7]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0",0,0,0,0,0,[["(?:2(?:[13][26]|[28][2468]|[45][268]|[67][246])|3(?:[13][28]|[24-6][2468]|[78][02468]|92)|4(?:[16][246]|[23578][2468]|4[26]))\\d{7}",[10]],["561(?:011|61\\d)\\d{4}|5(?:0[15-7]|1[06]|24|[34]\\d|5[1-59]|9[46])\\d{7}",[10]],["8(?:00\\d{7}(?:\\d{2,3})?|11\\d{7})",[10,12,13]],["(?:8[89]8|900)\\d{7}",[10]],["592(?:21[12]|461)\\d{4}",[10]],0,["444\\d{4}",[7]],["512\\d{7}",[10]],["850\\d{7}",[10]]]],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868",[["868(?:2(?:01|1[5-9]|[23]\\d|4[0-2])|6(?:0[7-9]|1[02-8]|2[1-9]|[3-69]\\d|7[0-79])|82[124])\\d{4}"],["868(?:(?:2[5-9]|3\\d)\\d|4(?:3[0-6]|[6-9]\\d)|6(?:20|78|8\\d)|7(?:0[1-9]|1[02-9]|[2-9]\\d))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],["868619\\d{4}"]]],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]],0,0,0,0,0,0,[["2[02-9]\\d{3}",[5]],["(?:7[01]\\d|90)\\d{4}",[6,7]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,[["(?:2[2-8]\\d|370|55[01]|7[1-9])\\d{6}|4(?:(?:0(?:0[1-9]|[2-48]\\d)|1[023]\\d)\\d{4,5}|(?:[239]\\d\\d|4(?:0[56]|12|49))\\d{5})|6(?:[01]\\d{7}|4(?:0[56]|12|24|4[09])\\d{4,5})|8(?:(?:2(?:3\\d|4[0-269]|[578]0|66)|36[24-9]|90\\d\\d)\\d{4}|4(?:0[56]|12|24|4[09])\\d{4,5})|(?:2(?:2(?:0\\d\\d|4(?:0[68]|[249]0|3[0-467]|5[0-25-9]|6[0235689]))|(?:3(?:[09]\\d|1[0-4])|(?:4\\d|5[0-49]|6[0-29]|7[0-5])\\d)\\d)|(?:(?:3[2-9]|5[2-8]|6[0-35-79]|8[7-9])\\d\\d|4(?:2(?:[089]\\d|7[1-9])|(?:3[0-4]|[78]\\d|9[01])\\d))\\d)\\d{3}",[8,9]],["(?:40001[0-2]|9[0-8]\\d{4})\\d{3}",[9]],["80[0-79]\\d{6}|800\\d{5}",[8,9]],["20(?:[013-9]\\d\\d|2)\\d{4}",[7,9]],["99\\d{7}",[9]],0,["50[0-46-9]\\d{6}",[9]],0,["7010(?:[0-2679]\\d|3[0-7]|8[0-5])\\d{5}|70\\d{8}",[10,11]]],0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0",0,0,0,0,0,[["2[2-8]\\d{7}"],["(?:6[125-9]|7[13-9])\\d{7}"],["80[08]\\d{6}"],["90\\d{7}"],0,0,0,0,["41\\d{7}"],["8(?:40|6[01])\\d{6}"]]],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,[["(?:3[1-8]|4[13-8]|5[1-7]|6[12459])\\d{7}",[9]],["790\\d{6}|(?:39|50|6[36-8]|7[1-357]|9[1-9])\\d{7}",[9]],["800[1-8]\\d{5,6}"],["900[239]\\d{5,6}"],0,0,0,0,["89[1-579]\\d{6}",[9]]],"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0",0,0,0,0,0,[["20(?:(?:240|30[67])\\d|6(?:00[0-2]|30[0-4]))\\d{3}|(?:20(?:[017]\\d|2[5-9]|3[1-4]|5[0-4]|6[15-9])|[34]\\d{3})\\d{5}"],["72[48]0\\d{5}|7(?:[015-8]\\d|2[067]|36|4[0-8]|9[089])\\d{6}"],["800[1-3]\\d{5}"],["90[1-3]\\d{6}"]]],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[468]))\\d{4}|(?:2742|305[3-9]|472[247-9]|505[2-57-9]|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,0,["305209\\d{4}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",[6,7,8,9,10,11,12,13],[["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,[["(?:1(?:770|9(?:20|[89]7))|(?:2\\d|4[2-7])\\d\\d)\\d{4}",[8]],["9[1-9]\\d{6}",[8]],["0004\\d{2,9}|(?:405|80[05])\\d{4}"],["90[0-8]\\d{4}",[7]]],"00"," int. "],UZ:["998","00","(?:20|33|[5-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]],0,0,0,0,0,0,[["(?:55\\d\\d|6(?:1(?:22|3[124]|4[1-4]|5[1-3578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|[69]\\d\\d|7(?:[23]\\d|7[69]))|7(?:0(?:5[4-9]|6[0146]|7[124-6]|9[135-8])|(?:1[12]|[68]\\d)\\d|2(?:22|3[13-57-9]|4[1-3579]|5[14])|3(?:2\\d|3[1578]|4[1-35-7]|5[1-57]|61)|4(?:2\\d|3[1-579]|7[1-79])|5(?:22|5[1-9]|6[1457])|9(?:22|5[1-9])))\\d{5}"],["(?:(?:[25]0|33|8[78]|9[0-57-9])\\d{3}|6(?:1(?:2(?:2[01]|98)|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:(?:11|7\\d)\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7\\d)\\d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079])))|7(?:[07]\\d{3}|1(?:13[01]|6(?:0[47]|1[67]|66)|71[3-69]|98\\d)|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07]))))\\d{4}"]]],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11,12],0,0,0,0,0,0,"06698",[["06698\\d{1,6}",[6,7,8,9,10,11]],["3[1-9]\\d{8}|3[2-9]\\d{7}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784",[["784(?:266|3(?:6[6-9]|7\\d|8[0-6])|4(?:38|5[0-36-8]|8[0-8])|5(?:55|7[0-2]|93)|638|784)\\d{4}"],["784(?:4(?:3[0-5]|5[45]|89|9[0-8])|5(?:2[6-9]|3[0-4])|720)\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,0,["78451[0-2]\\d{4}"]]],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0",0,0,0,0,0,[["(?:2(?:12|3[457-9]|[467]\\d|[58][1-9]|9[1-6])|[4-6]00)\\d{7}"],["4(?:1[24-8]|2[246])\\d{7}"],["800\\d{7}"],["90[01]\\d{7}"],0,0,["501\\d{7}"]]],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284",[["284(?:229|4(?:22|9[45])|774|8(?:52|6[459]))\\d{4}"],["284(?:245|3(?:0[0-3]|4[0-7]|68|9[34])|4(?:4[0-6]|68|9[69])|5(?:4[0-7]|68|9[69]))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340",[["340(?:2(?:0\\d|10|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0",0,0,0,0,0,[["2(?:0[3-9]|1[0-689]|2[0-25-9]|[38][2-9]|4[2-8]|5[124-9]|6[0-39]|7[0-7]|9[0-4679])\\d{7}",[10]],["(?:5(?:2[238]|59)|89[6-9]|99[013-9])\\d{6}|(?:3\\d|5[1689]|7[06-9]|8[1-8]|9[0-8])\\d{7}",[9]],["1800\\d{4,6}|12(?:0[13]|28)\\d{4}",[8,9,10]],["1900\\d{4,6}",[8,9,10]],0,0,["(?:[17]99|80\\d)\\d{4}|69\\d{5,6}",[7,8]],0,["672\\d{6}",[9]]]],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]],0,0,0,0,0,0,[["(?:38[0-8]|48[4-9])\\d\\d|(?:2[02-9]|3[4-7]|88)\\d{3}",[5]],["(?:[58]\\d|7[013-7])\\d{5}",[7]],["81[18]\\d\\d",[5]],0,0,0,["(?:3[03]|900\\d)\\d{3}"],0,["9(?:0[1-9]|1[01])\\d{4}",[7]]]],WF:["681","00","(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[47-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],0,0,0,0,0,0,[["72\\d{4}",[6]],["(?:72|8[23])\\d{4}",[6]],["80[0-5]\\d{6}",[9]],0,0,["[48]0\\d{4}",[6]],0,0,["9[23]\\d{4}",[6]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]],0,0,0,0,0,0,[["6[1-9]\\d{3}|(?:[2-5]|60)\\d{4}",[5,6]],["(?:7[1-35-7]|8(?:[3-7]|9\\d{3}))\\d{5}",[7,10]],["800\\d{3}",[6]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0",0,0,0,0,0,[["38\\d{6,10}|(?:2[89]|39)(?:0\\d{5,6}|[1-9]\\d{5})"],["4[3-9]\\d{6}",[8]],["800\\d{5}",[8]],["900\\d{5}",[8]]]],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,[["78[0-7]\\d{4}|17\\d{6}|(?:[12][2-68]|3[2358]|4[2-58]|5[2-6]|6[3-58]|7[24-6])\\d{5}",[7,8]],["7[01378]\\d{7}",[9]]]],YT:["262","00","7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"],["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0",0,0,0,0,0,[["50[0-2]\\d{6}|(?:2(?:0330|4302)|52087)0\\d{3}|(?:1[0-8]|2[1-378]|3[1-69]|4\\d|5[1346-8])\\d{7}",[9]],["(?:1(?:3492[0-25]|4495[0235]|549(?:20|5[01]))|4[34]492[01])\\d{3}|8[1-4]\\d{3,7}|(?:2[27]|47|54)4950\\d{3}|(?:1(?:049[2-4]|9[12]\\d\\d)|(?:6\\d\\d|7(?:[0-46-9]\\d|5[0-4]))\\d\\d|8(?:5\\d{3}|7(?:08[67]|158|28[5-9]|310)))\\d{4}|(?:1[6-8]|28|3[2-69]|4[025689]|5[36-8])4920\\d{3}|(?:12|[2-5]1)492\\d{4}",[5,6,7,8,9]],["80\\d{7}",[9]],["(?:86[2-9]|9[0-2]\\d)\\d{6}",[9]],0,0,["861\\d{6,7}",[9,10]],0,["87(?:08[0-589]|15[0-79]|28[0-4]|31[1-9])\\d{4}|87(?:[02][0-79]|1[0-46-9]|3[02-9]|[4-9]\\d)\\d{5}",[9]],["860\\d{6}",[9]]]],ZM:["260","00","800\\d{6}|(?:21|63|[79]\\d)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],"0",0,0,0,0,0,[["21[1-8]\\d{6}"],["(?:7[5-79]|9[5-8])\\d{7}"],["800\\d{6}"],0,0,0,0,0,["63\\d{7}"]]],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:(?:3\\d|9)\\d|[4-8])|2(?:(?:(?:0(?:2[014]|5)|(?:2[0157]|31|84|9)\\d\\d|[56](?:[14]\\d\\d|20)|7(?:[089]|2[03]|[35]\\d\\d))\\d|4(?:2\\d\\d|8))\\d|1(?:2|[39]\\d{4}))|3(?:(?:123|(?:29\\d|92)\\d)\\d\\d|7(?:[19]|[56]\\d))|5(?:0|1[2-478]|26|[37]2|4(?:2\\d{3}|83)|5(?:25\\d\\d|[78])|[689]\\d)|6(?:(?:[16-8]21|28|52[013])\\d\\d|[39])|8(?:[1349]28|523)\\d\\d)\\d{3}|(?:4\\d\\d|9[2-9])\\d{4,5}|(?:(?:2(?:(?:(?:0|8[146])\\d|7[1-7])\\d|2(?:[278]\\d|92)|58(?:2\\d|3))|3(?:[26]|9\\d{3})|5(?:4\\d|5)\\d\\d)\\d|6(?:(?:(?:[0-246]|[78]\\d)\\d|37)\\d|5[2-8]))\\d\\d|(?:2(?:[569]\\d|8[2-57-9])|3(?:[013-59]\\d|8[37])|6[89]8)\\d{3}"],["7(?:[1278]\\d|3[1-9])\\d{6}",[9]],["80(?:[01]\\d|20|8[0-8])\\d{3}",[7]],0,0,0,0,0,["86(?:1[12]|22|30|44|55|77|8[368])\\d{6}",[10]]]]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[235-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"],0,0,0,0,0,0,["2\\d{8}",[9]]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",[7,8,9,10,12]],0,0,0,["348[57]\\d{7}",[11]],0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};var vr={exports:{}},gn={exports:{}},he={};/** @license React v16.13.1
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
36
|
-
*
|
|
37
|
-
* This source code is licensed under the MIT license found in the
|
|
38
|
-
* LICENSE file in the root directory of this source tree.
|
|
39
|
-
*/var Wa;function ms(){if(Wa)return he;Wa=1;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,m=e?Symbol.for("react.forward_ref"):60112,b=e?Symbol.for("react.suspense"):60113,l=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,c=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,p=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,E=e?Symbol.for("react.scope"):60119;function C(w){if(typeof w=="object"&&w!==null){var P=w.$$typeof;switch(P){case t:switch(w=w.type,w){case u:case s:case r:case a:case i:case b:return w;default:switch(w=w&&w.$$typeof,w){case o:case m:case c:case v:case d:return w;default:return P}}case n:return P}}}function O(w){return C(w)===s}return he.AsyncMode=u,he.ConcurrentMode=s,he.ContextConsumer=o,he.ContextProvider=d,he.Element=t,he.ForwardRef=m,he.Fragment=r,he.Lazy=c,he.Memo=v,he.Portal=n,he.Profiler=a,he.StrictMode=i,he.Suspense=b,he.isAsyncMode=function(w){return O(w)||C(w)===u},he.isConcurrentMode=O,he.isContextConsumer=function(w){return C(w)===o},he.isContextProvider=function(w){return C(w)===d},he.isElement=function(w){return typeof w=="object"&&w!==null&&w.$$typeof===t},he.isForwardRef=function(w){return C(w)===m},he.isFragment=function(w){return C(w)===r},he.isLazy=function(w){return C(w)===c},he.isMemo=function(w){return C(w)===v},he.isPortal=function(w){return C(w)===n},he.isProfiler=function(w){return C(w)===a},he.isStrictMode=function(w){return C(w)===i},he.isSuspense=function(w){return C(w)===b},he.isValidElementType=function(w){return typeof w=="string"||typeof w=="function"||w===r||w===s||w===a||w===i||w===b||w===l||typeof w=="object"&&w!==null&&(w.$$typeof===c||w.$$typeof===v||w.$$typeof===d||w.$$typeof===o||w.$$typeof===m||w.$$typeof===p||w.$$typeof===g||w.$$typeof===E||w.$$typeof===h)},he.typeOf=C,he}var me={};/** @license React v16.13.1
|
|
40
|
-
* react-is.development.js
|
|
41
|
-
*
|
|
42
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
43
|
-
*
|
|
44
|
-
* This source code is licensed under the MIT license found in the
|
|
45
|
-
* LICENSE file in the root directory of this source tree.
|
|
46
|
-
*/var Ua;function $s(){return Ua||(Ua=1,process.env.NODE_ENV!=="production"&&function(){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,m=e?Symbol.for("react.forward_ref"):60112,b=e?Symbol.for("react.suspense"):60113,l=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,c=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,p=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,E=e?Symbol.for("react.scope"):60119;function C(y){return typeof y=="string"||typeof y=="function"||y===r||y===s||y===a||y===i||y===b||y===l||typeof y=="object"&&y!==null&&(y.$$typeof===c||y.$$typeof===v||y.$$typeof===d||y.$$typeof===o||y.$$typeof===m||y.$$typeof===p||y.$$typeof===g||y.$$typeof===E||y.$$typeof===h)}function O(y){if(typeof y=="object"&&y!==null){var H=y.$$typeof;switch(H){case t:var $e=y.type;switch($e){case u:case s:case r:case a:case i:case b:return $e;default:var Oe=$e&&$e.$$typeof;switch(Oe){case o:case m:case c:case v:case d:return Oe;default:return H}}case n:return H}}}var w=u,P=s,W=o,_=d,I=t,q=m,te=r,re=c,N=v,z=n,ie=a,ae=i,G=b,se=!1;function oe(y){return se||(se=!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.")),x(y)||O(y)===u}function x(y){return O(y)===s}function j(y){return O(y)===o}function U(y){return O(y)===d}function M(y){return typeof y=="object"&&y!==null&&y.$$typeof===t}function S(y){return O(y)===m}function F(y){return O(y)===r}function R(y){return O(y)===c}function V(y){return O(y)===v}function K(y){return O(y)===n}function ee(y){return O(y)===a}function Q(y){return O(y)===i}function Pe(y){return O(y)===b}me.AsyncMode=w,me.ConcurrentMode=P,me.ContextConsumer=W,me.ContextProvider=_,me.Element=I,me.ForwardRef=q,me.Fragment=te,me.Lazy=re,me.Memo=N,me.Portal=z,me.Profiler=ie,me.StrictMode=ae,me.Suspense=G,me.isAsyncMode=oe,me.isConcurrentMode=x,me.isContextConsumer=j,me.isContextProvider=U,me.isElement=M,me.isForwardRef=S,me.isFragment=F,me.isLazy=R,me.isMemo=V,me.isPortal=K,me.isProfiler=ee,me.isStrictMode=Q,me.isSuspense=Pe,me.isValidElementType=C,me.typeOf=O}()),me}var Va;function Ga(){return Va||(Va=1,process.env.NODE_ENV==="production"?gn.exports=ms():gn.exports=$s()),gn.exports}/*
|
|
47
|
-
object-assign
|
|
48
|
-
(c) Sindre Sorhus
|
|
49
|
-
@license MIT
|
|
50
|
-
*/var hr,Ha;function bs(){if(Ha)return hr;Ha=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(a){if(a==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function i(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;for(var d={},o=0;o<10;o++)d["_"+String.fromCharCode(o)]=o;var u=Object.getOwnPropertyNames(d).map(function(m){return d[m]});if(u.join("")!=="0123456789")return!1;var s={};return"abcdefghijklmnopqrst".split("").forEach(function(m){s[m]=m}),Object.keys(Object.assign({},s)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return hr=i()?Object.assign:function(a,d){for(var o,u=r(a),s,m=1;m<arguments.length;m++){o=Object(arguments[m]);for(var b in o)t.call(o,b)&&(u[b]=o[b]);if(e){s=e(o);for(var l=0;l<s.length;l++)n.call(o,s[l])&&(u[s[l]]=o[s[l]])}}return u},hr}var mr,qa;function $r(){if(qa)return mr;qa=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return mr=e,mr}var br,Ka;function Ya(){return Ka||(Ka=1,br=Function.call.bind(Object.prototype.hasOwnProperty)),br}var gr,za;function gs(){if(za)return gr;za=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=$r(),n={},r=Ya();e=function(a){var d="Warning: "+a;typeof console<"u"&&console.error(d);try{throw new Error(d)}catch{}}}function i(a,d,o,u,s){if(process.env.NODE_ENV!=="production"){for(var m in a)if(r(a,m)){var b;try{if(typeof a[m]!="function"){var l=Error((u||"React class")+": "+o+" type `"+m+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[m]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}b=a[m](d,m,u,o,null,t)}catch(c){b=c}if(b&&!(b instanceof Error)&&e((u||"React class")+": type specification of "+o+" `"+m+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof b+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),b instanceof Error&&!(b.message in n)){n[b.message]=!0;var v=s?s():"";e("Failed "+o+" type: "+b.message+(v??""))}}}}return i.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},gr=i,gr}var yr,Za;function ys(){if(Za)return yr;Za=1;var e=Ga(),t=bs(),n=$r(),r=Ya(),i=gs(),a=function(){};process.env.NODE_ENV!=="production"&&(a=function(o){var u="Warning: "+o;typeof console<"u"&&console.error(u);try{throw new Error(u)}catch{}});function d(){return null}return yr=function(o,u){var s=typeof Symbol=="function"&&Symbol.iterator,m="@@iterator";function b(x){var j=x&&(s&&x[s]||x[m]);if(typeof j=="function")return j}var l="<<anonymous>>",v={array:g("array"),bigint:g("bigint"),bool:g("boolean"),func:g("function"),number:g("number"),object:g("object"),string:g("string"),symbol:g("symbol"),any:E(),arrayOf:C,element:O(),elementType:w(),instanceOf:P,node:q(),objectOf:_,oneOf:W,oneOfType:I,shape:re,exact:N};function c(x,j){return x===j?x!==0||1/x===1/j:x!==x&&j!==j}function h(x,j){this.message=x,this.data=j&&typeof j=="object"?j:{},this.stack=""}h.prototype=Error.prototype;function p(x){if(process.env.NODE_ENV!=="production")var j={},U=0;function M(F,R,V,K,ee,Q,Pe){if(K=K||l,Q=Q||V,Pe!==n){if(u){var y=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw y.name="Invariant Violation",y}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var H=K+":"+V;!j[H]&&U<3&&(a("You are manually calling a React.PropTypes validation function for the `"+Q+"` prop on `"+K+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),j[H]=!0,U++)}}return R[V]==null?F?R[V]===null?new h("The "+ee+" `"+Q+"` is marked as required "+("in `"+K+"`, but its value is `null`.")):new h("The "+ee+" `"+Q+"` is marked as required in "+("`"+K+"`, but its value is `undefined`.")):null:x(R,V,K,ee,Q)}var S=M.bind(null,!1);return S.isRequired=M.bind(null,!0),S}function g(x){function j(U,M,S,F,R,V){var K=U[M],ee=ae(K);if(ee!==x){var Q=G(K);return new h("Invalid "+F+" `"+R+"` of type "+("`"+Q+"` supplied to `"+S+"`, expected ")+("`"+x+"`."),{expectedType:x})}return null}return p(j)}function E(){return p(d)}function C(x){function j(U,M,S,F,R){if(typeof x!="function")return new h("Property `"+R+"` of component `"+S+"` has invalid PropType notation inside arrayOf.");var V=U[M];if(!Array.isArray(V)){var K=ae(V);return new h("Invalid "+F+" `"+R+"` of type "+("`"+K+"` supplied to `"+S+"`, expected an array."))}for(var ee=0;ee<V.length;ee++){var Q=x(V,ee,S,F,R+"["+ee+"]",n);if(Q instanceof Error)return Q}return null}return p(j)}function O(){function x(j,U,M,S,F){var R=j[U];if(!o(R)){var V=ae(R);return new h("Invalid "+S+" `"+F+"` of type "+("`"+V+"` supplied to `"+M+"`, expected a single ReactElement."))}return null}return p(x)}function w(){function x(j,U,M,S,F){var R=j[U];if(!e.isValidElementType(R)){var V=ae(R);return new h("Invalid "+S+" `"+F+"` of type "+("`"+V+"` supplied to `"+M+"`, expected a single ReactElement type."))}return null}return p(x)}function P(x){function j(U,M,S,F,R){if(!(U[M]instanceof x)){var V=x.name||l,K=oe(U[M]);return new h("Invalid "+F+" `"+R+"` of type "+("`"+K+"` supplied to `"+S+"`, expected ")+("instance of `"+V+"`."))}return null}return p(j)}function W(x){if(!Array.isArray(x))return process.env.NODE_ENV!=="production"&&(arguments.length>1?a("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])."):a("Invalid argument supplied to oneOf, expected an array.")),d;function j(U,M,S,F,R){for(var V=U[M],K=0;K<x.length;K++)if(c(V,x[K]))return null;var ee=JSON.stringify(x,function(Pe,y){var H=G(y);return H==="symbol"?String(y):y});return new h("Invalid "+F+" `"+R+"` of value `"+String(V)+"` "+("supplied to `"+S+"`, expected one of "+ee+"."))}return p(j)}function _(x){function j(U,M,S,F,R){if(typeof x!="function")return new h("Property `"+R+"` of component `"+S+"` has invalid PropType notation inside objectOf.");var V=U[M],K=ae(V);if(K!=="object")return new h("Invalid "+F+" `"+R+"` of type "+("`"+K+"` supplied to `"+S+"`, expected an object."));for(var ee in V)if(r(V,ee)){var Q=x(V,ee,S,F,R+"."+ee,n);if(Q instanceof Error)return Q}return null}return p(j)}function I(x){if(!Array.isArray(x))return process.env.NODE_ENV!=="production"&&a("Invalid argument supplied to oneOfType, expected an instance of array."),d;for(var j=0;j<x.length;j++){var U=x[j];if(typeof U!="function")return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+se(U)+" at index "+j+"."),d}function M(S,F,R,V,K){for(var ee=[],Q=0;Q<x.length;Q++){var Pe=x[Q],y=Pe(S,F,R,V,K,n);if(y==null)return null;y.data&&r(y.data,"expectedType")&&ee.push(y.data.expectedType)}var H=ee.length>0?", expected one of type ["+ee.join(", ")+"]":"";return new h("Invalid "+V+" `"+K+"` supplied to "+("`"+R+"`"+H+"."))}return p(M)}function q(){function x(j,U,M,S,F){return z(j[U])?null:new h("Invalid "+S+" `"+F+"` supplied to "+("`"+M+"`, expected a ReactNode."))}return p(x)}function te(x,j,U,M,S){return new h((x||"React class")+": "+j+" type `"+U+"."+M+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+S+"`.")}function re(x){function j(U,M,S,F,R){var V=U[M],K=ae(V);if(K!=="object")return new h("Invalid "+F+" `"+R+"` of type `"+K+"` "+("supplied to `"+S+"`, expected `object`."));for(var ee in x){var Q=x[ee];if(typeof Q!="function")return te(S,F,R,ee,G(Q));var Pe=Q(V,ee,S,F,R+"."+ee,n);if(Pe)return Pe}return null}return p(j)}function N(x){function j(U,M,S,F,R){var V=U[M],K=ae(V);if(K!=="object")return new h("Invalid "+F+" `"+R+"` of type `"+K+"` "+("supplied to `"+S+"`, expected `object`."));var ee=t({},U[M],x);for(var Q in ee){var Pe=x[Q];if(r(x,Q)&&typeof Pe!="function")return te(S,F,R,Q,G(Pe));if(!Pe)return new h("Invalid "+F+" `"+R+"` key `"+Q+"` supplied to `"+S+"`.\nBad object: "+JSON.stringify(U[M],null," ")+`
|
|
51
|
-
Valid keys: `+JSON.stringify(Object.keys(x),null," "));var y=Pe(V,Q,S,F,R+"."+Q,n);if(y)return y}return null}return p(j)}function z(x){switch(typeof x){case"number":case"string":case"undefined":return!0;case"boolean":return!x;case"object":if(Array.isArray(x))return x.every(z);if(x===null||o(x))return!0;var j=b(x);if(j){var U=j.call(x),M;if(j!==x.entries){for(;!(M=U.next()).done;)if(!z(M.value))return!1}else for(;!(M=U.next()).done;){var S=M.value;if(S&&!z(S[1]))return!1}}else return!1;return!0;default:return!1}}function ie(x,j){return x==="symbol"?!0:j?j["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&j instanceof Symbol:!1}function ae(x){var j=typeof x;return Array.isArray(x)?"array":x instanceof RegExp?"object":ie(j,x)?"symbol":j}function G(x){if(typeof x>"u"||x===null)return""+x;var j=ae(x);if(j==="object"){if(x instanceof Date)return"date";if(x instanceof RegExp)return"regexp"}return j}function se(x){var j=G(x);switch(j){case"array":case"object":return"an "+j;case"boolean":case"date":case"regexp":return"a "+j;default:return j}}function oe(x){return!x.constructor||!x.constructor.name?l:x.constructor.name}return v.checkPropTypes=i,v.resetWarningCache=i.resetWarningCache,v.PropTypes=v,v},yr}var wr,Xa;function ws(){if(Xa)return wr;Xa=1;var e=$r();function t(){}function n(){}return n.resetWarningCache=t,wr=function(){function r(d,o,u,s,m,b){if(b!==e){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}r.isRequired=r;function i(){return r}var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a},wr}if(process.env.NODE_ENV!=="production"){var Cs=Ga(),Os=!0;vr.exports=ys()(Cs.isElement,Os)}else vr.exports=ws()();var xs=vr.exports;const k=ni(xs);var Ja={exports:{}};/*!
|
|
52
|
-
Copyright (c) 2018 Jed Watson.
|
|
53
|
-
Licensed under the MIT License (MIT), see
|
|
54
|
-
http://jedwatson.github.io/classnames
|
|
55
|
-
*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var a="",d=0;d<arguments.length;d++){var o=arguments[d];o&&(a=i(a,r(o)))}return a}function r(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return n.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var d="";for(var o in a)t.call(a,o)&&a[o]&&(d=i(d,o));return d}function i(a,d){return d?a?a+" "+d:a+d:a}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(Ja);var Ss=Ja.exports;const yn=ni(Ss);function Ps(e,t,n){switch(n){case"Backspace":t>0&&(e=e.slice(0,t-1)+e.slice(t),t--);break;case"Delete":e=e.slice(0,t)+e.slice(t+1);break}return{value:e,caret:t}}function Es(e,t,n){for(var r={},i="",a=0,d=0;d<e.length;){var o=n(e[d],i,r);o!==void 0&&(i+=o,t!==void 0&&(t===d?a=i.length-1:t>d&&(a=i.length))),d++}t===void 0&&(a=i.length);var u={value:i,caret:a};return u}function Ns(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Ts(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
56
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ts(e,t){if(e){if(typeof e=="string")return Qa(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qa(e,t)}}function Qa(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Cr(e,t){for(var n=0,r=Ns(t.split("")),i;!(i=r()).done;){var a=i.value;a===e&&n++}return n}function Is(e,t){for(var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"x",r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:" ",i=e.length,a=Cr("(",e),d=Cr(")",e),o=a-d;o>0&&i<t.length;)e+=t[i].replace(n,r),t[i]===")"&&o--,i++;return e}function _s(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=As(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
57
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function As(e,t){if(e){if(typeof e=="string")return ed(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ed(e,t)}}function ed(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ks(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"x",n=arguments.length>2?arguments[2]:void 0;if(!e)return function(i){return{text:i}};var r=Cr(t,e);return function(i){if(!i)return{text:"",template:e};for(var a=0,d="",o=_s(e.split("")),u;!(u=o()).done;){var s=u.value;if(s!==t){d+=s;continue}if(d+=i[a],a++,a===i.length&&i.length<r)break}return n&&(d=Is(d,e)),{text:d,template:e}}}function Fs(e,t,n){typeof n=="string"&&(n=ks(n));var r=n(e)||{},i=r.text,a=r.template;if(i===void 0&&(i=e),a)if(t===void 0)t=i.length;else{for(var d=0,o=!1,u=-1;d<i.length&&d<a.length;){if(i[d]!==a[d]){if(t===0){o=!0,t=d;break}u=d,t--}d++}o||(t=u+1)}return{text:i,caret:t}}function js(e){return e.hasAttribute("readonly")}function Rs(e){if(e.selectionStart!==e.selectionEnd)return{start:e.selectionStart,end:e.selectionEnd}}var td={Backspace:8,Delete:46};function Ls(e){switch(e.keyCode){case td.Backspace:return"Backspace";case td.Delete:return"Delete"}}function Ds(e){return e.selectionStart}function nd(e,t){t!==void 0&&(Ms()?setTimeout(function(){return e.setSelectionRange(t,t)},0):e.setSelectionRange(t,t))}function Ms(){if(typeof navigator<"u")return Bs.test(navigator.userAgent)}var Bs=/Android/i;function Ws(e,t,n,r,i){Or(t,n,r,void 0,i)}function Us(e,t,n,r,i){if(!js(t)){var a=Ls(e);switch(a){case"Delete":case"Backspace":e.preventDefault();var d=Rs(t);return d?(Vs(t,d),Or(t,n,r,void 0,i)):Or(t,n,r,a,i)}}}function Vs(e,t){var n=e.value;n=n.slice(0,t.start)+n.slice(t.end),e.value=n,nd(e,t.start)}function Or(e,t,n,r,i){var a=Es(e.value,Ds(e),t),d=a.value,o=a.caret;if(r){var u=Ps(d,o,r);d=u.value,o=u.caret}var s=Fs(d,o,n),m=s.text;o=s.caret,e.value=m,nd(e,o),i&&i(d)}var Gs=["ref","parse","format","value","defaultValue","controlled","onChange","onKeyDown"];function rd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function It(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?rd(Object(n),!0).forEach(function(r){Hs(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rd(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Hs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qs(e,t){if(e==null)return{};var n=Ks(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Ks(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function Ys(e){var t=e.ref,n=e.parse,r=e.format,i=e.value,a=e.defaultValue,d=e.controlled,o=d===void 0?!0:d,u=e.onChange,s=e.onKeyDown,m=qs(e,Gs),b=f.useRef(),l=f.useCallback(function(p){b.current=p,t&&(typeof t=="function"?t(p):t.current=p)},[t]),v=f.useCallback(function(p){return Ws(p,b.current,n,r,u)},[b,n,r,u]),c=f.useCallback(function(p){if(s&&s(p),!p.defaultPrevented)return Us(p,b.current,n,r,u)},[b,n,r,u,s]),h=It(It({},m),{},{ref:l,onChange:v,onKeyDown:c});return o?It(It({},h),{},{value:r(id(i)?"":i).text}):It(It({},h),{},{defaultValue:r(id(a)?"":a).text})}function id(e){return e==null}var zs=["inputComponent","parse","format","value","defaultValue","onChange","controlled","onKeyDown","type"];function ad(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Zs(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ad(Object(n),!0).forEach(function(r){Xs(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ad(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Xs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Js(e,t){if(e==null)return{};var n=Qs(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Qs(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function wn(e,t){var n=e.inputComponent,r=n===void 0?"input":n,i=e.parse,a=e.format,d=e.value,o=e.defaultValue,u=e.onChange,s=e.controlled,m=e.onKeyDown,b=e.type,l=b===void 0?"text":b,v=Js(e,zs),c=Ys(Zs({ref:t,parse:i,format:a,value:d,defaultValue:o,onChange:u,controlled:s,onKeyDown:m,type:l},v));return f.createElement(r,c)}wn=f.forwardRef(wn),wn.propTypes={parse:k.func.isRequired,format:k.func.isRequired,inputComponent:k.elementType,type:k.string,value:k.string,defaultValue:k.string,onChange:k.func,controlled:k.bool,onKeyDown:k.func,onCut:k.func,onPaste:k.func};const e1=wn;function dd(e,t){e=e.split("-"),t=t.split("-");for(var n=e[0].split("."),r=t[0].split("."),i=0;i<3;i++){var a=Number(n[i]),d=Number(r[i]);if(a>d)return 1;if(d>a)return-1;if(!isNaN(a)&&isNaN(d))return 1;if(isNaN(a)&&!isNaN(d))return-1}return e[1]&&t[1]?e[1]>t[1]?1:e[1]<t[1]?-1:0:!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0}var t1={}.constructor;function xt(e){return e!=null&&e.constructor===t1}function xr(e){"@babel/helpers - typeof";return xr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xr(e)}function Cn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function od(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function On(e,t,n){return t&&od(e.prototype,t),n&&od(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var n1="1.2.0",r1="1.7.35",ud=" ext. ",i1=/^\d+$/,Ne=function(){function e(t){Cn(this,e),cd(t),this.metadata=t,pd.call(this,t)}return On(e,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(n){return n!=="001"})}},{key:"getCountryMetadata",value:function(n){return this.metadata.countries[n]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(n){return this.getCountryMetadata(n)!==void 0}},{key:"hasCallingCode",value:function(n){if(this.getCountryCodesForCallingCode(n))return!0;if(this.nonGeographic()){if(this.nonGeographic()[n])return!0}else{var r=this.countryCallingCodes()[n];if(r&&r.length===1&&r[0]==="001")return!0}}},{key:"isNonGeographicCallingCode",value:function(n){return this.nonGeographic()?!!this.nonGeographic()[n]:!this.getCountryCodesForCallingCode(n)}},{key:"country",value:function(n){return this.selectNumberingPlan(n)}},{key:"selectNumberingPlan",value:function(n,r){if(n&&i1.test(n)&&(r=n,n=null),n&&n!=="001"){if(!this.hasCountry(n))throw new Error("Unknown country: ".concat(n));this.numberingPlan=new ld(this.getCountryMetadata(n),this)}else if(r){if(!this.hasCallingCode(r))throw new Error("Unknown calling code: ".concat(r));this.numberingPlan=new ld(this.getNumberingPlanMetadata(r),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(n){var r=this.countryCallingCodes()[n];if(r)return r.length===1&&r[0].length===3?void 0:r}},{key:"getCountryCodeForCallingCode",value:function(n){var r=this.getCountryCodesForCallingCode(n);if(r)return r[0]}},{key:"getNumberingPlanMetadata",value:function(n){var r=this.getCountryCodeForCallingCode(n);if(r)return this.getCountryMetadata(r);if(this.nonGeographic()){var i=this.nonGeographic()[n];if(i)return i}else{var a=this.countryCallingCodes()[n];if(a&&a.length===1&&a[0]==="001")return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(n){return this.numberingPlan.type(n)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(n){return this.selectNumberingPlan(n)}},{key:"hasSelectedNumberingPlan",value:function(){return this.numberingPlan!==void 0}}]),e}(),ld=function(){function e(t,n){Cn(this,e),this.globalMetadataObject=n,this.metadata=t,pd.call(this,n.metadata)}return On(e,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"IDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(n){return n[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var n=this,r=this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[];return r.map(function(i){return new a1(i,n)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(n){return n[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return this.types()&&this.types().length===0?!1:!!this.types()}},{key:"type",value:function(n){if(this.hasTypes()&&sd(this.types(),n))return new o1(sd(this.types(),n),this)}},{key:"ext",value:function(){return this.v1||this.v2?ud:this.metadata[13]||ud}}]),e}(),a1=function(){function e(t,n){Cn(this,e),this._format=t,this.metadata=n}return On(e,[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!!(this.nationalPrefixFormattingRule()&&!d1.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}]),e}(),d1=/^\(?\$1\)?$/,o1=function(){function e(t,n){Cn(this,e),this.type=t,this.metadata=n}return On(e,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}]),e}();function sd(e,t){switch(t){case"FIXED_LINE":return e[0];case"MOBILE":return e[1];case"TOLL_FREE":return e[2];case"PREMIUM_RATE":return e[3];case"PERSONAL_NUMBER":return e[4];case"VOICEMAIL":return e[5];case"UAN":return e[6];case"PAGER":return e[7];case"VOIP":return e[8];case"SHARED_COST":return e[9]}}function cd(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!xt(e)||!xt(e.countries))throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(xt(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+u1(e)+": "+e,"."))}var u1=function(t){return xr(t)};function ct(e,t){if(t=new Ne(t),t.hasCountry(e))return t.country(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function fd(e,t){return t.countries.hasOwnProperty(e)}function pd(e){var t=e.version;typeof t=="number"?(this.v1=t===1,this.v2=t===2,this.v3=t===3,this.v4=t===4):t?dd(t,n1)===-1?this.v2=!0:dd(t,r1)===-1?this.v3=!0:this.v4=!0:this.v1=!0}function l1(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=s1(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
58
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function s1(e,t){if(e){if(typeof e=="string")return vd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return vd(e,t)}}function vd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c1(e,t){for(var n=e.slice(),r=l1(t),i;!(i=r()).done;){var a=i.value;e.indexOf(a)<0&&n.push(a)}return n.sort(function(d,o){return d-o})}function xn(e,t){return hd(e,void 0,t)}function hd(e,t,n){var r=n.type(t),i=r&&r.possibleLengths()||n.possibleLengths();if(!i)return"IS_POSSIBLE";if(t==="FIXED_LINE_OR_MOBILE"){if(!n.type("FIXED_LINE"))return hd(e,"MOBILE",n);var a=n.type("MOBILE");a&&(i=c1(i,a.possibleLengths()))}else if(t&&!r)return"INVALID_LENGTH";var d=e.length,o=i[0];return o===d?"IS_POSSIBLE":o>d?"TOO_SHORT":i[i.length-1]<d?"TOO_LONG":i.indexOf(d,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function f1(e,t,n){if(t===void 0&&(t={}),n=new Ne(n),t.v2){if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(e.countryCallingCode)}else{if(!e.phone)return!1;if(e.country){if(!n.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));n.country(e.country)}else{if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(e.countryCallingCode)}}if(n.possibleLengths())return md(e.phone||e.nationalNumber,n);if(e.countryCallingCode&&n.isNonGeographicCallingCode(e.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}function md(e,t){switch(xn(e,t)){case"IS_POSSIBLE":return!0;default:return!1}}function ft(e,t){return e=e||"",new RegExp("^(?:"+t+")$").test(e)}function p1(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=v1(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
59
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function v1(e,t){if(e){if(typeof e=="string")return $d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $d(e,t)}}function $d(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var h1=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function Sr(e,t,n){if(t=t||{},!(!e.country&&!e.countryCallingCode)){n=new Ne(n),n.selectNumberingPlan(e.country,e.countryCallingCode);var r=t.v2?e.nationalNumber:e.phone;if(ft(r,n.nationalNumberPattern())){if(Pr(r,"FIXED_LINE",n))return n.type("MOBILE")&&n.type("MOBILE").pattern()===""||!n.type("MOBILE")||Pr(r,"MOBILE",n)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE";for(var i=p1(h1),a;!(a=i()).done;){var d=a.value;if(Pr(r,d,n))return d}}}}function Pr(e,t,n){return t=n.type(t),!t||!t.pattern()||t.possibleLengths()&&t.possibleLengths().indexOf(e.length)<0?!1:ft(e,t.pattern())}function m1(e,t,n){if(t=t||{},n=new Ne(n),n.selectNumberingPlan(e.country,e.countryCallingCode),n.hasTypes())return Sr(e,t,n.metadata)!==void 0;var r=t.v2?e.nationalNumber:e.phone;return ft(r,n.nationalNumberPattern())}function $1(e,t,n){var r=new Ne(n),i=r.getCountryCodesForCallingCode(e);return i?i.filter(function(a){return b1(t,a,n)}):[]}function b1(e,t,n){var r=new Ne(n);return r.selectNumberingPlan(t),r.numberingPlan.possibleLengths().indexOf(e.length)>=0}var Er=2,g1=17,y1=3,je="0-90-9٠-٩۰-۹",w1="-‐-―−ー-",C1="//",O1="..",x1=" ",S1="()()[]\\[\\]",P1="~⁓∼~",Qe="".concat(w1).concat(C1).concat(O1).concat(x1).concat(S1).concat(P1),Sn="++",E1=new RegExp("(["+je+"])");function bd(e,t,n,r){if(t){var i=new Ne(r);i.selectNumberingPlan(t,n);var a=new RegExp(i.IDDPrefix());if(e.search(a)===0){e=e.slice(e.match(a)[0].length);var d=e.match(E1);if(!(d&&d[1]!=null&&d[1].length>0&&d[1]==="0"))return e}}}function Nr(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(e);if(r){var i,a,d=r.length-1,o=d>0&&r[d];if(t.nationalPrefixTransformRule()&&o)i=e.replace(n,t.nationalPrefixTransformRule()),d>1&&(a=r[1]);else{var u=r[0];i=e.slice(u.length),o&&(a=r[1])}var s;if(o){var m=e.indexOf(r[1]),b=e.slice(0,m);b===t.numberingPlan.nationalPrefix()&&(s=t.numberingPlan.nationalPrefix())}else s=r[0];return{nationalNumber:i,nationalPrefix:s,carrierCode:a}}}return{nationalNumber:e}}function Tr(e,t){var n=Nr(e,t),r=n.carrierCode,i=n.nationalNumber;if(i!==e){if(!N1(e,i,t))return{nationalNumber:e};if(t.possibleLengths()&&!T1(i,t))return{nationalNumber:e}}return{nationalNumber:i,carrierCode:r}}function N1(e,t,n){return!(ft(e,n.nationalNumberPattern())&&!ft(t,n.nationalNumberPattern()))}function T1(e,t){switch(xn(e,t)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}function gd(e,t,n,r){var i=t?ct(t,r):n;if(e.indexOf(i)===0){r=new Ne(r),r.selectNumberingPlan(t,n);var a=e.slice(i.length),d=Tr(a,r),o=d.nationalNumber,u=Tr(e,r),s=u.nationalNumber;if(!ft(s,r.nationalNumberPattern())&&ft(o,r.nationalNumberPattern())||xn(s,r)==="TOO_LONG")return{countryCallingCode:i,number:a}}return{number:e}}function Ir(e,t,n,r){if(!e)return{};var i;if(e[0]!=="+"){var a=bd(e,t,n,r);if(a&&a!==e)i=!0,e="+"+a;else{if(t||n){var d=gd(e,t,n,r),o=d.countryCallingCode,u=d.number;if(o)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:o,number:u}}return{number:e}}}if(e[1]==="0")return{};r=new Ne(r);for(var s=2;s-1<=y1&&s<=e.length;){var m=e.slice(1,s);if(r.hasCallingCode(m))return r.selectNumberingPlan(m),{countryCallingCodeSource:i?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:m,number:e.slice(s)};s++}return{}}function yd(e){return e.replace(new RegExp("[".concat(Qe,"]+"),"g")," ").trim()}var wd=/(\$\d)/;function Cd(e,t,n){var r=n.useInternationalFormat,i=n.withNationalPrefix;n.carrierCode,n.metadata;var a=e.replace(new RegExp(t.pattern()),r?t.internationalFormat():i&&t.nationalPrefixFormattingRule()?t.format().replace(wd,t.nationalPrefixFormattingRule()):t.format());return r?yd(a):a}var I1=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function _1(e,t,n){var r=new Ne(n);if(r.selectNumberingPlan(e,t),r.defaultIDDPrefix())return r.defaultIDDPrefix();if(I1.test(r.IDDPrefix()))return r.IDDPrefix()}var A1=";ext=",_t=function(t){return"([".concat(je,"]{1,").concat(t,"})")};function Od(e){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)",m="[- ]+",b="[ \\t]*",l="(?:,{2}|;)",v=A1+_t(t),c=a+u+d+_t(t)+o,h=a+s+d+_t(r)+o,p=m+_t(i)+"#",g=b+l+d+_t(n)+o,E=b+"(?:,)+"+d+_t(r)+o;return v+"|"+c+"|"+h+"|"+p+"|"+g+"|"+E}var k1="["+je+"]{"+Er+"}",F1="["+Sn+"]{0,1}(?:["+Qe+"]*["+je+"]){3,}["+Qe+je+"]*",j1=new RegExp("^["+Sn+"]{0,1}(?:["+Qe+"]*["+je+"]){1,2}$","i"),R1=F1+"(?:"+Od()+")?",L1=new RegExp("^"+k1+"$|^"+R1+"$","i");function D1(e){return e.length>=Er&&L1.test(e)}function M1(e){return j1.test(e)}function B1(e){var t=e.number,n=e.ext;if(!t)return"";if(t[0]!=="+")throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(t).concat(n?";ext="+n:"")}function W1(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=U1(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
60
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function U1(e,t){if(e){if(typeof e=="string")return xd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xd(e,t)}}function xd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Sd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Pd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Sd(Object(n),!0).forEach(function(r){V1(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sd(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function V1(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ed={formatExtension:function(t,n,r){return"".concat(t).concat(r.ext()).concat(n)}};function G1(e,t,n,r){if(n?n=Pd(Pd({},Ed),n):n=Ed,r=new Ne(r),e.country&&e.country!=="001"){if(!r.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));r.country(e.country)}else if(e.countryCallingCode)r.selectNumberingPlan(e.countryCallingCode);else return e.phone||"";var i=r.countryCallingCode(),a=n.v2?e.nationalNumber:e.phone,d;switch(t){case"NATIONAL":return a?(d=Pn(a,e.carrierCode,"NATIONAL",r,n),_r(d,e.ext,r,n.formatExtension)):"";case"INTERNATIONAL":return a?(d=Pn(a,null,"INTERNATIONAL",r,n),d="+".concat(i," ").concat(d),_r(d,e.ext,r,n.formatExtension)):"+".concat(i);case"E.164":return"+".concat(i).concat(a);case"RFC3966":return B1({number:"+".concat(i).concat(a),ext:e.ext});case"IDD":if(!n.fromCountry)return;var o=q1(a,e.carrierCode,i,n.fromCountry,r);return _r(o,e.ext,r,n.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t,'"'))}}function Pn(e,t,n,r,i){var a=H1(r.formats(),e);return a?Cd(e,a,{useInternationalFormat:n==="INTERNATIONAL",withNationalPrefix:!(a.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&i&&i.nationalPrefix===!1),carrierCode:t,metadata:r}):e}function H1(e,t){for(var n=W1(e),r;!(r=n()).done;){var i=r.value;if(i.leadingDigitsPatterns().length>0){var a=i.leadingDigitsPatterns()[i.leadingDigitsPatterns().length-1];if(t.search(a)!==0)continue}if(ft(t,i.pattern()))return i}}function _r(e,t,n,r){return t?r(e,t,n):e}function q1(e,t,n,r,i){var a=ct(r,i.metadata);if(a===n){var d=Pn(e,t,"NATIONAL",i);return n==="1"?n+" "+d:d}var o=_1(r,void 0,i.metadata);if(o)return"".concat(o," ").concat(n," ").concat(Pn(e,null,"INTERNATIONAL",i))}function Nd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Td(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Nd(Object(n),!0).forEach(function(r){K1(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nd(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function K1(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Y1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Id(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function z1(e,t,n){return t&&Id(e.prototype,t),n&&Id(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var _d=function(){function e(t,n,r){if(Y1(this,e),!t)throw new TypeError("First argument is required");if(typeof t!="string")throw new TypeError("First argument must be a string");if(typeof t=="string"){if(t[0]==="+"&&!n)throw new TypeError("`metadata` argument not passed");if(xt(n)&&xt(n.countries)){r=n;var i=t;if(!J1.test(i))throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');var a=Ir(i,void 0,void 0,r),d=a.countryCallingCode,o=a.number;if(n=o,t=d,!n)throw new Error("Invalid `number` argument passed: too short")}}if(!n)throw new TypeError("`nationalNumber` argument is required");if(typeof n!="string")throw new TypeError("`nationalNumber` argument must be a string");cd(r);var u=X1(t,r),s=u.country,m=u.countryCallingCode;this.country=s,this.countryCallingCode=m,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r}}return z1(e,[{key:"setExt",value:function(n){this.ext=n}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:$1(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return f1(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return m1(this,{v2:!0},this.getMetadata())}},{key:"isNonGeographic",value:function(){var n=new Ne(this.getMetadata());return n.isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(n){return this.number===n.number&&this.ext===n.ext}},{key:"getType",value:function(){return Sr(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(n,r){return G1(this,n,r?Td(Td({},r),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:"formatNational",value:function(n){return this.format("NATIONAL",n)}},{key:"formatInternational",value:function(n){return this.format("INTERNATIONAL",n)}},{key:"getURI",value:function(n){return this.format("RFC3966",n)}}]),e}(),Z1=function(t){return/^[A-Z]{2}$/.test(t)};function X1(e,t){var n,r,i=new Ne(t);return Z1(e)?(n=e,i.selectNumberingPlan(n),r=i.countryCallingCode()):r=e,{country:n,countryCallingCode:r}}var J1=/^\+\d+$/;function Ar(e){"@babel/helpers - typeof";return Ar=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ar(e)}function Ad(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Q1(e,t,n){return t&&Ad(e.prototype,t),n&&Ad(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function e2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Jt(e,t)}function n2(e){var t=Fd();return function(){var r=Qt(e),i;if(t){var a=Qt(this).constructor;i=Reflect.construct(r,arguments,a)}else i=r.apply(this,arguments);return r2(this,i)}}function r2(e,t){if(t&&(Ar(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return kd(e)}function kd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kr(e){var t=typeof Map=="function"?new Map:void 0;return kr=function(r){if(r===null||!i2(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,i)}function i(){return En(r,arguments,Qt(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Jt(i,r)},kr(e)}function En(e,t,n){return Fd()?En=Reflect.construct:En=function(i,a,d){var o=[null];o.push.apply(o,a);var u=Function.bind.apply(i,o),s=new u;return d&&Jt(s,d.prototype),s},En.apply(null,arguments)}function Fd(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function i2(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Jt(e,t){return Jt=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Jt(e,t)}function Qt(e){return Qt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qt(e)}var pt=function(e){t2(n,e);var t=n2(n);function n(r){var i;return e2(this,n),i=t.call(this,r),Object.setPrototypeOf(kd(i),n.prototype),i.name=i.constructor.name,i}return Q1(n)}(kr(Error)),jd=new RegExp("(?:"+Od()+")$","i");function a2(e){var t=e.search(jd);if(t<0)return{};for(var n=e.slice(0,t),r=e.match(jd),i=1;i<r.length;){if(r[i])return{number:n,ext:r[i]};i++}}function d2(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=o2(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
61
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o2(e,t){if(e){if(typeof e=="string")return Rd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Rd(e,t)}}function Rd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var u2={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9"};function Ld(e){return u2[e]}function Nn(e){for(var t="",n=d2(e.split("")),r;!(r=n()).done;){var i=r.value,a=Ld(i);a&&(t+=a)}return t}function l2(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=s2(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
62
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function s2(e,t){if(e){if(typeof e=="string")return Dd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Dd(e,t)}}function Dd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Fr(e){for(var t="",n=l2(e.split("")),r;!(r=n()).done;){var i=r.value;t+=Md(i,t)||""}return t}function Md(e,t,n){if(e==="+"){if(t){typeof n=="function"&&n("end");return}return"+"}return Ld(e)}function c2(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=f2(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
63
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function f2(e,t){if(e){if(typeof e=="string")return Bd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Bd(e,t)}}function Bd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Wd(e,t){var n=t.countries;t.defaultCountry;var r=t.metadata;r=new Ne(r);for(var i=c2(n),a;!(a=i()).done;){var d=a.value;if(r.country(d),r.leadingDigits()){if(e&&e.search(r.leadingDigits())===0)return d}else if(Sr({phone:e,country:d},void 0,r.metadata))return d}}var p2=!1;function Ud(e,t){var n=t.nationalNumber,r=t.defaultCountry,i=t.metadata;if(p2&&i.isNonGeographicCallingCode(e))return"001";var a=i.getCountryCodesForCallingCode(e);if(a)return a.length===1?a[0]:Wd(n,{countries:a,defaultCountry:r,metadata:i.metadata})}var Vd="+",v2="[\\-\\.\\(\\)]?",Gd="(["+je+"]|"+v2+")",h2="^\\"+Vd+Gd+"*["+je+"]"+Gd+"*$",m2=new RegExp(h2,"g"),jr=je,$2="["+jr+"]+((\\-)*["+jr+"])*",b2="a-zA-Z",g2="["+b2+"]+((\\-)*["+jr+"])*",y2="^("+$2+"\\.)*"+g2+"\\.?$",w2=new RegExp(y2,"g"),Hd="tel:",Rr=";phone-context=",C2=";isub=";function O2(e){var t=e.indexOf(Rr);if(t<0)return null;var n=t+Rr.length;if(n>=e.length)return"";var r=e.indexOf(";",n);return r>=0?e.substring(n,r):e.substring(n)}function x2(e){return e===null?!0:e.length===0?!1:m2.test(e)||w2.test(e)}function S2(e,t){var n=t.extractFormattedPhoneNumber,r=O2(e);if(!x2(r))throw new pt("NOT_A_NUMBER");var i;if(r===null)i=n(e)||"";else{i="",r.charAt(0)===Vd&&(i+=r);var a=e.indexOf(Hd),d;a>=0?d=a+Hd.length:d=0;var o=e.indexOf(Rr);i+=e.substring(d,o)}var u=i.indexOf(C2);if(u>0&&(i=i.substring(0,u)),i!=="")return i}var P2=250,E2=new RegExp("["+Sn+je+"]"),N2=new RegExp("[^"+je+"#]+$");function T2(e,t,n){if(t=t||{},n=new Ne(n),t.defaultCountry&&!n.hasCountry(t.defaultCountry))throw t.v2?new pt("INVALID_COUNTRY"):new Error("Unknown country: ".concat(t.defaultCountry));var r=_2(e,t.v2,t.extract),i=r.number,a=r.ext,d=r.error;if(!i){if(t.v2)throw d==="TOO_SHORT"?new pt("TOO_SHORT"):new pt("NOT_A_NUMBER");return{}}var o=k2(i,t.defaultCountry,t.defaultCallingCode,n),u=o.country,s=o.nationalNumber,m=o.countryCallingCode,b=o.countryCallingCodeSource,l=o.carrierCode;if(!n.hasSelectedNumberingPlan()){if(t.v2)throw new pt("INVALID_COUNTRY");return{}}if(!s||s.length<Er){if(t.v2)throw new pt("TOO_SHORT");return{}}if(s.length>g1){if(t.v2)throw new pt("TOO_LONG");return{}}if(t.v2){var v=new _d(m,s,n.metadata);return u&&(v.country=u),l&&(v.carrierCode=l),a&&(v.ext=a),v.__countryCallingCodeSource=b,v}var c=(t.extended?n.hasSelectedNumberingPlan():u)?ft(s,n.nationalNumberPattern()):!1;return t.extended?{country:u,countryCallingCode:m,carrierCode:l,valid:c,possible:c?!0:!!(t.extended===!0&&n.possibleLengths()&&md(s,n)),phone:s,ext:a}:c?A2(u,s,a):{}}function I2(e,t,n){if(e){if(e.length>P2){if(n)throw new pt("TOO_LONG");return}if(t===!1)return e;var r=e.search(E2);if(!(r<0))return e.slice(r).replace(N2,"")}}function _2(e,t,n){var r=S2(e,{extractFormattedPhoneNumber:function(d){return I2(d,n,t)}});if(!r)return{};if(!D1(r))return M1(r)?{error:"TOO_SHORT"}:{};var i=a2(r);return i.ext?i:{number:r}}function A2(e,t,n){var r={country:e,phone:t};return n&&(r.ext=n),r}function k2(e,t,n,r){var i=Ir(Fr(e),t,n,r.metadata),a=i.countryCallingCodeSource,d=i.countryCallingCode,o=i.number,u;if(d)r.selectNumberingPlan(d);else if(o&&(t||n))r.selectNumberingPlan(t,n),t&&(u=t),d=n||ct(t,r.metadata);else return{};if(!o)return{countryCallingCodeSource:a,countryCallingCode:d};var s=Tr(Fr(o),r),m=s.nationalNumber,b=s.carrierCode,l=Ud(d,{nationalNumber:m,defaultCountry:t,metadata:r});return l&&(u=l,l==="001"||r.country(u)),{country:u,countryCallingCode:d,countryCallingCodeSource:a,nationalNumber:m,carrierCode:b}}function qd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Kd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?qd(Object(n),!0).forEach(function(r){F2(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qd(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function F2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function j2(e,t,n){return T2(e,Kd(Kd({},t),{},{v2:!0}),n)}function Yd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function R2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Yd(Object(n),!0).forEach(function(r){L2(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yd(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function L2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function D2(e,t){return U2(e)||W2(e,t)||B2(e,t)||M2()}function M2(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
64
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function B2(e,t){if(e){if(typeof e=="string")return zd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return zd(e,t)}}function zd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function W2(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],i=!0,a=!1,d,o;try{for(n=n.call(e);!(i=(d=n.next()).done)&&(r.push(d.value),!(t&&r.length===t));i=!0);}catch(u){a=!0,o=u}finally{try{!i&&n.return!=null&&n.return()}finally{if(a)throw o}}return r}}function U2(e){if(Array.isArray(e))return e}function Zd(e){var t=Array.prototype.slice.call(e),n=D2(t,4),r=n[0],i=n[1],a=n[2],d=n[3],o,u,s;if(typeof r=="string")o=r;else throw new TypeError("A text for parsing must be a string.");if(!i||typeof i=="string")d?(u=a,s=d):(u=void 0,s=a),i&&(u=R2({defaultCountry:i},u));else if(xt(i))a?(u=i,s=a):s=i;else throw new Error("Invalid second argument: ".concat(i));return{text:o,options:u,metadata:s}}function Xd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Jd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Xd(Object(n),!0).forEach(function(r){V2(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xd(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function V2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qd(e,t,n){t&&t.defaultCountry&&!fd(t.defaultCountry,n)&&(t=Jd(Jd({},t),{},{defaultCountry:void 0}));try{return j2(e,t,n)}catch(r){if(!(r instanceof pt))throw r}}function G2(){var e=Zd(arguments),t=e.text,n=e.options,r=e.metadata;return Qd(t,n,r)}function eo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function to(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?eo(Object(n),!0).forEach(function(r){H2(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eo(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function H2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function q2(){var e=Zd(arguments),t=e.text,n=e.options,r=e.metadata;n=to(to({},n),{},{extract:!1});var i=Qd(t,n,r);return i&&i.isValid()||!1}function K2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function no(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Y2(e,t,n){return t&&no(e.prototype,t),n&&no(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var z2=function(){function e(t){var n=t.onCountryChange,r=t.onCallingCodeChange;K2(this,e),this.onCountryChange=n,this.onCallingCodeChange=r}return Y2(e,[{key:"reset",value:function(n){var r=n.country,i=n.callingCode;this.international=!1,this.missingPlus=!1,this.IDDPrefix=void 0,this.callingCode=void 0,this.digits="",this.resetNationalSignificantNumber(),this.initCountryAndCallingCode(r,i)}},{key:"resetNationalSignificantNumber",value:function(){this.nationalSignificantNumber=this.getNationalDigits(),this.nationalSignificantNumberMatchesInput=!0,this.nationalPrefix=void 0,this.carrierCode=void 0,this.complexPrefixBeforeNationalSignificantNumber=void 0}},{key:"update",value:function(n){for(var r=0,i=Object.keys(n);r<i.length;r++){var a=i[r];this[a]=n[a]}}},{key:"initCountryAndCallingCode",value:function(n,r){this.setCountry(n),this.setCallingCode(r)}},{key:"setCountry",value:function(n){this.country=n,this.onCountryChange(n)}},{key:"setCallingCode",value:function(n){this.callingCode=n,this.onCallingCodeChange(n,this.country)}},{key:"startInternationalNumber",value:function(n,r){this.international=!0,this.initCountryAndCallingCode(n,r)}},{key:"appendDigits",value:function(n){this.digits+=n}},{key:"appendNationalSignificantNumberDigits",value:function(n){this.nationalSignificantNumber+=n}},{key:"getNationalDigits",value:function(){return this.international?this.digits.slice((this.IDDPrefix?this.IDDPrefix.length:0)+(this.callingCode?this.callingCode.length:0)):this.digits}},{key:"getDigitsWithoutInternationalPrefix",value:function(){return this.international&&this.IDDPrefix?this.digits.slice(this.IDDPrefix.length):this.digits}}]),e}();function Z2(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=X2(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
65
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function X2(e,t){if(e){if(typeof e=="string")return ro(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ro(e,t)}}function ro(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var et="x",Lr=new RegExp(et);function Tn(e,t){if(t<1)return"";for(var n="";t>1;)t&1&&(n+=e),t>>=1,e+=e;return n+e}function io(e,t){return e[t]===")"&&t++,J2(e.slice(0,t))}function J2(e){for(var t=[],n=0;n<e.length;)e[n]==="("?t.push(n):e[n]===")"&&t.pop(),n++;var r=0,i="";t.push(e.length);for(var a=0,d=t;a<d.length;a++){var o=d[a];i+=e.slice(r,o),r=o+1}return i}function Q2(e,t,n){for(var r=Z2(n.split("")),i;!(i=r()).done;){var a=i.value;if(e.slice(t+1).search(Lr)<0)return;t=e.search(Lr),e=e.replace(Lr,a)}return[e,t]}function ec(e,t,n){var r=n.metadata,i=n.shouldTryNationalPrefixFormattingRule,a=n.getSeparatorAfterNationalPrefix,d=new RegExp("^(?:".concat(t.pattern(),")$"));if(d.test(e.nationalSignificantNumber))return nc(e,t,{metadata:r,shouldTryNationalPrefixFormattingRule:i,getSeparatorAfterNationalPrefix:a})}function tc(e,t){return xn(e,t)==="IS_POSSIBLE"}function nc(e,t,n){var r=n.metadata,i=n.shouldTryNationalPrefixFormattingRule,a=n.getSeparatorAfterNationalPrefix;if(e.nationalSignificantNumber,e.international,e.nationalPrefix,e.carrierCode,i(t)){var d=ao(e,t,{useNationalPrefixFormattingRule:!0,getSeparatorAfterNationalPrefix:a,metadata:r});if(d)return d}return ao(e,t,{useNationalPrefixFormattingRule:!1,getSeparatorAfterNationalPrefix:a,metadata:r})}function ao(e,t,n){var r=n.metadata,i=n.useNationalPrefixFormattingRule,a=n.getSeparatorAfterNationalPrefix,d=Cd(e.nationalSignificantNumber,t,{carrierCode:e.carrierCode,useInternationalFormat:e.international,withNationalPrefix:i,metadata:r});if(i||(e.nationalPrefix?d=e.nationalPrefix+a(t)+d:e.complexPrefixBeforeNationalSignificantNumber&&(d=e.complexPrefixBeforeNationalSignificantNumber+" "+d)),rc(d,e))return d}function rc(e,t){return Nn(e)===t.getNationalDigits()}function ic(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ac(e,t,n){return t&&oo(e.prototype,t),n&&oo(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var dc=function(){function e(){ic(this,e)}return ac(e,[{key:"parse",value:function(n){if(this.context=[{or:!0,instructions:[]}],this.parsePattern(n),this.context.length!==1)throw new Error("Non-finalized contexts left when pattern parse ended");var r=this.context[0],i=r.branches,a=r.instructions;if(i)return{op:"|",args:i.concat([Dr(a)])};if(a.length===0)throw new Error("Pattern is required");return a.length===1?a[0]:a}},{key:"startContext",value:function(n){this.context.push(n)}},{key:"endContext",value:function(){this.context.pop()}},{key:"getContext",value:function(){return this.context[this.context.length-1]}},{key:"parsePattern",value:function(n){if(!n)throw new Error("Pattern is required");var r=n.match(lc);if(!r){if(uc.test(n))throw new Error("Illegal characters found in a pattern: ".concat(n));this.getContext().instructions=this.getContext().instructions.concat(n.split(""));return}var i=r[1],a=n.slice(0,r.index),d=n.slice(r.index+i.length);switch(i){case"(?:":a&&this.parsePattern(a),this.startContext({or:!0,instructions:[],branches:[]});break;case")":if(!this.getContext().or)throw new Error('")" operator must be preceded by "(?:" operator');if(a&&this.parsePattern(a),this.getContext().instructions.length===0)throw new Error('No instructions found after "|" operator in an "or" group');var o=this.getContext(),u=o.branches;u.push(Dr(this.getContext().instructions)),this.endContext(),this.getContext().instructions.push({op:"|",args:u});break;case"|":if(!this.getContext().or)throw new Error('"|" operator can only be used inside "or" groups');if(a&&this.parsePattern(a),!this.getContext().branches)if(this.context.length===1)this.getContext().branches=[];else throw new Error('"branches" not found in an "or" group context');this.getContext().branches.push(Dr(this.getContext().instructions)),this.getContext().instructions=[];break;case"[":a&&this.parsePattern(a),this.startContext({oneOfSet:!0});break;case"]":if(!this.getContext().oneOfSet)throw new Error('"]" operator must be preceded by "[" operator');this.endContext(),this.getContext().instructions.push({op:"[]",args:oc(a)});break;default:throw new Error("Unknown operator: ".concat(i))}d&&this.parsePattern(d)}}]),e}();function oc(e){for(var t=[],n=0;n<e.length;){if(e[n]==="-"){if(n===0||n===e.length-1)throw new Error("Couldn't parse a one-of set pattern: ".concat(e));for(var r=e[n-1].charCodeAt(0)+1,i=e[n+1].charCodeAt(0)-1,a=r;a<=i;)t.push(String.fromCharCode(a)),a++}else t.push(e[n]);n++}return t}var uc=/[\(\)\[\]\?\:\|]/,lc=new RegExp("(\\||\\(\\?\\:|\\)|\\[|\\])");function Dr(e){return e.length===1?e[0]:e}function uo(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=sc(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
66
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function sc(e,t){if(e){if(typeof e=="string")return lo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return lo(e,t)}}function lo(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function cc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function so(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fc(e,t,n){return t&&so(e.prototype,t),n&&so(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var pc=function(){function e(t){cc(this,e),this.matchTree=new dc().parse(t)}return fc(e,[{key:"match",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.allowOverflow;if(!n)throw new Error("String is required");var a=Mr(n.split(""),this.matchTree,!0);if(a&&a.match&&delete a.matchedChars,!(a&&a.overflow&&!i))return a}}]),e}();function Mr(e,t,n){if(typeof t=="string"){var r=e.join("");return t.indexOf(r)===0?e.length===t.length?{match:!0,matchedChars:e}:{partialMatch:!0}:r.indexOf(t)===0?n&&e.length>t.length?{overflow:!0}:{match:!0,matchedChars:e.slice(0,t.length)}:void 0}if(Array.isArray(t)){for(var i=e.slice(),a=0;a<t.length;){var d=t[a],o=Mr(i,d,n&&a===t.length-1);if(o){if(o.overflow)return o;if(o.match){if(i=i.slice(o.matchedChars.length),i.length===0)return a===t.length-1?{match:!0,matchedChars:e}:{partialMatch:!0}}else{if(o.partialMatch)return{partialMatch:!0};throw new Error(`Unsupported match result:
|
|
67
|
-
`.concat(JSON.stringify(o,null,2)))}}else return;a++}return n?{overflow:!0}:{match:!0,matchedChars:e.slice(0,e.length-i.length)}}switch(t.op){case"|":for(var u,s=uo(t.args),m;!(m=s()).done;){var b=m.value,l=Mr(e,b,n);if(l){if(l.overflow)return l;if(l.match)return{match:!0,matchedChars:l.matchedChars};if(l.partialMatch)u=!0;else throw new Error(`Unsupported match result:
|
|
68
|
-
`.concat(JSON.stringify(l,null,2)))}}return u?{partialMatch:!0}:void 0;case"[]":for(var v=uo(t.args),c;!(c=v()).done;){var h=c.value;if(e[0]===h)return e.length===1?{match:!0,matchedChars:e}:n?{overflow:!0}:{match:!0,matchedChars:[h]}}return;default:throw new Error("Unsupported instruction tree: ".concat(t))}}function co(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=vc(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
69
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function vc(e,t){if(e){if(typeof e=="string")return fo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return fo(e,t)}}function fo(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function hc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function po(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function mc(e,t,n){return t&&po(e.prototype,t),n&&po(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var Br="9",$c=15,bc=Tn(Br,$c),gc=/[- ]/,yc=function(){return/\[([^\[\]])*\]/g},wc=function(){return/\d(?=[^,}][^,}])/g},Cc=new RegExp("["+Qe+"]*\\$1["+Qe+"]*(\\$\\d["+Qe+"]*)*$"),vo=3,Oc=function(){function e(t){t.state;var n=t.metadata;hc(this,e),this.metadata=n,this.resetFormat()}return mc(e,[{key:"resetFormat",value:function(){this.chosenFormat=void 0,this.template=void 0,this.nationalNumberTemplate=void 0,this.populatedNationalNumberTemplate=void 0,this.populatedNationalNumberTemplatePosition=-1}},{key:"reset",value:function(n,r){this.resetFormat(),n?(this.isNANP=n.callingCode()==="1",this.matchingFormats=n.formats(),r.nationalSignificantNumber&&this.narrowDownMatchingFormats(r)):(this.isNANP=void 0,this.matchingFormats=[])}},{key:"format",value:function(n,r){var i=this;if(tc(r.nationalSignificantNumber,this.metadata))for(var a=co(this.matchingFormats),d;!(d=a()).done;){var o=d.value,u=ec(r,o,{metadata:this.metadata,shouldTryNationalPrefixFormattingRule:function(m){return i.shouldTryNationalPrefixFormattingRule(m,{international:r.international,nationalPrefix:r.nationalPrefix})},getSeparatorAfterNationalPrefix:function(m){return i.getSeparatorAfterNationalPrefix(m)}});if(u)return this.resetFormat(),this.chosenFormat=o,this.setNationalNumberTemplate(u.replace(/\d/g,et),r),this.populatedNationalNumberTemplate=u,this.populatedNationalNumberTemplatePosition=this.template.lastIndexOf(et),u}return this.formatNationalNumberWithNextDigits(n,r)}},{key:"formatNationalNumberWithNextDigits",value:function(n,r){var i=this.chosenFormat,a=this.chooseFormat(r);if(a)return a===i?this.formatNextNationalNumberDigits(n):this.formatNextNationalNumberDigits(r.getNationalDigits())}},{key:"narrowDownMatchingFormats",value:function(n){var r=this,i=n.nationalSignificantNumber,a=n.nationalPrefix,d=n.international,o=i,u=o.length-vo;u<0&&(u=0),this.matchingFormats=this.matchingFormats.filter(function(s){return r.formatSuits(s,d,a)&&r.formatMatches(s,o,u)}),this.chosenFormat&&this.matchingFormats.indexOf(this.chosenFormat)===-1&&this.resetFormat()}},{key:"formatSuits",value:function(n,r,i){return!(i&&!n.usesNationalPrefix()&&!n.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!r&&!i&&n.nationalPrefixIsMandatoryWhenFormattingInNationalFormat())}},{key:"formatMatches",value:function(n,r,i){var a=n.leadingDigitsPatterns().length;if(a===0)return!0;i=Math.min(i,a-1);var d=n.leadingDigitsPatterns()[i];if(r.length<vo)try{return new pc(d).match(r,{allowOverflow:!0})!==void 0}catch(o){return console.error(o),!0}return new RegExp("^(".concat(d,")")).test(r)}},{key:"getFormatFormat",value:function(n,r){return r?n.internationalFormat():n.format()}},{key:"chooseFormat",value:function(n){for(var r=this,i=function(){var s=d.value;return r.chosenFormat===s?"break":Cc.test(r.getFormatFormat(s,n.international))?r.createTemplateForFormat(s,n)?(r.chosenFormat=s,"break"):(r.matchingFormats=r.matchingFormats.filter(function(m){return m!==s}),"continue"):"continue"},a=co(this.matchingFormats.slice()),d;!(d=a()).done;){var o=i();if(o==="break")break}return this.chosenFormat||this.resetFormat(),this.chosenFormat}},{key:"createTemplateForFormat",value:function(n,r){if(!(n.pattern().indexOf("|")>=0)){var i=this.getTemplateForFormat(n,r);if(i)return this.setNationalNumberTemplate(i,r),!0}}},{key:"getSeparatorAfterNationalPrefix",value:function(n){return this.isNANP||n&&n.nationalPrefixFormattingRule()&&gc.test(n.nationalPrefixFormattingRule())?" ":""}},{key:"getInternationalPrefixBeforeCountryCallingCode",value:function(n,r){var i=n.IDDPrefix,a=n.missingPlus;return i?r&&r.spacing===!1?i:i+" ":a?"":"+"}},{key:"getTemplate",value:function(n){if(this.template){for(var r=-1,i=0,a=n.international?this.getInternationalPrefixBeforeCountryCallingCode(n,{spacing:!1}):"";i<a.length+n.getDigitsWithoutInternationalPrefix().length;)r=this.template.indexOf(et,r+1),i++;return io(this.template,r+1)}}},{key:"setNationalNumberTemplate",value:function(n,r){this.nationalNumberTemplate=n,this.populatedNationalNumberTemplate=n,this.populatedNationalNumberTemplatePosition=-1,r.international?this.template=this.getInternationalPrefixBeforeCountryCallingCode(r).replace(/[\d\+]/g,et)+Tn(et,r.callingCode.length)+" "+n:this.template=n}},{key:"getTemplateForFormat",value:function(n,r){var i=r.nationalSignificantNumber,a=r.international,d=r.nationalPrefix,o=r.complexPrefixBeforeNationalSignificantNumber,u=n.pattern();u=u.replace(yc(),"\\d").replace(wc(),"\\d");var s=bc.match(u)[0];if(!(i.length>s.length)){var m=new RegExp("^"+u+"$"),b=i.replace(/\d/g,Br);m.test(b)&&(s=b);var l=this.getFormatFormat(n,a),v;if(this.shouldTryNationalPrefixFormattingRule(n,{international:a,nationalPrefix:d})){var c=l.replace(wd,n.nationalPrefixFormattingRule());if(Nn(n.nationalPrefixFormattingRule())===(d||"")+Nn("$1")&&(l=c,v=!0,d))for(var h=d.length;h>0;)l=l.replace(/\d/,et),h--}var p=s.replace(new RegExp(u),l).replace(new RegExp(Br,"g"),et);return v||(o?p=Tn(et,o.length)+" "+p:d&&(p=Tn(et,d.length)+this.getSeparatorAfterNationalPrefix(n)+p)),a&&(p=yd(p)),p}}},{key:"formatNextNationalNumberDigits",value:function(n){var r=Q2(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition,n);if(!r){this.resetFormat();return}return this.populatedNationalNumberTemplate=r[0],this.populatedNationalNumberTemplatePosition=r[1],io(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition+1)}},{key:"shouldTryNationalPrefixFormattingRule",value:function(n,r){var i=r.international,a=r.nationalPrefix;if(n.nationalPrefixFormattingRule()){var d=n.usesNationalPrefix();if(d&&a||!d&&!i)return!0}}}]),e}();function ho(e,t){return Ec(e)||Pc(e,t)||Sc(e,t)||xc()}function xc(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
70
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Sc(e,t){if(e){if(typeof e=="string")return mo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return mo(e,t)}}function mo(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Pc(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],i=!0,a=!1,d,o;try{for(n=n.call(e);!(i=(d=n.next()).done)&&(r.push(d.value),!(t&&r.length===t));i=!0);}catch(u){a=!0,o=u}finally{try{!i&&n.return!=null&&n.return()}finally{if(a)throw o}}return r}}function Ec(e){if(Array.isArray(e))return e}function Nc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Tc(e,t,n){return t&&$o(e.prototype,t),n&&$o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var Ic="["+Qe+je+"]+",_c=new RegExp("^"+Ic+"$","i"),Ac="(?:["+Sn+"]["+Qe+je+"]*|["+Qe+je+"]+)",kc=new RegExp("[^"+Qe+je+"]+.*$"),Fc=/[^\d\[\]]/,jc=function(){function e(t){var n=t.defaultCountry,r=t.defaultCallingCode,i=t.metadata,a=t.onNationalSignificantNumberChange;Nc(this,e),this.defaultCountry=n,this.defaultCallingCode=r,this.metadata=i,this.onNationalSignificantNumberChange=a}return Tc(e,[{key:"input",value:function(n,r){var i=Dc(n),a=ho(i,2),d=a[0],o=a[1],u=Nn(d),s;return o&&(r.digits||(r.startInternationalNumber(),u||(s=!0))),u&&this.inputDigits(u,r),{digits:u,justLeadingPlus:s}}},{key:"inputDigits",value:function(n,r){var i=r.digits,a=i.length<3&&i.length+n.length>=3;if(r.appendDigits(n),a&&this.extractIddPrefix(r),this.isWaitingForCountryCallingCode(r)){if(!this.extractCountryCallingCode(r))return}else r.appendNationalSignificantNumberDigits(n);r.international||this.hasExtractedNationalSignificantNumber||this.extractNationalSignificantNumber(r.getNationalDigits(),function(d){return r.update(d)})}},{key:"isWaitingForCountryCallingCode",value:function(n){var r=n.international,i=n.callingCode;return r&&!i}},{key:"extractCountryCallingCode",value:function(n){var r=Ir("+"+n.getDigitsWithoutInternationalPrefix(),this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),i=r.countryCallingCode,a=r.number;if(i)return n.setCallingCode(i),n.update({nationalSignificantNumber:a}),!0}},{key:"reset",value:function(n){if(n){this.hasSelectedNumberingPlan=!0;var r=n._nationalPrefixForParsing();this.couldPossiblyExtractAnotherNationalSignificantNumber=r&&Fc.test(r)}else this.hasSelectedNumberingPlan=void 0,this.couldPossiblyExtractAnotherNationalSignificantNumber=void 0}},{key:"extractNationalSignificantNumber",value:function(n,r){if(this.hasSelectedNumberingPlan){var i=Nr(n,this.metadata),a=i.nationalPrefix,d=i.nationalNumber,o=i.carrierCode;if(d!==n)return this.onExtractedNationalNumber(a,o,d,n,r),!0}}},{key:"extractAnotherNationalSignificantNumber",value:function(n,r,i){if(!this.hasExtractedNationalSignificantNumber)return this.extractNationalSignificantNumber(n,i);if(this.couldPossiblyExtractAnotherNationalSignificantNumber){var a=Nr(n,this.metadata),d=a.nationalPrefix,o=a.nationalNumber,u=a.carrierCode;if(o!==r)return this.onExtractedNationalNumber(d,u,o,n,i),!0}}},{key:"onExtractedNationalNumber",value:function(n,r,i,a,d){var o,u,s=a.lastIndexOf(i);if(s>=0&&s===a.length-i.length){u=!0;var m=a.slice(0,s);m!==n&&(o=m)}d({nationalPrefix:n,carrierCode:r,nationalSignificantNumber:i,nationalSignificantNumberMatchesInput:u,complexPrefixBeforeNationalSignificantNumber:o}),this.hasExtractedNationalSignificantNumber=!0,this.onNationalSignificantNumberChange()}},{key:"reExtractNationalSignificantNumber",value:function(n){if(this.extractAnotherNationalSignificantNumber(n.getNationalDigits(),n.nationalSignificantNumber,function(r){return n.update(r)}))return!0;if(this.extractIddPrefix(n))return this.extractCallingCodeAndNationalSignificantNumber(n),!0;if(this.fixMissingPlus(n))return this.extractCallingCodeAndNationalSignificantNumber(n),!0}},{key:"extractIddPrefix",value:function(n){var r=n.international,i=n.IDDPrefix,a=n.digits;if(n.nationalSignificantNumber,!(r||i)){var d=bd(a,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata);if(d!==void 0&&d!==a)return n.update({IDDPrefix:a.slice(0,a.length-d.length)}),this.startInternationalNumber(n,{country:void 0,callingCode:void 0}),!0}}},{key:"fixMissingPlus",value:function(n){if(!n.international){var r=gd(n.digits,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),i=r.countryCallingCode;if(r.number,i)return n.update({missingPlus:!0}),this.startInternationalNumber(n,{country:n.country,callingCode:i}),!0}}},{key:"startInternationalNumber",value:function(n,r){var i=r.country,a=r.callingCode;n.startInternationalNumber(i,a),n.nationalSignificantNumber&&(n.resetNationalSignificantNumber(),this.onNationalSignificantNumberChange(),this.hasExtractedNationalSignificantNumber=void 0)}},{key:"extractCallingCodeAndNationalSignificantNumber",value:function(n){this.extractCountryCallingCode(n)&&this.extractNationalSignificantNumber(n.getNationalDigits(),function(r){return n.update(r)})}}]),e}();function Rc(e){var t=e.search(Ac);if(!(t<0)){e=e.slice(t);var n;return e[0]==="+"&&(n=!0,e=e.slice(1)),e=e.replace(kc,""),n&&(e="+"+e),e}}function Lc(e){var t=Rc(e)||"";return t[0]==="+"?[t.slice(1),!0]:[t]}function Dc(e){var t=Lc(e),n=ho(t,2),r=n[0],i=n[1];return _c.test(r)||(r=""),[r,i]}function Mc(e,t){return Vc(e)||Uc(e,t)||Wc(e,t)||Bc()}function Bc(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
71
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Wc(e,t){if(e){if(typeof e=="string")return bo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return bo(e,t)}}function bo(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Uc(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],i=!0,a=!1,d,o;try{for(n=n.call(e);!(i=(d=n.next()).done)&&(r.push(d.value),!(t&&r.length===t));i=!0);}catch(u){a=!0,o=u}finally{try{!i&&n.return!=null&&n.return()}finally{if(a)throw o}}return r}}function Vc(e){if(Array.isArray(e))return e}function Gc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function go(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Hc(e,t,n){return t&&go(e.prototype,t),n&&go(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var At=function(){function e(t,n){Gc(this,e),this.metadata=new Ne(n);var r=this.getCountryAndCallingCode(t),i=Mc(r,2),a=i[0],d=i[1];this.defaultCountry=a,this.defaultCallingCode=d,this.reset()}return Hc(e,[{key:"getCountryAndCallingCode",value:function(n){var r,i;return n&&(xt(n)?(r=n.defaultCountry,i=n.defaultCallingCode):r=n),r&&!this.metadata.hasCountry(r)&&(r=void 0),[r,i]}},{key:"input",value:function(n){var r=this.parser.input(n,this.state),i=r.digits,a=r.justLeadingPlus;if(a)this.formattedOutput="+";else if(i){this.determineTheCountryIfNeeded(),this.state.nationalSignificantNumber&&this.formatter.narrowDownMatchingFormats(this.state);var d;if(this.metadata.hasSelectedNumberingPlan()&&(d=this.formatter.format(i,this.state)),d===void 0&&this.parser.reExtractNationalSignificantNumber(this.state)){this.determineTheCountryIfNeeded();var o=this.state.getNationalDigits();o&&(d=this.formatter.format(o,this.state))}this.formattedOutput=d?this.getFullNumber(d):this.getNonFormattedNumber()}return this.formattedOutput}},{key:"reset",value:function(){var n=this;return this.state=new z2({onCountryChange:function(i){n.country=i},onCallingCodeChange:function(i,a){n.metadata.selectNumberingPlan(a,i),n.formatter.reset(n.metadata.numberingPlan,n.state),n.parser.reset(n.metadata.numberingPlan)}}),this.formatter=new Oc({state:this.state,metadata:this.metadata}),this.parser=new jc({defaultCountry:this.defaultCountry,defaultCallingCode:this.defaultCallingCode,metadata:this.metadata,state:this.state,onNationalSignificantNumberChange:function(){n.determineTheCountryIfNeeded(),n.formatter.reset(n.metadata.numberingPlan,n.state)}}),this.state.reset({country:this.defaultCountry,callingCode:this.defaultCallingCode}),this.formattedOutput="",this}},{key:"isInternational",value:function(){return this.state.international}},{key:"getCallingCode",value:function(){if(this.isInternational())return this.state.callingCode}},{key:"getCountryCallingCode",value:function(){return this.getCallingCode()}},{key:"getCountry",value:function(){var n=this.state.digits;if(n)return this._getCountry()}},{key:"_getCountry",value:function(){var n=this.state.country;return n}},{key:"determineTheCountryIfNeeded",value:function(){(!this.state.country||this.isCountryCallingCodeAmbiguous())&&this.determineTheCountry()}},{key:"getFullNumber",value:function(n){var r=this;if(this.isInternational()){var i=function(o){return r.formatter.getInternationalPrefixBeforeCountryCallingCode(r.state,{spacing:!!o})+o},a=this.state.callingCode;return i(a?n?"".concat(a," ").concat(n):a:"".concat(this.state.getDigitsWithoutInternationalPrefix()))}return n}},{key:"getNonFormattedNationalNumberWithPrefix",value:function(){var n=this.state,r=n.nationalSignificantNumber,i=n.complexPrefixBeforeNationalSignificantNumber,a=n.nationalPrefix,d=r,o=i||a;return o&&(d=o+d),d}},{key:"getNonFormattedNumber",value:function(){var n=this.state.nationalSignificantNumberMatchesInput;return this.getFullNumber(n?this.getNonFormattedNationalNumberWithPrefix():this.state.getNationalDigits())}},{key:"getNonFormattedTemplate",value:function(){var n=this.getNonFormattedNumber();if(n)return n.replace(/[\+\d]/g,et)}},{key:"isCountryCallingCodeAmbiguous",value:function(){var n=this.state.callingCode,r=this.metadata.getCountryCodesForCallingCode(n);return r&&r.length>1}},{key:"determineTheCountry",value:function(){this.state.setCountry(Ud(this.isInternational()?this.state.callingCode:this.defaultCallingCode,{nationalNumber:this.state.nationalSignificantNumber,defaultCountry:this.defaultCountry,metadata:this.metadata}))}},{key:"getNumberValue",value:function(){var n=this.state,r=n.digits,i=n.callingCode,a=n.country,d=n.nationalSignificantNumber;if(r){if(this.isInternational())return i?"+"+i+d:"+"+r;if(a||i){var o=a?this.metadata.countryCallingCode():i;return"+"+o+d}}}},{key:"getNumber",value:function(){var n=this.state,r=n.nationalSignificantNumber,i=n.carrierCode,a=n.callingCode,d=this._getCountry();if(r&&!(!d&&!a)){if(d&&d===this.defaultCountry){var o=new Ne(this.metadata.metadata);o.selectNumberingPlan(d);var u=o.numberingPlan.callingCode(),s=this.metadata.getCountryCodesForCallingCode(u);if(s.length>1){var m=Wd(r,{countries:s,defaultCountry:this.defaultCountry,metadata:this.metadata.metadata});m&&(d=m)}}var b=new _d(d||a,r,this.metadata.metadata);return i&&(b.carrierCode=i),b}}},{key:"isPossible",value:function(){var n=this.getNumber();return n?n.isPossible():!1}},{key:"isValid",value:function(){var n=this.getNumber();return n?n.isValid():!1}},{key:"getNationalNumber",value:function(){return this.state.nationalSignificantNumber}},{key:"getChars",value:function(){return(this.state.international?"+":"")+this.state.digits}},{key:"getTemplate",value:function(){return this.formatter.getTemplate(this.state)||this.getNonFormattedTemplate()||""}}]),e}();function Wr(e){return new Ne(e).getCountries()}function qc(e,t,n){return n||(n=t,t=void 0),new At(t,n).input(e)}function yo(e){var t=e.inputFormat,n=e.country,r=e.metadata;return t==="NATIONAL_PART_OF_INTERNATIONAL"?"+".concat(ct(n,r)):""}function Ur(e,t){return t&&(e=e.slice(t.length),e[0]===" "&&(e=e.slice(1))),e}function Kc(e,t,n){if(!(n&&n.ignoreRest)){var r=function(a){if(n)switch(a){case"end":n.ignoreRest=!0;break}};return Md(e,t,r)}}function wo(e){var t=e.onKeyDown,n=e.inputFormat;return f.useCallback(function(r){if(r.keyCode===zc&&n==="INTERNATIONAL"&&r.target instanceof HTMLInputElement&&Yc(r.target)===Zc.length){r.preventDefault();return}t&&t(r)},[t,n])}function Yc(e){return e.selectionStart}var zc=8,Zc="+",Xc=["onKeyDown","country","inputFormat","metadata","international","withCountryCallingCode"];function Vr(){return Vr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Vr.apply(this,arguments)}function Jc(e,t){if(e==null)return{};var n=Qc(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Qc(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function e3(e){function t(n,r){var i=n.onKeyDown,a=n.country,d=n.inputFormat,o=n.metadata,u=o===void 0?e:o;n.international,n.withCountryCallingCode;var s=Jc(n,Xc),m=f.useCallback(function(l){var v=new At(a,u),c=yo({inputFormat:d,country:a,metadata:u}),h=v.input(c+l),p=v.getTemplate();return c&&(h=Ur(h,c),p&&(p=Ur(p,c))),{text:h,template:p}},[a,u]),b=wo({onKeyDown:i,inputFormat:d});return f.createElement(e1,Vr({},s,{ref:r,parse:Kc,format:m,onKeyDown:b}))}return t=f.forwardRef(t),t.propTypes={value:k.string.isRequired,onChange:k.func.isRequired,onKeyDown:k.func,country:k.string,inputFormat:k.oneOf(["INTERNATIONAL","NATIONAL_PART_OF_INTERNATIONAL","NATIONAL","INTERNATIONAL_OR_NATIONAL"]).isRequired,metadata:k.object},t}const t3=e3();var n3=["value","onChange","onKeyDown","country","inputFormat","metadata","inputComponent","international","withCountryCallingCode"];function Gr(){return Gr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gr.apply(this,arguments)}function r3(e,t){if(e==null)return{};var n=i3(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function i3(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function a3(e){function t(n,r){var i=n.value,a=n.onChange,d=n.onKeyDown,o=n.country,u=n.inputFormat,s=n.metadata,m=s===void 0?e:s,b=n.inputComponent,l=b===void 0?"input":b;n.international,n.withCountryCallingCode;var v=r3(n,n3),c=yo({inputFormat:u,country:o,metadata:m}),h=f.useCallback(function(g){var E=Fr(g.target.value);if(E===i){var C=Co(c,E,o,m);C.indexOf(g.target.value)===0&&(E=E.slice(0,-1))}a(E)},[c,i,a,o,m]),p=wo({onKeyDown:d,inputFormat:u});return f.createElement(l,Gr({},v,{ref:r,value:Co(c,i,o,m),onChange:h,onKeyDown:p}))}return t=f.forwardRef(t),t.propTypes={value:k.string.isRequired,onChange:k.func.isRequired,onKeyDown:k.func,country:k.string,inputFormat:k.oneOf(["INTERNATIONAL","NATIONAL_PART_OF_INTERNATIONAL","NATIONAL","INTERNATIONAL_OR_NATIONAL"]).isRequired,metadata:k.object,inputComponent:k.elementType},t}const d3=a3();function Co(e,t,n,r){return Ur(qc(e+t,n,r),e)}function o3(e){return Oo(e[0])+Oo(e[1])}function Oo(e){return String.fromCodePoint(127462-65+e.toUpperCase().charCodeAt(0))}var u3=["value","onChange","options","disabled","readOnly"],l3=["value","options","className","iconComponent","getIconAspectRatio","arrowComponent","unicodeFlags"];function s3(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=c3(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
72
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function c3(e,t){if(e){if(typeof e=="string")return xo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xo(e,t)}}function xo(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function In(){return In=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},In.apply(this,arguments)}function So(e,t){if(e==null)return{};var n=f3(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function f3(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function Po(e){var t=e.value,n=e.onChange,r=e.options,i=e.disabled,a=e.readOnly,d=So(e,u3),o=f.useCallback(function(u){var s=u.target.value;n(s==="ZZ"?void 0:s)},[n]);return f.useMemo(function(){return No(r,t)},[r,t]),f.createElement("select",In({},d,{disabled:i||a,readOnly:a,value:t||"ZZ",onChange:o}),r.map(function(u){var s=u.value,m=u.label,b=u.divider;return f.createElement("option",{key:b?"|":s||"ZZ",value:b?"|":s||"ZZ",disabled:!!b,style:b?p3:void 0},m)}))}Po.propTypes={value:k.string,onChange:k.func.isRequired,options:k.arrayOf(k.shape({value:k.string,label:k.string,divider:k.bool})).isRequired,disabled:k.bool,readOnly:k.bool};var p3={fontSize:"1px",backgroundColor:"currentColor",color:"inherit"};function Eo(e){var t=e.value,n=e.options,r=e.className,i=e.iconComponent;e.getIconAspectRatio;var a=e.arrowComponent,d=a===void 0?v3:a,o=e.unicodeFlags,u=So(e,l3),s=f.useMemo(function(){return No(n,t)},[n,t]);return f.createElement("div",{className:"PhoneInputCountry"},f.createElement(Po,In({},u,{value:t,options:n,className:yn("PhoneInputCountrySelect",r)})),s&&(o&&t?f.createElement("div",{className:"PhoneInputCountryIconUnicode"},o3(t)):f.createElement(i,{"aria-hidden":!0,country:t,label:s.label,aspectRatio:o?1:void 0})),f.createElement(d,null))}Eo.propTypes={iconComponent:k.elementType,arrowComponent:k.elementType,unicodeFlags:k.bool};function v3(){return f.createElement("div",{className:"PhoneInputCountrySelectArrow"})}function No(e,t){for(var n=s3(e),r;!(r=n()).done;){var i=r.value;if(!i.divider&&h3(i.value,t))return i}}function h3(e,t){return e==null?t==null:e===t}var m3=["country","countryName","flags","flagUrl"];function Hr(){return Hr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Hr.apply(this,arguments)}function $3(e,t){if(e==null)return{};var n=b3(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function b3(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function qr(e){var t=e.country,n=e.countryName,r=e.flags,i=e.flagUrl,a=$3(e,m3);return r&&r[t]?r[t]({title:n}):f.createElement("img",Hr({},a,{alt:n,role:n?void 0:"presentation",src:i.replace("{XX}",t).replace("{xx}",t.toLowerCase())}))}qr.propTypes={country:k.string.isRequired,countryName:k.string.isRequired,flags:k.objectOf(k.elementType),flagUrl:k.string.isRequired};var g3=["aspectRatio"],y3=["title"],w3=["title"];function _n(){return _n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_n.apply(this,arguments)}function Kr(e,t){if(e==null)return{};var n=C3(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function C3(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function An(e){var t=e.aspectRatio,n=Kr(e,g3);return t===1?f.createElement(Io,n):f.createElement(To,n)}An.propTypes={title:k.string.isRequired,aspectRatio:k.number};function To(e){var t=e.title,n=Kr(e,y3);return f.createElement("svg",_n({},n,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 75 50"}),f.createElement("title",null,t),f.createElement("g",{className:"PhoneInputInternationalIconGlobe",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeMiterlimit:"10"},f.createElement("path",{strokeLinecap:"round",d:"M47.2,36.1C48.1,36,49,36,50,36c7.4,0,14,1.7,18.5,4.3"}),f.createElement("path",{d:"M68.6,9.6C64.2,12.3,57.5,14,50,14c-7.4,0-14-1.7-18.5-4.3"}),f.createElement("line",{x1:"26",y1:"25",x2:"74",y2:"25"}),f.createElement("line",{x1:"50",y1:"1",x2:"50",y2:"49"}),f.createElement("path",{strokeLinecap:"round",d:"M46.3,48.7c1.2,0.2,2.5,0.3,3.7,0.3c13.3,0,24-10.7,24-24S63.3,1,50,1S26,11.7,26,25c0,2,0.3,3.9,0.7,5.8"}),f.createElement("path",{strokeLinecap:"round",d:"M46.8,48.2c1,0.6,2.1,0.8,3.2,0.8c6.6,0,12-10.7,12-24S56.6,1,50,1S38,11.7,38,25c0,1.4,0.1,2.7,0.2,4c0,0.1,0,0.2,0,0.2"})),f.createElement("path",{className:"PhoneInputInternationalIconPhone",stroke:"none",fill:"currentColor",d:"M12.4,17.9c2.9-2.9,5.4-4.8,0.3-11.2S4.1,5.2,1.3,8.1C-2,11.4,1.1,23.5,13.1,35.6s24.3,15.2,27.5,11.9c2.8-2.8,7.8-6.3,1.4-11.5s-8.3-2.6-11.2,0.3c-2,2-7.2-2.2-11.7-6.7S10.4,19.9,12.4,17.9z"}))}To.propTypes={title:k.string.isRequired};function Io(e){var t=e.title,n=Kr(e,w3);return f.createElement("svg",_n({},n,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"}),f.createElement("title",null,t),f.createElement("g",{className:"PhoneInputInternationalIconGlobe",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeLinecap:"round"},f.createElement("path",{d:"M8.45,13A21.44,21.44,0,1,1,37.08,41.56"}),f.createElement("path",{d:"M19.36,35.47a36.9,36.9,0,0,1-2.28-13.24C17.08,10.39,21.88.85,27.8.85s10.72,9.54,10.72,21.38c0,6.48-1.44,12.28-3.71,16.21"}),f.createElement("path",{d:"M17.41,33.4A39,39,0,0,1,27.8,32.06c6.62,0,12.55,1.5,16.48,3.86"}),f.createElement("path",{d:"M44.29,8.53c-3.93,2.37-9.86,3.88-16.49,3.88S15.25,10.9,11.31,8.54"}),f.createElement("line",{x1:"27.8",y1:"0.85",x2:"27.8",y2:"34.61"}),f.createElement("line",{x1:"15.2",y1:"22.23",x2:"49.15",y2:"22.23"})),f.createElement("path",{className:"PhoneInputInternationalIconPhone",stroke:"transparent",fill:"currentColor",d:"M9.42,26.64c2.22-2.22,4.15-3.59.22-8.49S3.08,17,.93,19.17c-2.49,2.48-.13,11.74,9,20.89s18.41,11.5,20.89,9c2.15-2.15,5.91-4.77,1-8.71s-6.27-2-8.49.22c-1.55,1.55-5.48-1.69-8.86-5.08S7.87,28.19,9.42,26.64Z"}))}Io.propTypes={title:k.string.isRequired};function O3(e){if(e.length<2||e[0]!=="+")return!1;for(var t=1;t<e.length;){var n=e.charCodeAt(t);if(!(n>=48&&n<=57))return!1;t++}return!0}function _o(e){O3(e)||console.error("[react-phone-number-input] Expected the initial `value` to be a E.164 phone number. Got",e)}function x3(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=S3(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
73
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function S3(e,t){if(e){if(typeof e=="string")return Ao(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ao(e,t)}}function Ao(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function P3(e,t){if(!t)return e;for(var n=[],r=[],i=n,a=function(){var s=o.value;if(s==="|")i.push({divider:!0});else if(s==="..."||s==="…")i=r;else{var m;s==="🌐"?m=void 0:m=s;var b=e.indexOf(e.filter(function(v){return v.value===m})[0]),l=e[b];e.splice(b,1),i.push(l)}},d=x3(t),o;!(o=d()).done;)a();return n.concat(e).concat(r)}function E3(e,t){if(e&&(e=e.filter(function(n){switch(n){case"🌐":case"|":case"...":case"…":return!0;default:return kn(n,t)}}),e.length>0))return e}function kn(e,t){return fd(e,t)?!0:(console.error("Country not found: ".concat(e)),!1)}function ko(e,t){return e&&(e=e.filter(function(n){return kn(n,t)}),e.length===0&&(e=void 0)),e}var N3=["country","label","aspectRatio"];function Yr(){return Yr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Yr.apply(this,arguments)}function T3(e,t){if(e==null)return{};var n=I3(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function I3(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function Fo(e){var t=e.flags,n=e.flagUrl,r=e.flagComponent,i=e.internationalIcon;function a(d){var o=d.country,u=d.label,s=d.aspectRatio,m=T3(d,N3),b=i===An?s:void 0;return f.createElement("div",Yr({},m,{className:yn("PhoneInputCountryIcon",{"PhoneInputCountryIcon--square":b===1,"PhoneInputCountryIcon--border":o})}),o?f.createElement(r,{country:o,countryName:u,flags:t,flagUrl:n,className:"PhoneInputCountryIconImg"}):f.createElement(i,{title:u,aspectRatio:b,className:"PhoneInputCountryIconImg"}))}return a.propTypes={country:k.string,label:k.string.isRequired,aspectRatio:k.number},a}Fo({flagUrl:"https://purecatamphetamine.github.io/country-flag-icons/3x2/{XX}.svg",flagComponent:qr,internationalIcon:An});function _3(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=A3(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
74
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function A3(e,t){if(e){if(typeof e=="string")return jo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return jo(e,t)}}function jo(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function k3(e,t){for(var n=_3(e),r;!(r=n()).done;){var i=r.value;i&&F3(i,t)}}function F3(e,t){typeof e=="function"?e(t):e.current=t}var Ro=k.shape({country_calling_codes:k.object.isRequired,countries:k.object.isRequired}),Lo=k.objectOf(k.string);function vt(e,t){var n="+"+ct(e,t);return n}function j3(e){var t=e.value,n=e.phoneNumber,r=e.defaultCountry,i=e.getAnyCountry,a=e.countries,d=e.required,o=e.metadata,u;return n&&n.country?u=n.country:r&&(!t||Ft(t,r,o))&&(u=r),a&&a.indexOf(u)<0&&(u=void 0),!u&&d&&a&&a.length>0&&(u=i()),u}function R3(e){var t=e.countries,n=e.countryNames,r=e.addInternationalOption,i=e.compareStringsLocales,a=e.compareStrings;a||(a=V3);var d=t.map(function(o){return{value:o,label:n[o]||o}});return d.sort(function(o,u){return a(o.label,u.label,i)}),r&&d.unshift({label:n.ZZ}),d}function Do(e,t){return G2(e||"",t)}function L3(e){return e.formatNational().replace(/\D/g,"")}function D3(e,t){var n=t.prevCountry,r=t.newCountry,i=t.metadata,a=t.useNationalFormat;if(n===r)return e;if(!e)return a?"":r?vt(r,i):"";if(r){if(e[0]==="+"){if(a)return e.indexOf("+"+ct(r,i))===0?G3(e,r,i):"";if(n){var d=vt(r,i);return e.indexOf(d)===0?e:d}else{var o=vt(r,i);return e.indexOf(o)===0?e:o}}}else if(e[0]!=="+")return kt(e,n,i)||"";return e}function kt(e,t,n){if(e){if(e[0]==="+"){if(e==="+")return;var r=new At(t,n);return r.input(e),r.getNumberValue()}if(t){var i=Wo(e,t,n);return"+".concat(ct(t,n)).concat(i||"")}}}function M3(e,t,n){var r=Wo(e,t,n);if(r){var i=r.length-B3(t,n);if(i>0)return e.slice(0,e.length-i)}return e}function B3(e,t){return t=new Ne(t),t.selectNumberingPlan(e),t.numberingPlan.possibleLengths()[t.numberingPlan.possibleLengths().length-1]}function Mo(e,t){var n=t.country,r=t.countries,i=t.defaultCountry,a=t.latestCountrySelectedByUser,d=t.required,o=t.metadata;if(e==="+")return n;var u=U3(e,o);if(u)return!r||r.indexOf(u)>=0?u:void 0;if(n){if(Ft(e,n,o)){if(a&&Ft(e,a,o))return a;if(i&&Ft(e,i,o))return i;if(!d)return}else if(!d)return}return n}function W3(e,t){var n=t.prevPhoneDigits,r=t.country,i=t.defaultCountry,a=t.latestCountrySelectedByUser,d=t.countryRequired,o=t.getAnyCountry,u=t.countries,s=t.international,m=t.limitMaxLength,b=t.countryCallingCodeEditable,l=t.metadata;if(s&&b===!1&&r){var v=vt(r,l);if(e.indexOf(v)!==0){var c,h=e&&e[0]!=="+";return h?(e=v+e,c=kt(e,r,l)):e=v,{phoneDigits:e,value:c,country:r}}}s===!1&&r&&e&&e[0]==="+"&&(e=Bo(e,r,l)),e&&r&&m&&(e=M3(e,r,l)),e&&e[0]!=="+"&&(!r||s)&&(e="+"+e),!e&&n&&n[0]==="+"&&(s?r=void 0:r=i),e==="+"&&n&&n[0]==="+"&&n.length>1&&(r=void 0);var p;return e&&(e[0]==="+"&&(e==="+"||r&&vt(r,l).indexOf(e)===0)?p=void 0:p=kt(e,r,l)),p&&(r=Mo(p,{country:r,countries:u,defaultCountry:i,latestCountrySelectedByUser:a,required:!1,metadata:l}),s===!1&&r&&e&&e[0]==="+"&&(e=Bo(e,r,l),p=kt(e,r,l))),!r&&d&&(r=i||o()),{phoneDigits:e,country:r,value:p}}function Bo(e,t,n){if(e.indexOf(vt(t,n))===0){var r=new At(t,n);r.input(e);var i=r.getNumber();return i?i.formatNational().replace(/\D/g,""):""}else return e.replace(/\D/g,"")}function U3(e,t){var n=new At(null,t);return n.input(e),n.getCountry()}function V3(e,t,n){return String.prototype.localeCompare?e.localeCompare(t,n):e<t?-1:e>t?1:0}function G3(e,t,n){if(t){var r="+"+ct(t,n);if(e.length<r.length){if(r.indexOf(e)===0)return""}else if(e.indexOf(r)===0)return e.slice(r.length)}for(var i=0,a=Object.keys(n.country_calling_codes);i<a.length;i++){var d=a[i];if(e.indexOf(d)===1)return e.slice(1+d.length)}return""}function Wo(e,t,n){var r=new At(t,n);r.input(e);var i=r.getNumber();return i&&i.nationalNumber}function Ft(e,t,n){for(var r=vt(t,n),i=0;i<e.length&&i<r.length;){if(e[i]!==r[i])return!1;i++}return!0}function Uo(e){var t=e.value,n=e.phoneNumber,r=e.defaultCountry,i=e.international,a=e.useNationalFormat,d=e.metadata;return(i===!1||a)&&n&&n.country?L3(n):!t&&i&&r?vt(r,d):t}function en(e){"@babel/helpers - typeof";return en=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},en(e)}function Vo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Fn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Vo(Object(n),!0).forEach(function(r){H3(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vo(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function H3(e,t,n){return t=q3(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function q3(e){var t=K3(e,"string");return en(t)=="symbol"?t:t+""}function K3(e,t){if(en(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(en(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Y3(e,t,n){var r=e.metadata,i=e.countries,a=e.defaultCountry,d=e.value,o=e.reset,u=e.international,s=e.displayInitialValueAsLocalNumber,m=e.initialValueFormat,b=t.defaultCountry,l=t.value,v=t.reset;n.country;var c=n.value,h=n.hasUserSelectedACountry,p=n.latestCountrySelectedByUser,g=function(te){return Uo(Fn(Fn({},te),{},{international:u,useNationalFormat:s||m==="national",metadata:r}))};if(o!==v)return{phoneDigits:g({value:void 0,defaultCountry:a}),value:void 0,country:a,latestCountrySelectedByUser:void 0,hasUserSelectedACountry:void 0};if(a!==b){var E=!a||kn(a,r),C=!c||u&&c===g({value:void 0,defaultCountry:b}),O=!d&&C;if(!h&&E&&O)return{country:a,phoneDigits:g({value:void 0,defaultCountry:a}),value:void 0}}if(!Go(d,l)&&!Go(d,c)){var w,P;if(d){d&&_o(d),w=Do(d,r);var W=ko(i,r);w&&w.country?(!W||W.indexOf(w.country)>=0)&&(P=w.country):(P=Mo(d,{country:void 0,countries:W,metadata:r}),P||a&&d.indexOf(vt(a,r))===0&&(P=a))}var _;if(d){if(p){var I=P?p===P:Ft(d,p,r);I?P||(P=p):_={latestCountrySelectedByUser:void 0}}}else _={latestCountrySelectedByUser:void 0,hasUserSelectedACountry:void 0};return Fn(Fn({},_),{},{phoneDigits:g({phoneNumber:w,value:d,defaultCountry:a}),value:d,country:d?P:a})}}function Go(e,t){return e===null&&(e=void 0),t===null&&(t=void 0),e===t}var z3=["name","disabled","readOnly","autoComplete","style","className","inputRef","inputComponent","numberInputProps","smartCaret","countrySelectComponent","countrySelectProps","containerComponent","containerComponentProps","defaultCountry","countries","countryOptionsOrder","labels","flags","flagComponent","flagUrl","addInternationalOption","internationalIcon","displayInitialValueAsLocalNumber","initialValueFormat","onCountryChange","limitMaxLength","countryCallingCodeEditable","focusInputOnCountrySelection","reset","metadata","international","locales"];function jt(e){"@babel/helpers - typeof";return jt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},jt(e)}function Ho(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function qo(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ho(Object(n),!0).forEach(function(r){tt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ho(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Rt(){return Rt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Rt.apply(this,arguments)}function Z3(e,t){if(e==null)return{};var n=X3(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function X3(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function J3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ko(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,zo(r.key),r)}}function Q3(e,t,n){return t&&Ko(e.prototype,t),n&&Ko(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function e9(e,t,n){return t=jn(t),t9(e,Yo()?Reflect.construct(t,n||[],jn(e).constructor):t.apply(e,n))}function t9(e,t){if(t&&(jt(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return n9(e)}function n9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yo(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Yo=function(){return!!e})()}function jn(e){return jn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},jn(e)}function r9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&zr(e,t)}function zr(e,t){return zr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},zr(e,t)}function tt(e,t,n){return t=zo(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zo(e){var t=i9(e,"string");return jt(t)=="symbol"?t:t+""}function i9(e,t){if(jt(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(jt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var a9=function(e){function t(n){var r;J3(this,t),r=e9(this,t,[n]),tt(r,"setInputRef",function(p){k3([r.props.inputRef,r.inputRef],p)}),tt(r,"isCountrySupportedWithError",function(p){var g=r.props.metadata;return kn(p,g)}),tt(r,"onCountryChange",function(p){var g=r.props,E=g.international,C=g.metadata,O=g.onChange,w=g.focusInputOnCountrySelection,P=r.state,W=P.phoneDigits,_=P.country,I=D3(W,{prevCountry:_,newCountry:p,metadata:C,useNationalFormat:!E}),q=kt(I,p,C);w&&r.inputRef.current.focus(),r.setState({country:p,latestCountrySelectedByUser:p,hasUserSelectedACountry:!0,phoneDigits:I,value:q},function(){O(q)})}),tt(r,"onChange",function(p){var g=r.props,E=g.defaultCountry,C=g.onChange,O=g.addInternationalOption,w=g.international,P=g.limitMaxLength,W=g.countryCallingCodeEditable,_=g.metadata,I=r.state,q=I.countries,te=I.phoneDigits,re=I.country,N=I.latestCountrySelectedByUser,z=W3(p,{prevPhoneDigits:te,country:re,countryRequired:!O,defaultCountry:E,latestCountrySelectedByUser:N,getAnyCountry:function(){return r.getFirstSupportedCountry({countries:q})},countries:q,international:w,limitMaxLength:P,countryCallingCodeEditable:W,metadata:_}),ie=z.phoneDigits,ae=z.country,G=z.value,se={phoneDigits:ie,value:G,country:ae};N&&G&&!Ft(G,N,_)&&(se.latestCountrySelectedByUser=void 0),W===!1&&!G&&ie===r.state.phoneDigits&&(se.forceRerender={}),r.setState(se,function(){return C(G)})}),tt(r,"_onFocus",function(){return r.setState({isFocused:!0})}),tt(r,"_onBlur",function(){return r.setState({isFocused:!1})}),tt(r,"onFocus",function(p){r._onFocus();var g=r.props.onFocus;g&&g(p)}),tt(r,"onBlur",function(p){var g=r.props.onBlur;r._onBlur(),g&&g(p)}),tt(r,"onCountryFocus",function(p){r._onFocus();var g=r.props.countrySelectProps;if(g){var E=g.onFocus;E&&E(p)}}),tt(r,"onCountryBlur",function(p){r._onBlur();var g=r.props.countrySelectProps;if(g){var E=g.onBlur;E&&E(p)}}),r.inputRef=f.createRef();var i=r.props,a=i.value;i.labels;var d=i.international,o=i.addInternationalOption,u=i.displayInitialValueAsLocalNumber,s=i.initialValueFormat,m=i.metadata,b=r.props,l=b.defaultCountry,v=b.countries;l&&(r.isCountrySupportedWithError(l)||(l=void 0)),a&&_o(a),v=ko(v,m);var c=Do(a,m);r.CountryIcon=Fo(r.props);var h=j3({value:a,phoneNumber:c,defaultCountry:l,required:!o,countries:v||Wr(m),getAnyCountry:function(){return r.getFirstSupportedCountry({countries:v})},metadata:m});return r.state={props:r.props,country:h,countries:v,phoneDigits:Uo({value:a,phoneNumber:c,defaultCountry:l,international:d,useNationalFormat:u||s==="national",metadata:m}),value:a},r}return r9(t,e),Q3(t,[{key:"componentDidMount",value:function(){var r=this.props.onCountryChange,i=this.props.defaultCountry,a=this.state.country;r&&(i&&(this.isCountrySupportedWithError(i)||(i=void 0)),a!==i&&r(a))}},{key:"componentDidUpdate",value:function(r,i){var a=this.props.onCountryChange,d=this.state.country;a&&d!==i.country&&a(d)}},{key:"getCountrySelectOptions",value:function(r){var i=r.countries,a=this.props,d=a.international,o=a.countryCallingCodeEditable,u=a.countryOptionsOrder,s=a.addInternationalOption,m=a.labels,b=a.locales,l=a.metadata;return this.useMemoCountrySelectOptions(function(){return P3(R3({countries:i||Wr(l),countryNames:m,addInternationalOption:d&&o===!1?!1:s,compareStringsLocales:b}),E3(u,l))},[i,u,s,m,l])}},{key:"useMemoCountrySelectOptions",value:function(r,i){return(!this.countrySelectOptionsMemoDependencies||!u9(i,this.countrySelectOptionsMemoDependencies))&&(this.countrySelectOptionsMemo=r(),this.countrySelectOptionsMemoDependencies=i),this.countrySelectOptionsMemo}},{key:"getFirstSupportedCountry",value:function(r){var i=r.countries,a=this.getCountrySelectOptions({countries:i});return a[0].value}},{key:"render",value:function(){var r=this.props,i=r.name,a=r.disabled,d=r.readOnly,o=r.autoComplete,u=r.style,s=r.className;r.inputRef;var m=r.inputComponent,b=r.numberInputProps,l=r.smartCaret,v=r.countrySelectComponent,c=r.countrySelectProps,h=r.containerComponent,p=r.containerComponentProps;r.defaultCountry,r.countries,r.countryOptionsOrder;var g=r.labels;r.flags,r.flagComponent,r.flagUrl,r.addInternationalOption,r.internationalIcon,r.displayInitialValueAsLocalNumber,r.initialValueFormat,r.onCountryChange,r.limitMaxLength,r.countryCallingCodeEditable,r.focusInputOnCountrySelection,r.reset;var E=r.metadata,C=r.international;r.locales;var O=Z3(r,z3),w=this.state,P=w.country,W=w.countries,_=w.phoneDigits,I=w.isFocused,q=l?t3:d3,te=this.getCountrySelectOptions({countries:W});return f.createElement(h,Rt({style:u,className:yn(s,"PhoneInput",{"PhoneInput--focus":I,"PhoneInput--disabled":a,"PhoneInput--readOnly":d})},p),f.createElement(v,Rt({name:i?"".concat(i,"Country"):void 0,"aria-label":g.country},c,{value:P,options:te,onChange:this.onCountryChange,onFocus:this.onCountryFocus,onBlur:this.onCountryBlur,disabled:a||c&&c.disabled,readOnly:d||c&&c.readOnly,iconComponent:this.CountryIcon})),f.createElement(q,Rt({ref:this.setInputRef,type:"tel",autoComplete:o},b,O,{inputFormat:C===!0?"INTERNATIONAL":C===!1?"NATIONAL":"INTERNATIONAL_OR_NATIONAL",international:C?!0:void 0,withCountryCallingCode:C?!0:void 0,name:i,metadata:E,country:P,value:_||"",onChange:this.onChange,onFocus:this.onFocus,onBlur:this.onBlur,disabled:a,readOnly:d,inputComponent:m,className:yn("PhoneInputInput",b&&b.className,O.className)})))}}],[{key:"getDerivedStateFromProps",value:function(r,i){return qo({props:r},Y3(r,i.props,i))}}])}(f.PureComponent),Zo=f.forwardRef(function(e,t){return f.createElement(a9,Rt({},d9(e),{inputRef:t}))});Zo.propTypes={value:k.string,onChange:k.func.isRequired,onFocus:k.func,onBlur:k.func,disabled:k.bool,readOnly:k.bool,autoComplete:k.string,initialValueFormat:k.oneOf(["national"]),displayInitialValueAsLocalNumber:k.bool,defaultCountry:k.string,countries:k.arrayOf(k.string),labels:Lo,locales:k.oneOfType([k.string,k.arrayOf(k.string)]),flagUrl:k.string,flags:k.objectOf(k.elementType),flagComponent:k.elementType,addInternationalOption:k.bool,internationalIcon:k.elementType,countryOptionsOrder:k.arrayOf(k.string),style:k.object,className:k.string,countrySelectComponent:k.elementType,countrySelectProps:k.object,inputComponent:k.elementType,numberInputProps:k.object,containerComponent:k.elementType,containerComponentProps:k.object,smartCaret:k.bool,international:k.bool,limitMaxLength:k.bool,countryCallingCodeEditable:k.bool,metadata:Ro,onCountryChange:k.func,focusInputOnCountrySelection:k.bool};var Xo={autoComplete:"tel",countrySelectComponent:Eo,flagComponent:qr,flagUrl:"https://purecatamphetamine.github.io/country-flag-icons/3x2/{XX}.svg",internationalIcon:An,inputComponent:"input",containerComponent:"div",reset:k.any,smartCaret:!0,addInternationalOption:!0,countryCallingCodeEditable:!0,focusInputOnCountrySelection:!0};function d9(e){e=qo({},e);for(var t in Xo)e[t]===void 0&&(e[t]=Xo[t]);return e}const o9=Zo;function u9(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;){if(e[n]!==t[n])return!1;n++}return!0}const Lt={ext:"ext.",country:"Phone number country",phone:"Phone",AB:"Abkhazia",AC:"Ascension Island",AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AG:"Antigua and Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AQ:"Antarctica",AR:"Argentina",AS:"American Samoa",AT:"Austria",AU:"Australia",AW:"Aruba",AX:"Åland Islands",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"Saint Barthélemy",BM:"Bermuda",BN:"Brunei Darussalam",BO:"Bolivia",BQ:"Bonaire, Sint Eustatius and Saba",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BV:"Bouvet Island",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CC:"Cocos (Keeling) Islands",CD:"Congo, Democratic Republic of the",CF:"Central African Republic",CG:"Congo",CH:"Switzerland",CI:"Cote d'Ivoire",CK:"Cook Islands",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CW:"Curaçao",CX:"Christmas Island",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DJ:"Djibouti",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",EH:"Western Sahara",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FM:"Federated States of Micronesia",FO:"Faroe Islands",FR:"France",GA:"Gabon",GB:"United Kingdom",GD:"Grenada",GE:"Georgia",GF:"French Guiana",GG:"Guernsey",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe",GQ:"Equatorial Guinea",GR:"Greece",GS:"South Georgia and the South Sandwich Islands",GT:"Guatemala",GU:"Guam",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong",HM:"Heard Island and McDonald Islands",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IM:"Isle of Man",IN:"India",IO:"British Indian Ocean Territory",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JE:"Jersey",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KI:"Kiribati",KM:"Comoros",KN:"Saint Kitts and Nevis",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"Saint Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MF:"Saint Martin (French Part)",MG:"Madagascar",MH:"Marshall Islands",MK:"North Macedonia",ML:"Mali",MM:"Myanmar",MN:"Mongolia",MO:"Macao",MP:"Northern Mariana Islands",MQ:"Martinique",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldives",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NF:"Norfolk Island",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"New Zealand",OM:"Oman",OS:"South Ossetia",PA:"Panama",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PM:"Saint Pierre and Miquelon",PN:"Pitcairn",PR:"Puerto Rico",PS:"Palestine",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Qatar",RE:"Reunion",RO:"Romania",RS:"Serbia",RU:"Russia",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"Saint Helena",SI:"Slovenia",SJ:"Svalbard and Jan Mayen",SK:"Slovakia",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Suriname",SS:"South Sudan",ST:"Sao Tome and Principe",SV:"El Salvador",SX:"Sint Maarten",SY:"Syria",SZ:"Swaziland",TA:"Tristan da Cunha",TC:"Turks and Caicos Islands",TD:"Chad",TF:"French Southern Territories",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TK:"Tokelau",TL:"Timor-Leste",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Turkey",TT:"Trinidad and Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",UM:"United States Minor Outlying Islands",US:"United States",UY:"Uruguay",UZ:"Uzbekistan",VA:"Holy See (Vatican City State)",VC:"Saint Vincent and the Grenadines",VE:"Venezuela",VG:"Virgin Islands, British",VI:"Virgin Islands, U.S.",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis and Futuna",WS:"Samoa",XK:"Kosovo",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe",ZZ:"International"};var l9=["metadata","labels"];function Zr(){return Zr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Zr.apply(this,arguments)}function s9(e,t){if(e==null)return{};var n=c9(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function c9(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function Jo(e){var t=f.forwardRef(function(n,r){var i=n.metadata,a=i===void 0?e:i,d=n.labels,o=d===void 0?Lt:d,u=s9(n,l9);return f.createElement(o9,Zr({},u,{ref:r,metadata:a,labels:o}))});return t.propTypes={metadata:Ro,labels:Lo},t}Jo();function Xr(e,t){var n=Array.prototype.slice.call(t);return n.push(Ba),e.apply(this,n)}Jo(Ba);function f9(){return Xr(q2,arguments)}function p9(){return Xr(Wr,arguments)}function Jr(){return Xr(ct,arguments)}const v9=({countryShortName:e,required:t=!1,themeColor:n="",onUpdate:r,placeholder:i="",error:a=!1,validate:d=!0,id:o="",phoneNumberValue:u="",countryCodeFromURL:s=""})=>{const[m,b]=f.useState(a),l="US",v=f.useRef(e&&e!=="001"?e:l);f.useEffect(()=>{if(s){const _=g(s);_&&(C(_),v.current=s)}},[s]);const c=(_,I)=>JSON.stringify(_)===JSON.stringify(I),h=(_,I)=>Lt[_]<Lt[I]?-1:Lt[_]>Lt[I]?1:0,p=p9().sort(h).map(_=>({label:_+" +"+Jr(_),value:_})),g=_=>p.find(I=>I.value==_),[E,C]=f.useState(()=>{const _=g(v.current);return _||null}),O=_=>{v.current=_;const I=g(_);C(I),W(w.current)},w=f.useRef(u??""),P=_=>{const I=_.trim();if(I&&v.current){if(/^(\d)\1*$/.test(_.trim()))return!1;const re=`+${Jr(v.current)}${I}`;return f9(re)}return!0},W=_=>{if(!d){const te={phoneNumber:_,countryCode:v.current,error:void 0,id:o};r(te)}_=_.trim();const I=_?P(_)?void 0:"invalid":t?"required":void 0;b(!(!m&&I!==void 0));const q={phoneNumber:_,countryCode:v.current,error:I,id:o};r(q)};return T.jsx(T.Fragment,{children:T.jsxs("div",{className:wt.phoneWrapper,"data-testid":"phone-wrapper",children:[T.jsx("div",{className:wt.countryCode,children:T.jsx(ja,{selected:E,onSelect:O,"data-testid":"phone-select",themeColor:n,children:T.jsx("div",{className:wt.phonNumberList,children:T.jsx(Ra,{setQuery:()=>{},"data-testid":"phone-select-options",children:p.map(_=>T.jsx(pr,{disable:!1,value:_.value,className:({active:I})=>`${I||c(E,_)?wt.active:""}`,"data-testid":`phone-select-option-${_.value}`,children:T.jsx("div",{className:wt.countryListText,children:T.jsxs("span",{children:[Lt[_.value]," +",Jr(_.value)]})})},_.value))})})})}),T.jsx("div",{className:wt.phoneInputWrap,children:T.jsx(Ma,{type:"text","aria-labelledby":"phone-number",placeholder:i,className:`${wt.phoneInput} ${m&&d?wt.serverError:""}`,id:o,value:u??"",onBlur:_=>{w.current=_.target.value.trim()},onChange:_=>{w.current=_.target.value,W(w.current)},"data-testid":"phone-input",themeColor:n})})]})})};we.AutoComplete=vs,we.AutoCompleteOption=La,we.AutoCompleteOptions=hs,we.Button=Bn,we.Checkbox=Wn,we.ColorsService=Ze,we.MultiLineInput=Iu,we.MultiSelect=_u,we.Phone=v9,we.QuickMultiSelect=Au,we.QuickSelect=ku,we.Scrollbar=la,we.Select=ja,we.SelectOption=pr,we.SelectOptions=Ra,we.SingleLineInput=Ma,Object.defineProperty(we,Symbol.toStringTag,{value:"Module"})});
|
|
36
|
+
`))}else{let f=m.props,d=f?.className,u=typeof d=="function"?(...y)=>Zn(d(...y),a.className):Zn(d,a.className),p=u?{className:u}:{},v=ii(m.props,ut(er(a,["ref"])));for(let y in b)y in v&&delete b[y];return c.cloneElement(m,Object.assign({},v,b,h,{ref:o($a(m),h.ref)},p))}return c.createElement(i,Object.assign({},er(a,["ref"]),i!==c.Fragment&&h,i!==c.Fragment&&b),m)}function Ua(){let e=c.useRef([]),t=c.useCallback(n=>{for(let r of e.current)r!=null&&(typeof r=="function"?r(n):r.current=n)},[]);return(...n)=>{if(!n.every(r=>r==null))return e.current=n,t}}function za(...e){return e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}function ii(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let o in r)o.startsWith("on")&&typeof r[o]=="function"?(n[o]!=null||(n[o]=[]),n[o].push(r[o])):t[o]=r[o];if(t.disabled||t["aria-disabled"])for(let r in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(r)&&(n[r]=[o=>{var i;return(i=o?.preventDefault)==null?void 0:i.call(o)}]);for(let r in n)Object.assign(t,{[r](o,...i){let l=n[r];for(let s of l){if((o instanceof Event||o?.nativeEvent instanceof Event)&&o.defaultPrevented)return;s(o,...i)}}});return t}function Vt(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let o in r)o.startsWith("on")&&typeof r[o]=="function"?(n[o]!=null||(n[o]=[]),n[o].push(r[o])):t[o]=r[o];for(let r in n)Object.assign(t,{[r](...o){let i=n[r];for(let l of i)l?.(...o)}});return t}function ye(e){var t;return Object.assign(c.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function ut(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function er(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function $a(e){return c.version.split(".")[0]>="19"?e.props.ref:e.ref}function si(e,t,n){let[r,o]=c.useState(n),i=e!==void 0,l=c.useRef(i),s=c.useRef(!1),a=c.useRef(!1);return i&&!l.current&&!s.current?(s.current=!0,l.current=i,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.")):!i&&l.current&&!a.current&&(a.current=!0,l.current=i,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.")),[i?e:r,A(h=>(i||o(h),t?.(h)))]}function li(e){let[t]=c.useState(e);return t}function ai(e={},t=null,n=[]){for(let[r,o]of Object.entries(e))ci(n,ui(t,r),o);return n}function ui(e,t){return e?e+"["+t+"]":t}function ci(e,t,n){if(Array.isArray(n))for(let[r,o]of n.entries())ci(e,ui(t,r.toString()),o);else n instanceof Date?e.push([t,n.toISOString()]):typeof n=="boolean"?e.push([t,n?"1":"0"]):typeof n=="string"?e.push([t,n]):typeof n=="number"?e.push([t,`${n}`]):n==null?e.push([t,""]):ai(n,t,e)}function qa(e){var t,n;let r=(t=e?.form)!=null?t:e.closest("form");if(r){for(let o of r.elements)if(o!==e&&(o.tagName==="INPUT"&&o.type==="submit"||o.tagName==="BUTTON"&&o.type==="submit"||o.nodeName==="INPUT"&&o.type==="image")){o.click();return}(n=r.requestSubmit)==null||n.call(r)}}let Ya="span";var tr=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(tr||{});function Ka(e,t){var n;let{features:r=1,...o}=e,i={ref:t,"aria-hidden":(r&2)===2?!0:(n=o["aria-hidden"])!=null?n:void 0,hidden:(r&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(r&4)===4&&(r&2)!==2&&{display:"none"}}};return Ee()({ourProps:i,theirProps:o,slot:{},defaultTag:Ya,name:"Hidden"})}let di=ye(Ka),Ga=c.createContext(null);function Xa({children:e}){let t=c.useContext(Ga);if(!t)return c.createElement(c.Fragment,null,e);let{target:n}=t;return n?xe.createPortal(c.createElement(c.Fragment,null,e),n):null}function fi({data:e,form:t,disabled:n,onReset:r,overrides:o}){let[i,l]=c.useState(null),s=lt();return c.useEffect(()=>{if(r&&i)return s.addEventListener(i,"reset",r)},[i,t,r]),c.createElement(Xa,null,c.createElement(Qa,{setForm:l,formId:t}),ai(e).map(([a,h])=>c.createElement(di,{features:tr.Hidden,...ut({key:a,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:t,disabled:n,name:a,value:h,...o})})))}function Qa({setForm:e,formId:t}){return c.useEffect(()=>{if(t){let n=document.getElementById(t);n&&e(n)}},[e,t]),t?null:c.createElement(di,{features:tr.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:n=>{if(!n)return;let r=n.closest("form");r&&e(r)}})}let Ja=c.createContext(void 0);function nr(){return c.useContext(Ja)}function pi(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=t?.getAttribute("disabled")==="";return r&&Za(n)?!1:r}function Za(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}let mi=Symbol();function eu(e,t=!0){return Object.assign(e,{[mi]:t})}function Pe(...e){let t=c.useRef(e);c.useEffect(()=>{t.current=e},[e]);let n=A(r=>{for(let o of t.current)o!=null&&(typeof o=="function"?o(r):o.current=r)});return e.every(r=>r==null||r?.[mi])?void 0:n}let rr=c.createContext(null);rr.displayName="DescriptionContext";function hi(){let e=c.useContext(rr);if(e===null){let t=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,hi),t}return e}function vi(){var e,t;return(t=(e=c.useContext(rr))==null?void 0:e.value)!=null?t:void 0}let tu="p";function nu(e,t){let n=c.useId(),r=dn(),{id:o=`headlessui-description-${n}`,...i}=e,l=hi(),s=Pe(t);ue(()=>l.register(o),[o,l.register]);let a=r||!1,h=c.useMemo(()=>({...l.slot,disabled:a}),[l.slot,a]),m={ref:s,...l.props,id:o};return Ee()({ourProps:m,theirProps:i,slot:h,defaultTag:tu,name:l.name||"Description"})}let ru=ye(nu);Object.assign(ru,{});var de=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(de||{});let pn=c.createContext(null);pn.displayName="LabelContext";function bi(){let e=c.useContext(pn);if(e===null){let t=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,bi),t}return e}function Ht(e){var t,n,r;let o=(n=(t=c.useContext(pn))==null?void 0:t.value)!=null?n:void 0;return((r=e?.length)!=null?r:0)>0?[o,...e].filter(Boolean).join(" "):o}function gi({inherit:e=!1}={}){let t=Ht(),[n,r]=c.useState([]),o=e?[t,...n].filter(Boolean):n;return[o.length>0?o.join(" "):void 0,c.useMemo(()=>function(i){let l=A(a=>(r(h=>[...h,a]),()=>r(h=>{let m=h.slice(),b=m.indexOf(a);return b!==-1&&m.splice(b,1),m}))),s=c.useMemo(()=>({register:l,slot:i.slot,name:i.name,props:i.props,value:i.value}),[l,i.slot,i.name,i.props,i.value]);return c.createElement(pn.Provider,{value:s},i.children)},[r])]}let ou="label";function iu(e,t){var n;let r=c.useId(),o=bi(),i=nr(),l=dn(),{id:s=`headlessui-label-${r}`,htmlFor:a=i??((n=o.props)==null?void 0:n.htmlFor),passive:h=!1,...m}=e,b=Pe(t);ue(()=>o.register(s),[s,o.register]);let f=A(v=>{let y=v.currentTarget;if(y instanceof HTMLLabelElement&&v.preventDefault(),o.props&&"onClick"in o.props&&typeof o.props.onClick=="function"&&o.props.onClick(v),y instanceof HTMLLabelElement){let E=document.getElementById(y.htmlFor);if(E){let w=E.getAttribute("disabled");if(w==="true"||w==="")return;let x=E.getAttribute("aria-disabled");if(x==="true"||x==="")return;(E instanceof HTMLInputElement&&(E.type==="radio"||E.type==="checkbox")||E.role==="radio"||E.role==="checkbox"||E.role==="switch")&&E.click(),E.focus({preventScroll:!0})}}}),d=l||!1,u=c.useMemo(()=>({...o.slot,disabled:d}),[o.slot,d]),p={ref:b,...o.props,id:s,htmlFor:a,onClick:f};return h&&("onClick"in p&&(delete p.htmlFor,delete p.onClick),"onClick"in m&&delete m.onClick),Ee()({ourProps:p,theirProps:m,slot:u,defaultTag:a?ou:"div",name:o.name||"Label"})}let su=ye(iu),wi=Object.assign(su,{});function Tt(e,t,n){let r=n.initialDeps??[],o;function i(){var l,s,a,h;let m;n.key&&((l=n.debug)!=null&&l.call(n))&&(m=Date.now());const b=e();if(!(b.length!==r.length||b.some((u,p)=>r[p]!==u)))return o;r=b;let d;if(n.key&&((s=n.debug)!=null&&s.call(n))&&(d=Date.now()),o=t(...b),n.key&&((a=n.debug)!=null&&a.call(n))){const u=Math.round((Date.now()-m)*100)/100,p=Math.round((Date.now()-d)*100)/100,v=p/16,y=(E,w)=>{for(E=String(E);E.length<w;)E=" "+E;return E};console.info(`%c⏱ ${y(p,5)} /${y(u,5)} ms`,`
|
|
37
|
+
font-size: .6rem;
|
|
38
|
+
font-weight: bold;
|
|
39
|
+
color: hsl(${Math.max(0,Math.min(120-120*v,120))}deg 100% 31%);`,n?.key)}return(h=n?.onChange)==null||h.call(n,o),o}return i.updateDeps=l=>{r=l},i}function or(e,t){if(e===void 0)throw new Error(`Unexpected undefined${t?`: ${t}`:""}`);return e}const lu=(e,t)=>Math.abs(e-t)<1,au=(e,t,n)=>{let r;return function(...o){e.clearTimeout(r),r=e.setTimeout(()=>t.apply(this,o),n)}},uu=e=>e,cu=e=>{const t=Math.max(e.startIndex-e.overscan,0),n=Math.min(e.endIndex+e.overscan,e.count-1),r=[];for(let o=t;o<=n;o++)r.push(o);return r},du=(e,t)=>{const n=e.scrollElement;if(!n)return;const r=e.targetWindow;if(!r)return;const o=l=>{const{width:s,height:a}=l;t({width:Math.round(s),height:Math.round(a)})};if(o(n.getBoundingClientRect()),!r.ResizeObserver)return()=>{};const i=new r.ResizeObserver(l=>{const s=()=>{const a=l[0];if(a?.borderBoxSize){const h=a.borderBoxSize[0];if(h){o({width:h.inlineSize,height:h.blockSize});return}}o(n.getBoundingClientRect())};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(s):s()});return i.observe(n,{box:"border-box"}),()=>{i.unobserve(n)}},xi={passive:!0},yi=typeof window>"u"?!0:"onscrollend"in window,fu=(e,t)=>{const n=e.scrollElement;if(!n)return;const r=e.targetWindow;if(!r)return;let o=0;const i=e.options.useScrollendEvent&&yi?()=>{}:au(r,()=>{t(o,!1)},e.options.isScrollingResetDelay),l=m=>()=>{const{horizontal:b,isRtl:f}=e.options;o=b?n.scrollLeft*(f&&-1||1):n.scrollTop,i(),t(o,m)},s=l(!0),a=l(!1);a(),n.addEventListener("scroll",s,xi);const h=e.options.useScrollendEvent&&yi;return h&&n.addEventListener("scrollend",a,xi),()=>{n.removeEventListener("scroll",s),h&&n.removeEventListener("scrollend",a)}},pu=(e,t,n)=>{if(t?.borderBoxSize){const r=t.borderBoxSize[0];if(r)return Math.round(r[n.options.horizontal?"inlineSize":"blockSize"])}return Math.round(e.getBoundingClientRect()[n.options.horizontal?"width":"height"])},mu=(e,{adjustments:t=0,behavior:n},r)=>{var o,i;const l=e+t;(i=(o=r.scrollElement)==null?void 0:o.scrollTo)==null||i.call(o,{[r.options.horizontal?"left":"top"]:l,behavior:n})};class hu{constructor(t){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let n=null;const r=()=>n||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:n=new this.targetWindow.ResizeObserver(o=>{o.forEach(i=>{const l=()=>{this._measureElement(i.target,i)};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(l):l()})}));return{disconnect:()=>{var o;(o=r())==null||o.disconnect(),n=null},observe:o=>{var i;return(i=r())==null?void 0:i.observe(o,{box:"border-box"})},unobserve:o=>{var i;return(i=r())==null?void 0:i.unobserve(o)}}})(),this.range=null,this.setOptions=n=>{Object.entries(n).forEach(([r,o])=>{typeof o>"u"&&delete n[r]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:uu,rangeExtractor:cu,onChange:()=>{},measureElement:pu,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,...n}},this.notify=n=>{var r,o;(o=(r=this.options).onChange)==null||o.call(r,this,n)},this.maybeNotify=Tt(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),n=>{this.notify(n)},{key:process.env.NODE_ENV!=="production"&&"maybeNotify",debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(n=>n()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var n;const r=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==r){if(this.cleanup(),!r){this.maybeNotify();return}this.scrollElement=r,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=((n=this.scrollElement)==null?void 0:n.window)??null,this.elementsCache.forEach(o=>{this.observer.observe(o)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,o=>{this.scrollRect=o,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(o,i)=>{this.scrollAdjustments=0,this.scrollDirection=i?this.getScrollOffset()<o?"forward":"backward":null,this.scrollOffset=o,this.isScrolling=i,this.maybeNotify()}))}},this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??(typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(n,r)=>{const o=new Map,i=new Map;for(let l=r-1;l>=0;l--){const s=n[l];if(o.has(s.lane))continue;const a=i.get(s.lane);if(a==null||s.end>a.end?i.set(s.lane,s):s.end<a.end&&o.set(s.lane,!0),o.size===this.options.lanes)break}return i.size===this.options.lanes?Array.from(i.values()).sort((l,s)=>l.end===s.end?l.index-s.index:l.end-s.end)[0]:void 0},this.getMeasurementOptions=Tt(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(n,r,o,i,l)=>(this.pendingMeasuredCacheIndexes=[],{count:n,paddingStart:r,scrollMargin:o,getItemKey:i,enabled:l}),{key:!1}),this.getMeasurements=Tt(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:n,paddingStart:r,scrollMargin:o,getItemKey:i,enabled:l},s)=>{if(!l)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(m=>{this.itemSizeCache.set(m.key,m.size)}));const a=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];const h=this.measurementsCache.slice(0,a);for(let m=a;m<n;m++){const b=i(m),f=this.options.lanes===1?h[m-1]:this.getFurthestMeasurement(h,m),d=f?f.end+this.options.gap:r+o,u=s.get(b),p=typeof u=="number"?u:this.options.estimateSize(m),v=d+p,y=f?f.lane:m%this.options.lanes;h[m]={index:m,start:d,size:p,end:v,key:b,lane:y}}return this.measurementsCache=h,h},{key:process.env.NODE_ENV!=="production"&&"getMeasurements",debug:()=>this.options.debug}),this.calculateRange=Tt(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(n,r,o,i)=>this.range=n.length>0&&r>0?vu({measurements:n,outerSize:r,scrollOffset:o,lanes:i}):null,{key:process.env.NODE_ENV!=="production"&&"calculateRange",debug:()=>this.options.debug}),this.getVirtualIndexes=Tt(()=>{let n=null,r=null;const o=this.calculateRange();return o&&(n=o.startIndex,r=o.endIndex),this.maybeNotify.updateDeps([this.isScrolling,n,r]),[this.options.rangeExtractor,this.options.overscan,this.options.count,n,r]},(n,r,o,i,l)=>i===null||l===null?[]:n({startIndex:i,endIndex:l,overscan:r,count:o}),{key:process.env.NODE_ENV!=="production"&&"getVirtualIndexes",debug:()=>this.options.debug}),this.indexFromElement=n=>{const r=this.options.indexAttribute,o=n.getAttribute(r);return o?parseInt(o,10):(console.warn(`Missing attribute name '${r}={index}' on measured element.`),-1)},this._measureElement=(n,r)=>{const o=this.indexFromElement(n),i=this.measurementsCache[o];if(!i)return;const l=i.key,s=this.elementsCache.get(l);s!==n&&(s&&this.observer.unobserve(s),this.observer.observe(n),this.elementsCache.set(l,n)),n.isConnected&&this.resizeItem(o,this.options.measureElement(n,r,this))},this.resizeItem=(n,r)=>{const o=this.measurementsCache[n];if(!o)return;const i=this.itemSizeCache.get(o.key)??o.size,l=r-i;l!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(o,l,this):o.start<this.getScrollOffset()+this.scrollAdjustments)&&(process.env.NODE_ENV!=="production"&&this.options.debug&&console.info("correction",l),this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=l,behavior:void 0})),this.pendingMeasuredCacheIndexes.push(o.index),this.itemSizeCache=new Map(this.itemSizeCache.set(o.key,r)),this.notify(!1))},this.measureElement=n=>{if(!n){this.elementsCache.forEach((r,o)=>{r.isConnected||(this.observer.unobserve(r),this.elementsCache.delete(o))});return}this._measureElement(n,void 0)},this.getVirtualItems=Tt(()=>[this.getVirtualIndexes(),this.getMeasurements()],(n,r)=>{const o=[];for(let i=0,l=n.length;i<l;i++){const s=n[i],a=r[s];o.push(a)}return o},{key:process.env.NODE_ENV!=="production"&&"getVirtualItems",debug:()=>this.options.debug}),this.getVirtualItemForOffset=n=>{const r=this.getMeasurements();if(r.length!==0)return or(r[Ei(0,r.length-1,o=>or(r[o]).start,n)])},this.getOffsetForAlignment=(n,r,o=0)=>{const i=this.getSize(),l=this.getScrollOffset();r==="auto"&&(r=n>=l+i?"end":"start"),r==="center"?n+=(o-i)/2:r==="end"&&(n-=i);const s=this.options.horizontal?"scrollWidth":"scrollHeight",h=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[s]:this.scrollElement[s]:0)-i;return Math.max(Math.min(h,n),0)},this.getOffsetForIndex=(n,r="auto")=>{n=Math.max(0,Math.min(n,this.options.count-1));const o=this.measurementsCache[n];if(!o)return;const i=this.getSize(),l=this.getScrollOffset();if(r==="auto")if(o.end>=l+i-this.options.scrollPaddingEnd)r="end";else if(o.start<=l+this.options.scrollPaddingStart)r="start";else return[l,r];const s=r==="end"?o.end+this.options.scrollPaddingEnd:o.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(s,r,o.size),r]},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{this.scrollToIndexTimeoutId!==null&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(n,{align:r="start",behavior:o}={})=>{this.cancelScrollToIndex(),o==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(n,r),{adjustments:void 0,behavior:o})},this.scrollToIndex=(n,{align:r="auto",behavior:o}={})=>{n=Math.max(0,Math.min(n,this.options.count-1)),this.cancelScrollToIndex(),o==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");const i=this.getOffsetForIndex(n,r);if(!i)return;const[l,s]=i;this._scrollToOffset(l,{adjustments:void 0,behavior:o}),o!=="smooth"&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(n))){const[h]=or(this.getOffsetForIndex(n,s));lu(h,this.getScrollOffset())||this.scrollToIndex(n,{align:s,behavior:o})}else this.scrollToIndex(n,{align:s,behavior:o})}))},this.scrollBy=(n,{behavior:r}={})=>{this.cancelScrollToIndex(),r==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+n,{adjustments:void 0,behavior:r})},this.getTotalSize=()=>{var n;const r=this.getMeasurements();let o;if(r.length===0)o=this.options.paddingStart;else if(this.options.lanes===1)o=((n=r[r.length-1])==null?void 0:n.end)??0;else{const i=Array(this.options.lanes).fill(null);let l=r.length-1;for(;l>0&&i.some(s=>s===null);){const s=r[l];i[s.lane]===null&&(i[s.lane]=s.end),l--}o=Math.max(...i.filter(s=>s!==null))}return Math.max(o-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(n,{adjustments:r,behavior:o})=>{this.options.scrollToFn(n,{behavior:o,adjustments:r},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(t)}}const Ei=(e,t,n,r)=>{for(;e<=t;){const o=(e+t)/2|0,i=n(o);if(i<r)e=o+1;else if(i>r)t=o-1;else return o}return e>0?e-1:0};function vu({measurements:e,outerSize:t,scrollOffset:n,lanes:r}){const o=e.length-1,i=a=>e[a].start;if(e.length<=r)return{startIndex:0,endIndex:o};let l=Ei(0,o,i,n),s=l;if(r===1)for(;s<o&&e[s].end<n+t;)s++;else if(r>1){const a=Array(r).fill(0);for(;s<o&&a.some(m=>m<n+t);){const m=e[s];a[m.lane]=m.end,s++}const h=Array(r).fill(n+t);for(;l>0&&h.some(m=>m>=n);){const m=e[l];h[m.lane]=m.start,l--}l=Math.max(0,l-l%r),s=Math.min(o,s+(r-1-s%r))}return{startIndex:l,endIndex:s}}const Si=typeof document<"u"?B.useLayoutEffect:B.useEffect;function bu(e){const t=B.useReducer(()=>({}),{})[1],n={...e,onChange:(o,i)=>{var l;i?xe.flushSync(t):t(),(l=e.onChange)==null||l.call(e,o,i)}},[r]=B.useState(()=>new hu(n));return r.setOptions(n),Si(()=>r._didMount(),[]),Si(()=>r._willUpdate()),r}function gu(e){return bu({observeElementRect:du,observeElementOffset:fu,scrollToFn:mu,...e})}function wu(e,t){return e!==null&&t!==null&&typeof e=="object"&&typeof t=="object"&&"id"in e&&"id"in t?e.id===t.id:e===t}function Oi(e=wu){return c.useCallback((t,n)=>{if(typeof e=="string"){let r=e;return t?.[r]===n?.[r]}return e(t,n)},[e])}function xu(e){if(e===null)return{width:0,height:0};let{width:t,height:n}=e.getBoundingClientRect();return{width:t,height:n}}function ir(e,t=!1){let[n,r]=c.useReducer(()=>({}),{}),o=c.useMemo(()=>xu(e),[e,n]);return ue(()=>{if(!e)return;let i=new ResizeObserver(r);return i.observe(e),()=>{i.disconnect()}},[e]),t?{width:`${o.width}px`,height:`${o.height}px`}:o}let yu=class extends Map{constructor(t){super(),this.factory=t}get(t){let n=super.get(t);return n===void 0&&(n=this.factory(t),this.set(t,n)),n}};function Ti(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(o){return r.add(o),()=>r.delete(o)},dispatch(o,...i){let l=t[o].call(n,...i);l&&(n=l,r.forEach(s=>s()))}}}function ki(e){return c.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot)}let Eu=new yu(()=>Ti(()=>[],{ADD(e){return this.includes(e)?this:[...this,e]},REMOVE(e){let t=this.indexOf(e);if(t===-1)return this;let n=this.slice();return n.splice(t,1),n}}));function sr(e,t){let n=Eu.get(t),r=c.useId(),o=ki(n);if(ue(()=>{if(e)return n.dispatch("ADD",r),()=>n.dispatch("REMOVE",r)},[n,e]),!e)return!1;let i=o.indexOf(r),l=o.length;return i===-1&&(i=l,l+=1),i===l-1}let lr=new Map,Rt=new Map;function Ci(e){var t;let n=(t=Rt.get(e))!=null?t:0;return Rt.set(e,n+1),n!==0?()=>_i(e):(lr.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0,()=>_i(e))}function _i(e){var t;let n=(t=Rt.get(e))!=null?t:1;if(n===1?Rt.delete(e):Rt.set(e,n-1),n!==1)return;let r=lr.get(e);r&&(r["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r["aria-hidden"]),e.inert=r.inert,lr.delete(e))}function Ii(e,{allowed:t,disallowed:n}={}){let r=sr(e,"inert-others");ue(()=>{var o,i;if(!r)return;let l=qe();for(let a of(o=n?.())!=null?o:[])a&&l.add(Ci(a));let s=(i=t?.())!=null?i:[];for(let a of s){if(!a)continue;let h=St(a);if(!h)continue;let m=a.parentElement;for(;m&&m!==h.body;){for(let b of m.children)s.some(f=>b.contains(f))||l.add(Ci(b));m=m.parentElement}}return l.dispose},[r,t,n])}function Pi(e,t,n){let r=nt(o=>{let i=o.getBoundingClientRect();i.x===0&&i.y===0&&i.width===0&&i.height===0&&n()});c.useEffect(()=>{if(!e)return;let o=t===null?null:t instanceof HTMLElement?t:t.current;if(!o)return;let i=qe();if(typeof ResizeObserver<"u"){let l=new ResizeObserver(()=>r.current(o));l.observe(o),i.add(()=>l.disconnect())}if(typeof IntersectionObserver<"u"){let l=new IntersectionObserver(()=>r.current(o));l.observe(o),i.add(()=>l.disconnect())}return()=>i.dispose()},[t,r,e])}let mn=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),Su=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var ar=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(ar||{}),Ou=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Ou||{}),Tu=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Tu||{});function Mi(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(mn)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}function ku(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Su)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var ur=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(ur||{});function Ai(e,t=0){var n;return e===((n=St(e))==null?void 0:n.body)?!1:Te(t,{0(){return e.matches(mn)},1(){let r=e;for(;r!==null;){if(r.matches(mn))return!0;r=r.parentElement}return!1}})}var Cu=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Cu||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));let _u=["textarea","input"].join(",");function Iu(e){var t,n;return(n=(t=e?.matches)==null?void 0:t.call(e,_u))!=null?n:!1}function cr(e,t=n=>n){return e.slice().sort((n,r)=>{let o=t(n),i=t(r);if(o===null||i===null)return 0;let l=o.compareDocumentPosition(i);return l&Node.DOCUMENT_POSITION_FOLLOWING?-1:l&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Pu(e,t){return Mu(Mi(),t,{relativeTo:e})}function Mu(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:o=[]}={}){let i=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,l=Array.isArray(e)?n?cr(e):e:t&64?ku(e):Mi(e);o.length>0&&l.length>1&&(l=l.filter(d=>!o.some(u=>u!=null&&"current"in u?u?.current===d:u===d))),r=r??i.activeElement;let s=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),a=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,l.indexOf(r))-1;if(t&4)return Math.max(0,l.indexOf(r))+1;if(t&8)return l.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),h=t&32?{preventScroll:!0}:{},m=0,b=l.length,f;do{if(m>=b||m+b<=0)return 0;let d=a+m;if(t&16)d=(d+b)%b;else{if(d<0)return 3;if(d>=b)return 1}f=l[d],f?.focus(h),m+=s}while(f!==i.activeElement);return t&6&&Iu(f)&&f.select(),2}function Fi(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Au(){return/Android/gi.test(window.navigator.userAgent)}function Li(){return Fi()||Au()}function Ut(e,t,n,r){let o=nt(n);c.useEffect(()=>{if(!e)return;function i(l){o.current(l)}return document.addEventListener(t,i,r),()=>document.removeEventListener(t,i,r)},[e,t,r])}function Fu(e,t,n,r){let o=nt(n);c.useEffect(()=>{if(!e)return;function i(l){o.current(l)}return window.addEventListener(t,i,r),()=>window.removeEventListener(t,i,r)},[e,t,r])}const Ni=30;function Di(e,t,n){let r=sr(e,"outside-click"),o=nt(n),i=c.useCallback(function(a,h){if(a.defaultPrevented)return;let m=h(a);if(m===null||!m.getRootNode().contains(m)||!m.isConnected)return;let b=function f(d){return typeof d=="function"?f(d()):Array.isArray(d)||d instanceof Set?d:[d]}(t);for(let f of b)if(f!==null&&(f.contains(m)||a.composed&&a.composedPath().includes(f)))return;return!Ai(m,ur.Loose)&&m.tabIndex!==-1&&a.preventDefault(),o.current(a,m)},[o,t]),l=c.useRef(null);Ut(r,"pointerdown",a=>{var h,m;l.current=((m=(h=a.composedPath)==null?void 0:h.call(a))==null?void 0:m[0])||a.target},!0),Ut(r,"mousedown",a=>{var h,m;l.current=((m=(h=a.composedPath)==null?void 0:h.call(a))==null?void 0:m[0])||a.target},!0),Ut(r,"click",a=>{Li()||l.current&&(i(a,()=>l.current),l.current=null)},!0);let s=c.useRef({x:0,y:0});Ut(r,"touchstart",a=>{s.current.x=a.touches[0].clientX,s.current.y=a.touches[0].clientY},!0),Ut(r,"touchend",a=>{let h={x:a.changedTouches[0].clientX,y:a.changedTouches[0].clientY};if(!(Math.abs(h.x-s.current.x)>=Ni||Math.abs(h.y-s.current.y)>=Ni))return i(a,()=>a.target instanceof HTMLElement?a.target:null)},!0),Fu(r,"blur",a=>i(a,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function zt(...e){return c.useMemo(()=>St(...e),[...e])}function Lu(e,t,n,r){let o=nt(n);c.useEffect(()=>{e=e??window;function i(l){o.current(l)}return e.addEventListener(t,i,r),()=>e.removeEventListener(t,i,r)},[e,t,r])}function ji(e){let t=c.useRef({value:"",selectionStart:null,selectionEnd:null});return Lu(e,"blur",n=>{let r=n.target;r instanceof HTMLInputElement&&(t.current={value:r.value,selectionStart:r.selectionStart,selectionEnd:r.selectionEnd})}),A(()=>{if(document.activeElement!==e&&e instanceof HTMLInputElement&&e.isConnected){if(e.focus({preventScroll:!0}),e.value!==t.current.value)e.setSelectionRange(e.value.length,e.value.length);else{let{selectionStart:n,selectionEnd:r}=t.current;n!==null&&r!==null&&e.setSelectionRange(n,r)}t.current={value:"",selectionStart:null,selectionEnd:null}}})}function Wi(e,t){return c.useMemo(()=>{var n;if(e.type)return e.type;let r=(n=e.as)!=null?n:"button";if(typeof r=="string"&&r.toLowerCase()==="button"||t?.tagName==="BUTTON"&&!t.hasAttribute("type"))return"button"},[e.type,e.as,t])}function Nu(){let e;return{before({doc:t}){var n;let r=t.documentElement,o=(n=t.defaultView)!=null?n:window;e=Math.max(0,o.innerWidth-r.clientWidth)},after({doc:t,d:n}){let r=t.documentElement,o=Math.max(0,r.clientWidth-r.offsetWidth),i=Math.max(0,e-o);n.style(r,"paddingRight",`${i}px`)}}}function Du(){return Fi()?{before({doc:e,d:t,meta:n}){function r(o){return n.containers.flatMap(i=>i()).some(i=>i.contains(o))}t.microTask(()=>{var o;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let s=qe();s.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>s.dispose()))}let i=(o=window.scrollY)!=null?o:window.pageYOffset,l=null;t.addEventListener(e,"click",s=>{if(s.target instanceof HTMLElement)try{let a=s.target.closest("a");if(!a)return;let{hash:h}=new URL(a.href),m=e.querySelector(h);m&&!r(m)&&(l=m)}catch{}},!0),t.addEventListener(e,"touchstart",s=>{if(s.target instanceof HTMLElement)if(r(s.target)){let a=s.target;for(;a.parentElement&&r(a.parentElement);)a=a.parentElement;t.style(a,"overscrollBehavior","contain")}else t.style(s.target,"touchAction","none")}),t.addEventListener(e,"touchmove",s=>{if(s.target instanceof HTMLElement){if(s.target.tagName==="INPUT")return;if(r(s.target)){let a=s.target;for(;a.parentElement&&a.dataset.headlessuiPortal!==""&&!(a.scrollHeight>a.clientHeight||a.scrollWidth>a.clientWidth);)a=a.parentElement;a.dataset.headlessuiPortal===""&&s.preventDefault()}else s.preventDefault()}},{passive:!1}),t.add(()=>{var s;let a=(s=window.scrollY)!=null?s:window.pageYOffset;i!==a&&window.scrollTo(0,i),l&&l.isConnected&&(l.scrollIntoView({block:"nearest"}),l=null)})})}}:{}}function ju(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function Wu(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let ht=Ti(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:qe(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:Wu(n)},o=[Du(),Nu(),ju()];o.forEach(({before:i})=>i?.(r)),o.forEach(({after:i})=>i?.(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});ht.subscribe(()=>{let e=ht.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let r=t.get(n.doc)==="hidden",o=n.count!==0;(o&&!r||!o&&r)&&ht.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&ht.dispatch("TEARDOWN",n)}});function Bu(e,t,n=()=>({containers:[]})){let r=ki(ht),o=t?r.get(t):void 0,i=o?o.count>0:!1;return ue(()=>{if(!(!t||!e))return ht.dispatch("PUSH",t,n),()=>ht.dispatch("POP",t,n)},[e,t]),i}function Bi(e,t,n=()=>[document.body]){let r=sr(e,"scroll-lock");Bu(r,t,o=>{var i;return{containers:[...(i=o.containers)!=null?i:[],n]}})}function Vi(e){return[e.screenX,e.screenY]}function Hi(){let e=c.useRef([-1,-1]);return{wasMoved(t){let n=Vi(t);return e.current[0]===n[0]&&e.current[1]===n[1]?!1:(e.current=n,!0)},update(t){e.current=Vi(t)}}}function Vu(e=0){let[t,n]=c.useState(e),r=c.useCallback(a=>n(a),[t]),o=c.useCallback(a=>n(h=>h|a),[t]),i=c.useCallback(a=>(t&a)===a,[t]),l=c.useCallback(a=>n(h=>h&~a),[n]),s=c.useCallback(a=>n(h=>h^a),[n]);return{flags:t,setFlag:r,addFlag:o,hasFlag:i,removeFlag:l,toggleFlag:s}}var Ri,Ui;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((Ri=process==null?void 0:process.env)==null?void 0:Ri.NODE_ENV)==="test"&&typeof((Ui=Element?.prototype)==null?void 0:Ui.getAnimations)>"u"&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(`
|
|
40
|
+
`)),[]});var Hu=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(Hu||{});function dr(e){let t={};for(let n in e)e[n]===!0&&(t[`data-${n}`]="");return t}function fr(e,t,n,r){let[o,i]=c.useState(n),{hasFlag:l,addFlag:s,removeFlag:a}=Vu(e&&o?3:0),h=c.useRef(!1),m=c.useRef(!1),b=lt();return ue(()=>{var f;if(e){if(n&&i(!0),!t){n&&s(3);return}return(f=r?.start)==null||f.call(r,n),Ru(t,{inFlight:h,prepare(){m.current?m.current=!1:m.current=h.current,h.current=!0,!m.current&&(n?(s(3),a(4)):(s(4),a(2)))},run(){m.current?n?(a(3),s(4)):(a(4),s(3)):n?a(1):s(1)},done(){var d;m.current&&typeof t.getAnimations=="function"&&t.getAnimations().length>0||(h.current=!1,a(7),n||i(!1),(d=r?.end)==null||d.call(r,n))}})}},[e,n,t,b]),e?[o,{closed:l(1),enter:l(2),leave:l(4),transition:l(2)||l(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function Ru(e,{prepare:t,run:n,done:r,inFlight:o}){let i=qe();return zu(e,{prepare:t,inFlight:o}),i.nextFrame(()=>{n(),i.requestAnimationFrame(()=>{i.add(Uu(e,r))})}),i.dispose}function Uu(e,t){var n,r;let o=qe();if(!e)return o.dispose;let i=!1;o.add(()=>{i=!0});let l=(r=(n=e.getAnimations)==null?void 0:n.call(e).filter(s=>s instanceof CSSTransition))!=null?r:[];return l.length===0?(t(),o.dispose):(Promise.allSettled(l.map(s=>s.finished)).then(()=>{i||t()}),o.dispose)}function zu(e,{inFlight:t,prepare:n}){if(t!=null&&t.current){n();return}let r=e.style.transition;e.style.transition="none",n(),e.offsetHeight,e.style.transition=r}function $u(e,{container:t,accept:n,walk:r}){let o=c.useRef(n),i=c.useRef(r);c.useEffect(()=>{o.current=n,i.current=r},[n,r]),ue(()=>{if(!t||!e)return;let l=St(t);if(!l)return;let s=o.current,a=i.current,h=Object.assign(b=>s(b),{acceptNode:s}),m=l.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,h,!1);for(;m.nextNode();)a(m.currentNode)},[t,e,o,i])}function zi(e,t){let n=c.useRef([]),r=A(e);c.useEffect(()=>{let o=[...n.current];for(let[i,l]of t.entries())if(n.current[i]!==l){let s=r(t,o);return n.current=t,s}},[r,...t])}function hn(){return typeof window<"u"}function kt(e){return $i(e)?(e.nodeName||"").toLowerCase():"#document"}function Ve(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ze(e){var t;return(t=($i(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function $i(e){return hn()?e instanceof Node||e instanceof Ve(e).Node:!1}function Me(e){return hn()?e instanceof Element||e instanceof Ve(e).Element:!1}function et(e){return hn()?e instanceof HTMLElement||e instanceof Ve(e).HTMLElement:!1}function qi(e){return!hn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ve(e).ShadowRoot}function $t(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Ye(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function qu(e){return["table","td","th"].includes(kt(e))}function vn(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function pr(e){const t=mr(),n=Me(e)?Ye(e):e;return["transform","translate","scale","rotate","perspective"].some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function Yu(e){let t=ct(e);for(;et(t)&&!Ct(t);){if(pr(t))return t;if(vn(t))return null;t=ct(t)}return null}function mr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ct(e){return["html","body","#document"].includes(kt(e))}function Ye(e){return Ve(e).getComputedStyle(e)}function bn(e){return Me(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ct(e){if(kt(e)==="html")return e;const t=e.assignedSlot||e.parentNode||qi(e)&&e.host||Ze(e);return qi(t)?t.host:t}function Yi(e){const t=ct(e);return Ct(t)?e.ownerDocument?e.ownerDocument.body:e.body:et(t)&&$t(t)?t:Yi(t)}function qt(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Yi(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),l=Ve(o);if(i){const s=hr(l);return t.concat(l,l.visualViewport||[],$t(o)?o:[],s&&n?qt(s):[])}return t.concat(o,qt(o,[],n))}function hr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ku(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(t=>{let{brand:n,version:r}=t;return n+"/"+r}).join(" "):navigator.userAgent}const vt=Math.min,Ae=Math.max,Yt=Math.round,gn=Math.floor,tt=e=>({x:e,y:e}),Gu={left:"right",right:"left",bottom:"top",top:"bottom"},Xu={start:"end",end:"start"};function Ki(e,t,n){return Ae(e,vt(t,n))}function _t(e,t){return typeof e=="function"?e(t):e}function dt(e){return e.split("-")[0]}function Kt(e){return e.split("-")[1]}function Gi(e){return e==="x"?"y":"x"}function Xi(e){return e==="y"?"height":"width"}function bt(e){return["top","bottom"].includes(dt(e))?"y":"x"}function Qi(e){return Gi(bt(e))}function Qu(e,t,n){n===void 0&&(n=!1);const r=Kt(e),o=Qi(e),i=Xi(o);let l=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=wn(l)),[l,wn(l)]}function Ju(e){const t=wn(e);return[vr(e),t,vr(t)]}function vr(e){return e.replace(/start|end/g,t=>Xu[t])}function Zu(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],l=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:l;default:return[]}}function ec(e,t,n,r){const o=Kt(e);let i=Zu(dt(e),n==="start",r);return o&&(i=i.map(l=>l+"-"+o),t&&(i=i.concat(i.map(vr)))),i}function wn(e){return e.replace(/left|right|bottom|top/g,t=>Gu[t])}function tc(e){return{top:0,right:0,bottom:0,left:0,...e}}function nc(e){return typeof e!="number"?tc(e):{top:e,right:e,bottom:e,left:e}}function xn(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Ji(e,t,n){let{reference:r,floating:o}=e;const i=bt(t),l=Qi(t),s=Xi(l),a=dt(t),h=i==="y",m=r.x+r.width/2-o.width/2,b=r.y+r.height/2-o.height/2,f=r[s]/2-o[s]/2;let d;switch(a){case"top":d={x:m,y:r.y-o.height};break;case"bottom":d={x:m,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:b};break;case"left":d={x:r.x-o.width,y:b};break;default:d={x:r.x,y:r.y}}switch(Kt(t)){case"start":d[l]-=f*(n&&h?-1:1);break;case"end":d[l]+=f*(n&&h?-1:1);break}return d}const rc=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,s=i.filter(Boolean),a=await(l.isRTL==null?void 0:l.isRTL(t));let h=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:m,y:b}=Ji(h,r,a),f=r,d={},u=0;for(let p=0;p<s.length;p++){const{name:v,fn:y}=s[p],{x:E,y:w,data:x,reset:k}=await y({x:m,y:b,initialPlacement:r,placement:f,strategy:o,middlewareData:d,rects:h,platform:l,elements:{reference:e,floating:t}});m=E??m,b=w??b,d={...d,[v]:{...d[v],...x}},k&&u<=50&&(u++,typeof k=="object"&&(k.placement&&(f=k.placement),k.rects&&(h=k.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:o}):k.rects),{x:m,y:b}=Ji(h,f,a)),p=-1)}return{x:m,y:b,placement:f,strategy:o,middlewareData:d}};async function yn(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:l,elements:s,strategy:a}=e,{boundary:h="clippingAncestors",rootBoundary:m="viewport",elementContext:b="floating",altBoundary:f=!1,padding:d=0}=_t(t,e),u=nc(d),v=s[f?b==="floating"?"reference":"floating":b],y=xn(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(v)))==null||n?v:v.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:h,rootBoundary:m,strategy:a})),E=b==="floating"?{x:r,y:o,width:l.floating.width,height:l.floating.height}:l.reference,w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),x=await(i.isElement==null?void 0:i.isElement(w))?await(i.getScale==null?void 0:i.getScale(w))||{x:1,y:1}:{x:1,y:1},k=xn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:E,offsetParent:w,strategy:a}):E);return{top:(y.top-k.top+u.top)/x.y,bottom:(k.bottom-y.bottom+u.bottom)/x.y,left:(y.left-k.left+u.left)/x.x,right:(k.right-y.right+u.right)/x.x}}const oc=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:l,initialPlacement:s,platform:a,elements:h}=t,{mainAxis:m=!0,crossAxis:b=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:u="none",flipAlignment:p=!0,...v}=_t(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const y=dt(o),E=bt(s),w=dt(s)===s,x=await(a.isRTL==null?void 0:a.isRTL(h.floating)),k=f||(w||!p?[wn(s)]:Ju(s)),S=u!=="none";!f&&S&&k.push(...ec(s,p,u,x));const C=[s,...k],R=await yn(t,v),W=[];let D=((r=i.flip)==null?void 0:r.overflows)||[];if(m&&W.push(R[y]),b){const M=Qu(o,l,x);W.push(R[M[0]],R[M[1]])}if(D=[...D,{placement:o,overflows:W}],!W.every(M=>M<=0)){var I,K;const M=(((I=i.flip)==null?void 0:I.index)||0)+1,X=C[M];if(X)return{data:{index:M,overflows:D},reset:{placement:X}};let J=(K=D.filter(Z=>Z.overflows[0]<=0).sort((Z,$)=>Z.overflows[1]-$.overflows[1])[0])==null?void 0:K.placement;if(!J)switch(d){case"bestFit":{var P;const Z=(P=D.filter($=>{if(S){const z=bt($.placement);return z===E||z==="y"}return!0}).map($=>[$.placement,$.overflows.filter(z=>z>0).reduce((z,Q)=>z+Q,0)]).sort(($,z)=>$[1]-z[1])[0])==null?void 0:P[0];Z&&(J=Z);break}case"initialPlacement":J=s;break}if(o!==J)return{reset:{placement:J}}}return{}}}};async function ic(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),l=dt(n),s=Kt(n),a=bt(n)==="y",h=["left","top"].includes(l)?-1:1,m=i&&a?-1:1,b=_t(t,e);let{mainAxis:f,crossAxis:d,alignmentAxis:u}=typeof b=="number"?{mainAxis:b,crossAxis:0,alignmentAxis:null}:{mainAxis:b.mainAxis||0,crossAxis:b.crossAxis||0,alignmentAxis:b.alignmentAxis};return s&&typeof u=="number"&&(d=s==="end"?u*-1:u),a?{x:d*m,y:f*h}:{x:f*h,y:d*m}}const sc=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:l,middlewareData:s}=t,a=await ic(t,e);return l===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+a.x,y:i+a.y,data:{...a,placement:l}}}}},lc=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:l=!1,limiter:s={fn:v=>{let{x:y,y:E}=v;return{x:y,y:E}}},...a}=_t(e,t),h={x:n,y:r},m=await yn(t,a),b=bt(dt(o)),f=Gi(b);let d=h[f],u=h[b];if(i){const v=f==="y"?"top":"left",y=f==="y"?"bottom":"right",E=d+m[v],w=d-m[y];d=Ki(E,d,w)}if(l){const v=b==="y"?"top":"left",y=b==="y"?"bottom":"right",E=u+m[v],w=u-m[y];u=Ki(E,u,w)}const p=s.fn({...t,[f]:d,[b]:u});return{...p,data:{x:p.x-n,y:p.y-r,enabled:{[f]:i,[b]:l}}}}}},ac=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:l,elements:s}=t,{apply:a=()=>{},...h}=_t(e,t),m=await yn(t,h),b=dt(o),f=Kt(o),d=bt(o)==="y",{width:u,height:p}=i.floating;let v,y;b==="top"||b==="bottom"?(v=b,y=f===(await(l.isRTL==null?void 0:l.isRTL(s.floating))?"start":"end")?"left":"right"):(y=b,v=f==="end"?"top":"bottom");const E=p-m.top-m.bottom,w=u-m.left-m.right,x=vt(p-m[v],E),k=vt(u-m[y],w),S=!t.middlewareData.shift;let C=x,R=k;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(R=w),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=E),S&&!f){const D=Ae(m.left,0),I=Ae(m.right,0),K=Ae(m.top,0),P=Ae(m.bottom,0);d?R=u-2*(D!==0||I!==0?D+I:Ae(m.left,m.right)):C=p-2*(K!==0||P!==0?K+P:Ae(m.top,m.bottom))}await a({...t,availableWidth:R,availableHeight:C});const W=await l.getDimensions(s.floating);return u!==W.width||p!==W.height?{reset:{rects:!0}}:{}}}};function Zi(e){const t=Ye(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=et(e),i=o?e.offsetWidth:n,l=o?e.offsetHeight:r,s=Yt(n)!==i||Yt(r)!==l;return s&&(n=i,r=l),{width:n,height:r,$:s}}function br(e){return Me(e)?e:e.contextElement}function It(e){const t=br(e);if(!et(t))return tt(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Zi(t);let l=(i?Yt(n.width):n.width)/r,s=(i?Yt(n.height):n.height)/o;return(!l||!Number.isFinite(l))&&(l=1),(!s||!Number.isFinite(s))&&(s=1),{x:l,y:s}}const uc=tt(0);function es(e){const t=Ve(e);return!mr()||!t.visualViewport?uc:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function cc(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Ve(e)?!1:t}function gt(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=br(e);let l=tt(1);t&&(r?Me(r)&&(l=It(r)):l=It(e));const s=cc(i,n,r)?es(i):tt(0);let a=(o.left+s.x)/l.x,h=(o.top+s.y)/l.y,m=o.width/l.x,b=o.height/l.y;if(i){const f=Ve(i),d=r&&Me(r)?Ve(r):r;let u=f,p=hr(u);for(;p&&r&&d!==u;){const v=It(p),y=p.getBoundingClientRect(),E=Ye(p),w=y.left+(p.clientLeft+parseFloat(E.paddingLeft))*v.x,x=y.top+(p.clientTop+parseFloat(E.paddingTop))*v.y;a*=v.x,h*=v.y,m*=v.x,b*=v.y,a+=w,h+=x,u=Ve(p),p=hr(u)}}return xn({width:m,height:b,x:a,y:h})}function gr(e,t){const n=bn(e).scrollLeft;return t?t.left+n:gt(Ze(e)).left+n}function ts(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:gr(e,r)),i=r.top+t.scrollTop;return{x:o,y:i}}function dc(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",l=Ze(r),s=t?vn(t.floating):!1;if(r===l||s&&i)return n;let a={scrollLeft:0,scrollTop:0},h=tt(1);const m=tt(0),b=et(r);if((b||!b&&!i)&&((kt(r)!=="body"||$t(l))&&(a=bn(r)),et(r))){const d=gt(r);h=It(r),m.x=d.x+r.clientLeft,m.y=d.y+r.clientTop}const f=l&&!b&&!i?ts(l,a,!0):tt(0);return{width:n.width*h.x,height:n.height*h.y,x:n.x*h.x-a.scrollLeft*h.x+m.x+f.x,y:n.y*h.y-a.scrollTop*h.y+m.y+f.y}}function fc(e){return Array.from(e.getClientRects())}function pc(e){const t=Ze(e),n=bn(e),r=e.ownerDocument.body,o=Ae(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Ae(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let l=-n.scrollLeft+gr(e);const s=-n.scrollTop;return Ye(r).direction==="rtl"&&(l+=Ae(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:l,y:s}}function mc(e,t){const n=Ve(e),r=Ze(e),o=n.visualViewport;let i=r.clientWidth,l=r.clientHeight,s=0,a=0;if(o){i=o.width,l=o.height;const h=mr();(!h||h&&t==="fixed")&&(s=o.offsetLeft,a=o.offsetTop)}return{width:i,height:l,x:s,y:a}}function hc(e,t){const n=gt(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=et(e)?It(e):tt(1),l=e.clientWidth*i.x,s=e.clientHeight*i.y,a=o*i.x,h=r*i.y;return{width:l,height:s,x:a,y:h}}function ns(e,t,n){let r;if(t==="viewport")r=mc(e,n);else if(t==="document")r=pc(Ze(e));else if(Me(t))r=hc(t,n);else{const o=es(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return xn(r)}function rs(e,t){const n=ct(e);return n===t||!Me(n)||Ct(n)?!1:Ye(n).position==="fixed"||rs(n,t)}function vc(e,t){const n=t.get(e);if(n)return n;let r=qt(e,[],!1).filter(s=>Me(s)&&kt(s)!=="body"),o=null;const i=Ye(e).position==="fixed";let l=i?ct(e):e;for(;Me(l)&&!Ct(l);){const s=Ye(l),a=pr(l);!a&&s.position==="fixed"&&(o=null),(i?!a&&!o:!a&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||$t(l)&&!a&&rs(e,l))?r=r.filter(m=>m!==l):o=s,l=ct(l)}return t.set(e,r),r}function bc(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const l=[...n==="clippingAncestors"?vn(t)?[]:vc(t,this._c):[].concat(n),r],s=l[0],a=l.reduce((h,m)=>{const b=ns(t,m,o);return h.top=Ae(b.top,h.top),h.right=vt(b.right,h.right),h.bottom=vt(b.bottom,h.bottom),h.left=Ae(b.left,h.left),h},ns(t,s,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function gc(e){const{width:t,height:n}=Zi(e);return{width:t,height:n}}function wc(e,t,n){const r=et(t),o=Ze(t),i=n==="fixed",l=gt(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const a=tt(0);if(r||!r&&!i)if((kt(t)!=="body"||$t(o))&&(s=bn(t)),r){const f=gt(t,!0,i,t);a.x=f.x+t.clientLeft,a.y=f.y+t.clientTop}else o&&(a.x=gr(o));const h=o&&!r&&!i?ts(o,s):tt(0),m=l.left+s.scrollLeft-a.x-h.x,b=l.top+s.scrollTop-a.y-h.y;return{x:m,y:b,width:l.width,height:l.height}}function wr(e){return Ye(e).position==="static"}function os(e,t){if(!et(e)||Ye(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Ze(e)===n&&(n=n.ownerDocument.body),n}function is(e,t){const n=Ve(e);if(vn(e))return n;if(!et(e)){let o=ct(e);for(;o&&!Ct(o);){if(Me(o)&&!wr(o))return o;o=ct(o)}return n}let r=os(e,t);for(;r&&qu(r)&&wr(r);)r=os(r,t);return r&&Ct(r)&&wr(r)&&!pr(r)?n:r||Yu(e)||n}const xc=async function(e){const t=this.getOffsetParent||is,n=this.getDimensions,r=await n(e.floating);return{reference:wc(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function yc(e){return Ye(e).direction==="rtl"}const Ec={convertOffsetParentRelativeRectToViewportRelativeRect:dc,getDocumentElement:Ze,getClippingRect:bc,getOffsetParent:is,getElementRects:xc,getClientRects:fc,getDimensions:gc,getScale:It,isElement:Me,isRTL:yc};function ss(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Sc(e,t){let n=null,r;const o=Ze(e);function i(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function l(s,a){s===void 0&&(s=!1),a===void 0&&(a=1),i();const h=e.getBoundingClientRect(),{left:m,top:b,width:f,height:d}=h;if(s||t(),!f||!d)return;const u=gn(b),p=gn(o.clientWidth-(m+f)),v=gn(o.clientHeight-(b+d)),y=gn(m),w={rootMargin:-u+"px "+-p+"px "+-v+"px "+-y+"px",threshold:Ae(0,vt(1,a))||1};let x=!0;function k(S){const C=S[0].intersectionRatio;if(C!==a){if(!x)return l();C?l(!1,C):r=setTimeout(()=>{l(!1,1e-7)},1e3)}C===1&&!ss(h,e.getBoundingClientRect())&&l(),x=!1}try{n=new IntersectionObserver(k,{...w,root:o.ownerDocument})}catch{n=new IntersectionObserver(k,w)}n.observe(e)}return l(!0),i}function Oc(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:a=!1}=r,h=br(e),m=o||i?[...h?qt(h):[],...qt(t)]:[];m.forEach(y=>{o&&y.addEventListener("scroll",n,{passive:!0}),i&&y.addEventListener("resize",n)});const b=h&&s?Sc(h,n):null;let f=-1,d=null;l&&(d=new ResizeObserver(y=>{let[E]=y;E&&E.target===h&&d&&(d.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var w;(w=d)==null||w.observe(t)})),n()}),h&&!a&&d.observe(h),d.observe(t));let u,p=a?gt(e):null;a&&v();function v(){const y=gt(e);p&&!ss(p,y)&&n(),p=y,u=requestAnimationFrame(v)}return n(),()=>{var y;m.forEach(E=>{o&&E.removeEventListener("scroll",n),i&&E.removeEventListener("resize",n)}),b?.(),(y=d)==null||y.disconnect(),d=null,a&&cancelAnimationFrame(u)}}const xr=yn,Tc=sc,kc=lc,Cc=oc,_c=ac,Ic=(e,t,n)=>{const r=new Map,o={platform:Ec,...n},i={...o.platform,_c:r};return rc(e,t,{...o,platform:i})};var En=typeof document<"u"?c.useLayoutEffect:c.useEffect;function Sn(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Sn(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!Sn(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function ls(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function as(e,t){const n=ls(e);return Math.round(t*n)/n}function yr(e){const t=B.useRef(e);return En(()=>{t.current=e}),t}function Pc(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:l}={},transform:s=!0,whileElementsMounted:a,open:h}=e,[m,b]=B.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,d]=B.useState(r);Sn(f,r)||d(r);const[u,p]=B.useState(null),[v,y]=B.useState(null),E=B.useCallback($=>{$!==S.current&&(S.current=$,p($))},[]),w=B.useCallback($=>{$!==C.current&&(C.current=$,y($))},[]),x=i||u,k=l||v,S=B.useRef(null),C=B.useRef(null),R=B.useRef(m),W=a!=null,D=yr(a),I=yr(o),K=yr(h),P=B.useCallback(()=>{if(!S.current||!C.current)return;const $={placement:t,strategy:n,middleware:f};I.current&&($.platform=I.current),Ic(S.current,C.current,$).then(z=>{const Q={...z,isPositioned:K.current!==!1};M.current&&!Sn(R.current,Q)&&(R.current=Q,tn.flushSync(()=>{b(Q)}))})},[f,t,n,I,K]);En(()=>{h===!1&&R.current.isPositioned&&(R.current.isPositioned=!1,b($=>({...$,isPositioned:!1})))},[h]);const M=B.useRef(!1);En(()=>(M.current=!0,()=>{M.current=!1}),[]),En(()=>{if(x&&(S.current=x),k&&(C.current=k),x&&k){if(D.current)return D.current(x,k,P);P()}},[x,k,P,D,W]);const X=B.useMemo(()=>({reference:S,floating:C,setReference:E,setFloating:w}),[E,w]),J=B.useMemo(()=>({reference:x,floating:k}),[x,k]),Z=B.useMemo(()=>{const $={position:n,left:0,top:0};if(!J.floating)return $;const z=as(J.floating,m.x),Q=as(J.floating,m.y);return s?{...$,transform:"translate("+z+"px, "+Q+"px)",...ls(J.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:z,top:Q}},[n,s,J.floating,m.x,m.y]);return B.useMemo(()=>({...m,update:P,refs:X,elements:J,floatingStyles:Z}),[m,P,X,J,Z])}const us=(e,t)=>({...Tc(e),options:[e,t]}),Mc=(e,t)=>({...kc(e),options:[e,t]}),Ac=(e,t)=>({...Cc(e),options:[e,t]}),Fc=(e,t)=>({..._c(e),options:[e,t]}),cs={...B},Lc=cs.useInsertionEffect||(e=>e());function ds(e){const t=B.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return Lc(()=>{t.current=e}),B.useCallback(function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t.current==null?void 0:t.current(...r)},[])}var Er=typeof document<"u"?c.useLayoutEffect:c.useEffect;let fs=!1,Nc=0;const ps=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+Nc++;function Dc(){const[e,t]=B.useState(()=>fs?ps():void 0);return Er(()=>{e==null&&t(ps())},[]),B.useEffect(()=>{fs=!0},[]),e}const jc=cs.useId||Dc;let Gt;process.env.NODE_ENV!=="production"&&(Gt=new Set);function Wc(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o="Floating UI: "+n.join(" ");if(!((e=Gt)!=null&&e.has(o))){var i;(i=Gt)==null||i.add(o),console.warn(o)}}function Bc(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o="Floating UI: "+n.join(" ");if(!((e=Gt)!=null&&e.has(o))){var i;(i=Gt)==null||i.add(o),console.error(o)}}function Vc(){const e=new Map;return{emit(t,n){var r;(r=e.get(t))==null||r.forEach(o=>o(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,((r=e.get(t))==null?void 0:r.filter(o=>o!==n))||[])}}}const Hc=B.createContext(null),Rc=B.createContext(null),Uc=()=>{var e;return((e=B.useContext(Hc))==null?void 0:e.id)||null},zc=()=>B.useContext(Rc),$c="data-floating-ui-focusable";function qc(e){const{open:t=!1,onOpenChange:n,elements:r}=e,o=jc(),i=B.useRef({}),[l]=B.useState(()=>Vc()),s=Uc()!=null;if(process.env.NODE_ENV!=="production"){const d=r.reference;d&&!Me(d)&&Bc("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[a,h]=B.useState(r.reference),m=ds((d,u,p)=>{i.current.openEvent=d?u:void 0,l.emit("openchange",{open:d,event:u,reason:p,nested:s}),n?.(d,u,p)}),b=B.useMemo(()=>({setPositionReference:h}),[]),f=B.useMemo(()=>({reference:a||r.reference||null,floating:r.floating||null,domReference:r.reference}),[a,r.reference,r.floating]);return B.useMemo(()=>({dataRef:i,open:t,onOpenChange:m,elements:f,events:l,floatingId:o,refs:b}),[t,m,f,l,o,b])}function Yc(e){e===void 0&&(e={});const{nodeId:t}=e,n=qc({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,o=r.elements,[i,l]=B.useState(null),[s,a]=B.useState(null),m=o?.domReference||i,b=B.useRef(null),f=zc();Er(()=>{m&&(b.current=m)},[m]);const d=Pc({...e,elements:{...o,...s&&{reference:s}}}),u=B.useCallback(w=>{const x=Me(w)?{getBoundingClientRect:()=>w.getBoundingClientRect(),contextElement:w}:w;a(x),d.refs.setReference(x)},[d.refs]),p=B.useCallback(w=>{(Me(w)||w===null)&&(b.current=w,l(w)),(Me(d.refs.reference.current)||d.refs.reference.current===null||w!==null&&!Me(w))&&d.refs.setReference(w)},[d.refs]),v=B.useMemo(()=>({...d.refs,setReference:p,setPositionReference:u,domReference:b}),[d.refs,p,u]),y=B.useMemo(()=>({...d.elements,domReference:m}),[d.elements,m]),E=B.useMemo(()=>({...d,...r,refs:v,elements:y,nodeId:t}),[d,v,y,t,r]);return Er(()=>{r.dataRef.current.floatingContext=E;const w=f?.nodesRef.current.find(x=>x.id===t);w&&(w.context=E)}),B.useMemo(()=>({...d,context:E,refs:v,elements:y}),[d,v,y,E])}const ms="active",hs="selected";function Sr(e,t,n){const r=new Map,o=n==="item";let i=e;if(o&&e){const{[ms]:l,[hs]:s,...a}=e;i=a}return{...n==="floating"&&{tabIndex:-1,[$c]:""},...i,...t.map(l=>{const s=l?l[n]:null;return typeof s=="function"?e?s(e):null:s}).concat(e).reduce((l,s)=>(s&&Object.entries(s).forEach(a=>{let[h,m]=a;if(!(o&&[ms,hs].includes(h)))if(h.indexOf("on")===0){if(r.has(h)||r.set(h,[]),typeof m=="function"){var b;(b=r.get(h))==null||b.push(m),l[h]=function(){for(var f,d=arguments.length,u=new Array(d),p=0;p<d;p++)u[p]=arguments[p];return(f=r.get(h))==null?void 0:f.map(v=>v(...u)).find(v=>v!==void 0)}}}else l[h]=m}),l),{})}}function Kc(e){e===void 0&&(e=[]);const t=e.map(s=>s?.reference),n=e.map(s=>s?.floating),r=e.map(s=>s?.item),o=B.useCallback(s=>Sr(s,e,"reference"),t),i=B.useCallback(s=>Sr(s,e,"floating"),n),l=B.useCallback(s=>Sr(s,e,"item"),r);return B.useMemo(()=>({getReferenceProps:o,getFloatingProps:i,getItemProps:l}),[o,i,l])}function vs(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}const Gc=e=>({name:"inner",options:e,async fn(t){const{listRef:n,overflowRef:r,onFallbackChange:o,offset:i=0,index:l=0,minItemsVisible:s=4,referenceOverflowThreshold:a=0,scrollRef:h,...m}=_t(e,t),{rects:b,elements:{floating:f}}=t,d=n.current[l],u=h?.current||f,p=f.clientTop||u.clientTop,v=f.clientTop!==0,y=u.clientTop!==0,E=f===u;if(process.env.NODE_ENV!=="production"&&(t.placement.startsWith("bottom")||Wc('`placement` side must be "bottom" when using the `inner`',"middleware.")),!d)return{};const w={...t,...await us(-d.offsetTop-f.clientTop-b.reference.height/2-d.offsetHeight/2-i).fn(t)},x=await xr(vs(w,u.scrollHeight+p+f.clientTop),m),k=await xr(w,{...m,elementContext:"reference"}),S=Ae(0,x.top),C=w.y+S,D=(u.scrollHeight>u.clientHeight?I=>I:Yt)(Ae(0,u.scrollHeight+(v&&E||y?p*2:0)-S-Ae(0,x.bottom)));if(u.style.maxHeight=D+"px",u.scrollTop=S,o){const I=u.offsetHeight<d.offsetHeight*vt(s,n.current.length)-1||k.top>=-a||k.bottom>=-a;tn.flushSync(()=>o(I))}return r&&(r.current=await xr(vs({...w,y:C},u.offsetHeight+p+f.clientTop),m)),{y:C}}});function Xc(e,t){const{open:n,elements:r}=e,{enabled:o=!0,overflowRef:i,scrollRef:l,onChange:s}=t,a=ds(s),h=B.useRef(!1),m=B.useRef(null),b=B.useRef(null);B.useEffect(()=>{if(!o)return;function d(p){if(p.ctrlKey||!u||i.current==null)return;const v=p.deltaY,y=i.current.top>=-.5,E=i.current.bottom>=-.5,w=u.scrollHeight-u.clientHeight,x=v<0?-1:1,k=v<0?"max":"min";u.scrollHeight<=u.clientHeight||(!y&&v>0||!E&&v<0?(p.preventDefault(),tn.flushSync(()=>{a(S=>S+Math[k](v,w*x))})):/firefox/i.test(Ku())&&(u.scrollTop+=v))}const u=l?.current||r.floating;if(n&&u)return u.addEventListener("wheel",d),requestAnimationFrame(()=>{m.current=u.scrollTop,i.current!=null&&(b.current={...i.current})}),()=>{m.current=null,b.current=null,u.removeEventListener("wheel",d)}},[o,n,r.floating,i,l,a]);const f=B.useMemo(()=>({onKeyDown(){h.current=!0},onWheel(){h.current=!1},onPointerMove(){h.current=!1},onScroll(){const d=l?.current||r.floating;if(!(!i.current||!d||!h.current)){if(m.current!==null){const u=d.scrollTop-m.current;(i.current.bottom<-.5&&u<-1||i.current.top<-.5&&u>1)&&tn.flushSync(()=>a(p=>p+u))}requestAnimationFrame(()=>{m.current=d.scrollTop})}}}),[r.floating,a,i,l]);return B.useMemo(()=>o?{floating:f}:{},[o,f])}let Pt=c.createContext({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});Pt.displayName="FloatingContext";let Or=c.createContext(null);Or.displayName="PlacementContext";function bs(e){return c.useMemo(()=>e?typeof e=="string"?{to:e}:e:null,[e])}function gs(){return c.useContext(Pt).setReference}function Qc(){return c.useContext(Pt).getReferenceProps}function ws(){let{getFloatingProps:e,slot:t}=c.useContext(Pt);return c.useCallback((...n)=>Object.assign({},e(...n),{"data-anchor":t.anchor}),[e,t])}function xs(e=null){e===!1&&(e=null),typeof e=="string"&&(e={to:e});let t=c.useContext(Or),n=c.useMemo(()=>e,[JSON.stringify(e,(o,i)=>{var l;return(l=i?.outerHTML)!=null?l:i})]);ue(()=>{t?.(n??null)},[t,n]);let r=c.useContext(Pt);return c.useMemo(()=>[r.setFloating,e?r.styles:{}],[r.setFloating,e,r.styles])}let ys=4;function Es({children:e,enabled:t=!0}){let[n,r]=c.useState(null),[o,i]=c.useState(0),l=c.useRef(null),[s,a]=c.useState(null);Jc(s);let h=t&&n!==null&&s!==null,{to:m="bottom",gap:b=0,offset:f=0,padding:d=0,inner:u}=Zc(n,s),[p,v="center"]=m.split(" ");ue(()=>{h&&i(0)},[h]);let{refs:y,floatingStyles:E,context:w}=Yc({open:h,placement:p==="selection"?v==="center"?"bottom":`bottom-${v}`:v==="center"?`${p}`:`${p}-${v}`,strategy:"absolute",transform:!1,middleware:[us({mainAxis:p==="selection"?0:b,crossAxis:f}),Mc({padding:d}),p!=="selection"&&Ac({padding:d}),p==="selection"&&u?Gc({...u,padding:d,overflowRef:l,offset:o,minItemsVisible:ys,referenceOverflowThreshold:d,onFallbackChange(I){var K,P;if(!I)return;let M=w.elements.floating;if(!M)return;let X=parseFloat(getComputedStyle(M).scrollPaddingBottom)||0,J=Math.min(ys,M.childElementCount),Z=0,$=0;for(let z of(P=(K=w.elements.floating)==null?void 0:K.childNodes)!=null?P:[])if(z instanceof HTMLElement){let Q=z.offsetTop,ie=Q+z.clientHeight+X,le=M.scrollTop,T=le+M.clientHeight;if(Q>=le&&ie<=T)J--;else{$=Math.max(0,Math.min(ie,T)-Math.max(Q,le)),Z=z.clientHeight;break}}J>=1&&i(z=>{let Q=Z*J-$+X;return z>=Q?z:Q})}}):null,Fc({padding:d,apply({availableWidth:I,availableHeight:K,elements:P}){Object.assign(P.floating.style,{overflow:"auto",maxWidth:`${I}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${K}px)`})}})].filter(Boolean),whileElementsMounted:Oc}),[x=p,k=v]=w.placement.split("-");p==="selection"&&(x="selection");let S=c.useMemo(()=>({anchor:[x,k].filter(Boolean).join(" ")}),[x,k]),C=Xc(w,{overflowRef:l,onChange:i}),{getReferenceProps:R,getFloatingProps:W}=Kc([C]),D=A(I=>{a(I),y.setFloating(I)});return B.createElement(Or.Provider,{value:r},B.createElement(Pt.Provider,{value:{setFloating:D,setReference:y.setReference,styles:E,getReferenceProps:R,getFloatingProps:W,slot:S}},e))}function Jc(e){ue(()=>{if(!e)return;let t=new MutationObserver(()=>{let n=window.getComputedStyle(e).maxHeight,r=parseFloat(n);if(isNaN(r))return;let o=parseInt(n);isNaN(o)||r!==o&&(e.style.maxHeight=`${Math.ceil(r)}px`)});return t.observe(e,{attributes:!0,attributeFilter:["style"]}),()=>{t.disconnect()}},[e])}function Zc(e,t){var n,r,o;let i=Tr((n=e?.gap)!=null?n:"var(--anchor-gap, 0)",t),l=Tr((r=e?.offset)!=null?r:"var(--anchor-offset, 0)",t),s=Tr((o=e?.padding)!=null?o:"var(--anchor-padding, 0)",t);return{...e,gap:i,offset:l,padding:s}}function Tr(e,t,n=void 0){let r=lt(),o=A((a,h)=>{if(a==null)return[n,null];if(typeof a=="number")return[a,null];if(typeof a=="string"){if(!h)return[n,null];let m=Os(a,h);return[m,b=>{let f=Ss(a);{let d=f.map(u=>window.getComputedStyle(h).getPropertyValue(u));r.requestAnimationFrame(function u(){r.nextFrame(u);let p=!1;for(let[y,E]of f.entries()){let w=window.getComputedStyle(h).getPropertyValue(E);if(d[y]!==w){d[y]=w,p=!0;break}}if(!p)return;let v=Os(a,h);m!==v&&(b(v),m=v)})}return r.dispose}]}return[n,null]}),i=c.useMemo(()=>o(e,t)[0],[e,t]),[l=i,s]=c.useState();return ue(()=>{let[a,h]=o(e,t);if(s(a),!!h)return h(s)},[e,t]),l}function Ss(e){let t=/var\((.*)\)/.exec(e);if(t){let n=t[1].indexOf(",");if(n===-1)return[t[1]];let r=t[1].slice(0,n).trim(),o=t[1].slice(n+1).trim();return o?[r,...Ss(o)]:[r]}return[]}function Os(e,t){let n=document.createElement("div");t.appendChild(n),n.style.setProperty("margin-top","0px","important"),n.style.setProperty("margin-top",e,"important");let r=parseFloat(window.getComputedStyle(n).marginTop)||0;return t.removeChild(n),r}function ed({children:e,freeze:t}){let n=On(t,e);return c.createElement(c.Fragment,null,n)}function On(e,t){let[n,r]=c.useState(t);return!e&&n!==t&&r(t),e?n:t}let kr=c.createContext(null);kr.displayName="OpenClosedContext";var Le=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(Le||{});function Tn(){return c.useContext(kr)}function Cr({value:e,children:t}){return c.createElement(kr.Provider,{value:e},t)}function td(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let wt=[];td(()=>{function e(t){if(!(t.target instanceof HTMLElement)||t.target===document.body||wt[0]===t.target)return;let n=t.target;n=n.closest(mn),wt.unshift(n??t.target),wt=wt.filter(r=>r!=null&&r.isConnected),wt.splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function nd(e){throw new Error("Unexpected object: "+e)}var re=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(re||{});function Xt(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),o=r??-1;switch(e.focus){case 0:{for(let i=0;i<n.length;++i)if(!t.resolveDisabled(n[i],i,n))return i;return r}case 1:{o===-1&&(o=n.length);for(let i=o-1;i>=0;--i)if(!t.resolveDisabled(n[i],i,n))return i;return r}case 2:{for(let i=o+1;i<n.length;++i)if(!t.resolveDisabled(n[i],i,n))return i;return r}case 3:{for(let i=n.length-1;i>=0;--i)if(!t.resolveDisabled(n[i],i,n))return i;return r}case 4:{for(let i=0;i<n.length;++i)if(t.resolveId(n[i],i,n)===e.id)return i;return r}case 5:return null;default:nd(e)}}var _r=(e=>(e[e.Left=0]="Left",e[e.Right=2]="Right",e))(_r||{});function rd(e){let t=A(e),n=c.useRef(!1);c.useEffect(()=>(n.current=!1,()=>{n.current=!0,ri(()=>{n.current&&t()})}),[t])}function od(){let e=typeof document>"u";return"useSyncExternalStore"in B?(t=>t.useSyncExternalStore)(B)(()=>()=>{},()=>!1,()=>!e):!1}function Ir(){let e=od(),[t,n]=B.useState(mt.isHandoffComplete);return t&&mt.isHandoffComplete===!1&&n(!1),B.useEffect(()=>{t!==!0&&n(!0)},[t]),B.useEffect(()=>mt.handoff(),[]),e?!1:t}let id=c.createContext(!1);function sd(){return c.useContext(id)}function ld(e){let t=sd(),n=c.useContext(ks),r=zt(e),[o,i]=c.useState(()=>{var l;if(!t&&n!==null)return(l=n.current)!=null?l:null;if(mt.isServer)return null;let s=r?.getElementById("headlessui-portal-root");if(s)return s;if(r===null)return null;let a=r.createElement("div");return a.setAttribute("id","headlessui-portal-root"),r.body.appendChild(a)});return c.useEffect(()=>{o!==null&&(r!=null&&r.body.contains(o)||r==null||r.body.appendChild(o))},[o,r]),c.useEffect(()=>{t||n!==null&&i(n.current)},[n,i,t]),o}let Ts=c.Fragment,ad=ye(function(e,t){let n=e,r=c.useRef(null),o=Pe(eu(b=>{r.current=b}),t),i=zt(r),l=ld(r),[s]=c.useState(()=>{var b;return mt.isServer?null:(b=i?.createElement("div"))!=null?b:null}),a=c.useContext(fd),h=Ir();ue(()=>{!l||!s||l.contains(s)||(s.setAttribute("data-headlessui-portal",""),l.appendChild(s))},[l,s]),ue(()=>{if(s&&a)return a.register(s)},[a,s]),rd(()=>{var b;!l||!s||(s instanceof Node&&l.contains(s)&&l.removeChild(s),l.childNodes.length<=0&&((b=l.parentElement)==null||b.removeChild(l)))});let m=Ee();return h?!l||!s?null:xe.createPortal(m({ourProps:{ref:o},theirProps:n,slot:{},defaultTag:Ts,name:"Portal"}),s):null});function ud(e,t){let n=Pe(t),{enabled:r=!0,...o}=e,i=Ee();return r?c.createElement(ad,{...o,ref:n}):i({ourProps:{ref:n},theirProps:o,slot:{},defaultTag:Ts,name:"Portal"})}let cd=c.Fragment,ks=c.createContext(null);function dd(e,t){let{target:n,...r}=e,o={ref:Pe(t)},i=Ee();return c.createElement(ks.Provider,{value:n},i({ourProps:o,theirProps:r,defaultTag:cd,name:"Popover.Group"}))}let fd=c.createContext(null),pd=ye(ud),md=ye(dd),Cs=Object.assign(pd,{Group:md});var hd=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(hd||{}),vd=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(vd||{}),bd=(e=>(e[e.Pointer=0]="Pointer",e[e.Focus=1]="Focus",e[e.Other=2]="Other",e))(bd||{}),gd=(e=>(e[e.OpenCombobox=0]="OpenCombobox",e[e.CloseCombobox=1]="CloseCombobox",e[e.GoToOption=2]="GoToOption",e[e.SetTyping=3]="SetTyping",e[e.RegisterOption=4]="RegisterOption",e[e.UnregisterOption=5]="UnregisterOption",e[e.SetActivationTrigger=6]="SetActivationTrigger",e[e.UpdateVirtualConfiguration=7]="UpdateVirtualConfiguration",e[e.SetInputElement=8]="SetInputElement",e[e.SetButtonElement=9]="SetButtonElement",e[e.SetOptionsElement=10]="SetOptionsElement",e))(gd||{});function Pr(e,t=n=>n){let n=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,r=t(e.options.slice()),o=r.length>0&&r[0].dataRef.current.order!==null?r.sort((l,s)=>l.dataRef.current.order-s.dataRef.current.order):cr(r,l=>l.dataRef.current.domRef.current),i=n?o.indexOf(n):null;return i===-1&&(i=null),{options:o,activeOptionIndex:i}}let wd={1(e){var t;return(t=e.dataRef.current)!=null&&t.disabled||e.comboboxState===1?e:{...e,activeOptionIndex:null,comboboxState:1,isTyping:!1,activationTrigger:2,__demoMode:!1}},0(e){var t,n;if((t=e.dataRef.current)!=null&&t.disabled||e.comboboxState===0)return e;if((n=e.dataRef.current)!=null&&n.value){let r=e.dataRef.current.calculateIndex(e.dataRef.current.value);if(r!==-1)return{...e,activeOptionIndex:r,comboboxState:0,__demoMode:!1}}return{...e,comboboxState:0,__demoMode:!1}},3(e,t){return e.isTyping===t.isTyping?e:{...e,isTyping:t.isTyping}},2(e,t){var n,r,o,i;if((n=e.dataRef.current)!=null&&n.disabled||e.optionsElement&&!((r=e.dataRef.current)!=null&&r.optionsPropsRef.current.static)&&e.comboboxState===1)return e;if(e.virtual){let{options:h,disabled:m}=e.virtual,b=t.focus===re.Specific?t.idx:Xt(t,{resolveItems:()=>h,resolveActiveIndex:()=>{var d,u;return(u=(d=e.activeOptionIndex)!=null?d:h.findIndex(p=>!m(p)))!=null?u:null},resolveDisabled:m,resolveId(){throw new Error("Function not implemented.")}}),f=(o=t.trigger)!=null?o:2;return e.activeOptionIndex===b&&e.activationTrigger===f?e:{...e,activeOptionIndex:b,activationTrigger:f,isTyping:!1,__demoMode:!1}}let l=Pr(e);if(l.activeOptionIndex===null){let h=l.options.findIndex(m=>!m.dataRef.current.disabled);h!==-1&&(l.activeOptionIndex=h)}let s=t.focus===re.Specific?t.idx:Xt(t,{resolveItems:()=>l.options,resolveActiveIndex:()=>l.activeOptionIndex,resolveId:h=>h.id,resolveDisabled:h=>h.dataRef.current.disabled}),a=(i=t.trigger)!=null?i:2;return e.activeOptionIndex===s&&e.activationTrigger===a?e:{...e,...l,isTyping:!1,activeOptionIndex:s,activationTrigger:a,__demoMode:!1}},4:(e,t)=>{var n,r,o;if((n=e.dataRef.current)!=null&&n.virtual)return{...e,options:[...e.options,t.payload]};let i=t.payload,l=Pr(e,a=>(a.push(i),a));e.activeOptionIndex===null&&(r=e.dataRef.current)!=null&&r.isSelected(t.payload.dataRef.current.value)&&(l.activeOptionIndex=l.options.indexOf(i));let s={...e,...l,activationTrigger:2};return(o=e.dataRef.current)!=null&&o.__demoMode&&e.dataRef.current.value===void 0&&(s.activeOptionIndex=0),s},5:(e,t)=>{var n;if((n=e.dataRef.current)!=null&&n.virtual)return{...e,options:e.options.filter(o=>o.id!==t.id)};let r=Pr(e,o=>{let i=o.findIndex(l=>l.id===t.id);return i!==-1&&o.splice(i,1),o});return{...e,...r,activationTrigger:2}},6:(e,t)=>e.activationTrigger===t.trigger?e:{...e,activationTrigger:t.trigger},7:(e,t)=>{var n,r;if(e.virtual===null)return{...e,virtual:{options:t.options,disabled:(n=t.disabled)!=null?n:()=>!1}};if(e.virtual.options===t.options&&e.virtual.disabled===t.disabled)return e;let o=e.activeOptionIndex;if(e.activeOptionIndex!==null){let i=t.options.indexOf(e.virtual.options[e.activeOptionIndex]);i!==-1?o=i:o=null}return{...e,activeOptionIndex:o,virtual:{options:t.options,disabled:(r=t.disabled)!=null?r:()=>!1}}},8:(e,t)=>e.inputElement===t.element?e:{...e,inputElement:t.element},9:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},10:(e,t)=>e.optionsElement===t.element?e:{...e,optionsElement:t.element}},Mr=c.createContext(null);Mr.displayName="ComboboxActionsContext";function Qt(e){let t=c.useContext(Mr);if(t===null){let n=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Qt),n}return t}let _s=c.createContext(null);function xd(e){let t=Mt("VirtualProvider"),{options:n}=t.virtual,[r,o]=c.useMemo(()=>{let h=t.optionsElement;if(!h)return[0,0];let m=window.getComputedStyle(h);return[parseFloat(m.paddingBlockStart||m.paddingTop),parseFloat(m.paddingBlockEnd||m.paddingBottom)]},[t.optionsElement]),i=gu({enabled:n.length!==0,scrollPaddingStart:r,scrollPaddingEnd:o,count:n.length,estimateSize(){return 40},getScrollElement(){return t.optionsElement},overscan:12}),[l,s]=c.useState(0);ue(()=>{s(h=>h+1)},[n]);let a=i.getVirtualItems();return a.length===0?null:c.createElement(_s.Provider,{value:i},c.createElement("div",{style:{position:"relative",width:"100%",height:`${i.getTotalSize()}px`},ref:h=>{h&&t.activationTrigger!==0&&t.activeOptionIndex!==null&&n.length>t.activeOptionIndex&&i.scrollToIndex(t.activeOptionIndex)}},a.map(h=>{var m;return c.createElement(c.Fragment,{key:h.key},c.cloneElement((m=e.children)==null?void 0:m.call(e,{...e.slot,option:n[h.index]}),{key:`${l}-${h.key}`,"data-index":h.index,"aria-setsize":n.length,"aria-posinset":h.index+1,style:{position:"absolute",top:0,left:0,transform:`translateY(${h.start}px)`,overflowAnchor:"none"}}))})))}let Jt=c.createContext(null);Jt.displayName="ComboboxDataContext";function Mt(e){let t=c.useContext(Jt);if(t===null){let n=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Mt),n}return t}function yd(e,t){return Te(t.type,wd,e,t)}let Ed=c.Fragment;function Sd(e,t){var n,r;let o=dn(),{value:i,defaultValue:l,onChange:s,form:a,name:h,by:m,disabled:b=o||!1,onClose:f,__demoMode:d=!1,multiple:u=!1,immediate:p=!1,virtual:v=null,nullable:y,...E}=e,w=li(l),[x=u?[]:void 0,k]=si(i,s,w),[S,C]=c.useReducer(yd,{dataRef:c.createRef(),comboboxState:d?0:1,isTyping:!1,options:[],virtual:v?{options:v.options,disabled:(n=v.disabled)!=null?n:()=>!1}:null,activeOptionIndex:null,activationTrigger:2,inputElement:null,buttonElement:null,optionsElement:null,__demoMode:d}),R=c.useRef(!1),W=c.useRef({static:!1,hold:!1}),D=Oi(m),I=A(F=>v?m===null?v.options.indexOf(F):v.options.findIndex(G=>D(G,F)):S.options.findIndex(G=>D(G.dataRef.current.value,F))),K=c.useCallback(F=>Te(M.mode,{1:()=>x.some(G=>D(G,F)),0:()=>D(x,F)}),[x]),P=A(F=>S.activeOptionIndex===I(F)),M=c.useMemo(()=>({...S,immediate:p,optionsPropsRef:W,value:x,defaultValue:w,disabled:b,mode:u?1:0,virtual:v?S.virtual:null,get activeOptionIndex(){if(R.current&&S.activeOptionIndex===null&&(v?v.options.length>0:S.options.length>0)){if(v){let G=v.options.findIndex(ge=>{var ke,Ne;return!((Ne=(ke=v.disabled)==null?void 0:ke.call(v,ge))!=null&&Ne)});if(G!==-1)return G}let F=S.options.findIndex(G=>!G.dataRef.current.disabled);if(F!==-1)return F}return S.activeOptionIndex},calculateIndex:I,compare:D,isSelected:K,isActive:P}),[x,w,b,u,d,S,v]);ue(()=>{var F;v&&C({type:7,options:v.options,disabled:(F=v.disabled)!=null?F:null})},[v,v?.options,v?.disabled]),ue(()=>{S.dataRef.current=M},[M]);let X=M.comboboxState===0;Di(X,[M.buttonElement,M.inputElement,M.optionsElement],()=>fe.closeCombobox());let J=c.useMemo(()=>{var F,G,ge;return{open:M.comboboxState===0,disabled:b,activeIndex:M.activeOptionIndex,activeOption:M.activeOptionIndex===null?null:M.virtual?M.virtual.options[(F=M.activeOptionIndex)!=null?F:0]:(ge=(G=M.options[M.activeOptionIndex])==null?void 0:G.dataRef.current.value)!=null?ge:null,value:x}},[M,b,x]),Z=A(()=>{if(M.activeOptionIndex!==null){if(fe.setIsTyping(!1),M.virtual)T(M.virtual.options[M.activeOptionIndex]);else{let{dataRef:F}=M.options[M.activeOptionIndex];T(F.current.value)}fe.goToOption(re.Specific,M.activeOptionIndex)}}),$=A(()=>{C({type:0}),R.current=!0}),z=A(()=>{C({type:1}),R.current=!1,f?.()}),Q=A(F=>{C({type:3,isTyping:F})}),ie=A((F,G,ge)=>(R.current=!1,F===re.Specific?C({type:2,focus:re.Specific,idx:G,trigger:ge}):C({type:2,focus:F,trigger:ge}))),le=A((F,G)=>(C({type:4,payload:{id:F,dataRef:G}}),()=>{M.isActive(G.current.value)&&(R.current=!0),C({type:5,id:F})})),T=A(F=>Te(M.mode,{0(){return k?.(F)},1(){let G=M.value.slice(),ge=G.findIndex(ke=>D(ke,F));return ge===-1?G.push(F):G.splice(ge,1),k?.(G)}})),te=A(F=>{C({type:6,trigger:F})}),ne=A(F=>{C({type:8,element:F})}),pe=A(F=>{C({type:9,element:F})}),ae=A(F=>{C({type:10,element:F})}),fe=c.useMemo(()=>({onChange:T,registerOption:le,goToOption:ie,setIsTyping:Q,closeCombobox:z,openCombobox:$,setActivationTrigger:te,selectActiveOption:Z,setInputElement:ne,setButtonElement:pe,setOptionsElement:ae}),[]),[he,We]=gi(),Ge=t===null?{}:{ref:t},O=c.useCallback(()=>{if(w!==void 0)return k?.(w)},[k,w]),V=Ee();return c.createElement(We,{value:he,props:{htmlFor:(r=M.inputElement)==null?void 0:r.id},slot:{open:M.comboboxState===0,disabled:b}},c.createElement(Es,null,c.createElement(Mr.Provider,{value:fe},c.createElement(Jt.Provider,{value:M},c.createElement(Cr,{value:Te(M.comboboxState,{0:Le.Open,1:Le.Closed})},h!=null&&c.createElement(fi,{disabled:b,data:x!=null?{[h]:x}:{},form:a,onReset:O}),V({ourProps:Ge,theirProps:E,slot:J,defaultTag:Ed,name:"Combobox"}))))))}let Od="input";function Td(e,t){var n,r,o,i,l;let s=Mt("Combobox.Input"),a=Qt("Combobox.Input"),h=c.useId(),m=nr(),{id:b=m||`headlessui-combobox-input-${h}`,onChange:f,displayValue:d,disabled:u=s.disabled||!1,autoFocus:p=!1,type:v="text",...y}=e,E=c.useRef(null),w=Pe(E,t,gs(),a.setInputElement),x=zt(s.inputElement),k=lt(),S=A(()=>{a.onChange(null),s.optionsElement&&(s.optionsElement.scrollTop=0),a.goToOption(re.Nothing)}),C=c.useMemo(()=>{var T;return typeof d=="function"&&s.value!==void 0?(T=d(s.value))!=null?T:"":typeof s.value=="string"?s.value:""},[s.value,d]);zi(([T,te],[ne,pe])=>{if(s.isTyping)return;let ae=E.current;ae&&((pe===0&&te===1||T!==ne)&&(ae.value=T),requestAnimationFrame(()=>{if(s.isTyping||!ae||x?.activeElement!==ae)return;let{selectionStart:fe,selectionEnd:he}=ae;Math.abs((he??0)-(fe??0))===0&&fe===0&&ae.setSelectionRange(ae.value.length,ae.value.length)}))},[C,s.comboboxState,x,s.isTyping]),zi(([T],[te])=>{if(T===0&&te===1){if(s.isTyping)return;let ne=E.current;if(!ne)return;let pe=ne.value,{selectionStart:ae,selectionEnd:fe,selectionDirection:he}=ne;ne.value="",ne.value=pe,he!==null?ne.setSelectionRange(ae,fe,he):ne.setSelectionRange(ae,fe)}},[s.comboboxState]);let R=c.useRef(!1),W=A(()=>{R.current=!0}),D=A(()=>{k.nextFrame(()=>{R.current=!1})}),I=A(T=>{switch(a.setIsTyping(!0),T.key){case de.Enter:if(s.comboboxState!==0||R.current)return;if(T.preventDefault(),T.stopPropagation(),s.activeOptionIndex===null){a.closeCombobox();return}a.selectActiveOption(),s.mode===0&&a.closeCombobox();break;case de.ArrowDown:return T.preventDefault(),T.stopPropagation(),Te(s.comboboxState,{0:()=>a.goToOption(re.Next),1:()=>a.openCombobox()});case de.ArrowUp:return T.preventDefault(),T.stopPropagation(),Te(s.comboboxState,{0:()=>a.goToOption(re.Previous),1:()=>{xe.flushSync(()=>a.openCombobox()),s.value||a.goToOption(re.Last)}});case de.Home:if(T.shiftKey)break;return T.preventDefault(),T.stopPropagation(),a.goToOption(re.First);case de.PageUp:return T.preventDefault(),T.stopPropagation(),a.goToOption(re.First);case de.End:if(T.shiftKey)break;return T.preventDefault(),T.stopPropagation(),a.goToOption(re.Last);case de.PageDown:return T.preventDefault(),T.stopPropagation(),a.goToOption(re.Last);case de.Escape:return s.comboboxState!==0?void 0:(T.preventDefault(),s.optionsElement&&!s.optionsPropsRef.current.static&&T.stopPropagation(),s.mode===0&&s.value===null&&S(),a.closeCombobox());case de.Tab:if(s.comboboxState!==0)return;s.mode===0&&s.activationTrigger!==1&&a.selectActiveOption(),a.closeCombobox();break}}),K=A(T=>{f?.(T),s.mode===0&&T.target.value===""&&S(),a.openCombobox()}),P=A(T=>{var te,ne,pe;let ae=(te=T.relatedTarget)!=null?te:wt.find(fe=>fe!==T.currentTarget);if(!((ne=s.optionsElement)!=null&&ne.contains(ae))&&!((pe=s.buttonElement)!=null&&pe.contains(ae))&&s.comboboxState===0)return T.preventDefault(),s.mode===0&&s.value===null&&S(),a.closeCombobox()}),M=A(T=>{var te,ne,pe;let ae=(te=T.relatedTarget)!=null?te:wt.find(fe=>fe!==T.currentTarget);(ne=s.buttonElement)!=null&&ne.contains(ae)||(pe=s.optionsElement)!=null&&pe.contains(ae)||s.disabled||s.immediate&&s.comboboxState!==0&&k.microTask(()=>{xe.flushSync(()=>a.openCombobox()),a.setActivationTrigger(1)})}),X=Ht(),J=vi(),{isFocused:Z,focusProps:$}=Qn({autoFocus:p}),{isHovered:z,hoverProps:Q}=Xn({isDisabled:u}),ie=c.useMemo(()=>({open:s.comboboxState===0,disabled:u,hover:z,focus:Z,autofocus:p}),[s,z,Z,p,u]),le=Vt({ref:w,id:b,role:"combobox",type:v,"aria-controls":(n=s.optionsElement)==null?void 0:n.id,"aria-expanded":s.comboboxState===0,"aria-activedescendant":s.activeOptionIndex===null?void 0:s.virtual?(r=s.options.find(T=>!T.dataRef.current.disabled&&s.compare(T.dataRef.current.value,s.virtual.options[s.activeOptionIndex])))==null?void 0:r.id:(o=s.options[s.activeOptionIndex])==null?void 0:o.id,"aria-labelledby":X,"aria-describedby":J,"aria-autocomplete":"list",defaultValue:(l=(i=e.defaultValue)!=null?i:s.defaultValue!==void 0?d?.(s.defaultValue):null)!=null?l:s.defaultValue,disabled:u||void 0,autoFocus:p,onCompositionStart:W,onCompositionEnd:D,onKeyDown:I,onChange:K,onFocus:M,onBlur:P},$,Q);return Ee()({ourProps:le,theirProps:y,slot:ie,defaultTag:Od,name:"Combobox.Input"})}let kd="button";function Cd(e,t){var n;let r=Mt("Combobox.Button"),o=Qt("Combobox.Button"),i=Pe(t,o.setButtonElement),l=c.useId(),{id:s=`headlessui-combobox-button-${l}`,disabled:a=r.disabled||!1,autoFocus:h=!1,...m}=e,b=ji(r.inputElement),f=A(C=>{switch(C.key){case de.Space:case de.Enter:C.preventDefault(),C.stopPropagation(),r.comboboxState===1&&xe.flushSync(()=>o.openCombobox()),b();return;case de.ArrowDown:C.preventDefault(),C.stopPropagation(),r.comboboxState===1&&(xe.flushSync(()=>o.openCombobox()),r.value||o.goToOption(re.First)),b();return;case de.ArrowUp:C.preventDefault(),C.stopPropagation(),r.comboboxState===1&&(xe.flushSync(()=>o.openCombobox()),r.value||o.goToOption(re.Last)),b();return;case de.Escape:if(r.comboboxState!==0)return;C.preventDefault(),r.optionsElement&&!r.optionsPropsRef.current.static&&C.stopPropagation(),xe.flushSync(()=>o.closeCombobox()),b();return;default:return}}),d=A(C=>{C.preventDefault(),!pi(C.currentTarget)&&(C.button===_r.Left&&(r.comboboxState===0?o.closeCombobox():o.openCombobox()),b())}),u=Ht([s]),{isFocusVisible:p,focusProps:v}=Qn({autoFocus:h}),{isHovered:y,hoverProps:E}=Xn({isDisabled:a}),{pressed:w,pressProps:x}=oi({disabled:a}),k=c.useMemo(()=>({open:r.comboboxState===0,active:w||r.comboboxState===0,disabled:a,value:r.value,hover:y,focus:p}),[r,y,p,w,a]),S=Vt({ref:i,id:s,type:Wi(e,r.buttonElement),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":(n=r.optionsElement)==null?void 0:n.id,"aria-expanded":r.comboboxState===0,"aria-labelledby":u,disabled:a||void 0,autoFocus:h,onMouseDown:d,onKeyDown:f},v,E,x);return Ee()({ourProps:S,theirProps:m,slot:k,defaultTag:kd,name:"Combobox.Button"})}let _d="div",Id=Ot.RenderStrategy|Ot.Static;function Pd(e,t){var n,r,o;let i=c.useId(),{id:l=`headlessui-combobox-options-${i}`,hold:s=!1,anchor:a,portal:h=!1,modal:m=!0,transition:b=!1,...f}=e,d=Mt("Combobox.Options"),u=Qt("Combobox.Options"),p=bs(a);p&&(h=!0);let[v,y]=xs(p),[E,w]=c.useState(null),x=ws(),k=Pe(t,p?v:null,u.setOptionsElement,w),S=zt(d.optionsElement),C=Tn(),[R,W]=fr(b,E,C!==null?(C&Le.Open)===Le.Open:d.comboboxState===0);Pi(R,d.inputElement,u.closeCombobox);let D=d.__demoMode?!1:m&&d.comboboxState===0;Bi(D,S);let I=d.__demoMode?!1:m&&d.comboboxState===0;Ii(I,{allowed:c.useCallback(()=>[d.inputElement,d.buttonElement,d.optionsElement],[d.inputElement,d.buttonElement,d.optionsElement])}),ue(()=>{var le;d.optionsPropsRef.current.static=(le=e.static)!=null?le:!1},[d.optionsPropsRef,e.static]),ue(()=>{d.optionsPropsRef.current.hold=s},[d.optionsPropsRef,s]),$u(d.comboboxState===0,{container:d.optionsElement,accept(le){return le.getAttribute("role")==="option"?NodeFilter.FILTER_REJECT:le.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(le){le.setAttribute("role","none")}});let K=Ht([(n=d.buttonElement)==null?void 0:n.id]),P=c.useMemo(()=>({open:d.comboboxState===0,option:void 0}),[d.comboboxState]),M=A(()=>{u.setActivationTrigger(0)}),X=A(le=>{le.preventDefault(),u.setActivationTrigger(0)}),J=Vt(p?x():{},{"aria-labelledby":K,role:"listbox","aria-multiselectable":d.mode===1?!0:void 0,id:l,ref:k,style:{...f.style,...y,"--input-width":ir(d.inputElement,!0).width,"--button-width":ir(d.buttonElement,!0).width},onWheel:d.activationTrigger===0?void 0:M,onMouseDown:X,...dr(W)}),Z=R&&d.comboboxState===1,$=On(Z,(r=d.virtual)==null?void 0:r.options),z=On(Z,d.value),Q=A(le=>d.compare(z,le));if(d.virtual){if($===void 0)throw new Error("Missing `options` in virtual mode");Object.assign(f,{children:c.createElement(Jt.Provider,{value:$!==d.virtual.options?{...d,virtual:{...d.virtual,options:$}}:d},c.createElement(xd,{slot:P},f.children))})}let ie=Ee();return c.createElement(Cs,{enabled:h?e.static||R:!1},c.createElement(Jt.Provider,{value:d.mode===1?d:{...d,isSelected:Q}},ie({ourProps:J,theirProps:{...f,children:c.createElement(ed,{freeze:Z},typeof f.children=="function"?(o=f.children)==null?void 0:o.call(f,P):f.children)},slot:P,defaultTag:_d,features:Id,visible:R,name:"Combobox.Options"})))}let Md="div";function Ad(e,t){var n,r,o,i;let l=Mt("Combobox.Option"),s=Qt("Combobox.Option"),a=c.useId(),{id:h=`headlessui-combobox-option-${a}`,value:m,disabled:b=(o=(r=(n=l.virtual)==null?void 0:n.disabled)==null?void 0:r.call(n,m))!=null?o:!1,order:f=null,...d}=e,u=ji(l.inputElement),p=l.virtual?l.activeOptionIndex===l.calculateIndex(m):l.activeOptionIndex===null?!1:((i=l.options[l.activeOptionIndex])==null?void 0:i.id)===h,v=l.isSelected(m),y=c.useRef(null),E=nt({disabled:b,value:m,domRef:y,order:f}),w=c.useContext(_s),x=Pe(t,y,w?w.measureElement:null),k=A(()=>{s.setIsTyping(!1),s.onChange(m)});ue(()=>s.registerOption(h,E),[E,h]);let S=c.useRef(!(l.virtual||l.__demoMode));ue(()=>{if(!l.virtual&&!l.__demoMode)return qe().requestAnimationFrame(()=>{S.current=!0})},[l.virtual,l.__demoMode]),ue(()=>{if(S.current&&l.comboboxState===0&&p&&l.activationTrigger!==0)return qe().requestAnimationFrame(()=>{var X,J;(J=(X=y.current)==null?void 0:X.scrollIntoView)==null||J.call(X,{block:"nearest"})})},[y,p,l.comboboxState,l.activationTrigger,l.activeOptionIndex]);let C=A(X=>{X.preventDefault(),X.button===_r.Left&&(b||(k(),Li()||requestAnimationFrame(()=>u()),l.mode===0&&s.closeCombobox()))}),R=A(()=>{if(b)return s.goToOption(re.Nothing);let X=l.calculateIndex(m);s.goToOption(re.Specific,X)}),W=Hi(),D=A(X=>W.update(X)),I=A(X=>{if(!W.wasMoved(X)||b||p)return;let J=l.calculateIndex(m);s.goToOption(re.Specific,J,0)}),K=A(X=>{W.wasMoved(X)&&(b||p&&(l.optionsPropsRef.current.hold||s.goToOption(re.Nothing)))}),P=c.useMemo(()=>({active:p,focus:p,selected:v,disabled:b}),[p,v,b]),M={id:h,ref:x,role:"option",tabIndex:b===!0?void 0:-1,"aria-disabled":b===!0?!0:void 0,"aria-selected":v,disabled:void 0,onMouseDown:C,onFocus:R,onPointerEnter:D,onMouseEnter:D,onPointerMove:I,onMouseMove:I,onPointerLeave:K,onMouseLeave:K};return Ee()({ourProps:M,theirProps:d,slot:P,defaultTag:Md,name:"Combobox.Option"})}let Fd=ye(Sd),Ld=ye(Cd),Nd=ye(Td),Dd=wi,jd=ye(Pd),Wd=ye(Ad),Zt=Object.assign(Fd,{Input:Nd,Button:Ld,Label:Dd,Options:jd,Option:Wd});function Bd(){let e=c.useRef(!1);return ue(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function Is(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||((t=e.as)!=null?t:Ms)!==c.Fragment||c.Children.count(e.children)===1}let kn=c.createContext(null);kn.displayName="TransitionContext";var Vd=(e=>(e.Visible="visible",e.Hidden="hidden",e))(Vd||{});function Hd(){let e=c.useContext(kn);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function Rd(){let e=c.useContext(Cn);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let Cn=c.createContext(null);Cn.displayName="NestingContext";function _n(e){return"children"in e?_n(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function Ps(e,t){let n=nt(e),r=c.useRef([]),o=Bd(),i=lt(),l=A((d,u=at.Hidden)=>{let p=r.current.findIndex(({el:v})=>v===d);p!==-1&&(Te(u,{[at.Unmount](){r.current.splice(p,1)},[at.Hidden](){r.current[p].state="hidden"}}),i.microTask(()=>{var v;!_n(r)&&o.current&&((v=n.current)==null||v.call(n))}))}),s=A(d=>{let u=r.current.find(({el:p})=>p===d);return u?u.state!=="visible"&&(u.state="visible"):r.current.push({el:d,state:"visible"}),()=>l(d,at.Unmount)}),a=c.useRef([]),h=c.useRef(Promise.resolve()),m=c.useRef({enter:[],leave:[]}),b=A((d,u,p)=>{a.current.splice(0),t&&(t.chains.current[u]=t.chains.current[u].filter(([v])=>v!==d)),t?.chains.current[u].push([d,new Promise(v=>{a.current.push(v)})]),t?.chains.current[u].push([d,new Promise(v=>{Promise.all(m.current[u].map(([y,E])=>E)).then(()=>v())})]),u==="enter"?h.current=h.current.then(()=>t?.wait.current).then(()=>p(u)):p(u)}),f=A((d,u,p)=>{Promise.all(m.current[u].splice(0).map(([v,y])=>y)).then(()=>{var v;(v=a.current.shift())==null||v()}).then(()=>p(u))});return c.useMemo(()=>({children:r,register:s,unregister:l,onStart:b,onStop:f,wait:h,chains:m}),[s,l,r,b,f,m,h])}let Ms=c.Fragment,As=Ot.RenderStrategy;function Ud(e,t){var n,r;let{transition:o=!0,beforeEnter:i,afterEnter:l,beforeLeave:s,afterLeave:a,enter:h,enterFrom:m,enterTo:b,entered:f,leave:d,leaveFrom:u,leaveTo:p,...v}=e,[y,E]=c.useState(null),w=c.useRef(null),x=Is(e),k=Pe(...x?[w,t,E]:t===null?[]:[t]),S=(n=v.unmount)==null||n?at.Unmount:at.Hidden,{show:C,appear:R,initial:W}=Hd(),[D,I]=c.useState(C?"visible":"hidden"),K=Rd(),{register:P,unregister:M}=K;ue(()=>P(w),[P,w]),ue(()=>{if(S===at.Hidden&&w.current){if(C&&D!=="visible"){I("visible");return}return Te(D,{hidden:()=>M(w),visible:()=>P(w)})}},[D,w,P,M,C,S]);let X=Ir();ue(()=>{if(x&&X&&D==="visible"&&w.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[w,D,X,x]);let J=W&&!R,Z=R&&C&&W,$=c.useRef(!1),z=Ps(()=>{$.current||(I("hidden"),M(w))},K),Q=A(ae=>{$.current=!0;let fe=ae?"enter":"leave";z.onStart(w,fe,he=>{he==="enter"?i?.():he==="leave"&&s?.()})}),ie=A(ae=>{let fe=ae?"enter":"leave";$.current=!1,z.onStop(w,fe,he=>{he==="enter"?l?.():he==="leave"&&a?.()}),fe==="leave"&&!_n(z)&&(I("hidden"),M(w))});c.useEffect(()=>{x&&o||(Q(C),ie(C))},[C,x,o]);let le=(()=>!(!o||!x||!X||J))(),[,T]=fr(le,y,C,{start:Q,end:ie}),te=ut({ref:k,className:((r=Zn(v.className,Z&&h,Z&&m,T.enter&&h,T.enter&&T.closed&&m,T.enter&&!T.closed&&b,T.leave&&d,T.leave&&!T.closed&&u,T.leave&&T.closed&&p,!T.transition&&C&&f))==null?void 0:r.trim())||void 0,...dr(T)}),ne=0;D==="visible"&&(ne|=Le.Open),D==="hidden"&&(ne|=Le.Closed),T.enter&&(ne|=Le.Opening),T.leave&&(ne|=Le.Closing);let pe=Ee();return c.createElement(Cn.Provider,{value:z},c.createElement(Cr,{value:ne},pe({ourProps:te,theirProps:v,defaultTag:Ms,features:As,visible:D==="visible",name:"Transition.Child"})))}function zd(e,t){let{show:n,appear:r=!1,unmount:o=!0,...i}=e,l=c.useRef(null),s=Is(e),a=Pe(...s?[l,t]:t===null?[]:[t]);Ir();let h=Tn();if(n===void 0&&h!==null&&(n=(h&Le.Open)===Le.Open),n===void 0)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[m,b]=c.useState(n?"visible":"hidden"),f=Ps(()=>{n||b("hidden")}),[d,u]=c.useState(!0),p=c.useRef([n]);ue(()=>{d!==!1&&p.current[p.current.length-1]!==n&&(p.current.push(n),u(!1))},[p,n]);let v=c.useMemo(()=>({show:n,appear:r,initial:d}),[n,r,d]);ue(()=>{n?b("visible"):!_n(f)&&l.current!==null&&b("hidden")},[n,f]);let y={unmount:o},E=A(()=>{var k;d&&u(!1),(k=e.beforeEnter)==null||k.call(e)}),w=A(()=>{var k;d&&u(!1),(k=e.beforeLeave)==null||k.call(e)}),x=Ee();return c.createElement(Cn.Provider,{value:f},c.createElement(kn.Provider,{value:v},x({ourProps:{...y,as:c.Fragment,children:c.createElement(Fs,{ref:a,...y,...i,beforeEnter:E,beforeLeave:w})},theirProps:{},defaultTag:c.Fragment,features:As,visible:m==="visible",name:"Transition"})))}function $d(e,t){let n=c.useContext(kn)!==null,r=Tn()!==null;return c.createElement(c.Fragment,null,!n&&r?c.createElement(Ar,{ref:t,...e}):c.createElement(Fs,{ref:t,...e}))}let Ar=ye(zd),Fs=ye(Ud),qd=ye($d),Ls=Object.assign(Ar,{Child:qd,Root:Ar});function Yd(e,t){let n=c.useRef({left:0,top:0});if(ue(()=>{if(!t)return;let o=t.getBoundingClientRect();o&&(n.current=o)},[e,t]),t==null||!e||t===document.activeElement)return!1;let r=t.getBoundingClientRect();return r.top!==n.current.top||r.left!==n.current.left}let Ns=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function Ds(e){var t,n;let r=(t=e.innerText)!=null?t:"",o=e.cloneNode(!0);if(!(o instanceof HTMLElement))return r;let i=!1;for(let s of o.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))s.remove(),i=!0;let l=i?(n=o.innerText)!=null?n:"":r;return Ns.test(l)&&(l=l.replace(Ns,"")),l}function Kd(e){let t=e.getAttribute("aria-label");if(typeof t=="string")return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let r=n.split(" ").map(o=>{let i=document.getElementById(o);if(i){let l=i.getAttribute("aria-label");return typeof l=="string"?l.trim():Ds(i).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return Ds(e).trim()}function Gd(e){let t=c.useRef(""),n=c.useRef("");return A(()=>{let r=e.current;if(!r)return"";let o=r.innerText;if(t.current===o)return n.current;let i=Kd(r).trim().toLowerCase();return t.current=o,n.current=i,i})}var Xd=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Xd||{}),Qd=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(Qd||{}),Jd=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Jd||{}),Zd=(e=>(e[e.OpenListbox=0]="OpenListbox",e[e.CloseListbox=1]="CloseListbox",e[e.GoToOption=2]="GoToOption",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterOption=5]="RegisterOption",e[e.UnregisterOption=6]="UnregisterOption",e[e.SetButtonElement=7]="SetButtonElement",e[e.SetOptionsElement=8]="SetOptionsElement",e))(Zd||{});function Fr(e,t=n=>n){let n=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,r=cr(t(e.options.slice()),i=>i.dataRef.current.domRef.current),o=n?r.indexOf(n):null;return o===-1&&(o=null),{options:r,activeOptionIndex:o}}let ef={1(e){return e.dataRef.current.disabled||e.listboxState===1?e:{...e,activeOptionIndex:null,listboxState:1,__demoMode:!1}},0(e){if(e.dataRef.current.disabled||e.listboxState===0)return e;let t=e.activeOptionIndex,{isSelected:n}=e.dataRef.current,r=e.options.findIndex(o=>n(o.dataRef.current.value));return r!==-1&&(t=r),{...e,listboxState:0,activeOptionIndex:t,__demoMode:!1}},2(e,t){var n,r,o,i,l;if(e.dataRef.current.disabled||e.listboxState===1)return e;let s={...e,searchQuery:"",activationTrigger:(n=t.trigger)!=null?n:1,__demoMode:!1};if(t.focus===re.Nothing)return{...s,activeOptionIndex:null};if(t.focus===re.Specific)return{...s,activeOptionIndex:e.options.findIndex(m=>m.id===t.id)};if(t.focus===re.Previous){let m=e.activeOptionIndex;if(m!==null){let b=e.options[m].dataRef.current.domRef,f=Xt(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:d=>d.id,resolveDisabled:d=>d.dataRef.current.disabled});if(f!==null){let d=e.options[f].dataRef.current.domRef;if(((r=b.current)==null?void 0:r.previousElementSibling)===d.current||((o=d.current)==null?void 0:o.previousElementSibling)===null)return{...s,activeOptionIndex:f}}}}else if(t.focus===re.Next){let m=e.activeOptionIndex;if(m!==null){let b=e.options[m].dataRef.current.domRef,f=Xt(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:d=>d.id,resolveDisabled:d=>d.dataRef.current.disabled});if(f!==null){let d=e.options[f].dataRef.current.domRef;if(((i=b.current)==null?void 0:i.nextElementSibling)===d.current||((l=d.current)==null?void 0:l.nextElementSibling)===null)return{...s,activeOptionIndex:f}}}}let a=Fr(e),h=Xt(t,{resolveItems:()=>a.options,resolveActiveIndex:()=>a.activeOptionIndex,resolveId:m=>m.id,resolveDisabled:m=>m.dataRef.current.disabled});return{...s,...a,activeOptionIndex:h}},3:(e,t)=>{if(e.dataRef.current.disabled||e.listboxState===1)return e;let n=e.searchQuery!==""?0:1,r=e.searchQuery+t.value.toLowerCase(),o=(e.activeOptionIndex!==null?e.options.slice(e.activeOptionIndex+n).concat(e.options.slice(0,e.activeOptionIndex+n)):e.options).find(l=>{var s;return!l.dataRef.current.disabled&&((s=l.dataRef.current.textValue)==null?void 0:s.startsWith(r))}),i=o?e.options.indexOf(o):-1;return i===-1||i===e.activeOptionIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeOptionIndex:i,activationTrigger:1}},4(e){return e.dataRef.current.disabled||e.listboxState===1||e.searchQuery===""?e:{...e,searchQuery:""}},5:(e,t)=>{let n={id:t.id,dataRef:t.dataRef},r=Fr(e,o=>[...o,n]);return e.activeOptionIndex===null&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(r.activeOptionIndex=r.options.indexOf(n)),{...e,...r}},6:(e,t)=>{let n=Fr(e,r=>{let o=r.findIndex(i=>i.id===t.id);return o!==-1&&r.splice(o,1),r});return{...e,...n,activationTrigger:1}},7:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},8:(e,t)=>e.optionsElement===t.element?e:{...e,optionsElement:t.element}},Lr=c.createContext(null);Lr.displayName="ListboxActionsContext";function In(e){let t=c.useContext(Lr);if(t===null){let n=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,In),n}return t}let Pn=c.createContext(null);Pn.displayName="ListboxDataContext";function en(e){let t=c.useContext(Pn);if(t===null){let n=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,en),n}return t}function tf(e,t){return Te(t.type,ef,e,t)}let nf=c.Fragment;function rf(e,t){var n;let r=dn(),{value:o,defaultValue:i,form:l,name:s,onChange:a,by:h,invalid:m=!1,disabled:b=r||!1,horizontal:f=!1,multiple:d=!1,__demoMode:u=!1,...p}=e;const v=f?"horizontal":"vertical";let y=Pe(t),E=li(i),[w=d?[]:void 0,x]=si(o,a,E),[k,S]=c.useReducer(tf,{dataRef:c.createRef(),listboxState:u?0:1,options:[],searchQuery:"",activeOptionIndex:null,activationTrigger:1,optionsVisible:!1,buttonElement:null,optionsElement:null,__demoMode:u}),C=c.useRef({static:!1,hold:!1}),R=c.useRef(new Map),W=Oi(h),D=c.useCallback(O=>Te(I.mode,{1:()=>w.some(V=>W(V,O)),0:()=>W(w,O)}),[w]),I=c.useMemo(()=>({...k,value:w,disabled:b,invalid:m,mode:d?1:0,orientation:v,compare:W,isSelected:D,optionsPropsRef:C,listRef:R}),[w,b,m,d,k,R]);ue(()=>{k.dataRef.current=I},[I]);let K=I.listboxState===0;Di(K,[I.buttonElement,I.optionsElement],(O,V)=>{var F;S({type:1}),Ai(V,ur.Loose)||(O.preventDefault(),(F=I.buttonElement)==null||F.focus())});let P=c.useMemo(()=>({open:I.listboxState===0,disabled:b,invalid:m,value:w}),[I,b,w,m]),M=A(O=>{let V=I.options.find(F=>F.id===O);V&&ie(V.dataRef.current.value)}),X=A(()=>{if(I.activeOptionIndex!==null){let{dataRef:O,id:V}=I.options[I.activeOptionIndex];ie(O.current.value),S({type:2,focus:re.Specific,id:V})}}),J=A(()=>S({type:0})),Z=A(()=>S({type:1})),$=lt(),z=A((O,V,F)=>{$.dispose(),$.microTask(()=>O===re.Specific?S({type:2,focus:re.Specific,id:V,trigger:F}):S({type:2,focus:O,trigger:F}))}),Q=A((O,V)=>(S({type:5,id:O,dataRef:V}),()=>S({type:6,id:O}))),ie=A(O=>Te(I.mode,{0(){return x?.(O)},1(){let V=I.value.slice(),F=V.findIndex(G=>W(G,O));return F===-1?V.push(O):V.splice(F,1),x?.(V)}})),le=A(O=>S({type:3,value:O})),T=A(()=>S({type:4})),te=A(O=>{S({type:7,element:O})}),ne=A(O=>{S({type:8,element:O})}),pe=c.useMemo(()=>({onChange:ie,registerOption:Q,goToOption:z,closeListbox:Z,openListbox:J,selectActiveOption:X,selectOption:M,search:le,clearSearch:T,setButtonElement:te,setOptionsElement:ne}),[]),[ae,fe]=gi({inherit:!0}),he={ref:y},We=c.useCallback(()=>{if(E!==void 0)return x?.(E)},[x,E]),Ge=Ee();return c.createElement(fe,{value:ae,props:{htmlFor:(n=I.buttonElement)==null?void 0:n.id},slot:{open:I.listboxState===0,disabled:b}},c.createElement(Es,null,c.createElement(Lr.Provider,{value:pe},c.createElement(Pn.Provider,{value:I},c.createElement(Cr,{value:Te(I.listboxState,{0:Le.Open,1:Le.Closed})},s!=null&&w!=null&&c.createElement(fi,{disabled:b,data:{[s]:w},form:l,onReset:We}),Ge({ourProps:he,theirProps:p,slot:P,defaultTag:nf,name:"Listbox"}))))))}let of="button";function sf(e,t){var n;let r=en("Listbox.Button"),o=In("Listbox.Button"),i=c.useId(),l=nr(),{id:s=l||`headlessui-listbox-button-${i}`,disabled:a=r.disabled||!1,autoFocus:h=!1,...m}=e,b=Pe(t,gs(),o.setButtonElement),f=Qc(),d=A(I=>{switch(I.key){case de.Enter:qa(I.currentTarget);break;case de.Space:case de.ArrowDown:I.preventDefault(),xe.flushSync(()=>o.openListbox()),r.value||o.goToOption(re.First);break;case de.ArrowUp:I.preventDefault(),xe.flushSync(()=>o.openListbox()),r.value||o.goToOption(re.Last);break}}),u=A(I=>{switch(I.key){case de.Space:I.preventDefault();break}}),p=A(I=>{var K;if(pi(I.currentTarget))return I.preventDefault();r.listboxState===0?(xe.flushSync(()=>o.closeListbox()),(K=r.buttonElement)==null||K.focus({preventScroll:!0})):(I.preventDefault(),o.openListbox())}),v=A(I=>I.preventDefault()),y=Ht([s]),E=vi(),{isFocusVisible:w,focusProps:x}=Qn({autoFocus:h}),{isHovered:k,hoverProps:S}=Xn({isDisabled:a}),{pressed:C,pressProps:R}=oi({disabled:a}),W=c.useMemo(()=>({open:r.listboxState===0,active:C||r.listboxState===0,disabled:a,invalid:r.invalid,value:r.value,hover:k,focus:w,autofocus:h}),[r.listboxState,r.value,a,k,w,C,r.invalid,h]),D=Vt(f(),{ref:b,id:s,type:Wi(e,r.buttonElement),"aria-haspopup":"listbox","aria-controls":(n=r.optionsElement)==null?void 0:n.id,"aria-expanded":r.listboxState===0,"aria-labelledby":y,"aria-describedby":E,disabled:a||void 0,autoFocus:h,onKeyDown:d,onKeyUp:u,onKeyPress:v,onClick:p},x,S,R);return Ee()({ourProps:D,theirProps:m,slot:W,defaultTag:of,name:"Listbox.Button"})}let js=c.createContext(!1),lf="div",af=Ot.RenderStrategy|Ot.Static;function uf(e,t){var n,r;let o=c.useId(),{id:i=`headlessui-listbox-options-${o}`,anchor:l,portal:s=!1,modal:a=!0,transition:h=!1,...m}=e,b=bs(l),[f,d]=c.useState(null);b&&(s=!0);let u=en("Listbox.Options"),p=In("Listbox.Options"),v=zt(u.optionsElement),y=Tn(),[E,w]=fr(h,f,y!==null?(y&Le.Open)===Le.Open:u.listboxState===0);Pi(E,u.buttonElement,p.closeListbox);let x=u.__demoMode?!1:a&&u.listboxState===0;Bi(x,v);let k=u.__demoMode?!1:a&&u.listboxState===0;Ii(k,{allowed:c.useCallback(()=>[u.buttonElement,u.optionsElement],[u.buttonElement,u.optionsElement])});let S=u.listboxState!==0,C=Yd(S,u.buttonElement)?!1:E,R=E&&u.listboxState===1,W=On(R,u.value),D=A(T=>u.compare(W,T)),I=c.useMemo(()=>{var T;if(b==null||!((T=b?.to)!=null&&T.includes("selection")))return null;let te=u.options.findIndex(ne=>D(ne.dataRef.current.value));return te===-1&&(te=0),te},[b,u.options]),K=(()=>{if(b==null)return;if(I===null)return{...b,inner:void 0};let T=Array.from(u.listRef.current.values());return{...b,inner:{listRef:{current:T},index:I}}})(),[P,M]=xs(K),X=ws(),J=Pe(t,b?P:null,p.setOptionsElement,d),Z=lt();c.useEffect(()=>{var T;let te=u.optionsElement;te&&u.listboxState===0&&te!==((T=St(te))==null?void 0:T.activeElement)&&te?.focus({preventScroll:!0})},[u.listboxState,u.optionsElement]);let $=A(T=>{var te,ne;switch(Z.dispose(),T.key){case de.Space:if(u.searchQuery!=="")return T.preventDefault(),T.stopPropagation(),p.search(T.key);case de.Enter:if(T.preventDefault(),T.stopPropagation(),u.activeOptionIndex!==null){let{dataRef:pe}=u.options[u.activeOptionIndex];p.onChange(pe.current.value)}u.mode===0&&(xe.flushSync(()=>p.closeListbox()),(te=u.buttonElement)==null||te.focus({preventScroll:!0}));break;case Te(u.orientation,{vertical:de.ArrowDown,horizontal:de.ArrowRight}):return T.preventDefault(),T.stopPropagation(),p.goToOption(re.Next);case Te(u.orientation,{vertical:de.ArrowUp,horizontal:de.ArrowLeft}):return T.preventDefault(),T.stopPropagation(),p.goToOption(re.Previous);case de.Home:case de.PageUp:return T.preventDefault(),T.stopPropagation(),p.goToOption(re.First);case de.End:case de.PageDown:return T.preventDefault(),T.stopPropagation(),p.goToOption(re.Last);case de.Escape:T.preventDefault(),T.stopPropagation(),xe.flushSync(()=>p.closeListbox()),(ne=u.buttonElement)==null||ne.focus({preventScroll:!0});return;case de.Tab:T.preventDefault(),T.stopPropagation(),xe.flushSync(()=>p.closeListbox()),Pu(u.buttonElement,T.shiftKey?ar.Previous:ar.Next);break;default:T.key.length===1&&(p.search(T.key),Z.setTimeout(()=>p.clearSearch(),350));break}}),z=(n=u.buttonElement)==null?void 0:n.id,Q=c.useMemo(()=>({open:u.listboxState===0}),[u.listboxState]),ie=Vt(b?X():{},{id:i,ref:J,"aria-activedescendant":u.activeOptionIndex===null||(r=u.options[u.activeOptionIndex])==null?void 0:r.id,"aria-multiselectable":u.mode===1?!0:void 0,"aria-labelledby":z,"aria-orientation":u.orientation,onKeyDown:$,role:"listbox",tabIndex:u.listboxState===0?0:void 0,style:{...m.style,...M,"--button-width":ir(u.buttonElement,!0).width},...dr(w)}),le=Ee();return c.createElement(Cs,{enabled:s?e.static||E:!1},c.createElement(Pn.Provider,{value:u.mode===1?u:{...u,isSelected:D}},le({ourProps:ie,theirProps:m,slot:Q,defaultTag:lf,features:af,visible:C,name:"Listbox.Options"})))}let cf="div";function df(e,t){let n=c.useId(),{id:r=`headlessui-listbox-option-${n}`,disabled:o=!1,value:i,...l}=e,s=c.useContext(js)===!0,a=en("Listbox.Option"),h=In("Listbox.Option"),m=a.activeOptionIndex!==null?a.options[a.activeOptionIndex].id===r:!1,b=a.isSelected(i),f=c.useRef(null),d=Gd(f),u=nt({disabled:o,value:i,domRef:f,get textValue(){return d()}}),p=Pe(t,f,W=>{W?a.listRef.current.set(r,W):a.listRef.current.delete(r)});ue(()=>{if(!a.__demoMode&&a.listboxState===0&&m&&a.activationTrigger!==0)return qe().requestAnimationFrame(()=>{var W,D;(D=(W=f.current)==null?void 0:W.scrollIntoView)==null||D.call(W,{block:"nearest"})})},[f,m,a.__demoMode,a.listboxState,a.activationTrigger,a.activeOptionIndex]),ue(()=>{if(!s)return h.registerOption(r,u)},[u,r,s]);let v=A(W=>{var D;if(o)return W.preventDefault();h.onChange(i),a.mode===0&&(xe.flushSync(()=>h.closeListbox()),(D=a.buttonElement)==null||D.focus({preventScroll:!0}))}),y=A(()=>{if(o)return h.goToOption(re.Nothing);h.goToOption(re.Specific,r)}),E=Hi(),w=A(W=>{E.update(W),!o&&(m||h.goToOption(re.Specific,r,0))}),x=A(W=>{E.wasMoved(W)&&(o||m||h.goToOption(re.Specific,r,0))}),k=A(W=>{E.wasMoved(W)&&(o||m&&h.goToOption(re.Nothing))}),S=c.useMemo(()=>({active:m,focus:m,selected:b,disabled:o,selectedOption:b&&s}),[m,b,o,s]),C=s?{}:{id:r,ref:p,role:"option",tabIndex:o===!0?void 0:-1,"aria-disabled":o===!0?!0:void 0,"aria-selected":b,disabled:void 0,onClick:v,onFocus:y,onPointerEnter:w,onMouseEnter:w,onPointerMove:x,onMouseMove:x,onPointerLeave:k,onMouseLeave:k},R=Ee();return!b&&s?null:R({ourProps:C,theirProps:l,slot:S,defaultTag:cf,name:"Listbox.Option"})}let ff=c.Fragment;function pf(e,t){let{options:n,placeholder:r,...o}=e,i={ref:Pe(t)},l=en("ListboxSelectedOption"),s=c.useMemo(()=>({}),[]),a=l.value===void 0||l.value===null||l.mode===1&&Array.isArray(l.value)&&l.value.length===0,h=Ee();return c.createElement(js.Provider,{value:!0},h({ourProps:i,theirProps:{...o,children:c.createElement(c.Fragment,null,r&&a?r:n)},slot:s,defaultTag:ff,name:"ListboxSelectedOption"}))}let mf=ye(rf),hf=ye(sf),vf=wi,bf=ye(uf),gf=ye(df),wf=ye(pf),Mn=Object.assign(mf,{Button:hf,Label:vf,Options:bf,Option:gf,SelectedOption:wf});function xf({title:e,titleId:t,...n},r){return B.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?B.createElement("title",{id:t},e):null,B.createElement("path",{fillRule:"evenodd",d:"M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}const Ws=B.forwardRef(xf),He={select:"_select_c79hj_1",selectContainer:"_selectContainer_c79hj_4",selectButton:"_selectButton_c79hj_7",open:"_open_c79hj_13",selectValue:"_selectValue_c79hj_16",seletIcon:"_seletIcon_c79hj_19",selectText:"_selectText_c79hj_22",chevronDownIconSpan:"_chevronDownIconSpan_c79hj_25",chevronDownIcon:"_chevronDownIcon_c79hj_25",leave:"_leave_c79hj_32",leaveFrom:"_leaveFrom_c79hj_36",leaveTo:"_leaveTo_c79hj_40",selectOptions:"_selectOptions_c79hj_44"},yf=({children:e,selected:t,onSelect:n,themeColor:r})=>{const[o,i]=c.useState(!1),[l,s]=c.useState(!1),a=c.useRef(null),h=c.useRef(null),m=c.useRef(null),[b,f]=c.useState({left:0,top:0}),d=c.useRef(0),u=c.useRef(0);let p="#333333";const v=S=>{n(S)},y=()=>{i(!0)},E=()=>{i(!1)};c.useEffect(()=>{const S=h.current;return S&&(S.addEventListener("focus",y),S.addEventListener("blur",E)),()=>{S&&(S.removeEventListener("focus",y),S.removeEventListener("blur",E))}},[y,E]);const w=()=>{d.current=window.innerHeight,u.current=document.body.scrollHeight,s(!0)};c.useEffect(()=>(w(),window.addEventListener("resize",w),()=>{window.addEventListener("resize",w)}),[]);const x=()=>u.current-(d.current+window.scrollY),k=()=>{if(a.current){const S=a.current.getBoundingClientRect();setTimeout(()=>{const C=m?.current?.getBoundingClientRect(),R=x(),W=d.current-S.bottom;let D;if(C){const I=S.height,K=S.top,P=C.height,M=P>=K+window.scrollY;P>=K&&(M||M&&W<=P||R>=P||W>=P)||K>=P&&W>=P?D=S.y+I:D=S.y-P,f({left:S.left,top:D??S.top})}},0)}};if(c.useEffect(()=>(window.addEventListener("scroll",k),window.addEventListener("resize",k),()=>{window.removeEventListener("scroll",k),window.removeEventListener("resize",k)}),[]),r){r=$e.convert3HexTo6(r);const S=rt(r);(S==="dark"||S==="light")&&(p=r==="#ffffff"?"#c8c8c8":r)}return _.jsx(Mn,{value:t,onChange:v,children:({open:S})=>_.jsxs("div",{className:He.select,children:[_.jsx("div",{className:He.selectContainer,ref:a,children:_.jsxs(Mn.Button,{"data-testid":"select-options",ref:h,onFocus:y,onBlur:E,onClick:k,onKeyDown:C=>{(C.key===" "||C.code==="Space"||C.code==="Enter")&&k()},style:{borderBottomColor:r&&(o||S)?p:""},className:`${He.selectButton} ${S?He.open:""}`,tabIndex:0,children:[t&&_.jsxs("span",{className:He.selectValue,children:[t.avatar&&_.jsx("img",{src:t.avatar,alt:"",className:He.seletIcon}),_.jsx("span",{className:He.selectText,children:t.label})]}),_.jsx("span",{className:He.chevronDownIconSpan,children:_.jsx(Ws,{className:He.chevronDownIcon,"aria-hidden":"true"})})]})}),l?xe.createPortal(_.jsx(_.Fragment,{children:S&&_.jsx("div",{style:{position:"fixed",inset:0,backgroundColor:"rgba(255,255,255,0)",zIndex:1e3},children:_.jsx("div",{ref:m,style:{position:"absolute",opacity:b.left?1:0,width:a.current?a.current.clientWidth:"auto",left:b.left,top:b.top},children:e})})}),document.body):null]})})},Ef=({children:e,setQuery:t})=>_.jsx(Ls,{as:c.Fragment,leave:He.leave,leaveFrom:He.leaveFrom,leaveTo:He.leaveTo,afterLeave:()=>t(""),children:_.jsx(Mn.Options,{className:He.selectOptions,children:e})}),Bs=c.forwardRef((e,t)=>_.jsx(Mn.Option,{ref:t,className:e.className,value:e.value,disabled:e.disable,children:e.children}));Bs.displayName="SelectOption";const Ke={autocomplete:"_autocomplete_1uhaj_1",autocompleteContainer:"_autocompleteContainer_1uhaj_4",disable:"_disable_1uhaj_7",autocompleteInput:"_autocompleteInput_1uhaj_16",autocompleteButton:"_autocompleteButton_1uhaj_25",chevronDownIcon:"_chevronDownIcon_1uhaj_28",leave:"_leave_1uhaj_35",leaveFrom:"_leaveFrom_1uhaj_39",leaveTo:"_leaveTo_1uhaj_43",autocompleteOptions:"_autocompleteOptions_1uhaj_47"},Sf=({children:e,selected:t,onSelect:n,setQuery:r,disable:o,clearSearch:i=!1,themeColor:l})=>{const s=c.useRef(null),a=c.useRef(null),[h,m]=c.useState(!1),[b,f]=c.useState(!1),d=c.useRef(null),u=c.useRef(null),[p,v]=c.useState({left:0,top:0}),y=c.useRef(0),E=c.useRef(0);let w={};c.useEffect(()=>{s.current&&t&&(s.current.value=t.label||"")},[t]);const x=()=>{y.current=window.innerHeight,E.current=document.body.scrollHeight,f(!0)};c.useEffect(()=>(x(),window.addEventListener("resize",x),()=>{window.addEventListener("resize",x)}),[]);const k=()=>E.current-(y.current+window.scrollY),S=()=>{if(d.current){const P=d.current.getBoundingClientRect();setTimeout(()=>{const M=u?.current?.getBoundingClientRect(),X=k(),J=y.current-P.bottom;let Z;if(M){const $=P.height,z=P.top,Q=M.height,ie=Q>z+window.scrollY;z<Q&&(ie||ie&&J<Q||X>Q||J>Q)||z>Q&&J>Q?Z=P.y+$:Z=P.y-Q,v({left:P.left,top:Z??P.top})}},0)}};c.useEffect(()=>(window.addEventListener("scroll",S),window.addEventListener("resize",S),()=>{window.removeEventListener("scroll",S),window.removeEventListener("resize",S)}),[]);const C=P=>{n(P),D()},R=()=>{S(),m(!0),s.current&&t&&(s.current.value=t.label||""),s.current&&a.current&&(i&&(s.current.value="",r("")),a.current.click())},W=P=>P?.label,D=()=>{const P=s.current;P&&P.setSelectionRange(P.value.length,P.value.length)},I=()=>{m(!0)},K=()=>{m(!1)};if(c.useEffect(()=>{const P=s.current;return P&&(P.addEventListener("focus",I),P.addEventListener("blur",K)),()=>{P&&(P.removeEventListener("focus",I),P.removeEventListener("blur",K))}},[I,K]),l){const P=rt(l);l=$e.convert3HexTo6(l),(P==="dark"||P==="light")&&(w={borderBottomColor:l==="#ffffff"?"#c8c8c8":h?l:"#333333"})}return _.jsx(Zt,{value:t,onChange:C,disabled:o,children:({open:P})=>_.jsxs("div",{className:Ke.autocomplete,children:[_.jsxs("div",{ref:d,className:`${Ke.autocompleteContainer} ${o?Ke.disable:""}`,children:[_.jsx(Zt.Input,{ref:s,"data-testid":"select-input",className:Ke.autocompleteInput,displayValue:W,onChange:M=>{r(M.target.value),S()},onClick:R,onFocus:I,onBlur:K,onKeyDown:M=>{(M.key===" "||M.code==="Space")&&S()},style:{...w},placeholder:"Select your option",autoComplete:"off"}),_.jsx(Zt.Button,{className:Ke.autocompleteButton,"data-testid":"select-button",ref:a,onClick:S,children:_.jsx(Ws,{className:`${Ke.chevronDownIcon} ${o?Ke.disable:""}`,"aria-hidden":"true"})})]}),b?xe.createPortal(_.jsx(_.Fragment,{children:P&&_.jsx("div",{style:{position:"fixed",inset:0,backgroundColor:"rgba(255,255,255,0)",zIndex:1e3},children:_.jsx("div",{ref:u,style:{position:"absolute",opacity:p.left?1:0,width:d.current?d.current.clientWidth:"auto",left:p.left,top:p.top},children:e})})}),document.body):null]})})},Of=({children:e,setQuery:t})=>_.jsx(Ls,{as:c.Fragment,leave:Ke.leave,leaveFrom:Ke.leaveFrom,leaveTo:Ke.leaveTo,afterLeave:()=>t(""),children:_.jsx(Zt.Options,{className:Ke.autocompleteOptions,children:e})}),Vs=c.forwardRef((e,t)=>_.jsx(Zt.Option,{ref:t,className:e.className,value:e.value,disabled:e.disable,children:e.children}));Vs.displayName="AutoCompleteOption";const Hs={textInputWrapper:"_textInputWrapper_gym4n_1",textInput:"_textInput_gym4n_1"},Tf=c.memo(c.forwardRef(({themeColor:e="",style:t={},className:n="",onFocus:r,onBlur:o,...i},l)=>{const[s,a]=c.useState(!1);let h={};const m=[Hs.textInput,n].filter(Boolean).join(" ");e=$e.convert3HexTo6(e);const b=()=>{a(!0)},f=()=>{a(!1)};return h={borderBottomColor:s?e!=="#ffffff"?e:"#c8c8c8":""},_.jsx("div",{className:Hs.textInputWrapper,children:_.jsx("input",{type:"text","data-testid":"textbox-input",ref:l,className:m,onFocus:b,onBlur:f,style:{...h,...t},...i})})}));be.AutoComplete=Sf,be.AutoCompleteOption=Vs,be.AutoCompleteOptions=Of,be.Button=Fn,be.Checkbox=Ln,be.ColorsService=$e,be.MultiLineInput=fa,be.MultiSelect=pa,be.QuickMultiSelect=ma,be.QuickSelect=ha,be.Scrollbar=Uo,be.Select=yf,be.SelectOption=Bs,be.SelectOptions=Ef,be.SingleLineInput=Tf,Object.defineProperty(be,Symbol.toStringTag,{value:"Module"})});
|
|
75
41
|
//# sourceMappingURL=ui-react.umd.js.map
|