@oncehub/ui-react 2.1.9-beta-0 → 2.2.0-beta-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ui-react.es.js +25128 -13887
- package/dist/ui-react.es.js.map +1 -1
- package/dist/ui-react.umd.js +29 -82
- package/dist/ui-react.umd.js.map +1 -1
- package/package.json +2 -2
package/dist/ui-react.umd.js
CHANGED
|
@@ -1,90 +1,37 @@
|
|
|
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_1on91_1{position:relative;width:auto}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4{position:relative;width:100%}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7{position:relative;margin-top:1px;height:38px;width:100%}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7{position:relative;box-sizing:border-box;display:flex;height:100%;width:100%;cursor:pointer;align-items:center;justify-content:space-between;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(200 200 200 / var(--tw-border-opacity, 1));padding-bottom:.5rem;padding-left:10px;padding-top:.5rem;font-size:14px;line-height:20px;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7:focus-within{outline:2px solid transparent;outline-offset:2px}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7:focus{padding-bottom:7px}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7:focus-visible{outline:2px solid transparent;outline-offset:2px}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7:focus{border-bottom:2px solid var(--theme-color, #006bb1)}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._focused_1on91_16{padding-bottom:7px;outline:2px solid transparent;outline-offset:2px}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7 ._countAndIconContainer_1on91_19{display:flex;align-items:center}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._rounded_1on91_22{margin-top:0;display:flex;height:2.25rem;align-items:center;border-radius:9999px;border-width:1px;--tw-border-opacity: 1;border-color:rgb(200 200 200 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(244 244 244 / var(--tw-bg-opacity, 1));padding-left:1rem;padding-bottom:.5rem;padding-top:.5rem}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._rounded_1on91_22._focused_1on91_16,._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._rounded_1on91_22:hover,._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._rounded_1on91_22:focus-visible{border-color:var(--theme-color, #006bb1);box-shadow:0 0 0 1px var(--theme-color, #006bb1)}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._rounded_1on91_22._selected_1on91_7{border:1px solid var(--theme-color, #006bb1);box-shadow:0 0 0 1px var(--theme-color, #006bb1);background-color:color-mix(in srgb,var(--theme-color, #006bb1) 18%,transparent)}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._rounded_1on91_22._selected_1on91_7:hover{background-color:color-mix(in srgb,var(--theme-color, #006bb1) 36%,transparent)}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedCount_1on91_37{margin-left:.5rem;margin-top:1px;box-sizing:border-box;height:22px;min-width:22px;border-radius:9999px;padding-left:7px;padding-right:7px;font-size:14px;font-weight:600;line-height:22px;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));background-color:var(--theme-color, #006bb1)}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._dropDownIcon_1on91_41{margin-left:.5rem;margin-right:18px;margin-top:0;cursor:pointer}._optionsListContainer_1on91_45{position:absolute;z-index:10;margin-top:0;max-height:293px;width:83%;max-width:367px;--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_1on91_45:focus{outline:2px solid transparent;outline-offset:2px}@media(max-width:767px){._optionsListContainer_1on91_45{max-width:320px}}._optionsListContainer_1on91_45._top_1on91_48{transform:translateY(calc(-100% - 40px))}._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51{max-height:225px;overflow:auto;padding-top:1rem;padding-bottom:1rem}._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51 ._searchInputWrap_1on91_54{margin-bottom:.5rem;height:2.5rem;padding-left:10px;padding-right:10px}._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51 ._searchInputWrap_1on91_54 ._searchInput_1on91_54{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_1on91_45 ._optionsListWrap_1on91_51 ul{margin:0;padding:0}._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51 ._optionsList_1on91_45{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_1on91_45 ._optionsListWrap_1on91_51 ._optionsList_1on91_45 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_1on91_45 ._optionsListWrap_1on91_51 ._optionsList_1on91_45:hover,._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51 ._optionsList_1on91_45._focused_1on91_16{--tw-bg-opacity: 1;background-color:rgb(238 238 238 / var(--tw-bg-opacity, 1))}._optionsListContainer_1on91_45 ._btnContainer_1on91_76{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_1on91_45 ._btnContainer_1on91_76 ._hiddenButton_1on91_79{position:absolute;left:-9999px;height:0px;width:0px;opacity:0}._optionsListContainer_1on91_45 ::-webkit-scrollbar{width:6px}._optionsListContainer_1on91_45 ::-webkit-scrollbar-thumb{background-color:#a9a9a9;border-radius:6px}._announcement_1on91_92{pointer-events:none;height:0px;width:58px;overflow:hidden;opacity: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_7i31h_1{position:relative}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4{display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_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;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));word-break:break-word}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li:hover,._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li:focus-visible,._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li._selected_7i31h_11{outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li:hover,._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li:focus-visible{text-decoration-line:underline}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li ._triangle_7i31h_17{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_7i31h_1 ._quickOption_7i31h_4 li ._triangle_7i31h_17 ._loader_7i31h_20{position:absolute;left:0;top:-10px;height:10px;width:10px}@keyframes _tw-spin_7i31h_1{to{transform:rotate(360deg)}}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li ._triangle_7i31h_17 ._loader_7i31h_20{animation:_tw-spin_7i31h_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_7i31h_1 ._quickOption_7i31h_4 li ._triangle_7i31h_17 ._checkmarkWrap_7i31h_23{position:absolute;left:-1px;top:-9px}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li ._triangle_7i31h_17 ._checkmarkWrap_7i31h_23 ._checkmark_7i31h_23{display:block;animation:_fill_7i31h_1 .4s ease-in-out .4s forwards,_scale_7i31h_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_7i31h_1 ._quickOption_7i31h_4 li ._triangle_7i31h_17 ._checkmarkWrap_7i31h_23 ._checkmark_7i31h_23 ._checkmarkCheck_7i31h_30{transform-origin:50% 50%;animation:_stroke_7i31h_1 .8s cubic-bezier(.5,0,.45,1) .2s forwards;stroke-dasharray:48;stroke-dashoffset:48}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li._disabled_7i31h_35{pointer-events:none!important;cursor:default!important;--tw-border-opacity: 1 !important;border-color:rgb(228 228 228 / var(--tw-border-opacity, 1))!important;--tw-text-opacity: 1 !important;color:rgb(51 51 51 / var(--tw-text-opacity, 1))!important;text-decoration-line:none!important;outline-width:0px!important}@keyframes _scale_7i31h_1{0%,to{transform:none}50%{transform:scale3d(1.1,1.1,1)}}@keyframes _fill_7i31h_1{to{box-shadow:inset 0 0 0 30px transparent}}@keyframes _stroke_7i31h_1{to{stroke-dashoffset:0}}._scrollbarContainer_40vsr_1{overflow-y:auto}._scrollbarContainer_40vsr_1::-webkit-scrollbar{width:10px}._scrollbarContainer_40vsr_1::-webkit-scrollbar-track{display:none}._scrollbarContainer_40vsr_1::-webkit-scrollbar-thumb{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_fcnvh_1,._select_fcnvh_1 ._selectContainer_fcnvh_4{position:relative}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_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_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_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_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7._open_fcnvh_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_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7 ._selectValue_fcnvh_16{display:flex;align-items:center}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7 ._selectValue_fcnvh_16._placeholder_fcnvh_19{--tw-text-opacity: 1;color:rgb(102 102 102 / var(--tw-text-opacity, 1))}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7 ._selectValue_fcnvh_16 ._seletIcon_fcnvh_22{margin-right:.5rem;height:1.25rem;width:1.25rem;flex-shrink:0}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7 ._selectValue_fcnvh_16 ._selectText_fcnvh_25{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7 ._chevronDownIconSpan_fcnvh_28{pointer-events:none;position:absolute;top:0;bottom:0;right:0;display:flex;align-items:center;padding-right:.5rem}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7 ._chevronDownIconSpan_fcnvh_28 ._chevronDownIcon_fcnvh_28{height:1.25rem;width:1.25rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._leave_fcnvh_35{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,1,1)}._leaveFrom_fcnvh_39{opacity:1}._leaveTo_fcnvh_43{opacity:0}._selectOptions_fcnvh_47{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_fcnvh_47{font-size:.875rem;line-height:1.25rem}}._selectOptions_fcnvh_47::-webkit-scrollbar-thumb{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(169 169 169 / var(--tw-bg-opacity, 1))}._selectOptions_fcnvh_47::-webkit-scrollbar{width:6px}._selectOptions_fcnvh_47:focus{outline:2px solid transparent;outline-offset:2px}._autocomplete_29ukn_1{position:relative}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_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_29ukn_1 ._autocompleteContainer_29ukn_4._disable_29ukn_7{--tw-text-opacity: 1;color:rgb(167 167 167 / var(--tw-text-opacity, 1))}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4:focus{outline:2px solid transparent;outline-offset:2px}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(223 223 223 / var(--tw-ring-opacity, 1));--tw-ring-offset-width: 2px;--tw-ring-offset-color: #DFDFDF }._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteInput_29ukn_16{box-sizing:border-box;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_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteInput_29ukn_16::placeholder{--tw-placeholder-opacity: 1;color:rgb(102 102 102 / var(--tw-placeholder-opacity, 1))}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteInput_29ukn_16{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteInput_29ukn_16:focus{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_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteInput_29ukn_16:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteInput_29ukn_16[data-focus]{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_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteInput_29ukn_16[data-disabled]{cursor:not-allowed;--tw-text-opacity: 1;color:rgb(167 167 167 / var(--tw-text-opacity, 1))}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteButton_29ukn_34{position:absolute;top:0;bottom:0;right:0;display:flex;align-items:center;border-width:0px;background-color:transparent;padding-right:.5rem}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteButton_29ukn_34[data-focus]{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(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(0 107 177 / var(--tw-ring-opacity, 1));--tw-ring-offset-width: 1px }._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteButton_29ukn_34[data-disabled]{cursor:not-allowed}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteButton_29ukn_34 ._chevronDownIcon_29ukn_44{height:1.25rem;width:1.25rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1));transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteButton_29ukn_34 ._chevronDownIcon_29ukn_44._disable_29ukn_7{--tw-text-opacity: 1;color:rgb(167 167 167 / var(--tw-text-opacity, 1))}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteButton_29ukn_34[data-open] ._chevronDownIcon_29ukn_44{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}._leave_29ukn_57{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,1,1)}._leaveFrom_29ukn_61{opacity:1}._leaveTo_29ukn_65{opacity:0}._autocompleteOptions_29ukn_69{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_29ukn_69{font-size:.875rem;line-height:1.25rem}}._autocompleteOptions_29ukn_69::-webkit-scrollbar-thumb{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(169 169 169 / var(--tw-bg-opacity, 1))}._autocompleteOptions_29ukn_69::-webkit-scrollbar{width:6px}._autocompleteOptions_29ukn_69[data-transition]{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;transition-timing-function:cubic-bezier(0,0,.2,1)}._autocompleteOptions_29ukn_69[data-closed]{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0}._autocompleteOptions_29ukn_69[data-open]{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:1}._autocompleteOptions_29ukn_69:focus{outline: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}._phoneWrapper_dwcpz_1{display:flex;max-width:380px;align-items:center;justify-content:space-between;gap:.75rem}._phoneWrapper_dwcpz_1 ._countryCode_dwcpz_4{height:2.5rem;width:100%;max-width:110px}._phoneWrapper_dwcpz_1 ._countryCode_dwcpz_4 button{height:2.5rem;background-color:transparent;padding-left:10px;font-weight:400;background:transparent!important}._phoneWrapper_dwcpz_1 ._phoneInputWrap_dwcpz_11{width:100%}._phoneWrapper_dwcpz_1 ._phoneInputWrap_dwcpz_11 ._phoneInput_dwcpz_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, 1));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, 1))}._phoneWrapper_dwcpz_1 ._phoneInputWrap_dwcpz_11 ._phoneInput_dwcpz_11::placeholder{--tw-placeholder-opacity: 1;color:rgb(102 102 102 / var(--tw-placeholder-opacity, 1))}._phoneWrapper_dwcpz_1 ._phoneInputWrap_dwcpz_11 ._phoneInput_dwcpz_11{outline:2px solid transparent;outline-offset:2px}._phoneWrapper_dwcpz_1 ._phoneInputWrap_dwcpz_11 ._phoneInput_dwcpz_11:focus{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1))}._phoneWrapper_dwcpz_1 ._phoneInputWrap_dwcpz_11 ._phoneInput_dwcpz_11._serverError_dwcpz_17:focus{--tw-border-opacity: 1;border-bottom-color:rgb(245 77 77 / var(--tw-border-opacity, 1))}._phonNumberList_dwcpz_21{min-width:286px}._phonNumberList_dwcpz_21>div{width:auto}._phonNumberList_dwcpz_21>div>div{position:relative;cursor:default;user-select:none;padding-left:10px;padding-right:10px;padding-top:.5rem;padding-bottom:.5rem}._phonNumberList_dwcpz_21>div>div[data-focus=true],._phonNumberList_dwcpz_21>div>div[data-selected=true],._phonNumberList_dwcpz_21>div>div._active_dwcpz_30,._phonNumberList_dwcpz_21>div>div:hover{--tw-bg-opacity: 1;background-color:rgb(238 238 238 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._phonNumberList_dwcpz_21>div>div ._countryListText_dwcpz_33{display:flex;align-items:center}._phonNumberList_dwcpz_21>div>div ._countryListText_dwcpz_33>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}._phonNumberList_dwcpz_21 ul{width:auto}._phonNumberList_dwcpz_21 ul li{position:relative;cursor:default;user-select:none;padding-left:10px;padding-right:10px;padding-top:.5rem;padding-bottom:.5rem}._phonNumberList_dwcpz_21 ul li._active_dwcpz_30{--tw-bg-opacity: 1;background-color:rgb(238 238 238 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._phonNumberList_dwcpz_21 ul li ._countryListText_dwcpz_33{display:flex;align-items:center}._phonNumberList_dwcpz_21 ul li ._countryListText_dwcpz_33>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}._progress_1piqy_1{position:relative;overflow:hidden;max-width:100%;width:100%;margin:0 auto}._progress-bar_1piqy_9{position:absolute;display:block;left:-60%;width:60%;animation-duration:2s;animation-timing-function:linear;animation-iteration-count:infinite}._radioWrapper_e4gpr_1{display:flex;flex-direction:column}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4{position:relative;display:flex;align-items:center}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7{margin-top:7px;margin-bottom:7px;display:flex;cursor:pointer}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7 ._radioBtnInsideLabel_e4gpr_10{position:relative;margin-right:10px;height:1.25rem;width:1.25rem}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7 ._radioBtnInput_e4gpr_13{position:absolute;height:0px;width:0px;opacity:0}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7 ._radioBtnAvatar_e4gpr_16{margin-right:9px;height:1.25rem;width:1.25rem}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7 ._radioBtnAvatar_e4gpr_16 img{margin-top:1px;height:1.25rem;width:1.25rem;min-width:20px}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7 ._radioBtnText_e4gpr_23{font-size:1rem;line-height:1.5rem;font-size:16px;line-height:22px;word-break:break-word}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7 ._radioBtnCircle_e4gpr_27{position:relative;margin-top:1px;display:inline-block;height:1.25rem;width:1.25rem;border-radius:9999px;border-width:1px;border-style:solid}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7 ._radioBtnCircle_e4gpr_27._radioBtnChecked_e4gpr_30{border-width:2px}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7 ._radioBtnCircleInside_e4gpr_33{position:absolute;left:50%;top:50%;margin-left:-5px;margin-top:-5px;height:10px;width:10px;border-radius:9999px}")),document.head.appendChild(t)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
2
|
-
(function(
|
|
3
|
-
* @license React
|
|
4
|
-
* react-jsx-runtime.production.js
|
|
5
|
-
*
|
|
6
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7
|
-
*
|
|
8
|
-
* This source code is licensed under the MIT license found in the
|
|
9
|
-
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/var na;function $0(){if(na)return xn;na=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,o,i){var a=null;if(i!==void 0&&(a=""+i),o.key!==void 0&&(a=""+o.key),"key"in o){i={};for(var d in o)d!=="key"&&(i[d]=o[d])}else i=o;return o=i.ref,{$$typeof:e,type:r,key:a,ref:o!==void 0?o:null,props:i}}return xn.Fragment=t,xn.jsx=n,xn.jsxs=n,xn}var Sn={};/**
|
|
11
|
-
* @license React
|
|
12
|
-
* react-jsx-runtime.development.js
|
|
13
|
-
*
|
|
14
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
15
|
-
*
|
|
16
|
-
* This source code is licensed under the MIT license found in the
|
|
17
|
-
* LICENSE file in the root directory of this source tree.
|
|
18
|
-
*/var ra;function y0(){return ra||(ra=1,process.env.NODE_ENV!=="production"&&(function(){function e(S){if(S==null)return null;if(typeof S=="function")return S.$$typeof===A?null:S.displayName||S.name||null;if(typeof S=="string")return S;switch(S){case v:return"Fragment";case E:return"Profiler";case C:return"StrictMode";case N:return"Suspense";case R:return"SuspenseList";case D:return"Activity"}if(typeof S=="object")switch(typeof S.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),S.$$typeof){case m:return"Portal";case x:return S.displayName||"Context";case $:return(S._context.displayName||"Context")+".Consumer";case w:var T=S.render;return S=S.displayName,S||(S=T.displayName||T.name||"",S=S!==""?"ForwardRef("+S+")":"ForwardRef"),S;case K:return T=S.displayName||null,T!==null?T:e(S.type)||"Memo";case Y:T=S._payload,S=S._init;try{return e(S(T))}catch{}}return null}function t(S){return""+S}function n(S){try{t(S);var T=!1}catch{T=!0}if(T){T=console;var j=T.error,W=typeof Symbol=="function"&&Symbol.toStringTag&&S[Symbol.toStringTag]||S.constructor.name||"Object";return j.call(T,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",W),t(S)}}function r(S){if(S===v)return"<>";if(typeof S=="object"&&S!==null&&S.$$typeof===Y)return"<...>";try{var T=e(S);return T?"<"+T+">":"<...>"}catch{return"<...>"}}function o(){var S=M.A;return S===null?null:S.getOwner()}function i(){return Error("react-stack-top-frame")}function a(S){if(G.call(S,"key")){var T=Object.getOwnPropertyDescriptor(S,"key").get;if(T&&T.isReactWarning)return!1}return S.key!==void 0}function d(S,T){function j(){J||(J=!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)",T))}j.isReactWarning=!0,Object.defineProperty(S,"key",{get:j,configurable:!0})}function s(){var S=e(this.type);return ne[S]||(ne[S]=!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.")),S=this.props.ref,S!==void 0?S:null}function l(S,T,j,W,L,F){var U=j.ref;return S={$$typeof:c,type:S,key:T,props:j,_owner:W},(U!==void 0?U:null)!==null?Object.defineProperty(S,"ref",{enumerable:!1,get:s}):Object.defineProperty(S,"ref",{enumerable:!1,value:null}),S._store={},Object.defineProperty(S._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(S,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(S,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:L}),Object.defineProperty(S,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:F}),Object.freeze&&(Object.freeze(S.props),Object.freeze(S)),S}function h(S,T,j,W,L,F){var U=T.children;if(U!==void 0)if(W)if(Z(U)){for(W=0;W<U.length;W++)g(U[W]);Object.freeze&&Object.freeze(U)}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 g(U);if(G.call(T,"key")){U=e(S);var z=Object.keys(T).filter(function(ae){return ae!=="key"});W=0<z.length?"{key: someKey, "+z.join(": ..., ")+": ...}":"{key: someKey}",I[U+W]||(z=0<z.length?"{"+z.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
1
|
+
(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`*,:before,:after,::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.tw-relative{position:relative}.tw-block{display:block}.tw-flex{display:flex}.tw-h-20{height:5rem}.tw-cursor-default{cursor:default}.tw-select-none{user-select:none}.tw-items-center{align-items:center}.tw-truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tw-bg-\\[\\#EEEEEE\\]{--tw-bg-opacity:1;background-color:rgb(238 238 238/var(--tw-bg-opacity,1))}.tw-py-2{padding-top:.5rem;padding-bottom:.5rem}.tw-pl-4{padding-left:1rem}.tw-pr-4{padding-right:1rem}.tw-font-medium{font-weight:500}.tw-font-normal{font-weight:400}.tw-text-\\[\\#333333\\]{--tw-text-opacity:1;color:rgb(51 51 51/var(--tw-text-opacity,1))}._button_1q2ge_1{box-sizing:border-box;cursor:pointer;text-align:center;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow);border-style:solid;border-width:1px;justify-content:center;align-items:center;display:flex}._button_1q2ge_1:hover,._button_1q2ge_1:focus{text-decoration-line:underline}._button_1q2ge_1:disabled{cursor:default}._button_1q2ge_1:hover:disabled{text-decoration-line:none}._primary_1q2ge_5{--tw-bg-opacity:1;background-color:rgb(0 107 177/var(--tw-bg-opacity,1));--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1));border-color:#0000;outline-color:#006bb1;font-weight:500}._primary_1q2ge_5:focus{outline-offset:3px;outline-width:2px}._primary_1q2ge_5:disabled{--tw-border-opacity:1;border-color:rgb(200 200 200/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(200 200 200/var(--tw-bg-opacity,1));--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}._secondary_1q2ge_12{--tw-border-opacity:1;border-color:rgb(0 107 177/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));--tw-text-opacity:1;color:rgb(0 107 177/var(--tw-text-opacity,1));font-weight:400}._secondary_1q2ge_12:hover,._secondary_1q2ge_12:focus{outline-offset:-2px;border-color:#0000;outline:2px solid #006bb1}._secondary_1q2ge_12:disabled{--tw-border-opacity:1;border-color:rgb(200 200 200/var(--tw-border-opacity,1));--tw-text-opacity:1;color:rgb(200 200 200/var(--tw-text-opacity,1))}._secondary_1q2ge_12:disabled:hover,._secondary_1q2ge_12:disabled:focus{outline-width:0}._small_1q2ge_19{min-width:70px;min-height:35px;padding:4px 22px;font-size:.875rem;line-height:22px}._small_1q2ge_19._rounded_1q2ge_22{border-radius:18px}._medium_1q2ge_26{min-width:74px;min-height:40px;padding:7px 22px;font-size:.875rem;line-height:22px}._medium_1q2ge_26._rounded_1q2ge_22{border-radius:20px}._large_1q2ge_33{min-width:94px;min-height:44px;padding:8px 1.5rem;font-size:1rem;line-height:24px}._large_1q2ge_33._rounded_1q2ge_22{border-radius:22px}._squared_1q2ge_40{border-radius:.25rem}._checkboxLayout_bt7qx_1{white-space:nowrap;vertical-align:middle;align-items:center;width:100%;display:inline-flex}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4{cursor:pointer;letter-spacing:0;--tw-text-opacity:1;width:100%;color:rgb(51 51 51/var(--tw-text-opacity,1));align-items:baseline;gap:.5rem;font-size:.875rem;line-height:22px;display:flex}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4>span{white-space:normal;letter-spacing:0;--tw-text-opacity:1;color:rgb(51 51 51/var(--tw-text-opacity,1));font-size:.875rem;line-height:22px}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10{cursor:pointer;white-space:nowrap;vertical-align:middle;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;width:1rem;height:1rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow);border-width:0;outline-width:0;flex-shrink:0;line-height:0;display:inline-block;position:relative;top:2px}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxInput_bt7qx_13{appearance:none;opacity:0;border-width:0;outline-width:0;width:0;height:0;padding:0;position:absolute;bottom:0;left:0}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxInput_bt7qx_13:checked+._checkboxFrame_bt7qx_16{--tw-border-opacity:1;border-color:rgb(0 107 177/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(0 107 177/var(--tw-bg-opacity,1))}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxInput_bt7qx_13:checked+._checkboxFrame_bt7qx_16 ._checkboxCheckMark_bt7qx_19{opacity:1}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxInput_bt7qx_13:checked+._checkboxFrame_bt7qx_16 ._checkboxCheckMark_bt7qx_19 ._checkboxCheckMarkPath_bt7qx_22{stroke-dashoffset:0;animation:.18s linear _checkboxUncheckedChecked_bt7qx_1}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxInput_bt7qx_13:disabled+._checkboxFrame_bt7qx_16{--tw-border-opacity:1;border-color:rgb(228 228 228/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(249 249 249/var(--tw-bg-opacity,1))}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxFrame_bt7qx_16{box-sizing:border-box;--tw-border-opacity:1;border-style:solid;border-width:1px;border-color:rgb(156 156 156/var(--tw-border-opacity,1));background-color:#0000;border-radius:3px;position:absolute;inset:0}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxFrame_bt7qx_16 ._checkboxCheckMark_bt7qx_19{width:100%;position:absolute;inset:0}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxFrame_bt7qx_16 ._checkboxCheckMark_bt7qx_19 ._checkboxCheckMarkPath_bt7qx_22{stroke-width:3px;stroke-dashoffset:23px;stroke-dasharray:23}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10:focus-visible ._checkboxFrame_bt7qx_16{outline-offset:-1px;outline:2px solid #006bb1}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._visuallyHidden_bt7qx_43{clip:rect(0, 0, 0, 0);border:0;width:0;height:0;margin:0;padding:0;position:absolute;overflow:hidden}._checkboxLayout_bt7qx_1._checkboxDisabled_bt7qx_53{pointer-events:none;cursor:default}._checkboxLayout_bt7qx_1._checkboxDisabled_bt7qx_53 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxFrame_bt7qx_16{--tw-border-opacity:1;border-color:rgb(228 228 228/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(249 249 249/var(--tw-bg-opacity,1))}._checkboxLayout_bt7qx_1._medium_bt7qx_59 ._checkboxLabel_bt7qx_4>span{width:calc(100% - 24px);font-size:.875rem;line-height:1.25rem}._checkboxLayout_bt7qx_1._medium_bt7qx_59 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10{width:1rem;height:1rem}._checkboxLayout_bt7qx_1._large_bt7qx_65 ._checkboxLabel_bt7qx_4>span{width:calc(100% - 27px);font-size:1rem;line-height:1.5rem}._checkboxLayout_bt7qx_1._large_bt7qx_65 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10{width:1.25rem;height:1.25rem;top:4px}@keyframes _checkboxUncheckedChecked_bt7qx_1{0%,50%{stroke-dashoffset:23px}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}to{stroke-dashoffset:0}}._textInputWrapper_1i9m6_1{width:100%}._textInputWrapper_1i9m6_1 ._textInput_1i9m6_1{box-sizing:border-box;resize:none;--tw-border-opacity:1;border-width:0 0 1px;border-color:rgb(51 51 51/var(--tw-border-opacity,1));--tw-text-opacity:1;width:100%;height:2.5rem;max-height:225px;color:rgb(51 51 51/var(--tw-text-opacity,1));outline-offset:2px;outline:2px solid #0000;padding:7px 10px .5rem;font-size:1rem;line-height:1.5rem;display:block}._textInputWrapper_1i9m6_1 ._textInput_1i9m6_1:focus{--tw-border-opacity:1;border-bottom-width:2px;border-color:rgb(0 107 177/var(--tw-border-opacity,1));padding-bottom:7px}._multiSelectContainer_lh9wi_1,._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4{width:100%;position:relative}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7{width:100%;height:2.5rem;position:relative}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7{box-sizing:border-box;text-overflow:ellipsis;white-space:nowrap;--tw-border-opacity:1;border-style:solid;border-width:0 0 1px;border-bottom-color:rgb(51 51 51/var(--tw-border-opacity,1));--tw-text-opacity:1;width:100%;height:100%;color:rgb(51 51 51/var(--tw-text-opacity,1));padding:.5rem 2.75rem .5rem 10px;font-size:1rem;line-height:1rem;display:block;overflow:hidden}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7::placeholder{--tw-placeholder-opacity:1;color:rgb(102 102 102/var(--tw-placeholder-opacity,1))}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7:focus-within{outline-offset:2px;outline:2px solid #0000}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7:focus{--tw-border-opacity:1;border-bottom-width:2px;border-color:rgb(0 107 177/var(--tw-border-opacity,1));padding-bottom:7px}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7:focus-visible{outline-offset:2px;outline:2px solid #0000}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7._focused_lh9wi_13{--tw-border-opacity:1;border-bottom-width:2px;border-color:rgb(0 107 177/var(--tw-border-opacity,1));outline-offset:2px;outline:2px solid #0000;padding-bottom:7px}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7._placeholder_lh9wi_16{--tw-text-opacity:1;color:rgb(102 102 102/var(--tw-text-opacity,1))}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._dropDownIcon_lh9wi_19{--tw-translate-y:-50%;width:1.75rem;height:100%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));cursor:pointer;justify-content:center;align-items:center;display:flex;position:absolute;top:50%;right:.5rem}._optionsListContainer_lh9wi_23{z-index:10;--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));--tw-shadow:0 1px 6px 0 #00000080;--tw-shadow-colored:0 1px 6px 0 var(--tw-shadow-color);width:100%;max-height:293px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow);margin-top:0;padding-bottom:4rem;font-size:.875rem;line-height:22px;position:absolute}._optionsListContainer_lh9wi_23:focus{outline-offset:2px;outline:2px solid #0000}._optionsListContainer_lh9wi_23._top_lh9wi_26{transform:translateY(calc(-100% - 40px))}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29{max-height:225px;padding-top:1rem;padding-bottom:1rem;overflow:auto}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._searchInputWrap_lh9wi_32{height:2.5rem;margin-bottom:.5rem;padding-left:10px;padding-right:10px}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._searchInputWrap_lh9wi_32 ._searchInput_lh9wi_32{box-sizing:border-box;outline-offset:-2px;outline:1px solid #c8c8c8;width:100%;height:100%;padding-top:.5rem;padding-bottom:.5rem;padding-left:10px}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ul{margin:0;padding:0}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._optionsList_lh9wi_23{box-sizing:border-box;align-items:flex-start;gap:.5rem;padding:.5rem 10px;list-style-type:none;display:flex}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._optionsList_lh9wi_23 span{word-break:break-word;overflow-wrap:break-word;width:calc(100% - 22px);font-size:.875rem;line-height:22px;display:block}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._optionsList_lh9wi_23:hover,._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._optionsList_lh9wi_23._focused_lh9wi_13{--tw-bg-opacity:1;background-color:rgb(238 238 238/var(--tw-bg-opacity,1))}._optionsListContainer_lh9wi_23 ._btnContainer_lh9wi_54{box-sizing:border-box;--tw-border-opacity:1;border-style:solid;border-width:1px 0 0;border-top-color:rgb(200 200 200/var(--tw-border-opacity,1));justify-content:flex-end;align-items:center;width:100%;height:64px;padding-left:18px;padding-right:18px;display:flex;position:absolute;left:0;right:0}._optionsListContainer_lh9wi_23 ._btnContainer_lh9wi_54 ._hiddenButton_lh9wi_57{opacity:0;width:0;height:0;position:absolute;left:-9999px}._optionsListContainer_lh9wi_23 ::-webkit-scrollbar{width:6px}._optionsListContainer_lh9wi_23 ::-webkit-scrollbar-thumb{background-color:#a9a9a9;border-radius:6px}._announcement_lh9wi_70{pointer-events:none;opacity:0;height:0;overflow:hidden}._pseudoCheckbox_z8j4c_1{box-sizing:border-box;--tw-border-opacity:1;border-style:solid;border-width:1px;border-color:rgb(156 156 156/var(--tw-border-opacity,1));border-radius:3px;width:1rem;height:1rem;position:relative;top:3px}._pseudoCheckbox_z8j4c_1 ._checkboxCheckMark_z8j4c_4{width:100%;position:absolute;inset:0}._pseudoCheckbox_z8j4c_1 ._checkboxCheckMark_z8j4c_4 ._checkboxCheckMarkPath_z8j4c_7{stroke-width:3px;stroke-dashoffset:23px;stroke-dasharray:23}._pseudoCheckbox_z8j4c_1._checked_z8j4c_12{--tw-border-opacity:1;border-color:rgb(0 107 177/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(0 107 177/var(--tw-bg-opacity,1))}._pseudoCheckbox_z8j4c_1._checked_z8j4c_12 ._checkboxCheckMark_z8j4c_4{opacity:1}._pseudoCheckbox_z8j4c_1._checked_z8j4c_12 ._checkboxCheckMark_z8j4c_4 ._checkboxCheckMarkPath_z8j4c_7{stroke-dashoffset:0;animation:.18s linear _checkboxUncheckedChecked_z8j4c_1}._pseudoCheckbox_z8j4c_1._checkboxDisabled_z8j4c_22{pointer-events:none;cursor:default;--tw-border-opacity:1;border-color:rgb(228 228 228/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(249 249 249/var(--tw-bg-opacity,1))}@keyframes _checkboxUncheckedChecked_z8j4c_1{0%,50%{stroke-dashoffset:23px}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}to{stroke-dashoffset:0}}._multiSelectContainer_1on91_1{width:auto;position:relative}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4{width:100%;position:relative}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7{width:100%;height:38px;margin-top:1px;position:relative}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7{box-sizing:border-box;cursor:pointer;text-overflow:ellipsis;white-space:nowrap;--tw-border-opacity:1;border-style:solid;border-width:0 0 1px;border-bottom-color:rgb(200 200 200/var(--tw-border-opacity,1));--tw-text-opacity:1;width:100%;height:100%;color:rgb(51 51 51/var(--tw-text-opacity,1));justify-content:space-between;align-items:center;padding-top:.5rem;padding-bottom:.5rem;padding-left:10px;font-size:14px;line-height:20px;display:flex;position:relative;overflow:hidden}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7:focus-within{outline-offset:2px;outline:2px solid #0000}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7:focus{padding-bottom:7px}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7:focus-visible{outline-offset:2px;outline:2px solid #0000}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7:focus{border-bottom:2px solid var(--theme-color,#006bb1)}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._focused_1on91_16{outline-offset:2px;outline:2px solid #0000;padding-bottom:7px}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7 ._countAndIconContainer_1on91_19{align-items:center;display:flex}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._rounded_1on91_22{--tw-border-opacity:1;border-width:1px;border-color:rgb(200 200 200/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(244 244 244/var(--tw-bg-opacity,1));border-radius:9999px;align-items:center;height:2.25rem;margin-top:0;padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;display:flex}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._rounded_1on91_22._focused_1on91_16,._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._rounded_1on91_22:hover,._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._rounded_1on91_22:focus-visible{border-color:var(--theme-color,#006bb1);box-shadow:0 0 0 1px var(--theme-color,#006bb1)}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._rounded_1on91_22._selected_1on91_7{border:1px solid var(--theme-color,#006bb1);box-shadow:0 0 0 1px var(--theme-color,#006bb1);background-color:color-mix(in srgb, var(--theme-color,#006bb1) 18%, transparent)}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._rounded_1on91_22._selected_1on91_7:hover{background-color:color-mix(in srgb, var(--theme-color,#006bb1) 36%, transparent)}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedCount_1on91_37{box-sizing:border-box;--tw-text-opacity:1;min-width:22px;height:22px;color:rgb(255 255 255/var(--tw-text-opacity,1));background-color:var(--theme-color,#006bb1);border-radius:9999px;margin-top:1px;margin-left:.5rem;padding-left:7px;padding-right:7px;font-size:14px;font-weight:600;line-height:22px}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._dropDownIcon_1on91_41{cursor:pointer;margin-top:0;margin-left:.5rem;margin-right:18px}._optionsListContainer_1on91_45{z-index:10;--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));--tw-shadow:0 1px 6px 0 #00000080;--tw-shadow-colored:0 1px 6px 0 var(--tw-shadow-color);width:83%;max-width:367px;max-height:293px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow);margin-top:0;padding-bottom:4rem;font-size:.875rem;line-height:22px;position:absolute}._optionsListContainer_1on91_45:focus{outline-offset:2px;outline:2px solid #0000}@media (width<=767px){._optionsListContainer_1on91_45{max-width:320px}}._optionsListContainer_1on91_45._top_1on91_48{transform:translateY(calc(-100% - 40px))}._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51{max-height:225px;padding-top:1rem;padding-bottom:1rem;overflow:auto}._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51 ._searchInputWrap_1on91_54{height:2.5rem;margin-bottom:.5rem;padding-left:10px;padding-right:10px}._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51 ._searchInputWrap_1on91_54 ._searchInput_1on91_54{box-sizing:border-box;outline-offset:-2px;outline:1px solid #c8c8c8;width:100%;height:100%;padding-top:.5rem;padding-bottom:.5rem;padding-left:10px}._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51 ul{margin:0;padding:0}._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51 ._optionsList_1on91_45{box-sizing:border-box;align-items:flex-start;gap:.5rem;padding:.5rem 10px;list-style-type:none;display:flex}._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51 ._optionsList_1on91_45 span{word-break:break-word;overflow-wrap:break-word;width:calc(100% - 22px);font-size:.875rem;line-height:22px;display:block}._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51 ._optionsList_1on91_45:hover,._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51 ._optionsList_1on91_45._focused_1on91_16{--tw-bg-opacity:1;background-color:rgb(238 238 238/var(--tw-bg-opacity,1))}._optionsListContainer_1on91_45 ._btnContainer_1on91_76{box-sizing:border-box;--tw-border-opacity:1;border-style:solid;border-width:1px 0 0;border-top-color:rgb(200 200 200/var(--tw-border-opacity,1));justify-content:flex-end;align-items:center;width:100%;height:64px;padding-left:18px;padding-right:18px;display:flex;position:absolute;left:0;right:0}._optionsListContainer_1on91_45 ._btnContainer_1on91_76 ._hiddenButton_1on91_79{opacity:0;width:0;height:0;position:absolute;left:-9999px}._optionsListContainer_1on91_45 ::-webkit-scrollbar{width:6px}._optionsListContainer_1on91_45 ::-webkit-scrollbar-thumb{background-color:#a9a9a9;border-radius:6px}._announcement_1on91_92{pointer-events:none;opacity:0;width:58px;height:0;overflow:hidden}._multiSelectContainer_1rhxq_1{position:relative}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4{flex-flow:wrap;gap:.75rem;margin-right:-.75rem;display:flex}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li{word-break:break-word;box-sizing:border-box;cursor:pointer;overflow-wrap:break-word;--tw-border-opacity:1;border-style:solid;border-width:1px;border-color:rgb(0 107 177/var(--tw-border-opacity,1));--tw-text-opacity:1;min-width:80px;color:rgb(0 107 177/var(--tw-text-opacity,1));background-color:#0000;border-radius:4px;align-items:center;padding:8px 14px;font-size:1rem;line-height:1.5rem;list-style-type:none;display:inline-flex;position:relative}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li:hover,._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li:focus-visible,._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li._selected_1rhxq_11{outline-offset:-2px;outline:2px solid #006bb1}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li:hover,._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li:focus-visible{text-decoration-line:underline}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li._disabled_1rhxq_17{pointer-events:none!important;cursor:default!important;--tw-border-opacity:1!important;border-color:rgb(228 228 228/var(--tw-border-opacity,1))!important;--tw-text-opacity:1!important;color:rgb(51 51 51/var(--tw-text-opacity,1))!important;outline-width:0!important;text-decoration-line:none!important}._singleSelectWrapper_7i31h_1{position:relative}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4{flex-flow:wrap;gap:.75rem;display:flex}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li{box-sizing:border-box;cursor:pointer;--tw-border-opacity:1;border-style:solid;border-width:1px;border-color:rgb(0 107 177/var(--tw-border-opacity,1));text-align:center;--tw-text-opacity:1;min-width:80px;min-height:44px;color:rgb(0 107 177/var(--tw-text-opacity,1));word-break:break-word;background-color:#0000;border-radius:4px;align-items:center;padding:9px 1.5rem;font-size:1rem;line-height:1.5rem;list-style-type:none;display:inline-flex;position:relative}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li:hover,._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li:focus-visible,._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li._selected_7i31h_11{outline-offset:-2px;outline:2px solid #006bb1}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li:hover,._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li:focus-visible{text-decoration-line:underline}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li ._triangle_7i31h_17{border-style:solid;border-width:11px;border-bottom-color:#0000;border-left-color:#0000;border-right-color:rgb(0 107 177/var(--tw-border-opacity,1));--tw-border-opacity:1;border-top-color:rgb(0 107 177/var(--tw-border-opacity,1));width:0;height:0;display:inline-block;position:absolute;top:0;right:0}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li ._triangle_7i31h_17 ._loader_7i31h_20{width:10px;height:10px;position:absolute;top:-10px;left:0}@keyframes _tw-spin_7i31h_1{to{transform:rotate(360deg)}}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li ._triangle_7i31h_17 ._loader_7i31h_20{border-style:solid;border-width:2px;border-color:rgb(255 255 255/var(--tw-border-opacity,1));--tw-border-opacity:1;border-right-color:rgb(0 107 177/var(--tw-border-opacity,1));border-radius:50%;animation:1s linear infinite _tw-spin_7i31h_1}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li ._triangle_7i31h_17 ._checkmarkWrap_7i31h_23{position:absolute;top:-9px;left:-1px}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li ._triangle_7i31h_17 ._checkmarkWrap_7i31h_23 ._checkmark_7i31h_23{--tw-shadow:inset 0px 0px 0px transparent;--tw-shadow-colored:inset 0px 0px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow);stroke-miterlimit:10;border-radius:50%;animation:.4s ease-in-out .4s forwards _fill_7i31h_1,.3s ease-in-out .9s both _scale_7i31h_1;display:block}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li ._triangle_7i31h_17 ._checkmarkWrap_7i31h_23 ._checkmark_7i31h_23 ._checkmarkCheck_7i31h_30{transform-origin:50%;stroke-dasharray:48;stroke-dashoffset:48px;animation:.8s cubic-bezier(.5,0,.45,1) .2s forwards _stroke_7i31h_1}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li._disabled_7i31h_35{pointer-events:none!important;cursor:default!important;--tw-border-opacity:1!important;border-color:rgb(228 228 228/var(--tw-border-opacity,1))!important;--tw-text-opacity:1!important;color:rgb(51 51 51/var(--tw-text-opacity,1))!important;outline-width:0!important;text-decoration-line:none!important}@keyframes _scale_7i31h_1{0%,to{transform:none}50%{transform:scale(1.1)}}@keyframes _fill_7i31h_1{to{box-shadow:inset 0 0 0 30px #0000}}@keyframes _stroke_7i31h_1{to{stroke-dashoffset:0}}._scrollbarContainer_40vsr_1{overflow-y:auto}._scrollbarContainer_40vsr_1::-webkit-scrollbar{width:10px}._scrollbarContainer_40vsr_1::-webkit-scrollbar-track{display:none}._scrollbarContainer_40vsr_1::-webkit-scrollbar-thumb{border:2px solid #fff;border-radius:15px;background-color:#ccc!important}._scrollbarContainer_40vsr_1{@supports not selector(::-webkit-scrollbar){scrollbar-width:thin;scrollbar-color:#ccc #0000}}._select_fcnvh_1,._select_fcnvh_1 ._selectContainer_fcnvh_4{position:relative}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7{box-sizing:border-box;cursor:pointer;--tw-border-opacity:1;border-style:solid;border-width:1px 0;border-top-color:#0000;border-bottom-color:rgb(51 51 51/var(--tw-border-opacity,1));text-align:left;--tw-text-opacity:1;width:100%;height:2.5rem;color:rgb(51 51 51/var(--tw-text-opacity,1));background-color:#0000;padding:.375rem 2rem .375rem 10px;font-size:1rem;line-height:1.5rem;position:relative}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7:focus{--tw-border-opacity:1;border-top-width:2px;border-bottom-width:2px;border-bottom-color:rgb(0 107 177/var(--tw-border-opacity,1));outline-offset:2px;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000);outline:2px solid #0000;padding-top:5px;padding-bottom:5px}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7._open_fcnvh_13{--tw-border-opacity:1;border-top-width:2px;border-bottom-width:2px;border-bottom-color:rgb(0 107 177/var(--tw-border-opacity,1))}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7 ._selectValue_fcnvh_16{align-items:center;display:flex}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7 ._selectValue_fcnvh_16._placeholder_fcnvh_19{--tw-text-opacity:1;color:rgb(102 102 102/var(--tw-text-opacity,1))}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7 ._selectValue_fcnvh_16 ._seletIcon_fcnvh_22{flex-shrink:0;width:1.25rem;height:1.25rem;margin-right:.5rem}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7 ._selectValue_fcnvh_16 ._selectText_fcnvh_25{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7 ._chevronDownIconSpan_fcnvh_28{pointer-events:none;align-items:center;padding-right:.5rem;display:flex;position:absolute;top:0;bottom:0;right:0}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7 ._chevronDownIconSpan_fcnvh_28 ._chevronDownIcon_fcnvh_28{--tw-text-opacity:1;width:1.25rem;height:1.25rem;color:rgb(51 51 51/var(--tw-text-opacity,1))}._leave_fcnvh_35{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,1,1)}._leaveFrom_fcnvh_39{opacity:1}._leaveTo_fcnvh_43{opacity:0}._selectOptions_fcnvh_47{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));--tw-shadow:0 1px 6px 0 #00000080;--tw-shadow-colored:0 1px 6px 0 var(--tw-shadow-color);width:100%;max-height:200px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow);margin:0;padding:10px 0;font-size:1rem;line-height:1.5rem;list-style-type:none;overflow:auto}@media (width>=640px){._selectOptions_fcnvh_47{font-size:.875rem;line-height:1.25rem}}._selectOptions_fcnvh_47::-webkit-scrollbar-thumb{--tw-bg-opacity:1;background-color:rgb(169 169 169/var(--tw-bg-opacity,1));border-radius:.375rem}._selectOptions_fcnvh_47::-webkit-scrollbar{width:6px}._selectOptions_fcnvh_47:focus{outline-offset:2px;outline:2px solid #0000}._autocomplete_29ukn_1{position:relative}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4{cursor:default;text-align:left;--tw-text-opacity:1;width:100%;height:2.5rem;color:rgb(51 51 51/var(--tw-text-opacity,1));background-color:#0000;position:relative;overflow:hidden}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4._disable_29ukn_7{--tw-text-opacity:1;color:rgb(167 167 167/var(--tw-text-opacity,1))}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4:focus{outline-offset:2px;outline:2px solid #0000}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000);--tw-ring-opacity:1;--tw-ring-color:rgb(223 223 223/var(--tw-ring-opacity,1));--tw-ring-offset-width:2px;--tw-ring-offset-color:#dfdfdf}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteInput_29ukn_16{box-sizing:border-box;--tw-border-opacity:1;border-width:0 0 1px;border-bottom-color:rgb(51 51 51/var(--tw-border-opacity,1));background-color:#0000;width:100%;height:100%;padding:.5rem 2.5rem .5rem 10px;font-size:1rem;line-height:1.25rem}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteInput_29ukn_16::placeholder{--tw-placeholder-opacity:1;color:rgb(102 102 102/var(--tw-placeholder-opacity,1))}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteInput_29ukn_16{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow)}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteInput_29ukn_16:focus{--tw-border-opacity:1;border-bottom-width:2px;border-bottom-color:rgb(0 107 177/var(--tw-border-opacity,1));outline-offset:2px;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000);outline:2px solid #0000;padding-bottom:7px}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteInput_29ukn_16:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000)}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteInput_29ukn_16[data-focus]{--tw-border-opacity:1;border-bottom-width:2px;border-bottom-color:rgb(0 107 177/var(--tw-border-opacity,1));outline-offset:2px;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000);outline:2px solid #0000;padding-bottom:7px}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteInput_29ukn_16[data-disabled]{cursor:not-allowed;--tw-text-opacity:1;color:rgb(167 167 167/var(--tw-text-opacity,1))}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteButton_29ukn_34{background-color:#0000;border-width:0;align-items:center;padding-right:.5rem;display:flex;position:absolute;top:0;bottom:0;right:0}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteButton_29ukn_34[data-focus]{outline-offset:2px;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000);--tw-ring-opacity:1;--tw-ring-color:rgb(0 107 177/var(--tw-ring-opacity,1));--tw-ring-offset-width:1px;outline:2px solid #0000}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteButton_29ukn_34[data-disabled]{cursor:not-allowed}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteButton_29ukn_34 ._chevronDownIcon_29ukn_44{--tw-text-opacity:1;width:1.25rem;height:1.25rem;color:rgb(51 51 51/var(--tw-text-opacity,1));transition-property:transform;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteButton_29ukn_34 ._chevronDownIcon_29ukn_44._disable_29ukn_7{--tw-text-opacity:1;color:rgb(167 167 167/var(--tw-text-opacity,1))}._autocomplete_29ukn_1 ._autocompleteContainer_29ukn_4 ._autocompleteButton_29ukn_34[data-open] ._chevronDownIcon_29ukn_44{--tw-rotate:180deg;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}._leave_29ukn_57{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,1,1)}._leaveFrom_29ukn_61{opacity:1}._leaveTo_29ukn_65{opacity:0}._autocompleteOptions_29ukn_69{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));--tw-shadow:0 1px 6px 0 #00000080;--tw-shadow-colored:0 1px 6px 0 var(--tw-shadow-color);width:100%;max-height:210px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow);margin:0;padding:10px 0;font-size:1rem;line-height:1.5rem;list-style-type:none;overflow:auto}@media (width>=640px){._autocompleteOptions_29ukn_69{font-size:.875rem;line-height:1.25rem}}._autocompleteOptions_29ukn_69::-webkit-scrollbar-thumb{--tw-bg-opacity:1;background-color:rgb(169 169 169/var(--tw-bg-opacity,1));border-radius:.375rem}._autocompleteOptions_29ukn_69::-webkit-scrollbar{width:6px}._autocompleteOptions_29ukn_69[data-transition]{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-duration:.2s;transition-timing-function:cubic-bezier(0,0,.2,1)}._autocompleteOptions_29ukn_69[data-closed]{--tw-scale-x:.95;--tw-scale-y:.95;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0}._autocompleteOptions_29ukn_69[data-open]{--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:1}._autocompleteOptions_29ukn_69:focus{outline-offset:2px;outline:2px solid #0000}._textInputWrapper_gym4n_1{width:100%}._textInputWrapper_gym4n_1 ._textInput_gym4n_1{--tw-border-opacity:1;border-width:0 0 1px;border-color:rgb(51 51 51/var(--tw-border-opacity,1));--tw-text-opacity:1;width:100%;height:2.5rem;color:rgb(51 51 51/var(--tw-text-opacity,1));outline-offset:2px;outline:2px solid #0000;padding:7px 10px .5rem;font-size:1rem;line-height:1.5rem;display:block}._textInputWrapper_gym4n_1 ._textInput_gym4n_1:focus{--tw-border-opacity:1;border-bottom-width:2px;border-color:rgb(0 107 177/var(--tw-border-opacity,1));padding-bottom:7px}._phoneWrapper_dwcpz_1{justify-content:space-between;align-items:center;gap:.75rem;max-width:380px;display:flex}._phoneWrapper_dwcpz_1 ._countryCode_dwcpz_4{width:100%;max-width:110px;height:2.5rem}._phoneWrapper_dwcpz_1 ._countryCode_dwcpz_4 button{background-color:#0000;height:2.5rem;padding-left:10px;font-weight:400;background:0 0!important}._phoneWrapper_dwcpz_1 ._phoneInputWrap_dwcpz_11{width:100%}._phoneWrapper_dwcpz_1 ._phoneInputWrap_dwcpz_11 ._phoneInput_dwcpz_11{box-sizing:border-box;--tw-border-opacity:1;border-width:0 0 1px;border-color:rgb(51 51 51/var(--tw-border-opacity,1));--tw-text-opacity:1;width:100%;height:2.5rem;color:rgb(51 51 51/var(--tw-text-opacity,1));background-color:#0000;padding-left:3px;padding-right:3px;font-size:1rem;line-height:1.5rem}._phoneWrapper_dwcpz_1 ._phoneInputWrap_dwcpz_11 ._phoneInput_dwcpz_11::placeholder{--tw-placeholder-opacity:1;color:rgb(102 102 102/var(--tw-placeholder-opacity,1))}._phoneWrapper_dwcpz_1 ._phoneInputWrap_dwcpz_11 ._phoneInput_dwcpz_11{outline-offset:2px;outline:2px solid #0000}._phoneWrapper_dwcpz_1 ._phoneInputWrap_dwcpz_11 ._phoneInput_dwcpz_11:focus{--tw-border-opacity:1;border-bottom-width:2px;border-color:rgb(0 107 177/var(--tw-border-opacity,1))}._phoneWrapper_dwcpz_1 ._phoneInputWrap_dwcpz_11 ._phoneInput_dwcpz_11._serverError_dwcpz_17:focus{--tw-border-opacity:1;border-bottom-color:rgb(245 77 77/var(--tw-border-opacity,1))}._phonNumberList_dwcpz_21{min-width:286px}._phonNumberList_dwcpz_21>div{width:auto}._phonNumberList_dwcpz_21>div>div{cursor:default;user-select:none;padding:.5rem 10px;position:relative}._phonNumberList_dwcpz_21>div>div[data-focus=true],._phonNumberList_dwcpz_21>div>div[data-selected=true],._phonNumberList_dwcpz_21>div>div._active_dwcpz_30,._phonNumberList_dwcpz_21>div>div:hover{--tw-bg-opacity:1;background-color:rgb(238 238 238/var(--tw-bg-opacity,1));--tw-text-opacity:1;color:rgb(51 51 51/var(--tw-text-opacity,1))}._phonNumberList_dwcpz_21>div>div ._countryListText_dwcpz_33{align-items:center;display:flex}._phonNumberList_dwcpz_21>div>div ._countryListText_dwcpz_33>span{text-overflow:ellipsis;white-space:nowrap;font-weight:400;display:block;overflow:hidden}._phonNumberList_dwcpz_21 ul{width:auto}._phonNumberList_dwcpz_21 ul li{cursor:default;user-select:none;padding:.5rem 10px;position:relative}._phonNumberList_dwcpz_21 ul li._active_dwcpz_30{--tw-bg-opacity:1;background-color:rgb(238 238 238/var(--tw-bg-opacity,1));--tw-text-opacity:1;color:rgb(51 51 51/var(--tw-text-opacity,1))}._phonNumberList_dwcpz_21 ul li ._countryListText_dwcpz_33{align-items:center;display:flex}._phonNumberList_dwcpz_21 ul li ._countryListText_dwcpz_33>span{text-overflow:ellipsis;white-space:nowrap;font-weight:400;display:block;overflow:hidden}._progress_1piqy_1{width:100%;max-width:100%;margin:0 auto;position:relative;overflow:hidden}._progress-bar_1piqy_9{width:60%;animation-duration:2s;animation-timing-function:linear;animation-iteration-count:infinite;display:block;position:absolute;left:-60%}._radioWrapper_e4gpr_1{flex-direction:column;display:flex}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4{align-items:center;display:flex;position:relative}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7{cursor:pointer;margin-top:7px;margin-bottom:7px;display:flex}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7 ._radioBtnInsideLabel_e4gpr_10{width:1.25rem;height:1.25rem;margin-right:10px;position:relative}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7 ._radioBtnInput_e4gpr_13{opacity:0;width:0;height:0;position:absolute}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7 ._radioBtnAvatar_e4gpr_16{width:1.25rem;height:1.25rem;margin-right:9px}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7 ._radioBtnAvatar_e4gpr_16 img{width:1.25rem;min-width:20px;height:1.25rem;margin-top:1px}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7 ._radioBtnText_e4gpr_23{word-break:break-word;font-size:16px;line-height:22px}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7 ._radioBtnCircle_e4gpr_27{border-style:solid;border-width:1px;border-radius:9999px;width:1.25rem;height:1.25rem;margin-top:1px;display:inline-block;position:relative}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7 ._radioBtnCircle_e4gpr_27._radioBtnChecked_e4gpr_30{border-width:2px}._radioWrapper_e4gpr_1 ._radioBtnBox_e4gpr_4 ._radioBtnLabel_e4gpr_7 ._radioBtnCircleInside_e4gpr_33{border-radius:9999px;width:10px;height:10px;margin-top:-5px;margin-left:-5px;position:absolute;top:50%;left:50%}
|
|
2
|
+
/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();(function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports,require("react"),require("react-dom")):typeof define==`function`&&define.amd?define([`exports`,`react`,`react-dom`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e[`ui-react`]={},e.React,e.ReactDOM))})(this,function(e,t,n){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var r=Object.create,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,l=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),u=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var s=o(t),l=0,u=s.length,d;l<u;l++)d=s[l],!c.call(e,d)&&d!==n&&i(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(r=a(t,d))||r.enumerable});return e},d=(e,t,n)=>(n=e==null?{}:r(s(e)),u(t||!e||!e.__esModule?i(n,`default`,{value:e,enumerable:!0}):n,e));let f=d(t,1);t=d(t),n=d(n,1);var p={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`},m=e=>{if(!e)throw Error(`Please provide a hex color code`);if(!/^#([A-Fa-f0-9]{3}){1,2}$/.test(e))throw Error(`Please provide a valid hex code`);e=e.length===4?e.replace(/^#(.)(.)(.)$/,`#$1$1$2$2$3$3`):e;let t=e.substring(1),[n,r,i]=[0,2,4].map(e=>Number.parseInt(t.substring(e,e+2),16));return(.2126*n+.7152*r+.0722*i)/255<.7?`dark`:`light`},h=class{static convert3HexTo6(e){return typeof e==`string`&&/^#(?:[0-9a-fA-F]{3}){1,2}$/.test(e)&&e.length===4?e.replace(/^#(.)(.)(.)$/,`#$1$1$2$2$3$3`):e}},g=l((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),_=l((e=>{process.env.NODE_ENV!==`production`&&(function(){function t(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===O?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case _:return`Fragment`;case y:return`Profiler`;case v:return`StrictMode`;case C:return`Suspense`;case w:return`SuspenseList`;case D:return`Activity`}if(typeof e==`object`)switch(typeof e.tag==`number`&&console.error(`Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.`),e.$$typeof){case g:return`Portal`;case x:return e.displayName||`Context`;case b:return(e._context.displayName||`Context`)+`.Consumer`;case S:var n=e.render;return e=e.displayName,e||=(e=n.displayName||n.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case T:return n=e.displayName||null,n===null?t(e.type)||`Memo`:n;case E:n=e._payload,e=e._init;try{return t(e(n))}catch{}}return null}function n(e){return``+e}function r(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var r=t.error,i=typeof Symbol==`function`&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||`Object`;return r.call(t,`The provided key is an unsupported type %s. This value must be coerced to a string before using it here.`,i),n(e)}}function i(e){if(e===_)return`<>`;if(typeof e==`object`&&e&&e.$$typeof===E)return`<...>`;try{var n=t(e);return n?`<`+n+`>`:`<...>`}catch{return`<...>`}}function a(){var e=k.A;return e===null?null:e.getOwner()}function o(){return Error(`react-stack-top-frame`)}function s(e){if(A.call(e,`key`)){var t=Object.getOwnPropertyDescriptor(e,`key`).get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function c(e,t){function n(){N||(N=!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)",t))}n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}function l(){var e=t(this.type);return P[e]||(P[e]=!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.`)),e=this.props.ref,e===void 0?null:e}function u(e,t,n,r,i,a){var o=n.ref;return e={$$typeof:h,type:e,key:t,props:n,_owner:r},(o===void 0?null:o)===null?Object.defineProperty(e,"ref",{enumerable:!1,value:null}):Object.defineProperty(e,"ref",{enumerable:!1,get:l}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:i}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:a}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function d(e,n,i,o,l,d){var p=n.children;if(p!==void 0)if(o)if(j(p)){for(o=0;o<p.length;o++)f(p[o]);Object.freeze&&Object.freeze(p)}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 f(p);if(A.call(n,`key`)){p=t(e);var m=Object.keys(n).filter(function(e){return e!==`key`});o=0<m.length?`{key: someKey, `+m.join(`: ..., `)+`: ...}`:`{key: someKey}`,L[p+o]||(m=0<m.length?`{`+m.join(`: ..., `)+`: ...}`:`{}`,console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
19
3
|
let props = %s;
|
|
20
4
|
<%s {...props} />
|
|
21
5
|
React keys must be passed directly to JSX without using spread:
|
|
22
6
|
let props = %s;
|
|
23
|
-
<%s key={someKey} {...props} />`,W,U,z,U),I[U+W]=!0)}if(U=null,j!==void 0&&(n(j),U=""+j),a(T)&&(n(T.key),U=""+T.key),"key"in T){j={};for(var re in T)re!=="key"&&(j[re]=T[re])}else j=T;return U&&d(j,typeof S=="function"?S.displayName||S.name||"Unknown":S),l(S,U,j,o(),L,F)}function g(S){u(S)?S._store&&(S._store.validated=1):typeof S=="object"&&S!==null&&S.$$typeof===Y&&(S._payload.status==="fulfilled"?u(S._payload.value)&&S._payload.value._store&&(S._payload.value._store.validated=1):S._store&&(S._store.validated=1))}function u(S){return typeof S=="object"&&S!==null&&S.$$typeof===c}var f=p,c=Symbol.for("react.transitional.element"),m=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),$=Symbol.for("react.consumer"),x=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),R=Symbol.for("react.suspense_list"),K=Symbol.for("react.memo"),Y=Symbol.for("react.lazy"),D=Symbol.for("react.activity"),A=Symbol.for("react.client.reference"),M=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,G=Object.prototype.hasOwnProperty,Z=Array.isArray,V=console.createTask?console.createTask:function(){return null};f={react_stack_bottom_frame:function(S){return S()}};var J,ne={},Q=f.react_stack_bottom_frame.bind(f,i)(),X=V(r(i)),I={};Sn.Fragment=v,Sn.jsx=function(S,T,j){var W=1e4>M.recentlyCreatedOwnerStacks++;return h(S,T,j,!1,W?Error("react-stack-top-frame"):Q,W?V(r(S)):X)},Sn.jsxs=function(S,T,j){var W=1e4>M.recentlyCreatedOwnerStacks++;return h(S,T,j,!0,W?Error("react-stack-top-frame"):Q,W?V(r(S)):X)}})()),Sn}var oa;function w0(){return oa||(oa=1,process.env.NODE_ENV==="production"?fr.exports=$0():fr.exports=y0()),fr.exports}var _=w0();const pr={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"},Ct=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,a]=[0,2,4].map(s=>Number.parseInt(r.substring(s,s+2),16));return(.2126*o+.7152*i+.0722*a)/255<.7?"dark":"light"};class Qe{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 hr=p.forwardRef(({themeColor:e="",variant:t="primary",size:n="small",shape:r="rounded",children:o,className:i="",style:a={},disabled:d,...s},l)=>{let h={};if(e){const u=Ct(e);if(e=Qe.convert3HexTo6(e),!d&&(u==="dark"||u==="light")){const f=t==="primary"?e:"#ffffff",c=t==="primary"?u==="dark"?"#ffffff":"#333333":u==="light"?"#333333":e,m=e==="#ffffff"?"#c8c8c8":e;h={backgroundColor:f,color:c,outlineColor:m,borderColor:m}}}const g=[pr.button,pr[t],pr[n],pr[r],i].filter(Boolean).join(" ");return _.jsx("button",{disabled:d,ref:l,style:{...h,...a},className:`${g}`,...s,children:o})});hr.displayName="Button";const ft={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"},C0=()=>`checkbox_${Math.random().toString(36).substring(2,11)}`,co=p.forwardRef(({children:e,themeColor:t="",checkboxSize:n="medium",id:r=C0(),checked:o=!1,disabled:i=!1,className:a="",onChange:d,style:s={},tabIndex:l,...h},g)=>{const[u,f]=p.useState(o);let c={},m,v=i?"#9b9b9b":"#ffffff";if(t){const x=Ct(t);if(t=Qe.convert3HexTo6(t),x==="dark"||x==="light"){switch(x){case"dark":v=i?u?"#9b9b9b":"#f9f9f9":"#ffffff";break;case"light":v=i?u?"#9b9b9b":"#f9f9f9":u?"#333333":"#ffffff";break;default:v="#9b9b9b";break}const w=i?"#f9f9f9":u?t:"#ffffff";m=i?"#e4e4e4":t=="#ffffff"?"#333333":t,u&&(c={backgroundColor:w,borderColor:m,outlineColor:m})}}const C=i?ft.checkboxDisabled:"",E=[ft.checkboxLayout,ft[n],C,a].filter(Boolean).join(" "),$=x=>{x.key!="Enter"&&(x.preventDefault(),d?.(x.target.checked),f(!u))};return _.jsx(_.Fragment,{children:_.jsx("div",{className:E,"data-testid":"checkbox",children:_.jsxs("label",{className:ft.checkboxLabel,htmlFor:r,onClick:x=>$(x),children:[_.jsxs("div",{className:ft.checkboxInnerContainer,tabIndex:l||i?-1:0,onKeyPress:x=>$(x),"data-testid":"checkbox-inner-container",children:[_.jsx("input",{className:ft.checkboxInput,onChange:x=>$(x),type:"checkbox",checked:u,disabled:i,id:r,ref:g,...h,tabIndex:-1,"data-testid":"checkbox-input"}),_.jsx("div",{className:ft.checkboxFrame,style:{...c,...s},"data-testid":"checkbox-frame",children:_.jsx("svg",{version:"1.1",focusable:"false",className:ft.checkboxCheckMark,viewBox:"0 0 24 24","data-testid":"check-mark-svg",children:_.jsx("path",{className:ft.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:ft.visuallyHidden,"aria-live":"polite","aria-atomic":"true",children:u?"Checked":"Unchecked"})]})})})});co.displayName="Checkbox";const ia={textInputWrapper:"_textInputWrapper_1i9m6_1",textInput:"_textInput_1i9m6_1"};var ee={},En={exports:{}},x0=En.exports,aa;function S0(){return aa||(aa=1,(function(e,t){(function(n,r){var o="1.0.41",i="",a="?",d="function",s="undefined",l="object",h="string",g="major",u="model",f="name",c="type",m="vendor",v="version",C="architecture",E="console",$="mobile",x="tablet",w="smarttv",N="wearable",R="embedded",K=500,Y="Amazon",D="Apple",A="ASUS",M="BlackBerry",G="Browser",Z="Chrome",V="Edge",J="Firefox",ne="Google",Q="Honor",X="Huawei",I="Lenovo",S="LG",T="Microsoft",j="Motorola",W="Nvidia",L="OnePlus",F="Opera",U="OPPO",z="Samsung",re="Sharp",ae="Sony",le="Xiaomi",P="Zebra",oe="Facebook",Se="Chromium OS",B="Mac OS",de=" Browser",Ce=function(fe,me){var ue={};for(var xe in fe)me[xe]&&me[xe].length%2===0?ue[xe]=me[xe].concat(fe[xe]):ue[xe]=fe[xe];return ue},Ee=function(fe){for(var me={},ue=0;ue<fe.length;ue++)me[fe[ue].toUpperCase()]=fe[ue];return me},Te=function(fe,me){return typeof fe===h?Me(me).indexOf(Me(fe))!==-1:!1},Me=function(fe){return fe.toLowerCase()},Jt=function(fe){return typeof fe===h?fe.replace(/[^\d\.]/g,i).split(".")[0]:r},nt=function(fe,me){if(typeof fe===h)return fe=fe.replace(/^\s\s*/,i),typeof me===s?fe:fe.substring(0,K)},ut=function(fe,me){for(var ue=0,xe,rt,Ge,ve,se,Je;ue<me.length&&!se;){var wn=me[ue],ur=me[ue+1];for(xe=rt=0;xe<wn.length&&!se&&wn[xe];)if(se=wn[xe++].exec(fe),se)for(Ge=0;Ge<ur.length;Ge++)Je=se[++rt],ve=ur[Ge],typeof ve===l&&ve.length>0?ve.length===2?typeof ve[1]==d?this[ve[0]]=ve[1].call(this,Je):this[ve[0]]=ve[1]:ve.length===3?typeof ve[1]===d&&!(ve[1].exec&&ve[1].test)?this[ve[0]]=Je?ve[1].call(this,Je,ve[2]):r:this[ve[0]]=Je?Je.replace(ve[1],ve[2]):r:ve.length===4&&(this[ve[0]]=Je?ve[3].call(this,Je.replace(ve[1],ve[2])):r):this[ve]=Je||r;ue+=2}},ct=function(fe,me){for(var ue in me)if(typeof me[ue]===l&&me[ue].length>0){for(var xe=0;xe<me[ue].length;xe++)if(Te(me[ue][xe],fe))return ue===a?r:ue}else if(Te(me[ue],fe))return ue===a?r:ue;return me.hasOwnProperty("*")?me["*"]:fe},yt={"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},sr={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"},lr={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[v,[f,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[v,[f,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[f,v],[/opios[\/ ]+([\w\.]+)/i],[v,[f,F+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[v,[f,F+" GX"]],[/\bopr\/([\w\.]+)/i],[v,[f,F]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[v,[f,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[v,[f,"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],[f,v],[/quark(?:pc)?\/([-\w\.]+)/i],[v,[f,"Quark"]],[/\bddg\/([\w\.]+)/i],[v,[f,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[v,[f,"UC"+G]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[v,[f,"WeChat"]],[/konqueror\/([\w\.]+)/i],[v,[f,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[v,[f,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[v,[f,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[v,[f,"Smart Lenovo "+G]],[/(avast|avg)\/([\w\.]+)/i],[[f,/(.+)/,"$1 Secure "+G],v],[/\bfocus\/([\w\.]+)/i],[v,[f,J+" Focus"]],[/\bopt\/([\w\.]+)/i],[v,[f,F+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[v,[f,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[v,[f,"Dolphin"]],[/coast\/([\w\.]+)/i],[v,[f,F+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[v,[f,"MIUI"+de]],[/fxios\/([\w\.-]+)/i],[v,[f,J]],[/\bqihoobrowser\/?([\w\.]*)/i],[v,[f,"360"]],[/\b(qq)\/([\w\.]+)/i],[[f,/(.+)/,"$1Browser"],v],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[f,/(.+)/,"$1"+de],v],[/samsungbrowser\/([\w\.]+)/i],[v,[f,z+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[v,[f,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[f,"Sogou Mobile"],v],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[f,v],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[f],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[v,f],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[f,oe],v],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\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],[f,v],[/\bgsa\/([\w\.]+) .*safari\//i],[v,[f,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[v,[f,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[v,[f,Z+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[f,Z+" WebView"],v],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[v,[f,"Android "+G]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[f,v],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[v,[f,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[v,f],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[f,[v,ct,yt]],[/(webkit|khtml)\/([\w\.]+)/i],[f,v],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[f,"Netscape"],v],[/(wolvic|librewolf)\/([\w\.]+)/i],[f,v],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[v,[f,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,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[f,[v,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[f,[v,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[C,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[C,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[C,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[C,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[C,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[C,/ower/,i,Me]],[/ sun4\w[;\)]/i],[[C,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[C,Me]]],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],[u,[m,z],[c,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],[u,[m,z],[c,$]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[u,[m,D],[c,$]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[u,[m,D],[c,x]],[/(macintosh);/i],[u,[m,D]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[u,[m,re],[c,$]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[u,[m,Q],[c,x]],[/honor([-\w ]+)[;\)]/i],[u,[m,Q],[c,$]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[u,[m,X],[c,x]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[u,[m,X],[c,$]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[u,/_/g," "],[m,le],[c,x]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[u,/_/g," "],[m,le],[c,$]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[u,[m,U],[c,$]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[u,[m,ct,{OnePlus:["304","403","203"],"*":U}],[c,x]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[u,[m,"Vivo"],[c,$]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[u,[m,"Realme"],[c,$]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[u,[m,j],[c,$]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[u,[m,j],[c,x]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[u,[m,S],[c,x]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[u,[m,S],[c,$]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[u,[m,I],[c,x]],[/(nokia) (t[12][01])/i],[m,u,[c,x]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[u,/_/g," "],[c,$],[m,"Nokia"]],[/(pixel (c|tablet))\b/i],[u,[m,ne],[c,x]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[u,[m,ne],[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],[u,[m,ae],[c,$]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[u,"Xperia Tablet"],[m,ae],[c,x]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[u,[m,L],[c,$]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[u,[m,Y],[c,x]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[u,/(.+)/g,"Fire Phone $1"],[m,Y],[c,$]],[/(playbook);[-\w\),; ]+(rim)/i],[u,m,[c,x]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[u,[m,M],[c,$]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[u,[m,A],[c,x]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[u,[m,A],[c,$]],[/(nexus 9)/i],[u,[m,"HTC"],[c,x]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[m,[u,/_/g," "],[c,$]],[/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],[u,[m,"TCL"],[c,x]],[/(itel) ((\w+))/i],[[m,Me],u,[c,ct,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[u,[m,"Acer"],[c,x]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[u,[m,"Meizu"],[c,$]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[u,[m,"Ulefone"],[c,$]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[u,[m,"Energizer"],[c,$]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[u,[m,"Cat"],[c,$]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[u,[m,"Smartfren"],[c,$]],[/droid.+; (a(?:015|06[35]|142p?))/i],[u,[m,"Nothing"],[c,$]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[u,[m,"Archos"],[c,x]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[u,[m,"Archos"],[c,$]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[m,u,[c,x]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[m,u,[c,$]],[/(kobo)\s(ereader|touch)/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],[m,u,[c,x]],[/(surface duo)/i],[u,[m,T],[c,x]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[u,[m,"Fairphone"],[c,$]],[/(u304aa)/i],[u,[m,"AT&T"],[c,$]],[/\bsie-(\w*)/i],[u,[m,"Siemens"],[c,$]],[/\b(rct\w+) b/i],[u,[m,"RCA"],[c,x]],[/\b(venue[\d ]{2,7}) b/i],[u,[m,"Dell"],[c,x]],[/\b(q(?:mv|ta)\w+) b/i],[u,[m,"Verizon"],[c,x]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[u,[m,"Barnes & Noble"],[c,x]],[/\b(tm\d{3}\w+) b/i],[u,[m,"NuVision"],[c,x]],[/\b(k88) b/i],[u,[m,"ZTE"],[c,x]],[/\b(nx\d{3}j) b/i],[u,[m,"ZTE"],[c,$]],[/\b(gen\d{3}) b.+49h/i],[u,[m,"Swiss"],[c,$]],[/\b(zur\d{3}) b/i],[u,[m,"Swiss"],[c,x]],[/\b((zeki)?tb.*\b) b/i],[u,[m,"Zeki"],[c,x]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[m,"Dragon Touch"],u,[c,x]],[/\b(ns-?\w{0,9}) b/i],[u,[m,"Insignia"],[c,x]],[/\b((nxa|next)-?\w{0,9}) b/i],[u,[m,"NextBook"],[c,x]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[m,"Voice"],u,[c,$]],[/\b(lvtel\-)?(v1[12]) b/i],[[m,"LvTel"],u,[c,$]],[/\b(ph-1) /i],[u,[m,"Essential"],[c,$]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[u,[m,"Envizen"],[c,x]],[/\b(trio[-\w\. ]+) b/i],[u,[m,"MachSpeed"],[c,x]],[/\btu_(1491) b/i],[u,[m,"Rotor"],[c,x]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[u,[m,W],[c,x]],[/(sprint) (\w+)/i],[m,u,[c,$]],[/(kin\.[onetw]{3})/i],[[u,/\./g," "],[m,T],[c,$]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[u,[m,P],[c,x]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[u,[m,P],[c,$]],[/smart-tv.+(samsung)/i],[m,[c,w]],[/hbbtv.+maple;(\d+)/i],[[u,/^/,"SmartTV"],[m,z],[c,w]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[m,S],[c,w]],[/(apple) ?tv/i],[m,[u,D+" TV"],[c,w]],[/crkey/i],[[u,Z+"cast"],[m,ne],[c,w]],[/droid.+aft(\w+)( bui|\))/i],[u,[m,Y],[c,w]],[/(shield \w+ tv)/i],[u,[m,W],[c,w]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[u,[m,re],[c,w]],[/(bravia[\w ]+)( bui|\))/i],[u,[m,ae],[c,w]],[/(mi(tv|box)-?\w+) bui/i],[u,[m,le],[c,w]],[/Hbbtv.*(technisat) (.*);/i],[m,u,[c,w]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[m,nt],[u,nt],[c,w]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[u,[c,w]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[c,w]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[m,u,[c,E]],[/droid.+; (shield)( bui|\))/i],[u,[m,W],[c,E]],[/(playstation \w+)/i],[u,[m,ae],[c,E]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[u,[m,T],[c,E]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[u,[m,z],[c,N]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[m,u,[c,N]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[u,[m,U],[c,N]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[u,[m,D],[c,N]],[/(opwwe\d{3})/i],[u,[m,L],[c,N]],[/(moto 360)/i],[u,[m,j],[c,N]],[/(smartwatch 3)/i],[u,[m,ae],[c,N]],[/(g watch r)/i],[u,[m,S],[c,N]],[/droid.+; (wt63?0{2,3})\)/i],[u,[m,P],[c,N]],[/droid.+; (glass) \d/i],[u,[m,ne],[c,N]],[/(pico) (4|neo3(?: link|pro)?)/i],[m,u,[c,N]],[/; (quest( \d| pro)?)/i],[u,[m,oe],[c,N]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[m,[c,R]],[/(aeobc)\b/i],[u,[m,Y],[c,R]],[/(homepod).+mac os/i],[u,[m,D],[c,R]],[/windows iot/i],[[c,R]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[u,[c,$]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[u,[c,x]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[c,x]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[c,$]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[u,[m,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[v,[f,V+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[f,v],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[v,[f,"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],[f,v],[/ladybird\//i],[[f,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[v,f]],os:[[/microsoft (windows) (vista|xp)/i],[f,v],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[f,[v,ct,sr]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[v,ct,sr],[f,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[v,/_/g,"."],[f,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[f,B],[v,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[v,f],[/(ubuntu) ([\w\.]+) like android/i],[[f,/(.+)/,"$1 Touch"],v],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[f,v],[/\(bb(10);/i],[v,[f,M]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[v,[f,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[v,[f,J+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[v,[f,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[v,[f,"watchOS"]],[/crkey\/([\d\.]+)/i],[v,[f,Z+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[f,Se],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)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[f,v],[/(sunos) ?([\w\.\d]*)/i],[[f,"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],[f,v]]},ze=function(fe,me){if(typeof fe===l&&(me=fe,fe=r),!(this instanceof ze))return new ze(fe,me).getResult();var ue=typeof n!==s&&n.navigator?n.navigator:r,xe=fe||(ue&&ue.userAgent?ue.userAgent:i),rt=ue&&ue.userAgentData?ue.userAgentData:r,Ge=me?Ce(lr,me):lr,ve=ue&&ue.userAgent==xe;return this.getBrowser=function(){var se={};return se[f]=r,se[v]=r,ut.call(se,xe,Ge.browser),se[g]=Jt(se[v]),ve&&ue&&ue.brave&&typeof ue.brave.isBrave==d&&(se[f]="Brave"),se},this.getCPU=function(){var se={};return se[C]=r,ut.call(se,xe,Ge.cpu),se},this.getDevice=function(){var se={};return se[m]=r,se[u]=r,se[c]=r,ut.call(se,xe,Ge.device),ve&&!se[c]&&rt&&rt.mobile&&(se[c]=$),ve&&se[u]=="Macintosh"&&ue&&typeof ue.standalone!==s&&ue.maxTouchPoints&&ue.maxTouchPoints>2&&(se[u]="iPad",se[c]=x),se},this.getEngine=function(){var se={};return se[f]=r,se[v]=r,ut.call(se,xe,Ge.engine),se},this.getOS=function(){var se={};return se[f]=r,se[v]=r,ut.call(se,xe,Ge.os),ve&&!se[f]&&rt&&rt.platform&&rt.platform!="Unknown"&&(se[f]=rt.platform.replace(/chrome os/i,Se).replace(/macos/i,B)),se},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 xe},this.setUA=function(se){return xe=typeof se===h&&se.length>K?nt(se,K):se,this},this.setUA(xe),this};ze.VERSION=o,ze.BROWSER=Ee([f,v,g]),ze.CPU=Ee([C]),ze.DEVICE=Ee([u,m,c,E,$,w,x,N,R]),ze.ENGINE=ze.OS=Ee([f,v]),e.exports&&(t=e.exports=ze),t.UAParser=ze;var kt=typeof n!==s&&(n.jQuery||n.Zepto);if(kt&&!kt.ua){var Qt=new ze;kt.ua=Qt.getResult(),kt.ua.get=function(){return Qt.getUA()},kt.ua.set=function(fe){Qt.setUA(fe);var me=Qt.getResult();for(var ue in me)kt.ua[ue]=me[ue]}}})(typeof window=="object"?window:x0)})(En,En.exports)),En.exports}var da;function E0(){if(da)return ee;da=1,Object.defineProperty(ee,"__esModule",{value:!0});function e(O){return O&&typeof O=="object"&&"default"in O?O.default:O}var t=p,n=e(t),r=S0(),o=new r,i=o.getBrowser(),a=o.getCPU(),d=o.getDevice(),s=o.getEngine(),l=o.getOS(),h=o.getUA(),g=function(b){return o.setUA(b)},u=function(b){if(!b){console.error("No userAgent string was provided");return}var y=new r(b);return{UA:y,browser:y.getBrowser(),cpu:y.getCPU(),device:y.getDevice(),engine:y.getEngine(),os:y.getOS(),ua:y.getUA(),setUserAgent:function(H){return y.setUA(H)}}},f=Object.freeze({ClientUAInstance:o,browser:i,cpu:a,device:d,engine:s,os:l,ua:h,setUa:g,parseUserAgent:u});function c(O,b){var y=Object.keys(O);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(O);b&&(k=k.filter(function(H){return Object.getOwnPropertyDescriptor(O,H).enumerable})),y.push.apply(y,k)}return y}function m(O){for(var b=1;b<arguments.length;b++){var y=arguments[b]!=null?arguments[b]:{};b%2?c(Object(y),!0).forEach(function(k){x(O,k,y[k])}):Object.getOwnPropertyDescriptors?Object.defineProperties(O,Object.getOwnPropertyDescriptors(y)):c(Object(y)).forEach(function(k){Object.defineProperty(O,k,Object.getOwnPropertyDescriptor(y,k))})}return O}function v(O){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?v=function(b){return typeof b}:v=function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},v(O)}function C(O,b){if(!(O instanceof b))throw new TypeError("Cannot call a class as a function")}function E(O,b){for(var y=0;y<b.length;y++){var k=b[y];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(O,k.key,k)}}function $(O,b,y){return b&&E(O.prototype,b),O}function x(O,b,y){return b in O?Object.defineProperty(O,b,{value:y,enumerable:!0,configurable:!0,writable:!0}):O[b]=y,O}function w(){return w=Object.assign||function(O){for(var b=1;b<arguments.length;b++){var y=arguments[b];for(var k in y)Object.prototype.hasOwnProperty.call(y,k)&&(O[k]=y[k])}return O},w.apply(this,arguments)}function N(O,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(b&&b.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),b&&K(O,b)}function R(O){return R=Object.setPrototypeOf?Object.getPrototypeOf:function(y){return y.__proto__||Object.getPrototypeOf(y)},R(O)}function K(O,b){return K=Object.setPrototypeOf||function(k,H){return k.__proto__=H,k},K(O,b)}function Y(O,b){if(O==null)return{};var y={},k=Object.keys(O),H,he;for(he=0;he<k.length;he++)H=k[he],!(b.indexOf(H)>=0)&&(y[H]=O[H]);return y}function D(O,b){if(O==null)return{};var y=Y(O,b),k,H;if(Object.getOwnPropertySymbols){var he=Object.getOwnPropertySymbols(O);for(H=0;H<he.length;H++)k=he[H],!(b.indexOf(k)>=0)&&Object.prototype.propertyIsEnumerable.call(O,k)&&(y[k]=O[k])}return y}function A(O){if(O===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O}function M(O,b){if(b&&(typeof b=="object"||typeof b=="function"))return b;if(b!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return A(O)}function G(O,b){return Z(O)||V(O,b)||J(O,b)||Q()}function Z(O){if(Array.isArray(O))return O}function V(O,b){var y=O==null?null:typeof Symbol<"u"&&O[Symbol.iterator]||O["@@iterator"];if(y!=null){var k=[],H=!0,he=!1,Ie,qe;try{for(y=y.call(O);!(H=(Ie=y.next()).done)&&(k.push(Ie.value),!(b&&k.length===b));H=!0);}catch(uo){he=!0,qe=uo}finally{try{!H&&y.return!=null&&y.return()}finally{if(he)throw qe}}return k}}function J(O,b){if(O){if(typeof O=="string")return ne(O,b);var y=Object.prototype.toString.call(O).slice(8,-1);if(y==="Object"&&O.constructor&&(y=O.constructor.name),y==="Map"||y==="Set")return Array.from(O);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return ne(O,b)}}function ne(O,b){(b==null||b>O.length)&&(b=O.length);for(var y=0,k=new Array(b);y<b;y++)k[y]=O[y];return k}function Q(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
24
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var X={Mobile:"mobile",Tablet:"tablet",SmartTv:"smarttv",Console:"console",Wearable:"wearable",Embedded:"embedded",Browser:void 0},I={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"},S={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},T={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},j=function(b){switch(b){case X.Mobile:return{isMobile:!0};case X.Tablet:return{isTablet:!0};case X.SmartTv:return{isSmartTV:!0};case X.Console:return{isConsole:!0};case X.Wearable:return{isWearable:!0};case X.Browser:return{isBrowser:!0};case X.Embedded:return{isEmbedded:!0};default:return T}},W=function(b){return g(b)},L=function(b){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"none";return b||y},F=function(){return typeof window<"u"&&(window.navigator||navigator)?window.navigator||navigator:!1},U=function(b){var y=F();return y&&y.platform&&(y.platform.indexOf(b)!==-1||y.platform==="MacIntel"&&y.maxTouchPoints>1&&!window.MSStream)},z=function(b,y,k,H,he){return{isBrowser:b,browserMajorVersion:L(y.major),browserFullVersion:L(y.version),browserName:L(y.name),engineName:L(k.name),engineVersion:L(k.version),osName:L(H.name),osVersion:L(H.version),userAgent:L(he)}},re=function(b,y,k,H){return m({},b,{vendor:L(y.vendor),model:L(y.model),os:L(k.name),osVersion:L(k.version),ua:L(H)})},ae=function(b,y,k,H){return{isSmartTV:b,engineName:L(y.name),engineVersion:L(y.version),osName:L(k.name),osVersion:L(k.version),userAgent:L(H)}},le=function(b,y,k,H){return{isConsole:b,engineName:L(y.name),engineVersion:L(y.version),osName:L(k.name),osVersion:L(k.version),userAgent:L(H)}},P=function(b,y,k,H){return{isWearable:b,engineName:L(y.name),engineVersion:L(y.version),osName:L(k.name),osVersion:L(k.version),userAgent:L(H)}},oe=function(b,y,k,H,he){return{isEmbedded:b,vendor:L(y.vendor),model:L(y.model),engineName:L(k.name),engineVersion:L(k.version),osName:L(H.name),osVersion:L(H.version),userAgent:L(he)}};function Se(O){var b=O?u(O):f,y=b.device,k=b.browser,H=b.engine,he=b.os,Ie=b.ua,qe=j(y.type),uo=qe.isBrowser,Np=qe.isMobile,Ip=qe.isTablet,p0=qe.isSmartTV,h0=qe.isConsole,m0=qe.isWearable,v0=qe.isEmbedded;if(uo)return z(uo,k,H,he,Ie);if(p0)return ae(p0,H,he,Ie);if(h0)return le(h0,H,he,Ie);if(Np||Ip)return re(qe,y,he,Ie);if(m0)return P(m0,H,he,Ie);if(v0)return oe(v0,y,H,he,Ie)}var B=function(b){var y=b.type;return y===X.Mobile},de=function(b){var y=b.type;return y===X.Tablet},Ce=function(b){var y=b.type;return y===X.Mobile||y===X.Tablet},Ee=function(b){var y=b.type;return y===X.SmartTv},Te=function(b){var y=b.type;return y===X.Browser},Me=function(b){var y=b.type;return y===X.Wearable},Jt=function(b){var y=b.type;return y===X.Console},nt=function(b){var y=b.type;return y===X.Embedded},ut=function(b){var y=b.vendor;return L(y)},ct=function(b){var y=b.model;return L(y)},yt=function(b){var y=b.type;return L(y,"browser")},sr=function(b){var y=b.name;return y===S.Android},lr=function(b){var y=b.name;return y===S.Windows},ze=function(b){var y=b.name;return y===S.MAC_OS},kt=function(b){var y=b.name;return y===S.WindowsPhone},Qt=function(b){var y=b.name;return y===S.IOS},fe=function(b){var y=b.version;return L(y)},me=function(b){var y=b.name;return L(y)},ue=function(b){var y=b.name;return y===I.Chrome},xe=function(b){var y=b.name;return y===I.Firefox},rt=function(b){var y=b.name;return y===I.Chromium},Ge=function(b){var y=b.name;return y===I.Edge},ve=function(b){var y=b.name;return y===I.Yandex},se=function(b){var y=b.name;return y===I.Safari||y===I.MobileSafari},Je=function(b){var y=b.name;return y===I.MobileSafari},wn=function(b){var y=b.name;return y===I.Opera},ur=function(b){var y=b.name;return y===I.InternetExplorer||y===I.Ie},Uu=function(b){var y=b.name;return y===I.MIUI},Hu=function(b){var y=b.name;return y===I.SamsungBrowser},Gu=function(b){var y=b.version;return L(y)},Ku=function(b){var y=b.major;return L(y)},zu=function(b){var y=b.name;return L(y)},qu=function(b){var y=b.name;return L(y)},Yu=function(b){var y=b.version;return L(y)},Xu=function(){var b=F(),y=b&&b.userAgent&&b.userAgent.toLowerCase();return typeof y=="string"?/electron/.test(y):!1},Cn=function(b){return typeof b=="string"&&b.indexOf("Edg/")!==-1},Zu=function(){var b=F();return b&&(/iPad|iPhone|iPod/.test(b.platform)||b.platform==="MacIntel"&&b.maxTouchPoints>1)&&!window.MSStream},wt=function(){return U("iPad")},Ju=function(){return U("iPhone")},Qu=function(){return U("iPod")},e0=function(b){return L(b)};function t0(O){var b=O||f,y=b.device,k=b.browser,H=b.os,he=b.engine,Ie=b.ua;return{isSmartTV:Ee(y),isConsole:Jt(y),isWearable:Me(y),isEmbedded:nt(y),isMobileSafari:Je(k)||wt(),isChromium:rt(k),isMobile:Ce(y)||wt(),isMobileOnly:B(y),isTablet:de(y)||wt(),isBrowser:Te(y),isDesktop:Te(y),isAndroid:sr(H),isWinPhone:kt(H),isIOS:Qt(H)||wt(),isChrome:ue(k),isFirefox:xe(k),isSafari:se(k),isOpera:wn(k),isIE:ur(k),osVersion:fe(H),osName:me(H),fullBrowserVersion:Gu(k),browserVersion:Ku(k),browserName:zu(k),mobileVendor:ut(y),mobileModel:ct(y),engineName:qu(he),engineVersion:Yu(he),getUA:e0(Ie),isEdge:Ge(k)||Cn(Ie),isYandex:ve(k),deviceType:yt(y),isIOS13:Zu(),isIPad13:wt(),isIPhone13:Ju(),isIPod13:Qu(),isElectron:Xu(),isEdgeChromium:Cn(Ie),isLegacyEdge:Ge(k)&&!Cn(Ie),isWindows:lr(H),isMacOs:ze(H),isMIUI:Uu(k),isSamsungBrowser:Hu(k)}}var n0=Ee(d),r0=Jt(d),o0=Me(d),M8=nt(d),L8=Je(i)||wt(),D8=rt(i),lo=Ce(d)||wt(),i0=B(d),a0=de(d)||wt(),d0=Te(d),j8=Te(d),s0=sr(l),l0=kt(l),u0=Qt(l)||wt(),R8=ue(i),B8=xe(i),W8=se(i),V8=wn(i),c0=ur(i),U8=fe(l),H8=me(l),G8=Gu(i),K8=Ku(i),z8=zu(i),q8=ut(d),Y8=ct(d),X8=qu(s),Z8=Yu(s),J8=e0(h),Q8=Ge(i)||Cn(h),ep=ve(i),tp=yt(d),np=Zu(),rp=wt(),op=Ju(),ip=Qu(),ap=Xu(),dp=Cn(h),sp=Ge(i)&&!Cn(h),lp=lr(l),up=ze(l),cp=Uu(i),fp=Hu(i),pp=function(b){if(!b||typeof b!="string"){console.error("No valid user agent string was provided");return}var y=u(b),k=y.device,H=y.browser,he=y.os,Ie=y.engine,qe=y.ua;return t0({device:k,browser:H,os:he,engine:Ie,ua:qe})},hp=function(b){var y=b.renderWithFragment,k=b.children,H=D(b,["renderWithFragment","children"]);return s0?y?n.createElement(t.Fragment,null,k):n.createElement("div",H,k):null},mp=function(b){var y=b.renderWithFragment,k=b.children,H=D(b,["renderWithFragment","children"]);return d0?y?n.createElement(t.Fragment,null,k):n.createElement("div",H,k):null},vp=function(b){var y=b.renderWithFragment,k=b.children,H=D(b,["renderWithFragment","children"]);return c0?y?n.createElement(t.Fragment,null,k):n.createElement("div",H,k):null},gp=function(b){var y=b.renderWithFragment,k=b.children,H=D(b,["renderWithFragment","children"]);return u0?y?n.createElement(t.Fragment,null,k):n.createElement("div",H,k):null},bp=function(b){var y=b.renderWithFragment,k=b.children,H=D(b,["renderWithFragment","children"]);return lo?y?n.createElement(t.Fragment,null,k):n.createElement("div",H,k):null},$p=function(b){var y=b.renderWithFragment,k=b.children,H=D(b,["renderWithFragment","children"]);return a0?y?n.createElement(t.Fragment,null,k):n.createElement("div",H,k):null},yp=function(b){var y=b.renderWithFragment,k=b.children,H=D(b,["renderWithFragment","children"]);return l0?y?n.createElement(t.Fragment,null,k):n.createElement("div",H,k):null},wp=function(b){var y=b.renderWithFragment,k=b.children;b.viewClassName,b.style;var H=D(b,["renderWithFragment","children","viewClassName","style"]);return i0?y?n.createElement(t.Fragment,null,k):n.createElement("div",H,k):null},Cp=function(b){var y=b.renderWithFragment,k=b.children,H=D(b,["renderWithFragment","children"]);return n0?y?n.createElement(t.Fragment,null,k):n.createElement("div",H,k):null},xp=function(b){var y=b.renderWithFragment,k=b.children,H=D(b,["renderWithFragment","children"]);return r0?y?n.createElement(t.Fragment,null,k):n.createElement("div",H,k):null},Sp=function(b){var y=b.renderWithFragment,k=b.children,H=D(b,["renderWithFragment","children"]);return o0?y?n.createElement(t.Fragment,null,k):n.createElement("div",H,k):null},Ep=function(b){var y=b.renderWithFragment,k=b.children;b.viewClassName,b.style;var H=b.condition,he=D(b,["renderWithFragment","children","viewClassName","style","condition"]);return H?y?n.createElement(t.Fragment,null,k):n.createElement("div",he,k):null};function Op(O){return(function(b){N(y,b);function y(k){var H;return C(this,y),H=M(this,R(y).call(this,k)),H.isEventListenerAdded=!1,H.handleOrientationChange=H.handleOrientationChange.bind(A(H)),H.onOrientationChange=H.onOrientationChange.bind(A(H)),H.onPageLoad=H.onPageLoad.bind(A(H)),H.state={isLandscape:!1,isPortrait:!1},H}return $(y,[{key:"handleOrientationChange",value:function(){this.isEventListenerAdded||(this.isEventListenerAdded=!0);var H=window.innerWidth>window.innerHeight?90:0;this.setState({isPortrait:H===0,isLandscape:H===90})}},{key:"onOrientationChange",value:function(){this.handleOrientationChange()}},{key:"onPageLoad",value:function(){this.handleOrientationChange()}},{key:"componentDidMount",value:function(){(typeof window>"u"?"undefined":v(window))!==void 0&&lo&&(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 n.createElement(O,w({},this.props,{isLandscape:this.state.isLandscape,isPortrait:this.state.isPortrait}))}}]),y})(n.Component)}function Pp(){var O=t.useState(function(){var he=window.innerWidth>window.innerHeight?90:0;return{isPortrait:he===0,isLandscape:he===90,orientation:he===0?"portrait":"landscape"}}),b=G(O,2),y=b[0],k=b[1],H=t.useCallback(function(){var he=window.innerWidth>window.innerHeight?90:0,Ie={isPortrait:he===0,isLandscape:he===90,orientation:he===0?"portrait":"landscape"};y.orientation!==Ie.orientation&&k(Ie)},[y.orientation]);return t.useEffect(function(){return(typeof window>"u"?"undefined":v(window))!==void 0&&lo&&(H(),window.addEventListener("load",H,!1),window.addEventListener("resize",H,!1)),function(){window.removeEventListener("resize",H,!1),window.removeEventListener("load",H,!1)}},[H]),y}function f0(O){var b=O||window.navigator.userAgent;return u(b)}function Tp(O){var b=O||window.navigator.userAgent,y=f0(b),k=t0(y);return[k,y]}return ee.AndroidView=hp,ee.BrowserTypes=I,ee.BrowserView=mp,ee.ConsoleView=xp,ee.CustomView=Ep,ee.IEView=vp,ee.IOSView=gp,ee.MobileOnlyView=wp,ee.MobileView=bp,ee.OsTypes=S,ee.SmartTVView=Cp,ee.TabletView=$p,ee.WearableView=Sp,ee.WinPhoneView=yp,ee.browserName=z8,ee.browserVersion=K8,ee.deviceDetect=Se,ee.deviceType=tp,ee.engineName=X8,ee.engineVersion=Z8,ee.fullBrowserVersion=G8,ee.getSelectorsByUserAgent=pp,ee.getUA=J8,ee.isAndroid=s0,ee.isBrowser=d0,ee.isChrome=R8,ee.isChromium=D8,ee.isConsole=r0,ee.isDesktop=j8,ee.isEdge=Q8,ee.isEdgeChromium=dp,ee.isElectron=ap,ee.isEmbedded=M8,ee.isFirefox=B8,ee.isIE=c0,ee.isIOS=u0,ee.isIOS13=np,ee.isIPad13=rp,ee.isIPhone13=op,ee.isIPod13=ip,ee.isLegacyEdge=sp,ee.isMIUI=cp,ee.isMacOs=up,ee.isMobile=lo,ee.isMobileOnly=i0,ee.isMobileSafari=L8,ee.isOpera=V8,ee.isSafari=W8,ee.isSamsungBrowser=fp,ee.isSmartTV=n0,ee.isTablet=a0,ee.isWearable=o0,ee.isWinPhone=l0,ee.isWindows=lp,ee.isYandex=ep,ee.mobileModel=Y8,ee.mobileVendor=q8,ee.osName=H8,ee.osVersion=U8,ee.parseUserAgent=u,ee.setUserAgent=W,ee.useDeviceData=f0,ee.useDeviceSelectors=Tp,ee.useMobileOrientation=Pp,ee.withOrientationChange=Op,ee}var O0=E0();const P0=p.memo(p.forwardRef(({themeColor:e="",onSubmit:t,style:n={},className:r="",onInput:o,onFocus:i,onBlur:a,...d},s)=>{const[l,h]=p.useState(!0),[g,u]=p.useState(!1);e=Qe.convert3HexTo6(e),p.useEffect(()=>{h(O0.isMobile)},[]);const f=$=>{!l&&$.key==="Enter"&&!$.shiftKey&&t&&($.preventDefault(),t())},c=$=>{o?.($),$.target.style.height="40px",$.target.style.height=2+$.target.scrollHeight+"px"};let m={};const v=[ia.textInput,r].filter(Boolean).join(" "),C=()=>{u(!0)},E=()=>{u(!1)};return m={borderBottomColor:g?e!=="#ffffff"?e:"#c8c8c8":""},_.jsx("div",{className:ia.textInputWrapper,children:_.jsx("textarea",{"data-testid":"textbox-input",ref:s,className:v,style:{...m,...n},onFocus:C,onBlur:E,onInput:$=>c($),onKeyDown:f,...d})})})),Le={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",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"},On={pseudoCheckbox:"_pseudoCheckbox_z8j4c_1",checkboxCheckMark:"_checkboxCheckMark_z8j4c_4",checkboxCheckMarkPath:"_checkboxCheckMarkPath_z8j4c_7",checked:"_checked_z8j4c_12",checkboxDisabled:"_checkboxDisabled_z8j4c_22"},fo=({checked:e=!1,themeColor:t="",disabled:n=!1})=>{let r={},o="#006bb1",i=n?"#9b9b9b":"#ffffff";const a=n?On.checkboxDisabled:"",d=e?On.checked:"",s=[On.pseudoCheckbox,d,a].filter(Boolean).join(" ");let l;if(t){const h=Ct(t);t=Qe.convert3HexTo6(t),h==="dark"||h==="light"?(n?i=e?"#9b9b9b":"#f9f9f9":i=h=="light"?"#333333":"#ffffff",o=n?"#f9f9f9":e?t:"#ffffff",l=n?"#e4e4e4":t==="#ffffff"?"#333333":t,e&&(r={backgroundColor:o,borderColor:l,outlineColor:l})):i="#9b9b9b"}return _.jsx("div",{style:r,className:s,role:"checkbox","aria-checked":e,"aria-hidden":"true",tabIndex:-1,"data-testid":"checkbox-input",children:_.jsx("svg",{version:"1.1",focusable:"false",className:On.checkboxCheckMark,viewBox:"0 0 24 24",children:_.jsx("path",{className:On.checkboxCheckMarkPath,fill:"none",stroke:i,d:"M4.1,12.7 9,17.6 20.3,6.3"})})})};fo.displayName="Checkbox";const T0=({options:e,checkedValue:t,onSelectionChange:n,maxOptions:r,themeColor:o,className:i="",style:a={}})=>{const d=p.useRef(e),[s,l]=p.useState(t),[h,g]=p.useState(""),[u,f]=p.useState(!1),[c,m]=p.useState(!1),v=p.useRef(null),C=p.useRef(null),E=p.useRef(null),$=p.useRef(null),x=p.useRef(null),w=p.useRef(null),[N,R]=p.useState(-1),K=p.useRef(0),Y=p.useRef(0),[D,A]=p.useState(!1);let M={};const[G,Z]=p.useState({left:0,top:0}),[V,J]=p.useState(null),ne=p.useRef(!1),Q=p.useRef(null),X=()=>{setTimeout(()=>{(v.current?.children[0]).focus()},0)};p.useEffect(()=>{const P=oe=>{C.current&&!C.current.contains(oe.target)&&(f(!1),g(""),X())};return document.addEventListener("mousedown",P),()=>{document.removeEventListener("mousedown",P)}},[]);const I=()=>{K.current=window.innerHeight,Y.current=document.body.scrollHeight,A(!0)};p.useEffect(()=>(I(),window.addEventListener("resize",I),()=>{window.addEventListener("resize",I)}),[]);const S=P=>{const oe=document.getElementById("announcement");oe&&(oe.textContent=P,oe.setAttribute("aria-live","assertive"),setTimeout(()=>{oe.textContent="",oe.setAttribute("aria-live","off")},1e3))};p.useEffect(()=>{const P=e.filter(oe=>oe.label.toLowerCase().includes(h.toLowerCase()));d.current=P},[e,h]);const T=s.length>0?s.map(P=>{const oe=e.find(Se=>Se.value===P);return oe?.label!==null?oe?.label:""}).filter(P=>P!=="").join(", "):"Select your option",j=P=>{const oe=e.find(Se=>Se.value===P);if(oe&&!oe.disable&&(r===void 0||s.length<=r)){const B=s.includes(P)?s.filter(Ce=>Ce!==P):[...s,P];(r===void 0||B.length<=r)&&u&&(l(B),n(B),S(`${oe?.label} ${B.includes(P)?"selected":"not selected"}`))}},W=P=>{F(),f(P),setTimeout(()=>{E.current?E.current?.focus():$.current?.focus(),S("use up and down arrow keys to navigate")},0)},L=()=>Y.current-(K.current+window.scrollY),F=()=>{if(v.current){const P=v.current.getBoundingClientRect();setTimeout(()=>{const oe=C?.current?.getBoundingClientRect(),Se=L(),B=K.current-P.bottom;let de;if(oe){const Ce=P.height,Ee=P.top,Te=oe.height,Me=Te>Ee+window.scrollY;Ee<Te&&(Me||Me&&B<Te||Se>Te||B>Te)||Ee>Te&&B>Te?de=P.y+Ce:de=P.y-Te,Z({left:P.left,top:de??P.top})}},0)}};p.useEffect(()=>(window.addEventListener("scroll",F),window.addEventListener("resize",F),()=>{window.removeEventListener("scroll",F),window.removeEventListener("resize",F)}),[u]);const U=P=>{P.preventDefault(),P.key==="Shift"?ne.current=!0:P.shiftKey&&ne.current&&P.key==="Tab"||P.key==="Tab"?(setTimeout(()=>{E.current?E.current?.focus():$.current?.focus()},0),ne.current=!1):P.key==="Escape"||P.key==="Enter"||P.key==="Space"||P.key===" "?(W(!1),X()):ne.current=!1},z=P=>{const{key:oe}=P;if(oe==="Tab"||P.shiftKey&&oe==="Tab")setTimeout(()=>{x.current?.focus()},0);else if(oe==="ArrowDown"||oe==="ArrowUp"){P.preventDefault(),setTimeout(()=>{$.current?.focus()},0);let Se=N;if(oe==="ArrowDown"?Se=Math.min(N+1,d.current.length-1):oe==="ArrowUp"&&(Se=Math.max(N-1,0)),N===0&&P.key==="ArrowUp"?Se=d.current.length-1:N===d.current.length-1&&P.key==="ArrowDown"&&(Se=0),R(Se),w.current&&Se>=0){const B=w.current.querySelectorAll(`.${Le.optionsList}`)[Se],de=B.children[0].getAttribute("aria-checked"),Ce=`${B.textContent} ${de==="true"?"selected":"not selected"} ${Se+1} out of ${d.current.length}`;S(Ce),B&&B.scrollIntoView({block:"nearest",inline:"nearest"})}}else oe==="Enter"||oe==="Space"||oe===" "?N!==-1&&j(d.current[N].value):oe==="Escape"&&(W(!1),X())};p.useEffect(()=>{V&&clearTimeout(V);const P=setTimeout(()=>{const oe=d.current.length?`${d.current.length} results are available, use up and down arrow keys to navigate`:"No results available";u&&S(oe)},500);J(P)},[h]);const re=()=>{m(!0)},ae=()=>{m(!1)};if(p.useEffect(()=>{const P=Q.current;return P&&(P.addEventListener("focus",re),P.addEventListener("blur",ae)),()=>{P&&(P.removeEventListener("focus",re),P.removeEventListener("blur",ae))}},[re,ae]),o){const P=Ct(o);o=Qe.convert3HexTo6(o),(P==="dark"||P==="light")&&(M={borderBottomColor:o==="#ffffff"?"#c8c8c8":c||u?o:"#333333"})}const le=()=>{f(!1)};return _.jsx("div",{className:Le.multiSelectContainer,children:_.jsxs("div",{className:Le.listOptionsWrap,children:[_.jsxs("div",{className:`${i} ${Le.selectedValuesWrap}`,ref:v,children:[_.jsx("div",{className:`${Le.selectedValues} ${u?Le.focused:""} ${s.length===0?Le.placeholder:""}`,ref:Q,onFocus:re,onBlur:ae,onClick:()=>W(!u),onKeyPress:P=>{(P.key===" "||P.code==="Space"||P.code==="Enter")&&(P.preventDefault(),W(!u))},tabIndex:0,"data-testid":"selected-input",style:{...M,...a},"aria-expanded":u,"aria-haspopup":"listbox","aria-multiselectable":"true","aria-autocomplete":"list",role:"combobox",children:T}),_.jsx("span",{className:Le.dropDownIcon,onClick:()=>W(!u),"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:Le.announcement}),D?Ae.createPortal(_.jsx(_.Fragment,{children:u&&v&&_.jsx("div",{onClick:le,style:{position:"fixed",inset:0,backgroundColor:"rgba(255,255,255,0)",zIndex:1e3},children:_.jsxs("div",{className:`${Le.optionsListContainer}`,ref:C,onClick:P=>P.stopPropagation(),style:{opacity:G.left?1:0,width:v.current?v.current.clientWidth:"auto",left:G.left,top:G.top},children:[_.jsxs("div",{className:Le.optionsListWrap,children:[e.length>=6&&_.jsx("div",{className:Le.searchInputWrap,children:_.jsx("input",{type:"text",ref:E,placeholder:"Type to filter",className:Le.searchInput,value:h,onChange:P=>g(P.target.value),"data-testid":"search-input",onKeyDown:P=>{z(P)}})}),_.jsx("ul",{ref:w,role:"listbox",children:d.current.map((P,oe)=>_.jsxs("li",{className:`${Le.optionsList} ${oe===N?Le.focused:""}`,onClick:()=>j(P.value),"aria-selected":oe===N,role:"option",children:[_.jsx(fo,{themeColor:o,checked:s.includes(P.value),disabled:P.disable||r!==void 0&&s.length>=r&&!s.includes(P.value)}),_.jsx("span",{children:P.label})]},P.value))})]}),_.jsxs("div",{className:Le.btnContainer,children:[_.jsx("input",{ref:$,onKeyDown:P=>{z(P)},className:Le.hiddenButton}),_.jsx(hr,{themeColor:o,variant:"primary",size:"medium",onClick:()=>{f(!1),g(""),X(),n(s)},"data-testid":"done-button",onKeyDown:P=>{U(P)},ref:x,children:"Done"})]})]})})}),document.body):null]})})},Pe={multiSelectContainer:"_multiSelectContainer_1on91_1",listOptionsWrap:"_listOptionsWrap_1on91_4",selectedValuesWrap:"_selectedValuesWrap_1on91_7",selectedValues:"_selectedValues_1on91_7",focused:"_focused_1on91_16",countAndIconContainer:"_countAndIconContainer_1on91_19",rounded:"_rounded_1on91_22",selected:"_selected_1on91_7",selectedCount:"_selectedCount_1on91_37",dropDownIcon:"_dropDownIcon_1on91_41",optionsListContainer:"_optionsListContainer_1on91_45",optionsListWrap:"_optionsListWrap_1on91_51",searchInputWrap:"_searchInputWrap_1on91_54",searchInput:"_searchInput_1on91_54",optionsList:"_optionsList_1on91_45",btnContainer:"_btnContainer_1on91_76",hiddenButton:"_hiddenButton_1on91_79",announcement:"_announcement_1on91_92"},N0=({options:e,checkedValue:t,onSelectionChange:n,maxOptions:r,themeColor:o,className:i="",style:a={},categoryName:d="",variant:s="default",placeholder:l="Select your option"})=>{const h=p.useRef(e),[g,u]=p.useState(t),[f,c]=p.useState(""),[m,v]=p.useState(!1),[C,E]=p.useState(!1),$=p.useRef(null),x=p.useRef(null),w=p.useRef(null),N=p.useRef(null),R=p.useRef(null),K=p.useRef(null),[Y,D]=p.useState(-1),A=p.useRef(0),M=p.useRef(0),[G,Z]=p.useState(!1);let V={};const[J,ne]=p.useState({left:0,top:0}),[Q,X]=p.useState(null),I=p.useRef(!1),S=p.useRef(null);p.useEffect(()=>{u(t)},[t]);const T=()=>{setTimeout(()=>{($.current?.children[0]).focus()},0)};p.useEffect(()=>{const B=de=>{x.current&&!x.current.contains(de.target)&&(v(!1),c(""),T())};return document.addEventListener("mousedown",B),()=>{document.removeEventListener("mousedown",B)}},[]);const j=()=>{A.current=window.innerHeight,M.current=document.body.scrollHeight,Z(!0)};p.useEffect(()=>(j(),window.addEventListener("resize",j),()=>{window.addEventListener("resize",j)}),[]);const W=B=>{const de=document.getElementById("announcement");de&&(de.textContent=B,de.setAttribute("aria-live","assertive"),setTimeout(()=>{de.textContent="",de.setAttribute("aria-live","off")},1e3))};p.useEffect(()=>{const B=e.filter(de=>de.label.toLowerCase().includes(f.toLowerCase()));h.current=B},[e,f]);const L=g.length>1&&d?d:g.length>0?g.map(B=>{const de=e.find(Ce=>Ce.value===B);return de?.label!==null?de?.label:""}).filter(B=>B!=="").join(", "):l,F=B=>{const de=e.find(Ce=>Ce.value===B);if(de&&!de.disable&&(r===void 0||g.length<=r)){const Ee=g.includes(B)?g.filter(Me=>Me!==B):[...g,B];(r===void 0||Ee.length<=r)&&m&&(u(Ee),n(Ee),setTimeout(()=>{z()},50),h.current.length===1&&v(!1),W(`${de?.label} ${Ee.includes(B)?"selected":"not selected"}`))}},U=B=>{z(),v(B),setTimeout(()=>{w.current?w.current?.focus():N.current?.focus(),W("use up and down arrow keys to navigate")},0)},z=()=>{if($.current){const B=$.current.getBoundingClientRect();setTimeout(()=>{const de=x?.current?.getBoundingClientRect();if(de){const Ce=de.height,Ee=de.width,Te=window.innerWidth,Me=A.current-B.bottom,Jt=B.top;let nt;Me>=Ce?nt=B.bottom:Jt>=Ce?nt=B.top-Ce:Me>=Jt?nt=B.bottom:nt=B.top-Ce;const ut=Te-B.left,ct=B.right;let yt;ut-20>=Ee?yt=B.left:ct>=Ee?yt=B.right-Ee+20:ut>=ct?yt=Math.max(20,Te-Ee-20):yt=Math.max(20,B.right-Ee+20),ne({left:yt,top:nt})}},10)}};p.useEffect(()=>(window.addEventListener("scroll",z),window.addEventListener("resize",z),()=>{window.removeEventListener("scroll",z),window.removeEventListener("resize",z)}),[m]);const re=B=>{B.preventDefault(),B.key==="Shift"?I.current=!0:B.shiftKey&&I.current&&B.key==="Tab"||B.key==="Tab"?(setTimeout(()=>{w.current?w.current?.focus():N.current?.focus()},0),I.current=!1):B.key==="Escape"||B.key==="Enter"||B.key==="Space"||B.key===" "?(U(!1),T()):I.current=!1},ae=B=>{const{key:de}=B;if(de==="Tab"||B.shiftKey&&de==="Tab")setTimeout(()=>{R.current?.focus()},0);else if(de==="ArrowDown"||de==="ArrowUp"){B.preventDefault(),setTimeout(()=>{N.current?.focus()},0);let Ce=Y;if(de==="ArrowDown"?Ce=Math.min(Y+1,h.current.length-1):de==="ArrowUp"&&(Ce=Math.max(Y-1,0)),Y===0&&B.key==="ArrowUp"?Ce=h.current.length-1:Y===h.current.length-1&&B.key==="ArrowDown"&&(Ce=0),D(Ce),K.current&&Ce>=0){const Ee=K.current.querySelectorAll(`.${Pe.optionsList}`)[Ce],Te=Ee.children[0].getAttribute("aria-checked"),Me=`${Ee.textContent} ${Te==="true"?"selected":"not selected"} ${Ce+1} out of ${h.current.length}`;W(Me),Ee&&Ee.scrollIntoView({block:"nearest",inline:"nearest"})}}else de==="Enter"||de==="Space"||de===" "?Y!==-1&&F(h.current[Y].value):de==="Escape"&&(U(!1),T())};p.useEffect(()=>{Q&&clearTimeout(Q);const B=setTimeout(()=>{const de=h.current.length?`${h.current.length} results are available, use up and down arrow keys to navigate`:"No results available";m&&W(de)},500);X(B)},[f]);const le=()=>{E(!0)},P=()=>{E(!1)};if(p.useEffect(()=>{const B=S.current;return B&&(B.addEventListener("focus",le),B.addEventListener("blur",P)),()=>{B&&(B.removeEventListener("focus",le),B.removeEventListener("blur",P))}},[le,P]),o){const B=Ct(o);o=Qe.convert3HexTo6(o),(B==="dark"||B==="light")&&(V={"--theme-color":o})}const oe=()=>{v(!1)},Se=()=>{v(!1),c(""),T(),n(g)};return _.jsx("div",{className:Pe.multiSelectContainer,children:_.jsxs("div",{className:Pe.listOptionsWrap,children:[_.jsx("div",{className:`${i} ${Pe.selectedValuesWrap}`,ref:$,children:_.jsxs("div",{className:`${Pe.selectedValues} ${m?Pe.focused:""} ${g.length>0?Pe.selected:""} ${g.length>1?Pe.countShow:""} ${g.length===0?Pe.placeholder:""} ${s==="rounded"?Pe.rounded:""}`,ref:S,onFocus:le,onBlur:P,onClick:()=>U(!m),onKeyPress:B=>{(B.key===" "||B.code==="Space"||B.code==="Enter")&&(B.preventDefault(),U(!m))},tabIndex:0,"data-testid":"selected-input",style:{...V,...a},"aria-expanded":m,"aria-haspopup":"listbox","aria-multiselectable":"true","aria-autocomplete":"list",role:"combobox",children:[_.jsx("span",{children:L}),_.jsxs("div",{className:Pe.countAndIconContainer,children:[g.length>1&&_.jsx("span",{className:Pe.selectedCount,"data-testid":"selected-count",style:{backgroundColor:o},children:g.length}),_.jsx("span",{className:Pe.dropDownIcon,onClick:()=>U(!m),"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:Pe.announcement}),G?Ae.createPortal(_.jsx(_.Fragment,{children:m&&$&&_.jsx("div",{onClick:oe,style:{position:"fixed",inset:0,backgroundColor:"rgba(255,255,255,0)",zIndex:1e3},children:_.jsxs("div",{className:`${Pe.optionsListContainer}`,ref:x,onClick:B=>B.stopPropagation(),style:{opacity:J.top?1:0,left:J.left,top:J.top,paddingBottom:h.current.length===1?0:void 0},children:[_.jsxs("div",{className:Pe.optionsListWrap,children:[e.length>=6&&_.jsx("div",{className:Pe.searchInputWrap,children:_.jsx("input",{type:"text",ref:w,placeholder:"Type to filter",className:Pe.searchInput,value:f,onChange:B=>c(B.target.value),"data-testid":"search-input",onKeyDown:B=>{ae(B)}})}),_.jsx("ul",{ref:K,role:"listbox",children:h.current.map((B,de)=>_.jsxs("li",{className:`${Pe.optionsList} ${de===Y?Pe.focused:""}`,onClick:()=>F(B.value),"aria-selected":de===Y,role:"option",children:[_.jsx(fo,{themeColor:o,checked:g.includes(B.value),disabled:B.disable||r!==void 0&&g.length>=r&&!g.includes(B.value)}),_.jsx("span",{children:B.label})]},B.value))})]}),h.current.length>1&&_.jsxs("div",{className:Pe.btnContainer,children:[_.jsx("input",{ref:N,onKeyDown:B=>{ae(B)},className:Pe.hiddenButton}),_.jsx(hr,{themeColor:o,variant:"primary",size:"medium",disabled:!(g.length>0),onClick:Se,"data-testid":"done-button",onKeyDown:B=>{re(B)},ref:R,children:"Done"})]})]})})}),document.body):null]})})},mr={multiSelectContainer:"_multiSelectContainer_1rhxq_1",quickOptionsWrap:"_quickOptionsWrap_1rhxq_4",selected:"_selected_1rhxq_11",disabled:"_disabled_1rhxq_17"},I0=({options:e,checkedValue:t,onSelectionChange:n,maxOptions:r,themeColor:o,className:i="",style:a={},id:d=""})=>{const[s,l]=p.useState(t),h=p.useRef({});let g={},u;const f=c=>{const m=e.find(x=>x.value===c);if(!m||m.disable)return;h.current[c]?.click();const E=s.includes(c)?s.filter(x=>x!==c):[...s,c];(r===void 0||E.length<=r)&&(l(E),n(E))};if(o){u=Ct(o),o=Qe.convert3HexTo6(o);const c=o==="#ffffff"?"#333333":o;(u==="dark"||u==="light")&&(g={outlineColor:c,borderColor:c,color:o==="#ffffff"||u==="light"?"#333333":o})}return _.jsx("div",{className:mr.multiSelectContainer,role:"group",children:_.jsx("ul",{className:mr.quickOptionsWrap,id:d,children:e.map(c=>_.jsx("li",{style:{...g,...a},className:`${i} ${c.disable||r!==void 0&&s.length>=r&&!s.includes(c.value)?mr.disabled:""} ${s.includes(c.value)?mr.selected:""}`,tabIndex:c.disable?-1:0,onClick:()=>f(c.value),onKeyPress:m=>{(m.key===" "||m.code==="Space")&&(m.preventDefault(),f(c.value))},"data-testid":"option-box",children:_.jsx(co,{id:c.value,checkboxSize:"large",tabIndex:-1,themeColor:o,ref:m=>{h.current[c.value]=m},checked:s.includes(c.value),disabled:c.disable||r!==void 0&&s.length>=r&&!s.includes(c.value),children:_.jsx("span",{style:{color:o&&(o==="#ffffff"||u==="light")||c.disable||r!==void 0&&s.length>=r&&!s.includes(c.value)?"#333333":o&&(o!=="#ffffff"||u!=="light")?o:"#006bb1"},children:c.label})})},c.value))})})},pt={singleSelectWrapper:"_singleSelectWrapper_7i31h_1",quickOption:"_quickOption_7i31h_4",selected:"_selected_7i31h_11",triangle:"_triangle_7i31h_17",loader:"_loader_7i31h_20",checkmarkWrap:"_checkmarkWrap_7i31h_23",checkmark:"_checkmark_7i31h_23",checkmarkCheck:"_checkmarkCheck_7i31h_30",disabled:"_disabled_7i31h_35"},_0=({options:e,onSelect:t,selected:n,themeColor:r,className:o="",style:i={},showLoader:a=!1,id:d=""})=>{const[s,l]=p.useState(n);let h={},g={},u="#ffffff";const f=c=>{if(s?.value===c?.value){l(void 0),t(void 0);return}t(c),l(c)};if(r){const c=Ct(r);r=Qe.convert3HexTo6(r);const m=r==="#ffffff"?"#333333":r;(c==="dark"||c==="light")&&(u=r==="#ffffff"||c==="dark"?"#ffffff":"#333333",h={outlineColor:m,borderColor:m,color:r==="#ffffff"||c==="light"?"#333333":r},g={borderRightColor:m,borderTopColor:m})}return _.jsx("div",{className:pt.singleSelectWrapper,children:_.jsx("div",{className:pt.quickOption,children:_.jsx("ul",{className:pt.quickOption,role:"radiogroup",id:d,children:e.map(c=>_.jsxs("li",{tabIndex:c.disable?-1:0,className:`${o} ${s?.value===c.value?pt.selected:""} ${c.disable?pt.disabled:""}`,style:{...h,...i},onClick:()=>f(c),onKeyPress:m=>{(m.key===" "||m.code==="Space")&&(m.preventDefault(),f(c))},"data-testid":"checkbox-input",role:"radio","aria-checked":s?.value===c.value,children:[c.label,s?.value===c.value&&!c.disable&&_.jsxs("div",{className:pt.triangle,style:{...g},children:[a&&_.jsx("div",{className:pt.loader,style:{borderRightColor:r??"#006bb1"}}),!a&&_.jsx("div",{className:pt.checkmarkWrap,children:_.jsx("svg",{className:pt.checkmark,xmlns:"http://www.w3.org/2000/svg",width:"11",height:"9",viewBox:"0 0 11 9",fill:"none",children:_.jsx("path",{className:pt.checkmarkCheck,stroke:u,d:"M2.1 4.34286L4.12857 6.40001L8.9 1.60001",strokeWidth:"2"})})})]})]},c.value))})})})},A0={scrollbarContainer:"_scrollbarContainer_40vsr_1"},sa=p.forwardRef(({children:e,className:t="",style:n={},...r},o)=>{const i=[A0.scrollbarContainer,t].filter(Boolean).join(" ");return _.jsx(_.Fragment,{children:_.jsx("div",{ref:o,style:{...n},className:i,...r,children:e})})});sa.displayName="Scrollbar";const k0=typeof document<"u"?p.useLayoutEffect:()=>{},Ft=e=>{var t;return(t=e?.ownerDocument)!==null&&t!==void 0?t:document},Ut=e=>e&&"window"in e&&e.window===e?e:Ft(e).defaultView||window;function F0(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function M0(e){return F0(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let L0=!1;function po(){return L0}function Mt(e,t){if(!po())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:M0(n)?n=n.host:n=n.parentNode}return!1}const en=(e=document)=>{var t;if(!po())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 De(e){if(po()&&e.target instanceof Element&&e.target.shadowRoot){var t,n;if("composedPath"in e)return(t=e.composedPath()[0])!==null&&t!==void 0?t:null;if("composedPath"in e.nativeEvent)return(n=e.nativeEvent.composedPath()[0])!==null&&n!==void 0?n:null}return e.target}function D0(e){if(j0())e.focus({preventScroll:!0});else{let t=R0(e);e.focus(),B0(t)}}let vr=null;function j0(){if(vr==null){vr=!1;try{document.createElement("div").focus({get preventScroll(){return vr=!0,!0}})}catch{}}return vr}function R0(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}function B0(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}function gr(e){var t;if(typeof window>"u"||window.navigator==null)return!1;let n=(t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands;return Array.isArray(n)&&n.some(r=>e.test(r.brand))||e.test(window.navigator.userAgent)}function ho(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 xt(e){if(process.env.NODE_ENV==="test")return e;let t=null;return()=>(t==null&&(t=e()),t)}const Pn=xt(function(){return ho(/^Mac/i)}),W0=xt(function(){return ho(/^iPhone/i)}),la=xt(function(){return ho(/^iPad/i)||Pn()&&navigator.maxTouchPoints>1}),V0=xt(function(){return W0()||la()});xt(function(){return Pn()||V0()});const U0=xt(function(){return gr(/AppleWebKit/i)&&!H0()}),H0=xt(function(){return gr(/Chrome/i)}),G0=xt(function(){return gr(/Android/i)}),K0=xt(function(){return gr(/Firefox/i)});function Tn(e,t,n=!0){var r,o;let{metaKey:i,ctrlKey:a,altKey:d,shiftKey:s}=t;K0()&&(!((o=window.event)===null||o===void 0||(r=o.type)===null||r===void 0)&&r.startsWith("key"))&&e.target==="_blank"&&(Pn()?i=!0:a=!0);let l=U0()&&Pn()&&!la()&&process.env.NODE_ENV!=="test"?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:i,ctrlKey:a,altKey:d,shiftKey:s}):new MouseEvent("click",{metaKey:i,ctrlKey:a,altKey:d,shiftKey:s,detail:1,bubbles:!0,cancelable:!0});Tn.isOpening=n,D0(e),e.dispatchEvent(l),Tn.isOpening=!1}Tn.isOpening=!1;function ua(){let e=p.useRef(new Map),t=p.useCallback((o,i,a,d)=>{let s=d?.once?(...l)=>{e.current.delete(a),a(...l)}:a;e.current.set(a,{type:i,eventTarget:o,fn:s,options:d}),o.addEventListener(i,s,d)},[]),n=p.useCallback((o,i,a,d)=>{var s;let l=((s=e.current.get(a))===null||s===void 0?void 0:s.fn)||a;o.removeEventListener(i,l,d),e.current.delete(a)},[]),r=p.useCallback(()=>{e.current.forEach((o,i)=>{n(o.eventTarget,o.type,i,o.options)})},[n]);return p.useEffect(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}function z0(e){return e.pointerType===""&&e.isTrusted?!0:G0()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function ca(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function q0(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function fa(e){let t=p.useRef({isFocused:!1,observer:null});return k0(()=>{const n=t.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]),p.useCallback(n=>{let r=De(n);if(r instanceof HTMLButtonElement||r instanceof HTMLInputElement||r instanceof HTMLTextAreaElement||r instanceof HTMLSelectElement){t.current.isFocused=!0;let o=r,i=a=>{if(t.current.isFocused=!1,o.disabled){let d=ca(a);e?.(d)}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 a;(a=t.current.observer)===null||a===void 0||a.disconnect();let d=o===en()?null:en();o.dispatchEvent(new FocusEvent("blur",{relatedTarget:d})),o.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:d}))}}),t.current.observer.observe(o,{attributes:!0,attributeFilter:["disabled"]})}},[e])}let Y0=!1,Nn=null;const mo=new Set;let In=new Map,Ht=!1,vo=!1;const X0={Tab:!0,Escape:!0};function go(e,t){for(let n of mo)n(e,t)}function Z0(e){return!(e.metaKey||!Pn()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function br(e){Ht=!0,!Tn.isOpening&&Z0(e)&&(Nn="keyboard",go("keyboard",e))}function et(e){Nn="pointer","pointerType"in e&&e.pointerType,(e.type==="mousedown"||e.type==="pointerdown")&&(Ht=!0,go("pointer",e))}function pa(e){!Tn.isOpening&&z0(e)&&(Ht=!0,Nn="virtual")}function ha(e){De(e)===window||De(e)===document||Y0||!e.isTrusted||(!Ht&&!vo&&(Nn="virtual",go("virtual",e)),Ht=!1,vo=!1)}function ma(){Ht=!1,vo=!0}function bo(e){if(typeof window>"u"||typeof document>"u"||In.get(Ut(e)))return;const t=Ut(e),n=Ft(e);let r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){Ht=!0,r.apply(this,arguments)},n.addEventListener("keydown",br,!0),n.addEventListener("keyup",br,!0),n.addEventListener("click",pa,!0),t.addEventListener("focus",ha,!0),t.addEventListener("blur",ma,!1),typeof PointerEvent<"u"?(n.addEventListener("pointerdown",et,!0),n.addEventListener("pointermove",et,!0),n.addEventListener("pointerup",et,!0)):process.env.NODE_ENV==="test"&&(n.addEventListener("mousedown",et,!0),n.addEventListener("mousemove",et,!0),n.addEventListener("mouseup",et,!0)),t.addEventListener("beforeunload",()=>{va(e)},{once:!0}),In.set(t,{focus:r})}const va=(e,t)=>{const n=Ut(e),r=Ft(e);t&&r.removeEventListener("DOMContentLoaded",t),In.has(n)&&(n.HTMLElement.prototype.focus=In.get(n).focus,r.removeEventListener("keydown",br,!0),r.removeEventListener("keyup",br,!0),r.removeEventListener("click",pa,!0),n.removeEventListener("focus",ha,!0),n.removeEventListener("blur",ma,!1),typeof PointerEvent<"u"?(r.removeEventListener("pointerdown",et,!0),r.removeEventListener("pointermove",et,!0),r.removeEventListener("pointerup",et,!0)):process.env.NODE_ENV==="test"&&(r.removeEventListener("mousedown",et,!0),r.removeEventListener("mousemove",et,!0),r.removeEventListener("mouseup",et,!0)),In.delete(n))};function J0(e){const t=Ft(e);let n;return t.readyState!=="loading"?bo(e):(n=()=>{bo(e)},t.addEventListener("DOMContentLoaded",n)),()=>va(e,n)}typeof document<"u"&&J0();function $o(){return Nn!=="pointer"}const Q0=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function ec(e,t,n){let r=Ft(n?De(n):void 0),o=n?De(n):void 0;const i=typeof window<"u"?Ut(o).HTMLInputElement:HTMLInputElement,a=typeof window<"u"?Ut(o).HTMLTextAreaElement:HTMLTextAreaElement,d=typeof window<"u"?Ut(o).HTMLElement:HTMLElement,s=typeof window<"u"?Ut(o).KeyboardEvent:KeyboardEvent;let l=en(r);return e=e||l instanceof i&&!Q0.has(l.type)||l instanceof a||l instanceof d&&l.isContentEditable,!(e&&t==="keyboard"&&n instanceof s&&!X0[n.key])}function tc(e,t,n){bo(),p.useEffect(()=>{if(n?.enabled===!1)return;let r=(o,i)=>{ec(!!n?.isTextInput,o,i)&&e($o())};return mo.add(r),()=>{mo.delete(r)}},t)}function nc(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:o}=e;const i=p.useCallback(s=>{if(De(s)===s.currentTarget)return r&&r(s),o&&o(!1),!0},[r,o]),a=fa(i),d=p.useCallback(s=>{let l=De(s);const h=Ft(l),g=h?en(h):en();l===s.currentTarget&&l===g&&(n&&n(s),o&&o(!0),a(s))},[o,n,a]);return{focusProps:{onFocus:!t&&(n||o||r)?d:void 0,onBlur:!t&&(r||o)?i:void 0}}}function rc(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:o}=e,i=p.useRef({isFocusWithin:!1}),{addGlobalListener:a,removeAllGlobalListeners:d}=ua(),s=p.useCallback(g=>{Mt(g.currentTarget,De(g))&&i.current.isFocusWithin&&!Mt(g.currentTarget,g.relatedTarget)&&(i.current.isFocusWithin=!1,d(),n&&n(g),o&&o(!1))},[n,o,i,d]),l=fa(s),h=p.useCallback(g=>{if(!Mt(g.currentTarget,De(g)))return;let u=De(g);const f=Ft(u),c=en(f);if(!i.current.isFocusWithin&&c===u){r&&r(g),o&&o(!0),i.current.isFocusWithin=!0,l(g);let m=g.currentTarget;a(f,"focus",v=>{let C=De(v);if(i.current.isFocusWithin&&!Mt(m,C)){let E=new f.defaultView.FocusEvent("blur",{relatedTarget:C});q0(E,m);let $=ca(E);s($)}},{capture:!0})}},[r,o,l,a,s]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:h,onBlur:s}}}let $r=!1,yr=0;function yo(){$r=!0,setTimeout(()=>{$r=!1},50)}function ga(e){e.pointerType==="touch"&&yo()}function oc(){if(!(typeof document>"u"))return yr===0&&(typeof PointerEvent<"u"?document.addEventListener("pointerup",ga):process.env.NODE_ENV==="test"&&document.addEventListener("touchend",yo)),yr++,()=>{yr--,!(yr>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",ga):process.env.NODE_ENV==="test"&&document.removeEventListener("touchend",yo))}}function wo(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:o}=e,[i,a]=p.useState(!1),d=p.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;p.useEffect(oc,[]);let{addGlobalListener:s,removeAllGlobalListeners:l}=ua(),{hoverProps:h,triggerHoverEnd:g}=p.useMemo(()=>{let u=(m,v)=>{if(d.pointerType=v,o||v==="touch"||d.isHovered||!Mt(m.currentTarget,De(m)))return;d.isHovered=!0;let C=m.currentTarget;d.target=C,s(Ft(De(m)),"pointerover",E=>{d.isHovered&&d.target&&!Mt(d.target,De(E))&&f(E,E.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:C,pointerType:v}),n&&n(!0),a(!0)},f=(m,v)=>{let C=d.target;d.pointerType="",d.target=null,!(v==="touch"||!d.isHovered||!C)&&(d.isHovered=!1,l(),r&&r({type:"hoverend",target:C,pointerType:v}),n&&n(!1),a(!1))},c={};return typeof PointerEvent<"u"?(c.onPointerEnter=m=>{$r&&m.pointerType==="mouse"||u(m,m.pointerType)},c.onPointerLeave=m=>{!o&&Mt(m.currentTarget,De(m))&&f(m,m.pointerType)}):process.env.NODE_ENV==="test"&&(c.onTouchStart=()=>{d.ignoreEmulatedMouseEvents=!0},c.onMouseEnter=m=>{!d.ignoreEmulatedMouseEvents&&!$r&&u(m,"mouse"),d.ignoreEmulatedMouseEvents=!1},c.onMouseLeave=m=>{!o&&Mt(m.currentTarget,De(m))&&f(m,"mouse")}),{hoverProps:c,triggerHoverEnd:f}},[t,n,r,o,d,s,l]);return p.useEffect(()=>{o&&g({currentTarget:d.target},d.pointerType)},[o]),{hoverProps:h,isHovered:i}}function Co(e={}){let{autoFocus:t=!1,isTextInput:n,within:r}=e,o=p.useRef({isFocused:!1,isFocusVisible:t||$o()}),[i,a]=p.useState(!1),[d,s]=p.useState(()=>o.current.isFocused&&o.current.isFocusVisible),l=p.useCallback(()=>s(o.current.isFocused&&o.current.isFocusVisible),[]),h=p.useCallback(f=>{o.current.isFocused=f,o.current.isFocusVisible=$o(),a(f),l()},[l]);tc(f=>{o.current.isFocusVisible=f,l()},[n,i],{enabled:i,isTextInput:n});let{focusProps:g}=nc({isDisabled:r,onFocusChange:h}),{focusWithinProps:u}=rc({isDisabled:!r,onFocusWithinChange:h});return{isFocused:i,isFocusVisible:d,focusProps:r?u:g}}var ic=Object.defineProperty,ac=(e,t,n)=>t in e?ic(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,xo=(e,t,n)=>(ac(e,typeof t!="symbol"?t+"":t,n),n);let dc=class{constructor(){xo(this,"current",this.detect()),xo(this,"handoffState","pending"),xo(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"}},ht=new dc;function _n(e){var t;return ht.isServer?null:e==null?document:(t=e?.ownerDocument)!=null?t:document}function wr(e){var t,n;return ht.isServer?null:e==null?document:(n=(t=e?.getRootNode)==null?void 0:t.call(e))!=null?n:document}function ba(e){var t,n;return(n=(t=wr(e))==null?void 0:t.activeElement)!=null?n:null}function So(e){return ba(e)===e}function $a(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function Ke(){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 $a(()=>{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=Ke();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]=p.useState(Ke);return p.useEffect(()=>()=>e.dispose(),[e]),e}let we=(e,t)=>{ht.isServer?p.useEffect(e,t):p.useLayoutEffect(e,t)};function St(e){let t=p.useRef(e);return we(()=>{t.current=e},[e]),t}let ie=function(e){let t=St(e);return p.useCallback((...n)=>t.current(...n),[t])};function sc(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 lc(e,t){return!(!e||!t||e.right<t.left||e.left>t.right||e.bottom<t.top||e.top>t.bottom)}function ya({disabled:e=!1}={}){let t=p.useRef(null),[n,r]=p.useState(!1),o=Lt(),i=ie(()=>{t.current=null,r(!1),o.dispose()}),a=ie(d=>{if(o.dispose(),t.current===null){t.current=d.currentTarget,r(!0);{let s=_n(d.currentTarget);o.addEventListener(s,"pointerup",i,!1),o.addEventListener(s,"pointermove",l=>{if(t.current){let h=sc(l);r(lc(h,t.current.getBoundingClientRect()))}},!1),o.addEventListener(s,"pointercancel",i,!1)}}});return{pressed:n,pressProps:e?{}:{onPointerDown:a,onPointerUp:i,onClick:i}}}function Ye(e){return p.useMemo(()=>e,Object.values(e))}let uc=p.createContext(void 0);function Cr(){return p.useContext(uc)}function Eo(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}function ke(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,ke),r}var tn=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(tn||{}),Dt=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Dt||{});function Fe(){let e=fc();return p.useCallback(t=>cc({mergeRefs:e,...t}),[e])}function cc({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:o,visible:i=!0,name:a,mergeRefs:d}){d=d??pc;let s=wa(t,e);if(i)return xr(s,n,r,a,d);let l=o??0;if(l&2){let{static:h=!1,...g}=s;if(h)return xr(g,n,r,a,d)}if(l&1){let{unmount:h=!0,...g}=s;return ke(h?0:1,{0(){return null},1(){return xr({...g,hidden:!0,style:{display:"none"}},n,r,a,d)}})}return xr(s,n,r,a,d)}function xr(e,t={},n,r,o){let{as:i=n,children:a,refName:d="ref",...s}=Oo(e,["unmount","static"]),l=e.ref!==void 0?{[d]:e.ref}:{},h=typeof a=="function"?a(t):a;"className"in s&&s.className&&typeof s.className=="function"&&(s.className=s.className(t)),s["aria-labelledby"]&&s["aria-labelledby"]===s.id&&(s["aria-labelledby"]=void 0);let g={};if(t){let u=!1,f=[];for(let[c,m]of Object.entries(t))typeof m=="boolean"&&(u=!0),m===!0&&f.push(c.replace(/([A-Z])/g,v=>`-${v.toLowerCase()}`));if(u){g["data-headlessui-state"]=f.join(" ");for(let c of f)g[`data-${c}`]=""}}if(kn(i)&&(Object.keys(jt(s)).length>0||Object.keys(jt(g)).length>0))if(!p.isValidElement(h)||Array.isArray(h)&&h.length>1||mc(h)){if(Object.keys(jt(s)).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(jt(s)).concat(Object.keys(jt(g))).map(u=>` - ${u}`).join(`
|
|
25
|
-
`),"","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(u=>` - ${u}`).join(`
|
|
7
|
+
<%s key={someKey} {...props} />`,o,p,m,p),L[p+o]=!0)}if(p=null,i!==void 0&&(r(i),p=``+i),s(n)&&(r(n.key),p=``+n.key),`key`in n)for(var h in i={},n)h!==`key`&&(i[h]=n[h]);else i=n;return p&&c(i,typeof e==`function`?e.displayName||e.name||`Unknown`:e),u(e,p,i,a(),l,d)}function f(e){p(e)?e._store&&(e._store.validated=1):typeof e==`object`&&e&&e.$$typeof===E&&(e._payload.status===`fulfilled`?p(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function p(e){return typeof e==`object`&&!!e&&e.$$typeof===h}var m=require("react"),h=Symbol.for(`react.transitional.element`),g=Symbol.for(`react.portal`),_=Symbol.for(`react.fragment`),v=Symbol.for(`react.strict_mode`),y=Symbol.for(`react.profiler`),b=Symbol.for(`react.consumer`),x=Symbol.for(`react.context`),S=Symbol.for(`react.forward_ref`),C=Symbol.for(`react.suspense`),w=Symbol.for(`react.suspense_list`),T=Symbol.for(`react.memo`),E=Symbol.for(`react.lazy`),D=Symbol.for(`react.activity`),O=Symbol.for(`react.client.reference`),k=m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,A=Object.prototype.hasOwnProperty,j=Array.isArray,M=console.createTask?console.createTask:function(){return null};m={react_stack_bottom_frame:function(e){return e()}};var N,P={},F=m.react_stack_bottom_frame.bind(m,o)(),I=M(i(o)),L={};e.Fragment=_,e.jsx=function(e,t,n){var r=1e4>k.recentlyCreatedOwnerStacks++;return d(e,t,n,!1,r?Error(`react-stack-top-frame`):F,r?M(i(e)):I)},e.jsxs=function(e,t,n){var r=1e4>k.recentlyCreatedOwnerStacks++;return d(e,t,n,!0,r?Error(`react-stack-top-frame`):F,r?M(i(e)):I)}})()})),v=l(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=g():t.exports=_()}))(),y=(0,f.forwardRef)(({themeColor:e=``,variant:t=`primary`,size:n=`small`,shape:r=`rounded`,children:i,className:a=``,style:o={},disabled:s,...c},l)=>{let u={};if(e){let n=m(e);if(e=h.convert3HexTo6(e),!s&&(n===`dark`||n===`light`)){let r=t===`primary`?e:`#ffffff`,i=t===`primary`?n===`dark`?`#ffffff`:`#333333`:n===`light`?`#333333`:e,a=e===`#ffffff`?`#c8c8c8`:e;u={backgroundColor:r,color:i,outlineColor:a,borderColor:a}}}let d=[p.button,p[t],p[n],p[r],a].filter(Boolean).join(` `);return(0,v.jsx)(`button`,{disabled:s,ref:l,style:{...u,...o},className:`${d}`,...c,children:i})});y.displayName=`Button`;var b={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`},x=()=>`checkbox_${Math.random().toString(36).substring(2,11)}`,S=(0,f.forwardRef)(({children:e,themeColor:t=``,checkboxSize:n=`medium`,id:r=x(),checked:i=!1,disabled:a=!1,className:o=``,onChange:s,style:c={},tabIndex:l,...u},d)=>{let[p,g]=(0,f.useState)(i),_={},y,S=a?`#9b9b9b`:`#ffffff`;if(t){let e=m(t);if(t=h.convert3HexTo6(t),e===`dark`||e===`light`){switch(e){case`dark`:S=a?p?`#9b9b9b`:`#f9f9f9`:`#ffffff`;break;case`light`:S=a?p?`#9b9b9b`:`#f9f9f9`:p?`#333333`:`#ffffff`;break;default:S=`#9b9b9b`;break}let n=a?`#f9f9f9`:p?t:`#ffffff`;y=a?`#e4e4e4`:t==`#ffffff`?`#333333`:t,p&&(_={backgroundColor:n,borderColor:y,outlineColor:y})}}let C=a?b.checkboxDisabled:``,w=[b.checkboxLayout,b[n],C,o].filter(Boolean).join(` `),T=e=>{e.key!=`Enter`&&(e.preventDefault(),s?.(e.target.checked),g(!p))};return(0,v.jsx)(v.Fragment,{children:(0,v.jsx)(`div`,{className:w,"data-testid":`checkbox`,children:(0,v.jsxs)(`label`,{className:b.checkboxLabel,htmlFor:r,onClick:e=>T(e),children:[(0,v.jsxs)(`div`,{className:b.checkboxInnerContainer,tabIndex:l||a?-1:0,onKeyPress:e=>T(e),"data-testid":`checkbox-inner-container`,children:[(0,v.jsx)(`input`,{className:b.checkboxInput,onChange:e=>T(e),type:`checkbox`,checked:p,disabled:a,id:r,ref:d,...u,tabIndex:-1,"data-testid":`checkbox-input`}),(0,v.jsx)(`div`,{className:b.checkboxFrame,style:{..._,...c},"data-testid":`checkbox-frame`,children:(0,v.jsx)(`svg`,{version:`1.1`,focusable:`false`,className:b.checkboxCheckMark,viewBox:`0 0 24 24`,"data-testid":`check-mark-svg`,children:(0,v.jsx)(`path`,{className:b.checkboxCheckMarkPath,fill:`none`,stroke:S,d:`M4.1,12.7 9,17.6 20.3,6.3`})})})]}),e&&(0,v.jsx)(`span`,{"data-testid":`checkbox-label`,children:e}),(0,v.jsx)(`div`,{className:b.visuallyHidden,"aria-live":`polite`,"aria-atomic":`true`,children:p?`Checked`:`Unchecked`})]})})})});S.displayName=`Checkbox`;var C={textInputWrapper:`_textInputWrapper_1i9m6_1`,textInput:`_textInput_1i9m6_1`},w=l(((e,t)=>{(function(n,r){"use strict";var i=`1.0.41`,a=``,o=`?`,s=`function`,c=`undefined`,l=`object`,u=`string`,d=`major`,f=`model`,p=`name`,m=`type`,h=`vendor`,g=`version`,_=`architecture`,v=`console`,y=`mobile`,b=`tablet`,x=`smarttv`,S=`wearable`,C=`embedded`,w=500,T=`Amazon`,E=`Apple`,D=`ASUS`,O=`BlackBerry`,k=`Browser`,A=`Chrome`,j=`Edge`,M=`Firefox`,N=`Google`,P=`Honor`,F=`Huawei`,I=`Lenovo`,L=`LG`,R=`Microsoft`,z=`Motorola`,B=`Nvidia`,ee=`OnePlus`,te=`Opera`,ne=`OPPO`,re=`Samsung`,ie=`Sharp`,V=`Sony`,H=`Xiaomi`,ae=`Zebra`,oe=`Facebook`,se=`Chromium OS`,ce=`Mac OS`,le=` Browser`,ue=function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},de=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},fe=function(e,t){return typeof e===u?pe(t).indexOf(pe(e))!==-1:!1},pe=function(e){return e.toLowerCase()},me=function(e){return typeof e===u?e.replace(/[^\d\.]/g,a).split(`.`)[0]:r},he=function(e,t){if(typeof e===u)return e=e.replace(/^\s\s*/,a),typeof t===c?e:e.substring(0,w)},ge=function(e,t){for(var n=0,i,a,o,c,u,d;n<t.length&&!u;){var f=t[n],p=t[n+1];for(i=a=0;i<f.length&&!u&&f[i];)if(u=f[i++].exec(e),u)for(o=0;o<p.length;o++)d=u[++a],c=p[o],typeof c===l&&c.length>0?c.length===2?typeof c[1]==s?this[c[0]]=c[1].call(this,d):this[c[0]]=c[1]:c.length===3?typeof c[1]===s&&!(c[1].exec&&c[1].test)?this[c[0]]=d?c[1].call(this,d,c[2]):r:this[c[0]]=d?d.replace(c[1],c[2]):r:c.length===4&&(this[c[0]]=d?c[3].call(this,d.replace(c[1],c[2])):r):this[c]=d||r;n+=2}},_e=function(e,t){for(var n in t)if(typeof t[n]===l&&t[n].length>0){for(var i=0;i<t[n].length;i++)if(fe(t[n][i],e))return n===o?r:n}else if(fe(t[n],e))return n===o?r:n;return t.hasOwnProperty(`*`)?t[`*`]:e},ve={"1.0":`/8`,1.2:`/1`,1.3:`/3`,"2.0":`/412`,"2.0.2":`/416`,"2.0.3":`/417`,"2.0.4":`/419`,"?":`/`},ye={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`},be={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[g,[p,`Chrome`]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[g,[p,`Edge`]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[p,g],[/opios[\/ ]+([\w\.]+)/i],[g,[p,te+` Mini`]],[/\bop(?:rg)?x\/([\w\.]+)/i],[g,[p,te+` GX`]],[/\bopr\/([\w\.]+)/i],[g,[p,te]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[g,[p,`Baidu`]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[g,[p,`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],[p,g],[/quark(?:pc)?\/([-\w\.]+)/i],[g,[p,`Quark`]],[/\bddg\/([\w\.]+)/i],[g,[p,`DuckDuckGo`]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[g,[p,`UC`+k]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[g,[p,`WeChat`]],[/konqueror\/([\w\.]+)/i],[g,[p,`Konqueror`]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[g,[p,`IE`]],[/ya(?:search)?browser\/([\w\.]+)/i],[g,[p,`Yandex`]],[/slbrowser\/([\w\.]+)/i],[g,[p,`Smart Lenovo `+k]],[/(avast|avg)\/([\w\.]+)/i],[[p,/(.+)/,`$1 Secure `+k],g],[/\bfocus\/([\w\.]+)/i],[g,[p,M+` Focus`]],[/\bopt\/([\w\.]+)/i],[g,[p,te+` Touch`]],[/coc_coc\w+\/([\w\.]+)/i],[g,[p,`Coc Coc`]],[/dolfin\/([\w\.]+)/i],[g,[p,`Dolphin`]],[/coast\/([\w\.]+)/i],[g,[p,te+` Coast`]],[/miuibrowser\/([\w\.]+)/i],[g,[p,`MIUI`+le]],[/fxios\/([\w\.-]+)/i],[g,[p,M]],[/\bqihoobrowser\/?([\w\.]*)/i],[g,[p,`360`]],[/\b(qq)\/([\w\.]+)/i],[[p,/(.+)/,`$1Browser`],g],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[p,/(.+)/,`$1`+le],g],[/samsungbrowser\/([\w\.]+)/i],[g,[p,re+` Internet`]],[/metasr[\/ ]?([\d\.]+)/i],[g,[p,`Sogou Explorer`]],[/(sogou)mo\w+\/([\d\.]+)/i],[[p,`Sogou Mobile`],g],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[p,g],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[p],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[g,p],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[p,oe],g],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\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],[p,g],[/\bgsa\/([\w\.]+) .*safari\//i],[g,[p,`GSA`]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[g,[p,`TikTok`]],[/headlesschrome(?:\/([\w\.]+)| )/i],[g,[p,A+` Headless`]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[p,A+` WebView`],g],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[g,[p,`Android `+k]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[p,g],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[g,[p,`Mobile Safari`]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[g,p],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[p,[g,_e,ve]],[/(webkit|khtml)\/([\w\.]+)/i],[p,g],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[p,`Netscape`],g],[/(wolvic|librewolf)\/([\w\.]+)/i],[p,g],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[g,[p,M+` 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,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[p,[g,/_/g,`.`]],[/(cobalt)\/([\w\.]+)/i],[p,[g,/master.|lts./,``]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[_,`amd64`]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[_,`ia32`]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[_,`arm64`]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[_,`armhf`]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[_,`arm`]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[_,/ower/,a,pe]],[/ sun4\w[;\)]/i],[[_,`sparc`]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[_,pe]]],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,[h,re],[m,b]],[/\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,[h,re],[m,y]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[f,[h,E],[m,y]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[f,[h,E],[m,b]],[/(macintosh);/i],[f,[h,E]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[f,[h,ie],[m,y]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[f,[h,P],[m,b]],[/honor([-\w ]+)[;\)]/i],[f,[h,P],[m,y]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[f,[h,F],[m,b]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[f,[h,F],[m,y]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[f,/_/g,` `],[h,H],[m,b]],[/\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,/ ([\w ]+) miui\/v?\d/i],[[f,/_/g,` `],[h,H],[m,y]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[f,[h,ne],[m,y]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[f,[h,_e,{OnePlus:[`304`,`403`,`203`],"*":ne}],[m,b]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[f,[h,`Vivo`],[m,y]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[f,[h,`Realme`],[m,y]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[f,[h,z],[m,y]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[f,[h,z],[m,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[f,[h,L],[m,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[f,[h,L],[m,y]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[f,[h,I],[m,b]],[/(nokia) (t[12][01])/i],[h,f,[m,b]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[f,/_/g,` `],[m,y],[h,`Nokia`]],[/(pixel (c|tablet))\b/i],[f,[h,N],[m,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[f,[h,N],[m,y]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[f,[h,V],[m,y]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[f,`Xperia Tablet`],[h,V],[m,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[f,[h,ee],[m,y]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[f,[h,T],[m,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[f,/(.+)/g,`Fire Phone $1`],[h,T],[m,y]],[/(playbook);[-\w\),; ]+(rim)/i],[f,h,[m,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[f,[h,O],[m,y]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[f,[h,D],[m,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[f,[h,D],[m,y]],[/(nexus 9)/i],[f,[h,`HTC`],[m,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[f,/_/g,` `],[m,y]],[/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,[h,`TCL`],[m,b]],[/(itel) ((\w+))/i],[[h,pe],f,[m,_e,{tablet:[`p10001l`,`w7001`],"*":`mobile`}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[f,[h,`Acer`],[m,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[f,[h,`Meizu`],[m,y]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[f,[h,`Ulefone`],[m,y]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[f,[h,`Energizer`],[m,y]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[f,[h,`Cat`],[m,y]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[f,[h,`Smartfren`],[m,y]],[/droid.+; (a(?:015|06[35]|142p?))/i],[f,[h,`Nothing`],[m,y]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[f,[h,`Archos`],[m,b]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[f,[h,`Archos`],[m,y]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[h,f,[m,b]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[h,f,[m,y]],[/(kobo)\s(ereader|touch)/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,f,[m,b]],[/(surface duo)/i],[f,[h,R],[m,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[f,[h,`Fairphone`],[m,y]],[/(u304aa)/i],[f,[h,`AT&T`],[m,y]],[/\bsie-(\w*)/i],[f,[h,`Siemens`],[m,y]],[/\b(rct\w+) b/i],[f,[h,`RCA`],[m,b]],[/\b(venue[\d ]{2,7}) b/i],[f,[h,`Dell`],[m,b]],[/\b(q(?:mv|ta)\w+) b/i],[f,[h,`Verizon`],[m,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[f,[h,`Barnes & Noble`],[m,b]],[/\b(tm\d{3}\w+) b/i],[f,[h,`NuVision`],[m,b]],[/\b(k88) b/i],[f,[h,`ZTE`],[m,b]],[/\b(nx\d{3}j) b/i],[f,[h,`ZTE`],[m,y]],[/\b(gen\d{3}) b.+49h/i],[f,[h,`Swiss`],[m,y]],[/\b(zur\d{3}) b/i],[f,[h,`Swiss`],[m,b]],[/\b((zeki)?tb.*\b) b/i],[f,[h,`Zeki`],[m,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,`Dragon Touch`],f,[m,b]],[/\b(ns-?\w{0,9}) b/i],[f,[h,`Insignia`],[m,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[f,[h,`NextBook`],[m,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,`Voice`],f,[m,y]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,`LvTel`],f,[m,y]],[/\b(ph-1) /i],[f,[h,`Essential`],[m,y]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[f,[h,`Envizen`],[m,b]],[/\b(trio[-\w\. ]+) b/i],[f,[h,`MachSpeed`],[m,b]],[/\btu_(1491) b/i],[f,[h,`Rotor`],[m,b]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[f,[h,B],[m,b]],[/(sprint) (\w+)/i],[h,f,[m,y]],[/(kin\.[onetw]{3})/i],[[f,/\./g,` `],[h,R],[m,y]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[f,[h,ae],[m,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[f,[h,ae],[m,y]],[/smart-tv.+(samsung)/i],[h,[m,x]],[/hbbtv.+maple;(\d+)/i],[[f,/^/,`SmartTV`],[h,re],[m,x]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,L],[m,x]],[/(apple) ?tv/i],[h,[f,E+` TV`],[m,x]],[/crkey/i],[[f,A+`cast`],[h,N],[m,x]],[/droid.+aft(\w+)( bui|\))/i],[f,[h,T],[m,x]],[/(shield \w+ tv)/i],[f,[h,B],[m,x]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[f,[h,ie],[m,x]],[/(bravia[\w ]+)( bui|\))/i],[f,[h,V],[m,x]],[/(mi(tv|box)-?\w+) bui/i],[f,[h,H],[m,x]],[/Hbbtv.*(technisat) (.*);/i],[h,f,[m,x]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[h,he],[f,he],[m,x]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[f,[m,x]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[m,x]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,f,[m,v]],[/droid.+; (shield)( bui|\))/i],[f,[h,B],[m,v]],[/(playstation \w+)/i],[f,[h,V],[m,v]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[f,[h,R],[m,v]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[f,[h,re],[m,S]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[h,f,[m,S]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[f,[h,ne],[m,S]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[f,[h,E],[m,S]],[/(opwwe\d{3})/i],[f,[h,ee],[m,S]],[/(moto 360)/i],[f,[h,z],[m,S]],[/(smartwatch 3)/i],[f,[h,V],[m,S]],[/(g watch r)/i],[f,[h,L],[m,S]],[/droid.+; (wt63?0{2,3})\)/i],[f,[h,ae],[m,S]],[/droid.+; (glass) \d/i],[f,[h,N],[m,S]],[/(pico) (4|neo3(?: link|pro)?)/i],[h,f,[m,S]],[/; (quest( \d| pro)?)/i],[f,[h,oe],[m,S]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[m,C]],[/(aeobc)\b/i],[f,[h,T],[m,C]],[/(homepod).+mac os/i],[f,[h,E],[m,C]],[/windows iot/i],[[m,C]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[f,[m,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[f,[m,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[m,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[m,y]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[f,[h,`Generic`]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[g,[p,j+`HTML`]],[/(arkweb)\/([\w\.]+)/i],[p,g],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[g,[p,`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],[p,g],[/ladybird\//i],[[p,`LibWeb`]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[g,p]],os:[[/microsoft (windows) (vista|xp)/i],[p,g],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[p,[g,_e,ye]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[g,_e,ye],[p,`Windows`]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[g,/_/g,`.`],[p,`iOS`]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[p,ce],[g,/_/g,`.`]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[g,p],[/(ubuntu) ([\w\.]+) like android/i],[[p,/(.+)/,`$1 Touch`],g],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[p,g],[/\(bb(10);/i],[g,[p,O]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[g,[p,`Symbian`]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[g,[p,M+` OS`]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[g,[p,`webOS`]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[g,[p,`watchOS`]],[/crkey\/([\d\.]+)/i],[g,[p,A+`cast`]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[p,se],g],[/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)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[p,g],[/(sunos) ?([\w\.\d]*)/i],[[p,`Solaris`],g],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[p,g]]},xe=function(e,t){if(typeof e===l&&(t=e,e=r),!(this instanceof xe))return new xe(e,t).getResult();var i=typeof n!==c&&n.navigator?n.navigator:r,o=e||(i&&i.userAgent?i.userAgent:a),v=i&&i.userAgentData?i.userAgentData:r,x=t?ue(be,t):be,S=i&&i.userAgent==o;return this.getBrowser=function(){var e={};return e[p]=r,e[g]=r,ge.call(e,o,x.browser),e[d]=me(e[g]),S&&i&&i.brave&&typeof i.brave.isBrave==s&&(e[p]=`Brave`),e},this.getCPU=function(){var e={};return e[_]=r,ge.call(e,o,x.cpu),e},this.getDevice=function(){var e={};return e[h]=r,e[f]=r,e[m]=r,ge.call(e,o,x.device),S&&!e[m]&&v&&v.mobile&&(e[m]=y),S&&e[f]==`Macintosh`&&i&&typeof i.standalone!==c&&i.maxTouchPoints&&i.maxTouchPoints>2&&(e[f]=`iPad`,e[m]=b),e},this.getEngine=function(){var e={};return e[p]=r,e[g]=r,ge.call(e,o,x.engine),e},this.getOS=function(){var e={};return e[p]=r,e[g]=r,ge.call(e,o,x.os),S&&!e[p]&&v&&v.platform&&v.platform!=`Unknown`&&(e[p]=v.platform.replace(/chrome os/i,se).replace(/macos/i,ce)),e},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 o},this.setUA=function(e){return o=typeof e===u&&e.length>w?he(e,w):e,this},this.setUA(o),this};xe.VERSION=i,xe.BROWSER=de([p,g,d]),xe.CPU=de([_]),xe.DEVICE=de([f,h,m,v,y,x,b,S,C]),xe.ENGINE=xe.OS=de([p,g]),typeof e===c?typeof define===s&&define.amd?define(function(){return xe}):typeof n!==c&&(n.UAParser=xe):(typeof t!==c&&t.exports&&(e=t.exports=xe),e.UAParser=xe);var Se=typeof n!==c&&(n.jQuery||n.Zepto);if(Se&&!Se.ua){var Ce=new xe;Se.ua=Ce.getResult(),Se.ua.get=function(){return Ce.getUA()},Se.ua.set=function(e){Ce.setUA(e);var t=Ce.getResult();for(var n in t)Se.ua[n]=t[n]}}})(typeof window==`object`?window:e)})),T=l((e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(e){return e&&typeof e==`object`&&`default`in e?e.default:e}t(require("react"));var n=new(w()),r=n.getBrowser();n.getCPU();var i=n.getDevice(),a=n.getEngine(),o=n.getOS(),s=n.getUA(),c={Mobile:`mobile`,Tablet:`tablet`,SmartTv:`smarttv`,Console:`console`,Wearable:`wearable`,Embedded:`embedded`,Browser:void 0},l={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`},u={IOS:`iOS`,Android:`Android`,WindowsPhone:`Windows Phone`,Windows:`Windows`,MAC_OS:`Mac OS`},d=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:`none`;return e||t},f=function(){return typeof window<`u`&&(window.navigator||navigator)?window.navigator||navigator:!1},p=function(e){var t=f();return t&&t.platform&&(t.platform.indexOf(e)!==-1||t.platform===`MacIntel`&&t.maxTouchPoints>1&&!window.MSStream)},m=function(e){return e.type===c.Mobile},h=function(e){return e.type===c.Tablet},g=function(e){var t=e.type;return t===c.Mobile||t===c.Tablet},_=function(e){return e.type===c.SmartTv},v=function(e){return e.type===c.Browser},y=function(e){return e.type===c.Wearable},b=function(e){return e.type===c.Console},x=function(e){return e.type===c.Embedded},S=function(e){var t=e.vendor;return d(t)},C=function(e){var t=e.model;return d(t)},T=function(e){var t=e.type;return d(t,`browser`)},E=function(e){return e.name===u.Android},D=function(e){return e.name===u.Windows},O=function(e){return e.name===u.MAC_OS},k=function(e){return e.name===u.WindowsPhone},A=function(e){return e.name===u.IOS},j=function(e){var t=e.version;return d(t)},M=function(e){var t=e.name;return d(t)},N=function(e){return e.name===l.Chrome},P=function(e){return e.name===l.Firefox},F=function(e){return e.name===l.Chromium},I=function(e){return e.name===l.Edge},L=function(e){return e.name===l.Yandex},R=function(e){var t=e.name;return t===l.Safari||t===l.MobileSafari},z=function(e){return e.name===l.MobileSafari},B=function(e){return e.name===l.Opera},ee=function(e){var t=e.name;return t===l.InternetExplorer||t===l.Ie},te=function(e){return e.name===l.MIUI},ne=function(e){return e.name===l.SamsungBrowser},re=function(e){var t=e.version;return d(t)},ie=function(e){var t=e.major;return d(t)},V=function(e){var t=e.name;return d(t)},H=function(e){var t=e.name;return d(t)},ae=function(e){var t=e.version;return d(t)},oe=function(){var e=f(),t=e&&e.userAgent&&e.userAgent.toLowerCase();return typeof t==`string`?/electron/.test(t):!1},se=function(e){return typeof e==`string`&&e.indexOf(`Edg/`)!==-1},ce=function(){var e=f();return e&&(/iPad|iPhone|iPod/.test(e.platform)||e.platform===`MacIntel`&&e.maxTouchPoints>1)&&!window.MSStream},le=function(){return p(`iPad`)},ue=function(){return p(`iPhone`)},de=function(){return p(`iPod`)},fe=function(e){return d(e)};_(i),b(i),y(i),x(i),z(r)||le(),F(r);var pe=g(i)||le();m(i),h(i)||le(),v(i),v(i),E(o),k(o),A(o)||le(),N(r),P(r),R(r),B(r),ee(r),j(o),M(o),re(r),ie(r),V(r),S(i),C(i),H(a),ae(a),fe(s),I(r)||se(s),L(r),T(i),ce(),le(),ue(),de(),oe(),se(s),I(r)&&se(s),D(o),O(o),te(r),ne(r),e.isMobile=pe}))(),E=f.default.memo((0,f.forwardRef)(({themeColor:e=``,onSubmit:t,style:n={},className:r=``,onInput:i,onFocus:a,onBlur:o,...s},c)=>{let[l,u]=(0,f.useState)(!0),[d,p]=(0,f.useState)(!1);e=h.convert3HexTo6(e),(0,f.useEffect)(()=>{u(T.isMobile)},[]);let m=e=>{!l&&e.key===`Enter`&&!e.shiftKey&&t&&(e.preventDefault(),t())},g=e=>{i?.(e),e.target.style.height=`40px`,e.target.style.height=2+e.target.scrollHeight+`px`},_={},y=[C.textInput,r].filter(Boolean).join(` `),b=()=>{p(!0)},x=()=>{p(!1)};return _={borderBottomColor:d?e===`#ffffff`?`#c8c8c8`:e:``},(0,v.jsx)(`div`,{className:C.textInputWrapper,children:(0,v.jsx)(`textarea`,{"data-testid":`textbox-input`,ref:c,className:y,style:{..._,...n},onFocus:b,onBlur:x,onInput:e=>g(e),onKeyDown:m,...s})})})),D={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`},O={pseudoCheckbox:`_pseudoCheckbox_z8j4c_1`,checkboxCheckMark:`_checkboxCheckMark_z8j4c_4`,checkboxCheckMarkPath:`_checkboxCheckMarkPath_z8j4c_7`,checked:`_checked_z8j4c_12`,checkboxUncheckedChecked:`_checkboxUncheckedChecked_z8j4c_1`,checkboxDisabled:`_checkboxDisabled_z8j4c_22`},k=({checked:e=!1,themeColor:t=``,disabled:n=!1})=>{let r={},i=`#006bb1`,a=n?`#9b9b9b`:`#ffffff`,o=n?O.checkboxDisabled:``,s=e?O.checked:``,c=[O.pseudoCheckbox,s,o].filter(Boolean).join(` `),l;if(t){let o=m(t);t=h.convert3HexTo6(t),o===`dark`||o===`light`?(a=n?e?`#9b9b9b`:`#f9f9f9`:o==`light`?`#333333`:`#ffffff`,i=n?`#f9f9f9`:e?t:`#ffffff`,l=n?`#e4e4e4`:t===`#ffffff`?`#333333`:t,e&&(r={backgroundColor:i,borderColor:l,outlineColor:l})):a=`#9b9b9b`}return(0,v.jsx)(`div`,{style:r,className:c,role:`checkbox`,"aria-checked":e,"aria-hidden":`true`,tabIndex:-1,"data-testid":`checkbox-input`,children:(0,v.jsx)(`svg`,{version:`1.1`,focusable:`false`,className:O.checkboxCheckMark,viewBox:`0 0 24 24`,children:(0,v.jsx)(`path`,{className:O.checkboxCheckMarkPath,fill:`none`,stroke:a,d:`M4.1,12.7 9,17.6 20.3,6.3`})})})};k.displayName=`Checkbox`;var A=({options:e,checkedValue:t,onSelectionChange:r,maxOptions:i,themeColor:a,className:o=``,style:s={}})=>{let c=(0,f.useRef)(e),[l,u]=(0,f.useState)(t),[d,p]=(0,f.useState)(``),[g,_]=(0,f.useState)(!1),[b,x]=(0,f.useState)(!1),S=(0,f.useRef)(null),C=(0,f.useRef)(null),w=(0,f.useRef)(null),T=(0,f.useRef)(null),E=(0,f.useRef)(null),O=(0,f.useRef)(null),[A,j]=(0,f.useState)(-1),M=(0,f.useRef)(0),N=(0,f.useRef)(0),[P,F]=(0,f.useState)(!1),I={},[L,R]=(0,f.useState)({left:0,top:0}),[z,B]=(0,f.useState)(null),ee=(0,f.useRef)(!1),te=(0,f.useRef)(null),ne=()=>{setTimeout(()=>{(S.current?.children[0]).focus()},0)};(0,f.useEffect)(()=>{let e=e=>{C.current&&!C.current.contains(e.target)&&(_(!1),p(``),ne())};return document.addEventListener(`mousedown`,e),()=>{document.removeEventListener(`mousedown`,e)}},[]);let re=()=>{M.current=window.innerHeight,N.current=document.body.scrollHeight,F(!0)};(0,f.useEffect)(()=>(re(),window.addEventListener(`resize`,re),()=>{window.addEventListener(`resize`,re)}),[]);let ie=e=>{let t=document.getElementById(`announcement`);t&&(t.textContent=e,t.setAttribute(`aria-live`,`assertive`),setTimeout(()=>{t.textContent=``,t.setAttribute(`aria-live`,`off`)},1e3))};(0,f.useEffect)(()=>{c.current=e.filter(e=>e.label.toLowerCase().includes(d.toLowerCase()))},[e,d]);let V=l.length>0?l.map(t=>{let n=e.find(e=>e.value===t);return n?.label===null?``:n?.label}).filter(e=>e!==``).join(`, `):`Select your option`,H=t=>{let n=e.find(e=>e.value===t);if(n&&!n.disable&&(i===void 0||l.length<=i)){let e=l.includes(t)?l.filter(e=>e!==t):[...l,t];(i===void 0||e.length<=i)&&g&&(u(e),r(e),ie(`${n?.label} ${e.includes(t)?`selected`:`not selected`}`))}},ae=e=>{se(),_(e),setTimeout(()=>{w.current?w.current?.focus():T.current?.focus(),ie(`use up and down arrow keys to navigate`)},0)},oe=()=>N.current-(M.current+window.scrollY),se=()=>{if(S.current){let e=S.current.getBoundingClientRect();setTimeout(()=>{let t=C?.current?.getBoundingClientRect(),n=oe(),r=M.current-e.bottom,i;if(t){let a=e.height,o=e.top,s=t.height,c=s>o+window.scrollY;i=o<s&&(c||c&&r<s||n>s||r>s)||o>s&&r>s?e.y+a:e.y-s,R({left:e.left,top:i??e.top})}},0)}};(0,f.useEffect)(()=>(window.addEventListener(`scroll`,se),window.addEventListener(`resize`,se),()=>{window.removeEventListener(`scroll`,se),window.removeEventListener(`resize`,se)}),[g]);let ce=e=>{e.preventDefault(),e.key===`Shift`?ee.current=!0:e.shiftKey&&ee.current&&e.key===`Tab`||e.key===`Tab`?(setTimeout(()=>{w.current?w.current?.focus():T.current?.focus()},0),ee.current=!1):e.key===`Escape`||e.key===`Enter`||e.key===`Space`||e.key===` `?(ae(!1),ne()):ee.current=!1},le=e=>{let{key:t}=e;if(t===`Tab`||e.shiftKey&&t===`Tab`)setTimeout(()=>{E.current?.focus()},0);else if(t===`ArrowDown`||t===`ArrowUp`){e.preventDefault(),setTimeout(()=>{T.current?.focus()},0);let n=A;if(t===`ArrowDown`?n=Math.min(A+1,c.current.length-1):t===`ArrowUp`&&(n=Math.max(A-1,0)),A===0&&e.key===`ArrowUp`?n=c.current.length-1:A===c.current.length-1&&e.key===`ArrowDown`&&(n=0),j(n),O.current&&n>=0){let e=O.current.querySelectorAll(`.${D.optionsList}`)[n],t=e.children[0].getAttribute(`aria-checked`);ie(`${e.textContent} ${t===`true`?`selected`:`not selected`} ${n+1} out of ${c.current.length}`),e&&e.scrollIntoView({block:`nearest`,inline:`nearest`})}}else t===`Enter`||t===`Space`||t===` `?A!==-1&&H(c.current[A].value):t===`Escape`&&(ae(!1),ne())};(0,f.useEffect)(()=>{z&&clearTimeout(z),B(setTimeout(()=>{let e=c.current.length?`${c.current.length} results are available, use up and down arrow keys to navigate`:`No results available`;g&&ie(e)},500))},[d]);let ue=()=>{x(!0)},de=()=>{x(!1)};if((0,f.useEffect)(()=>{let e=te.current;return e&&(e.addEventListener(`focus`,ue),e.addEventListener(`blur`,de)),()=>{e&&(e.removeEventListener(`focus`,ue),e.removeEventListener(`blur`,de))}},[ue,de]),a){let e=m(a);a=h.convert3HexTo6(a),(e===`dark`||e===`light`)&&(I={borderBottomColor:a===`#ffffff`?`#c8c8c8`:b||g?a:`#333333`})}let fe=()=>{_(!1)};return(0,v.jsx)(`div`,{className:D.multiSelectContainer,children:(0,v.jsxs)(`div`,{className:D.listOptionsWrap,children:[(0,v.jsxs)(`div`,{className:`${o} ${D.selectedValuesWrap}`,ref:S,children:[(0,v.jsx)(`div`,{className:`${D.selectedValues} ${g?D.focused:``} ${l.length===0?D.placeholder:``}`,ref:te,onFocus:ue,onBlur:de,onClick:()=>ae(!g),onKeyPress:e=>{(e.key===` `||e.code===`Space`||e.code===`Enter`)&&(e.preventDefault(),ae(!g))},tabIndex:0,"data-testid":`selected-input`,style:{...I,...s},"aria-expanded":g,"aria-haspopup":`listbox`,"aria-multiselectable":`true`,"aria-autocomplete":`list`,role:`combobox`,children:V}),(0,v.jsx)(`span`,{className:D.dropDownIcon,onClick:()=>ae(!g),"data-testid":`arrow-button`,children:(0,v.jsx)(`svg`,{width:`12px`,height:`7px`,viewBox:`0 0 12 7`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,children:(0,v.jsx)(`g`,{stroke:`none`,strokeWidth:`1`,fill:`none`,fillRule:`evenodd`,children:(0,v.jsx)(`g`,{transform:`translate(-2360.000000, -295.000000)`,fill:`#666666`,children:(0,v.jsx)(`g`,{transform:`translate(2006.000000, 248.000000)`,children:(0,v.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)`})})})})})})]}),(0,v.jsx)(`div`,{id:`announcement`,"aria-live":`assertive`,role:`alert`,className:D.announcement}),P?(0,n.createPortal)((0,v.jsx)(v.Fragment,{children:g&&S&&(0,v.jsx)(`div`,{onClick:fe,style:{position:`fixed`,inset:0,backgroundColor:`rgba(255,255,255,0)`,zIndex:1e3},children:(0,v.jsxs)(`div`,{className:`${D.optionsListContainer}`,ref:C,onClick:e=>e.stopPropagation(),style:{opacity:+!!L.left,width:S.current?S.current.clientWidth:`auto`,left:L.left,top:L.top},children:[(0,v.jsxs)(`div`,{className:D.optionsListWrap,children:[e.length>=6&&(0,v.jsx)(`div`,{className:D.searchInputWrap,children:(0,v.jsx)(`input`,{type:`text`,ref:w,placeholder:`Type to filter`,className:D.searchInput,value:d,onChange:e=>p(e.target.value),"data-testid":`search-input`,onKeyDown:e=>{le(e)}})}),(0,v.jsx)(`ul`,{ref:O,role:`listbox`,children:c.current.map((e,t)=>(0,v.jsxs)(`li`,{className:`${D.optionsList} ${t===A?D.focused:``}`,onClick:()=>H(e.value),"aria-selected":t===A,role:`option`,children:[(0,v.jsx)(k,{themeColor:a,checked:l.includes(e.value),disabled:e.disable||i!==void 0&&l.length>=i&&!l.includes(e.value)}),(0,v.jsx)(`span`,{children:e.label})]},e.value))})]}),(0,v.jsxs)(`div`,{className:D.btnContainer,children:[(0,v.jsx)(`input`,{ref:T,onKeyDown:e=>{le(e)},className:D.hiddenButton}),(0,v.jsx)(y,{themeColor:a,variant:`primary`,size:`medium`,onClick:()=>{_(!1),p(``),ne(),r(l)},"data-testid":`done-button`,onKeyDown:e=>{ce(e)},ref:E,children:`Done`})]})]})})}),document.body):null]})})},j={multiSelectContainer:`_multiSelectContainer_1on91_1`,listOptionsWrap:`_listOptionsWrap_1on91_4`,selectedValuesWrap:`_selectedValuesWrap_1on91_7`,selectedValues:`_selectedValues_1on91_7`,focused:`_focused_1on91_16`,countAndIconContainer:`_countAndIconContainer_1on91_19`,rounded:`_rounded_1on91_22`,selected:`_selected_1on91_7`,selectedCount:`_selectedCount_1on91_37`,dropDownIcon:`_dropDownIcon_1on91_41`,optionsListContainer:`_optionsListContainer_1on91_45`,top:`_top_1on91_48`,optionsListWrap:`_optionsListWrap_1on91_51`,searchInputWrap:`_searchInputWrap_1on91_54`,searchInput:`_searchInput_1on91_54`,optionsList:`_optionsList_1on91_45`,btnContainer:`_btnContainer_1on91_76`,hiddenButton:`_hiddenButton_1on91_79`,announcement:`_announcement_1on91_92`},M=({options:e,checkedValue:t,onSelectionChange:r,maxOptions:i,themeColor:a,className:o=``,style:s={},categoryName:c=``,variant:l=`default`,placeholder:u=`Select your option`})=>{let d=(0,f.useRef)(e),[p,g]=(0,f.useState)(t),[_,b]=(0,f.useState)(``),[x,S]=(0,f.useState)(!1),[C,w]=(0,f.useState)(!1),T=(0,f.useRef)(null),E=(0,f.useRef)(null),D=(0,f.useRef)(null),O=(0,f.useRef)(null),A=(0,f.useRef)(null),M=(0,f.useRef)(null),[N,P]=(0,f.useState)(-1),F=(0,f.useRef)(0),I=(0,f.useRef)(0),[L,R]=(0,f.useState)(!1),z={},[B,ee]=(0,f.useState)({left:0,top:0}),[te,ne]=(0,f.useState)(null),re=(0,f.useRef)(!1),ie=(0,f.useRef)(null);(0,f.useEffect)(()=>{g(t)},[t]);let V=()=>{setTimeout(()=>{(T.current?.children[0]).focus()},0)};(0,f.useEffect)(()=>{let e=e=>{E.current&&!E.current.contains(e.target)&&(S(!1),b(``),V())};return document.addEventListener(`mousedown`,e),()=>{document.removeEventListener(`mousedown`,e)}},[]);let H=()=>{F.current=window.innerHeight,I.current=document.body.scrollHeight,R(!0)};(0,f.useEffect)(()=>(H(),window.addEventListener(`resize`,H),()=>{window.addEventListener(`resize`,H)}),[]);let ae=e=>{let t=document.getElementById(`announcement`);t&&(t.textContent=e,t.setAttribute(`aria-live`,`assertive`),setTimeout(()=>{t.textContent=``,t.setAttribute(`aria-live`,`off`)},1e3))};(0,f.useEffect)(()=>{d.current=e.filter(e=>e.label.toLowerCase().includes(_.toLowerCase()))},[e,_]);let oe=p.length>1&&c?c:p.length>0?p.map(t=>{let n=e.find(e=>e.value===t);return n?.label===null?``:n?.label}).filter(e=>e!==``).join(`, `):u,se=t=>{let n=e.find(e=>e.value===t);if(n&&!n.disable&&(i===void 0||p.length<=i)){let e=p.includes(t)?p.filter(e=>e!==t):[...p,t];(i===void 0||e.length<=i)&&x&&(g(e),r(e),setTimeout(()=>{le()},50),d.current.length===1&&S(!1),ae(`${n?.label} ${e.includes(t)?`selected`:`not selected`}`))}},ce=e=>{le(),S(e),setTimeout(()=>{D.current?D.current?.focus():O.current?.focus(),ae(`use up and down arrow keys to navigate`)},0)},le=()=>{if(T.current){let e=T.current.getBoundingClientRect();setTimeout(()=>{let t=E?.current?.getBoundingClientRect();if(t){let n=t.height,r=t.width,i=window.innerWidth,a=F.current-e.bottom,o=e.top,s;s=a>=n?e.bottom:o>=n?e.top-n:a>=o?e.bottom:e.top-n;let c=i-e.left,l=e.right,u;u=c-20>=r?e.left:l>=r?e.right-r+20:c>=l?Math.max(20,i-r-20):Math.max(20,e.right-r+20),ee({left:u,top:s})}},10)}};(0,f.useEffect)(()=>(window.addEventListener(`scroll`,le),window.addEventListener(`resize`,le),()=>{window.removeEventListener(`scroll`,le),window.removeEventListener(`resize`,le)}),[x]);let ue=e=>{e.preventDefault(),e.key===`Shift`?re.current=!0:e.shiftKey&&re.current&&e.key===`Tab`||e.key===`Tab`?(setTimeout(()=>{D.current?D.current?.focus():O.current?.focus()},0),re.current=!1):e.key===`Escape`||e.key===`Enter`||e.key===`Space`||e.key===` `?(ce(!1),V()):re.current=!1},de=e=>{let{key:t}=e;if(t===`Tab`||e.shiftKey&&t===`Tab`)setTimeout(()=>{A.current?.focus()},0);else if(t===`ArrowDown`||t===`ArrowUp`){e.preventDefault(),setTimeout(()=>{O.current?.focus()},0);let n=N;if(t===`ArrowDown`?n=Math.min(N+1,d.current.length-1):t===`ArrowUp`&&(n=Math.max(N-1,0)),N===0&&e.key===`ArrowUp`?n=d.current.length-1:N===d.current.length-1&&e.key===`ArrowDown`&&(n=0),P(n),M.current&&n>=0){let e=M.current.querySelectorAll(`.${j.optionsList}`)[n],t=e.children[0].getAttribute(`aria-checked`);ae(`${e.textContent} ${t===`true`?`selected`:`not selected`} ${n+1} out of ${d.current.length}`),e&&e.scrollIntoView({block:`nearest`,inline:`nearest`})}}else t===`Enter`||t===`Space`||t===` `?N!==-1&&se(d.current[N].value):t===`Escape`&&(ce(!1),V())};(0,f.useEffect)(()=>{te&&clearTimeout(te),ne(setTimeout(()=>{let e=d.current.length?`${d.current.length} results are available, use up and down arrow keys to navigate`:`No results available`;x&&ae(e)},500))},[_]);let fe=()=>{w(!0)},pe=()=>{w(!1)};if((0,f.useEffect)(()=>{let e=ie.current;return e&&(e.addEventListener(`focus`,fe),e.addEventListener(`blur`,pe)),()=>{e&&(e.removeEventListener(`focus`,fe),e.removeEventListener(`blur`,pe))}},[fe,pe]),a){let e=m(a);a=h.convert3HexTo6(a),(e===`dark`||e===`light`)&&(z={"--theme-color":a})}let me=()=>{S(!1)},he=()=>{S(!1),b(``),V(),r(p)};return(0,v.jsx)(`div`,{className:j.multiSelectContainer,children:(0,v.jsxs)(`div`,{className:j.listOptionsWrap,children:[(0,v.jsx)(`div`,{className:`${o} ${j.selectedValuesWrap}`,ref:T,children:(0,v.jsxs)(`div`,{className:`${j.selectedValues} ${x?j.focused:``} ${p.length>0?j.selected:``} ${p.length>1?j.countShow:``} ${p.length===0?j.placeholder:``} ${l===`rounded`?j.rounded:``}`,ref:ie,onFocus:fe,onBlur:pe,onClick:()=>ce(!x),onKeyPress:e=>{(e.key===` `||e.code===`Space`||e.code===`Enter`)&&(e.preventDefault(),ce(!x))},tabIndex:0,"data-testid":`selected-input`,style:{...z,...s},"aria-expanded":x,"aria-haspopup":`listbox`,"aria-multiselectable":`true`,"aria-autocomplete":`list`,role:`combobox`,children:[(0,v.jsx)(`span`,{children:oe}),(0,v.jsxs)(`div`,{className:j.countAndIconContainer,children:[p.length>1&&(0,v.jsx)(`span`,{className:j.selectedCount,"data-testid":`selected-count`,style:{backgroundColor:a},children:p.length}),(0,v.jsx)(`span`,{className:j.dropDownIcon,onClick:()=>ce(!x),"data-testid":`arrow-button`,children:(0,v.jsx)(`svg`,{width:`12px`,height:`7px`,viewBox:`0 0 12 7`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,children:(0,v.jsx)(`g`,{stroke:`none`,strokeWidth:`1`,fill:`none`,fillRule:`evenodd`,children:(0,v.jsx)(`g`,{transform:`translate(-2360.000000, -295.000000)`,fill:`#666666`,children:(0,v.jsx)(`g`,{transform:`translate(2006.000000, 248.000000)`,children:(0,v.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)`})})})})})})]})]})}),(0,v.jsx)(`div`,{id:`announcement`,"aria-live":`assertive`,role:`alert`,className:j.announcement}),L?(0,n.createPortal)((0,v.jsx)(v.Fragment,{children:x&&T&&(0,v.jsx)(`div`,{onClick:me,style:{position:`fixed`,inset:0,backgroundColor:`rgba(255,255,255,0)`,zIndex:1e3},children:(0,v.jsxs)(`div`,{className:`${j.optionsListContainer}`,ref:E,onClick:e=>e.stopPropagation(),style:{opacity:+!!B.top,left:B.left,top:B.top,paddingBottom:d.current.length===1?0:void 0},children:[(0,v.jsxs)(`div`,{className:j.optionsListWrap,children:[e.length>=6&&(0,v.jsx)(`div`,{className:j.searchInputWrap,children:(0,v.jsx)(`input`,{type:`text`,ref:D,placeholder:`Type to filter`,className:j.searchInput,value:_,onChange:e=>b(e.target.value),"data-testid":`search-input`,onKeyDown:e=>{de(e)}})}),(0,v.jsx)(`ul`,{ref:M,role:`listbox`,children:d.current.map((e,t)=>(0,v.jsxs)(`li`,{className:`${j.optionsList} ${t===N?j.focused:``}`,onClick:()=>se(e.value),"aria-selected":t===N,role:`option`,children:[(0,v.jsx)(k,{themeColor:a,checked:p.includes(e.value),disabled:e.disable||i!==void 0&&p.length>=i&&!p.includes(e.value)}),(0,v.jsx)(`span`,{children:e.label})]},e.value))})]}),d.current.length>1&&(0,v.jsxs)(`div`,{className:j.btnContainer,children:[(0,v.jsx)(`input`,{ref:O,onKeyDown:e=>{de(e)},className:j.hiddenButton}),(0,v.jsx)(y,{themeColor:a,variant:`primary`,size:`medium`,disabled:!(p.length>0),onClick:he,"data-testid":`done-button`,onKeyDown:e=>{ue(e)},ref:A,children:`Done`})]})]})})}),document.body):null]})})},N={multiSelectContainer:`_multiSelectContainer_1rhxq_1`,quickOptionsWrap:`_quickOptionsWrap_1rhxq_4`,selected:`_selected_1rhxq_11`,disabled:`_disabled_1rhxq_17`},P=({options:e,checkedValue:t,onSelectionChange:n,maxOptions:r,themeColor:i,className:a=``,style:o={},id:s=``})=>{let[c,l]=(0,f.useState)(t),u=(0,f.useRef)({}),d={},p,g=t=>{let i=e.find(e=>e.value===t);if(!i||i.disable)return;u.current[t]?.click();let a=c.includes(t)?c.filter(e=>e!==t):[...c,t];(r===void 0||a.length<=r)&&(l(a),n(a))};if(i){p=m(i),i=h.convert3HexTo6(i);let e=i===`#ffffff`?`#333333`:i;(p===`dark`||p===`light`)&&(d={outlineColor:e,borderColor:e,color:i===`#ffffff`||p===`light`?`#333333`:i})}return(0,v.jsx)(`div`,{className:N.multiSelectContainer,role:`group`,children:(0,v.jsx)(`ul`,{className:N.quickOptionsWrap,id:s,children:e.map(e=>(0,v.jsx)(`li`,{style:{...d,...o},className:`${a} ${e.disable||r!==void 0&&c.length>=r&&!c.includes(e.value)?N.disabled:``} ${c.includes(e.value)?N.selected:``}`,tabIndex:e.disable?-1:0,onClick:()=>g(e.value),onKeyPress:t=>{(t.key===` `||t.code===`Space`)&&(t.preventDefault(),g(e.value))},"data-testid":`option-box`,children:(0,v.jsx)(S,{id:e.value,checkboxSize:`large`,tabIndex:-1,themeColor:i,ref:t=>{u.current[e.value]=t},checked:c.includes(e.value),disabled:e.disable||r!==void 0&&c.length>=r&&!c.includes(e.value),children:(0,v.jsx)(`span`,{style:{color:i&&(i===`#ffffff`||p===`light`)||e.disable||r!==void 0&&c.length>=r&&!c.includes(e.value)?`#333333`:i&&(i!==`#ffffff`||p!==`light`)?i:`#006bb1`},children:e.label})})},e.value))})})},F={singleSelectWrapper:`_singleSelectWrapper_7i31h_1`,quickOption:`_quickOption_7i31h_4`,selected:`_selected_7i31h_11`,triangle:`_triangle_7i31h_17`,loader:`_loader_7i31h_20`,"tw-spin":`_tw-spin_7i31h_1`,checkmarkWrap:`_checkmarkWrap_7i31h_23`,checkmark:`_checkmark_7i31h_23`,fill:`_fill_7i31h_1`,scale:`_scale_7i31h_1`,checkmarkCheck:`_checkmarkCheck_7i31h_30`,stroke:`_stroke_7i31h_1`,disabled:`_disabled_7i31h_35`},I=({options:e,onSelect:t,selected:n,themeColor:r,className:i=``,style:a={},showLoader:o=!1,id:s=``})=>{let[c,l]=(0,f.useState)(n),u={},d={},p=`#ffffff`,g=e=>{if(c?.value===e?.value){l(void 0),t(void 0);return}t(e),l(e)};if(r){let e=m(r);r=h.convert3HexTo6(r);let t=r===`#ffffff`?`#333333`:r;(e===`dark`||e===`light`)&&(p=r===`#ffffff`||e===`dark`?`#ffffff`:`#333333`,u={outlineColor:t,borderColor:t,color:r===`#ffffff`||e===`light`?`#333333`:r},d={borderRightColor:t,borderTopColor:t})}return(0,v.jsx)(`div`,{className:F.singleSelectWrapper,children:(0,v.jsx)(`div`,{className:F.quickOption,children:(0,v.jsx)(`ul`,{className:F.quickOption,role:`radiogroup`,id:s,children:e.map(e=>(0,v.jsxs)(`li`,{tabIndex:e.disable?-1:0,className:`${i} ${c?.value===e.value?F.selected:``} ${e.disable?F.disabled:``}`,style:{...u,...a},onClick:()=>g(e),onKeyPress:t=>{(t.key===` `||t.code===`Space`)&&(t.preventDefault(),g(e))},"data-testid":`checkbox-input`,role:`radio`,"aria-checked":c?.value===e.value,children:[e.label,c?.value===e.value&&!e.disable&&(0,v.jsxs)(`div`,{className:F.triangle,style:{...d},children:[o&&(0,v.jsx)(`div`,{className:F.loader,style:{borderRightColor:r??`#006bb1`}}),!o&&(0,v.jsx)(`div`,{className:F.checkmarkWrap,children:(0,v.jsx)(`svg`,{className:F.checkmark,xmlns:`http://www.w3.org/2000/svg`,width:`11`,height:`9`,viewBox:`0 0 11 9`,fill:`none`,children:(0,v.jsx)(`path`,{className:F.checkmarkCheck,stroke:p,d:`M2.1 4.34286L4.12857 6.40001L8.9 1.60001`,strokeWidth:`2`})})})]})]},e.value))})})})},L={scrollbarContainer:`_scrollbarContainer_40vsr_1`},R=(0,f.forwardRef)(({children:e,className:t=``,style:n={},...r},i)=>{let a=[L.scrollbarContainer,t].filter(Boolean).join(` `);return(0,v.jsx)(v.Fragment,{children:(0,v.jsx)(`div`,{ref:i,style:{...n},className:a,...r,children:e})})});R.displayName=`Scrollbar`;var z=e=>e?.ownerDocument??document,B=e=>e&&`window`in e&&e.window===e?e:z(e).defaultView||window;function ee(e){return typeof e==`object`&&!!e&&`nodeType`in e&&typeof e.nodeType==`number`}function te(e){return ee(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&`host`in e}var ne=!1;function re(){return ne}function ie(e,t){if(!re())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let n=t;for(;n!==null;){if(n===e)return!0;n=n.tagName===`SLOT`&&n.assignedSlot?n.assignedSlot.parentNode:te(n)?n.host:n.parentNode}return!1}var V=(e=document)=>{if(!re())return e.activeElement;let t=e.activeElement;for(;t&&`shadowRoot`in t&&t.shadowRoot?.activeElement;)t=t.shadowRoot.activeElement;return t};function H(e){if(re()&&e.target instanceof Element&&e.target.shadowRoot){if(`composedPath`in e)return e.composedPath()[0]??null;if(`composedPath`in e.nativeEvent)return e.nativeEvent.composedPath()[0]??null}return e.target}function ae(e){if(se())e.focus({preventScroll:!0});else{let t=ce(e);e.focus(),le(t)}}var oe=null;function se(){if(oe==null){oe=!1;try{document.createElement(`div`).focus({get preventScroll(){return oe=!0,!0}})}catch{}}return oe}function ce(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}function le(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}var ue=typeof document<`u`?f.default.useLayoutEffect:()=>{};function de(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function fe(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function pe(e){let t=(0,f.useRef)({isFocused:!1,observer:null});return ue(()=>{let e=t.current;return()=>{e.observer&&=(e.observer.disconnect(),null)}},[]),(0,f.useCallback)(n=>{let r=H(n);if(r instanceof HTMLButtonElement||r instanceof HTMLInputElement||r instanceof HTMLTextAreaElement||r instanceof HTMLSelectElement){t.current.isFocused=!0;let n=r;n.addEventListener(`focusout`,r=>{if(t.current.isFocused=!1,n.disabled){let t=de(r);e?.(t)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&n.disabled){t.current.observer?.disconnect();let e=n===V()?null:V();n.dispatchEvent(new FocusEvent(`blur`,{relatedTarget:e})),n.dispatchEvent(new FocusEvent(`focusout`,{bubbles:!0,relatedTarget:e}))}}),t.current.observer.observe(n,{attributes:!0,attributeFilter:[`disabled`]})}},[e])}var me=!1;function he(e){if(typeof window>`u`||window.navigator==null)return!1;let t=window.navigator.userAgentData?.brands;return Array.isArray(t)&&t.some(t=>e.test(t.brand))||e.test(window.navigator.userAgent)}function ge(e){return typeof window<`u`&&window.navigator!=null?e.test(window.navigator.userAgentData?.platform||window.navigator.platform):!1}function _e(e){if(process.env.NODE_ENV===`test`)return e;let t=null;return()=>(t??=e(),t)}var ve=_e(function(){return ge(/^Mac/i)}),ye=_e(function(){return ge(/^iPhone/i)}),be=_e(function(){return ge(/^iPad/i)||ve()&&navigator.maxTouchPoints>1}),xe=_e(function(){return ye()||be()});_e(function(){return ve()||xe()});var Se=_e(function(){return he(/AppleWebKit/i)&&!Ce()}),Ce=_e(function(){return he(/Chrome/i)}),we=_e(function(){return he(/Android/i)}),Te=_e(function(){return he(/Firefox/i)});function Ee(e){return e.pointerType===``&&e.isTrusted?!0:we()&&e.pointerType?e.type===`click`&&e.buttons===1:e.detail===0&&!e.pointerType}function De(e,t,n=!0){let{metaKey:r,ctrlKey:i,altKey:a,shiftKey:o}=t;Te()&&window.event?.type?.startsWith(`key`)&&e.target===`_blank`&&(ve()?r=!0:i=!0);let s=Se()&&ve()&&!be()&&process.env.NODE_ENV!==`test`?new KeyboardEvent(`keydown`,{keyIdentifier:`Enter`,metaKey:r,ctrlKey:i,altKey:a,shiftKey:o}):new MouseEvent(`click`,{metaKey:r,ctrlKey:i,altKey:a,shiftKey:o,detail:1,bubbles:!0,cancelable:!0});De.isOpening=n,ae(e),e.dispatchEvent(s),De.isOpening=!1}De.isOpening=!1;var Oe=null,ke=new Set,Ae=new Map,je=!1,Me=!1,Ne={Tab:!0,Escape:!0};function Pe(e,t){for(let n of ke)n(e,t)}function Fe(e){return!(e.metaKey||!ve()&&e.altKey||e.ctrlKey||e.key===`Control`||e.key===`Shift`||e.key===`Meta`)}function Ie(e){je=!0,!De.isOpening&&Fe(e)&&(Oe=`keyboard`,Pe(`keyboard`,e))}function Le(e){Oe=`pointer`,`pointerType`in e&&e.pointerType,(e.type===`mousedown`||e.type===`pointerdown`)&&(je=!0,Pe(`pointer`,e))}function Re(e){!De.isOpening&&Ee(e)&&(je=!0,Oe=`virtual`)}function ze(e){let t=B(H(e)),n=z(H(e));H(e)===t||H(e)===n||me||!e.isTrusted||(!je&&!Me&&(Oe=`virtual`,Pe(`virtual`,e)),je=!1,Me=!1)}function Be(){me||(je=!1,Me=!0)}function Ve(e){if(typeof window>`u`||typeof document>`u`)return;let t=B(e),n=z(e);if(Ae.get(t))return;let r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){je=!0,r.apply(this,arguments)},n.addEventListener(`keydown`,Ie,!0),n.addEventListener(`keyup`,Ie,!0),n.addEventListener(`click`,Re,!0),t.addEventListener(`focus`,ze,!0),t.addEventListener(`blur`,Be,!1),typeof PointerEvent<`u`?(n.addEventListener(`pointerdown`,Le,!0),n.addEventListener(`pointermove`,Le,!0),n.addEventListener(`pointerup`,Le,!0)):process.env.NODE_ENV===`test`&&(n.addEventListener(`mousedown`,Le,!0),n.addEventListener(`mousemove`,Le,!0),n.addEventListener(`mouseup`,Le,!0)),t.addEventListener(`beforeunload`,()=>{He(e)},{once:!0}),Ae.set(t,{focus:r})}var He=(e,t)=>{let n=B(e),r=z(e);t&&r.removeEventListener(`DOMContentLoaded`,t),Ae.has(n)&&(n.HTMLElement.prototype.focus=Ae.get(n).focus,r.removeEventListener(`keydown`,Ie,!0),r.removeEventListener(`keyup`,Ie,!0),r.removeEventListener(`click`,Re,!0),n.removeEventListener(`focus`,ze,!0),n.removeEventListener(`blur`,Be,!1),typeof PointerEvent<`u`?(r.removeEventListener(`pointerdown`,Le,!0),r.removeEventListener(`pointermove`,Le,!0),r.removeEventListener(`pointerup`,Le,!0)):process.env.NODE_ENV===`test`&&(r.removeEventListener(`mousedown`,Le,!0),r.removeEventListener(`mousemove`,Le,!0),r.removeEventListener(`mouseup`,Le,!0)),Ae.delete(n))};function Ue(e){let t=z(e),n;return t.readyState===`loading`?(n=()=>{Ve(e)},t.addEventListener(`DOMContentLoaded`,n)):Ve(e),()=>He(e,n)}typeof document<`u`&&Ue();function We(){return Oe!==`pointer`}var Ge=new Set([`checkbox`,`radio`,`range`,`color`,`file`,`image`,`button`,`submit`,`reset`]);function Ke(e,t,n){let r=n?H(n):void 0,i=z(r),a=B(r),o=a===void 0?HTMLInputElement:a.HTMLInputElement,s=a===void 0?HTMLTextAreaElement:a.HTMLTextAreaElement,c=a===void 0?HTMLElement:a.HTMLElement,l=a===void 0?KeyboardEvent:a.KeyboardEvent,u=V(i);return e=e||u instanceof o&&!Ge.has(u.type)||u instanceof s||u instanceof c&&u.isContentEditable,!(e&&t===`keyboard`&&n instanceof l&&!Ne[n.key])}function qe(e,t,n){Ve(),(0,f.useEffect)(()=>{if(n?.enabled===!1)return;let t=(t,r)=>{Ke(!!n?.isTextInput,t,r)&&e(We())};return ke.add(t),()=>{ke.delete(t)}},t)}function Je(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:i}=e,a=(0,f.useCallback)(e=>{if(H(e)===e.currentTarget)return r&&r(e),i&&i(!1),!0},[r,i]),o=pe(a),s=(0,f.useCallback)(e=>{let t=H(e),r=z(t),a=r?V(r):V();t===e.currentTarget&&t===a&&(n&&n(e),i&&i(!0),o(e))},[i,n,o]);return{focusProps:{onFocus:!t&&(n||i||r)?s:void 0,onBlur:!t&&(r||i)?a:void 0}}}function Ye(){let e=(0,f.useRef)(new Map),t=(0,f.useCallback)((t,n,r,i)=>{let a=i?.once?(...t)=>{e.current.delete(r),r(...t)}:r;e.current.set(r,{type:n,eventTarget:t,fn:a,options:i}),t.addEventListener(n,a,i)},[]),n=(0,f.useCallback)((t,n,r,i)=>{let a=e.current.get(r)?.fn||r;t.removeEventListener(n,a,i),e.current.delete(r)},[]),r=(0,f.useCallback)(()=>{e.current.forEach((e,t)=>{n(e.eventTarget,e.type,t,e.options)})},[n]);return(0,f.useEffect)(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}function Xe(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:i}=e,a=(0,f.useRef)({isFocusWithin:!1}),{addGlobalListener:o,removeAllGlobalListeners:s}=Ye(),c=(0,f.useCallback)(e=>{ie(e.currentTarget,H(e))&&a.current.isFocusWithin&&!ie(e.currentTarget,e.relatedTarget)&&(a.current.isFocusWithin=!1,s(),n&&n(e),i&&i(!1))},[n,i,a,s]),l=pe(c),u=(0,f.useCallback)(e=>{if(!ie(e.currentTarget,H(e)))return;let t=H(e),n=z(t),s=V(n);if(!a.current.isFocusWithin&&s===t){r&&r(e),i&&i(!0),a.current.isFocusWithin=!0,l(e);let t=e.currentTarget;o(n,`focus`,e=>{let r=H(e);if(a.current.isFocusWithin&&!ie(t,r)){let e=new n.defaultView.FocusEvent(`blur`,{relatedTarget:r});fe(e,t),c(de(e))}},{capture:!0})}},[r,i,l,o,c]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:u,onBlur:c}}}function Ze(e={}){let{autoFocus:t=!1,isTextInput:n,within:r}=e,i=(0,f.useRef)({isFocused:!1,isFocusVisible:t||We()}),[a,o]=(0,f.useState)(!1),[s,c]=(0,f.useState)(()=>i.current.isFocused&&i.current.isFocusVisible),l=(0,f.useCallback)(()=>c(i.current.isFocused&&i.current.isFocusVisible),[]),u=(0,f.useCallback)(e=>{i.current.isFocused=e,i.current.isFocusVisible=We(),o(e),l()},[l]);qe(e=>{i.current.isFocusVisible=e,l()},[n,a],{enabled:a,isTextInput:n});let{focusProps:d}=Je({isDisabled:r,onFocusChange:u}),{focusWithinProps:p}=Xe({isDisabled:!r,onFocusWithinChange:u});return{isFocused:a,isFocusVisible:s,focusProps:r?p:d}}var Qe=!1,$e=0;function et(){Qe=!0,setTimeout(()=>{Qe=!1},500)}function tt(e){e.pointerType===`touch`&&et()}function nt(){let e=z(null);if(e!==void 0)return $e===0&&(typeof PointerEvent<`u`?e.addEventListener(`pointerup`,tt):process.env.NODE_ENV===`test`&&e.addEventListener(`touchend`,et)),$e++,()=>{$e--,!($e>0)&&(typeof PointerEvent<`u`?e.removeEventListener(`pointerup`,tt):process.env.NODE_ENV===`test`&&e.removeEventListener(`touchend`,et))}}function rt(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:i}=e,[a,o]=(0,f.useState)(!1),s=(0,f.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:``,target:null}).current;(0,f.useEffect)(nt,[]);let{addGlobalListener:c,removeAllGlobalListeners:l}=Ye(),{hoverProps:u,triggerHoverEnd:d}=(0,f.useMemo)(()=>{let e=(e,r)=>{if(s.pointerType=r,i||r===`touch`||s.isHovered||!ie(e.currentTarget,H(e)))return;s.isHovered=!0;let l=e.currentTarget;s.target=l,c(z(H(e)),`pointerover`,e=>{s.isHovered&&s.target&&!ie(s.target,H(e))&&a(e,e.pointerType)},{capture:!0}),t&&t({type:`hoverstart`,target:l,pointerType:r}),n&&n(!0),o(!0)},a=(e,t)=>{let i=s.target;s.pointerType=``,s.target=null,!(t===`touch`||!s.isHovered||!i)&&(s.isHovered=!1,l(),r&&r({type:`hoverend`,target:i,pointerType:t}),n&&n(!1),o(!1))},u={};return typeof PointerEvent<`u`?(u.onPointerEnter=t=>{Qe&&t.pointerType===`mouse`||e(t,t.pointerType)},u.onPointerLeave=e=>{!i&&ie(e.currentTarget,H(e))&&a(e,e.pointerType)}):process.env.NODE_ENV===`test`&&(u.onTouchStart=()=>{s.ignoreEmulatedMouseEvents=!0},u.onMouseEnter=t=>{!s.ignoreEmulatedMouseEvents&&!Qe&&e(t,`mouse`),s.ignoreEmulatedMouseEvents=!1},u.onMouseLeave=e=>{!i&&ie(e.currentTarget,H(e))&&a(e,`mouse`)}),{hoverProps:u,triggerHoverEnd:a}},[t,n,r,i,s,c,l]);return(0,f.useEffect)(()=>{i&&d({currentTarget:s.target},s.pointerType)},[i]),{hoverProps:u,isHovered:a}}var it=Object.defineProperty,at=(e,t,n)=>t in e?it(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ot=(e,t,n)=>(at(e,typeof t==`symbol`?t:t+``,n),n),st=new class{constructor(){ot(this,`current`,this.detect()),ot(this,`handoffState`,`pending`),ot(this,`currentId`,0)}set(e){this.current!==e&&(this.handoffState=`pending`,this.currentId=0,this.current=e)}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`}};function ct(e){return st.isServer?null:e==null?document:e?.ownerDocument??document}function lt(e){return st.isServer?null:e==null?document:(e?.getRootNode)?.call(e)??document}function ut(e){return lt(e)?.activeElement??null}function dt(e){return ut(e)===e}function ft(e){typeof queueMicrotask==`function`?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}function pt(){let e=[],t={addEventListener(e,n,r,i){return e.addEventListener(n,r,i),t.add(()=>e.removeEventListener(n,r,i))},requestAnimationFrame(...e){let n=requestAnimationFrame(...e);return t.add(()=>cancelAnimationFrame(n))},nextFrame(...e){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...e))},setTimeout(...e){let n=setTimeout(...e);return t.add(()=>clearTimeout(n))},microTask(...e){let n={current:!0};return ft(()=>{n.current&&e[0]()}),t.add(()=>{n.current=!1})},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(e){let t=pt();return e(t),this.add(()=>t.dispose())},add(t){return e.includes(t)||e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}},dispose(){for(let t of e.splice(0))t()}};return t}function mt(){let[e]=(0,f.useState)(pt);return(0,f.useEffect)(()=>()=>e.dispose(),[e]),e}var U=(e,t)=>{st.isServer?(0,f.useEffect)(e,t):(0,f.useLayoutEffect)(e,t)};function ht(e){let t=(0,f.useRef)(e);return U(()=>{t.current=e},[e]),t}var W=function(e){let t=ht(e);return f.default.useCallback((...e)=>t.current(...e),[t])};function gt(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 _t(e,t){return!(!e||!t||e.right<t.left||e.left>t.right||e.bottom<t.top||e.top>t.bottom)}function vt({disabled:e=!1}={}){let t=(0,f.useRef)(null),[n,r]=(0,f.useState)(!1),i=mt(),a=W(()=>{t.current=null,r(!1),i.dispose()}),o=W(e=>{if(i.dispose(),t.current===null){t.current=e.currentTarget,r(!0);{let n=ct(e.currentTarget);i.addEventListener(n,`pointerup`,a,!1),i.addEventListener(n,`pointermove`,e=>{t.current&&r(_t(gt(e),t.current.getBoundingClientRect()))},!1),i.addEventListener(n,`pointercancel`,a,!1)}}});return{pressed:n,pressProps:e?{}:{onPointerDown:o,onPointerUp:a,onClick:a}}}function yt(e){return(0,f.useMemo)(()=>e,Object.values(e))}var bt=(0,f.createContext)(void 0);function xt(){return(0,f.useContext)(bt)}function St(...e){return Array.from(new Set(e.flatMap(e=>typeof e==`string`?e.split(` `):[]))).filter(Boolean).join(` `)}function G(e,t,...n){if(e in t){let r=t[e];return typeof r==`function`?r(...n):r}let r=Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(e=>`"${e}"`).join(`, `)}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,G),r}var Ct=(e=>(e[e.None=0]=`None`,e[e.RenderStrategy=1]=`RenderStrategy`,e[e.Static=2]=`Static`,e))(Ct||{}),wt=(e=>(e[e.Unmount=0]=`Unmount`,e[e.Hidden=1]=`Hidden`,e))(wt||{});function K(){let e=Dt();return(0,f.useCallback)(t=>Tt({mergeRefs:e,...t}),[e])}function Tt({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:a=!0,name:o,mergeRefs:s}){s??=Ot;let c=kt(t,e);if(a)return Et(c,n,r,o,s);let l=i??0;if(l&2){let{static:e=!1,...t}=c;if(e)return Et(t,n,r,o,s)}if(l&1){let{unmount:e=!0,...t}=c;return G(+!e,{0(){return null},1(){return Et({...t,hidden:!0,style:{display:`none`}},n,r,o,s)}})}return Et(c,n,r,o,s)}function Et(e,t={},n,r,i){let{as:a=n,children:o,refName:s=`ref`,...c}=Mt(e,[`unmount`,`static`]),l=e.ref===void 0?{}:{[s]:e.ref},u=typeof o==`function`?o(t):o;u=Pt(u),`className`in c&&c.className&&typeof c.className==`function`&&(c.className=c.className(t)),c[`aria-labelledby`]&&c[`aria-labelledby`]===c.id&&(c[`aria-labelledby`]=void 0);let d={};if(t){let e=!1,n=[];for(let[r,i]of Object.entries(t))typeof i==`boolean`&&(e=!0),i===!0&&n.push(r.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`));if(e){d[`data-headlessui-state`]=n.join(` `);for(let e of n)d[`data-${e}`]=``}}if(Ft(a)&&(Object.keys(jt(c)).length>0||Object.keys(jt(d)).length>0))if(!(0,f.isValidElement)(u)||Array.isArray(u)&&u.length>1||It(u)){if(Object.keys(jt(c)).length>0)throw Error([`Passing props on "Fragment"!`,``,`The current component <${r} /> is rendering a "Fragment".`,`However we need to passthrough the following props:`,Object.keys(jt(c)).concat(Object.keys(jt(d))).map(e=>` - ${e}`).join(`
|
|
8
|
+
`),``,`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(e=>` - ${e}`).join(`
|
|
26
9
|
`)].join(`
|
|
27
|
-
`))}else{let u=h.props,f=u?.className,c=typeof f=="function"?(...C)=>Eo(f(...C),s.className):Eo(f,s.className),m=c?{className:c}:{},v=wa(h.props,jt(Oo(s,["ref"])));for(let C in g)C in v&&delete g[C];return p.cloneElement(h,Object.assign({},v,g,l,{ref:o(hc(h),l.ref)},m))}return p.createElement(i,Object.assign({},Oo(s,["ref"]),!kn(i)&&l,!kn(i)&&g),h)}function fc(){let e=p.useRef([]),t=p.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 pc(...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 wa(...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 a=n[r];for(let d of a){if((o instanceof Event||o?.nativeEvent instanceof Event)&&o.defaultPrevented)return;d(o,...i)}}});return t}function An(...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 a of i)a?.(...o)}});return t}function _e(e){var t;return Object.assign(p.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function jt(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function Oo(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function hc(e){return p.version.split(".")[0]>="19"?e.props.ref:e.ref}function kn(e){return e===p.Fragment||e===Symbol.for("react.fragment")}function mc(e){return kn(e.type)}function Ca(e,t,n){let[r,o]=p.useState(n),i=e!==void 0,a=p.useRef(i),d=p.useRef(!1),s=p.useRef(!1);return i&&!a.current&&!d.current?(d.current=!0,a.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&&a.current&&!s.current&&(s.current=!0,a.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,ie(l=>(i||Ae.flushSync(()=>o(l)),t?.(l)))]}function xa(e){let[t]=p.useState(e);return t}function Sa(e={},t=null,n=[]){for(let[r,o]of Object.entries(e))Oa(n,Ea(t,r),o);return n}function Ea(e,t){return e?e+"["+t+"]":t}function Oa(e,t,n){if(Array.isArray(n))for(let[r,o]of n.entries())Oa(e,Ea(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,""]):gc(n)&&!p.isValidElement(n)&&Sa(n,t,e)}function vc(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)}}function gc(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}let bc="span";var Po=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Po||{});function $c(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 Fe()({ourProps:i,theirProps:o,slot:{},defaultTag:bc,name:"Hidden"})}let Pa=_e($c),yc=p.createContext(null);function wc({children:e}){let t=p.useContext(yc);if(!t)return p.createElement(p.Fragment,null,e);let{target:n}=t;return n?Ae.createPortal(p.createElement(p.Fragment,null,e),n):null}function Ta({data:e,form:t,disabled:n,onReset:r,overrides:o}){let[i,a]=p.useState(null),d=Lt();return p.useEffect(()=>{if(r&&i)return d.addEventListener(i,"reset",r)},[i,t,r]),p.createElement(wc,null,p.createElement(Cc,{setForm:a,formId:t}),Sa(e).map(([s,l])=>p.createElement(Pa,{features:Po.Hidden,...jt({key:s,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:t,disabled:n,name:s,value:l,...o})})))}function Cc({setForm:e,formId:t}){return p.useEffect(()=>{if(t){let n=document.getElementById(t);n&&e(n)}},[e,t]),t?null:p.createElement(Pa,{features:Po.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:n=>{if(!n)return;let r=n.closest("form");r&&e(r)}})}let xc=p.createContext(void 0);function To(){return p.useContext(xc)}function Na(e){return typeof e!="object"||e===null?!1:"nodeType"in e}function Sr(e){return Na(e)&&"tagName"in e}function mt(e){return Sr(e)&&"accessKey"in e}function Gt(e){return Sr(e)&&"tabIndex"in e}function Sc(e){return Sr(e)&&"style"in e}function Ec(e){return mt(e)&&e.nodeName==="IFRAME"}function Er(e){return mt(e)&&e.nodeName==="INPUT"}function Ia(e){return mt(e)&&e.nodeName==="LABEL"}function Oc(e){return mt(e)&&e.nodeName==="FIELDSET"}function _a(e){return mt(e)&&e.nodeName==="LEGEND"}function Pc(e){return Sr(e)?e.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]'):!1}function Aa(e){let t=e.parentElement,n=null;for(;t&&!Oc(t);)_a(t)&&(n=t),t=t.parentElement;let r=t?.getAttribute("disabled")==="";return r&&Tc(n)?!1:r}function Tc(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(_a(t))return!1;t=t.previousElementSibling}return!0}let ka=Symbol();function Nc(e,t=!0){return Object.assign(e,{[ka]:t})}function je(...e){let t=p.useRef(e);p.useEffect(()=>{t.current=e},[e]);let n=ie(r=>{for(let o of t.current)o!=null&&(typeof o=="function"?o(r):o.current=r)});return e.every(r=>r==null||r?.[ka])?void 0:n}let No=p.createContext(null);No.displayName="DescriptionContext";function Fa(){let e=p.useContext(No);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,Fa),t}return e}function Ma(){var e,t;return(t=(e=p.useContext(No))==null?void 0:e.value)!=null?t:void 0}let Ic="p";function _c(e,t){let n=p.useId(),r=Cr(),{id:o=`headlessui-description-${n}`,...i}=e,a=Fa(),d=je(t);we(()=>a.register(o),[o,a.register]);let s=Ye({...a.slot,disabled:r||!1}),l={ref:d,...a.props,id:o};return Fe()({ourProps:l,theirProps:i,slot:s,defaultTag:Ic,name:a.name||"Description"})}let Ac=_e(_c);Object.assign(Ac,{});var ge=(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))(ge||{});let Or=p.createContext(null);Or.displayName="LabelContext";function La(){let e=p.useContext(Or);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,La),t}return e}function Fn(e){var t,n,r;let o=(n=(t=p.useContext(Or))==null?void 0:t.value)!=null?n:void 0;return((r=e?.length)!=null?r:0)>0?[o,...e].filter(Boolean).join(" "):o}function Da({inherit:e=!1}={}){let t=Fn(),[n,r]=p.useState([]),o=e?[t,...n].filter(Boolean):n;return[o.length>0?o.join(" "):void 0,p.useMemo(()=>function(i){let a=ie(s=>(r(l=>[...l,s]),()=>r(l=>{let h=l.slice(),g=h.indexOf(s);return g!==-1&&h.splice(g,1),h}))),d=p.useMemo(()=>({register:a,slot:i.slot,name:i.name,props:i.props,value:i.value}),[a,i.slot,i.name,i.props,i.value]);return p.createElement(Or.Provider,{value:d},i.children)},[r])]}let kc="label";function Fc(e,t){var n;let r=p.useId(),o=La(),i=To(),a=Cr(),{id:d=`headlessui-label-${r}`,htmlFor:s=i??((n=o.props)==null?void 0:n.htmlFor),passive:l=!1,...h}=e,g=je(t);we(()=>o.register(d),[d,o.register]);let u=ie(m=>{let v=m.currentTarget;if(!(m.target!==m.currentTarget&&Pc(m.target))&&(Ia(v)&&m.preventDefault(),o.props&&"onClick"in o.props&&typeof o.props.onClick=="function"&&o.props.onClick(m),Ia(v))){let C=document.getElementById(v.htmlFor);if(C){let E=C.getAttribute("disabled");if(E==="true"||E==="")return;let $=C.getAttribute("aria-disabled");if($==="true"||$==="")return;(Er(C)&&(C.type==="file"||C.type==="radio"||C.type==="checkbox")||C.role==="radio"||C.role==="checkbox"||C.role==="switch")&&C.click(),C.focus({preventScroll:!0})}}}),f=Ye({...o.slot,disabled:a||!1}),c={ref:g,...o.props,id:d,htmlFor:s,onClick:u};return l&&("onClick"in c&&(delete c.htmlFor,delete c.onClick),"onClick"in h&&delete h.onClick),Fe()({ourProps:c,theirProps:h,slot:f,defaultTag:s?kc:"div",name:o.name||"Label"})}let Mc=_e(Fc),ja=Object.assign(Mc,{});function nn(e,t,n){let r=n.initialDeps??[],o,i=!0;function a(){var d,s,l;let h;n.key&&((d=n.debug)!=null&&d.call(n))&&(h=Date.now());const g=e();if(!(g.length!==r.length||g.some((c,m)=>r[m]!==c)))return o;r=g;let f;if(n.key&&((s=n.debug)!=null&&s.call(n))&&(f=Date.now()),o=t(...g),n.key&&((l=n.debug)!=null&&l.call(n))){const c=Math.round((Date.now()-h)*100)/100,m=Math.round((Date.now()-f)*100)/100,v=m/16,C=(E,$)=>{for(E=String(E);E.length<$;)E=" "+E;return E};console.info(`%c⏱ ${C(m,5)} /${C(c,5)} ms`,`
|
|
10
|
+
`))}else{let e=u.props?.className,t=typeof e==`function`?(...t)=>St(e(...t),c.className):St(e,c.className),n=t?{className:t}:{},r=kt(u.props,jt(Mt(c,[`ref`])));for(let e in d)e in r&&delete d[e];return(0,f.cloneElement)(u,Object.assign({},r,d,l,{ref:i(Nt(u),l.ref)},n))}return(0,f.createElement)(a,Object.assign({},Mt(c,[`ref`]),!Ft(a)&&l,!Ft(a)&&d),u)}function Dt(){let e=(0,f.useRef)([]),t=(0,f.useCallback)(t=>{for(let n of e.current)n!=null&&(typeof n==`function`?n(t):n.current=t)},[]);return(...n)=>{if(!n.every(e=>e==null))return e.current=n,t}}function Ot(...e){return e.every(e=>e==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n==`function`?n(t):n.current=t)}}function kt(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith(`on`)&&typeof r[e]==`function`?(n[e]??(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t[`aria-disabled`])for(let e in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(e)&&(n[e]=[e=>(e?.preventDefault)?.call(e)]);for(let e in n)Object.assign(t,{[e](t,...r){let i=n[e];for(let e of i){if((t instanceof Event||t?.nativeEvent instanceof Event)&&t.defaultPrevented)return;e(t,...r)}}});return t}function At(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith(`on`)&&typeof r[e]==`function`?(n[e]??(n[e]=[]),n[e].push(r[e])):t[e]=r[e];for(let e in n)Object.assign(t,{[e](...t){let r=n[e];for(let e of r)e?.(...t)}});return t}function q(e){return Object.assign((0,f.forwardRef)(e),{displayName:e.displayName??e.name})}function jt(e){let t=Object.assign({},e);for(let e in t)t[e]===void 0&&delete t[e];return t}function Mt(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}function Nt(e){return f.default.version.split(`.`)[0]>=`19`?e.props.ref:e.ref}function Pt(e){if(e!=null&&e.$$typeof===Symbol.for(`react.lazy`)){let t=e._payload;if(t!=null&&t.status===`fulfilled`)return Pt(t.value)}return e}function Ft(e){return e===f.Fragment||e===Symbol.for(`react.fragment`)}function It(e){return Ft(e.type)}function Lt(e,t,r){let[i,a]=(0,f.useState)(r),o=e!==void 0,s=(0,f.useRef)(o),c=(0,f.useRef)(!1),l=(0,f.useRef)(!1);return o&&!s.current&&!c.current?(c.current=!0,s.current=o,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.`)):!o&&s.current&&!l.current&&(l.current=!0,s.current=o,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.`)),[o?e:i,W(e=>(o||(0,n.flushSync)(()=>a(e)),t?.(e)))]}function Rt(e){let[t]=(0,f.useState)(e);return t}function zt(e={},t=null,n=[]){for(let[r,i]of Object.entries(e))Vt(n,Bt(t,r),i);return n}function Bt(e,t){return e?e+`[`+t+`]`:t}function Vt(e,t,n){if(Array.isArray(n))for(let[r,i]of n.entries())Vt(e,Bt(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,``]):Ut(n)&&!(0,f.isValidElement)(n)&&zt(n,t,e)}function Ht(e){var t;let n=e?.form??e.closest(`form`);if(n){for(let t of n.elements)if(t!==e&&(t.tagName===`INPUT`&&t.type===`submit`||t.tagName===`BUTTON`&&t.type===`submit`||t.nodeName===`INPUT`&&t.type===`image`)){t.click();return}(t=n.requestSubmit)==null||t.call(n)}}function Ut(e){if(Object.prototype.toString.call(e)!==`[object Object]`)return!1;let t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}var Wt=`span`,Gt=(e=>(e[e.None=1]=`None`,e[e.Focusable=2]=`Focusable`,e[e.Hidden=4]=`Hidden`,e))(Gt||{});function Kt(e,t){let{features:n=1,...r}=e,i={ref:t,"aria-hidden":(n&2)==2?!0:r[`aria-hidden`]??void 0,hidden:(n&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`,...(n&4)==4&&(n&2)!=2&&{display:`none`}}};return K()({ourProps:i,theirProps:r,slot:{},defaultTag:Wt,name:`Hidden`})}var qt=q(Kt),Jt=(0,f.createContext)(null);function Yt({children:e}){let t=(0,f.useContext)(Jt);if(!t)return f.default.createElement(f.default.Fragment,null,e);let{target:r}=t;return r?(0,n.createPortal)(f.default.createElement(f.default.Fragment,null,e),r):null}function Xt({data:e,form:t,disabled:n,onReset:r,overrides:i}){let[a,o]=(0,f.useState)(null),s=mt();return(0,f.useEffect)(()=>{if(r&&a)return s.addEventListener(a,`reset`,r)},[a,t,r]),f.default.createElement(Yt,null,f.default.createElement(Zt,{setForm:o,formId:t}),zt(e).map(([e,r])=>f.default.createElement(qt,{features:Gt.Hidden,...jt({key:e,as:`input`,type:`hidden`,hidden:!0,readOnly:!0,form:t,disabled:n,name:e,value:r,...i})})))}function Zt({setForm:e,formId:t}){return(0,f.useEffect)(()=>{if(t){let n=document.getElementById(t);n&&e(n)}},[e,t]),t?null:f.default.createElement(qt,{features:Gt.Hidden,as:`input`,type:`hidden`,hidden:!0,readOnly:!0,ref:t=>{if(!t)return;let n=t.closest(`form`);n&&e(n)}})}var Qt=(0,f.createContext)(void 0);function $t(){return(0,f.useContext)(Qt)}function en(e){return typeof e!=`object`||!e?!1:`nodeType`in e}function tn(e){return en(e)&&`tagName`in e}function nn(e){return tn(e)&&`accessKey`in e}function rn(e){return tn(e)&&`tabIndex`in e}function an(e){return tn(e)&&`style`in e}function on(e){return nn(e)&&e.nodeName===`IFRAME`}function sn(e){return nn(e)&&e.nodeName===`INPUT`}function cn(e){return nn(e)&&e.nodeName===`LABEL`}function ln(e){return nn(e)&&e.nodeName===`FIELDSET`}function un(e){return nn(e)&&e.nodeName===`LEGEND`}function dn(e){return tn(e)?e.matches(`a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]`):!1}function fn(e){let t=e.parentElement,n=null;for(;t&&!ln(t);)un(t)&&(n=t),t=t.parentElement;let r=t?.getAttribute(`disabled`)===``;return r&&pn(n)?!1:r}function pn(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(un(t))return!1;t=t.previousElementSibling}return!0}var mn=Symbol();function hn(e,t=!0){return Object.assign(e,{[mn]:t})}function gn(...e){let t=(0,f.useRef)(e);(0,f.useEffect)(()=>{t.current=e},[e]);let n=W(e=>{for(let n of t.current)n!=null&&(typeof n==`function`?n(e):n.current=e)});return e.every(e=>e==null||e?.[mn])?void 0:n}var _n=(0,f.createContext)(null);_n.displayName=`DescriptionContext`;function vn(){let e=(0,f.useContext)(_n);if(e===null){let e=Error(`You used a <Description /> component, but it is not inside a relevant parent.`);throw Error.captureStackTrace&&Error.captureStackTrace(e,vn),e}return e}function yn(){return(0,f.useContext)(_n)?.value??void 0}var bn=`p`;function xn(e,t){let n=(0,f.useId)(),r=xt(),{id:i=`headlessui-description-${n}`,...a}=e,o=vn(),s=gn(t);U(()=>o.register(i),[i,o.register]);let c=yt({...o.slot,disabled:r||!1}),l={ref:s,...o.props,id:i};return K()({ourProps:l,theirProps:a,slot:c,defaultTag:bn,name:o.name||`Description`})}var Sn=q(xn);Object.assign(Sn,{});var J=(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))(J||{}),Cn=(0,f.createContext)(null);Cn.displayName=`LabelContext`;function wn(){let e=(0,f.useContext)(Cn);if(e===null){let e=Error(`You used a <Label /> component, but it is not inside a relevant parent.`);throw Error.captureStackTrace&&Error.captureStackTrace(e,wn),e}return e}function Tn(e){let t=(0,f.useContext)(Cn)?.value??void 0;return(e?.length??0)>0?[t,...e].filter(Boolean).join(` `):t}function En({inherit:e=!1}={}){let t=Tn(),[n,r]=(0,f.useState)([]),i=e?[t,...n].filter(Boolean):n;return[i.length>0?i.join(` `):void 0,(0,f.useMemo)(()=>function(e){let t=W(e=>(r(t=>[...t,e]),()=>r(t=>{let n=t.slice(),r=n.indexOf(e);return r!==-1&&n.splice(r,1),n}))),n=(0,f.useMemo)(()=>({register:t,slot:e.slot,name:e.name,props:e.props,value:e.value}),[t,e.slot,e.name,e.props,e.value]);return f.default.createElement(Cn.Provider,{value:n},e.children)},[r])]}var Dn=`label`;function On(e,t){let n=(0,f.useId)(),r=wn(),i=$t(),a=xt(),{id:o=`headlessui-label-${n}`,htmlFor:s=i??r.props?.htmlFor,passive:c=!1,...l}=e,u=gn(t);U(()=>r.register(o),[o,r.register]);let d=W(e=>{let t=e.currentTarget;if(!(e.target!==e.currentTarget&&dn(e.target))&&(cn(t)&&e.preventDefault(),r.props&&`onClick`in r.props&&typeof r.props.onClick==`function`&&r.props.onClick(e),cn(t))){let e=document.getElementById(t.htmlFor);if(e){let t=e.getAttribute(`disabled`);if(t===`true`||t===``)return;let n=e.getAttribute(`aria-disabled`);if(n===`true`||n===``)return;(sn(e)&&(e.type===`file`||e.type===`radio`||e.type===`checkbox`)||e.role===`radio`||e.role===`checkbox`||e.role===`switch`)&&e.click(),e.focus({preventScroll:!0})}}}),p=yt({...r.slot,disabled:a||!1}),m={ref:u,...r.props,id:o,htmlFor:s,onClick:d};return c&&(`onClick`in m&&(delete m.htmlFor,delete m.onClick),`onClick`in l&&delete l.onClick),K()({ourProps:m,theirProps:l,slot:p,defaultTag:s?Dn:`div`,name:r.name||`Label`})}var kn=q(On),An=Object.assign(kn,{});function jn(e,t,n){let r=Array(e);return new Proxy(r,{get(r,i,a){if(typeof i==`string`){let a=i.charCodeAt(0);if(a>=48&&a<=57){let a=+i;if(Number.isInteger(a)&&a>=0&&a<e){let e=r[a];if(!e){let i=t[a*2];e=r[a]={index:a,key:n(a),start:i,size:t[a*2+1],end:i+t[a*2+1],lane:0}}return e}}if(i===`length`)return e}return Reflect.get(r,i,a)}})}function Mn(e,t,n){let r=n.initialDeps??[],i,a=!0;function o(){let o=process.env.NODE_ENV!==`production`&&!!n.key&&!!n.debug?.call(n),s=0;o&&(s=Date.now());let c=e();if(!(c.length!==r.length||c.some((e,t)=>r[t]!==e)))return i;r=c;let l=0;if(o&&(l=Date.now()),i=t(...c),o){let e=Math.round((Date.now()-s)*100)/100,t=Math.round((Date.now()-l)*100)/100,r=t/16,i=(e,t)=>{for(e=String(e);e.length<t;)e=` `+e;return e};console.info(`%c⏱ ${i(t,5)} /${i(e,5)} ms`,`
|
|
28
11
|
font-size: .6rem;
|
|
29
12
|
font-weight: bold;
|
|
30
|
-
color: hsl(${Math.max(0,Math.min(120-120*v,120))}deg 100% 31%);`,n?.key)}return n?.onChange&&!(i&&n.skipInitialOnChange)&&n.onChange(o),i=!1,o}return a.updateDeps=d=>{r=d},a}function Ra(e,t){if(e===void 0)throw new Error("Unexpected undefined");return e}const Lc=(e,t)=>Math.abs(e-t)<1.01,Dc=(e,t,n)=>{let r;return function(...o){e.clearTimeout(r),r=e.setTimeout(()=>t.apply(this,o),n)}},Ba=e=>{const{offsetWidth:t,offsetHeight:n}=e;return{width:t,height:n}},jc=e=>e,Rc=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},Bc=(e,t)=>{const n=e.scrollElement;if(!n)return;const r=e.targetWindow;if(!r)return;const o=a=>{const{width:d,height:s}=a;t({width:Math.round(d),height:Math.round(s)})};if(o(Ba(n)),!r.ResizeObserver)return()=>{};const i=new r.ResizeObserver(a=>{const d=()=>{const s=a[0];if(s?.borderBoxSize){const l=s.borderBoxSize[0];if(l){o({width:l.inlineSize,height:l.blockSize});return}}o(Ba(n))};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(d):d()});return i.observe(n,{box:"border-box"}),()=>{i.unobserve(n)}},Wa={passive:!0},Va=typeof window>"u"?!0:"onscrollend"in window,Wc=(e,t)=>{const n=e.scrollElement;if(!n)return;const r=e.targetWindow;if(!r)return;let o=0;const i=e.options.useScrollendEvent&&Va?()=>{}:Dc(r,()=>{t(o,!1)},e.options.isScrollingResetDelay),a=h=>()=>{const{horizontal:g,isRtl:u}=e.options;o=g?n.scrollLeft*(u&&-1||1):n.scrollTop,i(),t(o,h)},d=a(!0),s=a(!1);n.addEventListener("scroll",d,Wa);const l=e.options.useScrollendEvent&&Va;return l&&n.addEventListener("scrollend",s,Wa),()=>{n.removeEventListener("scroll",d),l&&n.removeEventListener("scrollend",s)}},Vc=(e,t,n)=>{if(t?.borderBoxSize){const r=t.borderBoxSize[0];if(r)return Math.round(r[n.options.horizontal?"inlineSize":"blockSize"])}return e[n.options.horizontal?"offsetWidth":"offsetHeight"]},Uc=(e,{adjustments:t=0,behavior:n},r)=>{var o,i;const a=e+t;(i=(o=r.scrollElement)==null?void 0:o.scrollTo)==null||i.call(o,{[r.options.horizontal?"left":"top"]:a,behavior:n})};class Hc{constructor(t){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollState=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.laneAssignments=new Map,this.pendingMeasuredCacheIndexes=[],this.prevLanes=void 0,this.lanesChangedFlag=!1,this.lanesSettling=!1,this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.now=()=>{var n,r,o;return((o=(r=(n=this.targetWindow)==null?void 0:n.performance)==null?void 0:r.now)==null?void 0:o.call(r))??Date.now()},this.observer=(()=>{let n=null;const r=()=>n||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:n=new this.targetWindow.ResizeObserver(o=>{o.forEach(i=>{const a=()=>{const d=i.target,s=this.indexFromElement(d);if(!d.isConnected){this.observer.unobserve(d);return}this.shouldMeasureDuringScroll(s)&&this.resizeItem(s,this.options.measureElement(d,i,this))};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(a):a()})}));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:jc,rangeExtractor:Rc,onChange:()=>{},measureElement:Vc,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=nn(()=>(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.rafId!=null&&this.targetWindow&&(this.targetWindow.cancelAnimationFrame(this.rafId),this.rafId=null),this.scrollState=null,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.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.scrollState&&this.scheduleScrollReconcile(),this.maybeNotify()})),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0})}},this.rafId=null,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 a=r-1;a>=0;a--){const d=n[a];if(o.has(d.lane))continue;const s=i.get(d.lane);if(s==null||d.end>s.end?i.set(d.lane,d):d.end<s.end&&o.set(d.lane,!0),o.size===this.options.lanes)break}return i.size===this.options.lanes?Array.from(i.values()).sort((a,d)=>a.end===d.end?a.index-d.index:a.end-d.end)[0]:void 0},this.getMeasurementOptions=nn(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled,this.options.lanes],(n,r,o,i,a,d)=>(this.prevLanes!==void 0&&this.prevLanes!==d&&(this.lanesChangedFlag=!0),this.prevLanes=d,this.pendingMeasuredCacheIndexes=[],{count:n,paddingStart:r,scrollMargin:o,getItemKey:i,enabled:a,lanes:d}),{key:!1}),this.getMeasurements=nn(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:n,paddingStart:r,scrollMargin:o,getItemKey:i,enabled:a,lanes:d},s)=>{if(!a)return this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),[];if(this.laneAssignments.size>n)for(const u of this.laneAssignments.keys())u>=n&&this.laneAssignments.delete(u);this.lanesChangedFlag&&(this.lanesChangedFlag=!1,this.lanesSettling=!0,this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),this.pendingMeasuredCacheIndexes=[]),this.measurementsCache.length===0&&!this.lanesSettling&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(u=>{this.itemSizeCache.set(u.key,u.size)}));const l=this.lanesSettling?0:this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[],this.lanesSettling&&this.measurementsCache.length===n&&(this.lanesSettling=!1);const h=this.measurementsCache.slice(0,l),g=new Array(d).fill(void 0);for(let u=0;u<l;u++){const f=h[u];f&&(g[f.lane]=u)}for(let u=l;u<n;u++){const f=i(u),c=this.laneAssignments.get(u);let m,v;if(c!==void 0&&this.options.lanes>1){m=c;const x=g[m],w=x!==void 0?h[x]:void 0;v=w?w.end+this.options.gap:r+o}else{const x=this.options.lanes===1?h[u-1]:this.getFurthestMeasurement(h,u);v=x?x.end+this.options.gap:r+o,m=x?x.lane:u%this.options.lanes,this.options.lanes>1&&this.laneAssignments.set(u,m)}const C=s.get(f),E=typeof C=="number"?C:this.options.estimateSize(u),$=v+E;h[u]={index:u,start:v,size:E,end:$,key:f,lane:m},g[m]=u}return this.measurementsCache=h,h},{key:process.env.NODE_ENV!=="production"&&"getMeasurements",debug:()=>this.options.debug}),this.calculateRange=nn(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(n,r,o,i)=>this.range=n.length>0&&r>0?Gc({measurements:n,outerSize:r,scrollOffset:o,lanes:i}):null,{key:process.env.NODE_ENV!=="production"&&"calculateRange",debug:()=>this.options.debug}),this.getVirtualIndexes=nn(()=>{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,a)=>i===null||a===null?[]:n({startIndex:i,endIndex:a,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.shouldMeasureDuringScroll=n=>{var r;if(!this.scrollState||this.scrollState.behavior!=="smooth")return!0;const o=this.scrollState.index??((r=this.getVirtualItemForOffset(this.scrollState.lastTargetOffset))==null?void 0:r.index);if(o!==void 0&&this.range){const i=Math.max(this.options.overscan,Math.ceil((this.range.endIndex-this.range.startIndex)/2)),a=Math.max(0,o-i),d=Math.min(this.options.count-1,o+i);return n>=a&&n<=d}return!0},this.measureElement=n=>{if(!n){this.elementsCache.forEach((a,d)=>{a.isConnected||(this.observer.unobserve(a),this.elementsCache.delete(d))});return}const r=this.indexFromElement(n),o=this.options.getItemKey(r),i=this.elementsCache.get(o);i!==n&&(i&&this.observer.unobserve(i),this.observer.observe(n),this.elementsCache.set(o,n)),(!this.isScrolling||this.scrollState)&&this.shouldMeasureDuringScroll(r)&&this.resizeItem(r,this.options.measureElement(n,void 0,this))},this.resizeItem=(n,r)=>{var o;const i=this.measurementsCache[n];if(!i)return;const a=this.itemSizeCache.get(i.key)??i.size,d=r-a;d!==0&&(((o=this.scrollState)==null?void 0:o.behavior)!=="smooth"&&(this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(i,d,this):i.start<this.getScrollOffset()+this.scrollAdjustments)&&(process.env.NODE_ENV!=="production"&&this.options.debug&&console.info("correction",d),this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=d,behavior:void 0})),this.pendingMeasuredCacheIndexes.push(i.index),this.itemSizeCache=new Map(this.itemSizeCache.set(i.key,r)),this.notify(!1))},this.getVirtualItems=nn(()=>[this.getVirtualIndexes(),this.getMeasurements()],(n,r)=>{const o=[];for(let i=0,a=n.length;i<a;i++){const d=n[i],s=r[d];o.push(s)}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 Ra(r[Ua(0,r.length-1,o=>Ra(r[o]).start,n)])},this.getMaxScrollOffset=()=>{if(!this.scrollElement)return 0;if("scrollHeight"in this.scrollElement)return this.options.horizontal?this.scrollElement.scrollWidth-this.scrollElement.clientWidth:this.scrollElement.scrollHeight-this.scrollElement.clientHeight;{const n=this.scrollElement.document.documentElement;return this.options.horizontal?n.scrollWidth-this.scrollElement.innerWidth:n.scrollHeight-this.scrollElement.innerHeight}},this.getOffsetForAlignment=(n,r,o=0)=>{if(!this.scrollElement)return 0;const i=this.getSize(),a=this.getScrollOffset();r==="auto"&&(r=n>=a+i?"end":"start"),r==="center"?n+=(o-i)/2:r==="end"&&(n-=i);const d=this.getMaxScrollOffset();return Math.max(Math.min(d,n),0)},this.getOffsetForIndex=(n,r="auto")=>{n=Math.max(0,Math.min(n,this.options.count-1));const o=this.getSize(),i=this.getScrollOffset(),a=this.measurementsCache[n];if(!a)return;if(r==="auto")if(a.end>=i+o-this.options.scrollPaddingEnd)r="end";else if(a.start<=i+this.options.scrollPaddingStart)r="start";else return[i,r];if(r==="end"&&n===this.options.count-1)return[this.getMaxScrollOffset(),r];const d=r==="end"?a.end+this.options.scrollPaddingEnd:a.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(d,r,a.size),r]},this.scrollToOffset=(n,{align:r="start",behavior:o="auto"}={})=>{const i=this.getOffsetForAlignment(n,r),a=this.now();this.scrollState={index:null,align:r,behavior:o,startedAt:a,lastTargetOffset:i,stableFrames:0},this._scrollToOffset(i,{adjustments:void 0,behavior:o}),this.scheduleScrollReconcile()},this.scrollToIndex=(n,{align:r="auto",behavior:o="auto"}={})=>{n=Math.max(0,Math.min(n,this.options.count-1));const i=this.getOffsetForIndex(n,r);if(!i)return;const[a,d]=i,s=this.now();this.scrollState={index:n,align:d,behavior:o,startedAt:s,lastTargetOffset:a,stableFrames:0},this._scrollToOffset(a,{adjustments:void 0,behavior:o}),this.scheduleScrollReconcile()},this.scrollBy=(n,{behavior:r="auto"}={})=>{const o=this.getScrollOffset()+n,i=this.now();this.scrollState={index:null,align:"start",behavior:r,startedAt:i,lastTargetOffset:o,stableFrames:0},this._scrollToOffset(o,{adjustments:void 0,behavior:r}),this.scheduleScrollReconcile()},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 a=r.length-1;for(;a>=0&&i.some(d=>d===null);){const d=r[a];i[d.lane]===null&&(i[d.lane]=d.end),a--}o=Math.max(...i.filter(d=>d!==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.laneAssignments=new Map,this.notify(!1)},this.setOptions(t)}scheduleScrollReconcile(){if(!this.targetWindow){this.scrollState=null;return}this.rafId==null&&(this.rafId=this.targetWindow.requestAnimationFrame(()=>{this.rafId=null,this.reconcileScroll()}))}reconcileScroll(){if(!this.scrollState||!this.scrollElement)return;if(this.now()-this.scrollState.startedAt>5e3){this.scrollState=null;return}const r=this.scrollState.index!=null?this.getOffsetForIndex(this.scrollState.index,this.scrollState.align):void 0,o=r?r[0]:this.scrollState.lastTargetOffset,i=1,a=o!==this.scrollState.lastTargetOffset;if(!a&&Lc(o,this.getScrollOffset())){if(this.scrollState.stableFrames++,this.scrollState.stableFrames>=i){this.scrollState=null;return}}else this.scrollState.stableFrames=0,a&&(this.scrollState.lastTargetOffset=o,this.scrollState.behavior="auto",this._scrollToOffset(o,{adjustments:void 0,behavior:"auto"}));this.scheduleScrollReconcile()}}const Ua=(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 Gc({measurements:e,outerSize:t,scrollOffset:n,lanes:r}){const o=e.length-1,i=s=>e[s].start;if(e.length<=r)return{startIndex:0,endIndex:o};let a=Ua(0,o,i,n),d=a;if(r===1)for(;d<o&&e[d].end<n+t;)d++;else if(r>1){const s=Array(r).fill(0);for(;d<o&&s.some(h=>h<n+t);){const h=e[d];s[h.lane]=h.end,d++}const l=Array(r).fill(n+t);for(;a>=0&&l.some(h=>h>=n);){const h=e[a];l[h.lane]=h.start,a--}a=Math.max(0,a-a%r),d=Math.min(o,d+(r-1-d%r))}return{startIndex:a,endIndex:d}}const Ha=typeof document<"u"?te.useLayoutEffect:te.useEffect;function Kc({useFlushSync:e=!0,...t}){const n=te.useReducer(()=>({}),{})[1],r={...t,onChange:(i,a)=>{var d;e&&a?Ae.flushSync(n):n(),(d=t.onChange)==null||d.call(t,i,a)}},[o]=te.useState(()=>new Hc(r));return o.setOptions(r),Ha(()=>o._didMount(),[]),Ha(()=>o._willUpdate()),o}function zc(e){return Kc({observeElementRect:Bc,observeElementOffset:Wc,scrollToFn:Uc,...e})}function qc(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 Ga(e=qc){return p.useCallback((t,n)=>{if(typeof e=="string"){let r=e;return t?.[r]===n?.[r]}return e(t,n)},[e])}function Ka(e){if(e===null)return{width:0,height:0};let{width:t,height:n}=e.getBoundingClientRect();return{width:t,height:n}}function Io(e,t,n=!1){let[r,o]=p.useState(()=>Ka(t));return we(()=>{if(!t||!e)return;let i=Ke();return i.requestAnimationFrame(function a(){i.requestAnimationFrame(a),o(d=>{let s=Ka(t);return s.width===d.width&&s.height===d.height?d:s})}),()=>{i.dispose()}},[t,e]),n?{width:`${r.width}px`,height:`${r.height}px`}:r}var _o=(e=>(e[e.Left=0]="Left",e[e.Right=2]="Right",e))(_o||{});function za(e){let t=p.useRef(null),n=ie(o=>{t.current=o.pointerType,!Aa(o.currentTarget)&&o.pointerType==="mouse"&&o.button===_o.Left&&(o.preventDefault(),e(o))}),r=ie(o=>{t.current!=="mouse"&&(Aa(o.currentTarget)||e(o))});return{onPointerDown:n,onClick:r}}let qa=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}};var Yc=Object.defineProperty,Xc=(e,t,n)=>t in e?Yc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Zc=(e,t,n)=>(Xc(e,t+"",n),n),Ya=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},tt=(e,t,n)=>(Ya(e,t,"read from private field"),n?n.call(e):t.get(e)),Ao=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},Xa=(e,t,n,r)=>(Ya(e,t,"write to private field"),t.set(e,n),n),vt,Mn,Ln;let ko=class{constructor(t){Ao(this,vt,{}),Ao(this,Mn,new qa(()=>new Set)),Ao(this,Ln,new Set),Zc(this,"disposables",Ke()),Xa(this,vt,t),ht.isServer&&this.disposables.microTask(()=>{this.dispose()})}dispose(){this.disposables.dispose()}get state(){return tt(this,vt)}subscribe(t,n){if(ht.isServer)return()=>{};let r={selector:t,callback:n,current:t(tt(this,vt))};return tt(this,Ln).add(r),this.disposables.add(()=>{tt(this,Ln).delete(r)})}on(t,n){return ht.isServer?()=>{}:(tt(this,Mn).get(t).add(n),this.disposables.add(()=>{tt(this,Mn).get(t).delete(n)}))}send(t){let n=this.reduce(tt(this,vt),t);if(n!==tt(this,vt)){Xa(this,vt,n);for(let r of tt(this,Ln)){let o=r.selector(tt(this,vt));Za(r.current,o)||(r.current=o,r.callback(o))}for(let r of tt(this,Mn).get(t.type))r(tt(this,vt),t)}}};vt=new WeakMap,Mn=new WeakMap,Ln=new WeakMap;function Za(e,t){return Object.is(e,t)?!0:typeof e!="object"||e===null||typeof t!="object"||t===null?!1:Array.isArray(e)&&Array.isArray(t)?e.length!==t.length?!1:Fo(e[Symbol.iterator](),t[Symbol.iterator]()):e instanceof Map&&t instanceof Map||e instanceof Set&&t instanceof Set?e.size!==t.size?!1:Fo(e.entries(),t.entries()):Ja(e)&&Ja(t)?Fo(Object.entries(e)[Symbol.iterator](),Object.entries(t)[Symbol.iterator]()):!1}function Fo(e,t){do{let n=e.next(),r=t.next();if(n.done&&r.done)return!0;if(n.done||r.done||!Object.is(n.value,r.value))return!1}while(!0)}function Ja(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function Mo(e){let[t,n]=e(),r=Ke();return(...o)=>{t(...o),r.dispose(),r.microTask(n)}}var Jc=Object.defineProperty,Qc=(e,t,n)=>t in e?Jc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Qa=(e,t,n)=>(Qc(e,typeof t!="symbol"?t+"":t,n),n),Lo=(e=>(e[e.Push=0]="Push",e[e.Pop=1]="Pop",e))(Lo||{});let e1={0(e,t){let n=t.id,r=e.stack,o=e.stack.indexOf(n);if(o!==-1){let i=e.stack.slice();return i.splice(o,1),i.push(n),r=i,{...e,stack:r}}return{...e,stack:[...e.stack,n]}},1(e,t){let n=t.id,r=e.stack.indexOf(n);if(r===-1)return e;let o=e.stack.slice();return o.splice(r,1),{...e,stack:o}}},t1=class g0 extends ko{constructor(){super(...arguments),Qa(this,"actions",{push:t=>this.send({type:0,id:t}),pop:t=>this.send({type:1,id:t})}),Qa(this,"selectors",{isTop:(t,n)=>t.stack[t.stack.length-1]===n,inStack:(t,n)=>t.stack.includes(n)})}static new(){return new g0({stack:[]})}reduce(t,n){return ke(n.type,e1,t,n)}};const Dn=new qa(()=>t1.new());var Pr={exports:{}},Do={};/**
|
|
31
|
-
* @license React
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
*
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
*/var ed;function n1(){if(ed)return Do;ed=1;var e=p;function t(s,l){return s===l&&(s!==0||1/s===1/l)||s!==s&&l!==l}var n=typeof Object.is=="function"?Object.is:t,r=e.useSyncExternalStore,o=e.useRef,i=e.useEffect,a=e.useMemo,d=e.useDebugValue;return Do.useSyncExternalStoreWithSelector=function(s,l,h,g,u){var f=o(null);if(f.current===null){var c={hasValue:!1,value:null};f.current=c}else c=f.current;f=a(function(){function v(w){if(!C){if(C=!0,E=w,w=g(w),u!==void 0&&c.hasValue){var N=c.value;if(u(N,w))return $=N}return $=w}if(N=$,n(E,w))return N;var R=g(w);return u!==void 0&&u(N,R)?(E=w,N):(E=w,$=R)}var C=!1,E,$,x=h===void 0?null:h;return[function(){return v(l())},x===null?void 0:function(){return v(x())}]},[l,h,g,u]);var m=r(s,f[0],f[1]);return i(function(){c.hasValue=!0,c.value=m},[m]),d(m),m},Do}var jo={};/**
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
*/var td;function r1(){return td||(td=1,process.env.NODE_ENV!=="production"&&(function(){function e(s,l){return s===l&&(s!==0||1/s===1/l)||s!==s&&l!==l}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var t=p,n=typeof Object.is=="function"?Object.is:e,r=t.useSyncExternalStore,o=t.useRef,i=t.useEffect,a=t.useMemo,d=t.useDebugValue;jo.useSyncExternalStoreWithSelector=function(s,l,h,g,u){var f=o(null);if(f.current===null){var c={hasValue:!1,value:null};f.current=c}else c=f.current;f=a(function(){function v(w){if(!C){if(C=!0,E=w,w=g(w),u!==void 0&&c.hasValue){var N=c.value;if(u(N,w))return $=N}return $=w}if(N=$,n(E,w))return N;var R=g(w);return u!==void 0&&u(N,R)?(E=w,N):(E=w,$=R)}var C=!1,E,$,x=h===void 0?null:h;return[function(){return v(l())},x===null?void 0:function(){return v(x())}]},[l,h,g,u]);var m=r(s,f[0],f[1]);return i(function(){c.hasValue=!0,c.value=m},[m]),d(m),m},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),jo}var nd;function o1(){return nd||(nd=1,process.env.NODE_ENV==="production"?Pr.exports=n1():Pr.exports=r1()),Pr.exports}var i1=o1();function be(e,t,n=Za){return i1.useSyncExternalStoreWithSelector(ie(r=>e.subscribe(a1,r)),ie(()=>e.state),ie(()=>e.state),ie(t),n)}function a1(e){return e}function rd(e,t){let n=p.useId(),r=Dn.get(t),[o,i]=be(r,p.useCallback(a=>[r.selectors.isTop(a,n),r.selectors.inStack(a,n)],[r,n]));return we(()=>{if(e)return r.actions.push(n),()=>r.actions.pop(n)},[r,e,n]),e?i?o:!0:!1}let Ro=new Map,jn=new Map;function od(e){var t;let n=(t=jn.get(e))!=null?t:0;return jn.set(e,n+1),n!==0?()=>id(e):(Ro.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0,()=>id(e))}function id(e){var t;let n=(t=jn.get(e))!=null?t:1;if(n===1?jn.delete(e):jn.set(e,n-1),n!==1)return;let r=Ro.get(e);r&&(r["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r["aria-hidden"]),e.inert=r.inert,Ro.delete(e))}function ad(e,{allowed:t,disallowed:n}={}){let r=rd(e,"inert-others");we(()=>{var o,i;if(!r)return;let a=Ke();for(let s of(o=n?.())!=null?o:[])s&&a.add(od(s));let d=(i=t?.())!=null?i:[];for(let s of d){if(!s)continue;let l=_n(s);if(!l)continue;let h=s.parentElement;for(;h&&h!==l.body;){for(let g of h.children)d.some(u=>g.contains(u))||a.add(od(g));h=h.parentElement}}return a.dispose},[r,t,n])}function dd(e,t,n){let r=St(o=>{let i=o.getBoundingClientRect();i.x===0&&i.y===0&&i.width===0&&i.height===0&&n()});p.useEffect(()=>{if(!e)return;let o=t===null?null:mt(t)?t:t.current;if(!o)return;let i=Ke();if(typeof ResizeObserver<"u"){let a=new ResizeObserver(()=>r.current(o));a.observe(o),i.add(()=>a.disconnect())}if(typeof IntersectionObserver<"u"){let a=new IntersectionObserver(()=>r.current(o));a.observe(o),i.add(()=>a.disconnect())}return()=>i.dispose()},[t,r,e])}let Tr=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","details>summary","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),d1=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var Bo=(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))(Bo||{}),s1=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(s1||{}),l1=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(l1||{});function sd(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Tr)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}function u1(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(d1)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var Wo=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Wo||{});function ld(e,t=0){var n;return e===((n=_n(e))==null?void 0:n.body)?!1:ke(t,{0(){return e.matches(Tr)},1(){let r=e;for(;r!==null;){if(r.matches(Tr))return!0;r=r.parentElement}return!1}})}var c1=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(c1||{});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 f1=["textarea","input"].join(",");function p1(e){var t,n;return(n=(t=e?.matches)==null?void 0:t.call(e,f1))!=null?n:!1}function Vo(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 a=o.compareDocumentPosition(i);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function h1(e,t,n=e===null?document.body:wr(e)){return m1(sd(n),t,{relativeTo:e})}function m1(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:o=[]}={}){let i=Array.isArray(e)?e.length>0?wr(e[0]):document:wr(e),a=Array.isArray(e)?n?Vo(e):e:t&64?u1(e):sd(e);o.length>0&&a.length>1&&(a=a.filter(f=>!o.some(c=>c!=null&&"current"in c?c?.current===f:c===f))),r=r??i?.activeElement;let d=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),s=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,a.indexOf(r))-1;if(t&4)return Math.max(0,a.indexOf(r))+1;if(t&8)return a.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=t&32?{preventScroll:!0}:{},h=0,g=a.length,u;do{if(h>=g||h+g<=0)return 0;let f=s+h;if(t&16)f=(f+g)%g;else{if(f<0)return 3;if(f>=g)return 1}u=a[f],u?.focus(l),h+=d}while(u!==ba(u));return t&6&&p1(u)&&u.select(),2}function ud(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function v1(){return/Android/gi.test(window.navigator.userAgent)}function Uo(){return ud()||v1()}function rn(e,t,n,r){let o=St(n);p.useEffect(()=>{if(!e)return;function i(a){o.current(a)}return document.addEventListener(t,i,r),()=>document.removeEventListener(t,i,r)},[e,t,r])}function g1(e,t,n,r){let o=St(n);p.useEffect(()=>{if(!e)return;function i(a){o.current(a)}return window.addEventListener(t,i,r),()=>window.removeEventListener(t,i,r)},[e,t,r])}const cd=30;function fd(e,t,n){let r=St(n),o=p.useCallback(function(d,s){if(d.defaultPrevented)return;let l=s(d);if(l===null||!l.getRootNode().contains(l)||!l.isConnected)return;let h=(function g(u){return typeof u=="function"?g(u()):Array.isArray(u)||u instanceof Set?u:[u]})(t);for(let g of h)if(g!==null&&(g.contains(l)||d.composed&&d.composedPath().includes(g)))return;return!ld(l,Wo.Loose)&&l.tabIndex!==-1&&d.preventDefault(),r.current(d,l)},[r,t]),i=p.useRef(null);rn(e,"pointerdown",d=>{var s,l;Uo()||(i.current=((l=(s=d.composedPath)==null?void 0:s.call(d))==null?void 0:l[0])||d.target)},!0),rn(e,"pointerup",d=>{if(Uo()||!i.current)return;let s=i.current;return i.current=null,o(d,()=>s)},!0);let a=p.useRef({x:0,y:0});rn(e,"touchstart",d=>{a.current.x=d.touches[0].clientX,a.current.y=d.touches[0].clientY},!0),rn(e,"touchend",d=>{let s={x:d.changedTouches[0].clientX,y:d.changedTouches[0].clientY};if(!(Math.abs(s.x-a.current.x)>=cd||Math.abs(s.y-a.current.y)>=cd))return o(d,()=>Gt(d.target)?d.target:null)},!0),g1(e,"blur",d=>o(d,()=>Ec(window.document.activeElement)?window.document.activeElement:null),!0)}function Rn(...e){return p.useMemo(()=>_n(...e),[...e])}var b1=(e=>(e[e.Ignore=0]="Ignore",e[e.Select=1]="Select",e[e.Close=2]="Close",e))(b1||{});const Et={Ignore:{kind:0},Select:e=>({kind:1,target:e}),Close:{kind:2}},$1=200,pd=5;function hd(e,{trigger:t,action:n,close:r,select:o}){let i=p.useRef(null),a=p.useRef(null),d=p.useRef(null);rn(e&&t!==null,"pointerdown",s=>{Na(s?.target)&&t!=null&&t.contains(s.target)&&(a.current=s.x,d.current=s.y,i.current=s.timeStamp)}),rn(e&&t!==null,"pointerup",s=>{var l,h;let g=i.current;if(g===null||(i.current=null,!Gt(s.target))||Math.abs(s.x-((l=a.current)!=null?l:s.x))<pd&&Math.abs(s.y-((h=d.current)!=null?h:s.y))<pd)return;let u=n(s);switch(u.kind){case 0:return;case 1:{s.timeStamp-g>$1&&(o(u.target),r());break}case 2:{r();break}}},{capture:!0})}function y1(e,t,n,r){let o=St(n);p.useEffect(()=>{e=e??window;function i(a){o.current(a)}return e.addEventListener(t,i,r),()=>e.removeEventListener(t,i,r)},[e,t,r])}function md(e){let t=p.useRef({value:"",selectionStart:null,selectionEnd:null});return y1(e,"blur",n=>{let r=n.target;Er(r)&&(t.current={value:r.value,selectionStart:r.selectionStart,selectionEnd:r.selectionEnd})}),ie(()=>{if(!So(e)&&Er(e)&&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 vd(e,t){return p.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 w1(e){return p.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot)}function C1(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 a=t[o].call(n,...i);a&&(n=a,r.forEach(d=>d()))}}}function x1(){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 S1(){return ud()?{before({doc:e,d:t,meta:n}){function r(o){for(let i of n().containers)for(let a of i())if(a.contains(o))return!0;return!1}t.microTask(()=>{var o;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let d=Ke();d.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>d.dispose()))}let i=(o=window.scrollY)!=null?o:window.pageYOffset,a=null;t.addEventListener(e,"click",d=>{if(Gt(d.target))try{let s=d.target.closest("a");if(!s)return;let{hash:l}=new URL(s.href),h=e.querySelector(l);Gt(h)&&!r(h)&&(a=h)}catch{}},!0),t.group(d=>{t.addEventListener(e,"touchstart",s=>{if(d.dispose(),Gt(s.target)&&Sc(s.target))if(r(s.target)){let l=s.target;for(;l.parentElement&&r(l.parentElement);)l=l.parentElement;d.style(l,"overscrollBehavior","contain")}else d.style(s.target,"touchAction","none")})}),t.addEventListener(e,"touchmove",d=>{if(Gt(d.target)){if(Er(d.target))return;if(r(d.target)){let s=d.target;for(;s.parentElement&&s.dataset.headlessuiPortal!==""&&!(s.scrollHeight>s.clientHeight||s.scrollWidth>s.clientWidth);)s=s.parentElement;s.dataset.headlessuiPortal===""&&d.preventDefault()}else d.preventDefault()}},{passive:!1}),t.add(()=>{var d;let s=(d=window.scrollY)!=null?d:window.pageYOffset;i!==s&&window.scrollTo(0,i),a&&a.isConnected&&(a.scrollIntoView({block:"nearest"}),a=null)})})}}:{}}function E1(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function gd(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let Kt=C1(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:Ke(),meta:new Set,computedMeta:{}};return r.count++,r.meta.add(t),r.computedMeta=gd(r.meta),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t),n.computedMeta=gd(n.meta)),this},SCROLL_PREVENT(e){let t={doc:e.doc,d:e.d,meta(){return e.computedMeta}},n=[S1(),x1(),E1()];n.forEach(({before:r})=>r?.(t)),n.forEach(({after:r})=>r?.(t))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});Kt.subscribe(()=>{let e=Kt.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)&&Kt.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&Kt.dispatch("TEARDOWN",n)}});function O1(e,t,n=()=>({containers:[]})){let r=w1(Kt),o=t?r.get(t):void 0,i=o?o.count>0:!1;return we(()=>{if(!(!t||!e))return Kt.dispatch("PUSH",t,n),()=>Kt.dispatch("POP",t,n)},[e,t]),i}function bd(e,t,n=()=>[document.body]){let r=rd(e,"scroll-lock");O1(r,t,o=>{var i;return{containers:[...(i=o.containers)!=null?i:[],n]}})}function $d(e){return[e.screenX,e.screenY]}function yd(){let e=p.useRef([-1,-1]);return{wasMoved(t){let n=$d(t);return e.current[0]===n[0]&&e.current[1]===n[1]?!1:(e.current=n,!0)},update(t){e.current=$d(t)}}}function P1(e=0){let[t,n]=p.useState(e),r=p.useCallback(s=>n(s),[]),o=p.useCallback(s=>n(l=>l|s),[]),i=p.useCallback(s=>(t&s)===s,[t]),a=p.useCallback(s=>n(l=>l&~s),[]),d=p.useCallback(s=>n(l=>l^s),[]);return{flags:t,setFlag:r,addFlag:o,hasFlag:i,removeFlag:a,toggleFlag:d}}var wd,Cd;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((wd=process==null?void 0:process.env)==null?void 0:wd.NODE_ENV)==="test"&&typeof((Cd=Element?.prototype)==null?void 0:Cd.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(`
|
|
47
|
-
`)),[]});var T1=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(T1||{});function Ho(e){let t={};for(let n in e)e[n]===!0&&(t[`data-${n}`]="");return t}function Go(e,t,n,r){let[o,i]=p.useState(n),{hasFlag:a,addFlag:d,removeFlag:s}=P1(e&&o?3:0),l=p.useRef(!1),h=p.useRef(!1),g=Lt();return we(()=>{var u;if(e){if(n&&i(!0),!t){n&&d(3);return}return(u=r?.start)==null||u.call(r,n),N1(t,{inFlight:l,prepare(){h.current?h.current=!1:h.current=l.current,l.current=!0,!h.current&&(n?(d(3),s(4)):(d(4),s(2)))},run(){h.current?n?(s(3),d(4)):(s(4),d(3)):n?s(1):d(1)},done(){var f;h.current&&A1(t)||(l.current=!1,s(7),n||i(!1),(f=r?.end)==null||f.call(r,n))}})}},[e,n,t,g]),e?[o,{closed:a(1),enter:a(2),leave:a(4),transition:a(2)||a(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function N1(e,{prepare:t,run:n,done:r,inFlight:o}){let i=Ke();return _1(e,{prepare:t,inFlight:o}),i.nextFrame(()=>{n(),i.requestAnimationFrame(()=>{i.add(I1(e,r))})}),i.dispose}function I1(e,t){var n,r;let o=Ke();if(!e)return o.dispose;let i=!1;o.add(()=>{i=!0});let a=(r=(n=e.getAnimations)==null?void 0:n.call(e).filter(d=>d instanceof CSSTransition))!=null?r:[];return a.length===0?(t(),o.dispose):(Promise.allSettled(a.map(d=>d.finished)).then(()=>{i||t()}),o.dispose)}function _1(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 A1(e){var t,n;return((n=(t=e.getAnimations)==null?void 0:t.call(e))!=null?n:[]).some(r=>r instanceof CSSTransition&&r.playState!=="finished")}function k1(e,{container:t,accept:n,walk:r}){let o=p.useRef(n),i=p.useRef(r);p.useEffect(()=>{o.current=n,i.current=r},[n,r]),we(()=>{if(!t||!e)return;let a=_n(t);if(!a)return;let d=o.current,s=i.current,l=Object.assign(g=>d(g),{acceptNode:d}),h=a.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,l,!1);for(;h.nextNode();)s(h.currentNode)},[t,e,o,i])}function xd(e,t){let n=p.useRef([]),r=ie(e);p.useEffect(()=>{let o=[...n.current];for(let[i,a]of t.entries())if(n.current[i]!==a){let d=r(t,o);return n.current=t,d}},[r,...t])}function Nr(){return typeof window<"u"}function on(e){return Sd(e)?(e.nodeName||"").toLowerCase():"#document"}function Xe(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function gt(e){var t;return(t=(Sd(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Sd(e){return Nr()?e instanceof Node||e instanceof Xe(e).Node:!1}function Re(e){return Nr()?e instanceof Element||e instanceof Xe(e).Element:!1}function Ot(e){return Nr()?e instanceof HTMLElement||e instanceof Xe(e).HTMLElement:!1}function Ed(e){return!Nr()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Xe(e).ShadowRoot}function Bn(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=ot(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&o!=="inline"&&o!=="contents"}function F1(e){return/^(table|td|th)$/.test(on(e))}function Ir(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const M1=/transform|translate|scale|rotate|perspective|filter/,L1=/paint|layout|strict|content/,zt=e=>!!e&&e!=="none";let Ko;function zo(e){const t=Re(e)?ot(e):e;return zt(t.transform)||zt(t.translate)||zt(t.scale)||zt(t.rotate)||zt(t.perspective)||!qo()&&(zt(t.backdropFilter)||zt(t.filter))||M1.test(t.willChange||"")||L1.test(t.contain||"")}function D1(e){let t=Rt(e);for(;Ot(t)&&!an(t);){if(zo(t))return t;if(Ir(t))return null;t=Rt(t)}return null}function qo(){return Ko==null&&(Ko=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Ko}function an(e){return/^(html|body|#document)$/.test(on(e))}function ot(e){return Xe(e).getComputedStyle(e)}function _r(e){return Re(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Rt(e){if(on(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ed(e)&&e.host||gt(e);return Ed(t)?t.host:t}function Od(e){const t=Rt(e);return an(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ot(t)&&Bn(t)?t:Od(t)}function Wn(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Od(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=Xe(o);if(i){const d=Yo(a);return t.concat(a,a.visualViewport||[],Bn(o)?o:[],d&&n?Wn(d):[])}else return t.concat(o,Wn(o,[],n))}function Yo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function j1(){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 qt=Math.min,Be=Math.max,Vn=Math.round,Ar=Math.floor,bt=e=>({x:e,y:e}),R1={left:"right",right:"left",bottom:"top",top:"bottom"};function Pd(e,t,n){return Be(e,qt(t,n))}function dn(e,t){return typeof e=="function"?e(t):e}function Bt(e){return e.split("-")[0]}function Un(e){return e.split("-")[1]}function Td(e){return e==="x"?"y":"x"}function Nd(e){return e==="y"?"height":"width"}function Pt(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Id(e){return Td(Pt(e))}function B1(e,t,n){n===void 0&&(n=!1);const r=Un(e),o=Id(e),i=Nd(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=kr(a)),[a,kr(a)]}function W1(e){const t=kr(e);return[Xo(e),t,Xo(t)]}function Xo(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const _d=["left","right"],Ad=["right","left"],V1=["top","bottom"],U1=["bottom","top"];function H1(e,t,n){switch(e){case"top":case"bottom":return n?t?Ad:_d:t?_d:Ad;case"left":case"right":return t?V1:U1;default:return[]}}function G1(e,t,n,r){const o=Un(e);let i=H1(Bt(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(Xo)))),i}function kr(e){const t=Bt(e);return R1[t]+e.slice(t.length)}function K1(e){return{top:0,right:0,bottom:0,left:0,...e}}function z1(e){return typeof e!="number"?K1(e):{top:e,right:e,bottom:e,left:e}}function Fr(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 kd(e,t,n){let{reference:r,floating:o}=e;const i=Pt(t),a=Id(t),d=Nd(a),s=Bt(t),l=i==="y",h=r.x+r.width/2-o.width/2,g=r.y+r.height/2-o.height/2,u=r[d]/2-o[d]/2;let f;switch(s){case"top":f={x:h,y:r.y-o.height};break;case"bottom":f={x:h,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:g};break;case"left":f={x:r.x-o.width,y:g};break;default:f={x:r.x,y:r.y}}switch(Un(t)){case"start":f[a]-=u*(n&&l?-1:1);break;case"end":f[a]+=u*(n&&l?-1:1);break}return f}async function Fd(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:a,elements:d,strategy:s}=e,{boundary:l="clippingAncestors",rootBoundary:h="viewport",elementContext:g="floating",altBoundary:u=!1,padding:f=0}=dn(t,e),c=z1(f),v=d[u?g==="floating"?"reference":"floating":g],C=Fr(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(d.floating)),boundary:l,rootBoundary:h,strategy:s})),E=g==="floating"?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,$=await(i.getOffsetParent==null?void 0:i.getOffsetParent(d.floating)),x=await(i.isElement==null?void 0:i.isElement($))?await(i.getScale==null?void 0:i.getScale($))||{x:1,y:1}:{x:1,y:1},w=Fr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:E,offsetParent:$,strategy:s}):E);return{top:(C.top-w.top+c.top)/x.y,bottom:(w.bottom-C.bottom+c.bottom)/x.y,left:(C.left-w.left+c.left)/x.x,right:(w.right-C.right+c.right)/x.x}}const q1=50,Y1=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,d=a.detectOverflow?a:{...a,detectOverflow:Fd},s=await(a.isRTL==null?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:h,y:g}=kd(l,r,s),u=r,f=0;const c={};for(let m=0;m<i.length;m++){const v=i[m];if(!v)continue;const{name:C,fn:E}=v,{x:$,y:x,data:w,reset:N}=await E({x:h,y:g,initialPlacement:r,placement:u,strategy:o,middlewareData:c,rects:l,platform:d,elements:{reference:e,floating:t}});h=$??h,g=x??g,c[C]={...c[C],...w},N&&f<q1&&(f++,typeof N=="object"&&(N.placement&&(u=N.placement),N.rects&&(l=N.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):N.rects),{x:h,y:g}=kd(l,u,s)),m=-1)}return{x:h,y:g,placement:u,strategy:o,middlewareData:c}},X1=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:d,platform:s,elements:l}=t,{mainAxis:h=!0,crossAxis:g=!0,fallbackPlacements:u,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:c="none",flipAlignment:m=!0,...v}=dn(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const C=Bt(o),E=Pt(d),$=Bt(d)===d,x=await(s.isRTL==null?void 0:s.isRTL(l.floating)),w=u||($||!m?[kr(d)]:W1(d)),N=c!=="none";!u&&N&&w.push(...G1(d,m,c,x));const R=[d,...w],K=await s.detectOverflow(t,v),Y=[];let D=((r=i.flip)==null?void 0:r.overflows)||[];if(h&&Y.push(K[C]),g){const Z=B1(o,a,x);Y.push(K[Z[0]],K[Z[1]])}if(D=[...D,{placement:o,overflows:Y}],!Y.every(Z=>Z<=0)){var A,M;const Z=(((A=i.flip)==null?void 0:A.index)||0)+1,V=R[Z];if(V&&(!(g==="alignment"?E!==Pt(V):!1)||D.every(Q=>Pt(Q.placement)===E?Q.overflows[0]>0:!0)))return{data:{index:Z,overflows:D},reset:{placement:V}};let J=(M=D.filter(ne=>ne.overflows[0]<=0).sort((ne,Q)=>ne.overflows[1]-Q.overflows[1])[0])==null?void 0:M.placement;if(!J)switch(f){case"bestFit":{var G;const ne=(G=D.filter(Q=>{if(N){const X=Pt(Q.placement);return X===E||X==="y"}return!0}).map(Q=>[Q.placement,Q.overflows.filter(X=>X>0).reduce((X,I)=>X+I,0)]).sort((Q,X)=>Q[1]-X[1])[0])==null?void 0:G[0];ne&&(J=ne);break}case"initialPlacement":J=d;break}if(o!==J)return{reset:{placement:J}}}return{}}}},Z1=new Set(["left","top"]);async function J1(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=Bt(n),d=Un(n),s=Pt(n)==="y",l=Z1.has(a)?-1:1,h=i&&s?-1:1,g=dn(t,e);let{mainAxis:u,crossAxis:f,alignmentAxis:c}=typeof g=="number"?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:g.mainAxis||0,crossAxis:g.crossAxis||0,alignmentAxis:g.alignmentAxis};return d&&typeof c=="number"&&(f=d==="end"?c*-1:c),s?{x:f*h,y:u*l}:{x:u*l,y:f*h}}const Q1=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:d}=t,s=await J1(t,e);return a===((n=d.offset)==null?void 0:n.placement)&&(r=d.arrow)!=null&&r.alignmentOffset?{}:{x:o+s.x,y:i+s.y,data:{...s,placement:a}}}}},ef=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o,platform:i}=t,{mainAxis:a=!0,crossAxis:d=!1,limiter:s={fn:C=>{let{x:E,y:$}=C;return{x:E,y:$}}},...l}=dn(e,t),h={x:n,y:r},g=await i.detectOverflow(t,l),u=Pt(Bt(o)),f=Td(u);let c=h[f],m=h[u];if(a){const C=f==="y"?"top":"left",E=f==="y"?"bottom":"right",$=c+g[C],x=c-g[E];c=Pd($,c,x)}if(d){const C=u==="y"?"top":"left",E=u==="y"?"bottom":"right",$=m+g[C],x=m-g[E];m=Pd($,m,x)}const v=s.fn({...t,[f]:c,[u]:m});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[f]:a,[u]:d}}}}}},tf=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:a,elements:d}=t,{apply:s=()=>{},...l}=dn(e,t),h=await a.detectOverflow(t,l),g=Bt(o),u=Un(o),f=Pt(o)==="y",{width:c,height:m}=i.floating;let v,C;g==="top"||g==="bottom"?(v=g,C=u===(await(a.isRTL==null?void 0:a.isRTL(d.floating))?"start":"end")?"left":"right"):(C=g,v=u==="end"?"top":"bottom");const E=m-h.top-h.bottom,$=c-h.left-h.right,x=qt(m-h[v],E),w=qt(c-h[C],$),N=!t.middlewareData.shift;let R=x,K=w;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(K=$),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(R=E),N&&!u){const D=Be(h.left,0),A=Be(h.right,0),M=Be(h.top,0),G=Be(h.bottom,0);f?K=c-2*(D!==0||A!==0?D+A:Be(h.left,h.right)):R=m-2*(M!==0||G!==0?M+G:Be(h.top,h.bottom))}await s({...t,availableWidth:K,availableHeight:R});const Y=await a.getDimensions(d.floating);return c!==Y.width||m!==Y.height?{reset:{rects:!0}}:{}}}};function Md(e){const t=ot(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Ot(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,d=Vn(n)!==i||Vn(r)!==a;return d&&(n=i,r=a),{width:n,height:r,$:d}}function Zo(e){return Re(e)?e:e.contextElement}function sn(e){const t=Zo(e);if(!Ot(t))return bt(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Md(t);let a=(i?Vn(n.width):n.width)/r,d=(i?Vn(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!d||!Number.isFinite(d))&&(d=1),{x:a,y:d}}const nf=bt(0);function Ld(e){const t=Xe(e);return!qo()||!t.visualViewport?nf:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function rf(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Xe(e)?!1:t}function Yt(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Zo(e);let a=bt(1);t&&(r?Re(r)&&(a=sn(r)):a=sn(e));const d=rf(i,n,r)?Ld(i):bt(0);let s=(o.left+d.x)/a.x,l=(o.top+d.y)/a.y,h=o.width/a.x,g=o.height/a.y;if(i){const u=Xe(i),f=r&&Re(r)?Xe(r):r;let c=u,m=Yo(c);for(;m&&r&&f!==c;){const v=sn(m),C=m.getBoundingClientRect(),E=ot(m),$=C.left+(m.clientLeft+parseFloat(E.paddingLeft))*v.x,x=C.top+(m.clientTop+parseFloat(E.paddingTop))*v.y;s*=v.x,l*=v.y,h*=v.x,g*=v.y,s+=$,l+=x,c=Xe(m),m=Yo(c)}}return Fr({width:h,height:g,x:s,y:l})}function Mr(e,t){const n=_r(e).scrollLeft;return t?t.left+n:Yt(gt(e)).left+n}function Dd(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Mr(e,n),o=n.top+t.scrollTop;return{x:r,y:o}}function of(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=gt(r),d=t?Ir(t.floating):!1;if(r===a||d&&i)return n;let s={scrollLeft:0,scrollTop:0},l=bt(1);const h=bt(0),g=Ot(r);if((g||!g&&!i)&&((on(r)!=="body"||Bn(a))&&(s=_r(r)),g)){const f=Yt(r);l=sn(r),h.x=f.x+r.clientLeft,h.y=f.y+r.clientTop}const u=a&&!g&&!i?Dd(a,s):bt(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-s.scrollLeft*l.x+h.x+u.x,y:n.y*l.y-s.scrollTop*l.y+h.y+u.y}}function af(e){return Array.from(e.getClientRects())}function df(e){const t=gt(e),n=_r(e),r=e.ownerDocument.body,o=Be(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Be(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Mr(e);const d=-n.scrollTop;return ot(r).direction==="rtl"&&(a+=Be(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:d}}const jd=25;function sf(e,t){const n=Xe(e),r=gt(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,d=0,s=0;if(o){i=o.width,a=o.height;const h=qo();(!h||h&&t==="fixed")&&(d=o.offsetLeft,s=o.offsetTop)}const l=Mr(r);if(l<=0){const h=r.ownerDocument,g=h.body,u=getComputedStyle(g),f=h.compatMode==="CSS1Compat"&&parseFloat(u.marginLeft)+parseFloat(u.marginRight)||0,c=Math.abs(r.clientWidth-g.clientWidth-f);c<=jd&&(i-=c)}else l<=jd&&(i+=l);return{width:i,height:a,x:d,y:s}}function lf(e,t){const n=Yt(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Ot(e)?sn(e):bt(1),a=e.clientWidth*i.x,d=e.clientHeight*i.y,s=o*i.x,l=r*i.y;return{width:a,height:d,x:s,y:l}}function Rd(e,t,n){let r;if(t==="viewport")r=sf(e,n);else if(t==="document")r=df(gt(e));else if(Re(t))r=lf(t,n);else{const o=Ld(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Fr(r)}function Bd(e,t){const n=Rt(e);return n===t||!Re(n)||an(n)?!1:ot(n).position==="fixed"||Bd(n,t)}function uf(e,t){const n=t.get(e);if(n)return n;let r=Wn(e,[],!1).filter(d=>Re(d)&&on(d)!=="body"),o=null;const i=ot(e).position==="fixed";let a=i?Rt(e):e;for(;Re(a)&&!an(a);){const d=ot(a),s=zo(a);!s&&d.position==="fixed"&&(o=null),(i?!s&&!o:!s&&d.position==="static"&&!!o&&(o.position==="absolute"||o.position==="fixed")||Bn(a)&&!s&&Bd(e,a))?r=r.filter(h=>h!==a):o=d,a=Rt(a)}return t.set(e,r),r}function cf(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?Ir(t)?[]:uf(t,this._c):[].concat(n),r],d=Rd(t,a[0],o);let s=d.top,l=d.right,h=d.bottom,g=d.left;for(let u=1;u<a.length;u++){const f=Rd(t,a[u],o);s=Be(f.top,s),l=qt(f.right,l),h=qt(f.bottom,h),g=Be(f.left,g)}return{width:l-g,height:h-s,x:g,y:s}}function ff(e){const{width:t,height:n}=Md(e);return{width:t,height:n}}function pf(e,t,n){const r=Ot(t),o=gt(t),i=n==="fixed",a=Yt(e,!0,i,t);let d={scrollLeft:0,scrollTop:0};const s=bt(0);function l(){s.x=Mr(o)}if(r||!r&&!i)if((on(t)!=="body"||Bn(o))&&(d=_r(t)),r){const f=Yt(t,!0,i,t);s.x=f.x+t.clientLeft,s.y=f.y+t.clientTop}else o&&l();i&&!r&&o&&l();const h=o&&!r&&!i?Dd(o,d):bt(0),g=a.left+d.scrollLeft-s.x-h.x,u=a.top+d.scrollTop-s.y-h.y;return{x:g,y:u,width:a.width,height:a.height}}function Jo(e){return ot(e).position==="static"}function Wd(e,t){if(!Ot(e)||ot(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return gt(e)===n&&(n=n.ownerDocument.body),n}function Vd(e,t){const n=Xe(e);if(Ir(e))return n;if(!Ot(e)){let o=Rt(e);for(;o&&!an(o);){if(Re(o)&&!Jo(o))return o;o=Rt(o)}return n}let r=Wd(e,t);for(;r&&F1(r)&&Jo(r);)r=Wd(r,t);return r&&an(r)&&Jo(r)&&!zo(r)?n:r||D1(e)||n}const hf=async function(e){const t=this.getOffsetParent||Vd,n=this.getDimensions,r=await n(e.floating);return{reference:pf(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function mf(e){return ot(e).direction==="rtl"}const vf={convertOffsetParentRelativeRectToViewportRelativeRect:of,getDocumentElement:gt,getClippingRect:cf,getOffsetParent:Vd,getElementRects:hf,getClientRects:af,getDimensions:ff,getScale:sn,isElement:Re,isRTL:mf};function Ud(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function gf(e,t){let n=null,r;const o=gt(e);function i(){var d;clearTimeout(r),(d=n)==null||d.disconnect(),n=null}function a(d,s){d===void 0&&(d=!1),s===void 0&&(s=1),i();const l=e.getBoundingClientRect(),{left:h,top:g,width:u,height:f}=l;if(d||t(),!u||!f)return;const c=Ar(g),m=Ar(o.clientWidth-(h+u)),v=Ar(o.clientHeight-(g+f)),C=Ar(h),$={rootMargin:-c+"px "+-m+"px "+-v+"px "+-C+"px",threshold:Be(0,qt(1,s))||1};let x=!0;function w(N){const R=N[0].intersectionRatio;if(R!==s){if(!x)return a();R?a(!1,R):r=setTimeout(()=>{a(!1,1e-7)},1e3)}R===1&&!Ud(l,e.getBoundingClientRect())&&a(),x=!1}try{n=new IntersectionObserver(w,{...$,root:o.ownerDocument})}catch{n=new IntersectionObserver(w,$)}n.observe(e)}return a(!0),i}function bf(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:d=typeof IntersectionObserver=="function",animationFrame:s=!1}=r,l=Zo(e),h=o||i?[...l?Wn(l):[],...t?Wn(t):[]]:[];h.forEach(C=>{o&&C.addEventListener("scroll",n,{passive:!0}),i&&C.addEventListener("resize",n)});const g=l&&d?gf(l,n):null;let u=-1,f=null;a&&(f=new ResizeObserver(C=>{let[E]=C;E&&E.target===l&&f&&t&&(f.unobserve(t),cancelAnimationFrame(u),u=requestAnimationFrame(()=>{var $;($=f)==null||$.observe(t)})),n()}),l&&!s&&f.observe(l),t&&f.observe(t));let c,m=s?Yt(e):null;s&&v();function v(){const C=Yt(e);m&&!Ud(m,C)&&n(),m=C,c=requestAnimationFrame(v)}return n(),()=>{var C;h.forEach(E=>{o&&E.removeEventListener("scroll",n),i&&E.removeEventListener("resize",n)}),g?.(),(C=f)==null||C.disconnect(),f=null,s&&cancelAnimationFrame(c)}}const Qo=Fd,$f=Q1,yf=ef,wf=X1,Cf=tf,xf=(e,t,n)=>{const r=new Map,o={platform:vf,...n},i={...o.platform,_c:r};return Y1(e,t,{...o,platform:i})};var Sf=typeof document<"u",Ef=function(){},Lr=Sf?p.useLayoutEffect:Ef;function Dr(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(!Dr(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)&&!Dr(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Hd(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Gd(e,t){const n=Hd(e);return Math.round(t*n)/n}function ei(e){const t=te.useRef(e);return Lr(()=>{t.current=e}),t}function Of(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:d=!0,whileElementsMounted:s,open:l}=e,[h,g]=te.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[u,f]=te.useState(r);Dr(u,r)||f(r);const[c,m]=te.useState(null),[v,C]=te.useState(null),E=te.useCallback(Q=>{Q!==N.current&&(N.current=Q,m(Q))},[]),$=te.useCallback(Q=>{Q!==R.current&&(R.current=Q,C(Q))},[]),x=i||c,w=a||v,N=te.useRef(null),R=te.useRef(null),K=te.useRef(h),Y=s!=null,D=ei(s),A=ei(o),M=ei(l),G=te.useCallback(()=>{if(!N.current||!R.current)return;const Q={placement:t,strategy:n,middleware:u};A.current&&(Q.platform=A.current),xf(N.current,R.current,Q).then(X=>{const I={...X,isPositioned:M.current!==!1};Z.current&&!Dr(K.current,I)&&(K.current=I,cr.flushSync(()=>{g(I)}))})},[u,t,n,A,M]);Lr(()=>{l===!1&&K.current.isPositioned&&(K.current.isPositioned=!1,g(Q=>({...Q,isPositioned:!1})))},[l]);const Z=te.useRef(!1);Lr(()=>(Z.current=!0,()=>{Z.current=!1}),[]),Lr(()=>{if(x&&(N.current=x),w&&(R.current=w),x&&w){if(D.current)return D.current(x,w,G);G()}},[x,w,G,D,Y]);const V=te.useMemo(()=>({reference:N,floating:R,setReference:E,setFloating:$}),[E,$]),J=te.useMemo(()=>({reference:x,floating:w}),[x,w]),ne=te.useMemo(()=>{const Q={position:n,left:0,top:0};if(!J.floating)return Q;const X=Gd(J.floating,h.x),I=Gd(J.floating,h.y);return d?{...Q,transform:"translate("+X+"px, "+I+"px)",...Hd(J.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:X,top:I}},[n,d,J.floating,h.x,h.y]);return te.useMemo(()=>({...h,update:G,refs:V,elements:J,floatingStyles:ne}),[h,G,V,J,ne])}const Kd=(e,t)=>{const n=$f(e);return{name:n.name,fn:n.fn,options:[e,t]}},Pf=(e,t)=>{const n=yf(e);return{name:n.name,fn:n.fn,options:[e,t]}},Tf=(e,t)=>{const n=wf(e);return{name:n.name,fn:n.fn,options:[e,t]}},Nf=(e,t)=>{const n=Cf(e);return{name:n.name,fn:n.fn,options:[e,t]}},zd={...te},If=zd.useInsertionEffect||(e=>e());function qd(e){const t=te.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return If(()=>{t.current=e}),te.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 ti=typeof document<"u"?p.useLayoutEffect:p.useEffect;let Yd=!1,_f=0;const Xd=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+_f++;function Af(){const[e,t]=te.useState(()=>Yd?Xd():void 0);return ti(()=>{e==null&&t(Xd())},[]),te.useEffect(()=>{Yd=!0},[]),e}const kf=zd.useId||Af;let Hn;process.env.NODE_ENV!=="production"&&(Hn=new Set);function Ff(){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=Hn)!=null&&e.has(o))){var i;(i=Hn)==null||i.add(o),console.warn(o)}}function Mf(){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=Hn)!=null&&e.has(o))){var i;(i=Hn)==null||i.add(o),console.error(o)}}function Lf(){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 Df=te.createContext(null),jf=te.createContext(null),Rf=()=>{var e;return((e=te.useContext(Df))==null?void 0:e.id)||null},Bf=()=>te.useContext(jf),Wf="data-floating-ui-focusable";function Vf(e){const{open:t=!1,onOpenChange:n,elements:r}=e,o=kf(),i=te.useRef({}),[a]=te.useState(()=>Lf()),d=Rf()!=null;if(process.env.NODE_ENV!=="production"){const f=r.reference;f&&!Re(f)&&Mf("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[s,l]=te.useState(r.reference),h=qd((f,c,m)=>{i.current.openEvent=f?c:void 0,a.emit("openchange",{open:f,event:c,reason:m,nested:d}),n?.(f,c,m)}),g=te.useMemo(()=>({setPositionReference:l}),[]),u=te.useMemo(()=>({reference:s||r.reference||null,floating:r.floating||null,domReference:r.reference}),[s,r.reference,r.floating]);return te.useMemo(()=>({dataRef:i,open:t,onOpenChange:h,elements:u,events:a,floatingId:o,refs:g}),[t,h,u,a,o,g])}function Uf(e){e===void 0&&(e={});const{nodeId:t}=e,n=Vf({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,o=r.elements,[i,a]=te.useState(null),[d,s]=te.useState(null),h=o?.domReference||i,g=te.useRef(null),u=Bf();ti(()=>{h&&(g.current=h)},[h]);const f=Of({...e,elements:{...o,...d&&{reference:d}}}),c=te.useCallback($=>{const x=Re($)?{getBoundingClientRect:()=>$.getBoundingClientRect(),contextElement:$}:$;s(x),f.refs.setReference(x)},[f.refs]),m=te.useCallback($=>{(Re($)||$===null)&&(g.current=$,a($)),(Re(f.refs.reference.current)||f.refs.reference.current===null||$!==null&&!Re($))&&f.refs.setReference($)},[f.refs]),v=te.useMemo(()=>({...f.refs,setReference:m,setPositionReference:c,domReference:g}),[f.refs,m,c]),C=te.useMemo(()=>({...f.elements,domReference:h}),[f.elements,h]),E=te.useMemo(()=>({...f,...r,refs:v,elements:C,nodeId:t}),[f,v,C,t,r]);return ti(()=>{r.dataRef.current.floatingContext=E;const $=u?.nodesRef.current.find(x=>x.id===t);$&&($.context=E)}),te.useMemo(()=>({...f,context:E,refs:v,elements:C}),[f,v,C,E])}const Zd="active",Jd="selected";function ni(e,t,n){const r=new Map,o=n==="item";let i=e;if(o&&e){const{[Zd]:a,[Jd]:d,...s}=e;i=s}return{...n==="floating"&&{tabIndex:-1,[Wf]:""},...i,...t.map(a=>{const d=a?a[n]:null;return typeof d=="function"?e?d(e):null:d}).concat(e).reduce((a,d)=>(d&&Object.entries(d).forEach(s=>{let[l,h]=s;if(!(o&&[Zd,Jd].includes(l)))if(l.indexOf("on")===0){if(r.has(l)||r.set(l,[]),typeof h=="function"){var g;(g=r.get(l))==null||g.push(h),a[l]=function(){for(var u,f=arguments.length,c=new Array(f),m=0;m<f;m++)c[m]=arguments[m];return(u=r.get(l))==null?void 0:u.map(v=>v(...c)).find(v=>v!==void 0)}}}else a[l]=h}),a),{})}}function Hf(e){e===void 0&&(e=[]);const t=e.map(d=>d?.reference),n=e.map(d=>d?.floating),r=e.map(d=>d?.item),o=te.useCallback(d=>ni(d,e,"reference"),t),i=te.useCallback(d=>ni(d,e,"floating"),n),a=te.useCallback(d=>ni(d,e,"item"),r);return te.useMemo(()=>({getReferenceProps:o,getFloatingProps:i,getItemProps:a}),[o,i,a])}function Qd(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}const Gf=e=>({name:"inner",options:e,async fn(t){const{listRef:n,overflowRef:r,onFallbackChange:o,offset:i=0,index:a=0,minItemsVisible:d=4,referenceOverflowThreshold:s=0,scrollRef:l,...h}=dn(e,t),{rects:g,elements:{floating:u}}=t,f=n.current[a],c=l?.current||u,m=u.clientTop||c.clientTop,v=u.clientTop!==0,C=c.clientTop!==0,E=u===c;if(process.env.NODE_ENV!=="production"&&(t.placement.startsWith("bottom")||Ff('`placement` side must be "bottom" when using the `inner`',"middleware.")),!f)return{};const $={...t,...await Kd(-f.offsetTop-u.clientTop-g.reference.height/2-f.offsetHeight/2-i).fn(t)},x=await Qo(Qd($,c.scrollHeight+m+u.clientTop),h),w=await Qo($,{...h,elementContext:"reference"}),N=Be(0,x.top),R=$.y+N,D=(c.scrollHeight>c.clientHeight?A=>A:Vn)(Be(0,c.scrollHeight+(v&&E||C?m*2:0)-N-Be(0,x.bottom)));if(c.style.maxHeight=D+"px",c.scrollTop=N,o){const A=c.offsetHeight<f.offsetHeight*qt(d,n.current.length)-1||w.top>=-s||w.bottom>=-s;cr.flushSync(()=>o(A))}return r&&(r.current=await Qo(Qd({...$,y:R},c.offsetHeight+m+u.clientTop),h)),{y:R}}});function Kf(e,t){const{open:n,elements:r}=e,{enabled:o=!0,overflowRef:i,scrollRef:a,onChange:d}=t,s=qd(d),l=te.useRef(!1),h=te.useRef(null),g=te.useRef(null);te.useEffect(()=>{if(!o)return;function f(m){if(m.ctrlKey||!c||i.current==null)return;const v=m.deltaY,C=i.current.top>=-.5,E=i.current.bottom>=-.5,$=c.scrollHeight-c.clientHeight,x=v<0?-1:1,w=v<0?"max":"min";c.scrollHeight<=c.clientHeight||(!C&&v>0||!E&&v<0?(m.preventDefault(),cr.flushSync(()=>{s(N=>N+Math[w](v,$*x))})):/firefox/i.test(j1())&&(c.scrollTop+=v))}const c=a?.current||r.floating;if(n&&c)return c.addEventListener("wheel",f),requestAnimationFrame(()=>{h.current=c.scrollTop,i.current!=null&&(g.current={...i.current})}),()=>{h.current=null,g.current=null,c.removeEventListener("wheel",f)}},[o,n,r.floating,i,a,s]);const u=te.useMemo(()=>({onKeyDown(){l.current=!0},onWheel(){l.current=!1},onPointerMove(){l.current=!1},onScroll(){const f=a?.current||r.floating;if(!(!i.current||!f||!l.current)){if(h.current!==null){const c=f.scrollTop-h.current;(i.current.bottom<-.5&&c<-1||i.current.top<-.5&&c>1)&&cr.flushSync(()=>s(m=>m+c))}requestAnimationFrame(()=>{h.current=f.scrollTop})}}}),[r.floating,s,i,a]);return te.useMemo(()=>o?{floating:u}:{},[o,u])}let ln=p.createContext({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});ln.displayName="FloatingContext";let ri=p.createContext(null);ri.displayName="PlacementContext";function es(e){return p.useMemo(()=>e?typeof e=="string"?{to:e}:e:null,[e])}function ts(){return p.useContext(ln).setReference}function zf(){return p.useContext(ln).getReferenceProps}function ns(){let{getFloatingProps:e,slot:t}=p.useContext(ln);return p.useCallback((...n)=>Object.assign({},e(...n),{"data-anchor":t.anchor}),[e,t])}function rs(e=null){e===!1&&(e=null),typeof e=="string"&&(e={to:e});let t=p.useContext(ri),n=p.useMemo(()=>e,[JSON.stringify(e,(o,i)=>{var a;return(a=i?.outerHTML)!=null?a:i})]);we(()=>{t?.(n??null)},[t,n]);let r=p.useContext(ln);return p.useMemo(()=>[r.setFloating,e?r.styles:{}],[r.setFloating,e,r.styles])}let os=4;function is({children:e,enabled:t=!0}){let[n,r]=p.useState(null),[o,i]=p.useState(0),a=p.useRef(null),[d,s]=p.useState(null);qf(d);let l=t&&n!==null&&d!==null,{to:h="bottom",gap:g=0,offset:u=0,padding:f=0,inner:c}=Yf(n,d),[m,v="center"]=h.split(" ");we(()=>{l&&i(0)},[l]);let{refs:C,floatingStyles:E,context:$}=Uf({open:l,placement:m==="selection"?v==="center"?"bottom":`bottom-${v}`:v==="center"?`${m}`:`${m}-${v}`,strategy:"absolute",transform:!1,middleware:[Kd({mainAxis:m==="selection"?0:g,crossAxis:u}),Pf({padding:f}),m!=="selection"&&Tf({padding:f}),m==="selection"&&c?Gf({...c,padding:f,overflowRef:a,offset:o,minItemsVisible:os,referenceOverflowThreshold:f,onFallbackChange(A){var M,G;if(!A)return;let Z=$.elements.floating;if(!Z)return;let V=parseFloat(getComputedStyle(Z).scrollPaddingBottom)||0,J=Math.min(os,Z.childElementCount),ne=0,Q=0;for(let X of(G=(M=$.elements.floating)==null?void 0:M.childNodes)!=null?G:[])if(mt(X)){let I=X.offsetTop,S=I+X.clientHeight+V,T=Z.scrollTop,j=T+Z.clientHeight;if(I>=T&&S<=j)J--;else{Q=Math.max(0,Math.min(S,j)-Math.max(I,T)),ne=X.clientHeight;break}}J>=1&&i(X=>{let I=ne*J-Q+V;return X>=I?X:I})}}):null,Nf({padding:f,apply({availableWidth:A,availableHeight:M,elements:G}){Object.assign(G.floating.style,{overflow:"auto",maxWidth:`${A}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${M}px)`})}})].filter(Boolean),whileElementsMounted:bf}),[x=m,w=v]=$.placement.split("-");m==="selection"&&(x="selection");let N=p.useMemo(()=>({anchor:[x,w].filter(Boolean).join(" ")}),[x,w]),R=Kf($,{overflowRef:a,onChange:i}),{getReferenceProps:K,getFloatingProps:Y}=Hf([R]),D=ie(A=>{s(A),C.setFloating(A)});return te.createElement(ri.Provider,{value:r},te.createElement(ln.Provider,{value:{setFloating:D,setReference:C.setReference,styles:E,getReferenceProps:K,getFloatingProps:Y,slot:N}},e))}function qf(e){we(()=>{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 Yf(e,t){var n,r,o;let i=oi((n=e?.gap)!=null?n:"var(--anchor-gap, 0)",t),a=oi((r=e?.offset)!=null?r:"var(--anchor-offset, 0)",t),d=oi((o=e?.padding)!=null?o:"var(--anchor-padding, 0)",t);return{...e,gap:i,offset:a,padding:d}}function oi(e,t,n=void 0){let r=Lt(),o=ie((s,l)=>{if(s==null)return[n,null];if(typeof s=="number")return[s,null];if(typeof s=="string"){if(!l)return[n,null];let h=ds(s,l);return[h,g=>{let u=as(s);{let f=u.map(c=>window.getComputedStyle(l).getPropertyValue(c));r.requestAnimationFrame(function c(){r.nextFrame(c);let m=!1;for(let[C,E]of u.entries()){let $=window.getComputedStyle(l).getPropertyValue(E);if(f[C]!==$){f[C]=$,m=!0;break}}if(!m)return;let v=ds(s,l);h!==v&&(g(v),h=v)})}return r.dispose}]}return[n,null]}),i=p.useMemo(()=>o(e,t)[0],[e,t]),[a=i,d]=p.useState();return we(()=>{let[s,l]=o(e,t);if(d(s),!!l)return l(d)},[e,t]),a}function as(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,...as(o)]:[r]}return[]}function ds(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 Xf({children:e,freeze:t},n){let r=jr(t,e);return p.isValidElement(r)?p.cloneElement(r,{ref:n}):p.createElement(p.Fragment,null,r)}const Zf=p.forwardRef(Xf);function jr(e,t){let[n,r]=p.useState(t);return!e&&n!==t&&r(t),e?n:t}let ii=p.createContext(null);ii.displayName="OpenClosedContext";var Ve=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(Ve||{});function Rr(){return p.useContext(ii)}function ai({value:e,children:t}){return p.createElement(ii.Provider,{value:e},t)}function Jf(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let Xt=[];Jf(()=>{function e(t){if(!Gt(t.target)||t.target===document.body||Xt[0]===t.target)return;let n=t.target;n=n.closest(Tr),Xt.unshift(n??t.target),Xt=Xt.filter(r=>r!=null&&r.isConnected),Xt.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 Qf(e){throw new Error("Unexpected object: "+e)}var ce=(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))(ce||{});function un(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:Qf(e)}}function di(e){let t=ie(e),n=p.useRef(!1);p.useEffect(()=>(n.current=!1,()=>{n.current=!0,$a(()=>{n.current&&t()})}),[t])}let e2=p.createContext(!1);function t2(){return p.useContext(e2)}function n2(e){let t=t2(),n=p.useContext(ls),[r,o]=p.useState(()=>{var i;if(!t&&n!==null)return(i=n.current)!=null?i:null;if(ht.isServer)return null;let a=e?.getElementById("headlessui-portal-root");if(a)return a;if(e===null)return null;let d=e.createElement("div");return d.setAttribute("id","headlessui-portal-root"),e.body.appendChild(d)});return p.useEffect(()=>{r!==null&&(e!=null&&e.body.contains(r)||e==null||e.body.appendChild(r))},[r,e]),p.useEffect(()=>{t||n!==null&&o(n.current)},[n,o,t]),r}let ss=p.Fragment,r2=_e(function(e,t){let{ownerDocument:n=null,...r}=e,o=p.useRef(null),i=je(Nc(u=>{o.current=u}),t),a=Rn(o.current),d=n??a,s=n2(d),l=p.useContext(d2),h=Lt(),g=Fe();return di(()=>{var u;s&&s.childNodes.length<=0&&((u=s.parentElement)==null||u.removeChild(s))}),s?Ae.createPortal(p.createElement("div",{"data-headlessui-portal":"",ref:u=>{h.dispose(),l&&u&&h.add(l.register(u))}},g({ourProps:{ref:i},theirProps:r,slot:{},defaultTag:ss,name:"Portal"})),s):null});function o2(e,t){let n=je(t),{enabled:r=!0,ownerDocument:o,...i}=e,a=Fe();return r?p.createElement(r2,{...i,ownerDocument:o,ref:n}):a({ourProps:{ref:n},theirProps:i,slot:{},defaultTag:ss,name:"Portal"})}let i2=p.Fragment,ls=p.createContext(null);function a2(e,t){let{target:n,...r}=e,o={ref:je(t)},i=Fe();return p.createElement(ls.Provider,{value:n},i({ourProps:o,theirProps:r,defaultTag:i2,name:"Popover.Group"}))}let d2=p.createContext(null),s2=_e(o2),l2=_e(a2),us=Object.assign(s2,{Group:l2});const Tt={Idle:{kind:"Idle"},Tracked:e=>({kind:"Tracked",position:e}),Moved:{kind:"Moved"}};function si(e){let t=e.getBoundingClientRect();return`${t.x},${t.y}`}function cs(e,t,n){let r=Ke();if(t.kind==="Tracked"){let o=function(){i!==si(e)&&(r.dispose(),n())},{position:i}=t,a=new ResizeObserver(o);a.observe(e),r.add(()=>a.disconnect()),r.addEventListener(window,"scroll",o,{passive:!0}),r.addEventListener(window,"resize",o)}return()=>r.dispose()}var u2=Object.defineProperty,c2=(e,t,n)=>t in e?u2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,fs=(e,t,n)=>(c2(e,typeof t!="symbol"?t+"":t,n),n),pe=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(pe||{}),Ze=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(Ze||{}),$t=(e=>(e[e.Pointer=0]="Pointer",e[e.Focus=1]="Focus",e[e.Other=2]="Other",e))($t||{}),ps=(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.DefaultToFirstOption=6]="DefaultToFirstOption",e[e.SetActivationTrigger=7]="SetActivationTrigger",e[e.UpdateVirtualConfiguration=8]="UpdateVirtualConfiguration",e[e.SetInputElement=9]="SetInputElement",e[e.SetButtonElement=10]="SetButtonElement",e[e.SetOptionsElement=11]="SetOptionsElement",e[e.MarkInputAsMoved=12]="MarkInputAsMoved",e))(ps||{});function li(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((a,d)=>a.dataRef.current.order-d.dataRef.current.order):Vo(r,a=>a.dataRef.current.domRef.current),i=n?o.indexOf(n):null;return i===-1&&(i=null),{options:o,activeOptionIndex:i}}let f2={1(e){var t;if((t=e.dataRef.current)!=null&&t.disabled||e.comboboxState===1)return e;let n=e.inputElement?Tt.Tracked(si(e.inputElement)):e.inputPositionState;return{...e,activeOptionIndex:null,comboboxState:1,isTyping:!1,activationTrigger:2,inputPositionState:n,__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,inputPositionState:Tt.Idle}}return{...e,comboboxState:0,inputPositionState:Tt.Idle,__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:l,disabled:h}=e.virtual,g=t.focus===ce.Specific?t.idx:un(t,{resolveItems:()=>l,resolveActiveIndex:()=>{var f,c;return(c=(f=e.activeOptionIndex)!=null?f:l.findIndex(m=>!h(m)))!=null?c:null},resolveDisabled:h,resolveId(){throw new Error("Function not implemented.")}}),u=(o=t.trigger)!=null?o:2;return e.activeOptionIndex===g&&e.activationTrigger===u?e:{...e,activeOptionIndex:g,activationTrigger:u,isTyping:!1,__demoMode:!1}}let a=li(e);if(a.activeOptionIndex===null){let l=a.options.findIndex(h=>!h.dataRef.current.disabled);l!==-1&&(a.activeOptionIndex=l)}let d=t.focus===ce.Specific?t.idx:un(t,{resolveItems:()=>a.options,resolveActiveIndex:()=>a.activeOptionIndex,resolveId:l=>l.id,resolveDisabled:l=>l.dataRef.current.disabled}),s=(i=t.trigger)!=null?i:2;return e.activeOptionIndex===d&&e.activationTrigger===s?e:{...e,...a,isTyping:!1,activeOptionIndex:d,activationTrigger:s,__demoMode:!1}},4:(e,t)=>{var n,r,o,i;if((n=e.dataRef.current)!=null&&n.virtual)return{...e,options:[...e.options,t.payload]};let a=t.payload,d=li(e,l=>(l.push(a),l));e.activeOptionIndex===null&&(o=(r=e.dataRef.current).isSelected)!=null&&o.call(r,t.payload.dataRef.current.value)&&(d.activeOptionIndex=d.options.indexOf(a));let s={...e,...d,activationTrigger:2};return(i=e.dataRef.current)!=null&&i.__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=li(e,o=>{let i=o.findIndex(a=>a.id===t.id);return i!==-1&&o.splice(i,1),o});return{...e,...r,activationTrigger:2}},6:(e,t)=>e.defaultToFirstOption===t.value?e:{...e,defaultToFirstOption:t.value},7:(e,t)=>e.activationTrigger===t.trigger?e:{...e,activationTrigger:t.trigger},8:(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}}},9:(e,t)=>e.inputElement===t.element?e:{...e,inputElement:t.element},10:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},11:(e,t)=>e.optionsElement===t.element?e:{...e,optionsElement:t.element},12(e){return e.inputPositionState.kind!=="Tracked"?e:{...e,inputPositionState:Tt.Moved}}},p2=class b0 extends ko{constructor(t){super(t),fs(this,"actions",{onChange:n=>{let{onChange:r,compare:o,mode:i,value:a}=this.state.dataRef.current;return ke(i,{0:()=>r?.(n),1:()=>{let d=a.slice(),s=d.findIndex(l=>o(l,n));return s===-1?d.push(n):d.splice(s,1),r?.(d)}})},registerOption:(n,r)=>(this.send({type:4,payload:{id:n,dataRef:r}}),()=>{this.state.activeOptionIndex===this.state.dataRef.current.calculateIndex(r.current.value)&&this.send({type:6,value:!0}),this.send({type:5,id:n})}),goToOption:(n,r)=>(this.send({type:6,value:!1}),this.send({type:2,...n,trigger:r})),setIsTyping:n=>{this.send({type:3,isTyping:n})},closeCombobox:()=>{var n,r;this.send({type:1}),this.send({type:6,value:!1}),(r=(n=this.state.dataRef.current).onClose)==null||r.call(n)},openCombobox:()=>{this.send({type:0}),this.send({type:6,value:!0})},setActivationTrigger:n=>{this.send({type:7,trigger:n})},selectActiveOption:()=>{let n=this.selectors.activeOptionIndex(this.state);if(n!==null){if(this.actions.setIsTyping(!1),this.state.virtual)this.actions.onChange(this.state.virtual.options[n]);else{let{dataRef:r}=this.state.options[n];this.actions.onChange(r.current.value)}this.actions.goToOption({focus:ce.Specific,idx:n})}},setInputElement:n=>{this.send({type:9,element:n})},setButtonElement:n=>{this.send({type:10,element:n})},setOptionsElement:n=>{this.send({type:11,element:n})}}),fs(this,"selectors",{activeDescendantId:n=>{var r,o;let i=this.selectors.activeOptionIndex(n);if(i!==null)return n.virtual?(o=n.options.find(a=>!a.dataRef.current.disabled&&n.dataRef.current.compare(a.dataRef.current.value,n.virtual.options[i])))==null?void 0:o.id:(r=n.options[i])==null?void 0:r.id},activeOptionIndex:n=>{if(n.defaultToFirstOption&&n.activeOptionIndex===null&&(n.virtual?n.virtual.options.length>0:n.options.length>0)){if(n.virtual){let{options:o,disabled:i}=n.virtual,a=o.findIndex(d=>{var s;return!((s=i?.(d))!=null&&s)});if(a!==-1)return a}let r=n.options.findIndex(o=>!o.dataRef.current.disabled);if(r!==-1)return r}return n.activeOptionIndex},activeOption:n=>{var r,o;let i=this.selectors.activeOptionIndex(n);return i===null?null:n.virtual?n.virtual.options[i??0]:(o=(r=n.options[i])==null?void 0:r.dataRef.current.value)!=null?o:null},isActive:(n,r,o)=>{var i;let a=this.selectors.activeOptionIndex(n);return a===null?!1:n.virtual?a===n.dataRef.current.calculateIndex(r):((i=n.options[a])==null?void 0:i.id)===o},shouldScrollIntoView:(n,r,o)=>!(n.virtual||n.__demoMode||n.comboboxState!==0||n.activationTrigger===0||!this.selectors.isActive(n,r,o)),didInputMove(n){return n.inputPositionState.kind==="Moved"}});{let n=this.state.id,r=Dn.get(null);this.disposables.add(r.on(Lo.Push,o=>{!r.selectors.isTop(o,n)&&this.state.comboboxState===0&&this.actions.closeCombobox()})),this.on(0,()=>r.actions.push(n)),this.on(1,()=>r.actions.pop(n))}this.disposables.group(n=>{this.on(1,r=>{r.inputElement&&(n.dispose(),n.add(cs(r.inputElement,r.inputPositionState,()=>{this.send({type:12})})))})})}static new({id:t,virtual:n=null,__demoMode:r=!1}){var o;return new b0({id:t,dataRef:{current:{}},comboboxState:r?0:1,isTyping:!1,options:[],virtual:n?{options:n.options,disabled:(o=n.disabled)!=null?o:()=>!1}:null,activeOptionIndex:null,activationTrigger:2,inputElement:null,buttonElement:null,optionsElement:null,__demoMode:r,inputPositionState:Tt.Idle})}reduce(t,n){return ke(n.type,f2,t,n)}};const hs=p.createContext(null);function Gn(e){let t=p.useContext(hs);if(t===null){let n=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,ms),n}return t}function ms({id:e,virtual:t=null,__demoMode:n=!1}){let r=p.useMemo(()=>p2.new({id:e,virtual:t,__demoMode:n}),[]);return di(()=>r.dispose()),r}let Kn=p.createContext(null);Kn.displayName="ComboboxDataContext";function cn(e){let t=p.useContext(Kn);if(t===null){let n=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,cn),n}return t}let vs=p.createContext(null);function h2(e){let t=Gn("VirtualProvider"),n=cn("VirtualProvider"),{options:r}=n.virtual,o=be(t,f=>f.optionsElement),[i,a]=p.useMemo(()=>{let f=o;if(!f)return[0,0];let c=window.getComputedStyle(f);return[parseFloat(c.paddingBlockStart||c.paddingTop),parseFloat(c.paddingBlockEnd||c.paddingBottom)]},[o]),d=zc({enabled:r.length!==0,scrollPaddingStart:i,scrollPaddingEnd:a,count:r.length,estimateSize(){return 40},getScrollElement(){return t.state.optionsElement},overscan:12}),[s,l]=p.useState(0);we(()=>{l(f=>f+1)},[r]);let h=d.getVirtualItems(),g=be(t,f=>f.activationTrigger===$t.Pointer),u=be(t,t.selectors.activeOptionIndex);return h.length===0?null:p.createElement(vs.Provider,{value:d},p.createElement("div",{style:{position:"relative",width:"100%",height:`${d.getTotalSize()}px`},ref:f=>{f&&(g||u!==null&&r.length>u&&d.scrollToIndex(u))}},h.map(f=>{var c;return p.createElement(p.Fragment,{key:f.key},p.cloneElement((c=e.children)==null?void 0:c.call(e,{...e.slot,option:r[f.index]}),{key:`${s}-${f.key}`,"data-index":f.index,"aria-setsize":r.length,"aria-posinset":f.index+1,style:{position:"absolute",top:0,left:0,transform:`translateY(${f.start}px)`,overflowAnchor:"none"}}))})))}let m2=p.Fragment;function v2(e,t){let n=p.useId(),r=Cr(),{value:o,defaultValue:i,onChange:a,form:d,name:s,by:l,invalid:h=!1,disabled:g=r||!1,onClose:u,__demoMode:f=!1,multiple:c=!1,immediate:m=!1,virtual:v=null,nullable:C,...E}=e,$=xa(i),[x=c?[]:void 0,w]=Ca(o,a,$),N=ms({id:n,virtual:v,__demoMode:f}),R=p.useRef({static:!1,hold:!1}),K=Ga(l),Y=ie(z=>v?l===null?v.options.indexOf(z):v.options.findIndex(re=>K(re,z)):N.state.options.findIndex(re=>K(re.dataRef.current.value,z))),D=p.useCallback(z=>ke(G.mode,{[Ze.Multi]:()=>x.some(re=>K(re,z)),[Ze.Single]:()=>K(x,z)}),[x]),A=be(N,z=>z.virtual),M=ie(()=>u?.()),G=p.useMemo(()=>({__demoMode:f,immediate:m,optionsPropsRef:R,value:x,defaultValue:$,disabled:g,invalid:h,mode:c?Ze.Multi:Ze.Single,virtual:v?A:null,onChange:w,isSelected:D,calculateIndex:Y,compare:K,onClose:M}),[f,m,R,x,$,g,h,c,v,A,w,D,Y,K,M]);we(()=>{var z;v&&N.send({type:ps.UpdateVirtualConfiguration,options:v.options,disabled:(z=v.disabled)!=null?z:null})},[v,v?.options,v?.disabled]),we(()=>{N.state.dataRef.current=G},[G]);let[Z,V,J,ne]=be(N,z=>[z.comboboxState,z.buttonElement,z.inputElement,z.optionsElement]),Q=Dn.get(null),X=be(Q,p.useCallback(z=>Q.selectors.isTop(z,n),[Q,n]));fd(X,[V,J,ne],()=>N.actions.closeCombobox());let I=be(N,N.selectors.activeOptionIndex),S=be(N,N.selectors.activeOption),T=Ye({open:Z===pe.Open,disabled:g,invalid:h,activeIndex:I,activeOption:S,value:x}),[j,W]=Da(),L=t===null?{}:{ref:t},F=p.useCallback(()=>{if($!==void 0)return w?.($)},[w,$]),U=Fe();return p.createElement(W,{value:j,props:{htmlFor:J?.id},slot:{open:Z===pe.Open,disabled:g}},p.createElement(is,null,p.createElement(Kn.Provider,{value:G},p.createElement(hs.Provider,{value:N},p.createElement(ai,{value:ke(Z,{[pe.Open]:Ve.Open,[pe.Closed]:Ve.Closed})},s!=null&&p.createElement(Ta,{disabled:g,data:x!=null?{[s]:x}:{},form:d,onReset:F}),U({ourProps:L,theirProps:E,slot:T,defaultTag:m2,name:"Combobox"}))))))}let g2="input";function b2(e,t){var n,r;let o=Gn("Combobox.Input"),i=cn("Combobox.Input"),a=p.useId(),d=To(),{id:s=d||`headlessui-combobox-input-${a}`,onChange:l,displayValue:h,disabled:g=i.disabled||!1,autoFocus:u=!1,type:f="text",...c}=e,m=p.useRef(null),v=je(m,t,ts(),o.actions.setInputElement),[C,E]=be(o,T=>[T.comboboxState,T.isTyping]),$=Lt(),x=ie(()=>{o.actions.onChange(null),o.state.optionsElement&&(o.state.optionsElement.scrollTop=0),o.actions.goToOption({focus:ce.Nothing})}),w=p.useMemo(()=>{var T;return typeof h=="function"&&i.value!==void 0?(T=h(i.value))!=null?T:"":typeof i.value=="string"?i.value:""},[i.value,h]);xd(([T,j],[W,L])=>{if(o.state.isTyping)return;let F=m.current;F&&((L===pe.Open&&j===pe.Closed||T!==W)&&(F.value=T),requestAnimationFrame(()=>{if(o.state.isTyping||!F||So(F))return;let{selectionStart:U,selectionEnd:z}=F;Math.abs((z??0)-(U??0))===0&&U===0&&F.setSelectionRange(F.value.length,F.value.length)}))},[w,C,E]),xd(([T],[j])=>{if(T===pe.Open&&j===pe.Closed){if(o.state.isTyping)return;let W=m.current;if(!W)return;let L=W.value,{selectionStart:F,selectionEnd:U,selectionDirection:z}=W;W.value="",W.value=L,z!==null?W.setSelectionRange(F,U,z):W.setSelectionRange(F,U)}},[C]);let N=p.useRef(!1),R=ie(()=>{N.current=!0}),K=ie(()=>{$.nextFrame(()=>{N.current=!1})}),Y=ie(T=>{switch(o.actions.setIsTyping(!0),T.key){case ge.Enter:if(o.state.comboboxState!==pe.Open||N.current)return;if(T.preventDefault(),T.stopPropagation(),o.selectors.activeOptionIndex(o.state)===null){o.actions.closeCombobox();return}o.actions.selectActiveOption(),i.mode===Ze.Single&&o.actions.closeCombobox();break;case ge.ArrowDown:return T.preventDefault(),T.stopPropagation(),ke(o.state.comboboxState,{[pe.Open]:()=>o.actions.goToOption({focus:ce.Next}),[pe.Closed]:()=>o.actions.openCombobox()});case ge.ArrowUp:return T.preventDefault(),T.stopPropagation(),ke(o.state.comboboxState,{[pe.Open]:()=>o.actions.goToOption({focus:ce.Previous}),[pe.Closed]:()=>{Ae.flushSync(()=>o.actions.openCombobox()),i.value||o.actions.goToOption({focus:ce.Last})}});case ge.Home:if(o.state.comboboxState===pe.Closed||T.shiftKey)break;return T.preventDefault(),T.stopPropagation(),o.actions.goToOption({focus:ce.First});case ge.PageUp:return T.preventDefault(),T.stopPropagation(),o.actions.goToOption({focus:ce.First});case ge.End:if(o.state.comboboxState===pe.Closed||T.shiftKey)break;return T.preventDefault(),T.stopPropagation(),o.actions.goToOption({focus:ce.Last});case ge.PageDown:return T.preventDefault(),T.stopPropagation(),o.actions.goToOption({focus:ce.Last});case ge.Escape:return o.state.comboboxState!==pe.Open?void 0:(T.preventDefault(),o.state.optionsElement&&!i.optionsPropsRef.current.static&&T.stopPropagation(),i.mode===Ze.Single&&i.value===null&&x(),o.actions.closeCombobox());case ge.Tab:if(o.actions.setIsTyping(!1),o.state.comboboxState!==pe.Open)return;i.mode===Ze.Single&&o.state.activationTrigger!==$t.Focus&&o.actions.selectActiveOption(),o.actions.closeCombobox();break}}),D=ie(T=>{l?.(T),i.mode===Ze.Single&&T.target.value===""&&x(),o.actions.openCombobox()}),A=ie(T=>{var j,W,L;let F=(j=T.relatedTarget)!=null?j:Xt.find(U=>U!==T.currentTarget);if(!((W=o.state.optionsElement)!=null&&W.contains(F))&&!((L=o.state.buttonElement)!=null&&L.contains(F))&&o.state.comboboxState===pe.Open)return T.preventDefault(),i.mode===Ze.Single&&i.value===null&&x(),o.actions.closeCombobox()}),M=ie(T=>{var j,W,L;let F=(j=T.relatedTarget)!=null?j:Xt.find(U=>U!==T.currentTarget);(W=o.state.buttonElement)!=null&&W.contains(F)||(L=o.state.optionsElement)!=null&&L.contains(F)||i.disabled||i.immediate&&o.state.comboboxState!==pe.Open&&$.microTask(()=>{Ae.flushSync(()=>o.actions.openCombobox()),o.actions.setActivationTrigger($t.Focus)})}),G=Fn(),Z=Ma(),{isFocused:V,focusProps:J}=Co({autoFocus:u}),{isHovered:ne,hoverProps:Q}=wo({isDisabled:g}),X=be(o,T=>T.optionsElement),I=Ye({open:C===pe.Open,disabled:g,invalid:i.invalid,hover:ne,focus:V,autofocus:u}),S=An({ref:v,id:s,role:"combobox",type:f,"aria-controls":X?.id,"aria-expanded":C===pe.Open,"aria-activedescendant":be(o,o.selectors.activeDescendantId),"aria-labelledby":G,"aria-describedby":Z,"aria-autocomplete":"list",defaultValue:(r=(n=e.defaultValue)!=null?n:i.defaultValue!==void 0?h?.(i.defaultValue):null)!=null?r:i.defaultValue,disabled:g||void 0,autoFocus:u,onCompositionStart:R,onCompositionEnd:K,onKeyDown:Y,onChange:D,onFocus:M,onBlur:A},J,Q);return Fe()({ourProps:S,theirProps:c,slot:I,defaultTag:g2,name:"Combobox.Input"})}let $2="button";function y2(e,t){let n=Gn("Combobox.Button"),r=cn("Combobox.Button"),[o,i]=p.useState(null),a=je(t,i,n.actions.setButtonElement),d=p.useId(),{id:s=`headlessui-combobox-button-${d}`,disabled:l=r.disabled||!1,autoFocus:h=!1,...g}=e,[u,f,c]=be(n,M=>[M.comboboxState,M.inputElement,M.optionsElement]),m=md(f),v=u===pe.Open;hd(v,{trigger:o,action:p.useCallback(M=>{if(o!=null&&o.contains(M.target)||f!=null&&f.contains(M.target))return Et.Ignore;let G=M.target.closest('[role="option"]:not([data-disabled])');return mt(G)?Et.Select(G):c!=null&&c.contains(M.target)?Et.Ignore:Et.Close},[o,f,c]),close:n.actions.closeCombobox,select:n.actions.selectActiveOption});let C=ie(M=>{switch(M.key){case ge.Space:case ge.Enter:M.preventDefault(),M.stopPropagation(),n.state.comboboxState===pe.Closed&&Ae.flushSync(()=>n.actions.openCombobox()),m();return;case ge.ArrowDown:M.preventDefault(),M.stopPropagation(),n.state.comboboxState===pe.Closed&&(Ae.flushSync(()=>n.actions.openCombobox()),n.state.dataRef.current.value||n.actions.goToOption({focus:ce.First})),m();return;case ge.ArrowUp:M.preventDefault(),M.stopPropagation(),n.state.comboboxState===pe.Closed&&(Ae.flushSync(()=>n.actions.openCombobox()),n.state.dataRef.current.value||n.actions.goToOption({focus:ce.Last})),m();return;case ge.Escape:if(n.state.comboboxState!==pe.Open)return;M.preventDefault(),n.state.optionsElement&&!r.optionsPropsRef.current.static&&M.stopPropagation(),Ae.flushSync(()=>n.actions.closeCombobox()),m();return;default:return}}),E=za(()=>{n.state.comboboxState===pe.Open?n.actions.closeCombobox():n.actions.openCombobox(),m()}),$=Fn([s]),{isFocusVisible:x,focusProps:w}=Co({autoFocus:h}),{isHovered:N,hoverProps:R}=wo({isDisabled:l}),{pressed:K,pressProps:Y}=ya({disabled:l}),D=Ye({open:u===pe.Open,active:K||u===pe.Open,disabled:l,invalid:r.invalid,value:r.value,hover:N,focus:x}),A=An({ref:a,id:s,type:vd(e,o),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":c?.id,"aria-expanded":u===pe.Open,"aria-labelledby":$,disabled:l||void 0,autoFocus:h,onKeyDown:C},E,w,R,Y);return Fe()({ourProps:A,theirProps:g,slot:D,defaultTag:$2,name:"Combobox.Button"})}let w2="div",C2=tn.RenderStrategy|tn.Static;function x2(e,t){var n,r,o;let i=p.useId(),{id:a=`headlessui-combobox-options-${i}`,hold:d=!1,anchor:s,portal:l=!1,modal:h=!0,transition:g=!1,...u}=e,f=Gn("Combobox.Options"),c=cn("Combobox.Options"),m=es(s);m&&(l=!0);let[v,C]=rs(m),[E,$]=p.useState(null),x=ns(),w=je(t,m?v:null,f.actions.setOptionsElement,$),[N,R,K,Y,D]=be(f,le=>[le.comboboxState,le.inputElement,le.buttonElement,le.optionsElement,le.activationTrigger]),A=Rn(R||K),M=Rn(Y),G=Rr(),[Z,V]=Go(g,E,G!==null?(G&Ve.Open)===Ve.Open:N===pe.Open);dd(Z,R,f.actions.closeCombobox);let J=c.__demoMode?!1:h&&N===pe.Open;bd(J,M);let ne=c.__demoMode?!1:h&&N===pe.Open;ad(ne,{allowed:p.useCallback(()=>[R,K,Y],[R,K,Y])});let Q=be(f,f.selectors.didInputMove)?!1:Z;we(()=>{var le;c.optionsPropsRef.current.static=(le=e.static)!=null?le:!1},[c.optionsPropsRef,e.static]),we(()=>{c.optionsPropsRef.current.hold=d},[c.optionsPropsRef,d]),k1(N===pe.Open,{container:Y,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 X=Fn([K?.id]),I=Ye({open:N===pe.Open,option:void 0}),S=ie(()=>{f.actions.setActivationTrigger($t.Pointer)}),T=ie(le=>{le.preventDefault(),f.actions.setActivationTrigger($t.Pointer)}),j=An(m?x():{},{"aria-labelledby":X,role:"listbox","aria-multiselectable":c.mode===Ze.Multi?!0:void 0,id:a,ref:w,style:{...u.style,...C,"--input-width":Io(Z,R,!0).width,"--button-width":Io(Z,K,!0).width},onWheel:D===$t.Pointer?void 0:S,onMouseDown:T,...Ho(V)}),W=Z&&N===pe.Closed&&!e.static,L=jr(W,(n=c.virtual)==null?void 0:n.options),F=jr(W,c.value),U=p.useCallback(le=>c.compare(F,le),[c.compare,F]),z=p.useMemo(()=>{if(!c.virtual)return c;if(L===void 0)throw new Error("Missing `options` in virtual mode");return L!==c.virtual.options?{...c,virtual:{...c.virtual,options:L}}:c},[c,L,(r=c.virtual)==null?void 0:r.options]);c.virtual&&Object.assign(u,{children:p.createElement(Kn.Provider,{value:z},p.createElement(h2,{slot:I},u.children))});let re=Fe(),ae=p.useMemo(()=>c.mode===Ze.Multi?c:{...c,isSelected:U},[c,U]);return p.createElement(us,{enabled:l?e.static||Z:!1,ownerDocument:A},p.createElement(Kn.Provider,{value:ae},re({ourProps:j,theirProps:{...u,children:p.createElement(Zf,{freeze:W},typeof u.children=="function"?(o=u.children)==null?void 0:o.call(u,I):u.children)},slot:I,defaultTag:w2,features:C2,visible:Q,name:"Combobox.Options"})))}let S2="div";function E2(e,t){var n,r,o;let i=cn("Combobox.Option"),a=Gn("Combobox.Option"),d=p.useId(),{id:s=`headlessui-combobox-option-${d}`,value:l,disabled:h=(o=(r=(n=i.virtual)==null?void 0:n.disabled)==null?void 0:r.call(n,l))!=null?o:!1,order:g=null,...u}=e,[f]=be(a,V=>[V.inputElement]),c=md(f),m=be(a,p.useCallback(V=>a.selectors.isActive(V,l,s),[l,s])),v=i.isSelected(l),C=p.useRef(null),E=St({disabled:h,value:l,domRef:C,order:g}),$=p.useContext(vs),x=je(t,C,$?$.measureElement:null),w=ie(()=>{a.actions.setIsTyping(!1),a.actions.onChange(l)});we(()=>a.actions.registerOption(s,E),[E,s]);let N=be(a,p.useCallback(V=>a.selectors.shouldScrollIntoView(V,l,s),[l,s]));we(()=>{if(N)return Ke().requestAnimationFrame(()=>{var V,J;(J=(V=C.current)==null?void 0:V.scrollIntoView)==null||J.call(V,{block:"nearest"})})},[N,C]);let R=ie(V=>{V.preventDefault(),V.button===_o.Left&&(h||(w(),Uo()||requestAnimationFrame(()=>c()),i.mode===Ze.Single&&a.actions.closeCombobox()))}),K=ie(()=>{if(h)return a.actions.goToOption({focus:ce.Nothing});let V=i.calculateIndex(l);a.actions.goToOption({focus:ce.Specific,idx:V})}),Y=yd(),D=ie(V=>Y.update(V)),A=ie(V=>{if(!Y.wasMoved(V)||h||m&&a.state.activationTrigger===$t.Pointer)return;let J=i.calculateIndex(l);a.actions.goToOption({focus:ce.Specific,idx:J},$t.Pointer)}),M=ie(V=>{Y.wasMoved(V)&&(h||m&&(i.optionsPropsRef.current.hold||a.state.activationTrigger===$t.Pointer&&a.actions.goToOption({focus:ce.Nothing})))}),G=Ye({active:m,focus:m,selected:v,disabled:h}),Z={id:s,ref:x,role:"option",tabIndex:h===!0?void 0:-1,"aria-disabled":h===!0?!0:void 0,"aria-selected":v,disabled:void 0,onMouseDown:R,onFocus:K,onPointerEnter:D,onMouseEnter:D,onPointerMove:A,onMouseMove:A,onPointerLeave:M,onMouseLeave:M};return Fe()({ourProps:Z,theirProps:u,slot:G,defaultTag:S2,name:"Combobox.Option"})}let O2=_e(v2),gs=_e(y2),bs=_e(b2),P2=ja,$s=_e(x2),ys=_e(E2),T2=Object.assign(O2,{Input:bs,Button:gs,Label:P2,Options:$s,Option:ys});function N2(){let e=typeof document>"u";return"useSyncExternalStore"in te?(t=>t.useSyncExternalStore)(te)(()=>()=>{},()=>!1,()=>!e):!1}function ws(){let e=N2(),[t,n]=te.useState(ht.isHandoffComplete);return t&&ht.isHandoffComplete===!1&&n(!1),te.useEffect(()=>{t!==!0&&n(!0)},[t]),te.useEffect(()=>ht.handoff(),[]),e?!1:t}function I2(){let e=p.useRef(!1);return we(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function Cs(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||!kn((t=e.as)!=null?t:Ss)||p.Children.count(e.children)===1}let Br=p.createContext(null);Br.displayName="TransitionContext";var _2=(e=>(e.Visible="visible",e.Hidden="hidden",e))(_2||{});function A2(){let e=p.useContext(Br);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function k2(){let e=p.useContext(Wr);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let Wr=p.createContext(null);Wr.displayName="NestingContext";function Vr(e){return"children"in e?Vr(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function xs(e,t){let n=St(e),r=p.useRef([]),o=I2(),i=Lt(),a=ie((f,c=Dt.Hidden)=>{let m=r.current.findIndex(({el:v})=>v===f);m!==-1&&(ke(c,{[Dt.Unmount](){r.current.splice(m,1)},[Dt.Hidden](){r.current[m].state="hidden"}}),i.microTask(()=>{var v;!Vr(r)&&o.current&&((v=n.current)==null||v.call(n))}))}),d=ie(f=>{let c=r.current.find(({el:m})=>m===f);return c?c.state!=="visible"&&(c.state="visible"):r.current.push({el:f,state:"visible"}),()=>a(f,Dt.Unmount)}),s=p.useRef([]),l=p.useRef(Promise.resolve()),h=p.useRef({enter:[],leave:[]}),g=ie((f,c,m)=>{s.current.splice(0),t&&(t.chains.current[c]=t.chains.current[c].filter(([v])=>v!==f)),t?.chains.current[c].push([f,new Promise(v=>{s.current.push(v)})]),t?.chains.current[c].push([f,new Promise(v=>{Promise.all(h.current[c].map(([C,E])=>E)).then(()=>v())})]),c==="enter"?l.current=l.current.then(()=>t?.wait.current).then(()=>m(c)):m(c)}),u=ie((f,c,m)=>{Promise.all(h.current[c].splice(0).map(([v,C])=>C)).then(()=>{var v;(v=s.current.shift())==null||v()}).then(()=>m(c))});return p.useMemo(()=>({children:r,register:d,unregister:a,onStart:g,onStop:u,wait:l,chains:h}),[d,a,r,g,u,h,l])}let Ss=p.Fragment,Es=tn.RenderStrategy;function F2(e,t){var n,r;let{transition:o=!0,beforeEnter:i,afterEnter:a,beforeLeave:d,afterLeave:s,enter:l,enterFrom:h,enterTo:g,entered:u,leave:f,leaveFrom:c,leaveTo:m,...v}=e,[C,E]=p.useState(null),$=p.useRef(null),x=Cs(e),w=je(...x?[$,t,E]:t===null?[]:[t]),N=(n=v.unmount)==null||n?Dt.Unmount:Dt.Hidden,{show:R,appear:K,initial:Y}=A2(),[D,A]=p.useState(R?"visible":"hidden"),M=k2(),{register:G,unregister:Z}=M;we(()=>G($),[G,$]),we(()=>{if(N===Dt.Hidden&&$.current){if(R&&D!=="visible"){A("visible");return}return ke(D,{hidden:()=>Z($),visible:()=>G($)})}},[D,$,G,Z,R,N]);let V=ws();we(()=>{if(x&&V&&D==="visible"&&$.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[$,D,V,x]);let J=Y&&!K,ne=K&&R&&Y,Q=p.useRef(!1),X=xs(()=>{Q.current||(A("hidden"),Z($))},M),I=ie(U=>{Q.current=!0;let z=U?"enter":"leave";X.onStart($,z,re=>{re==="enter"?i?.():re==="leave"&&d?.()})}),S=ie(U=>{let z=U?"enter":"leave";Q.current=!1,X.onStop($,z,re=>{re==="enter"?a?.():re==="leave"&&s?.()}),z==="leave"&&!Vr(X)&&(A("hidden"),Z($))});p.useEffect(()=>{x&&o||(I(R),S(R))},[R,x,o]);let T=!(!o||!x||!V||J),[,j]=Go(T,C,R,{start:I,end:S}),W=jt({ref:w,className:((r=Eo(v.className,ne&&l,ne&&h,j.enter&&l,j.enter&&j.closed&&h,j.enter&&!j.closed&&g,j.leave&&f,j.leave&&!j.closed&&c,j.leave&&j.closed&&m,!j.transition&&R&&u))==null?void 0:r.trim())||void 0,...Ho(j)}),L=0;D==="visible"&&(L|=Ve.Open),D==="hidden"&&(L|=Ve.Closed),R&&D==="hidden"&&(L|=Ve.Opening),!R&&D==="visible"&&(L|=Ve.Closing);let F=Fe();return p.createElement(Wr.Provider,{value:X},p.createElement(ai,{value:L},F({ourProps:W,theirProps:v,defaultTag:Ss,features:Es,visible:D==="visible",name:"Transition.Child"})))}function M2(e,t){let{show:n,appear:r=!1,unmount:o=!0,...i}=e,a=p.useRef(null),d=Cs(e),s=je(...d?[a,t]:t===null?[]:[t]);ws();let l=Rr();if(n===void 0&&l!==null&&(n=(l&Ve.Open)===Ve.Open),n===void 0)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[h,g]=p.useState(n?"visible":"hidden"),u=xs(()=>{n||g("hidden")}),[f,c]=p.useState(!0),m=p.useRef([n]);we(()=>{f!==!1&&m.current[m.current.length-1]!==n&&(m.current.push(n),c(!1))},[m,n]);let v=p.useMemo(()=>({show:n,appear:r,initial:f}),[n,r,f]);we(()=>{n?g("visible"):!Vr(u)&&a.current!==null&&g("hidden")},[n,u]);let C={unmount:o},E=ie(()=>{var w;f&&c(!1),(w=e.beforeEnter)==null||w.call(e)}),$=ie(()=>{var w;f&&c(!1),(w=e.beforeLeave)==null||w.call(e)}),x=Fe();return p.createElement(Wr.Provider,{value:u},p.createElement(Br.Provider,{value:v},x({ourProps:{...C,as:p.Fragment,children:p.createElement(Os,{ref:s,...C,...i,beforeEnter:E,beforeLeave:$})},theirProps:{},defaultTag:p.Fragment,features:Es,visible:h==="visible",name:"Transition"})))}function L2(e,t){let n=p.useContext(Br)!==null,r=Rr()!==null;return p.createElement(p.Fragment,null,!n&&r?p.createElement(ui,{ref:t,...e}):p.createElement(Os,{ref:t,...e}))}let ui=_e(M2),Os=_e(F2),D2=_e(L2),Ps=Object.assign(ui,{Child:D2,Root:ui}),Ts=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function Ns(e){var t,n;let r=(t=e.innerText)!=null?t:"",o=e.cloneNode(!0);if(!mt(o))return r;let i=!1;for(let d of o.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))d.remove(),i=!0;let a=i?(n=o.innerText)!=null?n:"":r;return Ts.test(a)&&(a=a.replace(Ts,"")),a}function j2(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 a=i.getAttribute("aria-label");return typeof a=="string"?a.trim():Ns(i).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return Ns(e).trim()}function R2(e){let t=p.useRef(""),n=p.useRef("");return ie(()=>{let r=e.current;if(!r)return"";let o=r.innerText;if(t.current===o)return n.current;let i=j2(r).trim().toLowerCase();return t.current=o,n.current=i,i})}var B2=Object.defineProperty,W2=(e,t,n)=>t in e?B2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Is=(e,t,n)=>(W2(e,typeof t!="symbol"?t+"":t,n),n),We=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(We||{}),Wt=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(Wt||{}),Ur=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Ur||{}),_s=(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.SelectOption=5]="SelectOption",e[e.RegisterOptions=6]="RegisterOptions",e[e.UnregisterOptions=7]="UnregisterOptions",e[e.SetButtonElement=8]="SetButtonElement",e[e.SetOptionsElement=9]="SetOptionsElement",e[e.SortOptions=10]="SortOptions",e[e.MarkButtonAsMoved=11]="MarkButtonAsMoved",e))(_s||{});function As(e,t=n=>n){let n=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,r=Vo(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 V2={1(e){if(e.dataRef.current.disabled||e.listboxState===1)return e;let t=e.buttonElement?Tt.Tracked(si(e.buttonElement)):e.buttonPositionState;return{...e,activeOptionIndex:null,pendingFocus:{focus:ce.Nothing},listboxState:1,__demoMode:!1,buttonPositionState:t}},0(e,t){if(e.dataRef.current.disabled||e.listboxState===0)return e;let n=e.activeOptionIndex,{isSelected:r}=e.dataRef.current,o=e.options.findIndex(i=>r(i.dataRef.current.value));return o!==-1&&(n=o),{...e,frozenValue:!1,pendingFocus:t.focus,listboxState:0,activeOptionIndex:n,__demoMode:!1,buttonPositionState:Tt.Idle}},2(e,t){var n,r,o,i,a;if(e.dataRef.current.disabled||e.listboxState===1)return e;let d={...e,searchQuery:"",activationTrigger:(n=t.trigger)!=null?n:1,__demoMode:!1};if(t.focus===ce.Nothing)return{...d,activeOptionIndex:null};if(t.focus===ce.Specific)return{...d,activeOptionIndex:e.options.findIndex(h=>h.id===t.id)};if(t.focus===ce.Previous){let h=e.activeOptionIndex;if(h!==null){let g=e.options[h].dataRef.current.domRef,u=un(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:f=>f.id,resolveDisabled:f=>f.dataRef.current.disabled});if(u!==null){let f=e.options[u].dataRef.current.domRef;if(((r=g.current)==null?void 0:r.previousElementSibling)===f.current||((o=f.current)==null?void 0:o.previousElementSibling)===null)return{...d,activeOptionIndex:u}}}}else if(t.focus===ce.Next){let h=e.activeOptionIndex;if(h!==null){let g=e.options[h].dataRef.current.domRef,u=un(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:f=>f.id,resolveDisabled:f=>f.dataRef.current.disabled});if(u!==null){let f=e.options[u].dataRef.current.domRef;if(((i=g.current)==null?void 0:i.nextElementSibling)===f.current||((a=f.current)==null?void 0:a.nextElementSibling)===null)return{...d,activeOptionIndex:u}}}}let s=As(e),l=un(t,{resolveItems:()=>s.options,resolveActiveIndex:()=>s.activeOptionIndex,resolveId:h=>h.id,resolveDisabled:h=>h.dataRef.current.disabled});return{...d,...s,activeOptionIndex:l}},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(a=>{var d;return!a.dataRef.current.disabled&&((d=a.dataRef.current.textValue)==null?void 0:d.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){return e.dataRef.current.mode===0?{...e,frozenValue:!0}:{...e}},6:(e,t)=>{let n=e.options.concat(t.options),r=e.activeOptionIndex;if(e.pendingFocus.focus!==ce.Nothing&&(r=un(e.pendingFocus,{resolveItems:()=>n,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:o=>o.id,resolveDisabled:o=>o.dataRef.current.disabled})),e.activeOptionIndex===null){let{isSelected:o}=e.dataRef.current;if(o){let i=n.findIndex(a=>o?.(a.dataRef.current.value));i!==-1&&(r=i)}}return{...e,options:n,activeOptionIndex:r,pendingFocus:{focus:ce.Nothing},pendingShouldSort:!0}},7:(e,t)=>{let n=e.options,r=[],o=new Set(t.options);for(let[i,a]of n.entries())if(o.has(a.id)&&(r.push(i),o.delete(a.id),o.size===0))break;if(r.length>0){n=n.slice();for(let i of r.reverse())n.splice(i,1)}return{...e,options:n,activationTrigger:1}},8:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},9:(e,t)=>e.optionsElement===t.element?e:{...e,optionsElement:t.element},10:e=>e.pendingShouldSort?{...e,...As(e),pendingShouldSort:!1}:e,11(e){return e.buttonPositionState.kind!=="Tracked"?e:{...e,buttonPositionState:Tt.Moved}}};class ci extends ko{constructor(t){super(t),Is(this,"actions",{onChange:n=>{let{onChange:r,compare:o,mode:i,value:a}=this.state.dataRef.current;return ke(i,{0:()=>r?.(n),1:()=>{let d=a.slice(),s=d.findIndex(l=>o(l,n));return s===-1?d.push(n):d.splice(s,1),r?.(d)}})},registerOption:Mo(()=>{let n=[],r=new Set;return[(o,i)=>{r.has(i)||(r.add(i),n.push({id:o,dataRef:i}))},()=>(r.clear(),this.send({type:6,options:n.splice(0)}))]}),unregisterOption:Mo(()=>{let n=[];return[r=>n.push(r),()=>{this.send({type:7,options:n.splice(0)})}]}),goToOption:Mo(()=>{let n=null;return[(r,o)=>{n={type:2,...r,trigger:o}},()=>n&&this.send(n)]}),closeListbox:()=>{this.send({type:1})},openListbox:n=>{this.send({type:0,focus:n})},selectActiveOption:()=>{var n;if(this.state.activeOptionIndex!==null){let{dataRef:r}=this.state.options[this.state.activeOptionIndex];this.actions.selectOption(r.current.value)}else this.state.dataRef.current.mode===0&&(this.actions.closeListbox(),(n=this.state.buttonElement)==null||n.focus({preventScroll:!0}))},selectOption:n=>{this.send({type:5,value:n})},search:n=>{this.send({type:3,value:n})},clearSearch:()=>{this.send({type:4})},setButtonElement:n=>{this.send({type:8,element:n})},setOptionsElement:n=>{this.send({type:9,element:n})}}),Is(this,"selectors",{activeDescendantId(n){var r;let o=n.activeOptionIndex,i=n.options;return o===null||(r=i[o])==null?void 0:r.id},isActive(n,r){var o;let i=n.activeOptionIndex,a=n.options;return i!==null?((o=a[i])==null?void 0:o.id)===r:!1},hasFrozenValue(n){return n.frozenValue},shouldScrollIntoView(n,r){return n.__demoMode||n.listboxState!==0||n.activationTrigger===0?!1:this.isActive(n,r)},didButtonMove(n){return n.buttonPositionState.kind==="Moved"}}),this.on(6,()=>{requestAnimationFrame(()=>{this.send({type:10})})});{let n=this.state.id,r=Dn.get(null);this.disposables.add(r.on(Lo.Push,o=>{!r.selectors.isTop(o,n)&&this.state.listboxState===0&&this.actions.closeListbox()})),this.on(0,()=>r.actions.push(n)),this.on(1,()=>r.actions.pop(n))}this.disposables.group(n=>{this.on(1,r=>{r.buttonElement&&(n.dispose(),n.add(cs(r.buttonElement,r.buttonPositionState,()=>{this.send({type:11})})))})}),this.on(5,(n,r)=>{var o;this.actions.onChange(r.value),this.state.dataRef.current.mode===0&&(this.actions.closeListbox(),(o=this.state.buttonElement)==null||o.focus({preventScroll:!0}))})}static new({id:t,__demoMode:n=!1}){return new ci({id:t,dataRef:{current:{}},listboxState:n?0:1,options:[],searchQuery:"",activeOptionIndex:null,activationTrigger:1,buttonElement:null,optionsElement:null,pendingShouldSort:!1,pendingFocus:{focus:ce.Nothing},frozenValue:!1,__demoMode:n,buttonPositionState:Tt.Idle})}reduce(t,n){return ke(n.type,V2,t,n)}}const ks=p.createContext(null);function fi(e){let t=p.useContext(ks);if(t===null){let n=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Fs),n}return t}function Fs({id:e,__demoMode:t=!1}){let n=p.useMemo(()=>ci.new({id:e,__demoMode:t}),[]);return di(()=>n.dispose()),n}let Hr=p.createContext(null);Hr.displayName="ListboxDataContext";function zn(e){let t=p.useContext(Hr);if(t===null){let n=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,zn),n}return t}let U2=p.Fragment;function H2(e,t){let n=p.useId(),r=Cr(),{value:o,defaultValue:i,form:a,name:d,onChange:s,by:l,invalid:h=!1,disabled:g=r||!1,horizontal:u=!1,multiple:f=!1,__demoMode:c=!1,...m}=e;const v=u?"horizontal":"vertical";let C=je(t),E=xa(i),[$=f?[]:void 0,x]=Ca(o,s,E),w=Fs({id:n,__demoMode:c}),N=p.useRef({static:!1,hold:!1}),R=p.useRef(new Map),K=Ga(l),Y=p.useCallback(T=>ke(D.mode,{[Wt.Multi]:()=>$.some(j=>K(j,T)),[Wt.Single]:()=>K($,T)}),[$]),D=Ye({value:$,disabled:g,invalid:h,mode:f?Wt.Multi:Wt.Single,orientation:v,onChange:x,compare:K,isSelected:Y,optionsPropsRef:N,listRef:R});we(()=>{w.state.dataRef.current=D},[D]);let A=be(w,T=>T.listboxState),M=Dn.get(null),G=be(M,p.useCallback(T=>M.selectors.isTop(T,n),[M,n])),[Z,V]=be(w,T=>[T.buttonElement,T.optionsElement]);fd(G,[Z,V],(T,j)=>{w.send({type:_s.CloseListbox}),ld(j,Wo.Loose)||(T.preventDefault(),Z?.focus())});let J=Ye({open:A===We.Open,disabled:g,invalid:h,value:$}),[ne,Q]=Da({inherit:!0}),X={ref:C},I=p.useCallback(()=>{if(E!==void 0)return x?.(E)},[x,E]),S=Fe();return p.createElement(Q,{value:ne,props:{htmlFor:Z?.id},slot:{open:A===We.Open,disabled:g}},p.createElement(is,null,p.createElement(ks.Provider,{value:w},p.createElement(Hr.Provider,{value:D},p.createElement(ai,{value:ke(A,{[We.Open]:Ve.Open,[We.Closed]:Ve.Closed})},d!=null&&$!=null&&p.createElement(Ta,{disabled:g,data:{[d]:$},form:a,onReset:I}),S({ourProps:X,theirProps:m,slot:J,defaultTag:U2,name:"Listbox"}))))))}let G2="button";function K2(e,t){let n=p.useId(),r=To(),o=zn("Listbox.Button"),i=fi("Listbox.Button"),{id:a=r||`headlessui-listbox-button-${n}`,disabled:d=o.disabled||!1,autoFocus:s=!1,...l}=e,h=je(t,ts(),i.actions.setButtonElement),g=zf(),[u,f,c]=be(i,V=>[V.listboxState,V.buttonElement,V.optionsElement]),m=u===We.Open;hd(m,{trigger:f,action:p.useCallback(V=>{if(f!=null&&f.contains(V.target))return Et.Ignore;let J=V.target.closest('[role="option"]:not([data-disabled])');return mt(J)?Et.Select(J):c!=null&&c.contains(V.target)?Et.Ignore:Et.Close},[f,c]),close:i.actions.closeListbox,select:i.actions.selectActiveOption});let v=ie(V=>{switch(V.key){case ge.Enter:vc(V.currentTarget);break;case ge.Space:case ge.ArrowDown:V.preventDefault(),i.actions.openListbox({focus:o.value?ce.Nothing:ce.First});break;case ge.ArrowUp:V.preventDefault(),i.actions.openListbox({focus:o.value?ce.Nothing:ce.Last});break}}),C=ie(V=>{switch(V.key){case ge.Space:V.preventDefault();break}}),E=za(V=>{var J;i.state.listboxState===We.Open?(Ae.flushSync(()=>i.actions.closeListbox()),(J=i.state.buttonElement)==null||J.focus({preventScroll:!0})):(V.preventDefault(),i.actions.openListbox({focus:ce.Nothing}))}),$=ie(V=>V.preventDefault()),x=Fn([a]),w=Ma(),{isFocusVisible:N,focusProps:R}=Co({autoFocus:s}),{isHovered:K,hoverProps:Y}=wo({isDisabled:d}),{pressed:D,pressProps:A}=ya({disabled:d}),M=Ye({open:u===We.Open,active:D||u===We.Open,disabled:d,invalid:o.invalid,value:o.value,hover:K,focus:N,autofocus:s}),G=be(i,V=>V.listboxState===We.Open),Z=An(g(),{ref:h,id:a,type:vd(e,f),"aria-haspopup":"listbox","aria-controls":c?.id,"aria-expanded":G,"aria-labelledby":x,"aria-describedby":w,disabled:d||void 0,autoFocus:s,onKeyDown:v,onKeyUp:C,onKeyPress:$},E,R,Y,A);return Fe()({ourProps:Z,theirProps:l,slot:M,defaultTag:G2,name:"Listbox.Button"})}let Ms=p.createContext(!1),z2="div",q2=tn.RenderStrategy|tn.Static;function Y2(e,t){let n=p.useId(),{id:r=`headlessui-listbox-options-${n}`,anchor:o,portal:i=!1,modal:a=!0,transition:d=!1,...s}=e,l=es(o),[h,g]=p.useState(null);l&&(i=!0);let u=zn("Listbox.Options"),f=fi("Listbox.Options"),[c,m,v,C]=be(f,F=>[F.listboxState,F.buttonElement,F.optionsElement,F.__demoMode]),E=Rn(m),$=Rn(v),x=Rr(),[w,N]=Go(d,h,x!==null?(x&Ve.Open)===Ve.Open:c===We.Open);dd(w,m,f.actions.closeListbox);let R=C?!1:a&&c===We.Open;bd(R,$);let K=C?!1:a&&c===We.Open;ad(K,{allowed:p.useCallback(()=>[m,v],[m,v])});let Y=be(f,f.selectors.didButtonMove)?!1:w,D=be(f,f.selectors.hasFrozenValue)&&!e.static,A=jr(D,u.value),M=p.useCallback(F=>u.compare(A,F),[u.compare,A]),G=be(f,F=>{var U;if(l==null||!((U=l?.to)!=null&&U.includes("selection")))return null;let z=F.options.findIndex(re=>M(re.dataRef.current.value));return z===-1&&(z=0),z}),Z=(()=>{if(l==null)return;if(G===null)return{...l,inner:void 0};let F=Array.from(u.listRef.current.values());return{...l,inner:{listRef:{current:F},index:G}}})(),[V,J]=rs(Z),ne=ns(),Q=je(t,l?V:null,f.actions.setOptionsElement,g),X=Lt();p.useEffect(()=>{let F=v;F&&c===We.Open&&(So(F)||F==null||F.focus({preventScroll:!0}))},[c,v]);let I=ie(F=>{var U;switch(X.dispose(),F.key){case ge.Space:if(f.state.searchQuery!=="")return F.preventDefault(),F.stopPropagation(),f.actions.search(F.key);case ge.Enter:F.preventDefault(),F.stopPropagation(),f.actions.selectActiveOption();break;case ke(u.orientation,{vertical:ge.ArrowDown,horizontal:ge.ArrowRight}):return F.preventDefault(),F.stopPropagation(),f.actions.goToOption({focus:ce.Next});case ke(u.orientation,{vertical:ge.ArrowUp,horizontal:ge.ArrowLeft}):return F.preventDefault(),F.stopPropagation(),f.actions.goToOption({focus:ce.Previous});case ge.Home:case ge.PageUp:return F.preventDefault(),F.stopPropagation(),f.actions.goToOption({focus:ce.First});case ge.End:case ge.PageDown:return F.preventDefault(),F.stopPropagation(),f.actions.goToOption({focus:ce.Last});case ge.Escape:F.preventDefault(),F.stopPropagation(),Ae.flushSync(()=>f.actions.closeListbox()),(U=f.state.buttonElement)==null||U.focus({preventScroll:!0});return;case ge.Tab:F.preventDefault(),F.stopPropagation(),Ae.flushSync(()=>f.actions.closeListbox()),h1(f.state.buttonElement,F.shiftKey?Bo.Previous:Bo.Next);break;default:F.key.length===1&&(f.actions.search(F.key),X.setTimeout(()=>f.actions.clearSearch(),350));break}}),S=be(f,F=>{var U;return(U=F.buttonElement)==null?void 0:U.id}),T=Ye({open:c===We.Open}),j=An(l?ne():{},{id:r,ref:Q,"aria-activedescendant":be(f,f.selectors.activeDescendantId),"aria-multiselectable":u.mode===Wt.Multi?!0:void 0,"aria-labelledby":S,"aria-orientation":u.orientation,onKeyDown:I,role:"listbox",tabIndex:c===We.Open?0:void 0,style:{...s.style,...J,"--button-width":Io(w,m,!0).width},...Ho(N)}),W=Fe(),L=p.useMemo(()=>u.mode===Wt.Multi?u:{...u,isSelected:M},[u,M]);return p.createElement(us,{enabled:i?e.static||w:!1,ownerDocument:E},p.createElement(Hr.Provider,{value:L},W({ourProps:j,theirProps:s,slot:T,defaultTag:z2,features:q2,visible:Y,name:"Listbox.Options"})))}let X2="div";function Z2(e,t){let n=p.useId(),{id:r=`headlessui-listbox-option-${n}`,disabled:o=!1,value:i,...a}=e,d=p.useContext(Ms)===!0,s=zn("Listbox.Option"),l=fi("Listbox.Option"),h=be(l,D=>l.selectors.isActive(D,r)),g=s.isSelected(i),u=p.useRef(null),f=R2(u),c=St({disabled:o,value:i,domRef:u,get textValue(){return f()}}),m=je(t,u,D=>{D?s.listRef.current.set(r,D):s.listRef.current.delete(r)}),v=be(l,D=>l.selectors.shouldScrollIntoView(D,r));we(()=>{if(v)return Ke().requestAnimationFrame(()=>{var D,A;(A=(D=u.current)==null?void 0:D.scrollIntoView)==null||A.call(D,{block:"nearest"})})},[v,u]),we(()=>{if(!d)return l.actions.registerOption(r,c),()=>l.actions.unregisterOption(r)},[c,r,d]);let C=ie(D=>{if(o)return D.preventDefault();l.actions.selectOption(i)}),E=ie(()=>{if(o)return l.actions.goToOption({focus:ce.Nothing});l.actions.goToOption({focus:ce.Specific,id:r})}),$=yd(),x=ie(D=>$.update(D)),w=ie(D=>{$.wasMoved(D)&&(o||h&&l.state.activationTrigger===Ur.Pointer||l.actions.goToOption({focus:ce.Specific,id:r},Ur.Pointer))}),N=ie(D=>{$.wasMoved(D)&&(o||h&&l.state.activationTrigger===Ur.Pointer&&l.actions.goToOption({focus:ce.Nothing}))}),R=Ye({active:h,focus:h,selected:g,disabled:o,selectedOption:g&&d}),K=d?{}:{id:r,ref:m,role:"option",tabIndex:o===!0?void 0:-1,"aria-disabled":o===!0?!0:void 0,"aria-selected":g,disabled:void 0,onClick:C,onFocus:E,onPointerEnter:x,onMouseEnter:x,onPointerMove:w,onMouseMove:w,onPointerLeave:N,onMouseLeave:N},Y=Fe();return!g&&d?null:Y({ourProps:K,theirProps:a,slot:R,defaultTag:X2,name:"Listbox.Option"})}let J2=p.Fragment;function Q2(e,t){let{options:n,placeholder:r,...o}=e,i={ref:je(t)},a=zn("ListboxSelectedOption"),d=Ye({}),s=a.value===void 0||a.value===null||a.mode===Wt.Multi&&Array.isArray(a.value)&&a.value.length===0,l=Fe();return p.createElement(Ms.Provider,{value:!0},l({ourProps:i,theirProps:{...o,children:p.createElement(p.Fragment,null,r&&s?r:n)},slot:d,defaultTag:J2,name:"ListboxSelectedOption"}))}let e3=_e(H2),Ls=_e(K2),t3=ja,Ds=_e(Y2),js=_e(Z2),n3=_e(Q2),r3=Object.assign(e3,{Button:Ls,Label:t3,Options:Ds,Option:js,SelectedOption:n3});function o3({title:e,titleId:t,...n},r){return te.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?te.createElement("title",{id:t},e):null,te.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 Rs=te.forwardRef(o3),Ue={select:"_select_fcnvh_1",selectContainer:"_selectContainer_fcnvh_4",selectButton:"_selectButton_fcnvh_7",open:"_open_fcnvh_13",selectValue:"_selectValue_fcnvh_16",placeholder:"_placeholder_fcnvh_19",seletIcon:"_seletIcon_fcnvh_22",selectText:"_selectText_fcnvh_25",chevronDownIconSpan:"_chevronDownIconSpan_fcnvh_28",chevronDownIcon:"_chevronDownIcon_fcnvh_28",leave:"_leave_fcnvh_35",leaveFrom:"_leaveFrom_fcnvh_39",leaveTo:"_leaveTo_fcnvh_43",selectOptions:"_selectOptions_fcnvh_47"},Bs=({children:e,selected:t,onSelect:n,themeColor:r,placeholder:o})=>{const[i,a]=p.useState(!1),[d,s]=p.useState(!1),[l,h]=p.useState(!1),g=p.useRef(null),u=p.useRef(null),f=p.useRef(null),[c,m]=p.useState({left:0,top:0}),[v,C]=p.useState(!1),E=p.useRef(0),$=p.useRef(0);let x="#333333";const w=()=>{E.current=window.innerHeight,$.current=document.body.scrollHeight,a(!0)};p.useEffect(()=>(w(),window.addEventListener("resize",w),()=>{window.removeEventListener("resize",w)}),[]);const N=()=>$.current-(E.current+window.scrollY),R=()=>{if(g.current){const A=g.current.getBoundingClientRect();C(!1),setTimeout(()=>{const M=f?.current?.getBoundingClientRect(),G=N(),Z=E.current-A.bottom;if(M){const V=M.height,J=A.top,ne=V>=J+window.scrollY,Q=V>=J&&(ne||G>=V||Z>=V)||J>=V&&Z>=V?A.y+A.height:A.y-V;m({left:A.left,top:Q??A.top}),C(!0)}},0)}};if(p.useEffect(()=>(window.addEventListener("scroll",R),window.addEventListener("resize",R),()=>{window.removeEventListener("scroll",R),window.removeEventListener("resize",R)}),[]),r){r=Qe.convert3HexTo6(r);const A=Ct(r);(A==="dark"||A==="light")&&(x=r==="#ffffff"?"#c8c8c8":r)}const K=A=>{n(A)},Y=()=>h(!0),D=()=>h(!1);return _.jsx(r3,{value:t,onChange:K,children:({open:A})=>(A!==d&&(s(A),A?R():C(!1)),_.jsxs("div",{className:Ue.select,children:[_.jsx("div",{className:Ue.selectContainer,ref:g,children:_.jsxs(Ls,{ref:u,"data-testid":"select-options",onFocus:Y,onBlur:D,className:`${Ue.selectButton} ${A?Ue.open:""}`,style:{borderBottomColor:r&&(l||A)?x:""},children:[t?_.jsxs("span",{className:Ue.selectValue,children:[t.avatar&&_.jsx("img",{src:t.avatar,alt:"",className:Ue.seletIcon}),_.jsx("span",{className:Ue.selectText,children:t.label})]}):o&&_.jsx("span",{className:`${Ue.selectValue} ${Ue.placeholder}`,children:o}),_.jsx("span",{className:Ue.chevronDownIconSpan,children:_.jsx(Rs,{className:Ue.chevronDownIcon,"aria-hidden":"true","data-open":d?!0:void 0})})]})}),i&&Ae.createPortal(A&&_.jsx("div",{style:{position:"fixed",inset:0,backgroundColor:"rgba(255,255,255,0)",zIndex:1e3},children:_.jsx("div",{ref:f,style:{position:"absolute",opacity:v?1:0,width:g.current?.clientWidth??"auto",left:c.left,top:c.top},children:e})}),document.body)]}))})},Ws=({children:e,setQuery:t})=>_.jsx(Ps,{as:p.Fragment,leave:Ue.leave,leaveFrom:Ue.leaveFrom,leaveTo:Ue.leaveTo,afterLeave:()=>t(""),children:_.jsx(Ds,{className:Ue.selectOptions,children:e})}),pi=p.forwardRef((e,t)=>_.jsx(js,{ref:t,className:e.className,value:e.value,disabled:e.disable,children:e.children}));pi.displayName="SelectOption";const it={autocomplete:"_autocomplete_29ukn_1",autocompleteContainer:"_autocompleteContainer_29ukn_4",disable:"_disable_29ukn_7",autocompleteInput:"_autocompleteInput_29ukn_16",autocompleteButton:"_autocompleteButton_29ukn_34",chevronDownIcon:"_chevronDownIcon_29ukn_44",leave:"_leave_29ukn_57",leaveFrom:"_leaveFrom_29ukn_61",leaveTo:"_leaveTo_29ukn_65",autocompleteOptions:"_autocompleteOptions_29ukn_69"},i3=({children:e,selected:t,onSelect:n,setQuery:r=()=>{},disable:o,clearSearch:i=!1,themeColor:a})=>{const d=p.useRef(null),s=p.useRef(null),l=p.useRef(null),h=p.useRef(null),[g,u]=p.useState(!1),[f,c]=p.useState(!1),[m,v]=p.useState(!1),[C,E]=p.useState({top:0,left:0}),[$,x]=p.useState(!1),w=p.useRef(0),N=p.useRef(0);let R={};p.useEffect(()=>{d.current&&t&&(d.current.value=t.label||"")},[t]),p.useEffect(()=>{w.current=window.innerHeight,N.current=document.body.scrollHeight,v(!0)},[]);const K=p.useCallback(()=>{if(l.current){const M=window.visualViewport,G=l.current.getBoundingClientRect();x(!1),setTimeout(()=>{const Z=h?.current?.getBoundingClientRect();let V=G.left,J=G.y+G.height,ne=window.innerHeight-G.bottom,Q=document.body.scrollHeight-(window.innerHeight+window.scrollY);if(M&&(V=G.left+M.offsetLeft,J=G.top+G.height+M.offsetTop,ne=M.height-(G.bottom-M.offsetTop),Q=document.body.scrollHeight-(M.height+M.pageTop)),Z){const X=Z.height,I=G.top,S=X>=I+window.scrollY,T=X>=I&&(S||Q>=X||ne>=X)||I>=X&&ne>=X?J:(M?G.top+M.offsetTop:G.y)-X;E({left:V,top:T??(M?G.top+M.offsetTop:G.top)}),x(!0)}},0)}},[]);p.useEffect(()=>(window.addEventListener("scroll",K),window.addEventListener("resize",K),()=>{window.removeEventListener("scroll",K),window.removeEventListener("resize",K)}),[]);const Y=()=>{typeof f<"u"&&d.current&&(f?(d.current.dispatchEvent(new KeyboardEvent("keydown",{key:"Escape",bubbles:!0})),u(!1)):(K(),u(!0),t&&(d.current.value=t.label||""),i&&(d.current.value="",r("")),d.current.dispatchEvent(new KeyboardEvent("keydown",{key:"ArrowDown",bubbles:!0}))))},D=()=>{u(!0)},A=()=>{u(!1)};if(a){const M=Ct(a);a=Qe.convert3HexTo6(a);let G;a==="#ffffff"?G="#c8c8c8":g?G=a:G="#333333",(M==="dark"||M==="light")&&(R={borderBottomColor:G})}return _.jsx(T2,{value:t,onChange:n,disabled:o,children:({open:M})=>(M!==f&&(c(M),M?K():x(!1)),_.jsxs("div",{className:it.autocomplete,children:[_.jsxs("div",{ref:l,className:`${it.autocompleteContainer} ${o?it.disable:""}`,children:[_.jsx(bs,{ref:d,"data-testid":"select-input",className:it.autocompleteInput,displayValue:G=>G?.label||"",onChange:G=>{r(G.target.value)},onClick:Y,onFocus:D,onBlur:A,style:{...R},placeholder:"Select your option",autoComplete:"off"}),_.jsx(gs,{className:it.autocompleteButton,"data-testid":"select-button",ref:s,children:_.jsx(Rs,{className:`${it.chevronDownIcon} ${o?it.disable:""}`,"aria-hidden":"true","data-open":M?!0:void 0})})]}),m?Ae.createPortal(_.jsx(_.Fragment,{children:M&&_.jsx("div",{style:{position:"fixed",inset:0,backgroundColor:"rgba(255,255,255,0)",zIndex:1e3},children:_.jsx("div",{ref:h,style:{position:"absolute",opacity:$?1:0,width:l.current?l.current.clientWidth:"auto",left:C.left,top:C.top,zIndex:1e3},children:e})})}),document.body):null]}))})},a3=({children:e,setQuery:t})=>_.jsx(Ps,{as:p.Fragment,leave:it.leave,leaveFrom:it.leaveFrom,leaveTo:it.leaveTo,afterLeave:()=>t(""),children:_.jsx($s,{className:it.autocompleteOptions,children:e})}),Vs=p.forwardRef((e,t)=>_.jsx(ys,{ref:t,className:e.className,value:e.value,disabled:e.disable,children:e.children}));Vs.displayName="AutoCompleteOption";const Us={textInputWrapper:"_textInputWrapper_gym4n_1",textInput:"_textInput_gym4n_1"},Hs=p.memo(p.forwardRef(({themeColor:e="",style:t={},className:n="",onFocus:r,onBlur:o,...i},a)=>{const[d,s]=p.useState(!1);let l={};const h=[Us.textInput,n].filter(Boolean).join(" ");e=Qe.convert3HexTo6(e);const g=()=>{s(!0)},u=()=>{s(!1)};return l={borderBottomColor:d?e!=="#ffffff"?e:"#c8c8c8":""},_.jsx("div",{className:Us.textInputWrapper,children:_.jsx("input",{type:"text","data-testid":"textbox-input",ref:a,className:h,onFocus:g,onBlur:u,style:{...l,...t},...i})})})),Vt={phoneWrapper:"_phoneWrapper_dwcpz_1",countryCode:"_countryCode_dwcpz_4",phoneInputWrap:"_phoneInputWrap_dwcpz_11",phoneInput:"_phoneInput_dwcpz_11",serverError:"_serverError_dwcpz_17",phonNumberList:"_phonNumberList_dwcpz_21",active:"_active_dwcpz_30",countryListText:"_countryListText_dwcpz_33"},Gs={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[02-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]|3[23]|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]|3[23]|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}|(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|47[35]|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|(?:2(?:657|9(?:54|66))|3(?:48[27]|7(?:55|77)|8(?:65|78)))[2-8]\\d{5}|(?:2(?:284|3(?:02|23)|477|622|920)|3(?:4(?:46|89|92)|541))[2-7]\\d{5}|(?:(?:11[1-8]|670)\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[25][4-6]|3[3-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|1[2-7]|3[4-6]|5[3-6]|7[2-6]|8[3-68])))\\d{6}|(?:2(?:2(?:62|81)|320|9(?:42|83))|3(?:329|4(?:62|7[16])|5(?:43|64)|7(?:18|5[17])))[2-6]\\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)|5(?:25|37|4[47]|71)|7(?:35|72)|825))[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[3-5]|8[26])|8(?:2[67]|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}|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(?:657|9(?:54|66))|3(?:48[27]|7(?:55|77)|8(?:65|78)))[2-8]\\d{5}|9(?:2(?:284|3(?:02|23)|477|622|920)|3(?:4(?:46|89|92)|541))[2-7]\\d{5}|(?:675\\d|9(?:11[1-8]\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[25][4-6]|3[3-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|1[2-7]|3[4-6]|5[3-6]|7[2-6]|8[3-68]))))\\d{6}|9(?:2(?:2(?:62|81)|320|9(?:42|83))|3(?:329|4(?:62|7[16])|5(?:43|64)|7(?:18|5[17])))[2-6]\\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)|5(?:25|37|4[47]|71)|7(?:35|72)|825))[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[3-5]|8[26])|8(?:2[67]|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",[["684(?:274|6(?:22|33|44|55|77|88|9[19]))\\d{4}"],["684(?:2(?:48|5[2468]|7[246])|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]|3[23]|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(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]","(?:31|4)6|51|6(?:485|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)\\d{3,10}|648[34]\\d{3,9}|(?: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-7]|5[468])|7(?:2[1-8]|35|4[13478]|5[68]|6[16-8]|7[1-6]|9[45]))\\d{4,10}"],["6(?:485|(?:5[0-3579]|6[013-9]|[7-9]\\d)\\d)\\d{3,9}",[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,[["(?:(?:241|349)0\\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])|[34]\\d\\d)|91(?:(?:[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}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-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]|3[23]|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|44)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[024-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]|44|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|6[124-9]|7[125-9])\\d{6}"]]],BJ:["229","00","(?:01\\d|8)\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]],0,0,0,0,0,0,[["012\\d{7}",[10]],["01(?:2[5-9]|[4-69]\\d)\\d{6}",[10]],0,0,0,0,["81\\d{6}",[8]],0,["857[58]\\d{4}",[8]]]],BL:["590","00","(?:590\\d|7090)\\d{5}|(?:69|[89]\\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\\d{7}"],["8[129]\\d{7}"],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]|3[23]|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-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37|86)","300|4(?:0(?:0|20)|370|864)"]],["(\\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]],["[59]00\\d{6,7}",[9,10]],0,0,0,0,0,["(?:30[03]\\d{3}|4(?:0(?:0\\d|20)|370|864))\\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]|3[23]|44|66|77|88)[2-9]\\d{6}"],0,["242225\\d{4}"]]],BT:["975","00","[178]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-6]|7[246]|8[2-4]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|[78]"]]],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]|[78]7)\\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-8])|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|5[07]|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]|3[23]|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-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-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[016-9])\\d{7}",[7,9]]]],CF:["236","00","8776\\d{4}|(?:[27]\\d|61)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-8]"]]],0,0,0,0,0,0,[["(?:2[12]|61)\\d{6}"],["7[02-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{3})(\\d{3})(\\d{3})","$1 $2 $3",["60|809"]],["(\\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(?:10|[2-9])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[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|50)\\d|3(?:[034679]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-389])|600)|646[59])|(?:600|80[1-9])\\d\\d|9(?:(?:10[0-2]|7[1-9]\\d)\\d|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]))|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]],["2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:(?:2\\d|50)\\d|3(?:[034679]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-389])|600)|646[59])|80[1-8]\\d\\d|9(?:(?:10[0-2]|7[1-9]\\d)\\d|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]))|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]],["(?: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]|9[14]"]],["(\\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(?:[18][1-9]|[24-7][2-9]))\\d{6}",[8,10]],["333301[0-5]\\d{3}|3333(?:00|2[5-9]|[3-9]\\d)\\d{4}|(?:3(?:(?:0[0-5]|1\\d|5[01]|70)\\d|2(?:[0-3]\\d|4[1-9])|3(?:00|3[0-24-9]))|9(?:101|408))\\d{6}",[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-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-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]],["7(?:060\\d|19(?:[0-5]\\d|6[0-6]))\\d{4}|(?:60[1-8]|7(?:0[2-5]|[2379]\\d))\\d{6}",[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]|3[13])"],"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|3(?:10|33))|7[26-9]\\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]|3[23]|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}"],["800(?:14|[2-9]\\d)\\d{5}|8[024]9[01]\\d{6}|8(?: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]|3[23]|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-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[013-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,0,[["528[89]\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[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}"],["96906(?:09|10)\\d\\d|(?:590(?:10[0-2]|600)|97390\\d)\\d{3}|(?: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,[["(?:11(?:[124]\\d\\d|3(?:[0-79]\\d|8[0-7])|5(?:[02-9]\\d|1[0-57-9])|6(?:[02-79]\\d|1[0-57-9]|8[0-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]|2[1-35-79]|3\\d|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|180020",0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\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[59]|73|90)|63[68]|7(?:58|84)|800|938)\\d{4}"],["473(?:4(?:0[2-79]|1[04-9]|2[0-5]|49|5[6-8])|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]|3[23]|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(?:1[09]|70)|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|1[12]|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-6])|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|22)\\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","7093\\d{5}|(?:[56]94|[89]\\d\\d)\\d{6}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|80[6-9]|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)|80[6-9]\\d\\d)\\d{4}"],["(?:694(?:[0-249]\\d|3[0-8])|7093[0-3])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],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|180020","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[0-589]\\d\\d)\\d{3}"],["556\\d{4}|(?:[23679]\\d|4[015]|5[0-489]|8[67])\\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|[89]\\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\\d{7}"],["8[129]\\d{7}"],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]|3[23]|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}"],["(?:51[01]|6\\d\\d|7(?:[0-5]\\d|6[0-79]|70))\\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-5]))|58(?:0[1-9]|1[2-9]))\\d{4}",[8]],["(?:4(?:(?:09|24)[3-6]|44[0-35-9]|6(?:4[0-57-9]|6[0-6])|7(?:4[0-48]|6[0-5]))|5(?:25[3-7]|35[4-8]|73[0-6]|95[0-8])|6(?:26[013-8]|(?:66|78)[0-5])|70(?:7[1-8]|8[0-8])|84(?:4[0-2]|8[0-35-9])|9(?:29[013-9]|39[014-9]|59[0-467]|899))\\d{4}|(?:4(?:4[0-35-9]|6[0-357-9]|7[0-35])|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","[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}",[7,8,9],[["(\\d{2})(\\d{2})(\\d{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}"],["6[01459]\\d{6}|6[01]\\d{5}",[7,8]],["7[45]\\d{6}",[8]],0,["62\\d{6,7}|72\\d{6}",[8,9]]]],HT:["509","00","[2-589]\\d{7}",[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|5[568])\\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(?:0[0-2]|[16]0)|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[3-5]|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(?:[05]\\d|8[0138])|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|180020","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|8(?:28[235-7]|3))|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])\\d|8(?:[14-6]\\d|2[0-79]))|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",["16|[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["18[06]","18[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)|6828[235-7]\\d)\\d{4}|(?:170[24]|280[13468]|4(?:20[24]|72[2-8])|552[1-7])\\d{6}|(?:271[0-689]|682[0-79]|782[0-6])[2-7]\\d{5}|(?:2(?:[02][2-79]|90)|3(?:23|80)|683|79[1-7])\\d{7}|(?: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[14-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]],["(?:6(?:1279|828[01489])|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\d{5}|(?:160[01]|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])\\d|7(?:[235689]\\d|4[0189])|8(?:[14-6]\\d|2[0-79]))|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}|180(?: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(?:[02689]0\\d|121)|4(?:111|40\\d))\\d{4}",[6,7,10]],["9(?:(?:0[0-5]|[13]\\d|2[0-3])\\d\\d|9(?:[0-46]\\d\\d|5(?:10|5\\d)|8(?:[12]\\d|88)|9(?:[01359]\\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,11}|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",["[03]"]]],0,0,0,0,0,0,[["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|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[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["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|180020","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(?:[5-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}"],["(?:6582(?:[0-4]\\d|95)|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]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|427|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",["[47]"],"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]],["(?:427|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}|[25-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",["3|4(?:2[09]|7[01])|6[1-9]","3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"],"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",["[25-9]"],"0$1"]],"0",0,"(000[2569]\\d{4,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]],["(?:601[0-4]0|[7-9]0[1-9]\\d\\d)\\d{5}",[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\\d|2[014]|[34]0)|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]|3[23]|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(?:00|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]|4(?:1[2-6]|2[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]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],KZ:["7","810","8\\d{13}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"7",[["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",["3"],"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]],["(?:20(?:[23579]\\d|8[78])|30[24]\\d)\\d{6}|30\\d{7}",[9,10]]]],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-6]|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-6]|9[04-9])\\d{4}|(?:[14-69]\\d|2(?:[14-69]\\d|[78][1-9])|7[2-57]|8[02-9])\\d{5}"],["(?:(?:3|81)\\d|7(?:[01]\\d|6[013-9]|8[7-9]|9[0-4]))\\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]|3[23]|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[024]|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\\d)\\d|6(?:[024-68]\\d|1[01]|3[7-9]|70))\\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","(?:[2457]\\d|33|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|7(?:6[01]|7\\d)|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",["20"]],["(\\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]"]],["(\\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",["20"]]],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(?:[26][18]|5[1568]|7[189]|81|9[128])\\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|78|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2679]|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{4})(\\d{5})","$1-$2",["892"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8(?:0[0-7]|9)"],"0$1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[5-8]"],"0$1"]],"0",0,0,0,0,"[5-8]",[["5(?:(?:18|4[0679]|5[03])\\d|2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-9])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9]))\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[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]|[67]\\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",["[67]"],"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|[67]\\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|[89]\\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\\d{7}"],["8[129]\\d{7}"],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-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[0-3]|[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]|7[0-2]|83)|6)|2(?:2(?:00|8[34])|4(?:0\\d|22|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}"],["92[0139]\\d{5}|(?:5[05]|6[069]|7[28]|8[0135689]|9[013-9])\\d{6}",[8]],0,0,0,0,0,0,["712[0-79]\\d{4}|7(?:1[013-9]|[5-79]\\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]|3[23]|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]|3[23]|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-8])|4(?:[013568]\\d|2[0-24-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-7]|3[013]))\\d{5}",[8]],["802\\d{7}|80[0-2]\\d{4}",[7,10]],["30\\d{5}",[7]],0,0,0,["219\\d{4}",[7]],["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,[["(?: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-36-9]|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}"],["(?: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-36-9]|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,[["427[01]\\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-79]|6[02-4]))|(?:[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","(?:20|9\\d)\\d{8}|[78]\\d{9,13}",[10,11,12,13,14],[["(\\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])\\d{6}",[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}"],0,0,0,["700\\d{7,11}"]]],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[0-24-6]|8[0-24-68])\\d{7}",[10]],["1(?:66001|800\\d\\d)\\d{5}",[11]]]],NR:["674","00","(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[24-9]"]]],0,0,0,0,0,0,[["444\\d{4}"],["(?:222|55[3-9]|666|777|8\\d\\d|999)\\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[124-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[0479]|2[37]|3[0137]|4[147]|5[05]|6[058]|7[0167]|8[2358]|9[1389])|2(?:[0235-79]\\d|1[0-7]|4[013-9]|8[02-9])|3(?:[0147-9]\\d|[25][0-5]|33|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[4-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-48])\\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",["30|(?: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","30|(?: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,[["(?:30|47\\d\\d)\\d{5}|(?: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]],["21(?:1[013-5]|2\\d|3[1-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","[78]\\d{8}|[2-9]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[2-9]"],"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,[["80[6-9]\\d{6}|(?:[236-9]\\d|4[1-35-9]|5[0-47-9])\\d{4}"],["708(?:4[0-5]|5[0-6])\\d{4}|(?:[236-9]\\d|4[02-489]|5[02-9])\\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]|3[23]|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|89(?:00|88|99))\\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","[36-8]\\d{5,8}|4\\d{6,8}|59\\d{6}|9\\d{5,10}|(?:2\\d|5[0-8])\\d{6,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",["3[289]|4[246-8]|61|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,[["(?:3[289]|4[246-8]|61|7[1-3]|8[1-36])\\d{5,7}|(?:2(?:[14-68]\\d|2[4-68]|7[15]|9[1-5])|3(?:18|3[167]|4[2357]|51|[67]\\d)|4(?:1\\d|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,["[245]0\\d{6,7}|[36-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[136]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]],0,0,0,0,0,0,[["4(?:(?:[014]\\d\\d|999)\\d|2022)\\d{3}",[8]],["[35-7]\\d{7}",[8]],["800\\d{4}|(?:0080[01]|800)\\d{6}",[7,9,11]],0,0,0,0,["2[136]\\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[0-3]|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,"[3489]",[["(?:3(?:0[12]|36|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-7]|6[0-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","(?:[15]\\d|800|92)\\d{7}",[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{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[0-8]\\d{5}|5(?:[013-689]\\d|7[0-8])\\d{6}",[9]],["800\\d{7}",[10]],["925\\d{6}",[9]],0,0,0,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]],["89(?:8[02-9]|9[0-6])\\d{4}|(?:8(?:0[1-9]|[1-8]\\d|9[0-7])|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\\d|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(?:[015-8]\\d|21|90)\\d{6}"],["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]|[6-8]\\d|90)\\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-9]"]]],0,0,0,0,0,0,[["(?:2[1-3]|3[0-7]|4\\d|5[2-58])\\d{4}",[6]],["(?:6[08]|7[124-7]|8[1-9])\\d{5}",[7]],["80\\d{5}",[7]],["90\\d{5}",[7]],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","[25-7]\\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",["[25-7]"]],["(\\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]],["[5-7]\\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]|3[23]|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-9])\\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[5-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]|3[23]|44|66|77|88)[2-9]\\d{6}"],0,0,0,["649(?:71[01]|966)\\d{4}"]]],TD:["235","00|16","(?:22|30|[689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[236-9]"]]],0,0,0,0,0,0,[["22(?:[37-9]0|5[0-5]|6[89])\\d{4}"],["(?:30|[69]\\d|77|8[5-7])\\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-289]|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|66)\\d{7}",[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",["\\d"]]],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]|3[08]|40|5[05]|66|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-579]|61)","5(?:[0-579]|61[06])","5(?:[0-579]|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]|[27]4|[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}"],["868800\\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]|3[23]|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[1-35-9]|7[013-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(?:[014-8]\\d|2[0167]|3[06]|9[0-3589])\\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,[["(?:274[27]|(?:472|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-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|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-57-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-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|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-3589]|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]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}",[4,5,6,7,8,9,10,11,12,13],[["(\\d{4,5})","$1",["21"]],["(\\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}",[6,7,8,9,10,11,12,13]],["90[0-8]\\d{4}",[7]],0,0,["21\\d{2,3}",[4,5]]],"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])|[168]\\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[078]|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}|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]|3[23]|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]|3[23]|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]|3[23]|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[0-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-8]|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,[["(?: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)|(?:50[0-2]|[67]\\d\\d)\\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|[579]\\d|63)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[579]"],"0$1"]],"0",0,0,0,0,0,[["21[1-8]\\d{6}"],["(?:[59][5-8]|7[5-9])\\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|5[12]"]],["(\\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})|5(?:0\\d{3}|2[0-2]))\\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 Gr={exports:{}},Kr={exports:{}},$e={};/** @license React v16.13.1
|
|
48
|
-
* react-is.production.min.js
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
*
|
|
52
|
-
* This source code is licensed under the MIT license found in the
|
|
53
|
-
* LICENSE file in the root directory of this source tree.
|
|
54
|
-
*/var Ks;function d3(){if(Ks)return $e;Ks=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,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,d=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,g=e?Symbol.for("react.suspense"):60113,u=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,c=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,C=e?Symbol.for("react.responder"):60118,E=e?Symbol.for("react.scope"):60119;function $(w){if(typeof w=="object"&&w!==null){var N=w.$$typeof;switch(N){case t:switch(w=w.type,w){case s:case l:case r:case i:case o:case g:return w;default:switch(w=w&&w.$$typeof,w){case d:case h:case c:case f:case a:return w;default:return N}}case n:return N}}}function x(w){return $(w)===l}return $e.AsyncMode=s,$e.ConcurrentMode=l,$e.ContextConsumer=d,$e.ContextProvider=a,$e.Element=t,$e.ForwardRef=h,$e.Fragment=r,$e.Lazy=c,$e.Memo=f,$e.Portal=n,$e.Profiler=i,$e.StrictMode=o,$e.Suspense=g,$e.isAsyncMode=function(w){return x(w)||$(w)===s},$e.isConcurrentMode=x,$e.isContextConsumer=function(w){return $(w)===d},$e.isContextProvider=function(w){return $(w)===a},$e.isElement=function(w){return typeof w=="object"&&w!==null&&w.$$typeof===t},$e.isForwardRef=function(w){return $(w)===h},$e.isFragment=function(w){return $(w)===r},$e.isLazy=function(w){return $(w)===c},$e.isMemo=function(w){return $(w)===f},$e.isPortal=function(w){return $(w)===n},$e.isProfiler=function(w){return $(w)===i},$e.isStrictMode=function(w){return $(w)===o},$e.isSuspense=function(w){return $(w)===g},$e.isValidElementType=function(w){return typeof w=="string"||typeof w=="function"||w===r||w===l||w===i||w===o||w===g||w===u||typeof w=="object"&&w!==null&&(w.$$typeof===c||w.$$typeof===f||w.$$typeof===a||w.$$typeof===d||w.$$typeof===h||w.$$typeof===v||w.$$typeof===C||w.$$typeof===E||w.$$typeof===m)},$e.typeOf=$,$e}var ye={};/** @license React v16.13.1
|
|
55
|
-
* react-is.development.js
|
|
56
|
-
*
|
|
57
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
58
|
-
*
|
|
59
|
-
* This source code is licensed under the MIT license found in the
|
|
60
|
-
* LICENSE file in the root directory of this source tree.
|
|
61
|
-
*/var zs;function s3(){return zs||(zs=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,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,d=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,g=e?Symbol.for("react.suspense"):60113,u=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,c=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,C=e?Symbol.for("react.responder"):60118,E=e?Symbol.for("react.scope"):60119;function $(P){return typeof P=="string"||typeof P=="function"||P===r||P===l||P===i||P===o||P===g||P===u||typeof P=="object"&&P!==null&&(P.$$typeof===c||P.$$typeof===f||P.$$typeof===a||P.$$typeof===d||P.$$typeof===h||P.$$typeof===v||P.$$typeof===C||P.$$typeof===E||P.$$typeof===m)}function x(P){if(typeof P=="object"&&P!==null){var oe=P.$$typeof;switch(oe){case t:var Se=P.type;switch(Se){case s:case l:case r:case i:case o:case g:return Se;default:var B=Se&&Se.$$typeof;switch(B){case d:case h:case c:case f:case a:return B;default:return oe}}case n:return oe}}}var w=s,N=l,R=d,K=a,Y=t,D=h,A=r,M=c,G=f,Z=n,V=i,J=o,ne=g,Q=!1;function X(P){return Q||(Q=!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.")),I(P)||x(P)===s}function I(P){return x(P)===l}function S(P){return x(P)===d}function T(P){return x(P)===a}function j(P){return typeof P=="object"&&P!==null&&P.$$typeof===t}function W(P){return x(P)===h}function L(P){return x(P)===r}function F(P){return x(P)===c}function U(P){return x(P)===f}function z(P){return x(P)===n}function re(P){return x(P)===i}function ae(P){return x(P)===o}function le(P){return x(P)===g}ye.AsyncMode=w,ye.ConcurrentMode=N,ye.ContextConsumer=R,ye.ContextProvider=K,ye.Element=Y,ye.ForwardRef=D,ye.Fragment=A,ye.Lazy=M,ye.Memo=G,ye.Portal=Z,ye.Profiler=V,ye.StrictMode=J,ye.Suspense=ne,ye.isAsyncMode=X,ye.isConcurrentMode=I,ye.isContextConsumer=S,ye.isContextProvider=T,ye.isElement=j,ye.isForwardRef=W,ye.isFragment=L,ye.isLazy=F,ye.isMemo=U,ye.isPortal=z,ye.isProfiler=re,ye.isStrictMode=ae,ye.isSuspense=le,ye.isValidElementType=$,ye.typeOf=x})()),ye}var qs;function Ys(){return qs||(qs=1,process.env.NODE_ENV==="production"?Kr.exports=d3():Kr.exports=s3()),Kr.exports}/*
|
|
62
|
-
object-assign
|
|
63
|
-
(c) Sindre Sorhus
|
|
64
|
-
@license MIT
|
|
65
|
-
*/var hi,Xs;function l3(){if(Xs)return hi;Xs=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function o(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var a={},d=0;d<10;d++)a["_"+String.fromCharCode(d)]=d;var s=Object.getOwnPropertyNames(a).map(function(h){return a[h]});if(s.join("")!=="0123456789")return!1;var l={};return"abcdefghijklmnopqrst".split("").forEach(function(h){l[h]=h}),Object.keys(Object.assign({},l)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return hi=o()?Object.assign:function(i,a){for(var d,s=r(i),l,h=1;h<arguments.length;h++){d=Object(arguments[h]);for(var g in d)t.call(d,g)&&(s[g]=d[g]);if(e){l=e(d);for(var u=0;u<l.length;u++)n.call(d,l[u])&&(s[l[u]]=d[l[u]])}}return s},hi}var mi,Zs;function vi(){if(Zs)return mi;Zs=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return mi=e,mi}var gi,Js;function Qs(){return Js||(Js=1,gi=Function.call.bind(Object.prototype.hasOwnProperty)),gi}var bi,el;function u3(){if(el)return bi;el=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=vi(),n={},r=Qs();e=function(i){var a="Warning: "+i;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function o(i,a,d,s,l){if(process.env.NODE_ENV!=="production"){for(var h in i)if(r(i,h)){var g;try{if(typeof i[h]!="function"){var u=Error((s||"React class")+": "+d+" type `"+h+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[h]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw u.name="Invariant Violation",u}g=i[h](a,h,s,d,null,t)}catch(c){g=c}if(g&&!(g instanceof Error)&&e((s||"React class")+": type specification of "+d+" `"+h+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof g+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),g instanceof Error&&!(g.message in n)){n[g.message]=!0;var f=l?l():"";e("Failed "+d+" type: "+g.message+(f??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},bi=o,bi}var $i,tl;function c3(){if(tl)return $i;tl=1;var e=Ys(),t=l3(),n=vi(),r=Qs(),o=u3(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(d){var s="Warning: "+d;typeof console<"u"&&console.error(s);try{throw new Error(s)}catch{}});function a(){return null}return $i=function(d,s){var l=typeof Symbol=="function"&&Symbol.iterator,h="@@iterator";function g(I){var S=I&&(l&&I[l]||I[h]);if(typeof S=="function")return S}var u="<<anonymous>>",f={array:C("array"),bigint:C("bigint"),bool:C("boolean"),func:C("function"),number:C("number"),object:C("object"),string:C("string"),symbol:C("symbol"),any:E(),arrayOf:$,element:x(),elementType:w(),instanceOf:N,node:D(),objectOf:K,oneOf:R,oneOfType:Y,shape:M,exact:G};function c(I,S){return I===S?I!==0||1/I===1/S:I!==I&&S!==S}function m(I,S){this.message=I,this.data=S&&typeof S=="object"?S:{},this.stack=""}m.prototype=Error.prototype;function v(I){if(process.env.NODE_ENV!=="production")var S={},T=0;function j(L,F,U,z,re,ae,le){if(z=z||u,ae=ae||U,le!==n){if(s){var P=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 P.name="Invariant Violation",P}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var oe=z+":"+U;!S[oe]&&T<3&&(i("You are manually calling a React.PropTypes validation function for the `"+ae+"` prop on `"+z+"`. 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."),S[oe]=!0,T++)}}return F[U]==null?L?F[U]===null?new m("The "+re+" `"+ae+"` is marked as required "+("in `"+z+"`, but its value is `null`.")):new m("The "+re+" `"+ae+"` is marked as required in "+("`"+z+"`, but its value is `undefined`.")):null:I(F,U,z,re,ae)}var W=j.bind(null,!1);return W.isRequired=j.bind(null,!0),W}function C(I){function S(T,j,W,L,F,U){var z=T[j],re=J(z);if(re!==I){var ae=ne(z);return new m("Invalid "+L+" `"+F+"` of type "+("`"+ae+"` supplied to `"+W+"`, expected ")+("`"+I+"`."),{expectedType:I})}return null}return v(S)}function E(){return v(a)}function $(I){function S(T,j,W,L,F){if(typeof I!="function")return new m("Property `"+F+"` of component `"+W+"` has invalid PropType notation inside arrayOf.");var U=T[j];if(!Array.isArray(U)){var z=J(U);return new m("Invalid "+L+" `"+F+"` of type "+("`"+z+"` supplied to `"+W+"`, expected an array."))}for(var re=0;re<U.length;re++){var ae=I(U,re,W,L,F+"["+re+"]",n);if(ae instanceof Error)return ae}return null}return v(S)}function x(){function I(S,T,j,W,L){var F=S[T];if(!d(F)){var U=J(F);return new m("Invalid "+W+" `"+L+"` of type "+("`"+U+"` supplied to `"+j+"`, expected a single ReactElement."))}return null}return v(I)}function w(){function I(S,T,j,W,L){var F=S[T];if(!e.isValidElementType(F)){var U=J(F);return new m("Invalid "+W+" `"+L+"` of type "+("`"+U+"` supplied to `"+j+"`, expected a single ReactElement type."))}return null}return v(I)}function N(I){function S(T,j,W,L,F){if(!(T[j]instanceof I)){var U=I.name||u,z=X(T[j]);return new m("Invalid "+L+" `"+F+"` of type "+("`"+z+"` supplied to `"+W+"`, expected ")+("instance of `"+U+"`."))}return null}return v(S)}function R(I){if(!Array.isArray(I))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("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])."):i("Invalid argument supplied to oneOf, expected an array.")),a;function S(T,j,W,L,F){for(var U=T[j],z=0;z<I.length;z++)if(c(U,I[z]))return null;var re=JSON.stringify(I,function(le,P){var oe=ne(P);return oe==="symbol"?String(P):P});return new m("Invalid "+L+" `"+F+"` of value `"+String(U)+"` "+("supplied to `"+W+"`, expected one of "+re+"."))}return v(S)}function K(I){function S(T,j,W,L,F){if(typeof I!="function")return new m("Property `"+F+"` of component `"+W+"` has invalid PropType notation inside objectOf.");var U=T[j],z=J(U);if(z!=="object")return new m("Invalid "+L+" `"+F+"` of type "+("`"+z+"` supplied to `"+W+"`, expected an object."));for(var re in U)if(r(U,re)){var ae=I(U,re,W,L,F+"."+re,n);if(ae instanceof Error)return ae}return null}return v(S)}function Y(I){if(!Array.isArray(I))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var S=0;S<I.length;S++){var T=I[S];if(typeof T!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Q(T)+" at index "+S+"."),a}function j(W,L,F,U,z){for(var re=[],ae=0;ae<I.length;ae++){var le=I[ae],P=le(W,L,F,U,z,n);if(P==null)return null;P.data&&r(P.data,"expectedType")&&re.push(P.data.expectedType)}var oe=re.length>0?", expected one of type ["+re.join(", ")+"]":"";return new m("Invalid "+U+" `"+z+"` supplied to "+("`"+F+"`"+oe+"."))}return v(j)}function D(){function I(S,T,j,W,L){return Z(S[T])?null:new m("Invalid "+W+" `"+L+"` supplied to "+("`"+j+"`, expected a ReactNode."))}return v(I)}function A(I,S,T,j,W){return new m((I||"React class")+": "+S+" type `"+T+"."+j+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+W+"`.")}function M(I){function S(T,j,W,L,F){var U=T[j],z=J(U);if(z!=="object")return new m("Invalid "+L+" `"+F+"` of type `"+z+"` "+("supplied to `"+W+"`, expected `object`."));for(var re in I){var ae=I[re];if(typeof ae!="function")return A(W,L,F,re,ne(ae));var le=ae(U,re,W,L,F+"."+re,n);if(le)return le}return null}return v(S)}function G(I){function S(T,j,W,L,F){var U=T[j],z=J(U);if(z!=="object")return new m("Invalid "+L+" `"+F+"` of type `"+z+"` "+("supplied to `"+W+"`, expected `object`."));var re=t({},T[j],I);for(var ae in re){var le=I[ae];if(r(I,ae)&&typeof le!="function")return A(W,L,F,ae,ne(le));if(!le)return new m("Invalid "+L+" `"+F+"` key `"+ae+"` supplied to `"+W+"`.\nBad object: "+JSON.stringify(T[j],null," ")+`
|
|
66
|
-
Valid keys: `+JSON.stringify(Object.keys(I),null," "));var P=le(U,ae,W,L,F+"."+ae,n);if(P)return P}return null}return v(S)}function Z(I){switch(typeof I){case"number":case"string":case"undefined":return!0;case"boolean":return!I;case"object":if(Array.isArray(I))return I.every(Z);if(I===null||d(I))return!0;var S=g(I);if(S){var T=S.call(I),j;if(S!==I.entries){for(;!(j=T.next()).done;)if(!Z(j.value))return!1}else for(;!(j=T.next()).done;){var W=j.value;if(W&&!Z(W[1]))return!1}}else return!1;return!0;default:return!1}}function V(I,S){return I==="symbol"?!0:S?S["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&S instanceof Symbol:!1}function J(I){var S=typeof I;return Array.isArray(I)?"array":I instanceof RegExp?"object":V(S,I)?"symbol":S}function ne(I){if(typeof I>"u"||I===null)return""+I;var S=J(I);if(S==="object"){if(I instanceof Date)return"date";if(I instanceof RegExp)return"regexp"}return S}function Q(I){var S=ne(I);switch(S){case"array":case"object":return"an "+S;case"boolean":case"date":case"regexp":return"a "+S;default:return S}}function X(I){return!I.constructor||!I.constructor.name?u:I.constructor.name}return f.checkPropTypes=o,f.resetWarningCache=o.resetWarningCache,f.PropTypes=f,f},$i}var yi,nl;function f3(){if(nl)return yi;nl=1;var e=vi();function t(){}function n(){}return n.resetWarningCache=t,yi=function(){function r(a,d,s,l,h,g){if(g!==e){var u=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 u.name="Invariant Violation",u}}r.isRequired=r;function o(){return r}var i={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i},yi}var rl;function p3(){if(rl)return Gr.exports;if(rl=1,process.env.NODE_ENV!=="production"){var e=Ys(),t=!0;Gr.exports=c3()(e.isElement,t)}else Gr.exports=f3()();return Gr.exports}var h3=p3();const q=ta(h3);var wi={exports:{}};/*!
|
|
67
|
-
Copyright (c) 2018 Jed Watson.
|
|
68
|
-
Licensed under the MIT License (MIT), see
|
|
69
|
-
http://jedwatson.github.io/classnames
|
|
70
|
-
*/var ol;function m3(){return ol||(ol=1,(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var i="",a=0;a<arguments.length;a++){var d=arguments[a];d&&(i=o(i,r(d)))}return i}function r(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return n.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var a="";for(var d in i)t.call(i,d)&&i[d]&&(a=o(a,d));return a}function o(i,a){return a?i?i+" "+a:i+a:i}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(wi)),wi.exports}var v3=m3();const zr=ta(v3);function g3(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 b3(e,t,n){for(var r={},o="",i=0,a=0;a<e.length;){var d=n(e[a],o,r);d!==void 0&&(o+=d,t!==void 0&&(t===a?i=o.length-1:t>a&&(i=o.length))),a++}t===void 0&&(i=o.length);var s={value:o,caret:i};return s}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=y3(e))||t){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.
|
|
71
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function y3(e,t){if(e){if(typeof e=="string")return il(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 il(e,t)}}function il(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 Ci(e,t){for(var n=0,r=$3(t.split("")),o;!(o=r()).done;){var i=o.value;i===e&&n++}return n}function w3(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]:" ",o=e.length,i=Ci("(",e),a=Ci(")",e),d=i-a;d>0&&o<t.length;)e+=t[o].replace(n,r),t[o]===")"&&d--,o++;return e}function C3(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=x3(e))||t){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 x3(e,t){if(e){if(typeof e=="string")return al(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 al(e,t)}}function al(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 S3(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(o){return{text:o}};var r=Ci(t,e);return function(o){if(!o)return{text:"",template:e};for(var i=0,a="",d=C3(e.split("")),s;!(s=d()).done;){var l=s.value;if(l!==t){a+=l;continue}if(a+=o[i],i++,i===o.length&&o.length<r)break}return n&&(a=w3(a,e)),{text:a,template:e}}}function E3(e,t,n){typeof n=="string"&&(n=S3(n));var r=n(e)||{},o=r.text,i=r.template;if(o===void 0&&(o=e),i)if(t===void 0)t=o.length;else{for(var a=0,d=!1,s=-1;a<o.length&&a<i.length;){if(o[a]!==i[a]){if(t===0){d=!0,t=a;break}s=a,t--}a++}d||(t=s+1)}return{text:o,caret:t}}function O3(e){return e.hasAttribute("readonly")}function P3(e){if(e.selectionStart!==e.selectionEnd)return{start:e.selectionStart,end:e.selectionEnd}}var dl={Backspace:8,Delete:46};function T3(e){switch(e.keyCode){case dl.Backspace:return"Backspace";case dl.Delete:return"Delete"}}function N3(e){return e.selectionStart}function sl(e,t){t!==void 0&&(I3()?setTimeout(function(){return e.setSelectionRange(t,t)},0):e.setSelectionRange(t,t))}function I3(){if(typeof navigator<"u")return _3.test(navigator.userAgent)}var _3=/Android/i;function A3(e,t,n,r,o){xi(t,n,r,void 0,o)}function k3(e,t,n,r,o){if(!O3(t)){var i=T3(e);switch(i){case"Delete":case"Backspace":e.preventDefault();var a=P3(t);return a?(F3(t,a),xi(t,n,r,void 0,o)):xi(t,n,r,i,o)}}}function F3(e,t){var n=e.value;n=n.slice(0,t.start)+n.slice(t.end),e.value=n,sl(e,t.start)}function xi(e,t,n,r,o){var i=b3(e.value,N3(e),t),a=i.value,d=i.caret;if(r){var s=g3(a,d,r);a=s.value,d=s.caret}var l=E3(a,d,n),h=l.text;d=l.caret,e.value=h,sl(e,d),o&&o(a)}var M3=["ref","parse","format","value","defaultValue","controlled","onChange","onKeyDown"];function ll(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 fn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ll(Object(n),!0).forEach(function(r){L3(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ll(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function L3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function D3(e,t){if(e==null)return{};var n=j3(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 j3(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 R3(e){var t=e.ref,n=e.parse,r=e.format,o=e.value,i=e.defaultValue,a=e.controlled,d=a===void 0?!0:a,s=e.onChange,l=e.onKeyDown,h=D3(e,M3),g=p.useRef(),u=p.useCallback(function(v){g.current=v,t&&(typeof t=="function"?t(v):t.current=v)},[t]),f=p.useCallback(function(v){return A3(v,g.current,n,r,s)},[g,n,r,s]),c=p.useCallback(function(v){if(l&&l(v),!v.defaultPrevented)return k3(v,g.current,n,r,s)},[g,n,r,s,l]),m=fn(fn({},h),{},{ref:u,onChange:f,onKeyDown:c});return d?fn(fn({},m),{},{value:r(ul(o)?"":o).text}):fn(fn({},m),{},{defaultValue:r(ul(i)?"":i).text})}function ul(e){return e==null}var B3=["inputComponent","parse","format","value","defaultValue","onChange","controlled","onKeyDown","type"];function cl(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 W3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?cl(Object(n),!0).forEach(function(r){V3(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cl(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function V3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function U3(e,t){if(e==null)return{};var n=H3(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 H3(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 qr(e,t){var n=e.inputComponent,r=n===void 0?"input":n,o=e.parse,i=e.format,a=e.value,d=e.defaultValue,s=e.onChange,l=e.controlled,h=e.onKeyDown,g=e.type,u=g===void 0?"text":g,f=U3(e,B3),c=R3(W3({ref:t,parse:o,format:i,value:a,defaultValue:d,onChange:s,controlled:l,onKeyDown:h,type:u},f));return p.createElement(r,c)}qr=p.forwardRef(qr),qr.propTypes={parse:q.func.isRequired,format:q.func.isRequired,inputComponent:q.elementType,type:q.string,value:q.string,defaultValue:q.string,onChange:q.func,controlled:q.bool,onKeyDown:q.func,onCut:q.func,onPaste:q.func};function fl(e,t){e=e.split("-"),t=t.split("-");for(var n=e[0].split("."),r=t[0].split("."),o=0;o<3;o++){var i=Number(n[o]),a=Number(r[o]);if(i>a)return 1;if(a>i)return-1;if(!isNaN(i)&&isNaN(a))return 1;if(isNaN(i)&&!isNaN(a))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 G3={}.constructor;function Zt(e){return e!=null&&e.constructor===G3}function pn(e){"@babel/helpers - typeof";return pn=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},pn(e)}function Yr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K3(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,z3(r.key),r)}}function Xr(e,t,n){return t&&K3(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function z3(e){var t=q3(e,"string");return pn(t)=="symbol"?t:t+""}function q3(e,t){if(pn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(pn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Y3="1.2.0",X3="1.7.35",pl=" ext. ",Z3=/^\d+$/,Ne=(function(){function e(t){Yr(this,e),vl(t),this.metadata=t,bl.call(this,t)}return Xr(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&&Z3.test(n)&&(r=n,n=null),n&&n!=="001"){if(!this.hasCountry(n))throw new Error("Unknown country: ".concat(n));this.numberingPlan=new hl(this.getCountryMetadata(n),this)}else if(r){if(!this.hasCallingCode(r))throw new Error("Unknown calling code: ".concat(r));this.numberingPlan=new hl(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 o=this.nonGeographic()[n];if(o)return o}else{var i=this.countryCallingCodes()[n];if(i&&i.length===1&&i[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}}])})(),hl=(function(){function e(t,n){Yr(this,e),this.globalMetadataObject=n,this.metadata=t,bl.call(this,n.metadata)}return Xr(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(o){return new J3(o,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()&&ml(this.types(),n))return new e9(ml(this.types(),n),this)}},{key:"ext",value:function(){return this.v1||this.v2?pl:this.metadata[13]||pl}}])})(),J3=(function(){function e(t,n){Yr(this,e),this._format=t,this.metadata=n}return Xr(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()&&!Q3.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}])})(),Q3=/^\(?\$1\)?$/,e9=(function(){function e(t,n){Yr(this,e),this.type=t,this.metadata=n}return Xr(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()}}])})();function ml(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 vl(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!Zt(e)||!Zt(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(Zt(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+t9(e)+": "+e,"."))}var t9=function(t){return pn(t)};function Nt(e,t){if(t=new Ne(t),t.hasCountry(e))return t.selectNumberingPlan(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function gl(e,t){return t.countries.hasOwnProperty(e)}function bl(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?fl(t,Y3)===-1?this.v2=!0:fl(t,X3)===-1?this.v3=!0:this.v4=!0:this.v1=!0}function Zr(e,t,n){return n9(e,t,void 0,n)}function n9(e,t,n,r){t&&(r=new Ne(r.metadata),r.selectNumberingPlan(t));var o=r.type(n),i=o&&o.possibleLengths()||r.possibleLengths();if(!i)return"IS_POSSIBLE";var a=e.length,d=i[0];return d===a?"IS_POSSIBLE":d>a?"TOO_SHORT":i[i.length-1]<a?"TOO_LONG":i.indexOf(a,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function r9(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.selectNumberingPlan(e.country)}else{if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(e.countryCallingCode)}}if(n.possibleLengths())return $l(e.phone||e.nationalNumber,e.country,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 $l(e,t,n){switch(Zr(e,t,n)){case"IS_POSSIBLE":return!0;default:return!1}}function It(e,t){return e=e||"",new RegExp("^(?:"+t+")$").test(e)}function o9(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=i9(e))||t){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 i9(e,t){if(e){if(typeof e=="string")return yl(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?yl(e,t):void 0}}function yl(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var a9=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function Si(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(It(r,n.nationalNumberPattern())){if(Ei(r,"FIXED_LINE",n))return n.type("MOBILE")&&n.type("MOBILE").pattern()===""||!n.type("MOBILE")||Ei(r,"MOBILE",n)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE";for(var o=o9(a9),i;!(i=o()).done;){var a=i.value;if(Ei(r,a,n))return a}}}}function Ei(e,t,n){var r=n.type(t);return!r||!r.pattern()||r.possibleLengths()&&r.possibleLengths().indexOf(e.length)<0?!1:It(e,r.pattern())}function d9(e,t,n){if(t=t||{},n=new Ne(n),n.selectNumberingPlan(e.country,e.countryCallingCode),n.hasTypes())return Si(e,t,n.metadata)!==void 0;var r=t.v2?e.nationalNumber:e.phone;return It(r,n.nationalNumberPattern())}function s9(e,t,n){var r=new Ne(n),o=r.getCountryCodesForCallingCode(e);return o?o.filter(function(i){return l9(t,i,n)}):[]}function l9(e,t,n){var r=new Ne(n);return r.selectNumberingPlan(t),r.numberingPlan.possibleLengths().indexOf(e.length)>=0}var Oi=2,u9=17,c9=3,He="0-90-9٠-٩۰-۹",f9="-‐-―−ー-",p9="//",h9="..",m9=" ",v9="()()[]\\[\\]",g9="~⁓∼~",at="".concat(f9).concat(p9).concat(h9).concat(m9).concat(v9).concat(g9),Jr="++",b9=new RegExp("(["+He+"])");function wl(e,t,n,r){if(t){var o=new Ne(r);o.selectNumberingPlan(t,n);var i=new RegExp(o.IDDPrefix());if(e.search(i)===0){e=e.slice(e.match(i)[0].length);var a=e.match(b9);if(!(a&&a[1]!=null&&a[1].length>0&&a[1]==="0"))return e}}}function Pi(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(e);if(r){var o,i,a=r.length-1,d=a>0&&r[a];if(t.nationalPrefixTransformRule()&&d)o=e.replace(n,t.nationalPrefixTransformRule()),a>1&&(i=r[1]);else{var s=r[0];o=e.slice(s.length),d&&(i=r[1])}var l;if(d){var h=e.indexOf(r[1]),g=e.slice(0,h);g===t.numberingPlan.nationalPrefix()&&(l=t.numberingPlan.nationalPrefix())}else l=r[0];return{nationalNumber:o,nationalPrefix:l,carrierCode:i}}}return{nationalNumber:e}}function $9(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=y9(e))||t){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 y9(e,t){if(e){if(typeof e=="string")return Cl(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Cl(e,t):void 0}}function Cl(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function xl(e,t){var n=t.countries,r=t.metadata;r=new Ne(r);for(var o=$9(n),i;!(i=o()).done;){var a=i.value;if(r.selectNumberingPlan(a),r.leadingDigits()){if(e&&e.search(r.leadingDigits())===0)return a}else if(Si({phone:e,country:a},void 0,r.metadata))return a}}function Ti(e,t){var n=t.nationalNumber,r=t.metadata,o=r.getCountryCodesForCallingCode(e);if(o)return o.length===1?o[0]:xl(n,{countries:o,metadata:r.metadata})}function Ni(e,t,n){var r=Pi(e,n),o=r.carrierCode,i=r.nationalNumber;if(i!==e){if(!w9(e,i,n))return{nationalNumber:e};if(n.numberingPlan.possibleLengths()&&(t||(t=Ti(n.numberingPlan.callingCode(),{nationalNumber:i,metadata:n})),!C9(i,t,n)))return{nationalNumber:e}}return{nationalNumber:i,carrierCode:o}}function w9(e,t,n){return!(It(e,n.nationalNumberPattern())&&!It(t,n.nationalNumberPattern()))}function C9(e,t,n){switch(Zr(e,t,n)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}function Sl(e,t,n,r,o){var i=t||n?Nt(t||n,o):r;if(e.indexOf(i)===0){o=new Ne(o),o.selectNumberingPlan(t||n,i);var a=e.slice(i.length),d=Ni(a,t,o),s=d.nationalNumber,l=Ni(e,t,o),h=l.nationalNumber;if(!It(h,o.nationalNumberPattern())&&It(s,o.nationalNumberPattern())||Zr(h,t,o)==="TOO_LONG")return{countryCallingCode:i,number:a}}return{number:e}}function Ii(e,t,n,r,o){if(!e)return{};var i;if(e[0]!=="+"){var a=wl(e,t||n,r,o);if(a&&a!==e)i=!0,e="+"+a;else{if(t||n||r){var d=Sl(e,t,n,r,o),s=d.countryCallingCode,l=d.number;if(s)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:s,number:l}}return{number:e}}}if(e[1]==="0")return{};o=new Ne(o);for(var h=2;h-1<=c9&&h<=e.length;){var g=e.slice(1,h);if(o.hasCallingCode(g))return o.selectNumberingPlan(g),{countryCallingCodeSource:i?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:g,number:e.slice(h)};h++}return{}}function El(e){return e.replace(new RegExp("[".concat(at,"]+"),"g")," ").trim()}var Ol=/(\$\d)/;function Pl(e,t,n){var r=n.useInternationalFormat,o=n.withNationalPrefix;n.carrierCode,n.metadata;var i=e.replace(new RegExp(t.pattern()),r?t.internationalFormat():o&&t.nationalPrefixFormattingRule()?t.format().replace(Ol,t.nationalPrefixFormattingRule()):t.format());return r?El(i):i}var x9=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function S9(e,t,n){var r=new Ne(n);if(r.selectNumberingPlan(e,t),r.defaultIDDPrefix())return r.defaultIDDPrefix();if(x9.test(r.IDDPrefix()))return r.IDDPrefix()}var E9=";ext=",hn=function(t){return"([".concat(He,"]{1,").concat(t,"})")};function Tl(e){var t="20",n="15",r="9",o="6",i="[ \\t,]*",a="[:\\..]?[ \\t,-]*",d="#?",s="(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)",l="(?:[xx##~~]|int|int)",h="[- ]+",g="[ \\t]*",u="(?:,{2}|;)",f=E9+hn(t),c=i+s+a+hn(t)+d,m=i+l+a+hn(r)+d,v=h+hn(o)+"#",C=g+u+a+hn(n)+d,E=g+"(?:,)+"+a+hn(r)+d;return f+"|"+c+"|"+m+"|"+v+"|"+C+"|"+E}var O9="["+He+"]{"+Oi+"}",P9="["+Jr+"]{0,1}(?:["+at+"]*["+He+"]){3,}["+at+He+"]*",T9=new RegExp("^["+Jr+"]{0,1}(?:["+at+"]*["+He+"]){1,2}$","i"),N9=P9+"(?:"+Tl()+")?",I9=new RegExp("^"+O9+"$|^"+N9+"$","i");function _9(e){return e.length>=Oi&&I9.test(e)}function A9(e){return T9.test(e)}function k9(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:"")}var Nl={formatExtension:function(t,n,r){return"".concat(t).concat(r.ext()).concat(n)}};function F9(e,t,n,r){if(n?n=D9({},Nl,n):n=Nl,r=new Ne(r),e.country&&e.country!=="001"){if(!r.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));r.selectNumberingPlan(e.country)}else if(e.countryCallingCode)r.selectNumberingPlan(e.countryCallingCode);else return e.phone||"";var o=r.countryCallingCode(),i=n.v2?e.nationalNumber:e.phone,a;switch(t){case"NATIONAL":return i?(a=Qr(i,e.carrierCode,"NATIONAL",r,n),_i(a,e.ext,r,n.formatExtension)):"";case"INTERNATIONAL":return i?(a=Qr(i,null,"INTERNATIONAL",r,n),a="+".concat(o," ").concat(a),_i(a,e.ext,r,n.formatExtension)):"+".concat(o);case"E.164":return"+".concat(o).concat(i);case"RFC3966":return k9({number:"+".concat(o).concat(i),ext:e.ext});case"IDD":if(!n.fromCountry)return;var d=L9(i,e.carrierCode,o,n.fromCountry,r);return d?_i(d,e.ext,r,n.formatExtension):void 0;default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t,'"'))}}function Qr(e,t,n,r,o){var i=M9(r.formats(),e);return i?Pl(e,i,{useInternationalFormat:n==="INTERNATIONAL",withNationalPrefix:!(i.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&o&&o.nationalPrefix===!1),carrierCode:t,metadata:r}):e}function M9(e,t){return j9(e,function(n){if(n.leadingDigitsPatterns().length>0){var r=n.leadingDigitsPatterns()[n.leadingDigitsPatterns().length-1];if(t.search(r)!==0)return!1}return It(t,n.pattern())})}function _i(e,t,n,r){return t?r(e,t,n):e}function L9(e,t,n,r,o){var i=Nt(r,o.metadata);if(i===n){var a=Qr(e,t,"NATIONAL",o);return n==="1"?n+" "+a:a}var d=S9(r,void 0,o.metadata);if(d)return"".concat(d," ").concat(n," ").concat(Qr(e,null,"INTERNATIONAL",o))}function D9(){for(var e=1,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];for(;e<n.length;){if(n[e])for(var o in n[e])n[0][o]=n[e][o];e++}return n[0]}function j9(e,t){for(var n=0;n<e.length;){if(t(e[n]))return e[n];n++}}function qn(e){"@babel/helpers - typeof";return qn=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},qn(e)}function Il(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 _l(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Il(Object(n),!0).forEach(function(r){R9(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Il(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function R9(e,t,n){return(t=Al(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function B9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W9(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,Al(r.key),r)}}function V9(e,t,n){return t&&W9(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Al(e){var t=U9(e,"string");return qn(t)=="symbol"?t:t+""}function U9(e,t){if(qn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(qn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var kl=(function(){function e(t,n,r){if(B9(this,e),!t)throw new TypeError("First argument is required");if(typeof t!="string")throw new TypeError("First argument must be a string");if(t[0]==="+"&&!n)throw new TypeError("`metadata` argument not passed");if(Zt(n)&&Zt(n.countries)){r=n;var o=t;if(!K9.test(o))throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');var i=Ii(o,void 0,void 0,void 0,r),a=i.countryCallingCode,d=i.number;if(n=d,t=a,!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");vl(r);var s=G9(t,r),l=s.country,h=s.countryCallingCode;this.country=l,this.countryCallingCode=h,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r}}return V9(e,[{key:"setExt",value:function(n){this.ext=n}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:s9(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return r9(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return d9(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 Si(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(n,r){return F9(this,n,r?_l(_l({},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)}}])})(),H9=function(t){return/^[A-Z]{2}$/.test(t)};function G9(e,t){var n,r,o=new Ne(t);return H9(e)?(n=e,o.selectNumberingPlan(n),r=o.countryCallingCode()):r=e,{country:n,countryCallingCode:r}}var K9=/^\+\d+$/;function Ai(e){"@babel/helpers - typeof";return Ai=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},Ai(e)}function z9(e,t,n){return Object.defineProperty(e,"prototype",{writable:!1}),e}function q9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Y9(e,t,n){return t=Xn(t),X9(e,Fi()?Reflect.construct(t,n||[],Xn(e).constructor):t.apply(e,n))}function X9(e,t){if(t&&(Ai(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Z9(e)}function Z9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J9(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&&Yn(e,t)}function ki(e){var t=typeof Map=="function"?new Map:void 0;return ki=function(r){if(r===null||!e4(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return Q9(r,arguments,Xn(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Yn(o,r)},ki(e)}function Q9(e,t,n){if(Fi())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&Yn(o,n.prototype),o}function Fi(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Fi=function(){return!!e})()}function e4(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function Yn(e,t){return Yn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Yn(e,t)}function Xn(e){return Xn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Xn(e)}var _t=(function(e){function t(n){var r;return q9(this,t),r=Y9(this,t,[n]),Object.setPrototypeOf(r,t.prototype),r.name=r.constructor.name,r}return J9(t,e),z9(t)})(ki(Error)),Fl=new RegExp("(?:"+Tl()+")$","i");function t4(e){var t=e.search(Fl);if(t<0)return{};for(var n=e.slice(0,t),r=e.match(Fl),o=1;o<r.length;){if(r[o])return{number:n,ext:r[o]};o++}}function n4(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=r4(e))||t){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.
|
|
75
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function r4(e,t){if(e){if(typeof e=="string")return Ml(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ml(e,t):void 0}}function Ml(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var o4={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 Ll(e){return o4[e]}function eo(e){for(var t="",n=n4(e.split("")),r;!(r=n()).done;){var o=r.value,i=Ll(o);i&&(t+=i)}return t}function i4(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=a4(e))||t){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.
|
|
76
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a4(e,t){if(e){if(typeof e=="string")return Dl(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Dl(e,t):void 0}}function Dl(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Mi(e){for(var t="",n=i4(e.split("")),r;!(r=n()).done;){var o=r.value;t+=jl(o,t)||""}return t}function jl(e,t,n){if(e==="+"){if(t){typeof n=="function"&&n("end");return}return"+"}return Ll(e)}var Rl="+",d4="[\\-\\.\\(\\)]?",Bl="(["+He+"]|"+d4+")",s4="^\\"+Rl+Bl+"*["+He+"]"+Bl+"*$",l4=new RegExp(s4,"g"),Li=He,u4="["+Li+"]+((\\-)*["+Li+"])*",c4="a-zA-Z",f4="["+c4+"]+((\\-)*["+Li+"])*",p4="^("+u4+"\\.)*"+f4+"\\.?$",h4=new RegExp(p4,"g"),Wl="tel:",Di=";phone-context=",m4=";isub=";function v4(e){var t=e.indexOf(Di);if(t<0)return null;var n=t+Di.length;if(n>=e.length)return"";var r=e.indexOf(";",n);return r>=0?e.substring(n,r):e.substring(n)}function g4(e){return e===null?!0:e.length===0?!1:l4.test(e)||h4.test(e)}function b4(e,t){var n=t.extractFormattedPhoneNumber,r=v4(e);if(!g4(r))throw new _t("NOT_A_NUMBER");var o;if(r===null)o=n(e)||"";else{o="",r.charAt(0)===Rl&&(o+=r);var i=e.indexOf(Wl),a;i>=0?a=i+Wl.length:a=0;var d=e.indexOf(Di);o+=e.substring(a,d)}var s=o.indexOf(m4);if(s>0&&(o=o.substring(0,s)),o!=="")return o}var $4=250,y4=new RegExp("["+Jr+He+"]"),w4=new RegExp("[^"+He+"#]+$");function C4(e,t,n){if(t=t||{},n=new Ne(n),t.defaultCountry&&!n.hasCountry(t.defaultCountry))throw t.v2?new _t("INVALID_COUNTRY"):new Error("Unknown country: ".concat(t.defaultCountry));var r=S4(e,t.v2,t.extract),o=r.number,i=r.ext,a=r.error;if(!o){if(t.v2)throw a==="TOO_SHORT"?new _t("TOO_SHORT"):new _t("NOT_A_NUMBER");return{}}var d=O4(o,t.defaultCountry,t.defaultCallingCode,n),s=d.country,l=d.nationalNumber,h=d.countryCallingCode,g=d.countryCallingCodeSource,u=d.carrierCode;if(!n.hasSelectedNumberingPlan()){if(t.v2)throw new _t("INVALID_COUNTRY");return{}}if(!l||l.length<Oi){if(t.v2)throw new _t("TOO_SHORT");return{}}if(l.length>u9){if(t.v2)throw new _t("TOO_LONG");return{}}if(t.v2){var f=new kl(h,l,n.metadata);return s&&(f.country=s),u&&(f.carrierCode=u),i&&(f.ext=i),f.__countryCallingCodeSource=g,f}var c=(t.extended?n.hasSelectedNumberingPlan():s)?It(l,n.nationalNumberPattern()):!1;return t.extended?{country:s,countryCallingCode:h,carrierCode:u,valid:c,possible:c?!0:!!(t.extended===!0&&n.possibleLengths()&&$l(l,s,n)),phone:l,ext:i}:c?E4(s,l,i):{}}function x4(e,t,n){if(e){if(e.length>$4){if(n)throw new _t("TOO_LONG");return}if(t===!1)return e;var r=e.search(y4);if(!(r<0))return e.slice(r).replace(w4,"")}}function S4(e,t,n){var r=b4(e,{extractFormattedPhoneNumber:function(a){return x4(a,n,t)}});if(!r)return{};if(!_9(r))return A9(r)?{error:"TOO_SHORT"}:{};var o=t4(r);return o.ext?o:{number:r}}function E4(e,t,n){var r={country:e,phone:t};return n&&(r.ext=n),r}function O4(e,t,n,r){var o=Ii(Mi(e),void 0,t,n,r.metadata),i=o.countryCallingCodeSource,a=o.countryCallingCode,d=o.number,s;if(a)r.selectNumberingPlan(a);else if(d&&(t||n))r.selectNumberingPlan(t,n),t&&(s=t),a=n||Nt(t,r.metadata);else return{};if(!d)return{countryCallingCodeSource:i,countryCallingCode:a};var l=Ni(Mi(d),s,r),h=l.nationalNumber,g=l.carrierCode,u=Ti(a,{nationalNumber:h,metadata:r});return u&&(s=u,u==="001"||r.selectNumberingPlan(s)),{country:s,countryCallingCode:a,countryCallingCodeSource:i,nationalNumber:h,carrierCode:g}}function Zn(e){"@babel/helpers - typeof";return Zn=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},Zn(e)}function Vl(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 Ul(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Vl(Object(n),!0).forEach(function(r){P4(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vl(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function P4(e,t,n){return(t=T4(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function T4(e){var t=N4(e,"string");return Zn(t)=="symbol"?t:t+""}function N4(e,t){if(Zn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Zn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function I4(e,t,n){return C4(e,Ul(Ul({},t),{},{v2:!0}),n)}function Jn(e){"@babel/helpers - typeof";return Jn=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},Jn(e)}function Hl(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 _4(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Hl(Object(n),!0).forEach(function(r){A4(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hl(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function A4(e,t,n){return(t=k4(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function k4(e){var t=F4(e,"string");return Jn(t)=="symbol"?t:t+""}function F4(e,t){if(Jn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Jn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function M4(e,t){return R4(e)||j4(e,t)||D4(e,t)||L4()}function L4(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
77
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function D4(e,t){if(e){if(typeof e=="string")return Gl(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Gl(e,t):void 0}}function Gl(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function j4(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,i,a,d=[],s=!0,l=!1;try{if(i=(n=n.call(e)).next,t!==0)for(;!(s=(r=i.call(n)).done)&&(d.push(r.value),d.length!==t);s=!0);}catch(h){l=!0,o=h}finally{try{if(!s&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return d}}function R4(e){if(Array.isArray(e))return e}function Kl(e){var t=Array.prototype.slice.call(e),n=M4(t,4),r=n[0],o=n[1],i=n[2],a=n[3],d,s,l;if(typeof r=="string")d=r;else throw new TypeError("A text for parsing must be a string.");if(!o||typeof o=="string")a?(s=i,l=a):(s=void 0,l=i),o&&(s=_4({defaultCountry:o},s));else if(Zt(o))i?(s=o,l=i):l=o;else throw new Error("Invalid second argument: ".concat(o));return{text:d,options:s,metadata:l}}function Qn(e){"@babel/helpers - typeof";return Qn=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},Qn(e)}function zl(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 ql(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?zl(Object(n),!0).forEach(function(r){B4(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zl(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function B4(e,t,n){return(t=W4(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function W4(e){var t=V4(e,"string");return Qn(t)=="symbol"?t:t+""}function V4(e,t){if(Qn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Qn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Yl(e,t,n){t&&t.defaultCountry&&!gl(t.defaultCountry,n)&&(t=ql(ql({},t),{},{defaultCountry:void 0}));try{return I4(e,t,n)}catch(r){if(!(r instanceof _t))throw r}}function U4(){var e=Kl(arguments),t=e.text,n=e.options,r=e.metadata;return Yl(t,n,r)}function er(e){"@babel/helpers - typeof";return er=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},er(e)}function Xl(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 Zl(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Xl(Object(n),!0).forEach(function(r){H4(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xl(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function H4(e,t,n){return(t=G4(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function G4(e){var t=K4(e,"string");return er(t)=="symbol"?t:t+""}function K4(e,t){if(er(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(er(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function z4(){var e=Kl(arguments),t=e.text,n=e.options,r=e.metadata;n=Zl(Zl({},n),{},{extract:!1});var o=Yl(t,n,r);return o&&o.isValid()||!1}function tr(e){"@babel/helpers - typeof";return tr=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},tr(e)}function q4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Y4(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,Z4(r.key),r)}}function X4(e,t,n){return t&&Y4(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Z4(e){var t=J4(e,"string");return tr(t)=="symbol"?t:t+""}function J4(e,t){if(tr(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(tr(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Q4=(function(){function e(t){var n=t.onCountryChange,r=t.onCallingCodeChange;q4(this,e),this.onCountryChange=n,this.onCallingCodeChange=r}return X4(e,[{key:"reset",value:function(n){var r=n.country,o=n.callingCode;this.international=!1,this.missingPlus=!1,this.IDDPrefix=void 0,this.callingCode=void 0,this.digits="",this.resetNationalSignificantNumber(),this.initCountryAndCallingCode(r,o)}},{key:"resetNationalSignificantNumber",value:function(){this.nationalSignificantNumber=this.getNationalDigits(),this.nationalSignificantNumberIsModified=!1,this.nationalPrefix=void 0,this.carrierCode=void 0,this.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix=void 0}},{key:"update",value:function(n){for(var r=0,o=Object.keys(n);r<o.length;r++){var i=o[r];this[i]=n[i]}}},{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}}])})();function e6(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=t6(e))||t){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.
|
|
78
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function t6(e,t){if(e){if(typeof e=="string")return Jl(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Jl(e,t):void 0}}function Jl(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var dt="x",ji=new RegExp(dt);function to(e,t){if(t<1)return"";for(var n="";t>1;)t&1&&(n+=e),t>>=1,e+=e;return n+e}function Ql(e,t){return e[t]===")"&&t++,n6(e.slice(0,t))}function n6(e){for(var t=[],n=0;n<e.length;)e[n]==="("?t.push(n):e[n]===")"&&t.pop(),n++;var r=0,o="";t.push(e.length);for(var i=0,a=t;i<a.length;i++){var d=a[i];o+=e.slice(r,d),r=d+1}return o}function r6(e,t,n){for(var r=e6(n.split("")),o;!(o=r()).done;){var i=o.value;if(e.slice(t+1).search(ji)<0)return;t=e.search(ji),e=e.replace(ji,i)}return[e,t]}function o6(e,t,n){var r=n.metadata,o=n.shouldTryNationalPrefixFormattingRule,i=n.getSeparatorAfterNationalPrefix,a=new RegExp("^(?:".concat(t.pattern(),")$"));if(a.test(e.nationalSignificantNumber))return a6(e,t,{metadata:r,shouldTryNationalPrefixFormattingRule:o,getSeparatorAfterNationalPrefix:i})}function i6(e,t,n){return Zr(e,t,n)==="IS_POSSIBLE"}function a6(e,t,n){var r=n.metadata,o=n.shouldTryNationalPrefixFormattingRule,i=n.getSeparatorAfterNationalPrefix;if(e.nationalSignificantNumber,e.international,e.nationalPrefix,e.carrierCode,o(t)){var a=eu(e,t,{useNationalPrefixFormattingRule:!0,getSeparatorAfterNationalPrefix:i,metadata:r});if(a)return a}return eu(e,t,{useNationalPrefixFormattingRule:!1,getSeparatorAfterNationalPrefix:i,metadata:r})}function eu(e,t,n){var r=n.metadata,o=n.useNationalPrefixFormattingRule,i=n.getSeparatorAfterNationalPrefix,a=Pl(e.nationalSignificantNumber,t,{carrierCode:e.carrierCode,useInternationalFormat:e.international,withNationalPrefix:o,metadata:r});if(o||(e.nationalPrefix?a=e.nationalPrefix+i(t)+a:e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix&&(a=e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix+" "+a)),d6(a,e))return a}function d6(e,t){return eo(e)===t.getNationalDigits()}function nr(e){"@babel/helpers - typeof";return nr=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},nr(e)}function s6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l6(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,c6(r.key),r)}}function u6(e,t,n){return t&&l6(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function c6(e){var t=f6(e,"string");return nr(t)=="symbol"?t:t+""}function f6(e,t){if(nr(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(nr(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var p6=(function(){function e(){s6(this,e)}return u6(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],o=r.branches,i=r.instructions;if(o)return{op:"|",args:o.concat([Ri(i)])};if(i.length===0)throw new Error("Pattern is required");return i.length===1?i[0]:i}},{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(v6);if(!r){if(m6.test(n))throw new Error("Illegal characters found in a pattern: ".concat(n));this.getContext().instructions=this.getContext().instructions.concat(n.split(""));return}var o=r[1],i=n.slice(0,r.index),a=n.slice(r.index+o.length);switch(o){case"(?:":i&&this.parsePattern(i),this.startContext({or:!0,instructions:[],branches:[]});break;case")":if(!this.getContext().or)throw new Error('")" operator must be preceded by "(?:" operator');if(i&&this.parsePattern(i),this.getContext().instructions.length===0)throw new Error('No instructions found after "|" operator in an "or" group');var d=this.getContext(),s=d.branches;s.push(Ri(this.getContext().instructions)),this.endContext(),this.getContext().instructions.push({op:"|",args:s});break;case"|":if(!this.getContext().or)throw new Error('"|" operator can only be used inside "or" groups');if(i&&this.parsePattern(i),!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(Ri(this.getContext().instructions)),this.getContext().instructions=[];break;case"[":i&&this.parsePattern(i),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:h6(i)});break;default:throw new Error("Unknown operator: ".concat(o))}a&&this.parsePattern(a)}}])})();function h6(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,o=e[n+1].charCodeAt(0)-1,i=r;i<=o;)t.push(String.fromCharCode(i)),i++}else t.push(e[n]);n++}return t}var m6=/[\(\)\[\]\?\:\|]/,v6=new RegExp("(\\||\\(\\?\\:|\\)|\\[|\\])");function Ri(e){return e.length===1?e[0]:e}function tu(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=g6(e))||t){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.
|
|
79
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function g6(e,t){if(e){if(typeof e=="string")return nu(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?nu(e,t):void 0}}function nu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function rr(e){"@babel/helpers - typeof";return rr=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},rr(e)}function b6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $6(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,w6(r.key),r)}}function y6(e,t,n){return t&&$6(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function w6(e){var t=C6(e,"string");return rr(t)=="symbol"?t:t+""}function C6(e,t){if(rr(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(rr(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var x6=(function(){function e(t){b6(this,e),this.matchTree=new p6().parse(t)}return y6(e,[{key:"match",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=r.allowOverflow;if(!n)throw new Error("String is required");var i=Bi(n.split(""),this.matchTree,!0);if(i&&i.match&&delete i.matchedChars,!(i&&i.overflow&&!o))return i}}])})();function Bi(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 o=e.slice(),i=0;i<t.length;){var a=t[i],d=Bi(o,a,n&&i===t.length-1);if(d){if(d.overflow)return d;if(d.match){if(o=o.slice(d.matchedChars.length),o.length===0)return i===t.length-1?{match:!0,matchedChars:e}:{partialMatch:!0}}else{if(d.partialMatch)return{partialMatch:!0};throw new Error(`Unsupported match result:
|
|
80
|
-
`.concat(JSON.stringify(d,null,2)))}}else return;i++}return n?{overflow:!0}:{match:!0,matchedChars:e.slice(0,e.length-o.length)}}switch(t.op){case"|":for(var s,l=tu(t.args),h;!(h=l()).done;){var g=h.value,u=Bi(e,g,n);if(u){if(u.overflow)return u;if(u.match)return{match:!0,matchedChars:u.matchedChars};if(u.partialMatch)s=!0;else throw new Error(`Unsupported match result:
|
|
81
|
-
`.concat(JSON.stringify(u,null,2)))}}return s?{partialMatch:!0}:void 0;case"[]":for(var f=tu(t.args),c;!(c=f()).done;){var m=c.value;if(e[0]===m)return e.length===1?{match:!0,matchedChars:e}:n?{overflow:!0}:{match:!0,matchedChars:[m]}}return;default:throw new Error("Unsupported instruction tree: ".concat(t))}}function or(e){"@babel/helpers - typeof";return or=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},or(e)}function ru(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=S6(e))||t){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.
|
|
82
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function S6(e,t){if(e){if(typeof e=="string")return ou(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ou(e,t):void 0}}function ou(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function E6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O6(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,T6(r.key),r)}}function P6(e,t,n){return t&&O6(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function T6(e){var t=N6(e,"string");return or(t)=="symbol"?t:t+""}function N6(e,t){if(or(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(or(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Wi="9",I6=15,_6=to(Wi,I6),A6=/[- ]/,k6=function(){return/\[([^\[\]])*\]/g},F6=function(){return/\d(?=[^,}][^,}])/g},M6=new RegExp("["+at+"]*\\$1["+at+"]*(\\$\\d["+at+"]*)*$"),iu=3,L6=(function(){function e(t){t.state;var n=t.metadata;E6(this,e),this.metadata=n,this.resetFormat()}return P6(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 o=this;if(i6(r.nationalSignificantNumber,r.country,this.metadata))for(var i=ru(this.matchingFormats),a;!(a=i()).done;){var d=a.value,s=o6(r,d,{metadata:this.metadata,shouldTryNationalPrefixFormattingRule:function(h){return o.shouldTryNationalPrefixFormattingRule(h,{international:r.international,nationalPrefix:r.nationalPrefix})},getSeparatorAfterNationalPrefix:function(h){return o.getSeparatorAfterNationalPrefix(h)}});if(s)return this.resetFormat(),this.chosenFormat=d,this.setNationalNumberTemplate(s.replace(/\d/g,dt),r),this.populatedNationalNumberTemplate=s,this.populatedNationalNumberTemplatePosition=this.template.lastIndexOf(dt),s}return this.formatNationalNumberWithNextDigits(n,r)}},{key:"formatNationalNumberWithNextDigits",value:function(n,r){var o=this.chosenFormat,i=this.chooseFormat(r);if(i)return i===o?this.formatNextNationalNumberDigits(n):this.formatNextNationalNumberDigits(r.getNationalDigits())}},{key:"narrowDownMatchingFormats",value:function(n){var r=this,o=n.nationalSignificantNumber,i=n.nationalPrefix,a=n.international,d=o,s=d.length-iu;s<0&&(s=0),this.matchingFormats=this.matchingFormats.filter(function(l){return r.formatSuits(l,a,i)&&r.formatMatches(l,d,s)}),this.chosenFormat&&this.matchingFormats.indexOf(this.chosenFormat)===-1&&this.resetFormat()}},{key:"formatSuits",value:function(n,r,o){return!(o&&!n.usesNationalPrefix()&&!n.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!r&&!o&&n.nationalPrefixIsMandatoryWhenFormattingInNationalFormat())}},{key:"formatMatches",value:function(n,r,o){var i=n.leadingDigitsPatterns().length;if(i===0)return!0;o=Math.min(o,i-1);var a=n.leadingDigitsPatterns()[o];if(r.length<iu)try{return new x6(a).match(r,{allowOverflow:!0})!==void 0}catch(d){return console.error(d),!0}return new RegExp("^(".concat(a,")")).test(r)}},{key:"getFormatFormat",value:function(n,r){return r?n.internationalFormat():n.format()}},{key:"chooseFormat",value:function(n){for(var r=this,o=function(){var l=d.value;return r.chosenFormat===l?0:M6.test(r.getFormatFormat(l,n.international))?r.createTemplateForFormat(l,n)?(r.chosenFormat=l,0):(r.matchingFormats=r.matchingFormats.filter(function(h){return h!==l}),1):1},i,a=ru(this.matchingFormats.slice()),d;!(d=a()).done&&(i=o(),i!==0););return this.chosenFormat||this.resetFormat(),this.chosenFormat}},{key:"createTemplateForFormat",value:function(n,r){if(!(n.pattern().indexOf("|")>=0)){var o=this.getTemplateForFormat(n,r);if(o)return this.setNationalNumberTemplate(o,r),!0}}},{key:"getSeparatorAfterNationalPrefix",value:function(n){return this.isNANP||n&&n.nationalPrefixFormattingRule()&&A6.test(n.nationalPrefixFormattingRule())?" ":""}},{key:"getInternationalPrefixBeforeCountryCallingCode",value:function(n,r){var o=n.IDDPrefix,i=n.missingPlus;return o?r&&r.spacing===!1?o:o+" ":i?"":"+"}},{key:"getTemplate",value:function(n){if(this.template){for(var r=-1,o=0,i=n.international?this.getInternationalPrefixBeforeCountryCallingCode(n,{spacing:!1}):"";o<i.length+n.getDigitsWithoutInternationalPrefix().length;)r=this.template.indexOf(dt,r+1),o++;return Ql(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,dt)+to(dt,r.callingCode.length)+" "+n:this.template=n}},{key:"getTemplateForFormat",value:function(n,r){var o=r.nationalSignificantNumber,i=r.international,a=r.nationalPrefix,d=r.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix,s=n.pattern();s=s.replace(k6(),"\\d").replace(F6(),"\\d");var l=_6.match(s)[0];if(!(o.length>l.length)){var h=new RegExp("^"+s+"$"),g=o.replace(/\d/g,Wi);h.test(g)&&(l=g);var u=this.getFormatFormat(n,i),f;if(this.shouldTryNationalPrefixFormattingRule(n,{international:i,nationalPrefix:a})){var c=u.replace(Ol,n.nationalPrefixFormattingRule());if(eo(n.nationalPrefixFormattingRule())===(a||"")+eo("$1")&&(u=c,f=!0,a))for(var m=a.length;m>0;)u=u.replace(/\d/,dt),m--}var v=l.replace(new RegExp(s),u).replace(new RegExp(Wi,"g"),dt);return f||(d?v=to(dt,d.length)+" "+v:a&&(v=to(dt,a.length)+this.getSeparatorAfterNationalPrefix(n)+v)),i&&(v=El(v)),v}}},{key:"formatNextNationalNumberDigits",value:function(n){var r=r6(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition,n);if(!r){this.resetFormat();return}return this.populatedNationalNumberTemplate=r[0],this.populatedNationalNumberTemplatePosition=r[1],Ql(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition+1)}},{key:"shouldTryNationalPrefixFormattingRule",value:function(n,r){var o=r.international,i=r.nationalPrefix;if(n.nationalPrefixFormattingRule()){var a=n.usesNationalPrefix();if(a&&i||!a&&!o)return!0}}}])})();function ir(e){"@babel/helpers - typeof";return ir=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},ir(e)}function au(e,t){return B6(e)||R6(e,t)||j6(e,t)||D6()}function D6(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
83
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function j6(e,t){if(e){if(typeof e=="string")return du(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?du(e,t):void 0}}function du(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function R6(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,i,a,d=[],s=!0,l=!1;try{if(i=(n=n.call(e)).next,t!==0)for(;!(s=(r=i.call(n)).done)&&(d.push(r.value),d.length!==t);s=!0);}catch(h){l=!0,o=h}finally{try{if(!s&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return d}}function B6(e){if(Array.isArray(e))return e}function W6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V6(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,H6(r.key),r)}}function U6(e,t,n){return t&&V6(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function H6(e){var t=G6(e,"string");return ir(t)=="symbol"?t:t+""}function G6(e,t){if(ir(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ir(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var K6="["+at+He+"]+",z6=new RegExp("^"+K6+"$","i"),q6="(?:["+Jr+"]["+at+He+"]*|["+at+He+"]+)",Y6=new RegExp("[^"+at+He+"]+.*$"),X6=/[^\d\[\]]/,Z6=(function(){function e(t){var n=t.defaultCountry,r=t.defaultCallingCode,o=t.metadata,i=t.onNationalSignificantNumberChange;W6(this,e),this.defaultCountry=n,this.defaultCallingCode=r,this.metadata=o,this.onNationalSignificantNumberChange=i}return U6(e,[{key:"input",value:function(n,r){var o=e5(n),i=au(o,2),a=i[0],d=i[1],s=eo(a),l;return d&&(r.digits||(r.startInternationalNumber(void 0,void 0),s||(l=!0))),s&&this.inputDigits(s,r),{digits:s,justLeadingPlus:l}}},{key:"inputDigits",value:function(n,r){var o=r.digits,i=o.length<3&&o.length+n.length>=3;if(r.appendDigits(n),i&&this.extractIddPrefix(r),this.isWaitingForCountryCallingCode(r)){if(!this.extractCountryCallingCode(r))return}else r.appendNationalSignificantNumberDigits(n);r.international||this.hasExtractedNationalSignificantNumber||this.extractNationalSignificantNumber(r.getNationalDigits(),function(a){return r.update(a)})}},{key:"isWaitingForCountryCallingCode",value:function(n){var r=n.international,o=n.callingCode;return r&&!o}},{key:"extractCountryCallingCode",value:function(n){var r=Ii("+"+n.getDigitsWithoutInternationalPrefix(),n.country,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),o=r.countryCallingCode,i=r.number;if(o)return n.setCallingCode(o),n.update({nationalSignificantNumber:i}),!0}},{key:"reset",value:function(n){if(n){this.hasSelectedNumberingPlan=!0;var r=n._nationalPrefixForParsing();this.couldPossiblyExtractAnotherNationalSignificantNumber=r&&X6.test(r)}else this.hasSelectedNumberingPlan=void 0,this.couldPossiblyExtractAnotherNationalSignificantNumber=void 0}},{key:"extractNationalSignificantNumber",value:function(n,r){if(this.hasSelectedNumberingPlan){var o=Pi(n,this.metadata),i=o.nationalPrefix,a=o.nationalNumber,d=o.carrierCode;if(a!==n)return this.onExtractedNationalNumber(i,d,a,n,r),!0}}},{key:"extractAnotherNationalSignificantNumber",value:function(n,r,o){if(!this.hasExtractedNationalSignificantNumber)return this.extractNationalSignificantNumber(n,o);if(this.couldPossiblyExtractAnotherNationalSignificantNumber){var i=Pi(n,this.metadata),a=i.nationalPrefix,d=i.nationalNumber,s=i.carrierCode;if(d!==r)return this.onExtractedNationalNumber(a,s,d,n,o),!0}}},{key:"onExtractedNationalNumber",value:function(n,r,o,i,a){var d=!1,s,l=i.lastIndexOf(o);if(l<0||l!==i.length-o.length)d=!0;else{var h=i.slice(0,l);h&&h!==n&&(s=h)}a({nationalPrefix:n,carrierCode:r,nationalSignificantNumber:o,nationalSignificantNumberIsModified:d,prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix:s}),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,o=n.IDDPrefix,i=n.digits;if(n.nationalSignificantNumber,!(r||o)){var a=wl(i,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata);if(a!==void 0&&a!==i)return n.update({IDDPrefix:i.slice(0,i.length-a.length)}),this.startInternationalNumber(n,{country:void 0,callingCode:void 0}),!0}}},{key:"fixMissingPlus",value:function(n){if(!n.international){var r=Sl(n.digits,n.country,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),o=r.countryCallingCode;if(o)return n.update({missingPlus:!0}),this.startInternationalNumber(n,{country:n.country,callingCode:o}),!0}}},{key:"startInternationalNumber",value:function(n,r){var o=r.country,i=r.callingCode;n.startInternationalNumber(o,i),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)})}}])})();function J6(e){var t=e.search(q6);if(!(t<0)){e=e.slice(t);var n;return e[0]==="+"&&(n=!0,e=e.slice(1)),e=e.replace(Y6,""),n&&(e="+"+e),e}}function Q6(e){var t=J6(e)||"";return t[0]==="+"?[t.slice(1),!0]:[t]}function e5(e){var t=Q6(e),n=au(t,2),r=n[0],o=n[1];return z6.test(r)||(r=""),[r,o]}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 t5(e,t){return i5(e)||o5(e,t)||r5(e,t)||n5()}function n5(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
84
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function r5(e,t){if(e){if(typeof e=="string")return su(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?su(e,t):void 0}}function su(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function o5(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,i,a,d=[],s=!0,l=!1;try{if(i=(n=n.call(e)).next,t!==0)for(;!(s=(r=i.call(n)).done)&&(d.push(r.value),d.length!==t);s=!0);}catch(h){l=!0,o=h}finally{try{if(!s&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return d}}function i5(e){if(Array.isArray(e))return e}function a5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d5(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,l5(r.key),r)}}function s5(e,t,n){return t&&d5(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function l5(e){var t=u5(e,"string");return ar(t)=="symbol"?t:t+""}function u5(e,t){if(ar(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ar(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var mn=(function(){function e(t,n){a5(this,e),this.metadata=new Ne(n);var r=this.getCountryAndCallingCode(t),o=t5(r,2),i=o[0],a=o[1];this.defaultCountry=i,this.defaultCallingCode=a,this.reset()}return s5(e,[{key:"getCountryAndCallingCode",value:function(n){var r,o;return n&&(Zt(n)?(r=n.defaultCountry,o=n.defaultCallingCode):r=n),r&&!this.metadata.hasCountry(r)&&(r=void 0),[r,o]}},{key:"input",value:function(n){var r=this.parser.input(n,this.state),o=r.digits,i=r.justLeadingPlus;if(i)this.formattedOutput="+";else if(o){this.determineTheCountryIfNeeded(),this.state.nationalSignificantNumber&&this.formatter.narrowDownMatchingFormats(this.state);var a;if(this.metadata.hasSelectedNumberingPlan()&&(a=this.formatter.format(o,this.state)),a===void 0&&this.parser.reExtractNationalSignificantNumber(this.state)){this.determineTheCountryIfNeeded();var d=this.state.getNationalDigits();d&&(a=this.formatter.format(d,this.state))}this.formattedOutput=a?this.getFullNumber(a):this.getNonFormattedNumber()}return this.formattedOutput}},{key:"reset",value:function(){var n=this;return this.state=new Q4({onCountryChange:function(o){n.country=o},onCallingCodeChange:function(o,i){n.metadata.selectNumberingPlan(i,o),n.formatter.reset(n.metadata.numberingPlan,n.state),n.parser.reset(n.metadata.numberingPlan)}}),this.formatter=new L6({state:this.state,metadata:this.metadata}),this.parser=new Z6({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 o=function(d){return r.formatter.getInternationalPrefixBeforeCountryCallingCode(r.state,{spacing:!!d})+d},i=this.state.callingCode;return o(i?n?"".concat(i," ").concat(n):i:"".concat(this.state.getDigitsWithoutInternationalPrefix()))}return n}},{key:"getNonFormattedNationalNumberWithPrefix",value:function(){var n=this.state,r=n.nationalSignificantNumber,o=n.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix,i=n.nationalPrefix,a=r,d=o||i;return d&&(a=d+a),a}},{key:"getNonFormattedNumber",value:function(){var n=this.state.nationalSignificantNumberIsModified;return this.getFullNumber(n?this.state.getNationalDigits():this.getNonFormattedNationalNumberWithPrefix())}},{key:"getNonFormattedTemplate",value:function(){var n=this.getNonFormattedNumber();if(n)return n.replace(/[\+\d]/g,dt)}},{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(Ti(this.isInternational()?this.state.callingCode:this.defaultCallingCode,{nationalNumber:this.state.nationalSignificantNumber,metadata:this.metadata}))}},{key:"getNumberValue",value:function(){var n=this.state,r=n.digits,o=n.callingCode,i=n.country,a=n.nationalSignificantNumber;if(r){if(this.isInternational())return o?"+"+o+a:"+"+r;if(i||o){var d=i?this.metadata.countryCallingCode():o;return"+"+d+a}}}},{key:"getNumber",value:function(){var n=this.state,r=n.nationalSignificantNumber,o=n.carrierCode,i=n.callingCode,a=this._getCountry();if(r&&!(!a&&!i)){if(a&&a===this.defaultCountry){var d=new Ne(this.metadata.metadata);d.selectNumberingPlan(a);var s=d.numberingPlan.callingCode(),l=this.metadata.getCountryCodesForCallingCode(s);if(l.length>1){var h=xl(r,{countries:l,metadata:this.metadata.metadata});h&&(a=h)}}var g=new kl(a||i,r,this.metadata.metadata);return o&&(g.carrierCode=o),g}}},{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()||""}}])})();function Vi(e){return new Ne(e).getCountries()}function c5(e,t,n){return n||(n=t,t=void 0),new mn(t,n).input(e)}function lu(e){var t=e.inputFormat,n=e.country,r=e.metadata;return t==="NATIONAL_PART_OF_INTERNATIONAL"?"+".concat(Nt(n,r)):""}function Ui(e,t){return t&&(e=e.slice(t.length),e[0]===" "&&(e=e.slice(1))),e}function f5(e,t,n){if(!(n&&n.ignoreRest)){var r=function(i){if(n)switch(i){case"end":n.ignoreRest=!0;break}};return jl(e,t,r)}}function uu(e){var t=e.onKeyDown,n=e.inputFormat;return p.useCallback(function(r){if(r.keyCode===h5&&n==="INTERNATIONAL"&&r.target instanceof HTMLInputElement&&p5(r.target)===m5.length){r.preventDefault();return}t&&t(r)},[t,n])}function p5(e){return e.selectionStart}var h5=8,m5="+",v5=["onKeyDown","country","inputFormat","metadata","international","withCountryCallingCode"];function Hi(){return Hi=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},Hi.apply(this,arguments)}function g5(e,t){if(e==null)return{};var n=b5(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 b5(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 $5(e){function t(n,r){var o=n.onKeyDown,i=n.country,a=n.inputFormat,d=n.metadata,s=d===void 0?e:d;n.international,n.withCountryCallingCode;var l=g5(n,v5),h=p.useCallback(function(u){var f=new mn(i,s),c=lu({inputFormat:a,country:i,metadata:s}),m=f.input(c+u),v=f.getTemplate();return c&&(m=Ui(m,c),v&&(v=Ui(v,c))),{text:m,template:v}},[i,s]),g=uu({onKeyDown:o,inputFormat:a});return p.createElement(qr,Hi({},l,{ref:r,parse:f5,format:h,onKeyDown:g}))}return t=p.forwardRef(t),t.propTypes={value:q.string.isRequired,onChange:q.func.isRequired,onKeyDown:q.func,country:q.string,inputFormat:q.oneOf(["INTERNATIONAL","NATIONAL_PART_OF_INTERNATIONAL","NATIONAL","INTERNATIONAL_OR_NATIONAL"]).isRequired,metadata:q.object},t}const y5=$5();var w5=["value","onChange","onKeyDown","country","inputFormat","metadata","inputComponent","international","withCountryCallingCode"];function Gi(){return Gi=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},Gi.apply(this,arguments)}function C5(e,t){if(e==null)return{};var n=x5(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 x5(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 S5(e){function t(n,r){var o=n.value,i=n.onChange,a=n.onKeyDown,d=n.country,s=n.inputFormat,l=n.metadata,h=l===void 0?e:l,g=n.inputComponent,u=g===void 0?"input":g;n.international,n.withCountryCallingCode;var f=C5(n,w5),c=lu({inputFormat:s,country:d,metadata:h}),m=p.useCallback(function(C){var E=Mi(C.target.value);if(E===o){var $=cu(c,E,d,h);$.indexOf(C.target.value)===0&&(E=E.slice(0,-1))}i(E)},[c,o,i,d,h]),v=uu({onKeyDown:a,inputFormat:s});return p.createElement(u,Gi({},f,{ref:r,value:cu(c,o,d,h),onChange:m,onKeyDown:v}))}return t=p.forwardRef(t),t.propTypes={value:q.string.isRequired,onChange:q.func.isRequired,onKeyDown:q.func,country:q.string,inputFormat:q.oneOf(["INTERNATIONAL","NATIONAL_PART_OF_INTERNATIONAL","NATIONAL","INTERNATIONAL_OR_NATIONAL"]).isRequired,metadata:q.object,inputComponent:q.elementType},t}const E5=S5();function cu(e,t,n,r){return Ui(c5(e+t,n,r),e)}function O5(e){return fu(e[0])+fu(e[1])}function fu(e){return String.fromCodePoint(127397+e.toUpperCase().charCodeAt(0))}var P5=["value","onChange","options","disabled","readOnly"],T5=["value","options","className","iconComponent","getIconAspectRatio","arrowComponent","unicodeFlags"];function N5(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=I5(e))||t){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.
|
|
85
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function I5(e,t){if(e){if(typeof e=="string")return pu(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 pu(e,t)}}function pu(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 no(){return no=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},no.apply(this,arguments)}function hu(e,t){if(e==null)return{};var n=_5(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 _5(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 mu(e){var t=e.value,n=e.onChange,r=e.options,o=e.disabled,i=e.readOnly,a=hu(e,P5),d=p.useCallback(function(s){var l=s.target.value;n(l==="ZZ"?void 0:l)},[n]);return p.useMemo(function(){return gu(r,t)},[r,t]),p.createElement("select",no({},a,{disabled:o||i,readOnly:i,value:t||"ZZ",onChange:d}),r.map(function(s){var l=s.value,h=s.label,g=s.divider;return p.createElement("option",{key:g?"|":l||"ZZ",value:g?"|":l||"ZZ",disabled:!!g,style:g?A5:void 0},h)}))}mu.propTypes={value:q.string,onChange:q.func.isRequired,options:q.arrayOf(q.shape({value:q.string,label:q.string,divider:q.bool})).isRequired,disabled:q.bool,readOnly:q.bool};var A5={fontSize:"1px",backgroundColor:"currentColor",color:"inherit"};function vu(e){var t=e.value,n=e.options,r=e.className,o=e.iconComponent;e.getIconAspectRatio;var i=e.arrowComponent,a=i===void 0?k5:i,d=e.unicodeFlags,s=hu(e,T5),l=p.useMemo(function(){return gu(n,t)},[n,t]);return p.createElement("div",{className:"PhoneInputCountry"},p.createElement(mu,no({},s,{value:t,options:n,className:zr("PhoneInputCountrySelect",r)})),l&&(d&&t?p.createElement("div",{className:"PhoneInputCountryIconUnicode"},O5(t)):p.createElement(o,{"aria-hidden":!0,country:t,label:l.label,aspectRatio:d?1:void 0})),p.createElement(a,null))}vu.propTypes={iconComponent:q.elementType,arrowComponent:q.elementType,unicodeFlags:q.bool};function k5(){return p.createElement("div",{className:"PhoneInputCountrySelectArrow"})}function gu(e,t){for(var n=N5(e),r;!(r=n()).done;){var o=r.value;if(!o.divider&&F5(o.value,t))return o}}function F5(e,t){return e==null?t==null:e===t}var M5=["country","countryName","flags","flagUrl"];function Ki(){return Ki=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},Ki.apply(this,arguments)}function L5(e,t){if(e==null)return{};var n=D5(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 D5(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 zi(e){var t=e.country,n=e.countryName,r=e.flags,o=e.flagUrl,i=L5(e,M5);return r&&r[t]?r[t]({title:n}):p.createElement("img",Ki({},i,{alt:n,role:n?void 0:"presentation",src:o.replace("{XX}",t).replace("{xx}",t.toLowerCase())}))}zi.propTypes={country:q.string.isRequired,countryName:q.string.isRequired,flags:q.objectOf(q.elementType),flagUrl:q.string.isRequired};var j5=["aspectRatio"],R5=["title"],B5=["title"];function ro(){return ro=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},ro.apply(this,arguments)}function qi(e,t){if(e==null)return{};var n=W5(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 W5(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 oo(e){var t=e.aspectRatio,n=qi(e,j5);return t===1?p.createElement($u,n):p.createElement(bu,n)}oo.propTypes={title:q.string.isRequired,aspectRatio:q.number};function bu(e){var t=e.title,n=qi(e,R5);return p.createElement("svg",ro({},n,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 75 50"}),p.createElement("title",null,t),p.createElement("g",{className:"PhoneInputInternationalIconGlobe",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeMiterlimit:"10"},p.createElement("path",{strokeLinecap:"round",d:"M47.2,36.1C48.1,36,49,36,50,36c7.4,0,14,1.7,18.5,4.3"}),p.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"}),p.createElement("line",{x1:"26",y1:"25",x2:"74",y2:"25"}),p.createElement("line",{x1:"50",y1:"1",x2:"50",y2:"49"}),p.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"}),p.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"})),p.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"}))}bu.propTypes={title:q.string.isRequired};function $u(e){var t=e.title,n=qi(e,B5);return p.createElement("svg",ro({},n,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"}),p.createElement("title",null,t),p.createElement("g",{className:"PhoneInputInternationalIconGlobe",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeLinecap:"round"},p.createElement("path",{d:"M8.45,13A21.44,21.44,0,1,1,37.08,41.56"}),p.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"}),p.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"}),p.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"}),p.createElement("line",{x1:"27.8",y1:"0.85",x2:"27.8",y2:"34.61"}),p.createElement("line",{x1:"15.2",y1:"22.23",x2:"49.15",y2:"22.23"})),p.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"}))}$u.propTypes={title:q.string.isRequired};function V5(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 yu(e){V5(e)||console.error("[react-phone-number-input] Expected the initial `value` to be a E.164 phone number. Got",e)}function U5(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=H5(e))||t){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.
|
|
86
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function H5(e,t){if(e){if(typeof e=="string")return wu(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 wu(e,t)}}function wu(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 G5(e,t){if(!t)return e;for(var n=[],r=[],o=n,i=function(){var l=d.value;if(l==="|")o.push({divider:!0});else if(l==="..."||l==="…")o=r;else{var h;l==="🌐"?h=void 0:h=l;var g=e.indexOf(e.filter(function(f){return f.value===h})[0]),u=e[g];e.splice(g,1),o.push(u)}},a=U5(t),d;!(d=a()).done;)i();return n.concat(e).concat(r)}function K5(e,t){if(e&&(e=e.filter(function(n){switch(n){case"🌐":case"|":case"...":case"…":return!0;default:return io(n,t)}}),e.length>0))return e}function io(e,t){return gl(e,t)?!0:(console.error("Country not found: ".concat(e)),!1)}function Cu(e,t){return e&&(e=e.filter(function(n){return io(n,t)}),e.length===0&&(e=void 0)),e}var z5=["country","label","aspectRatio"];function Yi(){return Yi=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},Yi.apply(this,arguments)}function q5(e,t){if(e==null)return{};var n=Y5(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 Y5(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 xu(e){var t=e.flags,n=e.flagUrl,r=e.flagComponent,o=e.internationalIcon;function i(a){var d=a.country,s=a.label,l=a.aspectRatio,h=q5(a,z5),g=o===oo?l:void 0;return p.createElement("div",Yi({},h,{className:zr("PhoneInputCountryIcon",{"PhoneInputCountryIcon--square":g===1,"PhoneInputCountryIcon--border":d})}),d?p.createElement(r,{country:d,countryName:s,flags:t,flagUrl:n,className:"PhoneInputCountryIconImg"}):p.createElement(o,{title:s,aspectRatio:g,className:"PhoneInputCountryIconImg"}))}return i.propTypes={country:q.string,label:q.string.isRequired,aspectRatio:q.number},i}xu({flagUrl:"https://purecatamphetamine.github.io/country-flag-icons/3x2/{XX}.svg",flagComponent:zi,internationalIcon:oo});function X5(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=Z5(e))||t){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.
|
|
87
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Z5(e,t){if(e){if(typeof e=="string")return Su(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 Su(e,t)}}function Su(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 J5(e,t){for(var n=X5(e),r;!(r=n()).done;){var o=r.value;o&&Q5(o,t)}}function Q5(e,t){typeof e=="function"?e(t):e.current=t}var Eu=q.shape({country_calling_codes:q.object.isRequired,countries:q.object.isRequired}),Ou=q.objectOf(q.string);function At(e,t){var n="+"+Nt(e,t);return n}function e8(e){var t=e.value,n=e.phoneNumber,r=e.defaultCountry,o=e.getAnyCountry,i=e.countries,a=e.required,d=e.metadata,s;return n&&n.country?s=n.country:r&&(!t||gn(t,r,d))&&(s=r),i&&i.indexOf(s)<0&&(s=void 0),!s&&a&&i&&i.length>0&&(s=o()),s}function t8(e){var t=e.countries,n=e.countryNames,r=e.addInternationalOption,o=e.compareStringsLocales,i=e.compareStrings;i||(i=s8);var a=t.map(function(d){return{value:d,label:n[d]||d}});return a.sort(function(d,s){return i(d.label,s.label,o)}),r&&a.unshift({label:n.ZZ}),a}function Pu(e,t){return U4(e||"",t)}function n8(e){return e.formatNational().replace(/\D/g,"")}function r8(e,t){var n=t.prevCountry,r=t.newCountry,o=t.metadata,i=t.useNationalFormat;if(n===r)return e;if(!e)return i?"":r?At(r,o):"";if(r){if(e[0]==="+"){if(i)return e.indexOf("+"+Nt(r,o))===0?l8(e,r,o):"";if(n){var a=At(r,o);return e.indexOf(a)===0?e:a}else{var d=At(r,o);return e.indexOf(d)===0?e:d}}}else if(e[0]!=="+")return vn(e,n,o)||"";return e}function vn(e,t,n){if(e){if(e[0]==="+"){if(e==="+")return;var r=new mn(t,n);return r.input(e),r.getNumberValue()}if(t){var o=Iu(e,t,n);return"+".concat(Nt(t,n)).concat(o||"")}}}function o8(e,t,n){var r=Iu(e,t,n);if(r){var o=r.length-i8(t,n);if(o>0)return e.slice(0,e.length-o)}return e}function i8(e,t){return t=new Ne(t),t.selectNumberingPlan(e),t.numberingPlan.possibleLengths()[t.numberingPlan.possibleLengths().length-1]}function Tu(e,t){var n=t.country,r=t.countries,o=t.defaultCountry,i=t.latestCountrySelectedByUser,a=t.required,d=t.metadata;if(e==="+")return n;var s=d8(e,d);if(s)return!r||r.indexOf(s)>=0?s:void 0;if(n){if(gn(e,n,d)){if(i&&gn(e,i,d))return i;if(o&&gn(e,o,d))return o;if(!a)return}else if(!a)return}return n}function a8(e,t){var n=t.prevPhoneDigits,r=t.country,o=t.defaultCountry,i=t.latestCountrySelectedByUser,a=t.countryRequired,d=t.getAnyCountry,s=t.countries,l=t.international,h=t.limitMaxLength,g=t.countryCallingCodeEditable,u=t.metadata;if(l&&g===!1&&r){var f=At(r,u);if(e.indexOf(f)!==0){var c,m=e&&e[0]!=="+";return m?(e=f+e,c=vn(e,r,u)):e=f,{phoneDigits:e,value:c,country:r}}}l===!1&&r&&e&&e[0]==="+"&&(e=Nu(e,r,u)),e&&r&&h&&(e=o8(e,r,u)),e&&e[0]!=="+"&&(!r||l)&&(e="+"+e),!e&&n&&n[0]==="+"&&(l?r=void 0:r=o),e==="+"&&n&&n[0]==="+"&&n.length>1&&(r=void 0);var v;return e&&(e[0]==="+"&&(e==="+"||r&&At(r,u).indexOf(e)===0)?v=void 0:v=vn(e,r,u)),v&&(r=Tu(v,{country:r,countries:s,defaultCountry:o,latestCountrySelectedByUser:i,required:!1,metadata:u}),l===!1&&r&&e&&e[0]==="+"&&(e=Nu(e,r,u),v=vn(e,r,u))),!r&&a&&(r=o||d()),{phoneDigits:e,country:r,value:v}}function Nu(e,t,n){if(e.indexOf(At(t,n))===0){var r=new mn(t,n);r.input(e);var o=r.getNumber();return o?o.formatNational().replace(/\D/g,""):""}else return e.replace(/\D/g,"")}function d8(e,t){var n=new mn(null,t);return n.input(e),n.getCountry()}function s8(e,t,n){return String.prototype.localeCompare?e.localeCompare(t,n):e<t?-1:e>t?1:0}function l8(e,t,n){if(t){var r="+"+Nt(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 o=0,i=Object.keys(n.country_calling_codes);o<i.length;o++){var a=i[o];if(e.indexOf(a)===1)return e.slice(1+a.length)}return""}function Iu(e,t,n){var r=new mn(t,n);r.input(e);var o=r.getNumber();return o&&o.nationalNumber}function gn(e,t,n){for(var r=At(t,n),o=0;o<e.length&&o<r.length;){if(e[o]!==r[o])return!1;o++}return!0}function _u(e){var t=e.value,n=e.phoneNumber,r=e.defaultCountry,o=e.international,i=e.useNationalFormat,a=e.metadata;return(o===!1||i)&&n&&n.country?n8(n):!t&&o&&r?At(r,a):t}function dr(e){"@babel/helpers - typeof";return dr=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},dr(e)}function Au(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 ao(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Au(Object(n),!0).forEach(function(r){u8(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Au(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function u8(e,t,n){return t=c8(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c8(e){var t=f8(e,"string");return dr(t)=="symbol"?t:t+""}function f8(e,t){if(dr(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(dr(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function p8(e,t,n){var r=e.metadata,o=e.countries,i=e.defaultCountry,a=e.value,d=e.reset,s=e.international,l=e.displayInitialValueAsLocalNumber,h=e.initialValueFormat,g=t.defaultCountry,u=t.value,f=t.reset;n.country;var c=n.value,m=n.hasUserSelectedACountry,v=n.latestCountrySelectedByUser,C=function(A){return _u(ao(ao({},A),{},{international:s,useNationalFormat:l||h==="national",metadata:r}))};if(d!==f)return{phoneDigits:C({value:void 0,defaultCountry:i}),value:void 0,country:i,latestCountrySelectedByUser:void 0,hasUserSelectedACountry:void 0};if(i!==g){var E=!i||io(i,r),$=!c||s&&c===C({value:void 0,defaultCountry:g}),x=!a&&$;if(!m&&E&&x)return{country:i,phoneDigits:C({value:void 0,defaultCountry:i}),value:void 0}}if(!ku(a,u)&&!ku(a,c)){var w,N;if(a){a&&yu(a),w=Pu(a,r);var R=Cu(o,r);w&&w.country?(!R||R.indexOf(w.country)>=0)&&(N=w.country):(N=Tu(a,{country:void 0,countries:R,metadata:r}),N||i&&a.indexOf(At(i,r))===0&&(N=i))}var K;if(a){if(v){var Y=N?v===N:gn(a,v,r);Y?N||(N=v):K={latestCountrySelectedByUser:void 0}}}else K={latestCountrySelectedByUser:void 0,hasUserSelectedACountry:void 0};return ao(ao({},K),{},{phoneDigits:C({phoneNumber:w,value:a,defaultCountry:i}),value:a,country:a?N:i})}}function ku(e,t){return e===null&&(e=void 0),t===null&&(t=void 0),e===t}var h8=["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 bn(e){"@babel/helpers - typeof";return bn=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},bn(e)}function Fu(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 Mu(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Fu(Object(n),!0).forEach(function(r){st(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fu(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}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 m8(e,t){if(e==null)return{};var n=v8(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 v8(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 g8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lu(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,ju(r.key),r)}}function b8(e,t,n){return t&&Lu(e.prototype,t),n&&Lu(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function $8(e,t,n){return t=so(t),y8(e,Du()?Reflect.construct(t,n||[],so(e).constructor):t.apply(e,n))}function y8(e,t){if(t&&(bn(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return w8(e)}function w8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Du(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Du=function(){return!!e})()}function so(e){return so=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},so(e)}function C8(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&&Xi(e,t)}function Xi(e,t){return Xi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},Xi(e,t)}function st(e,t,n){return t=ju(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ju(e){var t=x8(e,"string");return bn(t)=="symbol"?t:t+""}function x8(e,t){if(bn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(bn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var S8=(function(e){function t(n){var r;g8(this,t),r=$8(this,t,[n]),st(r,"setInputRef",function(v){J5([r.props.inputRef,r.inputRef],v)}),st(r,"isCountrySupportedWithError",function(v){var C=r.props.metadata;return io(v,C)}),st(r,"onCountryChange",function(v){var C=r.props,E=C.international,$=C.metadata,x=C.onChange,w=C.focusInputOnCountrySelection,N=r.state,R=N.phoneDigits,K=N.country,Y=r8(R,{prevCountry:K,newCountry:v,metadata:$,useNationalFormat:!E}),D=vn(Y,v,$);w&&r.inputRef.current.focus(),r.setState({country:v,latestCountrySelectedByUser:v,hasUserSelectedACountry:!0,phoneDigits:Y,value:D},function(){x(D)})}),st(r,"onChange",function(v){var C=r.props,E=C.defaultCountry,$=C.onChange,x=C.addInternationalOption,w=C.international,N=C.limitMaxLength,R=C.countryCallingCodeEditable,K=C.metadata,Y=r.state,D=Y.countries,A=Y.phoneDigits,M=Y.country,G=Y.latestCountrySelectedByUser,Z=a8(v,{prevPhoneDigits:A,country:M,countryRequired:!x,defaultCountry:E,latestCountrySelectedByUser:G,getAnyCountry:function(){return r.getFirstSupportedCountry({countries:D})},countries:D,international:w,limitMaxLength:N,countryCallingCodeEditable:R,metadata:K}),V=Z.phoneDigits,J=Z.country,ne=Z.value,Q={phoneDigits:V,value:ne,country:J};G&&ne&&!gn(ne,G,K)&&(Q.latestCountrySelectedByUser=void 0),R===!1&&!ne&&V===r.state.phoneDigits&&(Q.forceRerender={}),r.setState(Q,function(){return $(ne)})}),st(r,"_onFocus",function(){return r.setState({isFocused:!0})}),st(r,"_onBlur",function(){return r.setState({isFocused:!1})}),st(r,"onFocus",function(v){r._onFocus();var C=r.props.onFocus;C&&C(v)}),st(r,"onBlur",function(v){var C=r.props.onBlur;r._onBlur(),C&&C(v)}),st(r,"onCountryFocus",function(v){r._onFocus();var C=r.props.countrySelectProps;if(C){var E=C.onFocus;E&&E(v)}}),st(r,"onCountryBlur",function(v){r._onBlur();var C=r.props.countrySelectProps;if(C){var E=C.onBlur;E&&E(v)}}),r.inputRef=p.createRef();var o=r.props,i=o.value;o.labels;var a=o.international,d=o.addInternationalOption,s=o.displayInitialValueAsLocalNumber,l=o.initialValueFormat,h=o.metadata,g=r.props,u=g.defaultCountry,f=g.countries;u&&(r.isCountrySupportedWithError(u)||(u=void 0)),i&&yu(i),f=Cu(f,h);var c=Pu(i,h);r.CountryIcon=xu(r.props);var m=e8({value:i,phoneNumber:c,defaultCountry:u,required:!d,countries:f||Vi(h),getAnyCountry:function(){return r.getFirstSupportedCountry({countries:f})},metadata:h});return r.state={props:r.props,country:m,countries:f,phoneDigits:_u({value:i,phoneNumber:c,defaultCountry:u,international:a,useNationalFormat:s||l==="national",metadata:h}),value:i},r}return C8(t,e),b8(t,[{key:"componentDidMount",value:function(){var r=this.props.onCountryChange,o=this.props.defaultCountry,i=this.state.country;r&&(o&&(this.isCountrySupportedWithError(o)||(o=void 0)),i!==o&&r(i))}},{key:"componentDidUpdate",value:function(r,o){var i=this.props.onCountryChange,a=this.state.country;i&&a!==o.country&&i(a)}},{key:"getCountrySelectOptions",value:function(r){var o=r.countries,i=this.props,a=i.international,d=i.countryCallingCodeEditable,s=i.countryOptionsOrder,l=i.addInternationalOption,h=i.labels,g=i.locales,u=i.metadata;return this.useMemoCountrySelectOptions(function(){return G5(t8({countries:o||Vi(u),countryNames:h,addInternationalOption:a&&d===!1?!1:l,compareStringsLocales:g}),K5(s,u))},[o,s,l,h,u])}},{key:"useMemoCountrySelectOptions",value:function(r,o){return(!this.countrySelectOptionsMemoDependencies||!O8(o,this.countrySelectOptionsMemoDependencies))&&(this.countrySelectOptionsMemo=r(),this.countrySelectOptionsMemoDependencies=o),this.countrySelectOptionsMemo}},{key:"getFirstSupportedCountry",value:function(r){var o=r.countries,i=this.getCountrySelectOptions({countries:o});return i[0].value}},{key:"render",value:function(){var r=this.props,o=r.name,i=r.disabled,a=r.readOnly,d=r.autoComplete,s=r.style,l=r.className;r.inputRef;var h=r.inputComponent,g=r.numberInputProps,u=r.smartCaret,f=r.countrySelectComponent,c=r.countrySelectProps,m=r.containerComponent,v=r.containerComponentProps;r.defaultCountry,r.countries,r.countryOptionsOrder;var C=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,$=r.international;r.locales;var x=m8(r,h8),w=this.state,N=w.country,R=w.countries,K=w.phoneDigits,Y=w.isFocused,D=u?y5:E5,A=this.getCountrySelectOptions({countries:R});return p.createElement(m,$n({style:s,className:zr(l,"PhoneInput",{"PhoneInput--focus":Y,"PhoneInput--disabled":i,"PhoneInput--readOnly":a})},v),p.createElement(f,$n({name:o?"".concat(o,"Country"):void 0,"aria-label":C.country},c,{value:N,options:A,onChange:this.onCountryChange,onFocus:this.onCountryFocus,onBlur:this.onCountryBlur,disabled:i||c&&c.disabled,readOnly:a||c&&c.readOnly,iconComponent:this.CountryIcon})),p.createElement(D,$n({ref:this.setInputRef,type:"tel",autoComplete:d},g,x,{inputFormat:$===!0?"INTERNATIONAL":$===!1?"NATIONAL":"INTERNATIONAL_OR_NATIONAL",international:$?!0:void 0,withCountryCallingCode:$?!0:void 0,name:o,metadata:E,country:N,value:K||"",onChange:this.onChange,onFocus:this.onFocus,onBlur:this.onBlur,disabled:i,readOnly:a,inputComponent:h,className:zr("PhoneInputInput",g&&g.className,x.className)})))}}],[{key:"getDerivedStateFromProps",value:function(r,o){return Mu({props:r},p8(r,o.props,o))}}])})(p.PureComponent),Ru=p.forwardRef(function(e,t){return p.createElement(S8,$n({},E8(e),{inputRef:t}))});Ru.propTypes={value:q.string,onChange:q.func.isRequired,onFocus:q.func,onBlur:q.func,disabled:q.bool,readOnly:q.bool,autoComplete:q.string,initialValueFormat:q.oneOf(["national"]),displayInitialValueAsLocalNumber:q.bool,defaultCountry:q.string,countries:q.arrayOf(q.string),labels:Ou,locales:q.oneOfType([q.string,q.arrayOf(q.string)]),flagUrl:q.string,flags:q.objectOf(q.elementType),flagComponent:q.elementType,addInternationalOption:q.bool,internationalIcon:q.elementType,countryOptionsOrder:q.arrayOf(q.string),style:q.object,className:q.string,countrySelectComponent:q.elementType,countrySelectProps:q.object,inputComponent:q.elementType,numberInputProps:q.object,containerComponent:q.elementType,containerComponentProps:q.object,smartCaret:q.bool,international:q.bool,limitMaxLength:q.bool,countryCallingCodeEditable:q.bool,metadata:Eu,onCountryChange:q.func,focusInputOnCountrySelection:q.bool};var Bu={autoComplete:"tel",countrySelectComponent:vu,flagComponent:zi,flagUrl:"https://purecatamphetamine.github.io/country-flag-icons/3x2/{XX}.svg",internationalIcon:oo,inputComponent:"input",containerComponent:"div",reset:q.any,smartCaret:!0,addInternationalOption:!0,countryCallingCodeEditable:!0,focusInputOnCountrySelection:!0};function E8(e){e=Mu({},e);for(var t in Bu)e[t]===void 0&&(e[t]=Bu[t]);return e}function O8(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 yn={ext:"ext.",country:"Phone number country",phone:"Phone",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",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",XA:"Abkhazia",XK:"Kosovo",XO:"South Ossetia",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe",ZZ:"International"};var P8=["metadata","labels"];function Zi(){return Zi=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},Zi.apply(this,arguments)}function T8(e,t){if(e==null)return{};var n=N8(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 N8(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 Wu(e){var t=p.forwardRef(function(n,r){var o=n.metadata,i=o===void 0?e:o,a=n.labels,d=a===void 0?yn:a,s=T8(n,P8);return p.createElement(Ru,Zi({},s,{ref:r,metadata:i,labels:d}))});return t.propTypes={metadata:Eu,labels:Ou},t}Wu();function Ji(e,t){var n=Array.prototype.slice.call(t);return n.push(Gs),e.apply(this,n)}Wu(Gs);function I8(){return Ji(z4,arguments)}function _8(){return Ji(Vi,arguments)}function Qi(){return Ji(Nt,arguments)}const A8=({countryShortName:e,required:t=!1,themeColor:n="",onUpdate:r,placeholder:o="",error:i=!1,validate:a=!0,id:d="",phoneNumberValue:s="",countryCodeFromURL:l="",additionalClassName:h="",type:g="tel",inputMode:u="numeric"})=>{const[f,c]=p.useState(i),v=p.useRef(e&&e!=="001"?e:"US");p.useEffect(()=>{if(l){const A=x(l);A&&(N(A),v.current=l)}},[l]);const C=(A,M)=>JSON.stringify(A)===JSON.stringify(M),E=(A,M)=>yn[A]<yn[M]?-1:yn[A]>yn[M]?1:0,$=_8().sort(E).map(A=>({label:A+" +"+Qi(A),value:A})),x=A=>$.find(M=>M.value==A),[w,N]=p.useState(()=>{const A=x(v.current);return A||null}),R=A=>{v.current=A;const M=x(A);N(M),D(K.current)},K=p.useRef(s??""),Y=A=>{const M=A.trim();if(M&&v.current){if(/^(\d)\1*$/.test(A.trim()))return!1;const V=`+${Qi(v.current)}${M}`;return I8(V)}return!0},D=(A,M=!1)=>{if(!a){const V={phoneNumber:A,countryCode:v.current,error:void 0,id:d,initialConsentChecked:M};r(V)}A=A.trim();const G=A?Y(A)?void 0:"invalid":t?"required":void 0;c(!(!f&&G!==void 0));const Z={phoneNumber:A,countryCode:v.current,error:G,id:d,initialConsentChecked:M};r(Z)};return _.jsx(_.Fragment,{children:_.jsxs("div",{className:`${Vt.phoneWrapper} ${h?.trim()||""}`,"data-testid":"phone-wrapper",children:[_.jsx("div",{className:`${Vt.countryCode} ouiCountryCode`,children:_.jsx(Bs,{selected:w,onSelect:R,"data-testid":"phone-select",themeColor:n,children:_.jsx("div",{className:`${Vt.phonNumberList} ouiPhonNumberList`,children:_.jsx(Ws,{setQuery:()=>{},"data-testid":"phone-select-options",children:$.map(A=>_.jsx(pi,{disable:!1,value:A.value,className:({active:M})=>`${M||C(w,A)?Vt.active:""}`,"data-testid":`phone-select-option-${A.value}`,children:_.jsx("div",{className:`${Vt.countryListText} ouiCountryListText`,children:_.jsxs("span",{children:[yn[A.value]," +",Qi(A.value)]})})},A.value))})})})}),_.jsx("div",{className:`${Vt.phoneInputWrap} ouiPhoneInputWrap`,children:_.jsx(Hs,{type:g,inputMode:u,"aria-labelledby":"phone-number",placeholder:o,className:`${Vt.phoneInput} ${f&&a?Vt.serverError:""} ouiPhoneInput`,id:d,value:s??"",onBlur:A=>{K.current=A.target.value.trim()},onChange:A=>{K.current=A.target.value,D(K.current)},"data-testid":"phone-input",themeColor:n})})]})})},Vu={progress:"_progress_1piqy_1","progress-bar":"_progress-bar_1piqy_9"},k8=({value:e,mode:t,strokeWidth:n=4,barColor:r="#1976d2",trackColor:o="rgba(25,118,210,0.3)"})=>{const i=t??(e!=null?"determinate":"indeterminate"),a=p.useMemo(()=>i==="determinate"&&e!=null?Math.max(0,Math.min(100,e)):0,[i,e]);return _.jsxs(_.Fragment,{children:[_.jsx("div",{className:Vu.progress,role:"progressbar","aria-valuemin":i==="determinate"?0:void 0,"aria-valuemax":i==="determinate"?100:void 0,"aria-valuenow":i==="determinate"?a:void 0,style:{height:n,backgroundColor:o},children:_.jsx("div",{className:Vu["progress-bar"],style:{height:n,width:i==="determinate"?`${a}%`:void 0,backgroundColor:r,animationName:i==="indeterminate"?"loading":void 0,left:i==="indeterminate"?-200:0}})}),_.jsx("style",{children:`
|
|
13
|
+
color: hsl(${Math.max(0,Math.min(120-120*r,120))}deg 100% 31%);`,n?.key)}return n?.onChange&&!(a&&n.skipInitialOnChange)&&n.onChange(i),a=!1,i}return o.updateDeps=e=>{r=e},o}function Nn(e,t){if(e===void 0)throw Error(`Unexpected undefined${t?`: ${t}`:``}`);return e}var Pn=(e,t)=>Math.abs(e-t)<1.01,Fn=(e,t,n)=>{let r;return function(...i){e.clearTimeout(r),r=e.setTimeout(()=>t.apply(this,i),n)}},In,Ln=()=>{if(In!==void 0)return In;if(typeof navigator>`u`)return In=!1;if(/iP(hone|od|ad)/.test(navigator.userAgent))return In=!0;let e=navigator.maxTouchPoints;return In=navigator.platform===`MacIntel`&&e!==void 0&&e>0},Rn=e=>{let{offsetWidth:t,offsetHeight:n}=e;return{width:t,height:n}},zn=e=>e,Bn=e=>{let t=Math.max(e.startIndex-e.overscan,0),n=Math.min(e.endIndex+e.overscan,e.count-1)-t+1,r=Array(n);for(let e=0;e<n;e++)r[e]=t+e;return r},Vn=(e,t)=>{let n=e.scrollElement;if(!n)return;let r=e.targetWindow;if(!r)return;let i=e=>{let{width:n,height:r}=e;t({width:Math.round(n),height:Math.round(r)})};if(i(Rn(n)),!r.ResizeObserver)return()=>{};let a=new r.ResizeObserver(t=>{let r=()=>{let e=t[0];if(e?.borderBoxSize){let t=e.borderBoxSize[0];if(t){i({width:t.inlineSize,height:t.blockSize});return}}i(Rn(n))};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(r):r()});return a.observe(n,{box:`border-box`}),()=>{a.unobserve(n)}},Hn={passive:!0},Un=typeof window>`u`?!0:`onscrollend`in window,Wn=(e,t,n)=>{let r=e.scrollElement;if(!r)return;let i=e.targetWindow;if(!i)return;let a=e.options.useScrollendEvent&&Un,o=0,s=a?null:Fn(i,()=>t(o,!1),e.options.isScrollingResetDelay),c=e=>()=>{o=n(r),s?.(),t(o,e)},l=c(!0),u=c(!1);return r.addEventListener(`scroll`,l,Hn),a&&r.addEventListener(`scrollend`,u,Hn),()=>{r.removeEventListener(`scroll`,l),a&&r.removeEventListener(`scrollend`,u)}},Gn=(e,t)=>Wn(e,t,t=>{let{horizontal:n,isRtl:r}=e.options;return n?t.scrollLeft*(r&&-1||1):t.scrollTop}),Kn=(e,t,n)=>{if(t?.borderBoxSize){let e=t.borderBoxSize[0];if(e)return Math.round(e[n.options.horizontal?`inlineSize`:`blockSize`])}return e[n.options.horizontal?`offsetWidth`:`offsetHeight`]},qn=(e,{adjustments:t=0,behavior:n},r)=>{var i,a;(a=(i=r.scrollElement)?.scrollTo)==null||a.call(i,{[r.options.horizontal?`left`:`top`]:e+t,behavior:n})},Jn=class{constructor(e){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollState=null,this.measurementsCache=[],this._flatMeasurements=null,this.itemSizeCache=new Map,this.itemSizeCacheVersion=0,this.laneAssignments=new Map,this.pendingMin=null,this.prevLanes=void 0,this.lanesChangedFlag=!1,this.lanesSettling=!1,this.pendingScrollAnchor=null,this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this._iosDeferredAdjustment=0,this._iosTouching=!1,this._iosJustTouchEnded=!1,this._iosTouchEndTimerId=null,this._intendedScrollOffset=null,this.elementsCache=new Map,this.now=()=>{var e;return((e=this.targetWindow?.performance)?.now)?.call(e)??Date.now()},this.observer=(()=>{let e=null,t=()=>e||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:e=new this.targetWindow.ResizeObserver(e=>{e.forEach(e=>{let t=()=>{let t=e.target,n=this.indexFromElement(t);if(!t.isConnected){this.observer.unobserve(t);for(let[e,n]of this.elementsCache)if(n===t){this.elementsCache.delete(e);break}return}this.shouldMeasureDuringScroll(n)&&this.resizeItem(n,this.options.measureElement(t,e,this))};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(t):t()})}));return{disconnect:()=>{var n;(n=t())==null||n.disconnect(),e=null},observe:e=>t()?.observe(e,{box:`border-box`}),unobserve:e=>t()?.unobserve(e)}})(),this.range=null,this.setOptions=e=>{let t={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:zn,rangeExtractor:Bn,onChange:()=>{},measureElement:Kn,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:`data-index`,initialMeasurementsCache:[],lanes:1,anchorTo:`start`,followOnAppend:!1,scrollEndThreshold:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,laneAssignmentMode:`estimate`};for(let n in e){let r=e[n];r!==void 0&&(t[n]=r)}let n=this.options,r=null,i=null;if(n!==void 0&&n.enabled&&t.enabled&&t.anchorTo===`end`&&this.scrollElement!==null){let e=n.count,a=t.count,o=this.getMeasurements(),s=e>0?o[0]?.key??n.getItemKey(0):null,c=e>0?o[e-1]?.key??n.getItemKey(e-1):null;if(a!==e||e>0&&a>0&&(t.getItemKey(0)!==s||t.getItemKey(a-1)!==c)){let s=e>0?this.getVirtualItemForOffset(this.getScrollOffset())??o[0]:null;s&&(r=[s.key,this.getScrollOffset()-s.start]);let l=t.followOnAppend===!0?`auto`:t.followOnAppend||null;l&&a>e&&this.isAtEnd(n.scrollEndThreshold)&&(e===0||t.getItemKey(a-1)!==c)&&(i=l)}}this.options=t,(r||i)&&(this.pendingScrollAnchor=[r?.[0]??null,r?.[1]??0,i])},this.notify=e=>{var t,n;(n=(t=this.options).onChange)==null||n.call(t,this,e)},this.maybeNotify=Mn(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),e=>{this.notify(e)},{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(e=>e()),this.unsubs=[],this.observer.disconnect(),this.rafId!=null&&this.targetWindow&&(this.targetWindow.cancelAnimationFrame(this.rafId),this.rafId=null),this.scrollState=null,this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{let e=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==e){if(this.cleanup(),!e){this.maybeNotify();return}if(this.scrollElement=e,this.scrollElement&&`ownerDocument`in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=this.scrollElement?.window??null,this.elementsCache.forEach(e=>{this.observer.observe(e)}),this.unsubs.push(this.options.observeElementRect(this,e=>{this.scrollRect=e,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(e,t)=>{this._intendedScrollOffset!==null&&Math.abs(e-this._intendedScrollOffset)<1.5&&(e=this._intendedScrollOffset),this._intendedScrollOffset=null,this.scrollAdjustments=0,this.scrollDirection=t?this.getScrollOffset()<e?`forward`:`backward`:null,this.scrollOffset=e,this.isScrolling=t,this._flushIosDeferredIfReady(),this.scrollState&&this.scheduleScrollReconcile(),this.maybeNotify()})),`addEventListener`in this.scrollElement){let e=this.scrollElement,t=()=>{this._iosTouching=!0,this._iosJustTouchEnded=!1,this._iosTouchEndTimerId!==null&&this.targetWindow!=null&&(this.targetWindow.clearTimeout(this._iosTouchEndTimerId),this._iosTouchEndTimerId=null)},n=()=>{this._iosTouching=!1,!(!Ln()||this.targetWindow==null)&&(this._iosJustTouchEnded=!0,this._iosTouchEndTimerId=this.targetWindow.setTimeout(()=>{this._iosJustTouchEnded=!1,this._iosTouchEndTimerId=null,this._flushIosDeferredIfReady()},150))};e.addEventListener(`touchstart`,t,Hn),e.addEventListener(`touchend`,n,Hn),this.unsubs.push(()=>{e.removeEventListener(`touchstart`,t),e.removeEventListener(`touchend`,n),this._iosTouchEndTimerId!==null&&this.targetWindow!=null&&(this.targetWindow.clearTimeout(this._iosTouchEndTimerId),this._iosTouchEndTimerId=null)})}this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0})}let t=this.pendingScrollAnchor;if(this.pendingScrollAnchor=null,t&&this.scrollElement&&this.options.enabled){let[e,n,r]=t;if(e!==null){let{count:t,getItemKey:r}=this.options,i=0;for(;i<t&&r(i)!==e;)i++;let a=i<t?this.getMeasurements()[i]:void 0;if(a){let e=a.start+n-this.getScrollOffset();Pn(e,0)||this.applyScrollAdjustment(e)}}r&&this.scrollToEnd({behavior:r})}},this._flushIosDeferredIfReady=()=>{if(this._iosDeferredAdjustment===0||this.isScrolling||this._iosTouching||this._iosJustTouchEnded)return;let e=this.getScrollOffset(),t=this.getMaxScrollOffset();if(e<0||e>t)return;let n=this._iosDeferredAdjustment;this._iosDeferredAdjustment=0,this._scrollToOffset(e,{adjustments:this.scrollAdjustments+=n,behavior:void 0})},this.rafId=null,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=(e,t)=>{let n=new Map,r=new Map;for(let i=t-1;i>=0;i--){let t=e[i];if(n.has(t.lane))continue;let a=r.get(t.lane);if(a==null||t.end>a.end?r.set(t.lane,t):t.end<a.end&&n.set(t.lane,!0),n.size===this.options.lanes)break}return r.size===this.options.lanes?Array.from(r.values()).sort((e,t)=>e.end===t.end?e.index-t.index:e.end-t.end)[0]:void 0},this.getMeasurementOptions=Mn(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled,this.options.lanes,this.options.laneAssignmentMode],(e,t,n,r,i,a,o)=>(this.prevLanes!==void 0&&this.prevLanes!==a&&(this.lanesChangedFlag=!0),this.prevLanes=a,this.pendingMin=null,{count:e,paddingStart:t,scrollMargin:n,getItemKey:r,enabled:i,lanes:a,laneAssignmentMode:o}),{key:!1}),this.getMeasurements=Mn(()=>[this.getMeasurementOptions(),this.itemSizeCacheVersion],({count:e,paddingStart:t,scrollMargin:n,getItemKey:r,enabled:i,lanes:a,laneAssignmentMode:o},s)=>{let c=this.itemSizeCache;if(!i)return this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),[];if(this.laneAssignments.size>e)for(let t of this.laneAssignments.keys())t>=e&&this.laneAssignments.delete(t);this.lanesChangedFlag&&(this.lanesChangedFlag=!1,this.lanesSettling=!0,this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),this.pendingMin=null),this.measurementsCache.length===0&&!this.lanesSettling&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(e=>{this.itemSizeCache.set(e.key,e.size)}));let l=this.lanesSettling?0:this.pendingMin??0;if(this.pendingMin=null,this.lanesSettling&&this.measurementsCache.length===e&&(this.lanesSettling=!1),a===1){let i=this.options.gap,a=e*2,o=this._flatMeasurements;if(!o||o.length<a){let e=new Float64Array(a);o&&l>0&&e.set(o.subarray(0,l*2)),o=e,this._flatMeasurements=o}let s;if(l===0)s=t+n;else{let e=l-1;s=o[e*2]+o[e*2+1]+i}for(let t=l;t<e;t++){let e=r(t),n=c.get(e),a=typeof n==`number`?n:this.options.estimateSize(t);o[t*2]=s,o[t*2+1]=a,s+=a+i}let u=jn(e,o,r);return this.measurementsCache=u,u}let u=this.measurementsCache.slice(0,l),d=Array(a).fill(void 0);for(let e=0;e<l;e++){let t=u[e];t&&(d[t.lane]=e)}for(let i=l;i<e;i++){let e=r(i),a=this.laneAssignments.get(i),s,l,f=o===`estimate`||c.has(e);if(a!==void 0&&this.options.lanes>1){s=a;let e=d[s],r=e===void 0?void 0:u[e];l=r?r.end+this.options.gap:t+n}else{let e=this.options.lanes===1?u[i-1]:this.getFurthestMeasurement(u,i);l=e?e.end+this.options.gap:t+n,s=e?e.lane:i%this.options.lanes,this.options.lanes>1&&f&&this.laneAssignments.set(i,s)}let p=c.get(e),m=typeof p==`number`?p:this.options.estimateSize(i),h=l+m;u[i]={index:i,start:l,size:m,end:h,key:e,lane:s},d[s]=i}return this.measurementsCache=u,u},{key:process.env.NODE_ENV!==`production`&&`getMeasurements`,debug:()=>this.options.debug}),this.calculateRange=Mn(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(e,t,n,r)=>this.range=e.length>0&&t>0?Xn({measurements:e,outerSize:t,scrollOffset:n,lanes:r,flat:r===1&&this._flatMeasurements!=null?this._flatMeasurements:null}):null,{key:process.env.NODE_ENV!==`production`&&`calculateRange`,debug:()=>this.options.debug}),this.getVirtualIndexes=Mn(()=>{let e=null,t=null,n=this.calculateRange();return n&&(e=n.startIndex,t=n.endIndex),this.maybeNotify.updateDeps([this.isScrolling,e,t]),[this.options.rangeExtractor,this.options.overscan,this.options.count,e,t]},(e,t,n,r,i)=>r===null||i===null?[]:e({startIndex:r,endIndex:i,overscan:t,count:n}),{key:process.env.NODE_ENV!==`production`&&`getVirtualIndexes`,debug:()=>this.options.debug}),this.indexFromElement=e=>{let t=this.options.indexAttribute,n=e.getAttribute(t);return n?parseInt(n,10):(console.warn(`Missing attribute name '${t}={index}' on measured element.`),-1)},this.shouldMeasureDuringScroll=e=>{if(!this.scrollState||this.scrollState.behavior!==`smooth`)return!0;let t=this.scrollState.index??this.getVirtualItemForOffset(this.scrollState.lastTargetOffset)?.index;if(t!==void 0&&this.range){let n=Math.max(this.options.overscan,Math.ceil((this.range.endIndex-this.range.startIndex)/2)),r=Math.max(0,t-n),i=Math.min(this.options.count-1,t+n);return e>=r&&e<=i}return!0},this.measureElement=e=>{if(!e){this.elementsCache.forEach((e,t)=>{e.isConnected||(this.observer.unobserve(e),this.elementsCache.delete(t))});return}let t=this.indexFromElement(e),n=this.options.getItemKey(t),r=this.elementsCache.get(n);r!==e&&(r&&this.observer.unobserve(r),this.observer.observe(e),this.elementsCache.set(n,e)),(!this.isScrolling||this.scrollState)&&this.shouldMeasureDuringScroll(t)&&this.resizeItem(t,this.options.measureElement(e,void 0,this))},this.resizeItem=(e,t)=>{if(e<0||e>=this.options.count)return;let n,r,i,a=this._flatMeasurements;if(this.options.lanes===1&&a!==null)i=this.options.getItemKey(e),r=a[e*2],n=a[e*2+1];else{let t=this.measurementsCache[e];if(!t)return;i=t.key,r=t.start,n=t.size}let o=t-(this.itemSizeCache.get(i)??n);if(o!==0){let a=this.options.anchorTo===`end`&&this.scrollState?.behavior!==`smooth`&&this.getVirtualDistanceFromEnd()<=this.options.scrollEndThreshold,s=a?this.getTotalSize():0,c=this.scrollState?.behavior!==`smooth`&&(this.shouldAdjustScrollPositionOnItemSizeChange===void 0?r<this.getScrollOffset()+this.scrollAdjustments&&this.scrollDirection!==`backward`:this.shouldAdjustScrollPositionOnItemSizeChange(this.measurementsCache[e]??{index:e,key:i,start:r,size:n,end:r+n,lane:0},o,this));(this.pendingMin===null||e<this.pendingMin)&&(this.pendingMin=e),this.itemSizeCache.set(i,t),this.itemSizeCacheVersion++,a?this.applyScrollAdjustment(this.getTotalSize()-s):c&&this.applyScrollAdjustment(o),this.notify(!1)}},this.getVirtualItems=Mn(()=>[this.getVirtualIndexes(),this.getMeasurements()],(e,t)=>{let n=[];for(let r=0,i=e.length;r<i;r++){let i=t[e[r]];n.push(i)}return n},{key:process.env.NODE_ENV!==`production`&&`getVirtualItems`,debug:()=>this.options.debug}),this.getVirtualItemForOffset=e=>{let t=this.getMeasurements();if(t.length===0)return;let n=this._flatMeasurements,r=this.options.lanes===1&&n!=null;return Nn(t[Yn(0,t.length-1,r?e=>n[e*2]:e=>Nn(t[e]).start,e)])},this.getMaxScrollOffset=()=>{if(!this.scrollElement)return 0;if(`scrollHeight`in this.scrollElement)return this.options.horizontal?this.scrollElement.scrollWidth-this.scrollElement.clientWidth:this.scrollElement.scrollHeight-this.scrollElement.clientHeight;{let e=this.scrollElement.document.documentElement;return this.options.horizontal?e.scrollWidth-this.scrollElement.innerWidth:e.scrollHeight-this.scrollElement.innerHeight}},this.getVirtualDistanceFromEnd=()=>Math.max(this.getTotalSize()-this.getSize()-this.getScrollOffset(),0),this.getDistanceFromEnd=()=>Math.max(this.getMaxScrollOffset()-this.getScrollOffset(),0),this.isAtEnd=(e=this.options.scrollEndThreshold)=>this.getDistanceFromEnd()<=e,this.getOffsetForAlignment=(e,t,n=0)=>{if(!this.scrollElement)return 0;let r=this.getSize(),i=this.getScrollOffset();t===`auto`&&(t=e>=i+r?`end`:`start`),t===`center`?e+=(n-r)/2:t===`end`&&(e-=r);let a=this.getMaxScrollOffset();return Math.max(Math.min(a,e),0)},this.getOffsetForIndex=(e,t=`auto`)=>{e=Math.max(0,Math.min(e,this.options.count-1));let n=this.getSize(),r=this.getScrollOffset(),i=this.measurementsCache[e];if(!i)return;if(t===`auto`)if(i.end>=r+n-this.options.scrollPaddingEnd)t=`end`;else if(i.start<=r+this.options.scrollPaddingStart)t=`start`;else return[r,t];if(t===`end`&&e===this.options.count-1)return[this.getMaxScrollOffset(),t];let a=t===`end`?i.end+this.options.scrollPaddingEnd:i.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(a,t,i.size),t]},this.scrollToOffset=(e,{align:t=`start`,behavior:n=`auto`}={})=>{let r=this.getOffsetForAlignment(e,t),i=this.now();this.scrollState={index:null,align:t,behavior:n,startedAt:i,lastTargetOffset:r,stableFrames:0},this._scrollToOffset(r,{adjustments:void 0,behavior:n}),this.scheduleScrollReconcile()},this.scrollToIndex=(e,{align:t=`auto`,behavior:n=`auto`}={})=>{e=Math.max(0,Math.min(e,this.options.count-1));let r=this.getOffsetForIndex(e,t);if(!r)return;let[i,a]=r,o=this.now();this.scrollState={index:e,align:a,behavior:n,startedAt:o,lastTargetOffset:i,stableFrames:0},this._scrollToOffset(i,{adjustments:void 0,behavior:n}),this.scheduleScrollReconcile()},this.scrollBy=(e,{behavior:t=`auto`}={})=>{let n=this.getScrollOffset()+e,r=this.now();this.scrollState={index:null,align:`start`,behavior:t,startedAt:r,lastTargetOffset:n,stableFrames:0},this._scrollToOffset(n,{adjustments:void 0,behavior:t}),this.scheduleScrollReconcile()},this.scrollToEnd=({behavior:e=`auto`}={})=>{if(this.options.count>0){this.scrollToIndex(this.options.count-1,{align:`end`,behavior:e});return}this.scrollToOffset(Math.max(this.getTotalSize()-this.getSize(),0),{behavior:e})},this.getTotalSize=()=>{let e=this.getMeasurements(),t;if(e.length===0)t=this.options.paddingStart;else if(this.options.lanes===1){let n=e.length-1,r=this._flatMeasurements;t=r==null?e[n]?.end??0:r[n*2]+r[n*2+1]}else{let n=Array(this.options.lanes).fill(null),r=e.length-1;for(;r>=0&&n.some(e=>e===null);){let t=e[r];n[t.lane]===null&&(n[t.lane]=t.end),r--}t=Math.max(...n.filter(e=>e!==null))}return Math.max(t-this.options.scrollMargin+this.options.paddingEnd,0)},this.takeSnapshot=()=>{let e=[];if(this.itemSizeCache.size===0)return e;let t=this.getMeasurements();for(let n of t)n&&this.itemSizeCache.has(n.key)&&e.push({index:n.index,key:n.key,start:n.start,size:n.size,end:n.end,lane:n.lane});return e},this._scrollToOffset=(e,{adjustments:t,behavior:n})=>{this._intendedScrollOffset=e+(t??0),this.options.scrollToFn(e,{behavior:n,adjustments:t},this)},this.measure=()=>{this.pendingMin=null,this.itemSizeCache.clear(),this.laneAssignments.clear(),this.itemSizeCacheVersion++,this.notify(!1)},this.setOptions(e)}applyScrollAdjustment(e,t){e!==0&&(process.env.NODE_ENV!==`production`&&this.options.debug&&console.info(`correction`,e),Ln()&&(this.isScrolling||this._iosTouching||this._iosJustTouchEnded)?this._iosDeferredAdjustment+=e:this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=e,behavior:t}))}scheduleScrollReconcile(){if(!this.targetWindow){this.scrollState=null;return}this.rafId??=this.targetWindow.requestAnimationFrame(()=>{this.rafId=null,this.reconcileScroll()})}reconcileScroll(){if(!this.scrollState||!this.scrollElement)return;if(this.now()-this.scrollState.startedAt>5e3){this.scrollState=null;return}let e=this.scrollState.index==null?void 0:this.getOffsetForIndex(this.scrollState.index,this.scrollState.align),t=e?e[0]:this.scrollState.lastTargetOffset,n=t!==this.scrollState.lastTargetOffset;if(!n&&Pn(t,this.getScrollOffset())){if(this.scrollState.stableFrames++,this.scrollState.stableFrames>=1){this.getScrollOffset()!==t&&this._scrollToOffset(t,{adjustments:void 0,behavior:`auto`}),this.scrollState=null;return}}else if(this.scrollState.stableFrames=0,n){let e=this.getSize()||600,n=Math.abs(t-this.getScrollOffset()),r=this.scrollState.behavior===`smooth`&&n>e;this.scrollState.lastTargetOffset=t,r||(this.scrollState.behavior=`auto`),this._scrollToOffset(t,{adjustments:void 0,behavior:r?`smooth`:`auto`})}this.scheduleScrollReconcile()}},Yn=(e,t,n,r)=>{for(;e<=t;){let i=(e+t)/2|0,a=n(i);if(a<r)e=i+1;else if(a>r)t=i-1;else return i}return e>0?e-1:0};function Xn({measurements:e,outerSize:t,scrollOffset:n,lanes:r,flat:i}){let a=e.length-1,o=i?e=>i[e*2]:t=>e[t].start,s=i?e=>i[e*2]+i[e*2+1]:t=>e[t].end;if(e.length<=r)return{startIndex:0,endIndex:a};let c=Yn(0,a,o,n),l=c;if(r===1)for(;l<a&&s(l)<n+t;)l++;else if(r>1){let i=Array(r).fill(0);for(;l<a&&i.some(e=>e<n+t);){let t=e[l];i[t.lane]=t.end,l++}let o=Array(r).fill(n+t);for(;c>=0&&o.some(e=>e>=n);){let t=e[c];o[t.lane]=t.start,c--}c=Math.max(0,c-c%r),l=Math.min(a,l+(r-1-l%r))}return{startIndex:c,endIndex:l}}var Zn=typeof document<`u`?f.useLayoutEffect:f.useEffect;function Qn({useFlushSync:e=!0,...t}){let r=f.useReducer(e=>e+1,0)[1],i={...t,onChange:(i,a)=>{var o;e&&a?(0,n.flushSync)(r):r(),(o=t.onChange)==null||o.call(t,i,a)}},[a]=f.useState(()=>new Jn(i));return a.setOptions(i),Zn(()=>a._didMount(),[]),Zn(()=>a._willUpdate()),a}function $n(e){return Qn({observeElementRect:Vn,observeElementOffset:Gn,scrollToFn:qn,...e})}function er(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 tr(e=er){return(0,f.useCallback)((t,n)=>{if(typeof e==`string`){let r=e;return t?.[r]===n?.[r]}return e(t,n)},[e])}function nr(e){if(e===null)return{width:0,height:0};let{width:t,height:n}=e.getBoundingClientRect();return{width:t,height:n}}function rr(e,t,n=!1){let[r,i]=(0,f.useState)(()=>nr(t));return U(()=>{if(!t||!e)return;let n=pt();return n.requestAnimationFrame(function e(){n.requestAnimationFrame(e),i(e=>{let n=nr(t);return n.width===e.width&&n.height===e.height?e:n})}),()=>{n.dispose()}},[t,e]),n?{width:`${r.width}px`,height:`${r.height}px`}:r}var ir=(e=>(e[e.Left=0]=`Left`,e[e.Right=2]=`Right`,e))(ir||{});function ar(e){let t=(0,f.useRef)(null);return{onPointerDown:W(n=>{t.current=n.pointerType,!fn(n.currentTarget)&&n.pointerType===`mouse`&&n.button===ir.Left&&(n.preventDefault(),e(n))}),onClick:W(n=>{t.current!==`mouse`&&(fn(n.currentTarget)||e(n))})}}var or=class extends Map{constructor(e){super(),this.factory=e}get(e){let t=super.get(e);return t===void 0&&(t=this.factory(e),this.set(e,t)),t}},sr=Object.defineProperty,cr=(e,t,n)=>t in e?sr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,lr=(e,t,n)=>(cr(e,typeof t==`symbol`?t:t+``,n),n),ur=(e,t,n)=>{if(!t.has(e))throw TypeError(`Cannot `+n)},dr=(e,t,n)=>(ur(e,t,`read from private field`),n?n.call(e):t.get(e)),fr=(e,t,n)=>{if(t.has(e))throw TypeError(`Cannot add the same private member more than once`);t instanceof WeakSet?t.add(e):t.set(e,n)},pr=(e,t,n,r)=>(ur(e,t,`write to private field`),r?r.call(e,n):t.set(e,n),n),mr,hr,gr,_r=class{constructor(e){fr(this,mr,{}),fr(this,hr,new or(()=>new Set)),fr(this,gr,new Set),lr(this,`disposables`,pt()),pr(this,mr,e),st.isServer&&this.disposables.microTask(()=>{this.dispose()})}dispose(){this.disposables.dispose()}get state(){return dr(this,mr)}subscribe(e,t){if(st.isServer)return()=>{};let n={selector:e,callback:t,current:e(dr(this,mr))};return dr(this,gr).add(n),this.disposables.add(()=>{dr(this,gr).delete(n)})}on(e,t){return st.isServer?()=>{}:(dr(this,hr).get(e).add(t),this.disposables.add(()=>{dr(this,hr).get(e).delete(t)}))}send(e){let t=this.reduce(dr(this,mr),e);if(t!==dr(this,mr)){pr(this,mr,t);for(let e of dr(this,gr)){let t=e.selector(dr(this,mr));vr(e.current,t)||(e.current=t,e.callback(t))}for(let t of dr(this,hr).get(e.type))t(dr(this,mr),e)}}};mr=new WeakMap,hr=new WeakMap,gr=new WeakMap;function vr(e,t){return Object.is(e,t)?!0:typeof e!=`object`||!e||typeof t!=`object`||!t?!1:Array.isArray(e)&&Array.isArray(t)?e.length===t.length?yr(e[Symbol.iterator](),t[Symbol.iterator]()):!1:e instanceof Map&&t instanceof Map||e instanceof Set&&t instanceof Set?e.size===t.size?yr(e.entries(),t.entries()):!1:br(e)&&br(t)?yr(Object.entries(e)[Symbol.iterator](),Object.entries(t)[Symbol.iterator]()):!1}function yr(e,t){do{let n=e.next(),r=t.next();if(n.done&&r.done)return!0;if(n.done||r.done||!Object.is(n.value,r.value))return!1}while(!0)}function br(e){if(Object.prototype.toString.call(e)!==`[object Object]`)return!1;let t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function xr(e){let[t,n]=e(),r=pt();return(...e)=>{t(...e),r.dispose(),r.microTask(n)}}var Sr=Object.defineProperty,Cr=(e,t,n)=>t in e?Sr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,wr=(e,t,n)=>(Cr(e,typeof t==`symbol`?t:t+``,n),n),Tr=(e=>(e[e.Push=0]=`Push`,e[e.Pop=1]=`Pop`,e))(Tr||{}),Er={0(e,t){let n=t.id,r=e.stack,i=e.stack.indexOf(n);if(i!==-1){let t=e.stack.slice();return t.splice(i,1),t.push(n),r=t,{...e,stack:r}}return{...e,stack:[...e.stack,n]}},1(e,t){let n=t.id,r=e.stack.indexOf(n);if(r===-1)return e;let i=e.stack.slice();return i.splice(r,1),{...e,stack:i}}},Dr=class e extends _r{constructor(){super(...arguments),wr(this,`actions`,{push:e=>this.send({type:0,id:e}),pop:e=>this.send({type:1,id:e})}),wr(this,`selectors`,{isTop:(e,t)=>e.stack[e.stack.length-1]===t,inStack:(e,t)=>e.stack.includes(t)})}static new(){return new e({stack:[]})}reduce(e,t){return G(t.type,Er,e,t)}},Or=new or(()=>Dr.new()),kr=l((e=>{var t=require("react");function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var r=typeof Object.is==`function`?Object.is:n,i=t.useSyncExternalStore,a=t.useRef,o=t.useEffect,s=t.useMemo,c=t.useDebugValue;e.useSyncExternalStoreWithSelector=function(e,t,n,l,u){var d=a(null);if(d.current===null){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=s(function(){function e(e){if(!i){if(i=!0,a=e,e=l(e),u!==void 0&&f.hasValue){var t=f.value;if(u(t,e))return o=t}return o=e}if(t=o,r(a,e))return t;var n=l(e);return u!==void 0&&u(t,n)?(a=e,t):(a=e,o=n)}var i=!1,a,o,s=n===void 0?null:n;return[function(){return e(t())},s===null?void 0:function(){return e(s())}]},[t,n,l,u]);var p=i(e,d[0],d[1]);return o(function(){f.hasValue=!0,f.value=p},[p]),c(p),p}})),Ar=l((e=>{process.env.NODE_ENV!==`production`&&(function(){function t(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var n=require("react"),r=typeof Object.is==`function`?Object.is:t,i=n.useSyncExternalStore,a=n.useRef,o=n.useEffect,s=n.useMemo,c=n.useDebugValue;e.useSyncExternalStoreWithSelector=function(e,t,n,l,u){var d=a(null);if(d.current===null){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=s(function(){function e(e){if(!i){if(i=!0,a=e,e=l(e),u!==void 0&&f.hasValue){var t=f.value;if(u(t,e))return o=t}return o=e}if(t=o,r(a,e))return t;var n=l(e);return u!==void 0&&u(t,n)?(a=e,t):(a=e,o=n)}var i=!1,a,o,s=n===void 0?null:n;return[function(){return e(t())},s===null?void 0:function(){return e(s())}]},[t,n,l,u]);var p=i(e,d[0],d[1]);return o(function(){f.hasValue=!0,f.value=p},[p]),c(p),p},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})),jr=l(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=kr():t.exports=Ar()}))();function Y(e,t,n=vr){return(0,jr.useSyncExternalStoreWithSelector)(W(t=>e.subscribe(Mr,t)),W(()=>e.state),W(()=>e.state),W(t),n)}function Mr(e){return e}function Nr(e,t){let n=(0,f.useId)(),r=Or.get(t),[i,a]=Y(r,(0,f.useCallback)(e=>[r.selectors.isTop(e,n),r.selectors.inStack(e,n)],[r,n]));return U(()=>{if(e)return r.actions.push(n),()=>r.actions.pop(n)},[r,e,n]),e?a?i:!0:!1}var Pr=new Map,Fr=new Map;function Ir(e){let t=Fr.get(e)??0;return Fr.set(e,t+1),t===0?(Pr.set(e,{"aria-hidden":e.getAttribute(`aria-hidden`),inert:e.inert}),e.setAttribute(`aria-hidden`,`true`),e.inert=!0,()=>Lr(e)):()=>Lr(e)}function Lr(e){let t=Fr.get(e)??1;if(t===1?Fr.delete(e):Fr.set(e,t-1),t!==1)return;let n=Pr.get(e);n&&(n[`aria-hidden`]===null?e.removeAttribute(`aria-hidden`):e.setAttribute(`aria-hidden`,n[`aria-hidden`]),e.inert=n.inert,Pr.delete(e))}function Rr(e,{allowed:t,disallowed:n}={}){let r=Nr(e,`inert-others`);U(()=>{if(!r)return;let e=pt();for(let t of n?.()??[])t&&e.add(Ir(t));let i=t?.()??[];for(let t of i){if(!t)continue;let n=ct(t);if(!n)continue;let r=t.parentElement;for(;r&&r!==n.body;){for(let t of r.children)i.some(e=>t.contains(e))||e.add(Ir(t));r=r.parentElement}}return e.dispose},[r,t,n])}function zr(e,t,n){let r=ht(e=>{let t=e.getBoundingClientRect();t.x===0&&t.y===0&&t.width===0&&t.height===0&&n()});(0,f.useEffect)(()=>{if(!e)return;let n=t===null?null:nn(t)?t:t.current;if(!n)return;let i=pt();if(typeof ResizeObserver<`u`){let e=new ResizeObserver(()=>r.current(n));e.observe(n),i.add(()=>e.disconnect())}if(typeof IntersectionObserver<`u`){let e=new IntersectionObserver(()=>r.current(n));e.observe(n),i.add(()=>e.disconnect())}return()=>i.dispose()},[t,r,e])}var Br=[`[contentEditable=true]`,`[tabindex]`,`a[href]`,`area[href]`,`button:not([disabled])`,`iframe`,`input:not([disabled])`,`select:not([disabled])`,`details>summary`,`textarea:not([disabled])`].map(e=>`${e}:not([tabindex='-1'])`).join(`,`),Vr=[`[data-autofocus]`].map(e=>`${e}:not([tabindex='-1'])`).join(`,`),Hr=(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))(Hr||{}),Ur=(e=>(e[e.Error=0]=`Error`,e[e.Overflow=1]=`Overflow`,e[e.Success=2]=`Success`,e[e.Underflow=3]=`Underflow`,e))(Ur||{}),Wr=(e=>(e[e.Previous=-1]=`Previous`,e[e.Next=1]=`Next`,e))(Wr||{});function Gr(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Br)).sort((e,t)=>Math.sign((e.tabIndex||2**53-1)-(t.tabIndex||2**53-1)))}function Kr(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Vr)).sort((e,t)=>Math.sign((e.tabIndex||2**53-1)-(t.tabIndex||2**53-1)))}var qr=(e=>(e[e.Strict=0]=`Strict`,e[e.Loose=1]=`Loose`,e))(qr||{});function Jr(e,t=0){return e===ct(e)?.body?!1:G(t,{0(){return e.matches(Br)},1(){let t=e;for(;t!==null;){if(t.matches(Br))return!0;t=t.parentElement}return!1}})}var Yr=(e=>(e[e.Keyboard=0]=`Keyboard`,e[e.Mouse=1]=`Mouse`,e))(Yr||{});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));var Xr=[`textarea`,`input`].join(`,`);function Zr(e){return(e?.matches)?.call(e,Xr)??!1}function Qr(e,t=e=>e){return e.slice().sort((e,n)=>{let r=t(e),i=t(n);if(r===null||i===null)return 0;let a=r.compareDocumentPosition(i);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function $r(e,t,n=e===null?document.body:lt(e)){return ei(Gr(n),t,{relativeTo:e})}function ei(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}={}){let a=Array.isArray(e)?e.length>0?lt(e[0]):document:lt(e),o=Array.isArray(e)?n?Qr(e):e:t&64?Kr(e):Gr(e);i.length>0&&o.length>1&&(o=o.filter(e=>!i.some(t=>t!=null&&`current`in t?t?.current===e:t===e))),r??=a?.activeElement;let s=(()=>{if(t&5)return 1;if(t&10)return-1;throw Error(`Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last`)})(),c=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,o.indexOf(r))-1;if(t&4)return Math.max(0,o.indexOf(r))+1;if(t&8)return o.length-1;throw Error(`Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last`)})(),l=t&32?{preventScroll:!0}:{},u=0,d=o.length,f;do{if(u>=d||u+d<=0)return 0;let e=c+u;if(t&16)e=(e+d)%d;else{if(e<0)return 3;if(e>=d)return 1}f=o[e],f?.focus(l),u+=s}while(f!==ut(f));return t&6&&Zr(f)&&f.select(),2}function ti(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function ni(){return/Android/gi.test(window.navigator.userAgent)}function ri(){return ti()||ni()}function ii(e,t,n,r){let i=ht(n);(0,f.useEffect)(()=>{if(!e)return;function n(e){i.current(e)}return document.addEventListener(t,n,r),()=>document.removeEventListener(t,n,r)},[e,t,r])}function ai(e,t,n,r){let i=ht(n);(0,f.useEffect)(()=>{if(!e)return;function n(e){i.current(e)}return window.addEventListener(t,n,r),()=>window.removeEventListener(t,n,r)},[e,t,r])}var oi=30;function si(e,t,n){let r=ht(n),i=(0,f.useCallback)(function(e,n){if(e.defaultPrevented)return;let i=n(e);if(i===null||!i.getRootNode().contains(i)||!i.isConnected)return;let a=function e(t){return typeof t==`function`?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(t);for(let t of a)if(t!==null&&(t.contains(i)||e.composed&&e.composedPath().includes(t)))return;return!Jr(i,qr.Loose)&&i.tabIndex!==-1&&e.preventDefault(),r.current(e,i)},[r,t]),a=(0,f.useRef)(null);ii(e,`pointerdown`,e=>{ri()||(a.current=e.composedPath?.call(e)?.[0]||e.target)},!0),ii(e,`pointerup`,e=>{if(ri()||!a.current)return;let t=a.current;return a.current=null,i(e,()=>t)},!0);let o=(0,f.useRef)({x:0,y:0});ii(e,`touchstart`,e=>{o.current.x=e.touches[0].clientX,o.current.y=e.touches[0].clientY},!0),ii(e,`touchend`,e=>{let t={x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY};if(!(Math.abs(t.x-o.current.x)>=oi||Math.abs(t.y-o.current.y)>=oi))return i(e,()=>rn(e.target)?e.target:null)},!0),ai(e,`blur`,e=>i(e,()=>on(window.document.activeElement)?window.document.activeElement:null),!0)}function ci(...e){return(0,f.useMemo)(()=>ct(...e),[...e])}var li=(e=>(e[e.Ignore=0]=`Ignore`,e[e.Select=1]=`Select`,e[e.Close=2]=`Close`,e))(li||{}),ui={Ignore:{kind:0},Select:e=>({kind:1,target:e}),Close:{kind:2}},di=200,fi=5;function pi(e,{trigger:t,action:n,close:r,select:i}){let a=(0,f.useRef)(null),o=(0,f.useRef)(null),s=(0,f.useRef)(null);ii(e&&t!==null,`pointerdown`,e=>{en(e?.target)&&t!=null&&t.contains(e.target)&&(o.current=e.x,s.current=e.y,a.current=e.timeStamp)}),ii(e&&t!==null,`pointerup`,e=>{let t=a.current;if(t===null||(a.current=null,!rn(e.target))||Math.abs(e.x-(o.current??e.x))<fi&&Math.abs(e.y-(s.current??e.y))<fi)return;let c=n(e);switch(c.kind){case 0:return;case 1:e.timeStamp-t>di&&(i(c.target),r());break;case 2:r();break}},{capture:!0})}function mi(e,t,n,r){let i=ht(n);(0,f.useEffect)(()=>{e??=window;function n(e){i.current(e)}return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)},[e,t,r])}function hi(e){let t=(0,f.useRef)({value:``,selectionStart:null,selectionEnd:null});return mi(e,`blur`,e=>{let n=e.target;sn(n)&&(t.current={value:n.value,selectionStart:n.selectionStart,selectionEnd:n.selectionEnd})}),W(()=>{if(!dt(e)&&sn(e)&&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 gi(e,t){return(0,f.useMemo)(()=>{if(e.type)return e.type;let n=e.as??`button`;if(typeof n==`string`&&n.toLowerCase()===`button`||t?.tagName===`BUTTON`&&!t.hasAttribute(`type`))return`button`},[e.type,e.as,t])}function _i(e){return(0,f.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot)}function vi(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(e){return r.add(e),()=>r.delete(e)},dispatch(e,...i){let a=t[e].call(n,...i);a&&(n=a,r.forEach(e=>e()))}}}function yi(){let e;return{before({doc:t}){let n=t.documentElement,r=t.defaultView??window;e=Math.max(0,r.innerWidth-n.clientWidth)},after({doc:t,d:n}){let r=t.documentElement,i=Math.max(0,r.clientWidth-r.offsetWidth),a=Math.max(0,e-i);n.style(r,`paddingRight`,`${a}px`)}}}function bi(){return ti()?{before({doc:e,d:t,meta:n}){function r(e){for(let t of n().containers)for(let n of t())if(n.contains(e))return!0;return!1}t.microTask(()=>{if(window.getComputedStyle(e.documentElement).scrollBehavior!==`auto`){let n=pt();n.style(e.documentElement,`scrollBehavior`,`auto`),t.add(()=>t.microTask(()=>n.dispose()))}let n=window.scrollY??window.pageYOffset,i=null;t.addEventListener(e,`click`,t=>{if(rn(t.target))try{let n=t.target.closest(`a`);if(!n)return;let{hash:a}=new URL(n.href),o=e.querySelector(a);rn(o)&&!r(o)&&(i=o)}catch{}},!0),t.group(n=>{t.addEventListener(e,`touchstart`,e=>{if(n.dispose(),rn(e.target)&&an(e.target))if(r(e.target)){let t=e.target;for(;t.parentElement&&r(t.parentElement);)t=t.parentElement;n.style(t,`overscrollBehavior`,`contain`)}else n.style(e.target,`touchAction`,`none`)})}),t.addEventListener(e,`touchmove`,e=>{if(rn(e.target)){if(sn(e.target))return;if(r(e.target)){let t=e.target;for(;t.parentElement&&t.dataset.headlessuiPortal!==``&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;t.dataset.headlessuiPortal===``&&e.preventDefault()}else e.preventDefault()}},{passive:!1}),t.add(()=>{n!==(window.scrollY??window.pageYOffset)&&window.scrollTo(0,n),i&&i.isConnected&&(i.scrollIntoView({block:`nearest`}),i=null)})})}}:{}}function xi(){return{before({doc:e,d:t}){t.style(e.documentElement,`overflow`,`hidden`)}}}function Si(e){let t={};for(let n of e)Object.assign(t,n(t));return t}var Ci=vi(()=>new Map,{PUSH(e,t){let n=this.get(e)??{doc:e,count:0,d:pt(),meta:new Set,computedMeta:{}};return n.count++,n.meta.add(t),n.computedMeta=Si(n.meta),this.set(e,n),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t),n.computedMeta=Si(n.meta)),this},SCROLL_PREVENT(e){let t={doc:e.doc,d:e.d,meta(){return e.computedMeta}},n=[bi(),yi(),xi()];n.forEach(({before:e})=>e?.(t)),n.forEach(({after:e})=>e?.(t))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});Ci.subscribe(()=>{let e=Ci.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let e=t.get(n.doc)===`hidden`,r=n.count!==0;(r&&!e||!r&&e)&&Ci.dispatch(n.count>0?`SCROLL_PREVENT`:`SCROLL_ALLOW`,n),n.count===0&&Ci.dispatch(`TEARDOWN`,n)}});function wi(e,t,n=()=>({containers:[]})){let r=_i(Ci),i=t?r.get(t):void 0,a=i?i.count>0:!1;return U(()=>{if(!(!t||!e))return Ci.dispatch(`PUSH`,t,n),()=>Ci.dispatch(`POP`,t,n)},[e,t]),a}function Ti(e,t,n=()=>[document.body]){wi(Nr(e,`scroll-lock`),t,e=>({containers:[...e.containers??[],n]}))}function Ei(e){return[e.screenX,e.screenY]}function Di(){let e=(0,f.useRef)([-1,-1]);return{wasMoved(t){let n=Ei(t);return e.current[0]===n[0]&&e.current[1]===n[1]?!1:(e.current=n,!0)},update(t){e.current=Ei(t)}}}function Oi(e=0){let[t,n]=(0,f.useState)(e);return{flags:t,setFlag:(0,f.useCallback)(e=>n(e),[]),addFlag:(0,f.useCallback)(e=>n(t=>t|e),[]),hasFlag:(0,f.useCallback)(e=>(t&e)===e,[t]),removeFlag:(0,f.useCallback)(e=>n(t=>t&~e),[]),toggleFlag:(0,f.useCallback)(e=>n(t=>t^e),[])}}typeof process<`u`&&typeof globalThis<`u`&&typeof Element<`u`&&(process==null?void 0:process.env)?.NODE_ENV===`test`&&(Element==null?void 0:Element.prototype)?.getAnimations===void 0&&(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(`
|
|
14
|
+
`)),[]});var ki=(e=>(e[e.None=0]=`None`,e[e.Closed=1]=`Closed`,e[e.Enter=2]=`Enter`,e[e.Leave=4]=`Leave`,e))(ki||{});function Ai(e){let t={};for(let n in e)e[n]===!0&&(t[`data-${n}`]=``);return t}function ji(e,t,n,r){let[i,a]=(0,f.useState)(n),{hasFlag:o,addFlag:s,removeFlag:c}=Oi(e&&i?3:0),l=(0,f.useRef)(!1),u=(0,f.useRef)(!1);return U(()=>{var i;if(e){if(n&&a(!0),!t){n&&s(3);return}return(i=r?.start)==null||i.call(r,n),Mi(t,{inFlight:l,prepare(){u.current?u.current=!1:u.current=l.current,l.current=!0,!u.current&&(n?(s(3),c(4)):(s(4),c(2)))},run(){u.current?n?(c(3),s(4)):(c(4),s(3)):n?c(1):s(1)},done(){var e;u.current&&Fi(t)||(l.current=!1,c(7),n||a(!1),(e=r?.end)==null||e.call(r,n))}})}},[e,n,t,mt()]),e?[i,{closed:o(1),enter:o(2),leave:o(4),transition:o(2)||o(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function Mi(e,{prepare:t,run:n,done:r,inFlight:i}){let a=pt();return Pi(e,{prepare:t,inFlight:i}),a.nextFrame(()=>{n(),a.requestAnimationFrame(()=>{a.add(Ni(e,r))})}),a.dispose}function Ni(e,t){let n=pt();if(!e)return n.dispose;let r=!1;n.add(()=>{r=!0});let i=e.getAnimations?.call(e).filter(e=>e instanceof CSSTransition)??[];return i.length===0?(t(),n.dispose):(Promise.allSettled(i.map(e=>e.finished)).then(()=>{r||t()}),n.dispose)}function Pi(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 Fi(e){return(e.getAnimations?.call(e)??[]).some(e=>e instanceof CSSTransition&&e.playState!==`finished`)}function Ii(e,{container:t,accept:n,walk:r}){let i=(0,f.useRef)(n),a=(0,f.useRef)(r);(0,f.useEffect)(()=>{i.current=n,a.current=r},[n,r]),U(()=>{if(!t||!e)return;let n=ct(t);if(!n)return;let r=i.current,o=a.current,s=Object.assign(e=>r(e),{acceptNode:r}),c=n.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,s,!1);for(;c.nextNode();)o(c.currentNode)},[t,e,i,a])}function Li(e,t){let n=(0,f.useRef)([]),r=W(e);(0,f.useEffect)(()=>{let e=[...n.current];for(let[i,a]of t.entries())if(n.current[i]!==a){let i=r(t,e);return n.current=t,i}},[r,...t])}function Ri(){return typeof window<`u`}function zi(e){return Hi(e)?(e.nodeName||``).toLowerCase():`#document`}function Bi(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Vi(e){return((Hi(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function Hi(e){return Ri()?e instanceof Node||e instanceof Bi(e).Node:!1}function Ui(e){return Ri()?e instanceof Element||e instanceof Bi(e).Element:!1}function Wi(e){return Ri()?e instanceof HTMLElement||e instanceof Bi(e).HTMLElement:!1}function Gi(e){return!Ri()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof Bi(e).ShadowRoot}function Ki(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=ra(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function qi(e){return/^(table|td|th)$/.test(zi(e))}function Ji(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var Yi=/transform|translate|scale|rotate|perspective|filter/,Xi=/paint|layout|strict|content/,Zi=e=>!!e&&e!==`none`,Qi;function $i(e){let t=Ui(e)?ra(e):e;return Zi(t.transform)||Zi(t.translate)||Zi(t.scale)||Zi(t.rotate)||Zi(t.perspective)||!ta()&&(Zi(t.backdropFilter)||Zi(t.filter))||Yi.test(t.willChange||``)||Xi.test(t.contain||``)}function ea(e){let t=aa(e);for(;Wi(t)&&!na(t);){if($i(t))return t;if(Ji(t))return null;t=aa(t)}return null}function ta(){return Qi??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),Qi}function na(e){return/^(html|body|#document)$/.test(zi(e))}function ra(e){return Bi(e).getComputedStyle(e)}function ia(e){return Ui(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function aa(e){if(zi(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||Gi(e)&&e.host||Vi(e);return Gi(t)?t.host:t}function oa(e){let t=aa(e);return na(t)?e.ownerDocument?e.ownerDocument.body:e.body:Wi(t)&&Ki(t)?t:oa(t)}function sa(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=oa(e),i=r===e.ownerDocument?.body,a=Bi(r);if(i){let e=ca(a);return t.concat(a,a.visualViewport||[],Ki(r)?r:[],e&&n?sa(e):[])}else return t.concat(r,sa(r,[],n))}function ca(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function la(){let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:n}=e;return t+`/`+n}).join(` `):navigator.userAgent}var ua=Math.min,da=Math.max,fa=Math.round,pa=Math.floor,ma=e=>({x:e,y:e}),ha={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function ga(e,t,n){return da(e,ua(t,n))}function _a(e,t){return typeof e==`function`?e(t):e}function va(e){return e.split(`-`)[0]}function ya(e){return e.split(`-`)[1]}function ba(e){return e===`x`?`y`:`x`}function xa(e){return e===`y`?`height`:`width`}function Sa(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function Ca(e){return ba(Sa(e))}function wa(e,t,n){n===void 0&&(n=!1);let r=ya(e),i=Ca(e),a=xa(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=Na(o)),[o,Na(o)]}function Ta(e){let t=Na(e);return[Ea(e),t,Ea(t)]}function Ea(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var Da=[`left`,`right`],Oa=[`right`,`left`],ka=[`top`,`bottom`],Aa=[`bottom`,`top`];function ja(e,t,n){switch(e){case`top`:case`bottom`:return n?t?Oa:Da:t?Da:Oa;case`left`:case`right`:return t?ka:Aa;default:return[]}}function Ma(e,t,n,r){let i=ya(e),a=ja(va(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(Ea)))),a}function Na(e){let t=va(e);return ha[t]+e.slice(t.length)}function Pa(e){return{top:0,right:0,bottom:0,left:0,...e}}function Fa(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:Pa(e)}function Ia(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function La(e,t,n){let{reference:r,floating:i}=e,a=Sa(t),o=Ca(t),s=xa(o),c=va(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(ya(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1);break}return p}async function Ra(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=_a(t,e),p=Fa(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=Ia(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=Ia(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var za=50,Ba=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:Ra},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=La(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<za&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=La(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},Va=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=_a(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=va(r),_=Sa(o),v=va(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[Na(o)]:Ta(o)),x=p!==`none`;!d&&x&&b.push(...Ma(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=wa(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(!(u===`alignment`&&_!==Sa(t))||T.every(e=>Sa(e.placement)===_?e.overflows[0]>0:!0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=Sa(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o;break}if(r!==n)return{reset:{placement:n}}}return{}}}},Ha=new Set([`left`,`top`]);async function Ua(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=va(n),s=ya(n),c=Sa(n)===`y`,l=Ha.has(o)?-1:1,u=a&&c?-1:1,d=_a(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var Wa=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await Ua(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},Ga=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=_a(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=Sa(va(i)),p=ba(f),m=u[p],h=u[f];if(o){let e=p===`y`?`top`:`left`,t=p===`y`?`bottom`:`right`,n=m+d[e],r=m-d[t];m=ga(n,m,r)}if(s){let e=f===`y`?`top`:`left`,t=f===`y`?`bottom`:`right`,n=h+d[e],r=h-d[t];h=ga(n,h,r)}let g=c.fn({...t,[p]:m,[f]:h});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[p]:o,[f]:s}}}}}},Ka=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){var n,r;let{placement:i,rects:a,platform:o,elements:s}=t,{apply:c=()=>{},...l}=_a(e,t),u=await o.detectOverflow(t,l),d=va(i),f=ya(i),p=Sa(i)===`y`,{width:m,height:h}=a.floating,g,_;d===`top`||d===`bottom`?(g=d,_=f===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?`start`:`end`)?`left`:`right`):(_=d,g=f===`end`?`top`:`bottom`);let v=h-u.top-u.bottom,y=m-u.left-u.right,b=ua(h-u[g],v),x=ua(m-u[_],y),S=!t.middlewareData.shift,C=b,w=x;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(w=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=v),S&&!f){let e=da(u.left,0),t=da(u.right,0),n=da(u.top,0),r=da(u.bottom,0);p?w=m-2*(e!==0||t!==0?e+t:da(u.left,u.right)):C=h-2*(n!==0||r!==0?n+r:da(u.top,u.bottom))}await c({...t,availableWidth:w,availableHeight:C});let T=await o.getDimensions(s.floating);return m!==T.width||h!==T.height?{reset:{rects:!0}}:{}}}};function qa(e){let t=ra(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=Wi(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=fa(n)!==a||fa(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function Ja(e){return Ui(e)?e:e.contextElement}function Ya(e){let t=Ja(e);if(!Wi(t))return ma(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=qa(t),o=(a?fa(n.width):n.width)/r,s=(a?fa(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var Xa=ma(0);function Za(e){let t=Bi(e);return!ta()||!t.visualViewport?Xa:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Qa(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Bi(e)?!1:t}function $a(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=Ja(e),o=ma(1);t&&(r?Ui(r)&&(o=Ya(r)):o=Ya(e));let s=Qa(a,n,r)?Za(a):ma(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a){let e=Bi(a),t=r&&Ui(r)?Bi(r):r,n=e,i=ca(n);for(;i&&r&&t!==n;){let e=Ya(i),t=i.getBoundingClientRect(),r=ra(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=Bi(i),i=ca(n)}}return Ia({width:u,height:d,x:c,y:l})}function eo(e,t){let n=ia(e).scrollLeft;return t?t.left+n:$a(Vi(e)).left+n}function to(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-eo(e,n),y:n.top+t.scrollTop}}function no(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=Vi(r),s=t?Ji(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=ma(1),u=ma(0),d=Wi(r);if((d||!d&&!a)&&((zi(r)!==`body`||Ki(o))&&(c=ia(r)),d)){let e=$a(r);l=Ya(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?to(o,c):ma(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function ro(e){return Array.from(e.getClientRects())}function io(e){let t=Vi(e),n=ia(e),r=e.ownerDocument.body,i=da(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=da(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+eo(e),s=-n.scrollTop;return ra(r).direction===`rtl`&&(o+=da(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}var ao=25;function oo(e,t){let n=Bi(e),r=Vi(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=ta();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}let l=eo(r);if(l<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-t.clientWidth-i);o<=ao&&(a-=o)}else l<=ao&&(a+=l);return{width:a,height:o,x:s,y:c}}function so(e,t){let n=$a(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Wi(e)?Ya(e):ma(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function co(e,t,n){let r;if(t===`viewport`)r=oo(e,n);else if(t===`document`)r=io(Vi(e));else if(Ui(t))r=so(t,n);else{let n=Za(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Ia(r)}function lo(e,t){let n=aa(e);return n===t||!Ui(n)||na(n)?!1:ra(n).position===`fixed`||lo(n,t)}function uo(e,t){let n=t.get(e);if(n)return n;let r=sa(e,[],!1).filter(e=>Ui(e)&&zi(e)!==`body`),i=null,a=ra(e).position===`fixed`,o=a?aa(e):e;for(;Ui(o)&&!na(o);){let t=ra(o),n=$i(o);!n&&t.position===`fixed`&&(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&(i.position===`absolute`||i.position===`fixed`)||Ki(o)&&!n&&lo(e,o))?r=r.filter(e=>e!==o):i=t,o=aa(o)}return t.set(e,r),r}function fo(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?Ji(t)?[]:uo(t,this._c):[].concat(n),r],o=co(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=co(t,a[e],i);s=da(n.top,s),c=ua(n.right,c),l=ua(n.bottom,l),u=da(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function po(e){let{width:t,height:n}=qa(e);return{width:t,height:n}}function mo(e,t,n){let r=Wi(t),i=Vi(t),a=n===`fixed`,o=$a(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=ma(0);function l(){c.x=eo(i)}if(r||!r&&!a)if((zi(t)!==`body`||Ki(i))&&(s=ia(t)),r){let e=$a(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&l();a&&!r&&i&&l();let u=i&&!r&&!a?to(i,s):ma(0);return{x:o.left+s.scrollLeft-c.x-u.x,y:o.top+s.scrollTop-c.y-u.y,width:o.width,height:o.height}}function ho(e){return ra(e).position===`static`}function go(e,t){if(!Wi(e)||ra(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return Vi(e)===n&&(n=n.ownerDocument.body),n}function _o(e,t){let n=Bi(e);if(Ji(e))return n;if(!Wi(e)){let t=aa(e);for(;t&&!na(t);){if(Ui(t)&&!ho(t))return t;t=aa(t)}return n}let r=go(e,t);for(;r&&qi(r)&&ho(r);)r=go(r,t);return r&&na(r)&&ho(r)&&!$i(r)?n:r||ea(e)||n}var vo=async function(e){let t=this.getOffsetParent||_o,n=this.getDimensions,r=await n(e.floating);return{reference:mo(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function yo(e){return ra(e).direction===`rtl`}var bo={convertOffsetParentRelativeRectToViewportRelativeRect:no,getDocumentElement:Vi,getClippingRect:fo,getOffsetParent:_o,getElementRects:vo,getClientRects:ro,getDimensions:po,getScale:Ya,isElement:Ui,isRTL:yo};function xo(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function So(e,t){let n=null,r,i=Vi(e);function a(){var e;clearTimeout(r),(e=n)==null||e.disconnect(),n=null}function o(s,c){s===void 0&&(s=!1),c===void 0&&(c=1),a();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(s||t(),!f||!p)return;let m=pa(d),h=pa(i.clientWidth-(u+f)),g=pa(i.clientHeight-(d+p)),_=pa(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:da(0,ua(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(n!==c){if(!y)return o();n?o(!1,n):r=setTimeout(()=>{o(!1,1e-7)},1e3)}n===1&&!xo(l,e.getBoundingClientRect())&&o(),y=!1}try{n=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,v)}n.observe(e)}return o(!0),a}function Co(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=Ja(e),u=i||a?[...l?sa(l):[],...t?sa(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n,{passive:!0}),a&&e.addEventListener(`resize`,n)});let d=l&&s?So(l,n):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?$a(e):null;c&&g();function g(){let t=$a(e);h&&!xo(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var wo=Ra,To=Wa,Eo=Ga,Do=Va,Oo=Ka,ko=(e,t,n)=>{let r=new Map,i={platform:bo,...n},a={...i.platform,_c:r};return Ba(e,t,{...i,platform:a})},Ao=typeof document<`u`?f.useLayoutEffect:function(){};function jo(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,i;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(!jo(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){let n=i[r];if(!(n===`_owner`&&e.$$typeof)&&!jo(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function Mo(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function No(e,t){let n=Mo(e);return Math.round(t*n)/n}function Po(e){let t=f.useRef(e);return Ao(()=>{t.current=e}),t}function Fo(e){e===void 0&&(e={});let{placement:t=`bottom`,strategy:r=`absolute`,middleware:i=[],platform:a,elements:{reference:o,floating:s}={},transform:c=!0,whileElementsMounted:l,open:u}=e,[d,p]=f.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[m,h]=f.useState(i);jo(m,i)||h(i);let[g,_]=f.useState(null),[v,y]=f.useState(null),b=f.useCallback(e=>{e!==w.current&&(w.current=e,_(e))},[]),x=f.useCallback(e=>{e!==T.current&&(T.current=e,y(e))},[]),S=o||g,C=s||v,w=f.useRef(null),T=f.useRef(null),E=f.useRef(d),D=l!=null,O=Po(l),k=Po(a),A=Po(u),j=f.useCallback(()=>{if(!w.current||!T.current)return;let e={placement:t,strategy:r,middleware:m};k.current&&(e.platform=k.current),ko(w.current,T.current,e).then(e=>{let t={...e,isPositioned:A.current!==!1};M.current&&!jo(E.current,t)&&(E.current=t,n.flushSync(()=>{p(t)}))})},[m,t,r,k,A]);Ao(()=>{u===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,p(e=>({...e,isPositioned:!1})))},[u]);let M=f.useRef(!1);Ao(()=>(M.current=!0,()=>{M.current=!1}),[]),Ao(()=>{if(S&&(w.current=S),C&&(T.current=C),S&&C){if(O.current)return O.current(S,C,j);j()}},[S,C,j,O,D]);let N=f.useMemo(()=>({reference:w,floating:T,setReference:b,setFloating:x}),[b,x]),P=f.useMemo(()=>({reference:S,floating:C}),[S,C]),F=f.useMemo(()=>{let e={position:r,left:0,top:0};if(!P.floating)return e;let t=No(P.floating,d.x),n=No(P.floating,d.y);return c?{...e,transform:`translate(`+t+`px, `+n+`px)`,...Mo(P.floating)>=1.5&&{willChange:`transform`}}:{position:r,left:t,top:n}},[r,c,P.floating,d.x,d.y]);return f.useMemo(()=>({...d,update:j,refs:N,elements:P,floatingStyles:F}),[d,j,N,P,F])}var Io=(e,t)=>{let n=To(e);return{name:n.name,fn:n.fn,options:[e,t]}},Lo=(e,t)=>{let n=Eo(e);return{name:n.name,fn:n.fn,options:[e,t]}},Ro=(e,t)=>{let n=Do(e);return{name:n.name,fn:n.fn,options:[e,t]}},zo=(e,t)=>{let n=Oo(e);return{name:n.name,fn:n.fn,options:[e,t]}},Bo={...f},Vo=Bo.useInsertionEffect||(e=>e());function Ho(e){let t=f.useRef(()=>{if(process.env.NODE_ENV!==`production`)throw Error(`Cannot call an event handler while rendering.`)});return Vo(()=>{t.current=e}),f.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current==null?void 0:t.current(...n)},[])}var Uo=`ArrowUp`,Wo=`ArrowDown`,Go=`ArrowLeft`,Ko=`ArrowRight`,qo=typeof document<`u`?f.useLayoutEffect:f.useEffect,Jo=[Go,Ko],Yo=[Uo,Wo];[...Jo,...Yo];var Xo=!1,Zo=0,Qo=()=>`floating-ui-`+Math.random().toString(36).slice(2,6)+ Zo++;function $o(){let[e,t]=f.useState(()=>Xo?Qo():void 0);return qo(()=>{e??t(Qo())},[]),f.useEffect(()=>{Xo=!0},[]),e}var es=Bo.useId||$o,ts;process.env.NODE_ENV!==`production`&&(ts=new Set);function ns(){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];let i=`Floating UI: `+n.join(` `);if(!((e=ts)!=null&&e.has(i))){var a;(a=ts)==null||a.add(i),console.warn(i)}}function rs(){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];let i=`Floating UI: `+n.join(` `);if(!((e=ts)!=null&&e.has(i))){var a;(a=ts)==null||a.add(i),console.error(i)}}function is(){let e=new Map;return{emit(t,n){var r;(r=e.get(t))==null||r.forEach(e=>e(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){e.set(t,e.get(t)?.filter(e=>e!==n)||[])}}}var as=f.createContext(null),os=f.createContext(null),ss=()=>f.useContext(as)?.id||null,cs=()=>f.useContext(os),ls=`data-floating-ui-focusable`;function us(e){let{open:t=!1,onOpenChange:n,elements:r}=e,i=es(),a=f.useRef({}),[o]=f.useState(()=>is()),s=ss()!=null;if(process.env.NODE_ENV!==`production`){let e=r.reference;e&&!Ui(e)&&rs("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`",`instead.`)}let[c,l]=f.useState(r.reference),u=Ho((e,t,r)=>{a.current.openEvent=e?t:void 0,o.emit(`openchange`,{open:e,event:t,reason:r,nested:s}),n?.(e,t,r)}),d=f.useMemo(()=>({setPositionReference:l}),[]),p=f.useMemo(()=>({reference:c||r.reference||null,floating:r.floating||null,domReference:r.reference}),[c,r.reference,r.floating]);return f.useMemo(()=>({dataRef:a,open:t,onOpenChange:u,elements:p,events:o,floatingId:i,refs:d}),[t,u,p,o,i,d])}function ds(e){e===void 0&&(e={});let{nodeId:t}=e,n=us({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,i=r.elements,[a,o]=f.useState(null),[s,c]=f.useState(null),l=i?.domReference||a,u=f.useRef(null),d=cs();qo(()=>{l&&(u.current=l)},[l]);let p=Fo({...e,elements:{...i,...s&&{reference:s}}}),m=f.useCallback(e=>{let t=Ui(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;c(t),p.refs.setReference(t)},[p.refs]),h=f.useCallback(e=>{(Ui(e)||e===null)&&(u.current=e,o(e)),(Ui(p.refs.reference.current)||p.refs.reference.current===null||e!==null&&!Ui(e))&&p.refs.setReference(e)},[p.refs]),g=f.useMemo(()=>({...p.refs,setReference:h,setPositionReference:m,domReference:u}),[p.refs,h,m]),_=f.useMemo(()=>({...p.elements,domReference:l}),[p.elements,l]),v=f.useMemo(()=>({...p,...r,refs:g,elements:_,nodeId:t}),[p,g,_,t,r]);return qo(()=>{r.dataRef.current.floatingContext=v;let e=d?.nodesRef.current.find(e=>e.id===t);e&&(e.context=v)}),f.useMemo(()=>({...p,context:v,refs:g,elements:_}),[p,g,_,v])}var fs=`active`,ps=`selected`;function ms(e,t,n){let r=new Map,i=n===`item`,a=e;if(i&&e){let{[fs]:t,[ps]:n,...r}=e;a=r}return{...n===`floating`&&{tabIndex:-1,[ls]:``},...a,...t.map(t=>{let r=t?t[n]:null;return typeof r==`function`?e?r(e):null:r}).concat(e).reduce((e,t)=>(t&&Object.entries(t).forEach(t=>{let[n,a]=t;if(!(i&&[fs,ps].includes(n)))if(n.indexOf(`on`)===0){if(r.has(n)||r.set(n,[]),typeof a==`function`){var o;(o=r.get(n))==null||o.push(a),e[n]=function(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];return r.get(n)?.map(e=>e(...t)).find(e=>e!==void 0)}}}else e[n]=a}),e),{})}}function hs(e){e===void 0&&(e=[]);let t=e.map(e=>e?.reference),n=e.map(e=>e?.floating),r=e.map(e=>e?.item),i=f.useCallback(t=>ms(t,e,`reference`),t),a=f.useCallback(t=>ms(t,e,`floating`),n),o=f.useCallback(t=>ms(t,e,`item`),r);return f.useMemo(()=>({getReferenceProps:i,getFloatingProps:a,getItemProps:o}),[i,a,o])}function gs(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}var _s=e=>({name:`inner`,options:e,async fn(t){let{listRef:r,overflowRef:i,onFallbackChange:a,offset:o=0,index:s=0,minItemsVisible:c=4,referenceOverflowThreshold:l=0,scrollRef:u,...d}=_a(e,t),{rects:f,elements:{floating:p}}=t,m=r.current[s],h=u?.current||p,g=p.clientTop||h.clientTop,_=p.clientTop!==0,v=h.clientTop!==0,y=p===h;if(process.env.NODE_ENV!==`production`&&(t.placement.startsWith(`bottom`)||ns('`placement` side must be "bottom" when using the `inner`',`middleware.`)),!m)return{};let b={...t,...await Io(-m.offsetTop-p.clientTop-f.reference.height/2-m.offsetHeight/2-o).fn(t)},x=await wo(gs(b,h.scrollHeight+g+p.clientTop),d),S=await wo(b,{...d,elementContext:`reference`}),C=da(0,x.top),w=b.y+C,T=(h.scrollHeight>h.clientHeight?e=>e:fa)(da(0,h.scrollHeight+(_&&y||v?g*2:0)-C-da(0,x.bottom)));if(h.style.maxHeight=T+`px`,h.scrollTop=C,a){let e=h.offsetHeight<m.offsetHeight*ua(c,r.current.length)-1||S.top>=-l||S.bottom>=-l;n.flushSync(()=>a(e))}return i&&(i.current=await wo(gs({...b,y:w},h.offsetHeight+g+p.clientTop),d)),{y:w}}});function vs(e,t){let{open:r,elements:i}=e,{enabled:a=!0,overflowRef:o,scrollRef:s,onChange:c}=t,l=Ho(c),u=f.useRef(!1),d=f.useRef(null),p=f.useRef(null);f.useEffect(()=>{if(!a)return;function e(e){if(e.ctrlKey||!t||o.current==null)return;let r=e.deltaY,i=o.current.top>=-.5,a=o.current.bottom>=-.5,s=t.scrollHeight-t.clientHeight,c=r<0?-1:1,u=r<0?`max`:`min`;t.scrollHeight<=t.clientHeight||(!i&&r>0||!a&&r<0?(e.preventDefault(),n.flushSync(()=>{l(e=>e+Math[u](r,s*c))})):/firefox/i.test(la())&&(t.scrollTop+=r))}let t=s?.current||i.floating;if(r&&t)return t.addEventListener(`wheel`,e),requestAnimationFrame(()=>{d.current=t.scrollTop,o.current!=null&&(p.current={...o.current})}),()=>{d.current=null,p.current=null,t.removeEventListener(`wheel`,e)}},[a,r,i.floating,o,s,l]);let m=f.useMemo(()=>({onKeyDown(){u.current=!0},onWheel(){u.current=!1},onPointerMove(){u.current=!1},onScroll(){let e=s?.current||i.floating;if(!(!o.current||!e||!u.current)){if(d.current!==null){let t=e.scrollTop-d.current;(o.current.bottom<-.5&&t<-1||o.current.top<-.5&&t>1)&&n.flushSync(()=>l(e=>e+t))}requestAnimationFrame(()=>{d.current=e.scrollTop})}}}),[i.floating,l,o,s]);return f.useMemo(()=>a?{floating:m}:{},[a,m])}var ys=(0,f.createContext)({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});ys.displayName=`FloatingContext`;var bs=(0,f.createContext)(null);bs.displayName=`PlacementContext`;function xs(e){return(0,f.useMemo)(()=>e?typeof e==`string`?{to:e}:e:null,[e])}function Ss(){return(0,f.useContext)(ys).setReference}function Cs(){return(0,f.useContext)(ys).getReferenceProps}function ws(){let{getFloatingProps:e,slot:t}=(0,f.useContext)(ys);return(0,f.useCallback)((...n)=>Object.assign({},e(...n),{"data-anchor":t.anchor}),[e,t])}function Ts(e=null){e===!1&&(e=null),typeof e==`string`&&(e={to:e});let t=(0,f.useContext)(bs),n=(0,f.useMemo)(()=>e,[JSON.stringify(e,(e,t)=>t?.outerHTML??t)]);U(()=>{t?.(n??null)},[t,n]);let r=(0,f.useContext)(ys);return(0,f.useMemo)(()=>[r.setFloating,e?r.styles:{}],[r.setFloating,e,r.styles])}var Es=4;function Ds({children:e,enabled:t=!0}){let[n,r]=(0,f.useState)(null),[i,a]=(0,f.useState)(0),o=(0,f.useRef)(null),[s,c]=(0,f.useState)(null);Os(s);let l=t&&n!==null&&s!==null,{to:u=`bottom`,gap:d=0,offset:p=0,padding:m=0,inner:h}=ks(n,s),[g,_=`center`]=u.split(` `);U(()=>{l&&a(0)},[l]);let{refs:v,floatingStyles:y,context:b}=ds({open:l,placement:g===`selection`?_===`center`?`bottom`:`bottom-${_}`:_===`center`?`${g}`:`${g}-${_}`,strategy:`absolute`,transform:!1,middleware:[Io({mainAxis:g===`selection`?0:d,crossAxis:p}),Lo({padding:m}),g!==`selection`&&Ro({padding:m}),g===`selection`&&h?_s({...h,padding:m,overflowRef:o,offset:i,minItemsVisible:Es,referenceOverflowThreshold:m,onFallbackChange(e){if(!e)return;let t=b.elements.floating;if(!t)return;let n=parseFloat(getComputedStyle(t).scrollPaddingBottom)||0,r=Math.min(Es,t.childElementCount),i=0,o=0;for(let e of b.elements.floating?.childNodes??[])if(nn(e)){let a=e.offsetTop,s=a+e.clientHeight+n,c=t.scrollTop,l=c+t.clientHeight;if(a>=c&&s<=l)r--;else{o=Math.max(0,Math.min(s,l)-Math.max(a,c)),i=e.clientHeight;break}}r>=1&&a(e=>{let t=i*r-o+n;return e>=t?e:t})}}):null,zo({padding:m,apply({availableWidth:e,availableHeight:t,elements:n}){Object.assign(n.floating.style,{overflow:`auto`,maxWidth:`${e}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${t}px)`})}})].filter(Boolean),whileElementsMounted:Co}),[x=g,S=_]=b.placement.split(`-`);g===`selection`&&(x=`selection`);let C=(0,f.useMemo)(()=>({anchor:[x,S].filter(Boolean).join(` `)}),[x,S]),{getReferenceProps:w,getFloatingProps:T}=hs([vs(b,{overflowRef:o,onChange:a})]),E=W(e=>{c(e),v.setFloating(e)});return f.createElement(bs.Provider,{value:r},f.createElement(ys.Provider,{value:{setFloating:E,setReference:v.setReference,styles:y,getReferenceProps:w,getFloatingProps:T,slot:C}},e))}function Os(e){U(()=>{if(!e)return;let t=new MutationObserver(()=>{let t=window.getComputedStyle(e).maxHeight,n=parseFloat(t);if(isNaN(n))return;let r=parseInt(t);isNaN(r)||n!==r&&(e.style.maxHeight=`${Math.ceil(n)}px`)});return t.observe(e,{attributes:!0,attributeFilter:[`style`]}),()=>{t.disconnect()}},[e])}function ks(e,t){let n=As(e?.gap??`var(--anchor-gap, 0)`,t),r=As(e?.offset??`var(--anchor-offset, 0)`,t),i=As(e?.padding??`var(--anchor-padding, 0)`,t);return{...e,gap:n,offset:r,padding:i}}function As(e,t,n=void 0){let r=mt(),i=W((e,t)=>{if(e==null)return[n,null];if(typeof e==`number`)return[e,null];if(typeof e==`string`){if(!t)return[n,null];let i=Ms(e,t);return[i,n=>{let a=js(e);{let o=a.map(e=>window.getComputedStyle(t).getPropertyValue(e));r.requestAnimationFrame(function s(){r.nextFrame(s);let c=!1;for(let[e,n]of a.entries()){let r=window.getComputedStyle(t).getPropertyValue(n);if(o[e]!==r){o[e]=r,c=!0;break}}if(!c)return;let l=Ms(e,t);i!==l&&(n(l),i=l)})}return r.dispose}]}return[n,null]}),a=(0,f.useMemo)(()=>i(e,t)[0],[e,t]),[o=a,s]=(0,f.useState)();return U(()=>{let[n,r]=i(e,t);if(s(n),r)return r(s)},[e,t]),o}function js(e){let t=/var\((.*)\)/.exec(e);if(t){let e=t[1].indexOf(`,`);if(e===-1)return[t[1]];let n=t[1].slice(0,e).trim(),r=t[1].slice(e+1).trim();return r?[n,...js(r)]:[n]}return[]}function Ms(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 Ns({children:e,freeze:t},n){let r=Fs(t,e);return(0,f.isValidElement)(r)?(0,f.cloneElement)(r,{ref:n}):f.default.createElement(f.default.Fragment,null,r)}var Ps=f.default.forwardRef(Ns);function Fs(e,t){let[n,r]=(0,f.useState)(t);return!e&&n!==t&&r(t),e?n:t}var Is=(0,f.createContext)(null);Is.displayName=`OpenClosedContext`;var Ls=(e=>(e[e.Open=1]=`Open`,e[e.Closed=2]=`Closed`,e[e.Closing=4]=`Closing`,e[e.Opening=8]=`Opening`,e))(Ls||{});function Rs(){return(0,f.useContext)(Is)}function zs({value:e,children:t}){return f.default.createElement(Is.Provider,{value:e},t)}function Bs(e){function t(){document.readyState!==`loading`&&(e(),document.removeEventListener(`DOMContentLoaded`,t))}typeof window<`u`&&typeof document<`u`&&(document.addEventListener(`DOMContentLoaded`,t),t())}var Vs=[];Bs(()=>{function e(e){if(!rn(e.target)||e.target===document.body||Vs[0]===e.target)return;let t=e.target;t=t.closest(Br),Vs.unshift(t??e.target),Vs=Vs.filter(e=>e!=null&&e.isConnected),Vs.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 Hs(e){throw Error(`Unexpected object: `+e)}var X=(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))(X||{});function Us(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),i=r??-1;switch(e.focus){case 0:for(let e=0;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 1:i===-1&&(i=n.length);for(let e=i-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 2:for(let e=i+1;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 3:for(let e=n.length-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 4:for(let r=0;r<n.length;++r)if(t.resolveId(n[r],r,n)===e.id)return r;return r;case 5:return null;default:Hs(e)}}function Ws(e){let t=W(e),n=(0,f.useRef)(!1);(0,f.useEffect)(()=>(n.current=!1,()=>{n.current=!0,ft(()=>{n.current&&t()})}),[t])}function Gs(){let e=typeof document>`u`;return`useSyncExternalStore`in f?(e=>e.useSyncExternalStore)(f)(()=>()=>{},()=>!1,()=>!e):!1}function Ks(){let e=Gs(),[t,n]=f.useState(st.isHandoffComplete);return t&&st.isHandoffComplete===!1&&n(!1),f.useEffect(()=>{t!==!0&&n(!0)},[t]),f.useEffect(()=>st.handoff(),[]),e?!1:t}var qs=(0,f.createContext)(!1);function Js(){return(0,f.useContext)(qs)}function Ys(e){let t=Js(),n=(0,f.useContext)(ec),[r,i]=(0,f.useState)(()=>{if(!t&&n!==null)return n.current??null;if(st.isServer)return null;let r=e?.getElementById(`headlessui-portal-root`);if(r)return r;if(e===null)return null;let i=e.createElement(`div`);return i.setAttribute(`id`,`headlessui-portal-root`),e.body.appendChild(i)});return(0,f.useEffect)(()=>{r!==null&&(e!=null&&e.body.contains(r)||e==null||e.body.appendChild(r))},[r,e]),(0,f.useEffect)(()=>{t||n!==null&&i(n.current)},[n,i,t]),r}var Xs=f.Fragment,Zs=q(function(e,t){let{ownerDocument:r=null,...i}=e,a=(0,f.useRef)(null),o=gn(hn(e=>{a.current=e}),t),s=ci(a.current),c=Ys(r??s),l=(0,f.useContext)(nc),u=mt(),d=Ks(),p=K();return Ws(()=>{var e;c&&c.childNodes.length<=0&&((e=c.parentElement)==null||e.removeChild(c))}),!c||!d?null:(0,n.createPortal)(f.default.createElement(`div`,{"data-headlessui-portal":``,ref:e=>{u.dispose(),l&&e&&u.add(l.register(e))}},p({ourProps:{ref:o},theirProps:i,slot:{},defaultTag:Xs,name:`Portal`})),c)});function Qs(e,t){let n=gn(t),{enabled:r=!0,ownerDocument:i,...a}=e,o=K();return r?f.default.createElement(Zs,{...a,ownerDocument:i,ref:n}):o({ourProps:{ref:n},theirProps:a,slot:{},defaultTag:Xs,name:`Portal`})}var $s=f.Fragment,ec=(0,f.createContext)(null);function tc(e,t){let{target:n,...r}=e,i={ref:gn(t)},a=K();return f.default.createElement(ec.Provider,{value:n},a({ourProps:i,theirProps:r,defaultTag:$s,name:`Popover.Group`}))}var nc=(0,f.createContext)(null),rc=q(Qs),ic=q(tc),ac=Object.assign(rc,{Group:ic}),oc={Idle:{kind:`Idle`},Tracked:e=>({kind:`Tracked`,position:e}),Moved:{kind:`Moved`}};function sc(e){let t=e.getBoundingClientRect();return`${t.x},${t.y}`}function cc(e,t,n){let r=pt();if(t.kind===`Tracked`){let i=function(){a!==sc(e)&&(r.dispose(),n())},{position:a}=t,o=new ResizeObserver(i);o.observe(e),r.add(()=>o.disconnect()),r.addEventListener(window,`scroll`,i,{passive:!0}),r.addEventListener(window,`resize`,i)}return()=>r.dispose()}var lc=Object.defineProperty,uc=(e,t,n)=>t in e?lc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,dc=(e,t,n)=>(uc(e,typeof t==`symbol`?t:t+``,n),n),Z=(e=>(e[e.Open=0]=`Open`,e[e.Closed=1]=`Closed`,e))(Z||{}),fc=(e=>(e[e.Single=0]=`Single`,e[e.Multi=1]=`Multi`,e))(fc||{}),pc=(e=>(e[e.Pointer=0]=`Pointer`,e[e.Focus=1]=`Focus`,e[e.Other=2]=`Other`,e))(pc||{}),mc=(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.DefaultToFirstOption=6]=`DefaultToFirstOption`,e[e.SetActivationTrigger=7]=`SetActivationTrigger`,e[e.UpdateVirtualConfiguration=8]=`UpdateVirtualConfiguration`,e[e.SetInputElement=9]=`SetInputElement`,e[e.SetButtonElement=10]=`SetButtonElement`,e[e.SetOptionsElement=11]=`SetOptionsElement`,e[e.MarkInputAsMoved=12]=`MarkInputAsMoved`,e))(mc||{});function hc(e,t=e=>e){let n=e.activeOptionIndex===null?null:e.options[e.activeOptionIndex],r=t(e.options.slice()),i=r.length>0&&r[0].dataRef.current.order!==null?r.sort((e,t)=>e.dataRef.current.order-t.dataRef.current.order):Qr(r,e=>e.dataRef.current.domRef.current),a=n?i.indexOf(n):null;return a===-1&&(a=null),{options:i,activeOptionIndex:a}}var gc={1(e){var t;if((t=e.dataRef.current)!=null&&t.disabled||e.comboboxState===1)return e;let n=e.inputElement?oc.Tracked(sc(e.inputElement)):e.inputPositionState;return{...e,activeOptionIndex:null,comboboxState:1,isTyping:!1,activationTrigger:2,inputPositionState:n,__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 t=e.dataRef.current.calculateIndex(e.dataRef.current.value);if(t!==-1)return{...e,activeOptionIndex:t,comboboxState:0,__demoMode:!1,inputPositionState:oc.Idle}}return{...e,comboboxState:0,inputPositionState:oc.Idle,__demoMode:!1}},3(e,t){return e.isTyping===t.isTyping?e:{...e,isTyping:t.isTyping}},2(e,t){var n,r;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:n,disabled:r}=e.virtual,i=t.focus===X.Specific?t.idx:Us(t,{resolveItems:()=>n,resolveActiveIndex:()=>e.activeOptionIndex??n.findIndex(e=>!r(e))??null,resolveDisabled:r,resolveId(){throw Error(`Function not implemented.`)}}),a=t.trigger??2;return e.activeOptionIndex===i&&e.activationTrigger===a?e:{...e,activeOptionIndex:i,activationTrigger:a,isTyping:!1,__demoMode:!1}}let i=hc(e);if(i.activeOptionIndex===null){let e=i.options.findIndex(e=>!e.dataRef.current.disabled);e!==-1&&(i.activeOptionIndex=e)}let a=t.focus===X.Specific?t.idx:Us(t,{resolveItems:()=>i.options,resolveActiveIndex:()=>i.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled}),o=t.trigger??2;return e.activeOptionIndex===a&&e.activationTrigger===o?e:{...e,...i,isTyping:!1,activeOptionIndex:a,activationTrigger:o,__demoMode:!1}},4:(e,t)=>{var n,r,i,a;if((n=e.dataRef.current)!=null&&n.virtual)return{...e,options:[...e.options,t.payload]};let o=t.payload,s=hc(e,e=>(e.push(o),e));e.activeOptionIndex===null&&(i=(r=e.dataRef.current).isSelected)!=null&&i.call(r,t.payload.dataRef.current.value)&&(s.activeOptionIndex=s.options.indexOf(o));let c={...e,...s,activationTrigger:2};return(a=e.dataRef.current)!=null&&a.__demoMode&&e.dataRef.current.value===void 0&&(c.activeOptionIndex=0),c},5:(e,t)=>{var n;if((n=e.dataRef.current)!=null&&n.virtual)return{...e,options:e.options.filter(e=>e.id!==t.id)};let r=hc(e,e=>{let n=e.findIndex(e=>e.id===t.id);return n!==-1&&e.splice(n,1),e});return{...e,...r,activationTrigger:2}},6:(e,t)=>e.defaultToFirstOption===t.value?e:{...e,defaultToFirstOption:t.value},7:(e,t)=>e.activationTrigger===t.trigger?e:{...e,activationTrigger:t.trigger},8:(e,t)=>{if(e.virtual===null)return{...e,virtual:{options:t.options,disabled:t.disabled??(()=>!1)}};if(e.virtual.options===t.options&&e.virtual.disabled===t.disabled)return e;let n=e.activeOptionIndex;if(e.activeOptionIndex!==null){let r=t.options.indexOf(e.virtual.options[e.activeOptionIndex]);n=r===-1?null:r}return{...e,activeOptionIndex:n,virtual:{options:t.options,disabled:t.disabled??(()=>!1)}}},9:(e,t)=>e.inputElement===t.element?e:{...e,inputElement:t.element},10:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},11:(e,t)=>e.optionsElement===t.element?e:{...e,optionsElement:t.element},12(e){return e.inputPositionState.kind===`Tracked`?{...e,inputPositionState:oc.Moved}:e}},_c=class e extends _r{constructor(e){super(e),dc(this,`actions`,{onChange:e=>{let{onChange:t,compare:n,mode:r,value:i}=this.state.dataRef.current;return G(r,{0:()=>t?.(e),1:()=>{let r=i.slice(),a=r.findIndex(t=>n(t,e));return a===-1?r.push(e):r.splice(a,1),t?.(r)}})},registerOption:(e,t)=>(this.send({type:4,payload:{id:e,dataRef:t}}),()=>{this.state.activeOptionIndex===this.state.dataRef.current.calculateIndex(t.current.value)&&this.send({type:6,value:!0}),this.send({type:5,id:e})}),goToOption:(e,t)=>(this.send({type:6,value:!1}),this.send({type:2,...e,trigger:t})),setIsTyping:e=>{this.send({type:3,isTyping:e})},closeCombobox:()=>{var e,t;this.send({type:1}),this.send({type:6,value:!1}),(t=(e=this.state.dataRef.current).onClose)==null||t.call(e)},openCombobox:()=>{this.send({type:0}),this.send({type:6,value:!0})},setActivationTrigger:e=>{this.send({type:7,trigger:e})},selectActiveOption:()=>{let e=this.selectors.activeOptionIndex(this.state);if(e!==null){if(this.actions.setIsTyping(!1),this.state.virtual)this.actions.onChange(this.state.virtual.options[e]);else{let{dataRef:t}=this.state.options[e];this.actions.onChange(t.current.value)}this.actions.goToOption({focus:X.Specific,idx:e})}},setInputElement:e=>{this.send({type:9,element:e})},setButtonElement:e=>{this.send({type:10,element:e})},setOptionsElement:e=>{this.send({type:11,element:e})}}),dc(this,`selectors`,{activeDescendantId:e=>{let t=this.selectors.activeOptionIndex(e);if(t!==null)return e.virtual?e.options.find(n=>!n.dataRef.current.disabled&&e.dataRef.current.compare(n.dataRef.current.value,e.virtual.options[t]))?.id:e.options[t]?.id},activeOptionIndex:e=>{if(e.defaultToFirstOption&&e.activeOptionIndex===null&&(e.virtual?e.virtual.options.length>0:e.options.length>0)){if(e.virtual){let{options:t,disabled:n}=e.virtual,r=t.findIndex(e=>{var t;return!((t=n?.(e))!=null&&t)});if(r!==-1)return r}let t=e.options.findIndex(e=>!e.dataRef.current.disabled);if(t!==-1)return t}return e.activeOptionIndex},activeOption:e=>{let t=this.selectors.activeOptionIndex(e);return t===null?null:e.virtual?e.virtual.options[t??0]:e.options[t]?.dataRef.current.value??null},isActive:(e,t,n)=>{let r=this.selectors.activeOptionIndex(e);return r===null?!1:e.virtual?r===e.dataRef.current.calculateIndex(t):e.options[r]?.id===n},shouldScrollIntoView:(e,t,n)=>!(e.virtual||e.__demoMode||e.comboboxState!==0||e.activationTrigger===0||!this.selectors.isActive(e,t,n)),didInputMove(e){return e.inputPositionState.kind===`Moved`}});{let e=this.state.id,t=Or.get(null);this.disposables.add(t.on(Tr.Push,n=>{!t.selectors.isTop(n,e)&&this.state.comboboxState===0&&this.actions.closeCombobox()})),this.on(0,()=>t.actions.push(e)),this.on(1,()=>t.actions.pop(e))}this.disposables.group(e=>{this.on(1,t=>{t.inputElement&&(e.dispose(),e.add(cc(t.inputElement,t.inputPositionState,()=>{this.send({type:12})})))})})}static new({id:t,virtual:n=null,__demoMode:r=!1}){return new e({id:t,dataRef:{current:{}},comboboxState:+!r,isTyping:!1,options:[],virtual:n?{options:n.options,disabled:n.disabled??(()=>!1)}:null,activeOptionIndex:null,activationTrigger:2,inputElement:null,buttonElement:null,optionsElement:null,__demoMode:r,inputPositionState:oc.Idle})}reduce(e,t){return G(t.type,gc,e,t)}},vc=(0,f.createContext)(null);function yc(e){let t=(0,f.useContext)(vc);if(t===null){let t=Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,bc),t}return t}function bc({id:e,virtual:t=null,__demoMode:n=!1}){let r=(0,f.useMemo)(()=>_c.new({id:e,virtual:t,__demoMode:n}),[]);return Ws(()=>r.dispose()),r}var xc=(0,f.createContext)(null);xc.displayName=`ComboboxDataContext`;function Sc(e){let t=(0,f.useContext)(xc);if(t===null){let t=Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Sc),t}return t}var Cc=(0,f.createContext)(null);function wc(e){let t=yc(`VirtualProvider`),{options:n}=Sc(`VirtualProvider`).virtual,r=Y(t,e=>e.optionsElement),[i,a]=(0,f.useMemo)(()=>{let e=r;if(!e)return[0,0];let t=window.getComputedStyle(e);return[parseFloat(t.paddingBlockStart||t.paddingTop),parseFloat(t.paddingBlockEnd||t.paddingBottom)]},[r]),o=$n({enabled:n.length!==0,scrollPaddingStart:i,scrollPaddingEnd:a,count:n.length,estimateSize(){return 40},getScrollElement(){return t.state.optionsElement},overscan:12}),[s,c]=(0,f.useState)(0);U(()=>{c(e=>e+1)},[n]);let l=o.getVirtualItems(),u=Y(t,e=>e.activationTrigger===pc.Pointer),d=Y(t,t.selectors.activeOptionIndex);return l.length===0?null:f.default.createElement(Cc.Provider,{value:o},f.default.createElement(`div`,{style:{position:`relative`,width:`100%`,height:`${o.getTotalSize()}px`},ref:e=>{e&&(u||d!==null&&n.length>d&&o.scrollToIndex(d))}},l.map(t=>f.default.createElement(f.Fragment,{key:t.key},f.default.cloneElement(e.children?.call(e,{...e.slot,option:n[t.index]}),{key:`${s}-${t.key}`,"data-index":t.index,"aria-setsize":n.length,"aria-posinset":t.index+1,style:{position:`absolute`,top:0,left:0,transform:`translateY(${t.start}px)`,overflowAnchor:`none`}})))))}var Tc=f.Fragment;function Ec(e,t){let n=(0,f.useId)(),r=xt(),{value:i,defaultValue:a,onChange:o,form:s,name:c,by:l,invalid:u=!1,disabled:d=r||!1,onClose:p,__demoMode:m=!1,multiple:h=!1,immediate:g=!1,virtual:_=null,nullable:v,...y}=e,b=Rt(a),[x=h?[]:void 0,S]=Lt(i,o,b),C=bc({id:n,virtual:_,__demoMode:m}),w=(0,f.useRef)({static:!1,hold:!1}),T=tr(l),E=W(e=>_?l===null?_.options.indexOf(e):_.options.findIndex(t=>T(t,e)):C.state.options.findIndex(t=>T(t.dataRef.current.value,e))),D=(0,f.useCallback)(e=>G(A.mode,{[fc.Multi]:()=>x.some(t=>T(t,e)),[fc.Single]:()=>T(x,e)}),[x]),O=Y(C,e=>e.virtual),k=W(()=>p?.()),A=(0,f.useMemo)(()=>({__demoMode:m,immediate:g,optionsPropsRef:w,value:x,defaultValue:b,disabled:d,invalid:u,mode:h?fc.Multi:fc.Single,virtual:_?O:null,onChange:S,isSelected:D,calculateIndex:E,compare:T,onClose:k}),[m,g,w,x,b,d,u,h,_,O,S,D,E,T,k]);U(()=>{_&&C.send({type:mc.UpdateVirtualConfiguration,options:_.options,disabled:_.disabled??null})},[_,_?.options,_?.disabled]),U(()=>{C.state.dataRef.current=A},[A]);let[j,M,N,P]=Y(C,e=>[e.comboboxState,e.buttonElement,e.inputElement,e.optionsElement]),F=Or.get(null);si(Y(F,(0,f.useCallback)(e=>F.selectors.isTop(e,n),[F,n])),[M,N,P],()=>C.actions.closeCombobox());let I=Y(C,C.selectors.activeOptionIndex),L=Y(C,C.selectors.activeOption),R=yt({open:j===Z.Open,disabled:d,invalid:u,activeIndex:I,activeOption:L,value:x}),[z,B]=En(),ee=t===null?{}:{ref:t},te=(0,f.useCallback)(()=>{if(b!==void 0)return S?.(b)},[S,b]),ne=K();return f.default.createElement(B,{value:z,props:{htmlFor:N?.id},slot:{open:j===Z.Open,disabled:d}},f.default.createElement(Ds,null,f.default.createElement(xc.Provider,{value:A},f.default.createElement(vc.Provider,{value:C},f.default.createElement(zs,{value:G(j,{[Z.Open]:Ls.Open,[Z.Closed]:Ls.Closed})},c!=null&&f.default.createElement(Xt,{disabled:d,data:x==null?{}:{[c]:x},form:s,onReset:te}),ne({ourProps:ee,theirProps:y,slot:R,defaultTag:Tc,name:`Combobox`}))))))}var Dc=`input`;function Oc(e,t){let r=yc(`Combobox.Input`),i=Sc(`Combobox.Input`),a=(0,f.useId)(),o=$t(),{id:s=o||`headlessui-combobox-input-${a}`,onChange:c,displayValue:l,disabled:u=i.disabled||!1,autoFocus:d=!1,type:p=`text`,...m}=e,h=(0,f.useRef)(null),g=gn(h,t,Ss(),r.actions.setInputElement),[_,v]=Y(r,e=>[e.comboboxState,e.isTyping]),y=mt(),b=W(()=>{r.actions.onChange(null),r.state.optionsElement&&(r.state.optionsElement.scrollTop=0),r.actions.goToOption({focus:X.Nothing})});Li(([e,t],[n,i])=>{if(r.state.isTyping)return;let a=h.current;a&&((i===Z.Open&&t===Z.Closed||e!==n)&&(a.value=e),requestAnimationFrame(()=>{if(r.state.isTyping||!a||dt(a))return;let{selectionStart:e,selectionEnd:t}=a;Math.abs((t??0)-(e??0))===0&&e===0&&a.setSelectionRange(a.value.length,a.value.length)}))},[(0,f.useMemo)(()=>typeof l==`function`&&i.value!==void 0?l(i.value)??``:typeof i.value==`string`?i.value:``,[i.value,l]),_,v]),Li(([e],[t])=>{if(e===Z.Open&&t===Z.Closed){if(r.state.isTyping)return;let e=h.current;if(!e)return;let t=e.value,{selectionStart:n,selectionEnd:i,selectionDirection:a}=e;e.value=``,e.value=t,a===null?e.setSelectionRange(n,i):e.setSelectionRange(n,i,a)}},[_]);let x=(0,f.useRef)(!1),S=W(()=>{x.current=!0}),C=W(()=>{y.nextFrame(()=>{x.current=!1})}),w=W(e=>{switch(r.actions.setIsTyping(!0),e.key){case J.Enter:if(r.state.comboboxState!==Z.Open||x.current)return;if(e.preventDefault(),e.stopPropagation(),r.selectors.activeOptionIndex(r.state)===null){r.actions.closeCombobox();return}r.actions.selectActiveOption(),i.mode===fc.Single&&r.actions.closeCombobox();break;case J.ArrowDown:return e.preventDefault(),e.stopPropagation(),G(r.state.comboboxState,{[Z.Open]:()=>r.actions.goToOption({focus:X.Next}),[Z.Closed]:()=>r.actions.openCombobox()});case J.ArrowUp:return e.preventDefault(),e.stopPropagation(),G(r.state.comboboxState,{[Z.Open]:()=>r.actions.goToOption({focus:X.Previous}),[Z.Closed]:()=>{(0,n.flushSync)(()=>r.actions.openCombobox()),i.value||r.actions.goToOption({focus:X.Last})}});case J.Home:if(r.state.comboboxState===Z.Closed||e.shiftKey)break;return e.preventDefault(),e.stopPropagation(),r.actions.goToOption({focus:X.First});case J.PageUp:return e.preventDefault(),e.stopPropagation(),r.actions.goToOption({focus:X.First});case J.End:if(r.state.comboboxState===Z.Closed||e.shiftKey)break;return e.preventDefault(),e.stopPropagation(),r.actions.goToOption({focus:X.Last});case J.PageDown:return e.preventDefault(),e.stopPropagation(),r.actions.goToOption({focus:X.Last});case J.Escape:return r.state.comboboxState===Z.Open?(e.preventDefault(),r.state.optionsElement&&!i.optionsPropsRef.current.static&&e.stopPropagation(),i.mode===fc.Single&&i.value===null&&b(),r.actions.closeCombobox()):void 0;case J.Tab:if(r.actions.setIsTyping(!1),r.state.comboboxState!==Z.Open)return;i.mode===fc.Single&&r.state.activationTrigger!==pc.Focus&&r.actions.selectActiveOption(),r.actions.closeCombobox();break}}),T=W(e=>{c?.(e),i.mode===fc.Single&&e.target.value===``&&b(),r.actions.openCombobox()}),E=W(e=>{var t,n;let a=e.relatedTarget??Vs.find(t=>t!==e.currentTarget);if(!((t=r.state.optionsElement)!=null&&t.contains(a))&&!((n=r.state.buttonElement)!=null&&n.contains(a))&&r.state.comboboxState===Z.Open)return e.preventDefault(),i.mode===fc.Single&&i.value===null&&b(),r.actions.closeCombobox()}),D=W(e=>{var t,a;let o=e.relatedTarget??Vs.find(t=>t!==e.currentTarget);(t=r.state.buttonElement)!=null&&t.contains(o)||(a=r.state.optionsElement)!=null&&a.contains(o)||i.disabled||i.immediate&&r.state.comboboxState!==Z.Open&&y.microTask(()=>{(0,n.flushSync)(()=>r.actions.openCombobox()),r.actions.setActivationTrigger(pc.Focus)})}),O=Tn(),k=yn(),{isFocused:A,focusProps:j}=Ze({autoFocus:d}),{isHovered:M,hoverProps:N}=rt({isDisabled:u}),P=Y(r,e=>e.optionsElement),F=yt({open:_===Z.Open,disabled:u,invalid:i.invalid,hover:M,focus:A,autofocus:d}),I=At({ref:g,id:s,role:`combobox`,type:p,"aria-controls":P?.id,"aria-expanded":_===Z.Open,"aria-activedescendant":Y(r,r.selectors.activeDescendantId),"aria-labelledby":O,"aria-describedby":k,"aria-autocomplete":`list`,defaultValue:e.defaultValue??(i.defaultValue===void 0?null:l?.(i.defaultValue))??i.defaultValue,disabled:u||void 0,autoFocus:d,onCompositionStart:S,onCompositionEnd:C,onKeyDown:w,onChange:T,onFocus:D,onBlur:E},j,N);return K()({ourProps:I,theirProps:m,slot:F,defaultTag:Dc,name:`Combobox.Input`})}var kc=`button`;function Ac(e,t){let r=yc(`Combobox.Button`),i=Sc(`Combobox.Button`),[a,o]=(0,f.useState)(null),s=gn(t,o,r.actions.setButtonElement),c=(0,f.useId)(),{id:l=`headlessui-combobox-button-${c}`,disabled:u=i.disabled||!1,autoFocus:d=!1,...p}=e,[m,h,g]=Y(r,e=>[e.comboboxState,e.inputElement,e.optionsElement]),_=hi(h);pi(m===Z.Open,{trigger:a,action:(0,f.useCallback)(e=>{if(a!=null&&a.contains(e.target)||h!=null&&h.contains(e.target))return ui.Ignore;let t=e.target.closest(`[role="option"]:not([data-disabled])`);return nn(t)?ui.Select(t):g!=null&&g.contains(e.target)?ui.Ignore:ui.Close},[a,h,g]),close:r.actions.closeCombobox,select:r.actions.selectActiveOption});let v=W(e=>{switch(e.key){case J.Space:case J.Enter:e.preventDefault(),e.stopPropagation(),r.state.comboboxState===Z.Closed&&(0,n.flushSync)(()=>r.actions.openCombobox()),_();return;case J.ArrowDown:e.preventDefault(),e.stopPropagation(),r.state.comboboxState===Z.Closed&&((0,n.flushSync)(()=>r.actions.openCombobox()),r.state.dataRef.current.value||r.actions.goToOption({focus:X.First})),_();return;case J.ArrowUp:e.preventDefault(),e.stopPropagation(),r.state.comboboxState===Z.Closed&&((0,n.flushSync)(()=>r.actions.openCombobox()),r.state.dataRef.current.value||r.actions.goToOption({focus:X.Last})),_();return;case J.Escape:if(r.state.comboboxState!==Z.Open)return;e.preventDefault(),r.state.optionsElement&&!i.optionsPropsRef.current.static&&e.stopPropagation(),(0,n.flushSync)(()=>r.actions.closeCombobox()),_();return;default:return}}),y=ar(()=>{r.state.comboboxState===Z.Open?r.actions.closeCombobox():r.actions.openCombobox(),_()}),b=Tn([l]),{isFocusVisible:x,focusProps:S}=Ze({autoFocus:d}),{isHovered:C,hoverProps:w}=rt({isDisabled:u}),{pressed:T,pressProps:E}=vt({disabled:u}),D=yt({open:m===Z.Open,active:T||m===Z.Open,disabled:u,invalid:i.invalid,value:i.value,hover:C,focus:x}),O=At({ref:s,id:l,type:gi(e,a),tabIndex:-1,"aria-haspopup":`listbox`,"aria-controls":g?.id,"aria-expanded":m===Z.Open,"aria-labelledby":b,disabled:u||void 0,autoFocus:d,onKeyDown:v},y,S,w,E);return K()({ourProps:O,theirProps:p,slot:D,defaultTag:kc,name:`Combobox.Button`})}var jc=`div`,Mc=Ct.RenderStrategy|Ct.Static;function Nc(e,t){let n=(0,f.useId)(),{id:r=`headlessui-combobox-options-${n}`,hold:i=!1,anchor:a,portal:o=!1,modal:s=!0,transition:c=!1,...l}=e,u=yc(`Combobox.Options`),d=Sc(`Combobox.Options`),p=xs(a);p&&(o=!0);let[m,h]=Ts(p),[g,_]=(0,f.useState)(null),v=ws(),y=gn(t,p?m:null,u.actions.setOptionsElement,_),[b,x,S,C,w]=Y(u,e=>[e.comboboxState,e.inputElement,e.buttonElement,e.optionsElement,e.activationTrigger]),T=ci(x||S),E=ci(C),D=Rs(),[O,k]=ji(c,g,D===null?b===Z.Open:(D&Ls.Open)===Ls.Open);zr(O,x,u.actions.closeCombobox),Ti(d.__demoMode?!1:s&&b===Z.Open,E),Rr(d.__demoMode?!1:s&&b===Z.Open,{allowed:(0,f.useCallback)(()=>[x,S,C],[x,S,C])});let A=Y(u,u.selectors.didInputMove)?!1:O;U(()=>{d.optionsPropsRef.current.static=e.static??!1},[d.optionsPropsRef,e.static]),U(()=>{d.optionsPropsRef.current.hold=i},[d.optionsPropsRef,i]),Ii(b===Z.Open,{container:C,accept(e){return e.getAttribute(`role`)===`option`?NodeFilter.FILTER_REJECT:e.hasAttribute(`role`)?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(e){e.setAttribute(`role`,`none`)}});let j=Tn([S?.id]),M=yt({open:b===Z.Open,option:void 0}),N=W(()=>{u.actions.setActivationTrigger(pc.Pointer)}),P=W(e=>{e.preventDefault(),u.actions.setActivationTrigger(pc.Pointer)}),F=At(p?v():{},{"aria-labelledby":j,role:`listbox`,"aria-multiselectable":d.mode===fc.Multi?!0:void 0,id:r,ref:y,style:{...l.style,...h,"--input-width":rr(O,x,!0).width,"--button-width":rr(O,S,!0).width},onWheel:w===pc.Pointer?void 0:N,onMouseDown:P,...Ai(k)}),I=O&&b===Z.Closed&&!e.static,L=Fs(I,d.virtual?.options),R=Fs(I,d.value),z=(0,f.useCallback)(e=>d.compare(R,e),[d.compare,R]),B=(0,f.useMemo)(()=>{if(!d.virtual)return d;if(L===void 0)throw Error("Missing `options` in virtual mode");return L===d.virtual.options?d:{...d,virtual:{...d.virtual,options:L}}},[d,L,d.virtual?.options]);d.virtual&&Object.assign(l,{children:f.default.createElement(xc.Provider,{value:B},f.default.createElement(wc,{slot:M},l.children))});let ee=K(),te=(0,f.useMemo)(()=>d.mode===fc.Multi?d:{...d,isSelected:z},[d,z]);return f.default.createElement(ac,{enabled:o?e.static||O:!1,ownerDocument:T},f.default.createElement(xc.Provider,{value:te},ee({ourProps:F,theirProps:{...l,children:f.default.createElement(Ps,{freeze:I},typeof l.children==`function`?l.children?.call(l,M):l.children)},slot:M,defaultTag:jc,features:Mc,visible:A,name:`Combobox.Options`})))}var Pc=`div`;function Fc(e,t){var n;let r=Sc(`Combobox.Option`),i=yc(`Combobox.Option`),a=(0,f.useId)(),{id:o=`headlessui-combobox-option-${a}`,value:s,disabled:c=((n=r.virtual)?.disabled)?.call(n,s)??!1,order:l=null,...u}=e,[d]=Y(i,e=>[e.inputElement]),p=hi(d),m=Y(i,(0,f.useCallback)(e=>i.selectors.isActive(e,s,o),[s,o])),h=r.isSelected(s),g=(0,f.useRef)(null),_=ht({disabled:c,value:s,domRef:g,order:l}),v=(0,f.useContext)(Cc),y=gn(t,g,v?v.measureElement:null),b=W(()=>{i.actions.setIsTyping(!1),i.actions.onChange(s)});U(()=>i.actions.registerOption(o,_),[_,o]);let x=Y(i,(0,f.useCallback)(e=>i.selectors.shouldScrollIntoView(e,s,o),[s,o]));U(()=>{if(x)return pt().requestAnimationFrame(()=>{var e,t;(t=(e=g.current)?.scrollIntoView)==null||t.call(e,{block:`nearest`})})},[x,g]);let S=W(e=>{e.preventDefault(),e.button===ir.Left&&(c||(b(),ri()||requestAnimationFrame(()=>p()),r.mode===fc.Single&&i.actions.closeCombobox()))}),C=W(()=>{if(c)return i.actions.goToOption({focus:X.Nothing});let e=r.calculateIndex(s);i.actions.goToOption({focus:X.Specific,idx:e})}),w=Di(),T=W(e=>w.update(e)),E=W(e=>{if(!w.wasMoved(e)||c||m&&i.state.activationTrigger===pc.Pointer)return;let t=r.calculateIndex(s);i.actions.goToOption({focus:X.Specific,idx:t},pc.Pointer)}),D=W(e=>{w.wasMoved(e)&&(c||m&&(r.optionsPropsRef.current.hold||i.state.activationTrigger===pc.Pointer&&i.actions.goToOption({focus:X.Nothing})))}),O=yt({active:m,focus:m,selected:h,disabled:c}),k={id:o,ref:y,role:`option`,tabIndex:c===!0?void 0:-1,"aria-disabled":c===!0?!0:void 0,"aria-selected":h,disabled:void 0,onMouseDown:S,onFocus:C,onPointerEnter:T,onMouseEnter:T,onPointerMove:E,onMouseMove:E,onPointerLeave:D,onMouseLeave:D};return K()({ourProps:k,theirProps:u,slot:O,defaultTag:Pc,name:`Combobox.Option`})}var Ic=q(Ec),Lc=q(Ac),Rc=q(Oc),zc=An,Bc=q(Nc),Vc=q(Fc),Hc=Object.assign(Ic,{Input:Rc,Button:Lc,Label:zc,Options:Bc,Option:Vc});function Uc(){let e=(0,f.useRef)(!1);return U(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function Wc(e){return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||!Ft(e.as??Qc)||f.default.Children.count(e.children)===1}var Gc=(0,f.createContext)(null);Gc.displayName=`TransitionContext`;var Kc=(e=>(e.Visible=`visible`,e.Hidden=`hidden`,e))(Kc||{});function qc(){let e=(0,f.useContext)(Gc);if(e===null)throw Error(`A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.`);return e}function Jc(){let e=(0,f.useContext)(Yc);if(e===null)throw Error(`A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.`);return e}var Yc=(0,f.createContext)(null);Yc.displayName=`NestingContext`;function Xc(e){return`children`in e?Xc(e.children):e.current.filter(({el:e})=>e.current!==null).filter(({state:e})=>e===`visible`).length>0}function Zc(e,t){let n=ht(e),r=(0,f.useRef)([]),i=Uc(),a=mt(),o=W((e,t=wt.Hidden)=>{let o=r.current.findIndex(({el:t})=>t===e);o!==-1&&(G(t,{[wt.Unmount](){r.current.splice(o,1)},[wt.Hidden](){r.current[o].state=`hidden`}}),a.microTask(()=>{var e;!Xc(r)&&i.current&&((e=n.current)==null||e.call(n))}))}),s=W(e=>{let t=r.current.find(({el:t})=>t===e);return t?t.state!==`visible`&&(t.state=`visible`):r.current.push({el:e,state:`visible`}),()=>o(e,wt.Unmount)}),c=(0,f.useRef)([]),l=(0,f.useRef)(Promise.resolve()),u=(0,f.useRef)({enter:[],leave:[]}),d=W((e,n,r)=>{c.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter(([t])=>t!==e)),t?.chains.current[n].push([e,new Promise(e=>{c.current.push(e)})]),t?.chains.current[n].push([e,new Promise(e=>{Promise.all(u.current[n].map(([e,t])=>t)).then(()=>e())})]),n===`enter`?l.current=l.current.then(()=>t?.wait.current).then(()=>r(n)):r(n)}),p=W((e,t,n)=>{Promise.all(u.current[t].splice(0).map(([e,t])=>t)).then(()=>{var e;(e=c.current.shift())==null||e()}).then(()=>n(t))});return(0,f.useMemo)(()=>({children:r,register:s,unregister:o,onStart:d,onStop:p,wait:l,chains:u}),[s,o,r,d,p,u,l])}var Qc=f.Fragment,$c=Ct.RenderStrategy;function el(e,t){var n;let{transition:r=!0,beforeEnter:i,afterEnter:a,beforeLeave:o,afterLeave:s,enter:c,enterFrom:l,enterTo:u,entered:d,leave:p,leaveFrom:m,leaveTo:h,...g}=e,[_,v]=(0,f.useState)(null),y=(0,f.useRef)(null),b=Wc(e),x=gn(...b?[y,t,v]:t===null?[]:[t]),S=(n=g.unmount)==null||n?wt.Unmount:wt.Hidden,{show:C,appear:w,initial:T}=qc(),[E,D]=(0,f.useState)(C?`visible`:`hidden`),O=Jc(),{register:k,unregister:A}=O;U(()=>k(y),[k,y]),U(()=>{if(S===wt.Hidden&&y.current){if(C&&E!==`visible`){D(`visible`);return}return G(E,{hidden:()=>A(y),visible:()=>k(y)})}},[E,y,k,A,C,S]);let j=Ks();U(()=>{if(b&&j&&E===`visible`&&y.current===null)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[y,E,j,b]);let M=T&&!w,N=w&&C&&T,P=(0,f.useRef)(!1),F=Zc(()=>{P.current||(D(`hidden`),A(y))},O),I=W(e=>{P.current=!0;let t=e?`enter`:`leave`;F.onStart(y,t,e=>{e===`enter`?i?.():e===`leave`&&o?.()})}),L=W(e=>{let t=e?`enter`:`leave`;P.current=!1,F.onStop(y,t,e=>{e===`enter`?a?.():e===`leave`&&s?.()}),t===`leave`&&!Xc(F)&&(D(`hidden`),A(y))});(0,f.useEffect)(()=>{b&&r||(I(C),L(C))},[C,b,r]);let[,R]=ji(!(!r||!b||!j||M),_,C,{start:I,end:L}),z=jt({ref:x,className:St(g.className,N&&c,N&&l,R.enter&&c,R.enter&&R.closed&&l,R.enter&&!R.closed&&u,R.leave&&p,R.leave&&!R.closed&&m,R.leave&&R.closed&&h,!R.transition&&C&&d)?.trim()||void 0,...Ai(R)}),B=0;E===`visible`&&(B|=Ls.Open),E===`hidden`&&(B|=Ls.Closed),C&&E===`hidden`&&(B|=Ls.Opening),!C&&E===`visible`&&(B|=Ls.Closing);let ee=K();return f.default.createElement(Yc.Provider,{value:F},f.default.createElement(zs,{value:B},ee({ourProps:z,theirProps:g,defaultTag:Qc,features:$c,visible:E===`visible`,name:`Transition.Child`})))}function tl(e,t){let{show:n,appear:r=!1,unmount:i=!0,...a}=e,o=(0,f.useRef)(null),s=gn(...Wc(e)?[o,t]:t===null?[]:[t]);Ks();let c=Rs();if(n===void 0&&c!==null&&(n=(c&Ls.Open)===Ls.Open),n===void 0)throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[l,u]=(0,f.useState)(n?`visible`:`hidden`),d=Zc(()=>{n||u(`hidden`)}),[p,m]=(0,f.useState)(!0),h=(0,f.useRef)([n]);U(()=>{p!==!1&&h.current[h.current.length-1]!==n&&(h.current.push(n),m(!1))},[h,n]);let g=(0,f.useMemo)(()=>({show:n,appear:r,initial:p}),[n,r,p]);U(()=>{n?u(`visible`):!Xc(d)&&o.current!==null&&u(`hidden`)},[n,d]);let _={unmount:i},v=W(()=>{var t;p&&m(!1),(t=e.beforeEnter)==null||t.call(e)}),y=W(()=>{var t;p&&m(!1),(t=e.beforeLeave)==null||t.call(e)}),b=K();return f.default.createElement(Yc.Provider,{value:d},f.default.createElement(Gc.Provider,{value:g},b({ourProps:{..._,as:f.Fragment,children:f.default.createElement(il,{ref:s,..._,...a,beforeEnter:v,beforeLeave:y})},theirProps:{},defaultTag:f.Fragment,features:$c,visible:l===`visible`,name:`Transition`})))}function nl(e,t){let n=(0,f.useContext)(Gc)!==null,r=Rs()!==null;return f.default.createElement(f.default.Fragment,null,!n&&r?f.default.createElement(rl,{ref:t,...e}):f.default.createElement(il,{ref:t,...e}))}var rl=q(tl),il=q(el),al=q(nl),ol=Object.assign(rl,{Child:al,Root:rl}),sl=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function cl(e){let t=e.innerText??``,n=e.cloneNode(!0);if(!nn(n))return t;let r=!1;for(let e of n.querySelectorAll(`[hidden],[aria-hidden],[role="img"]`))e.remove(),r=!0;let i=r?n.innerText??``:t;return sl.test(i)&&(i=i.replace(sl,``)),i}function ll(e){let t=e.getAttribute(`aria-label`);if(typeof t==`string`)return t.trim();let n=e.getAttribute(`aria-labelledby`);if(n){let e=n.split(` `).map(e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute(`aria-label`);return typeof e==`string`?e.trim():cl(t).trim()}return null}).filter(Boolean);if(e.length>0)return e.join(`, `)}return cl(e).trim()}function ul(e){let t=(0,f.useRef)(``),n=(0,f.useRef)(``);return W(()=>{let r=e.current;if(!r)return``;let i=r.innerText;if(t.current===i)return n.current;let a=ll(r).trim().toLowerCase();return t.current=i,n.current=a,a})}var dl=Object.defineProperty,fl=(e,t,n)=>t in e?dl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,pl=(e,t,n)=>(fl(e,typeof t==`symbol`?t:t+``,n),n),ml=(e=>(e[e.Open=0]=`Open`,e[e.Closed=1]=`Closed`,e))(ml||{}),hl=(e=>(e[e.Single=0]=`Single`,e[e.Multi=1]=`Multi`,e))(hl||{}),gl=(e=>(e[e.Pointer=0]=`Pointer`,e[e.Other=1]=`Other`,e))(gl||{}),_l=(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.SelectOption=5]=`SelectOption`,e[e.RegisterOptions=6]=`RegisterOptions`,e[e.UnregisterOptions=7]=`UnregisterOptions`,e[e.SetButtonElement=8]=`SetButtonElement`,e[e.SetOptionsElement=9]=`SetOptionsElement`,e[e.SortOptions=10]=`SortOptions`,e[e.MarkButtonAsMoved=11]=`MarkButtonAsMoved`,e))(_l||{});function vl(e,t=e=>e){let n=e.activeOptionIndex===null?null:e.options[e.activeOptionIndex],r=Qr(t(e.options.slice()),e=>e.dataRef.current.domRef.current),i=n?r.indexOf(n):null;return i===-1&&(i=null),{options:r,activeOptionIndex:i}}var yl={1(e){if(e.dataRef.current.disabled||e.listboxState===1)return e;let t=e.buttonElement?oc.Tracked(sc(e.buttonElement)):e.buttonPositionState;return{...e,activeOptionIndex:null,pendingFocus:{focus:X.Nothing},listboxState:1,__demoMode:!1,buttonPositionState:t}},0(e,t){if(e.dataRef.current.disabled||e.listboxState===0)return e;let n=e.activeOptionIndex,{isSelected:r}=e.dataRef.current,i=e.options.findIndex(e=>r(e.dataRef.current.value));return i!==-1&&(n=i),{...e,frozenValue:!1,pendingFocus:t.focus,listboxState:0,activeOptionIndex:n,__demoMode:!1,buttonPositionState:oc.Idle}},2(e,t){if(e.dataRef.current.disabled||e.listboxState===1)return e;let n={...e,searchQuery:``,activationTrigger:t.trigger??1,__demoMode:!1};if(t.focus===X.Nothing)return{...n,activeOptionIndex:null};if(t.focus===X.Specific)return{...n,activeOptionIndex:e.options.findIndex(e=>e.id===t.id)};if(t.focus===X.Previous){let r=e.activeOptionIndex;if(r!==null){let i=e.options[r].dataRef.current.domRef,a=Us(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});if(a!==null){let t=e.options[a].dataRef.current.domRef;if(i.current?.previousElementSibling===t.current||t.current?.previousElementSibling===null)return{...n,activeOptionIndex:a}}}}else if(t.focus===X.Next){let r=e.activeOptionIndex;if(r!==null){let i=e.options[r].dataRef.current.domRef,a=Us(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});if(a!==null){let t=e.options[a].dataRef.current.domRef;if(i.current?.nextElementSibling===t.current||t.current?.nextElementSibling===null)return{...n,activeOptionIndex:a}}}}let r=vl(e),i=Us(t,{resolveItems:()=>r.options,resolveActiveIndex:()=>r.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...n,...r,activeOptionIndex:i}},3:(e,t)=>{if(e.dataRef.current.disabled||e.listboxState===1)return e;let n=+(e.searchQuery===``),r=e.searchQuery+t.value.toLowerCase(),i=(e.activeOptionIndex===null?e.options:e.options.slice(e.activeOptionIndex+n).concat(e.options.slice(0,e.activeOptionIndex+n))).find(e=>!e.dataRef.current.disabled&&e.dataRef.current.textValue?.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){return e.dataRef.current.mode===0?{...e,frozenValue:!0}:{...e}},6:(e,t)=>{let n=e.options.concat(t.options),r=e.activeOptionIndex;if(e.pendingFocus.focus!==X.Nothing&&(r=Us(e.pendingFocus,{resolveItems:()=>n,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled})),e.activeOptionIndex===null){let{isSelected:t}=e.dataRef.current;if(t){let e=n.findIndex(e=>t?.(e.dataRef.current.value));e!==-1&&(r=e)}}return{...e,options:n,activeOptionIndex:r,pendingFocus:{focus:X.Nothing},pendingShouldSort:!0}},7:(e,t)=>{let n=e.options,r=[],i=new Set(t.options);for(let[e,t]of n.entries())if(i.has(t.id)&&(r.push(e),i.delete(t.id),i.size===0))break;if(r.length>0){n=n.slice();for(let e of r.reverse())n.splice(e,1)}return{...e,options:n,activationTrigger:1}},8:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},9:(e,t)=>e.optionsElement===t.element?e:{...e,optionsElement:t.element},10:e=>e.pendingShouldSort?{...e,...vl(e),pendingShouldSort:!1}:e,11(e){return e.buttonPositionState.kind===`Tracked`?{...e,buttonPositionState:oc.Moved}:e}},bl=class e extends _r{constructor(e){super(e),pl(this,`actions`,{onChange:e=>{let{onChange:t,compare:n,mode:r,value:i}=this.state.dataRef.current;return G(r,{0:()=>t?.(e),1:()=>{let r=i.slice(),a=r.findIndex(t=>n(t,e));return a===-1?r.push(e):r.splice(a,1),t?.(r)}})},registerOption:xr(()=>{let e=[],t=new Set;return[(n,r)=>{t.has(r)||(t.add(r),e.push({id:n,dataRef:r}))},()=>(t.clear(),this.send({type:6,options:e.splice(0)}))]}),unregisterOption:xr(()=>{let e=[];return[t=>e.push(t),()=>{this.send({type:7,options:e.splice(0)})}]}),goToOption:xr(()=>{let e=null;return[(t,n)=>{e={type:2,...t,trigger:n}},()=>e&&this.send(e)]}),closeListbox:()=>{this.send({type:1})},openListbox:e=>{this.send({type:0,focus:e})},selectActiveOption:()=>{var e;if(this.state.activeOptionIndex!==null){let{dataRef:e}=this.state.options[this.state.activeOptionIndex];this.actions.selectOption(e.current.value)}else this.state.dataRef.current.mode===0&&(this.actions.closeListbox(),(e=this.state.buttonElement)==null||e.focus({preventScroll:!0}))},selectOption:e=>{this.send({type:5,value:e})},search:e=>{this.send({type:3,value:e})},clearSearch:()=>{this.send({type:4})},setButtonElement:e=>{this.send({type:8,element:e})},setOptionsElement:e=>{this.send({type:9,element:e})}}),pl(this,`selectors`,{activeDescendantId(e){var t;let n=e.activeOptionIndex,r=e.options;return n===null||(t=r[n])==null?void 0:t.id},isActive(e,t){let n=e.activeOptionIndex,r=e.options;return n===null?!1:r[n]?.id===t},hasFrozenValue(e){return e.frozenValue},shouldScrollIntoView(e,t){return e.__demoMode||e.listboxState!==0||e.activationTrigger===0?!1:this.isActive(e,t)},didButtonMove(e){return e.buttonPositionState.kind===`Moved`}}),this.on(6,()=>{requestAnimationFrame(()=>{this.send({type:10})})});{let e=this.state.id,t=Or.get(null);this.disposables.add(t.on(Tr.Push,n=>{!t.selectors.isTop(n,e)&&this.state.listboxState===0&&this.actions.closeListbox()})),this.on(0,()=>t.actions.push(e)),this.on(1,()=>t.actions.pop(e))}this.disposables.group(e=>{this.on(1,t=>{t.buttonElement&&(e.dispose(),e.add(cc(t.buttonElement,t.buttonPositionState,()=>{this.send({type:11})})))})}),this.on(5,(e,t)=>{var n;this.actions.onChange(t.value),this.state.dataRef.current.mode===0&&(this.actions.closeListbox(),(n=this.state.buttonElement)==null||n.focus({preventScroll:!0}))})}static new({id:t,__demoMode:n=!1}){return new e({id:t,dataRef:{current:{}},listboxState:+!n,options:[],searchQuery:``,activeOptionIndex:null,activationTrigger:1,buttonElement:null,optionsElement:null,pendingShouldSort:!1,pendingFocus:{focus:X.Nothing},frozenValue:!1,__demoMode:n,buttonPositionState:oc.Idle})}reduce(e,t){return G(t.type,yl,e,t)}},xl=(0,f.createContext)(null);function Sl(e){let t=(0,f.useContext)(xl);if(t===null){let t=Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Cl),t}return t}function Cl({id:e,__demoMode:t=!1}){let n=(0,f.useMemo)(()=>bl.new({id:e,__demoMode:t}),[]);return Ws(()=>n.dispose()),n}var wl=(0,f.createContext)(null);wl.displayName=`ListboxDataContext`;function Tl(e){let t=(0,f.useContext)(wl);if(t===null){let t=Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Tl),t}return t}var El=f.Fragment;function Dl(e,t){let n=(0,f.useId)(),r=xt(),{value:i,defaultValue:a,form:o,name:s,onChange:c,by:l,invalid:u=!1,disabled:d=r||!1,horizontal:p=!1,multiple:m=!1,__demoMode:h=!1,...g}=e,_=p?`horizontal`:`vertical`,v=gn(t),y=Rt(a),[b=m?[]:void 0,x]=Lt(i,c,y),S=Cl({id:n,__demoMode:h}),C=(0,f.useRef)({static:!1,hold:!1}),w=(0,f.useRef)(new Map),T=tr(l),E=(0,f.useCallback)(e=>G(D.mode,{[hl.Multi]:()=>b.some(t=>T(t,e)),[hl.Single]:()=>T(b,e)}),[b]),D=yt({value:b,disabled:d,invalid:u,mode:m?hl.Multi:hl.Single,orientation:_,onChange:x,compare:T,isSelected:E,optionsPropsRef:C,listRef:w});U(()=>{S.state.dataRef.current=D},[D]);let O=Y(S,e=>e.listboxState),k=Or.get(null),A=Y(k,(0,f.useCallback)(e=>k.selectors.isTop(e,n),[k,n])),[j,M]=Y(S,e=>[e.buttonElement,e.optionsElement]);si(A,[j,M],(e,t)=>{S.send({type:_l.CloseListbox}),Jr(t,qr.Loose)||(e.preventDefault(),j?.focus())});let N=yt({open:O===ml.Open,disabled:d,invalid:u,value:b}),[P,F]=En({inherit:!0}),I={ref:v},L=(0,f.useCallback)(()=>{if(y!==void 0)return x?.(y)},[x,y]),R=K();return f.default.createElement(F,{value:P,props:{htmlFor:j?.id},slot:{open:O===ml.Open,disabled:d}},f.default.createElement(Ds,null,f.default.createElement(xl.Provider,{value:S},f.default.createElement(wl.Provider,{value:D},f.default.createElement(zs,{value:G(O,{[ml.Open]:Ls.Open,[ml.Closed]:Ls.Closed})},s!=null&&b!=null&&f.default.createElement(Xt,{disabled:d,data:{[s]:b},form:o,onReset:L}),R({ourProps:I,theirProps:g,slot:N,defaultTag:El,name:`Listbox`}))))))}var Ol=`button`;function kl(e,t){let r=(0,f.useId)(),i=$t(),a=Tl(`Listbox.Button`),o=Sl(`Listbox.Button`),{id:s=i||`headlessui-listbox-button-${r}`,disabled:c=a.disabled||!1,autoFocus:l=!1,...u}=e,d=gn(t,Ss(),o.actions.setButtonElement),p=Cs(),[m,h,g]=Y(o,e=>[e.listboxState,e.buttonElement,e.optionsElement]);pi(m===ml.Open,{trigger:h,action:(0,f.useCallback)(e=>{if(h!=null&&h.contains(e.target))return ui.Ignore;let t=e.target.closest(`[role="option"]:not([data-disabled])`);return nn(t)?ui.Select(t):g!=null&&g.contains(e.target)?ui.Ignore:ui.Close},[h,g]),close:o.actions.closeListbox,select:o.actions.selectActiveOption});let _=W(e=>{switch(e.key){case J.Enter:Ht(e.currentTarget);break;case J.Space:case J.ArrowDown:e.preventDefault(),o.actions.openListbox({focus:a.value?X.Nothing:X.First});break;case J.ArrowUp:e.preventDefault(),o.actions.openListbox({focus:a.value?X.Nothing:X.Last});break}}),v=W(e=>{switch(e.key){case J.Space:e.preventDefault();break}}),y=ar(e=>{var t;o.state.listboxState===ml.Open?((0,n.flushSync)(()=>o.actions.closeListbox()),(t=o.state.buttonElement)==null||t.focus({preventScroll:!0})):(e.preventDefault(),o.actions.openListbox({focus:X.Nothing}))}),b=W(e=>e.preventDefault()),x=Tn([s]),S=yn(),{isFocusVisible:C,focusProps:w}=Ze({autoFocus:l}),{isHovered:T,hoverProps:E}=rt({isDisabled:c}),{pressed:D,pressProps:O}=vt({disabled:c}),k=yt({open:m===ml.Open,active:D||m===ml.Open,disabled:c,invalid:a.invalid,value:a.value,hover:T,focus:C,autofocus:l}),A=Y(o,e=>e.listboxState===ml.Open),j=At(p(),{ref:d,id:s,type:gi(e,h),"aria-haspopup":`listbox`,"aria-controls":g?.id,"aria-expanded":A,"aria-labelledby":x,"aria-describedby":S,disabled:c||void 0,autoFocus:l,onKeyDown:_,onKeyUp:v,onKeyPress:b},y,w,E,O);return K()({ourProps:j,theirProps:u,slot:k,defaultTag:Ol,name:`Listbox.Button`})}var Al=(0,f.createContext)(!1),jl=`div`,Ml=Ct.RenderStrategy|Ct.Static;function Nl(e,t){let r=(0,f.useId)(),{id:i=`headlessui-listbox-options-${r}`,anchor:a,portal:o=!1,modal:s=!0,transition:c=!1,...l}=e,u=xs(a),[d,p]=(0,f.useState)(null);u&&(o=!0);let m=Tl(`Listbox.Options`),h=Sl(`Listbox.Options`),[g,_,v,y]=Y(h,e=>[e.listboxState,e.buttonElement,e.optionsElement,e.__demoMode]),b=ci(_),x=ci(v),S=Rs(),[C,w]=ji(c,d,S===null?g===ml.Open:(S&Ls.Open)===Ls.Open);zr(C,_,h.actions.closeListbox),Ti(y?!1:s&&g===ml.Open,x),Rr(y?!1:s&&g===ml.Open,{allowed:(0,f.useCallback)(()=>[_,v],[_,v])});let T=Y(h,h.selectors.didButtonMove)?!1:C,E=Fs(Y(h,h.selectors.hasFrozenValue)&&!e.static,m.value),D=(0,f.useCallback)(e=>m.compare(E,e),[m.compare,E]),O=Y(h,e=>{var t;if(u==null||!((t=u?.to)!=null&&t.includes(`selection`)))return null;let n=e.options.findIndex(e=>D(e.dataRef.current.value));return n===-1&&(n=0),n}),[k,A]=Ts((()=>{if(u==null)return;if(O===null)return{...u,inner:void 0};let e=Array.from(m.listRef.current.values());return{...u,inner:{listRef:{current:e},index:O}}})()),j=ws(),M=gn(t,u?k:null,h.actions.setOptionsElement,p),N=mt();(0,f.useEffect)(()=>{let e=v;e&&g===ml.Open&&(dt(e)||e==null||e.focus({preventScroll:!0}))},[g,v]);let P=W(e=>{var t;switch(N.dispose(),e.key){case J.Space:if(h.state.searchQuery!==``)return e.preventDefault(),e.stopPropagation(),h.actions.search(e.key);case J.Enter:e.preventDefault(),e.stopPropagation(),h.actions.selectActiveOption();break;case G(m.orientation,{vertical:J.ArrowDown,horizontal:J.ArrowRight}):return e.preventDefault(),e.stopPropagation(),h.actions.goToOption({focus:X.Next});case G(m.orientation,{vertical:J.ArrowUp,horizontal:J.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),h.actions.goToOption({focus:X.Previous});case J.Home:case J.PageUp:return e.preventDefault(),e.stopPropagation(),h.actions.goToOption({focus:X.First});case J.End:case J.PageDown:return e.preventDefault(),e.stopPropagation(),h.actions.goToOption({focus:X.Last});case J.Escape:e.preventDefault(),e.stopPropagation(),(0,n.flushSync)(()=>h.actions.closeListbox()),(t=h.state.buttonElement)==null||t.focus({preventScroll:!0});return;case J.Tab:e.preventDefault(),e.stopPropagation(),(0,n.flushSync)(()=>h.actions.closeListbox()),$r(h.state.buttonElement,e.shiftKey?Hr.Previous:Hr.Next);break;default:e.key.length===1&&(h.actions.search(e.key),N.setTimeout(()=>h.actions.clearSearch(),350));break}}),F=Y(h,e=>e.buttonElement?.id),I=yt({open:g===ml.Open}),L=At(u?j():{},{id:i,ref:M,"aria-activedescendant":Y(h,h.selectors.activeDescendantId),"aria-multiselectable":m.mode===hl.Multi?!0:void 0,"aria-labelledby":F,"aria-orientation":m.orientation,onKeyDown:P,role:`listbox`,tabIndex:g===ml.Open?0:void 0,style:{...l.style,...A,"--button-width":rr(C,_,!0).width},...Ai(w)}),R=K(),z=(0,f.useMemo)(()=>m.mode===hl.Multi?m:{...m,isSelected:D},[m,D]);return f.default.createElement(ac,{enabled:o?e.static||C:!1,ownerDocument:b},f.default.createElement(wl.Provider,{value:z},R({ourProps:L,theirProps:l,slot:I,defaultTag:jl,features:Ml,visible:T,name:`Listbox.Options`})))}var Pl=`div`;function Fl(e,t){let n=(0,f.useId)(),{id:r=`headlessui-listbox-option-${n}`,disabled:i=!1,value:a,...o}=e,s=(0,f.useContext)(Al)===!0,c=Tl(`Listbox.Option`),l=Sl(`Listbox.Option`),u=Y(l,e=>l.selectors.isActive(e,r)),d=c.isSelected(a),p=(0,f.useRef)(null),m=ul(p),h=ht({disabled:i,value:a,domRef:p,get textValue(){return m()}}),g=gn(t,p,e=>{e?c.listRef.current.set(r,e):c.listRef.current.delete(r)}),_=Y(l,e=>l.selectors.shouldScrollIntoView(e,r));U(()=>{if(_)return pt().requestAnimationFrame(()=>{var e,t;(t=(e=p.current)?.scrollIntoView)==null||t.call(e,{block:`nearest`})})},[_,p]),U(()=>{if(!s)return l.actions.registerOption(r,h),()=>l.actions.unregisterOption(r)},[h,r,s]);let v=W(e=>{if(i)return e.preventDefault();l.actions.selectOption(a)}),y=W(()=>{if(i)return l.actions.goToOption({focus:X.Nothing});l.actions.goToOption({focus:X.Specific,id:r})}),b=Di(),x=W(e=>b.update(e)),S=W(e=>{b.wasMoved(e)&&(i||u&&l.state.activationTrigger===gl.Pointer||l.actions.goToOption({focus:X.Specific,id:r},gl.Pointer))}),C=W(e=>{b.wasMoved(e)&&(i||u&&l.state.activationTrigger===gl.Pointer&&l.actions.goToOption({focus:X.Nothing}))}),w=yt({active:u,focus:u,selected:d,disabled:i,selectedOption:d&&s}),T=s?{}:{id:r,ref:g,role:`option`,tabIndex:i===!0?void 0:-1,"aria-disabled":i===!0?!0:void 0,"aria-selected":d,disabled:void 0,onClick:v,onFocus:y,onPointerEnter:x,onMouseEnter:x,onPointerMove:S,onMouseMove:S,onPointerLeave:C,onMouseLeave:C},E=K();return!d&&s?null:E({ourProps:T,theirProps:o,slot:w,defaultTag:Pl,name:`Listbox.Option`})}var Il=f.Fragment;function Ll(e,t){let{options:n,placeholder:r,...i}=e,a={ref:gn(t)},o=Tl(`ListboxSelectedOption`),s=yt({}),c=o.value===void 0||o.value===null||o.mode===hl.Multi&&Array.isArray(o.value)&&o.value.length===0,l=K();return f.default.createElement(Al.Provider,{value:!0},l({ourProps:a,theirProps:{...i,children:f.default.createElement(f.default.Fragment,null,r&&c?r:n)},slot:s,defaultTag:Il,name:`ListboxSelectedOption`}))}var Rl=q(Dl),zl=q(kl),Bl=An,Vl=q(Nl),Hl=q(Fl),Ul=q(Ll),Wl=Object.assign(Rl,{Button:zl,Label:Bl,Options:Vl,Option:Hl,SelectedOption:Ul});function Gl({title:e,titleId:n,...r},i){return t.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:i,"aria-labelledby":n},r),e?t.createElement(`title`,{id:n},e):null,t.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`}))}var Kl=t.forwardRef(Gl),ql={select:`_select_fcnvh_1`,selectContainer:`_selectContainer_fcnvh_4`,selectButton:`_selectButton_fcnvh_7`,open:`_open_fcnvh_13`,selectValue:`_selectValue_fcnvh_16`,placeholder:`_placeholder_fcnvh_19`,seletIcon:`_seletIcon_fcnvh_22`,selectText:`_selectText_fcnvh_25`,chevronDownIconSpan:`_chevronDownIconSpan_fcnvh_28`,chevronDownIcon:`_chevronDownIcon_fcnvh_28`,leave:`_leave_fcnvh_35`,leaveFrom:`_leaveFrom_fcnvh_39`,leaveTo:`_leaveTo_fcnvh_43`,selectOptions:`_selectOptions_fcnvh_47`},Jl=({children:e,selected:t,onSelect:r,themeColor:i,placeholder:a})=>{let[o,s]=(0,f.useState)(!1),[c,l]=(0,f.useState)(!1),[u,d]=(0,f.useState)(!1),p=(0,f.useRef)(null),g=(0,f.useRef)(null),_=(0,f.useRef)(null),[y,b]=(0,f.useState)({left:0,top:0}),[x,S]=(0,f.useState)(!1),C=(0,f.useRef)(0),w=(0,f.useRef)(0),T=`#333333`,E=()=>{C.current=window.innerHeight,w.current=document.body.scrollHeight,s(!0)};(0,f.useEffect)(()=>(E(),window.addEventListener(`resize`,E),()=>{window.removeEventListener(`resize`,E)}),[]);let D=()=>w.current-(C.current+window.scrollY),O=()=>{if(p.current){let e=p.current.getBoundingClientRect();S(!1),setTimeout(()=>{let t=_?.current?.getBoundingClientRect(),n=D(),r=C.current-e.bottom;if(t){let i=t.height,a=e.top,o=i>=a+window.scrollY,s=i>=a&&(o||n>=i||r>=i)||a>=i&&r>=i?e.y+e.height:e.y-i;b({left:e.left,top:s??e.top}),S(!0)}},0)}};if((0,f.useEffect)(()=>(window.addEventListener(`scroll`,O),window.addEventListener(`resize`,O),()=>{window.removeEventListener(`scroll`,O),window.removeEventListener(`resize`,O)}),[]),i){i=h.convert3HexTo6(i);let e=m(i);(e===`dark`||e===`light`)&&(T=i===`#ffffff`?`#c8c8c8`:i)}let k=e=>{r(e)},A=()=>d(!0),j=()=>d(!1);return(0,v.jsx)(Wl,{value:t,onChange:k,children:({open:r})=>(r!==c&&(l(r),r?O():S(!1)),(0,v.jsxs)(`div`,{className:ql.select,children:[(0,v.jsx)(`div`,{className:ql.selectContainer,ref:p,children:(0,v.jsxs)(zl,{ref:g,"data-testid":`select-options`,onFocus:A,onBlur:j,className:`${ql.selectButton} ${r?ql.open:``}`,style:{borderBottomColor:i&&(u||r)?T:``},children:[t?(0,v.jsxs)(`span`,{className:ql.selectValue,children:[t.avatar&&(0,v.jsx)(`img`,{src:t.avatar,alt:``,className:ql.seletIcon}),(0,v.jsx)(`span`,{className:ql.selectText,children:t.label})]}):a&&(0,v.jsx)(`span`,{className:`${ql.selectValue} ${ql.placeholder}`,children:a}),(0,v.jsx)(`span`,{className:ql.chevronDownIconSpan,children:(0,v.jsx)(Kl,{className:ql.chevronDownIcon,"aria-hidden":`true`,"data-open":c?!0:void 0})})]})}),o&&(0,n.createPortal)(r&&(0,v.jsx)(`div`,{style:{position:`fixed`,inset:0,backgroundColor:`rgba(255,255,255,0)`,zIndex:1e3},children:(0,v.jsx)(`div`,{ref:_,style:{position:`absolute`,opacity:+!!x,width:p.current?.clientWidth??`auto`,left:y.left,top:y.top},children:e})}),document.body)]}))})},Yl=({children:e,setQuery:t})=>(0,v.jsx)(ol,{as:f.Fragment,leave:ql.leave,leaveFrom:ql.leaveFrom,leaveTo:ql.leaveTo,afterLeave:()=>t(``),children:(0,v.jsx)(Vl,{className:ql.selectOptions,children:e})}),Xl=(0,f.forwardRef)((e,t)=>(0,v.jsx)(Hl,{ref:t,className:e.className,value:e.value,disabled:e.disable,children:e.children}));Xl.displayName=`SelectOption`;var Zl={autocomplete:`_autocomplete_29ukn_1`,autocompleteContainer:`_autocompleteContainer_29ukn_4`,disable:`_disable_29ukn_7`,autocompleteInput:`_autocompleteInput_29ukn_16`,autocompleteButton:`_autocompleteButton_29ukn_34`,chevronDownIcon:`_chevronDownIcon_29ukn_44`,leave:`_leave_29ukn_57`,leaveFrom:`_leaveFrom_29ukn_61`,leaveTo:`_leaveTo_29ukn_65`,autocompleteOptions:`_autocompleteOptions_29ukn_69`},Ql=({children:e,selected:t,onSelect:r,setQuery:i=()=>{},disable:a,clearSearch:o=!1,themeColor:s})=>{let c=(0,f.useRef)(null),l=(0,f.useRef)(null),u=(0,f.useRef)(null),d=(0,f.useRef)(null),[p,g]=(0,f.useState)(!1),[_,y]=(0,f.useState)(!1),[b,x]=(0,f.useState)(!1),[S,C]=(0,f.useState)({top:0,left:0}),[w,T]=(0,f.useState)(!1),E=(0,f.useRef)(0),D=(0,f.useRef)(0),O={};(0,f.useEffect)(()=>{c.current&&t&&(c.current.value=t.label||``)},[t]),(0,f.useEffect)(()=>{E.current=window.innerHeight,D.current=document.body.scrollHeight,x(!0)},[]);let k=(0,f.useCallback)(()=>{if(u.current){let e=window.visualViewport,t=u.current.getBoundingClientRect();T(!1),setTimeout(()=>{let n=d?.current?.getBoundingClientRect(),r=t.left,i=t.y+t.height,a=window.innerHeight-t.bottom,o=document.body.scrollHeight-(window.innerHeight+window.scrollY);if(e&&(r=t.left+e.offsetLeft,i=t.top+t.height+e.offsetTop,a=e.height-(t.bottom-e.offsetTop),o=document.body.scrollHeight-(e.height+e.pageTop)),n){let s=n.height,c=t.top,l=s>=c+window.scrollY,u=s>=c&&(l||o>=s||a>=s)||c>=s&&a>=s?i:(e?t.top+e.offsetTop:t.y)-s;C({left:r,top:u??(e?t.top+e.offsetTop:t.top)}),T(!0)}},0)}},[]);(0,f.useEffect)(()=>(window.addEventListener(`scroll`,k),window.addEventListener(`resize`,k),()=>{window.removeEventListener(`scroll`,k),window.removeEventListener(`resize`,k)}),[]);let A=()=>{_!==void 0&&c.current&&(_?(c.current.dispatchEvent(new KeyboardEvent(`keydown`,{key:`Escape`,bubbles:!0})),g(!1)):(k(),g(!0),t&&(c.current.value=t.label||``),o&&(c.current.value=``,i(``)),c.current.dispatchEvent(new KeyboardEvent(`keydown`,{key:`ArrowDown`,bubbles:!0}))))},j=()=>{g(!0)},M=()=>{g(!1)};if(s){let e=m(s);s=h.convert3HexTo6(s);let t;t=s===`#ffffff`?`#c8c8c8`:p?s:`#333333`,(e===`dark`||e===`light`)&&(O={borderBottomColor:t})}return(0,v.jsx)(Hc,{value:t,onChange:r,disabled:a,children:({open:t})=>(t!==_&&(y(t),t?k():T(!1)),(0,v.jsxs)(`div`,{className:Zl.autocomplete,children:[(0,v.jsxs)(`div`,{ref:u,className:`${Zl.autocompleteContainer} ${a?Zl.disable:``}`,children:[(0,v.jsx)(Rc,{ref:c,"data-testid":`select-input`,className:Zl.autocompleteInput,displayValue:e=>e?.label||``,onChange:e=>{i(e.target.value)},onClick:A,onFocus:j,onBlur:M,style:{...O},placeholder:`Select your option`,autoComplete:`off`}),(0,v.jsx)(Lc,{className:Zl.autocompleteButton,"data-testid":`select-button`,ref:l,children:(0,v.jsx)(Kl,{className:`${Zl.chevronDownIcon} ${a?Zl.disable:``}`,"aria-hidden":`true`,"data-open":t?!0:void 0})})]}),b?(0,n.createPortal)((0,v.jsx)(v.Fragment,{children:t&&(0,v.jsx)(`div`,{style:{position:`fixed`,inset:0,backgroundColor:`rgba(255,255,255,0)`,zIndex:1e3},children:(0,v.jsx)(`div`,{ref:d,style:{position:`absolute`,opacity:+!!w,width:u.current?u.current.clientWidth:`auto`,left:S.left,top:S.top,zIndex:1e3},children:e})})}),document.body):null]}))})},$l=({children:e,setQuery:t})=>(0,v.jsx)(ol,{as:f.Fragment,leave:Zl.leave,leaveFrom:Zl.leaveFrom,leaveTo:Zl.leaveTo,afterLeave:()=>t(``),children:(0,v.jsx)(Bc,{className:Zl.autocompleteOptions,children:e})}),eu=(0,f.forwardRef)((e,t)=>(0,v.jsx)(Vc,{ref:t,className:e.className,value:e.value,disabled:e.disable,children:e.children}));eu.displayName=`AutoCompleteOption`;var tu={textInputWrapper:`_textInputWrapper_gym4n_1`,textInput:`_textInput_gym4n_1`},nu=f.default.memo((0,f.forwardRef)(({themeColor:e=``,style:t={},className:n=``,onFocus:r,onBlur:i,...a},o)=>{let[s,c]=(0,f.useState)(!1),l={},u=[tu.textInput,n].filter(Boolean).join(` `);return e=h.convert3HexTo6(e),l={borderBottomColor:s?e===`#ffffff`?`#c8c8c8`:e:``},(0,v.jsx)(`div`,{className:tu.textInputWrapper,children:(0,v.jsx)(`input`,{type:`text`,"data-testid":`textbox-input`,ref:o,className:u,onFocus:()=>{c(!0)},onBlur:()=>{c(!1)},style:{...l,...t},...a})})})),ru={phoneWrapper:`_phoneWrapper_dwcpz_1`,countryCode:`_countryCode_dwcpz_4`,phoneInputWrap:`_phoneInputWrap_dwcpz_11`,phoneInput:`_phoneInput_dwcpz_11`,serverError:`_serverError_dwcpz_17`,phonNumberList:`_phonNumberList_dwcpz_21`,active:`_active_dwcpz_30`,countryListText:`_countryListText_dwcpz_33`},iu={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[02-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]|3[23]|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|7[67])|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]|3[23]|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}|(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|47[35]|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|(?:2(?:657|9(?:54|66))|3(?:48[27]|7(?:55|77)|8(?:65|78)))[2-8]\\d{5}|(?:2(?:284|3(?:02|23)|477|622|920)|3(?:4(?:46|89|92)|541))[2-7]\\d{5}|(?:(?:11[1-8]|670)\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[25][4-6]|3[3-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|1[2-7]|3[4-6]|5[3-6]|7[2-6]|8[3-68])))\\d{6}|(?:2(?:2(?:62|81)|320|9(?:42|83))|3(?:329|4(?:62|7[16])|5(?:43|64)|7(?:18|5[17])))[2-6]\\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)|5(?:25|37|4[47]|71)|7(?:35|72)|825))[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[3-5]|8[26])|8(?:2[67]|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}|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(?:657|9(?:54|66))|3(?:48[27]|7(?:55|77)|8(?:65|78)))[2-8]\\d{5}|9(?:2(?:284|3(?:02|23)|477|622|920)|3(?:4(?:46|89|92)|541))[2-7]\\d{5}|(?:675\\d|9(?:11[1-8]\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[25][4-6]|3[3-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|1[2-7]|3[4-6]|5[3-6]|7[2-6]|8[3-68]))))\\d{6}|9(?:2(?:2(?:62|81)|320|9(?:42|83))|3(?:329|4(?:62|7[16])|5(?:43|64)|7(?:18|5[17])))[2-6]\\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)|5(?:25|37|4[47]|71)|7(?:35|72)|825))[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[3-5]|8[26])|8(?:2[67]|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`,[[`684(?:274|6(?:22|33|44|55|77|88|9[19]))\\d{4}`],[`684(?:2(?:48|5[2468]|7[246])|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]|3[23]|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(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]`,`(?:31|4)6|51|6(?:485|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)\\d{3,10}|648[34]\\d{3,9}|(?: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-7]|5[468])|7(?:2[1-8]|35|4[13478]|5[68]|6[16-8]|7[1-6]|9[45]))\\d{4,10}`],[`6(?:485|(?:5[0-3579]|6[013-9]|[7-9]\\d)\\d)\\d{3,9}`,[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,[[`(?:(?:241|349)0\\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])|[34]\\d\\d)|91(?:(?:[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}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}`,[9]],[`4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-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]|3[23]|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`,`[024-7]\\d{7}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[024-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-8]))\\d{4}`],[`(?:0[1-7]|4[4-6]|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|6[1-9]|7[125-9])\\d{6}`]]],BJ:[`229`,`00`,`(?:01\\d|8)\\d{7}`,[8,10],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`8`]],[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4 $5`,[`0`]]],0,0,0,0,0,0,[[`012\\d{7}`,[10]],[`01(?:2[5-9]|[4-69]\\d)\\d{6}`,[10]],0,0,0,0,[`81\\d{6}`,[8]],0,[`857[58]\\d{4}`,[8]]]],BL:[`590`,`00`,`7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}`,[9],0,`0`,0,0,0,0,0,[[`(?:59(?:0(?:2[7-9]|3[3-7]|5[12]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}`],[`(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}`],[`80[0-5]\\d{6}`],[`8[129]\\d{7}`],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]|3[23]|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)?`,`(?:[2-7]\\d\\d|8001)\\d{5}`,[8,9],[[`(\\d)(\\d{7})`,`$1 $2`,[`[23]|4[46]|50`]],[`(\\d{8})`,`$1`,[`[5-7]`]],[`(\\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]],[`(?:57|[67]\\d)\\d{6}`,[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-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}`,[8,9,10,11],[[`(\\d{4})(\\d{4})`,`$1-$2`,[`300|4(?:0[02]|37|86)`,`300|4(?:0(?:0|20)|370|864)`]],[`(\\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]],[`[59]00\\d{6,7}`,[9,10]],0,0,0,0,0,[`(?:30[03]\\d{3}|4(?:0(?:0\\d|20)|370|864))\\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]|3[23]|44|66|77|88)[2-9]\\d{6}`],0,[`242225\\d{4}`]]],BT:[`975`,`00`,`[178]\\d{7}|[2-8]\\d{6}`,[7,8],[[`(\\d)(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[2-6]|7[246]|8[2-4]`]],[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`1[67]|[78]`]]],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]|[78]7)\\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|9[03]))\\d{5}`,[8]],[`(?:0800|800\\d)\\d{6}`,[10]],[`90\\d{5}`,[7]],0,0,0,0,[`79(?:1(?:[0-2]\\d|3[0-8])|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|5[07]|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]|3[23]|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-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-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[016-9])\\d{7}`,[7,9]]]],CF:[`236`,`00`,`8776\\d{4}|(?:[27]\\d|61)\\d{6}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[26-8]`]]],0,0,0,0,0,0,[[`(?:2[12]|61)\\d{6}`],[`7[02-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{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`60|809`]],[`(\\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(?:10|[2-9])`]],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[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(?:(?:[24]\\d|50)\\d|3(?:[034679]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-389])|600)|646[59])|(?:600|80[1-9])\\d\\d|9(?:(?:10[0-2]|7[1-9]\\d)\\d|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]))|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]],[`2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:(?:[24]\\d|50)\\d|3(?:[034679]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-389])|600)|646[59])|80[1-8]\\d\\d|9(?:(?:10[0-2]|7[1-9]\\d)\\d|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]))|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]],[`(?: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|4[01]))\\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]|9[14]`]],[`(\\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(?:[18][1-9]|[24-7][2-9]))\\d{6}`,[8,10]],[`333301[0-5]\\d{3}|3333(?:00|2[5-9]|[3-9]\\d)\\d{4}|(?:3(?:(?:0[0-5]|1\\d|5[01]|70)\\d|2(?:[0-3]\\d|4[1-9])|3(?:00|3[0-24-9]))|9(?:101|408))\\d{6}`,[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-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-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]],[`7060\\d{5}|(?:60[1-8]|7(?:0[2-5]|19|[2379]\\d))\\d{6}`,[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]|3[13])`],`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(?:6[023]|7\\d)\\d{7,8}|15(?:[0-25-9]\\d\\d|3(?:10|33))\\d{6}`,[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]|3[23]|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}`],[`800(?:14|[2-9]\\d)\\d{5}|8[024]9[01]\\d{6}|8(?: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]|3[23]|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-3]\\d|4[013-689])\\d{6}`],[`5(?:4[0-29]|6[0-4])\\d{6}|(?:55|6\\d|7[7-9])\\d{7}`,[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-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[013-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,0,[[`528[89]\\d{5}`],[`(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[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}`],[`96906(?:09|10)\\d\\d|(?:590(?:10[0-2]|600)|97390\\d)\\d{3}|(?: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-57-9]\\d)\\d{7}`,[9],[[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[1-57-9]`],`0$1`]],`0`,0,0,0,0,0,[[`(?:11(?:[124]\\d\\d|3(?:[0-79]\\d|8[0-7])|5(?:[02-9]\\d|1[0-57-9])|6(?:[02-79]\\d|1[0-57-9]|8[0-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]|2[1-35-79]|3\\d|77|86|99)|(?:8[01]|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|180020`,0,0,0,[[`(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\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[59]|73|90)|63[68]|7(?:58|84)|800|938)\\d{4}`],[`473(?:4(?:0[2-79]|1[04-9]|2[0-5]|49|5[6-8])|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]|3[23]|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(?:1[09]|70)|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|1[12]|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-6])|4\\d\\d)|[23]555|4(?:4\\d\\d|555)|5(?:[0157-9]\\d\\d|200|333|4(?:44|55))|6[89]\\d\\d|7(?:(?:[0147-9]\\d|22)\\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`,`(?:694\\d|7093)\\d{5}|(?:59|[89]\\d)\\d{7}`,[9],[[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[5-7]|80[6-9]|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,[[`(?:59(?:4(?:[02-49]\\d|1[0-5]|5[6-9]|6[0-3]|80)|88\\d)|80[6-9]\\d\\d)\\d{4}`],[`(?:694(?:[0-249]\\d|3[0-8])|7093[0-3])\\d{4}`],[`80[0-5]\\d{6}`],[`8[129]\\d{7}`],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|180020`,`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{8}|800\\d{5,6}`,[8,9],[[`(\\d{3})(\\d{5})`,`$1 $2`,[`8`],`0$1`],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[2358]`],`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,6}`]]],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[0-389]\\d\\d)\\d{3}`],[`556\\d{4}|(?:[23679]\\d|4[015]|5[0-489]|8[4-7])\\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`,`7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}`,[9],[[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[5-79]|80[6-9]`],`0$1`],[`(\\d{3})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`8`],`0$1`]],`0`,0,0,0,0,0,[[`(?:59(?:0(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)|87\\d)|80[6-9]\\d\\d)\\d{4}`],[`(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}`],[`80[0-5]\\d{6}`],[`8[129]\\d{7}`],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[16-9]))\\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]|3[23]|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}`],[`(?:51[01]|6\\d\\d|7(?:[0-5]\\d|6[0-79]|70))\\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-5]))|58(?:0[1-9]|1[2-9]))\\d{4}`,[8]],[`(?:4(?:(?:09|24)[3-6]|44[0-35-9]|6(?:4[0-57-9]|6[0-6])|7(?:4[0-48]|6[0-5]))|5(?:25[3-7]|35[4-8]|73[0-6]|95[0-8])|6(?:26[013-8]|(?:66|78)[0-5])|70(?:7[1-8]|8[0-8])|84(?:4[0-2]|8[0-35-9])|9(?:29[013-9]|39[014-9]|59[0-467]|899))\\d{4}|(?:4(?:4[0-35-9]|6[0-357-9]|7[0-35])|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`,`[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}`,[7,8,9],[[`(\\d{2})(\\d{2})(\\d{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}`],[`6[01459]\\d{6}|6[01]\\d{5}`,[7,8]],[`7[45]\\d{6}`,[8]],0,[`62\\d{6,7}|72\\d{6}`,[8,9]]]],HT:[`509`,`00`,`[2-589]\\d{7}`,[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|5[568])\\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(?:0[0-3]|[16]0)|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[3-5]|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|9\\d))\\d{6}`,[8,10]],0,[`151\\d{8,9}`,[11,12]],[`1599\\d{6}`,[10]],0,[`7(?:38(?:[05]\\d|8[0138])|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|180020`,`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]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67)[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(?:(?: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)|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(?:3171|5[15][2-6]|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|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]|3[129]|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(?:[23569]|8[0-57-9])|8[1-6])|7(?:1(?:[013-8]|9[6-9])|3(?:17|2[0-49]|9[2-57])|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|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\\d|7(?:[23569]\\d|8[0-57-9])|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|3(?:2[0-49]|9[2-57])|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`,[`16|[6-9]`],`0$1`,1],[`(\\d{4})(\\d{2,4})(\\d{4})`,`$1 $2 $3`,[`18[06]`,`18[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)|6828[235-7]\\d)\\d{4}|(?:170[24]|280[13468]|4(?:20[24]|72[2-8])|552[1-7])\\d{6}|(?:271[0-689]|682[0-79]|782[0-6])[2-7]\\d{5}|(?:2(?:[02][2-79]|90)|3(?:23|80)|683|79[1-7])\\d{7}|(?: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[14-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]],[`(?:6(?:1279|828[01489])|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\d{5}|(?:160[01]|6(?:(?:12|[2-4]1|5[17]|6[13]|80)[0189]|7(?:1[0189]|86))|7(?:1(?:2[0189]|9[0-5])|3(?:2[5-8]|[34][017-9]|9[016-9])|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}|(?:731|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]\\d|7[02-8])\\d{5}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\\d|7(?:[23569]\\d|4[0189]|8[0-57-9])|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|3(?:2[0-49]|9[2-5])|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}|(?:6(?:[09]\\d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:[024]\\d|3[05-8]|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}`,[10]],[`000800\\d{7}|180(?: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(?:[02689]0\\d|121)|4(?:111|40\\d))\\d{4}`,[6,7,10]],[`9(?:(?:0[0-5]|[13]\\d|2[0-3])\\d\\d|9(?:[0-46]\\d\\d|5(?:10|5\\d)|8(?:[12]\\d|88)|9(?:[01359]\\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,11}|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`,[`[03]`]]],0,0,0,0,0,0,[[`0(?:669[0-79]\\d{1,6}|831\\d{2,8})|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[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}`],[`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|180020`,`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(?:[5-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}`],[`(?:6582(?:[0-4]\\d|95)|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]|3[23]|44|66|77|88)[2-9]\\d{6}`]]],JO:[`962`,`00`,`(?:(?:[2689]|7\\d)\\d|32|427|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`,[`[47]`],`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]],[`(?:427|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}|[25-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`,[`3|4(?:2[09]|7[01])|6[1-9]`,`3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]`],`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`,[`[25-9]`],`0$1`]],`0`,0,`(000[2569]\\d{4,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]],[`[6-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\\d|2[014]|30|4[0-5])|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]|3[23]|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(?:00|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]|4(?:1[2-6]|2[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]|3[23]|44|66|77|88)[2-9]\\d{6}`]]],KZ:[`7`,`810`,`8\\d{13}|[78]\\d{9}`,[10,14],0,`8`,0,0,0,0,`7`,[[`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`,[`3`],`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]],[`(?:20(?:[23579]\\d|8[78])|30[24]\\d)\\d{6}|30\\d{7}`,[9,10]]]],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-6]|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-6]|9[04-9])\\d{4}|(?:[14-69]\\d|2(?:[14-69]\\d|[78][1-9])|7[2-57]|8[02-9])\\d{5}`],[`(?:(?:3|81)\\d|7(?:[01]\\d|6[013-9]|8[7-9]|9[0-4]))\\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]|3[23]|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[024]|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\\d)\\d|6(?:[024-68]\\d|1[01]|3[7-9]|70))\\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`,`(?:[2457]\\d|33|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|7(?:6[01]|7\\d)|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`,[`20`]],[`(\\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]`]],[`(\\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`,[`20`]]],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(?:[26][18]|5[1568]|7[189]|81|9[128])\\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|78|90)\\d{6}`,[8],[[`(\\d{2})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[2679]|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{4})(\\d{5})`,`$1-$2`,[`892`],`0$1`],[`(\\d{2})(\\d{7})`,`$1-$2`,[`8(?:0[0-7]|9)`],`0$1`],[`(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4 $5`,[`[5-8]`],`0$1`]],`0`,0,0,0,0,`[5-8]`,[[`5(?:(?:18|4[0679]|5[03])\\d|2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-9])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9]))\\d{5}`],[`(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[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]|[67]\\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`,[`[67]`],`0$1`]],`0`,0,0,0,0,0,[[`(?:870|9[2-47-9]\\d)\\d{5}`,[8]],[`4(?:[46]\\d|5[1-9])\\d{5}|(?:3|[67]\\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`,`7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}`,[9],0,`0`,0,0,0,0,0,[[`(?:59(?:0(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}`],[`(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}`],[`80[0-5]\\d{6}`],[`8[129]\\d{7}`],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-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[0-3]|[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]|7[0-2]|83)|6)|2(?:2(?:00|8[34])|4(?:0\\d|22|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`,[`11|2[16]`],`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]|(?:3[2-8]|4[2-68]|5[1-4689])\\d)\\d{5,6}|7(?:0(?:[0-5]\\d|7[078]|80)|128)\\d{4}|[12]27\\d{6}|(?:11|2[16]|5[368])\\d{6}`],[`(?:87[01]|92[0139])\\d{5}|(?:5[05]|6[069]|7[28]|8[0135689]|9[013-9])\\d{6}`,[8]],0,0,0,0,0,0,[`712[0-79]\\d{4}|7(?:1[013-9]|[5-79]\\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]|3[23]|44|66|77|88)[2-9]\\d{6}`]]],MQ:[`596`,`00`,`7091\\d{5}|(?:[56]9|[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,[[`(?:59(?:6(?:[03-7]\\d|1[05]|2[7-9]|8[0-39]|9[04-9])|89\\d)|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]|3[23]|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-8])|4(?:[013568]\\d|2[0-24-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-7]|3[013]))\\d{5}`,[8]],[`802\\d{7}|80[0-2]\\d{4}`,[7,10]],[`30\\d{5}`,[7]],0,0,0,[`219\\d{4}`,[7]],[`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{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[1-37-9]`],`0$1`]],`0`,0,0,0,0,0,[[`1[2-9]\\d{5}`,[7]],[`111\\d{6}|(?:2[12]|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,[[`(?: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-36-9]|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}`],[`(?: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-36-9]|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,[[`427[01]\\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}|9\\d{7,8})|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-79]|6[02-4]|8[02-5]))|(?:[26]\\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`,`(?:20|9\\d)\\d{8}|[78]\\d{9,13}`,[10,11,12,13,14],[[`(\\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])\\d{6}`,[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}`],0,0,0,[`700\\d{7,11}`]]],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-46-9]|7[0-8])\\d{6}`,[8]],[`[49]\\d{7}`,[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[0-24-6]|8[0-24-68])\\d{7}`,[10]],[`1(?:66001|800\\d\\d)\\d{5}`,[11]]]],NR:[`674`,`00`,`(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}`,[7],[[`(\\d{3})(\\d{4})`,`$1 $2`,[`[24-9]`]]],0,0,0,0,0,0,[[`444\\d{4}`],[`(?:222|55[3-9]|666|777|8\\d\\d|999)\\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[124-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[0479]|2[37]|3[0137]|4[147]|5[05]|6[058]|7[0167]|8[2358]|9[1389])|2(?:[0235-79]\\d|1[0-7]|4[013-9]|8[02-9])|3(?:[0147-9]\\d|[25][0-5]|33|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[4-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-48])\\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`,[`30|(?: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`,`30|(?: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,[[`(?:30|47\\d\\d)\\d{5}|(?: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]],[`21(?:1[013-5]|2\\d|3[1-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`,`[78]\\d{8}|[2-9]\\d{5}`,[6,9],[[`(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3`,[`[2-9]`],`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,[[`80[6-9]\\d{6}|(?:[236-9]\\d|4[1-35-9]|5[0-47-9])\\d{4}`],[`708(?:4[0-5]|5[0-6])\\d{4}|(?:[236-9]\\d|4[02-489]|5[02-9])\\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]|3[23]|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|89(?:00|88|99))\\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`,`[36-8]\\d{5,8}|4\\d{6,8}|59\\d{6}|9\\d{5,10}|(?:2\\d|5[0-8])\\d{6,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`,[`3[289]|4[246-8]|61|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,[[`(?:3[289]|4[246-8]|61|7[1-3]|8[1-36])\\d{5,7}|(?:2(?:[14-68]\\d|2[4-68]|7[15]|9[1-5])|3(?:18|3[167]|4[2357]|51|[67]\\d)|4(?:1\\d|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,[`[245]0\\d{6,7}|[36-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[136]|8`]],[`(\\d{4})(\\d{4})`,`$1 $2`,[`[3-7]`]]],0,0,0,0,0,0,[[`4(?:(?:[014]\\d\\d|999)\\d|2022)\\d{3}`,[8]],[`[35-7]\\d{7}`,[8]],[`800\\d{4}|(?:0080[01]|800)\\d{6}`,[7,9,11]],0,0,0,0,[`2[136]\\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,[[`2631[0-6]\\d{4}|26(?:2\\d|30|88)\\d{5}`],[`(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|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,`[3489]`,[[`(?:3(?:0[12]|36|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-7]|6[0-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`,`(?:[15]\\d|800|92)\\d{7}`,[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{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[0-8]\\d{5}|5(?:[013-689]\\d|7[0-8])\\d{6}`,[9]],[`800\\d{7}`,[10]],[`925\\d{6}`,[9]],0,0,0,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]],[`80[1-9]\\d{5}|(?:8[1-9]|9[0-8])\\d{6}`,[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[013]|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[013]|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]],[`[49]\\d{7}`,[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\\d|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(?:[015-8]\\d|21|90)\\d{6}`],[`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{2})(\\d{5,7})`,`$1 $2`,[`1|28|9[2-9]`]],[`(\\d)(\\d{7})`,`$1 $2`,[`[267]|904`]],[`(\\d{2})(\\d{3})(\\d{4})`,`$1 $2 $3`,[`[346-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[0-35-9]|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]|[6-9]\\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-9]`]]],0,0,0,0,0,0,[[`(?:2[1-3]|3[0-7]|4\\d|5[2-578])\\d{4}`,[6]],[`(?:6[08]|7[124-7]|8[1-9])\\d{5}`,[7]],[`80\\d{5}`,[7]],[`90\\d{5}`,[7]],0,0,0,0,[`(?:56|91\\d)\\d{4}`]]],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`,`[25-7]\\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`,[`[25-7]`]],[`(\\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]],[`[5-7]\\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[39]|9[056])\\d{4}`],[`7215(?:1[02]|2\\d|5[034679]|8[0-24-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]|3[23]|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-9])\\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[5-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]|3[23]|44|66|77|88)[2-9]\\d{6}`],0,0,0,[`649(?:71[01]|966)\\d{4}`]]],TD:[`235`,`00|16`,`(?:22|[3689]\\d|77)\\d{6}`,[8],[[`(\\d{2})(\\d{2})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`[236-9]`]]],0,0,0,0,0,0,[[`22(?:[37-9]0|5[0-5]|6[89])\\d{4}`],[`(?:3[01]|[69]\\d|77|8[5-7])\\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-289]|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]],[`(?:(?:14|[89]\\d)\\d\\d|6(?:[1-6]\\d\\d|7(?:1[0-8]|2[4-7]|3[1-6])))\\d{5}`,[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|66)\\d{7}`,[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`,[`\\d`]]],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]|3[08]|40|5[05]|66|7[0157-9]|8[07-9])\\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-79]`],`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(?:1[26]|[28][2468]|[3-5][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(?:[03-5]\\d|1[06]|24|6[24]|7[245]|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}`],[`868800\\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]|3[23]|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{3})(\\d{5})`,`$1 $2`,[`826`],`0$1`],[`(\\d{3})(\\d{2})(\\d{3})`,`$1 $2 $3`,[`83`],`0$1`],[`(\\d{2})(\\d{2})(\\d{4})`,`$1 $2 $3`,[`82`],`0$1`],[`(\\d{2})(\\d{3})(\\d{3,4})`,`$1 $2 $3`,[`[25]0|37|49|8[09]`],`0$1`],[`(\\d)(\\d{3,4})(\\d{4})`,`$1 $2 $3`,[`[23568]|4(?:0[02-48]|[1-478])|7[1-9]`,`[23568]|4(?:0[2-48]|[1-478])|(?: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[1-35-9]|7[013-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}`],[`7280\\d{5}|7(?:[014-8]\\d|2[01467]|3[016]|9[0-589])\\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,[[`(?:274[27]|(?:472|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-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|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-57-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-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-2478]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|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-3589]|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]|3[23]|44|66|77|88)[2-9]\\d{6}`]]],UY:[`598`,`0(?:0|1[3-9]\\d)`,`0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}`,[4,5,6,7,8,9,10,11,12,13],[[`(\\d{4,5})`,`$1`,[`21`]],[`(\\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}`,[6,7,8,9,10,11,12,13]],[`90[0-8]\\d{4}`,[7]],0,0,[`21\\d{2,3}`,[4,5]]],`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])|[168]\\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[078]|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}|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]|3[23]|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]|3[23]|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]|3[23]|44|66|77|88)[2-9]\\d{6}`]]],VN:[`84`,`00`,`[12]\\d{9}|[135-9]\\d{8}|[16]\\d{6,7}|7\\d{6}`,[7,8,9,10],[[`(\\d{4})(\\d{4,6})`,`$1 $2`,[`1(?:2[02]|[89])`],0,1],[`(\\d{2})(\\d{3})(\\d{2})(\\d{2})`,`$1 $2 $3 $4`,[`1[26]|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]],[`121[0-3]\\d{5}|(?:160|(?:3\\d|7[06-9])\\d|5(?:[1689]\\d|2[238]|59)|8(?:[1-8]\\d|9[6-9])|9(?:[0-8]\\d|9[013-9]))\\d{6}`,[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\\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[0-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-8]|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`,`(?:639\\d|7093)\\d{5}|(?:26|80|9\\d)\\d{7}`,[9],0,`0`,0,0,0,0,0,[[`26(?:89\\d|9(?: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,[[`(?: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)|(?:50[0-2]|[67]\\d\\d)\\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|[579]\\d|63)\\d{7}`,[9],[[`(\\d{3})(\\d{3})(\\d{3})`,`$1 $2 $3`,[`[28]`],`0$1`],[`(\\d{2})(\\d{7})`,`$1 $2`,[`[579]`],`0$1`]],`0`,0,0,0,0,0,[[`21[1-8]\\d{6}`],[`(?:[59][5-8]|7[5-9])\\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|5[12]`]],[`(\\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})|5(?:0\\d{3}|2[0-2]))\\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}`]]]}},au=l((e=>{var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case l:case u:case i:case o:case a:case f:return e;default:switch(e&&=e.$$typeof,e){case c:case d:case h:case m:case s:return e;default:return t}}case r:return t}}}function x(e){return b(e)===u}e.AsyncMode=l,e.ConcurrentMode=u,e.ContextConsumer=c,e.ContextProvider=s,e.Element=n,e.ForwardRef=d,e.Fragment=i,e.Lazy=h,e.Memo=m,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(e){return x(e)||b(e)===l},e.isConcurrentMode=x,e.isContextConsumer=function(e){return b(e)===c},e.isContextProvider=function(e){return b(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return b(e)===d},e.isFragment=function(e){return b(e)===i},e.isLazy=function(e){return b(e)===h},e.isMemo=function(e){return b(e)===m},e.isPortal=function(e){return b(e)===r},e.isProfiler=function(e){return b(e)===o},e.isStrictMode=function(e){return b(e)===a},e.isSuspense=function(e){return b(e)===f},e.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},e.typeOf=b})),ou=l((e=>{process.env.NODE_ENV!==`production`&&(function(){"use strict";var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)}function x(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:var p=e.type;switch(p){case l:case u:case i:case o:case a:case f:return p;default:var g=p&&p.$$typeof;switch(g){case c:case d:case h:case m:case s:return g;default:return t}}case r:return t}}}var S=l,C=u,w=c,T=s,E=n,D=d,O=i,k=h,A=m,j=r,M=o,N=a,P=f,F=!1;function I(e){return F||(F=!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.`)),L(e)||x(e)===l}function L(e){return x(e)===u}function R(e){return x(e)===c}function z(e){return x(e)===s}function B(e){return typeof e==`object`&&!!e&&e.$$typeof===n}function ee(e){return x(e)===d}function te(e){return x(e)===i}function ne(e){return x(e)===h}function re(e){return x(e)===m}function ie(e){return x(e)===r}function V(e){return x(e)===o}function H(e){return x(e)===a}function ae(e){return x(e)===f}e.AsyncMode=S,e.ConcurrentMode=C,e.ContextConsumer=w,e.ContextProvider=T,e.Element=E,e.ForwardRef=D,e.Fragment=O,e.Lazy=k,e.Memo=A,e.Portal=j,e.Profiler=M,e.StrictMode=N,e.Suspense=P,e.isAsyncMode=I,e.isConcurrentMode=L,e.isContextConsumer=R,e.isContextProvider=z,e.isElement=B,e.isForwardRef=ee,e.isFragment=te,e.isLazy=ne,e.isMemo=re,e.isPortal=ie,e.isProfiler=V,e.isStrictMode=H,e.isSuspense=ae,e.isValidElementType=b,e.typeOf=x})()})),su=l(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=au():t.exports=ou()})),cu=l(((e,t)=>{var n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(e==null)throw TypeError(`Object.assign cannot be called with null or undefined`);return Object(e)}function o(){try{if(!Object.assign)return!1;var e=new String(`abc`);if(e[5]=`de`,Object.getOwnPropertyNames(e)[0]===`5`)return!1;for(var t={},n=0;n<10;n++)t[`_`+String.fromCharCode(n)]=n;if(Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(``)!==`0123456789`)return!1;var r={};return`abcdefghijklmnopqrst`.split(``).forEach(function(e){r[e]=e}),Object.keys(Object.assign({},r)).join(``)===`abcdefghijklmnopqrst`}catch{return!1}}t.exports=o()?Object.assign:function(e,t){for(var o,s=a(e),c,l=1;l<arguments.length;l++){for(var u in o=Object(arguments[l]),o)r.call(o,u)&&(s[u]=o[u]);if(n){c=n(o);for(var d=0;d<c.length;d++)i.call(o,c[d])&&(s[c[d]]=o[c[d]])}}return s}})),lu=l(((e,t)=>{t.exports=`SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED`})),uu=l(((e,t)=>{t.exports=Function.call.bind(Object.prototype.hasOwnProperty)})),du=l(((e,t)=>{var n=function(){};if(process.env.NODE_ENV!==`production`){var r=lu(),i={},a=uu();n=function(e){var t=`Warning: `+e;typeof console<`u`&&console.error(t);try{throw Error(t)}catch{}}}function o(e,t,o,s,c){if(process.env.NODE_ENV!==`production`){for(var l in e)if(a(e,l)){var u;try{if(typeof e[l]!=`function`){var d=Error((s||`React class`)+`: `+o+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name=`Invariant Violation`,d}u=e[l](t,l,s,o,null,r)}catch(e){u=e}if(u&&!(u instanceof Error)&&n((s||`React class`)+`: type specification of `+o+" `"+l+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+`. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).`),u instanceof Error&&!(u.message in i)){i[u.message]=!0;var f=c?c():``;n(`Failed `+o+` type: `+u.message+(f??``))}}}}o.resetWarningCache=function(){process.env.NODE_ENV!==`production`&&(i={})},t.exports=o})),fu=l(((e,t)=>{var n=su(),r=cu(),i=lu(),a=uu(),o=du(),s=function(){};process.env.NODE_ENV!==`production`&&(s=function(e){var t=`Warning: `+e;typeof console<`u`&&console.error(t);try{throw Error(t)}catch{}});function c(){return null}t.exports=function(e,t){var l=typeof Symbol==`function`&&Symbol.iterator,u=`@@iterator`;function d(e){var t=e&&(l&&e[l]||e[u]);if(typeof t==`function`)return t}var f=`<<anonymous>>`,p={array:_(`array`),bigint:_(`bigint`),bool:_(`boolean`),func:_(`function`),number:_(`number`),object:_(`object`),string:_(`string`),symbol:_(`symbol`),any:v(),arrayOf:y,element:b(),elementType:x(),instanceOf:S,node:E(),objectOf:w,oneOf:C,oneOfType:T,shape:O,exact:k};function m(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}function h(e,t){this.message=e,this.data=t&&typeof t==`object`?t:{},this.stack=``}h.prototype=Error.prototype;function g(e){if(process.env.NODE_ENV!==`production`)var n={},r=0;function a(a,o,c,l,u,d,p){if(l||=f,d||=c,p!==i){if(t){var m=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 m.name=`Invariant Violation`,m}else if(process.env.NODE_ENV!==`production`&&typeof console<`u`){var g=l+`:`+c;!n[g]&&r<3&&(s("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+l+"`. 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."),n[g]=!0,r++)}}return o[c]==null?a?o[c]===null?new h(`The `+u+" `"+d+"` is marked as required "+("in `"+l+"`, but its value is `null`.")):new h(`The `+u+" `"+d+"` is marked as required in "+("`"+l+"`, but its value is `undefined`.")):null:e(o,c,l,u,d)}var o=a.bind(null,!1);return o.isRequired=a.bind(null,!0),o}function _(e){function t(t,n,r,i,a,o){var s=t[n];if(M(s)!==e){var c=N(s);return new h(`Invalid `+i+" `"+a+"` of type "+("`"+c+"` supplied to `"+r+"`, expected ")+("`"+e+"`."),{expectedType:e})}return null}return g(t)}function v(){return g(c)}function y(e){function t(t,n,r,a,o){if(typeof e!=`function`)return new h("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s)){var c=M(s);return new h(`Invalid `+a+" `"+o+"` of type "+("`"+c+"` supplied to `"+r+"`, expected an array."))}for(var l=0;l<s.length;l++){var u=e(s,l,r,a,o+`[`+l+`]`,i);if(u instanceof Error)return u}return null}return g(t)}function b(){function t(t,n,r,i,a){var o=t[n];if(!e(o)){var s=M(o);return new h(`Invalid `+i+" `"+a+"` of type "+("`"+s+"` supplied to `"+r+"`, expected a single ReactElement."))}return null}return g(t)}function x(){function e(e,t,r,i,a){var o=e[t];if(!n.isValidElementType(o)){var s=M(o);return new h(`Invalid `+i+" `"+a+"` of type "+("`"+s+"` supplied to `"+r+"`, expected a single ReactElement type."))}return null}return g(e)}function S(e){function t(t,n,r,i,a){if(!(t[n]instanceof e)){var o=e.name||f,s=F(t[n]);return new h(`Invalid `+i+" `"+a+"` of type "+("`"+s+"` supplied to `"+r+"`, expected ")+("instance of `"+o+"`."))}return null}return g(t)}function C(e){if(!Array.isArray(e))return process.env.NODE_ENV!==`production`&&(arguments.length>1?s(`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]).`):s(`Invalid argument supplied to oneOf, expected an array.`)),c;function t(t,n,r,i,a){for(var o=t[n],s=0;s<e.length;s++)if(m(o,e[s]))return null;var c=JSON.stringify(e,function(e,t){return N(t)===`symbol`?String(t):t});return new h(`Invalid `+i+" `"+a+"` of value `"+String(o)+"` "+("supplied to `"+r+"`, expected one of "+c+`.`))}return g(t)}function w(e){function t(t,n,r,o,s){if(typeof e!=`function`)return new h("Property `"+s+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var c=t[n],l=M(c);if(l!==`object`)return new h(`Invalid `+o+" `"+s+"` of type "+("`"+l+"` supplied to `"+r+"`, expected an object."));for(var u in c)if(a(c,u)){var d=e(c,u,r,o,s+`.`+u,i);if(d instanceof Error)return d}return null}return g(t)}function T(e){if(!Array.isArray(e))return process.env.NODE_ENV!==`production`&&s(`Invalid argument supplied to oneOfType, expected an instance of array.`),c;for(var t=0;t<e.length;t++){var n=e[t];if(typeof n!=`function`)return s(`Invalid argument supplied to oneOfType. Expected an array of check functions, but received `+P(n)+` at index `+t+`.`),c}function r(t,n,r,o,s){for(var c=[],l=0;l<e.length;l++){var u=e[l],d=u(t,n,r,o,s,i);if(d==null)return null;d.data&&a(d.data,`expectedType`)&&c.push(d.data.expectedType)}var f=c.length>0?`, expected one of type [`+c.join(`, `)+`]`:``;return new h(`Invalid `+o+" `"+s+"` supplied to "+("`"+r+"`"+f+`.`))}return g(r)}function E(){function e(e,t,n,r,i){return A(e[t])?null:new h(`Invalid `+r+" `"+i+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return g(e)}function D(e,t,n,r,i){return new h((e||`React class`)+`: `+t+" type `"+n+`.`+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+i+"`.")}function O(e){function t(t,n,r,a,o){var s=t[n],c=M(s);if(c!==`object`)return new h(`Invalid `+a+" `"+o+"` of type `"+c+"` "+("supplied to `"+r+"`, expected `object`."));for(var l in e){var u=e[l];if(typeof u!=`function`)return D(r,a,o,l,N(u));var d=u(s,l,r,a,o+`.`+l,i);if(d)return d}return null}return g(t)}function k(e){function t(t,n,o,s,c){var l=t[n],u=M(l);if(u!==`object`)return new h(`Invalid `+s+" `"+c+"` of type `"+u+"` "+("supplied to `"+o+"`, expected `object`."));for(var d in r({},t[n],e)){var f=e[d];if(a(e,d)&&typeof f!=`function`)return D(o,s,c,d,N(f));if(!f)return new h(`Invalid `+s+" `"+c+"` key `"+d+"` supplied to `"+o+`\`.
|
|
15
|
+
Bad object: `+JSON.stringify(t[n],null,` `)+`
|
|
16
|
+
Valid keys: `+JSON.stringify(Object.keys(e),null,` `));var p=f(l,d,o,s,c+`.`+d,i);if(p)return p}return null}return g(t)}function A(t){switch(typeof t){case`number`:case`string`:case`undefined`:return!0;case`boolean`:return!t;case`object`:if(Array.isArray(t))return t.every(A);if(t===null||e(t))return!0;var n=d(t);if(n){var r=n.call(t),i;if(n!==t.entries){for(;!(i=r.next()).done;)if(!A(i.value))return!1}else for(;!(i=r.next()).done;){var a=i.value;if(a&&!A(a[1]))return!1}}else return!1;return!0;default:return!1}}function j(e,t){return e===`symbol`?!0:t?t[`@@toStringTag`]===`Symbol`||typeof Symbol==`function`&&t instanceof Symbol:!1}function M(e){var t=typeof e;return Array.isArray(e)?`array`:e instanceof RegExp?`object`:j(t,e)?`symbol`:t}function N(e){if(e==null)return``+e;var t=M(e);if(t===`object`){if(e instanceof Date)return`date`;if(e instanceof RegExp)return`regexp`}return t}function P(e){var t=N(e);switch(t){case`array`:case`object`:return`an `+t;case`boolean`:case`date`:case`regexp`:return`a `+t;default:return t}}function F(e){return!e.constructor||!e.constructor.name?f:e.constructor.name}return p.checkPropTypes=o,p.resetWarningCache=o.resetWarningCache,p.PropTypes=p,p}})),pu=l(((e,t)=>{var n=lu();function r(){}function i(){}i.resetWarningCache=r,t.exports=function(){function e(e,t,r,i,a,o){if(o!==n){var s=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 s.name=`Invariant Violation`,s}}e.isRequired=e;function t(){return e}var a={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return a.PropTypes=a,a}})),mu=l(((e,t)=>{if(process.env.NODE_ENV!==`production`){var n=su();t.exports=fu()(n.isElement,!0)}else t.exports=pu()()})),hu=l(((e,t)=>{(function(){"use strict";var e={}.hasOwnProperty;function n(){for(var e=``,t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=i(e,r(n)))}return e}function r(t){if(typeof t==`string`||typeof t==`number`)return t;if(typeof t!=`object`)return``;if(Array.isArray(t))return n.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes(`[native code]`))return t.toString();var r=``;for(var a in t)e.call(t,a)&&t[a]&&(r=i(r,a));return r}function i(e,t){return t?e?e+` `+t:e+t:e}t!==void 0&&t.exports?(n.default=n,t.exports=n):typeof define==`function`&&typeof define.amd==`object`&&define.amd?define(`classnames`,[],function(){return n}):window.classNames=n})()}));function gu(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 _u(e,t,n){for(var r={},i=``,a=0,o=0;o<e.length;){var s=n(e[o],i,r);s!==void 0&&(i+=s,t!==void 0&&(t===o?a=i.length-1:t>o&&(a=i.length))),o++}return t===void 0&&(a=i.length),{value:i,caret:a}}function vu(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=yu(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 TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
17
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yu(e,t){if(e){if(typeof e==`string`)return bu(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 bu(e,t)}}function bu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function xu(e,t){for(var n=0,r=vu(t.split(``)),i;!(i=r()).done;)i.value===e&&n++;return n}function Su(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=xu(`(`,e)-xu(`)`,e);a>0&&i<t.length;)e+=t[i].replace(n,r),t[i]===`)`&&a--,i++;return e}function Cu(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=wu(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 TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
18
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function wu(e,t){if(e){if(typeof e==`string`)return Tu(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 Tu(e,t)}}function Tu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Eu(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(e){return{text:e}};var r=xu(t,e);return function(i){if(!i)return{text:``,template:e};for(var a=0,o=``,s=Cu(e.split(``)),c;!(c=s()).done;){var l=c.value;if(l!==t){o+=l;continue}if(o+=i[a],a++,a===i.length&&i.length<r)break}return n&&(o=Su(o,e)),{text:o,template:e}}}function Du(e,t,n){typeof n==`string`&&(n=Eu(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 o=0,s=!1,c=-1;o<i.length&&o<a.length;){if(i[o]!==a[o]){if(t===0){s=!0,t=o;break}c=o,t--}o++}s||(t=c+1)}return{text:i,caret:t}}function Ou(e){return e.hasAttribute(`readonly`)}function ku(e){if(e.selectionStart!==e.selectionEnd)return{start:e.selectionStart,end:e.selectionEnd}}var Au={Backspace:8,Delete:46};function ju(e){switch(e.keyCode){case Au.Backspace:return`Backspace`;case Au.Delete:return`Delete`}}function Mu(e){return e.selectionStart}function Nu(e,t){t!==void 0&&(Pu()?setTimeout(function(){return e.setSelectionRange(t,t)},0):e.setSelectionRange(t,t))}function Pu(){if(typeof navigator<`u`)return Fu.test(navigator.userAgent)}var Fu=/Android/i;function Iu(e,t,n,r,i){zu(t,n,r,void 0,i)}function Lu(e,t,n,r,i){if(!Ou(t)){var a=ju(e);switch(a){case`Delete`:case`Backspace`:e.preventDefault();var o=ku(t);return o?(Ru(t,o),zu(t,n,r,void 0,i)):zu(t,n,r,a,i);default:}}}function Ru(e,t){var n=e.value;n=n.slice(0,t.start)+n.slice(t.end),e.value=n,Nu(e,t.start)}function zu(e,t,n,r,i){var a=_u(e.value,Mu(e),t),o=a.value,s=a.caret;if(r){var c=gu(o,s,r);o=c.value,s=c.caret}var l=Du(o,s,n),u=l.text;s=l.caret,e.value=u,Nu(e,s),i&&i(o)}var Bu=[`ref`,`parse`,`format`,`value`,`defaultValue`,`controlled`,`onChange`,`onKeyDown`];function Vu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Hu(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Vu(Object(n),!0).forEach(function(t){Uu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vu(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Uu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wu(e,t){if(e==null)return{};var n=Gu(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 Gu(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 Ku(e){var t=e.ref,n=e.parse,r=e.format,i=e.value,a=e.defaultValue,o=e.controlled,s=o===void 0?!0:o,c=e.onChange,l=e.onKeyDown,u=Wu(e,Bu),d=(0,f.useRef)(),p=(0,f.useCallback)(function(e){d.current=e,t&&(typeof t==`function`?t(e):t.current=e)},[t]),m=(0,f.useCallback)(function(e){return Iu(e,d.current,n,r,c)},[d,n,r,c]),h=(0,f.useCallback)(function(e){if(l&&l(e),!e.defaultPrevented)return Lu(e,d.current,n,r,c)},[d,n,r,c,l]),g=Hu(Hu({},u),{},{ref:p,onChange:m,onKeyDown:h});return s?Hu(Hu({},g),{},{value:r(qu(i)?``:i).text}):Hu(Hu({},g),{},{defaultValue:r(qu(a)?``:a).text})}function qu(e){return e==null}var Q=d(mu(),1),Ju=[`inputComponent`,`parse`,`format`,`value`,`defaultValue`,`onChange`,`controlled`,`onKeyDown`,`type`];function Yu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Xu(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Yu(Object(n),!0).forEach(function(t){Zu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yu(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Zu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qu(e,t){if(e==null)return{};var n=$u(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 $u(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 ed(e,t){var n=e.inputComponent,r=n===void 0?`input`:n,i=e.parse,a=e.format,o=e.value,s=e.defaultValue,c=e.onChange,l=e.controlled,u=e.onKeyDown,d=e.type,p=d===void 0?`text`:d,m=Qu(e,Ju),h=Ku(Xu({ref:t,parse:i,format:a,value:o,defaultValue:s,onChange:c,controlled:l,onKeyDown:u,type:p},m));return f.default.createElement(r,h)}ed=f.default.forwardRef(ed),ed.propTypes={parse:Q.default.func.isRequired,format:Q.default.func.isRequired,inputComponent:Q.default.elementType,type:Q.default.string,value:Q.default.string,defaultValue:Q.default.string,onChange:Q.default.func,controlled:Q.default.bool,onKeyDown:Q.default.func,onCut:Q.default.func,onPaste:Q.default.func};var td=ed;function nd(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]),o=Number(r[i]);if(a>o)return 1;if(o>a)return-1;if(!isNaN(a)&&isNaN(o))return 1;if(isNaN(a)&&!isNaN(o))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 rd={}.constructor;function id(e){return e!=null&&e.constructor===rd}var ad=/^\d+$/;function od(e){return ad.test(e)}function sd(e){"@babel/helpers - typeof";return sd=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},sd(e)}function cd(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function ld(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,dd(r.key),r)}}function ud(e,t,n){return t&&ld(e.prototype,t),n&&ld(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function dd(e){var t=fd(e,`string`);return sd(t)==`symbol`?t:t+``}function fd(e,t){if(sd(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(sd(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var pd=`1.2.0`,md=`1.7.35`,hd=` ext. `,$=function(){function e(t){cd(this,e),xd(t),this.metadata=t,Td.call(this,t)}return ud(e,[{key:`getCountries`,value:function(){return Object.keys(this.metadata.countries).filter(function(e){return e!==`001`})}},{key:`getCountryMetadata`,value:function(e){return this.metadata.countries[e]}},{key:`nonGeographic`,value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:`hasCountry`,value:function(e){return this.getCountryMetadata(e)!==void 0}},{key:`hasCallingCode`,value:function(e){if(this.getCountryCodesForCallingCode(e))return!0;if(this.nonGeographic()){if(this.nonGeographic()[e])return!0}else{var t=this.countryCallingCodes()[e];if(t&&t.length===1&&t[0]===`001`)return!0}}},{key:`isNonGeographicCallingCode`,value:function(e){return this.nonGeographic()?!!this.nonGeographic()[e]:!this.getCountryCodesForCallingCode(e)}},{key:`country`,value:function(e){return this.selectNumberingPlan(e)}},{key:`selectNumberingPlan`,value:function(e,t){var n,r;if(e&&(od(e)?r=e:n=e),t&&(r=t),n&&n!==`001`){var i=this.getCountryMetadata(n);if(!i)throw Error(`Unknown country: ${n}`);this.numberingPlan=new gd(i,this)}else if(r){if(!this.hasCallingCode(r))throw Error(`Unknown calling code: ${r}`);this.numberingPlan=new gd(this.getNumberingPlanMetadata(r),this)}else this.numberingPlan=void 0;return this}},{key:`getCountryCodesForCallingCode`,value:function(e){var t=this.countryCallingCodes()[e];if(t)return t.length===1&&t[0].length===3?void 0:t}},{key:`getCountryCodeForCallingCode`,value:function(e){var t=this.getCountryCodesForCallingCode(e);if(t)return t[0]}},{key:`getNumberingPlanMetadata`,value:function(e){var t=this.getCountryCodeForCallingCode(e);if(t)return this.getCountryMetadata(t);if(this.nonGeographic()){var n=this.nonGeographic()[e];if(n)return n}else{var r=this.countryCallingCodes()[e];if(r&&r.length===1&&r[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(e){return this.numberingPlan.type(e)}},{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(e){return this.selectNumberingPlan(e)}},{key:`hasSelectedNumberingPlan`,value:function(){return this.numberingPlan!==void 0}}])}(),gd=function(){function e(t,n){cd(this,e),this.globalMetadataObject=n,this.metadata=t,Td.call(this,n.metadata)}return ud(e,[{key:`callingCode`,value:function(){return this.metadata[0]}},{key:`_getDefaultCountryMetadataForThisCallingCode`,value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:`getDefaultCountryMetadataForRegion`,value:function(){return this._getDefaultCountryMetadataForThisCallingCode()}},{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(e){return e[this.v1?2:this.v2?3:4]}},{key:`formats`,value:function(){var e=this;return(this._getFormats(this.metadata)||this._getFormats(this._getDefaultCountryMetadataForThisCallingCode())||[]).map(function(t){return new _d(t,e)})}},{key:`nationalPrefix`,value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:`_getNationalPrefixFormattingRule`,value:function(e){return e[this.v1?4:this.v2?5:6]}},{key:`nationalPrefixFormattingRule`,value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this._getDefaultCountryMetadataForThisCallingCode())}},{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._getDefaultCountryMetadataForThisCallingCode())}},{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(e){if(this.hasTypes()&&bd(this.types(),e))return new yd(bd(this.types(),e),this)}},{key:`ext`,value:function(){return this.v1||this.v2?hd:this.metadata[13]||hd}}])}(),_d=function(){function e(t,n){cd(this,e),this._format=t,this.metadata=n}return ud(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()&&!vd.test(this.nationalPrefixFormattingRule()))}},{key:`internationalFormat`,value:function(){return this._format[5]||this.format()}}])}(),vd=/^\(?\$1\)?$/,yd=function(){function e(t,n){cd(this,e),this.type=t,this.metadata=n}return ud(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()}}])}();function bd(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 xd(e){if(!e)throw Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!id(e)||!id(e.countries))throw Error(`[libphonenumber-js] \`metadata\` argument was passed but it's not a valid metadata. Must be an object having \`.countries\` child object property. Got ${id(e)?`an object of shape: { `+Object.keys(e).join(`, `)+` }`:`a `+Sd(e)+`: `+e}.`)}var Sd=function(e){return sd(e)};function Cd(e,t){var n=new $(t);if(n.hasCountry(e))return n.selectNumberingPlan(e).countryCallingCode();throw Error(`Unknown country: ${e}`)}function wd(e,t){return t.countries.hasOwnProperty(e)}function Td(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?nd(t,pd)===-1?this.v2=!0:nd(t,md)===-1?this.v3=!0:this.v4=!0:this.v1=!0}function Ed(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=Dd(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 TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
19
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Dd(e,t){if(e){if(typeof e==`string`)return Od(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Od(e,t):void 0}}function Od(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function kd(e,t){for(var n=e.slice(),r=Ed(t),i;!(i=r()).done;){var a=i.value;e.indexOf(a)<0&&n.push(a)}return n.sort(function(e,t){return e-t})}function Ad(e,t,n){return jd(e,void 0,t,n)}function jd(e,t,n,r){n&&(r=new $(r.metadata),r.selectNumberingPlan(n));var i=r.type(t),a=i&&i.possibleLengths()||r.possibleLengths();if(!a)return`IS_POSSIBLE`;if(t===`FIXED_LINE_OR_MOBILE`){if(!r.type(`FIXED_LINE`))return jd(e,`MOBILE`,n,r);var o=r.type(`MOBILE`);o&&(a=kd(a,o.possibleLengths()))}else if(t&&!i)return`INVALID_LENGTH`;var s=e.length,c=a[0];return c===s?`IS_POSSIBLE`:c>s?`TOO_SHORT`:a[a.length-1]<s?`TOO_LONG`:a.indexOf(s,1)>=0?`IS_POSSIBLE`:`INVALID_LENGTH`}function Md(e,t,n){t===void 0&&(t={});var r=new $(n);if(t.v2){if(!e.countryCallingCode)throw Error(`Invalid phone number object passed`);r.selectNumberingPlan(e.country||e.countryCallingCode)}else{if(!e.phone)return!1;if(e.country){if(!r.hasCountry(e.country))throw Error(`Unknown country: ${e.country}`);r.selectNumberingPlan(e.country)}else{if(!e.countryCallingCode)throw Error(`Invalid phone number object passed`);r.selectNumberingPlan(e.countryCallingCode)}}if(r.possibleLengths())return Nd(e.phone||e.nationalNumber,r);if(e.countryCallingCode&&r.isNonGeographicCallingCode(e.countryCallingCode))return!0;throw Error(`Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.`)}function Nd(e,t){switch(Ad(e,void 0,t)){case`IS_POSSIBLE`:return!0;default:return!1}}function Pd(e,t){return e||=``,RegExp(`^(?:`+t+`)$`).test(e)}function Fd(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=Id(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 TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
20
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Id(e,t){if(e){if(typeof e==`string`)return Ld(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ld(e,t):void 0}}function Ld(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Rd=[`MOBILE`,`PREMIUM_RATE`,`TOLL_FREE`,`SHARED_COST`,`VOIP`,`PERSONAL_NUMBER`,`PAGER`,`UAN`,`VOICEMAIL`];function zd(e,t,n){if(t||={},!(!e.country&&!e.countryCallingCode)){var r=new $(n);r.selectNumberingPlan(e.country||e.countryCallingCode);var i=t.v2?e.nationalNumber:e.phone;if(Pd(i,r.nationalNumberPattern())){if(Bd(i,`FIXED_LINE`,r))return r.type(`MOBILE`)&&r.type(`MOBILE`).pattern()===``||!r.type(`MOBILE`)||Bd(i,`MOBILE`,r)?`FIXED_LINE_OR_MOBILE`:`FIXED_LINE`;for(var a=Fd(Rd),o;!(o=a()).done;){var s=o.value;if(Bd(i,s,r))return s}}}}function Bd(e,t,n){var r=n.type(t);return!r||!r.pattern()||r.possibleLengths()&&r.possibleLengths().indexOf(e.length)<0?!1:Pd(e,r.pattern())}function Vd(e,t,n){t||={};var r=new $(n);return r.selectNumberingPlan(e.country||e.countryCallingCode),r.hasTypes()?zd(e,t,r.metadata)!==void 0:Pd(t.v2?e.nationalNumber:e.phone,r.nationalNumberPattern())}var Hd=/^[A-Z]{2}$/;function Ud(e){return Hd.test(e)}var Wd=!1;function Gd(e,t){var n,r,i=new $(t);return Ud(e)?(n=e,i.selectNumberingPlan(n),r=i.countryCallingCode()):(r=e,Wd&&i.isNonGeographicCallingCode(r)&&(n=`001`)),{country:n,callingCode:r}}function Kd(e,t,n){var r=new $(n).getCountryCodesForCallingCode(e);return r?r.filter(function(e){return qd(t,e,n)}):[]}function qd(e,t,n){var r=new $(n);return r.selectNumberingPlan(t),r.numberingPlan.possibleLengths().indexOf(e.length)>=0}var Jd=`0-90-9٠-٩۰-۹`,Yd=`-‐-―−ー-//.. \xA0 ()()[]\\[\\]~⁓∼~`,Xd=`++`,Zd=RegExp(`([`+Jd+`])`);function Qd(e,t,n,r){if(t){var i=new $(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 o=e.match(Zd);if(!(o&&o[1]!=null&&o[1].length>0&&o[1]===`0`))return e}}}function $d(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var n=RegExp(`^(?:`+t.numberingPlan.nationalPrefixForParsing()+`)`),r=n.exec(e);if(r){var i,a,o=r.length-1,s=o>0&&r[o];if(t.nationalPrefixTransformRule()&&s)i=e.replace(n,t.nationalPrefixTransformRule()),o>1&&(a=r[1]);else{var c=r[0];i=e.slice(c.length),s&&(a=r[1])}var l;if(s){var u=e.indexOf(r[1]);e.slice(0,u)===t.numberingPlan.nationalPrefix()&&(l=t.numberingPlan.nationalPrefix())}else l=r[0];return{nationalNumber:i,nationalPrefix:l,carrierCode:a}}}return{nationalNumber:e}}function ef(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=tf(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 TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
21
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function tf(e,t){if(e){if(typeof e==`string`)return nf(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?nf(e,t):void 0}}function nf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function rf(e,t,n){for(var r=new $(n),i=ef(t),a;!(a=i()).done;){var o=a.value;if(r.selectNumberingPlan(o),r.leadingDigits()){if(e&&e.search(r.leadingDigits())===0)return o}else if(zd({phone:e,country:o},void 0,r.metadata))return o}}var af=!1;function of(e,t){var n=t.nationalNumber,r=t.metadata;if(af&&r.isNonGeographicCallingCode(e))return`001`;var i=r.getCountryCodesForCallingCode(e);if(i)return i.length===1?i[0]:rf(n,i,r.metadata)}function sf(e,t,n){var r=$d(e,n),i=r.carrierCode,a=r.nationalNumber;return a!==e&&(!cf(e,a,n)||n.numberingPlan.possibleLengths()&&(t||=of(n.numberingPlan.callingCode(),{nationalNumber:a,metadata:n}),!lf(a,t,n)))?{nationalNumber:e}:{nationalNumber:a,carrierCode:i}}function cf(e,t,n){return!(Pd(e,n.nationalNumberPattern())&&!Pd(t,n.nationalNumberPattern()))}function lf(e,t,n){switch(Ad(e,t,n)){case`TOO_SHORT`:case`INVALID_LENGTH`:return!1;default:return!0}}function uf(e,t,n,r,i){if(!(t||n||r))return{number:e};var a=t||n?Cd(t||n,i):r;if(e.indexOf(a)===0){var o=new $(i);o.selectNumberingPlan(t||n||r);var s=e.slice(a.length),c=sf(s,void 0,o).nationalNumber,l=sf(e,void 0,o).nationalNumber;if(!Pd(l,o.nationalNumberPattern())&&Pd(c,o.nationalNumberPattern())||Ad(l,void 0,o)===`TOO_LONG`)return{countryCallingCode:a,number:s}}return{number:e}}function df(e,t,n,r,i){if(!e)return{};var a;if(e[0]!==`+`){var o=Qd(e,t||n,r,i);if(o&&o!==e)a=!0,e=`+`+o;else{if(t||n||r){var s=uf(e,t,n,r,i),c=s.countryCallingCode,l=s.number;if(c)return{countryCallingCodeSource:`FROM_NUMBER_WITHOUT_PLUS_SIGN`,countryCallingCode:c,number:l}}return{number:e}}}if(e[1]===`0`)return{};for(var u=new $(i),d=2;d-1<=3&&d<=e.length;){var f=e.slice(1,d);if(u.hasCallingCode(f))return u.selectNumberingPlan(f),{countryCallingCodeSource:a?`FROM_NUMBER_WITH_IDD`:`FROM_NUMBER_WITH_PLUS_SIGN`,countryCallingCode:f,number:e.slice(d)};d++}return{}}function ff(e){return e.replace(RegExp(`[${Yd}]+`,`g`),` `).trim()}var pf=/(\$\d)/;function mf(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(pf,t.nationalPrefixFormattingRule()):t.format());return r?ff(a):a}var hf=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function gf(e,t,n){var r=new $(n);if(r.selectNumberingPlan(e||t),r.defaultIDDPrefix())return r.defaultIDDPrefix();if(hf.test(r.IDDPrefix()))return r.IDDPrefix()}var _f=`;ext=`,vf=function(e){return`([${Jd}]{1,${e}})`};function yf(e){var t=`20`,n=`15`,r=`9`,i=`6`,a=`[ \xA0\\t,]*`,o=`[:\\..]?[ \xA0\\t,-]*`,s=`#?`,c=`(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)`,l=`(?:[xx##~~]|int|int)`,u=`[- ]+`,d=`[ \xA0\\t]*`,f=`(?:,{2}|;)`,p=_f+vf(t),m=a+c+o+vf(t)+s,h=a+l+o+vf(r)+s,g=u+vf(i)+`#`,_=d+f+o+vf(n)+s,v=d+`(?:,)+`+o+vf(r)+s;return p+`|`+m+`|`+h+`|`+g+`|`+_+`|`+v}var bf=`[`+Jd+`]{2}`,xf=`[`+Xd+`]{0,1}(?:[`+Yd+`]*[`+Jd+`]){3,}[`+Yd+Jd+`]*`,Sf=RegExp(`^[`+Xd+`]{0,1}(?:[`+Yd+`]*[`+Jd+`]){1,2}$`,`i`),Cf=xf+`(?:`+yf()+`)?`,wf=RegExp(`^`+bf+`$|^`+Cf+`$`,`i`);function Tf(e){return e.length>=2&&wf.test(e)}function Ef(e){return Sf.test(e)}function Df(e){var t=e.number,n=e.ext;if(!t)return``;if(t[0]!==`+`)throw Error(`"formatRFC3966()" expects "number" to be in E.164 format.`);return`tel:${t}${n?`;ext=`+n:``}`}var Of={formatExtension:function(e,t,n){return`${e}${n.ext()}${t}`}};function kf(e,t,n,r){n=n?Pf({},Of,n):Of;var i=new $(r);if(e.country&&e.country!==`001`){if(!i.hasCountry(e.country))throw Error(`Unknown country: ${e.country}`);i.selectNumberingPlan(e.country)}else if(e.countryCallingCode)i.selectNumberingPlan(e.countryCallingCode);else return e.phone||``;var a=i.countryCallingCode(),o=n.v2?e.nationalNumber:e.phone,s;switch(t){case`NATIONAL`:return o?(s=Af(o,e.carrierCode,`NATIONAL`,i,n),Mf(s,e.ext,i,n.formatExtension)):``;case`INTERNATIONAL`:return o?(s=Af(o,null,`INTERNATIONAL`,i,n),s=`+${a} ${s}`,Mf(s,e.ext,i,n.formatExtension)):`+${a}`;case`E.164`:return`+${a}${o}`;case`RFC3966`:return Df({number:`+${a}${o}`,ext:e.ext});case`IDD`:if(!n.fromCountry)return;var c=Nf(o,e.carrierCode,a,n.fromCountry,i);return c?Mf(c,e.ext,i,n.formatExtension):void 0;default:throw Error(`Unknown "format" argument passed to "formatNumber()": "${t}"`)}}function Af(e,t,n,r,i){var a=jf(r.formats(),e);return a?mf(e,a,{useInternationalFormat:n===`INTERNATIONAL`,withNationalPrefix:!(a.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&i&&i.nationalPrefix===!1),carrierCode:t,metadata:r}):e}function jf(e,t){return Ff(e,function(e){if(e.leadingDigitsPatterns().length>0){var n=e.leadingDigitsPatterns()[e.leadingDigitsPatterns().length-1];if(t.search(n)!==0)return!1}return Pd(t,e.pattern())})}function Mf(e,t,n,r){return t?r(e,t,n):e}function Nf(e,t,n,r,i){if(Cd(r,i.metadata)===n){var a=Af(e,t,`NATIONAL`,i);return n===`1`?n+` `+a:a}var o=gf(r,void 0,i.metadata);if(o)return`${o} ${n} ${Af(e,null,`INTERNATIONAL`,i)}`}function Pf(){for(var e=1,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];for(;e<n.length;){if(n[e])for(var i in n[e])n[0][i]=n[e][i];e++}return n[0]}function Ff(e,t){for(var n=0;n<e.length;){if(t(e[n]))return e[n];n++}}function If(e){"@babel/helpers - typeof";return If=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},If(e)}function Lf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Rf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Lf(Object(n),!0).forEach(function(t){zf(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lf(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function zf(e,t,n){return(t=Uf(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bf(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function Vf(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,Uf(r.key),r)}}function Hf(e,t,n){return t&&Vf(e.prototype,t),n&&Vf(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Uf(e){var t=Wf(e,`string`);return If(t)==`symbol`?t:t+``}function Wf(e,t){if(If(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(If(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Gf=function(){function e(t,n,r){if(Bf(this,e),!t)throw TypeError(`First argument is required`);if(typeof t!=`string`)throw TypeError(`First argument must be a string`);if(t[0]===`+`&&!n)throw TypeError("`metadata` argument not passed");if(id(n)&&id(n.countries)){r=n;var i=t;if(!Kf.test(i))throw Error('Invalid `number` argument passed: must consist of a "+" followed by digits');var a=df(i,void 0,void 0,void 0,r),o=a.countryCallingCode;if(n=a.number,t=o,!n)throw Error("Invalid `number` argument passed: too short")}if(!n)throw TypeError("`nationalNumber` argument is required");if(typeof n!=`string`)throw TypeError("`nationalNumber` argument must be a string");xd(r);var s=Gd(t,r),c=s.country,l=s.callingCode;this.country=c,this.countryCallingCode=l,this.nationalNumber=n,this.number=`+`+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r}}return Hf(e,[{key:`setExt`,value:function(e){this.ext=e}},{key:`getPossibleCountries`,value:function(){return this.country?[this.country]:Kd(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:`isPossible`,value:function(){return Md(this,{v2:!0},this.getMetadata())}},{key:`isValid`,value:function(){return Vd(this,{v2:!0},this.getMetadata())}},{key:`isNonGeographic`,value:function(){return new $(this.getMetadata()).isNonGeographicCallingCode(this.countryCallingCode)}},{key:`isEqual`,value:function(e){return this.number===e.number&&this.ext===e.ext}},{key:`getType`,value:function(){return zd(this,{v2:!0},this.getMetadata())}},{key:`format`,value:function(e,t){return kf(this,e,t?Rf(Rf({},t),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:`formatNational`,value:function(e){return this.format(`NATIONAL`,e)}},{key:`formatInternational`,value:function(e){return this.format(`INTERNATIONAL`,e)}},{key:`getURI`,value:function(e){return this.format(`RFC3966`,e)}}])}(),Kf=/^\+\d+$/;function qf(e){"@babel/helpers - typeof";return qf=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},qf(e)}function Jf(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,Xf(r.key),r)}}function Yf(e,t,n){return t&&Jf(e.prototype,t),n&&Jf(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Xf(e){var t=Zf(e,`string`);return qf(t)==`symbol`?t:t+``}function Zf(e,t){if(qf(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(qf(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Qf(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function $f(e,t,n){return t=cp(t),ep(e,ap()?Reflect.construct(t,n||[],cp(e).constructor):t.apply(e,n))}function ep(e,t){if(t&&(qf(t)==`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return tp(e)}function tp(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function np(e,t){if(typeof t!=`function`&&t!==null)throw 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&&sp(e,t)}function rp(e){var t=typeof Map==`function`?new Map:void 0;return rp=function(e){if(e===null||!op(e))return e;if(typeof e!=`function`)throw TypeError(`Super expression must either be null or a function`);if(t!==void 0){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return ip(e,arguments,cp(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),sp(n,e)},rp(e)}function ip(e,t,n){if(ap())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var i=new(e.bind.apply(e,r));return n&&sp(i,n.prototype),i}function ap(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ap=function(){return!!e})()}function op(e){try{return Function.toString.call(e).indexOf(`[native code]`)!==-1}catch{return typeof e==`function`}}function sp(e,t){return sp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},sp(e,t)}function cp(e){return cp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},cp(e)}var lp=function(e){function t(e){var n;return Qf(this,t),n=$f(this,t,[e]),Object.setPrototypeOf(n,t.prototype),n.name=n.constructor.name,n}return np(t,e),Yf(t)}(rp(Error)),up=RegExp(`(?:`+yf()+`)$`,`i`);function dp(e){var t=e.search(up);if(t<0)return{};for(var n=e.slice(0,t),r=e.match(up),i=1;i<r.length;){if(r[i])return{number:n,ext:r[i]};i++}}function fp(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=pp(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 TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
22
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pp(e,t){if(e){if(typeof e==`string`)return mp(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?mp(e,t):void 0}}function mp(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var hp={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 gp(e){return hp[e]}function _p(e){for(var t=``,n=fp(e.split(``)),r;!(r=n()).done;){var i=r.value,a=gp(i);a&&(t+=a)}return t}function vp(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=yp(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 TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
23
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yp(e,t){if(e){if(typeof e==`string`)return bp(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?bp(e,t):void 0}}function bp(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function xp(e){for(var t=``,n=vp(e.split(``)),r;!(r=n()).done;){var i=r.value;t+=Sp(i,t)||``}return t}function Sp(e,t,n){if(e===`+`){if(t){typeof n==`function`&&n(`end`);return}return`+`}return gp(e)}var Cp=`([`+Jd+`]|[\\-\\.\\(\\)]?)`,wp=`^\\+`+Cp+`*[`+Jd+`]`+Cp+`*$`,Tp=new RegExp(wp,`g`),Ep=Jd,Dp=`[`+Ep+`]+((\\-)*[`+Ep+`])*`,Op=`[a-zA-Z]+((\\-)*[`+Ep+`])*`,kp=`^(`+Dp+`\\.)*`+Op+`\\.?$`,Ap=new RegExp(kp,`g`),jp=`tel:`,Mp=`;phone-context=`,Np=`;isub=`;function Pp(e){var t=e.indexOf(Mp);if(t<0)return null;var n=t+Mp.length;if(n>=e.length)return``;var r=e.indexOf(`;`,n);return r>=0?e.substring(n,r):e.substring(n)}function Fp(e){return e===null?!0:e.length===0?!1:Tp.test(e)||Ap.test(e)}function Ip(e,t){var n=t.extractFormattedPhoneNumber,r=Pp(e);if(!Fp(r))throw new lp(`NOT_A_NUMBER`);var i;if(r===null)i=n(e)||``;else{i=``,r.charAt(0)===`+`&&(i+=r);var a=e.indexOf(jp),o=a>=0?a+jp.length:0,s=e.indexOf(Mp);i+=e.substring(o,s)}var c=i.indexOf(Np);if(c>0&&(i=i.substring(0,c)),i!==``)return i}var Lp=250,Rp=RegExp(`[`+Xd+Jd+`]`),zp=RegExp(`[^`+Jd+`#]+$`),Bp=!1;function Vp(e,t,n){t||={};var r=new $(n);if(t.defaultCountry&&!r.hasCountry(t.defaultCountry))throw t.v2?new lp(`INVALID_COUNTRY`):Error(`Unknown country: ${t.defaultCountry}`);var i=Up(e,t.v2,t.extract),a=i.number,o=i.ext,s=i.error;if(!a){if(t.v2)throw s===`TOO_SHORT`?new lp(`TOO_SHORT`):new lp(`NOT_A_NUMBER`);return{}}var c=Gp(a,t.defaultCountry,t.defaultCallingCode,r),l=c.country,u=c.nationalNumber,d=c.countryCallingCode,f=c.countryCallingCodeSource,p=c.carrierCode;if(!r.hasSelectedNumberingPlan()){if(t.v2)throw new lp(`INVALID_COUNTRY`);return{}}if(!u||u.length<2){if(t.v2)throw new lp(`TOO_SHORT`);return{}}if(u.length>17){if(t.v2)throw new lp(`TOO_LONG`);return{}}if(t.v2){var m=new Gf(d,u,r.metadata);return l&&(m.country=l),p&&(m.carrierCode=p),o&&(m.ext=o),m.__countryCallingCodeSource=f,m}var h=(t.extended?r.hasSelectedNumberingPlan():l)?Pd(u,r.nationalNumberPattern()):!1;return t.extended?{country:l,countryCallingCode:d,carrierCode:p,valid:h,possible:h?!0:!!(t.extended===!0&&r.possibleLengths()&&Nd(u,r)),phone:u,ext:o}:h?Wp(l,u,o):{}}function Hp(e,t,n){if(e){if(e.length>Lp){if(n)throw new lp(`TOO_LONG`);return}if(t===!1)return e;var r=e.search(Rp);if(!(r<0))return e.slice(r).replace(zp,``)}}function Up(e,t,n){var r=Ip(e,{extractFormattedPhoneNumber:function(e){return Hp(e,n,t)}});if(!r)return{};if(!Tf(r))return Ef(r)?{error:`TOO_SHORT`}:{};var i=dp(r);return i.ext?i:{number:r}}function Wp(e,t,n){var r={country:e,phone:t};return n&&(r.ext=n),r}function Gp(e,t,n,r){var i=df(xp(e),void 0,t,n,r.metadata),a=i.countryCallingCodeSource,o=i.countryCallingCode,s=i.number,c;if(o)r.selectNumberingPlan(o);else if(s&&(t||n))t?(c=t,r.selectNumberingPlan(t),o=r.numberingPlan.callingCode()):(r.selectNumberingPlan(n),o=n,Bp&&r.isNonGeographicCallingCode(o)&&(c=`001`));else return{};if(!s)return{countryCallingCodeSource:a,countryCallingCode:o};var l=sf(xp(s),void 0,r),u=l.nationalNumber,d=l.carrierCode,f=of(o,{nationalNumber:u,metadata:r});return f&&(c=f,f===`001`||r.selectNumberingPlan(c)),{country:c,countryCallingCode:o,countryCallingCodeSource:a,nationalNumber:u,carrierCode:d}}function Kp(e){"@babel/helpers - typeof";return Kp=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Kp(e)}function qp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Jp(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?qp(Object(n),!0).forEach(function(t){Yp(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qp(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Yp(e,t,n){return(t=Xp(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xp(e){var t=Zp(e,`string`);return Kp(t)==`symbol`?t:t+``}function Zp(e,t){if(Kp(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(Kp(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Qp(e,t,n){return Vp(e,Jp(Jp({},t),{},{v2:!0}),n)}function $p(e){"@babel/helpers - typeof";return $p=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},$p(e)}function em(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tm(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?em(Object(n),!0).forEach(function(t){nm(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):em(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function nm(e,t,n){return(t=rm(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rm(e){var t=im(e,`string`);return $p(t)==`symbol`?t:t+``}function im(e,t){if($p(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if($p(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function am(e,t){return um(e)||lm(e,t)||sm(e,t)||om()}function om(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
24
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function sm(e,t){if(e){if(typeof e==`string`)return cm(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?cm(e,t):void 0}}function cm(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function lm(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function um(e){if(Array.isArray(e))return e}function dm(e){var t=am(Array.prototype.slice.call(e),4),n=t[0],r=t[1],i=t[2],a=t[3],o,s,c;if(typeof n==`string`)o=n;else throw TypeError(`A text for parsing must be a string.`);if(!r||typeof r==`string`)a?(s=i,c=a):(s=void 0,c=i),r&&(s=tm({defaultCountry:r},s));else if(id(r))i?(s=r,c=i):c=r;else throw Error(`Invalid second argument: ${r}`);return{text:o,options:s,metadata:c}}function fm(e){"@babel/helpers - typeof";return fm=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},fm(e)}function pm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function mm(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?pm(Object(n),!0).forEach(function(t){hm(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pm(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function hm(e,t,n){return(t=gm(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gm(e){var t=_m(e,`string`);return fm(t)==`symbol`?t:t+``}function _m(e,t){if(fm(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(fm(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function vm(e,t,n){t&&t.defaultCountry&&!wd(t.defaultCountry,n)&&(t=mm(mm({},t),{},{defaultCountry:void 0}));try{return Qp(e,t,n)}catch(e){if(!(e instanceof lp))throw e}}function ym(){var e=dm(arguments),t=e.text,n=e.options,r=e.metadata;return vm(t,n,r)}function bm(e){"@babel/helpers - typeof";return bm=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},bm(e)}function xm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Sm(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?xm(Object(n),!0).forEach(function(t){Cm(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xm(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Cm(e,t,n){return(t=wm(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wm(e){var t=Tm(e,`string`);return bm(t)==`symbol`?t:t+``}function Tm(e,t){if(bm(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(bm(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Em(){var e=dm(arguments),t=e.text,n=e.options,r=e.metadata;n=Sm(Sm({},n),{},{extract:!1});var i=vm(t,n,r);return i&&i.isValid()||!1}function Dm(e){"@babel/helpers - typeof";return Dm=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Dm(e)}function Om(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function km(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,jm(r.key),r)}}function Am(e,t,n){return t&&km(e.prototype,t),n&&km(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function jm(e){var t=Mm(e,`string`);return Dm(t)==`symbol`?t:t+``}function Mm(e,t){if(Dm(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(Dm(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Nm=function(){function e(t){var n=t.onCountryChange,r=t.onCallingCodeChange;Om(this,e),this.onCountryChange=n,this.onCallingCodeChange=r}return Am(e,[{key:`reset`,value:function(e){var t=e.country,n=e.callingCode;this.international=!1,this.missingPlus=!1,this.IDDPrefix=void 0,this.callingCode=void 0,this.digits=``,this.resetNationalSignificantNumber(),this.initCountryAndCallingCode(t,n)}},{key:`resetNationalSignificantNumber`,value:function(){this.nationalSignificantNumber=this.getNationalDigits(),this.nationalSignificantNumberIsModified=!1,this.nationalPrefix=void 0,this.carrierCode=void 0,this.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix=void 0}},{key:`update`,value:function(e){for(var t=0,n=Object.keys(e);t<n.length;t++){var r=n[t];this[r]=e[r]}}},{key:`initCountryAndCallingCode`,value:function(e,t){this.setCountry(e),this.setCallingCode(t)}},{key:`setCountry`,value:function(e){this.country=e,this.onCountryChange(e)}},{key:`setCallingCode`,value:function(e){this.callingCode=e,this.onCallingCodeChange(e,this.country)}},{key:`startInternationalNumber`,value:function(e,t){this.international=!0,this.initCountryAndCallingCode(e,t)}},{key:`appendDigits`,value:function(e){this.digits+=e}},{key:`appendNationalSignificantNumberDigits`,value:function(e){this.nationalSignificantNumber+=e}},{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}}])}();function Pm(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=Fm(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 TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
25
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Fm(e,t){if(e){if(typeof e==`string`)return Im(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Im(e,t):void 0}}function Im(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Lm=RegExp(`x`);function Rm(e,t){if(t<1)return``;for(var n=``;t>1;)t&1&&(n+=e),t>>=1,e+=e;return n+e}function zm(e,t){return e[t]===`)`&&t++,Bm(e.slice(0,t))}function Bm(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,o=t;a<o.length;a++){var s=o[a];i+=e.slice(r,s),r=s+1}return i}function Vm(e,t,n){for(var r=Pm(n.split(``)),i;!(i=r()).done;){var a=i.value;if(e.slice(t+1).search(Lm)<0)return;t=e.search(Lm),e=e.replace(Lm,a)}return[e,t]}function Hm(e,t,n){var r=n.metadata,i=n.shouldTryNationalPrefixFormattingRule,a=n.getSeparatorAfterNationalPrefix;if(RegExp(`^(?:${t.pattern()})\$`).test(e.nationalSignificantNumber))return Wm(e,t,{metadata:r,shouldTryNationalPrefixFormattingRule:i,getSeparatorAfterNationalPrefix:a})}function Um(e,t){return Ad(e,void 0,t)===`IS_POSSIBLE`}function Wm(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 o=Gm(e,t,{useNationalPrefixFormattingRule:!0,getSeparatorAfterNationalPrefix:a,metadata:r});if(o)return o}return Gm(e,t,{useNationalPrefixFormattingRule:!1,getSeparatorAfterNationalPrefix:a,metadata:r})}function Gm(e,t,n){var r=n.metadata,i=n.useNationalPrefixFormattingRule,a=n.getSeparatorAfterNationalPrefix,o=mf(e.nationalSignificantNumber,t,{carrierCode:e.carrierCode,useInternationalFormat:e.international,withNationalPrefix:i,metadata:r});if(i||(e.nationalPrefix?o=e.nationalPrefix+a(t)+o:e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix&&(o=e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix+` `+o)),Km(o,e))return o}function Km(e,t){return _p(e)===t.getNationalDigits()}function qm(e){"@babel/helpers - typeof";return qm=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},qm(e)}function Jm(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function Ym(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,Zm(r.key),r)}}function Xm(e,t,n){return t&&Ym(e.prototype,t),n&&Ym(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Zm(e){var t=Qm(e,`string`);return qm(t)==`symbol`?t:t+``}function Qm(e,t){if(qm(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(qm(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var $m=function(){function e(){Jm(this,e)}return Xm(e,[{key:`parse`,value:function(e){if(this.context=[{or:!0,instructions:[]}],this.parsePattern(e),this.context.length!==1)throw Error(`Non-finalized contexts left when pattern parse ended`);var t=this.context[0],n=t.branches,r=t.instructions;if(n)return{op:`|`,args:n.concat([rh(r)])};if(r.length===0)throw Error(`Pattern is required`);return r.length===1?r[0]:r}},{key:`startContext`,value:function(e){this.context.push(e)}},{key:`endContext`,value:function(){this.context.pop()}},{key:`getContext`,value:function(){return this.context[this.context.length-1]}},{key:`parsePattern`,value:function(e){if(!e)throw Error(`Pattern is required`);var t=e.match(nh);if(!t){if(th.test(e))throw Error(`Illegal characters found in a pattern: ${e}`);this.getContext().instructions=this.getContext().instructions.concat(e.split(``));return}var n=t[1],r=e.slice(0,t.index),i=e.slice(t.index+n.length);switch(n){case`(?:`:r&&this.parsePattern(r),this.startContext({or:!0,instructions:[],branches:[]});break;case`)`:if(!this.getContext().or)throw Error(`")" operator must be preceded by "(?:" operator`);if(r&&this.parsePattern(r),this.getContext().instructions.length===0)throw Error(`No instructions found after "|" operator in an "or" group`);var a=this.getContext().branches;a.push(rh(this.getContext().instructions)),this.endContext(),this.getContext().instructions.push({op:`|`,args:a});break;case`|`:if(!this.getContext().or)throw Error(`"|" operator can only be used inside "or" groups`);if(r&&this.parsePattern(r),!this.getContext().branches)if(this.context.length===1)this.getContext().branches=[];else throw Error(`"branches" not found in an "or" group context`);this.getContext().branches.push(rh(this.getContext().instructions)),this.getContext().instructions=[];break;case`[`:r&&this.parsePattern(r),this.startContext({oneOfSet:!0});break;case`]`:if(!this.getContext().oneOfSet)throw Error(`"]" operator must be preceded by "[" operator`);this.endContext(),this.getContext().instructions.push({op:`[]`,args:eh(r)});break;default:throw Error(`Unknown operator: ${n}`)}i&&this.parsePattern(i)}}])}();function eh(e){for(var t=[],n=0;n<e.length;){if(e[n]===`-`){if(n===0||n===e.length-1)throw Error(`Couldn't parse a one-of set pattern: ${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 th=/[\(\)\[\]\?\:\|]/,nh=RegExp(`(\\||\\(\\?\\:|\\)|\\[|\\])`);function rh(e){return e.length===1?e[0]:e}function ih(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=ah(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 TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
26
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ah(e,t){if(e){if(typeof e==`string`)return oh(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?oh(e,t):void 0}}function oh(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function sh(e){"@babel/helpers - typeof";return sh=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},sh(e)}function ch(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function lh(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,dh(r.key),r)}}function uh(e,t,n){return t&&lh(e.prototype,t),n&&lh(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function dh(e){var t=fh(e,`string`);return sh(t)==`symbol`?t:t+``}function fh(e,t){if(sh(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(sh(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var ph=function(){function e(t){ch(this,e),this.matchTree=new $m().parse(t)}return uh(e,[{key:`match`,value:function(e){var t=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}).allowOverflow;if(!e)throw Error(`String is required`);var n=mh(e.split(``),this.matchTree,!0);if(n&&n.match&&delete n.matchedChars,!(n&&n.overflow&&!t))return n}}])}();function mh(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 o=t[a],s=mh(i,o,n&&a===t.length-1);if(!s)return;if(s.overflow)return s;if(s.match){if(i=i.slice(s.matchedChars.length),i.length===0)return a===t.length-1?{match:!0,matchedChars:e}:{partialMatch:!0}}else if(s.partialMatch)return{partialMatch:!0};else throw Error(`Unsupported match result:
|
|
27
|
+
${JSON.stringify(s,null,2)}`);a++}return n?{overflow:!0}:{match:!0,matchedChars:e.slice(0,e.length-i.length)}}switch(t.op){case`|`:for(var c,l=ih(t.args),u;!(u=l()).done;){var d=u.value,f=mh(e,d,n);if(f){if(f.overflow)return f;if(f.match)return{match:!0,matchedChars:f.matchedChars};if(f.partialMatch)c=!0;else throw Error(`Unsupported match result:
|
|
28
|
+
${JSON.stringify(f,null,2)}`)}}return c?{partialMatch:!0}:void 0;case`[]`:for(var p=ih(t.args),m;!(m=p()).done;){var h=m.value;if(e[0]===h)return e.length===1?{match:!0,matchedChars:e}:n?{overflow:!0}:{match:!0,matchedChars:[h]}}return;default:throw Error(`Unsupported instruction tree: ${t}`)}}function hh(e){"@babel/helpers - typeof";return hh=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},hh(e)}function gh(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=_h(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 TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
29
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _h(e,t){if(e){if(typeof e==`string`)return vh(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?vh(e,t):void 0}}function vh(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function yh(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function bh(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,Sh(r.key),r)}}function xh(e,t,n){return t&&bh(e.prototype,t),n&&bh(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Sh(e){var t=Ch(e,`string`);return hh(t)==`symbol`?t:t+``}function Ch(e,t){if(hh(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(hh(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var wh=`9`,Th=Rm(wh,15),Eh=/[- ]/,Dh=!0,Oh=Dh&&function(){return/\[([^\[\]])*\]/g},kh=Dh&&function(){return/\d(?=[^,}][^,}])/g},Ah=RegExp(`[`+Yd+`]*\\$1[`+Yd+`]*(\\$\\d[`+Yd+`]*)*$`),jh=3,Mh=function(){function e(t){t.state;var n=t.metadata;yh(this,e),this.metadata=n,this.resetFormat()}return xh(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(e,t){this.resetFormat(),e?(this.isNANP=e.callingCode()===`1`,this.matchingFormats=e.formats(),t.nationalSignificantNumber&&this.narrowDownMatchingFormats(t)):(this.isNANP=void 0,this.matchingFormats=[])}},{key:`format`,value:function(e,t){var n=this;if(Um(t.nationalSignificantNumber,this.metadata))for(var r=gh(this.matchingFormats),i;!(i=r()).done;){var a=i.value,o=Hm(t,a,{metadata:this.metadata,shouldTryNationalPrefixFormattingRule:function(e){return n.shouldTryNationalPrefixFormattingRule(e,{international:t.international,nationalPrefix:t.nationalPrefix})},getSeparatorAfterNationalPrefix:function(e){return n.getSeparatorAfterNationalPrefix(e)}});if(o)return this.resetFormat(),this.chosenFormat=a,this.setNationalNumberTemplate(o.replace(/\d/g,`x`),t),this.populatedNationalNumberTemplate=o,this.populatedNationalNumberTemplatePosition=this.template.lastIndexOf(`x`),o}return this.formatNationalNumberWithNextDigits(e,t)}},{key:`formatNationalNumberWithNextDigits`,value:function(e,t){var n=this.chosenFormat,r=this.chooseFormat(t);if(r)return r===n?this.formatNextNationalNumberDigits(e):this.formatNextNationalNumberDigits(t.getNationalDigits())}},{key:`narrowDownMatchingFormats`,value:function(e){var t=this,n=e.nationalSignificantNumber,r=e.nationalPrefix,i=e.international,a=n,o=a.length-jh;o<0&&(o=0),this.matchingFormats=this.matchingFormats.filter(function(e){return t.formatSuits(e,i,r)&&t.formatMatches(e,a,o)}),this.chosenFormat&&this.matchingFormats.indexOf(this.chosenFormat)===-1&&this.resetFormat()}},{key:`formatSuits`,value:function(e,t,n){return!(n&&!e.usesNationalPrefix()&&!e.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!t&&!n&&e.nationalPrefixIsMandatoryWhenFormattingInNationalFormat())}},{key:`formatMatches`,value:function(e,t,n){var r=e.leadingDigitsPatterns().length;if(r===0)return!0;n=Math.min(n,r-1);var i=e.leadingDigitsPatterns()[n];if(t.length<jh)try{return new ph(i).match(t,{allowOverflow:!0})!==void 0}catch(e){return console.error(e),!0}return RegExp(`^(${i})`).test(t)}},{key:`getFormatFormat`,value:function(e,t){return t?e.internationalFormat():e.format()}},{key:`chooseFormat`,value:function(e){for(var t=this,n=function(){var n=a.value;return t.chosenFormat===n?0:Ah.test(t.getFormatFormat(n,e.international))?t.createTemplateForFormat(n,e)?(t.chosenFormat=n,0):(t.matchingFormats=t.matchingFormats.filter(function(e){return e!==n}),1):1},r,i=gh(this.matchingFormats.slice()),a;!(a=i()).done&&(r=n(),r!==0););return this.chosenFormat||this.resetFormat(),this.chosenFormat}},{key:`createTemplateForFormat`,value:function(e,t){if(!(Dh&&e.pattern().indexOf(`|`)>=0)){var n=this.getTemplateForFormat(e,t);if(n)return this.setNationalNumberTemplate(n,t),!0}}},{key:`getSeparatorAfterNationalPrefix`,value:function(e){return this.isNANP||e&&e.nationalPrefixFormattingRule()&&Eh.test(e.nationalPrefixFormattingRule())?` `:``}},{key:`getInternationalPrefixBeforeCountryCallingCode`,value:function(e,t){var n=e.IDDPrefix,r=e.missingPlus;return n?t&&t.spacing===!1?n:n+` `:r?``:`+`}},{key:`getTemplate`,value:function(e){if(this.template){for(var t=-1,n=0,r=e.international?this.getInternationalPrefixBeforeCountryCallingCode(e,{spacing:!1}):``;n<r.length+e.getDigitsWithoutInternationalPrefix().length;)t=this.template.indexOf(`x`,t+1),n++;return zm(this.template,t+1)}}},{key:`setNationalNumberTemplate`,value:function(e,t){this.nationalNumberTemplate=e,this.populatedNationalNumberTemplate=e,this.populatedNationalNumberTemplatePosition=-1,t.international?this.template=this.getInternationalPrefixBeforeCountryCallingCode(t).replace(/[\d\+]/g,`x`)+Rm(`x`,t.callingCode.length)+` `+e:this.template=e}},{key:`getTemplateForFormat`,value:function(e,t){var n=t.nationalSignificantNumber,r=t.international,i=t.nationalPrefix,a=t.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix,o=e.pattern();Dh&&(o=o.replace(Oh(),`\\d`).replace(kh(),`\\d`));var s=Th.match(o)[0];if(!(n.length>s.length)){var c=RegExp(`^`+o+`$`),l=n.replace(/\d/g,wh);c.test(l)&&(s=l);var u=this.getFormatFormat(e,r),d;if(this.shouldTryNationalPrefixFormattingRule(e,{international:r,nationalPrefix:i})){var f=u.replace(pf,e.nationalPrefixFormattingRule());if(_p(e.nationalPrefixFormattingRule())===(i||``)+_p(`$1`)&&(u=f,d=!0,i))for(var p=i.length;p>0;)u=u.replace(/\d/,`x`),p--}var m=s.replace(new RegExp(o),u).replace(new RegExp(wh,`g`),`x`);return d||(a?m=Rm(`x`,a.length)+` `+m:i&&(m=Rm(`x`,i.length)+this.getSeparatorAfterNationalPrefix(e)+m)),r&&(m=ff(m)),m}}},{key:`formatNextNationalNumberDigits`,value:function(e){var t=Vm(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition,e);if(!t){this.resetFormat();return}return this.populatedNationalNumberTemplate=t[0],this.populatedNationalNumberTemplatePosition=t[1],zm(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition+1)}},{key:`shouldTryNationalPrefixFormattingRule`,value:function(e,t){var n=t.international,r=t.nationalPrefix;if(e.nationalPrefixFormattingRule()){var i=e.usesNationalPrefix();if(i&&r||!i&&!n)return!0}}}])}();function Nh(e){"@babel/helpers - typeof";return Nh=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Nh(e)}function Ph(e,t){return zh(e)||Rh(e,t)||Ih(e,t)||Fh()}function Fh(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
30
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ih(e,t){if(e){if(typeof e==`string`)return Lh(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Lh(e,t):void 0}}function Lh(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Rh(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function zh(e){if(Array.isArray(e))return e}function Bh(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function Vh(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,Uh(r.key),r)}}function Hh(e,t,n){return t&&Vh(e.prototype,t),n&&Vh(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Uh(e){var t=Wh(e,`string`);return Nh(t)==`symbol`?t:t+``}function Wh(e,t){if(Nh(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(Nh(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Gh=`[`+Yd+Jd+`]+`,Kh=RegExp(`^`+Gh+`$`,`i`),qh=`(?:[`+Xd+`][`+Yd+Jd+`]*|[`+Yd+Jd+`]+)`,Jh=RegExp(`[^`+Yd+Jd+`]+.*$`),Yh=/[^\d\[\]]/,Xh=function(){function e(t){var n=t.defaultCountry,r=t.defaultCallingCode,i=t.metadata,a=t.onNationalSignificantNumberChange;Bh(this,e),this.defaultCountry=n,this.defaultCallingCode=r,this.metadata=i,this.onNationalSignificantNumberChange=a}return Hh(e,[{key:`input`,value:function(e,t){var n=Ph($h(e),2),r=n[0],i=n[1],a=_p(r),o;return i&&(t.digits||(t.startInternationalNumber(void 0,void 0),a||(o=!0))),a&&this.inputDigits(a,t),{digits:a,justLeadingPlus:o}}},{key:`inputDigits`,value:function(e,t){var n=t.digits,r=n.length<3&&n.length+e.length>=3;if(t.appendDigits(e),r&&this.extractIddPrefix(t),this.isWaitingForCountryCallingCode(t)){if(!this.extractCountryCallingCode(t))return}else t.appendNationalSignificantNumberDigits(e);t.international||this.hasExtractedNationalSignificantNumber||this.extractNationalSignificantNumber(t.getNationalDigits(),function(e){return t.update(e)})}},{key:`isWaitingForCountryCallingCode`,value:function(e){var t=e.international,n=e.callingCode;return t&&!n}},{key:`extractCountryCallingCode`,value:function(e){var t=df(`+`+e.getDigitsWithoutInternationalPrefix(),e.country,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),n=t.countryCallingCode,r=t.number;if(n)return e.setCallingCode(n),e.update({nationalSignificantNumber:r}),!0}},{key:`reset`,value:function(e){if(e){this.hasSelectedNumberingPlan=!0;var t=e._nationalPrefixForParsing();this.couldPossiblyExtractAnotherNationalSignificantNumber=t&&Yh.test(t)}else this.hasSelectedNumberingPlan=void 0,this.couldPossiblyExtractAnotherNationalSignificantNumber=void 0}},{key:`extractNationalSignificantNumber`,value:function(e,t){if(this.hasSelectedNumberingPlan){var n=$d(e,this.metadata),r=n.nationalPrefix,i=n.nationalNumber,a=n.carrierCode;if(i!==e)return this.onExtractedNationalNumber(r,a,i,e,t),!0}}},{key:`extractAnotherNationalSignificantNumber`,value:function(e,t,n){if(!this.hasExtractedNationalSignificantNumber)return this.extractNationalSignificantNumber(e,n);if(this.couldPossiblyExtractAnotherNationalSignificantNumber){var r=$d(e,this.metadata),i=r.nationalPrefix,a=r.nationalNumber,o=r.carrierCode;if(a!==t)return this.onExtractedNationalNumber(i,o,a,e,n),!0}}},{key:`onExtractedNationalNumber`,value:function(e,t,n,r,i){var a=!1,o,s=r.lastIndexOf(n);if(s<0||s!==r.length-n.length)a=!0;else{var c=r.slice(0,s);c&&c!==e&&(o=c)}i({nationalPrefix:e,carrierCode:t,nationalSignificantNumber:n,nationalSignificantNumberIsModified:a,prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix:o}),this.hasExtractedNationalSignificantNumber=!0,this.onNationalSignificantNumberChange()}},{key:`reExtractNationalSignificantNumber`,value:function(e){if(this.extractAnotherNationalSignificantNumber(e.getNationalDigits(),e.nationalSignificantNumber,function(t){return e.update(t)}))return!0;if(this.extractIddPrefix(e)||this.fixMissingPlus(e))return this.extractCallingCodeAndNationalSignificantNumber(e),!0}},{key:`extractIddPrefix`,value:function(e){var t=e.international,n=e.IDDPrefix,r=e.digits;if(e.nationalSignificantNumber,!(t||n)){var i=Qd(r,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata);if(i!==void 0&&i!==r)return e.update({IDDPrefix:r.slice(0,r.length-i.length)}),this.startInternationalNumber(e,{country:void 0,callingCode:void 0}),!0}}},{key:`fixMissingPlus`,value:function(e){if(!e.international){var t=uf(e.digits,e.country,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata).countryCallingCode;if(t)return e.update({missingPlus:!0}),this.startInternationalNumber(e,{country:e.country,callingCode:t}),!0}}},{key:`startInternationalNumber`,value:function(e,t){var n=t.country,r=t.callingCode;e.startInternationalNumber(n,r),e.nationalSignificantNumber&&(e.resetNationalSignificantNumber(),this.onNationalSignificantNumberChange(),this.hasExtractedNationalSignificantNumber=void 0)}},{key:`extractCallingCodeAndNationalSignificantNumber`,value:function(e){this.extractCountryCallingCode(e)&&this.extractNationalSignificantNumber(e.getNationalDigits(),function(t){return e.update(t)})}}])}();function Zh(e){var t=e.search(qh);if(!(t<0)){e=e.slice(t);var n;return e[0]===`+`&&(n=!0,e=e.slice(1)),e=e.replace(Jh,``),n&&(e=`+`+e),e}}function Qh(e){var t=Zh(e)||``;return t[0]===`+`?[t.slice(1),!0]:[t]}function $h(e){var t=Ph(Qh(e),2),n=t[0],r=t[1];return Kh.test(n)||(n=``),[n,r]}function eg(e){"@babel/helpers - typeof";return eg=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},eg(e)}function tg(e,t){return og(e)||ag(e,t)||rg(e,t)||ng()}function ng(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
31
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rg(e,t){if(e){if(typeof e==`string`)return ig(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ig(e,t):void 0}}function ig(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ag(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function og(e){if(Array.isArray(e))return e}function sg(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function cg(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,ug(r.key),r)}}function lg(e,t,n){return t&&cg(e.prototype,t),n&&cg(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function ug(e){var t=dg(e,`string`);return eg(t)==`symbol`?t:t+``}function dg(e,t){if(eg(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(eg(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var fg=!1,pg=function(){function e(t,n){sg(this,e),this.metadata=new $(n);var r=tg(this.getCountryAndCallingCode(t),2),i=r[0],a=r[1];this.defaultCountry=i,this.defaultCallingCode=a,this.reset()}return lg(e,[{key:`getCountryAndCallingCode`,value:function(e){var t,n;return e&&(id(e)?(t=e.defaultCountry,n=e.defaultCallingCode):t=e),t&&!this.metadata.hasCountry(t)&&(t=void 0),n&&fg&&this.metadata.isNonGeographicCallingCode(n)&&(t=`001`),[t,n]}},{key:`input`,value:function(e){var t=this.parser.input(e,this.state),n=t.digits;if(t.justLeadingPlus)this.formattedOutput=`+`;else if(n){this.determineTheCountryIfNeeded(),this.state.nationalSignificantNumber&&this.formatter.narrowDownMatchingFormats(this.state);var r;if(this.metadata.hasSelectedNumberingPlan()&&(r=this.formatter.format(n,this.state)),r===void 0&&this.parser.reExtractNationalSignificantNumber(this.state)){this.determineTheCountryIfNeeded();var i=this.state.getNationalDigits();i&&(r=this.formatter.format(i,this.state))}this.formattedOutput=r?this.getFullNumber(r):this.getNonFormattedNumber()}return this.formattedOutput}},{key:`reset`,value:function(){var e=this;return this.state=new Nm({onCountryChange:function(t){e.country=t},onCallingCodeChange:function(t,n){e.metadata.selectNumberingPlan(n||t),e.formatter.reset(e.metadata.numberingPlan,e.state),e.parser.reset(e.metadata.numberingPlan)}}),this.formatter=new Mh({state:this.state,metadata:this.metadata}),this.parser=new Xh({defaultCountry:this.defaultCountry,defaultCallingCode:this.defaultCallingCode,metadata:this.metadata,state:this.state,onNationalSignificantNumberChange:function(){e.determineTheCountryIfNeeded(),e.formatter.reset(e.metadata.numberingPlan,e.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(){if(this.state.digits)return this._getCountry()}},{key:`_getCountry`,value:function(){var e=this.state.country;if(!(fg&&e===`001`))return e}},{key:`determineTheCountryIfNeeded`,value:function(){(!this.state.country||this.isCountryCallingCodeAmbiguous())&&this.determineTheCountry()}},{key:`getFullNumber`,value:function(e){var t=this;if(this.isInternational()){var n=function(e){return t.formatter.getInternationalPrefixBeforeCountryCallingCode(t.state,{spacing:!!e})+e},r=this.state.callingCode;return n(r?e?`${r} ${e}`:r:`${this.state.getDigitsWithoutInternationalPrefix()}`)}return e}},{key:`getNonFormattedNationalNumberWithPrefix`,value:function(){var e=this.state,t=e.nationalSignificantNumber,n=e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix,r=e.nationalPrefix,i=t,a=n||r;return a&&(i=a+i),i}},{key:`getNonFormattedNumber`,value:function(){var e=this.state.nationalSignificantNumberIsModified;return this.getFullNumber(e?this.state.getNationalDigits():this.getNonFormattedNationalNumberWithPrefix())}},{key:`getNonFormattedTemplate`,value:function(){var e=this.getNonFormattedNumber();if(e)return e.replace(/[\+\d]/g,`x`)}},{key:`isCountryCallingCodeAmbiguous`,value:function(){var e=this.state.callingCode,t=this.metadata.getCountryCodesForCallingCode(e);return t&&t.length>1}},{key:`determineTheCountry`,value:function(){var e=of(this.isInternational()?this.state.callingCode:this.defaultCallingCode,{nationalNumber:this.state.nationalSignificantNumber,metadata:this.metadata});e!==this.state.country&&(this.state.setCountry(e),e&&this.metadata.selectNumberingPlan(e))}},{key:`getNumberValue`,value:function(){var e=this.state,t=e.digits,n=e.callingCode,r=e.country,i=e.nationalSignificantNumber;if(t){if(this.isInternational())return n?`+`+n+i:`+`+t;if(r||n)return`+`+(r?this.metadata.countryCallingCode():n)+i}}},{key:`getNumber`,value:function(){var e=this.state,t=e.nationalSignificantNumber,n=e.carrierCode,r=e.callingCode;if(t){var i=this._getCountry();if(!(!i&&!r)){if(i&&i===this.defaultCountry){var a=mg(this.metadata.numberingPlan.callingCode(),t,this.metadata);a&&(i=a)}var o=new Gf(i||r,t,this.metadata.metadata);return n&&(o.carrierCode=n),o}}}},{key:`isPossible`,value:function(){var e=this.getNumber();return e?e.isPossible():!1}},{key:`isValid`,value:function(){var e=this.getNumber();return e?e.isValid():!1}},{key:`validateLength`,value:function(){var e=this.state,t=e.digits,n=e.nationalSignificantNumber;if(!t)return`NOT_A_NUMBER`;if(!this.metadata.numberingPlan)return`INVALID_COUNTRY`;if(!n)return`TOO_SHORT`;var r=Ad(n,void 0,this.metadata);if(r!==`IS_POSSIBLE`)return r}},{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()||``}}])}();function mg(e,t,n){var r=n.getCountryCodesForCallingCode(e);if(r.length>1)return rf(t,r,n.metadata)}function hg(e){return new $(e).getCountries()}function gg(e,t,n){return n||(n=t,t=void 0),new pg(t,n).input(e)}var _g=d(hu(),1);function vg(e){var t=e.inputFormat,n=e.country,r=e.metadata;return t===`NATIONAL_PART_OF_INTERNATIONAL`?`+${Cd(n,r)}`:``}function yg(e,t){return t&&(e=e.slice(t.length),e[0]===` `&&(e=e.slice(1))),e}function bg(e,t,n){if(!(n&&n.ignoreRest))return Sp(e,t,function(e){if(n)switch(e){case`end`:n.ignoreRest=!0;break}})}function xg(e){var t=e.onKeyDown,n=e.inputFormat;return(0,f.useCallback)(function(e){if(e.keyCode===Cg&&n===`INTERNATIONAL`&&e.target instanceof HTMLInputElement&&Sg(e.target)===wg.length){e.preventDefault();return}t&&t(e)},[t,n])}function Sg(e){return e.selectionStart}var Cg=8,wg=`+`,Tg=[`onKeyDown`,`country`,`inputFormat`,`metadata`,`international`,`withCountryCallingCode`];function Eg(){return Eg=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},Eg.apply(this,arguments)}function Dg(e,t){if(e==null)return{};var n=Og(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 Og(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 kg(e){function t(t,n){var r=t.onKeyDown,i=t.country,a=t.inputFormat,o=t.metadata,s=o===void 0?e:o;t.international,t.withCountryCallingCode;var c=Dg(t,Tg),l=(0,f.useCallback)(function(e){var t=new pg(i,s),n=vg({inputFormat:a,country:i,metadata:s}),r=t.input(n+e),o=t.getTemplate();return n&&(r=yg(r,n),o&&=yg(o,n)),{text:r,template:o}},[i,s]),u=xg({onKeyDown:r,inputFormat:a});return f.default.createElement(td,Eg({},c,{ref:n,parse:bg,format:l,onKeyDown:u}))}return t=f.default.forwardRef(t),t.propTypes={value:Q.default.string.isRequired,onChange:Q.default.func.isRequired,onKeyDown:Q.default.func,country:Q.default.string,inputFormat:Q.default.oneOf([`INTERNATIONAL`,`NATIONAL_PART_OF_INTERNATIONAL`,`NATIONAL`,`INTERNATIONAL_OR_NATIONAL`]).isRequired,metadata:Q.default.object},t}var Ag=kg(),jg=[`value`,`onChange`,`onKeyDown`,`country`,`inputFormat`,`metadata`,`inputComponent`,`international`,`withCountryCallingCode`];function Mg(){return Mg=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},Mg.apply(this,arguments)}function Ng(e,t){if(e==null)return{};var n=Pg(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 Pg(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 Fg(e){function t(t,n){var r=t.value,i=t.onChange,a=t.onKeyDown,o=t.country,s=t.inputFormat,c=t.metadata,l=c===void 0?e:c,u=t.inputComponent,d=u===void 0?`input`:u;t.international,t.withCountryCallingCode;var p=Ng(t,jg),m=vg({inputFormat:s,country:o,metadata:l}),h=(0,f.useCallback)(function(e){var t=xp(e.target.value);t===r&&Lg(m,t,o,l).indexOf(e.target.value)===0&&(t=t.slice(0,-1)),i(t)},[m,r,i,o,l]),g=xg({onKeyDown:a,inputFormat:s});return f.default.createElement(d,Mg({},p,{ref:n,value:Lg(m,r,o,l),onChange:h,onKeyDown:g}))}return t=f.default.forwardRef(t),t.propTypes={value:Q.default.string.isRequired,onChange:Q.default.func.isRequired,onKeyDown:Q.default.func,country:Q.default.string,inputFormat:Q.default.oneOf([`INTERNATIONAL`,`NATIONAL_PART_OF_INTERNATIONAL`,`NATIONAL`,`INTERNATIONAL_OR_NATIONAL`]).isRequired,metadata:Q.default.object,inputComponent:Q.default.elementType},t}var Ig=Fg();function Lg(e,t,n,r){return yg(gg(e+t,n,r),e)}function Rg(e){return zg(e[0])+zg(e[1])}function zg(e){return String.fromCodePoint(127397+e.toUpperCase().charCodeAt(0))}var Bg=[`value`,`onChange`,`options`,`disabled`,`readOnly`],Vg=[`value`,`options`,`className`,`iconComponent`,`getIconAspectRatio`,`arrowComponent`,`unicodeFlags`];function Hg(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=Ug(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 TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
32
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ug(e,t){if(e){if(typeof e==`string`)return Wg(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 Wg(e,t)}}function Wg(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Gg(){return Gg=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},Gg.apply(this,arguments)}function Kg(e,t){if(e==null)return{};var n=qg(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 qg(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 Jg(e){var t=e.value,n=e.onChange,r=e.options,i=e.disabled,a=e.readOnly,o=Kg(e,Bg),s=(0,f.useCallback)(function(e){var t=e.target.value;n(t===`ZZ`?void 0:t)},[n]);return(0,f.useMemo)(function(){return Qg(r,t)},[r,t]),f.default.createElement(`select`,Gg({},o,{disabled:i||a,readOnly:a,value:t||`ZZ`,onChange:s}),r.map(function(e){var t=e.value,n=e.label,r=e.divider;return f.default.createElement(`option`,{key:r?`|`:t||`ZZ`,value:r?`|`:t||`ZZ`,disabled:!!r,style:r?Yg:void 0},n)}))}Jg.propTypes={value:Q.default.string,onChange:Q.default.func.isRequired,options:Q.default.arrayOf(Q.default.shape({value:Q.default.string,label:Q.default.string,divider:Q.default.bool})).isRequired,disabled:Q.default.bool,readOnly:Q.default.bool};var Yg={fontSize:`1px`,backgroundColor:`currentColor`,color:`inherit`};function Xg(e){var t=e.value,n=e.options,r=e.className,i=e.iconComponent;e.getIconAspectRatio;var a=e.arrowComponent,o=a===void 0?Zg:a,s=e.unicodeFlags,c=Kg(e,Vg),l=(0,f.useMemo)(function(){return Qg(n,t)},[n,t]);return f.default.createElement(`div`,{className:`PhoneInputCountry`},f.default.createElement(Jg,Gg({},c,{value:t,options:n,className:(0,_g.default)(`PhoneInputCountrySelect`,r)})),l&&(s&&t?f.default.createElement(`div`,{className:`PhoneInputCountryIconUnicode`},Rg(t)):f.default.createElement(i,{"aria-hidden":!0,country:t,label:l.label,aspectRatio:s?1:void 0})),f.default.createElement(o,null))}Xg.propTypes={iconComponent:Q.default.elementType,arrowComponent:Q.default.elementType,unicodeFlags:Q.default.bool};function Zg(){return f.default.createElement(`div`,{className:`PhoneInputCountrySelectArrow`})}function Qg(e,t){for(var n=Hg(e),r;!(r=n()).done;){var i=r.value;if(!i.divider&&$g(i.value,t))return i}}function $g(e,t){return e==null?t==null:e===t}var e_=[`country`,`countryName`,`flags`,`flagUrl`];function t_(){return t_=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},t_.apply(this,arguments)}function n_(e,t){if(e==null)return{};var n=r_(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 r_(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 i_(e){var t=e.country,n=e.countryName,r=e.flags,i=e.flagUrl,a=n_(e,e_);return r&&r[t]?r[t]({title:n}):f.default.createElement(`img`,t_({},a,{alt:n,role:n?void 0:`presentation`,src:i.replace(`{XX}`,t).replace(`{xx}`,t.toLowerCase())}))}i_.propTypes={country:Q.default.string.isRequired,countryName:Q.default.string.isRequired,flags:Q.default.objectOf(Q.default.elementType),flagUrl:Q.default.string.isRequired};var a_=[`aspectRatio`],o_=[`title`],s_=[`title`];function c_(){return c_=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},c_.apply(this,arguments)}function l_(e,t){if(e==null)return{};var n=u_(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 u_(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 d_(e){var t=e.aspectRatio,n=l_(e,a_);return t===1?f.default.createElement(p_,n):f.default.createElement(f_,n)}d_.propTypes={title:Q.default.string.isRequired,aspectRatio:Q.default.number};function f_(e){var t=e.title,n=l_(e,o_);return f.default.createElement(`svg`,c_({},n,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 75 50`}),f.default.createElement(`title`,null,t),f.default.createElement(`g`,{className:`PhoneInputInternationalIconGlobe`,stroke:`currentColor`,fill:`none`,strokeWidth:`2`,strokeMiterlimit:`10`},f.default.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.default.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.default.createElement(`line`,{x1:`26`,y1:`25`,x2:`74`,y2:`25`}),f.default.createElement(`line`,{x1:`50`,y1:`1`,x2:`50`,y2:`49`}),f.default.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.default.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.default.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`}))}f_.propTypes={title:Q.default.string.isRequired};function p_(e){var t=e.title,n=l_(e,s_);return f.default.createElement(`svg`,c_({},n,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 50 50`}),f.default.createElement(`title`,null,t),f.default.createElement(`g`,{className:`PhoneInputInternationalIconGlobe`,stroke:`currentColor`,fill:`none`,strokeWidth:`2`,strokeLinecap:`round`},f.default.createElement(`path`,{d:`M8.45,13A21.44,21.44,0,1,1,37.08,41.56`}),f.default.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.default.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.default.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.default.createElement(`line`,{x1:`27.8`,y1:`0.85`,x2:`27.8`,y2:`34.61`}),f.default.createElement(`line`,{x1:`15.2`,y1:`22.23`,x2:`49.15`,y2:`22.23`})),f.default.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`}))}p_.propTypes={title:Q.default.string.isRequired};function m_(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 h_(e){m_(e)||console.error("[react-phone-number-input] Expected the initial `value` to be a E.164 phone number. Got",e)}function g_(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=__(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 TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
33
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function __(e,t){if(e){if(typeof e==`string`)return v_(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 v_(e,t)}}function v_(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function y_(e,t){if(!t)return e;for(var n=[],r=[],i=n,a=function(){var t=s.value;if(t===`|`)i.push({divider:!0});else if(t===`...`||t===`…`)i=r;else{var n=t===`🌐`?void 0:t,a=e.indexOf(e.filter(function(e){return e.value===n})[0]),o=e[a];e.splice(a,1),i.push(o)}},o=g_(t),s;!(s=o()).done;)a();return n.concat(e).concat(r)}function b_(e,t){if(e&&(e=e.filter(function(e){switch(e){case`🌐`:case`|`:case`...`:case`…`:return!0;default:return x_(e,t)}}),e.length>0))return e}function x_(e,t){return wd(e,t)?!0:(console.error(`Country not found: ${e}`),!1)}function S_(e,t){return e&&(e=e.filter(function(e){return x_(e,t)}),e.length===0&&(e=void 0)),e}var C_=[`country`,`label`,`aspectRatio`];function w_(){return w_=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},w_.apply(this,arguments)}function T_(e,t){if(e==null)return{};var n=E_(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 E_(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 D_(e){var t=e.flags,n=e.flagUrl,r=e.flagComponent,i=e.internationalIcon;function a(e){var a=e.country,o=e.label,s=e.aspectRatio,c=T_(e,C_),l=i===d_?s:void 0;return f.default.createElement(`div`,w_({},c,{className:(0,_g.default)(`PhoneInputCountryIcon`,{"PhoneInputCountryIcon--square":l===1,"PhoneInputCountryIcon--border":a})}),a?f.default.createElement(r,{country:a,countryName:o,flags:t,flagUrl:n,className:`PhoneInputCountryIconImg`}):f.default.createElement(i,{title:o,aspectRatio:l,className:`PhoneInputCountryIconImg`}))}return a.propTypes={country:Q.default.string,label:Q.default.string.isRequired,aspectRatio:Q.default.number},a}D_({flagUrl:`https://purecatamphetamine.github.io/country-flag-icons/3x2/{XX}.svg`,flagComponent:i_,internationalIcon:d_});function O_(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=k_(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 TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
34
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function k_(e,t){if(e){if(typeof e==`string`)return A_(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 A_(e,t)}}function A_(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function j_(e,t){for(var n=O_(e),r;!(r=n()).done;){var i=r.value;i&&M_(i,t)}}function M_(e,t){typeof e==`function`?e(t):e.current=t}var N_=Q.default.shape({country_calling_codes:Q.default.object.isRequired,countries:Q.default.object.isRequired}),P_=Q.default.objectOf(Q.default.string);function F_(e,t){return`+`+Cd(e,t)}function I_(e){var t=e.value,n=e.phoneNumber,r=e.defaultCountry,i=e.getAnyCountry,a=e.countries,o=e.required,s=e.metadata,c;return n&&n.country?c=n.country:r&&(!t||Z_(t,r,s))&&(c=r),a&&a.indexOf(c)<0&&(c=void 0),!c&&o&&a&&a.length>0&&(c=i()),c}function L_(e){var t=e.countries,n=e.countryNames,r=e.addInternationalOption,i=e.compareStringsLocales,a=e.compareStrings;a||=J_;var o=t.map(function(e){return{value:e,label:n[e]||e}});return o.sort(function(e,t){return a(e.label,t.label,i)}),r&&o.unshift({label:n.ZZ}),o}function R_(e,t){return ym(e||``,t)}function z_(e){return e.formatNational().replace(/\D/g,``)}function B_(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?F_(r,i):``;if(r){if(e[0]===`+`){if(a)return e.indexOf(`+`+Cd(r,i))===0?Y_(e,r,i):``;if(n){var o=F_(r,i);return e.indexOf(o)===0?e:o}else{var s=F_(r,i);return e.indexOf(s)===0?e:s}}}else if(e[0]!==`+`)return V_(e,n,i)||``;return e}function V_(e,t,n){if(e){if(e[0]===`+`){if(e===`+`)return;var r=new pg(t,n);return r.input(e),r.getNumberValue()}if(t){var i=X_(e,t,n);return`+${Cd(t,n)}${i||``}`}}}function H_(e,t,n){var r=X_(e,t,n);if(r){var i=r.length-U_(t,n);if(i>0)return e.slice(0,e.length-i)}return e}function U_(e,t){return t=new $(t),t.selectNumberingPlan(e),t.numberingPlan.possibleLengths()[t.numberingPlan.possibleLengths().length-1]}function W_(e,t){var n=t.country,r=t.countries,i=t.defaultCountry,a=t.latestCountrySelectedByUser,o=t.required,s=t.metadata;if(e===`+`)return n;var c=q_(e,s);if(c)return!r||r.indexOf(c)>=0?c:void 0;if(n){if(Z_(e,n,s)){if(a&&Z_(e,a,s))return a;if(i&&Z_(e,i,s))return i;if(!o)return}else if(!o)return}return n}function G_(e,t){var n=t.prevPhoneDigits,r=t.country,i=t.defaultCountry,a=t.latestCountrySelectedByUser,o=t.countryRequired,s=t.getAnyCountry,c=t.countries,l=t.international,u=t.limitMaxLength,d=t.countryCallingCodeEditable,f=t.metadata;if(l&&d===!1&&r){var p=F_(r,f);if(e.indexOf(p)!==0){var m;return e&&e[0]!==`+`?(e=p+e,m=V_(e,r,f)):e=p,{phoneDigits:e,value:m,country:r}}}l===!1&&r&&e&&e[0]===`+`&&(e=K_(e,r,f)),e&&r&&u&&(e=H_(e,r,f)),e&&e[0]!==`+`&&(!r||l)&&(e=`+`+e),!e&&n&&n[0]===`+`&&(r=l?void 0:i),e===`+`&&n&&n[0]===`+`&&n.length>1&&(r=void 0);var h;return e&&(h=e[0]===`+`&&(e===`+`||r&&F_(r,f).indexOf(e)===0)?void 0:V_(e,r,f)),h&&(r=W_(h,{country:r,countries:c,defaultCountry:i,latestCountrySelectedByUser:a,required:!1,metadata:f}),l===!1&&r&&e&&e[0]===`+`&&(e=K_(e,r,f),h=V_(e,r,f))),!r&&o&&(r=i||s()),{phoneDigits:e,country:r,value:h}}function K_(e,t,n){if(e.indexOf(F_(t,n))===0){var r=new pg(t,n);r.input(e);var i=r.getNumber();return i?i.formatNational().replace(/\D/g,``):``}else return e.replace(/\D/g,``)}function q_(e,t){var n=new pg(null,t);return n.input(e),n.getCountry()}function J_(e,t,n){return String.prototype.localeCompare?e.localeCompare(t,n):e<t?-1:+(e>t)}function Y_(e,t,n){if(t){var r=`+`+Cd(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 o=a[i];if(e.indexOf(o)===1)return e.slice(1+o.length)}return``}function X_(e,t,n){var r=new pg(t,n);r.input(e);var i=r.getNumber();return i&&i.nationalNumber}function Z_(e,t,n){for(var r=F_(t,n),i=0;i<e.length&&i<r.length;){if(e[i]!==r[i])return!1;i++}return!0}function Q_(e){var t=e.value,n=e.phoneNumber,r=e.defaultCountry,i=e.international,a=e.useNationalFormat,o=e.metadata;return(i===!1||a)&&n&&n.country?z_(n):!t&&i&&r?F_(r,o):t}function $_(e){"@babel/helpers - typeof";return $_=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},$_(e)}function ev(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tv(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?ev(Object(n),!0).forEach(function(t){nv(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ev(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function nv(e,t,n){return t=rv(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rv(e){var t=iv(e,`string`);return $_(t)==`symbol`?t:t+``}function iv(e,t){if($_(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if($_(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function av(e,t,n){var r=e.metadata,i=e.countries,a=e.defaultCountry,o=e.value,s=e.reset,c=e.international,l=e.displayInitialValueAsLocalNumber,u=e.initialValueFormat,d=t.defaultCountry,f=t.value,p=t.reset;n.country;var m=n.value,h=n.hasUserSelectedACountry,g=n.latestCountrySelectedByUser,_=function(e){return Q_(tv(tv({},e),{},{international:c,useNationalFormat:l||u===`national`,metadata:r}))};if(s!==p)return{phoneDigits:_({value:void 0,defaultCountry:a}),value:void 0,country:a,latestCountrySelectedByUser:void 0,hasUserSelectedACountry:void 0};if(a!==d){var v=!a||x_(a,r),y=!m||c&&m===_({value:void 0,defaultCountry:d});if(!h&&v&&!o&&y)return{country:a,phoneDigits:_({value:void 0,defaultCountry:a}),value:void 0}}if(!ov(o,f)&&!ov(o,m)){var b,x;if(o){o&&h_(o),b=R_(o,r);var S=S_(i,r);b&&b.country?(!S||S.indexOf(b.country)>=0)&&(x=b.country):(x=W_(o,{country:void 0,countries:S,metadata:r}),x||a&&o.indexOf(F_(a,r))===0&&(x=a))}var C;return o?g&&((x?g===x:Z_(o,g,r))?x||=g:C={latestCountrySelectedByUser:void 0}):C={latestCountrySelectedByUser:void 0,hasUserSelectedACountry:void 0},tv(tv({},C),{},{phoneDigits:_({phoneNumber:b,value:o,defaultCountry:a}),value:o,country:o?x:a})}}function ov(e,t){return e===null&&(e=void 0),t===null&&(t=void 0),e===t}var sv=`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`.split(`.`);function cv(e){"@babel/helpers - typeof";return cv=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},cv(e)}function lv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function uv(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?lv(Object(n),!0).forEach(function(t){wv(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lv(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function dv(){return dv=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},dv.apply(this,arguments)}function fv(e,t){if(e==null)return{};var n=pv(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 pv(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 mv(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function hv(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,Tv(r.key),r)}}function gv(e,t,n){return t&&hv(e.prototype,t),n&&hv(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function _v(e,t,n){return t=xv(t),vv(e,bv()?Reflect.construct(t,n||[],xv(e).constructor):t.apply(e,n))}function vv(e,t){if(t&&(cv(t)===`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return yv(e)}function yv(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function bv(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(bv=function(){return!!e})()}function xv(e){return xv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},xv(e)}function Sv(e,t){if(typeof t!=`function`&&t!==null)throw 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&&Cv(e,t)}function Cv(e,t){return Cv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Cv(e,t)}function wv(e,t,n){return t=Tv(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tv(e){var t=Ev(e,`string`);return cv(t)==`symbol`?t:t+``}function Ev(e,t){if(cv(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(cv(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Dv=function(e){function t(e){var n;mv(this,t),n=_v(this,t,[e]),wv(n,`setInputRef`,function(e){j_([n.props.inputRef,n.inputRef],e)}),wv(n,`isCountrySupportedWithError`,function(e){var t=n.props.metadata;return x_(e,t)}),wv(n,`onCountryChange`,function(e){var t=n.props,r=t.international,i=t.metadata,a=t.onChange,o=t.focusInputOnCountrySelection,s=n.state,c=s.phoneDigits,l=s.country,u=B_(c,{prevCountry:l,newCountry:e,metadata:i,useNationalFormat:!r}),d=V_(u,e,i);o&&n.inputRef.current.focus(),n.setState({country:e,latestCountrySelectedByUser:e,hasUserSelectedACountry:!0,phoneDigits:u,value:d},function(){a(d)})}),wv(n,`onChange`,function(e){var t=n.props,r=t.defaultCountry,i=t.onChange,a=t.addInternationalOption,o=t.international,s=t.limitMaxLength,c=t.countryCallingCodeEditable,l=t.metadata,u=n.state,d=u.countries,f=u.phoneDigits,p=u.country,m=u.latestCountrySelectedByUser,h=G_(e,{prevPhoneDigits:f,country:p,countryRequired:!a,defaultCountry:r,latestCountrySelectedByUser:m,getAnyCountry:function(){return n.getFirstSupportedCountry({countries:d})},countries:d,international:o,limitMaxLength:s,countryCallingCodeEditable:c,metadata:l}),g=h.phoneDigits,_=h.country,v=h.value,y={phoneDigits:g,value:v,country:_};m&&v&&!Z_(v,m,l)&&(y.latestCountrySelectedByUser=void 0),c===!1&&!v&&g===n.state.phoneDigits&&(y.forceRerender={}),n.setState(y,function(){return i(v)})}),wv(n,`_onFocus`,function(){return n.setState({isFocused:!0})}),wv(n,`_onBlur`,function(){return n.setState({isFocused:!1})}),wv(n,`onFocus`,function(e){n._onFocus();var t=n.props.onFocus;t&&t(e)}),wv(n,`onBlur`,function(e){var t=n.props.onBlur;n._onBlur(),t&&t(e)}),wv(n,`onCountryFocus`,function(e){n._onFocus();var t=n.props.countrySelectProps;if(t){var r=t.onFocus;r&&r(e)}}),wv(n,`onCountryBlur`,function(e){n._onBlur();var t=n.props.countrySelectProps;if(t){var r=t.onBlur;r&&r(e)}}),n.inputRef=f.default.createRef();var r=n.props,i=r.value;r.labels;var a=r.international,o=r.addInternationalOption,s=r.displayInitialValueAsLocalNumber,c=r.initialValueFormat,l=r.metadata,u=n.props,d=u.defaultCountry,p=u.countries;d&&(n.isCountrySupportedWithError(d)||(d=void 0)),i&&h_(i),p=S_(p,l);var m=R_(i,l);n.CountryIcon=D_(n.props);var h=I_({value:i,phoneNumber:m,defaultCountry:d,required:!o,countries:p||hg(l),getAnyCountry:function(){return n.getFirstSupportedCountry({countries:p})},metadata:l});return n.state={props:n.props,country:h,countries:p,phoneDigits:Q_({value:i,phoneNumber:m,defaultCountry:d,international:a,useNationalFormat:s||c===`national`,metadata:l}),value:i},n}return Sv(t,e),gv(t,[{key:`componentDidMount`,value:function(){var e=this.props.onCountryChange,t=this.props.defaultCountry,n=this.state.country;e&&(t&&(this.isCountrySupportedWithError(t)||(t=void 0)),n!==t&&e(n))}},{key:`componentDidUpdate`,value:function(e,t){var n=this.props.onCountryChange,r=this.state.country;n&&r!==t.country&&n(r)}},{key:`getCountrySelectOptions`,value:function(e){var t=e.countries,n=this.props,r=n.international,i=n.countryCallingCodeEditable,a=n.countryOptionsOrder,o=n.addInternationalOption,s=n.labels,c=n.locales,l=n.metadata;return this.useMemoCountrySelectOptions(function(){return y_(L_({countries:t||hg(l),countryNames:s,addInternationalOption:r&&i===!1?!1:o,compareStringsLocales:c}),b_(a,l))},[t,a,o,s,l])}},{key:`useMemoCountrySelectOptions`,value:function(e,t){return(!this.countrySelectOptionsMemoDependencies||!jv(t,this.countrySelectOptionsMemoDependencies))&&(this.countrySelectOptionsMemo=e(),this.countrySelectOptionsMemoDependencies=t),this.countrySelectOptionsMemo}},{key:`getFirstSupportedCountry`,value:function(e){var t=e.countries;return this.getCountrySelectOptions({countries:t})[0].value}},{key:`render`,value:function(){var e=this.props,t=e.name,n=e.disabled,r=e.readOnly,i=e.autoComplete,a=e.style,o=e.className;e.inputRef;var s=e.inputComponent,c=e.numberInputProps,l=e.smartCaret,u=e.countrySelectComponent,d=e.countrySelectProps,p=e.containerComponent,m=e.containerComponentProps;e.defaultCountry,e.countries,e.countryOptionsOrder;var h=e.labels;e.flags,e.flagComponent,e.flagUrl,e.addInternationalOption,e.internationalIcon,e.displayInitialValueAsLocalNumber,e.initialValueFormat,e.onCountryChange,e.limitMaxLength,e.countryCallingCodeEditable,e.focusInputOnCountrySelection,e.reset;var g=e.metadata,_=e.international;e.locales;var v=fv(e,sv),y=this.state,b=y.country,x=y.countries,S=y.phoneDigits,C=y.isFocused,w=l?Ag:Ig,T=this.getCountrySelectOptions({countries:x});return f.default.createElement(p,dv({style:a,className:(0,_g.default)(o,`PhoneInput`,{"PhoneInput--focus":C,"PhoneInput--disabled":n,"PhoneInput--readOnly":r})},m),f.default.createElement(u,dv({name:t?`${t}Country`:void 0,"aria-label":h.country},d,{value:b,options:T,onChange:this.onCountryChange,onFocus:this.onCountryFocus,onBlur:this.onCountryBlur,disabled:n||d&&d.disabled,readOnly:r||d&&d.readOnly,iconComponent:this.CountryIcon})),f.default.createElement(w,dv({ref:this.setInputRef,type:`tel`,autoComplete:i},c,v,{inputFormat:_===!0?`INTERNATIONAL`:_===!1?`NATIONAL`:`INTERNATIONAL_OR_NATIONAL`,international:_?!0:void 0,withCountryCallingCode:_?!0:void 0,name:t,metadata:g,country:b,value:S||``,onChange:this.onChange,onFocus:this.onFocus,onBlur:this.onBlur,disabled:n,readOnly:r,inputComponent:s,className:(0,_g.default)(`PhoneInputInput`,c&&c.className,v.className)})))}}],[{key:`getDerivedStateFromProps`,value:function(e,t){return uv({props:e},av(e,t.props,t))}}])}(f.default.PureComponent),Ov=f.default.forwardRef(function(e,t){return f.default.createElement(Dv,dv({},Av(e),{inputRef:t}))});Ov.propTypes={value:Q.default.string,onChange:Q.default.func.isRequired,onFocus:Q.default.func,onBlur:Q.default.func,disabled:Q.default.bool,readOnly:Q.default.bool,autoComplete:Q.default.string,initialValueFormat:Q.default.oneOf([`national`]),displayInitialValueAsLocalNumber:Q.default.bool,defaultCountry:Q.default.string,countries:Q.default.arrayOf(Q.default.string),labels:P_,locales:Q.default.oneOfType([Q.default.string,Q.default.arrayOf(Q.default.string)]),flagUrl:Q.default.string,flags:Q.default.objectOf(Q.default.elementType),flagComponent:Q.default.elementType,addInternationalOption:Q.default.bool,internationalIcon:Q.default.elementType,countryOptionsOrder:Q.default.arrayOf(Q.default.string),style:Q.default.object,className:Q.default.string,countrySelectComponent:Q.default.elementType,countrySelectProps:Q.default.object,inputComponent:Q.default.elementType,numberInputProps:Q.default.object,containerComponent:Q.default.elementType,containerComponentProps:Q.default.object,smartCaret:Q.default.bool,international:Q.default.bool,limitMaxLength:Q.default.bool,countryCallingCodeEditable:Q.default.bool,metadata:N_,onCountryChange:Q.default.func,focusInputOnCountrySelection:Q.default.bool};var kv={autoComplete:`tel`,countrySelectComponent:Xg,flagComponent:i_,flagUrl:`https://purecatamphetamine.github.io/country-flag-icons/3x2/{XX}.svg`,internationalIcon:d_,inputComponent:`input`,containerComponent:`div`,reset:Q.default.any,smartCaret:!0,addInternationalOption:!0,countryCallingCodeEditable:!0,focusInputOnCountrySelection:!0};function Av(e){for(var t in e=uv({},e),kv)e[t]===void 0&&(e[t]=kv[t]);return e}function jv(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}var Mv={ext:`ext.`,country:`Phone number country`,phone:`Phone`,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`,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`,XA:`Abkhazia`,XK:`Kosovo`,XO:`South Ossetia`,YE:`Yemen`,YT:`Mayotte`,ZA:`South Africa`,ZM:`Zambia`,ZW:`Zimbabwe`,ZZ:`International`},Nv=[`metadata`,`labels`];function Pv(){return Pv=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},Pv.apply(this,arguments)}function Fv(e,t){if(e==null)return{};var n=Iv(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 Iv(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 Lv(e){var t=f.default.forwardRef(function(t,n){var r=t.metadata,i=r===void 0?e:r,a=t.labels,o=a===void 0?Mv:a,s=Fv(t,Nv);return f.default.createElement(Ov,Pv({},s,{ref:n,metadata:i,labels:o}))});return t.propTypes={metadata:N_,labels:P_},t}Lv();function Rv(e,t){var n=Array.prototype.slice.call(t);return n.push(iu),e.apply(this,n)}Lv(iu);function zv(){return Rv(Em,arguments)}function Bv(){return Rv(hg,arguments)}function Vv(){return Rv(Cd,arguments)}var Hv=({countryShortName:e,required:t=!1,themeColor:n=``,onUpdate:r,placeholder:i=``,error:a=!1,validate:o=!0,id:s=``,phoneNumberValue:c=``,countryCodeFromURL:l=``,additionalClassName:u=``,type:d=`tel`,inputMode:p=`numeric`})=>{let[m,h]=(0,f.useState)(a),g=(0,f.useRef)(e&&e!==`001`?e:`US`);(0,f.useEffect)(()=>{if(l){let e=b(l);e&&(S(e),g.current=l)}},[l]);let _=(e,t)=>JSON.stringify(e)===JSON.stringify(t),y=Bv().sort((e,t)=>Mv[e]<Mv[t]?-1:+(Mv[e]>Mv[t])).map(e=>({label:e+` +`+Vv(e),value:e})),b=e=>y.find(t=>t.value==e),[x,S]=(0,f.useState)(()=>b(g.current)||null),C=e=>{g.current=e,S(b(e)),E(w.current)},w=(0,f.useRef)(c??``),T=e=>{let t=e.trim();return t&&g.current?/^(\d)\1*$/.test(e.trim())?!1:zv(`+${Vv(g.current)}${t}`):!0},E=(e,n=!1)=>{o||r({phoneNumber:e,countryCode:g.current,error:void 0,id:s,initialConsentChecked:n}),e=e.trim();let i=e?T(e)?void 0:`invalid`:t?`required`:void 0;h(!(!m&&i!==void 0)),r({phoneNumber:e,countryCode:g.current,error:i,id:s,initialConsentChecked:n})};return(0,v.jsx)(v.Fragment,{children:(0,v.jsxs)(`div`,{className:`${ru.phoneWrapper} ${u?.trim()||``}`,"data-testid":`phone-wrapper`,children:[(0,v.jsx)(`div`,{className:`${ru.countryCode} ouiCountryCode`,children:(0,v.jsx)(Jl,{selected:x,onSelect:C,"data-testid":`phone-select`,themeColor:n,children:(0,v.jsx)(`div`,{className:`${ru.phonNumberList} ouiPhonNumberList`,children:(0,v.jsx)(Yl,{setQuery:()=>{},"data-testid":`phone-select-options`,children:y.map(e=>(0,v.jsx)(Xl,{disable:!1,value:e.value,className:({active:t})=>`${t||_(x,e)?ru.active:``}`,"data-testid":`phone-select-option-${e.value}`,children:(0,v.jsx)(`div`,{className:`${ru.countryListText} ouiCountryListText`,children:(0,v.jsxs)(`span`,{children:[Mv[e.value],` +`,Vv(e.value)]})})},e.value))})})})}),(0,v.jsx)(`div`,{className:`${ru.phoneInputWrap} ouiPhoneInputWrap`,children:(0,v.jsx)(nu,{type:d,inputMode:p,"aria-labelledby":`phone-number`,placeholder:i,className:`${ru.phoneInput} ${m&&o?ru.serverError:``} ouiPhoneInput`,id:s,value:c??``,onBlur:e=>{w.current=e.target.value.trim()},onChange:e=>{w.current=e.target.value,E(w.current)},"data-testid":`phone-input`,themeColor:n})})]})})},Uv={progress:`_progress_1piqy_1`,"progress-bar":`_progress-bar_1piqy_9`},Wv=({value:e,mode:t,strokeWidth:n=4,barColor:r=`#1976d2`,trackColor:i=`rgba(25,118,210,0.3)`})=>{let a=t??(e==null?`indeterminate`:`determinate`),o=(0,f.useMemo)(()=>a===`determinate`&&e!=null?Math.max(0,Math.min(100,e)):0,[a,e]);return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(`div`,{className:Uv.progress,role:`progressbar`,"aria-valuemin":a===`determinate`?0:void 0,"aria-valuemax":a===`determinate`?100:void 0,"aria-valuenow":a===`determinate`?o:void 0,style:{height:n,backgroundColor:i},children:(0,v.jsx)(`div`,{className:Uv[`progress-bar`],style:{height:n,width:a===`determinate`?`${o}%`:void 0,backgroundColor:r,animationName:a===`indeterminate`?`loading`:void 0,left:a===`indeterminate`?-200:0}})}),(0,v.jsx)(`style`,{children:`
|
|
88
35
|
@keyframes loading {
|
|
89
36
|
0% {
|
|
90
37
|
left: -200px;
|
|
@@ -106,5 +53,5 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
106
53
|
left: 100%;
|
|
107
54
|
}
|
|
108
55
|
}
|
|
109
|
-
`})]})},
|
|
110
|
-
//# sourceMappingURL=ui-react.umd.js.map
|
|
56
|
+
`})]})},Gv={radioWrapper:`_radioWrapper_e4gpr_1`,radioBtnBox:`_radioBtnBox_e4gpr_4`,radioBtnLabel:`_radioBtnLabel_e4gpr_7`,radioBtnInsideLabel:`_radioBtnInsideLabel_e4gpr_10`,radioBtnInput:`_radioBtnInput_e4gpr_13`,radioBtnAvatar:`_radioBtnAvatar_e4gpr_16`,radioBtnText:`_radioBtnText_e4gpr_23`,radioBtnCircle:`_radioBtnCircle_e4gpr_27`,radioBtnChecked:`_radioBtnChecked_e4gpr_30`,radioBtnCircleInside:`_radioBtnCircleInside_e4gpr_33`};e.AutoComplete=Ql,e.AutoCompleteOption=eu,e.AutoCompleteOptions=$l,e.Button=y,e.Checkbox=S,e.ColorsService=h,e.MultiLineInput=E,e.MultiSelect=A,e.MultiSelectWithCount=M,e.Phone=Hv,e.ProgressBar=Wv,e.QuickMultiSelect=P,e.QuickSelect=I,e.Radio=({themeColor:e,name:t,checked:n,onChange:r,option:i})=>{let a=e?.toLowerCase()===`#ffffff`?`#c8c8c8`:e,o=e=>{r(e)};return(0,v.jsx)(`div`,{className:Gv.radioWrapper,children:(0,v.jsx)(`div`,{className:Gv.radioBtnBox,children:(0,v.jsxs)(`label`,{htmlFor:i.value,className:Gv.radioBtnLabel,children:[(0,v.jsxs)(`div`,{className:Gv.radioBtnInsideLabel,children:[(0,v.jsx)(`input`,{type:`radio`,id:i.value,name:t,value:i.value,checked:n,onChange:()=>o(i),className:Gv.radioBtnInput}),(0,v.jsx)(`span`,{className:`${Gv.radioBtnCircle} ${n?Gv.radioBtnChecked:``}`,style:{borderColor:n?a:`#C8C8C8`},children:n&&(0,v.jsx)(`span`,{className:Gv.radioBtnCircleInside,style:{backgroundColor:a}})})]}),i.avatar&&(0,v.jsx)(`div`,{className:Gv.radioBtnAvatar,children:(0,v.jsx)(`img`,{"aria-hidden":!0,src:i.avatar,width:20,height:20,alt:`Location icon`,className:Gv.radioBtnAvatarImg})}),(0,v.jsx)(`div`,{className:Gv.radioBtnText,children:i.label})]})})})},e.Scrollbar=R,e.Select=Jl,e.SelectOption=Xl,e.SelectOptions=Yl,e.SingleLineInput=nu});
|
|
57
|
+
//# sourceMappingURL=ui-react.umd.js.map
|