@oncehub/ui-react 2.1.2-beta.14 → 2.1.2-beta.15
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 +941 -942
- package/dist/ui-react.es.js.map +1 -1
- package/dist/ui-react.umd.js +26 -26
- package/dist/ui-react.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/ui-react.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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}}body{font-family:Arial,sans-serif}._multiSelectContainer_oedl1_5,._multiSelectContainer_oedl1_5 ._listOptionsWrap_oedl1_8{position:relative;width:100%}._multiSelectContainer_oedl1_5 ._listOptionsWrap_oedl1_8 ._selectedValuesWrap_oedl1_11{position:relative;height:38px;width:100%}._multiSelectContainer_oedl1_5 ._listOptionsWrap_oedl1_8 ._selectedValuesWrap_oedl1_11 ._selectedValues_oedl1_11{position:relative;box-sizing:border-box;display:block;height:100%;width:100%;cursor:pointer;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-right:2.25rem;padding-top:.5rem;font-size:14px;line-height:20px;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._multiSelectContainer_oedl1_5 ._listOptionsWrap_oedl1_8 ._selectedValuesWrap_oedl1_11 ._selectedValues_oedl1_11::placeholder{--tw-placeholder-opacity: 1;color:rgb(102 102 102 / var(--tw-placeholder-opacity, 1))}._multiSelectContainer_oedl1_5 ._listOptionsWrap_oedl1_8 ._selectedValuesWrap_oedl1_11 ._selectedValues_oedl1_11:focus-within{outline:2px solid transparent;outline-offset:2px}._multiSelectContainer_oedl1_5 ._listOptionsWrap_oedl1_8 ._selectedValuesWrap_oedl1_11 ._selectedValues_oedl1_11:focus{padding-bottom:7px}._multiSelectContainer_oedl1_5 ._listOptionsWrap_oedl1_8 ._selectedValuesWrap_oedl1_11 ._selectedValues_oedl1_11:focus-visible{outline:2px solid transparent;outline-offset:2px}._multiSelectContainer_oedl1_5 ._listOptionsWrap_oedl1_8 ._selectedValuesWrap_oedl1_11 ._selectedValues_oedl1_11._countShow_oedl1_17{padding-right:75px}._multiSelectContainer_oedl1_5 ._listOptionsWrap_oedl1_8 ._selectedValuesWrap_oedl1_11 ._selectedValues_oedl1_11:focus{border-bottom:2px solid var(--theme-color, #006bb1)}._multiSelectContainer_oedl1_5 ._listOptionsWrap_oedl1_8 ._selectedValuesWrap_oedl1_11 ._selectedValues_oedl1_11._focused_oedl1_23{padding-bottom:7px;outline:2px solid transparent;outline-offset:2px}._multiSelectContainer_oedl1_5 ._listOptionsWrap_oedl1_8 ._selectedValuesWrap_oedl1_11 ._selectedValues_oedl1_11._placeholder_oedl1_26{--tw-text-opacity: 1;color:rgb(102 102 102 / var(--tw-text-opacity, 1))}._multiSelectContainer_oedl1_5 ._listOptionsWrap_oedl1_8 ._selectedValuesWrap_oedl1_11 ._selectedValues_oedl1_11._rounded_oedl1_29{margin-top:1px;height:2.25rem;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_oedl1_5 ._listOptionsWrap_oedl1_8 ._selectedValuesWrap_oedl1_11 ._selectedValues_oedl1_11._rounded_oedl1_29._focused_oedl1_23,._multiSelectContainer_oedl1_5 ._listOptionsWrap_oedl1_8 ._selectedValuesWrap_oedl1_11 ._selectedValues_oedl1_11._rounded_oedl1_29:hover,._multiSelectContainer_oedl1_5 ._listOptionsWrap_oedl1_8 ._selectedValuesWrap_oedl1_11 ._selectedValues_oedl1_11._rounded_oedl1_29:focus-visible{border-color:var(--theme-color, #006bb1);box-shadow:0 0 0 1px var(--theme-color, #006bb1)}._multiSelectContainer_oedl1_5 ._listOptionsWrap_oedl1_8 ._selectedValuesWrap_oedl1_11 ._selectedValues_oedl1_11._rounded_oedl1_29._selected_oedl1_11{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_oedl1_5 ._listOptionsWrap_oedl1_8 ._selectedValuesWrap_oedl1_11 ._selectedValues_oedl1_11._rounded_oedl1_29._selected_oedl1_11:hover{background-color:color-mix(in srgb,var(--theme-color, #006bb1) 36%,transparent)}._multiSelectContainer_oedl1_5 ._listOptionsWrap_oedl1_8 ._selectedValuesWrap_oedl1_11 ._selectedCount_oedl1_44{position:absolute;right:38px;top:50%;display:flex;height:22px;--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));align-items:center;justify-content:center;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_oedl1_5 ._listOptionsWrap_oedl1_8 ._selectedValuesWrap_oedl1_11 ._dropDownIcon_oedl1_48{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_oedl1_52{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_oedl1_52:focus{outline:2px solid transparent;outline-offset:2px}@media (max-width: 767px){._optionsListContainer_oedl1_52{max-width:320px}}._optionsListContainer_oedl1_52._top_oedl1_55{transform:translateY(calc(-100% - 40px))}._optionsListContainer_oedl1_52 ._optionsListWrap_oedl1_58{max-height:225px;overflow:auto;padding-top:1rem;padding-bottom:1rem}._optionsListContainer_oedl1_52 ._optionsListWrap_oedl1_58 ._searchInputWrap_oedl1_61{margin-bottom:.5rem;height:2.5rem;padding-left:10px;padding-right:10px}._optionsListContainer_oedl1_52 ._optionsListWrap_oedl1_58 ._searchInputWrap_oedl1_61 ._searchInput_oedl1_61{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_oedl1_52 ._optionsListWrap_oedl1_58 ul{margin:0;padding:0}._optionsListContainer_oedl1_52 ._optionsListWrap_oedl1_58 ._optionsList_oedl1_52{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_oedl1_52 ._optionsListWrap_oedl1_58 ._optionsList_oedl1_52 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_oedl1_52 ._optionsListWrap_oedl1_58 ._optionsList_oedl1_52:hover,._optionsListContainer_oedl1_52 ._optionsListWrap_oedl1_58 ._optionsList_oedl1_52._focused_oedl1_23{--tw-bg-opacity: 1;background-color:rgb(238 238 238 / var(--tw-bg-opacity, 1))}._optionsListContainer_oedl1_52 ._btnContainer_oedl1_83{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_oedl1_52 ._btnContainer_oedl1_83 ._hiddenButton_oedl1_86{position:absolute;left:-9999px;height:0px;width:0px;opacity:0}._optionsListContainer_oedl1_52 ::-webkit-scrollbar{width:6px}._optionsListContainer_oedl1_52 ::-webkit-scrollbar-thumb{background-color:#a9a9a9;border-radius:6px}._announcement_oedl1_99{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_c79hj_1,._select_c79hj_1 ._selectContainer_c79hj_4{position:relative}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7{position:relative;box-sizing:border-box;height:2.5rem;width:100%;cursor:pointer;border-left-width:0px;border-right-width:0px;border-bottom-width:1px;border-top-width:1px;border-style:solid;border-top-color:transparent;--tw-border-opacity: 1;border-bottom-color:rgb(51 51 51 / var(--tw-border-opacity, 1));background-color:transparent;padding-top:.375rem;padding-bottom:.375rem;padding-left:10px;padding-right:2rem;text-align:left;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7:focus{border-bottom-width:2px;border-top-width:2px;--tw-border-opacity: 1;border-bottom-color:rgb(0 107 177 / var(--tw-border-opacity, 1));padding-top:5px;padding-bottom:5px;outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7._open_c79hj_13{border-bottom-width:2px;border-top-width:2px;--tw-border-opacity: 1;border-bottom-color:rgb(0 107 177 / var(--tw-border-opacity, 1))}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._selectValue_c79hj_16{display:flex;align-items:center}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._selectValue_c79hj_16 ._seletIcon_c79hj_19{margin-right:.5rem;height:1.25rem;width:1.25rem;flex-shrink:0}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._selectValue_c79hj_16 ._selectText_c79hj_22{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._chevronDownIconSpan_c79hj_25{pointer-events:none;position:absolute;top:0;bottom:0;right:0;display:flex;align-items:center;padding-right:.5rem}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._chevronDownIconSpan_c79hj_25 ._chevronDownIcon_c79hj_25{height:1.25rem;width:1.25rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._leave_c79hj_32{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,1,1)}._leaveFrom_c79hj_36{opacity:1}._leaveTo_c79hj_40{opacity:0}._selectOptions_c79hj_44{margin:0;max-height:200px;width:100%;list-style-type:none;overflow:auto;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:10px 0;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 1px 6px 0 rgba(0,0,0,.5);--tw-shadow-colored: 0 1px 6px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 640px){._selectOptions_c79hj_44{font-size:.875rem;line-height:1.25rem}}._selectOptions_c79hj_44::-webkit-scrollbar-thumb{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(169 169 169 / var(--tw-bg-opacity, 1))}._selectOptions_c79hj_44::-webkit-scrollbar{width:6px}._selectOptions_c79hj_44:focus{outline:2px solid transparent;outline-offset:2px}._autocomplete_1wp4j_1{position:relative}._autocomplete_1wp4j_1 ._autocompleteContainer_1wp4j_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_1wp4j_1 ._autocompleteContainer_1wp4j_4._disable_1wp4j_7{--tw-text-opacity: 1;color:rgb(167 167 167 / var(--tw-text-opacity, 1))}._autocomplete_1wp4j_1 ._autocompleteContainer_1wp4j_4:focus{outline:2px solid transparent;outline-offset:2px}._autocomplete_1wp4j_1 ._autocompleteContainer_1wp4j_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_1wp4j_1 ._autocompleteContainer_1wp4j_4 ._autocompleteInput_1wp4j_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_1wp4j_1 ._autocompleteContainer_1wp4j_4 ._autocompleteInput_1wp4j_16::placeholder{--tw-placeholder-opacity: 1;color:rgb(102 102 102 / var(--tw-placeholder-opacity, 1))}._autocomplete_1wp4j_1 ._autocompleteContainer_1wp4j_4 ._autocompleteInput_1wp4j_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_1wp4j_1 ._autocompleteContainer_1wp4j_4 ._autocompleteInput_1wp4j_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_1wp4j_1 ._autocompleteContainer_1wp4j_4 ._autocompleteInput_1wp4j_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_1wp4j_1 ._autocompleteContainer_1wp4j_4 ._autocompleteInput_1wp4j_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_1wp4j_1 ._autocompleteContainer_1wp4j_4 ._autocompleteInput_1wp4j_16[data-disabled]{cursor:not-allowed;--tw-text-opacity: 1;color:rgb(167 167 167 / var(--tw-text-opacity, 1))}._autocomplete_1wp4j_1 ._autocompleteContainer_1wp4j_4 ._autocompleteButton_1wp4j_32{position:absolute;top:0;bottom:0;right:0;display:flex;align-items:center;border-width:0px;background-color:transparent;padding-right:.5rem}._autocomplete_1wp4j_1 ._autocompleteContainer_1wp4j_4 ._autocompleteButton_1wp4j_32[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_1wp4j_1 ._autocompleteContainer_1wp4j_4 ._autocompleteButton_1wp4j_32[data-disabled]{cursor:not-allowed}._autocomplete_1wp4j_1 ._autocompleteContainer_1wp4j_4 ._autocompleteButton_1wp4j_32 ._chevronDownIcon_1wp4j_43{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_1wp4j_1 ._autocompleteContainer_1wp4j_4 ._autocompleteButton_1wp4j_32 ._chevronDownIcon_1wp4j_43._disable_1wp4j_7{--tw-text-opacity: 1;color:rgb(167 167 167 / var(--tw-text-opacity, 1))}._autocomplete_1wp4j_1 ._autocompleteContainer_1wp4j_4 ._autocompleteButton_1wp4j_32[data-open] ._chevronDownIcon_1wp4j_43{--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_1wp4j_53{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_1wp4j_57{opacity:1}._leaveTo_1wp4j_61{opacity:0}._autocompleteOptions_1wp4j_65{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_1wp4j_65{font-size:.875rem;line-height:1.25rem}}._autocompleteOptions_1wp4j_65::-webkit-scrollbar-thumb{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(169 169 169 / var(--tw-bg-opacity, 1))}._autocompleteOptions_1wp4j_65::-webkit-scrollbar{width:6px}._autocompleteOptions_1wp4j_65[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_1wp4j_65[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_1wp4j_65[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_1wp4j_65: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(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
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}}body{font-family:Arial,sans-serif}._multiSelectContainer_8ktgx_5,._multiSelectContainer_8ktgx_5 ._listOptionsWrap_8ktgx_8{position:relative;width:100%}._multiSelectContainer_8ktgx_5 ._listOptionsWrap_8ktgx_8 ._selectedValuesWrap_8ktgx_11{position:relative;height:38px;width:100%}._multiSelectContainer_8ktgx_5 ._listOptionsWrap_8ktgx_8 ._selectedValuesWrap_8ktgx_11 ._selectedValues_8ktgx_11{position:relative;box-sizing:border-box;display:block;height:100%;width:100%;cursor:pointer;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-right:2.25rem;padding-top:.5rem;font-size:14px;line-height:20px;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._multiSelectContainer_8ktgx_5 ._listOptionsWrap_8ktgx_8 ._selectedValuesWrap_8ktgx_11 ._selectedValues_8ktgx_11:focus-within{outline:2px solid transparent;outline-offset:2px}._multiSelectContainer_8ktgx_5 ._listOptionsWrap_8ktgx_8 ._selectedValuesWrap_8ktgx_11 ._selectedValues_8ktgx_11:focus{padding-bottom:7px}._multiSelectContainer_8ktgx_5 ._listOptionsWrap_8ktgx_8 ._selectedValuesWrap_8ktgx_11 ._selectedValues_8ktgx_11:focus-visible{outline:2px solid transparent;outline-offset:2px}._multiSelectContainer_8ktgx_5 ._listOptionsWrap_8ktgx_8 ._selectedValuesWrap_8ktgx_11 ._selectedValues_8ktgx_11._countShow_8ktgx_17{padding-right:75px}._multiSelectContainer_8ktgx_5 ._listOptionsWrap_8ktgx_8 ._selectedValuesWrap_8ktgx_11 ._selectedValues_8ktgx_11:focus{border-bottom:2px solid var(--theme-color, #006bb1)}._multiSelectContainer_8ktgx_5 ._listOptionsWrap_8ktgx_8 ._selectedValuesWrap_8ktgx_11 ._selectedValues_8ktgx_11._focused_8ktgx_23{padding-bottom:7px;outline:2px solid transparent;outline-offset:2px}._multiSelectContainer_8ktgx_5 ._listOptionsWrap_8ktgx_8 ._selectedValuesWrap_8ktgx_11 ._selectedValues_8ktgx_11._rounded_8ktgx_26{margin-top:1px;height:2.25rem;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_8ktgx_5 ._listOptionsWrap_8ktgx_8 ._selectedValuesWrap_8ktgx_11 ._selectedValues_8ktgx_11._rounded_8ktgx_26._focused_8ktgx_23,._multiSelectContainer_8ktgx_5 ._listOptionsWrap_8ktgx_8 ._selectedValuesWrap_8ktgx_11 ._selectedValues_8ktgx_11._rounded_8ktgx_26:hover,._multiSelectContainer_8ktgx_5 ._listOptionsWrap_8ktgx_8 ._selectedValuesWrap_8ktgx_11 ._selectedValues_8ktgx_11._rounded_8ktgx_26:focus-visible{border-color:var(--theme-color, #006bb1);box-shadow:0 0 0 1px var(--theme-color, #006bb1)}._multiSelectContainer_8ktgx_5 ._listOptionsWrap_8ktgx_8 ._selectedValuesWrap_8ktgx_11 ._selectedValues_8ktgx_11._rounded_8ktgx_26._selected_8ktgx_11{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_8ktgx_5 ._listOptionsWrap_8ktgx_8 ._selectedValuesWrap_8ktgx_11 ._selectedValues_8ktgx_11._rounded_8ktgx_26._selected_8ktgx_11:hover{background-color:color-mix(in srgb,var(--theme-color, #006bb1) 36%,transparent)}._multiSelectContainer_8ktgx_5 ._listOptionsWrap_8ktgx_8 ._selectedValuesWrap_8ktgx_11 ._selectedCount_8ktgx_41{position:absolute;right:38px;top:50%;display:flex;height:23px;--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));align-items:center;justify-content:center;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_8ktgx_5 ._listOptionsWrap_8ktgx_8 ._selectedValuesWrap_8ktgx_11 ._dropDownIcon_8ktgx_45{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_8ktgx_49{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_8ktgx_49:focus{outline:2px solid transparent;outline-offset:2px}@media (max-width: 767px){._optionsListContainer_8ktgx_49{max-width:320px}}._optionsListContainer_8ktgx_49._top_8ktgx_52{transform:translateY(calc(-100% - 40px))}._optionsListContainer_8ktgx_49 ._optionsListWrap_8ktgx_55{max-height:225px;overflow:auto;padding-top:1rem;padding-bottom:1rem}._optionsListContainer_8ktgx_49 ._optionsListWrap_8ktgx_55 ._searchInputWrap_8ktgx_58{margin-bottom:.5rem;height:2.5rem;padding-left:10px;padding-right:10px}._optionsListContainer_8ktgx_49 ._optionsListWrap_8ktgx_55 ._searchInputWrap_8ktgx_58 ._searchInput_8ktgx_58{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_8ktgx_49 ._optionsListWrap_8ktgx_55 ul{margin:0;padding:0}._optionsListContainer_8ktgx_49 ._optionsListWrap_8ktgx_55 ._optionsList_8ktgx_49{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_8ktgx_49 ._optionsListWrap_8ktgx_55 ._optionsList_8ktgx_49 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_8ktgx_49 ._optionsListWrap_8ktgx_55 ._optionsList_8ktgx_49:hover,._optionsListContainer_8ktgx_49 ._optionsListWrap_8ktgx_55 ._optionsList_8ktgx_49._focused_8ktgx_23{--tw-bg-opacity: 1;background-color:rgb(238 238 238 / var(--tw-bg-opacity, 1))}._optionsListContainer_8ktgx_49 ._btnContainer_8ktgx_80{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_8ktgx_49 ._btnContainer_8ktgx_80 ._hiddenButton_8ktgx_83{position:absolute;left:-9999px;height:0px;width:0px;opacity:0}._optionsListContainer_8ktgx_49 ::-webkit-scrollbar{width:6px}._optionsListContainer_8ktgx_49 ::-webkit-scrollbar-thumb{background-color:#a9a9a9;border-radius:6px}._announcement_8ktgx_96{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_c79hj_1,._select_c79hj_1 ._selectContainer_c79hj_4{position:relative}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7{position:relative;box-sizing:border-box;height:2.5rem;width:100%;cursor:pointer;border-left-width:0px;border-right-width:0px;border-bottom-width:1px;border-top-width:1px;border-style:solid;border-top-color:transparent;--tw-border-opacity: 1;border-bottom-color:rgb(51 51 51 / var(--tw-border-opacity, 1));background-color:transparent;padding-top:.375rem;padding-bottom:.375rem;padding-left:10px;padding-right:2rem;text-align:left;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7:focus{border-bottom-width:2px;border-top-width:2px;--tw-border-opacity: 1;border-bottom-color:rgb(0 107 177 / var(--tw-border-opacity, 1));padding-top:5px;padding-bottom:5px;outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7._open_c79hj_13{border-bottom-width:2px;border-top-width:2px;--tw-border-opacity: 1;border-bottom-color:rgb(0 107 177 / var(--tw-border-opacity, 1))}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._selectValue_c79hj_16{display:flex;align-items:center}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._selectValue_c79hj_16 ._seletIcon_c79hj_19{margin-right:.5rem;height:1.25rem;width:1.25rem;flex-shrink:0}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._selectValue_c79hj_16 ._selectText_c79hj_22{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._chevronDownIconSpan_c79hj_25{pointer-events:none;position:absolute;top:0;bottom:0;right:0;display:flex;align-items:center;padding-right:.5rem}._select_c79hj_1 ._selectContainer_c79hj_4 ._selectButton_c79hj_7 ._chevronDownIconSpan_c79hj_25 ._chevronDownIcon_c79hj_25{height:1.25rem;width:1.25rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._leave_c79hj_32{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,1,1)}._leaveFrom_c79hj_36{opacity:1}._leaveTo_c79hj_40{opacity:0}._selectOptions_c79hj_44{margin:0;max-height:200px;width:100%;list-style-type:none;overflow:auto;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:10px 0;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 1px 6px 0 rgba(0,0,0,.5);--tw-shadow-colored: 0 1px 6px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 640px){._selectOptions_c79hj_44{font-size:.875rem;line-height:1.25rem}}._selectOptions_c79hj_44::-webkit-scrollbar-thumb{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(169 169 169 / var(--tw-bg-opacity, 1))}._selectOptions_c79hj_44::-webkit-scrollbar{width:6px}._selectOptions_c79hj_44:focus{outline:2px solid transparent;outline-offset:2px}._autocomplete_1wp4j_1{position:relative}._autocomplete_1wp4j_1 ._autocompleteContainer_1wp4j_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_1wp4j_1 ._autocompleteContainer_1wp4j_4._disable_1wp4j_7{--tw-text-opacity: 1;color:rgb(167 167 167 / var(--tw-text-opacity, 1))}._autocomplete_1wp4j_1 ._autocompleteContainer_1wp4j_4:focus{outline:2px solid transparent;outline-offset:2px}._autocomplete_1wp4j_1 ._autocompleteContainer_1wp4j_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_1wp4j_1 ._autocompleteContainer_1wp4j_4 ._autocompleteInput_1wp4j_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_1wp4j_1 ._autocompleteContainer_1wp4j_4 ._autocompleteInput_1wp4j_16::placeholder{--tw-placeholder-opacity: 1;color:rgb(102 102 102 / var(--tw-placeholder-opacity, 1))}._autocomplete_1wp4j_1 ._autocompleteContainer_1wp4j_4 ._autocompleteInput_1wp4j_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_1wp4j_1 ._autocompleteContainer_1wp4j_4 ._autocompleteInput_1wp4j_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_1wp4j_1 ._autocompleteContainer_1wp4j_4 ._autocompleteInput_1wp4j_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_1wp4j_1 ._autocompleteContainer_1wp4j_4 ._autocompleteInput_1wp4j_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_1wp4j_1 ._autocompleteContainer_1wp4j_4 ._autocompleteInput_1wp4j_16[data-disabled]{cursor:not-allowed;--tw-text-opacity: 1;color:rgb(167 167 167 / var(--tw-text-opacity, 1))}._autocomplete_1wp4j_1 ._autocompleteContainer_1wp4j_4 ._autocompleteButton_1wp4j_32{position:absolute;top:0;bottom:0;right:0;display:flex;align-items:center;border-width:0px;background-color:transparent;padding-right:.5rem}._autocomplete_1wp4j_1 ._autocompleteContainer_1wp4j_4 ._autocompleteButton_1wp4j_32[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_1wp4j_1 ._autocompleteContainer_1wp4j_4 ._autocompleteButton_1wp4j_32[data-disabled]{cursor:not-allowed}._autocomplete_1wp4j_1 ._autocompleteContainer_1wp4j_4 ._autocompleteButton_1wp4j_32 ._chevronDownIcon_1wp4j_43{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_1wp4j_1 ._autocompleteContainer_1wp4j_4 ._autocompleteButton_1wp4j_32 ._chevronDownIcon_1wp4j_43._disable_1wp4j_7{--tw-text-opacity: 1;color:rgb(167 167 167 / var(--tw-text-opacity, 1))}._autocomplete_1wp4j_1 ._autocompleteContainer_1wp4j_4 ._autocompleteButton_1wp4j_32[data-open] ._chevronDownIcon_1wp4j_43{--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_1wp4j_53{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_1wp4j_57{opacity:1}._leaveTo_1wp4j_61{opacity:0}._autocompleteOptions_1wp4j_65{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_1wp4j_65{font-size:.875rem;line-height:1.25rem}}._autocompleteOptions_1wp4j_65::-webkit-scrollbar-thumb{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(169 169 169 / var(--tw-bg-opacity, 1))}._autocompleteOptions_1wp4j_65::-webkit-scrollbar{width:6px}._autocompleteOptions_1wp4j_65[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_1wp4j_65[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_1wp4j_65[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_1wp4j_65: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(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
2
|
(function(_e,u){typeof exports=="object"&&typeof module<"u"?u(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],u):(_e=typeof globalThis<"u"?globalThis:_e||self,u(_e["ui-react"]={},_e.React,_e.ReactDOM))})(this,function(_e,u,Ae){"use strict";function Ji(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const le=Ji(u),En=Ji(Ae);function Qi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Sn={exports:{}},en={};/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react-jsx-runtime.production.js
|
|
@@ -15,70 +15,70 @@
|
|
|
15
15
|
*
|
|
16
16
|
* This source code is licensed under the MIT license found in the
|
|
17
17
|
* LICENSE file in the root directory of this source tree.
|
|
18
|
-
*/var to;function Js(){return to||(to=1,process.env.NODE_ENV!=="production"&&function(){function e(w){if(w==null)return null;if(typeof w=="function")return w.$$typeof===ie?null:w.displayName||w.name||null;if(typeof w=="string")return w;switch(w){case A:return"Fragment";case C:return"Portal";case H:return"Profiler";case j:return"StrictMode";case X:return"Suspense";case G:return"SuspenseList"}if(typeof w=="object")switch(typeof w.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),w.$$typeof){case F:return(w.displayName||"Context")+".Provider";case k:return(w._context.displayName||"Context")+".Consumer";case D:var re=w.render;return w=w.displayName,w||(w=re.displayName||re.name||"",w=w!==""?"ForwardRef("+w+")":"ForwardRef"),w;case B:return re=w.displayName||null,re!==null?re:e(w.type)||"Memo";case se:re=w._payload,w=w._init;try{return e(w(re))}catch{}}return null}function n(w){return""+w}function t(w){try{n(w);var re=!1}catch{re=!0}if(re){re=console;var J=re.error,
|
|
18
|
+
*/var to;function Js(){return to||(to=1,process.env.NODE_ENV!=="production"&&function(){function e(w){if(w==null)return null;if(typeof w=="function")return w.$$typeof===ie?null:w.displayName||w.name||null;if(typeof w=="string")return w;switch(w){case A:return"Fragment";case C:return"Portal";case H:return"Profiler";case j:return"StrictMode";case X:return"Suspense";case G:return"SuspenseList"}if(typeof w=="object")switch(typeof w.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),w.$$typeof){case F:return(w.displayName||"Context")+".Provider";case k:return(w._context.displayName||"Context")+".Consumer";case D:var re=w.render;return w=w.displayName,w||(w=re.displayName||re.name||"",w=w!==""?"ForwardRef("+w+")":"ForwardRef"),w;case B:return re=w.displayName||null,re!==null?re:e(w.type)||"Memo";case se:re=w._payload,w=w._init;try{return e(w(re))}catch{}}return null}function n(w){return""+w}function t(w){try{n(w);var re=!1}catch{re=!0}if(re){re=console;var J=re.error,ge=typeof Symbol=="function"&&Symbol.toStringTag&&w[Symbol.toStringTag]||w.constructor.name||"Object";return J.call(re,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",ge),n(w)}}function r(){}function i(){if(U===0){L=console.log,Q=console.info,q=console.warn,ne=console.error,ce=console.group,he=console.groupCollapsed,Ee=console.groupEnd;var w={configurable:!0,enumerable:!0,value:r,writable:!0};Object.defineProperties(console,{info:w,log:w,warn:w,error:w,group:w,groupCollapsed:w,groupEnd:w})}U++}function o(){if(U--,U===0){var w={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:R({},w,{value:L}),info:R({},w,{value:Q}),warn:R({},w,{value:q}),error:R({},w,{value:ne}),group:R({},w,{value:ce}),groupCollapsed:R({},w,{value:he}),groupEnd:R({},w,{value:Ee})})}0>U&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function a(w){if(S===void 0)try{throw Error()}catch(J){var re=J.stack.trim().match(/\n( *(at )?)/);S=re&&re[1]||"",Z=-1<J.stack.indexOf(`
|
|
19
19
|
at`)?" (<anonymous>)":-1<J.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
20
|
-
`+S+w+Z}function d(w,re){if(!w||K)return"";var J=_.get(w);if(J!==void 0)return J;K=!0,J=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var
|
|
20
|
+
`+S+w+Z}function d(w,re){if(!w||K)return"";var J=_.get(w);if(J!==void 0)return J;K=!0,J=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var ge=null;ge=z.H,z.H=null,i();try{var Te={DetermineComponentFrameRoot:function(){try{if(re){var pe=function(){throw Error()};if(Object.defineProperty(pe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(pe,[])}catch(ze){var Re=ze}Reflect.construct(w,[],pe)}else{try{pe.call()}catch(ze){Re=ze}w.call(pe.prototype)}}else{try{throw Error()}catch(ze){Re=ze}(pe=w())&&typeof pe.catch=="function"&&pe.catch(function(){})}}catch(ze){if(ze&&Re&&typeof ze.stack=="string")return[ze.stack,Re.stack]}return[null,null]}};Te.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var ue=Object.getOwnPropertyDescriptor(Te.DetermineComponentFrameRoot,"name");ue&&ue.configurable&&Object.defineProperty(Te.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var ee=Te.DetermineComponentFrameRoot(),me=ee[0],we=ee[1];if(me&&we){var Ie=me.split(`
|
|
21
21
|
`),Fe=we.split(`
|
|
22
22
|
`);for(ee=ue=0;ue<Ie.length&&!Ie[ue].includes("DetermineComponentFrameRoot");)ue++;for(;ee<Fe.length&&!Fe[ee].includes("DetermineComponentFrameRoot");)ee++;if(ue===Ie.length||ee===Fe.length)for(ue=Ie.length-1,ee=Fe.length-1;1<=ue&&0<=ee&&Ie[ue]!==Fe[ee];)ee--;for(;1<=ue&&0<=ee;ue--,ee--)if(Ie[ue]!==Fe[ee]){if(ue!==1||ee!==1)do if(ue--,ee--,0>ee||Ie[ue]!==Fe[ee]){var $e=`
|
|
23
|
-
`+Ie[ue].replace(" at new "," at ");return w.displayName&&$e.includes("<anonymous>")&&($e=$e.replace("<anonymous>",w.displayName)),typeof w=="function"&&_.set(w,$e),$e}while(1<=ue&&0<=ee);break}}}finally{K=!1,z.H=
|
|
23
|
+
`+Ie[ue].replace(" at new "," at ");return w.displayName&&$e.includes("<anonymous>")&&($e=$e.replace("<anonymous>",w.displayName)),typeof w=="function"&&_.set(w,$e),$e}while(1<=ue&&0<=ee);break}}}finally{K=!1,z.H=ge,o(),Error.prepareStackTrace=J}return Ie=(Ie=w?w.displayName||w.name:"")?a(Ie):"",typeof w=="function"&&_.set(w,Ie),Ie}function l(w){if(w==null)return"";if(typeof w=="function"){var re=w.prototype;return d(w,!(!re||!re.isReactComponent))}if(typeof w=="string")return a(w);switch(w){case X:return a("Suspense");case G:return a("SuspenseList")}if(typeof w=="object")switch(w.$$typeof){case D:return w=d(w.render,!1),w;case B:return l(w.type);case se:re=w._payload,w=w._init;try{return l(w(re))}catch{}}return""}function s(){var w=z.A;return w===null?null:w.getOwner()}function f(w){if(I.call(w,"key")){var re=Object.getOwnPropertyDescriptor(w,"key").get;if(re&&re.isReactWarning)return!1}return w.key!==void 0}function g(w,re){function J(){ve||(ve=!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)",re))}J.isReactWarning=!0,Object.defineProperty(w,"key",{get:J,configurable:!0})}function m(){var w=e(this.type);return xe[w]||(xe[w]=!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.")),w=this.props.ref,w!==void 0?w:null}function p(w,re,J,ge,Te,ue){return J=ue.ref,w={$$typeof:x,type:w,key:re,props:ue,_owner:Te},(J!==void 0?J:null)!==null?Object.defineProperty(w,"ref",{enumerable:!1,get:m}):Object.defineProperty(w,"ref",{enumerable:!1,value:null}),w._store={},Object.defineProperty(w._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(w,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.freeze&&(Object.freeze(w.props),Object.freeze(w)),w}function c(w,re,J,ge,Te,ue){if(typeof w=="string"||typeof w=="function"||w===A||w===H||w===j||w===X||w===G||w===de||typeof w=="object"&&w!==null&&(w.$$typeof===se||w.$$typeof===B||w.$$typeof===F||w.$$typeof===k||w.$$typeof===D||w.$$typeof===Y||w.getModuleId!==void 0)){var ee=re.children;if(ee!==void 0)if(ge)if(T(ee)){for(ge=0;ge<ee.length;ge++)h(ee[ge],w);Object.freeze&&Object.freeze(ee)}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 h(ee,w)}else ee="",(w===void 0||typeof w=="object"&&w!==null&&Object.keys(w).length===0)&&(ee+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),w===null?ge="null":T(w)?ge="array":w!==void 0&&w.$$typeof===x?(ge="<"+(e(w.type)||"Unknown")+" />",ee=" Did you accidentally export a JSX literal instead of a component?"):ge=typeof w,console.error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ge,ee);if(I.call(re,"key")){ee=e(w);var me=Object.keys(re).filter(function(Ie){return Ie!=="key"});ge=0<me.length?"{key: someKey, "+me.join(": ..., ")+": ...}":"{key: someKey}",Ne[ee+ge]||(me=0<me.length?"{"+me.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
24
24
|
let props = %s;
|
|
25
25
|
<%s {...props} />
|
|
26
26
|
React keys must be passed directly to JSX without using spread:
|
|
27
27
|
let props = %s;
|
|
28
|
-
<%s key={someKey} {...props} />`,
|
|
28
|
+
<%s key={someKey} {...props} />`,ge,ee,me,ee),Ne[ee+ge]=!0)}if(ee=null,J!==void 0&&(t(J),ee=""+J),f(re)&&(t(re.key),ee=""+re.key),"key"in re){J={};for(var we in re)we!=="key"&&(J[we]=re[we])}else J=re;return ee&&g(J,typeof w=="function"?w.displayName||w.name||"Unknown":w),p(w,ee,ue,Te,s(),J)}function h(w,re){if(typeof w=="object"&&w&&w.$$typeof!==fe){if(T(w))for(var J=0;J<w.length;J++){var ge=w[J];v(ge)&&E(ge,re)}else if(v(w))w._store&&(w._store.validated=1);else if(w===null||typeof w!="object"?J=null:(J=ae&&w[ae]||w["@@iterator"],J=typeof J=="function"?J:null),typeof J=="function"&&J!==w.entries&&(J=J.call(w),J!==w))for(;!(w=J.next()).done;)v(w.value)&&E(w.value,re)}}function v(w){return typeof w=="object"&&w!==null&&w.$$typeof===x}function E(w,re){if(w._store&&!w._store.validated&&w.key==null&&(w._store.validated=1,re=O(re),!Ve[re])){Ve[re]=!0;var J="";w&&w._owner!=null&&w._owner!==s()&&(J=null,typeof w._owner.tag=="number"?J=e(w._owner.type):typeof w._owner.name=="string"&&(J=w._owner.name),J=" It was passed a child from "+J+".");var ge=z.getCurrentStack;z.getCurrentStack=function(){var Te=l(w.type);return ge&&(Te+=ge()||""),Te},console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',re,J),z.getCurrentStack=ge}}function O(w){var re="",J=s();return J&&(J=e(J.type))&&(re=`
|
|
29
29
|
|
|
30
30
|
Check the render method of \``+J+"`."),re||(w=e(w))&&(re=`
|
|
31
31
|
|
|
32
|
-
Check the top-level render call using <`+w+">."),re}var b=u,x=Symbol.for("react.transitional.element"),C=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),H=Symbol.for("react.profiler"),k=Symbol.for("react.consumer"),F=Symbol.for("react.context"),D=Symbol.for("react.forward_ref"),X=Symbol.for("react.suspense"),G=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),se=Symbol.for("react.lazy"),de=Symbol.for("react.offscreen"),ae=Symbol.iterator,ie=Symbol.for("react.client.reference"),z=b.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,I=Object.prototype.hasOwnProperty,R=Object.assign,Y=Symbol.for("react.client.reference"),T=Array.isArray,U=0,L,Q,q,ne,ce,he,Ee;r.__reactDisabledLog=!0;var S,Z,K=!1,_=new(typeof WeakMap=="function"?WeakMap:Map),fe=Symbol.for("react.client.reference"),ge,xe={},Ne={},Ve={};tn.Fragment=A,tn.jsx=function(w,re,J,ve,Te){return c(w,re,J,!1,ve,Te)},tn.jsxs=function(w,re,J,ve,Te){return c(w,re,J,!0,ve,Te)}}()),tn}var no;function Qs(){return no||(no=1,process.env.NODE_ENV==="production"?Sn.exports=Zs():Sn.exports=Js()),Sn.exports}var N=Qs();const On={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"},pt=e=>{if(!e)throw new Error("Please provide a hex color code");if(!/^#([A-Fa-f0-9]{3}){1,2}$/.test(e))throw new Error("Please provide a valid hex code");e=e.length===4?e.replace(/^#(.)(.)(.)$/,"#$1$1$2$2$3$3"):e;const r=e.substring(1),[i,o,a]=[0,2,4].map(l=>parseInt(r.substring(l,l+2),16));return(.2126*i+.7152*o+.0722*a)/255<.7?"dark":"light"};class Je{static convert3HexTo6(n){return typeof n=="string"&&/^#(?:[0-9a-fA-F]{3}){1,2}$/.test(n)&&n.length===4?n.replace(/^#(.)(.)(.)$/,"#$1$1$2$2$3$3"):n}}const Pn=u.forwardRef(({themeColor:e="",variant:n="primary",size:t="small",shape:r="rounded",children:i,className:o="",style:a={},disabled:d,...l},s)=>{let f={};if(e){const m=pt(e);if(e=Je.convert3HexTo6(e),!d&&(m==="dark"||m==="light")){const p=n==="primary"?e:"#ffffff",c=n==="primary"?m==="dark"?"#ffffff":"#333333":m==="light"?"#333333":e,h=e==="#ffffff"?"#c8c8c8":e;f={backgroundColor:p,color:c,outlineColor:h,borderColor:h}}}const v=[On.button,On[n],On[t],On[r],o].filter(Boolean).join(" ");return N.jsx("button",{disabled:d,ref:s,style:{...f,...a},className:`${v}`,...l,children:i})});Pn.displayName="Button";const dt={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"},eu=()=>`checkbox_${Math.random().toString(36).substring(2,11)}`,gr=u.forwardRef(({children:e,themeColor:n="",checkboxSize:t="medium",id:r=eu(),checked:i=!1,disabled:o=!1,className:a="",onChange:d,style:l={},tabIndex:s,...f},v)=>{const[m,p]=u.useState(i);let c={},h,g=o?"#9b9b9b":"#ffffff";if(n){const x=pt(n);if(n=Je.convert3HexTo6(n),x==="dark"||x==="light"){switch(x){case"dark":g=o?m?"#9b9b9b":"#f9f9f9":"#ffffff";break;case"light":g=o?m?"#9b9b9b":"#f9f9f9":m?"#333333":"#ffffff";break;default:g="#9b9b9b";break}const C=o?"#f9f9f9":m?n:"#ffffff";h=o?"#e4e4e4":n=="#ffffff"?"#333333":n,m&&(c={backgroundColor:C,borderColor:h,outlineColor:h})}}const E=o?dt.checkboxDisabled:"",O=[dt.checkboxLayout,dt[t],E,a].filter(Boolean).join(" "),b=x=>{x.key!="Enter"&&(x.preventDefault(),d?.(x.target.checked),p(!m))};return N.jsx(N.Fragment,{children:N.jsx("div",{className:O,"data-testid":"checkbox",children:N.jsxs("label",{className:dt.checkboxLabel,htmlFor:r,onClick:x=>b(x),children:[N.jsxs("div",{className:dt.checkboxInnerContainer,tabIndex:s||o?-1:0,onKeyPress:x=>b(x),"data-testid":"checkbox-inner-container",children:[N.jsx("input",{className:dt.checkboxInput,onChange:x=>b(x),type:"checkbox",checked:m,disabled:o,id:r,ref:v,...f,tabIndex:-1,"data-testid":"checkbox-input"}),N.jsx("div",{className:dt.checkboxFrame,style:{...c,...l},"data-testid":"checkbox-frame",children:N.jsx("svg",{version:"1.1",focusable:"false",className:dt.checkboxCheckMark,viewBox:"0 0 24 24","data-testid":"check-mark-svg",children:N.jsx("path",{className:dt.checkboxCheckMarkPath,fill:"none",stroke:g,d:"M4.1,12.7 9,17.6 20.3,6.3"})})})]}),e&&N.jsx("span",{"data-testid":"checkbox-label",children:e}),N.jsx("div",{className:dt.visuallyHidden,"aria-live":"polite","aria-atomic":"true",children:m?"Checked":"Unchecked"})]})})})});gr.displayName="Checkbox";const ro={textInputWrapper:"_textInputWrapper_1i9m6_1",textInput:"_textInput_1i9m6_1"};var oe={},nn={exports:{}},tu=nn.exports,io;function nu(){return io||(io=1,function(e,n){(function(t,r){var i="1.0.40",o="",a="?",d="function",l="undefined",s="object",f="string",v="major",m="model",p="name",c="type",h="vendor",g="version",E="architecture",O="console",b="mobile",x="tablet",C="smarttv",A="wearable",j="embedded",H=500,k="Amazon",F="Apple",D="ASUS",X="BlackBerry",G="Browser",B="Chrome",se="Edge",de="Firefox",ae="Google",ie="Huawei",z="LG",I="Microsoft",R="Motorola",Y="Opera",T="Samsung",U="Sharp",L="Sony",Q="Xiaomi",q="Zebra",ne="Facebook",ce="Chromium OS",he="Mac OS",Ee=" Browser",S=function(ue,ee){var me={};for(var we in ue)ee[we]&&ee[we].length%2===0?me[we]=ee[we].concat(ue[we]):me[we]=ue[we];return me},Z=function(ue){for(var ee={},me=0;me<ue.length;me++)ee[ue[me].toUpperCase()]=ue[me];return ee},K=function(ue,ee){return typeof ue===f?_(ee).indexOf(_(ue))!==-1:!1},_=function(ue){return ue.toLowerCase()},fe=function(ue){return typeof ue===f?ue.replace(/[^\d\.]/g,o).split(".")[0]:r},ge=function(ue,ee){if(typeof ue===f)return ue=ue.replace(/^\s\s*/,o),typeof ee===l?ue:ue.substring(0,H)},xe=function(ue,ee){for(var me=0,we,Ie,Fe,$e,pe,Re;me<ee.length&&!pe;){var ze=ee[me],Mt=ee[me+1];for(we=Ie=0;we<ze.length&&!pe&&ze[we];)if(pe=ze[we++].exec(ue),pe)for(Fe=0;Fe<Mt.length;Fe++)Re=pe[++Ie],$e=Mt[Fe],typeof $e===s&&$e.length>0?$e.length===2?typeof $e[1]==d?this[$e[0]]=$e[1].call(this,Re):this[$e[0]]=$e[1]:$e.length===3?typeof $e[1]===d&&!($e[1].exec&&$e[1].test)?this[$e[0]]=Re?$e[1].call(this,Re,$e[2]):r:this[$e[0]]=Re?Re.replace($e[1],$e[2]):r:$e.length===4&&(this[$e[0]]=Re?$e[3].call(this,Re.replace($e[1],$e[2])):r):this[$e]=Re||r;me+=2}},Ne=function(ue,ee){for(var me in ee)if(typeof ee[me]===s&&ee[me].length>0){for(var we=0;we<ee[me].length;we++)if(K(ee[me][we],ue))return me===a?r:me}else if(K(ee[me],ue))return me===a?r:me;return ee.hasOwnProperty("*")?ee["*"]:ue},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","?":"/"},w={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"},re={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,Y+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[g,[p,Y+" GX"]],[/\bopr\/([\w\.]+)/i],[g,[p,Y]],[/\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"+G]],[/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 "+G]],[/(avast|avg)\/([\w\.]+)/i],[[p,/(.+)/,"$1 Secure "+G],g],[/\bfocus\/([\w\.]+)/i],[g,[p,de+" Focus"]],[/\bopt\/([\w\.]+)/i],[g,[p,Y+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[g,[p,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[g,[p,"Dolphin"]],[/coast\/([\w\.]+)/i],[g,[p,Y+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[g,[p,"MIUI"+Ee]],[/fxios\/([\w\.-]+)/i],[g,[p,de]],[/\bqihoobrowser\/?([\w\.]*)/i],[g,[p,"360"]],[/\b(qq)\/([\w\.]+)/i],[[p,/(.+)/,"$1Browser"],g],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[p,/(.+)/,"$1"+Ee],g],[/samsungbrowser\/([\w\.]+)/i],[g,[p,T+" 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,ne],g],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[p,g],[/\bgsa\/([\w\.]+) .*safari\//i],[g,[p,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[g,[p,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[g,[p,B+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[p,B+" WebView"],g],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[g,[p,"Android "+G]],[/(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,Ne,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,de+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[p,[g,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[p,[g,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[E,"amd64"]],[/(ia32(?=;))/i],[[E,_]],[/((?:i[346]|x)86)[;\)]/i],[[E,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[E,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[E,"armhf"]],[/windows (ce|mobile); ppc;/i],[[E,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[E,/ower/,o,_]],[/(sun4\w)[;\)]/i],[[E,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[E,_]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[m,[h,T],[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],[m,[h,T],[c,b]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[m,[h,F],[c,b]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[m,[h,F],[c,x]],[/(macintosh);/i],[m,[h,F]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[m,[h,U],[c,b]],[/(?:honor)([-\w ]+)[;\)]/i],[m,[h,"Honor"],[c,b]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[m,[h,ie],[c,x]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[m,[h,ie],[c,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],[[m,/_/g," "],[h,Q],[c,b]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[m,/_/g," "],[h,Q],[c,x]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[m,[h,"OPPO"],[c,b]],[/\b(opd2\d{3}a?) bui/i],[m,[h,"OPPO"],[c,x]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[m,[h,"Vivo"],[c,b]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[m,[h,"Realme"],[c,b]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[m,[h,R],[c,b]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[m,[h,R],[c,x]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[m,[h,z],[c,x]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[m,[h,z],[c,b]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[m,[h,"Lenovo"],[c,x]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[m,/_/g," "],[h,"Nokia"],[c,b]],[/(pixel c)\b/i],[m,[h,ae],[c,x]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[m,[h,ae],[c,b]],[/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],[m,[h,L],[c,b]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[m,"Xperia Tablet"],[h,L],[c,x]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[m,[h,"OnePlus"],[c,b]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[m,[h,k],[c,x]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[m,/(.+)/g,"Fire Phone $1"],[h,k],[c,b]],[/(playbook);[-\w\),; ]+(rim)/i],[m,h,[c,x]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[m,[h,X],[c,b]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[m,[h,D],[c,x]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[m,[h,D],[c,b]],[/(nexus 9)/i],[m,[h,"HTC"],[c,x]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[m,/_/g," "],[c,b]],[/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],[m,[h,"TCL"],[c,x]],[/(itel) ((\w+))/i],[[h,_],m,[c,Ne,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[m,[h,"Acer"],[c,x]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[m,[h,"Meizu"],[c,b]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[m,[h,"Ulefone"],[c,b]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[m,[h,"Energizer"],[c,b]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[m,[h,"Cat"],[c,b]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[m,[h,"Smartfren"],[c,b]],[/droid.+; (a(?:015|06[35]|142p?))/i],[m,[h,"Nothing"],[c,b]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (imo) ((?!tab)[\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[h,m,[c,b]],[/(imo) (tab \w+)/i,/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[h,m,[c,x]],[/(surface duo)/i],[m,[h,I],[c,x]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[m,[h,"Fairphone"],[c,b]],[/(u304aa)/i],[m,[h,"AT&T"],[c,b]],[/\bsie-(\w*)/i],[m,[h,"Siemens"],[c,b]],[/\b(rct\w+) b/i],[m,[h,"RCA"],[c,x]],[/\b(venue[\d ]{2,7}) b/i],[m,[h,"Dell"],[c,x]],[/\b(q(?:mv|ta)\w+) b/i],[m,[h,"Verizon"],[c,x]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[m,[h,"Barnes & Noble"],[c,x]],[/\b(tm\d{3}\w+) b/i],[m,[h,"NuVision"],[c,x]],[/\b(k88) b/i],[m,[h,"ZTE"],[c,x]],[/\b(nx\d{3}j) b/i],[m,[h,"ZTE"],[c,b]],[/\b(gen\d{3}) b.+49h/i],[m,[h,"Swiss"],[c,b]],[/\b(zur\d{3}) b/i],[m,[h,"Swiss"],[c,x]],[/\b((zeki)?tb.*\b) b/i],[m,[h,"Zeki"],[c,x]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],m,[c,x]],[/\b(ns-?\w{0,9}) b/i],[m,[h,"Insignia"],[c,x]],[/\b((nxa|next)-?\w{0,9}) b/i],[m,[h,"NextBook"],[c,x]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],m,[c,b]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],m,[c,b]],[/\b(ph-1) /i],[m,[h,"Essential"],[c,b]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[m,[h,"Envizen"],[c,x]],[/\b(trio[-\w\. ]+) b/i],[m,[h,"MachSpeed"],[c,x]],[/\btu_(1491) b/i],[m,[h,"Rotor"],[c,x]],[/(shield[\w ]+) b/i],[m,[h,"Nvidia"],[c,x]],[/(sprint) (\w+)/i],[h,m,[c,b]],[/(kin\.[onetw]{3})/i],[[m,/\./g," "],[h,I],[c,b]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[m,[h,q],[c,x]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[m,[h,q],[c,b]],[/smart-tv.+(samsung)/i],[h,[c,C]],[/hbbtv.+maple;(\d+)/i],[[m,/^/,"SmartTV"],[h,T],[c,C]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,z],[c,C]],[/(apple) ?tv/i],[h,[m,F+" TV"],[c,C]],[/crkey/i],[[m,B+"cast"],[h,ae],[c,C]],[/droid.+aft(\w+)( bui|\))/i],[m,[h,k],[c,C]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[m,[h,U],[c,C]],[/(bravia[\w ]+)( bui|\))/i],[m,[h,L],[c,C]],[/(mitv-\w{5}) bui/i],[m,[h,Q],[c,C]],[/Hbbtv.*(technisat) (.*);/i],[h,m,[c,C]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[h,ge],[m,ge],[c,C]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[c,C]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,m,[c,O]],[/droid.+; (shield) bui/i],[m,[h,"Nvidia"],[c,O]],[/(playstation [345portablevi]+)/i],[m,[h,L],[c,O]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[m,[h,I],[c,O]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[m,[h,T],[c,A]],[/((pebble))app/i],[h,m,[c,A]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[m,[h,F],[c,A]],[/droid.+; (glass) \d/i],[m,[h,ae],[c,A]],[/droid.+; (wt63?0{2,3})\)/i],[m,[h,q],[c,A]],[/droid.+; (glass) \d/i],[m,[h,ae],[c,A]],[/(pico) (4|neo3(?: link|pro)?)/i],[h,m,[c,A]],[/; (quest( \d| pro)?)/i],[m,[h,ne],[c,A]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[c,j]],[/(aeobc)\b/i],[m,[h,k],[c,j]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[m,[c,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[m,[c,x]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[c,x]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[c,b]],[/(android[-\w\. ]{0,9});.+buil/i],[m,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[g,[p,se+"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],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[g,p]],os:[[/microsoft (windows) (vista|xp)/i],[p,g],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[p,[g,Ne,w]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[g,Ne,w],[p,"Windows"]],[/ip[honead]{2,4}\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,he],[g,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[g,p],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[p,g],[/\(bb(10);/i],[g,[p,X]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[g,[p,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[g,[p,de+" 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,B+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[p,ce],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) ?([\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]]},J=function(ue,ee){if(typeof ue===s&&(ee=ue,ue=r),!(this instanceof J))return new J(ue,ee).getResult();var me=typeof t!==l&&t.navigator?t.navigator:r,we=ue||(me&&me.userAgent?me.userAgent:o),Ie=me&&me.userAgentData?me.userAgentData:r,Fe=ee?S(re,ee):re,$e=me&&me.userAgent==we;return this.getBrowser=function(){var pe={};return pe[p]=r,pe[g]=r,xe.call(pe,we,Fe.browser),pe[v]=fe(pe[g]),$e&&me&&me.brave&&typeof me.brave.isBrave==d&&(pe[p]="Brave"),pe},this.getCPU=function(){var pe={};return pe[E]=r,xe.call(pe,we,Fe.cpu),pe},this.getDevice=function(){var pe={};return pe[h]=r,pe[m]=r,pe[c]=r,xe.call(pe,we,Fe.device),$e&&!pe[c]&&Ie&&Ie.mobile&&(pe[c]=b),$e&&pe[m]=="Macintosh"&&me&&typeof me.standalone!==l&&me.maxTouchPoints&&me.maxTouchPoints>2&&(pe[m]="iPad",pe[c]=x),pe},this.getEngine=function(){var pe={};return pe[p]=r,pe[g]=r,xe.call(pe,we,Fe.engine),pe},this.getOS=function(){var pe={};return pe[p]=r,pe[g]=r,xe.call(pe,we,Fe.os),$e&&!pe[p]&&Ie&&Ie.platform&&Ie.platform!="Unknown"&&(pe[p]=Ie.platform.replace(/chrome os/i,ce).replace(/macos/i,he)),pe},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 we},this.setUA=function(pe){return we=typeof pe===f&&pe.length>H?ge(pe,H):pe,this},this.setUA(we),this};J.VERSION=i,J.BROWSER=Z([p,g,v]),J.CPU=Z([E]),J.DEVICE=Z([m,h,c,O,b,C,x,A,j]),J.ENGINE=J.OS=Z([p,g]),e.exports&&(n=e.exports=J),n.UAParser=J;var ve=typeof t!==l&&(t.jQuery||t.Zepto);if(ve&&!ve.ua){var Te=new J;ve.ua=Te.getResult(),ve.ua.get=function(){return Te.getUA()},ve.ua.set=function(ue){Te.setUA(ue);var ee=Te.getResult();for(var me in ee)ve.ua[me]=ee[me]}}})(typeof window=="object"?window:tu)}(nn,nn.exports)),nn.exports}var oo;function ru(){if(oo)return oe;oo=1,Object.defineProperty(oe,"__esModule",{value:!0});function e(P){return P&&typeof P=="object"&&"default"in P?P.default:P}var n=u,t=e(n),r=nu(),i=new r,o=i.getBrowser(),a=i.getCPU(),d=i.getDevice(),l=i.getEngine(),s=i.getOS(),f=i.getUA(),v=function($){return i.setUA($)},m=function($){if(!$){console.error("No userAgent string was provided");return}var y=new r($);return{UA:y,browser:y.getBrowser(),cpu:y.getCPU(),device:y.getDevice(),engine:y.getEngine(),os:y.getOS(),ua:y.getUA(),setUserAgent:function(W){return y.setUA(W)}}},p=Object.freeze({ClientUAInstance:i,browser:o,cpu:a,device:d,engine:l,os:s,ua:f,setUa:v,parseUserAgent:m});function c(P,$){var y=Object.keys(P);if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(P);$&&(M=M.filter(function(W){return Object.getOwnPropertyDescriptor(P,W).enumerable})),y.push.apply(y,M)}return y}function h(P){for(var $=1;$<arguments.length;$++){var y=arguments[$]!=null?arguments[$]:{};$%2?c(Object(y),!0).forEach(function(M){x(P,M,y[M])}):Object.getOwnPropertyDescriptors?Object.defineProperties(P,Object.getOwnPropertyDescriptors(y)):c(Object(y)).forEach(function(M){Object.defineProperty(P,M,Object.getOwnPropertyDescriptor(y,M))})}return P}function g(P){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function($){return typeof $}:g=function($){return $&&typeof Symbol=="function"&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $},g(P)}function E(P,$){if(!(P instanceof $))throw new TypeError("Cannot call a class as a function")}function O(P,$){for(var y=0;y<$.length;y++){var M=$[y];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(P,M.key,M)}}function b(P,$,y){return $&&O(P.prototype,$),P}function x(P,$,y){return $ in P?Object.defineProperty(P,$,{value:y,enumerable:!0,configurable:!0,writable:!0}):P[$]=y,P}function C(){return C=Object.assign||function(P){for(var $=1;$<arguments.length;$++){var y=arguments[$];for(var M in y)Object.prototype.hasOwnProperty.call(y,M)&&(P[M]=y[M])}return P},C.apply(this,arguments)}function A(P,$){if(typeof $!="function"&&$!==null)throw new TypeError("Super expression must either be null or a function");P.prototype=Object.create($&&$.prototype,{constructor:{value:P,writable:!0,configurable:!0}}),$&&H(P,$)}function j(P){return j=Object.setPrototypeOf?Object.getPrototypeOf:function(y){return y.__proto__||Object.getPrototypeOf(y)},j(P)}function H(P,$){return H=Object.setPrototypeOf||function(M,W){return M.__proto__=W,M},H(P,$)}function k(P,$){if(P==null)return{};var y={},M=Object.keys(P),W,ye;for(ye=0;ye<M.length;ye++)W=M[ye],!($.indexOf(W)>=0)&&(y[W]=P[W]);return y}function F(P,$){if(P==null)return{};var y=k(P,$),M,W;if(Object.getOwnPropertySymbols){var ye=Object.getOwnPropertySymbols(P);for(W=0;W<ye.length;W++)M=ye[W],!($.indexOf(M)>=0)&&Object.prototype.propertyIsEnumerable.call(P,M)&&(y[M]=P[M])}return y}function D(P){if(P===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return P}function X(P,$){if($&&(typeof $=="object"||typeof $=="function"))return $;if($!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return D(P)}function G(P,$){return B(P)||se(P,$)||de(P,$)||ie()}function B(P){if(Array.isArray(P))return P}function se(P,$){var y=P==null?null:typeof Symbol<"u"&&P[Symbol.iterator]||P["@@iterator"];if(y!=null){var M=[],W=!0,ye=!1,Me,Ye;try{for(y=y.call(P);!(W=(Me=y.next()).done)&&(M.push(Me.value),!($&&M.length===$));W=!0);}catch(vr){ye=!0,Ye=vr}finally{try{!W&&y.return!=null&&y.return()}finally{if(ye)throw Ye}}return M}}function de(P,$){if(P){if(typeof P=="string")return ae(P,$);var y=Object.prototype.toString.call(P).slice(8,-1);if(y==="Object"&&P.constructor&&(y=P.constructor.name),y==="Map"||y==="Set")return Array.from(P);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return ae(P,$)}}function ae(P,$){($==null||$>P.length)&&($=P.length);for(var y=0,M=new Array($);y<$;y++)M[y]=P[y];return M}function ie(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
33
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var z={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"},R={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},Y={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},T=function($){switch($){case z.Mobile:return{isMobile:!0};case z.Tablet:return{isTablet:!0};case z.SmartTv:return{isSmartTV:!0};case z.Console:return{isConsole:!0};case z.Wearable:return{isWearable:!0};case z.Browser:return{isBrowser:!0};case z.Embedded:return{isEmbedded:!0};default:return Y}},U=function($){return v($)},L=function($){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"none";return $||y},Q=function(){return typeof window<"u"&&(window.navigator||navigator)?window.navigator||navigator:!1},q=function($){var y=Q();return y&&y.platform&&(y.platform.indexOf($)!==-1||y.platform==="MacIntel"&&y.maxTouchPoints>1&&!window.MSStream)},ne=function($,y,M,W,ye){return{isBrowser:$,browserMajorVersion:L(y.major),browserFullVersion:L(y.version),browserName:L(y.name),engineName:L(M.name),engineVersion:L(M.version),osName:L(W.name),osVersion:L(W.version),userAgent:L(ye)}},ce=function($,y,M,W){return h({},$,{vendor:L(y.vendor),model:L(y.model),os:L(M.name),osVersion:L(M.version),ua:L(W)})},he=function($,y,M,W){return{isSmartTV:$,engineName:L(y.name),engineVersion:L(y.version),osName:L(M.name),osVersion:L(M.version),userAgent:L(W)}},Ee=function($,y,M,W){return{isConsole:$,engineName:L(y.name),engineVersion:L(y.version),osName:L(M.name),osVersion:L(M.version),userAgent:L(W)}},S=function($,y,M,W){return{isWearable:$,engineName:L(y.name),engineVersion:L(y.version),osName:L(M.name),osVersion:L(M.version),userAgent:L(W)}},Z=function($,y,M,W,ye){return{isEmbedded:$,vendor:L(y.vendor),model:L(y.model),engineName:L(M.name),engineVersion:L(M.version),osName:L(W.name),osVersion:L(W.version),userAgent:L(ye)}};function K(P){var $=P?m(P):p,y=$.device,M=$.browser,W=$.engine,ye=$.os,Me=$.ua,Ye=T(y.type),vr=Ye.isBrowser,u5=Ye.isMobile,c5=Ye.isTablet,Ks=Ye.isSmartTV,qs=Ye.isConsole,Ys=Ye.isWearable,Xs=Ye.isEmbedded;if(vr)return ne(vr,M,W,ye,Me);if(Ks)return he(Ks,W,ye,Me);if(qs)return Ee(qs,W,ye,Me);if(u5||c5)return ce(Ye,y,ye,Me);if(Ys)return S(Ys,W,ye,Me);if(Xs)return Z(Xs,y,W,ye,Me)}var _=function($){var y=$.type;return y===z.Mobile},fe=function($){var y=$.type;return y===z.Tablet},ge=function($){var y=$.type;return y===z.Mobile||y===z.Tablet},xe=function($){var y=$.type;return y===z.SmartTv},Ne=function($){var y=$.type;return y===z.Browser},Ve=function($){var y=$.type;return y===z.Wearable},w=function($){var y=$.type;return y===z.Console},re=function($){var y=$.type;return y===z.Embedded},J=function($){var y=$.vendor;return L(y)},ve=function($){var y=$.model;return L(y)},Te=function($){var y=$.type;return L(y,"browser")},ue=function($){var y=$.name;return y===R.Android},ee=function($){var y=$.name;return y===R.Windows},me=function($){var y=$.name;return y===R.MAC_OS},we=function($){var y=$.name;return y===R.WindowsPhone},Ie=function($){var y=$.name;return y===R.IOS},Fe=function($){var y=$.version;return L(y)},$e=function($){var y=$.name;return L(y)},pe=function($){var y=$.name;return y===I.Chrome},Re=function($){var y=$.name;return y===I.Firefox},ze=function($){var y=$.name;return y===I.Chromium},Mt=function($){var y=$.name;return y===I.Edge},$s=function($){var y=$.name;return y===I.Yandex},bs=function($){var y=$.name;return y===I.Safari||y===I.MobileSafari},ys=function($){var y=$.name;return y===I.MobileSafari},ws=function($){var y=$.name;return y===I.Opera},xs=function($){var y=$.name;return y===I.InternetExplorer||y===I.Ie},Cs=function($){var y=$.name;return y===I.MIUI},Es=function($){var y=$.name;return y===I.SamsungBrowser},Ss=function($){var y=$.version;return L(y)},Os=function($){var y=$.major;return L(y)},Ps=function($){var y=$.name;return L(y)},Ts=function($){var y=$.name;return L(y)},Is=function($){var y=$.version;return L(y)},Ns=function(){var $=Q(),y=$&&$.userAgent&&$.userAgent.toLowerCase();return typeof y=="string"?/electron/.test(y):!1},Qt=function($){return typeof $=="string"&&$.indexOf("Edg/")!==-1},_s=function(){var $=Q();return $&&(/iPad|iPhone|iPod/.test($.platform)||$.platform==="MacIntel"&&$.maxTouchPoints>1)&&!window.MSStream},ft=function(){return q("iPad")},As=function(){return q("iPhone")},ks=function(){return q("iPod")},Fs=function($){return L($)};function Ms(P){var $=P||p,y=$.device,M=$.browser,W=$.os,ye=$.engine,Me=$.ua;return{isSmartTV:xe(y),isConsole:w(y),isWearable:Ve(y),isEmbedded:re(y),isMobileSafari:ys(M)||ft(),isChromium:ze(M),isMobile:ge(y)||ft(),isMobileOnly:_(y),isTablet:fe(y)||ft(),isBrowser:Ne(y),isDesktop:Ne(y),isAndroid:ue(W),isWinPhone:we(W),isIOS:Ie(W)||ft(),isChrome:pe(M),isFirefox:Re(M),isSafari:bs(M),isOpera:ws(M),isIE:xs(M),osVersion:Fe(W),osName:$e(W),fullBrowserVersion:Ss(M),browserVersion:Os(M),browserName:Ps(M),mobileVendor:J(y),mobileModel:ve(y),engineName:Ts(ye),engineVersion:Is(ye),getUA:Fs(Me),isEdge:Mt(M)||Qt(Me),isYandex:$s(M),deviceType:Te(y),isIOS13:_s(),isIPad13:ft(),isIPhone13:As(),isIPod13:ks(),isElectron:Ns(),isEdgeChromium:Qt(Me),isLegacyEdge:Mt(M)&&!Qt(Me),isWindows:ee(W),isMacOs:me(W),isMIUI:Cs(M),isSamsungBrowser:Es(M)}}var Ls=xe(d),js=w(d),Ds=Ve(d),v6=re(d),g6=ys(o)||ft(),$6=ze(o),hr=ge(d)||ft(),Rs=_(d),Bs=fe(d)||ft(),Ws=Ne(d),b6=Ne(d),Vs=ue(s),Us=we(s),Hs=Ie(s)||ft(),y6=pe(o),w6=Re(o),x6=bs(o),C6=ws(o),Gs=xs(o),E6=Fe(s),S6=$e(s),O6=Ss(o),P6=Os(o),T6=Ps(o),I6=J(d),N6=ve(d),_6=Ts(l),A6=Is(l),k6=Fs(f),F6=Mt(o)||Qt(f),M6=$s(o),L6=Te(d),j6=_s(),D6=ft(),R6=As(),B6=ks(),W6=Ns(),V6=Qt(f),U6=Mt(o)&&!Qt(f),H6=ee(s),G6=me(s),z6=Cs(o),K6=Es(o),q6=function($){if(!$||typeof $!="string"){console.error("No valid user agent string was provided");return}var y=m($),M=y.device,W=y.browser,ye=y.os,Me=y.engine,Ye=y.ua;return Ms({device:M,browser:W,os:ye,engine:Me,ua:Ye})},Y6=function($){var y=$.renderWithFragment,M=$.children,W=F($,["renderWithFragment","children"]);return Vs?y?t.createElement(n.Fragment,null,M):t.createElement("div",W,M):null},X6=function($){var y=$.renderWithFragment,M=$.children,W=F($,["renderWithFragment","children"]);return Ws?y?t.createElement(n.Fragment,null,M):t.createElement("div",W,M):null},Z6=function($){var y=$.renderWithFragment,M=$.children,W=F($,["renderWithFragment","children"]);return Gs?y?t.createElement(n.Fragment,null,M):t.createElement("div",W,M):null},J6=function($){var y=$.renderWithFragment,M=$.children,W=F($,["renderWithFragment","children"]);return Hs?y?t.createElement(n.Fragment,null,M):t.createElement("div",W,M):null},Q6=function($){var y=$.renderWithFragment,M=$.children,W=F($,["renderWithFragment","children"]);return hr?y?t.createElement(n.Fragment,null,M):t.createElement("div",W,M):null},e5=function($){var y=$.renderWithFragment,M=$.children,W=F($,["renderWithFragment","children"]);return Bs?y?t.createElement(n.Fragment,null,M):t.createElement("div",W,M):null},t5=function($){var y=$.renderWithFragment,M=$.children,W=F($,["renderWithFragment","children"]);return Us?y?t.createElement(n.Fragment,null,M):t.createElement("div",W,M):null},n5=function($){var y=$.renderWithFragment,M=$.children;$.viewClassName,$.style;var W=F($,["renderWithFragment","children","viewClassName","style"]);return Rs?y?t.createElement(n.Fragment,null,M):t.createElement("div",W,M):null},r5=function($){var y=$.renderWithFragment,M=$.children,W=F($,["renderWithFragment","children"]);return Ls?y?t.createElement(n.Fragment,null,M):t.createElement("div",W,M):null},i5=function($){var y=$.renderWithFragment,M=$.children,W=F($,["renderWithFragment","children"]);return js?y?t.createElement(n.Fragment,null,M):t.createElement("div",W,M):null},o5=function($){var y=$.renderWithFragment,M=$.children,W=F($,["renderWithFragment","children"]);return Ds?y?t.createElement(n.Fragment,null,M):t.createElement("div",W,M):null},a5=function($){var y=$.renderWithFragment,M=$.children;$.viewClassName,$.style;var W=$.condition,ye=F($,["renderWithFragment","children","viewClassName","style","condition"]);return W?y?t.createElement(n.Fragment,null,M):t.createElement("div",ye,M):null};function d5(P){return function($){A(y,$);function y(M){var W;return E(this,y),W=X(this,j(y).call(this,M)),W.isEventListenerAdded=!1,W.handleOrientationChange=W.handleOrientationChange.bind(D(W)),W.onOrientationChange=W.onOrientationChange.bind(D(W)),W.onPageLoad=W.onPageLoad.bind(D(W)),W.state={isLandscape:!1,isPortrait:!1},W}return b(y,[{key:"handleOrientationChange",value:function(){this.isEventListenerAdded||(this.isEventListenerAdded=!0);var W=window.innerWidth>window.innerHeight?90:0;this.setState({isPortrait:W===0,isLandscape:W===90})}},{key:"onOrientationChange",value:function(){this.handleOrientationChange()}},{key:"onPageLoad",value:function(){this.handleOrientationChange()}},{key:"componentDidMount",value:function(){(typeof window>"u"?"undefined":g(window))!==void 0&&hr&&(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 t.createElement(P,C({},this.props,{isLandscape:this.state.isLandscape,isPortrait:this.state.isPortrait}))}}]),y}(t.Component)}function l5(){var P=n.useState(function(){var ye=window.innerWidth>window.innerHeight?90:0;return{isPortrait:ye===0,isLandscape:ye===90,orientation:ye===0?"portrait":"landscape"}}),$=G(P,2),y=$[0],M=$[1],W=n.useCallback(function(){var ye=window.innerWidth>window.innerHeight?90:0,Me={isPortrait:ye===0,isLandscape:ye===90,orientation:ye===0?"portrait":"landscape"};y.orientation!==Me.orientation&&M(Me)},[y.orientation]);return n.useEffect(function(){return(typeof window>"u"?"undefined":g(window))!==void 0&&hr&&(W(),window.addEventListener("load",W,!1),window.addEventListener("resize",W,!1)),function(){window.removeEventListener("resize",W,!1),window.removeEventListener("load",W,!1)}},[W]),y}function zs(P){var $=P||window.navigator.userAgent;return m($)}function s5(P){var $=P||window.navigator.userAgent,y=zs($),M=Ms(y);return[M,y]}return oe.AndroidView=Y6,oe.BrowserTypes=I,oe.BrowserView=X6,oe.ConsoleView=i5,oe.CustomView=a5,oe.IEView=Z6,oe.IOSView=J6,oe.MobileOnlyView=n5,oe.MobileView=Q6,oe.OsTypes=R,oe.SmartTVView=r5,oe.TabletView=e5,oe.WearableView=o5,oe.WinPhoneView=t5,oe.browserName=T6,oe.browserVersion=P6,oe.deviceDetect=K,oe.deviceType=L6,oe.engineName=_6,oe.engineVersion=A6,oe.fullBrowserVersion=O6,oe.getSelectorsByUserAgent=q6,oe.getUA=k6,oe.isAndroid=Vs,oe.isBrowser=Ws,oe.isChrome=y6,oe.isChromium=$6,oe.isConsole=js,oe.isDesktop=b6,oe.isEdge=F6,oe.isEdgeChromium=V6,oe.isElectron=W6,oe.isEmbedded=v6,oe.isFirefox=w6,oe.isIE=Gs,oe.isIOS=Hs,oe.isIOS13=j6,oe.isIPad13=D6,oe.isIPhone13=R6,oe.isIPod13=B6,oe.isLegacyEdge=U6,oe.isMIUI=z6,oe.isMacOs=G6,oe.isMobile=hr,oe.isMobileOnly=Rs,oe.isMobileSafari=g6,oe.isOpera=C6,oe.isSafari=x6,oe.isSamsungBrowser=K6,oe.isSmartTV=Ls,oe.isTablet=Bs,oe.isWearable=Ds,oe.isWinPhone=Us,oe.isWindows=H6,oe.isYandex=M6,oe.mobileModel=N6,oe.mobileVendor=I6,oe.osName=S6,oe.osVersion=E6,oe.parseUserAgent=m,oe.setUserAgent=U,oe.useDeviceData=zs,oe.useDeviceSelectors=s5,oe.useMobileOrientation=l5,oe.withOrientationChange=d5,oe}var iu=ru();const ou=u.memo(u.forwardRef(({themeColor:e="",onSubmit:n,style:t={},className:r="",onInput:i,onFocus:o,onBlur:a,...d},l)=>{const[s,f]=u.useState(!0),[v,m]=u.useState(!1);e=Je.convert3HexTo6(e),u.useEffect(()=>{f(iu.isMobile)},[]);const p=b=>{!s&&b.key==="Enter"&&!b.shiftKey&&n&&(b.preventDefault(),n())},c=b=>{i?.(b),b.target.style.height="40px",b.target.style.height=2+b.target.scrollHeight+"px"};let h={};const g=[ro.textInput,r].filter(Boolean).join(" "),E=()=>{m(!0)},O=()=>{m(!1)};return h={borderBottomColor:v?e!=="#ffffff"?e:"#c8c8c8":""},N.jsx("div",{className:ro.textInputWrapper,children:N.jsx("textarea",{"data-testid":"textbox-input",ref:l,className:g,style:{...h,...t},onFocus:E,onBlur:O,onInput:b=>c(b),onKeyDown:p,...d})})})),Be={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"},rn={pseudoCheckbox:"_pseudoCheckbox_z8j4c_1",checkboxCheckMark:"_checkboxCheckMark_z8j4c_4",checkboxCheckMarkPath:"_checkboxCheckMarkPath_z8j4c_7",checked:"_checked_z8j4c_12",checkboxDisabled:"_checkboxDisabled_z8j4c_22"},$r=({checked:e=!1,themeColor:n="",disabled:t=!1})=>{let r={},i="#006bb1",o=t?"#9b9b9b":"#ffffff";const a=t?rn.checkboxDisabled:"",d=e?rn.checked:"",l=[rn.pseudoCheckbox,d,a].filter(Boolean).join(" ");let s;if(n){const f=pt(n);n=Je.convert3HexTo6(n),f==="dark"||f==="light"?(t?o=e?"#9b9b9b":"#f9f9f9":o=f=="light"?"#333333":"#ffffff",i=t?"#f9f9f9":e?n:"#ffffff",s=t?"#e4e4e4":n==="#ffffff"?"#333333":n,e&&(r={backgroundColor:i,borderColor:s,outlineColor:s})):o="#9b9b9b"}return N.jsx("div",{style:r,className:l,role:"checkbox","aria-checked":e,"aria-hidden":"true",tabIndex:-1,"data-testid":"checkbox-input",children:N.jsx("svg",{version:"1.1",focusable:"false",className:rn.checkboxCheckMark,viewBox:"0 0 24 24",children:N.jsx("path",{className:rn.checkboxCheckMarkPath,fill:"none",stroke:o,d:"M4.1,12.7 9,17.6 20.3,6.3"})})})};$r.displayName="Checkbox";const au=({options:e,checkedValue:n,onSelectionChange:t,maxOptions:r,themeColor:i,className:o="",style:a={}})=>{const d=u.useRef(e),[l,s]=u.useState(n),[f,v]=u.useState(""),[m,p]=u.useState(!1),[c,h]=u.useState(!1),g=u.useRef(null),E=u.useRef(null),O=u.useRef(null),b=u.useRef(null),x=u.useRef(null),C=u.useRef(null),[A,j]=u.useState(-1),H=u.useRef(0),k=u.useRef(0),[F,D]=u.useState(!1);let X={};const[G,B]=u.useState({left:0,top:0}),[se,de]=u.useState(null),ae=u.useRef(!1),ie=u.useRef(null),z=()=>{setTimeout(()=>{(g.current?.children[0]).focus()},0)};u.useEffect(()=>{const S=Z=>{E.current&&!E.current.contains(Z.target)&&(p(!1),v(""),z())};return document.addEventListener("mousedown",S),()=>{document.removeEventListener("mousedown",S)}},[]);const I=()=>{H.current=window.innerHeight,k.current=document.body.scrollHeight,D(!0)};u.useEffect(()=>(I(),window.addEventListener("resize",I),()=>{window.addEventListener("resize",I)}),[]);const R=S=>{const Z=document.getElementById("announcement");Z&&(Z.textContent=S,Z.setAttribute("aria-live","assertive"),setTimeout(()=>{Z.textContent="",Z.setAttribute("aria-live","off")},1e3))};u.useEffect(()=>{const S=e.filter(Z=>Z.label.toLowerCase().includes(f.toLowerCase()));d.current=S},[e,f]);const Y=l.length>0?l.map(S=>{const Z=e.find(K=>K.value===S);return Z?.label!==null?Z?.label:""}).filter(S=>S!=="").join(", "):"Select your option",T=S=>{const Z=e.find(K=>K.value===S);if(Z&&!Z.disable&&(r===void 0||l.length<=r)){const _=l.includes(S)?l.filter(ge=>ge!==S):[...l,S];(r===void 0||_.length<=r)&&m&&(s(_),t(_),R(`${Z?.label} ${_.includes(S)?"selected":"not selected"}`))}},U=S=>{Q(),p(S),setTimeout(()=>{O.current?O.current?.focus():b.current?.focus(),R("use up and down arrow keys to navigate")},0)},L=()=>k.current-(H.current+window.scrollY),Q=()=>{if(g.current){const S=g.current.getBoundingClientRect();setTimeout(()=>{const Z=E?.current?.getBoundingClientRect(),K=L(),_=H.current-S.bottom;let fe;if(Z){const ge=S.height,xe=S.top,Ne=Z.height,Ve=Ne>xe+window.scrollY;xe<Ne&&(Ve||Ve&&_<Ne||K>Ne||_>Ne)||xe>Ne&&_>Ne?fe=S.y+ge:fe=S.y-Ne,B({left:S.left,top:fe??S.top})}},0)}};u.useEffect(()=>(window.addEventListener("scroll",Q),window.addEventListener("resize",Q),()=>{window.removeEventListener("scroll",Q),window.removeEventListener("resize",Q)}),[m]);const q=S=>{S.preventDefault(),S.key==="Shift"?ae.current=!0:S.shiftKey&&ae.current&&S.key==="Tab"||S.key==="Tab"?(setTimeout(()=>{O.current?O.current?.focus():b.current?.focus()},0),ae.current=!1):S.key==="Escape"||S.key==="Enter"||S.key==="Space"||S.key===" "?(U(!1),z()):ae.current=!1},ne=S=>{const{key:Z}=S;if(Z==="Tab"||S.shiftKey&&Z==="Tab")setTimeout(()=>{x.current?.focus()},0);else if(Z==="ArrowDown"||Z==="ArrowUp"){S.preventDefault(),setTimeout(()=>{b.current?.focus()},0);let K=A;if(Z==="ArrowDown"?K=Math.min(A+1,d.current.length-1):Z==="ArrowUp"&&(K=Math.max(A-1,0)),A===0&&S.key==="ArrowUp"?K=d.current.length-1:A===d.current.length-1&&S.key==="ArrowDown"&&(K=0),j(K),C.current&&K>=0){const _=C.current.querySelectorAll(`.${Be.optionsList}`)[K],fe=_.children[0].getAttribute("aria-checked"),ge=`${_.textContent} ${fe==="true"?"selected":"not selected"} ${K+1} out of ${d.current.length}`;R(ge),_&&_.scrollIntoView({block:"nearest",inline:"nearest"})}}else Z==="Enter"||Z==="Space"||Z===" "?A!==-1&&T(d.current[A].value):Z==="Escape"&&(U(!1),z())};u.useEffect(()=>{se&&clearTimeout(se);const S=setTimeout(()=>{const Z=d.current.length?`${d.current.length} results are available, use up and down arrow keys to navigate`:"No results available";m&&R(Z)},500);de(S)},[f]);const ce=()=>{h(!0)},he=()=>{h(!1)};if(u.useEffect(()=>{const S=ie.current;return S&&(S.addEventListener("focus",ce),S.addEventListener("blur",he)),()=>{S&&(S.removeEventListener("focus",ce),S.removeEventListener("blur",he))}},[ce,he]),i){const S=pt(i);i=Je.convert3HexTo6(i),(S==="dark"||S==="light")&&(X={borderBottomColor:i==="#ffffff"?"#c8c8c8":c||m?i:"#333333"})}const Ee=()=>{p(!1)};return N.jsx("div",{className:Be.multiSelectContainer,children:N.jsxs("div",{className:Be.listOptionsWrap,children:[N.jsxs("div",{className:`${o} ${Be.selectedValuesWrap}`,ref:g,children:[N.jsx("div",{className:`${Be.selectedValues} ${m?Be.focused:""} ${l.length===0?Be.placeholder:""}`,ref:ie,onFocus:ce,onBlur:he,onClick:()=>U(!m),onKeyPress:S=>{(S.key===" "||S.code==="Space"||S.code==="Enter")&&(S.preventDefault(),U(!m))},tabIndex:0,"data-testid":"selected-input",style:{...X,...a},"aria-expanded":m,"aria-haspopup":"listbox","aria-multiselectable":"true","aria-autocomplete":"list",role:"combobox",children:Y}),N.jsx("span",{className:Be.dropDownIcon,onClick:()=>U(!m),"data-testid":"arrow-button",children:N.jsx("svg",{width:"12px",height:"7px",viewBox:"0 0 12 7",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:N.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:N.jsx("g",{transform:"translate(-2360.000000, -295.000000)",fill:"#666666",children:N.jsx("g",{transform:"translate(2006.000000, 248.000000)",children:N.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)"})})})})})})]}),N.jsx("div",{id:"announcement","aria-live":"assertive",role:"alert",className:Be.announcement}),F?Ae.createPortal(N.jsx(N.Fragment,{children:m&&g&&N.jsx("div",{onClick:Ee,style:{position:"fixed",inset:0,backgroundColor:"rgba(255,255,255,0)",zIndex:1e3},children:N.jsxs("div",{className:`${Be.optionsListContainer}`,ref:E,onClick:S=>S.stopPropagation(),style:{opacity:G.left?1:0,width:g.current?g.current.clientWidth:"auto",left:G.left,top:G.top},children:[N.jsxs("div",{className:Be.optionsListWrap,children:[e.length>=6&&N.jsx("div",{className:Be.searchInputWrap,children:N.jsx("input",{type:"text",ref:O,placeholder:"Type to filter",className:Be.searchInput,value:f,onChange:S=>v(S.target.value),"data-testid":"search-input",onKeyDown:S=>{ne(S)}})}),N.jsx("ul",{ref:C,role:"listbox",children:d.current.map((S,Z)=>N.jsxs("li",{className:`${Be.optionsList} ${Z===A?Be.focused:""}`,onClick:()=>T(S.value),"aria-selected":Z===A,role:"option",children:[N.jsx($r,{themeColor:i,checked:l.includes(S.value),disabled:S.disable||r!==void 0&&l.length>=r&&!l.includes(S.value)}),N.jsx("span",{children:S.label})]},S.value))})]}),N.jsxs("div",{className:Be.btnContainer,children:[N.jsx("input",{ref:b,onKeyDown:S=>{ne(S)},className:Be.hiddenButton}),N.jsx(Pn,{themeColor:i,variant:"primary",size:"medium",onClick:()=>{p(!1),v(""),z(),t(l)},"data-testid":"done-button",onKeyDown:S=>{q(S)},ref:x,children:"Done"})]})]})})}),document.body):null]})})},ke={multiSelectContainer:"_multiSelectContainer_oedl1_5",listOptionsWrap:"_listOptionsWrap_oedl1_8",selectedValuesWrap:"_selectedValuesWrap_oedl1_11",selectedValues:"_selectedValues_oedl1_11",countShow:"_countShow_oedl1_17",focused:"_focused_oedl1_23",placeholder:"_placeholder_oedl1_26",rounded:"_rounded_oedl1_29",selected:"_selected_oedl1_11",selectedCount:"_selectedCount_oedl1_44",dropDownIcon:"_dropDownIcon_oedl1_48",optionsListContainer:"_optionsListContainer_oedl1_52",optionsListWrap:"_optionsListWrap_oedl1_58",searchInputWrap:"_searchInputWrap_oedl1_61",searchInput:"_searchInput_oedl1_61",optionsList:"_optionsList_oedl1_52",btnContainer:"_btnContainer_oedl1_83",hiddenButton:"_hiddenButton_oedl1_86",announcement:"_announcement_oedl1_99"},du=({options:e,checkedValue:n,onSelectionChange:t,maxOptions:r,themeColor:i,className:o="",style:a={},categoryName:d="",variant:l="default",placeholder:s="Select your option"})=>{const f=u.useRef(e),[v,m]=u.useState(n),[p,c]=u.useState(""),[h,g]=u.useState(!1),[E,O]=u.useState(!1),b=u.useRef(null),x=u.useRef(null),C=u.useRef(null),A=u.useRef(null),j=u.useRef(null),H=u.useRef(null),[k,F]=u.useState(-1),D=u.useRef(0),X=u.useRef(0),[G,B]=u.useState(!1);let se={};const[de,ae]=u.useState({left:0,top:0}),[ie,z]=u.useState(null),I=u.useRef(!1),R=u.useRef(null);u.useEffect(()=>{m(n)},[n]);const Y=()=>{setTimeout(()=>{(b.current?.children[0]).focus()},0)};u.useEffect(()=>{const _=fe=>{x.current&&!x.current.contains(fe.target)&&(g(!1),c(""),Y())};return document.addEventListener("mousedown",_),()=>{document.removeEventListener("mousedown",_)}},[]);const T=()=>{D.current=window.innerHeight,X.current=document.body.scrollHeight,B(!0)};u.useEffect(()=>(T(),window.addEventListener("resize",T),()=>{window.addEventListener("resize",T)}),[]);const U=_=>{const fe=document.getElementById("announcement");fe&&(fe.textContent=_,fe.setAttribute("aria-live","assertive"),setTimeout(()=>{fe.textContent="",fe.setAttribute("aria-live","off")},1e3))};u.useEffect(()=>{const _=e.filter(fe=>fe.label.toLowerCase().includes(p.toLowerCase()));f.current=_},[e,p]);const L=v.length>1&&d?d:v.length>0?v.map(_=>{const fe=e.find(ge=>ge.value===_);return fe?.label!==null?fe?.label:""}).filter(_=>_!=="").join(", "):s,Q=_=>{const fe=e.find(ge=>ge.value===_);if(fe&&!fe.disable&&(r===void 0||v.length<=r)){const xe=v.includes(_)?v.filter(Ve=>Ve!==_):[...v,_];(r===void 0||xe.length<=r)&&h&&(m(xe),t(xe),setTimeout(()=>{ne()},50),f.current.length===1&&g(!1),U(`${fe?.label} ${xe.includes(_)?"selected":"not selected"}`))}},q=_=>{ne(),g(_),setTimeout(()=>{C.current?C.current?.focus():A.current?.focus(),U("use up and down arrow keys to navigate")},0)},ne=()=>{if(b.current){const _=b.current.getBoundingClientRect();setTimeout(()=>{const fe=x?.current?.getBoundingClientRect();if(fe){const ge=fe.height,xe=fe.width,Ne=window.innerWidth,Ve=D.current-_.bottom,w=_.top;let re;Ve>=ge?re=_.bottom:w>=ge?re=_.top-ge:Ve>=w?re=_.bottom:re=_.top-ge;const J=Ne-_.left,ve=_.right;let Te;J>=xe?Te=_.left:ve>=xe?Te=_.right-xe:J>=ve?Te=Math.max(0,Ne-xe):Te=Math.max(0,_.right-xe),ae({left:Te,top:re})}},10)}};u.useEffect(()=>(window.addEventListener("scroll",ne),window.addEventListener("resize",ne),()=>{window.removeEventListener("scroll",ne),window.removeEventListener("resize",ne)}),[h]);const ce=_=>{_.preventDefault(),_.key==="Shift"?I.current=!0:_.shiftKey&&I.current&&_.key==="Tab"||_.key==="Tab"?(setTimeout(()=>{C.current?C.current?.focus():A.current?.focus()},0),I.current=!1):_.key==="Escape"||_.key==="Enter"||_.key==="Space"||_.key===" "?(q(!1),Y()):I.current=!1},he=_=>{const{key:fe}=_;if(fe==="Tab"||_.shiftKey&&fe==="Tab")setTimeout(()=>{j.current?.focus()},0);else if(fe==="ArrowDown"||fe==="ArrowUp"){_.preventDefault(),setTimeout(()=>{A.current?.focus()},0);let ge=k;if(fe==="ArrowDown"?ge=Math.min(k+1,f.current.length-1):fe==="ArrowUp"&&(ge=Math.max(k-1,0)),k===0&&_.key==="ArrowUp"?ge=f.current.length-1:k===f.current.length-1&&_.key==="ArrowDown"&&(ge=0),F(ge),H.current&&ge>=0){const xe=H.current.querySelectorAll(`.${ke.optionsList}`)[ge],Ne=xe.children[0].getAttribute("aria-checked"),Ve=`${xe.textContent} ${Ne==="true"?"selected":"not selected"} ${ge+1} out of ${f.current.length}`;U(Ve),xe&&xe.scrollIntoView({block:"nearest",inline:"nearest"})}}else fe==="Enter"||fe==="Space"||fe===" "?k!==-1&&Q(f.current[k].value):fe==="Escape"&&(q(!1),Y())};u.useEffect(()=>{ie&&clearTimeout(ie);const _=setTimeout(()=>{const fe=f.current.length?`${f.current.length} results are available, use up and down arrow keys to navigate`:"No results available";h&&U(fe)},500);z(_)},[p]);const Ee=()=>{O(!0)},S=()=>{O(!1)};if(u.useEffect(()=>{const _=R.current;return _&&(_.addEventListener("focus",Ee),_.addEventListener("blur",S)),()=>{_&&(_.removeEventListener("focus",Ee),_.removeEventListener("blur",S))}},[Ee,S]),i){const _=pt(i);i=Je.convert3HexTo6(i),(_==="dark"||_==="light")&&(se={"--theme-color":i})}const Z=()=>{g(!1)},K=()=>{g(!1),c(""),Y(),t(v)};return N.jsx("div",{className:ke.multiSelectContainer,children:N.jsxs("div",{className:ke.listOptionsWrap,children:[N.jsxs("div",{className:`${o} ${ke.selectedValuesWrap}`,ref:b,children:[N.jsx("div",{className:`${ke.selectedValues} ${h?ke.focused:""} ${v.length>0?ke.selected:""} ${v.length>1?ke.countShow:""} ${v.length===0?ke.placeholder:""} ${l==="rounded"?ke.rounded:""}`,ref:R,onFocus:Ee,onBlur:S,onClick:()=>q(!h),onKeyPress:_=>{(_.key===" "||_.code==="Space"||_.code==="Enter")&&(_.preventDefault(),q(!h))},tabIndex:0,"data-testid":"selected-input",style:{...se,...a},"aria-expanded":h,"aria-haspopup":"listbox","aria-multiselectable":"true","aria-autocomplete":"list",role:"combobox",children:L}),v.length>1&&N.jsx("span",{className:ke.selectedCount,"data-testid":"selected-count",style:{backgroundColor:i},children:v.length}),N.jsx("span",{className:ke.dropDownIcon,onClick:()=>q(!h),"data-testid":"arrow-button",children:N.jsx("svg",{width:"12px",height:"7px",viewBox:"0 0 12 7",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:N.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:N.jsx("g",{transform:"translate(-2360.000000, -295.000000)",fill:"#666666",children:N.jsx("g",{transform:"translate(2006.000000, 248.000000)",children:N.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)"})})})})})})]}),N.jsx("div",{id:"announcement","aria-live":"assertive",role:"alert",className:ke.announcement}),G?Ae.createPortal(N.jsx(N.Fragment,{children:h&&b&&N.jsx("div",{onClick:Z,style:{position:"fixed",inset:0,backgroundColor:"rgba(255,255,255,0)",zIndex:1e3},children:N.jsxs("div",{className:`${ke.optionsListContainer}`,ref:x,onClick:_=>_.stopPropagation(),style:{opacity:de.top?1:0,left:de.left,top:de.top,paddingBottom:f.current.length===1?0:void 0},children:[N.jsxs("div",{className:ke.optionsListWrap,children:[e.length>=6&&N.jsx("div",{className:ke.searchInputWrap,children:N.jsx("input",{type:"text",ref:C,placeholder:"Type to filter",className:ke.searchInput,value:p,onChange:_=>c(_.target.value),"data-testid":"search-input",onKeyDown:_=>{he(_)}})}),N.jsx("ul",{ref:H,role:"listbox",children:f.current.map((_,fe)=>N.jsxs("li",{className:`${ke.optionsList} ${fe===k?ke.focused:""}`,onClick:()=>Q(_.value),"aria-selected":fe===k,role:"option",children:[N.jsx($r,{themeColor:i,checked:v.includes(_.value),disabled:_.disable||r!==void 0&&v.length>=r&&!v.includes(_.value)}),N.jsx("span",{children:_.label})]},_.value))})]}),f.current.length>1&&N.jsxs("div",{className:ke.btnContainer,children:[N.jsx("input",{ref:A,onKeyDown:_=>{he(_)},className:ke.hiddenButton}),N.jsx(Pn,{themeColor:i,variant:"primary",size:"medium",disabled:!(v.length>0),onClick:K,"data-testid":"done-button",onKeyDown:_=>{ce(_)},ref:j,children:"Done"})]})]})})}),document.body):null]})})},Tn={multiSelectContainer:"_multiSelectContainer_1rhxq_1",quickOptionsWrap:"_quickOptionsWrap_1rhxq_4",selected:"_selected_1rhxq_11",disabled:"_disabled_1rhxq_17"},lu=({options:e,checkedValue:n,onSelectionChange:t,maxOptions:r,themeColor:i,className:o="",style:a={},id:d=""})=>{const[l,s]=u.useState(n),f=u.useRef({});let v={},m;const p=c=>{const h=e.find(x=>x.value===c);if(!h||h.disable)return;f.current[c]?.click();const O=l.includes(c)?l.filter(x=>x!==c):[...l,c];(r===void 0||O.length<=r)&&(s(O),t(O))};if(i){m=pt(i),i=Je.convert3HexTo6(i);const c=i==="#ffffff"?"#333333":i;(m==="dark"||m==="light")&&(v={outlineColor:c,borderColor:c,color:i==="#ffffff"||m==="light"?"#333333":i})}return N.jsx("div",{className:Tn.multiSelectContainer,role:"group",children:N.jsx("ul",{className:Tn.quickOptionsWrap,id:d,children:e.map(c=>N.jsx("li",{style:{...v,...a},className:`${o} ${c.disable||r!==void 0&&l.length>=r&&!l.includes(c.value)?Tn.disabled:""} ${l.includes(c.value)?Tn.selected:""}`,tabIndex:c.disable?-1:0,onClick:()=>p(c.value),onKeyPress:h=>{(h.key===" "||h.code==="Space")&&(h.preventDefault(),p(c.value))},"data-testid":"option-box",children:N.jsx(gr,{id:c.value,checkboxSize:"large",tabIndex:-1,themeColor:i,ref:h=>{f.current[c.value]=h},checked:l.includes(c.value),disabled:c.disable||r!==void 0&&l.length>=r&&!l.includes(c.value),children:N.jsx("span",{style:{color:i&&(i==="#ffffff"||m==="light")||c.disable||r!==void 0&&l.length>=r&&!l.includes(c.value)?"#333333":i&&(i!=="#ffffff"||m!=="light")?i:"#006bb1"},children:c.label})})},c.value))})})},lt={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"},su=({options:e,onSelect:n,selected:t,themeColor:r,className:i="",style:o={},showLoader:a=!1,id:d=""})=>{const[l,s]=u.useState(t);let f={},v={},m="#ffffff";const p=c=>{if(l?.value===c?.value){s(void 0),n(void 0);return}n(c),s(c)};if(r){const c=pt(r);r=Je.convert3HexTo6(r);const h=r==="#ffffff"?"#333333":r;(c==="dark"||c==="light")&&(m=r==="#ffffff"||c==="dark"?"#ffffff":"#333333",f={outlineColor:h,borderColor:h,color:r==="#ffffff"||c==="light"?"#333333":r},v={borderRightColor:h,borderTopColor:h})}return N.jsx("div",{className:lt.singleSelectWrapper,children:N.jsx("div",{className:lt.quickOption,children:N.jsx("ul",{className:lt.quickOption,role:"radiogroup",id:d,children:e.map(c=>N.jsxs("li",{tabIndex:c.disable?-1:0,className:`${i} ${l?.value===c.value?lt.selected:""} ${c.disable?lt.disabled:""}`,style:{...f,...o},onClick:()=>p(c),onKeyPress:h=>{(h.key===" "||h.code==="Space")&&(h.preventDefault(),p(c))},"data-testid":"checkbox-input",role:"radio","aria-checked":l?.value===c.value,children:[c.label,l?.value===c.value&&!c.disable&&N.jsxs("div",{className:lt.triangle,style:{...v},children:[a&&N.jsx("div",{className:lt.loader,style:{borderRightColor:r??"#006bb1"}}),!a&&N.jsx("div",{className:lt.checkmarkWrap,children:N.jsx("svg",{className:lt.checkmark,xmlns:"http://www.w3.org/2000/svg",width:"11",height:"9",viewBox:"0 0 11 9",fill:"none",children:N.jsx("path",{className:lt.checkmarkCheck,stroke:m,d:"M2.1 4.34286L4.12857 6.40001L8.9 1.60001",strokeWidth:"2"})})})]})]},c.value))})})})},uu={scrollbarContainer:"_scrollbarContainer_40vsr_1"},ao=u.forwardRef(({children:e,className:n="",style:t={},...r},i)=>{const o=[uu.scrollbarContainer,n].filter(Boolean).join(" ");return N.jsx(N.Fragment,{children:N.jsx("div",{ref:i,style:{...t},className:o,...r,children:e})})});ao.displayName="Scrollbar";const lo=typeof document<"u"?u.useLayoutEffect:()=>{};function cu(e){const n=u.useRef(null);return lo(()=>{n.current=e},[e]),u.useCallback((...t)=>{const r=n.current;return r?.(...t)},[])}const bt=e=>{var n;return(n=e?.ownerDocument)!==null&&n!==void 0?n:document},Ot=e=>e&&"window"in e&&e.window===e?e:bt(e).defaultView||window;function fu(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function pu(e){return fu(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let mu=!1;function br(){return mu}function so(e,n){if(!br())return n&&e?e.contains(n):!1;if(!e||!n)return!1;let t=n;for(;t!==null;){if(t===e)return!0;t.tagName==="SLOT"&&t.assignedSlot?t=t.assignedSlot.parentNode:pu(t)?t=t.host:t=t.parentNode}return!1}const yr=(e=document)=>{var n;if(!br())return e.activeElement;let t=e.activeElement;for(;t&&"shadowRoot"in t&&(!((n=t.shadowRoot)===null||n===void 0)&&n.activeElement);)t=t.shadowRoot.activeElement;return t};function uo(e){return br()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}function hu(e){var n;return typeof window>"u"||window.navigator==null?!1:((n=window.navigator.userAgentData)===null||n===void 0?void 0:n.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent)}function vu(e){var n;return typeof window<"u"&&window.navigator!=null?e.test(((n=window.navigator.userAgentData)===null||n===void 0?void 0:n.platform)||window.navigator.platform):!1}function co(e){let n=null;return()=>(n==null&&(n=e()),n)}const gu=co(function(){return vu(/^Mac/i)}),$u=co(function(){return hu(/Android/i)});function fo(){let e=u.useRef(new Map),n=u.useCallback((i,o,a,d)=>{let l=d?.once?(...s)=>{e.current.delete(a),a(...s)}:a;e.current.set(a,{type:o,eventTarget:i,fn:l,options:d}),i.addEventListener(o,l,d)},[]),t=u.useCallback((i,o,a,d)=>{var l;let s=((l=e.current.get(a))===null||l===void 0?void 0:l.fn)||a;i.removeEventListener(o,s,d),e.current.delete(a)},[]),r=u.useCallback(()=>{e.current.forEach((i,o)=>{t(i.eventTarget,i.type,o,i.options)})},[t]);return u.useEffect(()=>r,[r]),{addGlobalListener:n,removeGlobalListener:t,removeAllGlobalListeners:r}}function bu(e){return e.mozInputSource===0&&e.isTrusted?!0:$u()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}class po{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(n,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=n}}function mo(e){let n=u.useRef({isFocused:!1,observer:null});lo(()=>{const r=n.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]);let t=cu(r=>{e?.(r)});return u.useCallback(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){n.current.isFocused=!0;let i=r.target,o=a=>{n.current.isFocused=!1,i.disabled&&t(new po("blur",a)),n.current.observer&&(n.current.observer.disconnect(),n.current.observer=null)};i.addEventListener("focusout",o,{once:!0}),n.current.observer=new MutationObserver(()=>{if(n.current.isFocused&&i.disabled){var a;(a=n.current.observer)===null||a===void 0||a.disconnect();let d=i===document.activeElement?null:document.activeElement;i.dispatchEvent(new FocusEvent("blur",{relatedTarget:d})),i.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:d}))}}),n.current.observer.observe(i,{attributes:!0,attributeFilter:["disabled"]})}},[t])}let yu=!1,on=null,wr=new Set,an=new Map,Pt=!1,xr=!1;const wu={Tab:!0,Escape:!0};function Cr(e,n){for(let t of wr)t(e,n)}function xu(e){return!(e.metaKey||!gu()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function In(e){Pt=!0,xu(e)&&(on="keyboard",Cr("keyboard",e))}function Qe(e){on="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Pt=!0,Cr("pointer",e))}function ho(e){bu(e)&&(Pt=!0,on="virtual")}function vo(e){e.target===window||e.target===document||yu||!e.isTrusted||(!Pt&&!xr&&(on="virtual",Cr("virtual",e)),Pt=!1,xr=!1)}function go(){Pt=!1,xr=!0}function Er(e){if(typeof window>"u"||an.get(Ot(e)))return;const n=Ot(e),t=bt(e);let r=n.HTMLElement.prototype.focus;n.HTMLElement.prototype.focus=function(){Pt=!0,r.apply(this,arguments)},t.addEventListener("keydown",In,!0),t.addEventListener("keyup",In,!0),t.addEventListener("click",ho,!0),n.addEventListener("focus",vo,!0),n.addEventListener("blur",go,!1),typeof PointerEvent<"u"?(t.addEventListener("pointerdown",Qe,!0),t.addEventListener("pointermove",Qe,!0),t.addEventListener("pointerup",Qe,!0)):(t.addEventListener("mousedown",Qe,!0),t.addEventListener("mousemove",Qe,!0),t.addEventListener("mouseup",Qe,!0)),n.addEventListener("beforeunload",()=>{$o(e)},{once:!0}),an.set(n,{focus:r})}const $o=(e,n)=>{const t=Ot(e),r=bt(e);n&&r.removeEventListener("DOMContentLoaded",n),an.has(t)&&(t.HTMLElement.prototype.focus=an.get(t).focus,r.removeEventListener("keydown",In,!0),r.removeEventListener("keyup",In,!0),r.removeEventListener("click",ho,!0),t.removeEventListener("focus",vo,!0),t.removeEventListener("blur",go,!1),typeof PointerEvent<"u"?(r.removeEventListener("pointerdown",Qe,!0),r.removeEventListener("pointermove",Qe,!0),r.removeEventListener("pointerup",Qe,!0)):(r.removeEventListener("mousedown",Qe,!0),r.removeEventListener("mousemove",Qe,!0),r.removeEventListener("mouseup",Qe,!0)),an.delete(t))};function Cu(e){const n=bt(e);let t;return n.readyState!=="loading"?Er(e):(t=()=>{Er(e)},n.addEventListener("DOMContentLoaded",t)),()=>$o(e,t)}typeof document<"u"&&Cu();function bo(){return on!=="pointer"}const Eu=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Su(e,n,t){let r=bt(t?.target);const i=typeof window<"u"?Ot(t?.target).HTMLInputElement:HTMLInputElement,o=typeof window<"u"?Ot(t?.target).HTMLTextAreaElement:HTMLTextAreaElement,a=typeof window<"u"?Ot(t?.target).HTMLElement:HTMLElement,d=typeof window<"u"?Ot(t?.target).KeyboardEvent:KeyboardEvent;return e=e||r.activeElement instanceof i&&!Eu.has(r.activeElement.type)||r.activeElement instanceof o||r.activeElement instanceof a&&r.activeElement.isContentEditable,!(e&&n==="keyboard"&&t instanceof d&&!wu[t.key])}function Ou(e,n,t){Er(),u.useEffect(()=>{let r=(i,o)=>{Su(!!t?.isTextInput,i,o)&&e(bo())};return wr.add(r),()=>{wr.delete(r)}},n)}function Pu(e){let{isDisabled:n,onFocus:t,onBlur:r,onFocusChange:i}=e;const o=u.useCallback(l=>{if(l.target===l.currentTarget)return r&&r(l),i&&i(!1),!0},[r,i]),a=mo(o),d=u.useCallback(l=>{const s=bt(l.target),f=s?yr(s):yr();l.target===l.currentTarget&&f===uo(l.nativeEvent)&&(t&&t(l),i&&i(!0),a(l))},[i,t,a]);return{focusProps:{onFocus:!n&&(t||i||r)?d:void 0,onBlur:!n&&(r||i)?o:void 0}}}function Tu(e){let{isDisabled:n,onBlurWithin:t,onFocusWithin:r,onFocusWithinChange:i}=e,o=u.useRef({isFocusWithin:!1}),{addGlobalListener:a,removeAllGlobalListeners:d}=fo(),l=u.useCallback(v=>{v.currentTarget.contains(v.target)&&o.current.isFocusWithin&&!v.currentTarget.contains(v.relatedTarget)&&(o.current.isFocusWithin=!1,d(),t&&t(v),i&&i(!1))},[t,i,o,d]),s=mo(l),f=u.useCallback(v=>{if(!v.currentTarget.contains(v.target))return;const m=bt(v.target),p=yr(m);if(!o.current.isFocusWithin&&p===uo(v.nativeEvent)){r&&r(v),i&&i(!0),o.current.isFocusWithin=!0,s(v);let c=v.currentTarget;a(m,"focus",h=>{if(o.current.isFocusWithin&&!so(c,h.target)){let g=new po("blur",new m.defaultView.FocusEvent("blur",{relatedTarget:h.target}));g.target=c,g.currentTarget=c,l(g)}},{capture:!0})}},[r,i,s,a,l]);return n?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:f,onBlur:l}}}let Nn=!1,Sr=0;function Or(){Nn=!0,setTimeout(()=>{Nn=!1},50)}function yo(e){e.pointerType==="touch"&&Or()}function Iu(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",yo):document.addEventListener("touchend",Or),Sr++,()=>{Sr--,!(Sr>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",yo):document.removeEventListener("touchend",Or))}}function Pr(e){let{onHoverStart:n,onHoverChange:t,onHoverEnd:r,isDisabled:i}=e,[o,a]=u.useState(!1),d=u.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;u.useEffect(Iu,[]);let{addGlobalListener:l,removeAllGlobalListeners:s}=fo(),{hoverProps:f,triggerHoverEnd:v}=u.useMemo(()=>{let m=(h,g)=>{if(d.pointerType=g,i||g==="touch"||d.isHovered||!h.currentTarget.contains(h.target))return;d.isHovered=!0;let E=h.currentTarget;d.target=E,l(bt(h.target),"pointerover",O=>{d.isHovered&&d.target&&!so(d.target,O.target)&&p(O,O.pointerType)},{capture:!0}),n&&n({type:"hoverstart",target:E,pointerType:g}),t&&t(!0),a(!0)},p=(h,g)=>{let E=d.target;d.pointerType="",d.target=null,!(g==="touch"||!d.isHovered||!E)&&(d.isHovered=!1,s(),r&&r({type:"hoverend",target:E,pointerType:g}),t&&t(!1),a(!1))},c={};return typeof PointerEvent<"u"?(c.onPointerEnter=h=>{Nn&&h.pointerType==="mouse"||m(h,h.pointerType)},c.onPointerLeave=h=>{!i&&h.currentTarget.contains(h.target)&&p(h,h.pointerType)}):(c.onTouchStart=()=>{d.ignoreEmulatedMouseEvents=!0},c.onMouseEnter=h=>{!d.ignoreEmulatedMouseEvents&&!Nn&&m(h,"mouse"),d.ignoreEmulatedMouseEvents=!1},c.onMouseLeave=h=>{!i&&h.currentTarget.contains(h.target)&&p(h,"mouse")}),{hoverProps:c,triggerHoverEnd:p}},[n,t,r,i,d,l,s]);return u.useEffect(()=>{i&&v({currentTarget:d.target},d.pointerType)},[i]),{hoverProps:f,isHovered:o}}function Tr(e={}){let{autoFocus:n=!1,isTextInput:t,within:r}=e,i=u.useRef({isFocused:!1,isFocusVisible:n||bo()}),[o,a]=u.useState(!1),[d,l]=u.useState(()=>i.current.isFocused&&i.current.isFocusVisible),s=u.useCallback(()=>l(i.current.isFocused&&i.current.isFocusVisible),[]),f=u.useCallback(p=>{i.current.isFocused=p,a(p),s()},[s]);Ou(p=>{i.current.isFocusVisible=p,s()},[],{isTextInput:t});let{focusProps:v}=Pu({isDisabled:r,onFocusChange:f}),{focusWithinProps:m}=Tu({isDisabled:!r,onFocusWithinChange:f});return{isFocused:o,isFocusVisible:d,focusProps:r?m:v}}var Nu=Object.defineProperty,_u=(e,n,t)=>n in e?Nu(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Ir=(e,n,t)=>(_u(e,typeof n!="symbol"?n+"":n,t),t);let Au=class{constructor(){Ir(this,"current",this.detect()),Ir(this,"handoffState","pending"),Ir(this,"currentId",0)}set(n){this.current!==n&&(this.handoffState="pending",this.currentId=0,this.current=n)}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"}},Tt=new Au;function Lt(e){return Tt.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}function wo(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(n=>setTimeout(()=>{throw n}))}function et(){let e=[],n={addEventListener(t,r,i,o){return t.addEventListener(r,i,o),n.add(()=>t.removeEventListener(r,i,o))},requestAnimationFrame(...t){let r=requestAnimationFrame(...t);return n.add(()=>cancelAnimationFrame(r))},nextFrame(...t){return n.requestAnimationFrame(()=>n.requestAnimationFrame(...t))},setTimeout(...t){let r=setTimeout(...t);return n.add(()=>clearTimeout(r))},microTask(...t){let r={current:!0};return wo(()=>{r.current&&t[0]()}),n.add(()=>{r.current=!1})},style(t,r,i){let o=t.style.getPropertyValue(r);return Object.assign(t.style,{[r]:i}),this.add(()=>{Object.assign(t.style,{[r]:o})})},group(t){let r=et();return t(r),this.add(()=>r.dispose())},add(t){return e.includes(t)||e.push(t),()=>{let r=e.indexOf(t);if(r>=0)for(let i of e.splice(r,1))i()}},dispose(){for(let t of e.splice(0))t()}};return n}function yt(){let[e]=u.useState(et);return u.useEffect(()=>()=>e.dispose(),[e]),e}let Ce=(e,n)=>{Tt.isServer?u.useEffect(e,n):u.useLayoutEffect(e,n)};function mt(e){let n=u.useRef(e);return Ce(()=>{n.current=e},[e]),n}let te=function(e){let n=mt(e);return u.useCallback((...t)=>n.current(...t),[n])};function ku(e){let n=e.width/2,t=e.height/2;return{top:e.clientY-t,right:e.clientX+n,bottom:e.clientY+t,left:e.clientX-n}}function Fu(e,n){return!(!e||!n||e.right<n.left||e.left>n.right||e.bottom<n.top||e.top>n.bottom)}function xo({disabled:e=!1}={}){let n=u.useRef(null),[t,r]=u.useState(!1),i=yt(),o=te(()=>{n.current=null,r(!1),i.dispose()}),a=te(d=>{if(i.dispose(),n.current===null){n.current=d.currentTarget,r(!0);{let l=Lt(d.currentTarget);i.addEventListener(l,"pointerup",o,!1),i.addEventListener(l,"pointermove",s=>{if(n.current){let f=ku(s);r(Fu(f,n.current.getBoundingClientRect()))}},!1),i.addEventListener(l,"pointercancel",o,!1)}}});return{pressed:t,pressProps:e?{}:{onPointerDown:a,onPointerUp:o,onClick:o}}}let Mu=u.createContext(void 0);function _n(){return u.useContext(Mu)}function Nr(...e){return Array.from(new Set(e.flatMap(n=>typeof n=="string"?n.split(" "):[]))).filter(Boolean).join(" ")}function We(e,n,...t){if(e in n){let i=n[e];return typeof i=="function"?i(...t):i}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(n).map(i=>`"${i}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,We),r}var jt=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(jt||{}),wt=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(wt||{});function De(){let e=ju();return u.useCallback(n=>Lu({mergeRefs:e,...n}),[e])}function Lu({ourProps:e,theirProps:n,slot:t,defaultTag:r,features:i,visible:o=!0,name:a,mergeRefs:d}){d=d??Du;let l=Co(n,e);if(o)return An(l,t,r,a,d);let s=i??0;if(s&2){let{static:f=!1,...v}=l;if(f)return An(v,t,r,a,d)}if(s&1){let{unmount:f=!0,...v}=l;return We(f?0:1,{0(){return null},1(){return An({...v,hidden:!0,style:{display:"none"}},t,r,a,d)}})}return An(l,t,r,a,d)}function An(e,n={},t,r,i){let{as:o=t,children:a,refName:d="ref",...l}=_r(e,["unmount","static"]),s=e.ref!==void 0?{[d]:e.ref}:{},f=typeof a=="function"?a(n):a;"className"in l&&l.className&&typeof l.className=="function"&&(l.className=l.className(n)),l["aria-labelledby"]&&l["aria-labelledby"]===l.id&&(l["aria-labelledby"]=void 0);let v={};if(n){let m=!1,p=[];for(let[c,h]of Object.entries(n))typeof h=="boolean"&&(m=!0),h===!0&&p.push(c.replace(/([A-Z])/g,g=>`-${g.toLowerCase()}`));if(m){v["data-headlessui-state"]=p.join(" ");for(let c of p)v[`data-${c}`]=""}}if(o===u.Fragment&&(Object.keys(xt(l)).length>0||Object.keys(xt(v)).length>0))if(!u.isValidElement(f)||Array.isArray(f)&&f.length>1){if(Object.keys(xt(l)).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(xt(l)).concat(Object.keys(xt(v))).map(m=>` - ${m}`).join(`
|
|
32
|
+
Check the top-level render call using <`+w+">."),re}var b=u,x=Symbol.for("react.transitional.element"),C=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),H=Symbol.for("react.profiler"),k=Symbol.for("react.consumer"),F=Symbol.for("react.context"),D=Symbol.for("react.forward_ref"),X=Symbol.for("react.suspense"),G=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),se=Symbol.for("react.lazy"),de=Symbol.for("react.offscreen"),ae=Symbol.iterator,ie=Symbol.for("react.client.reference"),z=b.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,I=Object.prototype.hasOwnProperty,R=Object.assign,Y=Symbol.for("react.client.reference"),T=Array.isArray,U=0,L,Q,q,ne,ce,he,Ee;r.__reactDisabledLog=!0;var S,Z,K=!1,_=new(typeof WeakMap=="function"?WeakMap:Map),fe=Symbol.for("react.client.reference"),ve,xe={},Ne={},Ve={};tn.Fragment=A,tn.jsx=function(w,re,J,ge,Te){return c(w,re,J,!1,ge,Te)},tn.jsxs=function(w,re,J,ge,Te){return c(w,re,J,!0,ge,Te)}}()),tn}var no;function Qs(){return no||(no=1,process.env.NODE_ENV==="production"?Sn.exports=Zs():Sn.exports=Js()),Sn.exports}var N=Qs();const On={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"},pt=e=>{if(!e)throw new Error("Please provide a hex color code");if(!/^#([A-Fa-f0-9]{3}){1,2}$/.test(e))throw new Error("Please provide a valid hex code");e=e.length===4?e.replace(/^#(.)(.)(.)$/,"#$1$1$2$2$3$3"):e;const r=e.substring(1),[i,o,a]=[0,2,4].map(l=>parseInt(r.substring(l,l+2),16));return(.2126*i+.7152*o+.0722*a)/255<.7?"dark":"light"};class Je{static convert3HexTo6(n){return typeof n=="string"&&/^#(?:[0-9a-fA-F]{3}){1,2}$/.test(n)&&n.length===4?n.replace(/^#(.)(.)(.)$/,"#$1$1$2$2$3$3"):n}}const Pn=u.forwardRef(({themeColor:e="",variant:n="primary",size:t="small",shape:r="rounded",children:i,className:o="",style:a={},disabled:d,...l},s)=>{let f={};if(e){const m=pt(e);if(e=Je.convert3HexTo6(e),!d&&(m==="dark"||m==="light")){const p=n==="primary"?e:"#ffffff",c=n==="primary"?m==="dark"?"#ffffff":"#333333":m==="light"?"#333333":e,h=e==="#ffffff"?"#c8c8c8":e;f={backgroundColor:p,color:c,outlineColor:h,borderColor:h}}}const g=[On.button,On[n],On[t],On[r],o].filter(Boolean).join(" ");return N.jsx("button",{disabled:d,ref:s,style:{...f,...a},className:`${g}`,...l,children:i})});Pn.displayName="Button";const dt={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"},eu=()=>`checkbox_${Math.random().toString(36).substring(2,11)}`,vr=u.forwardRef(({children:e,themeColor:n="",checkboxSize:t="medium",id:r=eu(),checked:i=!1,disabled:o=!1,className:a="",onChange:d,style:l={},tabIndex:s,...f},g)=>{const[m,p]=u.useState(i);let c={},h,v=o?"#9b9b9b":"#ffffff";if(n){const x=pt(n);if(n=Je.convert3HexTo6(n),x==="dark"||x==="light"){switch(x){case"dark":v=o?m?"#9b9b9b":"#f9f9f9":"#ffffff";break;case"light":v=o?m?"#9b9b9b":"#f9f9f9":m?"#333333":"#ffffff";break;default:v="#9b9b9b";break}const C=o?"#f9f9f9":m?n:"#ffffff";h=o?"#e4e4e4":n=="#ffffff"?"#333333":n,m&&(c={backgroundColor:C,borderColor:h,outlineColor:h})}}const E=o?dt.checkboxDisabled:"",O=[dt.checkboxLayout,dt[t],E,a].filter(Boolean).join(" "),b=x=>{x.key!="Enter"&&(x.preventDefault(),d?.(x.target.checked),p(!m))};return N.jsx(N.Fragment,{children:N.jsx("div",{className:O,"data-testid":"checkbox",children:N.jsxs("label",{className:dt.checkboxLabel,htmlFor:r,onClick:x=>b(x),children:[N.jsxs("div",{className:dt.checkboxInnerContainer,tabIndex:s||o?-1:0,onKeyPress:x=>b(x),"data-testid":"checkbox-inner-container",children:[N.jsx("input",{className:dt.checkboxInput,onChange:x=>b(x),type:"checkbox",checked:m,disabled:o,id:r,ref:g,...f,tabIndex:-1,"data-testid":"checkbox-input"}),N.jsx("div",{className:dt.checkboxFrame,style:{...c,...l},"data-testid":"checkbox-frame",children:N.jsx("svg",{version:"1.1",focusable:"false",className:dt.checkboxCheckMark,viewBox:"0 0 24 24","data-testid":"check-mark-svg",children:N.jsx("path",{className:dt.checkboxCheckMarkPath,fill:"none",stroke:v,d:"M4.1,12.7 9,17.6 20.3,6.3"})})})]}),e&&N.jsx("span",{"data-testid":"checkbox-label",children:e}),N.jsx("div",{className:dt.visuallyHidden,"aria-live":"polite","aria-atomic":"true",children:m?"Checked":"Unchecked"})]})})})});vr.displayName="Checkbox";const ro={textInputWrapper:"_textInputWrapper_1i9m6_1",textInput:"_textInput_1i9m6_1"};var oe={},nn={exports:{}},tu=nn.exports,io;function nu(){return io||(io=1,function(e,n){(function(t,r){var i="1.0.40",o="",a="?",d="function",l="undefined",s="object",f="string",g="major",m="model",p="name",c="type",h="vendor",v="version",E="architecture",O="console",b="mobile",x="tablet",C="smarttv",A="wearable",j="embedded",H=500,k="Amazon",F="Apple",D="ASUS",X="BlackBerry",G="Browser",B="Chrome",se="Edge",de="Firefox",ae="Google",ie="Huawei",z="LG",I="Microsoft",R="Motorola",Y="Opera",T="Samsung",U="Sharp",L="Sony",Q="Xiaomi",q="Zebra",ne="Facebook",ce="Chromium OS",he="Mac OS",Ee=" Browser",S=function(ue,ee){var me={};for(var we in ue)ee[we]&&ee[we].length%2===0?me[we]=ee[we].concat(ue[we]):me[we]=ue[we];return me},Z=function(ue){for(var ee={},me=0;me<ue.length;me++)ee[ue[me].toUpperCase()]=ue[me];return ee},K=function(ue,ee){return typeof ue===f?_(ee).indexOf(_(ue))!==-1:!1},_=function(ue){return ue.toLowerCase()},fe=function(ue){return typeof ue===f?ue.replace(/[^\d\.]/g,o).split(".")[0]:r},ve=function(ue,ee){if(typeof ue===f)return ue=ue.replace(/^\s\s*/,o),typeof ee===l?ue:ue.substring(0,H)},xe=function(ue,ee){for(var me=0,we,Ie,Fe,$e,pe,Re;me<ee.length&&!pe;){var ze=ee[me],Mt=ee[me+1];for(we=Ie=0;we<ze.length&&!pe&&ze[we];)if(pe=ze[we++].exec(ue),pe)for(Fe=0;Fe<Mt.length;Fe++)Re=pe[++Ie],$e=Mt[Fe],typeof $e===s&&$e.length>0?$e.length===2?typeof $e[1]==d?this[$e[0]]=$e[1].call(this,Re):this[$e[0]]=$e[1]:$e.length===3?typeof $e[1]===d&&!($e[1].exec&&$e[1].test)?this[$e[0]]=Re?$e[1].call(this,Re,$e[2]):r:this[$e[0]]=Re?Re.replace($e[1],$e[2]):r:$e.length===4&&(this[$e[0]]=Re?$e[3].call(this,Re.replace($e[1],$e[2])):r):this[$e]=Re||r;me+=2}},Ne=function(ue,ee){for(var me in ee)if(typeof ee[me]===s&&ee[me].length>0){for(var we=0;we<ee[me].length;we++)if(K(ee[me][we],ue))return me===a?r:me}else if(K(ee[me],ue))return me===a?r:me;return ee.hasOwnProperty("*")?ee["*"]:ue},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","?":"/"},w={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"},re={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[v,[p,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[v,[p,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[p,v],[/opios[\/ ]+([\w\.]+)/i],[v,[p,Y+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[v,[p,Y+" GX"]],[/\bopr\/([\w\.]+)/i],[v,[p,Y]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[v,[p,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[v,[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,v],[/quark(?:pc)?\/([-\w\.]+)/i],[v,[p,"Quark"]],[/\bddg\/([\w\.]+)/i],[v,[p,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[v,[p,"UC"+G]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[v,[p,"WeChat"]],[/konqueror\/([\w\.]+)/i],[v,[p,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[v,[p,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[v,[p,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[v,[p,"Smart Lenovo "+G]],[/(avast|avg)\/([\w\.]+)/i],[[p,/(.+)/,"$1 Secure "+G],v],[/\bfocus\/([\w\.]+)/i],[v,[p,de+" Focus"]],[/\bopt\/([\w\.]+)/i],[v,[p,Y+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[v,[p,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[v,[p,"Dolphin"]],[/coast\/([\w\.]+)/i],[v,[p,Y+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[v,[p,"MIUI"+Ee]],[/fxios\/([\w\.-]+)/i],[v,[p,de]],[/\bqihoobrowser\/?([\w\.]*)/i],[v,[p,"360"]],[/\b(qq)\/([\w\.]+)/i],[[p,/(.+)/,"$1Browser"],v],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[p,/(.+)/,"$1"+Ee],v],[/samsungbrowser\/([\w\.]+)/i],[v,[p,T+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[v,[p,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[p,"Sogou Mobile"],v],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[p,v],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[p],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[v,p],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[p,ne],v],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[p,v],[/\bgsa\/([\w\.]+) .*safari\//i],[v,[p,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[v,[p,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[v,[p,B+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[p,B+" WebView"],v],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[v,[p,"Android "+G]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[p,v],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[v,[p,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[v,p],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[p,[v,Ne,Ve]],[/(webkit|khtml)\/([\w\.]+)/i],[p,v],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[p,"Netscape"],v],[/(wolvic|librewolf)\/([\w\.]+)/i],[p,v],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[v,[p,de+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[p,[v,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[p,[v,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[E,"amd64"]],[/(ia32(?=;))/i],[[E,_]],[/((?:i[346]|x)86)[;\)]/i],[[E,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[E,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[E,"armhf"]],[/windows (ce|mobile); ppc;/i],[[E,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[E,/ower/,o,_]],[/(sun4\w)[;\)]/i],[[E,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[E,_]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[m,[h,T],[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],[m,[h,T],[c,b]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[m,[h,F],[c,b]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[m,[h,F],[c,x]],[/(macintosh);/i],[m,[h,F]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[m,[h,U],[c,b]],[/(?:honor)([-\w ]+)[;\)]/i],[m,[h,"Honor"],[c,b]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[m,[h,ie],[c,x]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[m,[h,ie],[c,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],[[m,/_/g," "],[h,Q],[c,b]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[m,/_/g," "],[h,Q],[c,x]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[m,[h,"OPPO"],[c,b]],[/\b(opd2\d{3}a?) bui/i],[m,[h,"OPPO"],[c,x]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[m,[h,"Vivo"],[c,b]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[m,[h,"Realme"],[c,b]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[m,[h,R],[c,b]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[m,[h,R],[c,x]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[m,[h,z],[c,x]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[m,[h,z],[c,b]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[m,[h,"Lenovo"],[c,x]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[m,/_/g," "],[h,"Nokia"],[c,b]],[/(pixel c)\b/i],[m,[h,ae],[c,x]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[m,[h,ae],[c,b]],[/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],[m,[h,L],[c,b]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[m,"Xperia Tablet"],[h,L],[c,x]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[m,[h,"OnePlus"],[c,b]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[m,[h,k],[c,x]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[m,/(.+)/g,"Fire Phone $1"],[h,k],[c,b]],[/(playbook);[-\w\),; ]+(rim)/i],[m,h,[c,x]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[m,[h,X],[c,b]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[m,[h,D],[c,x]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[m,[h,D],[c,b]],[/(nexus 9)/i],[m,[h,"HTC"],[c,x]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[m,/_/g," "],[c,b]],[/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],[m,[h,"TCL"],[c,x]],[/(itel) ((\w+))/i],[[h,_],m,[c,Ne,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[m,[h,"Acer"],[c,x]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[m,[h,"Meizu"],[c,b]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[m,[h,"Ulefone"],[c,b]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[m,[h,"Energizer"],[c,b]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[m,[h,"Cat"],[c,b]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[m,[h,"Smartfren"],[c,b]],[/droid.+; (a(?:015|06[35]|142p?))/i],[m,[h,"Nothing"],[c,b]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (imo) ((?!tab)[\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[h,m,[c,b]],[/(imo) (tab \w+)/i,/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[h,m,[c,x]],[/(surface duo)/i],[m,[h,I],[c,x]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[m,[h,"Fairphone"],[c,b]],[/(u304aa)/i],[m,[h,"AT&T"],[c,b]],[/\bsie-(\w*)/i],[m,[h,"Siemens"],[c,b]],[/\b(rct\w+) b/i],[m,[h,"RCA"],[c,x]],[/\b(venue[\d ]{2,7}) b/i],[m,[h,"Dell"],[c,x]],[/\b(q(?:mv|ta)\w+) b/i],[m,[h,"Verizon"],[c,x]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[m,[h,"Barnes & Noble"],[c,x]],[/\b(tm\d{3}\w+) b/i],[m,[h,"NuVision"],[c,x]],[/\b(k88) b/i],[m,[h,"ZTE"],[c,x]],[/\b(nx\d{3}j) b/i],[m,[h,"ZTE"],[c,b]],[/\b(gen\d{3}) b.+49h/i],[m,[h,"Swiss"],[c,b]],[/\b(zur\d{3}) b/i],[m,[h,"Swiss"],[c,x]],[/\b((zeki)?tb.*\b) b/i],[m,[h,"Zeki"],[c,x]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],m,[c,x]],[/\b(ns-?\w{0,9}) b/i],[m,[h,"Insignia"],[c,x]],[/\b((nxa|next)-?\w{0,9}) b/i],[m,[h,"NextBook"],[c,x]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],m,[c,b]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],m,[c,b]],[/\b(ph-1) /i],[m,[h,"Essential"],[c,b]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[m,[h,"Envizen"],[c,x]],[/\b(trio[-\w\. ]+) b/i],[m,[h,"MachSpeed"],[c,x]],[/\btu_(1491) b/i],[m,[h,"Rotor"],[c,x]],[/(shield[\w ]+) b/i],[m,[h,"Nvidia"],[c,x]],[/(sprint) (\w+)/i],[h,m,[c,b]],[/(kin\.[onetw]{3})/i],[[m,/\./g," "],[h,I],[c,b]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[m,[h,q],[c,x]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[m,[h,q],[c,b]],[/smart-tv.+(samsung)/i],[h,[c,C]],[/hbbtv.+maple;(\d+)/i],[[m,/^/,"SmartTV"],[h,T],[c,C]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,z],[c,C]],[/(apple) ?tv/i],[h,[m,F+" TV"],[c,C]],[/crkey/i],[[m,B+"cast"],[h,ae],[c,C]],[/droid.+aft(\w+)( bui|\))/i],[m,[h,k],[c,C]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[m,[h,U],[c,C]],[/(bravia[\w ]+)( bui|\))/i],[m,[h,L],[c,C]],[/(mitv-\w{5}) bui/i],[m,[h,Q],[c,C]],[/Hbbtv.*(technisat) (.*);/i],[h,m,[c,C]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[h,ve],[m,ve],[c,C]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[c,C]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,m,[c,O]],[/droid.+; (shield) bui/i],[m,[h,"Nvidia"],[c,O]],[/(playstation [345portablevi]+)/i],[m,[h,L],[c,O]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[m,[h,I],[c,O]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[m,[h,T],[c,A]],[/((pebble))app/i],[h,m,[c,A]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[m,[h,F],[c,A]],[/droid.+; (glass) \d/i],[m,[h,ae],[c,A]],[/droid.+; (wt63?0{2,3})\)/i],[m,[h,q],[c,A]],[/droid.+; (glass) \d/i],[m,[h,ae],[c,A]],[/(pico) (4|neo3(?: link|pro)?)/i],[h,m,[c,A]],[/; (quest( \d| pro)?)/i],[m,[h,ne],[c,A]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[c,j]],[/(aeobc)\b/i],[m,[h,k],[c,j]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[m,[c,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[m,[c,x]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[c,x]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[c,b]],[/(android[-\w\. ]{0,9});.+buil/i],[m,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[v,[p,se+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[p,v],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[v,[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,v],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[v,p]],os:[[/microsoft (windows) (vista|xp)/i],[p,v],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[p,[v,Ne,w]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[v,Ne,w],[p,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[v,/_/g,"."],[p,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[p,he],[v,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[v,p],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[p,v],[/\(bb(10);/i],[v,[p,X]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[v,[p,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[v,[p,de+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[v,[p,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[v,[p,"watchOS"]],[/crkey\/([\d\.]+)/i],[v,[p,B+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[p,ce],v],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[p,v],[/(sunos) ?([\w\.\d]*)/i],[[p,"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],[p,v]]},J=function(ue,ee){if(typeof ue===s&&(ee=ue,ue=r),!(this instanceof J))return new J(ue,ee).getResult();var me=typeof t!==l&&t.navigator?t.navigator:r,we=ue||(me&&me.userAgent?me.userAgent:o),Ie=me&&me.userAgentData?me.userAgentData:r,Fe=ee?S(re,ee):re,$e=me&&me.userAgent==we;return this.getBrowser=function(){var pe={};return pe[p]=r,pe[v]=r,xe.call(pe,we,Fe.browser),pe[g]=fe(pe[v]),$e&&me&&me.brave&&typeof me.brave.isBrave==d&&(pe[p]="Brave"),pe},this.getCPU=function(){var pe={};return pe[E]=r,xe.call(pe,we,Fe.cpu),pe},this.getDevice=function(){var pe={};return pe[h]=r,pe[m]=r,pe[c]=r,xe.call(pe,we,Fe.device),$e&&!pe[c]&&Ie&&Ie.mobile&&(pe[c]=b),$e&&pe[m]=="Macintosh"&&me&&typeof me.standalone!==l&&me.maxTouchPoints&&me.maxTouchPoints>2&&(pe[m]="iPad",pe[c]=x),pe},this.getEngine=function(){var pe={};return pe[p]=r,pe[v]=r,xe.call(pe,we,Fe.engine),pe},this.getOS=function(){var pe={};return pe[p]=r,pe[v]=r,xe.call(pe,we,Fe.os),$e&&!pe[p]&&Ie&&Ie.platform&&Ie.platform!="Unknown"&&(pe[p]=Ie.platform.replace(/chrome os/i,ce).replace(/macos/i,he)),pe},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 we},this.setUA=function(pe){return we=typeof pe===f&&pe.length>H?ve(pe,H):pe,this},this.setUA(we),this};J.VERSION=i,J.BROWSER=Z([p,v,g]),J.CPU=Z([E]),J.DEVICE=Z([m,h,c,O,b,C,x,A,j]),J.ENGINE=J.OS=Z([p,v]),e.exports&&(n=e.exports=J),n.UAParser=J;var ge=typeof t!==l&&(t.jQuery||t.Zepto);if(ge&&!ge.ua){var Te=new J;ge.ua=Te.getResult(),ge.ua.get=function(){return Te.getUA()},ge.ua.set=function(ue){Te.setUA(ue);var ee=Te.getResult();for(var me in ee)ge.ua[me]=ee[me]}}})(typeof window=="object"?window:tu)}(nn,nn.exports)),nn.exports}var oo;function ru(){if(oo)return oe;oo=1,Object.defineProperty(oe,"__esModule",{value:!0});function e(P){return P&&typeof P=="object"&&"default"in P?P.default:P}var n=u,t=e(n),r=nu(),i=new r,o=i.getBrowser(),a=i.getCPU(),d=i.getDevice(),l=i.getEngine(),s=i.getOS(),f=i.getUA(),g=function($){return i.setUA($)},m=function($){if(!$){console.error("No userAgent string was provided");return}var y=new r($);return{UA:y,browser:y.getBrowser(),cpu:y.getCPU(),device:y.getDevice(),engine:y.getEngine(),os:y.getOS(),ua:y.getUA(),setUserAgent:function(W){return y.setUA(W)}}},p=Object.freeze({ClientUAInstance:i,browser:o,cpu:a,device:d,engine:l,os:s,ua:f,setUa:g,parseUserAgent:m});function c(P,$){var y=Object.keys(P);if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(P);$&&(M=M.filter(function(W){return Object.getOwnPropertyDescriptor(P,W).enumerable})),y.push.apply(y,M)}return y}function h(P){for(var $=1;$<arguments.length;$++){var y=arguments[$]!=null?arguments[$]:{};$%2?c(Object(y),!0).forEach(function(M){x(P,M,y[M])}):Object.getOwnPropertyDescriptors?Object.defineProperties(P,Object.getOwnPropertyDescriptors(y)):c(Object(y)).forEach(function(M){Object.defineProperty(P,M,Object.getOwnPropertyDescriptor(y,M))})}return P}function v(P){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?v=function($){return typeof $}:v=function($){return $&&typeof Symbol=="function"&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $},v(P)}function E(P,$){if(!(P instanceof $))throw new TypeError("Cannot call a class as a function")}function O(P,$){for(var y=0;y<$.length;y++){var M=$[y];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(P,M.key,M)}}function b(P,$,y){return $&&O(P.prototype,$),P}function x(P,$,y){return $ in P?Object.defineProperty(P,$,{value:y,enumerable:!0,configurable:!0,writable:!0}):P[$]=y,P}function C(){return C=Object.assign||function(P){for(var $=1;$<arguments.length;$++){var y=arguments[$];for(var M in y)Object.prototype.hasOwnProperty.call(y,M)&&(P[M]=y[M])}return P},C.apply(this,arguments)}function A(P,$){if(typeof $!="function"&&$!==null)throw new TypeError("Super expression must either be null or a function");P.prototype=Object.create($&&$.prototype,{constructor:{value:P,writable:!0,configurable:!0}}),$&&H(P,$)}function j(P){return j=Object.setPrototypeOf?Object.getPrototypeOf:function(y){return y.__proto__||Object.getPrototypeOf(y)},j(P)}function H(P,$){return H=Object.setPrototypeOf||function(M,W){return M.__proto__=W,M},H(P,$)}function k(P,$){if(P==null)return{};var y={},M=Object.keys(P),W,ye;for(ye=0;ye<M.length;ye++)W=M[ye],!($.indexOf(W)>=0)&&(y[W]=P[W]);return y}function F(P,$){if(P==null)return{};var y=k(P,$),M,W;if(Object.getOwnPropertySymbols){var ye=Object.getOwnPropertySymbols(P);for(W=0;W<ye.length;W++)M=ye[W],!($.indexOf(M)>=0)&&Object.prototype.propertyIsEnumerable.call(P,M)&&(y[M]=P[M])}return y}function D(P){if(P===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return P}function X(P,$){if($&&(typeof $=="object"||typeof $=="function"))return $;if($!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return D(P)}function G(P,$){return B(P)||se(P,$)||de(P,$)||ie()}function B(P){if(Array.isArray(P))return P}function se(P,$){var y=P==null?null:typeof Symbol<"u"&&P[Symbol.iterator]||P["@@iterator"];if(y!=null){var M=[],W=!0,ye=!1,Me,Ye;try{for(y=y.call(P);!(W=(Me=y.next()).done)&&(M.push(Me.value),!($&&M.length===$));W=!0);}catch(gr){ye=!0,Ye=gr}finally{try{!W&&y.return!=null&&y.return()}finally{if(ye)throw Ye}}return M}}function de(P,$){if(P){if(typeof P=="string")return ae(P,$);var y=Object.prototype.toString.call(P).slice(8,-1);if(y==="Object"&&P.constructor&&(y=P.constructor.name),y==="Map"||y==="Set")return Array.from(P);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return ae(P,$)}}function ae(P,$){($==null||$>P.length)&&($=P.length);for(var y=0,M=new Array($);y<$;y++)M[y]=P[y];return M}function ie(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
33
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var z={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"},R={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},Y={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},T=function($){switch($){case z.Mobile:return{isMobile:!0};case z.Tablet:return{isTablet:!0};case z.SmartTv:return{isSmartTV:!0};case z.Console:return{isConsole:!0};case z.Wearable:return{isWearable:!0};case z.Browser:return{isBrowser:!0};case z.Embedded:return{isEmbedded:!0};default:return Y}},U=function($){return g($)},L=function($){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"none";return $||y},Q=function(){return typeof window<"u"&&(window.navigator||navigator)?window.navigator||navigator:!1},q=function($){var y=Q();return y&&y.platform&&(y.platform.indexOf($)!==-1||y.platform==="MacIntel"&&y.maxTouchPoints>1&&!window.MSStream)},ne=function($,y,M,W,ye){return{isBrowser:$,browserMajorVersion:L(y.major),browserFullVersion:L(y.version),browserName:L(y.name),engineName:L(M.name),engineVersion:L(M.version),osName:L(W.name),osVersion:L(W.version),userAgent:L(ye)}},ce=function($,y,M,W){return h({},$,{vendor:L(y.vendor),model:L(y.model),os:L(M.name),osVersion:L(M.version),ua:L(W)})},he=function($,y,M,W){return{isSmartTV:$,engineName:L(y.name),engineVersion:L(y.version),osName:L(M.name),osVersion:L(M.version),userAgent:L(W)}},Ee=function($,y,M,W){return{isConsole:$,engineName:L(y.name),engineVersion:L(y.version),osName:L(M.name),osVersion:L(M.version),userAgent:L(W)}},S=function($,y,M,W){return{isWearable:$,engineName:L(y.name),engineVersion:L(y.version),osName:L(M.name),osVersion:L(M.version),userAgent:L(W)}},Z=function($,y,M,W,ye){return{isEmbedded:$,vendor:L(y.vendor),model:L(y.model),engineName:L(M.name),engineVersion:L(M.version),osName:L(W.name),osVersion:L(W.version),userAgent:L(ye)}};function K(P){var $=P?m(P):p,y=$.device,M=$.browser,W=$.engine,ye=$.os,Me=$.ua,Ye=T(y.type),gr=Ye.isBrowser,u5=Ye.isMobile,c5=Ye.isTablet,Ks=Ye.isSmartTV,qs=Ye.isConsole,Ys=Ye.isWearable,Xs=Ye.isEmbedded;if(gr)return ne(gr,M,W,ye,Me);if(Ks)return he(Ks,W,ye,Me);if(qs)return Ee(qs,W,ye,Me);if(u5||c5)return ce(Ye,y,ye,Me);if(Ys)return S(Ys,W,ye,Me);if(Xs)return Z(Xs,y,W,ye,Me)}var _=function($){var y=$.type;return y===z.Mobile},fe=function($){var y=$.type;return y===z.Tablet},ve=function($){var y=$.type;return y===z.Mobile||y===z.Tablet},xe=function($){var y=$.type;return y===z.SmartTv},Ne=function($){var y=$.type;return y===z.Browser},Ve=function($){var y=$.type;return y===z.Wearable},w=function($){var y=$.type;return y===z.Console},re=function($){var y=$.type;return y===z.Embedded},J=function($){var y=$.vendor;return L(y)},ge=function($){var y=$.model;return L(y)},Te=function($){var y=$.type;return L(y,"browser")},ue=function($){var y=$.name;return y===R.Android},ee=function($){var y=$.name;return y===R.Windows},me=function($){var y=$.name;return y===R.MAC_OS},we=function($){var y=$.name;return y===R.WindowsPhone},Ie=function($){var y=$.name;return y===R.IOS},Fe=function($){var y=$.version;return L(y)},$e=function($){var y=$.name;return L(y)},pe=function($){var y=$.name;return y===I.Chrome},Re=function($){var y=$.name;return y===I.Firefox},ze=function($){var y=$.name;return y===I.Chromium},Mt=function($){var y=$.name;return y===I.Edge},$s=function($){var y=$.name;return y===I.Yandex},bs=function($){var y=$.name;return y===I.Safari||y===I.MobileSafari},ys=function($){var y=$.name;return y===I.MobileSafari},ws=function($){var y=$.name;return y===I.Opera},xs=function($){var y=$.name;return y===I.InternetExplorer||y===I.Ie},Cs=function($){var y=$.name;return y===I.MIUI},Es=function($){var y=$.name;return y===I.SamsungBrowser},Ss=function($){var y=$.version;return L(y)},Os=function($){var y=$.major;return L(y)},Ps=function($){var y=$.name;return L(y)},Ts=function($){var y=$.name;return L(y)},Is=function($){var y=$.version;return L(y)},Ns=function(){var $=Q(),y=$&&$.userAgent&&$.userAgent.toLowerCase();return typeof y=="string"?/electron/.test(y):!1},Qt=function($){return typeof $=="string"&&$.indexOf("Edg/")!==-1},_s=function(){var $=Q();return $&&(/iPad|iPhone|iPod/.test($.platform)||$.platform==="MacIntel"&&$.maxTouchPoints>1)&&!window.MSStream},ft=function(){return q("iPad")},As=function(){return q("iPhone")},ks=function(){return q("iPod")},Fs=function($){return L($)};function Ms(P){var $=P||p,y=$.device,M=$.browser,W=$.os,ye=$.engine,Me=$.ua;return{isSmartTV:xe(y),isConsole:w(y),isWearable:Ve(y),isEmbedded:re(y),isMobileSafari:ys(M)||ft(),isChromium:ze(M),isMobile:ve(y)||ft(),isMobileOnly:_(y),isTablet:fe(y)||ft(),isBrowser:Ne(y),isDesktop:Ne(y),isAndroid:ue(W),isWinPhone:we(W),isIOS:Ie(W)||ft(),isChrome:pe(M),isFirefox:Re(M),isSafari:bs(M),isOpera:ws(M),isIE:xs(M),osVersion:Fe(W),osName:$e(W),fullBrowserVersion:Ss(M),browserVersion:Os(M),browserName:Ps(M),mobileVendor:J(y),mobileModel:ge(y),engineName:Ts(ye),engineVersion:Is(ye),getUA:Fs(Me),isEdge:Mt(M)||Qt(Me),isYandex:$s(M),deviceType:Te(y),isIOS13:_s(),isIPad13:ft(),isIPhone13:As(),isIPod13:ks(),isElectron:Ns(),isEdgeChromium:Qt(Me),isLegacyEdge:Mt(M)&&!Qt(Me),isWindows:ee(W),isMacOs:me(W),isMIUI:Cs(M),isSamsungBrowser:Es(M)}}var Ls=xe(d),js=w(d),Ds=Ve(d),g6=re(d),v6=ys(o)||ft(),$6=ze(o),hr=ve(d)||ft(),Rs=_(d),Bs=fe(d)||ft(),Ws=Ne(d),b6=Ne(d),Vs=ue(s),Us=we(s),Hs=Ie(s)||ft(),y6=pe(o),w6=Re(o),x6=bs(o),C6=ws(o),Gs=xs(o),E6=Fe(s),S6=$e(s),O6=Ss(o),P6=Os(o),T6=Ps(o),I6=J(d),N6=ge(d),_6=Ts(l),A6=Is(l),k6=Fs(f),F6=Mt(o)||Qt(f),M6=$s(o),L6=Te(d),j6=_s(),D6=ft(),R6=As(),B6=ks(),W6=Ns(),V6=Qt(f),U6=Mt(o)&&!Qt(f),H6=ee(s),G6=me(s),z6=Cs(o),K6=Es(o),q6=function($){if(!$||typeof $!="string"){console.error("No valid user agent string was provided");return}var y=m($),M=y.device,W=y.browser,ye=y.os,Me=y.engine,Ye=y.ua;return Ms({device:M,browser:W,os:ye,engine:Me,ua:Ye})},Y6=function($){var y=$.renderWithFragment,M=$.children,W=F($,["renderWithFragment","children"]);return Vs?y?t.createElement(n.Fragment,null,M):t.createElement("div",W,M):null},X6=function($){var y=$.renderWithFragment,M=$.children,W=F($,["renderWithFragment","children"]);return Ws?y?t.createElement(n.Fragment,null,M):t.createElement("div",W,M):null},Z6=function($){var y=$.renderWithFragment,M=$.children,W=F($,["renderWithFragment","children"]);return Gs?y?t.createElement(n.Fragment,null,M):t.createElement("div",W,M):null},J6=function($){var y=$.renderWithFragment,M=$.children,W=F($,["renderWithFragment","children"]);return Hs?y?t.createElement(n.Fragment,null,M):t.createElement("div",W,M):null},Q6=function($){var y=$.renderWithFragment,M=$.children,W=F($,["renderWithFragment","children"]);return hr?y?t.createElement(n.Fragment,null,M):t.createElement("div",W,M):null},e5=function($){var y=$.renderWithFragment,M=$.children,W=F($,["renderWithFragment","children"]);return Bs?y?t.createElement(n.Fragment,null,M):t.createElement("div",W,M):null},t5=function($){var y=$.renderWithFragment,M=$.children,W=F($,["renderWithFragment","children"]);return Us?y?t.createElement(n.Fragment,null,M):t.createElement("div",W,M):null},n5=function($){var y=$.renderWithFragment,M=$.children;$.viewClassName,$.style;var W=F($,["renderWithFragment","children","viewClassName","style"]);return Rs?y?t.createElement(n.Fragment,null,M):t.createElement("div",W,M):null},r5=function($){var y=$.renderWithFragment,M=$.children,W=F($,["renderWithFragment","children"]);return Ls?y?t.createElement(n.Fragment,null,M):t.createElement("div",W,M):null},i5=function($){var y=$.renderWithFragment,M=$.children,W=F($,["renderWithFragment","children"]);return js?y?t.createElement(n.Fragment,null,M):t.createElement("div",W,M):null},o5=function($){var y=$.renderWithFragment,M=$.children,W=F($,["renderWithFragment","children"]);return Ds?y?t.createElement(n.Fragment,null,M):t.createElement("div",W,M):null},a5=function($){var y=$.renderWithFragment,M=$.children;$.viewClassName,$.style;var W=$.condition,ye=F($,["renderWithFragment","children","viewClassName","style","condition"]);return W?y?t.createElement(n.Fragment,null,M):t.createElement("div",ye,M):null};function d5(P){return function($){A(y,$);function y(M){var W;return E(this,y),W=X(this,j(y).call(this,M)),W.isEventListenerAdded=!1,W.handleOrientationChange=W.handleOrientationChange.bind(D(W)),W.onOrientationChange=W.onOrientationChange.bind(D(W)),W.onPageLoad=W.onPageLoad.bind(D(W)),W.state={isLandscape:!1,isPortrait:!1},W}return b(y,[{key:"handleOrientationChange",value:function(){this.isEventListenerAdded||(this.isEventListenerAdded=!0);var W=window.innerWidth>window.innerHeight?90:0;this.setState({isPortrait:W===0,isLandscape:W===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&&hr&&(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 t.createElement(P,C({},this.props,{isLandscape:this.state.isLandscape,isPortrait:this.state.isPortrait}))}}]),y}(t.Component)}function l5(){var P=n.useState(function(){var ye=window.innerWidth>window.innerHeight?90:0;return{isPortrait:ye===0,isLandscape:ye===90,orientation:ye===0?"portrait":"landscape"}}),$=G(P,2),y=$[0],M=$[1],W=n.useCallback(function(){var ye=window.innerWidth>window.innerHeight?90:0,Me={isPortrait:ye===0,isLandscape:ye===90,orientation:ye===0?"portrait":"landscape"};y.orientation!==Me.orientation&&M(Me)},[y.orientation]);return n.useEffect(function(){return(typeof window>"u"?"undefined":v(window))!==void 0&&hr&&(W(),window.addEventListener("load",W,!1),window.addEventListener("resize",W,!1)),function(){window.removeEventListener("resize",W,!1),window.removeEventListener("load",W,!1)}},[W]),y}function zs(P){var $=P||window.navigator.userAgent;return m($)}function s5(P){var $=P||window.navigator.userAgent,y=zs($),M=Ms(y);return[M,y]}return oe.AndroidView=Y6,oe.BrowserTypes=I,oe.BrowserView=X6,oe.ConsoleView=i5,oe.CustomView=a5,oe.IEView=Z6,oe.IOSView=J6,oe.MobileOnlyView=n5,oe.MobileView=Q6,oe.OsTypes=R,oe.SmartTVView=r5,oe.TabletView=e5,oe.WearableView=o5,oe.WinPhoneView=t5,oe.browserName=T6,oe.browserVersion=P6,oe.deviceDetect=K,oe.deviceType=L6,oe.engineName=_6,oe.engineVersion=A6,oe.fullBrowserVersion=O6,oe.getSelectorsByUserAgent=q6,oe.getUA=k6,oe.isAndroid=Vs,oe.isBrowser=Ws,oe.isChrome=y6,oe.isChromium=$6,oe.isConsole=js,oe.isDesktop=b6,oe.isEdge=F6,oe.isEdgeChromium=V6,oe.isElectron=W6,oe.isEmbedded=g6,oe.isFirefox=w6,oe.isIE=Gs,oe.isIOS=Hs,oe.isIOS13=j6,oe.isIPad13=D6,oe.isIPhone13=R6,oe.isIPod13=B6,oe.isLegacyEdge=U6,oe.isMIUI=z6,oe.isMacOs=G6,oe.isMobile=hr,oe.isMobileOnly=Rs,oe.isMobileSafari=v6,oe.isOpera=C6,oe.isSafari=x6,oe.isSamsungBrowser=K6,oe.isSmartTV=Ls,oe.isTablet=Bs,oe.isWearable=Ds,oe.isWinPhone=Us,oe.isWindows=H6,oe.isYandex=M6,oe.mobileModel=N6,oe.mobileVendor=I6,oe.osName=S6,oe.osVersion=E6,oe.parseUserAgent=m,oe.setUserAgent=U,oe.useDeviceData=zs,oe.useDeviceSelectors=s5,oe.useMobileOrientation=l5,oe.withOrientationChange=d5,oe}var iu=ru();const ou=u.memo(u.forwardRef(({themeColor:e="",onSubmit:n,style:t={},className:r="",onInput:i,onFocus:o,onBlur:a,...d},l)=>{const[s,f]=u.useState(!0),[g,m]=u.useState(!1);e=Je.convert3HexTo6(e),u.useEffect(()=>{f(iu.isMobile)},[]);const p=b=>{!s&&b.key==="Enter"&&!b.shiftKey&&n&&(b.preventDefault(),n())},c=b=>{i?.(b),b.target.style.height="40px",b.target.style.height=2+b.target.scrollHeight+"px"};let h={};const v=[ro.textInput,r].filter(Boolean).join(" "),E=()=>{m(!0)},O=()=>{m(!1)};return h={borderBottomColor:g?e!=="#ffffff"?e:"#c8c8c8":""},N.jsx("div",{className:ro.textInputWrapper,children:N.jsx("textarea",{"data-testid":"textbox-input",ref:l,className:v,style:{...h,...t},onFocus:E,onBlur:O,onInput:b=>c(b),onKeyDown:p,...d})})})),Be={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"},rn={pseudoCheckbox:"_pseudoCheckbox_z8j4c_1",checkboxCheckMark:"_checkboxCheckMark_z8j4c_4",checkboxCheckMarkPath:"_checkboxCheckMarkPath_z8j4c_7",checked:"_checked_z8j4c_12",checkboxDisabled:"_checkboxDisabled_z8j4c_22"},$r=({checked:e=!1,themeColor:n="",disabled:t=!1})=>{let r={},i="#006bb1",o=t?"#9b9b9b":"#ffffff";const a=t?rn.checkboxDisabled:"",d=e?rn.checked:"",l=[rn.pseudoCheckbox,d,a].filter(Boolean).join(" ");let s;if(n){const f=pt(n);n=Je.convert3HexTo6(n),f==="dark"||f==="light"?(t?o=e?"#9b9b9b":"#f9f9f9":o=f=="light"?"#333333":"#ffffff",i=t?"#f9f9f9":e?n:"#ffffff",s=t?"#e4e4e4":n==="#ffffff"?"#333333":n,e&&(r={backgroundColor:i,borderColor:s,outlineColor:s})):o="#9b9b9b"}return N.jsx("div",{style:r,className:l,role:"checkbox","aria-checked":e,"aria-hidden":"true",tabIndex:-1,"data-testid":"checkbox-input",children:N.jsx("svg",{version:"1.1",focusable:"false",className:rn.checkboxCheckMark,viewBox:"0 0 24 24",children:N.jsx("path",{className:rn.checkboxCheckMarkPath,fill:"none",stroke:o,d:"M4.1,12.7 9,17.6 20.3,6.3"})})})};$r.displayName="Checkbox";const au=({options:e,checkedValue:n,onSelectionChange:t,maxOptions:r,themeColor:i,className:o="",style:a={}})=>{const d=u.useRef(e),[l,s]=u.useState(n),[f,g]=u.useState(""),[m,p]=u.useState(!1),[c,h]=u.useState(!1),v=u.useRef(null),E=u.useRef(null),O=u.useRef(null),b=u.useRef(null),x=u.useRef(null),C=u.useRef(null),[A,j]=u.useState(-1),H=u.useRef(0),k=u.useRef(0),[F,D]=u.useState(!1);let X={};const[G,B]=u.useState({left:0,top:0}),[se,de]=u.useState(null),ae=u.useRef(!1),ie=u.useRef(null),z=()=>{setTimeout(()=>{(v.current?.children[0]).focus()},0)};u.useEffect(()=>{const S=Z=>{E.current&&!E.current.contains(Z.target)&&(p(!1),g(""),z())};return document.addEventListener("mousedown",S),()=>{document.removeEventListener("mousedown",S)}},[]);const I=()=>{H.current=window.innerHeight,k.current=document.body.scrollHeight,D(!0)};u.useEffect(()=>(I(),window.addEventListener("resize",I),()=>{window.addEventListener("resize",I)}),[]);const R=S=>{const Z=document.getElementById("announcement");Z&&(Z.textContent=S,Z.setAttribute("aria-live","assertive"),setTimeout(()=>{Z.textContent="",Z.setAttribute("aria-live","off")},1e3))};u.useEffect(()=>{const S=e.filter(Z=>Z.label.toLowerCase().includes(f.toLowerCase()));d.current=S},[e,f]);const Y=l.length>0?l.map(S=>{const Z=e.find(K=>K.value===S);return Z?.label!==null?Z?.label:""}).filter(S=>S!=="").join(", "):"Select your option",T=S=>{const Z=e.find(K=>K.value===S);if(Z&&!Z.disable&&(r===void 0||l.length<=r)){const _=l.includes(S)?l.filter(ve=>ve!==S):[...l,S];(r===void 0||_.length<=r)&&m&&(s(_),t(_),R(`${Z?.label} ${_.includes(S)?"selected":"not selected"}`))}},U=S=>{Q(),p(S),setTimeout(()=>{O.current?O.current?.focus():b.current?.focus(),R("use up and down arrow keys to navigate")},0)},L=()=>k.current-(H.current+window.scrollY),Q=()=>{if(v.current){const S=v.current.getBoundingClientRect();setTimeout(()=>{const Z=E?.current?.getBoundingClientRect(),K=L(),_=H.current-S.bottom;let fe;if(Z){const ve=S.height,xe=S.top,Ne=Z.height,Ve=Ne>xe+window.scrollY;xe<Ne&&(Ve||Ve&&_<Ne||K>Ne||_>Ne)||xe>Ne&&_>Ne?fe=S.y+ve:fe=S.y-Ne,B({left:S.left,top:fe??S.top})}},0)}};u.useEffect(()=>(window.addEventListener("scroll",Q),window.addEventListener("resize",Q),()=>{window.removeEventListener("scroll",Q),window.removeEventListener("resize",Q)}),[m]);const q=S=>{S.preventDefault(),S.key==="Shift"?ae.current=!0:S.shiftKey&&ae.current&&S.key==="Tab"||S.key==="Tab"?(setTimeout(()=>{O.current?O.current?.focus():b.current?.focus()},0),ae.current=!1):S.key==="Escape"||S.key==="Enter"||S.key==="Space"||S.key===" "?(U(!1),z()):ae.current=!1},ne=S=>{const{key:Z}=S;if(Z==="Tab"||S.shiftKey&&Z==="Tab")setTimeout(()=>{x.current?.focus()},0);else if(Z==="ArrowDown"||Z==="ArrowUp"){S.preventDefault(),setTimeout(()=>{b.current?.focus()},0);let K=A;if(Z==="ArrowDown"?K=Math.min(A+1,d.current.length-1):Z==="ArrowUp"&&(K=Math.max(A-1,0)),A===0&&S.key==="ArrowUp"?K=d.current.length-1:A===d.current.length-1&&S.key==="ArrowDown"&&(K=0),j(K),C.current&&K>=0){const _=C.current.querySelectorAll(`.${Be.optionsList}`)[K],fe=_.children[0].getAttribute("aria-checked"),ve=`${_.textContent} ${fe==="true"?"selected":"not selected"} ${K+1} out of ${d.current.length}`;R(ve),_&&_.scrollIntoView({block:"nearest",inline:"nearest"})}}else Z==="Enter"||Z==="Space"||Z===" "?A!==-1&&T(d.current[A].value):Z==="Escape"&&(U(!1),z())};u.useEffect(()=>{se&&clearTimeout(se);const S=setTimeout(()=>{const Z=d.current.length?`${d.current.length} results are available, use up and down arrow keys to navigate`:"No results available";m&&R(Z)},500);de(S)},[f]);const ce=()=>{h(!0)},he=()=>{h(!1)};if(u.useEffect(()=>{const S=ie.current;return S&&(S.addEventListener("focus",ce),S.addEventListener("blur",he)),()=>{S&&(S.removeEventListener("focus",ce),S.removeEventListener("blur",he))}},[ce,he]),i){const S=pt(i);i=Je.convert3HexTo6(i),(S==="dark"||S==="light")&&(X={borderBottomColor:i==="#ffffff"?"#c8c8c8":c||m?i:"#333333"})}const Ee=()=>{p(!1)};return N.jsx("div",{className:Be.multiSelectContainer,children:N.jsxs("div",{className:Be.listOptionsWrap,children:[N.jsxs("div",{className:`${o} ${Be.selectedValuesWrap}`,ref:v,children:[N.jsx("div",{className:`${Be.selectedValues} ${m?Be.focused:""} ${l.length===0?Be.placeholder:""}`,ref:ie,onFocus:ce,onBlur:he,onClick:()=>U(!m),onKeyPress:S=>{(S.key===" "||S.code==="Space"||S.code==="Enter")&&(S.preventDefault(),U(!m))},tabIndex:0,"data-testid":"selected-input",style:{...X,...a},"aria-expanded":m,"aria-haspopup":"listbox","aria-multiselectable":"true","aria-autocomplete":"list",role:"combobox",children:Y}),N.jsx("span",{className:Be.dropDownIcon,onClick:()=>U(!m),"data-testid":"arrow-button",children:N.jsx("svg",{width:"12px",height:"7px",viewBox:"0 0 12 7",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:N.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:N.jsx("g",{transform:"translate(-2360.000000, -295.000000)",fill:"#666666",children:N.jsx("g",{transform:"translate(2006.000000, 248.000000)",children:N.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)"})})})})})})]}),N.jsx("div",{id:"announcement","aria-live":"assertive",role:"alert",className:Be.announcement}),F?Ae.createPortal(N.jsx(N.Fragment,{children:m&&v&&N.jsx("div",{onClick:Ee,style:{position:"fixed",inset:0,backgroundColor:"rgba(255,255,255,0)",zIndex:1e3},children:N.jsxs("div",{className:`${Be.optionsListContainer}`,ref:E,onClick:S=>S.stopPropagation(),style:{opacity:G.left?1:0,width:v.current?v.current.clientWidth:"auto",left:G.left,top:G.top},children:[N.jsxs("div",{className:Be.optionsListWrap,children:[e.length>=6&&N.jsx("div",{className:Be.searchInputWrap,children:N.jsx("input",{type:"text",ref:O,placeholder:"Type to filter",className:Be.searchInput,value:f,onChange:S=>g(S.target.value),"data-testid":"search-input",onKeyDown:S=>{ne(S)}})}),N.jsx("ul",{ref:C,role:"listbox",children:d.current.map((S,Z)=>N.jsxs("li",{className:`${Be.optionsList} ${Z===A?Be.focused:""}`,onClick:()=>T(S.value),"aria-selected":Z===A,role:"option",children:[N.jsx($r,{themeColor:i,checked:l.includes(S.value),disabled:S.disable||r!==void 0&&l.length>=r&&!l.includes(S.value)}),N.jsx("span",{children:S.label})]},S.value))})]}),N.jsxs("div",{className:Be.btnContainer,children:[N.jsx("input",{ref:b,onKeyDown:S=>{ne(S)},className:Be.hiddenButton}),N.jsx(Pn,{themeColor:i,variant:"primary",size:"medium",onClick:()=>{p(!1),g(""),z(),t(l)},"data-testid":"done-button",onKeyDown:S=>{q(S)},ref:x,children:"Done"})]})]})})}),document.body):null]})})},ke={multiSelectContainer:"_multiSelectContainer_8ktgx_5",listOptionsWrap:"_listOptionsWrap_8ktgx_8",selectedValuesWrap:"_selectedValuesWrap_8ktgx_11",selectedValues:"_selectedValues_8ktgx_11",countShow:"_countShow_8ktgx_17",focused:"_focused_8ktgx_23",rounded:"_rounded_8ktgx_26",selected:"_selected_8ktgx_11",selectedCount:"_selectedCount_8ktgx_41",dropDownIcon:"_dropDownIcon_8ktgx_45",optionsListContainer:"_optionsListContainer_8ktgx_49",optionsListWrap:"_optionsListWrap_8ktgx_55",searchInputWrap:"_searchInputWrap_8ktgx_58",searchInput:"_searchInput_8ktgx_58",optionsList:"_optionsList_8ktgx_49",btnContainer:"_btnContainer_8ktgx_80",hiddenButton:"_hiddenButton_8ktgx_83",announcement:"_announcement_8ktgx_96"},du=({options:e,checkedValue:n,onSelectionChange:t,maxOptions:r,themeColor:i,className:o="",style:a={},categoryName:d="",variant:l="default",placeholder:s="Select your option"})=>{const f=u.useRef(e),[g,m]=u.useState(n),[p,c]=u.useState(""),[h,v]=u.useState(!1),[E,O]=u.useState(!1),b=u.useRef(null),x=u.useRef(null),C=u.useRef(null),A=u.useRef(null),j=u.useRef(null),H=u.useRef(null),[k,F]=u.useState(-1),D=u.useRef(0),X=u.useRef(0),[G,B]=u.useState(!1);let se={};const[de,ae]=u.useState({left:0,top:0}),[ie,z]=u.useState(null),I=u.useRef(!1),R=u.useRef(null);u.useEffect(()=>{m(n)},[n]);const Y=()=>{setTimeout(()=>{(b.current?.children[0]).focus()},0)};u.useEffect(()=>{const _=fe=>{x.current&&!x.current.contains(fe.target)&&(v(!1),c(""),Y())};return document.addEventListener("mousedown",_),()=>{document.removeEventListener("mousedown",_)}},[]);const T=()=>{D.current=window.innerHeight,X.current=document.body.scrollHeight,B(!0)};u.useEffect(()=>(T(),window.addEventListener("resize",T),()=>{window.addEventListener("resize",T)}),[]);const U=_=>{const fe=document.getElementById("announcement");fe&&(fe.textContent=_,fe.setAttribute("aria-live","assertive"),setTimeout(()=>{fe.textContent="",fe.setAttribute("aria-live","off")},1e3))};u.useEffect(()=>{const _=e.filter(fe=>fe.label.toLowerCase().includes(p.toLowerCase()));f.current=_},[e,p]);const L=g.length>1&&d?d:g.length>0?g.map(_=>{const fe=e.find(ve=>ve.value===_);return fe?.label!==null?fe?.label:""}).filter(_=>_!=="").join(", "):s,Q=_=>{const fe=e.find(ve=>ve.value===_);if(fe&&!fe.disable&&(r===void 0||g.length<=r)){const xe=g.includes(_)?g.filter(Ve=>Ve!==_):[...g,_];(r===void 0||xe.length<=r)&&h&&(m(xe),t(xe),setTimeout(()=>{ne()},50),f.current.length===1&&v(!1),U(`${fe?.label} ${xe.includes(_)?"selected":"not selected"}`))}},q=_=>{ne(),v(_),setTimeout(()=>{C.current?C.current?.focus():A.current?.focus(),U("use up and down arrow keys to navigate")},0)},ne=()=>{if(b.current){const _=b.current.getBoundingClientRect();setTimeout(()=>{const fe=x?.current?.getBoundingClientRect();if(fe){const ve=fe.height,xe=fe.width,Ne=window.innerWidth,Ve=D.current-_.bottom,w=_.top;let re;Ve>=ve?re=_.bottom:w>=ve?re=_.top-ve:Ve>=w?re=_.bottom:re=_.top-ve;const J=Ne-_.left,ge=_.right;let Te;J>=xe?Te=_.left:ge>=xe?Te=_.right-xe:J>=ge?Te=Math.max(0,Ne-xe):Te=Math.max(0,_.right-xe),ae({left:Te,top:re})}},10)}};u.useEffect(()=>(window.addEventListener("scroll",ne),window.addEventListener("resize",ne),()=>{window.removeEventListener("scroll",ne),window.removeEventListener("resize",ne)}),[h]);const ce=_=>{_.preventDefault(),_.key==="Shift"?I.current=!0:_.shiftKey&&I.current&&_.key==="Tab"||_.key==="Tab"?(setTimeout(()=>{C.current?C.current?.focus():A.current?.focus()},0),I.current=!1):_.key==="Escape"||_.key==="Enter"||_.key==="Space"||_.key===" "?(q(!1),Y()):I.current=!1},he=_=>{const{key:fe}=_;if(fe==="Tab"||_.shiftKey&&fe==="Tab")setTimeout(()=>{j.current?.focus()},0);else if(fe==="ArrowDown"||fe==="ArrowUp"){_.preventDefault(),setTimeout(()=>{A.current?.focus()},0);let ve=k;if(fe==="ArrowDown"?ve=Math.min(k+1,f.current.length-1):fe==="ArrowUp"&&(ve=Math.max(k-1,0)),k===0&&_.key==="ArrowUp"?ve=f.current.length-1:k===f.current.length-1&&_.key==="ArrowDown"&&(ve=0),F(ve),H.current&&ve>=0){const xe=H.current.querySelectorAll(`.${ke.optionsList}`)[ve],Ne=xe.children[0].getAttribute("aria-checked"),Ve=`${xe.textContent} ${Ne==="true"?"selected":"not selected"} ${ve+1} out of ${f.current.length}`;U(Ve),xe&&xe.scrollIntoView({block:"nearest",inline:"nearest"})}}else fe==="Enter"||fe==="Space"||fe===" "?k!==-1&&Q(f.current[k].value):fe==="Escape"&&(q(!1),Y())};u.useEffect(()=>{ie&&clearTimeout(ie);const _=setTimeout(()=>{const fe=f.current.length?`${f.current.length} results are available, use up and down arrow keys to navigate`:"No results available";h&&U(fe)},500);z(_)},[p]);const Ee=()=>{O(!0)},S=()=>{O(!1)};if(u.useEffect(()=>{const _=R.current;return _&&(_.addEventListener("focus",Ee),_.addEventListener("blur",S)),()=>{_&&(_.removeEventListener("focus",Ee),_.removeEventListener("blur",S))}},[Ee,S]),i){const _=pt(i);i=Je.convert3HexTo6(i),(_==="dark"||_==="light")&&(se={"--theme-color":i})}const Z=()=>{v(!1)},K=()=>{v(!1),c(""),Y(),t(g)};return N.jsx("div",{className:ke.multiSelectContainer,children:N.jsxs("div",{className:ke.listOptionsWrap,children:[N.jsx("div",{className:`${o} ${ke.selectedValuesWrap}`,ref:b,children:N.jsxs("div",{className:`${ke.selectedValues} ${h?ke.focused:""} ${g.length>0?ke.selected:""} ${g.length>1?ke.countShow:""} ${g.length===0?ke.placeholder:""} ${l==="rounded"?ke.rounded:""}`,ref:R,onFocus:Ee,onBlur:S,onClick:()=>q(!h),onKeyPress:_=>{(_.key===" "||_.code==="Space"||_.code==="Enter")&&(_.preventDefault(),q(!h))},tabIndex:0,"data-testid":"selected-input",style:{...se,...a},"aria-expanded":h,"aria-haspopup":"listbox","aria-multiselectable":"true","aria-autocomplete":"list",role:"combobox",children:[N.jsx("span",{children:L}),g.length>1&&N.jsx("span",{className:ke.selectedCount,"data-testid":"selected-count",style:{backgroundColor:i},children:g.length}),N.jsx("span",{className:ke.dropDownIcon,onClick:()=>q(!h),"data-testid":"arrow-button",children:N.jsx("svg",{width:"12px",height:"7px",viewBox:"0 0 12 7",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:N.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:N.jsx("g",{transform:"translate(-2360.000000, -295.000000)",fill:"#666666",children:N.jsx("g",{transform:"translate(2006.000000, 248.000000)",children:N.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)"})})})})})})]})}),N.jsx("div",{id:"announcement","aria-live":"assertive",role:"alert",className:ke.announcement}),G?Ae.createPortal(N.jsx(N.Fragment,{children:h&&b&&N.jsx("div",{onClick:Z,style:{position:"fixed",inset:0,backgroundColor:"rgba(255,255,255,0)",zIndex:1e3},children:N.jsxs("div",{className:`${ke.optionsListContainer}`,ref:x,onClick:_=>_.stopPropagation(),style:{opacity:de.top?1:0,left:de.left,top:de.top,paddingBottom:f.current.length===1?0:void 0},children:[N.jsxs("div",{className:ke.optionsListWrap,children:[e.length>=6&&N.jsx("div",{className:ke.searchInputWrap,children:N.jsx("input",{type:"text",ref:C,placeholder:"Type to filter",className:ke.searchInput,value:p,onChange:_=>c(_.target.value),"data-testid":"search-input",onKeyDown:_=>{he(_)}})}),N.jsx("ul",{ref:H,role:"listbox",children:f.current.map((_,fe)=>N.jsxs("li",{className:`${ke.optionsList} ${fe===k?ke.focused:""}`,onClick:()=>Q(_.value),"aria-selected":fe===k,role:"option",children:[N.jsx($r,{themeColor:i,checked:g.includes(_.value),disabled:_.disable||r!==void 0&&g.length>=r&&!g.includes(_.value)}),N.jsx("span",{children:_.label})]},_.value))})]}),f.current.length>1&&N.jsxs("div",{className:ke.btnContainer,children:[N.jsx("input",{ref:A,onKeyDown:_=>{he(_)},className:ke.hiddenButton}),N.jsx(Pn,{themeColor:i,variant:"primary",size:"medium",disabled:!(g.length>0),onClick:K,"data-testid":"done-button",onKeyDown:_=>{ce(_)},ref:j,children:"Done"})]})]})})}),document.body):null]})})},Tn={multiSelectContainer:"_multiSelectContainer_1rhxq_1",quickOptionsWrap:"_quickOptionsWrap_1rhxq_4",selected:"_selected_1rhxq_11",disabled:"_disabled_1rhxq_17"},lu=({options:e,checkedValue:n,onSelectionChange:t,maxOptions:r,themeColor:i,className:o="",style:a={},id:d=""})=>{const[l,s]=u.useState(n),f=u.useRef({});let g={},m;const p=c=>{const h=e.find(x=>x.value===c);if(!h||h.disable)return;f.current[c]?.click();const O=l.includes(c)?l.filter(x=>x!==c):[...l,c];(r===void 0||O.length<=r)&&(s(O),t(O))};if(i){m=pt(i),i=Je.convert3HexTo6(i);const c=i==="#ffffff"?"#333333":i;(m==="dark"||m==="light")&&(g={outlineColor:c,borderColor:c,color:i==="#ffffff"||m==="light"?"#333333":i})}return N.jsx("div",{className:Tn.multiSelectContainer,role:"group",children:N.jsx("ul",{className:Tn.quickOptionsWrap,id:d,children:e.map(c=>N.jsx("li",{style:{...g,...a},className:`${o} ${c.disable||r!==void 0&&l.length>=r&&!l.includes(c.value)?Tn.disabled:""} ${l.includes(c.value)?Tn.selected:""}`,tabIndex:c.disable?-1:0,onClick:()=>p(c.value),onKeyPress:h=>{(h.key===" "||h.code==="Space")&&(h.preventDefault(),p(c.value))},"data-testid":"option-box",children:N.jsx(vr,{id:c.value,checkboxSize:"large",tabIndex:-1,themeColor:i,ref:h=>{f.current[c.value]=h},checked:l.includes(c.value),disabled:c.disable||r!==void 0&&l.length>=r&&!l.includes(c.value),children:N.jsx("span",{style:{color:i&&(i==="#ffffff"||m==="light")||c.disable||r!==void 0&&l.length>=r&&!l.includes(c.value)?"#333333":i&&(i!=="#ffffff"||m!=="light")?i:"#006bb1"},children:c.label})})},c.value))})})},lt={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"},su=({options:e,onSelect:n,selected:t,themeColor:r,className:i="",style:o={},showLoader:a=!1,id:d=""})=>{const[l,s]=u.useState(t);let f={},g={},m="#ffffff";const p=c=>{if(l?.value===c?.value){s(void 0),n(void 0);return}n(c),s(c)};if(r){const c=pt(r);r=Je.convert3HexTo6(r);const h=r==="#ffffff"?"#333333":r;(c==="dark"||c==="light")&&(m=r==="#ffffff"||c==="dark"?"#ffffff":"#333333",f={outlineColor:h,borderColor:h,color:r==="#ffffff"||c==="light"?"#333333":r},g={borderRightColor:h,borderTopColor:h})}return N.jsx("div",{className:lt.singleSelectWrapper,children:N.jsx("div",{className:lt.quickOption,children:N.jsx("ul",{className:lt.quickOption,role:"radiogroup",id:d,children:e.map(c=>N.jsxs("li",{tabIndex:c.disable?-1:0,className:`${i} ${l?.value===c.value?lt.selected:""} ${c.disable?lt.disabled:""}`,style:{...f,...o},onClick:()=>p(c),onKeyPress:h=>{(h.key===" "||h.code==="Space")&&(h.preventDefault(),p(c))},"data-testid":"checkbox-input",role:"radio","aria-checked":l?.value===c.value,children:[c.label,l?.value===c.value&&!c.disable&&N.jsxs("div",{className:lt.triangle,style:{...g},children:[a&&N.jsx("div",{className:lt.loader,style:{borderRightColor:r??"#006bb1"}}),!a&&N.jsx("div",{className:lt.checkmarkWrap,children:N.jsx("svg",{className:lt.checkmark,xmlns:"http://www.w3.org/2000/svg",width:"11",height:"9",viewBox:"0 0 11 9",fill:"none",children:N.jsx("path",{className:lt.checkmarkCheck,stroke:m,d:"M2.1 4.34286L4.12857 6.40001L8.9 1.60001",strokeWidth:"2"})})})]})]},c.value))})})})},uu={scrollbarContainer:"_scrollbarContainer_40vsr_1"},ao=u.forwardRef(({children:e,className:n="",style:t={},...r},i)=>{const o=[uu.scrollbarContainer,n].filter(Boolean).join(" ");return N.jsx(N.Fragment,{children:N.jsx("div",{ref:i,style:{...t},className:o,...r,children:e})})});ao.displayName="Scrollbar";const lo=typeof document<"u"?u.useLayoutEffect:()=>{};function cu(e){const n=u.useRef(null);return lo(()=>{n.current=e},[e]),u.useCallback((...t)=>{const r=n.current;return r?.(...t)},[])}const bt=e=>{var n;return(n=e?.ownerDocument)!==null&&n!==void 0?n:document},Ot=e=>e&&"window"in e&&e.window===e?e:bt(e).defaultView||window;function fu(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function pu(e){return fu(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let mu=!1;function br(){return mu}function so(e,n){if(!br())return n&&e?e.contains(n):!1;if(!e||!n)return!1;let t=n;for(;t!==null;){if(t===e)return!0;t.tagName==="SLOT"&&t.assignedSlot?t=t.assignedSlot.parentNode:pu(t)?t=t.host:t=t.parentNode}return!1}const yr=(e=document)=>{var n;if(!br())return e.activeElement;let t=e.activeElement;for(;t&&"shadowRoot"in t&&(!((n=t.shadowRoot)===null||n===void 0)&&n.activeElement);)t=t.shadowRoot.activeElement;return t};function uo(e){return br()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}function hu(e){var n;return typeof window>"u"||window.navigator==null?!1:((n=window.navigator.userAgentData)===null||n===void 0?void 0:n.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent)}function gu(e){var n;return typeof window<"u"&&window.navigator!=null?e.test(((n=window.navigator.userAgentData)===null||n===void 0?void 0:n.platform)||window.navigator.platform):!1}function co(e){let n=null;return()=>(n==null&&(n=e()),n)}const vu=co(function(){return gu(/^Mac/i)}),$u=co(function(){return hu(/Android/i)});function fo(){let e=u.useRef(new Map),n=u.useCallback((i,o,a,d)=>{let l=d?.once?(...s)=>{e.current.delete(a),a(...s)}:a;e.current.set(a,{type:o,eventTarget:i,fn:l,options:d}),i.addEventListener(o,l,d)},[]),t=u.useCallback((i,o,a,d)=>{var l;let s=((l=e.current.get(a))===null||l===void 0?void 0:l.fn)||a;i.removeEventListener(o,s,d),e.current.delete(a)},[]),r=u.useCallback(()=>{e.current.forEach((i,o)=>{t(i.eventTarget,i.type,o,i.options)})},[t]);return u.useEffect(()=>r,[r]),{addGlobalListener:n,removeGlobalListener:t,removeAllGlobalListeners:r}}function bu(e){return e.mozInputSource===0&&e.isTrusted?!0:$u()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}class po{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(n,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=n}}function mo(e){let n=u.useRef({isFocused:!1,observer:null});lo(()=>{const r=n.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]);let t=cu(r=>{e?.(r)});return u.useCallback(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){n.current.isFocused=!0;let i=r.target,o=a=>{n.current.isFocused=!1,i.disabled&&t(new po("blur",a)),n.current.observer&&(n.current.observer.disconnect(),n.current.observer=null)};i.addEventListener("focusout",o,{once:!0}),n.current.observer=new MutationObserver(()=>{if(n.current.isFocused&&i.disabled){var a;(a=n.current.observer)===null||a===void 0||a.disconnect();let d=i===document.activeElement?null:document.activeElement;i.dispatchEvent(new FocusEvent("blur",{relatedTarget:d})),i.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:d}))}}),n.current.observer.observe(i,{attributes:!0,attributeFilter:["disabled"]})}},[t])}let yu=!1,on=null,wr=new Set,an=new Map,Pt=!1,xr=!1;const wu={Tab:!0,Escape:!0};function Cr(e,n){for(let t of wr)t(e,n)}function xu(e){return!(e.metaKey||!vu()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function In(e){Pt=!0,xu(e)&&(on="keyboard",Cr("keyboard",e))}function Qe(e){on="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Pt=!0,Cr("pointer",e))}function ho(e){bu(e)&&(Pt=!0,on="virtual")}function go(e){e.target===window||e.target===document||yu||!e.isTrusted||(!Pt&&!xr&&(on="virtual",Cr("virtual",e)),Pt=!1,xr=!1)}function vo(){Pt=!1,xr=!0}function Er(e){if(typeof window>"u"||an.get(Ot(e)))return;const n=Ot(e),t=bt(e);let r=n.HTMLElement.prototype.focus;n.HTMLElement.prototype.focus=function(){Pt=!0,r.apply(this,arguments)},t.addEventListener("keydown",In,!0),t.addEventListener("keyup",In,!0),t.addEventListener("click",ho,!0),n.addEventListener("focus",go,!0),n.addEventListener("blur",vo,!1),typeof PointerEvent<"u"?(t.addEventListener("pointerdown",Qe,!0),t.addEventListener("pointermove",Qe,!0),t.addEventListener("pointerup",Qe,!0)):(t.addEventListener("mousedown",Qe,!0),t.addEventListener("mousemove",Qe,!0),t.addEventListener("mouseup",Qe,!0)),n.addEventListener("beforeunload",()=>{$o(e)},{once:!0}),an.set(n,{focus:r})}const $o=(e,n)=>{const t=Ot(e),r=bt(e);n&&r.removeEventListener("DOMContentLoaded",n),an.has(t)&&(t.HTMLElement.prototype.focus=an.get(t).focus,r.removeEventListener("keydown",In,!0),r.removeEventListener("keyup",In,!0),r.removeEventListener("click",ho,!0),t.removeEventListener("focus",go,!0),t.removeEventListener("blur",vo,!1),typeof PointerEvent<"u"?(r.removeEventListener("pointerdown",Qe,!0),r.removeEventListener("pointermove",Qe,!0),r.removeEventListener("pointerup",Qe,!0)):(r.removeEventListener("mousedown",Qe,!0),r.removeEventListener("mousemove",Qe,!0),r.removeEventListener("mouseup",Qe,!0)),an.delete(t))};function Cu(e){const n=bt(e);let t;return n.readyState!=="loading"?Er(e):(t=()=>{Er(e)},n.addEventListener("DOMContentLoaded",t)),()=>$o(e,t)}typeof document<"u"&&Cu();function bo(){return on!=="pointer"}const Eu=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Su(e,n,t){let r=bt(t?.target);const i=typeof window<"u"?Ot(t?.target).HTMLInputElement:HTMLInputElement,o=typeof window<"u"?Ot(t?.target).HTMLTextAreaElement:HTMLTextAreaElement,a=typeof window<"u"?Ot(t?.target).HTMLElement:HTMLElement,d=typeof window<"u"?Ot(t?.target).KeyboardEvent:KeyboardEvent;return e=e||r.activeElement instanceof i&&!Eu.has(r.activeElement.type)||r.activeElement instanceof o||r.activeElement instanceof a&&r.activeElement.isContentEditable,!(e&&n==="keyboard"&&t instanceof d&&!wu[t.key])}function Ou(e,n,t){Er(),u.useEffect(()=>{let r=(i,o)=>{Su(!!t?.isTextInput,i,o)&&e(bo())};return wr.add(r),()=>{wr.delete(r)}},n)}function Pu(e){let{isDisabled:n,onFocus:t,onBlur:r,onFocusChange:i}=e;const o=u.useCallback(l=>{if(l.target===l.currentTarget)return r&&r(l),i&&i(!1),!0},[r,i]),a=mo(o),d=u.useCallback(l=>{const s=bt(l.target),f=s?yr(s):yr();l.target===l.currentTarget&&f===uo(l.nativeEvent)&&(t&&t(l),i&&i(!0),a(l))},[i,t,a]);return{focusProps:{onFocus:!n&&(t||i||r)?d:void 0,onBlur:!n&&(r||i)?o:void 0}}}function Tu(e){let{isDisabled:n,onBlurWithin:t,onFocusWithin:r,onFocusWithinChange:i}=e,o=u.useRef({isFocusWithin:!1}),{addGlobalListener:a,removeAllGlobalListeners:d}=fo(),l=u.useCallback(g=>{g.currentTarget.contains(g.target)&&o.current.isFocusWithin&&!g.currentTarget.contains(g.relatedTarget)&&(o.current.isFocusWithin=!1,d(),t&&t(g),i&&i(!1))},[t,i,o,d]),s=mo(l),f=u.useCallback(g=>{if(!g.currentTarget.contains(g.target))return;const m=bt(g.target),p=yr(m);if(!o.current.isFocusWithin&&p===uo(g.nativeEvent)){r&&r(g),i&&i(!0),o.current.isFocusWithin=!0,s(g);let c=g.currentTarget;a(m,"focus",h=>{if(o.current.isFocusWithin&&!so(c,h.target)){let v=new po("blur",new m.defaultView.FocusEvent("blur",{relatedTarget:h.target}));v.target=c,v.currentTarget=c,l(v)}},{capture:!0})}},[r,i,s,a,l]);return n?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:f,onBlur:l}}}let Nn=!1,Sr=0;function Or(){Nn=!0,setTimeout(()=>{Nn=!1},50)}function yo(e){e.pointerType==="touch"&&Or()}function Iu(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",yo):document.addEventListener("touchend",Or),Sr++,()=>{Sr--,!(Sr>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",yo):document.removeEventListener("touchend",Or))}}function Pr(e){let{onHoverStart:n,onHoverChange:t,onHoverEnd:r,isDisabled:i}=e,[o,a]=u.useState(!1),d=u.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;u.useEffect(Iu,[]);let{addGlobalListener:l,removeAllGlobalListeners:s}=fo(),{hoverProps:f,triggerHoverEnd:g}=u.useMemo(()=>{let m=(h,v)=>{if(d.pointerType=v,i||v==="touch"||d.isHovered||!h.currentTarget.contains(h.target))return;d.isHovered=!0;let E=h.currentTarget;d.target=E,l(bt(h.target),"pointerover",O=>{d.isHovered&&d.target&&!so(d.target,O.target)&&p(O,O.pointerType)},{capture:!0}),n&&n({type:"hoverstart",target:E,pointerType:v}),t&&t(!0),a(!0)},p=(h,v)=>{let E=d.target;d.pointerType="",d.target=null,!(v==="touch"||!d.isHovered||!E)&&(d.isHovered=!1,s(),r&&r({type:"hoverend",target:E,pointerType:v}),t&&t(!1),a(!1))},c={};return typeof PointerEvent<"u"?(c.onPointerEnter=h=>{Nn&&h.pointerType==="mouse"||m(h,h.pointerType)},c.onPointerLeave=h=>{!i&&h.currentTarget.contains(h.target)&&p(h,h.pointerType)}):(c.onTouchStart=()=>{d.ignoreEmulatedMouseEvents=!0},c.onMouseEnter=h=>{!d.ignoreEmulatedMouseEvents&&!Nn&&m(h,"mouse"),d.ignoreEmulatedMouseEvents=!1},c.onMouseLeave=h=>{!i&&h.currentTarget.contains(h.target)&&p(h,"mouse")}),{hoverProps:c,triggerHoverEnd:p}},[n,t,r,i,d,l,s]);return u.useEffect(()=>{i&&g({currentTarget:d.target},d.pointerType)},[i]),{hoverProps:f,isHovered:o}}function Tr(e={}){let{autoFocus:n=!1,isTextInput:t,within:r}=e,i=u.useRef({isFocused:!1,isFocusVisible:n||bo()}),[o,a]=u.useState(!1),[d,l]=u.useState(()=>i.current.isFocused&&i.current.isFocusVisible),s=u.useCallback(()=>l(i.current.isFocused&&i.current.isFocusVisible),[]),f=u.useCallback(p=>{i.current.isFocused=p,a(p),s()},[s]);Ou(p=>{i.current.isFocusVisible=p,s()},[],{isTextInput:t});let{focusProps:g}=Pu({isDisabled:r,onFocusChange:f}),{focusWithinProps:m}=Tu({isDisabled:!r,onFocusWithinChange:f});return{isFocused:o,isFocusVisible:d,focusProps:r?m:g}}var Nu=Object.defineProperty,_u=(e,n,t)=>n in e?Nu(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Ir=(e,n,t)=>(_u(e,typeof n!="symbol"?n+"":n,t),t);let Au=class{constructor(){Ir(this,"current",this.detect()),Ir(this,"handoffState","pending"),Ir(this,"currentId",0)}set(n){this.current!==n&&(this.handoffState="pending",this.currentId=0,this.current=n)}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"}},Tt=new Au;function Lt(e){return Tt.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}function wo(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(n=>setTimeout(()=>{throw n}))}function et(){let e=[],n={addEventListener(t,r,i,o){return t.addEventListener(r,i,o),n.add(()=>t.removeEventListener(r,i,o))},requestAnimationFrame(...t){let r=requestAnimationFrame(...t);return n.add(()=>cancelAnimationFrame(r))},nextFrame(...t){return n.requestAnimationFrame(()=>n.requestAnimationFrame(...t))},setTimeout(...t){let r=setTimeout(...t);return n.add(()=>clearTimeout(r))},microTask(...t){let r={current:!0};return wo(()=>{r.current&&t[0]()}),n.add(()=>{r.current=!1})},style(t,r,i){let o=t.style.getPropertyValue(r);return Object.assign(t.style,{[r]:i}),this.add(()=>{Object.assign(t.style,{[r]:o})})},group(t){let r=et();return t(r),this.add(()=>r.dispose())},add(t){return e.includes(t)||e.push(t),()=>{let r=e.indexOf(t);if(r>=0)for(let i of e.splice(r,1))i()}},dispose(){for(let t of e.splice(0))t()}};return n}function yt(){let[e]=u.useState(et);return u.useEffect(()=>()=>e.dispose(),[e]),e}let Ce=(e,n)=>{Tt.isServer?u.useEffect(e,n):u.useLayoutEffect(e,n)};function mt(e){let n=u.useRef(e);return Ce(()=>{n.current=e},[e]),n}let te=function(e){let n=mt(e);return u.useCallback((...t)=>n.current(...t),[n])};function ku(e){let n=e.width/2,t=e.height/2;return{top:e.clientY-t,right:e.clientX+n,bottom:e.clientY+t,left:e.clientX-n}}function Fu(e,n){return!(!e||!n||e.right<n.left||e.left>n.right||e.bottom<n.top||e.top>n.bottom)}function xo({disabled:e=!1}={}){let n=u.useRef(null),[t,r]=u.useState(!1),i=yt(),o=te(()=>{n.current=null,r(!1),i.dispose()}),a=te(d=>{if(i.dispose(),n.current===null){n.current=d.currentTarget,r(!0);{let l=Lt(d.currentTarget);i.addEventListener(l,"pointerup",o,!1),i.addEventListener(l,"pointermove",s=>{if(n.current){let f=ku(s);r(Fu(f,n.current.getBoundingClientRect()))}},!1),i.addEventListener(l,"pointercancel",o,!1)}}});return{pressed:t,pressProps:e?{}:{onPointerDown:a,onPointerUp:o,onClick:o}}}let Mu=u.createContext(void 0);function _n(){return u.useContext(Mu)}function Nr(...e){return Array.from(new Set(e.flatMap(n=>typeof n=="string"?n.split(" "):[]))).filter(Boolean).join(" ")}function We(e,n,...t){if(e in n){let i=n[e];return typeof i=="function"?i(...t):i}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(n).map(i=>`"${i}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,We),r}var jt=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(jt||{}),wt=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(wt||{});function De(){let e=ju();return u.useCallback(n=>Lu({mergeRefs:e,...n}),[e])}function Lu({ourProps:e,theirProps:n,slot:t,defaultTag:r,features:i,visible:o=!0,name:a,mergeRefs:d}){d=d??Du;let l=Co(n,e);if(o)return An(l,t,r,a,d);let s=i??0;if(s&2){let{static:f=!1,...g}=l;if(f)return An(g,t,r,a,d)}if(s&1){let{unmount:f=!0,...g}=l;return We(f?0:1,{0(){return null},1(){return An({...g,hidden:!0,style:{display:"none"}},t,r,a,d)}})}return An(l,t,r,a,d)}function An(e,n={},t,r,i){let{as:o=t,children:a,refName:d="ref",...l}=_r(e,["unmount","static"]),s=e.ref!==void 0?{[d]:e.ref}:{},f=typeof a=="function"?a(n):a;"className"in l&&l.className&&typeof l.className=="function"&&(l.className=l.className(n)),l["aria-labelledby"]&&l["aria-labelledby"]===l.id&&(l["aria-labelledby"]=void 0);let g={};if(n){let m=!1,p=[];for(let[c,h]of Object.entries(n))typeof h=="boolean"&&(m=!0),h===!0&&p.push(c.replace(/([A-Z])/g,v=>`-${v.toLowerCase()}`));if(m){g["data-headlessui-state"]=p.join(" ");for(let c of p)g[`data-${c}`]=""}}if(o===u.Fragment&&(Object.keys(xt(l)).length>0||Object.keys(xt(g)).length>0))if(!u.isValidElement(f)||Array.isArray(f)&&f.length>1){if(Object.keys(xt(l)).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(xt(l)).concat(Object.keys(xt(g))).map(m=>` - ${m}`).join(`
|
|
34
34
|
`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(m=>` - ${m}`).join(`
|
|
35
35
|
`)].join(`
|
|
36
|
-
`))}else{let m=f.props,p=m?.className,c=typeof p=="function"?(...E)=>Nr(p(...E),l.className):Nr(p,l.className),h=c?{className:c}:{},
|
|
36
|
+
`))}else{let m=f.props,p=m?.className,c=typeof p=="function"?(...E)=>Nr(p(...E),l.className):Nr(p,l.className),h=c?{className:c}:{},v=Co(f.props,xt(_r(l,["ref"])));for(let E in g)E in v&&delete g[E];return u.cloneElement(f,Object.assign({},v,g,s,{ref:i(Ru(f),s.ref)},h))}return u.createElement(o,Object.assign({},_r(l,["ref"]),o!==u.Fragment&&s,o!==u.Fragment&&g),f)}function ju(){let e=u.useRef([]),n=u.useCallback(t=>{for(let r of e.current)r!=null&&(typeof r=="function"?r(t):r.current=t)},[]);return(...t)=>{if(!t.every(r=>r==null))return e.current=t,n}}function Du(...e){return e.every(n=>n==null)?void 0:n=>{for(let t of e)t!=null&&(typeof t=="function"?t(n):t.current=n)}}function Co(...e){if(e.length===0)return{};if(e.length===1)return e[0];let n={},t={};for(let r of e)for(let i in r)i.startsWith("on")&&typeof r[i]=="function"?(t[i]!=null||(t[i]=[]),t[i].push(r[i])):n[i]=r[i];if(n.disabled||n["aria-disabled"])for(let r in t)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(r)&&(t[r]=[i=>{var o;return(o=i?.preventDefault)==null?void 0:o.call(i)}]);for(let r in t)Object.assign(n,{[r](i,...o){let a=t[r];for(let d of a){if((i instanceof Event||i?.nativeEvent instanceof Event)&&i.defaultPrevented)return;d(i,...o)}}});return n}function dn(...e){if(e.length===0)return{};if(e.length===1)return e[0];let n={},t={};for(let r of e)for(let i in r)i.startsWith("on")&&typeof r[i]=="function"?(t[i]!=null||(t[i]=[]),t[i].push(r[i])):n[i]=r[i];for(let r in t)Object.assign(n,{[r](...i){let o=t[r];for(let a of o)a?.(...i)}});return n}function Le(e){var n;return Object.assign(u.forwardRef(e),{displayName:(n=e.displayName)!=null?n:e.name})}function xt(e){let n=Object.assign({},e);for(let t in n)n[t]===void 0&&delete n[t];return n}function _r(e,n=[]){let t=Object.assign({},e);for(let r of n)r in t&&delete t[r];return t}function Ru(e){return u.version.split(".")[0]>="19"?e.props.ref:e.ref}function Eo(e,n,t){let[r,i]=u.useState(t),o=e!==void 0,a=u.useRef(o),d=u.useRef(!1),l=u.useRef(!1);return o&&!a.current&&!d.current?(d.current=!0,a.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&&a.current&&!l.current&&(l.current=!0,a.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:r,te(s=>(o||i(s),n?.(s)))]}function So(e){let[n]=u.useState(e);return n}function Oo(e={},n=null,t=[]){for(let[r,i]of Object.entries(e))To(t,Po(n,r),i);return t}function Po(e,n){return e?e+"["+n+"]":n}function To(e,n,t){if(Array.isArray(t))for(let[r,i]of t.entries())To(e,Po(n,r.toString()),i);else t instanceof Date?e.push([n,t.toISOString()]):typeof t=="boolean"?e.push([n,t?"1":"0"]):typeof t=="string"?e.push([n,t]):typeof t=="number"?e.push([n,`${t}`]):t==null?e.push([n,""]):Oo(t,n,e)}function Bu(e){var n,t;let r=(n=e?.form)!=null?n:e.closest("form");if(r){for(let i of r.elements)if(i!==e&&(i.tagName==="INPUT"&&i.type==="submit"||i.tagName==="BUTTON"&&i.type==="submit"||i.nodeName==="INPUT"&&i.type==="image")){i.click();return}(t=r.requestSubmit)==null||t.call(r)}}let Wu="span";var Ar=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Ar||{});function Vu(e,n){var t;let{features:r=1,...i}=e,o={ref:n,"aria-hidden":(r&2)===2?!0:(t=i["aria-hidden"])!=null?t: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 De()({ourProps:o,theirProps:i,slot:{},defaultTag:Wu,name:"Hidden"})}let Io=Le(Vu),Uu=u.createContext(null);function Hu({children:e}){let n=u.useContext(Uu);if(!n)return u.createElement(u.Fragment,null,e);let{target:t}=n;return t?Ae.createPortal(u.createElement(u.Fragment,null,e),t):null}function No({data:e,form:n,disabled:t,onReset:r,overrides:i}){let[o,a]=u.useState(null),d=yt();return u.useEffect(()=>{if(r&&o)return d.addEventListener(o,"reset",r)},[o,n,r]),u.createElement(Hu,null,u.createElement(Gu,{setForm:a,formId:n}),Oo(e).map(([l,s])=>u.createElement(Io,{features:Ar.Hidden,...xt({key:l,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:n,disabled:t,name:l,value:s,...i})})))}function Gu({setForm:e,formId:n}){return u.useEffect(()=>{if(n){let t=document.getElementById(n);t&&e(t)}},[e,n]),n?null:u.createElement(Io,{features:Ar.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:t=>{if(!t)return;let r=t.closest("form");r&&e(r)}})}let zu=u.createContext(void 0);function kr(){return u.useContext(zu)}function _o(e){let n=e.parentElement,t=null;for(;n&&!(n instanceof HTMLFieldSetElement);)n instanceof HTMLLegendElement&&(t=n),n=n.parentElement;let r=n?.getAttribute("disabled")==="";return r&&Ku(t)?!1:r}function Ku(e){if(!e)return!1;let n=e.previousElementSibling;for(;n!==null;){if(n instanceof HTMLLegendElement)return!1;n=n.previousElementSibling}return!0}let Ao=Symbol();function qu(e,n=!0){return Object.assign(e,{[Ao]:n})}function Ue(...e){let n=u.useRef(e);u.useEffect(()=>{n.current=e},[e]);let t=te(r=>{for(let i of n.current)i!=null&&(typeof i=="function"?i(r):i.current=r)});return e.every(r=>r==null||r?.[Ao])?void 0:t}let Fr=u.createContext(null);Fr.displayName="DescriptionContext";function ko(){let e=u.useContext(Fr);if(e===null){let n=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(n,ko),n}return e}function Fo(){var e,n;return(n=(e=u.useContext(Fr))==null?void 0:e.value)!=null?n:void 0}let Yu="p";function Xu(e,n){let t=u.useId(),r=_n(),{id:i=`headlessui-description-${t}`,...o}=e,a=ko(),d=Ue(n);Ce(()=>a.register(i),[i,a.register]);let l=r||!1,s=u.useMemo(()=>({...a.slot,disabled:l}),[a.slot,l]),f={ref:d,...a.props,id:i};return De()({ourProps:f,theirProps:o,slot:s,defaultTag:Yu,name:a.name||"Description"})}let Zu=Le(Xu);Object.assign(Zu,{});var Se=(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))(Se||{});let kn=u.createContext(null);kn.displayName="LabelContext";function Mo(){let e=u.useContext(kn);if(e===null){let n=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(n,Mo),n}return e}function ln(e){var n,t,r;let i=(t=(n=u.useContext(kn))==null?void 0:n.value)!=null?t:void 0;return((r=e?.length)!=null?r:0)>0?[i,...e].filter(Boolean).join(" "):i}function Lo({inherit:e=!1}={}){let n=ln(),[t,r]=u.useState([]),i=e?[n,...t].filter(Boolean):t;return[i.length>0?i.join(" "):void 0,u.useMemo(()=>function(o){let a=te(l=>(r(s=>[...s,l]),()=>r(s=>{let f=s.slice(),g=f.indexOf(l);return g!==-1&&f.splice(g,1),f}))),d=u.useMemo(()=>({register:a,slot:o.slot,name:o.name,props:o.props,value:o.value}),[a,o.slot,o.name,o.props,o.value]);return u.createElement(kn.Provider,{value:d},o.children)},[r])]}let Ju="label";function Qu(e,n){var t;let r=u.useId(),i=Mo(),o=kr(),a=_n(),{id:d=`headlessui-label-${r}`,htmlFor:l=o??((t=i.props)==null?void 0:t.htmlFor),passive:s=!1,...f}=e,g=Ue(n);Ce(()=>i.register(d),[d,i.register]);let m=te(v=>{let E=v.currentTarget;if(E instanceof HTMLLabelElement&&v.preventDefault(),i.props&&"onClick"in i.props&&typeof i.props.onClick=="function"&&i.props.onClick(v),E instanceof HTMLLabelElement){let O=document.getElementById(E.htmlFor);if(O){let b=O.getAttribute("disabled");if(b==="true"||b==="")return;let x=O.getAttribute("aria-disabled");if(x==="true"||x==="")return;(O instanceof HTMLInputElement&&(O.type==="radio"||O.type==="checkbox")||O.role==="radio"||O.role==="checkbox"||O.role==="switch")&&O.click(),O.focus({preventScroll:!0})}}}),p=a||!1,c=u.useMemo(()=>({...i.slot,disabled:p}),[i.slot,p]),h={ref:g,...i.props,id:d,htmlFor:l,onClick:m};return s&&("onClick"in h&&(delete h.htmlFor,delete h.onClick),"onClick"in f&&delete f.onClick),De()({ourProps:h,theirProps:f,slot:c,defaultTag:l?Ju:"div",name:i.name||"Label"})}let e0=Le(Qu),jo=Object.assign(e0,{});function Dt(e,n,t){let r=t.initialDeps??[],i;function o(){var a,d,l,s;let f;t.key&&((a=t.debug)!=null&&a.call(t))&&(f=Date.now());const g=e();if(!(g.length!==r.length||g.some((c,h)=>r[h]!==c)))return i;r=g;let p;if(t.key&&((d=t.debug)!=null&&d.call(t))&&(p=Date.now()),i=n(...g),t.key&&((l=t.debug)!=null&&l.call(t))){const c=Math.round((Date.now()-f)*100)/100,h=Math.round((Date.now()-p)*100)/100,v=h/16,E=(O,b)=>{for(O=String(O);O.length<b;)O=" "+O;return O};console.info(`%c⏱ ${E(h,5)} /${E(c,5)} ms`,`
|
|
37
37
|
font-size: .6rem;
|
|
38
38
|
font-weight: bold;
|
|
39
|
-
color: hsl(${Math.max(0,Math.min(120-120*g,120))}deg 100% 31%);`,t?.key)}return(s=t?.onChange)==null||s.call(t,i),i}return o.updateDeps=a=>{r=a},o}function Mr(e,n){if(e===void 0)throw new Error("Unexpected undefined");return e}const t0=(e,n)=>Math.abs(e-n)<1,n0=(e,n,t)=>{let r;return function(...i){e.clearTimeout(r),r=e.setTimeout(()=>n.apply(this,i),t)}},r0=e=>e,i0=e=>{const n=Math.max(e.startIndex-e.overscan,0),t=Math.min(e.endIndex+e.overscan,e.count-1),r=[];for(let i=n;i<=t;i++)r.push(i);return r},o0=(e,n)=>{const t=e.scrollElement;if(!t)return;const r=e.targetWindow;if(!r)return;const i=a=>{const{width:d,height:l}=a;n({width:Math.round(d),height:Math.round(l)})};if(i(t.getBoundingClientRect()),!r.ResizeObserver)return()=>{};const o=new r.ResizeObserver(a=>{const d=()=>{const l=a[0];if(l?.borderBoxSize){const s=l.borderBoxSize[0];if(s){i({width:s.inlineSize,height:s.blockSize});return}}i(t.getBoundingClientRect())};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(d):d()});return o.observe(t,{box:"border-box"}),()=>{o.unobserve(t)}},Do={passive:!0},Ro=typeof window>"u"?!0:"onscrollend"in window,a0=(e,n)=>{const t=e.scrollElement;if(!t)return;const r=e.targetWindow;if(!r)return;let i=0;const o=e.options.useScrollendEvent&&Ro?()=>{}:n0(r,()=>{n(i,!1)},e.options.isScrollingResetDelay),a=f=>()=>{const{horizontal:v,isRtl:m}=e.options;i=v?t.scrollLeft*(m&&-1||1):t.scrollTop,o(),n(i,f)},d=a(!0),l=a(!1);l(),t.addEventListener("scroll",d,Do);const s=e.options.useScrollendEvent&&Ro;return s&&t.addEventListener("scrollend",l,Do),()=>{t.removeEventListener("scroll",d),s&&t.removeEventListener("scrollend",l)}},d0=(e,n,t)=>{if(n?.borderBoxSize){const r=n.borderBoxSize[0];if(r)return Math.round(r[t.options.horizontal?"inlineSize":"blockSize"])}return Math.round(e.getBoundingClientRect()[t.options.horizontal?"width":"height"])},l0=(e,{adjustments:n=0,behavior:t},r)=>{var i,o;const a=e+n;(o=(i=r.scrollElement)==null?void 0:i.scrollTo)==null||o.call(i,{[r.options.horizontal?"left":"top"]:a,behavior:t})};class s0{constructor(n){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let t=null;const r=()=>t||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:t=new this.targetWindow.ResizeObserver(i=>{i.forEach(o=>{const a=()=>{this._measureElement(o.target,o)};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(a):a()})}));return{disconnect:()=>{var i;(i=r())==null||i.disconnect(),t=null},observe:i=>{var o;return(o=r())==null?void 0:o.observe(i,{box:"border-box"})},unobserve:i=>{var o;return(o=r())==null?void 0:o.unobserve(i)}}})(),this.range=null,this.setOptions=t=>{Object.entries(t).forEach(([r,i])=>{typeof i>"u"&&delete t[r]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:r0,rangeExtractor:i0,onChange:()=>{},measureElement:d0,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,...t}},this.notify=t=>{var r,i;(i=(r=this.options).onChange)==null||i.call(r,this,t)},this.maybeNotify=Dt(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),t=>{this.notify(t)},{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(t=>t()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var t;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=((t=this.scrollElement)==null?void 0:t.window)??null,this.elementsCache.forEach(i=>{this.observer.observe(i)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,i=>{this.scrollRect=i,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(i,o)=>{this.scrollAdjustments=0,this.scrollDirection=o?this.getScrollOffset()<i?"forward":"backward":null,this.scrollOffset=i,this.isScrolling=o,this.maybeNotify()}))}},this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??(typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(t,r)=>{const i=new Map,o=new Map;for(let a=r-1;a>=0;a--){const d=t[a];if(i.has(d.lane))continue;const l=o.get(d.lane);if(l==null||d.end>l.end?o.set(d.lane,d):d.end<l.end&&i.set(d.lane,!0),i.size===this.options.lanes)break}return o.size===this.options.lanes?Array.from(o.values()).sort((a,d)=>a.end===d.end?a.index-d.index:a.end-d.end)[0]:void 0},this.getMeasurementOptions=Dt(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(t,r,i,o,a)=>(this.pendingMeasuredCacheIndexes=[],{count:t,paddingStart:r,scrollMargin:i,getItemKey:o,enabled:a}),{key:!1}),this.getMeasurements=Dt(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:t,paddingStart:r,scrollMargin:i,getItemKey:o,enabled:a},d)=>{if(!a)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(f=>{this.itemSizeCache.set(f.key,f.size)}));const l=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];const s=this.measurementsCache.slice(0,l);for(let f=l;f<t;f++){const v=o(f),m=this.options.lanes===1?s[f-1]:this.getFurthestMeasurement(s,f),p=m?m.end+this.options.gap:r+i,c=d.get(v),h=typeof c=="number"?c:this.options.estimateSize(f),g=p+h,E=m?m.lane:f%this.options.lanes;s[f]={index:f,start:p,size:h,end:g,key:v,lane:E}}return this.measurementsCache=s,s},{key:process.env.NODE_ENV!=="production"&&"getMeasurements",debug:()=>this.options.debug}),this.calculateRange=Dt(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(t,r,i,o)=>this.range=t.length>0&&r>0?u0({measurements:t,outerSize:r,scrollOffset:i,lanes:o}):null,{key:process.env.NODE_ENV!=="production"&&"calculateRange",debug:()=>this.options.debug}),this.getVirtualIndexes=Dt(()=>{let t=null,r=null;const i=this.calculateRange();return i&&(t=i.startIndex,r=i.endIndex),this.maybeNotify.updateDeps([this.isScrolling,t,r]),[this.options.rangeExtractor,this.options.overscan,this.options.count,t,r]},(t,r,i,o,a)=>o===null||a===null?[]:t({startIndex:o,endIndex:a,overscan:r,count:i}),{key:process.env.NODE_ENV!=="production"&&"getVirtualIndexes",debug:()=>this.options.debug}),this.indexFromElement=t=>{const r=this.options.indexAttribute,i=t.getAttribute(r);return i?parseInt(i,10):(console.warn(`Missing attribute name '${r}={index}' on measured element.`),-1)},this._measureElement=(t,r)=>{const i=this.indexFromElement(t),o=this.measurementsCache[i];if(!o)return;const a=o.key,d=this.elementsCache.get(a);d!==t&&(d&&this.observer.unobserve(d),this.observer.observe(t),this.elementsCache.set(a,t)),t.isConnected&&this.resizeItem(i,this.options.measureElement(t,r,this))},this.resizeItem=(t,r)=>{const i=this.measurementsCache[t];if(!i)return;const o=this.itemSizeCache.get(i.key)??i.size,a=r-o;a!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(i,a,this):i.start<this.getScrollOffset()+this.scrollAdjustments)&&(process.env.NODE_ENV!=="production"&&this.options.debug&&console.info("correction",a),this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=a,behavior:void 0})),this.pendingMeasuredCacheIndexes.push(i.index),this.itemSizeCache=new Map(this.itemSizeCache.set(i.key,r)),this.notify(!1))},this.measureElement=t=>{if(!t){this.elementsCache.forEach((r,i)=>{r.isConnected||(this.observer.unobserve(r),this.elementsCache.delete(i))});return}this._measureElement(t,void 0)},this.getVirtualItems=Dt(()=>[this.getVirtualIndexes(),this.getMeasurements()],(t,r)=>{const i=[];for(let o=0,a=t.length;o<a;o++){const d=t[o],l=r[d];i.push(l)}return i},{key:process.env.NODE_ENV!=="production"&&"getVirtualItems",debug:()=>this.options.debug}),this.getVirtualItemForOffset=t=>{const r=this.getMeasurements();if(r.length!==0)return Mr(r[Bo(0,r.length-1,i=>Mr(r[i]).start,t)])},this.getOffsetForAlignment=(t,r,i=0)=>{const o=this.getSize(),a=this.getScrollOffset();r==="auto"&&(r=t>=a+o?"end":"start"),r==="center"?t+=(i-o)/2:r==="end"&&(t-=o);const d=this.options.horizontal?"scrollWidth":"scrollHeight",s=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[d]:this.scrollElement[d]:0)-o;return Math.max(Math.min(s,t),0)},this.getOffsetForIndex=(t,r="auto")=>{t=Math.max(0,Math.min(t,this.options.count-1));const i=this.measurementsCache[t];if(!i)return;const o=this.getSize(),a=this.getScrollOffset();if(r==="auto")if(i.end>=a+o-this.options.scrollPaddingEnd)r="end";else if(i.start<=a+this.options.scrollPaddingStart)r="start";else return[a,r];const d=r==="end"?i.end+this.options.scrollPaddingEnd:i.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(d,r,i.size),r]},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{this.scrollToIndexTimeoutId!==null&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(t,{align:r="start",behavior:i}={})=>{this.cancelScrollToIndex(),i==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(t,r),{adjustments:void 0,behavior:i})},this.scrollToIndex=(t,{align:r="auto",behavior:i}={})=>{t=Math.max(0,Math.min(t,this.options.count-1)),this.cancelScrollToIndex(),i==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");const o=this.getOffsetForIndex(t,r);if(!o)return;const[a,d]=o;this._scrollToOffset(a,{adjustments:void 0,behavior:i}),i!=="smooth"&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(t))){const[s]=Mr(this.getOffsetForIndex(t,d));t0(s,this.getScrollOffset())||this.scrollToIndex(t,{align:d,behavior:i})}else this.scrollToIndex(t,{align:d,behavior:i})}))},this.scrollBy=(t,{behavior:r}={})=>{this.cancelScrollToIndex(),r==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+t,{adjustments:void 0,behavior:r})},this.getTotalSize=()=>{var t;const r=this.getMeasurements();let i;if(r.length===0)i=this.options.paddingStart;else if(this.options.lanes===1)i=((t=r[r.length-1])==null?void 0:t.end)??0;else{const o=Array(this.options.lanes).fill(null);let a=r.length-1;for(;a>0&&o.some(d=>d===null);){const d=r[a];o[d.lane]===null&&(o[d.lane]=d.end),a--}i=Math.max(...o.filter(d=>d!==null))}return Math.max(i-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(t,{adjustments:r,behavior:i})=>{this.options.scrollToFn(t,{behavior:i,adjustments:r},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(n)}}const Bo=(e,n,t,r)=>{for(;e<=n;){const i=(e+n)/2|0,o=t(i);if(o<r)e=i+1;else if(o>r)n=i-1;else return i}return e>0?e-1:0};function u0({measurements:e,outerSize:n,scrollOffset:t,lanes:r}){const i=e.length-1,o=l=>e[l].start;if(e.length<=r)return{startIndex:0,endIndex:i};let a=Bo(0,i,o,t),d=a;if(r===1)for(;d<i&&e[d].end<t+n;)d++;else if(r>1){const l=Array(r).fill(0);for(;d<i&&l.some(f=>f<t+n);){const f=e[d];l[f.lane]=f.end,d++}const s=Array(r).fill(t+n);for(;a>0&&s.some(f=>f>=t);){const f=e[a];s[f.lane]=f.start,a--}a=Math.max(0,a-a%r),d=Math.min(i,d+(r-1-d%r))}return{startIndex:a,endIndex:d}}const Wo=typeof document<"u"?le.useLayoutEffect:le.useEffect;function c0(e){const n=le.useReducer(()=>({}),{})[1],t={...e,onChange:(i,o)=>{var a;o?Ae.flushSync(n):n(),(a=e.onChange)==null||a.call(e,i,o)}},[r]=le.useState(()=>new s0(t));return r.setOptions(t),Wo(()=>r._didMount(),[]),Wo(()=>r._willUpdate()),r}function f0(e){return c0({observeElementRect:o0,observeElementOffset:a0,scrollToFn:l0,...e})}function p0(e,n){return e!==null&&n!==null&&typeof e=="object"&&typeof n=="object"&&"id"in e&&"id"in n?e.id===n.id:e===n}function Vo(e=p0){return u.useCallback((n,t)=>{if(typeof e=="string"){let r=e;return n?.[r]===t?.[r]}return e(n,t)},[e])}function m0(e){if(e===null)return{width:0,height:0};let{width:n,height:t}=e.getBoundingClientRect();return{width:n,height:t}}function Lr(e,n=!1){let[t,r]=u.useReducer(()=>({}),{}),i=u.useMemo(()=>m0(e),[e,t]);return Ce(()=>{if(!e)return;let o=new ResizeObserver(r);return o.observe(e),()=>{o.disconnect()}},[e]),n?{width:`${i.width}px`,height:`${i.height}px`}:i}let h0=class extends Map{constructor(n){super(),this.factory=n}get(n){let t=super.get(n);return t===void 0&&(t=this.factory(n),this.set(n,t)),t}};function Uo(e,n){let t=e(),r=new Set;return{getSnapshot(){return t},subscribe(i){return r.add(i),()=>r.delete(i)},dispatch(i,...o){let a=n[i].call(t,...o);a&&(t=a,r.forEach(d=>d()))}}}function Ho(e){return u.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot)}let v0=new h0(()=>Uo(()=>[],{ADD(e){return this.includes(e)?this:[...this,e]},REMOVE(e){let n=this.indexOf(e);if(n===-1)return this;let t=this.slice();return t.splice(n,1),t}}));function jr(e,n){let t=v0.get(n),r=u.useId(),i=Ho(t);if(Ce(()=>{if(e)return t.dispatch("ADD",r),()=>t.dispatch("REMOVE",r)},[t,e]),!e)return!1;let o=i.indexOf(r),a=i.length;return o===-1&&(o=a,a+=1),o===a-1}let Dr=new Map,sn=new Map;function Go(e){var n;let t=(n=sn.get(e))!=null?n:0;return sn.set(e,t+1),t!==0?()=>zo(e):(Dr.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0,()=>zo(e))}function zo(e){var n;let t=(n=sn.get(e))!=null?n:1;if(t===1?sn.delete(e):sn.set(e,t-1),t!==1)return;let r=Dr.get(e);r&&(r["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r["aria-hidden"]),e.inert=r.inert,Dr.delete(e))}function Ko(e,{allowed:n,disallowed:t}={}){let r=jr(e,"inert-others");Ce(()=>{var i,o;if(!r)return;let a=et();for(let l of(i=t?.())!=null?i:[])l&&a.add(Go(l));let d=(o=n?.())!=null?o:[];for(let l of d){if(!l)continue;let s=Lt(l);if(!s)continue;let f=l.parentElement;for(;f&&f!==s.body;){for(let v of f.children)d.some(m=>v.contains(m))||a.add(Go(v));f=f.parentElement}}return a.dispose},[r,n,t])}function qo(e,n,t){let r=mt(i=>{let o=i.getBoundingClientRect();o.x===0&&o.y===0&&o.width===0&&o.height===0&&t()});u.useEffect(()=>{if(!e)return;let i=n===null?null:n instanceof HTMLElement?n:n.current;if(!i)return;let o=et();if(typeof ResizeObserver<"u"){let a=new ResizeObserver(()=>r.current(i));a.observe(i),o.add(()=>a.disconnect())}if(typeof IntersectionObserver<"u"){let a=new IntersectionObserver(()=>r.current(i));a.observe(i),o.add(()=>a.disconnect())}return()=>o.dispose()},[n,r,e])}let Fn=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),g0=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var Rr=(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))(Rr||{}),$0=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))($0||{}),b0=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(b0||{});function Yo(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Fn)).sort((n,t)=>Math.sign((n.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}function y0(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(g0)).sort((n,t)=>Math.sign((n.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var Br=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Br||{});function Xo(e,n=0){var t;return e===((t=Lt(e))==null?void 0:t.body)?!1:We(n,{0(){return e.matches(Fn)},1(){let r=e;for(;r!==null;){if(r.matches(Fn))return!0;r=r.parentElement}return!1}})}var w0=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(w0||{});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 x0=["textarea","input"].join(",");function C0(e){var n,t;return(t=(n=e?.matches)==null?void 0:n.call(e,x0))!=null?t:!1}function Wr(e,n=t=>t){return e.slice().sort((t,r)=>{let i=n(t),o=n(r);if(i===null||o===null)return 0;let a=i.compareDocumentPosition(o);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function E0(e,n){return S0(Yo(),n,{relativeTo:e})}function S0(e,n,{sorted:t=!0,relativeTo:r=null,skipElements:i=[]}={}){let o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,a=Array.isArray(e)?t?Wr(e):e:n&64?y0(e):Yo(e);i.length>0&&a.length>1&&(a=a.filter(p=>!i.some(c=>c!=null&&"current"in c?c?.current===p:c===p))),r=r??o.activeElement;let d=(()=>{if(n&5)return 1;if(n&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=(()=>{if(n&1)return 0;if(n&2)return Math.max(0,a.indexOf(r))-1;if(n&4)return Math.max(0,a.indexOf(r))+1;if(n&8)return a.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),s=n&32?{preventScroll:!0}:{},f=0,v=a.length,m;do{if(f>=v||f+v<=0)return 0;let p=l+f;if(n&16)p=(p+v)%v;else{if(p<0)return 3;if(p>=v)return 1}m=a[p],m?.focus(s),f+=d}while(m!==o.activeElement);return n&6&&C0(m)&&m.select(),2}function Zo(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function O0(){return/Android/gi.test(window.navigator.userAgent)}function Jo(){return Zo()||O0()}function un(e,n,t,r){let i=mt(t);u.useEffect(()=>{if(!e)return;function o(a){i.current(a)}return document.addEventListener(n,o,r),()=>document.removeEventListener(n,o,r)},[e,n,r])}function P0(e,n,t,r){let i=mt(t);u.useEffect(()=>{if(!e)return;function o(a){i.current(a)}return window.addEventListener(n,o,r),()=>window.removeEventListener(n,o,r)},[e,n,r])}const Qo=30;function ea(e,n,t){let r=jr(e,"outside-click"),i=mt(t),o=u.useCallback(function(l,s){if(l.defaultPrevented)return;let f=s(l);if(f===null||!f.getRootNode().contains(f)||!f.isConnected)return;let v=function m(p){return typeof p=="function"?m(p()):Array.isArray(p)||p instanceof Set?p:[p]}(n);for(let m of v)if(m!==null&&(m.contains(f)||l.composed&&l.composedPath().includes(m)))return;return!Xo(f,Br.Loose)&&f.tabIndex!==-1&&l.preventDefault(),i.current(l,f)},[i,n]),a=u.useRef(null);un(r,"pointerdown",l=>{var s,f;a.current=((f=(s=l.composedPath)==null?void 0:s.call(l))==null?void 0:f[0])||l.target},!0),un(r,"mousedown",l=>{var s,f;a.current=((f=(s=l.composedPath)==null?void 0:s.call(l))==null?void 0:f[0])||l.target},!0),un(r,"click",l=>{Jo()||a.current&&(o(l,()=>a.current),a.current=null)},!0);let d=u.useRef({x:0,y:0});un(r,"touchstart",l=>{d.current.x=l.touches[0].clientX,d.current.y=l.touches[0].clientY},!0),un(r,"touchend",l=>{let s={x:l.changedTouches[0].clientX,y:l.changedTouches[0].clientY};if(!(Math.abs(s.x-d.current.x)>=Qo||Math.abs(s.y-d.current.y)>=Qo))return o(l,()=>l.target instanceof HTMLElement?l.target:null)},!0),P0(r,"blur",l=>o(l,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function cn(...e){return u.useMemo(()=>Lt(...e),[...e])}function T0(e,n,t,r){let i=mt(t);u.useEffect(()=>{e=e??window;function o(a){i.current(a)}return e.addEventListener(n,o,r),()=>e.removeEventListener(n,o,r)},[e,n,r])}function ta(e){let n=u.useRef({value:"",selectionStart:null,selectionEnd:null});return T0(e,"blur",t=>{let r=t.target;r instanceof HTMLInputElement&&(n.current={value:r.value,selectionStart:r.selectionStart,selectionEnd:r.selectionEnd})}),te(()=>{if(document.activeElement!==e&&e instanceof HTMLInputElement&&e.isConnected){if(e.focus({preventScroll:!0}),e.value!==n.current.value)e.setSelectionRange(e.value.length,e.value.length);else{let{selectionStart:t,selectionEnd:r}=n.current;t!==null&&r!==null&&e.setSelectionRange(t,r)}n.current={value:"",selectionStart:null,selectionEnd:null}}})}function na(e,n){return u.useMemo(()=>{var t;if(e.type)return e.type;let r=(t=e.as)!=null?t:"button";if(typeof r=="string"&&r.toLowerCase()==="button"||n?.tagName==="BUTTON"&&!n.hasAttribute("type"))return"button"},[e.type,e.as,n])}function I0(){let e;return{before({doc:n}){var t;let r=n.documentElement,i=(t=n.defaultView)!=null?t:window;e=Math.max(0,i.innerWidth-r.clientWidth)},after({doc:n,d:t}){let r=n.documentElement,i=Math.max(0,r.clientWidth-r.offsetWidth),o=Math.max(0,e-i);t.style(r,"paddingRight",`${o}px`)}}}function N0(){return Zo()?{before({doc:e,d:n,meta:t}){function r(i){return t.containers.flatMap(o=>o()).some(o=>o.contains(i))}n.microTask(()=>{var i;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let d=et();d.style(e.documentElement,"scrollBehavior","auto"),n.add(()=>n.microTask(()=>d.dispose()))}let o=(i=window.scrollY)!=null?i:window.pageYOffset,a=null;n.addEventListener(e,"click",d=>{if(d.target instanceof HTMLElement)try{let l=d.target.closest("a");if(!l)return;let{hash:s}=new URL(l.href),f=e.querySelector(s);f&&!r(f)&&(a=f)}catch{}},!0),n.addEventListener(e,"touchstart",d=>{if(d.target instanceof HTMLElement)if(r(d.target)){let l=d.target;for(;l.parentElement&&r(l.parentElement);)l=l.parentElement;n.style(l,"overscrollBehavior","contain")}else n.style(d.target,"touchAction","none")}),n.addEventListener(e,"touchmove",d=>{if(d.target instanceof HTMLElement){if(d.target.tagName==="INPUT")return;if(r(d.target)){let l=d.target;for(;l.parentElement&&l.dataset.headlessuiPortal!==""&&!(l.scrollHeight>l.clientHeight||l.scrollWidth>l.clientWidth);)l=l.parentElement;l.dataset.headlessuiPortal===""&&d.preventDefault()}else d.preventDefault()}},{passive:!1}),n.add(()=>{var d;let l=(d=window.scrollY)!=null?d:window.pageYOffset;o!==l&&window.scrollTo(0,o),a&&a.isConnected&&(a.scrollIntoView({block:"nearest"}),a=null)})})}}:{}}function _0(){return{before({doc:e,d:n}){n.style(e.documentElement,"overflow","hidden")}}}function A0(e){let n={};for(let t of e)Object.assign(n,t(n));return n}let It=Uo(()=>new Map,{PUSH(e,n){var t;let r=(t=this.get(e))!=null?t:{doc:e,count:0,d:et(),meta:new Set};return r.count++,r.meta.add(n),this.set(e,r),this},POP(e,n){let t=this.get(e);return t&&(t.count--,t.meta.delete(n)),this},SCROLL_PREVENT({doc:e,d:n,meta:t}){let r={doc:e,d:n,meta:A0(t)},i=[N0(),I0(),_0()];i.forEach(({before:o})=>o?.(r)),i.forEach(({after:o})=>o?.(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});It.subscribe(()=>{let e=It.getSnapshot(),n=new Map;for(let[t]of e)n.set(t,t.documentElement.style.overflow);for(let t of e.values()){let r=n.get(t.doc)==="hidden",i=t.count!==0;(i&&!r||!i&&r)&&It.dispatch(t.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",t),t.count===0&&It.dispatch("TEARDOWN",t)}});function k0(e,n,t=()=>({containers:[]})){let r=Ho(It),i=n?r.get(n):void 0,o=i?i.count>0:!1;return Ce(()=>{if(!(!n||!e))return It.dispatch("PUSH",n,t),()=>It.dispatch("POP",n,t)},[e,n]),o}function ra(e,n,t=()=>[document.body]){let r=jr(e,"scroll-lock");k0(r,n,i=>{var o;return{containers:[...(o=i.containers)!=null?o:[],t]}})}function ia(e){return[e.screenX,e.screenY]}function oa(){let e=u.useRef([-1,-1]);return{wasMoved(n){let t=ia(n);return e.current[0]===t[0]&&e.current[1]===t[1]?!1:(e.current=t,!0)},update(n){e.current=ia(n)}}}function F0(e=0){let[n,t]=u.useState(e),r=u.useCallback(l=>t(l),[n]),i=u.useCallback(l=>t(s=>s|l),[n]),o=u.useCallback(l=>(n&l)===l,[n]),a=u.useCallback(l=>t(s=>s&~l),[t]),d=u.useCallback(l=>t(s=>s^l),[t]);return{flags:n,setFlag:r,addFlag:i,hasFlag:o,removeFlag:a,toggleFlag:d}}var aa,da;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((aa=process==null?void 0:process.env)==null?void 0:aa.NODE_ENV)==="test"&&typeof((da=Element?.prototype)==null?void 0:da.getAnimations)>"u"&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(`
|
|
40
|
-
`)),[]});var M0=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(M0||{});function Vr(e){let n={};for(let t in e)e[t]===!0&&(n[`data-${t}`]="");return n}function Ur(e,n,t,r){let[i,o]=u.useState(t),{hasFlag:a,addFlag:d,removeFlag:l}=F0(e&&i?3:0),s=u.useRef(!1),f=u.useRef(!1),v=yt();return Ce(()=>{var m;if(e){if(t&&o(!0),!n){t&&d(3);return}return(m=r?.start)==null||m.call(r,t),L0(n,{inFlight:s,prepare(){f.current?f.current=!1:f.current=s.current,s.current=!0,!f.current&&(t?(d(3),l(4)):(d(4),l(2)))},run(){f.current?t?(l(3),d(4)):(l(4),d(3)):t?l(1):d(1)},done(){var p;f.current&&typeof n.getAnimations=="function"&&n.getAnimations().length>0||(s.current=!1,l(7),t||o(!1),(p=r?.end)==null||p.call(r,t))}})}},[e,t,n,v]),e?[i,{closed:a(1),enter:a(2),leave:a(4),transition:a(2)||a(4)}]:[t,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function L0(e,{prepare:n,run:t,done:r,inFlight:i}){let o=et();return D0(e,{prepare:n,inFlight:i}),o.nextFrame(()=>{t(),o.requestAnimationFrame(()=>{o.add(j0(e,r))})}),o.dispose}function j0(e,n){var t,r;let i=et();if(!e)return i.dispose;let o=!1;i.add(()=>{o=!0});let a=(r=(t=e.getAnimations)==null?void 0:t.call(e).filter(d=>d instanceof CSSTransition))!=null?r:[];return a.length===0?(n(),i.dispose):(Promise.allSettled(a.map(d=>d.finished)).then(()=>{o||n()}),i.dispose)}function D0(e,{inFlight:n,prepare:t}){if(n!=null&&n.current){t();return}let r=e.style.transition;e.style.transition="none",t(),e.offsetHeight,e.style.transition=r}function R0(e,{container:n,accept:t,walk:r}){let i=u.useRef(t),o=u.useRef(r);u.useEffect(()=>{i.current=t,o.current=r},[t,r]),Ce(()=>{if(!n||!e)return;let a=Lt(n);if(!a)return;let d=i.current,l=o.current,s=Object.assign(v=>d(v),{acceptNode:d}),f=a.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,s,!1);for(;f.nextNode();)l(f.currentNode)},[n,e,i,o])}function la(e,n){let t=u.useRef([]),r=te(e);u.useEffect(()=>{let i=[...t.current];for(let[o,a]of n.entries())if(t.current[o]!==a){let d=r(n,i);return t.current=n,d}},[r,...n])}function Mn(){return typeof window<"u"}function Rt(e){return sa(e)?(e.nodeName||"").toLowerCase():"#document"}function Xe(e){var n;return(e==null||(n=e.ownerDocument)==null?void 0:n.defaultView)||window}function st(e){var n;return(n=(sa(e)?e.ownerDocument:e.document)||window.document)==null?void 0:n.documentElement}function sa(e){return Mn()?e instanceof Node||e instanceof Xe(e).Node:!1}function He(e){return Mn()?e instanceof Element||e instanceof Xe(e).Element:!1}function ut(e){return Mn()?e instanceof HTMLElement||e instanceof Xe(e).HTMLElement:!1}function ua(e){return!Mn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Xe(e).ShadowRoot}function fn(e){const{overflow:n,overflowX:t,overflowY:r,display:i}=tt(e);return/auto|scroll|overlay|hidden|clip/.test(n+r+t)&&!["inline","contents"].includes(i)}function B0(e){return["table","td","th"].includes(Rt(e))}function Ln(e){return[":popover-open",":modal"].some(n=>{try{return e.matches(n)}catch{return!1}})}function Hr(e){const n=Gr(),t=He(e)?tt(e):e;return["transform","translate","scale","rotate","perspective"].some(r=>t[r]?t[r]!=="none":!1)||(t.containerType?t.containerType!=="normal":!1)||!n&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!n&&(t.filter?t.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(r=>(t.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(t.contain||"").includes(r))}function W0(e){let n=Ct(e);for(;ut(n)&&!Bt(n);){if(Hr(n))return n;if(Ln(n))return null;n=Ct(n)}return null}function Gr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Bt(e){return["html","body","#document"].includes(Rt(e))}function tt(e){return Xe(e).getComputedStyle(e)}function jn(e){return He(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ct(e){if(Rt(e)==="html")return e;const n=e.assignedSlot||e.parentNode||ua(e)&&e.host||st(e);return ua(n)?n.host:n}function ca(e){const n=Ct(e);return Bt(n)?e.ownerDocument?e.ownerDocument.body:e.body:ut(n)&&fn(n)?n:ca(n)}function pn(e,n,t){var r;n===void 0&&(n=[]),t===void 0&&(t=!0);const i=ca(e),o=i===((r=e.ownerDocument)==null?void 0:r.body),a=Xe(i);if(o){const d=zr(a);return n.concat(a,a.visualViewport||[],fn(i)?i:[],d&&t?pn(d):[])}return n.concat(i,pn(i,[],t))}function zr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function V0(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(n=>{let{brand:t,version:r}=n;return t+"/"+r}).join(" "):navigator.userAgent}const Nt=Math.min,Ge=Math.max,mn=Math.round,Dn=Math.floor,ct=e=>({x:e,y:e}),U0={left:"right",right:"left",bottom:"top",top:"bottom"},H0={start:"end",end:"start"};function fa(e,n,t){return Ge(e,Nt(n,t))}function Wt(e,n){return typeof e=="function"?e(n):e}function Et(e){return e.split("-")[0]}function hn(e){return e.split("-")[1]}function pa(e){return e==="x"?"y":"x"}function ma(e){return e==="y"?"height":"width"}function _t(e){return["top","bottom"].includes(Et(e))?"y":"x"}function ha(e){return pa(_t(e))}function G0(e,n,t){t===void 0&&(t=!1);const r=hn(e),i=ha(e),o=ma(i);let a=i==="x"?r===(t?"end":"start")?"right":"left":r==="start"?"bottom":"top";return n.reference[o]>n.floating[o]&&(a=Rn(a)),[a,Rn(a)]}function z0(e){const n=Rn(e);return[Kr(e),n,Kr(n)]}function Kr(e){return e.replace(/start|end/g,n=>H0[n])}function K0(e,n,t){const r=["left","right"],i=["right","left"],o=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return t?n?i:r:n?r:i;case"left":case"right":return n?o:a;default:return[]}}function q0(e,n,t,r){const i=hn(e);let o=K0(Et(e),t==="start",r);return i&&(o=o.map(a=>a+"-"+i),n&&(o=o.concat(o.map(Kr)))),o}function Rn(e){return e.replace(/left|right|bottom|top/g,n=>U0[n])}function Y0(e){return{top:0,right:0,bottom:0,left:0,...e}}function X0(e){return typeof e!="number"?Y0(e):{top:e,right:e,bottom:e,left:e}}function Bn(e){const{x:n,y:t,width:r,height:i}=e;return{width:r,height:i,top:t,left:n,right:n+r,bottom:t+i,x:n,y:t}}function va(e,n,t){let{reference:r,floating:i}=e;const o=_t(n),a=ha(n),d=ma(a),l=Et(n),s=o==="y",f=r.x+r.width/2-i.width/2,v=r.y+r.height/2-i.height/2,m=r[d]/2-i[d]/2;let p;switch(l){case"top":p={x:f,y:r.y-i.height};break;case"bottom":p={x:f,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:v};break;case"left":p={x:r.x-i.width,y:v};break;default:p={x:r.x,y:r.y}}switch(hn(n)){case"start":p[a]-=m*(t&&s?-1:1);break;case"end":p[a]+=m*(t&&s?-1:1);break}return p}const Z0=async(e,n,t)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=t,d=o.filter(Boolean),l=await(a.isRTL==null?void 0:a.isRTL(n));let s=await a.getElementRects({reference:e,floating:n,strategy:i}),{x:f,y:v}=va(s,r,l),m=r,p={},c=0;for(let h=0;h<d.length;h++){const{name:g,fn:E}=d[h],{x:O,y:b,data:x,reset:C}=await E({x:f,y:v,initialPlacement:r,placement:m,strategy:i,middlewareData:p,rects:s,platform:a,elements:{reference:e,floating:n}});f=O??f,v=b??v,p={...p,[g]:{...p[g],...x}},C&&c<=50&&(c++,typeof C=="object"&&(C.placement&&(m=C.placement),C.rects&&(s=C.rects===!0?await a.getElementRects({reference:e,floating:n,strategy:i}):C.rects),{x:f,y:v}=va(s,m,l)),h=-1)}return{x:f,y:v,placement:m,strategy:i,middlewareData:p}};async function Wn(e,n){var t;n===void 0&&(n={});const{x:r,y:i,platform:o,rects:a,elements:d,strategy:l}=e,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:v="floating",altBoundary:m=!1,padding:p=0}=Wt(n,e),c=X0(p),g=d[m?v==="floating"?"reference":"floating":v],E=Bn(await o.getClippingRect({element:(t=await(o.isElement==null?void 0:o.isElement(g)))==null||t?g:g.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(d.floating)),boundary:s,rootBoundary:f,strategy:l})),O=v==="floating"?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference,b=await(o.getOffsetParent==null?void 0:o.getOffsetParent(d.floating)),x=await(o.isElement==null?void 0:o.isElement(b))?await(o.getScale==null?void 0:o.getScale(b))||{x:1,y:1}:{x:1,y:1},C=Bn(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:O,offsetParent:b,strategy:l}):O);return{top:(E.top-C.top+c.top)/x.y,bottom:(C.bottom-E.bottom+c.bottom)/x.y,left:(E.left-C.left+c.left)/x.x,right:(C.right-E.right+c.right)/x.x}}const J0=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(n){var t,r;const{placement:i,middlewareData:o,rects:a,initialPlacement:d,platform:l,elements:s}=n,{mainAxis:f=!0,crossAxis:v=!0,fallbackPlacements:m,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:c="none",flipAlignment:h=!0,...g}=Wt(e,n);if((t=o.arrow)!=null&&t.alignmentOffset)return{};const E=Et(i),O=_t(d),b=Et(d)===d,x=await(l.isRTL==null?void 0:l.isRTL(s.floating)),C=m||(b||!h?[Rn(d)]:z0(d)),A=c!=="none";!m&&A&&C.push(...q0(d,h,c,x));const j=[d,...C],H=await Wn(n,g),k=[];let F=((r=o.flip)==null?void 0:r.overflows)||[];if(f&&k.push(H[E]),v){const B=G0(i,a,x);k.push(H[B[0]],H[B[1]])}if(F=[...F,{placement:i,overflows:k}],!k.every(B=>B<=0)){var D,X;const B=(((D=o.flip)==null?void 0:D.index)||0)+1,se=j[B];if(se)return{data:{index:B,overflows:F},reset:{placement:se}};let de=(X=F.filter(ae=>ae.overflows[0]<=0).sort((ae,ie)=>ae.overflows[1]-ie.overflows[1])[0])==null?void 0:X.placement;if(!de)switch(p){case"bestFit":{var G;const ae=(G=F.filter(ie=>{if(A){const z=_t(ie.placement);return z===O||z==="y"}return!0}).map(ie=>[ie.placement,ie.overflows.filter(z=>z>0).reduce((z,I)=>z+I,0)]).sort((ie,z)=>ie[1]-z[1])[0])==null?void 0:G[0];ae&&(de=ae);break}case"initialPlacement":de=d;break}if(i!==de)return{reset:{placement:de}}}return{}}}};async function Q0(e,n){const{placement:t,platform:r,elements:i}=e,o=await(r.isRTL==null?void 0:r.isRTL(i.floating)),a=Et(t),d=hn(t),l=_t(t)==="y",s=["left","top"].includes(a)?-1:1,f=o&&l?-1:1,v=Wt(n,e);let{mainAxis:m,crossAxis:p,alignmentAxis:c}=typeof v=="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:v.mainAxis||0,crossAxis:v.crossAxis||0,alignmentAxis:v.alignmentAxis};return d&&typeof c=="number"&&(p=d==="end"?c*-1:c),l?{x:p*f,y:m*s}:{x:m*s,y:p*f}}const ec=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(n){var t,r;const{x:i,y:o,placement:a,middlewareData:d}=n,l=await Q0(n,e);return a===((t=d.offset)==null?void 0:t.placement)&&(r=d.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:a}}}}},tc=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(n){const{x:t,y:r,placement:i}=n,{mainAxis:o=!0,crossAxis:a=!1,limiter:d={fn:g=>{let{x:E,y:O}=g;return{x:E,y:O}}},...l}=Wt(e,n),s={x:t,y:r},f=await Wn(n,l),v=_t(Et(i)),m=pa(v);let p=s[m],c=s[v];if(o){const g=m==="y"?"top":"left",E=m==="y"?"bottom":"right",O=p+f[g],b=p-f[E];p=fa(O,p,b)}if(a){const g=v==="y"?"top":"left",E=v==="y"?"bottom":"right",O=c+f[g],b=c-f[E];c=fa(O,c,b)}const h=d.fn({...n,[m]:p,[v]:c});return{...h,data:{x:h.x-t,y:h.y-r,enabled:{[m]:o,[v]:a}}}}}},nc=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(n){var t,r;const{placement:i,rects:o,platform:a,elements:d}=n,{apply:l=()=>{},...s}=Wt(e,n),f=await Wn(n,s),v=Et(i),m=hn(i),p=_t(i)==="y",{width:c,height:h}=o.floating;let g,E;v==="top"||v==="bottom"?(g=v,E=m===(await(a.isRTL==null?void 0:a.isRTL(d.floating))?"start":"end")?"left":"right"):(E=v,g=m==="end"?"top":"bottom");const O=h-f.top-f.bottom,b=c-f.left-f.right,x=Nt(h-f[g],O),C=Nt(c-f[E],b),A=!n.middlewareData.shift;let j=x,H=C;if((t=n.middlewareData.shift)!=null&&t.enabled.x&&(H=b),(r=n.middlewareData.shift)!=null&&r.enabled.y&&(j=O),A&&!m){const F=Ge(f.left,0),D=Ge(f.right,0),X=Ge(f.top,0),G=Ge(f.bottom,0);p?H=c-2*(F!==0||D!==0?F+D:Ge(f.left,f.right)):j=h-2*(X!==0||G!==0?X+G:Ge(f.top,f.bottom))}await l({...n,availableWidth:H,availableHeight:j});const k=await a.getDimensions(d.floating);return c!==k.width||h!==k.height?{reset:{rects:!0}}:{}}}};function ga(e){const n=tt(e);let t=parseFloat(n.width)||0,r=parseFloat(n.height)||0;const i=ut(e),o=i?e.offsetWidth:t,a=i?e.offsetHeight:r,d=mn(t)!==o||mn(r)!==a;return d&&(t=o,r=a),{width:t,height:r,$:d}}function qr(e){return He(e)?e:e.contextElement}function Vt(e){const n=qr(e);if(!ut(n))return ct(1);const t=n.getBoundingClientRect(),{width:r,height:i,$:o}=ga(n);let a=(o?mn(t.width):t.width)/r,d=(o?mn(t.height):t.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!d||!Number.isFinite(d))&&(d=1),{x:a,y:d}}const rc=ct(0);function $a(e){const n=Xe(e);return!Gr()||!n.visualViewport?rc:{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function ic(e,n,t){return n===void 0&&(n=!1),!t||n&&t!==Xe(e)?!1:n}function At(e,n,t,r){n===void 0&&(n=!1),t===void 0&&(t=!1);const i=e.getBoundingClientRect(),o=qr(e);let a=ct(1);n&&(r?He(r)&&(a=Vt(r)):a=Vt(e));const d=ic(o,t,r)?$a(o):ct(0);let l=(i.left+d.x)/a.x,s=(i.top+d.y)/a.y,f=i.width/a.x,v=i.height/a.y;if(o){const m=Xe(o),p=r&&He(r)?Xe(r):r;let c=m,h=zr(c);for(;h&&r&&p!==c;){const g=Vt(h),E=h.getBoundingClientRect(),O=tt(h),b=E.left+(h.clientLeft+parseFloat(O.paddingLeft))*g.x,x=E.top+(h.clientTop+parseFloat(O.paddingTop))*g.y;l*=g.x,s*=g.y,f*=g.x,v*=g.y,l+=b,s+=x,c=Xe(h),h=zr(c)}}return Bn({width:f,height:v,x:l,y:s})}function Yr(e,n){const t=jn(e).scrollLeft;return n?n.left+t:At(st(e)).left+t}function ba(e,n,t){t===void 0&&(t=!1);const r=e.getBoundingClientRect(),i=r.left+n.scrollLeft-(t?0:Yr(e,r)),o=r.top+n.scrollTop;return{x:i,y:o}}function oc(e){let{elements:n,rect:t,offsetParent:r,strategy:i}=e;const o=i==="fixed",a=st(r),d=n?Ln(n.floating):!1;if(r===a||d&&o)return t;let l={scrollLeft:0,scrollTop:0},s=ct(1);const f=ct(0),v=ut(r);if((v||!v&&!o)&&((Rt(r)!=="body"||fn(a))&&(l=jn(r)),ut(r))){const p=At(r);s=Vt(r),f.x=p.x+r.clientLeft,f.y=p.y+r.clientTop}const m=a&&!v&&!o?ba(a,l,!0):ct(0);return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-l.scrollLeft*s.x+f.x+m.x,y:t.y*s.y-l.scrollTop*s.y+f.y+m.y}}function ac(e){return Array.from(e.getClientRects())}function dc(e){const n=st(e),t=jn(e),r=e.ownerDocument.body,i=Ge(n.scrollWidth,n.clientWidth,r.scrollWidth,r.clientWidth),o=Ge(n.scrollHeight,n.clientHeight,r.scrollHeight,r.clientHeight);let a=-t.scrollLeft+Yr(e);const d=-t.scrollTop;return tt(r).direction==="rtl"&&(a+=Ge(n.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:d}}function lc(e,n){const t=Xe(e),r=st(e),i=t.visualViewport;let o=r.clientWidth,a=r.clientHeight,d=0,l=0;if(i){o=i.width,a=i.height;const s=Gr();(!s||s&&n==="fixed")&&(d=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:d,y:l}}function sc(e,n){const t=At(e,!0,n==="fixed"),r=t.top+e.clientTop,i=t.left+e.clientLeft,o=ut(e)?Vt(e):ct(1),a=e.clientWidth*o.x,d=e.clientHeight*o.y,l=i*o.x,s=r*o.y;return{width:a,height:d,x:l,y:s}}function ya(e,n,t){let r;if(n==="viewport")r=lc(e,t);else if(n==="document")r=dc(st(e));else if(He(n))r=sc(n,t);else{const i=$a(e);r={x:n.x-i.x,y:n.y-i.y,width:n.width,height:n.height}}return Bn(r)}function wa(e,n){const t=Ct(e);return t===n||!He(t)||Bt(t)?!1:tt(t).position==="fixed"||wa(t,n)}function uc(e,n){const t=n.get(e);if(t)return t;let r=pn(e,[],!1).filter(d=>He(d)&&Rt(d)!=="body"),i=null;const o=tt(e).position==="fixed";let a=o?Ct(e):e;for(;He(a)&&!Bt(a);){const d=tt(a),l=Hr(a);!l&&d.position==="fixed"&&(i=null),(o?!l&&!i:!l&&d.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||fn(a)&&!l&&wa(e,a))?r=r.filter(f=>f!==a):i=d,a=Ct(a)}return n.set(e,r),r}function cc(e){let{element:n,boundary:t,rootBoundary:r,strategy:i}=e;const a=[...t==="clippingAncestors"?Ln(n)?[]:uc(n,this._c):[].concat(t),r],d=a[0],l=a.reduce((s,f)=>{const v=ya(n,f,i);return s.top=Ge(v.top,s.top),s.right=Nt(v.right,s.right),s.bottom=Nt(v.bottom,s.bottom),s.left=Ge(v.left,s.left),s},ya(n,d,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function fc(e){const{width:n,height:t}=ga(e);return{width:n,height:t}}function pc(e,n,t){const r=ut(n),i=st(n),o=t==="fixed",a=At(e,!0,o,n);let d={scrollLeft:0,scrollTop:0};const l=ct(0);if(r||!r&&!o)if((Rt(n)!=="body"||fn(i))&&(d=jn(n)),r){const m=At(n,!0,o,n);l.x=m.x+n.clientLeft,l.y=m.y+n.clientTop}else i&&(l.x=Yr(i));const s=i&&!r&&!o?ba(i,d):ct(0),f=a.left+d.scrollLeft-l.x-s.x,v=a.top+d.scrollTop-l.y-s.y;return{x:f,y:v,width:a.width,height:a.height}}function Xr(e){return tt(e).position==="static"}function xa(e,n){if(!ut(e)||tt(e).position==="fixed")return null;if(n)return n(e);let t=e.offsetParent;return st(e)===t&&(t=t.ownerDocument.body),t}function Ca(e,n){const t=Xe(e);if(Ln(e))return t;if(!ut(e)){let i=Ct(e);for(;i&&!Bt(i);){if(He(i)&&!Xr(i))return i;i=Ct(i)}return t}let r=xa(e,n);for(;r&&B0(r)&&Xr(r);)r=xa(r,n);return r&&Bt(r)&&Xr(r)&&!Hr(r)?t:r||W0(e)||t}const mc=async function(e){const n=this.getOffsetParent||Ca,t=this.getDimensions,r=await t(e.floating);return{reference:pc(e.reference,await n(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function hc(e){return tt(e).direction==="rtl"}const vc={convertOffsetParentRelativeRectToViewportRelativeRect:oc,getDocumentElement:st,getClippingRect:cc,getOffsetParent:Ca,getElementRects:mc,getClientRects:ac,getDimensions:fc,getScale:Vt,isElement:He,isRTL:hc};function Ea(e,n){return e.x===n.x&&e.y===n.y&&e.width===n.width&&e.height===n.height}function gc(e,n){let t=null,r;const i=st(e);function o(){var d;clearTimeout(r),(d=t)==null||d.disconnect(),t=null}function a(d,l){d===void 0&&(d=!1),l===void 0&&(l=1),o();const s=e.getBoundingClientRect(),{left:f,top:v,width:m,height:p}=s;if(d||n(),!m||!p)return;const c=Dn(v),h=Dn(i.clientWidth-(f+m)),g=Dn(i.clientHeight-(v+p)),E=Dn(f),b={rootMargin:-c+"px "+-h+"px "+-g+"px "+-E+"px",threshold:Ge(0,Nt(1,l))||1};let x=!0;function C(A){const j=A[0].intersectionRatio;if(j!==l){if(!x)return a();j?a(!1,j):r=setTimeout(()=>{a(!1,1e-7)},1e3)}j===1&&!Ea(s,e.getBoundingClientRect())&&a(),x=!1}try{t=new IntersectionObserver(C,{...b,root:i.ownerDocument})}catch{t=new IntersectionObserver(C,b)}t.observe(e)}return a(!0),o}function $c(e,n,t,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:d=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,s=qr(e),f=i||o?[...s?pn(s):[],...pn(n)]:[];f.forEach(E=>{i&&E.addEventListener("scroll",t,{passive:!0}),o&&E.addEventListener("resize",t)});const v=s&&d?gc(s,t):null;let m=-1,p=null;a&&(p=new ResizeObserver(E=>{let[O]=E;O&&O.target===s&&p&&(p.unobserve(n),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var b;(b=p)==null||b.observe(n)})),t()}),s&&!l&&p.observe(s),p.observe(n));let c,h=l?At(e):null;l&&g();function g(){const E=At(e);h&&!Ea(h,E)&&t(),h=E,c=requestAnimationFrame(g)}return t(),()=>{var E;f.forEach(O=>{i&&O.removeEventListener("scroll",t),o&&O.removeEventListener("resize",t)}),v?.(),(E=p)==null||E.disconnect(),p=null,l&&cancelAnimationFrame(c)}}const Zr=Wn,bc=ec,yc=tc,wc=J0,xc=nc,Cc=(e,n,t)=>{const r=new Map,i={platform:vc,...t},o={...i.platform,_c:r};return Z0(e,n,{...i,platform:o})};var Vn=typeof document<"u"?u.useLayoutEffect:u.useEffect;function Un(e,n){if(e===n)return!0;if(typeof e!=typeof n)return!1;if(typeof e=="function"&&e.toString()===n.toString())return!0;let t,r,i;if(e&&n&&typeof e=="object"){if(Array.isArray(e)){if(t=e.length,t!==n.length)return!1;for(r=t;r--!==0;)if(!Un(e[r],n[r]))return!1;return!0}if(i=Object.keys(e),t=i.length,t!==Object.keys(n).length)return!1;for(r=t;r--!==0;)if(!{}.hasOwnProperty.call(n,i[r]))return!1;for(r=t;r--!==0;){const o=i[r];if(!(o==="_owner"&&e.$$typeof)&&!Un(e[o],n[o]))return!1}return!0}return e!==e&&n!==n}function Sa(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Oa(e,n){const t=Sa(e);return Math.round(n*t)/t}function Jr(e){const n=le.useRef(e);return Vn(()=>{n.current=e}),n}function Ec(e){e===void 0&&(e={});const{placement:n="bottom",strategy:t="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:a}={},transform:d=!0,whileElementsMounted:l,open:s}=e,[f,v]=le.useState({x:0,y:0,strategy:t,placement:n,middlewareData:{},isPositioned:!1}),[m,p]=le.useState(r);Un(m,r)||p(r);const[c,h]=le.useState(null),[g,E]=le.useState(null),O=le.useCallback(ie=>{ie!==A.current&&(A.current=ie,h(ie))},[]),b=le.useCallback(ie=>{ie!==j.current&&(j.current=ie,E(ie))},[]),x=o||c,C=a||g,A=le.useRef(null),j=le.useRef(null),H=le.useRef(f),k=l!=null,F=Jr(l),D=Jr(i),X=Jr(s),G=le.useCallback(()=>{if(!A.current||!j.current)return;const ie={placement:n,strategy:t,middleware:m};D.current&&(ie.platform=D.current),Cc(A.current,j.current,ie).then(z=>{const I={...z,isPositioned:X.current!==!1};B.current&&!Un(H.current,I)&&(H.current=I,En.flushSync(()=>{v(I)}))})},[m,n,t,D,X]);Vn(()=>{s===!1&&H.current.isPositioned&&(H.current.isPositioned=!1,v(ie=>({...ie,isPositioned:!1})))},[s]);const B=le.useRef(!1);Vn(()=>(B.current=!0,()=>{B.current=!1}),[]),Vn(()=>{if(x&&(A.current=x),C&&(j.current=C),x&&C){if(F.current)return F.current(x,C,G);G()}},[x,C,G,F,k]);const se=le.useMemo(()=>({reference:A,floating:j,setReference:O,setFloating:b}),[O,b]),de=le.useMemo(()=>({reference:x,floating:C}),[x,C]),ae=le.useMemo(()=>{const ie={position:t,left:0,top:0};if(!de.floating)return ie;const z=Oa(de.floating,f.x),I=Oa(de.floating,f.y);return d?{...ie,transform:"translate("+z+"px, "+I+"px)",...Sa(de.floating)>=1.5&&{willChange:"transform"}}:{position:t,left:z,top:I}},[t,d,de.floating,f.x,f.y]);return le.useMemo(()=>({...f,update:G,refs:se,elements:de,floatingStyles:ae}),[f,G,se,de,ae])}const Pa=(e,n)=>({...bc(e),options:[e,n]}),Sc=(e,n)=>({...yc(e),options:[e,n]}),Oc=(e,n)=>({...wc(e),options:[e,n]}),Pc=(e,n)=>({...xc(e),options:[e,n]}),Ta={...le},Tc=Ta.useInsertionEffect||(e=>e());function Ia(e){const n=le.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return Tc(()=>{n.current=e}),le.useCallback(function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return n.current==null?void 0:n.current(...r)},[])}var Qr=typeof document<"u"?u.useLayoutEffect:u.useEffect;let Na=!1,Ic=0;const _a=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+Ic++;function Nc(){const[e,n]=le.useState(()=>Na?_a():void 0);return Qr(()=>{e==null&&n(_a())},[]),le.useEffect(()=>{Na=!0},[]),e}const _c=Ta.useId||Nc;let vn;process.env.NODE_ENV!=="production"&&(vn=new Set);function Ac(){for(var e,n=arguments.length,t=new Array(n),r=0;r<n;r++)t[r]=arguments[r];const i="Floating UI: "+t.join(" ");if(!((e=vn)!=null&&e.has(i))){var o;(o=vn)==null||o.add(i),console.warn(i)}}function kc(){for(var e,n=arguments.length,t=new Array(n),r=0;r<n;r++)t[r]=arguments[r];const i="Floating UI: "+t.join(" ");if(!((e=vn)!=null&&e.has(i))){var o;(o=vn)==null||o.add(i),console.error(i)}}function Fc(){const e=new Map;return{emit(n,t){var r;(r=e.get(n))==null||r.forEach(i=>i(t))},on(n,t){e.set(n,[...e.get(n)||[],t])},off(n,t){var r;e.set(n,((r=e.get(n))==null?void 0:r.filter(i=>i!==t))||[])}}}const Mc=le.createContext(null),Lc=le.createContext(null),jc=()=>{var e;return((e=le.useContext(Mc))==null?void 0:e.id)||null},Dc=()=>le.useContext(Lc),Rc="data-floating-ui-focusable";function Bc(e){const{open:n=!1,onOpenChange:t,elements:r}=e,i=_c(),o=le.useRef({}),[a]=le.useState(()=>Fc()),d=jc()!=null;if(process.env.NODE_ENV!=="production"){const p=r.reference;p&&!He(p)&&kc("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[l,s]=le.useState(r.reference),f=Ia((p,c,h)=>{o.current.openEvent=p?c:void 0,a.emit("openchange",{open:p,event:c,reason:h,nested:d}),t?.(p,c,h)}),v=le.useMemo(()=>({setPositionReference:s}),[]),m=le.useMemo(()=>({reference:l||r.reference||null,floating:r.floating||null,domReference:r.reference}),[l,r.reference,r.floating]);return le.useMemo(()=>({dataRef:o,open:n,onOpenChange:f,elements:m,events:a,floatingId:i,refs:v}),[n,f,m,a,i,v])}function Wc(e){e===void 0&&(e={});const{nodeId:n}=e,t=Bc({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||t,i=r.elements,[o,a]=le.useState(null),[d,l]=le.useState(null),f=i?.domReference||o,v=le.useRef(null),m=Dc();Qr(()=>{f&&(v.current=f)},[f]);const p=Ec({...e,elements:{...i,...d&&{reference:d}}}),c=le.useCallback(b=>{const x=He(b)?{getBoundingClientRect:()=>b.getBoundingClientRect(),contextElement:b}:b;l(x),p.refs.setReference(x)},[p.refs]),h=le.useCallback(b=>{(He(b)||b===null)&&(v.current=b,a(b)),(He(p.refs.reference.current)||p.refs.reference.current===null||b!==null&&!He(b))&&p.refs.setReference(b)},[p.refs]),g=le.useMemo(()=>({...p.refs,setReference:h,setPositionReference:c,domReference:v}),[p.refs,h,c]),E=le.useMemo(()=>({...p.elements,domReference:f}),[p.elements,f]),O=le.useMemo(()=>({...p,...r,refs:g,elements:E,nodeId:n}),[p,g,E,n,r]);return Qr(()=>{r.dataRef.current.floatingContext=O;const b=m?.nodesRef.current.find(x=>x.id===n);b&&(b.context=O)}),le.useMemo(()=>({...p,context:O,refs:g,elements:E}),[p,g,E,O])}const Aa="active",ka="selected";function ei(e,n,t){const r=new Map,i=t==="item";let o=e;if(i&&e){const{[Aa]:a,[ka]:d,...l}=e;o=l}return{...t==="floating"&&{tabIndex:-1,[Rc]:""},...o,...n.map(a=>{const d=a?a[t]:null;return typeof d=="function"?e?d(e):null:d}).concat(e).reduce((a,d)=>(d&&Object.entries(d).forEach(l=>{let[s,f]=l;if(!(i&&[Aa,ka].includes(s)))if(s.indexOf("on")===0){if(r.has(s)||r.set(s,[]),typeof f=="function"){var v;(v=r.get(s))==null||v.push(f),a[s]=function(){for(var m,p=arguments.length,c=new Array(p),h=0;h<p;h++)c[h]=arguments[h];return(m=r.get(s))==null?void 0:m.map(g=>g(...c)).find(g=>g!==void 0)}}}else a[s]=f}),a),{})}}function Vc(e){e===void 0&&(e=[]);const n=e.map(d=>d?.reference),t=e.map(d=>d?.floating),r=e.map(d=>d?.item),i=le.useCallback(d=>ei(d,e,"reference"),n),o=le.useCallback(d=>ei(d,e,"floating"),t),a=le.useCallback(d=>ei(d,e,"item"),r);return le.useMemo(()=>({getReferenceProps:i,getFloatingProps:o,getItemProps:a}),[i,o,a])}function Fa(e,n){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:n}}}}const Uc=e=>({name:"inner",options:e,async fn(n){const{listRef:t,overflowRef:r,onFallbackChange:i,offset:o=0,index:a=0,minItemsVisible:d=4,referenceOverflowThreshold:l=0,scrollRef:s,...f}=Wt(e,n),{rects:v,elements:{floating:m}}=n,p=t.current[a],c=s?.current||m,h=m.clientTop||c.clientTop,g=m.clientTop!==0,E=c.clientTop!==0,O=m===c;if(process.env.NODE_ENV!=="production"&&(n.placement.startsWith("bottom")||Ac('`placement` side must be "bottom" when using the `inner`',"middleware.")),!p)return{};const b={...n,...await Pa(-p.offsetTop-m.clientTop-v.reference.height/2-p.offsetHeight/2-o).fn(n)},x=await Zr(Fa(b,c.scrollHeight+h+m.clientTop),f),C=await Zr(b,{...f,elementContext:"reference"}),A=Ge(0,x.top),j=b.y+A,F=(c.scrollHeight>c.clientHeight?D=>D:mn)(Ge(0,c.scrollHeight+(g&&O||E?h*2:0)-A-Ge(0,x.bottom)));if(c.style.maxHeight=F+"px",c.scrollTop=A,i){const D=c.offsetHeight<p.offsetHeight*Nt(d,t.current.length)-1||C.top>=-l||C.bottom>=-l;En.flushSync(()=>i(D))}return r&&(r.current=await Zr(Fa({...b,y:j},c.offsetHeight+h+m.clientTop),f)),{y:j}}});function Hc(e,n){const{open:t,elements:r}=e,{enabled:i=!0,overflowRef:o,scrollRef:a,onChange:d}=n,l=Ia(d),s=le.useRef(!1),f=le.useRef(null),v=le.useRef(null);le.useEffect(()=>{if(!i)return;function p(h){if(h.ctrlKey||!c||o.current==null)return;const g=h.deltaY,E=o.current.top>=-.5,O=o.current.bottom>=-.5,b=c.scrollHeight-c.clientHeight,x=g<0?-1:1,C=g<0?"max":"min";c.scrollHeight<=c.clientHeight||(!E&&g>0||!O&&g<0?(h.preventDefault(),En.flushSync(()=>{l(A=>A+Math[C](g,b*x))})):/firefox/i.test(V0())&&(c.scrollTop+=g))}const c=a?.current||r.floating;if(t&&c)return c.addEventListener("wheel",p),requestAnimationFrame(()=>{f.current=c.scrollTop,o.current!=null&&(v.current={...o.current})}),()=>{f.current=null,v.current=null,c.removeEventListener("wheel",p)}},[i,t,r.floating,o,a,l]);const m=le.useMemo(()=>({onKeyDown(){s.current=!0},onWheel(){s.current=!1},onPointerMove(){s.current=!1},onScroll(){const p=a?.current||r.floating;if(!(!o.current||!p||!s.current)){if(f.current!==null){const c=p.scrollTop-f.current;(o.current.bottom<-.5&&c<-1||o.current.top<-.5&&c>1)&&En.flushSync(()=>l(h=>h+c))}requestAnimationFrame(()=>{f.current=p.scrollTop})}}}),[r.floating,l,o,a]);return le.useMemo(()=>i?{floating:m}:{},[i,m])}let Ut=u.createContext({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});Ut.displayName="FloatingContext";let ti=u.createContext(null);ti.displayName="PlacementContext";function Ma(e){return u.useMemo(()=>e?typeof e=="string"?{to:e}:e:null,[e])}function La(){return u.useContext(Ut).setReference}function Gc(){return u.useContext(Ut).getReferenceProps}function ja(){let{getFloatingProps:e,slot:n}=u.useContext(Ut);return u.useCallback((...t)=>Object.assign({},e(...t),{"data-anchor":n.anchor}),[e,n])}function Da(e=null){e===!1&&(e=null),typeof e=="string"&&(e={to:e});let n=u.useContext(ti),t=u.useMemo(()=>e,[JSON.stringify(e,(i,o)=>{var a;return(a=o?.outerHTML)!=null?a:o})]);Ce(()=>{n?.(t??null)},[n,t]);let r=u.useContext(Ut);return u.useMemo(()=>[r.setFloating,e?r.styles:{}],[r.setFloating,e,r.styles])}let Ra=4;function Ba({children:e,enabled:n=!0}){let[t,r]=u.useState(null),[i,o]=u.useState(0),a=u.useRef(null),[d,l]=u.useState(null);zc(d);let s=n&&t!==null&&d!==null,{to:f="bottom",gap:v=0,offset:m=0,padding:p=0,inner:c}=Kc(t,d),[h,g="center"]=f.split(" ");Ce(()=>{s&&o(0)},[s]);let{refs:E,floatingStyles:O,context:b}=Wc({open:s,placement:h==="selection"?g==="center"?"bottom":`bottom-${g}`:g==="center"?`${h}`:`${h}-${g}`,strategy:"absolute",transform:!1,middleware:[Pa({mainAxis:h==="selection"?0:v,crossAxis:m}),Sc({padding:p}),h!=="selection"&&Oc({padding:p}),h==="selection"&&c?Uc({...c,padding:p,overflowRef:a,offset:i,minItemsVisible:Ra,referenceOverflowThreshold:p,onFallbackChange(D){var X,G;if(!D)return;let B=b.elements.floating;if(!B)return;let se=parseFloat(getComputedStyle(B).scrollPaddingBottom)||0,de=Math.min(Ra,B.childElementCount),ae=0,ie=0;for(let z of(G=(X=b.elements.floating)==null?void 0:X.childNodes)!=null?G:[])if(z instanceof HTMLElement){let I=z.offsetTop,R=I+z.clientHeight+se,Y=B.scrollTop,T=Y+B.clientHeight;if(I>=Y&&R<=T)de--;else{ie=Math.max(0,Math.min(R,T)-Math.max(I,Y)),ae=z.clientHeight;break}}de>=1&&o(z=>{let I=ae*de-ie+se;return z>=I?z:I})}}):null,Pc({padding:p,apply({availableWidth:D,availableHeight:X,elements:G}){Object.assign(G.floating.style,{overflow:"auto",maxWidth:`${D}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${X}px)`})}})].filter(Boolean),whileElementsMounted:$c}),[x=h,C=g]=b.placement.split("-");h==="selection"&&(x="selection");let A=u.useMemo(()=>({anchor:[x,C].filter(Boolean).join(" ")}),[x,C]),j=Hc(b,{overflowRef:a,onChange:o}),{getReferenceProps:H,getFloatingProps:k}=Vc([j]),F=te(D=>{l(D),E.setFloating(D)});return le.createElement(ti.Provider,{value:r},le.createElement(Ut.Provider,{value:{setFloating:F,setReference:E.setReference,styles:O,getReferenceProps:H,getFloatingProps:k,slot:A}},e))}function zc(e){Ce(()=>{if(!e)return;let n=new MutationObserver(()=>{let t=window.getComputedStyle(e).maxHeight,r=parseFloat(t);if(isNaN(r))return;let i=parseInt(t);isNaN(i)||r!==i&&(e.style.maxHeight=`${Math.ceil(r)}px`)});return n.observe(e,{attributes:!0,attributeFilter:["style"]}),()=>{n.disconnect()}},[e])}function Kc(e,n){var t,r,i;let o=ni((t=e?.gap)!=null?t:"var(--anchor-gap, 0)",n),a=ni((r=e?.offset)!=null?r:"var(--anchor-offset, 0)",n),d=ni((i=e?.padding)!=null?i:"var(--anchor-padding, 0)",n);return{...e,gap:o,offset:a,padding:d}}function ni(e,n,t=void 0){let r=yt(),i=te((l,s)=>{if(l==null)return[t,null];if(typeof l=="number")return[l,null];if(typeof l=="string"){if(!s)return[t,null];let f=Va(l,s);return[f,v=>{let m=Wa(l);{let p=m.map(c=>window.getComputedStyle(s).getPropertyValue(c));r.requestAnimationFrame(function c(){r.nextFrame(c);let h=!1;for(let[E,O]of m.entries()){let b=window.getComputedStyle(s).getPropertyValue(O);if(p[E]!==b){p[E]=b,h=!0;break}}if(!h)return;let g=Va(l,s);f!==g&&(v(g),f=g)})}return r.dispose}]}return[t,null]}),o=u.useMemo(()=>i(e,n)[0],[e,n]),[a=o,d]=u.useState();return Ce(()=>{let[l,s]=i(e,n);if(d(l),!!s)return s(d)},[e,n]),a}function Wa(e){let n=/var\((.*)\)/.exec(e);if(n){let t=n[1].indexOf(",");if(t===-1)return[n[1]];let r=n[1].slice(0,t).trim(),i=n[1].slice(t+1).trim();return i?[r,...Wa(i)]:[r]}return[]}function Va(e,n){let t=document.createElement("div");n.appendChild(t),t.style.setProperty("margin-top","0px","important"),t.style.setProperty("margin-top",e,"important");let r=parseFloat(window.getComputedStyle(t).marginTop)||0;return n.removeChild(t),r}function qc({children:e,freeze:n}){let t=Hn(n,e);return u.createElement(u.Fragment,null,t)}function Hn(e,n){let[t,r]=u.useState(n);return!e&&t!==n&&r(n),e?t:n}let ri=u.createContext(null);ri.displayName="OpenClosedContext";var Ke=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(Ke||{});function Gn(){return u.useContext(ri)}function ii({value:e,children:n}){return u.createElement(ri.Provider,{value:e},n)}function Yc(e){function n(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",n))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",n),n())}let kt=[];Yc(()=>{function e(n){if(!(n.target instanceof HTMLElement)||n.target===document.body||kt[0]===n.target)return;let t=n.target;t=t.closest(Fn),kt.unshift(t??n.target),kt=kt.filter(r=>r!=null&&r.isConnected),kt.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 Xc(e){throw new Error("Unexpected object: "+e)}var be=(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))(be||{});function gn(e,n){let t=n.resolveItems();if(t.length<=0)return null;let r=n.resolveActiveIndex(),i=r??-1;switch(e.focus){case 0:{for(let o=0;o<t.length;++o)if(!n.resolveDisabled(t[o],o,t))return o;return r}case 1:{i===-1&&(i=t.length);for(let o=i-1;o>=0;--o)if(!n.resolveDisabled(t[o],o,t))return o;return r}case 2:{for(let o=i+1;o<t.length;++o)if(!n.resolveDisabled(t[o],o,t))return o;return r}case 3:{for(let o=t.length-1;o>=0;--o)if(!n.resolveDisabled(t[o],o,t))return o;return r}case 4:{for(let o=0;o<t.length;++o)if(n.resolveId(t[o],o,t)===e.id)return o;return r}case 5:return null;default:Xc(e)}}var oi=(e=>(e[e.Left=0]="Left",e[e.Right=2]="Right",e))(oi||{});function Zc(e){let n=te(e),t=u.useRef(!1);u.useEffect(()=>(t.current=!1,()=>{t.current=!0,wo(()=>{t.current&&n()})}),[n])}function Jc(){let e=typeof document>"u";return"useSyncExternalStore"in le?(n=>n.useSyncExternalStore)(le)(()=>()=>{},()=>!1,()=>!e):!1}function ai(){let e=Jc(),[n,t]=le.useState(Tt.isHandoffComplete);return n&&Tt.isHandoffComplete===!1&&t(!1),le.useEffect(()=>{n!==!0&&t(!0)},[n]),le.useEffect(()=>Tt.handoff(),[]),e?!1:n}let Qc=u.createContext(!1);function e1(){return u.useContext(Qc)}function t1(e){let n=e1(),t=u.useContext(Ha),r=cn(e),[i,o]=u.useState(()=>{var a;if(!n&&t!==null)return(a=t.current)!=null?a:null;if(Tt.isServer)return null;let d=r?.getElementById("headlessui-portal-root");if(d)return d;if(r===null)return null;let l=r.createElement("div");return l.setAttribute("id","headlessui-portal-root"),r.body.appendChild(l)});return u.useEffect(()=>{i!==null&&(r!=null&&r.body.contains(i)||r==null||r.body.appendChild(i))},[i,r]),u.useEffect(()=>{n||t!==null&&o(t.current)},[t,o,n]),i}let Ua=u.Fragment,n1=Le(function(e,n){let t=e,r=u.useRef(null),i=Ue(qu(v=>{r.current=v}),n),o=cn(r),a=t1(r),[d]=u.useState(()=>{var v;return Tt.isServer?null:(v=o?.createElement("div"))!=null?v:null}),l=u.useContext(a1),s=ai();Ce(()=>{!a||!d||a.contains(d)||(d.setAttribute("data-headlessui-portal",""),a.appendChild(d))},[a,d]),Ce(()=>{if(d&&l)return l.register(d)},[l,d]),Zc(()=>{var v;!a||!d||(d instanceof Node&&a.contains(d)&&a.removeChild(d),a.childNodes.length<=0&&((v=a.parentElement)==null||v.removeChild(a)))});let f=De();return s?!a||!d?null:Ae.createPortal(f({ourProps:{ref:i},theirProps:t,slot:{},defaultTag:Ua,name:"Portal"}),d):null});function r1(e,n){let t=Ue(n),{enabled:r=!0,...i}=e,o=De();return r?u.createElement(n1,{...i,ref:t}):o({ourProps:{ref:t},theirProps:i,slot:{},defaultTag:Ua,name:"Portal"})}let i1=u.Fragment,Ha=u.createContext(null);function o1(e,n){let{target:t,...r}=e,i={ref:Ue(n)},o=De();return u.createElement(Ha.Provider,{value:t},o({ourProps:i,theirProps:r,defaultTag:i1,name:"Popover.Group"}))}let a1=u.createContext(null),d1=Le(r1),l1=Le(o1),Ga=Object.assign(d1,{Group:l1});var s1=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(s1||{}),u1=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(u1||{}),c1=(e=>(e[e.Pointer=0]="Pointer",e[e.Focus=1]="Focus",e[e.Other=2]="Other",e))(c1||{}),f1=(e=>(e[e.OpenCombobox=0]="OpenCombobox",e[e.CloseCombobox=1]="CloseCombobox",e[e.GoToOption=2]="GoToOption",e[e.SetTyping=3]="SetTyping",e[e.RegisterOption=4]="RegisterOption",e[e.UnregisterOption=5]="UnregisterOption",e[e.SetActivationTrigger=6]="SetActivationTrigger",e[e.UpdateVirtualConfiguration=7]="UpdateVirtualConfiguration",e[e.SetInputElement=8]="SetInputElement",e[e.SetButtonElement=9]="SetButtonElement",e[e.SetOptionsElement=10]="SetOptionsElement",e))(f1||{});function di(e,n=t=>t){let t=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,r=n(e.options.slice()),i=r.length>0&&r[0].dataRef.current.order!==null?r.sort((a,d)=>a.dataRef.current.order-d.dataRef.current.order):Wr(r,a=>a.dataRef.current.domRef.current),o=t?i.indexOf(t):null;return o===-1&&(o=null),{options:i,activeOptionIndex:o}}let p1={1(e){var n;return(n=e.dataRef.current)!=null&&n.disabled||e.comboboxState===1?e:{...e,activeOptionIndex:null,comboboxState:1,isTyping:!1,activationTrigger:2,__demoMode:!1}},0(e){var n,t;if((n=e.dataRef.current)!=null&&n.disabled||e.comboboxState===0)return e;if((t=e.dataRef.current)!=null&&t.value){let r=e.dataRef.current.calculateIndex(e.dataRef.current.value);if(r!==-1)return{...e,activeOptionIndex:r,comboboxState:0,__demoMode:!1}}return{...e,comboboxState:0,__demoMode:!1}},3(e,n){return e.isTyping===n.isTyping?e:{...e,isTyping:n.isTyping}},2(e,n){var t,r,i,o;if((t=e.dataRef.current)!=null&&t.disabled||e.optionsElement&&!((r=e.dataRef.current)!=null&&r.optionsPropsRef.current.static)&&e.comboboxState===1)return e;if(e.virtual){let{options:s,disabled:f}=e.virtual,v=n.focus===be.Specific?n.idx:gn(n,{resolveItems:()=>s,resolveActiveIndex:()=>{var p,c;return(c=(p=e.activeOptionIndex)!=null?p:s.findIndex(h=>!f(h)))!=null?c:null},resolveDisabled:f,resolveId(){throw new Error("Function not implemented.")}}),m=(i=n.trigger)!=null?i:2;return e.activeOptionIndex===v&&e.activationTrigger===m?e:{...e,activeOptionIndex:v,activationTrigger:m,isTyping:!1,__demoMode:!1}}let a=di(e);if(a.activeOptionIndex===null){let s=a.options.findIndex(f=>!f.dataRef.current.disabled);s!==-1&&(a.activeOptionIndex=s)}let d=n.focus===be.Specific?n.idx:gn(n,{resolveItems:()=>a.options,resolveActiveIndex:()=>a.activeOptionIndex,resolveId:s=>s.id,resolveDisabled:s=>s.dataRef.current.disabled}),l=(o=n.trigger)!=null?o:2;return e.activeOptionIndex===d&&e.activationTrigger===l?e:{...e,...a,isTyping:!1,activeOptionIndex:d,activationTrigger:l,__demoMode:!1}},4:(e,n)=>{var t,r,i;if((t=e.dataRef.current)!=null&&t.virtual)return{...e,options:[...e.options,n.payload]};let o=n.payload,a=di(e,l=>(l.push(o),l));e.activeOptionIndex===null&&(r=e.dataRef.current)!=null&&r.isSelected(n.payload.dataRef.current.value)&&(a.activeOptionIndex=a.options.indexOf(o));let d={...e,...a,activationTrigger:2};return(i=e.dataRef.current)!=null&&i.__demoMode&&e.dataRef.current.value===void 0&&(d.activeOptionIndex=0),d},5:(e,n)=>{var t;if((t=e.dataRef.current)!=null&&t.virtual)return{...e,options:e.options.filter(i=>i.id!==n.id)};let r=di(e,i=>{let o=i.findIndex(a=>a.id===n.id);return o!==-1&&i.splice(o,1),i});return{...e,...r,activationTrigger:2}},6:(e,n)=>e.activationTrigger===n.trigger?e:{...e,activationTrigger:n.trigger},7:(e,n)=>{var t,r;if(e.virtual===null)return{...e,virtual:{options:n.options,disabled:(t=n.disabled)!=null?t:()=>!1}};if(e.virtual.options===n.options&&e.virtual.disabled===n.disabled)return e;let i=e.activeOptionIndex;if(e.activeOptionIndex!==null){let o=n.options.indexOf(e.virtual.options[e.activeOptionIndex]);o!==-1?i=o:i=null}return{...e,activeOptionIndex:i,virtual:{options:n.options,disabled:(r=n.disabled)!=null?r:()=>!1}}},8:(e,n)=>e.inputElement===n.element?e:{...e,inputElement:n.element},9:(e,n)=>e.buttonElement===n.element?e:{...e,buttonElement:n.element},10:(e,n)=>e.optionsElement===n.element?e:{...e,optionsElement:n.element}},li=u.createContext(null);li.displayName="ComboboxActionsContext";function $n(e){let n=u.useContext(li);if(n===null){let t=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,$n),t}return n}let za=u.createContext(null);function m1(e){let n=Ht("VirtualProvider"),{options:t}=n.virtual,[r,i]=u.useMemo(()=>{let s=n.optionsElement;if(!s)return[0,0];let f=window.getComputedStyle(s);return[parseFloat(f.paddingBlockStart||f.paddingTop),parseFloat(f.paddingBlockEnd||f.paddingBottom)]},[n.optionsElement]),o=f0({enabled:t.length!==0,scrollPaddingStart:r,scrollPaddingEnd:i,count:t.length,estimateSize(){return 40},getScrollElement(){return n.optionsElement},overscan:12}),[a,d]=u.useState(0);Ce(()=>{d(s=>s+1)},[t]);let l=o.getVirtualItems();return l.length===0?null:u.createElement(za.Provider,{value:o},u.createElement("div",{style:{position:"relative",width:"100%",height:`${o.getTotalSize()}px`},ref:s=>{s&&n.activationTrigger!==0&&n.activeOptionIndex!==null&&t.length>n.activeOptionIndex&&o.scrollToIndex(n.activeOptionIndex)}},l.map(s=>{var f;return u.createElement(u.Fragment,{key:s.key},u.cloneElement((f=e.children)==null?void 0:f.call(e,{...e.slot,option:t[s.index]}),{key:`${a}-${s.key}`,"data-index":s.index,"aria-setsize":t.length,"aria-posinset":s.index+1,style:{position:"absolute",top:0,left:0,transform:`translateY(${s.start}px)`,overflowAnchor:"none"}}))})))}let bn=u.createContext(null);bn.displayName="ComboboxDataContext";function Ht(e){let n=u.useContext(bn);if(n===null){let t=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Ht),t}return n}function h1(e,n){return We(n.type,p1,e,n)}let v1=u.Fragment;function g1(e,n){var t,r;let i=_n(),{value:o,defaultValue:a,onChange:d,form:l,name:s,by:f,disabled:v=i||!1,onClose:m,__demoMode:p=!1,multiple:c=!1,immediate:h=!1,virtual:g=null,nullable:E,...O}=e,b=So(a),[x=c?[]:void 0,C]=Eo(o,d,b),[A,j]=u.useReducer(h1,{dataRef:u.createRef(),comboboxState:p?0:1,isTyping:!1,options:[],virtual:g?{options:g.options,disabled:(t=g.disabled)!=null?t:()=>!1}:null,activeOptionIndex:null,activationTrigger:2,inputElement:null,buttonElement:null,optionsElement:null,__demoMode:p}),H=u.useRef(!1),k=u.useRef({static:!1,hold:!1}),F=Vo(f),D=te(K=>g?f===null?g.options.indexOf(K):g.options.findIndex(_=>F(_,K)):A.options.findIndex(_=>F(_.dataRef.current.value,K))),X=u.useCallback(K=>We(B.mode,{1:()=>x.some(_=>F(_,K)),0:()=>F(x,K)}),[x]),G=te(K=>A.activeOptionIndex===D(K)),B=u.useMemo(()=>({...A,immediate:h,optionsPropsRef:k,value:x,defaultValue:b,disabled:v,mode:c?1:0,virtual:g?A.virtual:null,get activeOptionIndex(){if(H.current&&A.activeOptionIndex===null&&(g?g.options.length>0:A.options.length>0)){if(g){let _=g.options.findIndex(fe=>{var ge,xe;return!((xe=(ge=g.disabled)==null?void 0:ge.call(g,fe))!=null&&xe)});if(_!==-1)return _}let K=A.options.findIndex(_=>!_.dataRef.current.disabled);if(K!==-1)return K}return A.activeOptionIndex},calculateIndex:D,compare:F,isSelected:X,isActive:G}),[x,b,v,c,p,A,g]);Ce(()=>{var K;g&&j({type:7,options:g.options,disabled:(K=g.disabled)!=null?K:null})},[g,g?.options,g?.disabled]),Ce(()=>{A.dataRef.current=B},[B]);let se=B.comboboxState===0;ea(se,[B.buttonElement,B.inputElement,B.optionsElement],()=>ne.closeCombobox());let de=u.useMemo(()=>{var K,_,fe;return{open:B.comboboxState===0,disabled:v,activeIndex:B.activeOptionIndex,activeOption:B.activeOptionIndex===null?null:B.virtual?B.virtual.options[(K=B.activeOptionIndex)!=null?K:0]:(fe=(_=B.options[B.activeOptionIndex])==null?void 0:_.dataRef.current.value)!=null?fe:null,value:x}},[B,v,x]),ae=te(()=>{if(B.activeOptionIndex!==null){if(ne.setIsTyping(!1),B.virtual)T(B.virtual.options[B.activeOptionIndex]);else{let{dataRef:K}=B.options[B.activeOptionIndex];T(K.current.value)}ne.goToOption(be.Specific,B.activeOptionIndex)}}),ie=te(()=>{j({type:0}),H.current=!0}),z=te(()=>{j({type:1}),H.current=!1,m?.()}),I=te(K=>{j({type:3,isTyping:K})}),R=te((K,_,fe)=>(H.current=!1,K===be.Specific?j({type:2,focus:be.Specific,idx:_,trigger:fe}):j({type:2,focus:K,trigger:fe}))),Y=te((K,_)=>(j({type:4,payload:{id:K,dataRef:_}}),()=>{B.isActive(_.current.value)&&(H.current=!0),j({type:5,id:K})})),T=te(K=>We(B.mode,{0(){return C?.(K)},1(){let _=B.value.slice(),fe=_.findIndex(ge=>F(ge,K));return fe===-1?_.push(K):_.splice(fe,1),C?.(_)}})),U=te(K=>{j({type:6,trigger:K})}),L=te(K=>{j({type:8,element:K})}),Q=te(K=>{j({type:9,element:K})}),q=te(K=>{j({type:10,element:K})}),ne=u.useMemo(()=>({onChange:T,registerOption:Y,goToOption:R,setIsTyping:I,closeCombobox:z,openCombobox:ie,setActivationTrigger:U,selectActiveOption:ae,setInputElement:L,setButtonElement:Q,setOptionsElement:q}),[]),[ce,he]=Lo(),Ee=n===null?{}:{ref:n},S=u.useCallback(()=>{if(b!==void 0)return C?.(b)},[C,b]),Z=De();return u.createElement(he,{value:ce,props:{htmlFor:(r=B.inputElement)==null?void 0:r.id},slot:{open:B.comboboxState===0,disabled:v}},u.createElement(Ba,null,u.createElement(li.Provider,{value:ne},u.createElement(bn.Provider,{value:B},u.createElement(ii,{value:We(B.comboboxState,{0:Ke.Open,1:Ke.Closed})},s!=null&&u.createElement(No,{disabled:v,data:x!=null?{[s]:x}:{},form:l,onReset:S}),Z({ourProps:Ee,theirProps:O,slot:de,defaultTag:v1,name:"Combobox"}))))))}let $1="input";function b1(e,n){var t,r,i,o,a;let d=Ht("Combobox.Input"),l=$n("Combobox.Input"),s=u.useId(),f=kr(),{id:v=f||`headlessui-combobox-input-${s}`,onChange:m,displayValue:p,disabled:c=d.disabled||!1,autoFocus:h=!1,type:g="text",...E}=e,O=u.useRef(null),b=Ue(O,n,La(),l.setInputElement),x=cn(d.inputElement),C=yt(),A=te(()=>{l.onChange(null),d.optionsElement&&(d.optionsElement.scrollTop=0),l.goToOption(be.Nothing)}),j=u.useMemo(()=>{var T;return typeof p=="function"&&d.value!==void 0?(T=p(d.value))!=null?T:"":typeof d.value=="string"?d.value:""},[d.value,p]);la(([T,U],[L,Q])=>{if(d.isTyping)return;let q=O.current;q&&((Q===0&&U===1||T!==L)&&(q.value=T),requestAnimationFrame(()=>{if(d.isTyping||!q||x?.activeElement!==q)return;let{selectionStart:ne,selectionEnd:ce}=q;Math.abs((ce??0)-(ne??0))===0&&ne===0&&q.setSelectionRange(q.value.length,q.value.length)}))},[j,d.comboboxState,x,d.isTyping]),la(([T],[U])=>{if(T===0&&U===1){if(d.isTyping)return;let L=O.current;if(!L)return;let Q=L.value,{selectionStart:q,selectionEnd:ne,selectionDirection:ce}=L;L.value="",L.value=Q,ce!==null?L.setSelectionRange(q,ne,ce):L.setSelectionRange(q,ne)}},[d.comboboxState]);let H=u.useRef(!1),k=te(()=>{H.current=!0}),F=te(()=>{C.nextFrame(()=>{H.current=!1})}),D=te(T=>{switch(l.setIsTyping(!0),T.key){case Se.Enter:if(d.comboboxState!==0||H.current)return;if(T.preventDefault(),T.stopPropagation(),d.activeOptionIndex===null){l.closeCombobox();return}l.selectActiveOption(),d.mode===0&&l.closeCombobox();break;case Se.ArrowDown:return T.preventDefault(),T.stopPropagation(),We(d.comboboxState,{0:()=>l.goToOption(be.Next),1:()=>l.openCombobox()});case Se.ArrowUp:return T.preventDefault(),T.stopPropagation(),We(d.comboboxState,{0:()=>l.goToOption(be.Previous),1:()=>{Ae.flushSync(()=>l.openCombobox()),d.value||l.goToOption(be.Last)}});case Se.Home:if(T.shiftKey)break;return T.preventDefault(),T.stopPropagation(),l.goToOption(be.First);case Se.PageUp:return T.preventDefault(),T.stopPropagation(),l.goToOption(be.First);case Se.End:if(T.shiftKey)break;return T.preventDefault(),T.stopPropagation(),l.goToOption(be.Last);case Se.PageDown:return T.preventDefault(),T.stopPropagation(),l.goToOption(be.Last);case Se.Escape:return d.comboboxState!==0?void 0:(T.preventDefault(),d.optionsElement&&!d.optionsPropsRef.current.static&&T.stopPropagation(),d.mode===0&&d.value===null&&A(),l.closeCombobox());case Se.Tab:if(d.comboboxState!==0)return;d.mode===0&&d.activationTrigger!==1&&l.selectActiveOption(),l.closeCombobox();break}}),X=te(T=>{m?.(T),d.mode===0&&T.target.value===""&&A(),l.openCombobox()}),G=te(T=>{var U,L,Q;let q=(U=T.relatedTarget)!=null?U:kt.find(ne=>ne!==T.currentTarget);if(!((L=d.optionsElement)!=null&&L.contains(q))&&!((Q=d.buttonElement)!=null&&Q.contains(q))&&d.comboboxState===0)return T.preventDefault(),d.mode===0&&d.value===null&&A(),l.closeCombobox()}),B=te(T=>{var U,L,Q;let q=(U=T.relatedTarget)!=null?U:kt.find(ne=>ne!==T.currentTarget);(L=d.buttonElement)!=null&&L.contains(q)||(Q=d.optionsElement)!=null&&Q.contains(q)||d.disabled||d.immediate&&d.comboboxState!==0&&C.microTask(()=>{Ae.flushSync(()=>l.openCombobox()),l.setActivationTrigger(1)})}),se=ln(),de=Fo(),{isFocused:ae,focusProps:ie}=Tr({autoFocus:h}),{isHovered:z,hoverProps:I}=Pr({isDisabled:c}),R=u.useMemo(()=>({open:d.comboboxState===0,disabled:c,hover:z,focus:ae,autofocus:h}),[d,z,ae,h,c]),Y=dn({ref:b,id:v,role:"combobox",type:g,"aria-controls":(t=d.optionsElement)==null?void 0:t.id,"aria-expanded":d.comboboxState===0,"aria-activedescendant":d.activeOptionIndex===null?void 0:d.virtual?(r=d.options.find(T=>!T.dataRef.current.disabled&&d.compare(T.dataRef.current.value,d.virtual.options[d.activeOptionIndex])))==null?void 0:r.id:(i=d.options[d.activeOptionIndex])==null?void 0:i.id,"aria-labelledby":se,"aria-describedby":de,"aria-autocomplete":"list",defaultValue:(a=(o=e.defaultValue)!=null?o:d.defaultValue!==void 0?p?.(d.defaultValue):null)!=null?a:d.defaultValue,disabled:c||void 0,autoFocus:h,onCompositionStart:k,onCompositionEnd:F,onKeyDown:D,onChange:X,onFocus:B,onBlur:G},ie,I);return De()({ourProps:Y,theirProps:E,slot:R,defaultTag:$1,name:"Combobox.Input"})}let y1="button";function w1(e,n){var t;let r=Ht("Combobox.Button"),i=$n("Combobox.Button"),o=Ue(n,i.setButtonElement),a=u.useId(),{id:d=`headlessui-combobox-button-${a}`,disabled:l=r.disabled||!1,autoFocus:s=!1,...f}=e,v=ta(r.inputElement),m=te(j=>{switch(j.key){case Se.Space:case Se.Enter:j.preventDefault(),j.stopPropagation(),r.comboboxState===1&&Ae.flushSync(()=>i.openCombobox()),v();return;case Se.ArrowDown:j.preventDefault(),j.stopPropagation(),r.comboboxState===1&&(Ae.flushSync(()=>i.openCombobox()),r.value||i.goToOption(be.First)),v();return;case Se.ArrowUp:j.preventDefault(),j.stopPropagation(),r.comboboxState===1&&(Ae.flushSync(()=>i.openCombobox()),r.value||i.goToOption(be.Last)),v();return;case Se.Escape:if(r.comboboxState!==0)return;j.preventDefault(),r.optionsElement&&!r.optionsPropsRef.current.static&&j.stopPropagation(),Ae.flushSync(()=>i.closeCombobox()),v();return;default:return}}),p=te(j=>{j.preventDefault(),!_o(j.currentTarget)&&(j.button===oi.Left&&(r.comboboxState===0?i.closeCombobox():i.openCombobox()),v())}),c=ln([d]),{isFocusVisible:h,focusProps:g}=Tr({autoFocus:s}),{isHovered:E,hoverProps:O}=Pr({isDisabled:l}),{pressed:b,pressProps:x}=xo({disabled:l}),C=u.useMemo(()=>({open:r.comboboxState===0,active:b||r.comboboxState===0,disabled:l,value:r.value,hover:E,focus:h}),[r,E,h,b,l]),A=dn({ref:o,id:d,type:na(e,r.buttonElement),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":(t=r.optionsElement)==null?void 0:t.id,"aria-expanded":r.comboboxState===0,"aria-labelledby":c,disabled:l||void 0,autoFocus:s,onMouseDown:p,onKeyDown:m},g,O,x);return De()({ourProps:A,theirProps:f,slot:C,defaultTag:y1,name:"Combobox.Button"})}let x1="div",C1=jt.RenderStrategy|jt.Static;function E1(e,n){var t,r,i;let o=u.useId(),{id:a=`headlessui-combobox-options-${o}`,hold:d=!1,anchor:l,portal:s=!1,modal:f=!0,transition:v=!1,...m}=e,p=Ht("Combobox.Options"),c=$n("Combobox.Options"),h=Ma(l);h&&(s=!0);let[g,E]=Da(h),[O,b]=u.useState(null),x=ja(),C=Ue(n,h?g:null,c.setOptionsElement,b),A=cn(p.optionsElement),j=Gn(),[H,k]=Ur(v,O,j!==null?(j&Ke.Open)===Ke.Open:p.comboboxState===0);qo(H,p.inputElement,c.closeCombobox);let F=p.__demoMode?!1:f&&p.comboboxState===0;ra(F,A);let D=p.__demoMode?!1:f&&p.comboboxState===0;Ko(D,{allowed:u.useCallback(()=>[p.inputElement,p.buttonElement,p.optionsElement],[p.inputElement,p.buttonElement,p.optionsElement])}),Ce(()=>{var Y;p.optionsPropsRef.current.static=(Y=e.static)!=null?Y:!1},[p.optionsPropsRef,e.static]),Ce(()=>{p.optionsPropsRef.current.hold=d},[p.optionsPropsRef,d]),R0(p.comboboxState===0,{container:p.optionsElement,accept(Y){return Y.getAttribute("role")==="option"?NodeFilter.FILTER_REJECT:Y.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(Y){Y.setAttribute("role","none")}});let X=ln([(t=p.buttonElement)==null?void 0:t.id]),G=u.useMemo(()=>({open:p.comboboxState===0,option:void 0}),[p.comboboxState]),B=te(()=>{c.setActivationTrigger(0)}),se=te(Y=>{Y.preventDefault(),c.setActivationTrigger(0)}),de=dn(h?x():{},{"aria-labelledby":X,role:"listbox","aria-multiselectable":p.mode===1?!0:void 0,id:a,ref:C,style:{...m.style,...E,"--input-width":Lr(p.inputElement,!0).width,"--button-width":Lr(p.buttonElement,!0).width},onWheel:p.activationTrigger===0?void 0:B,onMouseDown:se,...Vr(k)}),ae=H&&p.comboboxState===1,ie=Hn(ae,(r=p.virtual)==null?void 0:r.options),z=Hn(ae,p.value),I=te(Y=>p.compare(z,Y));if(p.virtual){if(ie===void 0)throw new Error("Missing `options` in virtual mode");Object.assign(m,{children:u.createElement(bn.Provider,{value:ie!==p.virtual.options?{...p,virtual:{...p.virtual,options:ie}}:p},u.createElement(m1,{slot:G},m.children))})}let R=De();return u.createElement(Ga,{enabled:s?e.static||H:!1},u.createElement(bn.Provider,{value:p.mode===1?p:{...p,isSelected:I}},R({ourProps:de,theirProps:{...m,children:u.createElement(qc,{freeze:ae},typeof m.children=="function"?(i=m.children)==null?void 0:i.call(m,G):m.children)},slot:G,defaultTag:x1,features:C1,visible:H,name:"Combobox.Options"})))}let S1="div";function O1(e,n){var t,r,i,o;let a=Ht("Combobox.Option"),d=$n("Combobox.Option"),l=u.useId(),{id:s=`headlessui-combobox-option-${l}`,value:f,disabled:v=(i=(r=(t=a.virtual)==null?void 0:t.disabled)==null?void 0:r.call(t,f))!=null?i:!1,order:m=null,...p}=e,c=ta(a.inputElement),h=a.virtual?a.activeOptionIndex===a.calculateIndex(f):a.activeOptionIndex===null?!1:((o=a.options[a.activeOptionIndex])==null?void 0:o.id)===s,g=a.isSelected(f),E=u.useRef(null),O=mt({disabled:v,value:f,domRef:E,order:m}),b=u.useContext(za),x=Ue(n,E,b?b.measureElement:null),C=te(()=>{d.setIsTyping(!1),d.onChange(f)});Ce(()=>d.registerOption(s,O),[O,s]);let A=u.useRef(!(a.virtual||a.__demoMode));Ce(()=>{if(!a.virtual&&!a.__demoMode)return et().requestAnimationFrame(()=>{A.current=!0})},[a.virtual,a.__demoMode]),Ce(()=>{if(A.current&&a.comboboxState===0&&h&&a.activationTrigger!==0)return et().requestAnimationFrame(()=>{var se,de;(de=(se=E.current)==null?void 0:se.scrollIntoView)==null||de.call(se,{block:"nearest"})})},[E,h,a.comboboxState,a.activationTrigger,a.activeOptionIndex]);let j=te(se=>{se.preventDefault(),se.button===oi.Left&&(v||(C(),Jo()||requestAnimationFrame(()=>c()),a.mode===0&&d.closeCombobox()))}),H=te(()=>{if(v)return d.goToOption(be.Nothing);let se=a.calculateIndex(f);d.goToOption(be.Specific,se)}),k=oa(),F=te(se=>k.update(se)),D=te(se=>{if(!k.wasMoved(se)||v||h)return;let de=a.calculateIndex(f);d.goToOption(be.Specific,de,0)}),X=te(se=>{k.wasMoved(se)&&(v||h&&(a.optionsPropsRef.current.hold||d.goToOption(be.Nothing)))}),G=u.useMemo(()=>({active:h,focus:h,selected:g,disabled:v}),[h,g,v]),B={id:s,ref:x,role:"option",tabIndex:v===!0?void 0:-1,"aria-disabled":v===!0?!0:void 0,"aria-selected":g,disabled:void 0,onMouseDown:j,onFocus:H,onPointerEnter:F,onMouseEnter:F,onPointerMove:D,onMouseMove:D,onPointerLeave:X,onMouseLeave:X};return De()({ourProps:B,theirProps:p,slot:G,defaultTag:S1,name:"Combobox.Option"})}let P1=Le(g1),Ka=Le(w1),qa=Le(b1),T1=jo,Ya=Le(E1),Xa=Le(O1),I1=Object.assign(P1,{Input:qa,Button:Ka,Label:T1,Options:Ya,Option:Xa});function N1(){let e=u.useRef(!1);return Ce(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function Za(e){var n;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||((n=e.as)!=null?n:Qa)!==u.Fragment||u.Children.count(e.children)===1}let zn=u.createContext(null);zn.displayName="TransitionContext";var _1=(e=>(e.Visible="visible",e.Hidden="hidden",e))(_1||{});function A1(){let e=u.useContext(zn);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function k1(){let e=u.useContext(Kn);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let Kn=u.createContext(null);Kn.displayName="NestingContext";function qn(e){return"children"in e?qn(e.children):e.current.filter(({el:n})=>n.current!==null).filter(({state:n})=>n==="visible").length>0}function Ja(e,n){let t=mt(e),r=u.useRef([]),i=N1(),o=yt(),a=te((p,c=wt.Hidden)=>{let h=r.current.findIndex(({el:g})=>g===p);h!==-1&&(We(c,{[wt.Unmount](){r.current.splice(h,1)},[wt.Hidden](){r.current[h].state="hidden"}}),o.microTask(()=>{var g;!qn(r)&&i.current&&((g=t.current)==null||g.call(t))}))}),d=te(p=>{let c=r.current.find(({el:h})=>h===p);return c?c.state!=="visible"&&(c.state="visible"):r.current.push({el:p,state:"visible"}),()=>a(p,wt.Unmount)}),l=u.useRef([]),s=u.useRef(Promise.resolve()),f=u.useRef({enter:[],leave:[]}),v=te((p,c,h)=>{l.current.splice(0),n&&(n.chains.current[c]=n.chains.current[c].filter(([g])=>g!==p)),n?.chains.current[c].push([p,new Promise(g=>{l.current.push(g)})]),n?.chains.current[c].push([p,new Promise(g=>{Promise.all(f.current[c].map(([E,O])=>O)).then(()=>g())})]),c==="enter"?s.current=s.current.then(()=>n?.wait.current).then(()=>h(c)):h(c)}),m=te((p,c,h)=>{Promise.all(f.current[c].splice(0).map(([g,E])=>E)).then(()=>{var g;(g=l.current.shift())==null||g()}).then(()=>h(c))});return u.useMemo(()=>({children:r,register:d,unregister:a,onStart:v,onStop:m,wait:s,chains:f}),[d,a,r,v,m,f,s])}let Qa=u.Fragment,ed=jt.RenderStrategy;function F1(e,n){var t,r;let{transition:i=!0,beforeEnter:o,afterEnter:a,beforeLeave:d,afterLeave:l,enter:s,enterFrom:f,enterTo:v,entered:m,leave:p,leaveFrom:c,leaveTo:h,...g}=e,[E,O]=u.useState(null),b=u.useRef(null),x=Za(e),C=Ue(...x?[b,n,O]:n===null?[]:[n]),A=(t=g.unmount)==null||t?wt.Unmount:wt.Hidden,{show:j,appear:H,initial:k}=A1(),[F,D]=u.useState(j?"visible":"hidden"),X=k1(),{register:G,unregister:B}=X;Ce(()=>G(b),[G,b]),Ce(()=>{if(A===wt.Hidden&&b.current){if(j&&F!=="visible"){D("visible");return}return We(F,{hidden:()=>B(b),visible:()=>G(b)})}},[F,b,G,B,j,A]);let se=ai();Ce(()=>{if(x&&se&&F==="visible"&&b.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[b,F,se,x]);let de=k&&!H,ae=H&&j&&k,ie=u.useRef(!1),z=Ja(()=>{ie.current||(D("hidden"),B(b))},X),I=te(q=>{ie.current=!0;let ne=q?"enter":"leave";z.onStart(b,ne,ce=>{ce==="enter"?o?.():ce==="leave"&&d?.()})}),R=te(q=>{let ne=q?"enter":"leave";ie.current=!1,z.onStop(b,ne,ce=>{ce==="enter"?a?.():ce==="leave"&&l?.()}),ne==="leave"&&!qn(z)&&(D("hidden"),B(b))});u.useEffect(()=>{x&&i||(I(j),R(j))},[j,x,i]);let Y=!(!i||!x||!se||de),[,T]=Ur(Y,E,j,{start:I,end:R}),U=xt({ref:C,className:((r=Nr(g.className,ae&&s,ae&&f,T.enter&&s,T.enter&&T.closed&&f,T.enter&&!T.closed&&v,T.leave&&p,T.leave&&!T.closed&&c,T.leave&&T.closed&&h,!T.transition&&j&&m))==null?void 0:r.trim())||void 0,...Vr(T)}),L=0;F==="visible"&&(L|=Ke.Open),F==="hidden"&&(L|=Ke.Closed),T.enter&&(L|=Ke.Opening),T.leave&&(L|=Ke.Closing);let Q=De();return u.createElement(Kn.Provider,{value:z},u.createElement(ii,{value:L},Q({ourProps:U,theirProps:g,defaultTag:Qa,features:ed,visible:F==="visible",name:"Transition.Child"})))}function M1(e,n){let{show:t,appear:r=!1,unmount:i=!0,...o}=e,a=u.useRef(null),d=Za(e),l=Ue(...d?[a,n]:n===null?[]:[n]);ai();let s=Gn();if(t===void 0&&s!==null&&(t=(s&Ke.Open)===Ke.Open),t===void 0)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[f,v]=u.useState(t?"visible":"hidden"),m=Ja(()=>{t||v("hidden")}),[p,c]=u.useState(!0),h=u.useRef([t]);Ce(()=>{p!==!1&&h.current[h.current.length-1]!==t&&(h.current.push(t),c(!1))},[h,t]);let g=u.useMemo(()=>({show:t,appear:r,initial:p}),[t,r,p]);Ce(()=>{t?v("visible"):!qn(m)&&a.current!==null&&v("hidden")},[t,m]);let E={unmount:i},O=te(()=>{var C;p&&c(!1),(C=e.beforeEnter)==null||C.call(e)}),b=te(()=>{var C;p&&c(!1),(C=e.beforeLeave)==null||C.call(e)}),x=De();return u.createElement(Kn.Provider,{value:m},u.createElement(zn.Provider,{value:g},x({ourProps:{...E,as:u.Fragment,children:u.createElement(td,{ref:l,...E,...o,beforeEnter:O,beforeLeave:b})},theirProps:{},defaultTag:u.Fragment,features:ed,visible:f==="visible",name:"Transition"})))}function L1(e,n){let t=u.useContext(zn)!==null,r=Gn()!==null;return u.createElement(u.Fragment,null,!t&&r?u.createElement(si,{ref:n,...e}):u.createElement(td,{ref:n,...e}))}let si=Le(M1),td=Le(F1),j1=Le(L1),nd=Object.assign(si,{Child:j1,Root:si});function D1(e,n){let t=u.useRef({left:0,top:0});if(Ce(()=>{if(!n)return;let i=n.getBoundingClientRect();i&&(t.current=i)},[e,n]),n==null||!e||n===document.activeElement)return!1;let r=n.getBoundingClientRect();return r.top!==t.current.top||r.left!==t.current.left}let rd=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function id(e){var n,t;let r=(n=e.innerText)!=null?n:"",i=e.cloneNode(!0);if(!(i instanceof HTMLElement))return r;let o=!1;for(let d of i.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))d.remove(),o=!0;let a=o?(t=i.innerText)!=null?t:"":r;return rd.test(a)&&(a=a.replace(rd,"")),a}function R1(e){let n=e.getAttribute("aria-label");if(typeof n=="string")return n.trim();let t=e.getAttribute("aria-labelledby");if(t){let r=t.split(" ").map(i=>{let o=document.getElementById(i);if(o){let a=o.getAttribute("aria-label");return typeof a=="string"?a.trim():id(o).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return id(e).trim()}function B1(e){let n=u.useRef(""),t=u.useRef("");return te(()=>{let r=e.current;if(!r)return"";let i=r.innerText;if(n.current===i)return t.current;let o=R1(r).trim().toLowerCase();return n.current=i,t.current=o,o})}var W1=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(W1||{}),V1=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(V1||{}),U1=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(U1||{}),H1=(e=>(e[e.OpenListbox=0]="OpenListbox",e[e.CloseListbox=1]="CloseListbox",e[e.GoToOption=2]="GoToOption",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterOption=5]="RegisterOption",e[e.UnregisterOption=6]="UnregisterOption",e[e.SetButtonElement=7]="SetButtonElement",e[e.SetOptionsElement=8]="SetOptionsElement",e))(H1||{});function ui(e,n=t=>t){let t=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,r=Wr(n(e.options.slice()),o=>o.dataRef.current.domRef.current),i=t?r.indexOf(t):null;return i===-1&&(i=null),{options:r,activeOptionIndex:i}}let G1={1(e){return e.dataRef.current.disabled||e.listboxState===1?e:{...e,activeOptionIndex:null,listboxState:1,__demoMode:!1}},0(e){if(e.dataRef.current.disabled||e.listboxState===0)return e;let n=e.activeOptionIndex,{isSelected:t}=e.dataRef.current,r=e.options.findIndex(i=>t(i.dataRef.current.value));return r!==-1&&(n=r),{...e,listboxState:0,activeOptionIndex:n,__demoMode:!1}},2(e,n){var t,r,i,o,a;if(e.dataRef.current.disabled||e.listboxState===1)return e;let d={...e,searchQuery:"",activationTrigger:(t=n.trigger)!=null?t:1,__demoMode:!1};if(n.focus===be.Nothing)return{...d,activeOptionIndex:null};if(n.focus===be.Specific)return{...d,activeOptionIndex:e.options.findIndex(f=>f.id===n.id)};if(n.focus===be.Previous){let f=e.activeOptionIndex;if(f!==null){let v=e.options[f].dataRef.current.domRef,m=gn(n,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:p=>p.id,resolveDisabled:p=>p.dataRef.current.disabled});if(m!==null){let p=e.options[m].dataRef.current.domRef;if(((r=v.current)==null?void 0:r.previousElementSibling)===p.current||((i=p.current)==null?void 0:i.previousElementSibling)===null)return{...d,activeOptionIndex:m}}}}else if(n.focus===be.Next){let f=e.activeOptionIndex;if(f!==null){let v=e.options[f].dataRef.current.domRef,m=gn(n,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:p=>p.id,resolveDisabled:p=>p.dataRef.current.disabled});if(m!==null){let p=e.options[m].dataRef.current.domRef;if(((o=v.current)==null?void 0:o.nextElementSibling)===p.current||((a=p.current)==null?void 0:a.nextElementSibling)===null)return{...d,activeOptionIndex:m}}}}let l=ui(e),s=gn(n,{resolveItems:()=>l.options,resolveActiveIndex:()=>l.activeOptionIndex,resolveId:f=>f.id,resolveDisabled:f=>f.dataRef.current.disabled});return{...d,...l,activeOptionIndex:s}},3:(e,n)=>{if(e.dataRef.current.disabled||e.listboxState===1)return e;let t=e.searchQuery!==""?0:1,r=e.searchQuery+n.value.toLowerCase(),i=(e.activeOptionIndex!==null?e.options.slice(e.activeOptionIndex+t).concat(e.options.slice(0,e.activeOptionIndex+t)):e.options).find(a=>{var d;return!a.dataRef.current.disabled&&((d=a.dataRef.current.textValue)==null?void 0:d.startsWith(r))}),o=i?e.options.indexOf(i):-1;return o===-1||o===e.activeOptionIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeOptionIndex:o,activationTrigger:1}},4(e){return e.dataRef.current.disabled||e.listboxState===1||e.searchQuery===""?e:{...e,searchQuery:""}},5:(e,n)=>{let t={id:n.id,dataRef:n.dataRef},r=ui(e,i=>[...i,t]);return e.activeOptionIndex===null&&e.dataRef.current.isSelected(n.dataRef.current.value)&&(r.activeOptionIndex=r.options.indexOf(t)),{...e,...r}},6:(e,n)=>{let t=ui(e,r=>{let i=r.findIndex(o=>o.id===n.id);return i!==-1&&r.splice(i,1),r});return{...e,...t,activationTrigger:1}},7:(e,n)=>e.buttonElement===n.element?e:{...e,buttonElement:n.element},8:(e,n)=>e.optionsElement===n.element?e:{...e,optionsElement:n.element}},ci=u.createContext(null);ci.displayName="ListboxActionsContext";function Yn(e){let n=u.useContext(ci);if(n===null){let t=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Yn),t}return n}let Xn=u.createContext(null);Xn.displayName="ListboxDataContext";function yn(e){let n=u.useContext(Xn);if(n===null){let t=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,yn),t}return n}function z1(e,n){return We(n.type,G1,e,n)}let K1=u.Fragment;function q1(e,n){var t;let r=_n(),{value:i,defaultValue:o,form:a,name:d,onChange:l,by:s,invalid:f=!1,disabled:v=r||!1,horizontal:m=!1,multiple:p=!1,__demoMode:c=!1,...h}=e;const g=m?"horizontal":"vertical";let E=Ue(n),O=So(o),[b=p?[]:void 0,x]=Eo(i,l,O),[C,A]=u.useReducer(z1,{dataRef:u.createRef(),listboxState:c?0:1,options:[],searchQuery:"",activeOptionIndex:null,activationTrigger:1,optionsVisible:!1,buttonElement:null,optionsElement:null,__demoMode:c}),j=u.useRef({static:!1,hold:!1}),H=u.useRef(new Map),k=Vo(s),F=u.useCallback(S=>We(D.mode,{1:()=>b.some(Z=>k(Z,S)),0:()=>k(b,S)}),[b]),D=u.useMemo(()=>({...C,value:b,disabled:v,invalid:f,mode:p?1:0,orientation:g,compare:k,isSelected:F,optionsPropsRef:j,listRef:H}),[b,v,f,p,C,H]);Ce(()=>{C.dataRef.current=D},[D]);let X=D.listboxState===0;ea(X,[D.buttonElement,D.optionsElement],(S,Z)=>{var K;A({type:1}),Xo(Z,Br.Loose)||(S.preventDefault(),(K=D.buttonElement)==null||K.focus())});let G=u.useMemo(()=>({open:D.listboxState===0,disabled:v,invalid:f,value:b}),[D,v,b,f]),B=te(S=>{let Z=D.options.find(K=>K.id===S);Z&&R(Z.dataRef.current.value)}),se=te(()=>{if(D.activeOptionIndex!==null){let{dataRef:S,id:Z}=D.options[D.activeOptionIndex];R(S.current.value),A({type:2,focus:be.Specific,id:Z})}}),de=te(()=>A({type:0})),ae=te(()=>A({type:1})),ie=yt(),z=te((S,Z,K)=>{ie.dispose(),ie.microTask(()=>S===be.Specific?A({type:2,focus:be.Specific,id:Z,trigger:K}):A({type:2,focus:S,trigger:K}))}),I=te((S,Z)=>(A({type:5,id:S,dataRef:Z}),()=>A({type:6,id:S}))),R=te(S=>We(D.mode,{0(){return x?.(S)},1(){let Z=D.value.slice(),K=Z.findIndex(_=>k(_,S));return K===-1?Z.push(S):Z.splice(K,1),x?.(Z)}})),Y=te(S=>A({type:3,value:S})),T=te(()=>A({type:4})),U=te(S=>{A({type:7,element:S})}),L=te(S=>{A({type:8,element:S})}),Q=u.useMemo(()=>({onChange:R,registerOption:I,goToOption:z,closeListbox:ae,openListbox:de,selectActiveOption:se,selectOption:B,search:Y,clearSearch:T,setButtonElement:U,setOptionsElement:L}),[]),[q,ne]=Lo({inherit:!0}),ce={ref:E},he=u.useCallback(()=>{if(O!==void 0)return x?.(O)},[x,O]),Ee=De();return u.createElement(ne,{value:q,props:{htmlFor:(t=D.buttonElement)==null?void 0:t.id},slot:{open:D.listboxState===0,disabled:v}},u.createElement(Ba,null,u.createElement(ci.Provider,{value:Q},u.createElement(Xn.Provider,{value:D},u.createElement(ii,{value:We(D.listboxState,{0:Ke.Open,1:Ke.Closed})},d!=null&&b!=null&&u.createElement(No,{disabled:v,data:{[d]:b},form:a,onReset:he}),Ee({ourProps:ce,theirProps:h,slot:G,defaultTag:K1,name:"Listbox"}))))))}let Y1="button";function X1(e,n){var t;let r=yn("Listbox.Button"),i=Yn("Listbox.Button"),o=u.useId(),a=kr(),{id:d=a||`headlessui-listbox-button-${o}`,disabled:l=r.disabled||!1,autoFocus:s=!1,...f}=e,v=Ue(n,La(),i.setButtonElement),m=Gc(),p=te(D=>{switch(D.key){case Se.Enter:Bu(D.currentTarget);break;case Se.Space:case Se.ArrowDown:D.preventDefault(),Ae.flushSync(()=>i.openListbox()),r.value||i.goToOption(be.First);break;case Se.ArrowUp:D.preventDefault(),Ae.flushSync(()=>i.openListbox()),r.value||i.goToOption(be.Last);break}}),c=te(D=>{switch(D.key){case Se.Space:D.preventDefault();break}}),h=te(D=>{var X;if(_o(D.currentTarget))return D.preventDefault();r.listboxState===0?(Ae.flushSync(()=>i.closeListbox()),(X=r.buttonElement)==null||X.focus({preventScroll:!0})):(D.preventDefault(),i.openListbox())}),g=te(D=>D.preventDefault()),E=ln([d]),O=Fo(),{isFocusVisible:b,focusProps:x}=Tr({autoFocus:s}),{isHovered:C,hoverProps:A}=Pr({isDisabled:l}),{pressed:j,pressProps:H}=xo({disabled:l}),k=u.useMemo(()=>({open:r.listboxState===0,active:j||r.listboxState===0,disabled:l,invalid:r.invalid,value:r.value,hover:C,focus:b,autofocus:s}),[r.listboxState,r.value,l,C,b,j,r.invalid,s]),F=dn(m(),{ref:v,id:d,type:na(e,r.buttonElement),"aria-haspopup":"listbox","aria-controls":(t=r.optionsElement)==null?void 0:t.id,"aria-expanded":r.listboxState===0,"aria-labelledby":E,"aria-describedby":O,disabled:l||void 0,autoFocus:s,onKeyDown:p,onKeyUp:c,onKeyPress:g,onClick:h},x,A,H);return De()({ourProps:F,theirProps:f,slot:k,defaultTag:Y1,name:"Listbox.Button"})}let od=u.createContext(!1),Z1="div",J1=jt.RenderStrategy|jt.Static;function Q1(e,n){var t,r;let i=u.useId(),{id:o=`headlessui-listbox-options-${i}`,anchor:a,portal:d=!1,modal:l=!0,transition:s=!1,...f}=e,v=Ma(a),[m,p]=u.useState(null);v&&(d=!0);let c=yn("Listbox.Options"),h=Yn("Listbox.Options"),g=cn(c.optionsElement),E=Gn(),[O,b]=Ur(s,m,E!==null?(E&Ke.Open)===Ke.Open:c.listboxState===0);qo(O,c.buttonElement,h.closeListbox);let x=c.__demoMode?!1:l&&c.listboxState===0;ra(x,g);let C=c.__demoMode?!1:l&&c.listboxState===0;Ko(C,{allowed:u.useCallback(()=>[c.buttonElement,c.optionsElement],[c.buttonElement,c.optionsElement])});let A=c.listboxState!==0,j=D1(A,c.buttonElement)?!1:O,H=O&&c.listboxState===1,k=Hn(H,c.value),F=te(T=>c.compare(k,T)),D=u.useMemo(()=>{var T;if(v==null||!((T=v?.to)!=null&&T.includes("selection")))return null;let U=c.options.findIndex(L=>F(L.dataRef.current.value));return U===-1&&(U=0),U},[v,c.options]),X=(()=>{if(v==null)return;if(D===null)return{...v,inner:void 0};let T=Array.from(c.listRef.current.values());return{...v,inner:{listRef:{current:T},index:D}}})(),[G,B]=Da(X),se=ja(),de=Ue(n,v?G:null,h.setOptionsElement,p),ae=yt();u.useEffect(()=>{var T;let U=c.optionsElement;U&&c.listboxState===0&&U!==((T=Lt(U))==null?void 0:T.activeElement)&&U?.focus({preventScroll:!0})},[c.listboxState,c.optionsElement]);let ie=te(T=>{var U,L;switch(ae.dispose(),T.key){case Se.Space:if(c.searchQuery!=="")return T.preventDefault(),T.stopPropagation(),h.search(T.key);case Se.Enter:if(T.preventDefault(),T.stopPropagation(),c.activeOptionIndex!==null){let{dataRef:Q}=c.options[c.activeOptionIndex];h.onChange(Q.current.value)}c.mode===0&&(Ae.flushSync(()=>h.closeListbox()),(U=c.buttonElement)==null||U.focus({preventScroll:!0}));break;case We(c.orientation,{vertical:Se.ArrowDown,horizontal:Se.ArrowRight}):return T.preventDefault(),T.stopPropagation(),h.goToOption(be.Next);case We(c.orientation,{vertical:Se.ArrowUp,horizontal:Se.ArrowLeft}):return T.preventDefault(),T.stopPropagation(),h.goToOption(be.Previous);case Se.Home:case Se.PageUp:return T.preventDefault(),T.stopPropagation(),h.goToOption(be.First);case Se.End:case Se.PageDown:return T.preventDefault(),T.stopPropagation(),h.goToOption(be.Last);case Se.Escape:T.preventDefault(),T.stopPropagation(),Ae.flushSync(()=>h.closeListbox()),(L=c.buttonElement)==null||L.focus({preventScroll:!0});return;case Se.Tab:T.preventDefault(),T.stopPropagation(),Ae.flushSync(()=>h.closeListbox()),E0(c.buttonElement,T.shiftKey?Rr.Previous:Rr.Next);break;default:T.key.length===1&&(h.search(T.key),ae.setTimeout(()=>h.clearSearch(),350));break}}),z=(t=c.buttonElement)==null?void 0:t.id,I=u.useMemo(()=>({open:c.listboxState===0}),[c.listboxState]),R=dn(v?se():{},{id:o,ref:de,"aria-activedescendant":c.activeOptionIndex===null||(r=c.options[c.activeOptionIndex])==null?void 0:r.id,"aria-multiselectable":c.mode===1?!0:void 0,"aria-labelledby":z,"aria-orientation":c.orientation,onKeyDown:ie,role:"listbox",tabIndex:c.listboxState===0?0:void 0,style:{...f.style,...B,"--button-width":Lr(c.buttonElement,!0).width},...Vr(b)}),Y=De();return u.createElement(Ga,{enabled:d?e.static||O:!1},u.createElement(Xn.Provider,{value:c.mode===1?c:{...c,isSelected:F}},Y({ourProps:R,theirProps:f,slot:I,defaultTag:Z1,features:J1,visible:j,name:"Listbox.Options"})))}let ef="div";function tf(e,n){let t=u.useId(),{id:r=`headlessui-listbox-option-${t}`,disabled:i=!1,value:o,...a}=e,d=u.useContext(od)===!0,l=yn("Listbox.Option"),s=Yn("Listbox.Option"),f=l.activeOptionIndex!==null?l.options[l.activeOptionIndex].id===r:!1,v=l.isSelected(o),m=u.useRef(null),p=B1(m),c=mt({disabled:i,value:o,domRef:m,get textValue(){return p()}}),h=Ue(n,m,k=>{k?l.listRef.current.set(r,k):l.listRef.current.delete(r)});Ce(()=>{if(!l.__demoMode&&l.listboxState===0&&f&&l.activationTrigger!==0)return et().requestAnimationFrame(()=>{var k,F;(F=(k=m.current)==null?void 0:k.scrollIntoView)==null||F.call(k,{block:"nearest"})})},[m,f,l.__demoMode,l.listboxState,l.activationTrigger,l.activeOptionIndex]),Ce(()=>{if(!d)return s.registerOption(r,c)},[c,r,d]);let g=te(k=>{var F;if(i)return k.preventDefault();s.onChange(o),l.mode===0&&(Ae.flushSync(()=>s.closeListbox()),(F=l.buttonElement)==null||F.focus({preventScroll:!0}))}),E=te(()=>{if(i)return s.goToOption(be.Nothing);s.goToOption(be.Specific,r)}),O=oa(),b=te(k=>{O.update(k),!i&&(f||s.goToOption(be.Specific,r,0))}),x=te(k=>{O.wasMoved(k)&&(i||f||s.goToOption(be.Specific,r,0))}),C=te(k=>{O.wasMoved(k)&&(i||f&&s.goToOption(be.Nothing))}),A=u.useMemo(()=>({active:f,focus:f,selected:v,disabled:i,selectedOption:v&&d}),[f,v,i,d]),j=d?{}:{id:r,ref:h,role:"option",tabIndex:i===!0?void 0:-1,"aria-disabled":i===!0?!0:void 0,"aria-selected":v,disabled:void 0,onClick:g,onFocus:E,onPointerEnter:b,onMouseEnter:b,onPointerMove:x,onMouseMove:x,onPointerLeave:C,onMouseLeave:C},H=De();return!v&&d?null:H({ourProps:j,theirProps:a,slot:A,defaultTag:ef,name:"Listbox.Option"})}let nf=u.Fragment;function rf(e,n){let{options:t,placeholder:r,...i}=e,o={ref:Ue(n)},a=yn("ListboxSelectedOption"),d=u.useMemo(()=>({}),[]),l=a.value===void 0||a.value===null||a.mode===1&&Array.isArray(a.value)&&a.value.length===0,s=De();return u.createElement(od.Provider,{value:!0},s({ourProps:o,theirProps:{...i,children:u.createElement(u.Fragment,null,r&&l?r:t)},slot:d,defaultTag:nf,name:"ListboxSelectedOption"}))}let of=Le(q1),ad=Le(X1),af=jo,dd=Le(Q1),ld=Le(tf),df=Le(rf),lf=Object.assign(of,{Button:ad,Label:af,Options:dd,Option:ld,SelectedOption:df});function sf({title:e,titleId:n,...t},r){return le.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":n},t),e?le.createElement("title",{id:n},e):null,le.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 sd=le.forwardRef(sf),Ze={select:"_select_c79hj_1",selectContainer:"_selectContainer_c79hj_4",selectButton:"_selectButton_c79hj_7",open:"_open_c79hj_13",selectValue:"_selectValue_c79hj_16",seletIcon:"_seletIcon_c79hj_19",selectText:"_selectText_c79hj_22",chevronDownIconSpan:"_chevronDownIconSpan_c79hj_25",chevronDownIcon:"_chevronDownIcon_c79hj_25",leave:"_leave_c79hj_32",leaveFrom:"_leaveFrom_c79hj_36",leaveTo:"_leaveTo_c79hj_40",selectOptions:"_selectOptions_c79hj_44"},ud=({children:e,selected:n,onSelect:t,themeColor:r})=>{const[i,o]=u.useState(!1),[a,d]=u.useState(!1),[l,s]=u.useState(!1),f=u.useRef(null),v=u.useRef(null),m=u.useRef(null),[p,c]=u.useState({left:0,top:0}),[h,g]=u.useState(!1),E=u.useRef(0),O=u.useRef(0);let b="#333333";const x=()=>{E.current=window.innerHeight,O.current=document.body.scrollHeight,o(!0)};u.useEffect(()=>(x(),window.addEventListener("resize",x),()=>{window.removeEventListener("resize",x)}),[]);const C=()=>O.current-(E.current+window.scrollY),A=()=>{if(f.current){const F=f.current.getBoundingClientRect();g(!1),setTimeout(()=>{const D=m?.current?.getBoundingClientRect(),X=C(),G=E.current-F.bottom;if(D){const B=D.height,se=F.top,de=B>=se+window.scrollY,ae=B>=se&&(de||X>=B||G>=B)||se>=B&&G>=B?F.y+F.height:F.y-B;c({left:F.left,top:ae??F.top}),g(!0)}},0)}};if(u.useEffect(()=>(window.addEventListener("scroll",A),window.addEventListener("resize",A),()=>{window.removeEventListener("scroll",A),window.removeEventListener("resize",A)}),[]),r){r=Je.convert3HexTo6(r);const F=pt(r);(F==="dark"||F==="light")&&(b=r==="#ffffff"?"#c8c8c8":r)}const j=F=>{t(F)},H=()=>s(!0),k=()=>s(!1);return N.jsx(lf,{value:n,onChange:j,children:({open:F})=>(F!==a&&(d(F),F?A():g(!1)),N.jsxs("div",{className:Ze.select,children:[N.jsx("div",{className:Ze.selectContainer,ref:f,children:N.jsxs(ad,{ref:v,"data-testid":"select-options",onFocus:H,onBlur:k,className:`${Ze.selectButton} ${F?Ze.open:""}`,style:{borderBottomColor:r&&(l||F)?b:""},children:[n&&N.jsxs("span",{className:Ze.selectValue,children:[n.avatar&&N.jsx("img",{src:n.avatar,alt:"",className:Ze.seletIcon}),N.jsx("span",{className:Ze.selectText,children:n.label})]}),N.jsx("span",{className:Ze.chevronDownIconSpan,children:N.jsx(sd,{className:Ze.chevronDownIcon,"aria-hidden":"true","data-open":a?!0:void 0})})]})}),i&&Ae.createPortal(F&&N.jsx("div",{style:{position:"fixed",inset:0,backgroundColor:"rgba(255,255,255,0)",zIndex:1e3},children:N.jsx("div",{ref:m,style:{position:"absolute",opacity:h?1:0,width:f.current?.clientWidth??"auto",left:p.left,top:p.top},children:e})}),document.body)]}))})},cd=({children:e,setQuery:n})=>N.jsx(nd,{as:u.Fragment,leave:Ze.leave,leaveFrom:Ze.leaveFrom,leaveTo:Ze.leaveTo,afterLeave:()=>n(""),children:N.jsx(dd,{className:Ze.selectOptions,children:e})}),fi=u.forwardRef((e,n)=>N.jsx(ld,{ref:n,className:e.className,value:e.value,disabled:e.disable,children:e.children}));fi.displayName="SelectOption";const nt={autocomplete:"_autocomplete_1wp4j_1",autocompleteContainer:"_autocompleteContainer_1wp4j_4",disable:"_disable_1wp4j_7",autocompleteInput:"_autocompleteInput_1wp4j_16",autocompleteButton:"_autocompleteButton_1wp4j_32",chevronDownIcon:"_chevronDownIcon_1wp4j_43",leave:"_leave_1wp4j_53",leaveFrom:"_leaveFrom_1wp4j_57",leaveTo:"_leaveTo_1wp4j_61",autocompleteOptions:"_autocompleteOptions_1wp4j_65"},uf=({children:e,selected:n,onSelect:t,setQuery:r=()=>{},disable:i,clearSearch:o=!1,themeColor:a})=>{const d=u.useRef(null),l=u.useRef(null),s=u.useRef(null),f=u.useRef(null),[v,m]=u.useState(!1),[p,c]=u.useState(!1),[h,g]=u.useState(!1),[E,O]=u.useState({top:0,left:0}),[b,x]=u.useState(!1),C=u.useRef(0),A=u.useRef(0);let j={};u.useEffect(()=>{d.current&&n&&(d.current.value=n.label||"")},[n]),u.useEffect(()=>{C.current=window.innerHeight,A.current=document.body.scrollHeight,g(!0)},[]);const H=u.useCallback(()=>{if(s.current){const X=window.visualViewport,G=s.current.getBoundingClientRect();x(!1),setTimeout(()=>{const B=f?.current?.getBoundingClientRect();let se=G.left,de=G.y+G.height,ae=window.innerHeight-G.bottom,ie=document.body.scrollHeight-(window.innerHeight+window.scrollY);if(X&&(se=G.left+X.offsetLeft,de=G.top+G.height+X.offsetTop,ae=X.height-(G.bottom-X.offsetTop),ie=document.body.scrollHeight-(X.height+X.pageTop)),B){const z=B.height,I=G.top,R=z>=I+window.scrollY,Y=z>=I&&(R||ie>=z||ae>=z)||I>=z&&ae>=z?de:(X?G.top+X.offsetTop:G.y)-z;O({left:se,top:Y??(X?G.top+X.offsetTop:G.top)}),x(!0)}},0)}},[]);u.useEffect(()=>(window.addEventListener("scroll",H),window.addEventListener("resize",H),()=>{window.removeEventListener("scroll",H),window.removeEventListener("resize",H)}),[]);const k=X=>{typeof p<"u"&&d.current&&(p?(d.current.dispatchEvent(new KeyboardEvent("keydown",{key:"Escape",bubbles:!0})),m(!1)):(H(),m(!0),n&&(d.current.value=n.label||""),o&&(d.current.value="",r("")),d.current.dispatchEvent(new KeyboardEvent("keydown",{key:"ArrowDown",bubbles:!0}))))},F=()=>{m(!0)},D=()=>{m(!1)};if(a){const X=pt(a);a=Je.convert3HexTo6(a);let G;a==="#ffffff"?G="#c8c8c8":v?G=a:G="#333333",(X==="dark"||X==="light")&&(j={borderBottomColor:G})}return N.jsx(I1,{value:n,onChange:t,disabled:i,children:({open:X})=>(X!==p&&(c(X),X?H():x(!1)),N.jsxs("div",{className:nt.autocomplete,children:[N.jsxs("div",{ref:s,className:`${nt.autocompleteContainer} ${i?nt.disable:""}`,children:[N.jsx(qa,{ref:d,"data-testid":"select-input",className:nt.autocompleteInput,displayValue:G=>G?.label||"",onChange:G=>{r(G.target.value)},onClick:k,onFocus:F,onBlur:D,style:{...j},placeholder:"Select your option",autoComplete:"off"}),N.jsx(Ka,{className:nt.autocompleteButton,"data-testid":"select-button",ref:l,children:N.jsx(sd,{className:`${nt.chevronDownIcon} ${i?nt.disable:""}`,"aria-hidden":"true","data-open":X?!0:void 0})})]}),h?Ae.createPortal(N.jsx(N.Fragment,{children:X&&N.jsx("div",{style:{position:"fixed",inset:0,backgroundColor:"rgba(255,255,255,0)",zIndex:1e3},children:N.jsx("div",{ref:f,style:{position:"absolute",opacity:b?1:0,width:s.current?s.current.clientWidth:"auto",left:E.left,top:E.top,zIndex:1e3},children:e})})}),document.body):null]}))})},cf=({children:e,setQuery:n})=>N.jsx(nd,{as:u.Fragment,leave:nt.leave,leaveFrom:nt.leaveFrom,leaveTo:nt.leaveTo,afterLeave:()=>n(""),children:N.jsx(Ya,{className:nt.autocompleteOptions,children:e})}),fd=u.forwardRef((e,n)=>N.jsx(Xa,{ref:n,className:e.className,value:e.value,disabled:e.disable,children:e.children}));fd.displayName="AutoCompleteOption";const pd={textInputWrapper:"_textInputWrapper_gym4n_1",textInput:"_textInput_gym4n_1"},md=u.memo(u.forwardRef(({themeColor:e="",style:n={},className:t="",onFocus:r,onBlur:i,...o},a)=>{const[d,l]=u.useState(!1);let s={};const f=[pd.textInput,t].filter(Boolean).join(" ");e=Je.convert3HexTo6(e);const v=()=>{l(!0)},m=()=>{l(!1)};return s={borderBottomColor:d?e!=="#ffffff"?e:"#c8c8c8":""},N.jsx("div",{className:pd.textInputWrapper,children:N.jsx("input",{type:"text","data-testid":"textbox-input",ref:a,className:f,onFocus:v,onBlur:m,style:{...s,...n},...o})})})),St={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"},hd={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6],0,0,0,0,0,0,0,[["6[2-467]\\d{3}",[5]],["4\\d{4}",[5]],0,0,0,0,["(?:0[1-9]|[1589]\\d)\\d{4}",[6]]]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[["[78]\\d{5}",[6]],["690\\d{6}|[356]\\d{5}",[6,9]],["180[02]\\d{4}",[8]],["[19]\\d{5}",[6]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0",0,0,0,0,0,[["[2-4679][2-8]\\d{6}",[8]],["5[024-68]\\d{7}",[9]],["400\\d{6}|800\\d{2,9}"],["900[02]\\d{5}",[9]],0,0,["600[25]\\d{5}",[9]],0,0,["700[05]\\d{5}",[9]]]],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0",0,0,0,0,0,[["(?:[25][0-8]|[34][0-4]|6[0-5])[2-9]\\d{6}"],["7\\d{8}"]]],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268",[["268(?:4(?:6[0-38]|84)|56[0-2])\\d{4}"],["268(?:464|7(?:1[3-9]|[28]\\d|3[0246]|64|7[0-689]))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,["26840[69]\\d{4}"],["26848[01]\\d{4}"]]],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264",[["264(?:292|4(?:6[12]|9[78]))\\d{4}"],["264(?:235|4(?:69|76)|5(?:3[6-9]|8[1-4])|7(?:29|72))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,["264724\\d{4}"]]],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0",0,0,0,0,0,[["4505[0-2]\\d{3}|(?:[2358][16-9]\\d[2-9]|4410)\\d{4}|(?:[2358][2-5][2-9]|4(?:[2-57-9][2-9]|6\\d))\\d{5}",[8]],["6(?:[78][2-9]|9\\d)\\d{6}",[9]],["800\\d{4}",[7]],["900[1-9]\\d\\d",[6]],["700[2-9]\\d{4}",[8]],0,0,0,0,["808[1-9]\\d\\d",[6]]]],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:1[0-25]|47)\\d|2(?:2[2-46]|3[1-8]|4[2-69]|5[2-7]|6[1-9]|8[1-7])|3[12]2)\\d{5}"],["(?:33|4[1349]|55|77|88|9[13-9])\\d{6}"],["800\\d{5}"],["90[016]\\d{5}"],0,0,0,0,["60(?:2[78]|3[5-9]|4[02-9]|5[0-46-9]|[6-8]\\d|9[0-2])\\d{4}"],["80[1-4]\\d{5}"]]],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]],0,0,0,0,0,0,[["2\\d(?:[0134][25-9]|[25-9]\\d)\\d{5}"],["9[1-79]\\d{7}"]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1",0,0,[["3(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?: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",[["6846(?:22|33|44|55|77|88|9[19])\\d{4}"],["684(?:2(?:48|5[2468]|7[26])|7(?:3[13]|70|82))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?: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,[["(?:(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|3\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]],0,0,0,0,0,0,[["5(?:2\\d|8[1-9])\\d{4}"],["(?:290|5[69]\\d|6(?:[03]0|22|4[0-2]|[69]\\d)|7(?:[34]\\d|7[07])|9(?:6[45]|9[4-8]))\\d{4}"],["800\\d{4}"],["900\\d{4}"],0,0,0,0,["(?:28\\d|501)\\d{4}"]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",[["18[1-8]\\d{3,6}",[6,7,8,9]],["4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",[6,7,8,9,10]],["800\\d{4,6}",[7,8,9]],["[67]00\\d{5,6}",[8,9]],0,0,["20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}"]],"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:2[12]428|3655[02])\\d{4}|(?:2(?:22[0-79]|63[0-28])|3654)\\d{5}|(?:(?:1[28]|46)\\d|2(?:[014-6]2|[23]3))\\d{6}"],["36554\\d{4}|(?:[16]0|4[04]|5[015]|7[07]|99)\\d{7}"],["88\\d{7}"],["900200\\d{3}"]]],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0",0,0,0,0,0,[["(?:3(?:[05-79][2-9]|1[4579]|[23][24-9]|4[2-4689]|8[2457-9])|49[2-579]|5(?:0[2-49]|[13][2-9]|[268][2-4679]|4[4689]|5[2-79]|7[2-69]|9[2-4689]))\\d{5}",[8]],["6040\\d{5}|6(?:03|[1-356]|44|7\\d)\\d{6}"],["8[08]\\d{6}",[8]],["9[0246]\\d{6}",[8]],0,0,["703[235]0\\d{3}|70(?:2[0-5]|3[0146]|[56]0)\\d{4}",[8]],0,0,["8[12]\\d{6}",[8]]]],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246",[["246521[0369]\\d{3}|246(?:2(?:2[78]|7[0-4])|4(?:1[024-6]|2\\d|3[2-9])|5(?:20|[34]\\d|54|7[1-3])|6(?:2\\d|38)|7[35]7|9(?:1[89]|63))\\d{4}"],["246(?:(?:2(?:[3568]\\d|4[0-57-9])|3(?:5[2-9]|6[0-6])|4(?:46|5\\d)|69[5-7]|8(?:[2-5]\\d|83))\\d|52(?:1[147]|20))\\d{3}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["(?:246976|900[2-9]\\d\\d)\\d{4}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,["246(?:292|367|4(?:1[7-9]|3[01]|4[47-9]|67)|7(?:1[2-9]|2\\d|3[016]|53))\\d{4}"],0,["24631\\d{5}"]]],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0",0,0,0,0,0,[["(?:4(?:31\\d\\d|423)|5222)\\d{3}(?:\\d{2})?|8332[6-9]\\d\\d|(?:3(?:03[56]|224)|4(?:22[25]|653))\\d{3,4}|(?:3(?:42[47]|529|823)|4(?:027|525|65(?:28|8))|562|6257|7(?:1(?:5[3-5]|6[12]|7[156]|89)|22[589]56|32|42675|52(?:[25689](?:56|8)|[347]8)|71(?:6[1267]|75|89)|92374)|82(?:2[59]|32)56|9(?:03[23]56|23(?:256|373)|31|5(?:1|2[4589]56)))\\d{3}|(?:3(?:02[348]|22[35]|324|422)|4(?:22[67]|32[236-9]|6(?:2[46]|5[57])|953)|5526|6(?:024|6655)|81)\\d{4,5}|(?:2(?:7(?:1[0-267]|2[0-289]|3[0-29]|4[01]|5[1-3]|6[013]|7[0178]|91)|8(?:0[125]|1[1-6]|2[0157-9]|3[1-69]|41|6[1-35]|7[1-5]|8[1-8]|9[0-6])|9(?:0[0-2]|1[0-4]|2[568]|3[3-6]|5[5-7]|6[0136-9]|7[0-7]|8[014-9]))|3(?:0(?:2[025-79]|3[2-4])|181|22[12]|32[2356]|824)|4(?:02[09]|22[348]|32[045]|523|6(?:27|54))|666(?:22|53)|7(?:22[57-9]|42[56]|82[35])8|8(?:0[124-9]|2(?:181|2[02-4679]8)|4[12]|[5-7]2)|9(?:[04]2|2(?:2|328)|81))\\d{4}|(?:2(?:[23]\\d|[45])\\d\\d|3(?:1(?:2[5-7]|[5-7])|425|822)|4(?:033|1\\d|[257]1|332|4(?:2[246]|5[25])|6(?:2[35]|56|62)|8(?:23|54)|92[2-5])|5(?:02[03489]|22[457]|32[35-79]|42[46]|6(?:[18]|53)|724|826)|6(?:023|2(?:2[2-5]|5[3-5]|8)|32[3478]|42[34]|52[47]|6(?:[18]|6(?:2[34]|5[24]))|[78]2[2-5]|92[2-6])|7(?:02|21\\d|[3-589]1|6[12]|72[24])|8(?:217|3[12]|[5-7]1)|9[24]1)\\d{5}|(?:(?:3[2-8]|5[2-57-9]|6[03-589])1|4[4689][18])\\d{5}|[59]1\\d{5}"],["(?:1[13-9]\\d|644)\\d{7}|(?:3[78]|44|66)[02-9]\\d{7}",[10]],["80[03]\\d{7}",[10]],0,0,0,0,0,["96(?:0[469]|1[0-47]|3[389]|43|6[69]|7[78])\\d{6}",[10]]]],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0",0,0,0,0,0,[["80[2-8]\\d{5}|(?:1[0-69]|[23][2-8]|4[23]|5\\d|6[013-57-9]|71|8[1-79]|9[2-4])\\d{6}",[8]],["4[5-9]\\d{7}",[9]],["800[1-9]\\d{4}",[8]],["(?:70(?:2[0-57]|3[04-7]|44|6[04-69]|7[0579])|90\\d\\d)\\d{4}",[8]],0,0,["78(?:0[578]|1[014-8]|2[25]|3[15-8]|48|5[05]|60|7[06-8]|9\\d)\\d{4}",[8]],0,0,["7879\\d{4}",[8]]]],BF:["226","00","[025-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]],0,0,0,0,0,0,[["2(?:0(?:49|5[23]|6[5-7]|9[016-9])|4(?:4[569]|5[4-6]|6[5-7]|7[0179])|5(?:[34]\\d|50|6[5-7]))\\d{4}"],["(?:0[1-7]|5[0-8]|[67]\\d)\\d{6}"]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0",0,0,0,0,0,[["2\\d{5,7}|(?:43[1-6]|70[1-9])\\d{4,5}|(?:[36]\\d|4[124-7]|[57][1-9]|8[1-6]|9[1-7])\\d{5,6}",[6,7,8]],["(?:43[07-9]|99[69]\\d)\\d{5}|(?:8[7-9]|98)\\d{7}",[8,9]],["(?:00800\\d\\d|800)\\d{5}",[8,12]],["90\\d{6}",[8]],0,0,0,0,0,["700\\d{5}",[8]]]],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]],0,0,0,0,0,0,[["(?:1(?:3[1356]|6[0156]|7\\d)\\d|6(?:1[16]\\d|500|6(?:0\\d|3[12]|44|55|7[7-9]|88)|9[69][69])|7(?:[07]\\d\\d|1(?:11|78)))\\d{4}"],["(?:3(?:[0-79]\\d|8[0-57-9])\\d|6(?:3(?:00|33|6[16])|441|6(?:3[03-9]|[69]\\d|7[0-689])))\\d{4}"],["8[02369]\\d{6}"],["(?:87|9[0-8])\\d{6}"],0,0,0,0,0,["84\\d{6}"]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]],0,0,0,0,0,0,[["(?:22|31)\\d{6}"],["(?:29|[67][125-9])\\d{6}"]]],BJ:["229","00","(?:01\\d|[24-689])\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]],0,0,0,0,0,0,[["2090\\d{4}|(?:012\\d\\d|2(?:02|1[037]|2[45]|3[68]|4\\d))\\d{5}"],["(?:01(?:2[5-9]|[4-69]\\d)|4[0-8]|[56]\\d|9[013-9])\\d{6}"],0,0,0,0,["81\\d{6}",[8]],0,["857[58]\\d{4}",[8]]]],BL:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441",[["441(?:[46]\\d\\d|5(?:4\\d|60|89))\\d{4}"],["441(?:[2378]\\d|5[0-39]|9[02])\\d{5}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]],0,0,0,0,0,0,[["22[0-7]\\d{4}|(?:2[013-9]|[34]\\d|5[0-25-9])\\d{5}"],["(?:22[89]|[78]\\d\\d)\\d{4}"],0,0,0,0,0,0,["5[34]\\d{5}"]]],BO:["591","00(?:1\\d)?","8001\\d{5}|(?:[2-467]\\d|50)\\d{6}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[235]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?",0,0,0,[["(?:2(?:2\\d\\d|5(?:11|[258]\\d|9[67])|6(?:12|2\\d|9[34])|8(?:2[34]|39|62))|3(?:3\\d\\d|4(?:6\\d|8[24])|8(?:25|42|5[257]|86|9[25])|9(?:[27]\\d|3[2-4]|4[248]|5[24]|6[2-6]))|4(?:4\\d\\d|6(?:11|[24689]\\d|72)))\\d{4}",[8]],["[67]\\d{7}",[8]],["8001[07]\\d{4}",[9]],0,0,0,0,0,["50\\d{6}",[8]]]],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]",[["(?:318[023]|41(?:6[023]|70)|7(?:1[578]|2[05]|50)\\d)\\d{3}"],["(?:31(?:8[14-8]|9[14578])|416[14-9]|7(?:0[01]|7[07]|8\\d|9[056])\\d)\\d{3}"]]],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2",0,0,[["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\\d{7}",[10]],["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])(?:7|9\\d)\\d{7}",[10,11]],["800\\d{6,7}",[9,10]],["300\\d{6}|[59]00\\d{6,7}",[9,10]],0,0,0,0,0,["(?:30[03]\\d{3}|4(?:0(?:0\\d|20)|370))\\d{4}|300\\d{5}",[8,10]]]],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242",[["242(?:3(?:02|[236][1-9]|4[0-24-9]|5[0-68]|7[347]|8[0-4]|9[2-467])|461|502|6(?:0[1-5]|12|2[013]|[45]0|7[67]|8[78]|9[89])|7(?:02|88))\\d{4}"],["242(?:3(?:5[79]|7[56]|95)|4(?:[23][1-9]|4[1-35-9]|5[1-8]|6[2-8]|7\\d|81)|5(?:2[45]|3[35]|44|5[1-46-9]|65|77)|6[34]6|7(?:27|38)|8(?:0[1-9]|1[02-9]|2\\d|3[0-4]|[89]9))\\d{4}"],["242300\\d{4}|8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,["242225\\d{4}"]]],BT:["975","00","[17]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]],0,0,0,0,0,0,[["(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\d{5}",[7]],["(?:1[67]|77)\\d{6}",[8]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["(?:2(?:4[0-48]|6[0-24]|9[0578])|3(?:1[0-35-9]|55|[69]\\d|7[013]|81)|4(?:6[03]|7[1267]|9[0-5])|5(?:3[03489]|4[0489]|7[1-47]|88|9[0-49])|6(?:2[1-35]|5[149]|8[013467]))\\d{4}",[7]],["(?:321|7[1-8]\\d)\\d{5}",[8]],["(?:0800|800\\d)\\d{6}",[10]],["90\\d{5}",[7]],0,0,0,0,["79(?:1(?:[0-2]\\d|3[0-3])|2[0-7]\\d)\\d{3}",[8]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,[["(?:1(?:5(?:1[1-5]|[24]\\d|6[2-4]|9[1-7])|6(?:[235]\\d|4[1-7])|7\\d\\d)|2(?:1(?:[246]\\d|3[0-35-9]|5[1-9])|2(?:[235]\\d|4[0-8])|3(?:[26]\\d|3[02-79]|4[024-7]|5[03-7])))\\d{5}",[9]],["(?:2(?:5[5-79]|9[1-9])|(?:33|44)\\d)\\d{6}",[9]],["800\\d{3,7}|8(?:0[13]|20\\d)\\d{7}"],["(?:810|902)\\d{7}",[10]],0,0,0,0,["249\\d{6}",[9]]],"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]],0,0,0,0,0,0,[["(?:2(?:[02]\\d|36|[68]0)|[3-58](?:[02]\\d|[68]0)|7(?:[02]\\d|32|[68]0))\\d{4}",[7]],["6[0-35-7]\\d{5}",[7]],["0800\\d{7}",[11]]]],CA:["1","011","[2-9]\\d{9}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:12|573)\\d\\d|276)\\d{5}|[1-6]\\d{6}"],["88\\d{5}|(?:8[0-69]|9[017-9])\\d{7}",[7,9]]]],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]],0,0,0,0,0,0,[["2[12]\\d{6}"],["7[024-7]\\d{6}"],0,["8776\\d{4}"]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]],0,0,0,0,0,0,[["222[1-589]\\d{5}"],["026(?:1[0-5]|6[6-9])\\d{4}|0(?:[14-6]\\d\\d|2(?:40|5[5-8]|6[07-9]))\\d{5}"],0,["80[0-2]\\d{6}"]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:2[12467]|3[1-4]|4[134]|5[256]|6[12]|[7-9]1)\\d{7}",[9]],["(?:6[89]|7[235-9])\\d{7}",[9]],["800\\d{6}",[9]],["90[016]\\d{6}",[9]],["878\\d{6}",[9]],["860\\d{9}",[12]],["5[18]\\d{7}",[9]],["74[0248]\\d{6}",[9]],0,["84[0248]\\d{6}",[9]]]],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]],0,0,0,0,0,0,[["2(?:[15]\\d{3}|7(?:2(?:0[23]|1[2357]|2[245]|3[45]|4[3-5])|3(?:06|1[69]|[2-6]7)))\\d{5}"],["0[157]\\d{8}"]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]],0,0,0,0,0,0,[["(?:2\\d|3[13-7]|4[1-5])\\d{3}"],["[578]\\d{4}"]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]],0,0,0,0,0,0,[["2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\d\\d|3(?:[03467]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-3])|600)|646[59])|80[1-9]\\d\\d|9(?:3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|7[1-9]\\d\\d|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",[9]],["",[9]],["(?:123|8)00\\d{6}",[9,11]],0,0,0,0,0,["44\\d{7}",[9]],["600\\d{7,8}",[10,11]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]],0,0,0,0,0,0,[["2(?:22|33)\\d{6}",[9]],["(?:24[23]|6(?:[25-9]\\d|40))\\d{6}",[9]],["88\\d{6,7}"]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,[["(?:10(?:[02-79]\\d\\d|[18](?:0[1-9]|[1-9]\\d))|2(?:[02-57-9]\\d{3}|1(?:[18](?:0[1-9]|[1-9]\\d)|[2-79]\\d\\d))|(?:41[03]|8078|9(?:78|94))\\d\\d)\\d{5}|(?:10|2[0-57-9])(?:1(?:00|23)\\d\\d|95\\d{3,4})|(?:41[03]|9(?:78|94))(?:100\\d\\d|95\\d{3,4})|8078123|(?:43[35]|754|851)\\d{7,8}|(?:43[35]|754|851)(?:1(?:00\\d|23)\\d|95\\d{3,4})|(?:3(?:11|7[179])|4(?:[15]1|3[12])|5(?:1\\d|2[37]|3[12]|51|7[13-79]|9[15])|7(?:[39]1|5[57]|6[09])|8(?:71|98))(?:[02-8]\\d{7}|1(?:0(?:0\\d\\d(?:\\d{3})?|[1-9]\\d{5})|[13-9]\\d{6}|2(?:[0-24-9]\\d{5}|3\\d(?:\\d{4})?))|9(?:[0-46-9]\\d{6}|5\\d{3}(?:\\d(?:\\d{2})?)?))|(?:3(?:1[02-9]|35|49|5\\d|7[02-68]|9[1-68])|4(?:1[24-9]|2[179]|3[46-9]|5[2-9]|6[47-9]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[17]\\d|2[248]|3[04-9]|4[3-6]|5[0-3689]|6[2368]|9[02-9])|8(?:1[236-8]|2[5-7]|3\\d|5[2-9]|7[02-9]|8[36-8]|9[1-7])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))(?:[02-8]\\d{6}|1(?:0(?:0\\d\\d(?:\\d{2})?|[1-9]\\d{4})|[13-9]\\d{5}|2(?:[0-24-9]\\d{4}|3\\d(?:\\d{3})?))|9(?:[0-46-9]\\d{5}|5\\d{3,5}))",[7,8,9,10,11]],["1740[0-5]\\d{6}|1(?:[38]\\d|4[57]|[59][0-35-9]|6[25-7]|7[0-35-8])\\d{8}",[11]],["(?:(?:10|21)8|8)00\\d{7}",[10,12]],["16[08]\\d{5}",[8]],0,0,0,0,0,["10(?:10\\d{4}|96\\d{3,4})|400\\d{7}|950\\d{7,8}|(?:2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))96\\d{3,4}",[7,8,9,10,11]]],"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["46"]],["(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?",0,0,0,[["601055(?:[0-4]\\d|50)\\d\\d|6010(?:[0-4]\\d|5[0-4])\\d{4}|(?:46|60(?:[124-7][2-9]|8[1-9]))\\d{6}",[8,10]],["333301[0-5]\\d{3}|3333(?:00|2[5-9]|[3-9]\\d)\\d{4}|(?:3(?:24[1-9]|3(?:00|3[0-24-9]))|9101)\\d{6}|3(?:0[0-5]|1\\d|2[0-3]|5[01]|70)\\d{7}",[10]],["1800\\d{7}",[11]],["(?:19(?:0[01]|4[78])|901)\\d{7}",[10,11]]]],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))",0,0,0,[["210[7-9]\\d{4}|2(?:[024-7]\\d|1[1-9])\\d{5}",[8]],["(?:3005\\d|6500[01])\\d{3}|(?:5[07]|6[0-4]|7[0-3]|8[3-9])\\d{6}",[8]],["800\\d{7}",[10]],["90[059]\\d{7}",[10]],0,0,0,0,["(?:210[0-6]|4\\d{3}|5100)\\d{4}",[8]]]],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:3[23]|4[89])\\d{4,6}|(?:31|4[36]|8(?:0[25]|78)\\d)\\d{6}|(?:2[1-4]|4[1257]|7\\d)\\d{5,6}"],["(?:5\\d|6[2-4])\\d{6}",[8]],["800\\d{7}",[10]],0,0,0,0,0,0,["807\\d{7}",[10]]]],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]],0,0,0,0,0,0,[["2(?:2[1-7]|3[0-8]|4[12]|5[1256]|6\\d|7[1-3]|8[1-5])\\d{4}"],["(?:36|5[1-389]|9\\d)\\d{5}"],["800\\d{4}"],0,0,0,0,0,["(?:3[3-5]|4[356])\\d{5}"]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]",[["9(?:4(?:3[0-5]|4[14]|6\\d)|50\\d|7(?:2[014]|3[02-9]|4[4-9]|6[357]|77|8[7-9])|8(?:3[39]|[46]\\d|7[01]|8[57-9]))\\d{4}"],["953[01]\\d{4}|9(?:5[12467]|6[5-9])\\d{5}"],0,0,0,0,0,["955\\d{5}",[8]],0,["60[0-2]\\d{4}",[7]]]],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]],0,0,0,0,0,0,[["2[2-6]\\d{6}"],["9(?:10|[4-79]\\d)\\d{5}"],["800\\d{5}"],["90[09]\\d{5}"],["700\\d{5}"],0,["(?:50|77)\\d{6}"],0,0,["80[1-9]\\d{5}"]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9,10,11,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,[["(?:2\\d|3[1257-9]|4[16-9]|5[13-9])\\d{7}",[9]],["(?:60[1-8]\\d|7(?:0(?:[2-5]\\d|60)|19[0-2]|[2379]\\d\\d))\\d{5}",[9]],["800\\d{6}",[9]],["9(?:0[05689]|76)\\d{6}",[9]],["70[01]\\d{6}",[9]],["9(?:3\\d{9}|6\\d{7,10})"],["9(?:5\\d|7[2-4])\\d{6}",[9]],0,["9[17]0\\d{6}",[9]],["8[134]\\d{7}",[9]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|31)"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0",0,0,0,0,0,[["32\\d{9,11}|49[1-6]\\d{10}|322\\d{6}|49[0-7]\\d{3,9}|(?:[34]0|[68]9)\\d{3,13}|(?:2(?:0[1-689]|[1-3569]\\d|4[0-8]|7[1-7]|8[0-7])|3(?:[3569]\\d|4[0-79]|7[1-7]|8[1-8])|4(?:1[02-9]|[2-48]\\d|5[0-6]|6[0-8]|7[0-79])|5(?:0[2-8]|[124-6]\\d|[38][0-8]|[79][0-7])|6(?:0[02-9]|[1-358]\\d|[47][0-8]|6[1-9])|7(?:0[2-8]|1[1-9]|[27][0-7]|3\\d|[4-6][0-8]|8[0-5]|9[013-7])|8(?:0[2-9]|1[0-79]|2\\d|3[0-46-9]|4[0-6]|5[013-9]|6[1-8]|7[0-8]|8[0-24-6])|9(?:0[6-9]|[1-4]\\d|[589][0-7]|6[0-8]|7[0-467]))\\d{3,12}",[5,6,7,8,9,10,11,12,13,14,15]],["1(?:(?:5(?:[0-25-9]\\d\\d|310)|76\\d\\d)\\d{6}|6[023]\\d{7,8})|17\\d{8}",[10,11]],["800\\d{7,12}",[10,11,12,13,14,15]],["(?:137[7-9]|900(?:[135]|9\\d))\\d{6}",[10,11]],["700\\d{8}",[11]],["1(?:6(?:013|255|399)|7(?:(?:[015]1|[69]3)3|[2-4]55|[78]99))\\d{7,8}|15(?:(?:[03-68]00|113)\\d|2\\d55|7\\d99|9\\d33)\\d{7}",[12,13]],["18(?:1\\d{5,11}|[2-9]\\d{8})",[8,9,10,11,12,13,14]],["16(?:4\\d{1,10}|[89]\\d{1,11})",[4,5,6,7,8,9,10,11,12,13,14]],0,["180\\d{5,11}|13(?:7[1-6]\\d\\d|8)\\d{4}",[7,8,9,10,11,12,13,14]]]],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]],0,0,0,0,0,0,[["2(?:1[2-5]|7[45])\\d{5}"],["77\\d{6}"]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]],0,0,0,0,0,0,[["(?:2(?:[0-59][1-9]|[6-8]\\d)|3(?:[0-3][1-9]|4[13]|5[1-58]|6[1347-9]|7\\d|8[1-8]|9[1-79])|4(?:[0-25][1-9]|[34][2-9]|6[13-579]|7[13579]|8[1-47]|9[127])|5(?:[0-36][1-9]|4[146-9]|5[3-57-9]|7[568]|8[1-358]|9[1-69])|6(?:[0135][1-9]|2[1-68]|4[2-8]|6[1689]|[78]\\d|9[15689])|7(?:[0-69][1-9]|7[3-9]|8[147])|8(?:[16-9][1-9]|2[1-58])|9(?:[1-47-9][1-9]|6\\d))\\d{5}"],["(?:2[6-8]|37|6[78]|96)\\d{6}|(?:2[0-59]|3[0-689]|[457]\\d|6[0-69]|8[126-9]|9[1-47-9])[1-9]\\d{5}"],["80\\d{6}"],["90\\d{6}"]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767",[["767(?:2(?:55|66)|4(?:2[01]|4[0-25-9])|50[0-4])\\d{4}"],["767(?:2(?:[2-4689]5|7[5-7])|31[5-7]|61[1-8]|70[1-6])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9",[["8(?:[04]9[2-9]\\d\\d|29(?:2(?:[0-59]\\d|6[04-9]|7[0-27]|8[0237-9])|3(?:[0-35-9]\\d|4[7-9])|[45]\\d\\d|6(?:[0-27-9]\\d|[3-5][1-9]|6[0135-8])|7(?:0[013-9]|[1-37]\\d|4[1-35689]|5[1-4689]|6[1-57-9]|8[1-79]|9[1-8])|8(?:0[146-9]|1[0-48]|[248]\\d|3[1-79]|5[01589]|6[013-68]|7[124-8]|9[0-8])|9(?:[0-24]\\d|3[02-46-9]|5[0-79]|60|7[0169]|8[57-9]|9[02-9])))\\d{4}"],["8[024]9[2-9]\\d{6}"],["8(?:00(?:14|[2-9]\\d)|(?:33|44|55|66|77|88)[2-9]\\d)\\d{5}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0",0,0,0,0,0,[["9619\\d{5}|(?:1\\d|2[013-79]|3[0-8]|4[013-689])\\d{6}"],["(?:5(?:4[0-29]|5\\d|6[0-3])|6(?:[569]\\d|7[0-6])|7[7-9]\\d)\\d{6}",[9]],["800\\d{6}",[9]],["80[3-689]1\\d{5}",[9]],0,0,0,0,["98[23]\\d{6}",[9]],["80[12]1\\d{5}",[9]]]],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0",0,0,0,0,0,[["[2-7][2-7]\\d{6}",[8]],["964[0-2]\\d{5}|9(?:39|[57][89]|6[0-36-9]|[89]\\d)\\d{6}",[9]],["1800\\d{7}|1[78]00\\d{6}",[10,11]],0,0,0,0,0,["[2-7]890\\d{4}",[8]]]],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["(?:3[23589]|4[3-8]|6\\d|7[1-9]|88)\\d{5}",[7]],["(?:5\\d{5}|8(?:1(?:0(?:0(?:00|[178]\\d)|[3-9]\\d\\d)|(?:1(?:0[2-6]|1\\d)|(?:2[0-59]|[3-79]\\d)\\d)\\d)|2(?:0(?:0(?:00|4\\d)|(?:19|[2-7]\\d)\\d)|(?:(?:[124-69]\\d|3[5-9])\\d|7(?:[0-79]\\d|8[13-9])|8(?:[2-6]\\d|7[01]))\\d)|[349]\\d{4}))\\d\\d|5(?:(?:[02]\\d|5[0-478])\\d|1(?:[0-8]\\d|95)|6(?:4[0-4]|5[1-589]))\\d{3}",[7,8]],["800(?:(?:0\\d\\d|1)\\d|[2-9])\\d{3}"],["(?:40\\d\\d|900)\\d{4}",[7,8]],["70[0-2]\\d{5}",[8]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0",0,0,0,0,0,[["13[23]\\d{6}|(?:15|57)\\d{6,7}|(?:2\\d|3|4[05-8]|5[05]|6[24-689]|8[2468]|9[235-7])\\d{7}",[8,9]],["1[0-25]\\d{8}",[10]],["800\\d{7}",[10]],["900\\d{7}",[10]]]],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]",[["528[89]\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-467]|5[0-3]|8[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1[12568]|[24]0|55|6[146])|8\\d\\d)\\d{4}"],["(?:17[1-3]|7\\d\\d)\\d{4}"]]],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]],0,0,0,0,0,0,[["96906(?:0[0-8]|1[1-9]|[2-9]\\d)\\d\\d|9(?:69(?:0[0-57-9]|[1-9]\\d)|73(?:[0-8]\\d|9[1-9]))\\d{4}|(?:8(?:[1356]\\d|[28][0-8]|[47][1-9])|9(?:[135]\\d|[268][0-8]|4[1-9]|7[124-9]))\\d{6}"],["(?:590[16]00\\d|9(?:6906(?:09|10)|7390\\d\\d))\\d\\d|(?:6\\d|7[1-48])\\d{7}"],["[89]00\\d{6}"],["80[367]\\d{6}"],["70\\d{7}"],0,["51\\d{7}"],0,0,["90[12]\\d{6}"]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0",0,0,0,0,0,[["11667[01]\\d{3}|(?:11(?:1(?:1[124]|2[2-7]|3[1-5]|5[5-8]|8[6-8])|2(?:13|3[6-8]|5[89]|7[05-9]|8[2-6])|3(?:2[01]|3[0-289]|4[1289]|7[1-4]|87)|4(?:1[69]|3[2-49]|4[0-3]|6[5-8]|7\\d)|5(?:1[578]|44|5[0-4])|6(?:1[578]|2[69]|39|4[5-7]|5[0-5]|6[0-59]|8[015-8]))|2(?:2(?:11[1-9]|22[0-7]|33\\d|44[1467]|66[1-68])|5(?:11[124-6]|33[2-8]|44[1467]|55[14]|66[1-3679]|77[124-79]|880))|3(?:3(?:11[0-46-8]|(?:22|55)[0-6]|33[0134689]|44[04]|66[01467])|4(?:44[0-8]|55[0-69]|66[0-3]|77[1-5]))|4(?:6(?:119|22[0-24-7]|33[1-5]|44[13-69]|55[14-689]|660|88[1-4])|7(?:(?:11|22)[1-9]|33[13-7]|44[13-6]|55[1-689]))|5(?:7(?:227|55[05]|(?:66|77)[14-8])|8(?:11[149]|22[013-79]|33[0-68]|44[013-8]|550|66[1-5]|77\\d)))\\d{4}"],["700[1-9]\\d{5}|(?:7(?:0[1-9]|1[0-8]|22|77|86|99)|9\\d\\d)\\d{6}"]]],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",[["1[3-7][1-8]\\d{3,6}|(?:19[1-8]|[23568][1-8]\\d|9(?:00|[1-8]\\d))\\d{2,6}",[5,6,7,8,9]],["4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",[6,7,8,9,10]],["800\\d{4,6}",[7,8,9]],["[67]00\\d{5,6}",[8,9]],0,0,["20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}"]],"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,[["603\\d{4}|(?:3[0-5]|6[25-7]|8[58])\\d{5}",[7]],["(?:[279]\\d|45|5[01568]|8[034679])\\d{5}",[7]],["0800\\d{7}",[11]]],"00"],FK:["500","00","[2-7]\\d{4}",[5],0,0,0,0,0,0,0,[["[2-47]\\d{4}"],["[56]\\d{4}"]]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]],0,0,0,0,0,0,[["31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-6]\\d)\\d)\\d{3}"],["31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-7]\\d)\\d)\\d{3}"]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))",0,0,0,[["(?:20|[34]\\d|8[19])\\d{4}"],["(?:[27][1-9]|5\\d|9[16])\\d{4}"],["80[257-9]\\d{3}"],["90(?:[13-5][15-7]|2[125-7]|9\\d)\\d\\d"],0,0,0,0,["(?:6[0-36]|88)\\d{4}"]]],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0",0,0,0,0,0,[["(?:26[013-9]|59[1-35-9])\\d{6}|(?:[13]\\d|2[0-57-9]|4[1-9]|5[0-8])\\d{7}"],["(?:6(?:[0-24-8]\\d|3[0-8]|9[589])|7[3-9]\\d)\\d{6}"],["80[0-5]\\d{6}"],["836(?:0[0-36-9]|[1-9]\\d)\\d{4}|8(?:1[2-9]|2[2-47-9]|3[0-57-9]|[569]\\d|8[0-35-9])\\d{6}"],0,0,["80[6-9]\\d{6}"],0,["9\\d{8}"],["8(?:1[01]|2[0156]|4[024]|84)\\d{6}"]]],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1",0,0,[["[01]1\\d{6}",[8]],["(?:(?:0[2-7]|7[467])\\d|6(?:0[0-4]|10|[256]\\d))\\d{5}|[2-7]\\d{6}"]]],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473",[["473(?:2(?:3[0-2]|69)|3(?:2[89]|86)|4(?:[06]8|3[5-9]|4[0-4]|5[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]|33|44|66|77|88)[2-9]\\d{6}"]]],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0",0,0,0,0,0,[["(?:3(?:[256]\\d|4[124-9]|7[0-4])|4(?:1\\d|2[2-7]|3[1-79]|4[2-8]|7[239]|9[1-7]))\\d{6}"],["5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|5(?:0(?:0[17]0|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\d{3}|(?:5(?:0(?:0(?:0\\d|11|22|3[0-6]|44|5[05]|77|88|9[09])|(?:[14]\\d|77)\\d|22[02])|1(?:1(?:[03][01]|[124]\\d|5[2-6]|7[0-4])|4\\d\\d)|[23]555|4(?:4\\d\\d|555)|5(?:[0157-9]\\d\\d|200|333|444)|6[89]\\d\\d|7(?:[0147-9]\\d\\d|5(?:00|[57]5))|8(?:0(?:[018]\\d|2[0-4])|5(?:55|8[89])|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}"],["800\\d{6}"],0,0,0,0,0,["70[67]\\d{6}"]]],GF:["594","00","(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0",0,0,0,0,0,[["594(?:[02-49]\\d|1[0-5]|5[6-9]|6[0-3]|80)\\d{4}"],["(?:694(?:[0-249]\\d|3[0-8])|7093[0-3])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:396|76\\d)\\d|476[0-6])\\d{4}"]]],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0",0,0,0,0,0,[["3082[0-5]\\d{4}|3(?:0(?:[237]\\d|8[01])|[167](?:2[0-6]|7\\d|80)|2(?:2[0-5]|7\\d|80)|3(?:2[0-3]|7\\d|80)|4(?:2[013-9]|3[01]|7\\d|80)|5(?:2[0-7]|7\\d|80)|8(?:2[0-2]|7\\d|80)|9(?:[28]0|7\\d))\\d{5}",[9]],["(?:2(?:[0346-9]\\d|5[67])|5(?:[03-7]\\d|9[1-9]))\\d{6}",[9]],["800\\d{5}",[8]]]],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]],0,0,0,0,0,0,[["2190[0-2]\\d{3}|2(?:0(?:[02]\\d|3[01])|16[24-9]|2[2-5]\\d)\\d{4}"],["5251[0-4]\\d{3}|(?:5(?:[146-8]\\d\\d|250)|60(?:1[01]|6\\d))\\d{4}"]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]],0,0,0,0,0,0,[["(?:19|3[1-7]|[68][1-9]|70|9\\d)\\d{4}"],["[245]\\d{5}"],["80\\d{4}"],0,0,0,0,0,["3[89]\\d{4}"]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],0,0,0,0,0,0,[["(?:4(?:[23]\\d\\d|4(?:1[024679]|[6-9]\\d))|5(?:5(?:3\\d|4[0-7])|6[67]\\d|7(?:1[04]|2[035]|3[58]|48))|8\\d{3})\\d{3}"],["(?:[23679]\\d|4[015]|5[0-489])\\d{5}"]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]],0,0,0,0,0,0,[["3(?:0(?:24|3[12]|4[1-35-7]|5[13]|6[189]|[78]1|9[1478])|1\\d\\d)\\d{4}",[8]],["6[0-356]\\d{7}",[9]],0,0,0,0,0,0,["722\\d{6}",[9]]]],GP:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]],0,0,0,0,0,0,[["33[0-24-9]\\d[46]\\d{4}|3(?:33|5\\d)\\d[7-9]\\d{4}"],["(?:222|55\\d)\\d{6}"],["80\\d[1-9]\\d{5}"],["90\\d[1-9]\\d{5}"]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["2(?:1\\d\\d|2(?:2[1-46-9]|[36][1-8]|4[1-7]|5[1-4]|7[1-5]|[89][1-9])|3(?:1\\d|2[1-57]|[35][1-3]|4[13]|7[1-7]|8[124-6]|9[1-79])|4(?:1\\d|2[1-8]|3[1-4]|4[13-5]|6[1-578]|9[1-5])|5(?:1\\d|[29][1-4]|3[1-5]|4[124]|5[1-6])|6(?:1\\d|[269][1-6]|3[1245]|4[1-7]|5[13-9]|7[14]|8[1-5])|7(?:1\\d|2[1-5]|3[1-6]|4[1-7]|5[1-57]|6[135]|9[125-7])|8(?:1\\d|2[1-5]|[34][1-4]|9[1-57]))\\d{6}",[10]],["68[57-9]\\d{7}|(?:69|94)\\d{8}",[10]],["800\\d{7,9}"],["90[19]\\d{7}",[10]],["70\\d{8}",[10]],0,["5005000\\d{3}",[10]],0,0,["8(?:0[16]|12|[27]5|50)\\d{7}",[10]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[["[267][2-9]\\d{6}",[8]],["(?:[3-5]\\d\\d|80[0-4])\\d{5}",[8]],["18[01]\\d{8}",[11]],["19\\d{9}",[11]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671",[["671(?:2\\d\\d|3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[478])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]],0,0,0,0,0,0,[["443\\d{6}",[9]],["9(?:5\\d|6[569]|77)\\d{6}",[9]],0,0,0,0,0,0,["40\\d{5}",[7]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],0,0,0,0,0,0,[["(?:2(?:1[6-9]|2[0-35-9]|3[1-4]|5[3-9]|6\\d|7[0-79])|3(?:2[25-9]|3\\d)|4(?:4[0-24]|5[56])|50[0-6]|77[1-57])\\d{4}"],["(?:510|6\\d\\d|7(?:[0-5]\\d|6[01]))\\d{4}"],["(?:289|8(?:00|6[28]|88|99))\\d{4}"],["9008\\d{3}"],0,0,0,0,["515\\d{4}"]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,[["(?:2(?:[13-9]\\d|2[013-9])\\d|3(?:(?:[1569][0-24-9]|4[0-246-9]|7[0-24-69])\\d|8(?:4[0-8]|[579]\\d|6[0-2]))|58(?:0[1-9]|1[2-9]))\\d{4}",[8]],["(?:4(?:44[0-35-9]|6(?:1[0-79]|4[0-57-9]|6[0-4])|7(?:[26][0-5]|4[0-28]))|5(?:73[0-6]|95[0-8])|6(?:26[013-8]|66[0-3]|78[0-5])|70(?:7[1-8]|8[0-4])|84(?:4[0-2]|8[0-35-9])|9(?:29[013-9]|39[014-9]|59[0-4]|899))\\d{4}|(?:4(?:4[0-35-9]|6[02357-9]|7[015])|5(?:[1-59][0-46-9]|6[0-4689]|7[0-246-9])|6(?:0[1-9]|[13-59]\\d|[268][0-57-9]|7[0-79])|70[1-59]|84[0-39]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}",[8]],["800\\d{6}",[9]],["900(?:[0-24-9]\\d{7}|3\\d{1,4})",[5,6,7,8,11]],["8(?:1[0-4679]\\d|2(?:[0-36]\\d|7[0-4])|3(?:[034]\\d|2[09]|70))\\d{4}",[8]],0,["30(?:0[1-9]|[15-7]\\d|2[047]|89)\\d{4}",[8]],["7(?:1(?:0[0-38]|1[0-3679]|3[013]|69|9[0136])|2(?:[02389]\\d|1[18]|7[27-9])|3(?:[0-38]\\d|7[0-369]|9[2357-9])|47\\d|5(?:[178]\\d|5[0-5])|6(?:0[0-7]|2[236-9]|[35]\\d)|7(?:[27]\\d|8[7-9])|8(?:[23689]\\d|7[1-9])|9(?:[025]\\d|6[0-246-8]|7[0-36-9]|8[238]))\\d{4}",[8]]],"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]],0,0,0,0,0,0,[["2(?:2(?:0[0-59]|1[1-9]|[23]\\d|4[02-7]|5[57]|6[245]|7[0135689]|8[01346-9]|9[0-2])|4(?:0[578]|2[3-59]|3[13-9]|4[0-68]|5[1-3589])|5(?:0[2357-9]|1[1-356]|4[03-5]|5\\d|6[014-69]|7[04]|80)|6(?:[056]\\d|17|2[067]|3[047]|4[0-378]|[78][0-8]|9[01])|7(?:0[5-79]|6[46-9]|7[02-9]|8[034]|91)|8(?:79|8[0-357-9]|9[1-57-9]))\\d{4}",[8]],["[37-9]\\d{7}",[8]],["8002\\d{7}",[11]]]],HR:["385","00","[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-489]\\d|55)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]],0,0,0,0,0,0,[["2(?:2\\d|5[1-5]|81|9[149])\\d{5}"],["(?:[34]\\d|55)\\d{6}"],["8\\d{7}"],0,0,0,0,0,["9(?:[67][0-4]|8[0-3589]|9\\d)\\d{5}"]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06",0,0,0,0,0,[["(?:1\\d|[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6[23689]|8[2-57-9]|9[2-69])\\d{6}",[8]],["(?:[257]0|3[01])\\d{7}",[9]],["(?:[48]0\\d|680[29])\\d{5}"],["9[01]\\d{6}",[8]],0,0,["38\\d{7}",[9]],0,["21\\d{7}",[9]]]],ID:["62","00[89]","00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13,14,15,16,17],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0",0,0,0,0,0,[["2[124]\\d{7,8}|619\\d{8}|2(?:1(?:14|500)|2\\d{3})\\d{3}|61\\d{5,8}|(?:2(?:[35][1-4]|6[0-8]|7[1-6]|8\\d|9[1-8])|3(?:1|[25][1-8]|3[1-68]|4[1-3]|6[1-3568]|7[0-469]|8\\d)|4(?:0[1-589]|1[01347-9]|2[0-36-8]|3[0-24-68]|43|5[1-378]|6[1-5]|7[134]|8[1245])|5(?:1[1-35-9]|2[25-8]|3[124-9]|4[1-3589]|5[1-46]|6[1-8])|6(?:[25]\\d|3[1-69]|4[1-6])|7(?:02|[125][1-9]|[36]\\d|4[1-8]|7[0-36-9])|9(?:0[12]|1[013-8]|2[0-479]|5[125-8]|6[23679]|7[159]|8[01346]))\\d{5,8}",[7,8,9,10,11]],["8[1-35-9]\\d{7,10}",[9,10,11,12]],["00(?:1803\\d{5,11}|7803\\d{7})|(?:177\\d|800)\\d{5,7}",[8,9,10,11,12,13,14,15,16,17]],["809\\d{7}",[10]],0,0,["(?:1500|8071\\d{3})\\d{3}",[7,10]],0,0,["804\\d{7}",[10]]]],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:1\\d|21)\\d{6,7}|(?:2[24-9]|4(?:0[24]|5\\d|7)|5(?:0[45]|1\\d|8)|6(?:1\\d|[237-9])|9(?:1\\d|[35-9]))\\d{5}|(?:23|4(?:[1-469]|8\\d)|5[23679]|6[4-6]|7[14]|9[04])\\d{7}"],["8(?:22|[35-9]\\d)\\d{6}",[9]],["1800\\d{6}",[10]],["15(?:1[2-8]|[2-8]0|9[089])\\d{6}",[10]],["700\\d{6}",[9]],["88210[1-9]\\d{4}|8(?:[35-79]5\\d\\d|8(?:[013-9]\\d\\d|2(?:[01][1-9]|[2-9]\\d)))\\d{5}",[10]],["818\\d{6}",[9]],0,["76\\d{7}",[9]],["18[59]0\\d{6}",[10]]]],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0",0,0,0,0,0,[["153\\d{8,9}|29[1-9]\\d{5}|(?:2[0-8]|[3489]\\d)\\d{6}",[8,11,12]],["55(?:4(?:[01]0|5[0-2])|57[0-289])\\d{4}|5(?:(?:[0-2][02-9]|[36]\\d|[49][2-9]|8[3-7])\\d|5(?:01|2\\d|3[0-3]|4[34]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}",[9]],["1(?:255|80[019]\\d{3})\\d{3}",[7,10]],["1212\\d{4}|1(?:200|9(?:0[0-2]|19))\\d{6}",[8,10]],0,["151\\d{8,9}",[11,12]],["1599\\d{6}",[10]],0,["7(?:38(?:0\\d|5[0-3569]|88)|8(?:33|55|77|81)\\d)\\d{4}|7(?:18|2[23]|3[237]|47|6[258]|7\\d|82|9[2-9])\\d{6}",[9]],["1700\\d{6}",[10]]]],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0","1624$1",0,"74576|(?:16|7[56])24",[["1624(?:230|[5-8]\\d\\d)\\d{3}"],["76245[06]\\d{4}|7(?:4576|[59]24\\d|624[0-4689])\\d{5}"],["808162\\d{4}"],["8(?:440[49]06|72299\\d)\\d{3}|(?:8(?:45|70)|90[0167])624\\d{4}"],["70\\d{8}"],0,["3440[49]06\\d{3}|(?:3(?:08162|3\\d{4}|45624|7(?:0624|2299))|55\\d{4})\\d{4}"],0,["56\\d{8}"]]],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0",0,0,0,0,0,[["2717(?:[2-7]\\d|95)\\d{4}|(?:271[0-689]|782[0-6])[2-7]\\d{5}|(?:170[24]|2(?:(?:[02][2-79]|90)\\d|80[13468])|(?:3(?:23|80)|683|79[1-7])\\d|4(?:20[24]|72[2-8])|552[1-7])\\d{6}|(?:11|33|4[04]|80)[2-7]\\d{7}|(?:342|674|788)(?:[0189][2-7]|[2-7]\\d)\\d{5}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[13]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[014-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[3-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1245]|4[5-8]|5[125689]|6[235-7]|7[157-9]|8[2-46-8])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])|7(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|8[013-7]|9[089])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d[2-7]\\d{5}",[10]],["(?:61279|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\d{5}|(?:6(?:12|[2-47]1|5[17]|6[13]|80)[0189]|7(?:1(?:2[0189]|9[0-5])|2(?:[14][017-9]|8[0-59])|3(?:2[5-8]|[34][017-9]|9[016-9])|4(?:1[015-9]|[29][89]|39|8[389])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))\\d{6}|(?:7(?:31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]\\d|7[02-8])\\d{5}|(?:6(?:[09]\\d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:0\\d|2[0235-79]|3[05-8]|40|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]\\d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9\\d\\d)\\d{7}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|8[124-6])\\d|7(?:[235689]\\d|4[0189]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-5])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]|881))[0189]\\d{5}",[10]],["000800\\d{7}|1(?:600\\d{6}|80(?:0\\d{4,9}|3\\d{9}))"],["186[12]\\d{9}",[13]],0,0,["140\\d{7}",[10]],0,0,["1860\\d{7}",[11]]]],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]],0,0,0,0,0,0,[["37\\d{5}"],["38\\d{5}"]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,[["1\\d{7}|(?:2[13-5]|3[02367]|4[023]|5[03]|6[026])\\d{6,7}",[8,9]],["7[3-9]\\d{8}",[10]]]],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0",0,0,0,0,0,[["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])(?:[03-57]\\d{7}|[16]\\d{3}(?:\\d{4})?|[289]\\d{3}(?:\\d(?:\\d{3})?)?)|94(?:000[09]|(?:12\\d|30[0-2])\\d|2(?:121|[2689]0\\d)|4(?:111|40\\d))\\d{4}",[6,7,10]],["9(?:(?:0(?:[0-35]\\d|4[4-6])|(?:[13]\\d|2[0-3])\\d)\\d|9(?:[0-46]\\d\\d|5[15]0|8(?:[12]\\d|88)|9(?:0[0-3]|[19]\\d|21|69|77|8[7-9])))\\d{5}",[10]],0,0,0,0,["96(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19])",[4,5]]]],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["(?:4(?:1[0-24-69]|2[0-7]|[37][0-8]|4[0-24589]|5[0-68]|6\\d|8[0-36-8])|5(?:05|[156]\\d|2[02578]|3[0-579]|4[03-7]|7[0-2578]|8[0-35-9]|9[013-689])|872)\\d{4}",[7]],["(?:38[589]\\d\\d|6(?:1[1-8]|2[0-6]|3[026-9]|4[014679]|5[0159]|6[0-69]|70|8[06-8]|9\\d)|7(?:5[057]|[6-9]\\d)|8(?:2[0-59]|[3-69]\\d|8[238]))\\d{4}"],["80[0-8]\\d{4}",[7]],["90(?:0\\d|1[5-79]|2[015-79]|3[135-79]|4[125-7]|5[25-79]|7[1-37]|8[0-35-7])\\d{3}",[7]],0,["(?:689|8(?:7[18]|80)|95[48])\\d{4}",[7]],["809\\d{4}",[7]],0,["49[0-24-79]\\d{4}",[7]]],"00"],IT:["39","00","0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}",[6,7,8,9,10,11]],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876",[["8766060\\d{3}|(?:658(?:2(?:[0-8]\\d|9[0-46-9])|[3-9]\\d\\d)|876(?:52[35]|6(?:0[1-3579]|1[0235-9]|[23]\\d|40|5[06]|6[2-589]|7[0-25-9]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468])))\\d{4}"],["(?:658295|876(?:2(?:0[1-9]|[13-9]\\d|2[013-9])|[348]\\d\\d|5(?:0[1-9]|[1-9]\\d)|6(?:4[89]|6[67])|7(?:0[07]|7\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579])))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,[["87(?:000|90[01])\\d{3}|(?:2(?:6(?:2[0-35-9]|3[0-578]|4[24-7]|5[0-24-8]|[6-8][023]|9[0-3])|7(?:0[1-79]|10|2[014-7]|3[0-689]|4[019]|5[0-3578]))|32(?:0[1-69]|1[1-35-7]|2[024-7]|3\\d|4[0-3]|[5-7][023])|53(?:0[0-3]|[13][023]|2[0-59]|49|5[0-35-9]|6[15]|7[45]|8[1-6]|9[0-36-9])|6(?:2(?:[05]0|22)|3(?:00|33)|4(?:0[0-25]|1[2-7]|2[0569]|[38][07-9]|4[025689]|6[0-589]|7\\d|9[0-2])|5(?:[01][056]|2[034]|3[0-57-9]|4[178]|5[0-69]|6[0-35-9]|7[1-379]|8[0-68]|9[0239]))|87(?:20|7[078]|99))\\d{4}",[8]],["7(?:[78][0-25-9]|9\\d)\\d{6}",[9]],["80\\d{6}",[8]],["9\\d{7}",[8]],["70\\d{7}",[9]],0,["8(?:10|8\\d)\\d{5}",[8]],["74(?:66|77)\\d{5}",[9]],0,["85\\d{6}",[8]]]],JP:["81","010","00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],"0",0,"(000[259]\\d{6})$|(?:(?:003768)0?)|0","$1",0,0,[["(?:1(?:1[235-8]|2[3-6]|3[3-9]|4[2-6]|[58][2-8]|6[2-7]|7[2-9]|9[1-9])|(?:2[2-9]|[36][1-9])\\d|4(?:[2-578]\\d|6[02-8]|9[2-59])|5(?:[2-589]\\d|6[1-9]|7[2-8])|7(?:[25-9]\\d|3[4-9]|4[02-9])|8(?:[2679]\\d|3[2-9]|4[5-9]|5[1-9]|8[03-9])|9(?:[2-58]\\d|[679][1-9]))\\d{6}",[9]],["[7-9]0[1-9]\\d{7}",[10]],["00777(?:[01]|5\\d)\\d\\d|(?:00(?:7778|882[1245])|(?:120|800\\d)\\d\\d)\\d{4}|00(?:37|66|78)\\d{6,13}"],["990\\d{6}",[9]],["60\\d{7}",[9]],0,["570\\d{6}",[9]],["20\\d{8}",[10]],["50[1-9]\\d{7}",[10]]]],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,[["(?:4[245]|5[1-79]|6[01457-9])\\d{5,7}|(?:4[136]|5[08]|62)\\d{7}|(?:[24]0|66)\\d{6,7}",[7,8,9]],["(?:1(?:0[0-8]|1[0-7]|2[014]|30)|7\\d\\d)\\d{6}",[9]],["800[02-8]\\d{5,6}",[9,10]],["900[02-9]\\d{5}",[9]]]],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["312(?:5[0-79]\\d|9(?:[0-689]\\d|7[0-24-9]))\\d{3}|(?:3(?:1(?:2[0-46-8]|3[1-9]|47|[56]\\d)|2(?:22|3[0-479]|6[0-7])|4(?:22|5[6-9]|6\\d)|5(?:22|3[4-7]|59|6\\d)|6(?:22|5[35-7]|6\\d)|7(?:22|3[468]|4[1-9]|59|[67]\\d)|9(?:22|4[1-8]|6\\d))|6(?:09|12|2[2-4])\\d)\\d{5}",[9]],["312(?:58\\d|973)\\d{3}|(?:2(?:0[0-35]|2\\d)|5[0-24-7]\\d|600|7(?:[07]\\d|55)|88[08]|9(?:12|9[05-9]))\\d{6}",[9]],["800\\d{6,7}"]]],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0",0,0,0,0,0,[["23(?:4(?:[2-4]|[56]\\d)|[568]\\d\\d)\\d{4}|23[236-9]\\d{5}|(?:2[4-6]|3[2-6]|4[2-4]|[5-7][2-5])(?:(?:[237-9]|4[56]|5\\d)\\d{5}|6\\d{5,6})",[8,9]],["(?:(?:1[28]|3[18]|9[67])\\d|6[016-9]|7(?:[07-9]|[16]\\d)|8(?:[013-79]|8\\d))\\d{6}|(?:1\\d|9[0-57-9])\\d{6}|(?:2[3-6]|3[2-6]|4[2-4]|[5-7][2-5])48\\d{5}",[8,9]],["1800(?:1\\d|2[019])\\d{4}",[10]],["1900(?:1\\d|2[09])\\d{4}",[10]]]],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0",0,0,0,0,0,[["(?:[24]\\d|3[1-9]|50|65(?:02[12]|12[56]|22[89]|[3-5]00)|7(?:27\\d\\d|3100|5(?:02[12]|12[56]|22[89]|[34](?:00|81)|500))|8[0-5])\\d{3}"],["(?:6200[01]|7(?:310[1-9]|5(?:02[03-9]|12[0-47-9]|22[0-7]|[34](?:0[1-9]|8[02-9])|50[1-9])))\\d{3}|(?:63\\d\\d|7(?:(?:[0146-9]\\d|2[0-689])\\d|3(?:[02-9]\\d|1[1-9])|5(?:[0-2][013-9]|[34][1-79]|5[1-9]|[6-9]\\d)))\\d{4}",[8]],0,0,0,0,0,0,["30(?:0[01]\\d\\d|12(?:11|20))\\d\\d",[8]]]],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]],0,0,0,0,0,0,[["7[4-7]\\d{5}"],["[34]\\d{6}"],0,["8\\d{6}"]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869",[["869(?:2(?:29|36)|302|4(?:6[015-9]|70)|56[5-7])\\d{4}"],["869(?:48[89]|55[6-8]|66\\d|76[02-7])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:195|2)\\d|3[19]|4[159]|5[37]|6[17]|7[39]|85)\\d{6}"],["19[1-3]\\d{7}",[10]]]],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?",0,0,0,[["(?:2|3[1-3]|[46][1-4]|5[1-5])[1-9]\\d{6,7}|(?:3[1-3]|[46][1-4]|5[1-5])1\\d{2,3}",[5,6,8,9,10]],["1(?:05(?:[0-8]\\d|9[0-6])|22[13]\\d)\\d{4,5}|1(?:0[0-46-9]|[16-9]\\d|2[013-9])\\d{6,7}",[9,10]],["00(?:308\\d{6,7}|798\\d{7,9})|(?:00368|[38]0)\\d{7}",[9,11,12,13,14]],["60[2-9]\\d{6}",[9]],["50\\d{8,9}",[10,11]],0,["1(?:5(?:22|33|44|66|77|88|99)|6(?:[07]0|44|6[0168]|88)|8(?:00|33|55|77|99))\\d{4}",[8]],["15\\d{7,8}",[9,10]],["70\\d{8}",[10]]]],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]],0,0,0,0,0,0,[["2(?:[23]\\d\\d|4(?:[1-35-9]\\d|44)|5(?:0[034]|[2-46]\\d|5[1-3]|7[1-7]))\\d{4}",[8]],["(?:41\\d\\d|5(?:(?:[05]\\d|1[0-7]|6[56])\\d|2(?:22|5[25])|7(?:55|77)|88[58])|6(?:(?:0[034679]|5[015-9]|6\\d)\\d|1(?:00|11|6[16])|2[26]2|3[36]3|4[46]4|7(?:0[013-9]|[67]\\d)|8[68]8|9(?:[069]\\d|3[039]))|9(?:(?:[04679]\\d|8[057-9])\\d|1(?:1[01]|99)|2(?:00|2\\d)|3(?:00|3[03])|5(?:00|5\\d)))\\d{4}",[8]],["18\\d{5}",[7]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345",[["345(?:2(?:22|3[23]|44|66)|333|444|6(?:23|38|40)|7(?:30|4[35-79]|6[6-9]|77)|8(?:00|1[45]|4[89]|88)|9(?:14|4[035-9]))\\d{4}"],["345(?:32[1-9]|42[0-4]|5(?:1[67]|2[5-79]|4[6-9]|50|76)|649|82[56]|9(?:1[679]|2[2-9]|3[06-9]|90))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["(?:345976|900[2-9]\\d\\d)\\d{4}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],KZ:["7","810","(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"33|7",[["(?:33622|7(?:1(?:0(?:[23]\\d|4[0-3]|59|63)|1(?:[23]\\d|4[0-79]|59)|2(?:[23]\\d|59)|3(?:2\\d|3[0-79]|4[0-35-9]|59)|4(?:[24]\\d|3[013-9]|5[1-9]|97)|5(?:2\\d|3[1-9]|4[0-7]|59)|6(?:[2-4]\\d|5[19]|61)|72\\d|8(?:[27]\\d|3[1-46-9]|4[0-5]|59))|2(?:1(?:[23]\\d|4[46-9]|5[3469])|2(?:2\\d|3[0679]|46|5[12679])|3(?:[2-4]\\d|5[139])|4(?:2\\d|3[1-35-9]|59)|5(?:[23]\\d|4[0-8]|59|61)|6(?:2\\d|3[1-9]|4[0-4]|59)|7(?:[2379]\\d|40|5[279])|8(?:[23]\\d|4[0-3]|59)|9(?:2\\d|3[124578]|59))))\\d{5}",[10]],["7(?:0[0-25-8]|47|6[0-4]|7[15-8]|85)\\d{7}",[10]],["8(?:00|108\\d{3})\\d{7}"],["809\\d{7}",[10]],["808\\d{7}",[10]],0,0,0,["751\\d{7}",[10]]],"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[0135-9]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,0,0,0,0,[["(?:2[13]|[35-7][14]|41|8[1468])\\d{6}",[8]],["208[78]\\d{6}|(?:20[23579]|30[24])\\d{7}",[10]],0,0,0,0,["30[0135-9]\\d{6}",[9]]]],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0",0,0,0,0,0,[["7(?:62|8[0-7]|9[04-9])\\d{4}|(?:[14-69]\\d|2(?:[14-69]\\d|[78][1-9])|7[2-57]|8[02-9])\\d{5}"],["793(?:[01]\\d|2[0-4])\\d{3}|(?:(?:3|81)\\d|7(?:[01]\\d|6[013-9]|8[89]|9[12]))\\d{5}"],0,["9[01]\\d{6}",[8]],0,0,0,0,0,["80\\d{6}",[8]]]],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758",[["758(?:234|4(?:30|5\\d|6[2-9]|8[0-2])|57[0-2]|(?:63|75)8)\\d{4}"],["758(?:28[4-7]|384|4(?:6[01]|8[4-9])|5(?:1[89]|20|84)|7(?:1[2-9]|2\\d|3[0-3])|812)\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0",0,0,0,[["(?:2(?:01|1[27]|2[02]|3\\d|6[02-578]|96)|3(?:[24]0|33|7[0135-7]|8[048]|9[0269]))\\d{4}",[7]],["(?:6(?:(?:4[5-9]|5[0-469])\\d|6(?:[024-6]\\d|[17]0|3[7-9]))\\d|7(?:[37-9]\\d|42|56))\\d{4}"],["8002[28]\\d\\d|80(?:05\\d|9)\\d{4}"],["90(?:02[258]|1(?:23|3[14])|66[136])\\d\\d",[7]],0,["697(?:42|56|[78]\\d)\\d{4}",[9]],["870(?:28|87)\\d\\d",[7]]]],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0",0,0,0,0,0,[["(?:12[2-9]|602|8[12]\\d|9(?:1\\d|22|9[245]))\\d{6}|(?:11|2[13-7]|3[1-8]|4[157]|5[12457]|6[35-7])[2-57]\\d{6}"],["7(?:[0-25-8]\\d|4[0-4])\\d{6}"],0,0,0,0,["1973\\d{5}"]]],LR:["231","00","(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0",0,0,0,0,0,[["2\\d{7}",[8]],["(?:(?:(?:22|33)0|555|(?:77|88)\\d)\\d|4(?:240|[67]))\\d{5}|[56]\\d{6}",[7,9]],0,["332(?:02|[34]\\d)\\d{4}",[9]]]],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]],0,0,0,0,0,0,[["2\\d{7}"],["[56]\\d{7}"],["800[1256]\\d{4}"]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]",0,0,0,[["(?:3[1478]|4[124-6]|52)\\d{6}"],["6\\d{7}"],["80[02]\\d{5}"],["9(?:0[0239]|10)\\d{5}"],["70[05]\\d{5}"],0,["70[67]\\d{5}"],0,["[89]01\\d{5}"],["808\\d{5}"]]],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)",0,0,0,[["(?:35[013-9]|80[2-9]|90[89])\\d{1,8}|(?:2[2-9]|3[0-46-9]|[457]\\d|8[13-9]|9[2-579])\\d{2,9}"],["6(?:[269][18]|5[1568]|7[189]|81)\\d{6}",[9]],["800\\d{5}",[8]],["90[015]\\d{5}",[8]],0,0,0,0,["20(?:1\\d{5}|[2-689]\\d{1,7})",[4,5,6,7,8,9,10]],["801\\d{5}",[8]]]],LV:["371","00","(?:[268]\\d|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]],0,0,0,0,0,0,[["6\\d{7}"],["2333[0-8]\\d{3}|2(?:[0-24-9]\\d\\d|3(?:0[07]|[14-9]\\d|2[02-9]|3[0-24-9]))\\d{4}"],["80\\d{6}"],["90\\d{6}"],0,0,0,0,0,["81\\d{6}"]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:2(?:0[56]|[1-6]\\d|7[124579]|8[124])|3(?:1\\d|2[2356])|4(?:[17]\\d|2[1-357]|5[2-4]|8[124])|5(?:[1347]\\d|2[1-469]|5[13-5]|8[1-4])|6(?:[1-479]\\d|5[2-57]|8[1-5])|7(?:[13]\\d|2[13-79])|8(?:[124]\\d|5[124]|84))\\d{6}"],["9[1-6]\\d{7}"]]],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"0",0,0,0,0,0,[["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-467]|5[0-3]|8[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],MC:["377","00","(?:[3489]|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],"0",0,0,0,0,0,[["(?:870|9[2-47-9]\\d)\\d{5}",[8]],["4(?:[469]\\d|5[1-9])\\d{5}|(?:3|6\\d)\\d{7}"],["(?:800|90\\d)\\d{5}",[8]]]],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:2[1-9]|3[1-79])\\d|5(?:33|5[257]))\\d{5}"],["562\\d{5}|(?:6\\d|7[16-9])\\d{6}"],["800\\d{5}"],["90[056]\\d{5}"],0,0,["803\\d{5}"],0,["3[08]\\d{6}"],["808\\d{5}"]]],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:20[2-8]|3(?:[0-2][2-7]|3[24-7])|4(?:0[2-467]|1[2467])|5(?:0[2467]|1[24-7]|2[2-467]))\\d{5}",[8]],["6(?:[07-9]\\d|3[024]|6[0-25])\\d{5}",[8]],["80(?:[0-2578]|9\\d)\\d{5}"],["9(?:4[1568]|5[178])\\d{5}",[8]],0,0,["77[1-9]\\d{5}",[8]],0,["78[1-49]\\d{5}",[8]]]],MF:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1",0,0,[["2072[29]\\d{4}|20(?:2\\d|4[47]|5[3467]|6[279]|7[356]|8[268]|9[2457])\\d{5}"],["3[2-47-9]\\d{7}"],0,0,0,0,0,0,["22\\d{7}"]]],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1",0,0,0,0,0,[["(?:247|528|625)\\d{4}"],["(?:(?:23|54)5|329|45[35-8])\\d{4}"],0,0,0,0,0,0,["635\\d{4}"]]],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:2(?:62|77)0|3444)\\d|4[56]440)\\d{3}|(?:34|4[357])700\\d{3}|(?:2(?:[0-3]\\d|5[0-578]|6[01]|82)|3(?:1[3-68]|[23][2-68]|4[23568])|4(?:[23][2-68]|4[3-68]|5[2568]|6[25-8]|7[24-68]|8[4-68]))\\d{5}"],["7(?:3555|(?:474|9[019]7)7)\\d{3}|7(?:[0-25-8]\\d\\d|3(?:[1-478]\\d|6[01])|4(?:2\\d|60|7[01578])|9(?:[2-4]\\d|5[01]|7[015]))\\d{4}"],["800\\d{5}"],["5\\d{7}"],0,0,0,0,0,["8(?:0[1-9]|[1-9]\\d)\\d{5}"]]],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]],0,0,0,0,0,0,[["2(?:07[0-8]|12[67])\\d{4}|(?:2(?:02|1[4-689])|4(?:0[0-4]|4[1-59]))\\d{5}"],["2(?:0(?:01|79)|17\\d)\\d{4}|(?:5[01]|[679]\\d|8[2-59])\\d{6}"],["80\\d{6}"]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|452|678|86","[12]|452|6788|86"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:(?:12|[28]\\d|3[56]|7[3-6]|9[0-6])\\d|4(?:2[29]|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}"],["(?:83[01]|92[039])\\d{5}|(?:5[05]|6[069]|72|8[015689]|9[013-9])\\d{6}",[8]],0,0,0,0,0,0,["712[0-79]\\d{4}|7(?:1[013-9]|[5-9]\\d)\\d{5}",[8]]]],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]],0,0,0,0,0,0,[["(?:28[2-9]|8(?:11|[2-57-9]\\d))\\d{5}",[8]],["6800[0-79]\\d{3}|6(?:[235]\\d\\d|6(?:0[0-5]|[1-9]\\d)|8(?:0[1-9]|[14-8]\\d|2[5-9]|[39][0-4]))\\d{4}",[8]],["0800\\d{3}",[7]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670",[["670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],MQ:["596","00","(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|8(?:0[6-9]|[36])"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:596(?:[03-7]\\d|1[05]|2[7-9]|8[0-39]|9[04-9])|80[6-9]\\d\\d|9(?:477[6-9]|767[4589]))\\d{4}"],["(?:69[67]\\d\\d|7091[0-3])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:397[0-3]|477[0-5]|76(?:6\\d|7[0-367]))\\d{4}"]]],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]],0,0,0,0,0,0,[["(?:25[08]|35\\d|45[1-7])\\d{5}"],["[2-4][0-46-9]\\d{6}"],["800\\d{5}"]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664",[["6644(?:1[0-3]|91)\\d{4}"],["664(?:3(?:49|9[1-6])|49[2-6])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]],0,0,0,0,0,0,[["20(?:3[1-4]|6[059])\\d{4}|2(?:0[19]|[1-357]\\d|60)\\d{5}"],["(?:7(?:210|[79]\\d\\d)|9(?:[29]\\d\\d|69[67]|8(?:1[1-3]|89|97)))\\d{4}"],["800(?:02|[3467]\\d)\\d{3}"],["5(?:0(?:0(?:37|43)|(?:6\\d|70|9[0168])\\d)|[12]\\d0[1-5])\\d{3}"],0,0,["501\\d{5}"],["7117\\d{4}"],["3550\\d{4}"]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,[["(?:2(?:[0346-8]\\d|1[0-7])|4(?:[013568]\\d|2[4-8]|71|90)|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}",[7,8]],["5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|(?:5(?:2[5-9]|4[3-689]|[57]\\d|8[0-689]|9[0-8])|7(?:0[0-4]|3[013]))\\d{5}",[8]],["802\\d{7}|80[0-2]\\d{4}",[7,10]],["30\\d{5}",[7]],0,0,0,0,["3(?:20|9\\d)\\d{4}",[7]]],"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,[["(?:3(?:0[0-4]|3[0-59])|6(?:[58][024689]|6[024-68]|7[02468]))\\d{4}",[7]],["(?:46[46]|[79]\\d\\d)\\d{4}",[7]],["800\\d{7}",[10]],["900\\d{7}",[10]],0,0,["4(?:0[01]|50)\\d{4}",[7]]],"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:1[2-9]|2[12]\\d\\d)\\d{5}"],["111\\d{6}|(?:31|77|[89][89])\\d{7}",[9]]]],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,[["(?: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,[["4270\\d{4}|(?:3(?:2[0-36-9]|3[0-368]|4[0-278]|5[0-24-8]|6[0-467]|7[1246-9]|8\\d|9[0-57])\\d|4(?:2[0-689]|[3-79]\\d|8[1-35689])|5(?:2[0-589]|[3468]\\d|5[0-489]|7[1-9]|9[23])|6(?:2[2-9]|3[1357-9]|[46]\\d|5[0-6]|7[0-35-9]|85|9[015-8])|7(?:[2579]\\d|3[03-68]|4[0-8]|6[5-9]|8[0-35-9])|8(?:[24][2-8]|3[2-5]|5[2-7]|6[2-589]|7[2-578]|[89][2-9])|9(?:0[57]|13|[25-7]\\d|[3489][0-8]))\\d{5}",[8,9]],["1(?:1888[689]|4400|8(?:47|8[27])[0-4])\\d{4}|1(?:0(?:[23568]\\d|4[0-6]|7[016-9]|9[0-8])|1(?:[1-5]\\d\\d|6(?:0[5-9]|[1-9]\\d)|7(?:[0-4]\\d|5[0-7]))|(?:[269]\\d|[37][1-9]|4[235-9])\\d|5(?:31|9\\d\\d)|8(?:1[23]|[236]\\d|4[06]|5(?:46|[7-9])|7[016-9]|8[01]|9[0-8]))\\d{5}",[9,10]],["1[378]00\\d{6}",[10]],["1600\\d{6}",[10]],0,0,0,0,["15(?:4(?:6[0-4]\\d|8(?:0[125]|[17]\\d|21|3[01]|4[01589]|5[014]|6[02]))|6(?:32[0-6]|78\\d))\\d{4}",[10]]]],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["2(?:[1346]\\d|5[0-2]|[78][12]|93)\\d{5}",[8]],["8[2-79]\\d{7}",[9]],["800\\d{6}",[9]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0",0,0,0,0,0,[["64426\\d{3}|6(?:1(?:2[2-7]|3[01378]|4[0-4])|254|32[0237]|4(?:27|41|5[25])|52[236-8]|626|7(?:2[2-4]|30))\\d{4,5}|6(?:1(?:(?:0\\d|2[0189]|3[24-69]|4[5-9])\\d|17|69|7[014])|2(?:17|5[0-36-8]|69|70)|3(?:17|2[14-689]|34|6[289]|7[01]|81)|4(?:17|2[0-2]|4[06]|5[0137]|69|7[01])|5(?:17|2[0459]|69|7[01])|6(?:17|25|38|42|69|7[01])|7(?:17|2[569]|3[13]|6[89]|7[01]))\\d{4}"],["(?:60|8[1245])\\d{7}",[9]],["80\\d{7}",[9]],["8701\\d{5}",[9]],0,0,0,0,["8(?:3\\d\\d|86)\\d{5}"]]],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]],0,0,0,0,0,0,[["(?:2[03-9]|3[0-5]|4[1-7]|88)\\d{4}"],["(?:[579]\\d|8[0-79])\\d{4}"],["050\\d{3}"],["36\\d{4}"]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]],0,0,0,0,0,0,[["2(?:0(?:20|3[1-8]|4[13-5]|5[14]|6[14578]|7[1-578])|1(?:4[145]|5[14]|6[14-68]|7[169]|88))\\d{4}"],["(?:23|7[0467]|[89]\\d)\\d{6}"],["08\\d{6}"],["09\\d{6}"]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1",0,0,[["(?:1(?:06|17|28|39)|3[0-2]\\d)\\d{3}"],["(?:14|3[58])\\d{4}"]]],NG:["234","009","38\\d{6}|[78]\\d{9,13}|(?:20|9\\d)\\d{8}",[8,10,11,12,13,14],[["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["3"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0",0,0,0,0,0,[["(?:20(?:[1259]\\d|3[013-9]|4[1-8]|6[024-689]|7[1-79]|8[2-9])|38)\\d{6}",[8,10]],["(?:702[0-24-9]|819[01])\\d{6}|(?:7(?:0[13-9]|[12]\\d)|8(?:0[1-9]|1[0-8])|9(?:0[1-9]|1[1-6]))\\d{7}",[10]],["800\\d{7,11}",[10,11,12,13,14]],0,0,0,["700\\d{7,11}",[10,11,12,13,14]]]],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]],0,0,0,0,0,0,[["2\\d{7}"],["(?:5(?:5[0-7]|[78]\\d)|6(?:20|3[035]|4[045]|5[05]|77|8[1-9]|9[059])|(?:7[5-8]|8\\d)\\d)\\d{5}"],["1800\\d{4}"]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:[035]\\d|1[13-578]|6[124-8]|7[24]|8[0-467])|2(?:[0346]\\d|2[2-46-9]|5[125]|9[479])|3(?:[03568]\\d|1[3-8]|2[01]|4[1-8])|4(?:[0356]\\d|1[1-368]|7[58]|8[15-8]|9[23579])|5(?:[0358]\\d|[19][1-9]|2[1-57-9]|4[13-8]|6[126]|7[0-3578])|7\\d\\d)\\d{6}",[9]],["(?:6[1-58]|970\\d)\\d{7}",[9,11]],["800\\d{4,7}",[7,8,9,10]],["90[069]\\d{4,7}",[7,8,9,10]],0,0,["140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|(?:140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)|8[478]\\d{6})\\d",[5,6,9]],["66\\d{7}",[9]],["(?:85|91)\\d{7}",[9]]]],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]",[["(?:2[1-4]|3[1-3578]|5[1-35-7]|6[1-4679]|7[0-8])\\d{6}",[8]],["(?:4[015-8]|9\\d)\\d{6}",[8]],["80[01]\\d{5}",[8]],["82[09]\\d{5}",[8]],["880\\d{5}",[8]],["81[23]\\d{5}",[8]],["(?:0[235-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}"],0,["85[0-5]\\d{5}",[8]],["810(?:0[0-6]|[2-8]\\d)\\d{3}",[8]]]],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0",0,0,0,0,0,[["(?:1[0-6]\\d|99[02-6])\\d{5}|(?:2[13-79]|3[135-8]|4[146-9]|5[135-7]|6[13-9]|7[15-9]|8[1-46-9]|9[1-7])[2-6]\\d{5}",[8]],["9(?:00|6[0-3]|7[024-6]|8[0-24-68])\\d{7}",[10]],["1(?:66001|800\\d\\d)\\d{5}",[11]]]],NR:["674","00","(?: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[126-9]|9[1-9])\\d{6}",[8]],["8007\\d{4,5}|(?:500|800[05])\\d{4}"],["900\\d{5}",[8]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["(?:1(?:0\\d|1[479]|2[37]|3[0137]|4[17]|5[05]|6[058]|7[0167]|8[2358]|9[1389])|2(?:[0235-79]\\d|1[0-7]|4[013-9]|8[02-9])|3(?:[07-9]\\d|1[0-7]|2[0-5]|33|4[0-79]|5[0-35]|6[068])|4(?:00|3[0-579]|4\\d|7[0-57-9])|5(?:[01]\\d|2[0-7]|[56]0|79)|7(?:0[09]|2[0-26-8]|3[03]|4[04]|5[05-9]|6[0156]|7[0-24-9]|8[5-9]|90)|8(?:09|2[89]|3\\d|4[0-24-689]|5[014]|8[02])|9(?:0[5-9]|1[0135-8]|2[036-9]|3[35-79]|40|5[0457-9]|6[05-9]|7[04-9]|8[35-8]|9\\d))\\d{4}",[7]],["(?:1[16]1|21[89]|6\\d{3}|8(?:1[01]|7[23]))\\d{4}",[7,8]],["800\\d{4,5}|(?:00800|800\\d)\\d{6}"],["(?:8(?:22|55|60|7[78]|86)|9(?:00|81))\\d{4}",[7]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,[["(?:(?:(?:4[34]|5[14])[0-8]|687)\\d|7(?:173|(?:3[0-8]|55)\\d)|8(?:10[05689]|6(?:0[06-9]|1[6-9]|29)|7(?:0[0569]|[56]0)))\\d{4}|(?:1[0-8]|4[12]|5[236]|6[1-7]|7[246]|8[2-4])\\d{6}",[8]],["9\\d{8}",[9]],["800\\d{5}",[8]],["805\\d{5}",[8]],["80[24]\\d{5}",[8]],0,0,0,0,["801\\d{5}",[8]]],"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],0,0,0,0,0,0,[["4(?:0[4-689]|9[4-68])\\d{5}",[8]],["8[7-9]\\d{6}",[8]],["80[0-5]\\d{6}",[9]],0,0,0,["44\\d{4}",[6]],0,["499\\d{5}",[8]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,[["(?:(?:3[0-2]|4[257]|5[34]|9[78])\\d|64[1-9]|85[02-46-9])\\d{4}",[7]],["(?:7\\d|8[1-38])\\d{6}",[8]],["180\\d{4}",[7]],0,0,0,0,["27[01]\\d{4}",[7]],["2(?:0[0-57]|7[568])\\d{4}",[7]]],"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0",0,0,0,0,0,[["(?:(?:2[3-8]|3[2-68]|4[2-9]|5[2-6]|6[2-58]|7[24578])\\d{3}|88(?:22\\d\\d|42))\\d{4}|(?:2|8[2-8]\\d\\d)\\d{5}",[6,8,9,10]],["(?:8(?:1[37]|9[5-8])|9(?:0[5-9]|1[0-24-9]|[235-7]\\d|4[2-9]|8[135-9]|9[1-9]))\\d{7}",[10]],["1800\\d{7,9}",[11,12,13]]]],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0",0,0,0,0,0,[["(?:(?:21|42)[2-9]|58[126])\\d{7}|(?:2[25]|4[0146-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]\\d{6,7}|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8]))[2-9]\\d{5,6}",[9,10]],["3(?:[0-247]\\d|3[0-79]|55|64)\\d{7}",[10]],["800\\d{5}(?:\\d{3})?",[8,11]],["900\\d{5}",[8]],["122\\d{6}",[9]],0,["(?:2(?:[125]|3[2358]|4[2-4]|9[2-8])|4(?:[0-246-9]|5[3479])|5(?:[1-35-7]|4[2-467])|6(?:0[468]|[1-8])|7(?:[14]|2[236])|8(?:[16]|2[2-689]|3[23578]|4[3478]|5[2356])|9(?:1|22|3[27-9]|4[2-6]|6[3569]|9[2-7]))111\\d{6}",[11,12]]]],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["47\\d{7}|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])(?:[02-9]\\d{6}|1(?:[0-8]\\d{5}|9\\d{3}(?:\\d{2})?))",[7,9]],["2131[89]\\d{4}|21(?:1[013-5]|2\\d|3[2-9])\\d{5}|(?:45|5[0137]|6[069]|7[2389]|88)\\d{7}",[9]],["800\\d{6,7}",[9,10]],["70[01346-8]\\d{6}",[9]],0,0,["804\\d{6}",[9]],["64\\d{4,7}",[6,7,8,9]],["39\\d{7}",[9]],["801\\d{6}",[9]]]],PM:["508","00","[45]\\d{5}|(?:708|8\\d\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:4[1-35-9]|5[0-47-9]|80[6-9]\\d\\d)\\d{4}"],["(?:4[02-489]|5[02-9]|708(?:4[0-5]|5[0-6]))\\d{4}"],["80[0-5]\\d{6}",[9]],["8[129]\\d{7}",[9]]]],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939",[["(?:787|939)[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0",0,0,0,0,0,[["(?:22[2-47-9]|42[45]|82[014-68]|92[3569])\\d{5}",[8]],["5[69]\\d{7}",[9]],["1800\\d{6}",[10]],0,0,0,0,0,0,["1700\\d{6}",[10]]]],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]],0,0,0,0,0,0,[["2(?:[12]\\d|3[1-689]|4[1-59]|[57][1-9]|6[1-35689]|8[1-69]|9[1256])\\d{6}"],["6(?:[06]92(?:30|9\\d)|[35]92(?:[049]\\d|3[034]))\\d{3}|(?:(?:16|6[0356])93|9(?:[1-36]\\d\\d|480))\\d{5}"],["80[02]\\d{6}"],["(?:6(?:0[178]|4[68])\\d|76(?:0[1-57]|1[2-47]|2[237]))\\d{5}"],["884[0-4689]\\d{5}"],["600\\d{6}|6[06]92(?:0\\d|3[349]|49)\\d{3}"],["70(?:38[01]|596|(?:7\\d|8[17])\\d)\\d{4}"],["6(?:222\\d|8988)\\d{4}"],["30\\d{7}"],["80(?:8\\d|9[1579])\\d{5}"]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],0,0,0,0,0,0,[["(?:2(?:55|77)|345|488|5(?:35|44|87)|6(?:22|54|79)|7(?:33|47)|8(?:24|55|76)|900)\\d{4}"],["(?:(?:46|83)[0-5]|(?:6[2-4689]|78)0)\\d{4}|(?:45|77|88)\\d{5}"]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,[["(?:[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36])\\d{5,7}|(?:2(?:2[4-68]|[4-68]\\d|7[15]|9[1-5])|3(?:18|3[167]|4[2357]|51|[67]\\d)|4(?:3[12]|5[13]|9[1-47])|5(?:[1-4]\\d|5[02-4])|6(?:3[1-3]|44|7[1-8])|7(?:4[0-4]|5\\d|6[1-578]|75|8[0-8])|858)\\d{5,6}",[7,8,9]],["9(?:51|6[129]|7[1-6]|8[1-7]|9[1-5])\\d{6}",[9]],["9800\\d{5,7}",[9,10,11]],0,0,0,["[2-9]0\\d{4,7}",[6,7,8,9]],0,["8700[0-4]\\d{4}",[9]]]],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[16]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]],0,0,0,0,0,0,[["4(?:1111|2022)\\d{3}|4(?:[04]\\d\\d|14[0-6]|999)\\d{4}",[8]],["[35-7]\\d{7}",[8]],["800\\d{4}|(?:0080[01]|800)\\d{6}",[7,9,11]],0,0,0,0,["2[16]\\d{5}",[7]]]],RE:["262","00","709\\d{6}|(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"],["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[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,"3[04-689]|[489]",[["(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15]|6[1-35-79]|7[1-37-9]))\\d{7}",[10]],["9\\d{9}",[10]],["8(?:0[04]|108\\d{3})\\d{7}"],["80[39]\\d{7}",[10]],["808\\d{7}",[10]]],"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:06|2[23568]\\d)\\d{6}"],["7[237-9]\\d{7}",[9]],["800\\d{6}",[9]],["900\\d{6}",[9]]]],SA:["966","00","92\\d{7}|(?:[15]|8\\d)\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0",0,0,0,0,0,[["1(?:1\\d|2[24-8]|3[35-8]|4[3-68]|6[2-5]|7[235-7])\\d{6}",[9]],["579[01]\\d{5}|5(?:[013-689]\\d|7[0-8])\\d{6}",[9]],["800\\d{7}",[10]],["925\\d{6}",[9]],0,0,["811\\d{7}",[10]],0,0,["920\\d{6}",[9]]]],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]],0,0,0,0,0,0,[["(?:1[4-79]|[23]\\d|4[0-2]|5[03]|6[0-37])\\d{3}",[5]],["48\\d{3}|(?:(?:6[89]|7[1-9]|8[4-9])\\d|9(?:1[2-9]|2[013-9]|3[0-2]|[46]\\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8]))\\d{4}"],["1[38]\\d{3}",[5]],0,0,0,0,0,["5[12]\\d{3}",[5]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,[["4[2-46]\\d{5}"],["2[125-8]\\d{5}"],["800[08]\\d{3}"],["85\\d{5}"],0,0,0,0,["971\\d{4}|(?:64|95)\\d{5}"]],"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0",0,0,0,0,0,[["1(?:5\\d|8[35-7])\\d{6}"],["(?:1[0-2]|9[0-3569])\\d{7}"]]],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10,12],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0",0,0,0,0,0,[["(?:(?:[12][136]|3[356]|4[0246]|6[03]|8\\d)\\d|90[1-9])\\d{4,6}|(?:1(?:2[0-35]|4[0-4]|5[0-25-9]|7[13-6]|[89]\\d)|2(?:2[0-7]|4[0136-8]|5[0138]|7[018]|8[01]|9[0-57])|3(?:0[0-4]|1\\d|2[0-25]|4[056]|7[0-2]|8[0-3]|9[023])|4(?:1[013-8]|3[0135]|5[14-79]|7[0-246-9]|8[0156]|9[0-689])|5(?:0[0-6]|[15][0-5]|2[0-68]|3[0-4]|4\\d|6[03-5]|7[013]|8[0-79]|9[01])|6(?:1[1-3]|2[0-4]|4[02-57]|5[0-37]|6[0-3]|7[0-2]|8[0247]|9[0-356])|9(?:1[0-68]|2\\d|3[02-5]|4[0-3]|5[0-4]|[68][01]|7[0135-8]))\\d{5,6}",[7,8,9]],["7[02369]\\d{7}",[9]],["20\\d{4,7}",[6,7,8,9]],["649\\d{6}|99[1-59]\\d{4}(?:\\d{3})?|9(?:00|39|44)[1-8]\\d{3,6}",[7,8,9,10]],["75[1-8]\\d{6}",[9]],["(?:25[245]|67[3-68])\\d{9}",[12]],["10[1-8]\\d{6}",[9]],["74[02-9]\\d{6}",[9]],0,["77[0-7]\\d{6}",[9]]]],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[["662[0-24-9]\\d{4}|6(?:[0-578]\\d|6[013-57-9]|9[0-35-9])\\d{5}",[8]],["896[0-8]\\d{4}|(?:8(?:0[1-9]|[1-8]\\d|9[0-5])|9[0-8]\\d)\\d{5}",[8]],["(?:18|8)00\\d{7}",[10,11]],["1900\\d{7}",[11]],0,0,["7000\\d{7}",[11]],0,["(?:3[12]\\d|666)\\d{5}",[8]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]",[["2(?:[0-57-9]\\d|6[4-9])\\d\\d"],["[56]\\d{4}",[5]],0,0,0,0,0,0,["262\\d\\d",[5]]]],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,[["(?:[1-357][2-8]|4[24-8])\\d{6}",[8]],["65(?:[178]\\d|5[56]|6[01])\\d{4}|(?:[37][01]|4[0139]|51|6[489])\\d{6}",[8]],["80\\d{4,6}",[6,7,8]],["89[1-3]\\d{2,5}|90\\d{4,6}"],0,0,0,0,["(?:59\\d\\d|8(?:1(?:[67]\\d|8[0-589])|2(?:0\\d|2[0-37-9]|8[0-2489])|3[389]\\d))\\d{4}",[8]]],"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79",[["79\\d{6}",[8]],["(?:4[015-8]|9\\d)\\d{6}",[8]],["80[01]\\d{5}",[8]],["82[09]\\d{5}",[8]],["880\\d{5}",[8]],["81[23]\\d{5}",[8]],["(?:0[235-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}"],0,["85[0-5]\\d{5}",[8]],["810(?:0[0-6]|[2-8]\\d)\\d{3}",[8]]]],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0",0,0,0,0,0,[["(?:2(?:16|[2-9]\\d{3})|(?:(?:[3-5][1-8]\\d|819)\\d|601[1-5])\\d)\\d{4}|(?:2|[3-5][1-8])1[67]\\d{3}|[3-5][1-8]16\\d\\d"],["909[1-9]\\d{5}|9(?:0[1-8]|1[0-24-9]|4[03-57-9]|5\\d)\\d{6}",[9]],["800\\d{6}",[9]],["9(?:00|[78]\\d)\\d{6}",[9]],0,0,["96\\d{7}",[9]],["9090\\d{3}",[7]],["6(?:02|5[0-4]|9[0-6])\\d{6}",[9]],["8[5-9]\\d{7}",[9]]]],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0",0,0,0,0,0,[["22[2-4][2-9]\\d{4}"],["(?:25|3[0-5]|66|7[1-9]|8[08]|9[09])\\d{6}"]]],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1",0,0,[["0549(?:8[0157-9]|9\\d)\\d{4}",[10]],["6[16]\\d{6}",[8]],0,["7[178]\\d{6}",[8]],0,0,0,0,["5[158]\\d{6}",[8]]]],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]],0,0,0,0,0,0,[["3(?:0(?:1[0-2]|80)|282|3(?:8[1-9]|9[3-9])|611)\\d{5}"],["7(?:(?:[06-8]\\d|[19]0|21)\\d|5(?:0[01]|[19]0|2[25]|3[356]|[4-7]\\d|8[35]))\\d{5}"],["800\\d{6}"],["88[4689]\\d{6}"],0,0,0,0,["(?:3(?:392|9[01]\\d)\\d|93(?:3[13]0|929))\\d{4}"],["81[02468]\\d{6}"]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|7[67]|9[2-9]"]]],"0",0,0,0,0,0,[["(?:1\\d|2[0-79]|3[0-46-8]|4[0-7]|5[57-9])\\d{5}|(?:[134]\\d|8[125])\\d{4}",[6,7]],["(?:(?:15|(?:3[59]|4[89]|6\\d|7[679]|8[08])\\d|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:[67]\\d\\d|904)\\d{5}",[7,8,9]]]],SR:["597","00","(?:[2-5]|68|[78]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]],0,0,0,0,0,0,[["(?:2[1-3]|3[0-7]|(?:4|68)\\d|5[2-58])\\d{4}"],["(?:7[124-7]|8[1-9])\\d{5}",[7]],0,0,0,0,0,0,["56\\d{4}",[6]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0",0,0,0,0,0,[["1[89]\\d{7}"],["(?:12|9[1257-9])\\d{7}"]]],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]],0,0,0,0,0,0,[["22\\d{5}"],["900[5-9]\\d{3}|9(?:0[1-9]|[89]\\d)\\d{4}"]]],SV:["503","00","[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[267]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,[["2(?:79(?:0[0347-9]|[1-9]\\d)|89(?:0[024589]|[1-9]\\d))\\d{3}|2(?:[1-69]\\d|[78][0-8])\\d{5}",[8]],["[67]\\d{7}",[8]],["800\\d{8}|80[01]\\d{4}",[7,11]],["900\\d{4}(?:\\d{4})?",[7,11]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721",[["7215(?:4[2-8]|8[239]|9[056])\\d{4}"],["7215(?:1[02]|2\\d|5[034679]|8[014-8])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],SY:["963","00","[1-359]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-4]|5[1-3]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[59]"],"0$1",1]],"0",0,0,0,0,0,[["21\\d{6,7}|(?:1(?:[14]\\d|[2356])|2[235]|3(?:[13]\\d|4)|4[134]|5[1-3])\\d{6}"],["(?:50|9[1-689])\\d{7}",[9]]]],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]],0,0,0,0,0,0,[["[23][2-5]\\d{6}",[8]],["7[6-9]\\d{6}",[8]],["0800\\d{4}",[8]],["900\\d{6}",[9]],0,0,0,0,["70\\d{6}",[8]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8",[["8\\d{3}"]]],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649",[["649(?:266|712|9(?:4\\d|50))\\d{4}"],["649(?:2(?:3[129]|4[1-79])|3\\d\\d|4[34][1-3])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,0,["649(?:71[01]|966)\\d{4}"]]],TD:["235","00|16","(?:22|[689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"]]],0,0,0,0,0,0,[["22(?:[37-9]0|5[0-5]|6[89])\\d{4}"],["(?:[69]\\d|77|8[56])\\d{6}"]],"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]],0,0,0,0,0,0,[["2(?:2[2-7]|3[23]|4[45]|55|6[67]|77)\\d{5}"],["(?:7[0-29]|9[0-36-9])\\d{6}"]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0",0,0,0,0,0,[["(?:1[0689]|2\\d|3[2-9]|4[2-5]|5[2-6]|7[3-7])\\d{6}",[8]],["67(?:1[0-8]|2[4-7])\\d{5}|(?:14|6[1-6]|[89]\\d)\\d{7}",[9]],["(?:001800\\d|1800)\\d{6}",[10,13]],["1900\\d{6}",[10]],0,0,0,0,["6[08]\\d{7}",[9]]]],TJ:["992","810","[0-57-9]\\d{8}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3(?:[1245]|3[12])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],0,0,0,0,0,0,[["(?:3(?:1[3-5]|2[245]|3[12]|4[24-7]|5[25]|72)|4(?:46|74|87))\\d{6}"],["(?:33[03-9]|4(?:1[18]|4[02-479])|81[1-9])\\d{6}|(?:[09]\\d|1[0-27-9]|2[0-27]|[34]0|5[05]|7[01578]|8[078])\\d{7}"]],"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7],0,0,0,0,0,0,0,[["(?:2[2-4]|[34]\\d)\\d{2,5}"],["7[2-4]\\d{2,5}"]]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]],0,0,0,0,0,0,[["(?:2[1-5]|3[1-9]|4[1-4])\\d{5}",[7]],["7[2-8]\\d{6}",[8]],["80\\d{5}",[7]],["90\\d{5}",[7]],["70\\d{5}",[7]]]],TM:["993","810","(?:[1-6]\\d|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,[["(?:1(?:2\\d|3[1-9])|2(?:22|4[0-35-8])|3(?:22|4[03-9])|4(?:22|3[128]|4\\d|6[15])|5(?:22|5[7-9]|6[014-689]))\\d{5}"],["(?:6\\d|71)\\d{6}"]],"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]],0,0,0,0,0,0,[["81200\\d{3}|(?:3[0-2]|7\\d)\\d{6}"],["3(?:001|[12]40)\\d{4}|(?:(?:[259]\\d|4[0-8])\\d|3(?:1[1-35]|6[0-4]|91))\\d{5}"],["8010\\d{4}"],["88\\d{6}"],0,0,0,0,0,["8[12]10\\d{4}"]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]],0,0,0,0,0,0,[["(?:2\\d|3[0-8]|4[0-4]|50|6[09]|7[0-24-69]|8[05])\\d{3}",[5]],["(?:5(?:4[0-5]|5[4-6])|6(?:[09]\\d|3[02]|8[15-9])|(?:7\\d|8[46-9])\\d|999)\\d{4}",[7]],["0800\\d{3}",[7]],0,0,0,0,0,["55[0-37-9]\\d{4}",[7]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0",0,0,0,0,0,[["(?:2(?:[13][26]|[28][2468]|[45][268]|[67][246])|3(?:[13][28]|[24-6][2468]|[78][02468]|92)|4(?:[16][246]|[23578][2468]|4[26]))\\d{7}",[10]],["561(?:011|61\\d)\\d{4}|5(?:0[15-7]|1[06]|24|[34]\\d|5[1-59]|9[46])\\d{7}",[10]],["8(?:00\\d{7}(?:\\d{2,3})?|11\\d{7})",[10,12,13]],["(?:8[89]8|900)\\d{7}",[10]],["592(?:21[12]|461)\\d{4}",[10]],0,["444\\d{4}",[7]],["512\\d{7}",[10]],["850\\d{7}",[10]]]],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868",[["868(?:2(?:01|1[5-9]|[23]\\d|4[0-2])|6(?:0[7-9]|1[02-8]|2[1-9]|[3-69]\\d|7[0-79])|82[124])\\d{4}"],["868(?:(?:2[5-9]|3\\d)\\d|4(?:3[0-6]|[6-9]\\d)|6(?:20|78|8\\d)|7(?:0[1-9]|1[02-9]|[2-9]\\d))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],["868619\\d{4}"]]],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]],0,0,0,0,0,0,[["2[02-9]\\d{3}",[5]],["(?:7[01]\\d|90)\\d{4}",[6,7]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,[["(?:2[2-8]\\d|370|55[01]|7[1-9])\\d{6}|4(?:(?:0(?:0[1-9]|[2-48]\\d)|1[023]\\d)\\d{4,5}|(?:[239]\\d\\d|4(?:0[56]|12|49))\\d{5})|6(?:[01]\\d{7}|4(?:0[56]|12|24|4[09])\\d{4,5})|8(?:(?:2(?:3\\d|4[0-269]|[578]0|66)|36[24-9]|90\\d\\d)\\d{4}|4(?:0[56]|12|24|4[09])\\d{4,5})|(?:2(?:2(?:0\\d\\d|4(?:0[68]|[249]0|3[0-467]|5[0-25-9]|6[0235689]))|(?:3(?:[09]\\d|1[0-4])|(?:4\\d|5[0-49]|6[0-29]|7[0-5])\\d)\\d)|(?:(?:3[2-9]|5[2-8]|6[0-35-79]|8[7-9])\\d\\d|4(?:2(?:[089]\\d|7[1-9])|(?:3[0-4]|[78]\\d|9[01])\\d))\\d)\\d{3}",[8,9]],["(?:40001[0-2]|9[0-8]\\d{4})\\d{3}",[9]],["80[0-79]\\d{6}|800\\d{5}",[8,9]],["20(?:[013-9]\\d\\d|2)\\d{4}",[7,9]],["99\\d{7}",[9]],0,["50[0-46-9]\\d{6}",[9]],0,["7010(?:[0-2679]\\d|3[0-7]|8[0-5])\\d{5}|70\\d{8}",[10,11]]],0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0",0,0,0,0,0,[["2[2-8]\\d{7}"],["(?:6[125-9]|7[13-9])\\d{7}"],["80[08]\\d{6}"],["90\\d{7}"],0,0,0,0,["41\\d{7}"],["8(?:40|6[01])\\d{6}"]]],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,[["(?:3[1-8]|4[13-8]|5[1-7]|6[12459])\\d{7}",[9]],["790\\d{6}|(?:39|50|6[36-8]|7[1-357]|9[1-9])\\d{7}",[9]],["800[1-8]\\d{5,6}"],["900[239]\\d{5,6}"],0,0,0,0,["89[1-579]\\d{6}",[9]]],"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0",0,0,0,0,0,[["20(?:(?:240|30[67])\\d|6(?:00[0-2]|30[0-4]))\\d{3}|(?:20(?:[017]\\d|2[5-9]|3[1-4]|5[0-4]|6[15-9])|[34]\\d{3})\\d{5}"],["72[48]0\\d{5}|7(?:[015-8]\\d|2[067]|36|4[0-8]|9[089])\\d{6}"],["800[1-3]\\d{5}"],["90[1-3]\\d{6}"]]],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[0-468]))\\d{4}|(?:2742|305[3-9]|472[247-9]|505[2-57-9]|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[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-389]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,0,["305209\\d{4}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",[6,7,8,9,10,11,12,13],[["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,[["(?:1(?:770|9(?:20|[89]7))|(?:2\\d|4[2-7])\\d\\d)\\d{4}",[8]],["9[1-9]\\d{6}",[8]],["0004\\d{2,9}|(?:405|80[05])\\d{4}"],["90[0-8]\\d{4}",[7]]],"00"," int. "],UZ:["998","00","(?:20|33|[5-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]],0,0,0,0,0,0,[["(?:55\\d\\d|6(?:1(?:22|3[124]|4[1-4]|5[1-3578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|[69]\\d\\d|7(?:[23]\\d|7[69]))|7(?:0(?:5[4-9]|6[0146]|7[124-6]|9[135-8])|[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[78]|9[0-57-9])\\d{3}|6(?:1(?:2(?:2[01]|98)|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:(?:11|7\\d)\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7\\d)\\d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079])))|7(?:[07]\\d{3}|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07]))))\\d{4}"]]],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11,12],0,0,0,0,0,0,"06698",[["06698\\d{1,6}",[6,7,8,9,10,11]],["3[1-9]\\d{8}|3[2-9]\\d{7}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784",[["784(?:266|3(?:6[6-9]|7\\d|8[0-6])|4(?:38|5[0-36-8]|8[0-8])|5(?:55|7[0-2]|93)|638|784)\\d{4}"],["784(?:4(?:3[0-5]|5[45]|89|9[0-8])|5(?:2[6-9]|3[0-4])|720)\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,0,["78451[0-2]\\d{4}"]]],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0",0,0,0,0,0,[["(?:2(?:12|3[457-9]|[467]\\d|[58][1-9]|9[1-6])|[4-6]00)\\d{7}"],["4(?:1[24-8]|2[246])\\d{7}"],["800\\d{7}"],["90[01]\\d{7}"],0,0,["501\\d{7}"]]],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284",[["284(?:229|4(?:22|9[45])|774|8(?:52|6[459]))\\d{4}"],["284(?:245|3(?:0[0-3]|4[0-7]|68|9[34])|4(?:4[0-6]|68|9[69])|5(?:4[0-7]|68|9[69]))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340",[["340(?:2(?:0\\d|10|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0",0,0,0,0,0,[["2(?:0[3-9]|1[0-689]|2[0-25-9]|[38][2-9]|4[2-8]|5[124-9]|6[0-39]|7[0-7]|9[0-4679])\\d{7}",[10]],["(?:5(?:2[238]|59)|89[6-9]|99[013-9])\\d{6}|(?:3\\d|5[1689]|7[06-9]|8[1-8]|9[0-8])\\d{7}",[9]],["1800\\d{4,6}|12(?:0[13]|28)\\d{4}",[8,9,10]],["1900\\d{4,6}",[8,9,10]],0,0,["(?:[17]99|80\\d)\\d{4}|69\\d{5,6}",[7,8]],0,["672\\d{6}",[9]]]],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]],0,0,0,0,0,0,[["(?:38[0-8]|48[4-9])\\d\\d|(?:2[02-9]|3[4-7]|88)\\d{3}",[5]],["(?:[58]\\d|7[013-7])\\d{5}",[7]],["81[18]\\d\\d",[5]],0,0,0,["(?:3[03]|900\\d)\\d{3}"],0,["9(?:0[1-9]|1[01])\\d{4}",[7]]]],WF:["681","00","(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[47-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],0,0,0,0,0,0,[["72\\d{4}",[6]],["(?:72|8[23])\\d{4}",[6]],["80[0-5]\\d{6}",[9]],0,0,["[48]0\\d{4}",[6]],0,0,["9[23]\\d{4}",[6]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]],0,0,0,0,0,0,[["6[1-9]\\d{3}|(?:[2-5]|60)\\d{4}",[5,6]],["(?:7[1-35-7]|8(?:[3-7]|9\\d{3}))\\d{5}",[7,10]],["800\\d{3}",[6]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0",0,0,0,0,0,[["38\\d{6,10}|(?:2[89]|39)(?:0\\d{5,6}|[1-9]\\d{5})"],["4[3-9]\\d{6}",[8]],["800\\d{5}",[8]],["900\\d{5}",[8]]]],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,[["78[0-7]\\d{4}|17\\d{6}|(?:[12][2-68]|3[2358]|4[2-58]|5[2-6]|6[3-58]|7[24-6])\\d{5}",[7,8]],["7[01378]\\d{7}",[9]]]],YT:["262","00","7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"],["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0",0,0,0,0,0,[["(?: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]|6\\d\\d|7(?:[0-46-9]\\d|5[0-4]))\\d\\d|8(?:5\\d{3}|7(?:08[67]|158|28[5-9]|310)))\\d{4}|(?:1[6-8]|28|3[2-69]|4[025689]|5[36-8])4920\\d{3}|(?:12|[2-5]1)492\\d{4}",[5,6,7,8,9]],["80\\d{7}",[9]],["(?:86[2-9]|9[0-2]\\d)\\d{6}",[9]],0,0,["861\\d{6,7}",[9,10]],0,["87(?:08[0-589]|15[0-79]|28[0-4]|31[1-9])\\d{4}|87(?:[02][0-79]|1[0-46-9]|3[02-9]|[4-9]\\d)\\d{5}",[9]],["860\\d{6}",[9]]]],ZM:["260","00","800\\d{6}|(?:21|[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|51"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",[7,8,9,10,12]],0,0,0,["348[57]\\d{7}",[11]],0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};var Zn={exports:{}},Jn={exports:{}},Oe={};/** @license React v16.13.1
|
|
39
|
+
color: hsl(${Math.max(0,Math.min(120-120*v,120))}deg 100% 31%);`,t?.key)}return(s=t?.onChange)==null||s.call(t,i),i}return o.updateDeps=a=>{r=a},o}function Mr(e,n){if(e===void 0)throw new Error("Unexpected undefined");return e}const t0=(e,n)=>Math.abs(e-n)<1,n0=(e,n,t)=>{let r;return function(...i){e.clearTimeout(r),r=e.setTimeout(()=>n.apply(this,i),t)}},r0=e=>e,i0=e=>{const n=Math.max(e.startIndex-e.overscan,0),t=Math.min(e.endIndex+e.overscan,e.count-1),r=[];for(let i=n;i<=t;i++)r.push(i);return r},o0=(e,n)=>{const t=e.scrollElement;if(!t)return;const r=e.targetWindow;if(!r)return;const i=a=>{const{width:d,height:l}=a;n({width:Math.round(d),height:Math.round(l)})};if(i(t.getBoundingClientRect()),!r.ResizeObserver)return()=>{};const o=new r.ResizeObserver(a=>{const d=()=>{const l=a[0];if(l?.borderBoxSize){const s=l.borderBoxSize[0];if(s){i({width:s.inlineSize,height:s.blockSize});return}}i(t.getBoundingClientRect())};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(d):d()});return o.observe(t,{box:"border-box"}),()=>{o.unobserve(t)}},Do={passive:!0},Ro=typeof window>"u"?!0:"onscrollend"in window,a0=(e,n)=>{const t=e.scrollElement;if(!t)return;const r=e.targetWindow;if(!r)return;let i=0;const o=e.options.useScrollendEvent&&Ro?()=>{}:n0(r,()=>{n(i,!1)},e.options.isScrollingResetDelay),a=f=>()=>{const{horizontal:g,isRtl:m}=e.options;i=g?t.scrollLeft*(m&&-1||1):t.scrollTop,o(),n(i,f)},d=a(!0),l=a(!1);l(),t.addEventListener("scroll",d,Do);const s=e.options.useScrollendEvent&&Ro;return s&&t.addEventListener("scrollend",l,Do),()=>{t.removeEventListener("scroll",d),s&&t.removeEventListener("scrollend",l)}},d0=(e,n,t)=>{if(n?.borderBoxSize){const r=n.borderBoxSize[0];if(r)return Math.round(r[t.options.horizontal?"inlineSize":"blockSize"])}return Math.round(e.getBoundingClientRect()[t.options.horizontal?"width":"height"])},l0=(e,{adjustments:n=0,behavior:t},r)=>{var i,o;const a=e+n;(o=(i=r.scrollElement)==null?void 0:i.scrollTo)==null||o.call(i,{[r.options.horizontal?"left":"top"]:a,behavior:t})};class s0{constructor(n){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let t=null;const r=()=>t||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:t=new this.targetWindow.ResizeObserver(i=>{i.forEach(o=>{const a=()=>{this._measureElement(o.target,o)};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(a):a()})}));return{disconnect:()=>{var i;(i=r())==null||i.disconnect(),t=null},observe:i=>{var o;return(o=r())==null?void 0:o.observe(i,{box:"border-box"})},unobserve:i=>{var o;return(o=r())==null?void 0:o.unobserve(i)}}})(),this.range=null,this.setOptions=t=>{Object.entries(t).forEach(([r,i])=>{typeof i>"u"&&delete t[r]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:r0,rangeExtractor:i0,onChange:()=>{},measureElement:d0,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,...t}},this.notify=t=>{var r,i;(i=(r=this.options).onChange)==null||i.call(r,this,t)},this.maybeNotify=Dt(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),t=>{this.notify(t)},{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(t=>t()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var t;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=((t=this.scrollElement)==null?void 0:t.window)??null,this.elementsCache.forEach(i=>{this.observer.observe(i)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,i=>{this.scrollRect=i,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(i,o)=>{this.scrollAdjustments=0,this.scrollDirection=o?this.getScrollOffset()<i?"forward":"backward":null,this.scrollOffset=i,this.isScrolling=o,this.maybeNotify()}))}},this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??(typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(t,r)=>{const i=new Map,o=new Map;for(let a=r-1;a>=0;a--){const d=t[a];if(i.has(d.lane))continue;const l=o.get(d.lane);if(l==null||d.end>l.end?o.set(d.lane,d):d.end<l.end&&i.set(d.lane,!0),i.size===this.options.lanes)break}return o.size===this.options.lanes?Array.from(o.values()).sort((a,d)=>a.end===d.end?a.index-d.index:a.end-d.end)[0]:void 0},this.getMeasurementOptions=Dt(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(t,r,i,o,a)=>(this.pendingMeasuredCacheIndexes=[],{count:t,paddingStart:r,scrollMargin:i,getItemKey:o,enabled:a}),{key:!1}),this.getMeasurements=Dt(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:t,paddingStart:r,scrollMargin:i,getItemKey:o,enabled:a},d)=>{if(!a)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(f=>{this.itemSizeCache.set(f.key,f.size)}));const l=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];const s=this.measurementsCache.slice(0,l);for(let f=l;f<t;f++){const g=o(f),m=this.options.lanes===1?s[f-1]:this.getFurthestMeasurement(s,f),p=m?m.end+this.options.gap:r+i,c=d.get(g),h=typeof c=="number"?c:this.options.estimateSize(f),v=p+h,E=m?m.lane:f%this.options.lanes;s[f]={index:f,start:p,size:h,end:v,key:g,lane:E}}return this.measurementsCache=s,s},{key:process.env.NODE_ENV!=="production"&&"getMeasurements",debug:()=>this.options.debug}),this.calculateRange=Dt(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(t,r,i,o)=>this.range=t.length>0&&r>0?u0({measurements:t,outerSize:r,scrollOffset:i,lanes:o}):null,{key:process.env.NODE_ENV!=="production"&&"calculateRange",debug:()=>this.options.debug}),this.getVirtualIndexes=Dt(()=>{let t=null,r=null;const i=this.calculateRange();return i&&(t=i.startIndex,r=i.endIndex),this.maybeNotify.updateDeps([this.isScrolling,t,r]),[this.options.rangeExtractor,this.options.overscan,this.options.count,t,r]},(t,r,i,o,a)=>o===null||a===null?[]:t({startIndex:o,endIndex:a,overscan:r,count:i}),{key:process.env.NODE_ENV!=="production"&&"getVirtualIndexes",debug:()=>this.options.debug}),this.indexFromElement=t=>{const r=this.options.indexAttribute,i=t.getAttribute(r);return i?parseInt(i,10):(console.warn(`Missing attribute name '${r}={index}' on measured element.`),-1)},this._measureElement=(t,r)=>{const i=this.indexFromElement(t),o=this.measurementsCache[i];if(!o)return;const a=o.key,d=this.elementsCache.get(a);d!==t&&(d&&this.observer.unobserve(d),this.observer.observe(t),this.elementsCache.set(a,t)),t.isConnected&&this.resizeItem(i,this.options.measureElement(t,r,this))},this.resizeItem=(t,r)=>{const i=this.measurementsCache[t];if(!i)return;const o=this.itemSizeCache.get(i.key)??i.size,a=r-o;a!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(i,a,this):i.start<this.getScrollOffset()+this.scrollAdjustments)&&(process.env.NODE_ENV!=="production"&&this.options.debug&&console.info("correction",a),this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=a,behavior:void 0})),this.pendingMeasuredCacheIndexes.push(i.index),this.itemSizeCache=new Map(this.itemSizeCache.set(i.key,r)),this.notify(!1))},this.measureElement=t=>{if(!t){this.elementsCache.forEach((r,i)=>{r.isConnected||(this.observer.unobserve(r),this.elementsCache.delete(i))});return}this._measureElement(t,void 0)},this.getVirtualItems=Dt(()=>[this.getVirtualIndexes(),this.getMeasurements()],(t,r)=>{const i=[];for(let o=0,a=t.length;o<a;o++){const d=t[o],l=r[d];i.push(l)}return i},{key:process.env.NODE_ENV!=="production"&&"getVirtualItems",debug:()=>this.options.debug}),this.getVirtualItemForOffset=t=>{const r=this.getMeasurements();if(r.length!==0)return Mr(r[Bo(0,r.length-1,i=>Mr(r[i]).start,t)])},this.getOffsetForAlignment=(t,r,i=0)=>{const o=this.getSize(),a=this.getScrollOffset();r==="auto"&&(r=t>=a+o?"end":"start"),r==="center"?t+=(i-o)/2:r==="end"&&(t-=o);const d=this.options.horizontal?"scrollWidth":"scrollHeight",s=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[d]:this.scrollElement[d]:0)-o;return Math.max(Math.min(s,t),0)},this.getOffsetForIndex=(t,r="auto")=>{t=Math.max(0,Math.min(t,this.options.count-1));const i=this.measurementsCache[t];if(!i)return;const o=this.getSize(),a=this.getScrollOffset();if(r==="auto")if(i.end>=a+o-this.options.scrollPaddingEnd)r="end";else if(i.start<=a+this.options.scrollPaddingStart)r="start";else return[a,r];const d=r==="end"?i.end+this.options.scrollPaddingEnd:i.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(d,r,i.size),r]},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{this.scrollToIndexTimeoutId!==null&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(t,{align:r="start",behavior:i}={})=>{this.cancelScrollToIndex(),i==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(t,r),{adjustments:void 0,behavior:i})},this.scrollToIndex=(t,{align:r="auto",behavior:i}={})=>{t=Math.max(0,Math.min(t,this.options.count-1)),this.cancelScrollToIndex(),i==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");const o=this.getOffsetForIndex(t,r);if(!o)return;const[a,d]=o;this._scrollToOffset(a,{adjustments:void 0,behavior:i}),i!=="smooth"&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(t))){const[s]=Mr(this.getOffsetForIndex(t,d));t0(s,this.getScrollOffset())||this.scrollToIndex(t,{align:d,behavior:i})}else this.scrollToIndex(t,{align:d,behavior:i})}))},this.scrollBy=(t,{behavior:r}={})=>{this.cancelScrollToIndex(),r==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+t,{adjustments:void 0,behavior:r})},this.getTotalSize=()=>{var t;const r=this.getMeasurements();let i;if(r.length===0)i=this.options.paddingStart;else if(this.options.lanes===1)i=((t=r[r.length-1])==null?void 0:t.end)??0;else{const o=Array(this.options.lanes).fill(null);let a=r.length-1;for(;a>0&&o.some(d=>d===null);){const d=r[a];o[d.lane]===null&&(o[d.lane]=d.end),a--}i=Math.max(...o.filter(d=>d!==null))}return Math.max(i-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(t,{adjustments:r,behavior:i})=>{this.options.scrollToFn(t,{behavior:i,adjustments:r},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(n)}}const Bo=(e,n,t,r)=>{for(;e<=n;){const i=(e+n)/2|0,o=t(i);if(o<r)e=i+1;else if(o>r)n=i-1;else return i}return e>0?e-1:0};function u0({measurements:e,outerSize:n,scrollOffset:t,lanes:r}){const i=e.length-1,o=l=>e[l].start;if(e.length<=r)return{startIndex:0,endIndex:i};let a=Bo(0,i,o,t),d=a;if(r===1)for(;d<i&&e[d].end<t+n;)d++;else if(r>1){const l=Array(r).fill(0);for(;d<i&&l.some(f=>f<t+n);){const f=e[d];l[f.lane]=f.end,d++}const s=Array(r).fill(t+n);for(;a>0&&s.some(f=>f>=t);){const f=e[a];s[f.lane]=f.start,a--}a=Math.max(0,a-a%r),d=Math.min(i,d+(r-1-d%r))}return{startIndex:a,endIndex:d}}const Wo=typeof document<"u"?le.useLayoutEffect:le.useEffect;function c0(e){const n=le.useReducer(()=>({}),{})[1],t={...e,onChange:(i,o)=>{var a;o?Ae.flushSync(n):n(),(a=e.onChange)==null||a.call(e,i,o)}},[r]=le.useState(()=>new s0(t));return r.setOptions(t),Wo(()=>r._didMount(),[]),Wo(()=>r._willUpdate()),r}function f0(e){return c0({observeElementRect:o0,observeElementOffset:a0,scrollToFn:l0,...e})}function p0(e,n){return e!==null&&n!==null&&typeof e=="object"&&typeof n=="object"&&"id"in e&&"id"in n?e.id===n.id:e===n}function Vo(e=p0){return u.useCallback((n,t)=>{if(typeof e=="string"){let r=e;return n?.[r]===t?.[r]}return e(n,t)},[e])}function m0(e){if(e===null)return{width:0,height:0};let{width:n,height:t}=e.getBoundingClientRect();return{width:n,height:t}}function Lr(e,n=!1){let[t,r]=u.useReducer(()=>({}),{}),i=u.useMemo(()=>m0(e),[e,t]);return Ce(()=>{if(!e)return;let o=new ResizeObserver(r);return o.observe(e),()=>{o.disconnect()}},[e]),n?{width:`${i.width}px`,height:`${i.height}px`}:i}let h0=class extends Map{constructor(n){super(),this.factory=n}get(n){let t=super.get(n);return t===void 0&&(t=this.factory(n),this.set(n,t)),t}};function Uo(e,n){let t=e(),r=new Set;return{getSnapshot(){return t},subscribe(i){return r.add(i),()=>r.delete(i)},dispatch(i,...o){let a=n[i].call(t,...o);a&&(t=a,r.forEach(d=>d()))}}}function Ho(e){return u.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot)}let g0=new h0(()=>Uo(()=>[],{ADD(e){return this.includes(e)?this:[...this,e]},REMOVE(e){let n=this.indexOf(e);if(n===-1)return this;let t=this.slice();return t.splice(n,1),t}}));function jr(e,n){let t=g0.get(n),r=u.useId(),i=Ho(t);if(Ce(()=>{if(e)return t.dispatch("ADD",r),()=>t.dispatch("REMOVE",r)},[t,e]),!e)return!1;let o=i.indexOf(r),a=i.length;return o===-1&&(o=a,a+=1),o===a-1}let Dr=new Map,sn=new Map;function Go(e){var n;let t=(n=sn.get(e))!=null?n:0;return sn.set(e,t+1),t!==0?()=>zo(e):(Dr.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0,()=>zo(e))}function zo(e){var n;let t=(n=sn.get(e))!=null?n:1;if(t===1?sn.delete(e):sn.set(e,t-1),t!==1)return;let r=Dr.get(e);r&&(r["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r["aria-hidden"]),e.inert=r.inert,Dr.delete(e))}function Ko(e,{allowed:n,disallowed:t}={}){let r=jr(e,"inert-others");Ce(()=>{var i,o;if(!r)return;let a=et();for(let l of(i=t?.())!=null?i:[])l&&a.add(Go(l));let d=(o=n?.())!=null?o:[];for(let l of d){if(!l)continue;let s=Lt(l);if(!s)continue;let f=l.parentElement;for(;f&&f!==s.body;){for(let g of f.children)d.some(m=>g.contains(m))||a.add(Go(g));f=f.parentElement}}return a.dispose},[r,n,t])}function qo(e,n,t){let r=mt(i=>{let o=i.getBoundingClientRect();o.x===0&&o.y===0&&o.width===0&&o.height===0&&t()});u.useEffect(()=>{if(!e)return;let i=n===null?null:n instanceof HTMLElement?n:n.current;if(!i)return;let o=et();if(typeof ResizeObserver<"u"){let a=new ResizeObserver(()=>r.current(i));a.observe(i),o.add(()=>a.disconnect())}if(typeof IntersectionObserver<"u"){let a=new IntersectionObserver(()=>r.current(i));a.observe(i),o.add(()=>a.disconnect())}return()=>o.dispose()},[n,r,e])}let Fn=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),v0=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var Rr=(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))(Rr||{}),$0=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))($0||{}),b0=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(b0||{});function Yo(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Fn)).sort((n,t)=>Math.sign((n.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}function y0(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(v0)).sort((n,t)=>Math.sign((n.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var Br=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Br||{});function Xo(e,n=0){var t;return e===((t=Lt(e))==null?void 0:t.body)?!1:We(n,{0(){return e.matches(Fn)},1(){let r=e;for(;r!==null;){if(r.matches(Fn))return!0;r=r.parentElement}return!1}})}var w0=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(w0||{});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 x0=["textarea","input"].join(",");function C0(e){var n,t;return(t=(n=e?.matches)==null?void 0:n.call(e,x0))!=null?t:!1}function Wr(e,n=t=>t){return e.slice().sort((t,r)=>{let i=n(t),o=n(r);if(i===null||o===null)return 0;let a=i.compareDocumentPosition(o);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function E0(e,n){return S0(Yo(),n,{relativeTo:e})}function S0(e,n,{sorted:t=!0,relativeTo:r=null,skipElements:i=[]}={}){let o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,a=Array.isArray(e)?t?Wr(e):e:n&64?y0(e):Yo(e);i.length>0&&a.length>1&&(a=a.filter(p=>!i.some(c=>c!=null&&"current"in c?c?.current===p:c===p))),r=r??o.activeElement;let d=(()=>{if(n&5)return 1;if(n&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=(()=>{if(n&1)return 0;if(n&2)return Math.max(0,a.indexOf(r))-1;if(n&4)return Math.max(0,a.indexOf(r))+1;if(n&8)return a.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),s=n&32?{preventScroll:!0}:{},f=0,g=a.length,m;do{if(f>=g||f+g<=0)return 0;let p=l+f;if(n&16)p=(p+g)%g;else{if(p<0)return 3;if(p>=g)return 1}m=a[p],m?.focus(s),f+=d}while(m!==o.activeElement);return n&6&&C0(m)&&m.select(),2}function Zo(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function O0(){return/Android/gi.test(window.navigator.userAgent)}function Jo(){return Zo()||O0()}function un(e,n,t,r){let i=mt(t);u.useEffect(()=>{if(!e)return;function o(a){i.current(a)}return document.addEventListener(n,o,r),()=>document.removeEventListener(n,o,r)},[e,n,r])}function P0(e,n,t,r){let i=mt(t);u.useEffect(()=>{if(!e)return;function o(a){i.current(a)}return window.addEventListener(n,o,r),()=>window.removeEventListener(n,o,r)},[e,n,r])}const Qo=30;function ea(e,n,t){let r=jr(e,"outside-click"),i=mt(t),o=u.useCallback(function(l,s){if(l.defaultPrevented)return;let f=s(l);if(f===null||!f.getRootNode().contains(f)||!f.isConnected)return;let g=function m(p){return typeof p=="function"?m(p()):Array.isArray(p)||p instanceof Set?p:[p]}(n);for(let m of g)if(m!==null&&(m.contains(f)||l.composed&&l.composedPath().includes(m)))return;return!Xo(f,Br.Loose)&&f.tabIndex!==-1&&l.preventDefault(),i.current(l,f)},[i,n]),a=u.useRef(null);un(r,"pointerdown",l=>{var s,f;a.current=((f=(s=l.composedPath)==null?void 0:s.call(l))==null?void 0:f[0])||l.target},!0),un(r,"mousedown",l=>{var s,f;a.current=((f=(s=l.composedPath)==null?void 0:s.call(l))==null?void 0:f[0])||l.target},!0),un(r,"click",l=>{Jo()||a.current&&(o(l,()=>a.current),a.current=null)},!0);let d=u.useRef({x:0,y:0});un(r,"touchstart",l=>{d.current.x=l.touches[0].clientX,d.current.y=l.touches[0].clientY},!0),un(r,"touchend",l=>{let s={x:l.changedTouches[0].clientX,y:l.changedTouches[0].clientY};if(!(Math.abs(s.x-d.current.x)>=Qo||Math.abs(s.y-d.current.y)>=Qo))return o(l,()=>l.target instanceof HTMLElement?l.target:null)},!0),P0(r,"blur",l=>o(l,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function cn(...e){return u.useMemo(()=>Lt(...e),[...e])}function T0(e,n,t,r){let i=mt(t);u.useEffect(()=>{e=e??window;function o(a){i.current(a)}return e.addEventListener(n,o,r),()=>e.removeEventListener(n,o,r)},[e,n,r])}function ta(e){let n=u.useRef({value:"",selectionStart:null,selectionEnd:null});return T0(e,"blur",t=>{let r=t.target;r instanceof HTMLInputElement&&(n.current={value:r.value,selectionStart:r.selectionStart,selectionEnd:r.selectionEnd})}),te(()=>{if(document.activeElement!==e&&e instanceof HTMLInputElement&&e.isConnected){if(e.focus({preventScroll:!0}),e.value!==n.current.value)e.setSelectionRange(e.value.length,e.value.length);else{let{selectionStart:t,selectionEnd:r}=n.current;t!==null&&r!==null&&e.setSelectionRange(t,r)}n.current={value:"",selectionStart:null,selectionEnd:null}}})}function na(e,n){return u.useMemo(()=>{var t;if(e.type)return e.type;let r=(t=e.as)!=null?t:"button";if(typeof r=="string"&&r.toLowerCase()==="button"||n?.tagName==="BUTTON"&&!n.hasAttribute("type"))return"button"},[e.type,e.as,n])}function I0(){let e;return{before({doc:n}){var t;let r=n.documentElement,i=(t=n.defaultView)!=null?t:window;e=Math.max(0,i.innerWidth-r.clientWidth)},after({doc:n,d:t}){let r=n.documentElement,i=Math.max(0,r.clientWidth-r.offsetWidth),o=Math.max(0,e-i);t.style(r,"paddingRight",`${o}px`)}}}function N0(){return Zo()?{before({doc:e,d:n,meta:t}){function r(i){return t.containers.flatMap(o=>o()).some(o=>o.contains(i))}n.microTask(()=>{var i;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let d=et();d.style(e.documentElement,"scrollBehavior","auto"),n.add(()=>n.microTask(()=>d.dispose()))}let o=(i=window.scrollY)!=null?i:window.pageYOffset,a=null;n.addEventListener(e,"click",d=>{if(d.target instanceof HTMLElement)try{let l=d.target.closest("a");if(!l)return;let{hash:s}=new URL(l.href),f=e.querySelector(s);f&&!r(f)&&(a=f)}catch{}},!0),n.addEventListener(e,"touchstart",d=>{if(d.target instanceof HTMLElement)if(r(d.target)){let l=d.target;for(;l.parentElement&&r(l.parentElement);)l=l.parentElement;n.style(l,"overscrollBehavior","contain")}else n.style(d.target,"touchAction","none")}),n.addEventListener(e,"touchmove",d=>{if(d.target instanceof HTMLElement){if(d.target.tagName==="INPUT")return;if(r(d.target)){let l=d.target;for(;l.parentElement&&l.dataset.headlessuiPortal!==""&&!(l.scrollHeight>l.clientHeight||l.scrollWidth>l.clientWidth);)l=l.parentElement;l.dataset.headlessuiPortal===""&&d.preventDefault()}else d.preventDefault()}},{passive:!1}),n.add(()=>{var d;let l=(d=window.scrollY)!=null?d:window.pageYOffset;o!==l&&window.scrollTo(0,o),a&&a.isConnected&&(a.scrollIntoView({block:"nearest"}),a=null)})})}}:{}}function _0(){return{before({doc:e,d:n}){n.style(e.documentElement,"overflow","hidden")}}}function A0(e){let n={};for(let t of e)Object.assign(n,t(n));return n}let It=Uo(()=>new Map,{PUSH(e,n){var t;let r=(t=this.get(e))!=null?t:{doc:e,count:0,d:et(),meta:new Set};return r.count++,r.meta.add(n),this.set(e,r),this},POP(e,n){let t=this.get(e);return t&&(t.count--,t.meta.delete(n)),this},SCROLL_PREVENT({doc:e,d:n,meta:t}){let r={doc:e,d:n,meta:A0(t)},i=[N0(),I0(),_0()];i.forEach(({before:o})=>o?.(r)),i.forEach(({after:o})=>o?.(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});It.subscribe(()=>{let e=It.getSnapshot(),n=new Map;for(let[t]of e)n.set(t,t.documentElement.style.overflow);for(let t of e.values()){let r=n.get(t.doc)==="hidden",i=t.count!==0;(i&&!r||!i&&r)&&It.dispatch(t.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",t),t.count===0&&It.dispatch("TEARDOWN",t)}});function k0(e,n,t=()=>({containers:[]})){let r=Ho(It),i=n?r.get(n):void 0,o=i?i.count>0:!1;return Ce(()=>{if(!(!n||!e))return It.dispatch("PUSH",n,t),()=>It.dispatch("POP",n,t)},[e,n]),o}function ra(e,n,t=()=>[document.body]){let r=jr(e,"scroll-lock");k0(r,n,i=>{var o;return{containers:[...(o=i.containers)!=null?o:[],t]}})}function ia(e){return[e.screenX,e.screenY]}function oa(){let e=u.useRef([-1,-1]);return{wasMoved(n){let t=ia(n);return e.current[0]===t[0]&&e.current[1]===t[1]?!1:(e.current=t,!0)},update(n){e.current=ia(n)}}}function F0(e=0){let[n,t]=u.useState(e),r=u.useCallback(l=>t(l),[n]),i=u.useCallback(l=>t(s=>s|l),[n]),o=u.useCallback(l=>(n&l)===l,[n]),a=u.useCallback(l=>t(s=>s&~l),[t]),d=u.useCallback(l=>t(s=>s^l),[t]);return{flags:n,setFlag:r,addFlag:i,hasFlag:o,removeFlag:a,toggleFlag:d}}var aa,da;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((aa=process==null?void 0:process.env)==null?void 0:aa.NODE_ENV)==="test"&&typeof((da=Element?.prototype)==null?void 0:da.getAnimations)>"u"&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(`
|
|
40
|
+
`)),[]});var M0=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(M0||{});function Vr(e){let n={};for(let t in e)e[t]===!0&&(n[`data-${t}`]="");return n}function Ur(e,n,t,r){let[i,o]=u.useState(t),{hasFlag:a,addFlag:d,removeFlag:l}=F0(e&&i?3:0),s=u.useRef(!1),f=u.useRef(!1),g=yt();return Ce(()=>{var m;if(e){if(t&&o(!0),!n){t&&d(3);return}return(m=r?.start)==null||m.call(r,t),L0(n,{inFlight:s,prepare(){f.current?f.current=!1:f.current=s.current,s.current=!0,!f.current&&(t?(d(3),l(4)):(d(4),l(2)))},run(){f.current?t?(l(3),d(4)):(l(4),d(3)):t?l(1):d(1)},done(){var p;f.current&&typeof n.getAnimations=="function"&&n.getAnimations().length>0||(s.current=!1,l(7),t||o(!1),(p=r?.end)==null||p.call(r,t))}})}},[e,t,n,g]),e?[i,{closed:a(1),enter:a(2),leave:a(4),transition:a(2)||a(4)}]:[t,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function L0(e,{prepare:n,run:t,done:r,inFlight:i}){let o=et();return D0(e,{prepare:n,inFlight:i}),o.nextFrame(()=>{t(),o.requestAnimationFrame(()=>{o.add(j0(e,r))})}),o.dispose}function j0(e,n){var t,r;let i=et();if(!e)return i.dispose;let o=!1;i.add(()=>{o=!0});let a=(r=(t=e.getAnimations)==null?void 0:t.call(e).filter(d=>d instanceof CSSTransition))!=null?r:[];return a.length===0?(n(),i.dispose):(Promise.allSettled(a.map(d=>d.finished)).then(()=>{o||n()}),i.dispose)}function D0(e,{inFlight:n,prepare:t}){if(n!=null&&n.current){t();return}let r=e.style.transition;e.style.transition="none",t(),e.offsetHeight,e.style.transition=r}function R0(e,{container:n,accept:t,walk:r}){let i=u.useRef(t),o=u.useRef(r);u.useEffect(()=>{i.current=t,o.current=r},[t,r]),Ce(()=>{if(!n||!e)return;let a=Lt(n);if(!a)return;let d=i.current,l=o.current,s=Object.assign(g=>d(g),{acceptNode:d}),f=a.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,s,!1);for(;f.nextNode();)l(f.currentNode)},[n,e,i,o])}function la(e,n){let t=u.useRef([]),r=te(e);u.useEffect(()=>{let i=[...t.current];for(let[o,a]of n.entries())if(t.current[o]!==a){let d=r(n,i);return t.current=n,d}},[r,...n])}function Mn(){return typeof window<"u"}function Rt(e){return sa(e)?(e.nodeName||"").toLowerCase():"#document"}function Xe(e){var n;return(e==null||(n=e.ownerDocument)==null?void 0:n.defaultView)||window}function st(e){var n;return(n=(sa(e)?e.ownerDocument:e.document)||window.document)==null?void 0:n.documentElement}function sa(e){return Mn()?e instanceof Node||e instanceof Xe(e).Node:!1}function He(e){return Mn()?e instanceof Element||e instanceof Xe(e).Element:!1}function ut(e){return Mn()?e instanceof HTMLElement||e instanceof Xe(e).HTMLElement:!1}function ua(e){return!Mn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Xe(e).ShadowRoot}function fn(e){const{overflow:n,overflowX:t,overflowY:r,display:i}=tt(e);return/auto|scroll|overlay|hidden|clip/.test(n+r+t)&&!["inline","contents"].includes(i)}function B0(e){return["table","td","th"].includes(Rt(e))}function Ln(e){return[":popover-open",":modal"].some(n=>{try{return e.matches(n)}catch{return!1}})}function Hr(e){const n=Gr(),t=He(e)?tt(e):e;return["transform","translate","scale","rotate","perspective"].some(r=>t[r]?t[r]!=="none":!1)||(t.containerType?t.containerType!=="normal":!1)||!n&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!n&&(t.filter?t.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(r=>(t.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(t.contain||"").includes(r))}function W0(e){let n=Ct(e);for(;ut(n)&&!Bt(n);){if(Hr(n))return n;if(Ln(n))return null;n=Ct(n)}return null}function Gr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Bt(e){return["html","body","#document"].includes(Rt(e))}function tt(e){return Xe(e).getComputedStyle(e)}function jn(e){return He(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ct(e){if(Rt(e)==="html")return e;const n=e.assignedSlot||e.parentNode||ua(e)&&e.host||st(e);return ua(n)?n.host:n}function ca(e){const n=Ct(e);return Bt(n)?e.ownerDocument?e.ownerDocument.body:e.body:ut(n)&&fn(n)?n:ca(n)}function pn(e,n,t){var r;n===void 0&&(n=[]),t===void 0&&(t=!0);const i=ca(e),o=i===((r=e.ownerDocument)==null?void 0:r.body),a=Xe(i);if(o){const d=zr(a);return n.concat(a,a.visualViewport||[],fn(i)?i:[],d&&t?pn(d):[])}return n.concat(i,pn(i,[],t))}function zr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function V0(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(n=>{let{brand:t,version:r}=n;return t+"/"+r}).join(" "):navigator.userAgent}const Nt=Math.min,Ge=Math.max,mn=Math.round,Dn=Math.floor,ct=e=>({x:e,y:e}),U0={left:"right",right:"left",bottom:"top",top:"bottom"},H0={start:"end",end:"start"};function fa(e,n,t){return Ge(e,Nt(n,t))}function Wt(e,n){return typeof e=="function"?e(n):e}function Et(e){return e.split("-")[0]}function hn(e){return e.split("-")[1]}function pa(e){return e==="x"?"y":"x"}function ma(e){return e==="y"?"height":"width"}function _t(e){return["top","bottom"].includes(Et(e))?"y":"x"}function ha(e){return pa(_t(e))}function G0(e,n,t){t===void 0&&(t=!1);const r=hn(e),i=ha(e),o=ma(i);let a=i==="x"?r===(t?"end":"start")?"right":"left":r==="start"?"bottom":"top";return n.reference[o]>n.floating[o]&&(a=Rn(a)),[a,Rn(a)]}function z0(e){const n=Rn(e);return[Kr(e),n,Kr(n)]}function Kr(e){return e.replace(/start|end/g,n=>H0[n])}function K0(e,n,t){const r=["left","right"],i=["right","left"],o=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return t?n?i:r:n?r:i;case"left":case"right":return n?o:a;default:return[]}}function q0(e,n,t,r){const i=hn(e);let o=K0(Et(e),t==="start",r);return i&&(o=o.map(a=>a+"-"+i),n&&(o=o.concat(o.map(Kr)))),o}function Rn(e){return e.replace(/left|right|bottom|top/g,n=>U0[n])}function Y0(e){return{top:0,right:0,bottom:0,left:0,...e}}function X0(e){return typeof e!="number"?Y0(e):{top:e,right:e,bottom:e,left:e}}function Bn(e){const{x:n,y:t,width:r,height:i}=e;return{width:r,height:i,top:t,left:n,right:n+r,bottom:t+i,x:n,y:t}}function ga(e,n,t){let{reference:r,floating:i}=e;const o=_t(n),a=ha(n),d=ma(a),l=Et(n),s=o==="y",f=r.x+r.width/2-i.width/2,g=r.y+r.height/2-i.height/2,m=r[d]/2-i[d]/2;let p;switch(l){case"top":p={x:f,y:r.y-i.height};break;case"bottom":p={x:f,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:g};break;case"left":p={x:r.x-i.width,y:g};break;default:p={x:r.x,y:r.y}}switch(hn(n)){case"start":p[a]-=m*(t&&s?-1:1);break;case"end":p[a]+=m*(t&&s?-1:1);break}return p}const Z0=async(e,n,t)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=t,d=o.filter(Boolean),l=await(a.isRTL==null?void 0:a.isRTL(n));let s=await a.getElementRects({reference:e,floating:n,strategy:i}),{x:f,y:g}=ga(s,r,l),m=r,p={},c=0;for(let h=0;h<d.length;h++){const{name:v,fn:E}=d[h],{x:O,y:b,data:x,reset:C}=await E({x:f,y:g,initialPlacement:r,placement:m,strategy:i,middlewareData:p,rects:s,platform:a,elements:{reference:e,floating:n}});f=O??f,g=b??g,p={...p,[v]:{...p[v],...x}},C&&c<=50&&(c++,typeof C=="object"&&(C.placement&&(m=C.placement),C.rects&&(s=C.rects===!0?await a.getElementRects({reference:e,floating:n,strategy:i}):C.rects),{x:f,y:g}=ga(s,m,l)),h=-1)}return{x:f,y:g,placement:m,strategy:i,middlewareData:p}};async function Wn(e,n){var t;n===void 0&&(n={});const{x:r,y:i,platform:o,rects:a,elements:d,strategy:l}=e,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:g="floating",altBoundary:m=!1,padding:p=0}=Wt(n,e),c=X0(p),v=d[m?g==="floating"?"reference":"floating":g],E=Bn(await o.getClippingRect({element:(t=await(o.isElement==null?void 0:o.isElement(v)))==null||t?v:v.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(d.floating)),boundary:s,rootBoundary:f,strategy:l})),O=g==="floating"?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference,b=await(o.getOffsetParent==null?void 0:o.getOffsetParent(d.floating)),x=await(o.isElement==null?void 0:o.isElement(b))?await(o.getScale==null?void 0:o.getScale(b))||{x:1,y:1}:{x:1,y:1},C=Bn(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:O,offsetParent:b,strategy:l}):O);return{top:(E.top-C.top+c.top)/x.y,bottom:(C.bottom-E.bottom+c.bottom)/x.y,left:(E.left-C.left+c.left)/x.x,right:(C.right-E.right+c.right)/x.x}}const J0=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(n){var t,r;const{placement:i,middlewareData:o,rects:a,initialPlacement:d,platform:l,elements:s}=n,{mainAxis:f=!0,crossAxis:g=!0,fallbackPlacements:m,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:c="none",flipAlignment:h=!0,...v}=Wt(e,n);if((t=o.arrow)!=null&&t.alignmentOffset)return{};const E=Et(i),O=_t(d),b=Et(d)===d,x=await(l.isRTL==null?void 0:l.isRTL(s.floating)),C=m||(b||!h?[Rn(d)]:z0(d)),A=c!=="none";!m&&A&&C.push(...q0(d,h,c,x));const j=[d,...C],H=await Wn(n,v),k=[];let F=((r=o.flip)==null?void 0:r.overflows)||[];if(f&&k.push(H[E]),g){const B=G0(i,a,x);k.push(H[B[0]],H[B[1]])}if(F=[...F,{placement:i,overflows:k}],!k.every(B=>B<=0)){var D,X;const B=(((D=o.flip)==null?void 0:D.index)||0)+1,se=j[B];if(se)return{data:{index:B,overflows:F},reset:{placement:se}};let de=(X=F.filter(ae=>ae.overflows[0]<=0).sort((ae,ie)=>ae.overflows[1]-ie.overflows[1])[0])==null?void 0:X.placement;if(!de)switch(p){case"bestFit":{var G;const ae=(G=F.filter(ie=>{if(A){const z=_t(ie.placement);return z===O||z==="y"}return!0}).map(ie=>[ie.placement,ie.overflows.filter(z=>z>0).reduce((z,I)=>z+I,0)]).sort((ie,z)=>ie[1]-z[1])[0])==null?void 0:G[0];ae&&(de=ae);break}case"initialPlacement":de=d;break}if(i!==de)return{reset:{placement:de}}}return{}}}};async function Q0(e,n){const{placement:t,platform:r,elements:i}=e,o=await(r.isRTL==null?void 0:r.isRTL(i.floating)),a=Et(t),d=hn(t),l=_t(t)==="y",s=["left","top"].includes(a)?-1:1,f=o&&l?-1:1,g=Wt(n,e);let{mainAxis:m,crossAxis:p,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"&&(p=d==="end"?c*-1:c),l?{x:p*f,y:m*s}:{x:m*s,y:p*f}}const ec=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(n){var t,r;const{x:i,y:o,placement:a,middlewareData:d}=n,l=await Q0(n,e);return a===((t=d.offset)==null?void 0:t.placement)&&(r=d.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:a}}}}},tc=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(n){const{x:t,y:r,placement:i}=n,{mainAxis:o=!0,crossAxis:a=!1,limiter:d={fn:v=>{let{x:E,y:O}=v;return{x:E,y:O}}},...l}=Wt(e,n),s={x:t,y:r},f=await Wn(n,l),g=_t(Et(i)),m=pa(g);let p=s[m],c=s[g];if(o){const v=m==="y"?"top":"left",E=m==="y"?"bottom":"right",O=p+f[v],b=p-f[E];p=fa(O,p,b)}if(a){const v=g==="y"?"top":"left",E=g==="y"?"bottom":"right",O=c+f[v],b=c-f[E];c=fa(O,c,b)}const h=d.fn({...n,[m]:p,[g]:c});return{...h,data:{x:h.x-t,y:h.y-r,enabled:{[m]:o,[g]:a}}}}}},nc=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(n){var t,r;const{placement:i,rects:o,platform:a,elements:d}=n,{apply:l=()=>{},...s}=Wt(e,n),f=await Wn(n,s),g=Et(i),m=hn(i),p=_t(i)==="y",{width:c,height:h}=o.floating;let v,E;g==="top"||g==="bottom"?(v=g,E=m===(await(a.isRTL==null?void 0:a.isRTL(d.floating))?"start":"end")?"left":"right"):(E=g,v=m==="end"?"top":"bottom");const O=h-f.top-f.bottom,b=c-f.left-f.right,x=Nt(h-f[v],O),C=Nt(c-f[E],b),A=!n.middlewareData.shift;let j=x,H=C;if((t=n.middlewareData.shift)!=null&&t.enabled.x&&(H=b),(r=n.middlewareData.shift)!=null&&r.enabled.y&&(j=O),A&&!m){const F=Ge(f.left,0),D=Ge(f.right,0),X=Ge(f.top,0),G=Ge(f.bottom,0);p?H=c-2*(F!==0||D!==0?F+D:Ge(f.left,f.right)):j=h-2*(X!==0||G!==0?X+G:Ge(f.top,f.bottom))}await l({...n,availableWidth:H,availableHeight:j});const k=await a.getDimensions(d.floating);return c!==k.width||h!==k.height?{reset:{rects:!0}}:{}}}};function va(e){const n=tt(e);let t=parseFloat(n.width)||0,r=parseFloat(n.height)||0;const i=ut(e),o=i?e.offsetWidth:t,a=i?e.offsetHeight:r,d=mn(t)!==o||mn(r)!==a;return d&&(t=o,r=a),{width:t,height:r,$:d}}function qr(e){return He(e)?e:e.contextElement}function Vt(e){const n=qr(e);if(!ut(n))return ct(1);const t=n.getBoundingClientRect(),{width:r,height:i,$:o}=va(n);let a=(o?mn(t.width):t.width)/r,d=(o?mn(t.height):t.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!d||!Number.isFinite(d))&&(d=1),{x:a,y:d}}const rc=ct(0);function $a(e){const n=Xe(e);return!Gr()||!n.visualViewport?rc:{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function ic(e,n,t){return n===void 0&&(n=!1),!t||n&&t!==Xe(e)?!1:n}function At(e,n,t,r){n===void 0&&(n=!1),t===void 0&&(t=!1);const i=e.getBoundingClientRect(),o=qr(e);let a=ct(1);n&&(r?He(r)&&(a=Vt(r)):a=Vt(e));const d=ic(o,t,r)?$a(o):ct(0);let l=(i.left+d.x)/a.x,s=(i.top+d.y)/a.y,f=i.width/a.x,g=i.height/a.y;if(o){const m=Xe(o),p=r&&He(r)?Xe(r):r;let c=m,h=zr(c);for(;h&&r&&p!==c;){const v=Vt(h),E=h.getBoundingClientRect(),O=tt(h),b=E.left+(h.clientLeft+parseFloat(O.paddingLeft))*v.x,x=E.top+(h.clientTop+parseFloat(O.paddingTop))*v.y;l*=v.x,s*=v.y,f*=v.x,g*=v.y,l+=b,s+=x,c=Xe(h),h=zr(c)}}return Bn({width:f,height:g,x:l,y:s})}function Yr(e,n){const t=jn(e).scrollLeft;return n?n.left+t:At(st(e)).left+t}function ba(e,n,t){t===void 0&&(t=!1);const r=e.getBoundingClientRect(),i=r.left+n.scrollLeft-(t?0:Yr(e,r)),o=r.top+n.scrollTop;return{x:i,y:o}}function oc(e){let{elements:n,rect:t,offsetParent:r,strategy:i}=e;const o=i==="fixed",a=st(r),d=n?Ln(n.floating):!1;if(r===a||d&&o)return t;let l={scrollLeft:0,scrollTop:0},s=ct(1);const f=ct(0),g=ut(r);if((g||!g&&!o)&&((Rt(r)!=="body"||fn(a))&&(l=jn(r)),ut(r))){const p=At(r);s=Vt(r),f.x=p.x+r.clientLeft,f.y=p.y+r.clientTop}const m=a&&!g&&!o?ba(a,l,!0):ct(0);return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-l.scrollLeft*s.x+f.x+m.x,y:t.y*s.y-l.scrollTop*s.y+f.y+m.y}}function ac(e){return Array.from(e.getClientRects())}function dc(e){const n=st(e),t=jn(e),r=e.ownerDocument.body,i=Ge(n.scrollWidth,n.clientWidth,r.scrollWidth,r.clientWidth),o=Ge(n.scrollHeight,n.clientHeight,r.scrollHeight,r.clientHeight);let a=-t.scrollLeft+Yr(e);const d=-t.scrollTop;return tt(r).direction==="rtl"&&(a+=Ge(n.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:d}}function lc(e,n){const t=Xe(e),r=st(e),i=t.visualViewport;let o=r.clientWidth,a=r.clientHeight,d=0,l=0;if(i){o=i.width,a=i.height;const s=Gr();(!s||s&&n==="fixed")&&(d=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:d,y:l}}function sc(e,n){const t=At(e,!0,n==="fixed"),r=t.top+e.clientTop,i=t.left+e.clientLeft,o=ut(e)?Vt(e):ct(1),a=e.clientWidth*o.x,d=e.clientHeight*o.y,l=i*o.x,s=r*o.y;return{width:a,height:d,x:l,y:s}}function ya(e,n,t){let r;if(n==="viewport")r=lc(e,t);else if(n==="document")r=dc(st(e));else if(He(n))r=sc(n,t);else{const i=$a(e);r={x:n.x-i.x,y:n.y-i.y,width:n.width,height:n.height}}return Bn(r)}function wa(e,n){const t=Ct(e);return t===n||!He(t)||Bt(t)?!1:tt(t).position==="fixed"||wa(t,n)}function uc(e,n){const t=n.get(e);if(t)return t;let r=pn(e,[],!1).filter(d=>He(d)&&Rt(d)!=="body"),i=null;const o=tt(e).position==="fixed";let a=o?Ct(e):e;for(;He(a)&&!Bt(a);){const d=tt(a),l=Hr(a);!l&&d.position==="fixed"&&(i=null),(o?!l&&!i:!l&&d.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||fn(a)&&!l&&wa(e,a))?r=r.filter(f=>f!==a):i=d,a=Ct(a)}return n.set(e,r),r}function cc(e){let{element:n,boundary:t,rootBoundary:r,strategy:i}=e;const a=[...t==="clippingAncestors"?Ln(n)?[]:uc(n,this._c):[].concat(t),r],d=a[0],l=a.reduce((s,f)=>{const g=ya(n,f,i);return s.top=Ge(g.top,s.top),s.right=Nt(g.right,s.right),s.bottom=Nt(g.bottom,s.bottom),s.left=Ge(g.left,s.left),s},ya(n,d,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function fc(e){const{width:n,height:t}=va(e);return{width:n,height:t}}function pc(e,n,t){const r=ut(n),i=st(n),o=t==="fixed",a=At(e,!0,o,n);let d={scrollLeft:0,scrollTop:0};const l=ct(0);if(r||!r&&!o)if((Rt(n)!=="body"||fn(i))&&(d=jn(n)),r){const m=At(n,!0,o,n);l.x=m.x+n.clientLeft,l.y=m.y+n.clientTop}else i&&(l.x=Yr(i));const s=i&&!r&&!o?ba(i,d):ct(0),f=a.left+d.scrollLeft-l.x-s.x,g=a.top+d.scrollTop-l.y-s.y;return{x:f,y:g,width:a.width,height:a.height}}function Xr(e){return tt(e).position==="static"}function xa(e,n){if(!ut(e)||tt(e).position==="fixed")return null;if(n)return n(e);let t=e.offsetParent;return st(e)===t&&(t=t.ownerDocument.body),t}function Ca(e,n){const t=Xe(e);if(Ln(e))return t;if(!ut(e)){let i=Ct(e);for(;i&&!Bt(i);){if(He(i)&&!Xr(i))return i;i=Ct(i)}return t}let r=xa(e,n);for(;r&&B0(r)&&Xr(r);)r=xa(r,n);return r&&Bt(r)&&Xr(r)&&!Hr(r)?t:r||W0(e)||t}const mc=async function(e){const n=this.getOffsetParent||Ca,t=this.getDimensions,r=await t(e.floating);return{reference:pc(e.reference,await n(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function hc(e){return tt(e).direction==="rtl"}const gc={convertOffsetParentRelativeRectToViewportRelativeRect:oc,getDocumentElement:st,getClippingRect:cc,getOffsetParent:Ca,getElementRects:mc,getClientRects:ac,getDimensions:fc,getScale:Vt,isElement:He,isRTL:hc};function Ea(e,n){return e.x===n.x&&e.y===n.y&&e.width===n.width&&e.height===n.height}function vc(e,n){let t=null,r;const i=st(e);function o(){var d;clearTimeout(r),(d=t)==null||d.disconnect(),t=null}function a(d,l){d===void 0&&(d=!1),l===void 0&&(l=1),o();const s=e.getBoundingClientRect(),{left:f,top:g,width:m,height:p}=s;if(d||n(),!m||!p)return;const c=Dn(g),h=Dn(i.clientWidth-(f+m)),v=Dn(i.clientHeight-(g+p)),E=Dn(f),b={rootMargin:-c+"px "+-h+"px "+-v+"px "+-E+"px",threshold:Ge(0,Nt(1,l))||1};let x=!0;function C(A){const j=A[0].intersectionRatio;if(j!==l){if(!x)return a();j?a(!1,j):r=setTimeout(()=>{a(!1,1e-7)},1e3)}j===1&&!Ea(s,e.getBoundingClientRect())&&a(),x=!1}try{t=new IntersectionObserver(C,{...b,root:i.ownerDocument})}catch{t=new IntersectionObserver(C,b)}t.observe(e)}return a(!0),o}function $c(e,n,t,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:d=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,s=qr(e),f=i||o?[...s?pn(s):[],...pn(n)]:[];f.forEach(E=>{i&&E.addEventListener("scroll",t,{passive:!0}),o&&E.addEventListener("resize",t)});const g=s&&d?vc(s,t):null;let m=-1,p=null;a&&(p=new ResizeObserver(E=>{let[O]=E;O&&O.target===s&&p&&(p.unobserve(n),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var b;(b=p)==null||b.observe(n)})),t()}),s&&!l&&p.observe(s),p.observe(n));let c,h=l?At(e):null;l&&v();function v(){const E=At(e);h&&!Ea(h,E)&&t(),h=E,c=requestAnimationFrame(v)}return t(),()=>{var E;f.forEach(O=>{i&&O.removeEventListener("scroll",t),o&&O.removeEventListener("resize",t)}),g?.(),(E=p)==null||E.disconnect(),p=null,l&&cancelAnimationFrame(c)}}const Zr=Wn,bc=ec,yc=tc,wc=J0,xc=nc,Cc=(e,n,t)=>{const r=new Map,i={platform:gc,...t},o={...i.platform,_c:r};return Z0(e,n,{...i,platform:o})};var Vn=typeof document<"u"?u.useLayoutEffect:u.useEffect;function Un(e,n){if(e===n)return!0;if(typeof e!=typeof n)return!1;if(typeof e=="function"&&e.toString()===n.toString())return!0;let t,r,i;if(e&&n&&typeof e=="object"){if(Array.isArray(e)){if(t=e.length,t!==n.length)return!1;for(r=t;r--!==0;)if(!Un(e[r],n[r]))return!1;return!0}if(i=Object.keys(e),t=i.length,t!==Object.keys(n).length)return!1;for(r=t;r--!==0;)if(!{}.hasOwnProperty.call(n,i[r]))return!1;for(r=t;r--!==0;){const o=i[r];if(!(o==="_owner"&&e.$$typeof)&&!Un(e[o],n[o]))return!1}return!0}return e!==e&&n!==n}function Sa(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Oa(e,n){const t=Sa(e);return Math.round(n*t)/t}function Jr(e){const n=le.useRef(e);return Vn(()=>{n.current=e}),n}function Ec(e){e===void 0&&(e={});const{placement:n="bottom",strategy:t="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:a}={},transform:d=!0,whileElementsMounted:l,open:s}=e,[f,g]=le.useState({x:0,y:0,strategy:t,placement:n,middlewareData:{},isPositioned:!1}),[m,p]=le.useState(r);Un(m,r)||p(r);const[c,h]=le.useState(null),[v,E]=le.useState(null),O=le.useCallback(ie=>{ie!==A.current&&(A.current=ie,h(ie))},[]),b=le.useCallback(ie=>{ie!==j.current&&(j.current=ie,E(ie))},[]),x=o||c,C=a||v,A=le.useRef(null),j=le.useRef(null),H=le.useRef(f),k=l!=null,F=Jr(l),D=Jr(i),X=Jr(s),G=le.useCallback(()=>{if(!A.current||!j.current)return;const ie={placement:n,strategy:t,middleware:m};D.current&&(ie.platform=D.current),Cc(A.current,j.current,ie).then(z=>{const I={...z,isPositioned:X.current!==!1};B.current&&!Un(H.current,I)&&(H.current=I,En.flushSync(()=>{g(I)}))})},[m,n,t,D,X]);Vn(()=>{s===!1&&H.current.isPositioned&&(H.current.isPositioned=!1,g(ie=>({...ie,isPositioned:!1})))},[s]);const B=le.useRef(!1);Vn(()=>(B.current=!0,()=>{B.current=!1}),[]),Vn(()=>{if(x&&(A.current=x),C&&(j.current=C),x&&C){if(F.current)return F.current(x,C,G);G()}},[x,C,G,F,k]);const se=le.useMemo(()=>({reference:A,floating:j,setReference:O,setFloating:b}),[O,b]),de=le.useMemo(()=>({reference:x,floating:C}),[x,C]),ae=le.useMemo(()=>{const ie={position:t,left:0,top:0};if(!de.floating)return ie;const z=Oa(de.floating,f.x),I=Oa(de.floating,f.y);return d?{...ie,transform:"translate("+z+"px, "+I+"px)",...Sa(de.floating)>=1.5&&{willChange:"transform"}}:{position:t,left:z,top:I}},[t,d,de.floating,f.x,f.y]);return le.useMemo(()=>({...f,update:G,refs:se,elements:de,floatingStyles:ae}),[f,G,se,de,ae])}const Pa=(e,n)=>({...bc(e),options:[e,n]}),Sc=(e,n)=>({...yc(e),options:[e,n]}),Oc=(e,n)=>({...wc(e),options:[e,n]}),Pc=(e,n)=>({...xc(e),options:[e,n]}),Ta={...le},Tc=Ta.useInsertionEffect||(e=>e());function Ia(e){const n=le.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return Tc(()=>{n.current=e}),le.useCallback(function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return n.current==null?void 0:n.current(...r)},[])}var Qr=typeof document<"u"?u.useLayoutEffect:u.useEffect;let Na=!1,Ic=0;const _a=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+Ic++;function Nc(){const[e,n]=le.useState(()=>Na?_a():void 0);return Qr(()=>{e==null&&n(_a())},[]),le.useEffect(()=>{Na=!0},[]),e}const _c=Ta.useId||Nc;let gn;process.env.NODE_ENV!=="production"&&(gn=new Set);function Ac(){for(var e,n=arguments.length,t=new Array(n),r=0;r<n;r++)t[r]=arguments[r];const i="Floating UI: "+t.join(" ");if(!((e=gn)!=null&&e.has(i))){var o;(o=gn)==null||o.add(i),console.warn(i)}}function kc(){for(var e,n=arguments.length,t=new Array(n),r=0;r<n;r++)t[r]=arguments[r];const i="Floating UI: "+t.join(" ");if(!((e=gn)!=null&&e.has(i))){var o;(o=gn)==null||o.add(i),console.error(i)}}function Fc(){const e=new Map;return{emit(n,t){var r;(r=e.get(n))==null||r.forEach(i=>i(t))},on(n,t){e.set(n,[...e.get(n)||[],t])},off(n,t){var r;e.set(n,((r=e.get(n))==null?void 0:r.filter(i=>i!==t))||[])}}}const Mc=le.createContext(null),Lc=le.createContext(null),jc=()=>{var e;return((e=le.useContext(Mc))==null?void 0:e.id)||null},Dc=()=>le.useContext(Lc),Rc="data-floating-ui-focusable";function Bc(e){const{open:n=!1,onOpenChange:t,elements:r}=e,i=_c(),o=le.useRef({}),[a]=le.useState(()=>Fc()),d=jc()!=null;if(process.env.NODE_ENV!=="production"){const p=r.reference;p&&!He(p)&&kc("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[l,s]=le.useState(r.reference),f=Ia((p,c,h)=>{o.current.openEvent=p?c:void 0,a.emit("openchange",{open:p,event:c,reason:h,nested:d}),t?.(p,c,h)}),g=le.useMemo(()=>({setPositionReference:s}),[]),m=le.useMemo(()=>({reference:l||r.reference||null,floating:r.floating||null,domReference:r.reference}),[l,r.reference,r.floating]);return le.useMemo(()=>({dataRef:o,open:n,onOpenChange:f,elements:m,events:a,floatingId:i,refs:g}),[n,f,m,a,i,g])}function Wc(e){e===void 0&&(e={});const{nodeId:n}=e,t=Bc({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||t,i=r.elements,[o,a]=le.useState(null),[d,l]=le.useState(null),f=i?.domReference||o,g=le.useRef(null),m=Dc();Qr(()=>{f&&(g.current=f)},[f]);const p=Ec({...e,elements:{...i,...d&&{reference:d}}}),c=le.useCallback(b=>{const x=He(b)?{getBoundingClientRect:()=>b.getBoundingClientRect(),contextElement:b}:b;l(x),p.refs.setReference(x)},[p.refs]),h=le.useCallback(b=>{(He(b)||b===null)&&(g.current=b,a(b)),(He(p.refs.reference.current)||p.refs.reference.current===null||b!==null&&!He(b))&&p.refs.setReference(b)},[p.refs]),v=le.useMemo(()=>({...p.refs,setReference:h,setPositionReference:c,domReference:g}),[p.refs,h,c]),E=le.useMemo(()=>({...p.elements,domReference:f}),[p.elements,f]),O=le.useMemo(()=>({...p,...r,refs:v,elements:E,nodeId:n}),[p,v,E,n,r]);return Qr(()=>{r.dataRef.current.floatingContext=O;const b=m?.nodesRef.current.find(x=>x.id===n);b&&(b.context=O)}),le.useMemo(()=>({...p,context:O,refs:v,elements:E}),[p,v,E,O])}const Aa="active",ka="selected";function ei(e,n,t){const r=new Map,i=t==="item";let o=e;if(i&&e){const{[Aa]:a,[ka]:d,...l}=e;o=l}return{...t==="floating"&&{tabIndex:-1,[Rc]:""},...o,...n.map(a=>{const d=a?a[t]:null;return typeof d=="function"?e?d(e):null:d}).concat(e).reduce((a,d)=>(d&&Object.entries(d).forEach(l=>{let[s,f]=l;if(!(i&&[Aa,ka].includes(s)))if(s.indexOf("on")===0){if(r.has(s)||r.set(s,[]),typeof f=="function"){var g;(g=r.get(s))==null||g.push(f),a[s]=function(){for(var m,p=arguments.length,c=new Array(p),h=0;h<p;h++)c[h]=arguments[h];return(m=r.get(s))==null?void 0:m.map(v=>v(...c)).find(v=>v!==void 0)}}}else a[s]=f}),a),{})}}function Vc(e){e===void 0&&(e=[]);const n=e.map(d=>d?.reference),t=e.map(d=>d?.floating),r=e.map(d=>d?.item),i=le.useCallback(d=>ei(d,e,"reference"),n),o=le.useCallback(d=>ei(d,e,"floating"),t),a=le.useCallback(d=>ei(d,e,"item"),r);return le.useMemo(()=>({getReferenceProps:i,getFloatingProps:o,getItemProps:a}),[i,o,a])}function Fa(e,n){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:n}}}}const Uc=e=>({name:"inner",options:e,async fn(n){const{listRef:t,overflowRef:r,onFallbackChange:i,offset:o=0,index:a=0,minItemsVisible:d=4,referenceOverflowThreshold:l=0,scrollRef:s,...f}=Wt(e,n),{rects:g,elements:{floating:m}}=n,p=t.current[a],c=s?.current||m,h=m.clientTop||c.clientTop,v=m.clientTop!==0,E=c.clientTop!==0,O=m===c;if(process.env.NODE_ENV!=="production"&&(n.placement.startsWith("bottom")||Ac('`placement` side must be "bottom" when using the `inner`',"middleware.")),!p)return{};const b={...n,...await Pa(-p.offsetTop-m.clientTop-g.reference.height/2-p.offsetHeight/2-o).fn(n)},x=await Zr(Fa(b,c.scrollHeight+h+m.clientTop),f),C=await Zr(b,{...f,elementContext:"reference"}),A=Ge(0,x.top),j=b.y+A,F=(c.scrollHeight>c.clientHeight?D=>D:mn)(Ge(0,c.scrollHeight+(v&&O||E?h*2:0)-A-Ge(0,x.bottom)));if(c.style.maxHeight=F+"px",c.scrollTop=A,i){const D=c.offsetHeight<p.offsetHeight*Nt(d,t.current.length)-1||C.top>=-l||C.bottom>=-l;En.flushSync(()=>i(D))}return r&&(r.current=await Zr(Fa({...b,y:j},c.offsetHeight+h+m.clientTop),f)),{y:j}}});function Hc(e,n){const{open:t,elements:r}=e,{enabled:i=!0,overflowRef:o,scrollRef:a,onChange:d}=n,l=Ia(d),s=le.useRef(!1),f=le.useRef(null),g=le.useRef(null);le.useEffect(()=>{if(!i)return;function p(h){if(h.ctrlKey||!c||o.current==null)return;const v=h.deltaY,E=o.current.top>=-.5,O=o.current.bottom>=-.5,b=c.scrollHeight-c.clientHeight,x=v<0?-1:1,C=v<0?"max":"min";c.scrollHeight<=c.clientHeight||(!E&&v>0||!O&&v<0?(h.preventDefault(),En.flushSync(()=>{l(A=>A+Math[C](v,b*x))})):/firefox/i.test(V0())&&(c.scrollTop+=v))}const c=a?.current||r.floating;if(t&&c)return c.addEventListener("wheel",p),requestAnimationFrame(()=>{f.current=c.scrollTop,o.current!=null&&(g.current={...o.current})}),()=>{f.current=null,g.current=null,c.removeEventListener("wheel",p)}},[i,t,r.floating,o,a,l]);const m=le.useMemo(()=>({onKeyDown(){s.current=!0},onWheel(){s.current=!1},onPointerMove(){s.current=!1},onScroll(){const p=a?.current||r.floating;if(!(!o.current||!p||!s.current)){if(f.current!==null){const c=p.scrollTop-f.current;(o.current.bottom<-.5&&c<-1||o.current.top<-.5&&c>1)&&En.flushSync(()=>l(h=>h+c))}requestAnimationFrame(()=>{f.current=p.scrollTop})}}}),[r.floating,l,o,a]);return le.useMemo(()=>i?{floating:m}:{},[i,m])}let Ut=u.createContext({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});Ut.displayName="FloatingContext";let ti=u.createContext(null);ti.displayName="PlacementContext";function Ma(e){return u.useMemo(()=>e?typeof e=="string"?{to:e}:e:null,[e])}function La(){return u.useContext(Ut).setReference}function Gc(){return u.useContext(Ut).getReferenceProps}function ja(){let{getFloatingProps:e,slot:n}=u.useContext(Ut);return u.useCallback((...t)=>Object.assign({},e(...t),{"data-anchor":n.anchor}),[e,n])}function Da(e=null){e===!1&&(e=null),typeof e=="string"&&(e={to:e});let n=u.useContext(ti),t=u.useMemo(()=>e,[JSON.stringify(e,(i,o)=>{var a;return(a=o?.outerHTML)!=null?a:o})]);Ce(()=>{n?.(t??null)},[n,t]);let r=u.useContext(Ut);return u.useMemo(()=>[r.setFloating,e?r.styles:{}],[r.setFloating,e,r.styles])}let Ra=4;function Ba({children:e,enabled:n=!0}){let[t,r]=u.useState(null),[i,o]=u.useState(0),a=u.useRef(null),[d,l]=u.useState(null);zc(d);let s=n&&t!==null&&d!==null,{to:f="bottom",gap:g=0,offset:m=0,padding:p=0,inner:c}=Kc(t,d),[h,v="center"]=f.split(" ");Ce(()=>{s&&o(0)},[s]);let{refs:E,floatingStyles:O,context:b}=Wc({open:s,placement:h==="selection"?v==="center"?"bottom":`bottom-${v}`:v==="center"?`${h}`:`${h}-${v}`,strategy:"absolute",transform:!1,middleware:[Pa({mainAxis:h==="selection"?0:g,crossAxis:m}),Sc({padding:p}),h!=="selection"&&Oc({padding:p}),h==="selection"&&c?Uc({...c,padding:p,overflowRef:a,offset:i,minItemsVisible:Ra,referenceOverflowThreshold:p,onFallbackChange(D){var X,G;if(!D)return;let B=b.elements.floating;if(!B)return;let se=parseFloat(getComputedStyle(B).scrollPaddingBottom)||0,de=Math.min(Ra,B.childElementCount),ae=0,ie=0;for(let z of(G=(X=b.elements.floating)==null?void 0:X.childNodes)!=null?G:[])if(z instanceof HTMLElement){let I=z.offsetTop,R=I+z.clientHeight+se,Y=B.scrollTop,T=Y+B.clientHeight;if(I>=Y&&R<=T)de--;else{ie=Math.max(0,Math.min(R,T)-Math.max(I,Y)),ae=z.clientHeight;break}}de>=1&&o(z=>{let I=ae*de-ie+se;return z>=I?z:I})}}):null,Pc({padding:p,apply({availableWidth:D,availableHeight:X,elements:G}){Object.assign(G.floating.style,{overflow:"auto",maxWidth:`${D}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${X}px)`})}})].filter(Boolean),whileElementsMounted:$c}),[x=h,C=v]=b.placement.split("-");h==="selection"&&(x="selection");let A=u.useMemo(()=>({anchor:[x,C].filter(Boolean).join(" ")}),[x,C]),j=Hc(b,{overflowRef:a,onChange:o}),{getReferenceProps:H,getFloatingProps:k}=Vc([j]),F=te(D=>{l(D),E.setFloating(D)});return le.createElement(ti.Provider,{value:r},le.createElement(Ut.Provider,{value:{setFloating:F,setReference:E.setReference,styles:O,getReferenceProps:H,getFloatingProps:k,slot:A}},e))}function zc(e){Ce(()=>{if(!e)return;let n=new MutationObserver(()=>{let t=window.getComputedStyle(e).maxHeight,r=parseFloat(t);if(isNaN(r))return;let i=parseInt(t);isNaN(i)||r!==i&&(e.style.maxHeight=`${Math.ceil(r)}px`)});return n.observe(e,{attributes:!0,attributeFilter:["style"]}),()=>{n.disconnect()}},[e])}function Kc(e,n){var t,r,i;let o=ni((t=e?.gap)!=null?t:"var(--anchor-gap, 0)",n),a=ni((r=e?.offset)!=null?r:"var(--anchor-offset, 0)",n),d=ni((i=e?.padding)!=null?i:"var(--anchor-padding, 0)",n);return{...e,gap:o,offset:a,padding:d}}function ni(e,n,t=void 0){let r=yt(),i=te((l,s)=>{if(l==null)return[t,null];if(typeof l=="number")return[l,null];if(typeof l=="string"){if(!s)return[t,null];let f=Va(l,s);return[f,g=>{let m=Wa(l);{let p=m.map(c=>window.getComputedStyle(s).getPropertyValue(c));r.requestAnimationFrame(function c(){r.nextFrame(c);let h=!1;for(let[E,O]of m.entries()){let b=window.getComputedStyle(s).getPropertyValue(O);if(p[E]!==b){p[E]=b,h=!0;break}}if(!h)return;let v=Va(l,s);f!==v&&(g(v),f=v)})}return r.dispose}]}return[t,null]}),o=u.useMemo(()=>i(e,n)[0],[e,n]),[a=o,d]=u.useState();return Ce(()=>{let[l,s]=i(e,n);if(d(l),!!s)return s(d)},[e,n]),a}function Wa(e){let n=/var\((.*)\)/.exec(e);if(n){let t=n[1].indexOf(",");if(t===-1)return[n[1]];let r=n[1].slice(0,t).trim(),i=n[1].slice(t+1).trim();return i?[r,...Wa(i)]:[r]}return[]}function Va(e,n){let t=document.createElement("div");n.appendChild(t),t.style.setProperty("margin-top","0px","important"),t.style.setProperty("margin-top",e,"important");let r=parseFloat(window.getComputedStyle(t).marginTop)||0;return n.removeChild(t),r}function qc({children:e,freeze:n}){let t=Hn(n,e);return u.createElement(u.Fragment,null,t)}function Hn(e,n){let[t,r]=u.useState(n);return!e&&t!==n&&r(n),e?t:n}let ri=u.createContext(null);ri.displayName="OpenClosedContext";var Ke=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(Ke||{});function Gn(){return u.useContext(ri)}function ii({value:e,children:n}){return u.createElement(ri.Provider,{value:e},n)}function Yc(e){function n(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",n))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",n),n())}let kt=[];Yc(()=>{function e(n){if(!(n.target instanceof HTMLElement)||n.target===document.body||kt[0]===n.target)return;let t=n.target;t=t.closest(Fn),kt.unshift(t??n.target),kt=kt.filter(r=>r!=null&&r.isConnected),kt.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 Xc(e){throw new Error("Unexpected object: "+e)}var be=(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))(be||{});function vn(e,n){let t=n.resolveItems();if(t.length<=0)return null;let r=n.resolveActiveIndex(),i=r??-1;switch(e.focus){case 0:{for(let o=0;o<t.length;++o)if(!n.resolveDisabled(t[o],o,t))return o;return r}case 1:{i===-1&&(i=t.length);for(let o=i-1;o>=0;--o)if(!n.resolveDisabled(t[o],o,t))return o;return r}case 2:{for(let o=i+1;o<t.length;++o)if(!n.resolveDisabled(t[o],o,t))return o;return r}case 3:{for(let o=t.length-1;o>=0;--o)if(!n.resolveDisabled(t[o],o,t))return o;return r}case 4:{for(let o=0;o<t.length;++o)if(n.resolveId(t[o],o,t)===e.id)return o;return r}case 5:return null;default:Xc(e)}}var oi=(e=>(e[e.Left=0]="Left",e[e.Right=2]="Right",e))(oi||{});function Zc(e){let n=te(e),t=u.useRef(!1);u.useEffect(()=>(t.current=!1,()=>{t.current=!0,wo(()=>{t.current&&n()})}),[n])}function Jc(){let e=typeof document>"u";return"useSyncExternalStore"in le?(n=>n.useSyncExternalStore)(le)(()=>()=>{},()=>!1,()=>!e):!1}function ai(){let e=Jc(),[n,t]=le.useState(Tt.isHandoffComplete);return n&&Tt.isHandoffComplete===!1&&t(!1),le.useEffect(()=>{n!==!0&&t(!0)},[n]),le.useEffect(()=>Tt.handoff(),[]),e?!1:n}let Qc=u.createContext(!1);function e1(){return u.useContext(Qc)}function t1(e){let n=e1(),t=u.useContext(Ha),r=cn(e),[i,o]=u.useState(()=>{var a;if(!n&&t!==null)return(a=t.current)!=null?a:null;if(Tt.isServer)return null;let d=r?.getElementById("headlessui-portal-root");if(d)return d;if(r===null)return null;let l=r.createElement("div");return l.setAttribute("id","headlessui-portal-root"),r.body.appendChild(l)});return u.useEffect(()=>{i!==null&&(r!=null&&r.body.contains(i)||r==null||r.body.appendChild(i))},[i,r]),u.useEffect(()=>{n||t!==null&&o(t.current)},[t,o,n]),i}let Ua=u.Fragment,n1=Le(function(e,n){let t=e,r=u.useRef(null),i=Ue(qu(g=>{r.current=g}),n),o=cn(r),a=t1(r),[d]=u.useState(()=>{var g;return Tt.isServer?null:(g=o?.createElement("div"))!=null?g:null}),l=u.useContext(a1),s=ai();Ce(()=>{!a||!d||a.contains(d)||(d.setAttribute("data-headlessui-portal",""),a.appendChild(d))},[a,d]),Ce(()=>{if(d&&l)return l.register(d)},[l,d]),Zc(()=>{var g;!a||!d||(d instanceof Node&&a.contains(d)&&a.removeChild(d),a.childNodes.length<=0&&((g=a.parentElement)==null||g.removeChild(a)))});let f=De();return s?!a||!d?null:Ae.createPortal(f({ourProps:{ref:i},theirProps:t,slot:{},defaultTag:Ua,name:"Portal"}),d):null});function r1(e,n){let t=Ue(n),{enabled:r=!0,...i}=e,o=De();return r?u.createElement(n1,{...i,ref:t}):o({ourProps:{ref:t},theirProps:i,slot:{},defaultTag:Ua,name:"Portal"})}let i1=u.Fragment,Ha=u.createContext(null);function o1(e,n){let{target:t,...r}=e,i={ref:Ue(n)},o=De();return u.createElement(Ha.Provider,{value:t},o({ourProps:i,theirProps:r,defaultTag:i1,name:"Popover.Group"}))}let a1=u.createContext(null),d1=Le(r1),l1=Le(o1),Ga=Object.assign(d1,{Group:l1});var s1=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(s1||{}),u1=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(u1||{}),c1=(e=>(e[e.Pointer=0]="Pointer",e[e.Focus=1]="Focus",e[e.Other=2]="Other",e))(c1||{}),f1=(e=>(e[e.OpenCombobox=0]="OpenCombobox",e[e.CloseCombobox=1]="CloseCombobox",e[e.GoToOption=2]="GoToOption",e[e.SetTyping=3]="SetTyping",e[e.RegisterOption=4]="RegisterOption",e[e.UnregisterOption=5]="UnregisterOption",e[e.SetActivationTrigger=6]="SetActivationTrigger",e[e.UpdateVirtualConfiguration=7]="UpdateVirtualConfiguration",e[e.SetInputElement=8]="SetInputElement",e[e.SetButtonElement=9]="SetButtonElement",e[e.SetOptionsElement=10]="SetOptionsElement",e))(f1||{});function di(e,n=t=>t){let t=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,r=n(e.options.slice()),i=r.length>0&&r[0].dataRef.current.order!==null?r.sort((a,d)=>a.dataRef.current.order-d.dataRef.current.order):Wr(r,a=>a.dataRef.current.domRef.current),o=t?i.indexOf(t):null;return o===-1&&(o=null),{options:i,activeOptionIndex:o}}let p1={1(e){var n;return(n=e.dataRef.current)!=null&&n.disabled||e.comboboxState===1?e:{...e,activeOptionIndex:null,comboboxState:1,isTyping:!1,activationTrigger:2,__demoMode:!1}},0(e){var n,t;if((n=e.dataRef.current)!=null&&n.disabled||e.comboboxState===0)return e;if((t=e.dataRef.current)!=null&&t.value){let r=e.dataRef.current.calculateIndex(e.dataRef.current.value);if(r!==-1)return{...e,activeOptionIndex:r,comboboxState:0,__demoMode:!1}}return{...e,comboboxState:0,__demoMode:!1}},3(e,n){return e.isTyping===n.isTyping?e:{...e,isTyping:n.isTyping}},2(e,n){var t,r,i,o;if((t=e.dataRef.current)!=null&&t.disabled||e.optionsElement&&!((r=e.dataRef.current)!=null&&r.optionsPropsRef.current.static)&&e.comboboxState===1)return e;if(e.virtual){let{options:s,disabled:f}=e.virtual,g=n.focus===be.Specific?n.idx:vn(n,{resolveItems:()=>s,resolveActiveIndex:()=>{var p,c;return(c=(p=e.activeOptionIndex)!=null?p:s.findIndex(h=>!f(h)))!=null?c:null},resolveDisabled:f,resolveId(){throw new Error("Function not implemented.")}}),m=(i=n.trigger)!=null?i:2;return e.activeOptionIndex===g&&e.activationTrigger===m?e:{...e,activeOptionIndex:g,activationTrigger:m,isTyping:!1,__demoMode:!1}}let a=di(e);if(a.activeOptionIndex===null){let s=a.options.findIndex(f=>!f.dataRef.current.disabled);s!==-1&&(a.activeOptionIndex=s)}let d=n.focus===be.Specific?n.idx:vn(n,{resolveItems:()=>a.options,resolveActiveIndex:()=>a.activeOptionIndex,resolveId:s=>s.id,resolveDisabled:s=>s.dataRef.current.disabled}),l=(o=n.trigger)!=null?o:2;return e.activeOptionIndex===d&&e.activationTrigger===l?e:{...e,...a,isTyping:!1,activeOptionIndex:d,activationTrigger:l,__demoMode:!1}},4:(e,n)=>{var t,r,i;if((t=e.dataRef.current)!=null&&t.virtual)return{...e,options:[...e.options,n.payload]};let o=n.payload,a=di(e,l=>(l.push(o),l));e.activeOptionIndex===null&&(r=e.dataRef.current)!=null&&r.isSelected(n.payload.dataRef.current.value)&&(a.activeOptionIndex=a.options.indexOf(o));let d={...e,...a,activationTrigger:2};return(i=e.dataRef.current)!=null&&i.__demoMode&&e.dataRef.current.value===void 0&&(d.activeOptionIndex=0),d},5:(e,n)=>{var t;if((t=e.dataRef.current)!=null&&t.virtual)return{...e,options:e.options.filter(i=>i.id!==n.id)};let r=di(e,i=>{let o=i.findIndex(a=>a.id===n.id);return o!==-1&&i.splice(o,1),i});return{...e,...r,activationTrigger:2}},6:(e,n)=>e.activationTrigger===n.trigger?e:{...e,activationTrigger:n.trigger},7:(e,n)=>{var t,r;if(e.virtual===null)return{...e,virtual:{options:n.options,disabled:(t=n.disabled)!=null?t:()=>!1}};if(e.virtual.options===n.options&&e.virtual.disabled===n.disabled)return e;let i=e.activeOptionIndex;if(e.activeOptionIndex!==null){let o=n.options.indexOf(e.virtual.options[e.activeOptionIndex]);o!==-1?i=o:i=null}return{...e,activeOptionIndex:i,virtual:{options:n.options,disabled:(r=n.disabled)!=null?r:()=>!1}}},8:(e,n)=>e.inputElement===n.element?e:{...e,inputElement:n.element},9:(e,n)=>e.buttonElement===n.element?e:{...e,buttonElement:n.element},10:(e,n)=>e.optionsElement===n.element?e:{...e,optionsElement:n.element}},li=u.createContext(null);li.displayName="ComboboxActionsContext";function $n(e){let n=u.useContext(li);if(n===null){let t=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,$n),t}return n}let za=u.createContext(null);function m1(e){let n=Ht("VirtualProvider"),{options:t}=n.virtual,[r,i]=u.useMemo(()=>{let s=n.optionsElement;if(!s)return[0,0];let f=window.getComputedStyle(s);return[parseFloat(f.paddingBlockStart||f.paddingTop),parseFloat(f.paddingBlockEnd||f.paddingBottom)]},[n.optionsElement]),o=f0({enabled:t.length!==0,scrollPaddingStart:r,scrollPaddingEnd:i,count:t.length,estimateSize(){return 40},getScrollElement(){return n.optionsElement},overscan:12}),[a,d]=u.useState(0);Ce(()=>{d(s=>s+1)},[t]);let l=o.getVirtualItems();return l.length===0?null:u.createElement(za.Provider,{value:o},u.createElement("div",{style:{position:"relative",width:"100%",height:`${o.getTotalSize()}px`},ref:s=>{s&&n.activationTrigger!==0&&n.activeOptionIndex!==null&&t.length>n.activeOptionIndex&&o.scrollToIndex(n.activeOptionIndex)}},l.map(s=>{var f;return u.createElement(u.Fragment,{key:s.key},u.cloneElement((f=e.children)==null?void 0:f.call(e,{...e.slot,option:t[s.index]}),{key:`${a}-${s.key}`,"data-index":s.index,"aria-setsize":t.length,"aria-posinset":s.index+1,style:{position:"absolute",top:0,left:0,transform:`translateY(${s.start}px)`,overflowAnchor:"none"}}))})))}let bn=u.createContext(null);bn.displayName="ComboboxDataContext";function Ht(e){let n=u.useContext(bn);if(n===null){let t=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Ht),t}return n}function h1(e,n){return We(n.type,p1,e,n)}let g1=u.Fragment;function v1(e,n){var t,r;let i=_n(),{value:o,defaultValue:a,onChange:d,form:l,name:s,by:f,disabled:g=i||!1,onClose:m,__demoMode:p=!1,multiple:c=!1,immediate:h=!1,virtual:v=null,nullable:E,...O}=e,b=So(a),[x=c?[]:void 0,C]=Eo(o,d,b),[A,j]=u.useReducer(h1,{dataRef:u.createRef(),comboboxState:p?0:1,isTyping:!1,options:[],virtual:v?{options:v.options,disabled:(t=v.disabled)!=null?t:()=>!1}:null,activeOptionIndex:null,activationTrigger:2,inputElement:null,buttonElement:null,optionsElement:null,__demoMode:p}),H=u.useRef(!1),k=u.useRef({static:!1,hold:!1}),F=Vo(f),D=te(K=>v?f===null?v.options.indexOf(K):v.options.findIndex(_=>F(_,K)):A.options.findIndex(_=>F(_.dataRef.current.value,K))),X=u.useCallback(K=>We(B.mode,{1:()=>x.some(_=>F(_,K)),0:()=>F(x,K)}),[x]),G=te(K=>A.activeOptionIndex===D(K)),B=u.useMemo(()=>({...A,immediate:h,optionsPropsRef:k,value:x,defaultValue:b,disabled:g,mode:c?1:0,virtual:v?A.virtual:null,get activeOptionIndex(){if(H.current&&A.activeOptionIndex===null&&(v?v.options.length>0:A.options.length>0)){if(v){let _=v.options.findIndex(fe=>{var ve,xe;return!((xe=(ve=v.disabled)==null?void 0:ve.call(v,fe))!=null&&xe)});if(_!==-1)return _}let K=A.options.findIndex(_=>!_.dataRef.current.disabled);if(K!==-1)return K}return A.activeOptionIndex},calculateIndex:D,compare:F,isSelected:X,isActive:G}),[x,b,g,c,p,A,v]);Ce(()=>{var K;v&&j({type:7,options:v.options,disabled:(K=v.disabled)!=null?K:null})},[v,v?.options,v?.disabled]),Ce(()=>{A.dataRef.current=B},[B]);let se=B.comboboxState===0;ea(se,[B.buttonElement,B.inputElement,B.optionsElement],()=>ne.closeCombobox());let de=u.useMemo(()=>{var K,_,fe;return{open:B.comboboxState===0,disabled:g,activeIndex:B.activeOptionIndex,activeOption:B.activeOptionIndex===null?null:B.virtual?B.virtual.options[(K=B.activeOptionIndex)!=null?K:0]:(fe=(_=B.options[B.activeOptionIndex])==null?void 0:_.dataRef.current.value)!=null?fe:null,value:x}},[B,g,x]),ae=te(()=>{if(B.activeOptionIndex!==null){if(ne.setIsTyping(!1),B.virtual)T(B.virtual.options[B.activeOptionIndex]);else{let{dataRef:K}=B.options[B.activeOptionIndex];T(K.current.value)}ne.goToOption(be.Specific,B.activeOptionIndex)}}),ie=te(()=>{j({type:0}),H.current=!0}),z=te(()=>{j({type:1}),H.current=!1,m?.()}),I=te(K=>{j({type:3,isTyping:K})}),R=te((K,_,fe)=>(H.current=!1,K===be.Specific?j({type:2,focus:be.Specific,idx:_,trigger:fe}):j({type:2,focus:K,trigger:fe}))),Y=te((K,_)=>(j({type:4,payload:{id:K,dataRef:_}}),()=>{B.isActive(_.current.value)&&(H.current=!0),j({type:5,id:K})})),T=te(K=>We(B.mode,{0(){return C?.(K)},1(){let _=B.value.slice(),fe=_.findIndex(ve=>F(ve,K));return fe===-1?_.push(K):_.splice(fe,1),C?.(_)}})),U=te(K=>{j({type:6,trigger:K})}),L=te(K=>{j({type:8,element:K})}),Q=te(K=>{j({type:9,element:K})}),q=te(K=>{j({type:10,element:K})}),ne=u.useMemo(()=>({onChange:T,registerOption:Y,goToOption:R,setIsTyping:I,closeCombobox:z,openCombobox:ie,setActivationTrigger:U,selectActiveOption:ae,setInputElement:L,setButtonElement:Q,setOptionsElement:q}),[]),[ce,he]=Lo(),Ee=n===null?{}:{ref:n},S=u.useCallback(()=>{if(b!==void 0)return C?.(b)},[C,b]),Z=De();return u.createElement(he,{value:ce,props:{htmlFor:(r=B.inputElement)==null?void 0:r.id},slot:{open:B.comboboxState===0,disabled:g}},u.createElement(Ba,null,u.createElement(li.Provider,{value:ne},u.createElement(bn.Provider,{value:B},u.createElement(ii,{value:We(B.comboboxState,{0:Ke.Open,1:Ke.Closed})},s!=null&&u.createElement(No,{disabled:g,data:x!=null?{[s]:x}:{},form:l,onReset:S}),Z({ourProps:Ee,theirProps:O,slot:de,defaultTag:g1,name:"Combobox"}))))))}let $1="input";function b1(e,n){var t,r,i,o,a;let d=Ht("Combobox.Input"),l=$n("Combobox.Input"),s=u.useId(),f=kr(),{id:g=f||`headlessui-combobox-input-${s}`,onChange:m,displayValue:p,disabled:c=d.disabled||!1,autoFocus:h=!1,type:v="text",...E}=e,O=u.useRef(null),b=Ue(O,n,La(),l.setInputElement),x=cn(d.inputElement),C=yt(),A=te(()=>{l.onChange(null),d.optionsElement&&(d.optionsElement.scrollTop=0),l.goToOption(be.Nothing)}),j=u.useMemo(()=>{var T;return typeof p=="function"&&d.value!==void 0?(T=p(d.value))!=null?T:"":typeof d.value=="string"?d.value:""},[d.value,p]);la(([T,U],[L,Q])=>{if(d.isTyping)return;let q=O.current;q&&((Q===0&&U===1||T!==L)&&(q.value=T),requestAnimationFrame(()=>{if(d.isTyping||!q||x?.activeElement!==q)return;let{selectionStart:ne,selectionEnd:ce}=q;Math.abs((ce??0)-(ne??0))===0&&ne===0&&q.setSelectionRange(q.value.length,q.value.length)}))},[j,d.comboboxState,x,d.isTyping]),la(([T],[U])=>{if(T===0&&U===1){if(d.isTyping)return;let L=O.current;if(!L)return;let Q=L.value,{selectionStart:q,selectionEnd:ne,selectionDirection:ce}=L;L.value="",L.value=Q,ce!==null?L.setSelectionRange(q,ne,ce):L.setSelectionRange(q,ne)}},[d.comboboxState]);let H=u.useRef(!1),k=te(()=>{H.current=!0}),F=te(()=>{C.nextFrame(()=>{H.current=!1})}),D=te(T=>{switch(l.setIsTyping(!0),T.key){case Se.Enter:if(d.comboboxState!==0||H.current)return;if(T.preventDefault(),T.stopPropagation(),d.activeOptionIndex===null){l.closeCombobox();return}l.selectActiveOption(),d.mode===0&&l.closeCombobox();break;case Se.ArrowDown:return T.preventDefault(),T.stopPropagation(),We(d.comboboxState,{0:()=>l.goToOption(be.Next),1:()=>l.openCombobox()});case Se.ArrowUp:return T.preventDefault(),T.stopPropagation(),We(d.comboboxState,{0:()=>l.goToOption(be.Previous),1:()=>{Ae.flushSync(()=>l.openCombobox()),d.value||l.goToOption(be.Last)}});case Se.Home:if(T.shiftKey)break;return T.preventDefault(),T.stopPropagation(),l.goToOption(be.First);case Se.PageUp:return T.preventDefault(),T.stopPropagation(),l.goToOption(be.First);case Se.End:if(T.shiftKey)break;return T.preventDefault(),T.stopPropagation(),l.goToOption(be.Last);case Se.PageDown:return T.preventDefault(),T.stopPropagation(),l.goToOption(be.Last);case Se.Escape:return d.comboboxState!==0?void 0:(T.preventDefault(),d.optionsElement&&!d.optionsPropsRef.current.static&&T.stopPropagation(),d.mode===0&&d.value===null&&A(),l.closeCombobox());case Se.Tab:if(d.comboboxState!==0)return;d.mode===0&&d.activationTrigger!==1&&l.selectActiveOption(),l.closeCombobox();break}}),X=te(T=>{m?.(T),d.mode===0&&T.target.value===""&&A(),l.openCombobox()}),G=te(T=>{var U,L,Q;let q=(U=T.relatedTarget)!=null?U:kt.find(ne=>ne!==T.currentTarget);if(!((L=d.optionsElement)!=null&&L.contains(q))&&!((Q=d.buttonElement)!=null&&Q.contains(q))&&d.comboboxState===0)return T.preventDefault(),d.mode===0&&d.value===null&&A(),l.closeCombobox()}),B=te(T=>{var U,L,Q;let q=(U=T.relatedTarget)!=null?U:kt.find(ne=>ne!==T.currentTarget);(L=d.buttonElement)!=null&&L.contains(q)||(Q=d.optionsElement)!=null&&Q.contains(q)||d.disabled||d.immediate&&d.comboboxState!==0&&C.microTask(()=>{Ae.flushSync(()=>l.openCombobox()),l.setActivationTrigger(1)})}),se=ln(),de=Fo(),{isFocused:ae,focusProps:ie}=Tr({autoFocus:h}),{isHovered:z,hoverProps:I}=Pr({isDisabled:c}),R=u.useMemo(()=>({open:d.comboboxState===0,disabled:c,hover:z,focus:ae,autofocus:h}),[d,z,ae,h,c]),Y=dn({ref:b,id:g,role:"combobox",type:v,"aria-controls":(t=d.optionsElement)==null?void 0:t.id,"aria-expanded":d.comboboxState===0,"aria-activedescendant":d.activeOptionIndex===null?void 0:d.virtual?(r=d.options.find(T=>!T.dataRef.current.disabled&&d.compare(T.dataRef.current.value,d.virtual.options[d.activeOptionIndex])))==null?void 0:r.id:(i=d.options[d.activeOptionIndex])==null?void 0:i.id,"aria-labelledby":se,"aria-describedby":de,"aria-autocomplete":"list",defaultValue:(a=(o=e.defaultValue)!=null?o:d.defaultValue!==void 0?p?.(d.defaultValue):null)!=null?a:d.defaultValue,disabled:c||void 0,autoFocus:h,onCompositionStart:k,onCompositionEnd:F,onKeyDown:D,onChange:X,onFocus:B,onBlur:G},ie,I);return De()({ourProps:Y,theirProps:E,slot:R,defaultTag:$1,name:"Combobox.Input"})}let y1="button";function w1(e,n){var t;let r=Ht("Combobox.Button"),i=$n("Combobox.Button"),o=Ue(n,i.setButtonElement),a=u.useId(),{id:d=`headlessui-combobox-button-${a}`,disabled:l=r.disabled||!1,autoFocus:s=!1,...f}=e,g=ta(r.inputElement),m=te(j=>{switch(j.key){case Se.Space:case Se.Enter:j.preventDefault(),j.stopPropagation(),r.comboboxState===1&&Ae.flushSync(()=>i.openCombobox()),g();return;case Se.ArrowDown:j.preventDefault(),j.stopPropagation(),r.comboboxState===1&&(Ae.flushSync(()=>i.openCombobox()),r.value||i.goToOption(be.First)),g();return;case Se.ArrowUp:j.preventDefault(),j.stopPropagation(),r.comboboxState===1&&(Ae.flushSync(()=>i.openCombobox()),r.value||i.goToOption(be.Last)),g();return;case Se.Escape:if(r.comboboxState!==0)return;j.preventDefault(),r.optionsElement&&!r.optionsPropsRef.current.static&&j.stopPropagation(),Ae.flushSync(()=>i.closeCombobox()),g();return;default:return}}),p=te(j=>{j.preventDefault(),!_o(j.currentTarget)&&(j.button===oi.Left&&(r.comboboxState===0?i.closeCombobox():i.openCombobox()),g())}),c=ln([d]),{isFocusVisible:h,focusProps:v}=Tr({autoFocus:s}),{isHovered:E,hoverProps:O}=Pr({isDisabled:l}),{pressed:b,pressProps:x}=xo({disabled:l}),C=u.useMemo(()=>({open:r.comboboxState===0,active:b||r.comboboxState===0,disabled:l,value:r.value,hover:E,focus:h}),[r,E,h,b,l]),A=dn({ref:o,id:d,type:na(e,r.buttonElement),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":(t=r.optionsElement)==null?void 0:t.id,"aria-expanded":r.comboboxState===0,"aria-labelledby":c,disabled:l||void 0,autoFocus:s,onMouseDown:p,onKeyDown:m},v,O,x);return De()({ourProps:A,theirProps:f,slot:C,defaultTag:y1,name:"Combobox.Button"})}let x1="div",C1=jt.RenderStrategy|jt.Static;function E1(e,n){var t,r,i;let o=u.useId(),{id:a=`headlessui-combobox-options-${o}`,hold:d=!1,anchor:l,portal:s=!1,modal:f=!0,transition:g=!1,...m}=e,p=Ht("Combobox.Options"),c=$n("Combobox.Options"),h=Ma(l);h&&(s=!0);let[v,E]=Da(h),[O,b]=u.useState(null),x=ja(),C=Ue(n,h?v:null,c.setOptionsElement,b),A=cn(p.optionsElement),j=Gn(),[H,k]=Ur(g,O,j!==null?(j&Ke.Open)===Ke.Open:p.comboboxState===0);qo(H,p.inputElement,c.closeCombobox);let F=p.__demoMode?!1:f&&p.comboboxState===0;ra(F,A);let D=p.__demoMode?!1:f&&p.comboboxState===0;Ko(D,{allowed:u.useCallback(()=>[p.inputElement,p.buttonElement,p.optionsElement],[p.inputElement,p.buttonElement,p.optionsElement])}),Ce(()=>{var Y;p.optionsPropsRef.current.static=(Y=e.static)!=null?Y:!1},[p.optionsPropsRef,e.static]),Ce(()=>{p.optionsPropsRef.current.hold=d},[p.optionsPropsRef,d]),R0(p.comboboxState===0,{container:p.optionsElement,accept(Y){return Y.getAttribute("role")==="option"?NodeFilter.FILTER_REJECT:Y.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(Y){Y.setAttribute("role","none")}});let X=ln([(t=p.buttonElement)==null?void 0:t.id]),G=u.useMemo(()=>({open:p.comboboxState===0,option:void 0}),[p.comboboxState]),B=te(()=>{c.setActivationTrigger(0)}),se=te(Y=>{Y.preventDefault(),c.setActivationTrigger(0)}),de=dn(h?x():{},{"aria-labelledby":X,role:"listbox","aria-multiselectable":p.mode===1?!0:void 0,id:a,ref:C,style:{...m.style,...E,"--input-width":Lr(p.inputElement,!0).width,"--button-width":Lr(p.buttonElement,!0).width},onWheel:p.activationTrigger===0?void 0:B,onMouseDown:se,...Vr(k)}),ae=H&&p.comboboxState===1,ie=Hn(ae,(r=p.virtual)==null?void 0:r.options),z=Hn(ae,p.value),I=te(Y=>p.compare(z,Y));if(p.virtual){if(ie===void 0)throw new Error("Missing `options` in virtual mode");Object.assign(m,{children:u.createElement(bn.Provider,{value:ie!==p.virtual.options?{...p,virtual:{...p.virtual,options:ie}}:p},u.createElement(m1,{slot:G},m.children))})}let R=De();return u.createElement(Ga,{enabled:s?e.static||H:!1},u.createElement(bn.Provider,{value:p.mode===1?p:{...p,isSelected:I}},R({ourProps:de,theirProps:{...m,children:u.createElement(qc,{freeze:ae},typeof m.children=="function"?(i=m.children)==null?void 0:i.call(m,G):m.children)},slot:G,defaultTag:x1,features:C1,visible:H,name:"Combobox.Options"})))}let S1="div";function O1(e,n){var t,r,i,o;let a=Ht("Combobox.Option"),d=$n("Combobox.Option"),l=u.useId(),{id:s=`headlessui-combobox-option-${l}`,value:f,disabled:g=(i=(r=(t=a.virtual)==null?void 0:t.disabled)==null?void 0:r.call(t,f))!=null?i:!1,order:m=null,...p}=e,c=ta(a.inputElement),h=a.virtual?a.activeOptionIndex===a.calculateIndex(f):a.activeOptionIndex===null?!1:((o=a.options[a.activeOptionIndex])==null?void 0:o.id)===s,v=a.isSelected(f),E=u.useRef(null),O=mt({disabled:g,value:f,domRef:E,order:m}),b=u.useContext(za),x=Ue(n,E,b?b.measureElement:null),C=te(()=>{d.setIsTyping(!1),d.onChange(f)});Ce(()=>d.registerOption(s,O),[O,s]);let A=u.useRef(!(a.virtual||a.__demoMode));Ce(()=>{if(!a.virtual&&!a.__demoMode)return et().requestAnimationFrame(()=>{A.current=!0})},[a.virtual,a.__demoMode]),Ce(()=>{if(A.current&&a.comboboxState===0&&h&&a.activationTrigger!==0)return et().requestAnimationFrame(()=>{var se,de;(de=(se=E.current)==null?void 0:se.scrollIntoView)==null||de.call(se,{block:"nearest"})})},[E,h,a.comboboxState,a.activationTrigger,a.activeOptionIndex]);let j=te(se=>{se.preventDefault(),se.button===oi.Left&&(g||(C(),Jo()||requestAnimationFrame(()=>c()),a.mode===0&&d.closeCombobox()))}),H=te(()=>{if(g)return d.goToOption(be.Nothing);let se=a.calculateIndex(f);d.goToOption(be.Specific,se)}),k=oa(),F=te(se=>k.update(se)),D=te(se=>{if(!k.wasMoved(se)||g||h)return;let de=a.calculateIndex(f);d.goToOption(be.Specific,de,0)}),X=te(se=>{k.wasMoved(se)&&(g||h&&(a.optionsPropsRef.current.hold||d.goToOption(be.Nothing)))}),G=u.useMemo(()=>({active:h,focus:h,selected:v,disabled:g}),[h,v,g]),B={id:s,ref:x,role:"option",tabIndex:g===!0?void 0:-1,"aria-disabled":g===!0?!0:void 0,"aria-selected":v,disabled:void 0,onMouseDown:j,onFocus:H,onPointerEnter:F,onMouseEnter:F,onPointerMove:D,onMouseMove:D,onPointerLeave:X,onMouseLeave:X};return De()({ourProps:B,theirProps:p,slot:G,defaultTag:S1,name:"Combobox.Option"})}let P1=Le(v1),Ka=Le(w1),qa=Le(b1),T1=jo,Ya=Le(E1),Xa=Le(O1),I1=Object.assign(P1,{Input:qa,Button:Ka,Label:T1,Options:Ya,Option:Xa});function N1(){let e=u.useRef(!1);return Ce(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function Za(e){var n;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||((n=e.as)!=null?n:Qa)!==u.Fragment||u.Children.count(e.children)===1}let zn=u.createContext(null);zn.displayName="TransitionContext";var _1=(e=>(e.Visible="visible",e.Hidden="hidden",e))(_1||{});function A1(){let e=u.useContext(zn);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function k1(){let e=u.useContext(Kn);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let Kn=u.createContext(null);Kn.displayName="NestingContext";function qn(e){return"children"in e?qn(e.children):e.current.filter(({el:n})=>n.current!==null).filter(({state:n})=>n==="visible").length>0}function Ja(e,n){let t=mt(e),r=u.useRef([]),i=N1(),o=yt(),a=te((p,c=wt.Hidden)=>{let h=r.current.findIndex(({el:v})=>v===p);h!==-1&&(We(c,{[wt.Unmount](){r.current.splice(h,1)},[wt.Hidden](){r.current[h].state="hidden"}}),o.microTask(()=>{var v;!qn(r)&&i.current&&((v=t.current)==null||v.call(t))}))}),d=te(p=>{let c=r.current.find(({el:h})=>h===p);return c?c.state!=="visible"&&(c.state="visible"):r.current.push({el:p,state:"visible"}),()=>a(p,wt.Unmount)}),l=u.useRef([]),s=u.useRef(Promise.resolve()),f=u.useRef({enter:[],leave:[]}),g=te((p,c,h)=>{l.current.splice(0),n&&(n.chains.current[c]=n.chains.current[c].filter(([v])=>v!==p)),n?.chains.current[c].push([p,new Promise(v=>{l.current.push(v)})]),n?.chains.current[c].push([p,new Promise(v=>{Promise.all(f.current[c].map(([E,O])=>O)).then(()=>v())})]),c==="enter"?s.current=s.current.then(()=>n?.wait.current).then(()=>h(c)):h(c)}),m=te((p,c,h)=>{Promise.all(f.current[c].splice(0).map(([v,E])=>E)).then(()=>{var v;(v=l.current.shift())==null||v()}).then(()=>h(c))});return u.useMemo(()=>({children:r,register:d,unregister:a,onStart:g,onStop:m,wait:s,chains:f}),[d,a,r,g,m,f,s])}let Qa=u.Fragment,ed=jt.RenderStrategy;function F1(e,n){var t,r;let{transition:i=!0,beforeEnter:o,afterEnter:a,beforeLeave:d,afterLeave:l,enter:s,enterFrom:f,enterTo:g,entered:m,leave:p,leaveFrom:c,leaveTo:h,...v}=e,[E,O]=u.useState(null),b=u.useRef(null),x=Za(e),C=Ue(...x?[b,n,O]:n===null?[]:[n]),A=(t=v.unmount)==null||t?wt.Unmount:wt.Hidden,{show:j,appear:H,initial:k}=A1(),[F,D]=u.useState(j?"visible":"hidden"),X=k1(),{register:G,unregister:B}=X;Ce(()=>G(b),[G,b]),Ce(()=>{if(A===wt.Hidden&&b.current){if(j&&F!=="visible"){D("visible");return}return We(F,{hidden:()=>B(b),visible:()=>G(b)})}},[F,b,G,B,j,A]);let se=ai();Ce(()=>{if(x&&se&&F==="visible"&&b.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[b,F,se,x]);let de=k&&!H,ae=H&&j&&k,ie=u.useRef(!1),z=Ja(()=>{ie.current||(D("hidden"),B(b))},X),I=te(q=>{ie.current=!0;let ne=q?"enter":"leave";z.onStart(b,ne,ce=>{ce==="enter"?o?.():ce==="leave"&&d?.()})}),R=te(q=>{let ne=q?"enter":"leave";ie.current=!1,z.onStop(b,ne,ce=>{ce==="enter"?a?.():ce==="leave"&&l?.()}),ne==="leave"&&!qn(z)&&(D("hidden"),B(b))});u.useEffect(()=>{x&&i||(I(j),R(j))},[j,x,i]);let Y=!(!i||!x||!se||de),[,T]=Ur(Y,E,j,{start:I,end:R}),U=xt({ref:C,className:((r=Nr(v.className,ae&&s,ae&&f,T.enter&&s,T.enter&&T.closed&&f,T.enter&&!T.closed&&g,T.leave&&p,T.leave&&!T.closed&&c,T.leave&&T.closed&&h,!T.transition&&j&&m))==null?void 0:r.trim())||void 0,...Vr(T)}),L=0;F==="visible"&&(L|=Ke.Open),F==="hidden"&&(L|=Ke.Closed),T.enter&&(L|=Ke.Opening),T.leave&&(L|=Ke.Closing);let Q=De();return u.createElement(Kn.Provider,{value:z},u.createElement(ii,{value:L},Q({ourProps:U,theirProps:v,defaultTag:Qa,features:ed,visible:F==="visible",name:"Transition.Child"})))}function M1(e,n){let{show:t,appear:r=!1,unmount:i=!0,...o}=e,a=u.useRef(null),d=Za(e),l=Ue(...d?[a,n]:n===null?[]:[n]);ai();let s=Gn();if(t===void 0&&s!==null&&(t=(s&Ke.Open)===Ke.Open),t===void 0)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[f,g]=u.useState(t?"visible":"hidden"),m=Ja(()=>{t||g("hidden")}),[p,c]=u.useState(!0),h=u.useRef([t]);Ce(()=>{p!==!1&&h.current[h.current.length-1]!==t&&(h.current.push(t),c(!1))},[h,t]);let v=u.useMemo(()=>({show:t,appear:r,initial:p}),[t,r,p]);Ce(()=>{t?g("visible"):!qn(m)&&a.current!==null&&g("hidden")},[t,m]);let E={unmount:i},O=te(()=>{var C;p&&c(!1),(C=e.beforeEnter)==null||C.call(e)}),b=te(()=>{var C;p&&c(!1),(C=e.beforeLeave)==null||C.call(e)}),x=De();return u.createElement(Kn.Provider,{value:m},u.createElement(zn.Provider,{value:v},x({ourProps:{...E,as:u.Fragment,children:u.createElement(td,{ref:l,...E,...o,beforeEnter:O,beforeLeave:b})},theirProps:{},defaultTag:u.Fragment,features:ed,visible:f==="visible",name:"Transition"})))}function L1(e,n){let t=u.useContext(zn)!==null,r=Gn()!==null;return u.createElement(u.Fragment,null,!t&&r?u.createElement(si,{ref:n,...e}):u.createElement(td,{ref:n,...e}))}let si=Le(M1),td=Le(F1),j1=Le(L1),nd=Object.assign(si,{Child:j1,Root:si});function D1(e,n){let t=u.useRef({left:0,top:0});if(Ce(()=>{if(!n)return;let i=n.getBoundingClientRect();i&&(t.current=i)},[e,n]),n==null||!e||n===document.activeElement)return!1;let r=n.getBoundingClientRect();return r.top!==t.current.top||r.left!==t.current.left}let rd=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function id(e){var n,t;let r=(n=e.innerText)!=null?n:"",i=e.cloneNode(!0);if(!(i instanceof HTMLElement))return r;let o=!1;for(let d of i.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))d.remove(),o=!0;let a=o?(t=i.innerText)!=null?t:"":r;return rd.test(a)&&(a=a.replace(rd,"")),a}function R1(e){let n=e.getAttribute("aria-label");if(typeof n=="string")return n.trim();let t=e.getAttribute("aria-labelledby");if(t){let r=t.split(" ").map(i=>{let o=document.getElementById(i);if(o){let a=o.getAttribute("aria-label");return typeof a=="string"?a.trim():id(o).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return id(e).trim()}function B1(e){let n=u.useRef(""),t=u.useRef("");return te(()=>{let r=e.current;if(!r)return"";let i=r.innerText;if(n.current===i)return t.current;let o=R1(r).trim().toLowerCase();return n.current=i,t.current=o,o})}var W1=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(W1||{}),V1=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(V1||{}),U1=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(U1||{}),H1=(e=>(e[e.OpenListbox=0]="OpenListbox",e[e.CloseListbox=1]="CloseListbox",e[e.GoToOption=2]="GoToOption",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterOption=5]="RegisterOption",e[e.UnregisterOption=6]="UnregisterOption",e[e.SetButtonElement=7]="SetButtonElement",e[e.SetOptionsElement=8]="SetOptionsElement",e))(H1||{});function ui(e,n=t=>t){let t=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,r=Wr(n(e.options.slice()),o=>o.dataRef.current.domRef.current),i=t?r.indexOf(t):null;return i===-1&&(i=null),{options:r,activeOptionIndex:i}}let G1={1(e){return e.dataRef.current.disabled||e.listboxState===1?e:{...e,activeOptionIndex:null,listboxState:1,__demoMode:!1}},0(e){if(e.dataRef.current.disabled||e.listboxState===0)return e;let n=e.activeOptionIndex,{isSelected:t}=e.dataRef.current,r=e.options.findIndex(i=>t(i.dataRef.current.value));return r!==-1&&(n=r),{...e,listboxState:0,activeOptionIndex:n,__demoMode:!1}},2(e,n){var t,r,i,o,a;if(e.dataRef.current.disabled||e.listboxState===1)return e;let d={...e,searchQuery:"",activationTrigger:(t=n.trigger)!=null?t:1,__demoMode:!1};if(n.focus===be.Nothing)return{...d,activeOptionIndex:null};if(n.focus===be.Specific)return{...d,activeOptionIndex:e.options.findIndex(f=>f.id===n.id)};if(n.focus===be.Previous){let f=e.activeOptionIndex;if(f!==null){let g=e.options[f].dataRef.current.domRef,m=vn(n,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:p=>p.id,resolveDisabled:p=>p.dataRef.current.disabled});if(m!==null){let p=e.options[m].dataRef.current.domRef;if(((r=g.current)==null?void 0:r.previousElementSibling)===p.current||((i=p.current)==null?void 0:i.previousElementSibling)===null)return{...d,activeOptionIndex:m}}}}else if(n.focus===be.Next){let f=e.activeOptionIndex;if(f!==null){let g=e.options[f].dataRef.current.domRef,m=vn(n,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:p=>p.id,resolveDisabled:p=>p.dataRef.current.disabled});if(m!==null){let p=e.options[m].dataRef.current.domRef;if(((o=g.current)==null?void 0:o.nextElementSibling)===p.current||((a=p.current)==null?void 0:a.nextElementSibling)===null)return{...d,activeOptionIndex:m}}}}let l=ui(e),s=vn(n,{resolveItems:()=>l.options,resolveActiveIndex:()=>l.activeOptionIndex,resolveId:f=>f.id,resolveDisabled:f=>f.dataRef.current.disabled});return{...d,...l,activeOptionIndex:s}},3:(e,n)=>{if(e.dataRef.current.disabled||e.listboxState===1)return e;let t=e.searchQuery!==""?0:1,r=e.searchQuery+n.value.toLowerCase(),i=(e.activeOptionIndex!==null?e.options.slice(e.activeOptionIndex+t).concat(e.options.slice(0,e.activeOptionIndex+t)):e.options).find(a=>{var d;return!a.dataRef.current.disabled&&((d=a.dataRef.current.textValue)==null?void 0:d.startsWith(r))}),o=i?e.options.indexOf(i):-1;return o===-1||o===e.activeOptionIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeOptionIndex:o,activationTrigger:1}},4(e){return e.dataRef.current.disabled||e.listboxState===1||e.searchQuery===""?e:{...e,searchQuery:""}},5:(e,n)=>{let t={id:n.id,dataRef:n.dataRef},r=ui(e,i=>[...i,t]);return e.activeOptionIndex===null&&e.dataRef.current.isSelected(n.dataRef.current.value)&&(r.activeOptionIndex=r.options.indexOf(t)),{...e,...r}},6:(e,n)=>{let t=ui(e,r=>{let i=r.findIndex(o=>o.id===n.id);return i!==-1&&r.splice(i,1),r});return{...e,...t,activationTrigger:1}},7:(e,n)=>e.buttonElement===n.element?e:{...e,buttonElement:n.element},8:(e,n)=>e.optionsElement===n.element?e:{...e,optionsElement:n.element}},ci=u.createContext(null);ci.displayName="ListboxActionsContext";function Yn(e){let n=u.useContext(ci);if(n===null){let t=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Yn),t}return n}let Xn=u.createContext(null);Xn.displayName="ListboxDataContext";function yn(e){let n=u.useContext(Xn);if(n===null){let t=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,yn),t}return n}function z1(e,n){return We(n.type,G1,e,n)}let K1=u.Fragment;function q1(e,n){var t;let r=_n(),{value:i,defaultValue:o,form:a,name:d,onChange:l,by:s,invalid:f=!1,disabled:g=r||!1,horizontal:m=!1,multiple:p=!1,__demoMode:c=!1,...h}=e;const v=m?"horizontal":"vertical";let E=Ue(n),O=So(o),[b=p?[]:void 0,x]=Eo(i,l,O),[C,A]=u.useReducer(z1,{dataRef:u.createRef(),listboxState:c?0:1,options:[],searchQuery:"",activeOptionIndex:null,activationTrigger:1,optionsVisible:!1,buttonElement:null,optionsElement:null,__demoMode:c}),j=u.useRef({static:!1,hold:!1}),H=u.useRef(new Map),k=Vo(s),F=u.useCallback(S=>We(D.mode,{1:()=>b.some(Z=>k(Z,S)),0:()=>k(b,S)}),[b]),D=u.useMemo(()=>({...C,value:b,disabled:g,invalid:f,mode:p?1:0,orientation:v,compare:k,isSelected:F,optionsPropsRef:j,listRef:H}),[b,g,f,p,C,H]);Ce(()=>{C.dataRef.current=D},[D]);let X=D.listboxState===0;ea(X,[D.buttonElement,D.optionsElement],(S,Z)=>{var K;A({type:1}),Xo(Z,Br.Loose)||(S.preventDefault(),(K=D.buttonElement)==null||K.focus())});let G=u.useMemo(()=>({open:D.listboxState===0,disabled:g,invalid:f,value:b}),[D,g,b,f]),B=te(S=>{let Z=D.options.find(K=>K.id===S);Z&&R(Z.dataRef.current.value)}),se=te(()=>{if(D.activeOptionIndex!==null){let{dataRef:S,id:Z}=D.options[D.activeOptionIndex];R(S.current.value),A({type:2,focus:be.Specific,id:Z})}}),de=te(()=>A({type:0})),ae=te(()=>A({type:1})),ie=yt(),z=te((S,Z,K)=>{ie.dispose(),ie.microTask(()=>S===be.Specific?A({type:2,focus:be.Specific,id:Z,trigger:K}):A({type:2,focus:S,trigger:K}))}),I=te((S,Z)=>(A({type:5,id:S,dataRef:Z}),()=>A({type:6,id:S}))),R=te(S=>We(D.mode,{0(){return x?.(S)},1(){let Z=D.value.slice(),K=Z.findIndex(_=>k(_,S));return K===-1?Z.push(S):Z.splice(K,1),x?.(Z)}})),Y=te(S=>A({type:3,value:S})),T=te(()=>A({type:4})),U=te(S=>{A({type:7,element:S})}),L=te(S=>{A({type:8,element:S})}),Q=u.useMemo(()=>({onChange:R,registerOption:I,goToOption:z,closeListbox:ae,openListbox:de,selectActiveOption:se,selectOption:B,search:Y,clearSearch:T,setButtonElement:U,setOptionsElement:L}),[]),[q,ne]=Lo({inherit:!0}),ce={ref:E},he=u.useCallback(()=>{if(O!==void 0)return x?.(O)},[x,O]),Ee=De();return u.createElement(ne,{value:q,props:{htmlFor:(t=D.buttonElement)==null?void 0:t.id},slot:{open:D.listboxState===0,disabled:g}},u.createElement(Ba,null,u.createElement(ci.Provider,{value:Q},u.createElement(Xn.Provider,{value:D},u.createElement(ii,{value:We(D.listboxState,{0:Ke.Open,1:Ke.Closed})},d!=null&&b!=null&&u.createElement(No,{disabled:g,data:{[d]:b},form:a,onReset:he}),Ee({ourProps:ce,theirProps:h,slot:G,defaultTag:K1,name:"Listbox"}))))))}let Y1="button";function X1(e,n){var t;let r=yn("Listbox.Button"),i=Yn("Listbox.Button"),o=u.useId(),a=kr(),{id:d=a||`headlessui-listbox-button-${o}`,disabled:l=r.disabled||!1,autoFocus:s=!1,...f}=e,g=Ue(n,La(),i.setButtonElement),m=Gc(),p=te(D=>{switch(D.key){case Se.Enter:Bu(D.currentTarget);break;case Se.Space:case Se.ArrowDown:D.preventDefault(),Ae.flushSync(()=>i.openListbox()),r.value||i.goToOption(be.First);break;case Se.ArrowUp:D.preventDefault(),Ae.flushSync(()=>i.openListbox()),r.value||i.goToOption(be.Last);break}}),c=te(D=>{switch(D.key){case Se.Space:D.preventDefault();break}}),h=te(D=>{var X;if(_o(D.currentTarget))return D.preventDefault();r.listboxState===0?(Ae.flushSync(()=>i.closeListbox()),(X=r.buttonElement)==null||X.focus({preventScroll:!0})):(D.preventDefault(),i.openListbox())}),v=te(D=>D.preventDefault()),E=ln([d]),O=Fo(),{isFocusVisible:b,focusProps:x}=Tr({autoFocus:s}),{isHovered:C,hoverProps:A}=Pr({isDisabled:l}),{pressed:j,pressProps:H}=xo({disabled:l}),k=u.useMemo(()=>({open:r.listboxState===0,active:j||r.listboxState===0,disabled:l,invalid:r.invalid,value:r.value,hover:C,focus:b,autofocus:s}),[r.listboxState,r.value,l,C,b,j,r.invalid,s]),F=dn(m(),{ref:g,id:d,type:na(e,r.buttonElement),"aria-haspopup":"listbox","aria-controls":(t=r.optionsElement)==null?void 0:t.id,"aria-expanded":r.listboxState===0,"aria-labelledby":E,"aria-describedby":O,disabled:l||void 0,autoFocus:s,onKeyDown:p,onKeyUp:c,onKeyPress:v,onClick:h},x,A,H);return De()({ourProps:F,theirProps:f,slot:k,defaultTag:Y1,name:"Listbox.Button"})}let od=u.createContext(!1),Z1="div",J1=jt.RenderStrategy|jt.Static;function Q1(e,n){var t,r;let i=u.useId(),{id:o=`headlessui-listbox-options-${i}`,anchor:a,portal:d=!1,modal:l=!0,transition:s=!1,...f}=e,g=Ma(a),[m,p]=u.useState(null);g&&(d=!0);let c=yn("Listbox.Options"),h=Yn("Listbox.Options"),v=cn(c.optionsElement),E=Gn(),[O,b]=Ur(s,m,E!==null?(E&Ke.Open)===Ke.Open:c.listboxState===0);qo(O,c.buttonElement,h.closeListbox);let x=c.__demoMode?!1:l&&c.listboxState===0;ra(x,v);let C=c.__demoMode?!1:l&&c.listboxState===0;Ko(C,{allowed:u.useCallback(()=>[c.buttonElement,c.optionsElement],[c.buttonElement,c.optionsElement])});let A=c.listboxState!==0,j=D1(A,c.buttonElement)?!1:O,H=O&&c.listboxState===1,k=Hn(H,c.value),F=te(T=>c.compare(k,T)),D=u.useMemo(()=>{var T;if(g==null||!((T=g?.to)!=null&&T.includes("selection")))return null;let U=c.options.findIndex(L=>F(L.dataRef.current.value));return U===-1&&(U=0),U},[g,c.options]),X=(()=>{if(g==null)return;if(D===null)return{...g,inner:void 0};let T=Array.from(c.listRef.current.values());return{...g,inner:{listRef:{current:T},index:D}}})(),[G,B]=Da(X),se=ja(),de=Ue(n,g?G:null,h.setOptionsElement,p),ae=yt();u.useEffect(()=>{var T;let U=c.optionsElement;U&&c.listboxState===0&&U!==((T=Lt(U))==null?void 0:T.activeElement)&&U?.focus({preventScroll:!0})},[c.listboxState,c.optionsElement]);let ie=te(T=>{var U,L;switch(ae.dispose(),T.key){case Se.Space:if(c.searchQuery!=="")return T.preventDefault(),T.stopPropagation(),h.search(T.key);case Se.Enter:if(T.preventDefault(),T.stopPropagation(),c.activeOptionIndex!==null){let{dataRef:Q}=c.options[c.activeOptionIndex];h.onChange(Q.current.value)}c.mode===0&&(Ae.flushSync(()=>h.closeListbox()),(U=c.buttonElement)==null||U.focus({preventScroll:!0}));break;case We(c.orientation,{vertical:Se.ArrowDown,horizontal:Se.ArrowRight}):return T.preventDefault(),T.stopPropagation(),h.goToOption(be.Next);case We(c.orientation,{vertical:Se.ArrowUp,horizontal:Se.ArrowLeft}):return T.preventDefault(),T.stopPropagation(),h.goToOption(be.Previous);case Se.Home:case Se.PageUp:return T.preventDefault(),T.stopPropagation(),h.goToOption(be.First);case Se.End:case Se.PageDown:return T.preventDefault(),T.stopPropagation(),h.goToOption(be.Last);case Se.Escape:T.preventDefault(),T.stopPropagation(),Ae.flushSync(()=>h.closeListbox()),(L=c.buttonElement)==null||L.focus({preventScroll:!0});return;case Se.Tab:T.preventDefault(),T.stopPropagation(),Ae.flushSync(()=>h.closeListbox()),E0(c.buttonElement,T.shiftKey?Rr.Previous:Rr.Next);break;default:T.key.length===1&&(h.search(T.key),ae.setTimeout(()=>h.clearSearch(),350));break}}),z=(t=c.buttonElement)==null?void 0:t.id,I=u.useMemo(()=>({open:c.listboxState===0}),[c.listboxState]),R=dn(g?se():{},{id:o,ref:de,"aria-activedescendant":c.activeOptionIndex===null||(r=c.options[c.activeOptionIndex])==null?void 0:r.id,"aria-multiselectable":c.mode===1?!0:void 0,"aria-labelledby":z,"aria-orientation":c.orientation,onKeyDown:ie,role:"listbox",tabIndex:c.listboxState===0?0:void 0,style:{...f.style,...B,"--button-width":Lr(c.buttonElement,!0).width},...Vr(b)}),Y=De();return u.createElement(Ga,{enabled:d?e.static||O:!1},u.createElement(Xn.Provider,{value:c.mode===1?c:{...c,isSelected:F}},Y({ourProps:R,theirProps:f,slot:I,defaultTag:Z1,features:J1,visible:j,name:"Listbox.Options"})))}let ef="div";function tf(e,n){let t=u.useId(),{id:r=`headlessui-listbox-option-${t}`,disabled:i=!1,value:o,...a}=e,d=u.useContext(od)===!0,l=yn("Listbox.Option"),s=Yn("Listbox.Option"),f=l.activeOptionIndex!==null?l.options[l.activeOptionIndex].id===r:!1,g=l.isSelected(o),m=u.useRef(null),p=B1(m),c=mt({disabled:i,value:o,domRef:m,get textValue(){return p()}}),h=Ue(n,m,k=>{k?l.listRef.current.set(r,k):l.listRef.current.delete(r)});Ce(()=>{if(!l.__demoMode&&l.listboxState===0&&f&&l.activationTrigger!==0)return et().requestAnimationFrame(()=>{var k,F;(F=(k=m.current)==null?void 0:k.scrollIntoView)==null||F.call(k,{block:"nearest"})})},[m,f,l.__demoMode,l.listboxState,l.activationTrigger,l.activeOptionIndex]),Ce(()=>{if(!d)return s.registerOption(r,c)},[c,r,d]);let v=te(k=>{var F;if(i)return k.preventDefault();s.onChange(o),l.mode===0&&(Ae.flushSync(()=>s.closeListbox()),(F=l.buttonElement)==null||F.focus({preventScroll:!0}))}),E=te(()=>{if(i)return s.goToOption(be.Nothing);s.goToOption(be.Specific,r)}),O=oa(),b=te(k=>{O.update(k),!i&&(f||s.goToOption(be.Specific,r,0))}),x=te(k=>{O.wasMoved(k)&&(i||f||s.goToOption(be.Specific,r,0))}),C=te(k=>{O.wasMoved(k)&&(i||f&&s.goToOption(be.Nothing))}),A=u.useMemo(()=>({active:f,focus:f,selected:g,disabled:i,selectedOption:g&&d}),[f,g,i,d]),j=d?{}:{id:r,ref:h,role:"option",tabIndex:i===!0?void 0:-1,"aria-disabled":i===!0?!0:void 0,"aria-selected":g,disabled:void 0,onClick:v,onFocus:E,onPointerEnter:b,onMouseEnter:b,onPointerMove:x,onMouseMove:x,onPointerLeave:C,onMouseLeave:C},H=De();return!g&&d?null:H({ourProps:j,theirProps:a,slot:A,defaultTag:ef,name:"Listbox.Option"})}let nf=u.Fragment;function rf(e,n){let{options:t,placeholder:r,...i}=e,o={ref:Ue(n)},a=yn("ListboxSelectedOption"),d=u.useMemo(()=>({}),[]),l=a.value===void 0||a.value===null||a.mode===1&&Array.isArray(a.value)&&a.value.length===0,s=De();return u.createElement(od.Provider,{value:!0},s({ourProps:o,theirProps:{...i,children:u.createElement(u.Fragment,null,r&&l?r:t)},slot:d,defaultTag:nf,name:"ListboxSelectedOption"}))}let of=Le(q1),ad=Le(X1),af=jo,dd=Le(Q1),ld=Le(tf),df=Le(rf),lf=Object.assign(of,{Button:ad,Label:af,Options:dd,Option:ld,SelectedOption:df});function sf({title:e,titleId:n,...t},r){return le.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":n},t),e?le.createElement("title",{id:n},e):null,le.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 sd=le.forwardRef(sf),Ze={select:"_select_c79hj_1",selectContainer:"_selectContainer_c79hj_4",selectButton:"_selectButton_c79hj_7",open:"_open_c79hj_13",selectValue:"_selectValue_c79hj_16",seletIcon:"_seletIcon_c79hj_19",selectText:"_selectText_c79hj_22",chevronDownIconSpan:"_chevronDownIconSpan_c79hj_25",chevronDownIcon:"_chevronDownIcon_c79hj_25",leave:"_leave_c79hj_32",leaveFrom:"_leaveFrom_c79hj_36",leaveTo:"_leaveTo_c79hj_40",selectOptions:"_selectOptions_c79hj_44"},ud=({children:e,selected:n,onSelect:t,themeColor:r})=>{const[i,o]=u.useState(!1),[a,d]=u.useState(!1),[l,s]=u.useState(!1),f=u.useRef(null),g=u.useRef(null),m=u.useRef(null),[p,c]=u.useState({left:0,top:0}),[h,v]=u.useState(!1),E=u.useRef(0),O=u.useRef(0);let b="#333333";const x=()=>{E.current=window.innerHeight,O.current=document.body.scrollHeight,o(!0)};u.useEffect(()=>(x(),window.addEventListener("resize",x),()=>{window.removeEventListener("resize",x)}),[]);const C=()=>O.current-(E.current+window.scrollY),A=()=>{if(f.current){const F=f.current.getBoundingClientRect();v(!1),setTimeout(()=>{const D=m?.current?.getBoundingClientRect(),X=C(),G=E.current-F.bottom;if(D){const B=D.height,se=F.top,de=B>=se+window.scrollY,ae=B>=se&&(de||X>=B||G>=B)||se>=B&&G>=B?F.y+F.height:F.y-B;c({left:F.left,top:ae??F.top}),v(!0)}},0)}};if(u.useEffect(()=>(window.addEventListener("scroll",A),window.addEventListener("resize",A),()=>{window.removeEventListener("scroll",A),window.removeEventListener("resize",A)}),[]),r){r=Je.convert3HexTo6(r);const F=pt(r);(F==="dark"||F==="light")&&(b=r==="#ffffff"?"#c8c8c8":r)}const j=F=>{t(F)},H=()=>s(!0),k=()=>s(!1);return N.jsx(lf,{value:n,onChange:j,children:({open:F})=>(F!==a&&(d(F),F?A():v(!1)),N.jsxs("div",{className:Ze.select,children:[N.jsx("div",{className:Ze.selectContainer,ref:f,children:N.jsxs(ad,{ref:g,"data-testid":"select-options",onFocus:H,onBlur:k,className:`${Ze.selectButton} ${F?Ze.open:""}`,style:{borderBottomColor:r&&(l||F)?b:""},children:[n&&N.jsxs("span",{className:Ze.selectValue,children:[n.avatar&&N.jsx("img",{src:n.avatar,alt:"",className:Ze.seletIcon}),N.jsx("span",{className:Ze.selectText,children:n.label})]}),N.jsx("span",{className:Ze.chevronDownIconSpan,children:N.jsx(sd,{className:Ze.chevronDownIcon,"aria-hidden":"true","data-open":a?!0:void 0})})]})}),i&&Ae.createPortal(F&&N.jsx("div",{style:{position:"fixed",inset:0,backgroundColor:"rgba(255,255,255,0)",zIndex:1e3},children:N.jsx("div",{ref:m,style:{position:"absolute",opacity:h?1:0,width:f.current?.clientWidth??"auto",left:p.left,top:p.top},children:e})}),document.body)]}))})},cd=({children:e,setQuery:n})=>N.jsx(nd,{as:u.Fragment,leave:Ze.leave,leaveFrom:Ze.leaveFrom,leaveTo:Ze.leaveTo,afterLeave:()=>n(""),children:N.jsx(dd,{className:Ze.selectOptions,children:e})}),fi=u.forwardRef((e,n)=>N.jsx(ld,{ref:n,className:e.className,value:e.value,disabled:e.disable,children:e.children}));fi.displayName="SelectOption";const nt={autocomplete:"_autocomplete_1wp4j_1",autocompleteContainer:"_autocompleteContainer_1wp4j_4",disable:"_disable_1wp4j_7",autocompleteInput:"_autocompleteInput_1wp4j_16",autocompleteButton:"_autocompleteButton_1wp4j_32",chevronDownIcon:"_chevronDownIcon_1wp4j_43",leave:"_leave_1wp4j_53",leaveFrom:"_leaveFrom_1wp4j_57",leaveTo:"_leaveTo_1wp4j_61",autocompleteOptions:"_autocompleteOptions_1wp4j_65"},uf=({children:e,selected:n,onSelect:t,setQuery:r=()=>{},disable:i,clearSearch:o=!1,themeColor:a})=>{const d=u.useRef(null),l=u.useRef(null),s=u.useRef(null),f=u.useRef(null),[g,m]=u.useState(!1),[p,c]=u.useState(!1),[h,v]=u.useState(!1),[E,O]=u.useState({top:0,left:0}),[b,x]=u.useState(!1),C=u.useRef(0),A=u.useRef(0);let j={};u.useEffect(()=>{d.current&&n&&(d.current.value=n.label||"")},[n]),u.useEffect(()=>{C.current=window.innerHeight,A.current=document.body.scrollHeight,v(!0)},[]);const H=u.useCallback(()=>{if(s.current){const X=window.visualViewport,G=s.current.getBoundingClientRect();x(!1),setTimeout(()=>{const B=f?.current?.getBoundingClientRect();let se=G.left,de=G.y+G.height,ae=window.innerHeight-G.bottom,ie=document.body.scrollHeight-(window.innerHeight+window.scrollY);if(X&&(se=G.left+X.offsetLeft,de=G.top+G.height+X.offsetTop,ae=X.height-(G.bottom-X.offsetTop),ie=document.body.scrollHeight-(X.height+X.pageTop)),B){const z=B.height,I=G.top,R=z>=I+window.scrollY,Y=z>=I&&(R||ie>=z||ae>=z)||I>=z&&ae>=z?de:(X?G.top+X.offsetTop:G.y)-z;O({left:se,top:Y??(X?G.top+X.offsetTop:G.top)}),x(!0)}},0)}},[]);u.useEffect(()=>(window.addEventListener("scroll",H),window.addEventListener("resize",H),()=>{window.removeEventListener("scroll",H),window.removeEventListener("resize",H)}),[]);const k=X=>{typeof p<"u"&&d.current&&(p?(d.current.dispatchEvent(new KeyboardEvent("keydown",{key:"Escape",bubbles:!0})),m(!1)):(H(),m(!0),n&&(d.current.value=n.label||""),o&&(d.current.value="",r("")),d.current.dispatchEvent(new KeyboardEvent("keydown",{key:"ArrowDown",bubbles:!0}))))},F=()=>{m(!0)},D=()=>{m(!1)};if(a){const X=pt(a);a=Je.convert3HexTo6(a);let G;a==="#ffffff"?G="#c8c8c8":g?G=a:G="#333333",(X==="dark"||X==="light")&&(j={borderBottomColor:G})}return N.jsx(I1,{value:n,onChange:t,disabled:i,children:({open:X})=>(X!==p&&(c(X),X?H():x(!1)),N.jsxs("div",{className:nt.autocomplete,children:[N.jsxs("div",{ref:s,className:`${nt.autocompleteContainer} ${i?nt.disable:""}`,children:[N.jsx(qa,{ref:d,"data-testid":"select-input",className:nt.autocompleteInput,displayValue:G=>G?.label||"",onChange:G=>{r(G.target.value)},onClick:k,onFocus:F,onBlur:D,style:{...j},placeholder:"Select your option",autoComplete:"off"}),N.jsx(Ka,{className:nt.autocompleteButton,"data-testid":"select-button",ref:l,children:N.jsx(sd,{className:`${nt.chevronDownIcon} ${i?nt.disable:""}`,"aria-hidden":"true","data-open":X?!0:void 0})})]}),h?Ae.createPortal(N.jsx(N.Fragment,{children:X&&N.jsx("div",{style:{position:"fixed",inset:0,backgroundColor:"rgba(255,255,255,0)",zIndex:1e3},children:N.jsx("div",{ref:f,style:{position:"absolute",opacity:b?1:0,width:s.current?s.current.clientWidth:"auto",left:E.left,top:E.top,zIndex:1e3},children:e})})}),document.body):null]}))})},cf=({children:e,setQuery:n})=>N.jsx(nd,{as:u.Fragment,leave:nt.leave,leaveFrom:nt.leaveFrom,leaveTo:nt.leaveTo,afterLeave:()=>n(""),children:N.jsx(Ya,{className:nt.autocompleteOptions,children:e})}),fd=u.forwardRef((e,n)=>N.jsx(Xa,{ref:n,className:e.className,value:e.value,disabled:e.disable,children:e.children}));fd.displayName="AutoCompleteOption";const pd={textInputWrapper:"_textInputWrapper_gym4n_1",textInput:"_textInput_gym4n_1"},md=u.memo(u.forwardRef(({themeColor:e="",style:n={},className:t="",onFocus:r,onBlur:i,...o},a)=>{const[d,l]=u.useState(!1);let s={};const f=[pd.textInput,t].filter(Boolean).join(" ");e=Je.convert3HexTo6(e);const g=()=>{l(!0)},m=()=>{l(!1)};return s={borderBottomColor:d?e!=="#ffffff"?e:"#c8c8c8":""},N.jsx("div",{className:pd.textInputWrapper,children:N.jsx("input",{type:"text","data-testid":"textbox-input",ref:a,className:f,onFocus:g,onBlur:m,style:{...s,...n},...o})})})),St={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"},hd={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6],0,0,0,0,0,0,0,[["6[2-467]\\d{3}",[5]],["4\\d{4}",[5]],0,0,0,0,["(?:0[1-9]|[1589]\\d)\\d{4}",[6]]]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[["[78]\\d{5}",[6]],["690\\d{6}|[356]\\d{5}",[6,9]],["180[02]\\d{4}",[8]],["[19]\\d{5}",[6]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0",0,0,0,0,0,[["[2-4679][2-8]\\d{6}",[8]],["5[024-68]\\d{7}",[9]],["400\\d{6}|800\\d{2,9}"],["900[02]\\d{5}",[9]],0,0,["600[25]\\d{5}",[9]],0,0,["700[05]\\d{5}",[9]]]],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0",0,0,0,0,0,[["(?:[25][0-8]|[34][0-4]|6[0-5])[2-9]\\d{6}"],["7\\d{8}"]]],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268",[["268(?:4(?:6[0-38]|84)|56[0-2])\\d{4}"],["268(?:464|7(?:1[3-9]|[28]\\d|3[0246]|64|7[0-689]))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,["26840[69]\\d{4}"],["26848[01]\\d{4}"]]],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264",[["264(?:292|4(?:6[12]|9[78]))\\d{4}"],["264(?:235|4(?:69|76)|5(?:3[6-9]|8[1-4])|7(?:29|72))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,["264724\\d{4}"]]],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0",0,0,0,0,0,[["4505[0-2]\\d{3}|(?:[2358][16-9]\\d[2-9]|4410)\\d{4}|(?:[2358][2-5][2-9]|4(?:[2-57-9][2-9]|6\\d))\\d{5}",[8]],["6(?:[78][2-9]|9\\d)\\d{6}",[9]],["800\\d{4}",[7]],["900[1-9]\\d\\d",[6]],["700[2-9]\\d{4}",[8]],0,0,0,0,["808[1-9]\\d\\d",[6]]]],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:1[0-25]|47)\\d|2(?:2[2-46]|3[1-8]|4[2-69]|5[2-7]|6[1-9]|8[1-7])|3[12]2)\\d{5}"],["(?:33|4[1349]|55|77|88|9[13-9])\\d{6}"],["800\\d{5}"],["90[016]\\d{5}"],0,0,0,0,["60(?:2[78]|3[5-9]|4[02-9]|5[0-46-9]|[6-8]\\d|9[0-2])\\d{4}"],["80[1-4]\\d{5}"]]],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]],0,0,0,0,0,0,[["2\\d(?:[0134][25-9]|[25-9]\\d)\\d{5}"],["9[1-79]\\d{7}"]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1",0,0,[["3(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?: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",[["6846(?:22|33|44|55|77|88|9[19])\\d{4}"],["684(?:2(?:48|5[2468]|7[26])|7(?:3[13]|70|82))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?: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,[["(?:(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|3\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]],0,0,0,0,0,0,[["5(?:2\\d|8[1-9])\\d{4}"],["(?:290|5[69]\\d|6(?:[03]0|22|4[0-2]|[69]\\d)|7(?:[34]\\d|7[07])|9(?:6[45]|9[4-8]))\\d{4}"],["800\\d{4}"],["900\\d{4}"],0,0,0,0,["(?:28\\d|501)\\d{4}"]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",[["18[1-8]\\d{3,6}",[6,7,8,9]],["4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",[6,7,8,9,10]],["800\\d{4,6}",[7,8,9]],["[67]00\\d{5,6}",[8,9]],0,0,["20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}"]],"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:2[12]428|3655[02])\\d{4}|(?:2(?:22[0-79]|63[0-28])|3654)\\d{5}|(?:(?:1[28]|46)\\d|2(?:[014-6]2|[23]3))\\d{6}"],["36554\\d{4}|(?:[16]0|4[04]|5[015]|7[07]|99)\\d{7}"],["88\\d{7}"],["900200\\d{3}"]]],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0",0,0,0,0,0,[["(?:3(?:[05-79][2-9]|1[4579]|[23][24-9]|4[2-4689]|8[2457-9])|49[2-579]|5(?:0[2-49]|[13][2-9]|[268][2-4679]|4[4689]|5[2-79]|7[2-69]|9[2-4689]))\\d{5}",[8]],["6040\\d{5}|6(?:03|[1-356]|44|7\\d)\\d{6}"],["8[08]\\d{6}",[8]],["9[0246]\\d{6}",[8]],0,0,["703[235]0\\d{3}|70(?:2[0-5]|3[0146]|[56]0)\\d{4}",[8]],0,0,["8[12]\\d{6}",[8]]]],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246",[["246521[0369]\\d{3}|246(?:2(?:2[78]|7[0-4])|4(?:1[024-6]|2\\d|3[2-9])|5(?:20|[34]\\d|54|7[1-3])|6(?:2\\d|38)|7[35]7|9(?:1[89]|63))\\d{4}"],["246(?:(?:2(?:[3568]\\d|4[0-57-9])|3(?:5[2-9]|6[0-6])|4(?:46|5\\d)|69[5-7]|8(?:[2-5]\\d|83))\\d|52(?:1[147]|20))\\d{3}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["(?:246976|900[2-9]\\d\\d)\\d{4}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,["246(?:292|367|4(?:1[7-9]|3[01]|4[47-9]|67)|7(?:1[2-9]|2\\d|3[016]|53))\\d{4}"],0,["24631\\d{5}"]]],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0",0,0,0,0,0,[["(?:4(?:31\\d\\d|423)|5222)\\d{3}(?:\\d{2})?|8332[6-9]\\d\\d|(?:3(?:03[56]|224)|4(?:22[25]|653))\\d{3,4}|(?:3(?:42[47]|529|823)|4(?:027|525|65(?:28|8))|562|6257|7(?:1(?:5[3-5]|6[12]|7[156]|89)|22[589]56|32|42675|52(?:[25689](?:56|8)|[347]8)|71(?:6[1267]|75|89)|92374)|82(?:2[59]|32)56|9(?:03[23]56|23(?:256|373)|31|5(?:1|2[4589]56)))\\d{3}|(?:3(?:02[348]|22[35]|324|422)|4(?:22[67]|32[236-9]|6(?:2[46]|5[57])|953)|5526|6(?:024|6655)|81)\\d{4,5}|(?:2(?:7(?:1[0-267]|2[0-289]|3[0-29]|4[01]|5[1-3]|6[013]|7[0178]|91)|8(?:0[125]|1[1-6]|2[0157-9]|3[1-69]|41|6[1-35]|7[1-5]|8[1-8]|9[0-6])|9(?:0[0-2]|1[0-4]|2[568]|3[3-6]|5[5-7]|6[0136-9]|7[0-7]|8[014-9]))|3(?:0(?:2[025-79]|3[2-4])|181|22[12]|32[2356]|824)|4(?:02[09]|22[348]|32[045]|523|6(?:27|54))|666(?:22|53)|7(?:22[57-9]|42[56]|82[35])8|8(?:0[124-9]|2(?:181|2[02-4679]8)|4[12]|[5-7]2)|9(?:[04]2|2(?:2|328)|81))\\d{4}|(?:2(?:[23]\\d|[45])\\d\\d|3(?:1(?:2[5-7]|[5-7])|425|822)|4(?:033|1\\d|[257]1|332|4(?:2[246]|5[25])|6(?:2[35]|56|62)|8(?:23|54)|92[2-5])|5(?:02[03489]|22[457]|32[35-79]|42[46]|6(?:[18]|53)|724|826)|6(?:023|2(?:2[2-5]|5[3-5]|8)|32[3478]|42[34]|52[47]|6(?:[18]|6(?:2[34]|5[24]))|[78]2[2-5]|92[2-6])|7(?:02|21\\d|[3-589]1|6[12]|72[24])|8(?:217|3[12]|[5-7]1)|9[24]1)\\d{5}|(?:(?:3[2-8]|5[2-57-9]|6[03-589])1|4[4689][18])\\d{5}|[59]1\\d{5}"],["(?:1[13-9]\\d|644)\\d{7}|(?:3[78]|44|66)[02-9]\\d{7}",[10]],["80[03]\\d{7}",[10]],0,0,0,0,0,["96(?:0[469]|1[0-47]|3[389]|43|6[69]|7[78])\\d{6}",[10]]]],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0",0,0,0,0,0,[["80[2-8]\\d{5}|(?:1[0-69]|[23][2-8]|4[23]|5\\d|6[013-57-9]|71|8[1-79]|9[2-4])\\d{6}",[8]],["4[5-9]\\d{7}",[9]],["800[1-9]\\d{4}",[8]],["(?:70(?:2[0-57]|3[04-7]|44|6[04-69]|7[0579])|90\\d\\d)\\d{4}",[8]],0,0,["78(?:0[578]|1[014-8]|2[25]|3[15-8]|48|5[05]|60|7[06-8]|9\\d)\\d{4}",[8]],0,0,["7879\\d{4}",[8]]]],BF:["226","00","[025-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]],0,0,0,0,0,0,[["2(?:0(?:49|5[23]|6[5-7]|9[016-9])|4(?:4[569]|5[4-6]|6[5-7]|7[0179])|5(?:[34]\\d|50|6[5-7]))\\d{4}"],["(?:0[1-7]|5[0-8]|[67]\\d)\\d{6}"]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0",0,0,0,0,0,[["2\\d{5,7}|(?:43[1-6]|70[1-9])\\d{4,5}|(?:[36]\\d|4[124-7]|[57][1-9]|8[1-6]|9[1-7])\\d{5,6}",[6,7,8]],["(?:43[07-9]|99[69]\\d)\\d{5}|(?:8[7-9]|98)\\d{7}",[8,9]],["(?:00800\\d\\d|800)\\d{5}",[8,12]],["90\\d{6}",[8]],0,0,0,0,0,["700\\d{5}",[8]]]],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]],0,0,0,0,0,0,[["(?:1(?:3[1356]|6[0156]|7\\d)\\d|6(?:1[16]\\d|500|6(?:0\\d|3[12]|44|55|7[7-9]|88)|9[69][69])|7(?:[07]\\d\\d|1(?:11|78)))\\d{4}"],["(?:3(?:[0-79]\\d|8[0-57-9])\\d|6(?:3(?:00|33|6[16])|441|6(?:3[03-9]|[69]\\d|7[0-689])))\\d{4}"],["8[02369]\\d{6}"],["(?:87|9[0-8])\\d{6}"],0,0,0,0,0,["84\\d{6}"]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]],0,0,0,0,0,0,[["(?:22|31)\\d{6}"],["(?:29|[67][125-9])\\d{6}"]]],BJ:["229","00","(?:01\\d|[24-689])\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]],0,0,0,0,0,0,[["2090\\d{4}|(?:012\\d\\d|2(?:02|1[037]|2[45]|3[68]|4\\d))\\d{5}"],["(?:01(?:2[5-9]|[4-69]\\d)|4[0-8]|[56]\\d|9[013-9])\\d{6}"],0,0,0,0,["81\\d{6}",[8]],0,["857[58]\\d{4}",[8]]]],BL:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441",[["441(?:[46]\\d\\d|5(?:4\\d|60|89))\\d{4}"],["441(?:[2378]\\d|5[0-39]|9[02])\\d{5}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]],0,0,0,0,0,0,[["22[0-7]\\d{4}|(?:2[013-9]|[34]\\d|5[0-25-9])\\d{5}"],["(?:22[89]|[78]\\d\\d)\\d{4}"],0,0,0,0,0,0,["5[34]\\d{5}"]]],BO:["591","00(?:1\\d)?","8001\\d{5}|(?:[2-467]\\d|50)\\d{6}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[235]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?",0,0,0,[["(?:2(?:2\\d\\d|5(?:11|[258]\\d|9[67])|6(?:12|2\\d|9[34])|8(?:2[34]|39|62))|3(?:3\\d\\d|4(?:6\\d|8[24])|8(?:25|42|5[257]|86|9[25])|9(?:[27]\\d|3[2-4]|4[248]|5[24]|6[2-6]))|4(?:4\\d\\d|6(?:11|[24689]\\d|72)))\\d{4}",[8]],["[67]\\d{7}",[8]],["8001[07]\\d{4}",[9]],0,0,0,0,0,["50\\d{6}",[8]]]],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]",[["(?:318[023]|41(?:6[023]|70)|7(?:1[578]|2[05]|50)\\d)\\d{3}"],["(?:31(?:8[14-8]|9[14578])|416[14-9]|7(?:0[01]|7[07]|8\\d|9[056])\\d)\\d{3}"]]],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2",0,0,[["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\\d{7}",[10]],["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])(?:7|9\\d)\\d{7}",[10,11]],["800\\d{6,7}",[9,10]],["300\\d{6}|[59]00\\d{6,7}",[9,10]],0,0,0,0,0,["(?:30[03]\\d{3}|4(?:0(?:0\\d|20)|370))\\d{4}|300\\d{5}",[8,10]]]],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242",[["242(?:3(?:02|[236][1-9]|4[0-24-9]|5[0-68]|7[347]|8[0-4]|9[2-467])|461|502|6(?:0[1-5]|12|2[013]|[45]0|7[67]|8[78]|9[89])|7(?:02|88))\\d{4}"],["242(?:3(?:5[79]|7[56]|95)|4(?:[23][1-9]|4[1-35-9]|5[1-8]|6[2-8]|7\\d|81)|5(?:2[45]|3[35]|44|5[1-46-9]|65|77)|6[34]6|7(?:27|38)|8(?:0[1-9]|1[02-9]|2\\d|3[0-4]|[89]9))\\d{4}"],["242300\\d{4}|8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,["242225\\d{4}"]]],BT:["975","00","[17]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]],0,0,0,0,0,0,[["(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\d{5}",[7]],["(?:1[67]|77)\\d{6}",[8]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["(?:2(?:4[0-48]|6[0-24]|9[0578])|3(?:1[0-35-9]|55|[69]\\d|7[013]|81)|4(?:6[03]|7[1267]|9[0-5])|5(?:3[03489]|4[0489]|7[1-47]|88|9[0-49])|6(?:2[1-35]|5[149]|8[013467]))\\d{4}",[7]],["(?:321|7[1-8]\\d)\\d{5}",[8]],["(?:0800|800\\d)\\d{6}",[10]],["90\\d{5}",[7]],0,0,0,0,["79(?:1(?:[0-2]\\d|3[0-3])|2[0-7]\\d)\\d{3}",[8]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,[["(?:1(?:5(?:1[1-5]|[24]\\d|6[2-4]|9[1-7])|6(?:[235]\\d|4[1-7])|7\\d\\d)|2(?:1(?:[246]\\d|3[0-35-9]|5[1-9])|2(?:[235]\\d|4[0-8])|3(?:[26]\\d|3[02-79]|4[024-7]|5[03-7])))\\d{5}",[9]],["(?:2(?:5[5-79]|9[1-9])|(?:33|44)\\d)\\d{6}",[9]],["800\\d{3,7}|8(?:0[13]|20\\d)\\d{7}"],["(?:810|902)\\d{7}",[10]],0,0,0,0,["249\\d{6}",[9]]],"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]],0,0,0,0,0,0,[["(?:2(?:[02]\\d|36|[68]0)|[3-58](?:[02]\\d|[68]0)|7(?:[02]\\d|32|[68]0))\\d{4}",[7]],["6[0-35-7]\\d{5}",[7]],["0800\\d{7}",[11]]]],CA:["1","011","[2-9]\\d{9}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:12|573)\\d\\d|276)\\d{5}|[1-6]\\d{6}"],["88\\d{5}|(?:8[0-69]|9[017-9])\\d{7}",[7,9]]]],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]],0,0,0,0,0,0,[["2[12]\\d{6}"],["7[024-7]\\d{6}"],0,["8776\\d{4}"]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]],0,0,0,0,0,0,[["222[1-589]\\d{5}"],["026(?:1[0-5]|6[6-9])\\d{4}|0(?:[14-6]\\d\\d|2(?:40|5[5-8]|6[07-9]))\\d{5}"],0,["80[0-2]\\d{6}"]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:2[12467]|3[1-4]|4[134]|5[256]|6[12]|[7-9]1)\\d{7}",[9]],["(?:6[89]|7[235-9])\\d{7}",[9]],["800\\d{6}",[9]],["90[016]\\d{6}",[9]],["878\\d{6}",[9]],["860\\d{9}",[12]],["5[18]\\d{7}",[9]],["74[0248]\\d{6}",[9]],0,["84[0248]\\d{6}",[9]]]],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]],0,0,0,0,0,0,[["2(?:[15]\\d{3}|7(?:2(?:0[23]|1[2357]|2[245]|3[45]|4[3-5])|3(?:06|1[69]|[2-6]7)))\\d{5}"],["0[157]\\d{8}"]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]],0,0,0,0,0,0,[["(?:2\\d|3[13-7]|4[1-5])\\d{3}"],["[578]\\d{4}"]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]],0,0,0,0,0,0,[["2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\d\\d|3(?:[03467]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-3])|600)|646[59])|80[1-9]\\d\\d|9(?:3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|7[1-9]\\d\\d|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",[9]],["",[9]],["(?:123|8)00\\d{6}",[9,11]],0,0,0,0,0,["44\\d{7}",[9]],["600\\d{7,8}",[10,11]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]],0,0,0,0,0,0,[["2(?:22|33)\\d{6}",[9]],["(?:24[23]|6(?:[25-9]\\d|40))\\d{6}",[9]],["88\\d{6,7}"]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,[["(?:10(?:[02-79]\\d\\d|[18](?:0[1-9]|[1-9]\\d))|2(?:[02-57-9]\\d{3}|1(?:[18](?:0[1-9]|[1-9]\\d)|[2-79]\\d\\d))|(?:41[03]|8078|9(?:78|94))\\d\\d)\\d{5}|(?:10|2[0-57-9])(?:1(?:00|23)\\d\\d|95\\d{3,4})|(?:41[03]|9(?:78|94))(?:100\\d\\d|95\\d{3,4})|8078123|(?:43[35]|754|851)\\d{7,8}|(?:43[35]|754|851)(?:1(?:00\\d|23)\\d|95\\d{3,4})|(?:3(?:11|7[179])|4(?:[15]1|3[12])|5(?:1\\d|2[37]|3[12]|51|7[13-79]|9[15])|7(?:[39]1|5[57]|6[09])|8(?:71|98))(?:[02-8]\\d{7}|1(?:0(?:0\\d\\d(?:\\d{3})?|[1-9]\\d{5})|[13-9]\\d{6}|2(?:[0-24-9]\\d{5}|3\\d(?:\\d{4})?))|9(?:[0-46-9]\\d{6}|5\\d{3}(?:\\d(?:\\d{2})?)?))|(?:3(?:1[02-9]|35|49|5\\d|7[02-68]|9[1-68])|4(?:1[24-9]|2[179]|3[46-9]|5[2-9]|6[47-9]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[17]\\d|2[248]|3[04-9]|4[3-6]|5[0-3689]|6[2368]|9[02-9])|8(?:1[236-8]|2[5-7]|3\\d|5[2-9]|7[02-9]|8[36-8]|9[1-7])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))(?:[02-8]\\d{6}|1(?:0(?:0\\d\\d(?:\\d{2})?|[1-9]\\d{4})|[13-9]\\d{5}|2(?:[0-24-9]\\d{4}|3\\d(?:\\d{3})?))|9(?:[0-46-9]\\d{5}|5\\d{3,5}))",[7,8,9,10,11]],["1740[0-5]\\d{6}|1(?:[38]\\d|4[57]|[59][0-35-9]|6[25-7]|7[0-35-8])\\d{8}",[11]],["(?:(?:10|21)8|8)00\\d{7}",[10,12]],["16[08]\\d{5}",[8]],0,0,0,0,0,["10(?:10\\d{4}|96\\d{3,4})|400\\d{7}|950\\d{7,8}|(?:2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))96\\d{3,4}",[7,8,9,10,11]]],"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["46"]],["(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?",0,0,0,[["601055(?:[0-4]\\d|50)\\d\\d|6010(?:[0-4]\\d|5[0-4])\\d{4}|(?:46|60(?:[124-7][2-9]|8[1-9]))\\d{6}",[8,10]],["333301[0-5]\\d{3}|3333(?:00|2[5-9]|[3-9]\\d)\\d{4}|(?:3(?:24[1-9]|3(?:00|3[0-24-9]))|9101)\\d{6}|3(?:0[0-5]|1\\d|2[0-3]|5[01]|70)\\d{7}",[10]],["1800\\d{7}",[11]],["(?:19(?:0[01]|4[78])|901)\\d{7}",[10,11]]]],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))",0,0,0,[["210[7-9]\\d{4}|2(?:[024-7]\\d|1[1-9])\\d{5}",[8]],["(?:3005\\d|6500[01])\\d{3}|(?:5[07]|6[0-4]|7[0-3]|8[3-9])\\d{6}",[8]],["800\\d{7}",[10]],["90[059]\\d{7}",[10]],0,0,0,0,["(?:210[0-6]|4\\d{3}|5100)\\d{4}",[8]]]],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:3[23]|4[89])\\d{4,6}|(?:31|4[36]|8(?:0[25]|78)\\d)\\d{6}|(?:2[1-4]|4[1257]|7\\d)\\d{5,6}"],["(?:5\\d|6[2-4])\\d{6}",[8]],["800\\d{7}",[10]],0,0,0,0,0,0,["807\\d{7}",[10]]]],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]],0,0,0,0,0,0,[["2(?:2[1-7]|3[0-8]|4[12]|5[1256]|6\\d|7[1-3]|8[1-5])\\d{4}"],["(?:36|5[1-389]|9\\d)\\d{5}"],["800\\d{4}"],0,0,0,0,0,["(?:3[3-5]|4[356])\\d{5}"]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]",[["9(?:4(?:3[0-5]|4[14]|6\\d)|50\\d|7(?:2[014]|3[02-9]|4[4-9]|6[357]|77|8[7-9])|8(?:3[39]|[46]\\d|7[01]|8[57-9]))\\d{4}"],["953[01]\\d{4}|9(?:5[12467]|6[5-9])\\d{5}"],0,0,0,0,0,["955\\d{5}",[8]],0,["60[0-2]\\d{4}",[7]]]],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]],0,0,0,0,0,0,[["2[2-6]\\d{6}"],["9(?:10|[4-79]\\d)\\d{5}"],["800\\d{5}"],["90[09]\\d{5}"],["700\\d{5}"],0,["(?:50|77)\\d{6}"],0,0,["80[1-9]\\d{5}"]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9,10,11,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,[["(?:2\\d|3[1257-9]|4[16-9]|5[13-9])\\d{7}",[9]],["(?:60[1-8]\\d|7(?:0(?:[2-5]\\d|60)|19[0-2]|[2379]\\d\\d))\\d{5}",[9]],["800\\d{6}",[9]],["9(?:0[05689]|76)\\d{6}",[9]],["70[01]\\d{6}",[9]],["9(?:3\\d{9}|6\\d{7,10})"],["9(?:5\\d|7[2-4])\\d{6}",[9]],0,["9[17]0\\d{6}",[9]],["8[134]\\d{7}",[9]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|31)"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0",0,0,0,0,0,[["32\\d{9,11}|49[1-6]\\d{10}|322\\d{6}|49[0-7]\\d{3,9}|(?:[34]0|[68]9)\\d{3,13}|(?:2(?:0[1-689]|[1-3569]\\d|4[0-8]|7[1-7]|8[0-7])|3(?:[3569]\\d|4[0-79]|7[1-7]|8[1-8])|4(?:1[02-9]|[2-48]\\d|5[0-6]|6[0-8]|7[0-79])|5(?:0[2-8]|[124-6]\\d|[38][0-8]|[79][0-7])|6(?:0[02-9]|[1-358]\\d|[47][0-8]|6[1-9])|7(?:0[2-8]|1[1-9]|[27][0-7]|3\\d|[4-6][0-8]|8[0-5]|9[013-7])|8(?:0[2-9]|1[0-79]|2\\d|3[0-46-9]|4[0-6]|5[013-9]|6[1-8]|7[0-8]|8[0-24-6])|9(?:0[6-9]|[1-4]\\d|[589][0-7]|6[0-8]|7[0-467]))\\d{3,12}",[5,6,7,8,9,10,11,12,13,14,15]],["1(?:(?:5(?:[0-25-9]\\d\\d|310)|76\\d\\d)\\d{6}|6[023]\\d{7,8})|17\\d{8}",[10,11]],["800\\d{7,12}",[10,11,12,13,14,15]],["(?:137[7-9]|900(?:[135]|9\\d))\\d{6}",[10,11]],["700\\d{8}",[11]],["1(?:6(?:013|255|399)|7(?:(?:[015]1|[69]3)3|[2-4]55|[78]99))\\d{7,8}|15(?:(?:[03-68]00|113)\\d|2\\d55|7\\d99|9\\d33)\\d{7}",[12,13]],["18(?:1\\d{5,11}|[2-9]\\d{8})",[8,9,10,11,12,13,14]],["16(?:4\\d{1,10}|[89]\\d{1,11})",[4,5,6,7,8,9,10,11,12,13,14]],0,["180\\d{5,11}|13(?:7[1-6]\\d\\d|8)\\d{4}",[7,8,9,10,11,12,13,14]]]],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]],0,0,0,0,0,0,[["2(?:1[2-5]|7[45])\\d{5}"],["77\\d{6}"]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]],0,0,0,0,0,0,[["(?:2(?:[0-59][1-9]|[6-8]\\d)|3(?:[0-3][1-9]|4[13]|5[1-58]|6[1347-9]|7\\d|8[1-8]|9[1-79])|4(?:[0-25][1-9]|[34][2-9]|6[13-579]|7[13579]|8[1-47]|9[127])|5(?:[0-36][1-9]|4[146-9]|5[3-57-9]|7[568]|8[1-358]|9[1-69])|6(?:[0135][1-9]|2[1-68]|4[2-8]|6[1689]|[78]\\d|9[15689])|7(?:[0-69][1-9]|7[3-9]|8[147])|8(?:[16-9][1-9]|2[1-58])|9(?:[1-47-9][1-9]|6\\d))\\d{5}"],["(?:2[6-8]|37|6[78]|96)\\d{6}|(?:2[0-59]|3[0-689]|[457]\\d|6[0-69]|8[126-9]|9[1-47-9])[1-9]\\d{5}"],["80\\d{6}"],["90\\d{6}"]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767",[["767(?:2(?:55|66)|4(?:2[01]|4[0-25-9])|50[0-4])\\d{4}"],["767(?:2(?:[2-4689]5|7[5-7])|31[5-7]|61[1-8]|70[1-6])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9",[["8(?:[04]9[2-9]\\d\\d|29(?:2(?:[0-59]\\d|6[04-9]|7[0-27]|8[0237-9])|3(?:[0-35-9]\\d|4[7-9])|[45]\\d\\d|6(?:[0-27-9]\\d|[3-5][1-9]|6[0135-8])|7(?:0[013-9]|[1-37]\\d|4[1-35689]|5[1-4689]|6[1-57-9]|8[1-79]|9[1-8])|8(?:0[146-9]|1[0-48]|[248]\\d|3[1-79]|5[01589]|6[013-68]|7[124-8]|9[0-8])|9(?:[0-24]\\d|3[02-46-9]|5[0-79]|60|7[0169]|8[57-9]|9[02-9])))\\d{4}"],["8[024]9[2-9]\\d{6}"],["8(?:00(?:14|[2-9]\\d)|(?:33|44|55|66|77|88)[2-9]\\d)\\d{5}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0",0,0,0,0,0,[["9619\\d{5}|(?:1\\d|2[013-79]|3[0-8]|4[013-689])\\d{6}"],["(?:5(?:4[0-29]|5\\d|6[0-3])|6(?:[569]\\d|7[0-6])|7[7-9]\\d)\\d{6}",[9]],["800\\d{6}",[9]],["80[3-689]1\\d{5}",[9]],0,0,0,0,["98[23]\\d{6}",[9]],["80[12]1\\d{5}",[9]]]],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0",0,0,0,0,0,[["[2-7][2-7]\\d{6}",[8]],["964[0-2]\\d{5}|9(?:39|[57][89]|6[0-36-9]|[89]\\d)\\d{6}",[9]],["1800\\d{7}|1[78]00\\d{6}",[10,11]],0,0,0,0,0,["[2-7]890\\d{4}",[8]]]],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["(?:3[23589]|4[3-8]|6\\d|7[1-9]|88)\\d{5}",[7]],["(?:5\\d{5}|8(?:1(?:0(?:0(?:00|[178]\\d)|[3-9]\\d\\d)|(?:1(?:0[2-6]|1\\d)|(?:2[0-59]|[3-79]\\d)\\d)\\d)|2(?:0(?:0(?:00|4\\d)|(?:19|[2-7]\\d)\\d)|(?:(?:[124-69]\\d|3[5-9])\\d|7(?:[0-79]\\d|8[13-9])|8(?:[2-6]\\d|7[01]))\\d)|[349]\\d{4}))\\d\\d|5(?:(?:[02]\\d|5[0-478])\\d|1(?:[0-8]\\d|95)|6(?:4[0-4]|5[1-589]))\\d{3}",[7,8]],["800(?:(?:0\\d\\d|1)\\d|[2-9])\\d{3}"],["(?:40\\d\\d|900)\\d{4}",[7,8]],["70[0-2]\\d{5}",[8]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0",0,0,0,0,0,[["13[23]\\d{6}|(?:15|57)\\d{6,7}|(?:2\\d|3|4[05-8]|5[05]|6[24-689]|8[2468]|9[235-7])\\d{7}",[8,9]],["1[0-25]\\d{8}",[10]],["800\\d{7}",[10]],["900\\d{7}",[10]]]],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]",[["528[89]\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-467]|5[0-3]|8[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1[12568]|[24]0|55|6[146])|8\\d\\d)\\d{4}"],["(?:17[1-3]|7\\d\\d)\\d{4}"]]],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]],0,0,0,0,0,0,[["96906(?:0[0-8]|1[1-9]|[2-9]\\d)\\d\\d|9(?:69(?:0[0-57-9]|[1-9]\\d)|73(?:[0-8]\\d|9[1-9]))\\d{4}|(?:8(?:[1356]\\d|[28][0-8]|[47][1-9])|9(?:[135]\\d|[268][0-8]|4[1-9]|7[124-9]))\\d{6}"],["(?:590[16]00\\d|9(?:6906(?:09|10)|7390\\d\\d))\\d\\d|(?:6\\d|7[1-48])\\d{7}"],["[89]00\\d{6}"],["80[367]\\d{6}"],["70\\d{7}"],0,["51\\d{7}"],0,0,["90[12]\\d{6}"]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0",0,0,0,0,0,[["11667[01]\\d{3}|(?:11(?:1(?:1[124]|2[2-7]|3[1-5]|5[5-8]|8[6-8])|2(?:13|3[6-8]|5[89]|7[05-9]|8[2-6])|3(?:2[01]|3[0-289]|4[1289]|7[1-4]|87)|4(?:1[69]|3[2-49]|4[0-3]|6[5-8]|7\\d)|5(?:1[578]|44|5[0-4])|6(?:1[578]|2[69]|39|4[5-7]|5[0-5]|6[0-59]|8[015-8]))|2(?:2(?:11[1-9]|22[0-7]|33\\d|44[1467]|66[1-68])|5(?:11[124-6]|33[2-8]|44[1467]|55[14]|66[1-3679]|77[124-79]|880))|3(?:3(?:11[0-46-8]|(?:22|55)[0-6]|33[0134689]|44[04]|66[01467])|4(?:44[0-8]|55[0-69]|66[0-3]|77[1-5]))|4(?:6(?:119|22[0-24-7]|33[1-5]|44[13-69]|55[14-689]|660|88[1-4])|7(?:(?:11|22)[1-9]|33[13-7]|44[13-6]|55[1-689]))|5(?:7(?:227|55[05]|(?:66|77)[14-8])|8(?:11[149]|22[013-79]|33[0-68]|44[013-8]|550|66[1-5]|77\\d)))\\d{4}"],["700[1-9]\\d{5}|(?:7(?:0[1-9]|1[0-8]|22|77|86|99)|9\\d\\d)\\d{6}"]]],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",[["1[3-7][1-8]\\d{3,6}|(?:19[1-8]|[23568][1-8]\\d|9(?:00|[1-8]\\d))\\d{2,6}",[5,6,7,8,9]],["4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",[6,7,8,9,10]],["800\\d{4,6}",[7,8,9]],["[67]00\\d{5,6}",[8,9]],0,0,["20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}"]],"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,[["603\\d{4}|(?:3[0-5]|6[25-7]|8[58])\\d{5}",[7]],["(?:[279]\\d|45|5[01568]|8[034679])\\d{5}",[7]],["0800\\d{7}",[11]]],"00"],FK:["500","00","[2-7]\\d{4}",[5],0,0,0,0,0,0,0,[["[2-47]\\d{4}"],["[56]\\d{4}"]]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]],0,0,0,0,0,0,[["31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-6]\\d)\\d)\\d{3}"],["31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-7]\\d)\\d)\\d{3}"]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))",0,0,0,[["(?:20|[34]\\d|8[19])\\d{4}"],["(?:[27][1-9]|5\\d|9[16])\\d{4}"],["80[257-9]\\d{3}"],["90(?:[13-5][15-7]|2[125-7]|9\\d)\\d\\d"],0,0,0,0,["(?:6[0-36]|88)\\d{4}"]]],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0",0,0,0,0,0,[["(?:26[013-9]|59[1-35-9])\\d{6}|(?:[13]\\d|2[0-57-9]|4[1-9]|5[0-8])\\d{7}"],["(?:6(?:[0-24-8]\\d|3[0-8]|9[589])|7[3-9]\\d)\\d{6}"],["80[0-5]\\d{6}"],["836(?:0[0-36-9]|[1-9]\\d)\\d{4}|8(?:1[2-9]|2[2-47-9]|3[0-57-9]|[569]\\d|8[0-35-9])\\d{6}"],0,0,["80[6-9]\\d{6}"],0,["9\\d{8}"],["8(?:1[01]|2[0156]|4[024]|84)\\d{6}"]]],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1",0,0,[["[01]1\\d{6}",[8]],["(?:(?:0[2-7]|7[467])\\d|6(?:0[0-4]|10|[256]\\d))\\d{5}|[2-7]\\d{6}"]]],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473",[["473(?:2(?:3[0-2]|69)|3(?:2[89]|86)|4(?:[06]8|3[5-9]|4[0-4]|5[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]|33|44|66|77|88)[2-9]\\d{6}"]]],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0",0,0,0,0,0,[["(?:3(?:[256]\\d|4[124-9]|7[0-4])|4(?:1\\d|2[2-7]|3[1-79]|4[2-8]|7[239]|9[1-7]))\\d{6}"],["5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|5(?:0(?:0[17]0|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\d{3}|(?:5(?:0(?:0(?:0\\d|11|22|3[0-6]|44|5[05]|77|88|9[09])|(?:[14]\\d|77)\\d|22[02])|1(?:1(?:[03][01]|[124]\\d|5[2-6]|7[0-4])|4\\d\\d)|[23]555|4(?:4\\d\\d|555)|5(?:[0157-9]\\d\\d|200|333|444)|6[89]\\d\\d|7(?:[0147-9]\\d\\d|5(?:00|[57]5))|8(?:0(?:[018]\\d|2[0-4])|5(?:55|8[89])|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}"],["800\\d{6}"],0,0,0,0,0,["70[67]\\d{6}"]]],GF:["594","00","(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0",0,0,0,0,0,[["594(?:[02-49]\\d|1[0-5]|5[6-9]|6[0-3]|80)\\d{4}"],["(?:694(?:[0-249]\\d|3[0-8])|7093[0-3])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:396|76\\d)\\d|476[0-6])\\d{4}"]]],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0",0,0,0,0,0,[["3082[0-5]\\d{4}|3(?:0(?:[237]\\d|8[01])|[167](?:2[0-6]|7\\d|80)|2(?:2[0-5]|7\\d|80)|3(?:2[0-3]|7\\d|80)|4(?:2[013-9]|3[01]|7\\d|80)|5(?:2[0-7]|7\\d|80)|8(?:2[0-2]|7\\d|80)|9(?:[28]0|7\\d))\\d{5}",[9]],["(?:2(?:[0346-9]\\d|5[67])|5(?:[03-7]\\d|9[1-9]))\\d{6}",[9]],["800\\d{5}",[8]]]],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]],0,0,0,0,0,0,[["2190[0-2]\\d{3}|2(?:0(?:[02]\\d|3[01])|16[24-9]|2[2-5]\\d)\\d{4}"],["5251[0-4]\\d{3}|(?:5(?:[146-8]\\d\\d|250)|60(?:1[01]|6\\d))\\d{4}"]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]],0,0,0,0,0,0,[["(?:19|3[1-7]|[68][1-9]|70|9\\d)\\d{4}"],["[245]\\d{5}"],["80\\d{4}"],0,0,0,0,0,["3[89]\\d{4}"]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],0,0,0,0,0,0,[["(?:4(?:[23]\\d\\d|4(?:1[024679]|[6-9]\\d))|5(?:5(?:3\\d|4[0-7])|6[67]\\d|7(?:1[04]|2[035]|3[58]|48))|8\\d{3})\\d{3}"],["(?:[23679]\\d|4[015]|5[0-489])\\d{5}"]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]],0,0,0,0,0,0,[["3(?:0(?:24|3[12]|4[1-35-7]|5[13]|6[189]|[78]1|9[1478])|1\\d\\d)\\d{4}",[8]],["6[0-356]\\d{7}",[9]],0,0,0,0,0,0,["722\\d{6}",[9]]]],GP:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]],0,0,0,0,0,0,[["33[0-24-9]\\d[46]\\d{4}|3(?:33|5\\d)\\d[7-9]\\d{4}"],["(?:222|55\\d)\\d{6}"],["80\\d[1-9]\\d{5}"],["90\\d[1-9]\\d{5}"]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["2(?:1\\d\\d|2(?:2[1-46-9]|[36][1-8]|4[1-7]|5[1-4]|7[1-5]|[89][1-9])|3(?:1\\d|2[1-57]|[35][1-3]|4[13]|7[1-7]|8[124-6]|9[1-79])|4(?:1\\d|2[1-8]|3[1-4]|4[13-5]|6[1-578]|9[1-5])|5(?:1\\d|[29][1-4]|3[1-5]|4[124]|5[1-6])|6(?:1\\d|[269][1-6]|3[1245]|4[1-7]|5[13-9]|7[14]|8[1-5])|7(?:1\\d|2[1-5]|3[1-6]|4[1-7]|5[1-57]|6[135]|9[125-7])|8(?:1\\d|2[1-5]|[34][1-4]|9[1-57]))\\d{6}",[10]],["68[57-9]\\d{7}|(?:69|94)\\d{8}",[10]],["800\\d{7,9}"],["90[19]\\d{7}",[10]],["70\\d{8}",[10]],0,["5005000\\d{3}",[10]],0,0,["8(?:0[16]|12|[27]5|50)\\d{7}",[10]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[["[267][2-9]\\d{6}",[8]],["(?:[3-5]\\d\\d|80[0-4])\\d{5}",[8]],["18[01]\\d{8}",[11]],["19\\d{9}",[11]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671",[["671(?:2\\d\\d|3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[478])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]],0,0,0,0,0,0,[["443\\d{6}",[9]],["9(?:5\\d|6[569]|77)\\d{6}",[9]],0,0,0,0,0,0,["40\\d{5}",[7]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],0,0,0,0,0,0,[["(?:2(?:1[6-9]|2[0-35-9]|3[1-4]|5[3-9]|6\\d|7[0-79])|3(?:2[25-9]|3\\d)|4(?:4[0-24]|5[56])|50[0-6]|77[1-57])\\d{4}"],["(?:510|6\\d\\d|7(?:[0-5]\\d|6[01]))\\d{4}"],["(?:289|8(?:00|6[28]|88|99))\\d{4}"],["9008\\d{3}"],0,0,0,0,["515\\d{4}"]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,[["(?:2(?:[13-9]\\d|2[013-9])\\d|3(?:(?:[1569][0-24-9]|4[0-246-9]|7[0-24-69])\\d|8(?:4[0-8]|[579]\\d|6[0-2]))|58(?:0[1-9]|1[2-9]))\\d{4}",[8]],["(?:4(?:44[0-35-9]|6(?:1[0-79]|4[0-57-9]|6[0-4])|7(?:[26][0-5]|4[0-28]))|5(?:73[0-6]|95[0-8])|6(?:26[013-8]|66[0-3]|78[0-5])|70(?:7[1-8]|8[0-4])|84(?:4[0-2]|8[0-35-9])|9(?:29[013-9]|39[014-9]|59[0-4]|899))\\d{4}|(?:4(?:4[0-35-9]|6[02357-9]|7[015])|5(?:[1-59][0-46-9]|6[0-4689]|7[0-246-9])|6(?:0[1-9]|[13-59]\\d|[268][0-57-9]|7[0-79])|70[1-59]|84[0-39]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}",[8]],["800\\d{6}",[9]],["900(?:[0-24-9]\\d{7}|3\\d{1,4})",[5,6,7,8,11]],["8(?:1[0-4679]\\d|2(?:[0-36]\\d|7[0-4])|3(?:[034]\\d|2[09]|70))\\d{4}",[8]],0,["30(?:0[1-9]|[15-7]\\d|2[047]|89)\\d{4}",[8]],["7(?:1(?:0[0-38]|1[0-3679]|3[013]|69|9[0136])|2(?:[02389]\\d|1[18]|7[27-9])|3(?:[0-38]\\d|7[0-369]|9[2357-9])|47\\d|5(?:[178]\\d|5[0-5])|6(?:0[0-7]|2[236-9]|[35]\\d)|7(?:[27]\\d|8[7-9])|8(?:[23689]\\d|7[1-9])|9(?:[025]\\d|6[0-246-8]|7[0-36-9]|8[238]))\\d{4}",[8]]],"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]],0,0,0,0,0,0,[["2(?:2(?:0[0-59]|1[1-9]|[23]\\d|4[02-7]|5[57]|6[245]|7[0135689]|8[01346-9]|9[0-2])|4(?:0[578]|2[3-59]|3[13-9]|4[0-68]|5[1-3589])|5(?:0[2357-9]|1[1-356]|4[03-5]|5\\d|6[014-69]|7[04]|80)|6(?:[056]\\d|17|2[067]|3[047]|4[0-378]|[78][0-8]|9[01])|7(?:0[5-79]|6[46-9]|7[02-9]|8[034]|91)|8(?:79|8[0-357-9]|9[1-57-9]))\\d{4}",[8]],["[37-9]\\d{7}",[8]],["8002\\d{7}",[11]]]],HR:["385","00","[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-489]\\d|55)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]],0,0,0,0,0,0,[["2(?:2\\d|5[1-5]|81|9[149])\\d{5}"],["(?:[34]\\d|55)\\d{6}"],["8\\d{7}"],0,0,0,0,0,["9(?:[67][0-4]|8[0-3589]|9\\d)\\d{5}"]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06",0,0,0,0,0,[["(?:1\\d|[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6[23689]|8[2-57-9]|9[2-69])\\d{6}",[8]],["(?:[257]0|3[01])\\d{7}",[9]],["(?:[48]0\\d|680[29])\\d{5}"],["9[01]\\d{6}",[8]],0,0,["38\\d{7}",[9]],0,["21\\d{7}",[9]]]],ID:["62","00[89]","00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13,14,15,16,17],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0",0,0,0,0,0,[["2[124]\\d{7,8}|619\\d{8}|2(?:1(?:14|500)|2\\d{3})\\d{3}|61\\d{5,8}|(?:2(?:[35][1-4]|6[0-8]|7[1-6]|8\\d|9[1-8])|3(?:1|[25][1-8]|3[1-68]|4[1-3]|6[1-3568]|7[0-469]|8\\d)|4(?:0[1-589]|1[01347-9]|2[0-36-8]|3[0-24-68]|43|5[1-378]|6[1-5]|7[134]|8[1245])|5(?:1[1-35-9]|2[25-8]|3[124-9]|4[1-3589]|5[1-46]|6[1-8])|6(?:[25]\\d|3[1-69]|4[1-6])|7(?:02|[125][1-9]|[36]\\d|4[1-8]|7[0-36-9])|9(?:0[12]|1[013-8]|2[0-479]|5[125-8]|6[23679]|7[159]|8[01346]))\\d{5,8}",[7,8,9,10,11]],["8[1-35-9]\\d{7,10}",[9,10,11,12]],["00(?:1803\\d{5,11}|7803\\d{7})|(?:177\\d|800)\\d{5,7}",[8,9,10,11,12,13,14,15,16,17]],["809\\d{7}",[10]],0,0,["(?:1500|8071\\d{3})\\d{3}",[7,10]],0,0,["804\\d{7}",[10]]]],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:1\\d|21)\\d{6,7}|(?:2[24-9]|4(?:0[24]|5\\d|7)|5(?:0[45]|1\\d|8)|6(?:1\\d|[237-9])|9(?:1\\d|[35-9]))\\d{5}|(?:23|4(?:[1-469]|8\\d)|5[23679]|6[4-6]|7[14]|9[04])\\d{7}"],["8(?:22|[35-9]\\d)\\d{6}",[9]],["1800\\d{6}",[10]],["15(?:1[2-8]|[2-8]0|9[089])\\d{6}",[10]],["700\\d{6}",[9]],["88210[1-9]\\d{4}|8(?:[35-79]5\\d\\d|8(?:[013-9]\\d\\d|2(?:[01][1-9]|[2-9]\\d)))\\d{5}",[10]],["818\\d{6}",[9]],0,["76\\d{7}",[9]],["18[59]0\\d{6}",[10]]]],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0",0,0,0,0,0,[["153\\d{8,9}|29[1-9]\\d{5}|(?:2[0-8]|[3489]\\d)\\d{6}",[8,11,12]],["55(?:4(?:[01]0|5[0-2])|57[0-289])\\d{4}|5(?:(?:[0-2][02-9]|[36]\\d|[49][2-9]|8[3-7])\\d|5(?:01|2\\d|3[0-3]|4[34]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}",[9]],["1(?:255|80[019]\\d{3})\\d{3}",[7,10]],["1212\\d{4}|1(?:200|9(?:0[0-2]|19))\\d{6}",[8,10]],0,["151\\d{8,9}",[11,12]],["1599\\d{6}",[10]],0,["7(?:38(?:0\\d|5[0-3569]|88)|8(?:33|55|77|81)\\d)\\d{4}|7(?:18|2[23]|3[237]|47|6[258]|7\\d|82|9[2-9])\\d{6}",[9]],["1700\\d{6}",[10]]]],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0","1624$1",0,"74576|(?:16|7[56])24",[["1624(?:230|[5-8]\\d\\d)\\d{3}"],["76245[06]\\d{4}|7(?:4576|[59]24\\d|624[0-4689])\\d{5}"],["808162\\d{4}"],["8(?:440[49]06|72299\\d)\\d{3}|(?:8(?:45|70)|90[0167])624\\d{4}"],["70\\d{8}"],0,["3440[49]06\\d{3}|(?:3(?:08162|3\\d{4}|45624|7(?:0624|2299))|55\\d{4})\\d{4}"],0,["56\\d{8}"]]],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0",0,0,0,0,0,[["2717(?:[2-7]\\d|95)\\d{4}|(?:271[0-689]|782[0-6])[2-7]\\d{5}|(?:170[24]|2(?:(?:[02][2-79]|90)\\d|80[13468])|(?:3(?:23|80)|683|79[1-7])\\d|4(?:20[24]|72[2-8])|552[1-7])\\d{6}|(?:11|33|4[04]|80)[2-7]\\d{7}|(?:342|674|788)(?:[0189][2-7]|[2-7]\\d)\\d{5}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[13]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[014-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[3-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1245]|4[5-8]|5[125689]|6[235-7]|7[157-9]|8[2-46-8])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])|7(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|8[013-7]|9[089])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d[2-7]\\d{5}",[10]],["(?:61279|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\d{5}|(?:6(?:12|[2-47]1|5[17]|6[13]|80)[0189]|7(?:1(?:2[0189]|9[0-5])|2(?:[14][017-9]|8[0-59])|3(?:2[5-8]|[34][017-9]|9[016-9])|4(?:1[015-9]|[29][89]|39|8[389])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))\\d{6}|(?:7(?:31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]\\d|7[02-8])\\d{5}|(?:6(?:[09]\\d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:0\\d|2[0235-79]|3[05-8]|40|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]\\d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9\\d\\d)\\d{7}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|8[124-6])\\d|7(?:[235689]\\d|4[0189]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-5])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]|881))[0189]\\d{5}",[10]],["000800\\d{7}|1(?:600\\d{6}|80(?:0\\d{4,9}|3\\d{9}))"],["186[12]\\d{9}",[13]],0,0,["140\\d{7}",[10]],0,0,["1860\\d{7}",[11]]]],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]],0,0,0,0,0,0,[["37\\d{5}"],["38\\d{5}"]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,[["1\\d{7}|(?:2[13-5]|3[02367]|4[023]|5[03]|6[026])\\d{6,7}",[8,9]],["7[3-9]\\d{8}",[10]]]],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0",0,0,0,0,0,[["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])(?:[03-57]\\d{7}|[16]\\d{3}(?:\\d{4})?|[289]\\d{3}(?:\\d(?:\\d{3})?)?)|94(?:000[09]|(?:12\\d|30[0-2])\\d|2(?:121|[2689]0\\d)|4(?:111|40\\d))\\d{4}",[6,7,10]],["9(?:(?:0(?:[0-35]\\d|4[4-6])|(?:[13]\\d|2[0-3])\\d)\\d|9(?:[0-46]\\d\\d|5[15]0|8(?:[12]\\d|88)|9(?:0[0-3]|[19]\\d|21|69|77|8[7-9])))\\d{5}",[10]],0,0,0,0,["96(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19])",[4,5]]]],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["(?:4(?:1[0-24-69]|2[0-7]|[37][0-8]|4[0-24589]|5[0-68]|6\\d|8[0-36-8])|5(?:05|[156]\\d|2[02578]|3[0-579]|4[03-7]|7[0-2578]|8[0-35-9]|9[013-689])|872)\\d{4}",[7]],["(?:38[589]\\d\\d|6(?:1[1-8]|2[0-6]|3[026-9]|4[014679]|5[0159]|6[0-69]|70|8[06-8]|9\\d)|7(?:5[057]|[6-9]\\d)|8(?:2[0-59]|[3-69]\\d|8[238]))\\d{4}"],["80[0-8]\\d{4}",[7]],["90(?:0\\d|1[5-79]|2[015-79]|3[135-79]|4[125-7]|5[25-79]|7[1-37]|8[0-35-7])\\d{3}",[7]],0,["(?:689|8(?:7[18]|80)|95[48])\\d{4}",[7]],["809\\d{4}",[7]],0,["49[0-24-79]\\d{4}",[7]]],"00"],IT:["39","00","0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}",[6,7,8,9,10,11]],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876",[["8766060\\d{3}|(?:658(?:2(?:[0-8]\\d|9[0-46-9])|[3-9]\\d\\d)|876(?:52[35]|6(?:0[1-3579]|1[0235-9]|[23]\\d|40|5[06]|6[2-589]|7[0-25-9]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468])))\\d{4}"],["(?:658295|876(?:2(?:0[1-9]|[13-9]\\d|2[013-9])|[348]\\d\\d|5(?:0[1-9]|[1-9]\\d)|6(?:4[89]|6[67])|7(?:0[07]|7\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579])))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,[["87(?:000|90[01])\\d{3}|(?:2(?:6(?:2[0-35-9]|3[0-578]|4[24-7]|5[0-24-8]|[6-8][023]|9[0-3])|7(?:0[1-79]|10|2[014-7]|3[0-689]|4[019]|5[0-3578]))|32(?:0[1-69]|1[1-35-7]|2[024-7]|3\\d|4[0-3]|[5-7][023])|53(?:0[0-3]|[13][023]|2[0-59]|49|5[0-35-9]|6[15]|7[45]|8[1-6]|9[0-36-9])|6(?:2(?:[05]0|22)|3(?:00|33)|4(?:0[0-25]|1[2-7]|2[0569]|[38][07-9]|4[025689]|6[0-589]|7\\d|9[0-2])|5(?:[01][056]|2[034]|3[0-57-9]|4[178]|5[0-69]|6[0-35-9]|7[1-379]|8[0-68]|9[0239]))|87(?:20|7[078]|99))\\d{4}",[8]],["7(?:[78][0-25-9]|9\\d)\\d{6}",[9]],["80\\d{6}",[8]],["9\\d{7}",[8]],["70\\d{7}",[9]],0,["8(?:10|8\\d)\\d{5}",[8]],["74(?:66|77)\\d{5}",[9]],0,["85\\d{6}",[8]]]],JP:["81","010","00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],"0",0,"(000[259]\\d{6})$|(?:(?:003768)0?)|0","$1",0,0,[["(?:1(?:1[235-8]|2[3-6]|3[3-9]|4[2-6]|[58][2-8]|6[2-7]|7[2-9]|9[1-9])|(?:2[2-9]|[36][1-9])\\d|4(?:[2-578]\\d|6[02-8]|9[2-59])|5(?:[2-589]\\d|6[1-9]|7[2-8])|7(?:[25-9]\\d|3[4-9]|4[02-9])|8(?:[2679]\\d|3[2-9]|4[5-9]|5[1-9]|8[03-9])|9(?:[2-58]\\d|[679][1-9]))\\d{6}",[9]],["[7-9]0[1-9]\\d{7}",[10]],["00777(?:[01]|5\\d)\\d\\d|(?:00(?:7778|882[1245])|(?:120|800\\d)\\d\\d)\\d{4}|00(?:37|66|78)\\d{6,13}"],["990\\d{6}",[9]],["60\\d{7}",[9]],0,["570\\d{6}",[9]],["20\\d{8}",[10]],["50[1-9]\\d{7}",[10]]]],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,[["(?:4[245]|5[1-79]|6[01457-9])\\d{5,7}|(?:4[136]|5[08]|62)\\d{7}|(?:[24]0|66)\\d{6,7}",[7,8,9]],["(?:1(?:0[0-8]|1[0-7]|2[014]|30)|7\\d\\d)\\d{6}",[9]],["800[02-8]\\d{5,6}",[9,10]],["900[02-9]\\d{5}",[9]]]],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["312(?:5[0-79]\\d|9(?:[0-689]\\d|7[0-24-9]))\\d{3}|(?:3(?:1(?:2[0-46-8]|3[1-9]|47|[56]\\d)|2(?:22|3[0-479]|6[0-7])|4(?:22|5[6-9]|6\\d)|5(?:22|3[4-7]|59|6\\d)|6(?:22|5[35-7]|6\\d)|7(?:22|3[468]|4[1-9]|59|[67]\\d)|9(?:22|4[1-8]|6\\d))|6(?:09|12|2[2-4])\\d)\\d{5}",[9]],["312(?:58\\d|973)\\d{3}|(?:2(?:0[0-35]|2\\d)|5[0-24-7]\\d|600|7(?:[07]\\d|55)|88[08]|9(?:12|9[05-9]))\\d{6}",[9]],["800\\d{6,7}"]]],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0",0,0,0,0,0,[["23(?:4(?:[2-4]|[56]\\d)|[568]\\d\\d)\\d{4}|23[236-9]\\d{5}|(?:2[4-6]|3[2-6]|4[2-4]|[5-7][2-5])(?:(?:[237-9]|4[56]|5\\d)\\d{5}|6\\d{5,6})",[8,9]],["(?:(?:1[28]|3[18]|9[67])\\d|6[016-9]|7(?:[07-9]|[16]\\d)|8(?:[013-79]|8\\d))\\d{6}|(?:1\\d|9[0-57-9])\\d{6}|(?:2[3-6]|3[2-6]|4[2-4]|[5-7][2-5])48\\d{5}",[8,9]],["1800(?:1\\d|2[019])\\d{4}",[10]],["1900(?:1\\d|2[09])\\d{4}",[10]]]],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0",0,0,0,0,0,[["(?:[24]\\d|3[1-9]|50|65(?:02[12]|12[56]|22[89]|[3-5]00)|7(?:27\\d\\d|3100|5(?:02[12]|12[56]|22[89]|[34](?:00|81)|500))|8[0-5])\\d{3}"],["(?:6200[01]|7(?:310[1-9]|5(?:02[03-9]|12[0-47-9]|22[0-7]|[34](?:0[1-9]|8[02-9])|50[1-9])))\\d{3}|(?:63\\d\\d|7(?:(?:[0146-9]\\d|2[0-689])\\d|3(?:[02-9]\\d|1[1-9])|5(?:[0-2][013-9]|[34][1-79]|5[1-9]|[6-9]\\d)))\\d{4}",[8]],0,0,0,0,0,0,["30(?:0[01]\\d\\d|12(?:11|20))\\d\\d",[8]]]],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]],0,0,0,0,0,0,[["7[4-7]\\d{5}"],["[34]\\d{6}"],0,["8\\d{6}"]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869",[["869(?:2(?:29|36)|302|4(?:6[015-9]|70)|56[5-7])\\d{4}"],["869(?:48[89]|55[6-8]|66\\d|76[02-7])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:195|2)\\d|3[19]|4[159]|5[37]|6[17]|7[39]|85)\\d{6}"],["19[1-3]\\d{7}",[10]]]],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?",0,0,0,[["(?:2|3[1-3]|[46][1-4]|5[1-5])[1-9]\\d{6,7}|(?:3[1-3]|[46][1-4]|5[1-5])1\\d{2,3}",[5,6,8,9,10]],["1(?:05(?:[0-8]\\d|9[0-6])|22[13]\\d)\\d{4,5}|1(?:0[0-46-9]|[16-9]\\d|2[013-9])\\d{6,7}",[9,10]],["00(?:308\\d{6,7}|798\\d{7,9})|(?:00368|[38]0)\\d{7}",[9,11,12,13,14]],["60[2-9]\\d{6}",[9]],["50\\d{8,9}",[10,11]],0,["1(?:5(?:22|33|44|66|77|88|99)|6(?:[07]0|44|6[0168]|88)|8(?:00|33|55|77|99))\\d{4}",[8]],["15\\d{7,8}",[9,10]],["70\\d{8}",[10]]]],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]],0,0,0,0,0,0,[["2(?:[23]\\d\\d|4(?:[1-35-9]\\d|44)|5(?:0[034]|[2-46]\\d|5[1-3]|7[1-7]))\\d{4}",[8]],["(?:41\\d\\d|5(?:(?:[05]\\d|1[0-7]|6[56])\\d|2(?:22|5[25])|7(?:55|77)|88[58])|6(?:(?:0[034679]|5[015-9]|6\\d)\\d|1(?:00|11|6[16])|2[26]2|3[36]3|4[46]4|7(?:0[013-9]|[67]\\d)|8[68]8|9(?:[069]\\d|3[039]))|9(?:(?:[04679]\\d|8[057-9])\\d|1(?:1[01]|99)|2(?:00|2\\d)|3(?:00|3[03])|5(?:00|5\\d)))\\d{4}",[8]],["18\\d{5}",[7]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345",[["345(?:2(?:22|3[23]|44|66)|333|444|6(?:23|38|40)|7(?:30|4[35-79]|6[6-9]|77)|8(?:00|1[45]|4[89]|88)|9(?:14|4[035-9]))\\d{4}"],["345(?:32[1-9]|42[0-4]|5(?:1[67]|2[5-79]|4[6-9]|50|76)|649|82[56]|9(?:1[679]|2[2-9]|3[06-9]|90))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["(?:345976|900[2-9]\\d\\d)\\d{4}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],KZ:["7","810","(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"33|7",[["(?:33622|7(?:1(?:0(?:[23]\\d|4[0-3]|59|63)|1(?:[23]\\d|4[0-79]|59)|2(?:[23]\\d|59)|3(?:2\\d|3[0-79]|4[0-35-9]|59)|4(?:[24]\\d|3[013-9]|5[1-9]|97)|5(?:2\\d|3[1-9]|4[0-7]|59)|6(?:[2-4]\\d|5[19]|61)|72\\d|8(?:[27]\\d|3[1-46-9]|4[0-5]|59))|2(?:1(?:[23]\\d|4[46-9]|5[3469])|2(?:2\\d|3[0679]|46|5[12679])|3(?:[2-4]\\d|5[139])|4(?:2\\d|3[1-35-9]|59)|5(?:[23]\\d|4[0-8]|59|61)|6(?:2\\d|3[1-9]|4[0-4]|59)|7(?:[2379]\\d|40|5[279])|8(?:[23]\\d|4[0-3]|59)|9(?:2\\d|3[124578]|59))))\\d{5}",[10]],["7(?:0[0-25-8]|47|6[0-4]|7[15-8]|85)\\d{7}",[10]],["8(?:00|108\\d{3})\\d{7}"],["809\\d{7}",[10]],["808\\d{7}",[10]],0,0,0,["751\\d{7}",[10]]],"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[0135-9]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,0,0,0,0,[["(?:2[13]|[35-7][14]|41|8[1468])\\d{6}",[8]],["208[78]\\d{6}|(?:20[23579]|30[24])\\d{7}",[10]],0,0,0,0,["30[0135-9]\\d{6}",[9]]]],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0",0,0,0,0,0,[["7(?:62|8[0-7]|9[04-9])\\d{4}|(?:[14-69]\\d|2(?:[14-69]\\d|[78][1-9])|7[2-57]|8[02-9])\\d{5}"],["793(?:[01]\\d|2[0-4])\\d{3}|(?:(?:3|81)\\d|7(?:[01]\\d|6[013-9]|8[89]|9[12]))\\d{5}"],0,["9[01]\\d{6}",[8]],0,0,0,0,0,["80\\d{6}",[8]]]],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758",[["758(?:234|4(?:30|5\\d|6[2-9]|8[0-2])|57[0-2]|(?:63|75)8)\\d{4}"],["758(?:28[4-7]|384|4(?:6[01]|8[4-9])|5(?:1[89]|20|84)|7(?:1[2-9]|2\\d|3[0-3])|812)\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0",0,0,0,[["(?:2(?:01|1[27]|2[02]|3\\d|6[02-578]|96)|3(?:[24]0|33|7[0135-7]|8[048]|9[0269]))\\d{4}",[7]],["(?:6(?:(?:4[5-9]|5[0-469])\\d|6(?:[024-6]\\d|[17]0|3[7-9]))\\d|7(?:[37-9]\\d|42|56))\\d{4}"],["8002[28]\\d\\d|80(?:05\\d|9)\\d{4}"],["90(?:02[258]|1(?:23|3[14])|66[136])\\d\\d",[7]],0,["697(?:42|56|[78]\\d)\\d{4}",[9]],["870(?:28|87)\\d\\d",[7]]]],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0",0,0,0,0,0,[["(?:12[2-9]|602|8[12]\\d|9(?:1\\d|22|9[245]))\\d{6}|(?:11|2[13-7]|3[1-8]|4[157]|5[12457]|6[35-7])[2-57]\\d{6}"],["7(?:[0-25-8]\\d|4[0-4])\\d{6}"],0,0,0,0,["1973\\d{5}"]]],LR:["231","00","(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0",0,0,0,0,0,[["2\\d{7}",[8]],["(?:(?:(?:22|33)0|555|(?:77|88)\\d)\\d|4(?:240|[67]))\\d{5}|[56]\\d{6}",[7,9]],0,["332(?:02|[34]\\d)\\d{4}",[9]]]],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]],0,0,0,0,0,0,[["2\\d{7}"],["[56]\\d{7}"],["800[1256]\\d{4}"]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]",0,0,0,[["(?:3[1478]|4[124-6]|52)\\d{6}"],["6\\d{7}"],["80[02]\\d{5}"],["9(?:0[0239]|10)\\d{5}"],["70[05]\\d{5}"],0,["70[67]\\d{5}"],0,["[89]01\\d{5}"],["808\\d{5}"]]],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)",0,0,0,[["(?:35[013-9]|80[2-9]|90[89])\\d{1,8}|(?:2[2-9]|3[0-46-9]|[457]\\d|8[13-9]|9[2-579])\\d{2,9}"],["6(?:[269][18]|5[1568]|7[189]|81)\\d{6}",[9]],["800\\d{5}",[8]],["90[015]\\d{5}",[8]],0,0,0,0,["20(?:1\\d{5}|[2-689]\\d{1,7})",[4,5,6,7,8,9,10]],["801\\d{5}",[8]]]],LV:["371","00","(?:[268]\\d|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]],0,0,0,0,0,0,[["6\\d{7}"],["2333[0-8]\\d{3}|2(?:[0-24-9]\\d\\d|3(?:0[07]|[14-9]\\d|2[02-9]|3[0-24-9]))\\d{4}"],["80\\d{6}"],["90\\d{6}"],0,0,0,0,0,["81\\d{6}"]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:2(?:0[56]|[1-6]\\d|7[124579]|8[124])|3(?:1\\d|2[2356])|4(?:[17]\\d|2[1-357]|5[2-4]|8[124])|5(?:[1347]\\d|2[1-469]|5[13-5]|8[1-4])|6(?:[1-479]\\d|5[2-57]|8[1-5])|7(?:[13]\\d|2[13-79])|8(?:[124]\\d|5[124]|84))\\d{6}"],["9[1-6]\\d{7}"]]],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"0",0,0,0,0,0,[["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-467]|5[0-3]|8[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],MC:["377","00","(?:[3489]|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],"0",0,0,0,0,0,[["(?:870|9[2-47-9]\\d)\\d{5}",[8]],["4(?:[469]\\d|5[1-9])\\d{5}|(?:3|6\\d)\\d{7}"],["(?:800|90\\d)\\d{5}",[8]]]],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:2[1-9]|3[1-79])\\d|5(?:33|5[257]))\\d{5}"],["562\\d{5}|(?:6\\d|7[16-9])\\d{6}"],["800\\d{5}"],["90[056]\\d{5}"],0,0,["803\\d{5}"],0,["3[08]\\d{6}"],["808\\d{5}"]]],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:20[2-8]|3(?:[0-2][2-7]|3[24-7])|4(?:0[2-467]|1[2467])|5(?:0[2467]|1[24-7]|2[2-467]))\\d{5}",[8]],["6(?:[07-9]\\d|3[024]|6[0-25])\\d{5}",[8]],["80(?:[0-2578]|9\\d)\\d{5}"],["9(?:4[1568]|5[178])\\d{5}",[8]],0,0,["77[1-9]\\d{5}",[8]],0,["78[1-49]\\d{5}",[8]]]],MF:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1",0,0,[["2072[29]\\d{4}|20(?:2\\d|4[47]|5[3467]|6[279]|7[356]|8[268]|9[2457])\\d{5}"],["3[2-47-9]\\d{7}"],0,0,0,0,0,0,["22\\d{7}"]]],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1",0,0,0,0,0,[["(?:247|528|625)\\d{4}"],["(?:(?:23|54)5|329|45[35-8])\\d{4}"],0,0,0,0,0,0,["635\\d{4}"]]],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:2(?:62|77)0|3444)\\d|4[56]440)\\d{3}|(?:34|4[357])700\\d{3}|(?:2(?:[0-3]\\d|5[0-578]|6[01]|82)|3(?:1[3-68]|[23][2-68]|4[23568])|4(?:[23][2-68]|4[3-68]|5[2568]|6[25-8]|7[24-68]|8[4-68]))\\d{5}"],["7(?:3555|(?:474|9[019]7)7)\\d{3}|7(?:[0-25-8]\\d\\d|3(?:[1-478]\\d|6[01])|4(?:2\\d|60|7[01578])|9(?:[2-4]\\d|5[01]|7[015]))\\d{4}"],["800\\d{5}"],["5\\d{7}"],0,0,0,0,0,["8(?:0[1-9]|[1-9]\\d)\\d{5}"]]],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]],0,0,0,0,0,0,[["2(?:07[0-8]|12[67])\\d{4}|(?:2(?:02|1[4-689])|4(?:0[0-4]|4[1-59]))\\d{5}"],["2(?:0(?:01|79)|17\\d)\\d{4}|(?:5[01]|[679]\\d|8[2-59])\\d{6}"],["80\\d{6}"]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|452|678|86","[12]|452|6788|86"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:(?:12|[28]\\d|3[56]|7[3-6]|9[0-6])\\d|4(?:2[29]|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}"],["(?:83[01]|92[039])\\d{5}|(?:5[05]|6[069]|72|8[015689]|9[013-9])\\d{6}",[8]],0,0,0,0,0,0,["712[0-79]\\d{4}|7(?:1[013-9]|[5-9]\\d)\\d{5}",[8]]]],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]],0,0,0,0,0,0,[["(?:28[2-9]|8(?:11|[2-57-9]\\d))\\d{5}",[8]],["6800[0-79]\\d{3}|6(?:[235]\\d\\d|6(?:0[0-5]|[1-9]\\d)|8(?:0[1-9]|[14-8]\\d|2[5-9]|[39][0-4]))\\d{4}",[8]],["0800\\d{3}",[7]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670",[["670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],MQ:["596","00","(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|8(?:0[6-9]|[36])"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:596(?:[03-7]\\d|1[05]|2[7-9]|8[0-39]|9[04-9])|80[6-9]\\d\\d|9(?:477[6-9]|767[4589]))\\d{4}"],["(?:69[67]\\d\\d|7091[0-3])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:397[0-3]|477[0-5]|76(?:6\\d|7[0-367]))\\d{4}"]]],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]],0,0,0,0,0,0,[["(?:25[08]|35\\d|45[1-7])\\d{5}"],["[2-4][0-46-9]\\d{6}"],["800\\d{5}"]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664",[["6644(?:1[0-3]|91)\\d{4}"],["664(?:3(?:49|9[1-6])|49[2-6])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]],0,0,0,0,0,0,[["20(?:3[1-4]|6[059])\\d{4}|2(?:0[19]|[1-357]\\d|60)\\d{5}"],["(?:7(?:210|[79]\\d\\d)|9(?:[29]\\d\\d|69[67]|8(?:1[1-3]|89|97)))\\d{4}"],["800(?:02|[3467]\\d)\\d{3}"],["5(?:0(?:0(?:37|43)|(?:6\\d|70|9[0168])\\d)|[12]\\d0[1-5])\\d{3}"],0,0,["501\\d{5}"],["7117\\d{4}"],["3550\\d{4}"]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,[["(?:2(?:[0346-8]\\d|1[0-7])|4(?:[013568]\\d|2[4-8]|71|90)|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}",[7,8]],["5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|(?:5(?:2[5-9]|4[3-689]|[57]\\d|8[0-689]|9[0-8])|7(?:0[0-4]|3[013]))\\d{5}",[8]],["802\\d{7}|80[0-2]\\d{4}",[7,10]],["30\\d{5}",[7]],0,0,0,0,["3(?:20|9\\d)\\d{4}",[7]]],"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,[["(?:3(?:0[0-4]|3[0-59])|6(?:[58][024689]|6[024-68]|7[02468]))\\d{4}",[7]],["(?:46[46]|[79]\\d\\d)\\d{4}",[7]],["800\\d{7}",[10]],["900\\d{7}",[10]],0,0,["4(?:0[01]|50)\\d{4}",[7]]],"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:1[2-9]|2[12]\\d\\d)\\d{5}"],["111\\d{6}|(?:31|77|[89][89])\\d{7}",[9]]]],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,[["(?: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,[["4270\\d{4}|(?:3(?:2[0-36-9]|3[0-368]|4[0-278]|5[0-24-8]|6[0-467]|7[1246-9]|8\\d|9[0-57])\\d|4(?:2[0-689]|[3-79]\\d|8[1-35689])|5(?:2[0-589]|[3468]\\d|5[0-489]|7[1-9]|9[23])|6(?:2[2-9]|3[1357-9]|[46]\\d|5[0-6]|7[0-35-9]|85|9[015-8])|7(?:[2579]\\d|3[03-68]|4[0-8]|6[5-9]|8[0-35-9])|8(?:[24][2-8]|3[2-5]|5[2-7]|6[2-589]|7[2-578]|[89][2-9])|9(?:0[57]|13|[25-7]\\d|[3489][0-8]))\\d{5}",[8,9]],["1(?:1888[689]|4400|8(?:47|8[27])[0-4])\\d{4}|1(?:0(?:[23568]\\d|4[0-6]|7[016-9]|9[0-8])|1(?:[1-5]\\d\\d|6(?:0[5-9]|[1-9]\\d)|7(?:[0-4]\\d|5[0-7]))|(?:[269]\\d|[37][1-9]|4[235-9])\\d|5(?:31|9\\d\\d)|8(?:1[23]|[236]\\d|4[06]|5(?:46|[7-9])|7[016-9]|8[01]|9[0-8]))\\d{5}",[9,10]],["1[378]00\\d{6}",[10]],["1600\\d{6}",[10]],0,0,0,0,["15(?:4(?:6[0-4]\\d|8(?:0[125]|[17]\\d|21|3[01]|4[01589]|5[014]|6[02]))|6(?:32[0-6]|78\\d))\\d{4}",[10]]]],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["2(?:[1346]\\d|5[0-2]|[78][12]|93)\\d{5}",[8]],["8[2-79]\\d{7}",[9]],["800\\d{6}",[9]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0",0,0,0,0,0,[["64426\\d{3}|6(?:1(?:2[2-7]|3[01378]|4[0-4])|254|32[0237]|4(?:27|41|5[25])|52[236-8]|626|7(?:2[2-4]|30))\\d{4,5}|6(?:1(?:(?:0\\d|2[0189]|3[24-69]|4[5-9])\\d|17|69|7[014])|2(?:17|5[0-36-8]|69|70)|3(?:17|2[14-689]|34|6[289]|7[01]|81)|4(?:17|2[0-2]|4[06]|5[0137]|69|7[01])|5(?:17|2[0459]|69|7[01])|6(?:17|25|38|42|69|7[01])|7(?:17|2[569]|3[13]|6[89]|7[01]))\\d{4}"],["(?:60|8[1245])\\d{7}",[9]],["80\\d{7}",[9]],["8701\\d{5}",[9]],0,0,0,0,["8(?:3\\d\\d|86)\\d{5}"]]],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]],0,0,0,0,0,0,[["(?:2[03-9]|3[0-5]|4[1-7]|88)\\d{4}"],["(?:[579]\\d|8[0-79])\\d{4}"],["050\\d{3}"],["36\\d{4}"]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]],0,0,0,0,0,0,[["2(?:0(?:20|3[1-8]|4[13-5]|5[14]|6[14578]|7[1-578])|1(?:4[145]|5[14]|6[14-68]|7[169]|88))\\d{4}"],["(?:23|7[0467]|[89]\\d)\\d{6}"],["08\\d{6}"],["09\\d{6}"]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1",0,0,[["(?:1(?:06|17|28|39)|3[0-2]\\d)\\d{3}"],["(?:14|3[58])\\d{4}"]]],NG:["234","009","38\\d{6}|[78]\\d{9,13}|(?:20|9\\d)\\d{8}",[8,10,11,12,13,14],[["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["3"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0",0,0,0,0,0,[["(?:20(?:[1259]\\d|3[013-9]|4[1-8]|6[024-689]|7[1-79]|8[2-9])|38)\\d{6}",[8,10]],["(?:702[0-24-9]|819[01])\\d{6}|(?:7(?:0[13-9]|[12]\\d)|8(?:0[1-9]|1[0-8])|9(?:0[1-9]|1[1-6]))\\d{7}",[10]],["800\\d{7,11}",[10,11,12,13,14]],0,0,0,["700\\d{7,11}",[10,11,12,13,14]]]],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]],0,0,0,0,0,0,[["2\\d{7}"],["(?:5(?:5[0-7]|[78]\\d)|6(?:20|3[035]|4[045]|5[05]|77|8[1-9]|9[059])|(?:7[5-8]|8\\d)\\d)\\d{5}"],["1800\\d{4}"]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:[035]\\d|1[13-578]|6[124-8]|7[24]|8[0-467])|2(?:[0346]\\d|2[2-46-9]|5[125]|9[479])|3(?:[03568]\\d|1[3-8]|2[01]|4[1-8])|4(?:[0356]\\d|1[1-368]|7[58]|8[15-8]|9[23579])|5(?:[0358]\\d|[19][1-9]|2[1-57-9]|4[13-8]|6[126]|7[0-3578])|7\\d\\d)\\d{6}",[9]],["(?:6[1-58]|970\\d)\\d{7}",[9,11]],["800\\d{4,7}",[7,8,9,10]],["90[069]\\d{4,7}",[7,8,9,10]],0,0,["140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|(?:140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)|8[478]\\d{6})\\d",[5,6,9]],["66\\d{7}",[9]],["(?:85|91)\\d{7}",[9]]]],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]",[["(?:2[1-4]|3[1-3578]|5[1-35-7]|6[1-4679]|7[0-8])\\d{6}",[8]],["(?:4[015-8]|9\\d)\\d{6}",[8]],["80[01]\\d{5}",[8]],["82[09]\\d{5}",[8]],["880\\d{5}",[8]],["81[23]\\d{5}",[8]],["(?:0[235-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}"],0,["85[0-5]\\d{5}",[8]],["810(?:0[0-6]|[2-8]\\d)\\d{3}",[8]]]],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0",0,0,0,0,0,[["(?:1[0-6]\\d|99[02-6])\\d{5}|(?:2[13-79]|3[135-8]|4[146-9]|5[135-7]|6[13-9]|7[15-9]|8[1-46-9]|9[1-7])[2-6]\\d{5}",[8]],["9(?:00|6[0-3]|7[024-6]|8[0-24-68])\\d{7}",[10]],["1(?:66001|800\\d\\d)\\d{5}",[11]]]],NR:["674","00","(?: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[126-9]|9[1-9])\\d{6}",[8]],["8007\\d{4,5}|(?:500|800[05])\\d{4}"],["900\\d{5}",[8]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["(?:1(?:0\\d|1[479]|2[37]|3[0137]|4[17]|5[05]|6[058]|7[0167]|8[2358]|9[1389])|2(?:[0235-79]\\d|1[0-7]|4[013-9]|8[02-9])|3(?:[07-9]\\d|1[0-7]|2[0-5]|33|4[0-79]|5[0-35]|6[068])|4(?:00|3[0-579]|4\\d|7[0-57-9])|5(?:[01]\\d|2[0-7]|[56]0|79)|7(?:0[09]|2[0-26-8]|3[03]|4[04]|5[05-9]|6[0156]|7[0-24-9]|8[5-9]|90)|8(?:09|2[89]|3\\d|4[0-24-689]|5[014]|8[02])|9(?:0[5-9]|1[0135-8]|2[036-9]|3[35-79]|40|5[0457-9]|6[05-9]|7[04-9]|8[35-8]|9\\d))\\d{4}",[7]],["(?:1[16]1|21[89]|6\\d{3}|8(?:1[01]|7[23]))\\d{4}",[7,8]],["800\\d{4,5}|(?:00800|800\\d)\\d{6}"],["(?:8(?:22|55|60|7[78]|86)|9(?:00|81))\\d{4}",[7]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,[["(?:(?:(?:4[34]|5[14])[0-8]|687)\\d|7(?:173|(?:3[0-8]|55)\\d)|8(?:10[05689]|6(?:0[06-9]|1[6-9]|29)|7(?:0[0569]|[56]0)))\\d{4}|(?:1[0-8]|4[12]|5[236]|6[1-7]|7[246]|8[2-4])\\d{6}",[8]],["9\\d{8}",[9]],["800\\d{5}",[8]],["805\\d{5}",[8]],["80[24]\\d{5}",[8]],0,0,0,0,["801\\d{5}",[8]]],"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],0,0,0,0,0,0,[["4(?:0[4-689]|9[4-68])\\d{5}",[8]],["8[7-9]\\d{6}",[8]],["80[0-5]\\d{6}",[9]],0,0,0,["44\\d{4}",[6]],0,["499\\d{5}",[8]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,[["(?:(?:3[0-2]|4[257]|5[34]|9[78])\\d|64[1-9]|85[02-46-9])\\d{4}",[7]],["(?:7\\d|8[1-38])\\d{6}",[8]],["180\\d{4}",[7]],0,0,0,0,["27[01]\\d{4}",[7]],["2(?:0[0-57]|7[568])\\d{4}",[7]]],"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0",0,0,0,0,0,[["(?:(?:2[3-8]|3[2-68]|4[2-9]|5[2-6]|6[2-58]|7[24578])\\d{3}|88(?:22\\d\\d|42))\\d{4}|(?:2|8[2-8]\\d\\d)\\d{5}",[6,8,9,10]],["(?:8(?:1[37]|9[5-8])|9(?:0[5-9]|1[0-24-9]|[235-7]\\d|4[2-9]|8[135-9]|9[1-9]))\\d{7}",[10]],["1800\\d{7,9}",[11,12,13]]]],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0",0,0,0,0,0,[["(?:(?:21|42)[2-9]|58[126])\\d{7}|(?:2[25]|4[0146-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]\\d{6,7}|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8]))[2-9]\\d{5,6}",[9,10]],["3(?:[0-247]\\d|3[0-79]|55|64)\\d{7}",[10]],["800\\d{5}(?:\\d{3})?",[8,11]],["900\\d{5}",[8]],["122\\d{6}",[9]],0,["(?:2(?:[125]|3[2358]|4[2-4]|9[2-8])|4(?:[0-246-9]|5[3479])|5(?:[1-35-7]|4[2-467])|6(?:0[468]|[1-8])|7(?:[14]|2[236])|8(?:[16]|2[2-689]|3[23578]|4[3478]|5[2356])|9(?:1|22|3[27-9]|4[2-6]|6[3569]|9[2-7]))111\\d{6}",[11,12]]]],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["47\\d{7}|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])(?:[02-9]\\d{6}|1(?:[0-8]\\d{5}|9\\d{3}(?:\\d{2})?))",[7,9]],["2131[89]\\d{4}|21(?:1[013-5]|2\\d|3[2-9])\\d{5}|(?:45|5[0137]|6[069]|7[2389]|88)\\d{7}",[9]],["800\\d{6,7}",[9,10]],["70[01346-8]\\d{6}",[9]],0,0,["804\\d{6}",[9]],["64\\d{4,7}",[6,7,8,9]],["39\\d{7}",[9]],["801\\d{6}",[9]]]],PM:["508","00","[45]\\d{5}|(?:708|8\\d\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:4[1-35-9]|5[0-47-9]|80[6-9]\\d\\d)\\d{4}"],["(?:4[02-489]|5[02-9]|708(?:4[0-5]|5[0-6]))\\d{4}"],["80[0-5]\\d{6}",[9]],["8[129]\\d{7}",[9]]]],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939",[["(?:787|939)[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0",0,0,0,0,0,[["(?:22[2-47-9]|42[45]|82[014-68]|92[3569])\\d{5}",[8]],["5[69]\\d{7}",[9]],["1800\\d{6}",[10]],0,0,0,0,0,0,["1700\\d{6}",[10]]]],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]],0,0,0,0,0,0,[["2(?:[12]\\d|3[1-689]|4[1-59]|[57][1-9]|6[1-35689]|8[1-69]|9[1256])\\d{6}"],["6(?:[06]92(?:30|9\\d)|[35]92(?:[049]\\d|3[034]))\\d{3}|(?:(?:16|6[0356])93|9(?:[1-36]\\d\\d|480))\\d{5}"],["80[02]\\d{6}"],["(?:6(?:0[178]|4[68])\\d|76(?:0[1-57]|1[2-47]|2[237]))\\d{5}"],["884[0-4689]\\d{5}"],["600\\d{6}|6[06]92(?:0\\d|3[349]|49)\\d{3}"],["70(?:38[01]|596|(?:7\\d|8[17])\\d)\\d{4}"],["6(?:222\\d|8988)\\d{4}"],["30\\d{7}"],["80(?:8\\d|9[1579])\\d{5}"]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],0,0,0,0,0,0,[["(?:2(?:55|77)|345|488|5(?:35|44|87)|6(?:22|54|79)|7(?:33|47)|8(?:24|55|76)|900)\\d{4}"],["(?:(?:46|83)[0-5]|(?:6[2-4689]|78)0)\\d{4}|(?:45|77|88)\\d{5}"]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,[["(?:[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36])\\d{5,7}|(?:2(?:2[4-68]|[4-68]\\d|7[15]|9[1-5])|3(?:18|3[167]|4[2357]|51|[67]\\d)|4(?:3[12]|5[13]|9[1-47])|5(?:[1-4]\\d|5[02-4])|6(?:3[1-3]|44|7[1-8])|7(?:4[0-4]|5\\d|6[1-578]|75|8[0-8])|858)\\d{5,6}",[7,8,9]],["9(?:51|6[129]|7[1-6]|8[1-7]|9[1-5])\\d{6}",[9]],["9800\\d{5,7}",[9,10,11]],0,0,0,["[2-9]0\\d{4,7}",[6,7,8,9]],0,["8700[0-4]\\d{4}",[9]]]],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[16]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]],0,0,0,0,0,0,[["4(?:1111|2022)\\d{3}|4(?:[04]\\d\\d|14[0-6]|999)\\d{4}",[8]],["[35-7]\\d{7}",[8]],["800\\d{4}|(?:0080[01]|800)\\d{6}",[7,9,11]],0,0,0,0,["2[16]\\d{5}",[7]]]],RE:["262","00","709\\d{6}|(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"],["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[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,"3[04-689]|[489]",[["(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15]|6[1-35-79]|7[1-37-9]))\\d{7}",[10]],["9\\d{9}",[10]],["8(?:0[04]|108\\d{3})\\d{7}"],["80[39]\\d{7}",[10]],["808\\d{7}",[10]]],"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:06|2[23568]\\d)\\d{6}"],["7[237-9]\\d{7}",[9]],["800\\d{6}",[9]],["900\\d{6}",[9]]]],SA:["966","00","92\\d{7}|(?:[15]|8\\d)\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0",0,0,0,0,0,[["1(?:1\\d|2[24-8]|3[35-8]|4[3-68]|6[2-5]|7[235-7])\\d{6}",[9]],["579[01]\\d{5}|5(?:[013-689]\\d|7[0-8])\\d{6}",[9]],["800\\d{7}",[10]],["925\\d{6}",[9]],0,0,["811\\d{7}",[10]],0,0,["920\\d{6}",[9]]]],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]],0,0,0,0,0,0,[["(?:1[4-79]|[23]\\d|4[0-2]|5[03]|6[0-37])\\d{3}",[5]],["48\\d{3}|(?:(?:6[89]|7[1-9]|8[4-9])\\d|9(?:1[2-9]|2[013-9]|3[0-2]|[46]\\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8]))\\d{4}"],["1[38]\\d{3}",[5]],0,0,0,0,0,["5[12]\\d{3}",[5]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,[["4[2-46]\\d{5}"],["2[125-8]\\d{5}"],["800[08]\\d{3}"],["85\\d{5}"],0,0,0,0,["971\\d{4}|(?:64|95)\\d{5}"]],"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0",0,0,0,0,0,[["1(?:5\\d|8[35-7])\\d{6}"],["(?:1[0-2]|9[0-3569])\\d{7}"]]],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10,12],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0",0,0,0,0,0,[["(?:(?:[12][136]|3[356]|4[0246]|6[03]|8\\d)\\d|90[1-9])\\d{4,6}|(?:1(?:2[0-35]|4[0-4]|5[0-25-9]|7[13-6]|[89]\\d)|2(?:2[0-7]|4[0136-8]|5[0138]|7[018]|8[01]|9[0-57])|3(?:0[0-4]|1\\d|2[0-25]|4[056]|7[0-2]|8[0-3]|9[023])|4(?:1[013-8]|3[0135]|5[14-79]|7[0-246-9]|8[0156]|9[0-689])|5(?:0[0-6]|[15][0-5]|2[0-68]|3[0-4]|4\\d|6[03-5]|7[013]|8[0-79]|9[01])|6(?:1[1-3]|2[0-4]|4[02-57]|5[0-37]|6[0-3]|7[0-2]|8[0247]|9[0-356])|9(?:1[0-68]|2\\d|3[02-5]|4[0-3]|5[0-4]|[68][01]|7[0135-8]))\\d{5,6}",[7,8,9]],["7[02369]\\d{7}",[9]],["20\\d{4,7}",[6,7,8,9]],["649\\d{6}|99[1-59]\\d{4}(?:\\d{3})?|9(?:00|39|44)[1-8]\\d{3,6}",[7,8,9,10]],["75[1-8]\\d{6}",[9]],["(?:25[245]|67[3-68])\\d{9}",[12]],["10[1-8]\\d{6}",[9]],["74[02-9]\\d{6}",[9]],0,["77[0-7]\\d{6}",[9]]]],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[["662[0-24-9]\\d{4}|6(?:[0-578]\\d|6[013-57-9]|9[0-35-9])\\d{5}",[8]],["896[0-8]\\d{4}|(?:8(?:0[1-9]|[1-8]\\d|9[0-5])|9[0-8]\\d)\\d{5}",[8]],["(?:18|8)00\\d{7}",[10,11]],["1900\\d{7}",[11]],0,0,["7000\\d{7}",[11]],0,["(?:3[12]\\d|666)\\d{5}",[8]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]",[["2(?:[0-57-9]\\d|6[4-9])\\d\\d"],["[56]\\d{4}",[5]],0,0,0,0,0,0,["262\\d\\d",[5]]]],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,[["(?:[1-357][2-8]|4[24-8])\\d{6}",[8]],["65(?:[178]\\d|5[56]|6[01])\\d{4}|(?:[37][01]|4[0139]|51|6[489])\\d{6}",[8]],["80\\d{4,6}",[6,7,8]],["89[1-3]\\d{2,5}|90\\d{4,6}"],0,0,0,0,["(?:59\\d\\d|8(?:1(?:[67]\\d|8[0-589])|2(?:0\\d|2[0-37-9]|8[0-2489])|3[389]\\d))\\d{4}",[8]]],"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79",[["79\\d{6}",[8]],["(?:4[015-8]|9\\d)\\d{6}",[8]],["80[01]\\d{5}",[8]],["82[09]\\d{5}",[8]],["880\\d{5}",[8]],["81[23]\\d{5}",[8]],["(?:0[235-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}"],0,["85[0-5]\\d{5}",[8]],["810(?:0[0-6]|[2-8]\\d)\\d{3}",[8]]]],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0",0,0,0,0,0,[["(?:2(?:16|[2-9]\\d{3})|(?:(?:[3-5][1-8]\\d|819)\\d|601[1-5])\\d)\\d{4}|(?:2|[3-5][1-8])1[67]\\d{3}|[3-5][1-8]16\\d\\d"],["909[1-9]\\d{5}|9(?:0[1-8]|1[0-24-9]|4[03-57-9]|5\\d)\\d{6}",[9]],["800\\d{6}",[9]],["9(?:00|[78]\\d)\\d{6}",[9]],0,0,["96\\d{7}",[9]],["9090\\d{3}",[7]],["6(?:02|5[0-4]|9[0-6])\\d{6}",[9]],["8[5-9]\\d{7}",[9]]]],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0",0,0,0,0,0,[["22[2-4][2-9]\\d{4}"],["(?:25|3[0-5]|66|7[1-9]|8[08]|9[09])\\d{6}"]]],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1",0,0,[["0549(?:8[0157-9]|9\\d)\\d{4}",[10]],["6[16]\\d{6}",[8]],0,["7[178]\\d{6}",[8]],0,0,0,0,["5[158]\\d{6}",[8]]]],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]],0,0,0,0,0,0,[["3(?:0(?:1[0-2]|80)|282|3(?:8[1-9]|9[3-9])|611)\\d{5}"],["7(?:(?:[06-8]\\d|[19]0|21)\\d|5(?:0[01]|[19]0|2[25]|3[356]|[4-7]\\d|8[35]))\\d{5}"],["800\\d{6}"],["88[4689]\\d{6}"],0,0,0,0,["(?:3(?:392|9[01]\\d)\\d|93(?:3[13]0|929))\\d{4}"],["81[02468]\\d{6}"]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|7[67]|9[2-9]"]]],"0",0,0,0,0,0,[["(?:1\\d|2[0-79]|3[0-46-8]|4[0-7]|5[57-9])\\d{5}|(?:[134]\\d|8[125])\\d{4}",[6,7]],["(?:(?:15|(?:3[59]|4[89]|6\\d|7[679]|8[08])\\d|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:[67]\\d\\d|904)\\d{5}",[7,8,9]]]],SR:["597","00","(?:[2-5]|68|[78]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]],0,0,0,0,0,0,[["(?:2[1-3]|3[0-7]|(?:4|68)\\d|5[2-58])\\d{4}"],["(?:7[124-7]|8[1-9])\\d{5}",[7]],0,0,0,0,0,0,["56\\d{4}",[6]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0",0,0,0,0,0,[["1[89]\\d{7}"],["(?:12|9[1257-9])\\d{7}"]]],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]],0,0,0,0,0,0,[["22\\d{5}"],["900[5-9]\\d{3}|9(?:0[1-9]|[89]\\d)\\d{4}"]]],SV:["503","00","[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[267]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,[["2(?:79(?:0[0347-9]|[1-9]\\d)|89(?:0[024589]|[1-9]\\d))\\d{3}|2(?:[1-69]\\d|[78][0-8])\\d{5}",[8]],["[67]\\d{7}",[8]],["800\\d{8}|80[01]\\d{4}",[7,11]],["900\\d{4}(?:\\d{4})?",[7,11]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721",[["7215(?:4[2-8]|8[239]|9[056])\\d{4}"],["7215(?:1[02]|2\\d|5[034679]|8[014-8])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],SY:["963","00","[1-359]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-4]|5[1-3]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[59]"],"0$1",1]],"0",0,0,0,0,0,[["21\\d{6,7}|(?:1(?:[14]\\d|[2356])|2[235]|3(?:[13]\\d|4)|4[134]|5[1-3])\\d{6}"],["(?:50|9[1-689])\\d{7}",[9]]]],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]],0,0,0,0,0,0,[["[23][2-5]\\d{6}",[8]],["7[6-9]\\d{6}",[8]],["0800\\d{4}",[8]],["900\\d{6}",[9]],0,0,0,0,["70\\d{6}",[8]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8",[["8\\d{3}"]]],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649",[["649(?:266|712|9(?:4\\d|50))\\d{4}"],["649(?:2(?:3[129]|4[1-79])|3\\d\\d|4[34][1-3])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,0,["649(?:71[01]|966)\\d{4}"]]],TD:["235","00|16","(?:22|[689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"]]],0,0,0,0,0,0,[["22(?:[37-9]0|5[0-5]|6[89])\\d{4}"],["(?:[69]\\d|77|8[56])\\d{6}"]],"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]],0,0,0,0,0,0,[["2(?:2[2-7]|3[23]|4[45]|55|6[67]|77)\\d{5}"],["(?:7[0-29]|9[0-36-9])\\d{6}"]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0",0,0,0,0,0,[["(?:1[0689]|2\\d|3[2-9]|4[2-5]|5[2-6]|7[3-7])\\d{6}",[8]],["67(?:1[0-8]|2[4-7])\\d{5}|(?:14|6[1-6]|[89]\\d)\\d{7}",[9]],["(?:001800\\d|1800)\\d{6}",[10,13]],["1900\\d{6}",[10]],0,0,0,0,["6[08]\\d{7}",[9]]]],TJ:["992","810","[0-57-9]\\d{8}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3(?:[1245]|3[12])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],0,0,0,0,0,0,[["(?:3(?:1[3-5]|2[245]|3[12]|4[24-7]|5[25]|72)|4(?:46|74|87))\\d{6}"],["(?:33[03-9]|4(?:1[18]|4[02-479])|81[1-9])\\d{6}|(?:[09]\\d|1[0-27-9]|2[0-27]|[34]0|5[05]|7[01578]|8[078])\\d{7}"]],"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7],0,0,0,0,0,0,0,[["(?:2[2-4]|[34]\\d)\\d{2,5}"],["7[2-4]\\d{2,5}"]]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]],0,0,0,0,0,0,[["(?:2[1-5]|3[1-9]|4[1-4])\\d{5}",[7]],["7[2-8]\\d{6}",[8]],["80\\d{5}",[7]],["90\\d{5}",[7]],["70\\d{5}",[7]]]],TM:["993","810","(?:[1-6]\\d|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,[["(?:1(?:2\\d|3[1-9])|2(?:22|4[0-35-8])|3(?:22|4[03-9])|4(?:22|3[128]|4\\d|6[15])|5(?:22|5[7-9]|6[014-689]))\\d{5}"],["(?:6\\d|71)\\d{6}"]],"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]],0,0,0,0,0,0,[["81200\\d{3}|(?:3[0-2]|7\\d)\\d{6}"],["3(?:001|[12]40)\\d{4}|(?:(?:[259]\\d|4[0-8])\\d|3(?:1[1-35]|6[0-4]|91))\\d{5}"],["8010\\d{4}"],["88\\d{6}"],0,0,0,0,0,["8[12]10\\d{4}"]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]],0,0,0,0,0,0,[["(?:2\\d|3[0-8]|4[0-4]|50|6[09]|7[0-24-69]|8[05])\\d{3}",[5]],["(?:5(?:4[0-5]|5[4-6])|6(?:[09]\\d|3[02]|8[15-9])|(?:7\\d|8[46-9])\\d|999)\\d{4}",[7]],["0800\\d{3}",[7]],0,0,0,0,0,["55[0-37-9]\\d{4}",[7]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0",0,0,0,0,0,[["(?:2(?:[13][26]|[28][2468]|[45][268]|[67][246])|3(?:[13][28]|[24-6][2468]|[78][02468]|92)|4(?:[16][246]|[23578][2468]|4[26]))\\d{7}",[10]],["561(?:011|61\\d)\\d{4}|5(?:0[15-7]|1[06]|24|[34]\\d|5[1-59]|9[46])\\d{7}",[10]],["8(?:00\\d{7}(?:\\d{2,3})?|11\\d{7})",[10,12,13]],["(?:8[89]8|900)\\d{7}",[10]],["592(?:21[12]|461)\\d{4}",[10]],0,["444\\d{4}",[7]],["512\\d{7}",[10]],["850\\d{7}",[10]]]],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868",[["868(?:2(?:01|1[5-9]|[23]\\d|4[0-2])|6(?:0[7-9]|1[02-8]|2[1-9]|[3-69]\\d|7[0-79])|82[124])\\d{4}"],["868(?:(?:2[5-9]|3\\d)\\d|4(?:3[0-6]|[6-9]\\d)|6(?:20|78|8\\d)|7(?:0[1-9]|1[02-9]|[2-9]\\d))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],["868619\\d{4}"]]],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]],0,0,0,0,0,0,[["2[02-9]\\d{3}",[5]],["(?:7[01]\\d|90)\\d{4}",[6,7]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,[["(?:2[2-8]\\d|370|55[01]|7[1-9])\\d{6}|4(?:(?:0(?:0[1-9]|[2-48]\\d)|1[023]\\d)\\d{4,5}|(?:[239]\\d\\d|4(?:0[56]|12|49))\\d{5})|6(?:[01]\\d{7}|4(?:0[56]|12|24|4[09])\\d{4,5})|8(?:(?:2(?:3\\d|4[0-269]|[578]0|66)|36[24-9]|90\\d\\d)\\d{4}|4(?:0[56]|12|24|4[09])\\d{4,5})|(?:2(?:2(?:0\\d\\d|4(?:0[68]|[249]0|3[0-467]|5[0-25-9]|6[0235689]))|(?:3(?:[09]\\d|1[0-4])|(?:4\\d|5[0-49]|6[0-29]|7[0-5])\\d)\\d)|(?:(?:3[2-9]|5[2-8]|6[0-35-79]|8[7-9])\\d\\d|4(?:2(?:[089]\\d|7[1-9])|(?:3[0-4]|[78]\\d|9[01])\\d))\\d)\\d{3}",[8,9]],["(?:40001[0-2]|9[0-8]\\d{4})\\d{3}",[9]],["80[0-79]\\d{6}|800\\d{5}",[8,9]],["20(?:[013-9]\\d\\d|2)\\d{4}",[7,9]],["99\\d{7}",[9]],0,["50[0-46-9]\\d{6}",[9]],0,["7010(?:[0-2679]\\d|3[0-7]|8[0-5])\\d{5}|70\\d{8}",[10,11]]],0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0",0,0,0,0,0,[["2[2-8]\\d{7}"],["(?:6[125-9]|7[13-9])\\d{7}"],["80[08]\\d{6}"],["90\\d{7}"],0,0,0,0,["41\\d{7}"],["8(?:40|6[01])\\d{6}"]]],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,[["(?:3[1-8]|4[13-8]|5[1-7]|6[12459])\\d{7}",[9]],["790\\d{6}|(?:39|50|6[36-8]|7[1-357]|9[1-9])\\d{7}",[9]],["800[1-8]\\d{5,6}"],["900[239]\\d{5,6}"],0,0,0,0,["89[1-579]\\d{6}",[9]]],"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0",0,0,0,0,0,[["20(?:(?:240|30[67])\\d|6(?:00[0-2]|30[0-4]))\\d{3}|(?:20(?:[017]\\d|2[5-9]|3[1-4]|5[0-4]|6[15-9])|[34]\\d{3})\\d{5}"],["72[48]0\\d{5}|7(?:[015-8]\\d|2[067]|36|4[0-8]|9[089])\\d{6}"],["800[1-3]\\d{5}"],["90[1-3]\\d{6}"]]],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[0-468]))\\d{4}|(?:2742|305[3-9]|472[247-9]|505[2-57-9]|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[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-389]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,0,["305209\\d{4}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",[6,7,8,9,10,11,12,13],[["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,[["(?:1(?:770|9(?:20|[89]7))|(?:2\\d|4[2-7])\\d\\d)\\d{4}",[8]],["9[1-9]\\d{6}",[8]],["0004\\d{2,9}|(?:405|80[05])\\d{4}"],["90[0-8]\\d{4}",[7]]],"00"," int. "],UZ:["998","00","(?:20|33|[5-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]],0,0,0,0,0,0,[["(?:55\\d\\d|6(?:1(?:22|3[124]|4[1-4]|5[1-3578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|[69]\\d\\d|7(?:[23]\\d|7[69]))|7(?:0(?:5[4-9]|6[0146]|7[124-6]|9[135-8])|[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[78]|9[0-57-9])\\d{3}|6(?:1(?:2(?:2[01]|98)|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:(?:11|7\\d)\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7\\d)\\d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079])))|7(?:[07]\\d{3}|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07]))))\\d{4}"]]],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11,12],0,0,0,0,0,0,"06698",[["06698\\d{1,6}",[6,7,8,9,10,11]],["3[1-9]\\d{8}|3[2-9]\\d{7}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784",[["784(?:266|3(?:6[6-9]|7\\d|8[0-6])|4(?:38|5[0-36-8]|8[0-8])|5(?:55|7[0-2]|93)|638|784)\\d{4}"],["784(?:4(?:3[0-5]|5[45]|89|9[0-8])|5(?:2[6-9]|3[0-4])|720)\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,0,["78451[0-2]\\d{4}"]]],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0",0,0,0,0,0,[["(?:2(?:12|3[457-9]|[467]\\d|[58][1-9]|9[1-6])|[4-6]00)\\d{7}"],["4(?:1[24-8]|2[246])\\d{7}"],["800\\d{7}"],["90[01]\\d{7}"],0,0,["501\\d{7}"]]],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284",[["284(?:229|4(?:22|9[45])|774|8(?:52|6[459]))\\d{4}"],["284(?:245|3(?:0[0-3]|4[0-7]|68|9[34])|4(?:4[0-6]|68|9[69])|5(?:4[0-7]|68|9[69]))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340",[["340(?:2(?:0\\d|10|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0",0,0,0,0,0,[["2(?:0[3-9]|1[0-689]|2[0-25-9]|[38][2-9]|4[2-8]|5[124-9]|6[0-39]|7[0-7]|9[0-4679])\\d{7}",[10]],["(?:5(?:2[238]|59)|89[6-9]|99[013-9])\\d{6}|(?:3\\d|5[1689]|7[06-9]|8[1-8]|9[0-8])\\d{7}",[9]],["1800\\d{4,6}|12(?:0[13]|28)\\d{4}",[8,9,10]],["1900\\d{4,6}",[8,9,10]],0,0,["(?:[17]99|80\\d)\\d{4}|69\\d{5,6}",[7,8]],0,["672\\d{6}",[9]]]],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]],0,0,0,0,0,0,[["(?:38[0-8]|48[4-9])\\d\\d|(?:2[02-9]|3[4-7]|88)\\d{3}",[5]],["(?:[58]\\d|7[013-7])\\d{5}",[7]],["81[18]\\d\\d",[5]],0,0,0,["(?:3[03]|900\\d)\\d{3}"],0,["9(?:0[1-9]|1[01])\\d{4}",[7]]]],WF:["681","00","(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[47-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],0,0,0,0,0,0,[["72\\d{4}",[6]],["(?:72|8[23])\\d{4}",[6]],["80[0-5]\\d{6}",[9]],0,0,["[48]0\\d{4}",[6]],0,0,["9[23]\\d{4}",[6]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]],0,0,0,0,0,0,[["6[1-9]\\d{3}|(?:[2-5]|60)\\d{4}",[5,6]],["(?:7[1-35-7]|8(?:[3-7]|9\\d{3}))\\d{5}",[7,10]],["800\\d{3}",[6]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0",0,0,0,0,0,[["38\\d{6,10}|(?:2[89]|39)(?:0\\d{5,6}|[1-9]\\d{5})"],["4[3-9]\\d{6}",[8]],["800\\d{5}",[8]],["900\\d{5}",[8]]]],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,[["78[0-7]\\d{4}|17\\d{6}|(?:[12][2-68]|3[2358]|4[2-58]|5[2-6]|6[3-58]|7[24-6])\\d{5}",[7,8]],["7[01378]\\d{7}",[9]]]],YT:["262","00","7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"],["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0",0,0,0,0,0,[["(?: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]|6\\d\\d|7(?:[0-46-9]\\d|5[0-4]))\\d\\d|8(?:5\\d{3}|7(?:08[67]|158|28[5-9]|310)))\\d{4}|(?:1[6-8]|28|3[2-69]|4[025689]|5[36-8])4920\\d{3}|(?:12|[2-5]1)492\\d{4}",[5,6,7,8,9]],["80\\d{7}",[9]],["(?:86[2-9]|9[0-2]\\d)\\d{6}",[9]],0,0,["861\\d{6,7}",[9,10]],0,["87(?:08[0-589]|15[0-79]|28[0-4]|31[1-9])\\d{4}|87(?:[02][0-79]|1[0-46-9]|3[02-9]|[4-9]\\d)\\d{5}",[9]],["860\\d{6}",[9]]]],ZM:["260","00","800\\d{6}|(?:21|[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|51"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",[7,8,9,10,12]],0,0,0,["348[57]\\d{7}",[11]],0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};var Zn={exports:{}},Jn={exports:{}},Oe={};/** @license React v16.13.1
|
|
41
41
|
* react-is.production.min.js
|
|
42
42
|
*
|
|
43
43
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
44
44
|
*
|
|
45
45
|
* This source code is licensed under the MIT license found in the
|
|
46
46
|
* LICENSE file in the root directory of this source tree.
|
|
47
|
-
*/var
|
|
47
|
+
*/var gd;function ff(){if(gd)return Oe;gd=1;var e=typeof Symbol=="function"&&Symbol.for,n=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,d=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,s=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,g=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,c=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,O=e?Symbol.for("react.scope"):60119;function b(C){if(typeof C=="object"&&C!==null){var A=C.$$typeof;switch(A){case n:switch(C=C.type,C){case l:case s:case r:case o:case i:case g:return C;default:switch(C=C&&C.$$typeof,C){case d:case f:case c:case p:case a:return C;default:return A}}case t:return A}}}function x(C){return b(C)===s}return Oe.AsyncMode=l,Oe.ConcurrentMode=s,Oe.ContextConsumer=d,Oe.ContextProvider=a,Oe.Element=n,Oe.ForwardRef=f,Oe.Fragment=r,Oe.Lazy=c,Oe.Memo=p,Oe.Portal=t,Oe.Profiler=o,Oe.StrictMode=i,Oe.Suspense=g,Oe.isAsyncMode=function(C){return x(C)||b(C)===l},Oe.isConcurrentMode=x,Oe.isContextConsumer=function(C){return b(C)===d},Oe.isContextProvider=function(C){return b(C)===a},Oe.isElement=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===n},Oe.isForwardRef=function(C){return b(C)===f},Oe.isFragment=function(C){return b(C)===r},Oe.isLazy=function(C){return b(C)===c},Oe.isMemo=function(C){return b(C)===p},Oe.isPortal=function(C){return b(C)===t},Oe.isProfiler=function(C){return b(C)===o},Oe.isStrictMode=function(C){return b(C)===i},Oe.isSuspense=function(C){return b(C)===g},Oe.isValidElementType=function(C){return typeof C=="string"||typeof C=="function"||C===r||C===s||C===o||C===i||C===g||C===m||typeof C=="object"&&C!==null&&(C.$$typeof===c||C.$$typeof===p||C.$$typeof===a||C.$$typeof===d||C.$$typeof===f||C.$$typeof===v||C.$$typeof===E||C.$$typeof===O||C.$$typeof===h)},Oe.typeOf=b,Oe}var Pe={};/** @license React v16.13.1
|
|
48
48
|
* react-is.development.js
|
|
49
49
|
*
|
|
50
50
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
51
51
|
*
|
|
52
52
|
* This source code is licensed under the MIT license found in the
|
|
53
53
|
* LICENSE file in the root directory of this source tree.
|
|
54
|
-
*/var
|
|
54
|
+
*/var vd;function pf(){return vd||(vd=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,n=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,d=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,s=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,g=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,c=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,O=e?Symbol.for("react.scope"):60119;function b(S){return typeof S=="string"||typeof S=="function"||S===r||S===s||S===o||S===i||S===g||S===m||typeof S=="object"&&S!==null&&(S.$$typeof===c||S.$$typeof===p||S.$$typeof===a||S.$$typeof===d||S.$$typeof===f||S.$$typeof===v||S.$$typeof===E||S.$$typeof===O||S.$$typeof===h)}function x(S){if(typeof S=="object"&&S!==null){var Z=S.$$typeof;switch(Z){case n:var K=S.type;switch(K){case l:case s:case r:case o:case i:case g:return K;default:var _=K&&K.$$typeof;switch(_){case d:case f:case c:case p:case a:return _;default:return Z}}case t:return Z}}}var C=l,A=s,j=d,H=a,k=n,F=f,D=r,X=c,G=p,B=t,se=o,de=i,ae=g,ie=!1;function z(S){return ie||(ie=!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(S)||x(S)===l}function I(S){return x(S)===s}function R(S){return x(S)===d}function Y(S){return x(S)===a}function T(S){return typeof S=="object"&&S!==null&&S.$$typeof===n}function U(S){return x(S)===f}function L(S){return x(S)===r}function Q(S){return x(S)===c}function q(S){return x(S)===p}function ne(S){return x(S)===t}function ce(S){return x(S)===o}function he(S){return x(S)===i}function Ee(S){return x(S)===g}Pe.AsyncMode=C,Pe.ConcurrentMode=A,Pe.ContextConsumer=j,Pe.ContextProvider=H,Pe.Element=k,Pe.ForwardRef=F,Pe.Fragment=D,Pe.Lazy=X,Pe.Memo=G,Pe.Portal=B,Pe.Profiler=se,Pe.StrictMode=de,Pe.Suspense=ae,Pe.isAsyncMode=z,Pe.isConcurrentMode=I,Pe.isContextConsumer=R,Pe.isContextProvider=Y,Pe.isElement=T,Pe.isForwardRef=U,Pe.isFragment=L,Pe.isLazy=Q,Pe.isMemo=q,Pe.isPortal=ne,Pe.isProfiler=ce,Pe.isStrictMode=he,Pe.isSuspense=Ee,Pe.isValidElementType=b,Pe.typeOf=x}()),Pe}var $d;function bd(){return $d||($d=1,process.env.NODE_ENV==="production"?Jn.exports=ff():Jn.exports=pf()),Jn.exports}/*
|
|
55
55
|
object-assign
|
|
56
56
|
(c) Sindre Sorhus
|
|
57
57
|
@license MIT
|
|
58
|
-
*/var pi,yd;function mf(){if(yd)return pi;yd=1;var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;function r(o){if(o==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(o)}function i(){try{if(!Object.assign)return!1;var o=new String("abc");if(o[5]="de",Object.getOwnPropertyNames(o)[0]==="5")return!1;for(var a={},d=0;d<10;d++)a["_"+String.fromCharCode(d)]=d;var l=Object.getOwnPropertyNames(a).map(function(f){return a[f]});if(l.join("")!=="0123456789")return!1;var s={};return"abcdefghijklmnopqrst".split("").forEach(function(f){s[f]=f}),Object.keys(Object.assign({},s)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return pi=i()?Object.assign:function(o,a){for(var d,l=r(o),s,f=1;f<arguments.length;f++){d=Object(arguments[f]);for(var
|
|
59
|
-
Valid keys: `+JSON.stringify(Object.keys(I),null," "));var S=Ee(q,he,U,L,Q+"."+he,t);if(S)return S}return null}return
|
|
58
|
+
*/var pi,yd;function mf(){if(yd)return pi;yd=1;var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;function r(o){if(o==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(o)}function i(){try{if(!Object.assign)return!1;var o=new String("abc");if(o[5]="de",Object.getOwnPropertyNames(o)[0]==="5")return!1;for(var a={},d=0;d<10;d++)a["_"+String.fromCharCode(d)]=d;var l=Object.getOwnPropertyNames(a).map(function(f){return a[f]});if(l.join("")!=="0123456789")return!1;var s={};return"abcdefghijklmnopqrst".split("").forEach(function(f){s[f]=f}),Object.keys(Object.assign({},s)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return pi=i()?Object.assign:function(o,a){for(var d,l=r(o),s,f=1;f<arguments.length;f++){d=Object(arguments[f]);for(var g in d)n.call(d,g)&&(l[g]=d[g]);if(e){s=e(d);for(var m=0;m<s.length;m++)t.call(d,s[m])&&(l[s[m]]=d[s[m]])}}return l},pi}var mi,wd;function hi(){if(wd)return mi;wd=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return mi=e,mi}var gi,xd;function Cd(){return xd||(xd=1,gi=Function.call.bind(Object.prototype.hasOwnProperty)),gi}var vi,Ed;function hf(){if(Ed)return vi;Ed=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var n=hi(),t={},r=Cd();e=function(o){var a="Warning: "+o;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function i(o,a,d,l,s){if(process.env.NODE_ENV!=="production"){for(var f in o)if(r(o,f)){var g;try{if(typeof o[f]!="function"){var m=Error((l||"React class")+": "+d+" type `"+f+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[f]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}g=o[f](a,f,l,d,null,n)}catch(c){g=c}if(g&&!(g instanceof Error)&&e((l||"React class")+": type specification of "+d+" `"+f+"` 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 t)){t[g.message]=!0;var p=s?s():"";e("Failed "+d+" type: "+g.message+(p??""))}}}}return i.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(t={})},vi=i,vi}var $i,Sd;function gf(){if(Sd)return $i;Sd=1;var e=bd(),n=mf(),t=hi(),r=Cd(),i=hf(),o=function(){};process.env.NODE_ENV!=="production"&&(o=function(d){var l="Warning: "+d;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function a(){return null}return $i=function(d,l){var s=typeof Symbol=="function"&&Symbol.iterator,f="@@iterator";function g(I){var R=I&&(s&&I[s]||I[f]);if(typeof R=="function")return R}var m="<<anonymous>>",p={array:E("array"),bigint:E("bigint"),bool:E("boolean"),func:E("function"),number:E("number"),object:E("object"),string:E("string"),symbol:E("symbol"),any:O(),arrayOf:b,element:x(),elementType:C(),instanceOf:A,node:F(),objectOf:H,oneOf:j,oneOfType:k,shape:X,exact:G};function c(I,R){return I===R?I!==0||1/I===1/R:I!==I&&R!==R}function h(I,R){this.message=I,this.data=R&&typeof R=="object"?R:{},this.stack=""}h.prototype=Error.prototype;function v(I){if(process.env.NODE_ENV!=="production")var R={},Y=0;function T(L,Q,q,ne,ce,he,Ee){if(ne=ne||m,he=he||q,Ee!==t){if(l){var S=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 S.name="Invariant Violation",S}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Z=ne+":"+q;!R[Z]&&Y<3&&(o("You are manually calling a React.PropTypes validation function for the `"+he+"` prop on `"+ne+"`. 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."),R[Z]=!0,Y++)}}return Q[q]==null?L?Q[q]===null?new h("The "+ce+" `"+he+"` is marked as required "+("in `"+ne+"`, but its value is `null`.")):new h("The "+ce+" `"+he+"` is marked as required in "+("`"+ne+"`, but its value is `undefined`.")):null:I(Q,q,ne,ce,he)}var U=T.bind(null,!1);return U.isRequired=T.bind(null,!0),U}function E(I){function R(Y,T,U,L,Q,q){var ne=Y[T],ce=de(ne);if(ce!==I){var he=ae(ne);return new h("Invalid "+L+" `"+Q+"` of type "+("`"+he+"` supplied to `"+U+"`, expected ")+("`"+I+"`."),{expectedType:I})}return null}return v(R)}function O(){return v(a)}function b(I){function R(Y,T,U,L,Q){if(typeof I!="function")return new h("Property `"+Q+"` of component `"+U+"` has invalid PropType notation inside arrayOf.");var q=Y[T];if(!Array.isArray(q)){var ne=de(q);return new h("Invalid "+L+" `"+Q+"` of type "+("`"+ne+"` supplied to `"+U+"`, expected an array."))}for(var ce=0;ce<q.length;ce++){var he=I(q,ce,U,L,Q+"["+ce+"]",t);if(he instanceof Error)return he}return null}return v(R)}function x(){function I(R,Y,T,U,L){var Q=R[Y];if(!d(Q)){var q=de(Q);return new h("Invalid "+U+" `"+L+"` of type "+("`"+q+"` supplied to `"+T+"`, expected a single ReactElement."))}return null}return v(I)}function C(){function I(R,Y,T,U,L){var Q=R[Y];if(!e.isValidElementType(Q)){var q=de(Q);return new h("Invalid "+U+" `"+L+"` of type "+("`"+q+"` supplied to `"+T+"`, expected a single ReactElement type."))}return null}return v(I)}function A(I){function R(Y,T,U,L,Q){if(!(Y[T]instanceof I)){var q=I.name||m,ne=z(Y[T]);return new h("Invalid "+L+" `"+Q+"` of type "+("`"+ne+"` supplied to `"+U+"`, expected ")+("instance of `"+q+"`."))}return null}return v(R)}function j(I){if(!Array.isArray(I))return process.env.NODE_ENV!=="production"&&(arguments.length>1?o("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])."):o("Invalid argument supplied to oneOf, expected an array.")),a;function R(Y,T,U,L,Q){for(var q=Y[T],ne=0;ne<I.length;ne++)if(c(q,I[ne]))return null;var ce=JSON.stringify(I,function(Ee,S){var Z=ae(S);return Z==="symbol"?String(S):S});return new h("Invalid "+L+" `"+Q+"` of value `"+String(q)+"` "+("supplied to `"+U+"`, expected one of "+ce+"."))}return v(R)}function H(I){function R(Y,T,U,L,Q){if(typeof I!="function")return new h("Property `"+Q+"` of component `"+U+"` has invalid PropType notation inside objectOf.");var q=Y[T],ne=de(q);if(ne!=="object")return new h("Invalid "+L+" `"+Q+"` of type "+("`"+ne+"` supplied to `"+U+"`, expected an object."));for(var ce in q)if(r(q,ce)){var he=I(q,ce,U,L,Q+"."+ce,t);if(he instanceof Error)return he}return null}return v(R)}function k(I){if(!Array.isArray(I))return process.env.NODE_ENV!=="production"&&o("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var R=0;R<I.length;R++){var Y=I[R];if(typeof Y!="function")return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ie(Y)+" at index "+R+"."),a}function T(U,L,Q,q,ne){for(var ce=[],he=0;he<I.length;he++){var Ee=I[he],S=Ee(U,L,Q,q,ne,t);if(S==null)return null;S.data&&r(S.data,"expectedType")&&ce.push(S.data.expectedType)}var Z=ce.length>0?", expected one of type ["+ce.join(", ")+"]":"";return new h("Invalid "+q+" `"+ne+"` supplied to "+("`"+Q+"`"+Z+"."))}return v(T)}function F(){function I(R,Y,T,U,L){return B(R[Y])?null:new h("Invalid "+U+" `"+L+"` supplied to "+("`"+T+"`, expected a ReactNode."))}return v(I)}function D(I,R,Y,T,U){return new h((I||"React class")+": "+R+" type `"+Y+"."+T+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+U+"`.")}function X(I){function R(Y,T,U,L,Q){var q=Y[T],ne=de(q);if(ne!=="object")return new h("Invalid "+L+" `"+Q+"` of type `"+ne+"` "+("supplied to `"+U+"`, expected `object`."));for(var ce in I){var he=I[ce];if(typeof he!="function")return D(U,L,Q,ce,ae(he));var Ee=he(q,ce,U,L,Q+"."+ce,t);if(Ee)return Ee}return null}return v(R)}function G(I){function R(Y,T,U,L,Q){var q=Y[T],ne=de(q);if(ne!=="object")return new h("Invalid "+L+" `"+Q+"` of type `"+ne+"` "+("supplied to `"+U+"`, expected `object`."));var ce=n({},Y[T],I);for(var he in ce){var Ee=I[he];if(r(I,he)&&typeof Ee!="function")return D(U,L,Q,he,ae(Ee));if(!Ee)return new h("Invalid "+L+" `"+Q+"` key `"+he+"` supplied to `"+U+"`.\nBad object: "+JSON.stringify(Y[T],null," ")+`
|
|
59
|
+
Valid keys: `+JSON.stringify(Object.keys(I),null," "));var S=Ee(q,he,U,L,Q+"."+he,t);if(S)return S}return null}return v(R)}function B(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(B);if(I===null||d(I))return!0;var R=g(I);if(R){var Y=R.call(I),T;if(R!==I.entries){for(;!(T=Y.next()).done;)if(!B(T.value))return!1}else for(;!(T=Y.next()).done;){var U=T.value;if(U&&!B(U[1]))return!1}}else return!1;return!0;default:return!1}}function se(I,R){return I==="symbol"?!0:R?R["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&R instanceof Symbol:!1}function de(I){var R=typeof I;return Array.isArray(I)?"array":I instanceof RegExp?"object":se(R,I)?"symbol":R}function ae(I){if(typeof I>"u"||I===null)return""+I;var R=de(I);if(R==="object"){if(I instanceof Date)return"date";if(I instanceof RegExp)return"regexp"}return R}function ie(I){var R=ae(I);switch(R){case"array":case"object":return"an "+R;case"boolean":case"date":case"regexp":return"a "+R;default:return R}}function z(I){return!I.constructor||!I.constructor.name?m:I.constructor.name}return p.checkPropTypes=i,p.resetWarningCache=i.resetWarningCache,p.PropTypes=p,p},$i}var bi,Od;function vf(){if(Od)return bi;Od=1;var e=hi();function n(){}function t(){}return t.resetWarningCache=n,bi=function(){function r(a,d,l,s,f,g){if(g!==e){var m=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 m.name="Invariant Violation",m}}r.isRequired=r;function i(){return r}var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:t,resetWarningCache:n};return o.PropTypes=o,o},bi}var Pd;function $f(){if(Pd)return Zn.exports;if(Pd=1,process.env.NODE_ENV!=="production"){var e=bd(),n=!0;Zn.exports=gf()(e.isElement,n)}else Zn.exports=vf()();return Zn.exports}var bf=$f();const V=Qi(bf);var yi={exports:{}};/*!
|
|
60
60
|
Copyright (c) 2018 Jed Watson.
|
|
61
61
|
Licensed under the MIT License (MIT), see
|
|
62
62
|
http://jedwatson.github.io/classnames
|
|
63
63
|
*/var Td;function yf(){return Td||(Td=1,function(e){(function(){var n={}.hasOwnProperty;function t(){for(var o="",a=0;a<arguments.length;a++){var d=arguments[a];d&&(o=i(o,r(d)))}return o}function r(o){if(typeof o=="string"||typeof o=="number")return o;if(typeof o!="object")return"";if(Array.isArray(o))return t.apply(null,o);if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]"))return o.toString();var a="";for(var d in o)n.call(o,d)&&o[d]&&(a=i(a,d));return a}function i(o,a){return a?o?o+" "+a:o+a:o}e.exports?(t.default=t,e.exports=t):window.classNames=t})()}(yi)),yi.exports}var wf=yf();const Qn=Qi(wf);function xf(e,n,t){switch(t){case"Backspace":n>0&&(e=e.slice(0,n-1)+e.slice(n),n--);break;case"Delete":e=e.slice(0,n)+e.slice(n+1);break}return{value:e,caret:n}}function Cf(e,n,t){for(var r={},i="",o=0,a=0;a<e.length;){var d=t(e[a],i,r);d!==void 0&&(i+=d,n!==void 0&&(n===a?o=i.length-1:n>a&&(o=i.length))),a++}n===void 0&&(o=i.length);var l={value:i,caret:o};return l}function Ef(e,n){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=Sf(e))||n){t&&(e=t);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.
|
|
64
64
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Sf(e,n){if(e){if(typeof e=="string")return Id(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Id(e,n)}}function Id(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function wi(e,n){for(var t=0,r=Ef(n.split("")),i;!(i=r()).done;){var o=i.value;o===e&&t++}return t}function Of(e,n){for(var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"x",r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:" ",i=e.length,o=wi("(",e),a=wi(")",e),d=o-a;d>0&&i<n.length;)e+=n[i].replace(t,r),n[i]===")"&&d--,i++;return e}function Pf(e,n){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=Tf(e))||n){t&&(e=t);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
65
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Tf(e,n){if(e){if(typeof e=="string")return Nd(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Nd(e,n)}}function Nd(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function If(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"x",t=arguments.length>2?arguments[2]:void 0;if(!e)return function(i){return{text:i}};var r=wi(n,e);return function(i){if(!i)return{text:"",template:e};for(var o=0,a="",d=Pf(e.split("")),l;!(l=d()).done;){var s=l.value;if(s!==n){a+=s;continue}if(a+=i[o],o++,o===i.length&&i.length<r)break}return t&&(a=Of(a,e)),{text:a,template:e}}}function Nf(e,n,t){typeof t=="string"&&(t=If(t));var r=t(e)||{},i=r.text,o=r.template;if(i===void 0&&(i=e),o)if(n===void 0)n=i.length;else{for(var a=0,d=!1,l=-1;a<i.length&&a<o.length;){if(i[a]!==o[a]){if(n===0){d=!0,n=a;break}l=a,n--}a++}d||(n=l+1)}return{text:i,caret:n}}function _f(e){return e.hasAttribute("readonly")}function Af(e){if(e.selectionStart!==e.selectionEnd)return{start:e.selectionStart,end:e.selectionEnd}}var _d={Backspace:8,Delete:46};function kf(e){switch(e.keyCode){case _d.Backspace:return"Backspace";case _d.Delete:return"Delete"}}function Ff(e){return e.selectionStart}function Ad(e,n){n!==void 0&&(Mf()?setTimeout(function(){return e.setSelectionRange(n,n)},0):e.setSelectionRange(n,n))}function Mf(){if(typeof navigator<"u")return Lf.test(navigator.userAgent)}var Lf=/Android/i;function jf(e,n,t,r,i){xi(n,t,r,void 0,i)}function Df(e,n,t,r,i){if(!_f(n)){var o=kf(e);switch(o){case"Delete":case"Backspace":e.preventDefault();var a=Af(n);return a?(Rf(n,a),xi(n,t,r,void 0,i)):xi(n,t,r,o,i)}}}function Rf(e,n){var t=e.value;t=t.slice(0,n.start)+t.slice(n.end),e.value=t,Ad(e,n.start)}function xi(e,n,t,r,i){var o=Cf(e.value,Ff(e),n),a=o.value,d=o.caret;if(r){var l=xf(a,d,r);a=l.value,d=l.caret}var s=Nf(a,d,t),f=s.text;d=s.caret,e.value=f,Ad(e,d),i&&i(a)}var Bf=["ref","parse","format","value","defaultValue","controlled","onChange","onKeyDown"];function kd(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,r)}return t}function Gt(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?kd(Object(t),!0).forEach(function(r){Wf(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):kd(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function Wf(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function Vf(e,n){if(e==null)return{};var t=Uf(e,n),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(n.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(t[r]=e[r])}return t}function Uf(e,n){if(e==null)return{};var t={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(n.indexOf(i)>=0)&&(t[i]=e[i]);return t}function Hf(e){var n=e.ref,t=e.parse,r=e.format,i=e.value,o=e.defaultValue,a=e.controlled,d=a===void 0?!0:a,l=e.onChange,s=e.onKeyDown,f=Vf(e,Bf),v=u.useRef(),m=u.useCallback(function(g){v.current=g,n&&(typeof n=="function"?n(g):n.current=g)},[n]),p=u.useCallback(function(g){return jf(g,v.current,t,r,l)},[v,t,r,l]),c=u.useCallback(function(g){if(s&&s(g),!g.defaultPrevented)return Df(g,v.current,t,r,l)},[v,t,r,l,s]),h=Gt(Gt({},f),{},{ref:m,onChange:p,onKeyDown:c});return d?Gt(Gt({},h),{},{value:r(Fd(i)?"":i).text}):Gt(Gt({},h),{},{defaultValue:r(Fd(o)?"":o).text})}function Fd(e){return e==null}var Gf=["inputComponent","parse","format","value","defaultValue","onChange","controlled","onKeyDown","type"];function Md(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,r)}return t}function zf(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?Md(Object(t),!0).forEach(function(r){Kf(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Md(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function Kf(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function qf(e,n){if(e==null)return{};var t=Yf(e,n),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(n.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(t[r]=e[r])}return t}function Yf(e,n){if(e==null)return{};var t={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(n.indexOf(i)>=0)&&(t[i]=e[i]);return t}function er(e,n){var t=e.inputComponent,r=t===void 0?"input":t,i=e.parse,o=e.format,a=e.value,d=e.defaultValue,l=e.onChange,s=e.controlled,f=e.onKeyDown,v=e.type,m=v===void 0?"text":v,p=qf(e,Gf),c=Hf(zf({ref:n,parse:i,format:o,value:a,defaultValue:d,onChange:l,controlled:s,onKeyDown:f,type:m},p));return u.createElement(r,c)}er=u.forwardRef(er),er.propTypes={parse:V.func.isRequired,format:V.func.isRequired,inputComponent:V.elementType,type:V.string,value:V.string,defaultValue:V.string,onChange:V.func,controlled:V.bool,onKeyDown:V.func,onCut:V.func,onPaste:V.func};function Ld(e,n){e=e.split("-"),n=n.split("-");for(var t=e[0].split("."),r=n[0].split("."),i=0;i<3;i++){var o=Number(t[i]),a=Number(r[i]);if(o>a)return 1;if(a>o)return-1;if(!isNaN(o)&&isNaN(a))return 1;if(isNaN(o)&&!isNaN(a))return-1}return e[1]&&n[1]?e[1]>n[1]?1:e[1]<n[1]?-1:0:!e[1]&&n[1]?1:e[1]&&!n[1]?-1:0}var Xf={}.constructor;function Ft(e){return e!=null&&e.constructor===Xf}function Ci(e){"@babel/helpers - typeof";return Ci=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Ci(e)}function tr(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function Zf(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function nr(e,n,t){return n&&Zf(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var Jf="1.2.0",Qf="1.7.35",jd=" ext. ",e2=/^\d+$/,je=function(){function e(n){tr(this,e),Bd(n),this.metadata=n,Vd.call(this,n)}return nr(e,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(t){return t!=="001"})}},{key:"getCountryMetadata",value:function(t){return this.metadata.countries[t]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(t){return this.getCountryMetadata(t)!==void 0}},{key:"hasCallingCode",value:function(t){if(this.getCountryCodesForCallingCode(t))return!0;if(this.nonGeographic()){if(this.nonGeographic()[t])return!0}else{var r=this.countryCallingCodes()[t];if(r&&r.length===1&&r[0]==="001")return!0}}},{key:"isNonGeographicCallingCode",value:function(t){return this.nonGeographic()?!!this.nonGeographic()[t]:!this.getCountryCodesForCallingCode(t)}},{key:"country",value:function(t){return this.selectNumberingPlan(t)}},{key:"selectNumberingPlan",value:function(t,r){if(t&&e2.test(t)&&(r=t,t=null),t&&t!=="001"){if(!this.hasCountry(t))throw new Error("Unknown country: ".concat(t));this.numberingPlan=new Dd(this.getCountryMetadata(t),this)}else if(r){if(!this.hasCallingCode(r))throw new Error("Unknown calling code: ".concat(r));this.numberingPlan=new Dd(this.getNumberingPlanMetadata(r),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(t){var r=this.countryCallingCodes()[t];if(r)return r.length===1&&r[0].length===3?void 0:r}},{key:"getCountryCodeForCallingCode",value:function(t){var r=this.getCountryCodesForCallingCode(t);if(r)return r[0]}},{key:"getNumberingPlanMetadata",value:function(t){var r=this.getCountryCodeForCallingCode(t);if(r)return this.getCountryMetadata(r);if(this.nonGeographic()){var i=this.nonGeographic()[t];if(i)return i}else{var o=this.countryCallingCodes()[t];if(o&&o.length===1&&o[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(t){return this.numberingPlan.type(t)}},{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(t){return this.selectNumberingPlan(t)}},{key:"hasSelectedNumberingPlan",value:function(){return this.numberingPlan!==void 0}}]),e}(),Dd=function(){function e(n,t){tr(this,e),this.globalMetadataObject=t,this.metadata=n,Vd.call(this,t.metadata)}return nr(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(t){return t[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var t=this,r=this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[];return r.map(function(i){return new t2(i,t)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(t){return t[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(t){if(this.hasTypes()&&Rd(this.types(),t))return new r2(Rd(this.types(),t),this)}},{key:"ext",value:function(){return this.v1||this.v2?jd:this.metadata[13]||jd}}]),e}(),t2=function(){function e(n,t){tr(this,e),this._format=n,this.metadata=t}return nr(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()&&!n2.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}]),e}(),n2=/^\(?\$1\)?$/,r2=function(){function e(n,t){tr(this,e),this.type=n,this.metadata=t}return nr(e,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}]),e}();function Rd(e,n){switch(n){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 Bd(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!Ft(e)||!Ft(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(Ft(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+i2(e)+": "+e,"."))}var i2=function(n){return Ci(n)};function ht(e,n){if(n=new je(n),n.hasCountry(e))return n.country(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function Wd(e,n){return n.countries.hasOwnProperty(e)}function Vd(e){var n=e.version;typeof n=="number"?(this.v1=n===1,this.v2=n===2,this.v3=n===3,this.v4=n===4):n?Ld(n,Jf)===-1?this.v2=!0:Ld(n,Qf)===-1?this.v3=!0:this.v4=!0:this.v1=!0}function rr(e,n){return o2(e,void 0,n)}function o2(e,n,t){var r=t.type(n),i=r&&r.possibleLengths()||t.possibleLengths();if(!i)return"IS_POSSIBLE";var o=e.length,a=i[0];return a===o?"IS_POSSIBLE":a>o?"TOO_SHORT":i[i.length-1]<o?"TOO_LONG":i.indexOf(o,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function a2(e,n,t){if(n===void 0&&(n={}),t=new je(t),n.v2){if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");t.selectNumberingPlan(e.countryCallingCode)}else{if(!e.phone)return!1;if(e.country){if(!t.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));t.country(e.country)}else{if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");t.selectNumberingPlan(e.countryCallingCode)}}if(t.possibleLengths())return Ud(e.phone||e.nationalNumber,t);if(e.countryCallingCode&&t.isNonGeographicCallingCode(e.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}function Ud(e,n){switch(rr(e,n)){case"IS_POSSIBLE":return!0;default:return!1}}function vt(e,n){return e=e||"",new RegExp("^(?:"+n+")$").test(e)}function d2(e,n){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=l2(e))||n){t&&(e=t);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
66
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function l2(e,n){if(e){if(typeof e=="string")return Hd(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Hd(e,n)}}function Hd(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}var s2=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function Ei(e,n,t){if(n=n||{},!(!e.country&&!e.countryCallingCode)){t=new je(t),t.selectNumberingPlan(e.country,e.countryCallingCode);var r=n.v2?e.nationalNumber:e.phone;if(
|
|
67
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function L2(e,n){if(e){if(typeof e=="string")return Zd(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Zd(e,n)}}function Zd(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function Jd(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,r)}return t}function Qd(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?Jd(Object(t),!0).forEach(function(r){j2(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Jd(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function j2(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var el={formatExtension:function(n,t,r){return"".concat(n).concat(r.ext()).concat(t)}};function D2(e,n,t,r){if(t?t=Qd(Qd({},el),t):t=el,r=new je(r),e.country&&e.country!=="001"){if(!r.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));r.country(e.country)}else if(e.countryCallingCode)r.selectNumberingPlan(e.countryCallingCode);else return e.phone||"";var i=r.countryCallingCode(),o=t.v2?e.nationalNumber:e.phone,a;switch(n){case"NATIONAL":return o?(a=or(o,e.carrierCode,"NATIONAL",r,t),Ni(a,e.ext,r,t.formatExtension)):"";case"INTERNATIONAL":return o?(a=or(o,null,"INTERNATIONAL",r,t),a="+".concat(i," ").concat(a),Ni(a,e.ext,r,t.formatExtension)):"+".concat(i);case"E.164":return"+".concat(i).concat(o);case"RFC3966":return F2({number:"+".concat(i).concat(o),ext:e.ext});case"IDD":if(!t.fromCountry)return;var d=B2(o,e.carrierCode,i,t.fromCountry,r);return Ni(d,e.ext,r,t.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(n,'"'))}}function or(e,n,t,r,i){var o=R2(r.formats(),e);return o?Yd(e,o,{useInternationalFormat:t==="INTERNATIONAL",withNationalPrefix:!(o.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&i&&i.nationalPrefix===!1),carrierCode:n,metadata:r}):e}function R2(e,n){for(var t=M2(e),r;!(r=t()).done;){var i=r.value;if(i.leadingDigitsPatterns().length>0){var o=i.leadingDigitsPatterns()[i.leadingDigitsPatterns().length-1];if(n.search(o)!==0)continue}if(
|
|
65
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Tf(e,n){if(e){if(typeof e=="string")return Nd(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Nd(e,n)}}function Nd(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function If(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"x",t=arguments.length>2?arguments[2]:void 0;if(!e)return function(i){return{text:i}};var r=wi(n,e);return function(i){if(!i)return{text:"",template:e};for(var o=0,a="",d=Pf(e.split("")),l;!(l=d()).done;){var s=l.value;if(s!==n){a+=s;continue}if(a+=i[o],o++,o===i.length&&i.length<r)break}return t&&(a=Of(a,e)),{text:a,template:e}}}function Nf(e,n,t){typeof t=="string"&&(t=If(t));var r=t(e)||{},i=r.text,o=r.template;if(i===void 0&&(i=e),o)if(n===void 0)n=i.length;else{for(var a=0,d=!1,l=-1;a<i.length&&a<o.length;){if(i[a]!==o[a]){if(n===0){d=!0,n=a;break}l=a,n--}a++}d||(n=l+1)}return{text:i,caret:n}}function _f(e){return e.hasAttribute("readonly")}function Af(e){if(e.selectionStart!==e.selectionEnd)return{start:e.selectionStart,end:e.selectionEnd}}var _d={Backspace:8,Delete:46};function kf(e){switch(e.keyCode){case _d.Backspace:return"Backspace";case _d.Delete:return"Delete"}}function Ff(e){return e.selectionStart}function Ad(e,n){n!==void 0&&(Mf()?setTimeout(function(){return e.setSelectionRange(n,n)},0):e.setSelectionRange(n,n))}function Mf(){if(typeof navigator<"u")return Lf.test(navigator.userAgent)}var Lf=/Android/i;function jf(e,n,t,r,i){xi(n,t,r,void 0,i)}function Df(e,n,t,r,i){if(!_f(n)){var o=kf(e);switch(o){case"Delete":case"Backspace":e.preventDefault();var a=Af(n);return a?(Rf(n,a),xi(n,t,r,void 0,i)):xi(n,t,r,o,i)}}}function Rf(e,n){var t=e.value;t=t.slice(0,n.start)+t.slice(n.end),e.value=t,Ad(e,n.start)}function xi(e,n,t,r,i){var o=Cf(e.value,Ff(e),n),a=o.value,d=o.caret;if(r){var l=xf(a,d,r);a=l.value,d=l.caret}var s=Nf(a,d,t),f=s.text;d=s.caret,e.value=f,Ad(e,d),i&&i(a)}var Bf=["ref","parse","format","value","defaultValue","controlled","onChange","onKeyDown"];function kd(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,r)}return t}function Gt(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?kd(Object(t),!0).forEach(function(r){Wf(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):kd(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function Wf(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function Vf(e,n){if(e==null)return{};var t=Uf(e,n),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(n.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(t[r]=e[r])}return t}function Uf(e,n){if(e==null)return{};var t={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(n.indexOf(i)>=0)&&(t[i]=e[i]);return t}function Hf(e){var n=e.ref,t=e.parse,r=e.format,i=e.value,o=e.defaultValue,a=e.controlled,d=a===void 0?!0:a,l=e.onChange,s=e.onKeyDown,f=Vf(e,Bf),g=u.useRef(),m=u.useCallback(function(v){g.current=v,n&&(typeof n=="function"?n(v):n.current=v)},[n]),p=u.useCallback(function(v){return jf(v,g.current,t,r,l)},[g,t,r,l]),c=u.useCallback(function(v){if(s&&s(v),!v.defaultPrevented)return Df(v,g.current,t,r,l)},[g,t,r,l,s]),h=Gt(Gt({},f),{},{ref:m,onChange:p,onKeyDown:c});return d?Gt(Gt({},h),{},{value:r(Fd(i)?"":i).text}):Gt(Gt({},h),{},{defaultValue:r(Fd(o)?"":o).text})}function Fd(e){return e==null}var Gf=["inputComponent","parse","format","value","defaultValue","onChange","controlled","onKeyDown","type"];function Md(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,r)}return t}function zf(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?Md(Object(t),!0).forEach(function(r){Kf(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Md(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function Kf(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function qf(e,n){if(e==null)return{};var t=Yf(e,n),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(n.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(t[r]=e[r])}return t}function Yf(e,n){if(e==null)return{};var t={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(n.indexOf(i)>=0)&&(t[i]=e[i]);return t}function er(e,n){var t=e.inputComponent,r=t===void 0?"input":t,i=e.parse,o=e.format,a=e.value,d=e.defaultValue,l=e.onChange,s=e.controlled,f=e.onKeyDown,g=e.type,m=g===void 0?"text":g,p=qf(e,Gf),c=Hf(zf({ref:n,parse:i,format:o,value:a,defaultValue:d,onChange:l,controlled:s,onKeyDown:f,type:m},p));return u.createElement(r,c)}er=u.forwardRef(er),er.propTypes={parse:V.func.isRequired,format:V.func.isRequired,inputComponent:V.elementType,type:V.string,value:V.string,defaultValue:V.string,onChange:V.func,controlled:V.bool,onKeyDown:V.func,onCut:V.func,onPaste:V.func};function Ld(e,n){e=e.split("-"),n=n.split("-");for(var t=e[0].split("."),r=n[0].split("."),i=0;i<3;i++){var o=Number(t[i]),a=Number(r[i]);if(o>a)return 1;if(a>o)return-1;if(!isNaN(o)&&isNaN(a))return 1;if(isNaN(o)&&!isNaN(a))return-1}return e[1]&&n[1]?e[1]>n[1]?1:e[1]<n[1]?-1:0:!e[1]&&n[1]?1:e[1]&&!n[1]?-1:0}var Xf={}.constructor;function Ft(e){return e!=null&&e.constructor===Xf}function Ci(e){"@babel/helpers - typeof";return Ci=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Ci(e)}function tr(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function Zf(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function nr(e,n,t){return n&&Zf(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var Jf="1.2.0",Qf="1.7.35",jd=" ext. ",e2=/^\d+$/,je=function(){function e(n){tr(this,e),Bd(n),this.metadata=n,Vd.call(this,n)}return nr(e,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(t){return t!=="001"})}},{key:"getCountryMetadata",value:function(t){return this.metadata.countries[t]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(t){return this.getCountryMetadata(t)!==void 0}},{key:"hasCallingCode",value:function(t){if(this.getCountryCodesForCallingCode(t))return!0;if(this.nonGeographic()){if(this.nonGeographic()[t])return!0}else{var r=this.countryCallingCodes()[t];if(r&&r.length===1&&r[0]==="001")return!0}}},{key:"isNonGeographicCallingCode",value:function(t){return this.nonGeographic()?!!this.nonGeographic()[t]:!this.getCountryCodesForCallingCode(t)}},{key:"country",value:function(t){return this.selectNumberingPlan(t)}},{key:"selectNumberingPlan",value:function(t,r){if(t&&e2.test(t)&&(r=t,t=null),t&&t!=="001"){if(!this.hasCountry(t))throw new Error("Unknown country: ".concat(t));this.numberingPlan=new Dd(this.getCountryMetadata(t),this)}else if(r){if(!this.hasCallingCode(r))throw new Error("Unknown calling code: ".concat(r));this.numberingPlan=new Dd(this.getNumberingPlanMetadata(r),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(t){var r=this.countryCallingCodes()[t];if(r)return r.length===1&&r[0].length===3?void 0:r}},{key:"getCountryCodeForCallingCode",value:function(t){var r=this.getCountryCodesForCallingCode(t);if(r)return r[0]}},{key:"getNumberingPlanMetadata",value:function(t){var r=this.getCountryCodeForCallingCode(t);if(r)return this.getCountryMetadata(r);if(this.nonGeographic()){var i=this.nonGeographic()[t];if(i)return i}else{var o=this.countryCallingCodes()[t];if(o&&o.length===1&&o[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(t){return this.numberingPlan.type(t)}},{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(t){return this.selectNumberingPlan(t)}},{key:"hasSelectedNumberingPlan",value:function(){return this.numberingPlan!==void 0}}]),e}(),Dd=function(){function e(n,t){tr(this,e),this.globalMetadataObject=t,this.metadata=n,Vd.call(this,t.metadata)}return nr(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(t){return t[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var t=this,r=this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[];return r.map(function(i){return new t2(i,t)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(t){return t[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(t){if(this.hasTypes()&&Rd(this.types(),t))return new r2(Rd(this.types(),t),this)}},{key:"ext",value:function(){return this.v1||this.v2?jd:this.metadata[13]||jd}}]),e}(),t2=function(){function e(n,t){tr(this,e),this._format=n,this.metadata=t}return nr(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()&&!n2.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}]),e}(),n2=/^\(?\$1\)?$/,r2=function(){function e(n,t){tr(this,e),this.type=n,this.metadata=t}return nr(e,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}]),e}();function Rd(e,n){switch(n){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 Bd(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!Ft(e)||!Ft(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(Ft(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+i2(e)+": "+e,"."))}var i2=function(n){return Ci(n)};function ht(e,n){if(n=new je(n),n.hasCountry(e))return n.country(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function Wd(e,n){return n.countries.hasOwnProperty(e)}function Vd(e){var n=e.version;typeof n=="number"?(this.v1=n===1,this.v2=n===2,this.v3=n===3,this.v4=n===4):n?Ld(n,Jf)===-1?this.v2=!0:Ld(n,Qf)===-1?this.v3=!0:this.v4=!0:this.v1=!0}function rr(e,n){return o2(e,void 0,n)}function o2(e,n,t){var r=t.type(n),i=r&&r.possibleLengths()||t.possibleLengths();if(!i)return"IS_POSSIBLE";var o=e.length,a=i[0];return a===o?"IS_POSSIBLE":a>o?"TOO_SHORT":i[i.length-1]<o?"TOO_LONG":i.indexOf(o,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function a2(e,n,t){if(n===void 0&&(n={}),t=new je(t),n.v2){if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");t.selectNumberingPlan(e.countryCallingCode)}else{if(!e.phone)return!1;if(e.country){if(!t.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));t.country(e.country)}else{if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");t.selectNumberingPlan(e.countryCallingCode)}}if(t.possibleLengths())return Ud(e.phone||e.nationalNumber,t);if(e.countryCallingCode&&t.isNonGeographicCallingCode(e.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}function Ud(e,n){switch(rr(e,n)){case"IS_POSSIBLE":return!0;default:return!1}}function gt(e,n){return e=e||"",new RegExp("^(?:"+n+")$").test(e)}function d2(e,n){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=l2(e))||n){t&&(e=t);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
66
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function l2(e,n){if(e){if(typeof e=="string")return Hd(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Hd(e,n)}}function Hd(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}var s2=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function Ei(e,n,t){if(n=n||{},!(!e.country&&!e.countryCallingCode)){t=new je(t),t.selectNumberingPlan(e.country,e.countryCallingCode);var r=n.v2?e.nationalNumber:e.phone;if(gt(r,t.nationalNumberPattern())){if(Si(r,"FIXED_LINE",t))return t.type("MOBILE")&&t.type("MOBILE").pattern()===""||!t.type("MOBILE")||Si(r,"MOBILE",t)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE";for(var i=d2(s2),o;!(o=i()).done;){var a=o.value;if(Si(r,a,t))return a}}}}function Si(e,n,t){return n=t.type(n),!n||!n.pattern()||n.possibleLengths()&&n.possibleLengths().indexOf(e.length)<0?!1:gt(e,n.pattern())}function u2(e,n,t){if(n=n||{},t=new je(t),t.selectNumberingPlan(e.country,e.countryCallingCode),t.hasTypes())return Ei(e,n,t.metadata)!==void 0;var r=n.v2?e.nationalNumber:e.phone;return gt(r,t.nationalNumberPattern())}function c2(e,n,t){var r=new je(t),i=r.getCountryCodesForCallingCode(e);return i?i.filter(function(o){return f2(n,o,t)}):[]}function f2(e,n,t){var r=new je(t);return r.selectNumberingPlan(n),r.numberingPlan.possibleLengths().indexOf(e.length)>=0}var Oi=2,p2=17,m2=3,qe="0-90-9٠-٩۰-۹",h2="-‐-―−ー-",g2="//",v2="..",$2=" ",b2="()()[]\\[\\]",y2="~⁓∼~",rt="".concat(h2).concat(g2).concat(v2).concat($2).concat(b2).concat(y2),ir="++",w2=new RegExp("(["+qe+"])");function Gd(e,n,t,r){if(n){var i=new je(r);i.selectNumberingPlan(n,t);var o=new RegExp(i.IDDPrefix());if(e.search(o)===0){e=e.slice(e.match(o)[0].length);var a=e.match(w2);if(!(a&&a[1]!=null&&a[1].length>0&&a[1]==="0"))return e}}}function Pi(e,n){if(e&&n.numberingPlan.nationalPrefixForParsing()){var t=new RegExp("^(?:"+n.numberingPlan.nationalPrefixForParsing()+")"),r=t.exec(e);if(r){var i,o,a=r.length-1,d=a>0&&r[a];if(n.nationalPrefixTransformRule()&&d)i=e.replace(t,n.nationalPrefixTransformRule()),a>1&&(o=r[1]);else{var l=r[0];i=e.slice(l.length),d&&(o=r[1])}var s;if(d){var f=e.indexOf(r[1]),g=e.slice(0,f);g===n.numberingPlan.nationalPrefix()&&(s=n.numberingPlan.nationalPrefix())}else s=r[0];return{nationalNumber:i,nationalPrefix:s,carrierCode:o}}}return{nationalNumber:e}}function Ti(e,n){var t=Pi(e,n),r=t.carrierCode,i=t.nationalNumber;if(i!==e){if(!x2(e,i,n))return{nationalNumber:e};if(n.possibleLengths()&&!C2(i,n))return{nationalNumber:e}}return{nationalNumber:i,carrierCode:r}}function x2(e,n,t){return!(gt(e,t.nationalNumberPattern())&&!gt(n,t.nationalNumberPattern()))}function C2(e,n){switch(rr(e,n)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}function zd(e,n,t,r){var i=n?ht(n,r):t;if(e.indexOf(i)===0){r=new je(r),r.selectNumberingPlan(n,t);var o=e.slice(i.length),a=Ti(o,r),d=a.nationalNumber,l=Ti(e,r),s=l.nationalNumber;if(!gt(s,r.nationalNumberPattern())&>(d,r.nationalNumberPattern())||rr(s,r)==="TOO_LONG")return{countryCallingCode:i,number:o}}return{number:e}}function Ii(e,n,t,r){if(!e)return{};var i;if(e[0]!=="+"){var o=Gd(e,n,t,r);if(o&&o!==e)i=!0,e="+"+o;else{if(n||t){var a=zd(e,n,t,r),d=a.countryCallingCode,l=a.number;if(d)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:d,number:l}}return{number:e}}}if(e[1]==="0")return{};r=new je(r);for(var s=2;s-1<=m2&&s<=e.length;){var f=e.slice(1,s);if(r.hasCallingCode(f))return r.selectNumberingPlan(f),{countryCallingCodeSource:i?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:f,number:e.slice(s)};s++}return{}}function Kd(e){return e.replace(new RegExp("[".concat(rt,"]+"),"g")," ").trim()}var qd=/(\$\d)/;function Yd(e,n,t){var r=t.useInternationalFormat,i=t.withNationalPrefix;t.carrierCode,t.metadata;var o=e.replace(new RegExp(n.pattern()),r?n.internationalFormat():i&&n.nationalPrefixFormattingRule()?n.format().replace(qd,n.nationalPrefixFormattingRule()):n.format());return r?Kd(o):o}var E2=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function S2(e,n,t){var r=new je(t);if(r.selectNumberingPlan(e,n),r.defaultIDDPrefix())return r.defaultIDDPrefix();if(E2.test(r.IDDPrefix()))return r.IDDPrefix()}var O2=";ext=",zt=function(n){return"([".concat(qe,"]{1,").concat(n,"})")};function Xd(e){var n="20",t="15",r="9",i="6",o="[ \\t,]*",a="[:\\..]?[ \\t,-]*",d="#?",l="(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)",s="(?:[xx##~~]|int|int)",f="[- ]+",g="[ \\t]*",m="(?:,{2}|;)",p=O2+zt(n),c=o+l+a+zt(n)+d,h=o+s+a+zt(r)+d,v=f+zt(i)+"#",E=g+m+a+zt(t)+d,O=g+"(?:,)+"+a+zt(r)+d;return p+"|"+c+"|"+h+"|"+v+"|"+E+"|"+O}var P2="["+qe+"]{"+Oi+"}",T2="["+ir+"]{0,1}(?:["+rt+"]*["+qe+"]){3,}["+rt+qe+"]*",I2=new RegExp("^["+ir+"]{0,1}(?:["+rt+"]*["+qe+"]){1,2}$","i"),N2=T2+"(?:"+Xd()+")?",_2=new RegExp("^"+P2+"$|^"+N2+"$","i");function A2(e){return e.length>=Oi&&_2.test(e)}function k2(e){return I2.test(e)}function F2(e){var n=e.number,t=e.ext;if(!n)return"";if(n[0]!=="+")throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(n).concat(t?";ext="+t:"")}function M2(e,n){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=L2(e))||n){t&&(e=t);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.
|
|
67
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function L2(e,n){if(e){if(typeof e=="string")return Zd(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Zd(e,n)}}function Zd(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function Jd(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,r)}return t}function Qd(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?Jd(Object(t),!0).forEach(function(r){j2(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Jd(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function j2(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var el={formatExtension:function(n,t,r){return"".concat(n).concat(r.ext()).concat(t)}};function D2(e,n,t,r){if(t?t=Qd(Qd({},el),t):t=el,r=new je(r),e.country&&e.country!=="001"){if(!r.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));r.country(e.country)}else if(e.countryCallingCode)r.selectNumberingPlan(e.countryCallingCode);else return e.phone||"";var i=r.countryCallingCode(),o=t.v2?e.nationalNumber:e.phone,a;switch(n){case"NATIONAL":return o?(a=or(o,e.carrierCode,"NATIONAL",r,t),Ni(a,e.ext,r,t.formatExtension)):"";case"INTERNATIONAL":return o?(a=or(o,null,"INTERNATIONAL",r,t),a="+".concat(i," ").concat(a),Ni(a,e.ext,r,t.formatExtension)):"+".concat(i);case"E.164":return"+".concat(i).concat(o);case"RFC3966":return F2({number:"+".concat(i).concat(o),ext:e.ext});case"IDD":if(!t.fromCountry)return;var d=B2(o,e.carrierCode,i,t.fromCountry,r);return Ni(d,e.ext,r,t.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(n,'"'))}}function or(e,n,t,r,i){var o=R2(r.formats(),e);return o?Yd(e,o,{useInternationalFormat:t==="INTERNATIONAL",withNationalPrefix:!(o.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&i&&i.nationalPrefix===!1),carrierCode:n,metadata:r}):e}function R2(e,n){for(var t=M2(e),r;!(r=t()).done;){var i=r.value;if(i.leadingDigitsPatterns().length>0){var o=i.leadingDigitsPatterns()[i.leadingDigitsPatterns().length-1];if(n.search(o)!==0)continue}if(gt(n,i.pattern()))return i}}function Ni(e,n,t,r){return n?r(e,n,t):e}function B2(e,n,t,r,i){var o=ht(r,i.metadata);if(o===t){var a=or(e,n,"NATIONAL",i);return t==="1"?t+" "+a:a}var d=S2(r,void 0,i.metadata);if(d)return"".concat(d," ").concat(t," ").concat(or(e,null,"INTERNATIONAL",i))}function tl(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,r)}return t}function nl(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?tl(Object(t),!0).forEach(function(r){W2(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):tl(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function W2(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function V2(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function U2(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function H2(e,n,t){return n&&U2(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var rl=function(){function e(n,t,r){if(V2(this,e),!n)throw new TypeError("First argument is required");if(typeof n!="string")throw new TypeError("First argument must be a string");if(typeof n=="string"){if(n[0]==="+"&&!t)throw new TypeError("`metadata` argument not passed");if(Ft(t)&&Ft(t.countries)){r=t;var i=n;if(!K2.test(i))throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');var o=Ii(i,void 0,void 0,r),a=o.countryCallingCode,d=o.number;if(t=d,n=a,!t)throw new Error("Invalid `number` argument passed: too short")}}if(!t)throw new TypeError("`nationalNumber` argument is required");if(typeof t!="string")throw new TypeError("`nationalNumber` argument must be a string");Bd(r);var l=z2(n,r),s=l.country,f=l.countryCallingCode;this.country=s,this.countryCallingCode=f,this.nationalNumber=t,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r}}return H2(e,[{key:"setExt",value:function(t){this.ext=t}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:c2(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return a2(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return u2(this,{v2:!0},this.getMetadata())}},{key:"isNonGeographic",value:function(){var t=new je(this.getMetadata());return t.isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(t){return this.number===t.number&&this.ext===t.ext}},{key:"getType",value:function(){return Ei(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(t,r){return D2(this,t,r?nl(nl({},r),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:"formatNational",value:function(t){return this.format("NATIONAL",t)}},{key:"formatInternational",value:function(t){return this.format("INTERNATIONAL",t)}},{key:"getURI",value:function(t){return this.format("RFC3966",t)}}]),e}(),G2=function(n){return/^[A-Z]{2}$/.test(n)};function z2(e,n){var t,r,i=new je(n);return G2(e)?(t=e,i.selectNumberingPlan(t),r=i.countryCallingCode()):r=e,{country:t,countryCallingCode:r}}var K2=/^\+\d+$/;function _i(e){"@babel/helpers - typeof";return _i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},_i(e)}function q2(e,n,t){return Object.defineProperty(e,"prototype",{writable:!1}),e}function Y2(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function X2(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&wn(e,n)}function Z2(e){var n=ol();return function(){var r=xn(e),i;if(n){var o=xn(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return J2(this,i)}}function J2(e,n){if(n&&(_i(n)==="object"||typeof n=="function"))return n;if(n!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return il(e)}function il(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ai(e){var n=typeof Map=="function"?new Map:void 0;return Ai=function(r){if(r===null||!Q2(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof n<"u"){if(n.has(r))return n.get(r);n.set(r,i)}function i(){return ar(r,arguments,xn(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),wn(i,r)},Ai(e)}function ar(e,n,t){return ol()?ar=Reflect.construct:ar=function(i,o,a){var d=[null];d.push.apply(d,o);var l=Function.bind.apply(i,d),s=new l;return a&&wn(s,a.prototype),s},ar.apply(null,arguments)}function ol(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Q2(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function wn(e,n){return wn=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},wn(e,n)}function xn(e){return xn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},xn(e)}var vt=function(e){X2(t,e);var n=Z2(t);function t(r){var i;return Y2(this,t),i=n.call(this,r),Object.setPrototypeOf(il(i),t.prototype),i.name=i.constructor.name,i}return q2(t)}(Ai(Error)),al=new RegExp("(?:"+Xd()+")$","i");function e3(e){var n=e.search(al);if(n<0)return{};for(var t=e.slice(0,n),r=e.match(al),i=1;i<r.length;){if(r[i])return{number:t,ext:r[i]};i++}}function t3(e,n){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=n3(e))||n){t&&(e=t);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.
|
|
68
68
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function n3(e,n){if(e){if(typeof e=="string")return dl(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return dl(e,n)}}function dl(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}var r3={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 r3[e]}function dr(e){for(var n="",t=t3(e.split("")),r;!(r=t()).done;){var i=r.value,o=ll(i);o&&(n+=o)}return n}function i3(e,n){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=o3(e))||n){t&&(e=t);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
69
69
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o3(e,n){if(e){if(typeof e=="string")return sl(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return sl(e,n)}}function sl(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function ki(e){for(var n="",t=i3(e.split("")),r;!(r=t()).done;){var i=r.value;n+=ul(i,n)||""}return n}function ul(e,n,t){if(e==="+"){if(n){typeof t=="function"&&t("end");return}return"+"}return ll(e)}function a3(e,n){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=d3(e))||n){t&&(e=t);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.
|
|
70
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d3(e,n){if(e){if(typeof e=="string")return cl(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return cl(e,n)}}function cl(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function fl(e,n){var t=n.countries;n.defaultCountry;var r=n.metadata;r=new je(r);for(var i=a3(t),o;!(o=i()).done;){var a=o.value;if(r.country(a),r.leadingDigits()){if(e&&e.search(r.leadingDigits())===0)return a}else if(Ei({phone:e,country:a},void 0,r.metadata))return a}}function pl(e,n){var t=n.nationalNumber,r=n.defaultCountry,i=n.metadata,o=i.getCountryCodesForCallingCode(e);if(o)return o.length===1?o[0]:fl(t,{countries:o,defaultCountry:r,metadata:i.metadata})}var ml="+",l3="[\\-\\.\\(\\)]?",hl="(["+qe+"]|"+l3+")",s3="^\\"+ml+hl+"*["+qe+"]"+hl+"*$",u3=new RegExp(s3,"g"),Fi=qe,c3="["+Fi+"]+((\\-)*["+Fi+"])*",f3="a-zA-Z",p3="["+f3+"]+((\\-)*["+Fi+"])*",m3="^("+c3+"\\.)*"+p3+"\\.?$",h3=new RegExp(m3,"g"),
|
|
71
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function F3(e,n){if(e){if(typeof e=="string")return yl(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return yl(e,n)}}function yl(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function M3(e,n){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var r=[],i=!0,o=!1,a,d;try{for(t=t.call(e);!(i=(a=t.next()).done)&&(r.push(a.value),!(n&&r.length===n));i=!0);}catch(l){o=!0,d=l}finally{try{!i&&t.return!=null&&t.return()}finally{if(o)throw d}}return r}}function L3(e){if(Array.isArray(e))return e}function wl(e){var n=Array.prototype.slice.call(e),t=A3(n,4),r=t[0],i=t[1],o=t[2],a=t[3],d,l,s;if(typeof r=="string")d=r;else throw new TypeError("A text for parsing must be a string.");if(!i||typeof i=="string")a?(l=o,s=a):(l=void 0,s=o),i&&(l=N3({defaultCountry:i},l));else if(Ft(i))o?(l=i,s=o):s=i;else throw new Error("Invalid second argument: ".concat(i));return{text:d,options:l,metadata:s}}function xl(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,r)}return t}function Cl(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?xl(Object(t),!0).forEach(function(r){j3(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):xl(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function j3(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function El(e,n,t){n&&n.defaultCountry&&!Wd(n.defaultCountry,t)&&(n=Cl(Cl({},n),{},{defaultCountry:void 0}));try{return I3(e,n,t)}catch(r){if(!(r instanceof
|
|
70
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d3(e,n){if(e){if(typeof e=="string")return cl(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return cl(e,n)}}function cl(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function fl(e,n){var t=n.countries;n.defaultCountry;var r=n.metadata;r=new je(r);for(var i=a3(t),o;!(o=i()).done;){var a=o.value;if(r.country(a),r.leadingDigits()){if(e&&e.search(r.leadingDigits())===0)return a}else if(Ei({phone:e,country:a},void 0,r.metadata))return a}}function pl(e,n){var t=n.nationalNumber,r=n.defaultCountry,i=n.metadata,o=i.getCountryCodesForCallingCode(e);if(o)return o.length===1?o[0]:fl(t,{countries:o,defaultCountry:r,metadata:i.metadata})}var ml="+",l3="[\\-\\.\\(\\)]?",hl="(["+qe+"]|"+l3+")",s3="^\\"+ml+hl+"*["+qe+"]"+hl+"*$",u3=new RegExp(s3,"g"),Fi=qe,c3="["+Fi+"]+((\\-)*["+Fi+"])*",f3="a-zA-Z",p3="["+f3+"]+((\\-)*["+Fi+"])*",m3="^("+c3+"\\.)*"+p3+"\\.?$",h3=new RegExp(m3,"g"),gl="tel:",Mi=";phone-context=",g3=";isub=";function v3(e){var n=e.indexOf(Mi);if(n<0)return null;var t=n+Mi.length;if(t>=e.length)return"";var r=e.indexOf(";",t);return r>=0?e.substring(t,r):e.substring(t)}function $3(e){return e===null?!0:e.length===0?!1:u3.test(e)||h3.test(e)}function b3(e,n){var t=n.extractFormattedPhoneNumber,r=v3(e);if(!$3(r))throw new vt("NOT_A_NUMBER");var i;if(r===null)i=t(e)||"";else{i="",r.charAt(0)===ml&&(i+=r);var o=e.indexOf(gl),a;o>=0?a=o+gl.length:a=0;var d=e.indexOf(Mi);i+=e.substring(a,d)}var l=i.indexOf(g3);if(l>0&&(i=i.substring(0,l)),i!=="")return i}var y3=250,w3=new RegExp("["+ir+qe+"]"),x3=new RegExp("[^"+qe+"#]+$");function C3(e,n,t){if(n=n||{},t=new je(t),n.defaultCountry&&!t.hasCountry(n.defaultCountry))throw n.v2?new vt("INVALID_COUNTRY"):new Error("Unknown country: ".concat(n.defaultCountry));var r=S3(e,n.v2,n.extract),i=r.number,o=r.ext,a=r.error;if(!i){if(n.v2)throw a==="TOO_SHORT"?new vt("TOO_SHORT"):new vt("NOT_A_NUMBER");return{}}var d=P3(i,n.defaultCountry,n.defaultCallingCode,t),l=d.country,s=d.nationalNumber,f=d.countryCallingCode,g=d.countryCallingCodeSource,m=d.carrierCode;if(!t.hasSelectedNumberingPlan()){if(n.v2)throw new vt("INVALID_COUNTRY");return{}}if(!s||s.length<Oi){if(n.v2)throw new vt("TOO_SHORT");return{}}if(s.length>p2){if(n.v2)throw new vt("TOO_LONG");return{}}if(n.v2){var p=new rl(f,s,t.metadata);return l&&(p.country=l),m&&(p.carrierCode=m),o&&(p.ext=o),p.__countryCallingCodeSource=g,p}var c=(n.extended?t.hasSelectedNumberingPlan():l)?gt(s,t.nationalNumberPattern()):!1;return n.extended?{country:l,countryCallingCode:f,carrierCode:m,valid:c,possible:c?!0:!!(n.extended===!0&&t.possibleLengths()&&Ud(s,t)),phone:s,ext:o}:c?O3(l,s,o):{}}function E3(e,n,t){if(e){if(e.length>y3){if(t)throw new vt("TOO_LONG");return}if(n===!1)return e;var r=e.search(w3);if(!(r<0))return e.slice(r).replace(x3,"")}}function S3(e,n,t){var r=b3(e,{extractFormattedPhoneNumber:function(a){return E3(a,t,n)}});if(!r)return{};if(!A2(r))return k2(r)?{error:"TOO_SHORT"}:{};var i=e3(r);return i.ext?i:{number:r}}function O3(e,n,t){var r={country:e,phone:n};return t&&(r.ext=t),r}function P3(e,n,t,r){var i=Ii(ki(e),n,t,r.metadata),o=i.countryCallingCodeSource,a=i.countryCallingCode,d=i.number,l;if(a)r.selectNumberingPlan(a);else if(d&&(n||t))r.selectNumberingPlan(n,t),n&&(l=n),a=t||ht(n,r.metadata);else return{};if(!d)return{countryCallingCodeSource:o,countryCallingCode:a};var s=Ti(ki(d),r),f=s.nationalNumber,g=s.carrierCode,m=pl(a,{nationalNumber:f,defaultCountry:n,metadata:r});return m&&(l=m,m==="001"||r.country(l)),{country:l,countryCallingCode:a,countryCallingCodeSource:o,nationalNumber:f,carrierCode:g}}function vl(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,r)}return t}function $l(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?vl(Object(t),!0).forEach(function(r){T3(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):vl(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function T3(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function I3(e,n,t){return C3(e,$l($l({},n),{},{v2:!0}),t)}function bl(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,r)}return t}function N3(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?bl(Object(t),!0).forEach(function(r){_3(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):bl(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function _3(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function A3(e,n){return L3(e)||M3(e,n)||F3(e,n)||k3()}function k3(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
71
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function F3(e,n){if(e){if(typeof e=="string")return yl(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return yl(e,n)}}function yl(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function M3(e,n){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var r=[],i=!0,o=!1,a,d;try{for(t=t.call(e);!(i=(a=t.next()).done)&&(r.push(a.value),!(n&&r.length===n));i=!0);}catch(l){o=!0,d=l}finally{try{!i&&t.return!=null&&t.return()}finally{if(o)throw d}}return r}}function L3(e){if(Array.isArray(e))return e}function wl(e){var n=Array.prototype.slice.call(e),t=A3(n,4),r=t[0],i=t[1],o=t[2],a=t[3],d,l,s;if(typeof r=="string")d=r;else throw new TypeError("A text for parsing must be a string.");if(!i||typeof i=="string")a?(l=o,s=a):(l=void 0,s=o),i&&(l=N3({defaultCountry:i},l));else if(Ft(i))o?(l=i,s=o):s=i;else throw new Error("Invalid second argument: ".concat(i));return{text:d,options:l,metadata:s}}function xl(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,r)}return t}function Cl(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?xl(Object(t),!0).forEach(function(r){j3(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):xl(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function j3(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function El(e,n,t){n&&n.defaultCountry&&!Wd(n.defaultCountry,t)&&(n=Cl(Cl({},n),{},{defaultCountry:void 0}));try{return I3(e,n,t)}catch(r){if(!(r instanceof vt))throw r}}function D3(){var e=wl(arguments),n=e.text,t=e.options,r=e.metadata;return El(n,t,r)}function Sl(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,r)}return t}function Ol(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?Sl(Object(t),!0).forEach(function(r){R3(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Sl(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function R3(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function B3(){var e=wl(arguments),n=e.text,t=e.options,r=e.metadata;t=Ol(Ol({},t),{},{extract:!1});var i=El(n,t,r);return i&&i.isValid()||!1}function W3(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function V3(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function U3(e,n,t){return n&&V3(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var H3=function(){function e(n){var t=n.onCountryChange,r=n.onCallingCodeChange;W3(this,e),this.onCountryChange=t,this.onCallingCodeChange=r}return U3(e,[{key:"reset",value:function(t){var r=t.country,i=t.callingCode;this.international=!1,this.missingPlus=!1,this.IDDPrefix=void 0,this.callingCode=void 0,this.digits="",this.resetNationalSignificantNumber(),this.initCountryAndCallingCode(r,i)}},{key:"resetNationalSignificantNumber",value:function(){this.nationalSignificantNumber=this.getNationalDigits(),this.nationalSignificantNumberMatchesInput=!0,this.nationalPrefix=void 0,this.carrierCode=void 0,this.complexPrefixBeforeNationalSignificantNumber=void 0}},{key:"update",value:function(t){for(var r=0,i=Object.keys(t);r<i.length;r++){var o=i[r];this[o]=t[o]}}},{key:"initCountryAndCallingCode",value:function(t,r){this.setCountry(t),this.setCallingCode(r)}},{key:"setCountry",value:function(t){this.country=t,this.onCountryChange(t)}},{key:"setCallingCode",value:function(t){this.callingCode=t,this.onCallingCodeChange(t,this.country)}},{key:"startInternationalNumber",value:function(t,r){this.international=!0,this.initCountryAndCallingCode(t,r)}},{key:"appendDigits",value:function(t){this.digits+=t}},{key:"appendNationalSignificantNumberDigits",value:function(t){this.nationalSignificantNumber+=t}},{key:"getNationalDigits",value:function(){return this.international?this.digits.slice((this.IDDPrefix?this.IDDPrefix.length:0)+(this.callingCode?this.callingCode.length:0)):this.digits}},{key:"getDigitsWithoutInternationalPrefix",value:function(){return this.international&&this.IDDPrefix?this.digits.slice(this.IDDPrefix.length):this.digits}}]),e}();function G3(e,n){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=z3(e))||n){t&&(e=t);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
72
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function z3(e,n){if(e){if(typeof e=="string")return Pl(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Pl(e,n)}}function Pl(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}var it="x",Li=new RegExp(it);function lr(e,n){if(n<1)return"";for(var t="";n>1;)n&1&&(t+=e),n>>=1,e+=e;return t+e}function Tl(e,n){return e[n]===")"&&n++,K3(e.slice(0,n))}function K3(e){for(var n=[],t=0;t<e.length;)e[t]==="("?n.push(t):e[t]===")"&&n.pop(),t++;var r=0,i="";n.push(e.length);for(var o=0,a=n;o<a.length;o++){var d=a[o];i+=e.slice(r,d),r=d+1}return i}function q3(e,n,t){for(var r=G3(t.split("")),i;!(i=r()).done;){var o=i.value;if(e.slice(n+1).search(Li)<0)return;n=e.search(Li),e=e.replace(Li,o)}return[e,n]}function Y3(e,n,t){var r=t.metadata,i=t.shouldTryNationalPrefixFormattingRule,o=t.getSeparatorAfterNationalPrefix,a=new RegExp("^(?:".concat(n.pattern(),")$"));if(a.test(e.nationalSignificantNumber))return Z3(e,n,{metadata:r,shouldTryNationalPrefixFormattingRule:i,getSeparatorAfterNationalPrefix:o})}function X3(e,n){return rr(e,n)==="IS_POSSIBLE"}function Z3(e,n,t){var r=t.metadata,i=t.shouldTryNationalPrefixFormattingRule,o=t.getSeparatorAfterNationalPrefix;if(e.nationalSignificantNumber,e.international,e.nationalPrefix,e.carrierCode,i(n)){var a=Il(e,n,{useNationalPrefixFormattingRule:!0,getSeparatorAfterNationalPrefix:o,metadata:r});if(a)return a}return Il(e,n,{useNationalPrefixFormattingRule:!1,getSeparatorAfterNationalPrefix:o,metadata:r})}function Il(e,n,t){var r=t.metadata,i=t.useNationalPrefixFormattingRule,o=t.getSeparatorAfterNationalPrefix,a=Yd(e.nationalSignificantNumber,n,{carrierCode:e.carrierCode,useInternationalFormat:e.international,withNationalPrefix:i,metadata:r});if(i||(e.nationalPrefix?a=e.nationalPrefix+o(n)+a:e.complexPrefixBeforeNationalSignificantNumber&&(a=e.complexPrefixBeforeNationalSignificantNumber+" "+a)),J3(a,e))return a}function J3(e,n){return dr(e)===n.getNationalDigits()}function Q3(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function e9(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function t9(e,n,t){return n&&e9(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var n9=function(){function e(){Q3(this,e)}return t9(e,[{key:"parse",value:function(t){if(this.context=[{or:!0,instructions:[]}],this.parsePattern(t),this.context.length!==1)throw new Error("Non-finalized contexts left when pattern parse ended");var r=this.context[0],i=r.branches,o=r.instructions;if(i)return{op:"|",args:i.concat([ji(o)])};if(o.length===0)throw new Error("Pattern is required");return o.length===1?o[0]:o}},{key:"startContext",value:function(t){this.context.push(t)}},{key:"endContext",value:function(){this.context.pop()}},{key:"getContext",value:function(){return this.context[this.context.length-1]}},{key:"parsePattern",value:function(t){if(!t)throw new Error("Pattern is required");var r=t.match(o9);if(!r){if(i9.test(t))throw new Error("Illegal characters found in a pattern: ".concat(t));this.getContext().instructions=this.getContext().instructions.concat(t.split(""));return}var i=r[1],o=t.slice(0,r.index),a=t.slice(r.index+i.length);switch(i){case"(?:":o&&this.parsePattern(o),this.startContext({or:!0,instructions:[],branches:[]});break;case")":if(!this.getContext().or)throw new Error('")" operator must be preceded by "(?:" operator');if(o&&this.parsePattern(o),this.getContext().instructions.length===0)throw new Error('No instructions found after "|" operator in an "or" group');var d=this.getContext(),l=d.branches;l.push(ji(this.getContext().instructions)),this.endContext(),this.getContext().instructions.push({op:"|",args:l});break;case"|":if(!this.getContext().or)throw new Error('"|" operator can only be used inside "or" groups');if(o&&this.parsePattern(o),!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(ji(this.getContext().instructions)),this.getContext().instructions=[];break;case"[":o&&this.parsePattern(o),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:r9(o)});break;default:throw new Error("Unknown operator: ".concat(i))}a&&this.parsePattern(a)}}]),e}();function r9(e){for(var n=[],t=0;t<e.length;){if(e[t]==="-"){if(t===0||t===e.length-1)throw new Error("Couldn't parse a one-of set pattern: ".concat(e));for(var r=e[t-1].charCodeAt(0)+1,i=e[t+1].charCodeAt(0)-1,o=r;o<=i;)n.push(String.fromCharCode(o)),o++}else n.push(e[t]);t++}return n}var i9=/[\(\)\[\]\?\:\|]/,o9=new RegExp("(\\||\\(\\?\\:|\\)|\\[|\\])");function ji(e){return e.length===1?e[0]:e}function Nl(e,n){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=a9(e))||n){t&&(e=t);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
73
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a9(e,n){if(e){if(typeof e=="string")return _l(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return _l(e,n)}}function _l(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function d9(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function l9(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s9(e,n,t){return n&&l9(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var u9=function(){function e(n){d9(this,e),this.matchTree=new n9().parse(n)}return s9(e,[{key:"match",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.allowOverflow;if(!t)throw new Error("String is required");var o=Di(t.split(""),this.matchTree,!0);if(o&&o.match&&delete o.matchedChars,!(o&&o.overflow&&!i))return o}}]),e}();function Di(e,n,t){if(typeof n=="string"){var r=e.join("");return n.indexOf(r)===0?e.length===n.length?{match:!0,matchedChars:e}:{partialMatch:!0}:r.indexOf(n)===0?t&&e.length>n.length?{overflow:!0}:{match:!0,matchedChars:e.slice(0,n.length)}:void 0}if(Array.isArray(n)){for(var i=e.slice(),o=0;o<n.length;){var a=n[o],d=Di(i,a,t&&o===n.length-1);if(d){if(d.overflow)return d;if(d.match){if(i=i.slice(d.matchedChars.length),i.length===0)return o===n.length-1?{match:!0,matchedChars:e}:{partialMatch:!0}}else{if(d.partialMatch)return{partialMatch:!0};throw new Error(`Unsupported match result:
|
|
74
|
-
`.concat(JSON.stringify(d,null,2)))}}else return;o++}return t?{overflow:!0}:{match:!0,matchedChars:e.slice(0,e.length-i.length)}}switch(n.op){case"|":for(var l,s=Nl(n.args),f;!(f=s()).done;){var
|
|
74
|
+
`.concat(JSON.stringify(d,null,2)))}}else return;o++}return t?{overflow:!0}:{match:!0,matchedChars:e.slice(0,e.length-i.length)}}switch(n.op){case"|":for(var l,s=Nl(n.args),f;!(f=s()).done;){var g=f.value,m=Di(e,g,t);if(m){if(m.overflow)return m;if(m.match)return{match:!0,matchedChars:m.matchedChars};if(m.partialMatch)l=!0;else throw new Error(`Unsupported match result:
|
|
75
75
|
`.concat(JSON.stringify(m,null,2)))}}return l?{partialMatch:!0}:void 0;case"[]":for(var p=Nl(n.args),c;!(c=p()).done;){var h=c.value;if(e[0]===h)return e.length===1?{match:!0,matchedChars:e}:t?{overflow:!0}:{match:!0,matchedChars:[h]}}return;default:throw new Error("Unsupported instruction tree: ".concat(n))}}function Al(e,n){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=c9(e))||n){t&&(e=t);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 c9(e,n){if(e){if(typeof e=="string")return kl(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return kl(e,n)}}function kl(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function f9(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function p9(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m9(e,n,t){return n&&p9(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var Ri="9",h9=15,
|
|
76
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function c9(e,n){if(e){if(typeof e=="string")return kl(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return kl(e,n)}}function kl(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function f9(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function p9(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m9(e,n,t){return n&&p9(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var Ri="9",h9=15,g9=lr(Ri,h9),v9=/[- ]/,$9=function(){return/\[([^\[\]])*\]/g},b9=function(){return/\d(?=[^,}][^,}])/g},y9=new RegExp("["+rt+"]*\\$1["+rt+"]*(\\$\\d["+rt+"]*)*$"),Fl=3,w9=function(){function e(n){n.state;var t=n.metadata;f9(this,e),this.metadata=t,this.resetFormat()}return m9(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(t,r){this.resetFormat(),t?(this.isNANP=t.callingCode()==="1",this.matchingFormats=t.formats(),r.nationalSignificantNumber&&this.narrowDownMatchingFormats(r)):(this.isNANP=void 0,this.matchingFormats=[])}},{key:"format",value:function(t,r){var i=this;if(X3(r.nationalSignificantNumber,this.metadata))for(var o=Al(this.matchingFormats),a;!(a=o()).done;){var d=a.value,l=Y3(r,d,{metadata:this.metadata,shouldTryNationalPrefixFormattingRule:function(f){return i.shouldTryNationalPrefixFormattingRule(f,{international:r.international,nationalPrefix:r.nationalPrefix})},getSeparatorAfterNationalPrefix:function(f){return i.getSeparatorAfterNationalPrefix(f)}});if(l)return this.resetFormat(),this.chosenFormat=d,this.setNationalNumberTemplate(l.replace(/\d/g,it),r),this.populatedNationalNumberTemplate=l,this.populatedNationalNumberTemplatePosition=this.template.lastIndexOf(it),l}return this.formatNationalNumberWithNextDigits(t,r)}},{key:"formatNationalNumberWithNextDigits",value:function(t,r){var i=this.chosenFormat,o=this.chooseFormat(r);if(o)return o===i?this.formatNextNationalNumberDigits(t):this.formatNextNationalNumberDigits(r.getNationalDigits())}},{key:"narrowDownMatchingFormats",value:function(t){var r=this,i=t.nationalSignificantNumber,o=t.nationalPrefix,a=t.international,d=i,l=d.length-Fl;l<0&&(l=0),this.matchingFormats=this.matchingFormats.filter(function(s){return r.formatSuits(s,a,o)&&r.formatMatches(s,d,l)}),this.chosenFormat&&this.matchingFormats.indexOf(this.chosenFormat)===-1&&this.resetFormat()}},{key:"formatSuits",value:function(t,r,i){return!(i&&!t.usesNationalPrefix()&&!t.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!r&&!i&&t.nationalPrefixIsMandatoryWhenFormattingInNationalFormat())}},{key:"formatMatches",value:function(t,r,i){var o=t.leadingDigitsPatterns().length;if(o===0)return!0;i=Math.min(i,o-1);var a=t.leadingDigitsPatterns()[i];if(r.length<Fl)try{return new u9(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(t,r){return r?t.internationalFormat():t.format()}},{key:"chooseFormat",value:function(t){for(var r=this,i=function(){var s=a.value;return r.chosenFormat===s?"break":y9.test(r.getFormatFormat(s,t.international))?r.createTemplateForFormat(s,t)?(r.chosenFormat=s,"break"):(r.matchingFormats=r.matchingFormats.filter(function(f){return f!==s}),"continue"):"continue"},o=Al(this.matchingFormats.slice()),a;!(a=o()).done;){var d=i();if(d==="break")break}return this.chosenFormat||this.resetFormat(),this.chosenFormat}},{key:"createTemplateForFormat",value:function(t,r){if(!(t.pattern().indexOf("|")>=0)){var i=this.getTemplateForFormat(t,r);if(i)return this.setNationalNumberTemplate(i,r),!0}}},{key:"getSeparatorAfterNationalPrefix",value:function(t){return this.isNANP||t&&t.nationalPrefixFormattingRule()&&v9.test(t.nationalPrefixFormattingRule())?" ":""}},{key:"getInternationalPrefixBeforeCountryCallingCode",value:function(t,r){var i=t.IDDPrefix,o=t.missingPlus;return i?r&&r.spacing===!1?i:i+" ":o?"":"+"}},{key:"getTemplate",value:function(t){if(this.template){for(var r=-1,i=0,o=t.international?this.getInternationalPrefixBeforeCountryCallingCode(t,{spacing:!1}):"";i<o.length+t.getDigitsWithoutInternationalPrefix().length;)r=this.template.indexOf(it,r+1),i++;return Tl(this.template,r+1)}}},{key:"setNationalNumberTemplate",value:function(t,r){this.nationalNumberTemplate=t,this.populatedNationalNumberTemplate=t,this.populatedNationalNumberTemplatePosition=-1,r.international?this.template=this.getInternationalPrefixBeforeCountryCallingCode(r).replace(/[\d\+]/g,it)+lr(it,r.callingCode.length)+" "+t:this.template=t}},{key:"getTemplateForFormat",value:function(t,r){var i=r.nationalSignificantNumber,o=r.international,a=r.nationalPrefix,d=r.complexPrefixBeforeNationalSignificantNumber,l=t.pattern();l=l.replace($9(),"\\d").replace(b9(),"\\d");var s=g9.match(l)[0];if(!(i.length>s.length)){var f=new RegExp("^"+l+"$"),g=i.replace(/\d/g,Ri);f.test(g)&&(s=g);var m=this.getFormatFormat(t,o),p;if(this.shouldTryNationalPrefixFormattingRule(t,{international:o,nationalPrefix:a})){var c=m.replace(qd,t.nationalPrefixFormattingRule());if(dr(t.nationalPrefixFormattingRule())===(a||"")+dr("$1")&&(m=c,p=!0,a))for(var h=a.length;h>0;)m=m.replace(/\d/,it),h--}var v=s.replace(new RegExp(l),m).replace(new RegExp(Ri,"g"),it);return p||(d?v=lr(it,d.length)+" "+v:a&&(v=lr(it,a.length)+this.getSeparatorAfterNationalPrefix(t)+v)),o&&(v=Kd(v)),v}}},{key:"formatNextNationalNumberDigits",value:function(t){var r=q3(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition,t);if(!r){this.resetFormat();return}return this.populatedNationalNumberTemplate=r[0],this.populatedNationalNumberTemplatePosition=r[1],Tl(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition+1)}},{key:"shouldTryNationalPrefixFormattingRule",value:function(t,r){var i=r.international,o=r.nationalPrefix;if(t.nationalPrefixFormattingRule()){var a=t.usesNationalPrefix();if(a&&o||!a&&!i)return!0}}}]),e}();function Ml(e,n){return S9(e)||E9(e,n)||C9(e,n)||x9()}function x9(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
77
77
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function C9(e,n){if(e){if(typeof e=="string")return Ll(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Ll(e,n)}}function Ll(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function E9(e,n){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var r=[],i=!0,o=!1,a,d;try{for(t=t.call(e);!(i=(a=t.next()).done)&&(r.push(a.value),!(n&&r.length===n));i=!0);}catch(l){o=!0,d=l}finally{try{!i&&t.return!=null&&t.return()}finally{if(o)throw d}}return r}}function S9(e){if(Array.isArray(e))return e}function O9(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function P9(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function T9(e,n,t){return n&&P9(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var I9="["+rt+qe+"]+",N9=new RegExp("^"+I9+"$","i"),_9="(?:["+ir+"]["+rt+qe+"]*|["+rt+qe+"]+)",A9=new RegExp("[^"+rt+qe+"]+.*$"),k9=/[^\d\[\]]/,F9=function(){function e(n){var t=n.defaultCountry,r=n.defaultCallingCode,i=n.metadata,o=n.onNationalSignificantNumberChange;O9(this,e),this.defaultCountry=t,this.defaultCallingCode=r,this.metadata=i,this.onNationalSignificantNumberChange=o}return T9(e,[{key:"input",value:function(t,r){var i=j9(t),o=Ml(i,2),a=o[0],d=o[1],l=dr(a),s;return d&&(r.digits||(r.startInternationalNumber(),l||(s=!0))),l&&this.inputDigits(l,r),{digits:l,justLeadingPlus:s}}},{key:"inputDigits",value:function(t,r){var i=r.digits,o=i.length<3&&i.length+t.length>=3;if(r.appendDigits(t),o&&this.extractIddPrefix(r),this.isWaitingForCountryCallingCode(r)){if(!this.extractCountryCallingCode(r))return}else r.appendNationalSignificantNumberDigits(t);r.international||this.hasExtractedNationalSignificantNumber||this.extractNationalSignificantNumber(r.getNationalDigits(),function(a){return r.update(a)})}},{key:"isWaitingForCountryCallingCode",value:function(t){var r=t.international,i=t.callingCode;return r&&!i}},{key:"extractCountryCallingCode",value:function(t){var r=Ii("+"+t.getDigitsWithoutInternationalPrefix(),this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),i=r.countryCallingCode,o=r.number;if(i)return t.setCallingCode(i),t.update({nationalSignificantNumber:o}),!0}},{key:"reset",value:function(t){if(t){this.hasSelectedNumberingPlan=!0;var r=t._nationalPrefixForParsing();this.couldPossiblyExtractAnotherNationalSignificantNumber=r&&k9.test(r)}else this.hasSelectedNumberingPlan=void 0,this.couldPossiblyExtractAnotherNationalSignificantNumber=void 0}},{key:"extractNationalSignificantNumber",value:function(t,r){if(this.hasSelectedNumberingPlan){var i=Pi(t,this.metadata),o=i.nationalPrefix,a=i.nationalNumber,d=i.carrierCode;if(a!==t)return this.onExtractedNationalNumber(o,d,a,t,r),!0}}},{key:"extractAnotherNationalSignificantNumber",value:function(t,r,i){if(!this.hasExtractedNationalSignificantNumber)return this.extractNationalSignificantNumber(t,i);if(this.couldPossiblyExtractAnotherNationalSignificantNumber){var o=Pi(t,this.metadata),a=o.nationalPrefix,d=o.nationalNumber,l=o.carrierCode;if(d!==r)return this.onExtractedNationalNumber(a,l,d,t,i),!0}}},{key:"onExtractedNationalNumber",value:function(t,r,i,o,a){var d,l,s=o.lastIndexOf(i);if(s>=0&&s===o.length-i.length){l=!0;var f=o.slice(0,s);f!==t&&(d=f)}a({nationalPrefix:t,carrierCode:r,nationalSignificantNumber:i,nationalSignificantNumberMatchesInput:l,complexPrefixBeforeNationalSignificantNumber:d}),this.hasExtractedNationalSignificantNumber=!0,this.onNationalSignificantNumberChange()}},{key:"reExtractNationalSignificantNumber",value:function(t){if(this.extractAnotherNationalSignificantNumber(t.getNationalDigits(),t.nationalSignificantNumber,function(r){return t.update(r)}))return!0;if(this.extractIddPrefix(t))return this.extractCallingCodeAndNationalSignificantNumber(t),!0;if(this.fixMissingPlus(t))return this.extractCallingCodeAndNationalSignificantNumber(t),!0}},{key:"extractIddPrefix",value:function(t){var r=t.international,i=t.IDDPrefix,o=t.digits;if(t.nationalSignificantNumber,!(r||i)){var a=Gd(o,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata);if(a!==void 0&&a!==o)return t.update({IDDPrefix:o.slice(0,o.length-a.length)}),this.startInternationalNumber(t,{country:void 0,callingCode:void 0}),!0}}},{key:"fixMissingPlus",value:function(t){if(!t.international){var r=zd(t.digits,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),i=r.countryCallingCode;if(r.number,i)return t.update({missingPlus:!0}),this.startInternationalNumber(t,{country:t.country,callingCode:i}),!0}}},{key:"startInternationalNumber",value:function(t,r){var i=r.country,o=r.callingCode;t.startInternationalNumber(i,o),t.nationalSignificantNumber&&(t.resetNationalSignificantNumber(),this.onNationalSignificantNumberChange(),this.hasExtractedNationalSignificantNumber=void 0)}},{key:"extractCallingCodeAndNationalSignificantNumber",value:function(t){this.extractCountryCallingCode(t)&&this.extractNationalSignificantNumber(t.getNationalDigits(),function(r){return t.update(r)})}}]),e}();function M9(e){var n=e.search(_9);if(!(n<0)){e=e.slice(n);var t;return e[0]==="+"&&(t=!0,e=e.slice(1)),e=e.replace(A9,""),t&&(e="+"+e),e}}function L9(e){var n=M9(e)||"";return n[0]==="+"?[n.slice(1),!0]:[n]}function j9(e){var n=L9(e),t=Ml(n,2),r=t[0],i=t[1];return N9.test(r)||(r=""),[r,i]}function D9(e,n){return V9(e)||W9(e,n)||B9(e,n)||R9()}function R9(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
78
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function B9(e,n){if(e){if(typeof e=="string")return jl(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return jl(e,n)}}function jl(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function W9(e,n){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var r=[],i=!0,o=!1,a,d;try{for(t=t.call(e);!(i=(a=t.next()).done)&&(r.push(a.value),!(n&&r.length===n));i=!0);}catch(l){o=!0,d=l}finally{try{!i&&t.return!=null&&t.return()}finally{if(o)throw d}}return r}}function V9(e){if(Array.isArray(e))return e}function U9(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function H9(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function G9(e,n,t){return n&&H9(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var Kt=function(){function e(n,t){U9(this,e),this.metadata=new je(t);var r=this.getCountryAndCallingCode(n),i=D9(r,2),o=i[0],a=i[1];this.defaultCountry=o,this.defaultCallingCode=a,this.reset()}return G9(e,[{key:"getCountryAndCallingCode",value:function(t){var r,i;return t&&(Ft(t)?(r=t.defaultCountry,i=t.defaultCallingCode):r=t),r&&!this.metadata.hasCountry(r)&&(r=void 0),[r,i]}},{key:"input",value:function(t){var r=this.parser.input(t,this.state),i=r.digits,o=r.justLeadingPlus;if(o)this.formattedOutput="+";else if(i){this.determineTheCountryIfNeeded(),this.state.nationalSignificantNumber&&this.formatter.narrowDownMatchingFormats(this.state);var a;if(this.metadata.hasSelectedNumberingPlan()&&(a=this.formatter.format(i,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 t=this;return this.state=new H3({onCountryChange:function(i){t.country=i},onCallingCodeChange:function(i,o){t.metadata.selectNumberingPlan(o,i),t.formatter.reset(t.metadata.numberingPlan,t.state),t.parser.reset(t.metadata.numberingPlan)}}),this.formatter=new w9({state:this.state,metadata:this.metadata}),this.parser=new F9({defaultCountry:this.defaultCountry,defaultCallingCode:this.defaultCallingCode,metadata:this.metadata,state:this.state,onNationalSignificantNumberChange:function(){t.determineTheCountryIfNeeded(),t.formatter.reset(t.metadata.numberingPlan,t.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 t=this.state.digits;if(t)return this._getCountry()}},{key:"_getCountry",value:function(){var t=this.state.country;return t}},{key:"determineTheCountryIfNeeded",value:function(){(!this.state.country||this.isCountryCallingCodeAmbiguous())&&this.determineTheCountry()}},{key:"getFullNumber",value:function(t){var r=this;if(this.isInternational()){var i=function(d){return r.formatter.getInternationalPrefixBeforeCountryCallingCode(r.state,{spacing:!!d})+d},o=this.state.callingCode;return i(o?t?"".concat(o," ").concat(t):o:"".concat(this.state.getDigitsWithoutInternationalPrefix()))}return t}},{key:"getNonFormattedNationalNumberWithPrefix",value:function(){var t=this.state,r=t.nationalSignificantNumber,i=t.complexPrefixBeforeNationalSignificantNumber,o=t.nationalPrefix,a=r,d=i||o;return d&&(a=d+a),a}},{key:"getNonFormattedNumber",value:function(){var t=this.state.nationalSignificantNumberMatchesInput;return this.getFullNumber(t?this.getNonFormattedNationalNumberWithPrefix():this.state.getNationalDigits())}},{key:"getNonFormattedTemplate",value:function(){var t=this.getNonFormattedNumber();if(t)return t.replace(/[\+\d]/g,it)}},{key:"isCountryCallingCodeAmbiguous",value:function(){var t=this.state.callingCode,r=this.metadata.getCountryCodesForCallingCode(t);return r&&r.length>1}},{key:"determineTheCountry",value:function(){this.state.setCountry(pl(this.isInternational()?this.state.callingCode:this.defaultCallingCode,{nationalNumber:this.state.nationalSignificantNumber,defaultCountry:this.defaultCountry,metadata:this.metadata}))}},{key:"getNumberValue",value:function(){var t=this.state,r=t.digits,i=t.callingCode,o=t.country,a=t.nationalSignificantNumber;if(r){if(this.isInternational())return i?"+"+i+a:"+"+r;if(o||i){var d=o?this.metadata.countryCallingCode():i;return"+"+d+a}}}},{key:"getNumber",value:function(){var t=this.state,r=t.nationalSignificantNumber,i=t.carrierCode,o=t.callingCode,a=this._getCountry();if(r&&!(!a&&!o)){if(a&&a===this.defaultCountry){var d=new je(this.metadata.metadata);d.selectNumberingPlan(a);var l=d.numberingPlan.callingCode(),s=this.metadata.getCountryCodesForCallingCode(l);if(s.length>1){var f=fl(r,{countries:s,defaultCountry:this.defaultCountry,metadata:this.metadata.metadata});f&&(a=f)}}var v=new rl(a||o,r,this.metadata.metadata);return i&&(v.carrierCode=i),v}}},{key:"isPossible",value:function(){var t=this.getNumber();return t?t.isPossible():!1}},{key:"isValid",value:function(){var t=this.getNumber();return t?t.isValid():!1}},{key:"getNationalNumber",value:function(){return this.state.nationalSignificantNumber}},{key:"getChars",value:function(){return(this.state.international?"+":"")+this.state.digits}},{key:"getTemplate",value:function(){return this.formatter.getTemplate(this.state)||this.getNonFormattedTemplate()||""}}]),e}();function Bi(e){return new je(e).getCountries()}function z9(e,n,t){return t||(t=n,n=void 0),new Kt(n,t).input(e)}function Dl(e){var n=e.inputFormat,t=e.country,r=e.metadata;return n==="NATIONAL_PART_OF_INTERNATIONAL"?"+".concat(ht(t,r)):""}function Wi(e,n){return n&&(e=e.slice(n.length),e[0]===" "&&(e=e.slice(1))),e}function K9(e,n,t){if(!(t&&t.ignoreRest)){var r=function(o){if(t)switch(o){case"end":t.ignoreRest=!0;break}};return ul(e,n,r)}}function Rl(e){var n=e.onKeyDown,t=e.inputFormat;return u.useCallback(function(r){if(r.keyCode===Y9&&t==="INTERNATIONAL"&&r.target instanceof HTMLInputElement&&q9(r.target)===X9.length){r.preventDefault();return}n&&n(r)},[n,t])}function q9(e){return e.selectionStart}var Y9=8,X9="+",Z9=["onKeyDown","country","inputFormat","metadata","international","withCountryCallingCode"];function Vi(){return Vi=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Vi.apply(this,arguments)}function J9(e,n){if(e==null)return{};var t=Q9(e,n),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(n.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(t[r]=e[r])}return t}function Q9(e,n){if(e==null)return{};var t={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(n.indexOf(i)>=0)&&(t[i]=e[i]);return t}function e4(e){function n(t,r){var i=t.onKeyDown,o=t.country,a=t.inputFormat,d=t.metadata,l=d===void 0?e:d;t.international,t.withCountryCallingCode;var s=J9(t,Z9),f=u.useCallback(function(m){var p=new Kt(o,l),c=Dl({inputFormat:a,country:o,metadata:l}),h=p.input(c+m),g=p.getTemplate();return c&&(h=Wi(h,c),g&&(g=Wi(g,c))),{text:h,template:g}},[o,l]),v=Rl({onKeyDown:i,inputFormat:a});return u.createElement(er,Vi({},s,{ref:r,parse:K9,format:f,onKeyDown:v}))}return n=u.forwardRef(n),n.propTypes={value:V.string.isRequired,onChange:V.func.isRequired,onKeyDown:V.func,country:V.string,inputFormat:V.oneOf(["INTERNATIONAL","NATIONAL_PART_OF_INTERNATIONAL","NATIONAL","INTERNATIONAL_OR_NATIONAL"]).isRequired,metadata:V.object},n}const t4=e4();var n4=["value","onChange","onKeyDown","country","inputFormat","metadata","inputComponent","international","withCountryCallingCode"];function Ui(){return Ui=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Ui.apply(this,arguments)}function r4(e,n){if(e==null)return{};var t=i4(e,n),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(n.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(t[r]=e[r])}return t}function i4(e,n){if(e==null)return{};var t={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(n.indexOf(i)>=0)&&(t[i]=e[i]);return t}function o4(e){function n(t,r){var i=t.value,o=t.onChange,a=t.onKeyDown,d=t.country,l=t.inputFormat,s=t.metadata,f=s===void 0?e:s,v=t.inputComponent,m=v===void 0?"input":v;t.international,t.withCountryCallingCode;var p=r4(t,n4),c=Dl({inputFormat:l,country:d,metadata:f}),h=u.useCallback(function(E){var O=ki(E.target.value);if(O===i){var b=Bl(c,O,d,f);b.indexOf(E.target.value)===0&&(O=O.slice(0,-1))}o(O)},[c,i,o,d,f]),g=Rl({onKeyDown:a,inputFormat:l});return u.createElement(m,Ui({},p,{ref:r,value:Bl(c,i,d,f),onChange:h,onKeyDown:g}))}return n=u.forwardRef(n),n.propTypes={value:V.string.isRequired,onChange:V.func.isRequired,onKeyDown:V.func,country:V.string,inputFormat:V.oneOf(["INTERNATIONAL","NATIONAL_PART_OF_INTERNATIONAL","NATIONAL","INTERNATIONAL_OR_NATIONAL"]).isRequired,metadata:V.object,inputComponent:V.elementType},n}const a4=o4();function Bl(e,n,t,r){return Wi(z9(e+n,t,r),e)}function d4(e){return Wl(e[0])+Wl(e[1])}function Wl(e){return String.fromCodePoint(127397+e.toUpperCase().charCodeAt(0))}var l4=["value","onChange","options","disabled","readOnly"],s4=["value","options","className","iconComponent","getIconAspectRatio","arrowComponent","unicodeFlags"];function u4(e,n){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=c4(e))||n){t&&(e=t);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 c4(e,n){if(e){if(typeof e=="string")return Vl(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Vl(e,n)}}function Vl(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function sr(){return sr=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},sr.apply(this,arguments)}function Ul(e,n){if(e==null)return{};var t=f4(e,n),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(n.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(t[r]=e[r])}return t}function f4(e,n){if(e==null)return{};var t={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(n.indexOf(i)>=0)&&(t[i]=e[i]);return t}function Hl(e){var n=e.value,t=e.onChange,r=e.options,i=e.disabled,o=e.readOnly,a=Ul(e,l4),d=u.useCallback(function(l){var s=l.target.value;t(s==="ZZ"?void 0:s)},[t]);return u.useMemo(function(){return zl(r,n)},[r,n]),u.createElement("select",sr({},a,{disabled:i||o,readOnly:o,value:n||"ZZ",onChange:d}),r.map(function(l){var s=l.value,f=l.label,
|
|
80
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function S4(e,n){if(e){if(typeof e=="string")return Xl(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Xl(e,n)}}function Xl(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function O4(e,n){if(!n)return e;for(var t=[],r=[],i=t,o=function(){var s=d.value;if(s==="|")i.push({divider:!0});else if(s==="..."||s==="…")i=r;else{var f;s==="🌐"?f=void 0:f=s;var
|
|
81
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function A4(e,n){if(e){if(typeof e=="string")return Ql(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Ql(e,n)}}function Ql(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function k4(e,n){for(var t=_4(e),r;!(r=t()).done;){var i=r.value;i&&F4(i,n)}}function F4(e,n){typeof e=="function"?e(n):e.current=n}var es=V.shape({country_calling_codes:V.object.isRequired,countries:V.object.isRequired}),ts=V.objectOf(V.string);function $t(e,n){var t="+"+ht(e,n);return t}function M4(e){var n=e.value,t=e.phoneNumber,r=e.defaultCountry,i=e.getAnyCountry,o=e.countries,a=e.required,d=e.metadata,l;return t&&t.country?l=t.country:r&&(!n||Yt(n,r,d))&&(l=r),o&&o.indexOf(l)<0&&(l=void 0),!l&&a&&o&&o.length>0&&(l=i()),l}function L4(e){var n=e.countries,t=e.countryNames,r=e.addInternationalOption,i=e.compareStringsLocales,o=e.compareStrings;o||(o=U4);var a=n.map(function(d){return{value:d,label:t[d]||d}});return a.sort(function(d,l){return o(d.label,l.label,i)}),r&&a.unshift({label:t.ZZ}),a}function ns(e,n){return D3(e||"",n)}function j4(e){return e.formatNational().replace(/\D/g,"")}function D4(e,n){var t=n.prevCountry,r=n.newCountry,i=n.metadata,o=n.useNationalFormat;if(t===r)return e;if(!e)return o?"":r?$t(r,i):"";if(r){if(e[0]==="+"){if(o)return e.indexOf("+"+ht(r,i))===0?H4(e,r,i):"";if(t){var a=$t(r,i);return e.indexOf(a)===0?e:a}else{var d=$t(r,i);return e.indexOf(d)===0?e:d}}}else if(e[0]!=="+")return qt(e,t,i)||"";return e}function qt(e,n,t){if(e){if(e[0]==="+"){if(e==="+")return;var r=new Kt(n,t);return r.input(e),r.getNumberValue()}if(n){var i=os(e,n,t);return"+".concat(ht(n,t)).concat(i||"")}}}function R4(e,n,t){var r=os(e,n,t);if(r){var i=r.length-B4(n,t);if(i>0)return e.slice(0,e.length-i)}return e}function B4(e,n){return n=new je(n),n.selectNumberingPlan(e),n.numberingPlan.possibleLengths()[n.numberingPlan.possibleLengths().length-1]}function rs(e,n){var t=n.country,r=n.countries,i=n.defaultCountry,o=n.latestCountrySelectedByUser,a=n.required,d=n.metadata;if(e==="+")return t;var l=V4(e,d);if(l)return!r||r.indexOf(l)>=0?l:void 0;if(t){if(Yt(e,t,d)){if(o&&Yt(e,o,d))return o;if(i&&Yt(e,i,d))return i;if(!a)return}else if(!a)return}return t}function W4(e,n){var t=n.prevPhoneDigits,r=n.country,i=n.defaultCountry,o=n.latestCountrySelectedByUser,a=n.countryRequired,d=n.getAnyCountry,l=n.countries,s=n.international,f=n.limitMaxLength,v=n.countryCallingCodeEditable,m=n.metadata;if(s&&v===!1&&r){var p=$t(r,m);if(e.indexOf(p)!==0){var c,h=e&&e[0]!=="+";return h?(e=p+e,c=qt(e,r,m)):e=p,{phoneDigits:e,value:c,country:r}}}s===!1&&r&&e&&e[0]==="+"&&(e=is(e,r,m)),e&&r&&f&&(e=R4(e,r,m)),e&&e[0]!=="+"&&(!r||s)&&(e="+"+e),!e&&t&&t[0]==="+"&&(s?r=void 0:r=i),e==="+"&&t&&t[0]==="+"&&t.length>1&&(r=void 0);var g;return e&&(e[0]==="+"&&(e==="+"||r&&$t(r,m).indexOf(e)===0)?g=void 0:g=qt(e,r,m)),g&&(r=rs(g,{country:r,countries:l,defaultCountry:i,latestCountrySelectedByUser:o,required:!1,metadata:m}),s===!1&&r&&e&&e[0]==="+"&&(e=is(e,r,m),g=qt(e,r,m))),!r&&a&&(r=i||d()),{phoneDigits:e,country:r,value:g}}function is(e,n,t){if(e.indexOf($t(n,t))===0){var r=new Kt(n,t);r.input(e);var i=r.getNumber();return i?i.formatNational().replace(/\D/g,""):""}else return e.replace(/\D/g,"")}function V4(e,n){var t=new Kt(null,n);return t.input(e),t.getCountry()}function U4(e,n,t){return String.prototype.localeCompare?e.localeCompare(n,t):e<n?-1:e>n?1:0}function H4(e,n,t){if(n){var r="+"+ht(n,t);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,o=Object.keys(t.country_calling_codes);i<o.length;i++){var a=o[i];if(e.indexOf(a)===1)return e.slice(1+a.length)}return""}function os(e,n,t){var r=new Kt(n,t);r.input(e);var i=r.getNumber();return i&&i.nationalNumber}function Yt(e,n,t){for(var r=$t(n,t),i=0;i<e.length&&i<r.length;){if(e[i]!==r[i])return!1;i++}return!0}function as(e){var n=e.value,t=e.phoneNumber,r=e.defaultCountry,i=e.international,o=e.useNationalFormat,a=e.metadata;return(i===!1||o)&&t&&t.country?j4(t):!n&&i&&r?$t(r,a):n}function Cn(e){"@babel/helpers - typeof";return Cn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Cn(e)}function ds(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,r)}return t}function pr(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?ds(Object(t),!0).forEach(function(r){G4(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ds(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function G4(e,n,t){return n=z4(n),n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function z4(e){var n=K4(e,"string");return Cn(n)=="symbol"?n:n+""}function K4(e,n){if(Cn(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var r=t.call(e,n);if(Cn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(e)}function q4(e,n,t){var r=e.metadata,i=e.countries,o=e.defaultCountry,a=e.value,d=e.reset,l=e.international,s=e.displayInitialValueAsLocalNumber,f=e.initialValueFormat,v=n.defaultCountry,m=n.value,p=n.reset;t.country;var c=t.value,h=t.hasUserSelectedACountry,g=t.latestCountrySelectedByUser,E=function(D){return as(pr(pr({},D),{},{international:l,useNationalFormat:s||f==="national",metadata:r}))};if(d!==p)return{phoneDigits:E({value:void 0,defaultCountry:o}),value:void 0,country:o,latestCountrySelectedByUser:void 0,hasUserSelectedACountry:void 0};if(o!==v){var O=!o||fr(o,r),b=!c||l&&c===E({value:void 0,defaultCountry:v}),x=!a&&b;if(!h&&O&&x)return{country:o,phoneDigits:E({value:void 0,defaultCountry:o}),value:void 0}}if(!ls(a,m)&&!ls(a,c)){var C,A;if(a){a&&Yl(a),C=ns(a,r);var j=Zl(i,r);C&&C.country?(!j||j.indexOf(C.country)>=0)&&(A=C.country):(A=rs(a,{country:void 0,countries:j,metadata:r}),A||o&&a.indexOf($t(o,r))===0&&(A=o))}var H;if(a){if(g){var k=A?g===A:Yt(a,g,r);k?A||(A=g):H={latestCountrySelectedByUser:void 0}}}else H={latestCountrySelectedByUser:void 0,hasUserSelectedACountry:void 0};return pr(pr({},H),{},{phoneDigits:E({phoneNumber:C,value:a,defaultCountry:o}),value:a,country:a?A:o})}}function ls(e,n){return e===null&&(e=void 0),n===null&&(n=void 0),e===n}var Y4=["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 Xt(e){"@babel/helpers - typeof";return Xt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Xt(e)}function ss(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,r)}return t}function us(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?ss(Object(t),!0).forEach(function(r){ot(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ss(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function Zt(){return Zt=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Zt.apply(this,arguments)}function X4(e,n){if(e==null)return{};var t=Z4(e,n),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(n.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(t[r]=e[r])}return t}function Z4(e,n){if(e==null)return{};var t={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(n.indexOf(i)>=0)&&(t[i]=e[i]);return t}function J4(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function cs(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ps(r.key),r)}}function Q4(e,n,t){return n&&cs(e.prototype,n),t&&cs(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function e6(e,n,t){return n=mr(n),t6(e,fs()?Reflect.construct(n,t||[],mr(e).constructor):n.apply(e,t))}function t6(e,n){if(n&&(Xt(n)==="object"||typeof n=="function"))return n;if(n!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return n6(e)}function n6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fs(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(fs=function(){return!!e})()}function mr(e){return mr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},mr(e)}function r6(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&qi(e,n)}function qi(e,n){return qi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},qi(e,n)}function ot(e,n,t){return n=ps(n),n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function ps(e){var n=i6(e,"string");return Xt(n)=="symbol"?n:n+""}function i6(e,n){if(Xt(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var r=t.call(e,n);if(Xt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(e)}var o6=function(e){function n(t){var r;J4(this,n),r=e6(this,n,[t]),ot(r,"setInputRef",function(g){k4([r.props.inputRef,r.inputRef],g)}),ot(r,"isCountrySupportedWithError",function(g){var E=r.props.metadata;return fr(g,E)}),ot(r,"onCountryChange",function(g){var E=r.props,O=E.international,b=E.metadata,x=E.onChange,C=E.focusInputOnCountrySelection,A=r.state,j=A.phoneDigits,H=A.country,k=D4(j,{prevCountry:H,newCountry:g,metadata:b,useNationalFormat:!O}),F=qt(k,g,b);C&&r.inputRef.current.focus(),r.setState({country:g,latestCountrySelectedByUser:g,hasUserSelectedACountry:!0,phoneDigits:k,value:F},function(){x(F)})}),ot(r,"onChange",function(g){var E=r.props,O=E.defaultCountry,b=E.onChange,x=E.addInternationalOption,C=E.international,A=E.limitMaxLength,j=E.countryCallingCodeEditable,H=E.metadata,k=r.state,F=k.countries,D=k.phoneDigits,X=k.country,G=k.latestCountrySelectedByUser,B=W4(g,{prevPhoneDigits:D,country:X,countryRequired:!x,defaultCountry:O,latestCountrySelectedByUser:G,getAnyCountry:function(){return r.getFirstSupportedCountry({countries:F})},countries:F,international:C,limitMaxLength:A,countryCallingCodeEditable:j,metadata:H}),se=B.phoneDigits,de=B.country,ae=B.value,ie={phoneDigits:se,value:ae,country:de};G&&ae&&!Yt(ae,G,H)&&(ie.latestCountrySelectedByUser=void 0),j===!1&&!ae&&se===r.state.phoneDigits&&(ie.forceRerender={}),r.setState(ie,function(){return b(ae)})}),ot(r,"_onFocus",function(){return r.setState({isFocused:!0})}),ot(r,"_onBlur",function(){return r.setState({isFocused:!1})}),ot(r,"onFocus",function(g){r._onFocus();var E=r.props.onFocus;E&&E(g)}),ot(r,"onBlur",function(g){var E=r.props.onBlur;r._onBlur(),E&&E(g)}),ot(r,"onCountryFocus",function(g){r._onFocus();var E=r.props.countrySelectProps;if(E){var O=E.onFocus;O&&O(g)}}),ot(r,"onCountryBlur",function(g){r._onBlur();var E=r.props.countrySelectProps;if(E){var O=E.onBlur;O&&O(g)}}),r.inputRef=u.createRef();var i=r.props,o=i.value;i.labels;var a=i.international,d=i.addInternationalOption,l=i.displayInitialValueAsLocalNumber,s=i.initialValueFormat,f=i.metadata,v=r.props,m=v.defaultCountry,p=v.countries;m&&(r.isCountrySupportedWithError(m)||(m=void 0)),o&&Yl(o),p=Zl(p,f);var c=ns(o,f);r.CountryIcon=Jl(r.props);var h=M4({value:o,phoneNumber:c,defaultCountry:m,required:!d,countries:p||Bi(f),getAnyCountry:function(){return r.getFirstSupportedCountry({countries:p})},metadata:f});return r.state={props:r.props,country:h,countries:p,phoneDigits:as({value:o,phoneNumber:c,defaultCountry:m,international:a,useNationalFormat:l||s==="national",metadata:f}),value:o},r}return r6(n,e),Q4(n,[{key:"componentDidMount",value:function(){var r=this.props.onCountryChange,i=this.props.defaultCountry,o=this.state.country;r&&(i&&(this.isCountrySupportedWithError(i)||(i=void 0)),o!==i&&r(o))}},{key:"componentDidUpdate",value:function(r,i){var o=this.props.onCountryChange,a=this.state.country;o&&a!==i.country&&o(a)}},{key:"getCountrySelectOptions",value:function(r){var i=r.countries,o=this.props,a=o.international,d=o.countryCallingCodeEditable,l=o.countryOptionsOrder,s=o.addInternationalOption,f=o.labels,v=o.locales,m=o.metadata;return this.useMemoCountrySelectOptions(function(){return O4(L4({countries:i||Bi(m),countryNames:f,addInternationalOption:a&&d===!1?!1:s,compareStringsLocales:v}),P4(l,m))},[i,l,s,f,m])}},{key:"useMemoCountrySelectOptions",value:function(r,i){return(!this.countrySelectOptionsMemoDependencies||!d6(i,this.countrySelectOptionsMemoDependencies))&&(this.countrySelectOptionsMemo=r(),this.countrySelectOptionsMemoDependencies=i),this.countrySelectOptionsMemo}},{key:"getFirstSupportedCountry",value:function(r){var i=r.countries,o=this.getCountrySelectOptions({countries:i});return o[0].value}},{key:"render",value:function(){var r=this.props,i=r.name,o=r.disabled,a=r.readOnly,d=r.autoComplete,l=r.style,s=r.className;r.inputRef;var f=r.inputComponent,v=r.numberInputProps,m=r.smartCaret,p=r.countrySelectComponent,c=r.countrySelectProps,h=r.containerComponent,g=r.containerComponentProps;r.defaultCountry,r.countries,r.countryOptionsOrder;var E=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 O=r.metadata,b=r.international;r.locales;var x=X4(r,Y4),C=this.state,A=C.country,j=C.countries,H=C.phoneDigits,k=C.isFocused,F=m?t4:a4,D=this.getCountrySelectOptions({countries:j});return u.createElement(h,Zt({style:l,className:Qn(s,"PhoneInput",{"PhoneInput--focus":k,"PhoneInput--disabled":o,"PhoneInput--readOnly":a})},g),u.createElement(p,Zt({name:i?"".concat(i,"Country"):void 0,"aria-label":E.country},c,{value:A,options:D,onChange:this.onCountryChange,onFocus:this.onCountryFocus,onBlur:this.onCountryBlur,disabled:o||c&&c.disabled,readOnly:a||c&&c.readOnly,iconComponent:this.CountryIcon})),u.createElement(F,Zt({ref:this.setInputRef,type:"tel",autoComplete:d},v,x,{inputFormat:b===!0?"INTERNATIONAL":b===!1?"NATIONAL":"INTERNATIONAL_OR_NATIONAL",international:b?!0:void 0,withCountryCallingCode:b?!0:void 0,name:i,metadata:O,country:A,value:H||"",onChange:this.onChange,onFocus:this.onFocus,onBlur:this.onBlur,disabled:o,readOnly:a,inputComponent:f,className:Qn("PhoneInputInput",v&&v.className,x.className)})))}}],[{key:"getDerivedStateFromProps",value:function(r,i){return us({props:r},q4(r,i.props,i))}}])}(u.PureComponent),ms=u.forwardRef(function(e,n){return u.createElement(o6,Zt({},a6(e),{inputRef:n}))});ms.propTypes={value:V.string,onChange:V.func.isRequired,onFocus:V.func,onBlur:V.func,disabled:V.bool,readOnly:V.bool,autoComplete:V.string,initialValueFormat:V.oneOf(["national"]),displayInitialValueAsLocalNumber:V.bool,defaultCountry:V.string,countries:V.arrayOf(V.string),labels:ts,locales:V.oneOfType([V.string,V.arrayOf(V.string)]),flagUrl:V.string,flags:V.objectOf(V.elementType),flagComponent:V.elementType,addInternationalOption:V.bool,internationalIcon:V.elementType,countryOptionsOrder:V.arrayOf(V.string),style:V.object,className:V.string,countrySelectComponent:V.elementType,countrySelectProps:V.object,inputComponent:V.elementType,numberInputProps:V.object,containerComponent:V.elementType,containerComponentProps:V.object,smartCaret:V.bool,international:V.bool,limitMaxLength:V.bool,countryCallingCodeEditable:V.bool,metadata:es,onCountryChange:V.func,focusInputOnCountrySelection:V.bool};var hs={autoComplete:"tel",countrySelectComponent:Gl,flagComponent:Gi,flagUrl:"https://purecatamphetamine.github.io/country-flag-icons/3x2/{XX}.svg",internationalIcon:cr,inputComponent:"input",containerComponent:"div",reset:V.any,smartCaret:!0,addInternationalOption:!0,countryCallingCodeEditable:!0,focusInputOnCountrySelection:!0};function a6(e){e=us({},e);for(var n in hs)e[n]===void 0&&(e[n]=hs[n]);return e}function d6(e,n){if(e.length!==n.length)return!1;for(var t=0;t<e.length;){if(e[t]!==n[t])return!1;t++}return!0}const Jt={ext:"ext.",country:"Phone number country",phone:"Phone",AB:"Abkhazia",AC:"Ascension Island",AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AG:"Antigua and Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AQ:"Antarctica",AR:"Argentina",AS:"American Samoa",AT:"Austria",AU:"Australia",AW:"Aruba",AX:"Åland Islands",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"Saint Barthélemy",BM:"Bermuda",BN:"Brunei Darussalam",BO:"Bolivia",BQ:"Bonaire, Sint Eustatius and Saba",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BV:"Bouvet Island",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CC:"Cocos (Keeling) Islands",CD:"Congo, Democratic Republic of the",CF:"Central African Republic",CG:"Congo",CH:"Switzerland",CI:"Cote d'Ivoire",CK:"Cook Islands",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CW:"Curaçao",CX:"Christmas Island",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DJ:"Djibouti",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",EH:"Western Sahara",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FM:"Federated States of Micronesia",FO:"Faroe Islands",FR:"France",GA:"Gabon",GB:"United Kingdom",GD:"Grenada",GE:"Georgia",GF:"French Guiana",GG:"Guernsey",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe",GQ:"Equatorial Guinea",GR:"Greece",GS:"South Georgia and the South Sandwich Islands",GT:"Guatemala",GU:"Guam",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong",HM:"Heard Island and McDonald Islands",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IM:"Isle of Man",IN:"India",IO:"British Indian Ocean Territory",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JE:"Jersey",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KI:"Kiribati",KM:"Comoros",KN:"Saint Kitts and Nevis",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"Saint Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MF:"Saint Martin (French Part)",MG:"Madagascar",MH:"Marshall Islands",MK:"North Macedonia",ML:"Mali",MM:"Myanmar",MN:"Mongolia",MO:"Macao",MP:"Northern Mariana Islands",MQ:"Martinique",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldives",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NF:"Norfolk Island",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"New Zealand",OM:"Oman",OS:"South Ossetia",PA:"Panama",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PM:"Saint Pierre and Miquelon",PN:"Pitcairn",PR:"Puerto Rico",PS:"Palestine",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Qatar",RE:"Reunion",RO:"Romania",RS:"Serbia",RU:"Russia",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"Saint Helena",SI:"Slovenia",SJ:"Svalbard and Jan Mayen",SK:"Slovakia",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Suriname",SS:"South Sudan",ST:"Sao Tome and Principe",SV:"El Salvador",SX:"Sint Maarten",SY:"Syria",SZ:"Swaziland",TA:"Tristan da Cunha",TC:"Turks and Caicos Islands",TD:"Chad",TF:"French Southern Territories",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TK:"Tokelau",TL:"Timor-Leste",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Turkey",TT:"Trinidad and Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",UM:"United States Minor Outlying Islands",US:"United States",UY:"Uruguay",UZ:"Uzbekistan",VA:"Holy See (Vatican City State)",VC:"Saint Vincent and the Grenadines",VE:"Venezuela",VG:"Virgin Islands, British",VI:"Virgin Islands, U.S.",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis and Futuna",WS:"Samoa",XK:"Kosovo",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe",ZZ:"International"};var l6=["metadata","labels"];function Yi(){return Yi=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Yi.apply(this,arguments)}function s6(e,n){if(e==null)return{};var t=u6(e,n),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(n.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(t[r]=e[r])}return t}function u6(e,n){if(e==null)return{};var t={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(n.indexOf(i)>=0)&&(t[i]=e[i]);return t}function vs(e){var n=u.forwardRef(function(t,r){var i=t.metadata,o=i===void 0?e:i,a=t.labels,d=a===void 0?Jt:a,l=s6(t,l6);return u.createElement(ms,Yi({},l,{ref:r,metadata:o,labels:d}))});return n.propTypes={metadata:es,labels:ts},n}vs();function Xi(e,n){var t=Array.prototype.slice.call(n);return t.push(hd),e.apply(this,t)}vs(hd);function c6(){return Xi(B3,arguments)}function f6(){return Xi(Bi,arguments)}function Zi(){return Xi(ht,arguments)}const p6=({countryShortName:e,required:n=!1,themeColor:t="",onUpdate:r,placeholder:i="",error:o=!1,validate:a=!0,id:d="",phoneNumberValue:l="",countryCodeFromURL:s="",additionalClassName:f=""})=>{const[v,m]=u.useState(o),c=u.useRef(e&&e!=="001"?e:"US");u.useEffect(()=>{if(s){const k=O(s);k&&(x(k),c.current=s)}},[s]);const h=(k,F)=>JSON.stringify(k)===JSON.stringify(F),g=(k,F)=>Jt[k]<Jt[F]?-1:Jt[k]>Jt[F]?1:0,E=f6().sort(g).map(k=>({label:k+" +"+Zi(k),value:k})),O=k=>E.find(F=>F.value==k),[b,x]=u.useState(()=>{const k=O(c.current);return k||null}),C=k=>{c.current=k;const F=O(k);x(F),H(A.current)},A=u.useRef(l??""),j=k=>{const F=k.trim();if(F&&c.current){if(/^(\d)\1*$/.test(k.trim()))return!1;const G=`+${Zi(c.current)}${F}`;return c6(G)}return!0},H=(k,F=!1)=>{if(!a){const G={phoneNumber:k,countryCode:c.current,error:void 0,id:d,initialConsentChecked:F};r(G)}k=k.trim();const D=k?j(k)?void 0:"invalid":n?"required":void 0;m(!(!v&&D!==void 0));const X={phoneNumber:k,countryCode:c.current,error:D,id:d,initialConsentChecked:F};r(X)};return N.jsx(N.Fragment,{children:N.jsxs("div",{className:`${St.phoneWrapper} ${f?.trim()||""}`,"data-testid":"phone-wrapper",children:[N.jsx("div",{className:`${St.countryCode} ouiCountryCode`,children:N.jsx(ud,{selected:b,onSelect:C,"data-testid":"phone-select",themeColor:t,children:N.jsx("div",{className:`${St.phonNumberList} ouiPhonNumberList`,children:N.jsx(cd,{setQuery:()=>{},"data-testid":"phone-select-options",children:E.map(k=>N.jsx(fi,{disable:!1,value:k.value,className:({active:F})=>`${F||h(b,k)?St.active:""}`,"data-testid":`phone-select-option-${k.value}`,children:N.jsx("div",{className:`${St.countryListText} ouiCountryListText`,children:N.jsxs("span",{children:[Jt[k.value]," +",Zi(k.value)]})})},k.value))})})})}),N.jsx("div",{className:`${St.phoneInputWrap} ouiPhoneInputWrap`,children:N.jsx(md,{type:"text","aria-labelledby":"phone-number",placeholder:i,className:`${St.phoneInput} ${v&&a?St.serverError:""} ouiPhoneInput`,id:d,value:l??"",onBlur:k=>{A.current=k.target.value.trim()},onChange:k=>{A.current=k.target.value,H(A.current)},"data-testid":"phone-input",themeColor:t})})]})})},gs={progress:"_progress_1piqy_1","progress-bar":"_progress-bar_1piqy_9"},m6=({value:e,mode:n,strokeWidth:t=4,barColor:r="#1976d2",trackColor:i="rgba(25,118,210,0.3)"})=>{const o=n??(e!=null?"determinate":"indeterminate"),a=u.useMemo(()=>o==="determinate"&&e!=null?Math.max(0,Math.min(100,e)):0,[o,e]);return N.jsxs(N.Fragment,{children:[N.jsx("div",{className:gs.progress,role:"progressbar","aria-valuemin":o==="determinate"?0:void 0,"aria-valuemax":o==="determinate"?100:void 0,"aria-valuenow":o==="determinate"?a:void 0,style:{height:t,backgroundColor:i},children:N.jsx("div",{className:gs["progress-bar"],style:{height:t,width:o==="determinate"?`${a}%`:void 0,backgroundColor:r,animationName:o==="indeterminate"?"loading":void 0,left:o==="indeterminate"?-200:0}})}),N.jsx("style",{children:`
|
|
78
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function B9(e,n){if(e){if(typeof e=="string")return jl(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return jl(e,n)}}function jl(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function W9(e,n){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var r=[],i=!0,o=!1,a,d;try{for(t=t.call(e);!(i=(a=t.next()).done)&&(r.push(a.value),!(n&&r.length===n));i=!0);}catch(l){o=!0,d=l}finally{try{!i&&t.return!=null&&t.return()}finally{if(o)throw d}}return r}}function V9(e){if(Array.isArray(e))return e}function U9(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function H9(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function G9(e,n,t){return n&&H9(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var Kt=function(){function e(n,t){U9(this,e),this.metadata=new je(t);var r=this.getCountryAndCallingCode(n),i=D9(r,2),o=i[0],a=i[1];this.defaultCountry=o,this.defaultCallingCode=a,this.reset()}return G9(e,[{key:"getCountryAndCallingCode",value:function(t){var r,i;return t&&(Ft(t)?(r=t.defaultCountry,i=t.defaultCallingCode):r=t),r&&!this.metadata.hasCountry(r)&&(r=void 0),[r,i]}},{key:"input",value:function(t){var r=this.parser.input(t,this.state),i=r.digits,o=r.justLeadingPlus;if(o)this.formattedOutput="+";else if(i){this.determineTheCountryIfNeeded(),this.state.nationalSignificantNumber&&this.formatter.narrowDownMatchingFormats(this.state);var a;if(this.metadata.hasSelectedNumberingPlan()&&(a=this.formatter.format(i,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 t=this;return this.state=new H3({onCountryChange:function(i){t.country=i},onCallingCodeChange:function(i,o){t.metadata.selectNumberingPlan(o,i),t.formatter.reset(t.metadata.numberingPlan,t.state),t.parser.reset(t.metadata.numberingPlan)}}),this.formatter=new w9({state:this.state,metadata:this.metadata}),this.parser=new F9({defaultCountry:this.defaultCountry,defaultCallingCode:this.defaultCallingCode,metadata:this.metadata,state:this.state,onNationalSignificantNumberChange:function(){t.determineTheCountryIfNeeded(),t.formatter.reset(t.metadata.numberingPlan,t.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 t=this.state.digits;if(t)return this._getCountry()}},{key:"_getCountry",value:function(){var t=this.state.country;return t}},{key:"determineTheCountryIfNeeded",value:function(){(!this.state.country||this.isCountryCallingCodeAmbiguous())&&this.determineTheCountry()}},{key:"getFullNumber",value:function(t){var r=this;if(this.isInternational()){var i=function(d){return r.formatter.getInternationalPrefixBeforeCountryCallingCode(r.state,{spacing:!!d})+d},o=this.state.callingCode;return i(o?t?"".concat(o," ").concat(t):o:"".concat(this.state.getDigitsWithoutInternationalPrefix()))}return t}},{key:"getNonFormattedNationalNumberWithPrefix",value:function(){var t=this.state,r=t.nationalSignificantNumber,i=t.complexPrefixBeforeNationalSignificantNumber,o=t.nationalPrefix,a=r,d=i||o;return d&&(a=d+a),a}},{key:"getNonFormattedNumber",value:function(){var t=this.state.nationalSignificantNumberMatchesInput;return this.getFullNumber(t?this.getNonFormattedNationalNumberWithPrefix():this.state.getNationalDigits())}},{key:"getNonFormattedTemplate",value:function(){var t=this.getNonFormattedNumber();if(t)return t.replace(/[\+\d]/g,it)}},{key:"isCountryCallingCodeAmbiguous",value:function(){var t=this.state.callingCode,r=this.metadata.getCountryCodesForCallingCode(t);return r&&r.length>1}},{key:"determineTheCountry",value:function(){this.state.setCountry(pl(this.isInternational()?this.state.callingCode:this.defaultCallingCode,{nationalNumber:this.state.nationalSignificantNumber,defaultCountry:this.defaultCountry,metadata:this.metadata}))}},{key:"getNumberValue",value:function(){var t=this.state,r=t.digits,i=t.callingCode,o=t.country,a=t.nationalSignificantNumber;if(r){if(this.isInternational())return i?"+"+i+a:"+"+r;if(o||i){var d=o?this.metadata.countryCallingCode():i;return"+"+d+a}}}},{key:"getNumber",value:function(){var t=this.state,r=t.nationalSignificantNumber,i=t.carrierCode,o=t.callingCode,a=this._getCountry();if(r&&!(!a&&!o)){if(a&&a===this.defaultCountry){var d=new je(this.metadata.metadata);d.selectNumberingPlan(a);var l=d.numberingPlan.callingCode(),s=this.metadata.getCountryCodesForCallingCode(l);if(s.length>1){var f=fl(r,{countries:s,defaultCountry:this.defaultCountry,metadata:this.metadata.metadata});f&&(a=f)}}var g=new rl(a||o,r,this.metadata.metadata);return i&&(g.carrierCode=i),g}}},{key:"isPossible",value:function(){var t=this.getNumber();return t?t.isPossible():!1}},{key:"isValid",value:function(){var t=this.getNumber();return t?t.isValid():!1}},{key:"getNationalNumber",value:function(){return this.state.nationalSignificantNumber}},{key:"getChars",value:function(){return(this.state.international?"+":"")+this.state.digits}},{key:"getTemplate",value:function(){return this.formatter.getTemplate(this.state)||this.getNonFormattedTemplate()||""}}]),e}();function Bi(e){return new je(e).getCountries()}function z9(e,n,t){return t||(t=n,n=void 0),new Kt(n,t).input(e)}function Dl(e){var n=e.inputFormat,t=e.country,r=e.metadata;return n==="NATIONAL_PART_OF_INTERNATIONAL"?"+".concat(ht(t,r)):""}function Wi(e,n){return n&&(e=e.slice(n.length),e[0]===" "&&(e=e.slice(1))),e}function K9(e,n,t){if(!(t&&t.ignoreRest)){var r=function(o){if(t)switch(o){case"end":t.ignoreRest=!0;break}};return ul(e,n,r)}}function Rl(e){var n=e.onKeyDown,t=e.inputFormat;return u.useCallback(function(r){if(r.keyCode===Y9&&t==="INTERNATIONAL"&&r.target instanceof HTMLInputElement&&q9(r.target)===X9.length){r.preventDefault();return}n&&n(r)},[n,t])}function q9(e){return e.selectionStart}var Y9=8,X9="+",Z9=["onKeyDown","country","inputFormat","metadata","international","withCountryCallingCode"];function Vi(){return Vi=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Vi.apply(this,arguments)}function J9(e,n){if(e==null)return{};var t=Q9(e,n),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(n.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(t[r]=e[r])}return t}function Q9(e,n){if(e==null)return{};var t={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(n.indexOf(i)>=0)&&(t[i]=e[i]);return t}function e4(e){function n(t,r){var i=t.onKeyDown,o=t.country,a=t.inputFormat,d=t.metadata,l=d===void 0?e:d;t.international,t.withCountryCallingCode;var s=J9(t,Z9),f=u.useCallback(function(m){var p=new Kt(o,l),c=Dl({inputFormat:a,country:o,metadata:l}),h=p.input(c+m),v=p.getTemplate();return c&&(h=Wi(h,c),v&&(v=Wi(v,c))),{text:h,template:v}},[o,l]),g=Rl({onKeyDown:i,inputFormat:a});return u.createElement(er,Vi({},s,{ref:r,parse:K9,format:f,onKeyDown:g}))}return n=u.forwardRef(n),n.propTypes={value:V.string.isRequired,onChange:V.func.isRequired,onKeyDown:V.func,country:V.string,inputFormat:V.oneOf(["INTERNATIONAL","NATIONAL_PART_OF_INTERNATIONAL","NATIONAL","INTERNATIONAL_OR_NATIONAL"]).isRequired,metadata:V.object},n}const t4=e4();var n4=["value","onChange","onKeyDown","country","inputFormat","metadata","inputComponent","international","withCountryCallingCode"];function Ui(){return Ui=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Ui.apply(this,arguments)}function r4(e,n){if(e==null)return{};var t=i4(e,n),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(n.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(t[r]=e[r])}return t}function i4(e,n){if(e==null)return{};var t={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(n.indexOf(i)>=0)&&(t[i]=e[i]);return t}function o4(e){function n(t,r){var i=t.value,o=t.onChange,a=t.onKeyDown,d=t.country,l=t.inputFormat,s=t.metadata,f=s===void 0?e:s,g=t.inputComponent,m=g===void 0?"input":g;t.international,t.withCountryCallingCode;var p=r4(t,n4),c=Dl({inputFormat:l,country:d,metadata:f}),h=u.useCallback(function(E){var O=ki(E.target.value);if(O===i){var b=Bl(c,O,d,f);b.indexOf(E.target.value)===0&&(O=O.slice(0,-1))}o(O)},[c,i,o,d,f]),v=Rl({onKeyDown:a,inputFormat:l});return u.createElement(m,Ui({},p,{ref:r,value:Bl(c,i,d,f),onChange:h,onKeyDown:v}))}return n=u.forwardRef(n),n.propTypes={value:V.string.isRequired,onChange:V.func.isRequired,onKeyDown:V.func,country:V.string,inputFormat:V.oneOf(["INTERNATIONAL","NATIONAL_PART_OF_INTERNATIONAL","NATIONAL","INTERNATIONAL_OR_NATIONAL"]).isRequired,metadata:V.object,inputComponent:V.elementType},n}const a4=o4();function Bl(e,n,t,r){return Wi(z9(e+n,t,r),e)}function d4(e){return Wl(e[0])+Wl(e[1])}function Wl(e){return String.fromCodePoint(127397+e.toUpperCase().charCodeAt(0))}var l4=["value","onChange","options","disabled","readOnly"],s4=["value","options","className","iconComponent","getIconAspectRatio","arrowComponent","unicodeFlags"];function u4(e,n){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=c4(e))||n){t&&(e=t);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 c4(e,n){if(e){if(typeof e=="string")return Vl(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Vl(e,n)}}function Vl(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function sr(){return sr=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},sr.apply(this,arguments)}function Ul(e,n){if(e==null)return{};var t=f4(e,n),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(n.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(t[r]=e[r])}return t}function f4(e,n){if(e==null)return{};var t={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(n.indexOf(i)>=0)&&(t[i]=e[i]);return t}function Hl(e){var n=e.value,t=e.onChange,r=e.options,i=e.disabled,o=e.readOnly,a=Ul(e,l4),d=u.useCallback(function(l){var s=l.target.value;t(s==="ZZ"?void 0:s)},[t]);return u.useMemo(function(){return zl(r,n)},[r,n]),u.createElement("select",sr({},a,{disabled:i||o,readOnly:o,value:n||"ZZ",onChange:d}),r.map(function(l){var s=l.value,f=l.label,g=l.divider;return u.createElement("option",{key:g?"|":s||"ZZ",value:g?"|":s||"ZZ",disabled:!!g,style:g?p4:void 0},f)}))}Hl.propTypes={value:V.string,onChange:V.func.isRequired,options:V.arrayOf(V.shape({value:V.string,label:V.string,divider:V.bool})).isRequired,disabled:V.bool,readOnly:V.bool};var p4={fontSize:"1px",backgroundColor:"currentColor",color:"inherit"};function Gl(e){var n=e.value,t=e.options,r=e.className,i=e.iconComponent;e.getIconAspectRatio;var o=e.arrowComponent,a=o===void 0?m4:o,d=e.unicodeFlags,l=Ul(e,s4),s=u.useMemo(function(){return zl(t,n)},[t,n]);return u.createElement("div",{className:"PhoneInputCountry"},u.createElement(Hl,sr({},l,{value:n,options:t,className:Qn("PhoneInputCountrySelect",r)})),s&&(d&&n?u.createElement("div",{className:"PhoneInputCountryIconUnicode"},d4(n)):u.createElement(i,{"aria-hidden":!0,country:n,label:s.label,aspectRatio:d?1:void 0})),u.createElement(a,null))}Gl.propTypes={iconComponent:V.elementType,arrowComponent:V.elementType,unicodeFlags:V.bool};function m4(){return u.createElement("div",{className:"PhoneInputCountrySelectArrow"})}function zl(e,n){for(var t=u4(e),r;!(r=t()).done;){var i=r.value;if(!i.divider&&h4(i.value,n))return i}}function h4(e,n){return e==null?n==null:e===n}var g4=["country","countryName","flags","flagUrl"];function Hi(){return Hi=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Hi.apply(this,arguments)}function v4(e,n){if(e==null)return{};var t=$4(e,n),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(n.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(t[r]=e[r])}return t}function $4(e,n){if(e==null)return{};var t={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(n.indexOf(i)>=0)&&(t[i]=e[i]);return t}function Gi(e){var n=e.country,t=e.countryName,r=e.flags,i=e.flagUrl,o=v4(e,g4);return r&&r[n]?r[n]({title:t}):u.createElement("img",Hi({},o,{alt:t,role:t?void 0:"presentation",src:i.replace("{XX}",n).replace("{xx}",n.toLowerCase())}))}Gi.propTypes={country:V.string.isRequired,countryName:V.string.isRequired,flags:V.objectOf(V.elementType),flagUrl:V.string.isRequired};var b4=["aspectRatio"],y4=["title"],w4=["title"];function ur(){return ur=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},ur.apply(this,arguments)}function zi(e,n){if(e==null)return{};var t=x4(e,n),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(n.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(t[r]=e[r])}return t}function x4(e,n){if(e==null)return{};var t={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(n.indexOf(i)>=0)&&(t[i]=e[i]);return t}function cr(e){var n=e.aspectRatio,t=zi(e,b4);return n===1?u.createElement(ql,t):u.createElement(Kl,t)}cr.propTypes={title:V.string.isRequired,aspectRatio:V.number};function Kl(e){var n=e.title,t=zi(e,y4);return u.createElement("svg",ur({},t,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 75 50"}),u.createElement("title",null,n),u.createElement("g",{className:"PhoneInputInternationalIconGlobe",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeMiterlimit:"10"},u.createElement("path",{strokeLinecap:"round",d:"M47.2,36.1C48.1,36,49,36,50,36c7.4,0,14,1.7,18.5,4.3"}),u.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"}),u.createElement("line",{x1:"26",y1:"25",x2:"74",y2:"25"}),u.createElement("line",{x1:"50",y1:"1",x2:"50",y2:"49"}),u.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"}),u.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"})),u.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"}))}Kl.propTypes={title:V.string.isRequired};function ql(e){var n=e.title,t=zi(e,w4);return u.createElement("svg",ur({},t,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"}),u.createElement("title",null,n),u.createElement("g",{className:"PhoneInputInternationalIconGlobe",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeLinecap:"round"},u.createElement("path",{d:"M8.45,13A21.44,21.44,0,1,1,37.08,41.56"}),u.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"}),u.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"}),u.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"}),u.createElement("line",{x1:"27.8",y1:"0.85",x2:"27.8",y2:"34.61"}),u.createElement("line",{x1:"15.2",y1:"22.23",x2:"49.15",y2:"22.23"})),u.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"}))}ql.propTypes={title:V.string.isRequired};function C4(e){if(e.length<2||e[0]!=="+")return!1;for(var n=1;n<e.length;){var t=e.charCodeAt(n);if(!(t>=48&&t<=57))return!1;n++}return!0}function Yl(e){C4(e)||console.error("[react-phone-number-input] Expected the initial `value` to be a E.164 phone number. Got",e)}function E4(e,n){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=S4(e))||n){t&&(e=t);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.
|
|
80
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function S4(e,n){if(e){if(typeof e=="string")return Xl(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Xl(e,n)}}function Xl(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function O4(e,n){if(!n)return e;for(var t=[],r=[],i=t,o=function(){var s=d.value;if(s==="|")i.push({divider:!0});else if(s==="..."||s==="…")i=r;else{var f;s==="🌐"?f=void 0:f=s;var g=e.indexOf(e.filter(function(p){return p.value===f})[0]),m=e[g];e.splice(g,1),i.push(m)}},a=E4(n),d;!(d=a()).done;)o();return t.concat(e).concat(r)}function P4(e,n){if(e&&(e=e.filter(function(t){switch(t){case"🌐":case"|":case"...":case"…":return!0;default:return fr(t,n)}}),e.length>0))return e}function fr(e,n){return Wd(e,n)?!0:(console.error("Country not found: ".concat(e)),!1)}function Zl(e,n){return e&&(e=e.filter(function(t){return fr(t,n)}),e.length===0&&(e=void 0)),e}var T4=["country","label","aspectRatio"];function Ki(){return Ki=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Ki.apply(this,arguments)}function I4(e,n){if(e==null)return{};var t=N4(e,n),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(n.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(t[r]=e[r])}return t}function N4(e,n){if(e==null)return{};var t={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(n.indexOf(i)>=0)&&(t[i]=e[i]);return t}function Jl(e){var n=e.flags,t=e.flagUrl,r=e.flagComponent,i=e.internationalIcon;function o(a){var d=a.country,l=a.label,s=a.aspectRatio,f=I4(a,T4),g=i===cr?s:void 0;return u.createElement("div",Ki({},f,{className:Qn("PhoneInputCountryIcon",{"PhoneInputCountryIcon--square":g===1,"PhoneInputCountryIcon--border":d})}),d?u.createElement(r,{country:d,countryName:l,flags:n,flagUrl:t,className:"PhoneInputCountryIconImg"}):u.createElement(i,{title:l,aspectRatio:g,className:"PhoneInputCountryIconImg"}))}return o.propTypes={country:V.string,label:V.string.isRequired,aspectRatio:V.number},o}Jl({flagUrl:"https://purecatamphetamine.github.io/country-flag-icons/3x2/{XX}.svg",flagComponent:Gi,internationalIcon:cr});function _4(e,n){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=A4(e))||n){t&&(e=t);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.
|
|
81
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function A4(e,n){if(e){if(typeof e=="string")return Ql(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Ql(e,n)}}function Ql(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function k4(e,n){for(var t=_4(e),r;!(r=t()).done;){var i=r.value;i&&F4(i,n)}}function F4(e,n){typeof e=="function"?e(n):e.current=n}var es=V.shape({country_calling_codes:V.object.isRequired,countries:V.object.isRequired}),ts=V.objectOf(V.string);function $t(e,n){var t="+"+ht(e,n);return t}function M4(e){var n=e.value,t=e.phoneNumber,r=e.defaultCountry,i=e.getAnyCountry,o=e.countries,a=e.required,d=e.metadata,l;return t&&t.country?l=t.country:r&&(!n||Yt(n,r,d))&&(l=r),o&&o.indexOf(l)<0&&(l=void 0),!l&&a&&o&&o.length>0&&(l=i()),l}function L4(e){var n=e.countries,t=e.countryNames,r=e.addInternationalOption,i=e.compareStringsLocales,o=e.compareStrings;o||(o=U4);var a=n.map(function(d){return{value:d,label:t[d]||d}});return a.sort(function(d,l){return o(d.label,l.label,i)}),r&&a.unshift({label:t.ZZ}),a}function ns(e,n){return D3(e||"",n)}function j4(e){return e.formatNational().replace(/\D/g,"")}function D4(e,n){var t=n.prevCountry,r=n.newCountry,i=n.metadata,o=n.useNationalFormat;if(t===r)return e;if(!e)return o?"":r?$t(r,i):"";if(r){if(e[0]==="+"){if(o)return e.indexOf("+"+ht(r,i))===0?H4(e,r,i):"";if(t){var a=$t(r,i);return e.indexOf(a)===0?e:a}else{var d=$t(r,i);return e.indexOf(d)===0?e:d}}}else if(e[0]!=="+")return qt(e,t,i)||"";return e}function qt(e,n,t){if(e){if(e[0]==="+"){if(e==="+")return;var r=new Kt(n,t);return r.input(e),r.getNumberValue()}if(n){var i=os(e,n,t);return"+".concat(ht(n,t)).concat(i||"")}}}function R4(e,n,t){var r=os(e,n,t);if(r){var i=r.length-B4(n,t);if(i>0)return e.slice(0,e.length-i)}return e}function B4(e,n){return n=new je(n),n.selectNumberingPlan(e),n.numberingPlan.possibleLengths()[n.numberingPlan.possibleLengths().length-1]}function rs(e,n){var t=n.country,r=n.countries,i=n.defaultCountry,o=n.latestCountrySelectedByUser,a=n.required,d=n.metadata;if(e==="+")return t;var l=V4(e,d);if(l)return!r||r.indexOf(l)>=0?l:void 0;if(t){if(Yt(e,t,d)){if(o&&Yt(e,o,d))return o;if(i&&Yt(e,i,d))return i;if(!a)return}else if(!a)return}return t}function W4(e,n){var t=n.prevPhoneDigits,r=n.country,i=n.defaultCountry,o=n.latestCountrySelectedByUser,a=n.countryRequired,d=n.getAnyCountry,l=n.countries,s=n.international,f=n.limitMaxLength,g=n.countryCallingCodeEditable,m=n.metadata;if(s&&g===!1&&r){var p=$t(r,m);if(e.indexOf(p)!==0){var c,h=e&&e[0]!=="+";return h?(e=p+e,c=qt(e,r,m)):e=p,{phoneDigits:e,value:c,country:r}}}s===!1&&r&&e&&e[0]==="+"&&(e=is(e,r,m)),e&&r&&f&&(e=R4(e,r,m)),e&&e[0]!=="+"&&(!r||s)&&(e="+"+e),!e&&t&&t[0]==="+"&&(s?r=void 0:r=i),e==="+"&&t&&t[0]==="+"&&t.length>1&&(r=void 0);var v;return e&&(e[0]==="+"&&(e==="+"||r&&$t(r,m).indexOf(e)===0)?v=void 0:v=qt(e,r,m)),v&&(r=rs(v,{country:r,countries:l,defaultCountry:i,latestCountrySelectedByUser:o,required:!1,metadata:m}),s===!1&&r&&e&&e[0]==="+"&&(e=is(e,r,m),v=qt(e,r,m))),!r&&a&&(r=i||d()),{phoneDigits:e,country:r,value:v}}function is(e,n,t){if(e.indexOf($t(n,t))===0){var r=new Kt(n,t);r.input(e);var i=r.getNumber();return i?i.formatNational().replace(/\D/g,""):""}else return e.replace(/\D/g,"")}function V4(e,n){var t=new Kt(null,n);return t.input(e),t.getCountry()}function U4(e,n,t){return String.prototype.localeCompare?e.localeCompare(n,t):e<n?-1:e>n?1:0}function H4(e,n,t){if(n){var r="+"+ht(n,t);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,o=Object.keys(t.country_calling_codes);i<o.length;i++){var a=o[i];if(e.indexOf(a)===1)return e.slice(1+a.length)}return""}function os(e,n,t){var r=new Kt(n,t);r.input(e);var i=r.getNumber();return i&&i.nationalNumber}function Yt(e,n,t){for(var r=$t(n,t),i=0;i<e.length&&i<r.length;){if(e[i]!==r[i])return!1;i++}return!0}function as(e){var n=e.value,t=e.phoneNumber,r=e.defaultCountry,i=e.international,o=e.useNationalFormat,a=e.metadata;return(i===!1||o)&&t&&t.country?j4(t):!n&&i&&r?$t(r,a):n}function Cn(e){"@babel/helpers - typeof";return Cn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Cn(e)}function ds(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,r)}return t}function pr(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?ds(Object(t),!0).forEach(function(r){G4(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ds(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function G4(e,n,t){return n=z4(n),n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function z4(e){var n=K4(e,"string");return Cn(n)=="symbol"?n:n+""}function K4(e,n){if(Cn(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var r=t.call(e,n);if(Cn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(e)}function q4(e,n,t){var r=e.metadata,i=e.countries,o=e.defaultCountry,a=e.value,d=e.reset,l=e.international,s=e.displayInitialValueAsLocalNumber,f=e.initialValueFormat,g=n.defaultCountry,m=n.value,p=n.reset;t.country;var c=t.value,h=t.hasUserSelectedACountry,v=t.latestCountrySelectedByUser,E=function(D){return as(pr(pr({},D),{},{international:l,useNationalFormat:s||f==="national",metadata:r}))};if(d!==p)return{phoneDigits:E({value:void 0,defaultCountry:o}),value:void 0,country:o,latestCountrySelectedByUser:void 0,hasUserSelectedACountry:void 0};if(o!==g){var O=!o||fr(o,r),b=!c||l&&c===E({value:void 0,defaultCountry:g}),x=!a&&b;if(!h&&O&&x)return{country:o,phoneDigits:E({value:void 0,defaultCountry:o}),value:void 0}}if(!ls(a,m)&&!ls(a,c)){var C,A;if(a){a&&Yl(a),C=ns(a,r);var j=Zl(i,r);C&&C.country?(!j||j.indexOf(C.country)>=0)&&(A=C.country):(A=rs(a,{country:void 0,countries:j,metadata:r}),A||o&&a.indexOf($t(o,r))===0&&(A=o))}var H;if(a){if(v){var k=A?v===A:Yt(a,v,r);k?A||(A=v):H={latestCountrySelectedByUser:void 0}}}else H={latestCountrySelectedByUser:void 0,hasUserSelectedACountry:void 0};return pr(pr({},H),{},{phoneDigits:E({phoneNumber:C,value:a,defaultCountry:o}),value:a,country:a?A:o})}}function ls(e,n){return e===null&&(e=void 0),n===null&&(n=void 0),e===n}var Y4=["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 Xt(e){"@babel/helpers - typeof";return Xt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Xt(e)}function ss(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,r)}return t}function us(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?ss(Object(t),!0).forEach(function(r){ot(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ss(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function Zt(){return Zt=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Zt.apply(this,arguments)}function X4(e,n){if(e==null)return{};var t=Z4(e,n),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(n.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(t[r]=e[r])}return t}function Z4(e,n){if(e==null)return{};var t={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(n.indexOf(i)>=0)&&(t[i]=e[i]);return t}function J4(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function cs(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ps(r.key),r)}}function Q4(e,n,t){return n&&cs(e.prototype,n),t&&cs(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function e6(e,n,t){return n=mr(n),t6(e,fs()?Reflect.construct(n,t||[],mr(e).constructor):n.apply(e,t))}function t6(e,n){if(n&&(Xt(n)==="object"||typeof n=="function"))return n;if(n!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return n6(e)}function n6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fs(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(fs=function(){return!!e})()}function mr(e){return mr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},mr(e)}function r6(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&qi(e,n)}function qi(e,n){return qi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},qi(e,n)}function ot(e,n,t){return n=ps(n),n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function ps(e){var n=i6(e,"string");return Xt(n)=="symbol"?n:n+""}function i6(e,n){if(Xt(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var r=t.call(e,n);if(Xt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(e)}var o6=function(e){function n(t){var r;J4(this,n),r=e6(this,n,[t]),ot(r,"setInputRef",function(v){k4([r.props.inputRef,r.inputRef],v)}),ot(r,"isCountrySupportedWithError",function(v){var E=r.props.metadata;return fr(v,E)}),ot(r,"onCountryChange",function(v){var E=r.props,O=E.international,b=E.metadata,x=E.onChange,C=E.focusInputOnCountrySelection,A=r.state,j=A.phoneDigits,H=A.country,k=D4(j,{prevCountry:H,newCountry:v,metadata:b,useNationalFormat:!O}),F=qt(k,v,b);C&&r.inputRef.current.focus(),r.setState({country:v,latestCountrySelectedByUser:v,hasUserSelectedACountry:!0,phoneDigits:k,value:F},function(){x(F)})}),ot(r,"onChange",function(v){var E=r.props,O=E.defaultCountry,b=E.onChange,x=E.addInternationalOption,C=E.international,A=E.limitMaxLength,j=E.countryCallingCodeEditable,H=E.metadata,k=r.state,F=k.countries,D=k.phoneDigits,X=k.country,G=k.latestCountrySelectedByUser,B=W4(v,{prevPhoneDigits:D,country:X,countryRequired:!x,defaultCountry:O,latestCountrySelectedByUser:G,getAnyCountry:function(){return r.getFirstSupportedCountry({countries:F})},countries:F,international:C,limitMaxLength:A,countryCallingCodeEditable:j,metadata:H}),se=B.phoneDigits,de=B.country,ae=B.value,ie={phoneDigits:se,value:ae,country:de};G&&ae&&!Yt(ae,G,H)&&(ie.latestCountrySelectedByUser=void 0),j===!1&&!ae&&se===r.state.phoneDigits&&(ie.forceRerender={}),r.setState(ie,function(){return b(ae)})}),ot(r,"_onFocus",function(){return r.setState({isFocused:!0})}),ot(r,"_onBlur",function(){return r.setState({isFocused:!1})}),ot(r,"onFocus",function(v){r._onFocus();var E=r.props.onFocus;E&&E(v)}),ot(r,"onBlur",function(v){var E=r.props.onBlur;r._onBlur(),E&&E(v)}),ot(r,"onCountryFocus",function(v){r._onFocus();var E=r.props.countrySelectProps;if(E){var O=E.onFocus;O&&O(v)}}),ot(r,"onCountryBlur",function(v){r._onBlur();var E=r.props.countrySelectProps;if(E){var O=E.onBlur;O&&O(v)}}),r.inputRef=u.createRef();var i=r.props,o=i.value;i.labels;var a=i.international,d=i.addInternationalOption,l=i.displayInitialValueAsLocalNumber,s=i.initialValueFormat,f=i.metadata,g=r.props,m=g.defaultCountry,p=g.countries;m&&(r.isCountrySupportedWithError(m)||(m=void 0)),o&&Yl(o),p=Zl(p,f);var c=ns(o,f);r.CountryIcon=Jl(r.props);var h=M4({value:o,phoneNumber:c,defaultCountry:m,required:!d,countries:p||Bi(f),getAnyCountry:function(){return r.getFirstSupportedCountry({countries:p})},metadata:f});return r.state={props:r.props,country:h,countries:p,phoneDigits:as({value:o,phoneNumber:c,defaultCountry:m,international:a,useNationalFormat:l||s==="national",metadata:f}),value:o},r}return r6(n,e),Q4(n,[{key:"componentDidMount",value:function(){var r=this.props.onCountryChange,i=this.props.defaultCountry,o=this.state.country;r&&(i&&(this.isCountrySupportedWithError(i)||(i=void 0)),o!==i&&r(o))}},{key:"componentDidUpdate",value:function(r,i){var o=this.props.onCountryChange,a=this.state.country;o&&a!==i.country&&o(a)}},{key:"getCountrySelectOptions",value:function(r){var i=r.countries,o=this.props,a=o.international,d=o.countryCallingCodeEditable,l=o.countryOptionsOrder,s=o.addInternationalOption,f=o.labels,g=o.locales,m=o.metadata;return this.useMemoCountrySelectOptions(function(){return O4(L4({countries:i||Bi(m),countryNames:f,addInternationalOption:a&&d===!1?!1:s,compareStringsLocales:g}),P4(l,m))},[i,l,s,f,m])}},{key:"useMemoCountrySelectOptions",value:function(r,i){return(!this.countrySelectOptionsMemoDependencies||!d6(i,this.countrySelectOptionsMemoDependencies))&&(this.countrySelectOptionsMemo=r(),this.countrySelectOptionsMemoDependencies=i),this.countrySelectOptionsMemo}},{key:"getFirstSupportedCountry",value:function(r){var i=r.countries,o=this.getCountrySelectOptions({countries:i});return o[0].value}},{key:"render",value:function(){var r=this.props,i=r.name,o=r.disabled,a=r.readOnly,d=r.autoComplete,l=r.style,s=r.className;r.inputRef;var f=r.inputComponent,g=r.numberInputProps,m=r.smartCaret,p=r.countrySelectComponent,c=r.countrySelectProps,h=r.containerComponent,v=r.containerComponentProps;r.defaultCountry,r.countries,r.countryOptionsOrder;var E=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 O=r.metadata,b=r.international;r.locales;var x=X4(r,Y4),C=this.state,A=C.country,j=C.countries,H=C.phoneDigits,k=C.isFocused,F=m?t4:a4,D=this.getCountrySelectOptions({countries:j});return u.createElement(h,Zt({style:l,className:Qn(s,"PhoneInput",{"PhoneInput--focus":k,"PhoneInput--disabled":o,"PhoneInput--readOnly":a})},v),u.createElement(p,Zt({name:i?"".concat(i,"Country"):void 0,"aria-label":E.country},c,{value:A,options:D,onChange:this.onCountryChange,onFocus:this.onCountryFocus,onBlur:this.onCountryBlur,disabled:o||c&&c.disabled,readOnly:a||c&&c.readOnly,iconComponent:this.CountryIcon})),u.createElement(F,Zt({ref:this.setInputRef,type:"tel",autoComplete:d},g,x,{inputFormat:b===!0?"INTERNATIONAL":b===!1?"NATIONAL":"INTERNATIONAL_OR_NATIONAL",international:b?!0:void 0,withCountryCallingCode:b?!0:void 0,name:i,metadata:O,country:A,value:H||"",onChange:this.onChange,onFocus:this.onFocus,onBlur:this.onBlur,disabled:o,readOnly:a,inputComponent:f,className:Qn("PhoneInputInput",g&&g.className,x.className)})))}}],[{key:"getDerivedStateFromProps",value:function(r,i){return us({props:r},q4(r,i.props,i))}}])}(u.PureComponent),ms=u.forwardRef(function(e,n){return u.createElement(o6,Zt({},a6(e),{inputRef:n}))});ms.propTypes={value:V.string,onChange:V.func.isRequired,onFocus:V.func,onBlur:V.func,disabled:V.bool,readOnly:V.bool,autoComplete:V.string,initialValueFormat:V.oneOf(["national"]),displayInitialValueAsLocalNumber:V.bool,defaultCountry:V.string,countries:V.arrayOf(V.string),labels:ts,locales:V.oneOfType([V.string,V.arrayOf(V.string)]),flagUrl:V.string,flags:V.objectOf(V.elementType),flagComponent:V.elementType,addInternationalOption:V.bool,internationalIcon:V.elementType,countryOptionsOrder:V.arrayOf(V.string),style:V.object,className:V.string,countrySelectComponent:V.elementType,countrySelectProps:V.object,inputComponent:V.elementType,numberInputProps:V.object,containerComponent:V.elementType,containerComponentProps:V.object,smartCaret:V.bool,international:V.bool,limitMaxLength:V.bool,countryCallingCodeEditable:V.bool,metadata:es,onCountryChange:V.func,focusInputOnCountrySelection:V.bool};var hs={autoComplete:"tel",countrySelectComponent:Gl,flagComponent:Gi,flagUrl:"https://purecatamphetamine.github.io/country-flag-icons/3x2/{XX}.svg",internationalIcon:cr,inputComponent:"input",containerComponent:"div",reset:V.any,smartCaret:!0,addInternationalOption:!0,countryCallingCodeEditable:!0,focusInputOnCountrySelection:!0};function a6(e){e=us({},e);for(var n in hs)e[n]===void 0&&(e[n]=hs[n]);return e}function d6(e,n){if(e.length!==n.length)return!1;for(var t=0;t<e.length;){if(e[t]!==n[t])return!1;t++}return!0}const Jt={ext:"ext.",country:"Phone number country",phone:"Phone",AB:"Abkhazia",AC:"Ascension Island",AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AG:"Antigua and Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AQ:"Antarctica",AR:"Argentina",AS:"American Samoa",AT:"Austria",AU:"Australia",AW:"Aruba",AX:"Åland Islands",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"Saint Barthélemy",BM:"Bermuda",BN:"Brunei Darussalam",BO:"Bolivia",BQ:"Bonaire, Sint Eustatius and Saba",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BV:"Bouvet Island",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CC:"Cocos (Keeling) Islands",CD:"Congo, Democratic Republic of the",CF:"Central African Republic",CG:"Congo",CH:"Switzerland",CI:"Cote d'Ivoire",CK:"Cook Islands",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CW:"Curaçao",CX:"Christmas Island",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DJ:"Djibouti",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",EH:"Western Sahara",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FM:"Federated States of Micronesia",FO:"Faroe Islands",FR:"France",GA:"Gabon",GB:"United Kingdom",GD:"Grenada",GE:"Georgia",GF:"French Guiana",GG:"Guernsey",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe",GQ:"Equatorial Guinea",GR:"Greece",GS:"South Georgia and the South Sandwich Islands",GT:"Guatemala",GU:"Guam",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong",HM:"Heard Island and McDonald Islands",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IM:"Isle of Man",IN:"India",IO:"British Indian Ocean Territory",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JE:"Jersey",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KI:"Kiribati",KM:"Comoros",KN:"Saint Kitts and Nevis",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"Saint Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MF:"Saint Martin (French Part)",MG:"Madagascar",MH:"Marshall Islands",MK:"North Macedonia",ML:"Mali",MM:"Myanmar",MN:"Mongolia",MO:"Macao",MP:"Northern Mariana Islands",MQ:"Martinique",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldives",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NF:"Norfolk Island",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"New Zealand",OM:"Oman",OS:"South Ossetia",PA:"Panama",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PM:"Saint Pierre and Miquelon",PN:"Pitcairn",PR:"Puerto Rico",PS:"Palestine",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Qatar",RE:"Reunion",RO:"Romania",RS:"Serbia",RU:"Russia",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"Saint Helena",SI:"Slovenia",SJ:"Svalbard and Jan Mayen",SK:"Slovakia",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Suriname",SS:"South Sudan",ST:"Sao Tome and Principe",SV:"El Salvador",SX:"Sint Maarten",SY:"Syria",SZ:"Swaziland",TA:"Tristan da Cunha",TC:"Turks and Caicos Islands",TD:"Chad",TF:"French Southern Territories",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TK:"Tokelau",TL:"Timor-Leste",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Turkey",TT:"Trinidad and Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",UM:"United States Minor Outlying Islands",US:"United States",UY:"Uruguay",UZ:"Uzbekistan",VA:"Holy See (Vatican City State)",VC:"Saint Vincent and the Grenadines",VE:"Venezuela",VG:"Virgin Islands, British",VI:"Virgin Islands, U.S.",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis and Futuna",WS:"Samoa",XK:"Kosovo",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe",ZZ:"International"};var l6=["metadata","labels"];function Yi(){return Yi=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Yi.apply(this,arguments)}function s6(e,n){if(e==null)return{};var t=u6(e,n),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(n.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(t[r]=e[r])}return t}function u6(e,n){if(e==null)return{};var t={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(n.indexOf(i)>=0)&&(t[i]=e[i]);return t}function gs(e){var n=u.forwardRef(function(t,r){var i=t.metadata,o=i===void 0?e:i,a=t.labels,d=a===void 0?Jt:a,l=s6(t,l6);return u.createElement(ms,Yi({},l,{ref:r,metadata:o,labels:d}))});return n.propTypes={metadata:es,labels:ts},n}gs();function Xi(e,n){var t=Array.prototype.slice.call(n);return t.push(hd),e.apply(this,t)}gs(hd);function c6(){return Xi(B3,arguments)}function f6(){return Xi(Bi,arguments)}function Zi(){return Xi(ht,arguments)}const p6=({countryShortName:e,required:n=!1,themeColor:t="",onUpdate:r,placeholder:i="",error:o=!1,validate:a=!0,id:d="",phoneNumberValue:l="",countryCodeFromURL:s="",additionalClassName:f=""})=>{const[g,m]=u.useState(o),c=u.useRef(e&&e!=="001"?e:"US");u.useEffect(()=>{if(s){const k=O(s);k&&(x(k),c.current=s)}},[s]);const h=(k,F)=>JSON.stringify(k)===JSON.stringify(F),v=(k,F)=>Jt[k]<Jt[F]?-1:Jt[k]>Jt[F]?1:0,E=f6().sort(v).map(k=>({label:k+" +"+Zi(k),value:k})),O=k=>E.find(F=>F.value==k),[b,x]=u.useState(()=>{const k=O(c.current);return k||null}),C=k=>{c.current=k;const F=O(k);x(F),H(A.current)},A=u.useRef(l??""),j=k=>{const F=k.trim();if(F&&c.current){if(/^(\d)\1*$/.test(k.trim()))return!1;const G=`+${Zi(c.current)}${F}`;return c6(G)}return!0},H=(k,F=!1)=>{if(!a){const G={phoneNumber:k,countryCode:c.current,error:void 0,id:d,initialConsentChecked:F};r(G)}k=k.trim();const D=k?j(k)?void 0:"invalid":n?"required":void 0;m(!(!g&&D!==void 0));const X={phoneNumber:k,countryCode:c.current,error:D,id:d,initialConsentChecked:F};r(X)};return N.jsx(N.Fragment,{children:N.jsxs("div",{className:`${St.phoneWrapper} ${f?.trim()||""}`,"data-testid":"phone-wrapper",children:[N.jsx("div",{className:`${St.countryCode} ouiCountryCode`,children:N.jsx(ud,{selected:b,onSelect:C,"data-testid":"phone-select",themeColor:t,children:N.jsx("div",{className:`${St.phonNumberList} ouiPhonNumberList`,children:N.jsx(cd,{setQuery:()=>{},"data-testid":"phone-select-options",children:E.map(k=>N.jsx(fi,{disable:!1,value:k.value,className:({active:F})=>`${F||h(b,k)?St.active:""}`,"data-testid":`phone-select-option-${k.value}`,children:N.jsx("div",{className:`${St.countryListText} ouiCountryListText`,children:N.jsxs("span",{children:[Jt[k.value]," +",Zi(k.value)]})})},k.value))})})})}),N.jsx("div",{className:`${St.phoneInputWrap} ouiPhoneInputWrap`,children:N.jsx(md,{type:"text","aria-labelledby":"phone-number",placeholder:i,className:`${St.phoneInput} ${g&&a?St.serverError:""} ouiPhoneInput`,id:d,value:l??"",onBlur:k=>{A.current=k.target.value.trim()},onChange:k=>{A.current=k.target.value,H(A.current)},"data-testid":"phone-input",themeColor:t})})]})})},vs={progress:"_progress_1piqy_1","progress-bar":"_progress-bar_1piqy_9"},m6=({value:e,mode:n,strokeWidth:t=4,barColor:r="#1976d2",trackColor:i="rgba(25,118,210,0.3)"})=>{const o=n??(e!=null?"determinate":"indeterminate"),a=u.useMemo(()=>o==="determinate"&&e!=null?Math.max(0,Math.min(100,e)):0,[o,e]);return N.jsxs(N.Fragment,{children:[N.jsx("div",{className:vs.progress,role:"progressbar","aria-valuemin":o==="determinate"?0:void 0,"aria-valuemax":o==="determinate"?100:void 0,"aria-valuenow":o==="determinate"?a:void 0,style:{height:t,backgroundColor:i},children:N.jsx("div",{className:vs["progress-bar"],style:{height:t,width:o==="determinate"?`${a}%`:void 0,backgroundColor:r,animationName:o==="indeterminate"?"loading":void 0,left:o==="indeterminate"?-200:0}})}),N.jsx("style",{children:`
|
|
82
82
|
@keyframes loading {
|
|
83
83
|
0% {
|
|
84
84
|
left: -200px;
|
|
@@ -100,5 +100,5 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
100
100
|
left: 100%;
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
|
-
`})]})},at={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"},h6=({themeColor:e,name:n,checked:t,onChange:r,option:i})=>{const o=e?.toLowerCase()==="#ffffff"?"#c8c8c8":e,a=d=>{r(d)};return N.jsx("div",{className:at.radioWrapper,children:N.jsx("div",{className:at.radioBtnBox,children:N.jsxs("label",{htmlFor:i.value,className:at.radioBtnLabel,children:[N.jsxs("div",{className:at.radioBtnInsideLabel,children:[N.jsx("input",{type:"radio",id:i.value,name:n,value:i.value,checked:t,onChange:()=>a(i),className:at.radioBtnInput}),N.jsx("span",{className:`${at.radioBtnCircle} ${t?at.radioBtnChecked:""}`,style:{borderColor:t?o:"#C8C8C8"},children:t&&N.jsx("span",{className:at.radioBtnCircleInside,style:{backgroundColor:o}})})]}),i.avatar&&N.jsx("div",{className:at.radioBtnAvatar,children:N.jsx("img",{"aria-hidden":!0,src:i.avatar,width:20,height:20,alt:"Location icon",className:at.radioBtnAvatarImg})}),N.jsx("div",{className:at.radioBtnText,children:i.label})]})})})};_e.AutoComplete=uf,_e.AutoCompleteOption=fd,_e.AutoCompleteOptions=cf,_e.Button=Pn,_e.Checkbox=
|
|
103
|
+
`})]})},at={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"},h6=({themeColor:e,name:n,checked:t,onChange:r,option:i})=>{const o=e?.toLowerCase()==="#ffffff"?"#c8c8c8":e,a=d=>{r(d)};return N.jsx("div",{className:at.radioWrapper,children:N.jsx("div",{className:at.radioBtnBox,children:N.jsxs("label",{htmlFor:i.value,className:at.radioBtnLabel,children:[N.jsxs("div",{className:at.radioBtnInsideLabel,children:[N.jsx("input",{type:"radio",id:i.value,name:n,value:i.value,checked:t,onChange:()=>a(i),className:at.radioBtnInput}),N.jsx("span",{className:`${at.radioBtnCircle} ${t?at.radioBtnChecked:""}`,style:{borderColor:t?o:"#C8C8C8"},children:t&&N.jsx("span",{className:at.radioBtnCircleInside,style:{backgroundColor:o}})})]}),i.avatar&&N.jsx("div",{className:at.radioBtnAvatar,children:N.jsx("img",{"aria-hidden":!0,src:i.avatar,width:20,height:20,alt:"Location icon",className:at.radioBtnAvatarImg})}),N.jsx("div",{className:at.radioBtnText,children:i.label})]})})})};_e.AutoComplete=uf,_e.AutoCompleteOption=fd,_e.AutoCompleteOptions=cf,_e.Button=Pn,_e.Checkbox=vr,_e.ColorsService=Je,_e.MultiLineInput=ou,_e.MultiSelect=au,_e.MultiSelectWithCount=du,_e.Phone=p6,_e.ProgressBar=m6,_e.QuickMultiSelect=lu,_e.QuickSelect=su,_e.Radio=h6,_e.Scrollbar=ao,_e.Select=ud,_e.SelectOption=fi,_e.SelectOptions=cd,_e.SingleLineInput=md,Object.defineProperty(_e,Symbol.toStringTag,{value:"Module"})});
|
|
104
104
|
//# sourceMappingURL=ui-react.umd.js.map
|