@oncehub/ui-react 2.1.5 → 2.1.6

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.
@@ -1,5 +1,5 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode("*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.tw-relative{position:relative}.tw-block{display:block}.tw-flex{display:flex}.tw-h-20{height:5rem}.tw-cursor-default{cursor:default}.tw-select-none{user-select:none}.tw-items-center{align-items:center}.tw-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tw-bg-\\[\\#EEEEEE\\]{--tw-bg-opacity: 1;background-color:rgb(238 238 238 / var(--tw-bg-opacity, 1))}.tw-py-2{padding-top:.5rem;padding-bottom:.5rem}.tw-pl-4{padding-left:1rem}.tw-pr-4{padding-right:1rem}.tw-font-medium{font-weight:500}.tw-font-normal{font-weight:400}.tw-text-\\[\\#333333\\]{--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._button_1q2ge_1{box-sizing:border-box;display:flex;cursor:pointer;align-items:center;justify-content:center;border-width:1px;border-style:solid;text-align:center;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}._button_1q2ge_1:hover{text-decoration-line:underline}._button_1q2ge_1:focus{text-decoration-line:underline}._button_1q2ge_1:disabled{cursor:default}._button_1q2ge_1:hover:disabled{text-decoration-line:none}._primary_1q2ge_5{border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(0 107 177 / var(--tw-bg-opacity, 1));font-weight:500;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));outline-color:#006bb1}._primary_1q2ge_5:focus{outline-width:2px;outline-offset:3px}._primary_1q2ge_5:disabled{--tw-border-opacity: 1;border-color:rgb(200 200 200 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(200 200 200 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}._secondary_1q2ge_12{--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));font-weight:400;--tw-text-opacity: 1;color:rgb(0 107 177 / var(--tw-text-opacity, 1))}._secondary_1q2ge_12:hover{border-color:transparent;outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._secondary_1q2ge_12:focus{border-color:transparent;outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._secondary_1q2ge_12:disabled{--tw-border-opacity: 1;border-color:rgb(200 200 200 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(200 200 200 / var(--tw-text-opacity, 1))}._secondary_1q2ge_12:disabled:hover{outline-width:0px}._secondary_1q2ge_12:disabled:focus{outline-width:0px}._small_1q2ge_19{min-height:35px;min-width:70px;padding:4px 22px;font-size:.875rem;line-height:1.25rem;line-height:22px}._small_1q2ge_19._rounded_1q2ge_22{border-radius:18px}._medium_1q2ge_26{min-height:40px;min-width:74px;padding:7px 22px;font-size:.875rem;line-height:1.25rem;line-height:22px}._medium_1q2ge_26._rounded_1q2ge_22{border-radius:20px}._large_1q2ge_33{min-height:44px;min-width:94px;padding-left:1.5rem;padding-right:1.5rem;padding-top:8px;padding-bottom:8px;font-size:1rem;line-height:1.5rem;line-height:24px}._large_1q2ge_33._rounded_1q2ge_22{border-radius:22px}._squared_1q2ge_40{border-radius:.25rem}._checkboxLayout_bt7qx_1{display:inline-flex;width:100%;align-items:center;white-space:nowrap;vertical-align:middle}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4{display:flex;width:100%;cursor:pointer;align-items:baseline;gap:.5rem;font-size:.875rem;line-height:1.25rem;line-height:22px;letter-spacing:0;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4>span{white-space:normal;font-size:.875rem;line-height:1.25rem;line-height:22px;letter-spacing:0;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10{position:relative;top:2px;display:inline-block;height:1rem;width:1rem;flex-shrink:0;cursor:pointer;white-space:nowrap;border-width:0px;vertical-align:middle;line-height:0;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);outline-width:0px}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxInput_bt7qx_13{position:absolute;bottom:0;left:0;height:0px;width:0px;appearance:none;border-width:0px;padding:0;opacity:0;outline-width:0px}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxInput_bt7qx_13:checked+._checkboxFrame_bt7qx_16{--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(0 107 177 / var(--tw-bg-opacity, 1))}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxInput_bt7qx_13:checked+._checkboxFrame_bt7qx_16 ._checkboxCheckMark_bt7qx_19{opacity:1}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxInput_bt7qx_13:checked+._checkboxFrame_bt7qx_16 ._checkboxCheckMark_bt7qx_19 ._checkboxCheckMarkPath_bt7qx_22{animation:.18s linear 0ms _checkboxUncheckedChecked_bt7qx_1;stroke-dashoffset:0}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxInput_bt7qx_13:disabled+._checkboxFrame_bt7qx_16{--tw-border-opacity: 1;border-color:rgb(228 228 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(249 249 249 / var(--tw-bg-opacity, 1))}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxFrame_bt7qx_16{position:absolute;inset:0;box-sizing:border-box;border-radius:3px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(156 156 156 / var(--tw-border-opacity, 1));background-color:transparent}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxFrame_bt7qx_16 ._checkboxCheckMark_bt7qx_19{position:absolute;inset:0;width:100%}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxFrame_bt7qx_16 ._checkboxCheckMark_bt7qx_19 ._checkboxCheckMarkPath_bt7qx_22{stroke-width:3px;stroke-dashoffset:23;stroke-dasharray:23}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10:focus-visible ._checkboxFrame_bt7qx_16{outline-style:solid;outline-width:2px;outline-offset:-1px;outline-color:#006bb1}._checkboxLayout_bt7qx_1 ._checkboxLabel_bt7qx_4 ._visuallyHidden_bt7qx_43{position:absolute;width:0px;height:0px;margin:0;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}._checkboxLayout_bt7qx_1._checkboxDisabled_bt7qx_53{pointer-events:none;cursor:default}._checkboxLayout_bt7qx_1._checkboxDisabled_bt7qx_53 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10 ._checkboxFrame_bt7qx_16{--tw-border-opacity: 1;border-color:rgb(228 228 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(249 249 249 / var(--tw-bg-opacity, 1))}._checkboxLayout_bt7qx_1._medium_bt7qx_59 ._checkboxLabel_bt7qx_4>span{width:calc(100% - 24px);font-size:.875rem;line-height:1.25rem}._checkboxLayout_bt7qx_1._medium_bt7qx_59 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10{height:1rem;width:1rem}._checkboxLayout_bt7qx_1._large_bt7qx_65 ._checkboxLabel_bt7qx_4>span{width:calc(100% - 27px);font-size:1rem;line-height:1.5rem}._checkboxLayout_bt7qx_1._large_bt7qx_65 ._checkboxLabel_bt7qx_4 ._checkboxInnerContainer_bt7qx_10{top:4px;height:1.25rem;width:1.25rem}@keyframes _checkboxUncheckedChecked_bt7qx_1{0%,50%{stroke-dashoffset:23}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}to{stroke-dashoffset:0}}._textInputWrapper_1i9m6_1{width:100%}._textInputWrapper_1i9m6_1 ._textInput_1i9m6_1{box-sizing:border-box;display:block;height:2.5rem;max-height:225px;width:100%;resize:none;border-width:0px;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(51 51 51 / var(--tw-border-opacity, 1));padding-left:10px;padding-right:10px;padding-bottom:.5rem;padding-top:7px;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1));outline:2px solid transparent;outline-offset:2px}._textInputWrapper_1i9m6_1 ._textInput_1i9m6_1:focus{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));padding-bottom:7px}._multiSelectContainer_lh9wi_1,._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4{position:relative;width:100%}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7{position:relative;height:2.5rem;width:100%}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7{box-sizing:border-box;display:block;height:100%;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-width:0px;border-bottom-width:1px;border-style:solid;--tw-border-opacity: 1;border-bottom-color:rgb(51 51 51 / var(--tw-border-opacity, 1));padding-bottom:.5rem;padding-left:10px;padding-right:2.75rem;padding-top:.5rem;font-size:1rem;line-height:1rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7::placeholder{--tw-placeholder-opacity: 1;color:rgb(102 102 102 / var(--tw-placeholder-opacity, 1))}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7:focus-within{outline:2px solid transparent;outline-offset:2px}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7:focus{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));padding-bottom:7px}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7:focus-visible{outline:2px solid transparent;outline-offset:2px}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7._focused_lh9wi_13{border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));padding-bottom:7px;outline:2px solid transparent;outline-offset:2px}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._selectedValues_lh9wi_7._placeholder_lh9wi_16{--tw-text-opacity: 1;color:rgb(102 102 102 / var(--tw-text-opacity, 1))}._multiSelectContainer_lh9wi_1 ._listOptionsWrap_lh9wi_4 ._selectedValuesWrap_lh9wi_7 ._dropDownIcon_lh9wi_19{position:absolute;right:.5rem;top:50%;display:flex;height:100%;width:1.75rem;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));cursor:pointer;align-items:center;justify-content:center}._optionsListContainer_lh9wi_23{position:absolute;z-index:10;margin-top:0;max-height:293px;width:100%;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding-bottom:4rem;font-size:.875rem;line-height:1.25rem;line-height:22px;--tw-shadow: 0 1px 6px 0 rgba(0,0,0,.5);--tw-shadow-colored: 0 1px 6px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}._optionsListContainer_lh9wi_23:focus{outline:2px solid transparent;outline-offset:2px}._optionsListContainer_lh9wi_23._top_lh9wi_26{transform:translateY(calc(-100% - 40px))}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29{max-height:225px;overflow:auto;padding-top:1rem;padding-bottom:1rem}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._searchInputWrap_lh9wi_32{margin-bottom:.5rem;height:2.5rem;padding-left:10px;padding-right:10px}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._searchInputWrap_lh9wi_32 ._searchInput_lh9wi_32{box-sizing:border-box;height:100%;width:100%;padding-top:.5rem;padding-bottom:.5rem;padding-left:10px;outline-style:solid;outline-width:1px;outline-offset:-2px;outline-color:#c8c8c8}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ul{margin:0;padding:0}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._optionsList_lh9wi_23{box-sizing:border-box;display:flex;list-style-type:none;align-items:flex-start;gap:.5rem;padding-left:10px;padding-right:10px;padding-top:.5rem;padding-bottom:.5rem}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._optionsList_lh9wi_23 span{word-break:break-word;display:block;width:calc(100% - 22px);overflow-wrap:break-word;font-size:.875rem;line-height:1.25rem;line-height:22px}._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._optionsList_lh9wi_23:hover,._optionsListContainer_lh9wi_23 ._optionsListWrap_lh9wi_29 ._optionsList_lh9wi_23._focused_lh9wi_13{--tw-bg-opacity: 1;background-color:rgb(238 238 238 / var(--tw-bg-opacity, 1))}._optionsListContainer_lh9wi_23 ._btnContainer_lh9wi_54{position:absolute;left:0;right:0;box-sizing:border-box;display:flex;height:64px;width:100%;align-items:center;justify-content:flex-end;border-width:0px;border-top-width:1px;border-style:solid;--tw-border-opacity: 1;border-top-color:rgb(200 200 200 / var(--tw-border-opacity, 1));padding-left:18px;padding-right:18px}._optionsListContainer_lh9wi_23 ._btnContainer_lh9wi_54 ._hiddenButton_lh9wi_57{position:absolute;left:-9999px;height:0px;width:0px;opacity:0}._optionsListContainer_lh9wi_23 ::-webkit-scrollbar{width:6px}._optionsListContainer_lh9wi_23 ::-webkit-scrollbar-thumb{background-color:#a9a9a9;border-radius:6px}._announcement_lh9wi_70{pointer-events:none;height:0px;overflow:hidden;opacity:0}._pseudoCheckbox_z8j4c_1{position:relative;top:3px;box-sizing:border-box;height:1rem;width:1rem;border-radius:3px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(156 156 156 / var(--tw-border-opacity, 1))}._pseudoCheckbox_z8j4c_1 ._checkboxCheckMark_z8j4c_4{position:absolute;inset:0;width:100%}._pseudoCheckbox_z8j4c_1 ._checkboxCheckMark_z8j4c_4 ._checkboxCheckMarkPath_z8j4c_7{stroke-width:3px;stroke-dashoffset:23;stroke-dasharray:23}._pseudoCheckbox_z8j4c_1._checked_z8j4c_12{--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(0 107 177 / var(--tw-bg-opacity, 1))}._pseudoCheckbox_z8j4c_1._checked_z8j4c_12 ._checkboxCheckMark_z8j4c_4{opacity:1}._pseudoCheckbox_z8j4c_1._checked_z8j4c_12 ._checkboxCheckMark_z8j4c_4 ._checkboxCheckMarkPath_z8j4c_7{animation:.18s linear 0ms _checkboxUncheckedChecked_z8j4c_1;stroke-dashoffset:0}._pseudoCheckbox_z8j4c_1._checkboxDisabled_z8j4c_22{pointer-events:none;cursor:default;--tw-border-opacity: 1;border-color:rgb(228 228 228 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(249 249 249 / var(--tw-bg-opacity, 1))}@keyframes _checkboxUncheckedChecked_z8j4c_1{0%,50%{stroke-dashoffset:23}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}to{stroke-dashoffset:0}}._multiSelectContainer_1on91_1{position:relative;width:auto}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4{position:relative;width:100%}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7{position:relative;margin-top:1px;height:38px;width:100%}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7{position:relative;box-sizing:border-box;display:flex;height:100%;width:100%;cursor:pointer;align-items:center;justify-content:space-between;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-width:0px;border-bottom-width:1px;border-style:solid;--tw-border-opacity: 1;border-bottom-color:rgb(200 200 200 / var(--tw-border-opacity, 1));padding-bottom:.5rem;padding-left:10px;padding-top:.5rem;font-size:14px;line-height:20px;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7:focus-within{outline:2px solid transparent;outline-offset:2px}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7:focus{padding-bottom:7px}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7:focus-visible{outline:2px solid transparent;outline-offset:2px}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7:focus{border-bottom:2px solid var(--theme-color, #006bb1)}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._focused_1on91_16{padding-bottom:7px;outline:2px solid transparent;outline-offset:2px}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7 ._countAndIconContainer_1on91_19{display:flex;align-items:center}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._rounded_1on91_22{margin-top:0;display:flex;height:2.25rem;align-items:center;border-radius:9999px;border-width:1px;--tw-border-opacity: 1;border-color:rgb(200 200 200 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(244 244 244 / var(--tw-bg-opacity, 1));padding-left:1rem;padding-bottom:.5rem;padding-top:.5rem}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._rounded_1on91_22._focused_1on91_16,._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._rounded_1on91_22:hover,._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._rounded_1on91_22:focus-visible{border-color:var(--theme-color, #006bb1);box-shadow:0 0 0 1px var(--theme-color, #006bb1)}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._rounded_1on91_22._selected_1on91_7{border:1px solid var(--theme-color, #006bb1);box-shadow:0 0 0 1px var(--theme-color, #006bb1);background-color:color-mix(in srgb,var(--theme-color, #006bb1) 18%,transparent)}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedValues_1on91_7._rounded_1on91_22._selected_1on91_7:hover{background-color:color-mix(in srgb,var(--theme-color, #006bb1) 36%,transparent)}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._selectedCount_1on91_37{margin-left:.5rem;margin-top:1px;box-sizing:border-box;height:22px;min-width:22px;border-radius:9999px;padding-left:7px;padding-right:7px;font-size:14px;font-weight:600;line-height:22px;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));background-color:var(--theme-color, #006bb1)}._multiSelectContainer_1on91_1 ._listOptionsWrap_1on91_4 ._selectedValuesWrap_1on91_7 ._dropDownIcon_1on91_41{margin-left:.5rem;margin-right:18px;margin-top:0;cursor:pointer}._optionsListContainer_1on91_45{position:absolute;z-index:10;margin-top:0;max-height:293px;width:83%;max-width:367px;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding-bottom:4rem;font-size:.875rem;line-height:1.25rem;line-height:22px;--tw-shadow: 0 1px 6px 0 rgba(0,0,0,.5);--tw-shadow-colored: 0 1px 6px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}._optionsListContainer_1on91_45:focus{outline:2px solid transparent;outline-offset:2px}@media (max-width: 767px){._optionsListContainer_1on91_45{max-width:320px}}._optionsListContainer_1on91_45._top_1on91_48{transform:translateY(calc(-100% - 40px))}._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51{max-height:225px;overflow:auto;padding-top:1rem;padding-bottom:1rem}._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51 ._searchInputWrap_1on91_54{margin-bottom:.5rem;height:2.5rem;padding-left:10px;padding-right:10px}._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51 ._searchInputWrap_1on91_54 ._searchInput_1on91_54{box-sizing:border-box;height:100%;width:100%;padding-top:.5rem;padding-bottom:.5rem;padding-left:10px;outline-style:solid;outline-width:1px;outline-offset:-2px;outline-color:#c8c8c8}._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51 ul{margin:0;padding:0}._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51 ._optionsList_1on91_45{box-sizing:border-box;display:flex;list-style-type:none;align-items:flex-start;gap:.5rem;padding-left:10px;padding-right:10px;padding-top:.5rem;padding-bottom:.5rem}._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51 ._optionsList_1on91_45 span{word-break:break-word;display:block;width:calc(100% - 22px);overflow-wrap:break-word;font-size:.875rem;line-height:1.25rem;line-height:22px}._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51 ._optionsList_1on91_45:hover,._optionsListContainer_1on91_45 ._optionsListWrap_1on91_51 ._optionsList_1on91_45._focused_1on91_16{--tw-bg-opacity: 1;background-color:rgb(238 238 238 / var(--tw-bg-opacity, 1))}._optionsListContainer_1on91_45 ._btnContainer_1on91_76{position:absolute;left:0;right:0;box-sizing:border-box;display:flex;height:64px;width:100%;align-items:center;justify-content:flex-end;border-width:0px;border-top-width:1px;border-style:solid;--tw-border-opacity: 1;border-top-color:rgb(200 200 200 / var(--tw-border-opacity, 1));padding-left:18px;padding-right:18px}._optionsListContainer_1on91_45 ._btnContainer_1on91_76 ._hiddenButton_1on91_79{position:absolute;left:-9999px;height:0px;width:0px;opacity:0}._optionsListContainer_1on91_45 ::-webkit-scrollbar{width:6px}._optionsListContainer_1on91_45 ::-webkit-scrollbar-thumb{background-color:#a9a9a9;border-radius:6px}._announcement_1on91_92{pointer-events:none;height:0px;width:58px;overflow:hidden;opacity:0}._multiSelectContainer_1rhxq_1{position:relative}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4{margin-right:-.75rem;display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li{word-break:break-word;position:relative;box-sizing:border-box;display:inline-flex;min-width:80px;cursor:pointer;list-style-type:none;align-items:center;overflow-wrap:break-word;border-radius:4px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));background-color:transparent;padding:8px 14px;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(0 107 177 / var(--tw-text-opacity, 1))}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li:hover,._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li:focus-visible,._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li._selected_1rhxq_11{outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li:hover,._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li:focus-visible{text-decoration-line:underline}._multiSelectContainer_1rhxq_1 ._quickOptionsWrap_1rhxq_4 li._disabled_1rhxq_17{pointer-events:none!important;cursor:default!important;--tw-border-opacity: 1 !important;border-color:rgb(228 228 228 / var(--tw-border-opacity, 1))!important;--tw-text-opacity: 1 !important;color:rgb(51 51 51 / var(--tw-text-opacity, 1))!important;text-decoration-line:none!important;outline-width:0px!important}._singleSelectWrapper_7i31h_1{position:relative}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4{display:flex;flex-direction:row;flex-wrap:wrap;gap:.75rem}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li{position:relative;box-sizing:border-box;display:inline-flex;min-height:44px;min-width:80px;cursor:pointer;list-style-type:none;align-items:center;border-radius:4px;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(0 107 177 / var(--tw-border-opacity, 1));background-color:transparent;padding-left:1.5rem;padding-right:1.5rem;padding-top:9px;padding-bottom:9px;text-align:center;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(0 107 177 / var(--tw-text-opacity, 1));word-break:break-word}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li:hover,._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li:focus-visible,._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li._selected_7i31h_11{outline-style:solid;outline-width:2px;outline-offset:-2px;outline-color:#006bb1}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li:hover,._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li:focus-visible{text-decoration-line:underline}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li ._triangle_7i31h_17{position:absolute;right:0;top:0;display:inline-block;height:0px;width:0px;border-width:11px;border-style:solid;border-bottom-color:transparent;border-left-color:transparent;border-right-color:rgb(0 107 177 / var(--tw-border-opacity, 1));--tw-border-opacity: 1;border-top-color:rgb(0 107 177 / var(--tw-border-opacity, 1))}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li ._triangle_7i31h_17 ._loader_7i31h_20{position:absolute;left:0;top:-10px;height:10px;width:10px}@keyframes _tw-spin_7i31h_1{to{transform:rotate(360deg)}}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li ._triangle_7i31h_17 ._loader_7i31h_20{animation:_tw-spin_7i31h_1 1s linear infinite;border-radius:50%;border-width:2px;border-style:solid;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1));--tw-border-opacity: 1;border-right-color:rgb(0 107 177 / var(--tw-border-opacity, 1))}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li ._triangle_7i31h_17 ._checkmarkWrap_7i31h_23{position:absolute;left:-1px;top:-9px}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li ._triangle_7i31h_17 ._checkmarkWrap_7i31h_23 ._checkmark_7i31h_23{display:block;animation:_fill_7i31h_1 .4s ease-in-out .4s forwards,_scale_7i31h_1 .3s ease-in-out .9s both;border-radius:50%;--tw-shadow: inset 0px 0px 0px transparent;--tw-shadow-colored: inset 0px 0px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);stroke-miterlimit:10}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li ._triangle_7i31h_17 ._checkmarkWrap_7i31h_23 ._checkmark_7i31h_23 ._checkmarkCheck_7i31h_30{transform-origin:50% 50%;animation:_stroke_7i31h_1 .8s cubic-bezier(.5,0,.45,1) .2s forwards;stroke-dasharray:48;stroke-dashoffset:48}._singleSelectWrapper_7i31h_1 ._quickOption_7i31h_4 li._disabled_7i31h_35{pointer-events:none!important;cursor:default!important;--tw-border-opacity: 1 !important;border-color:rgb(228 228 228 / var(--tw-border-opacity, 1))!important;--tw-text-opacity: 1 !important;color:rgb(51 51 51 / var(--tw-text-opacity, 1))!important;text-decoration-line:none!important;outline-width:0px!important}@keyframes _scale_7i31h_1{0%,to{transform:none}50%{transform:scale3d(1.1,1.1,1)}}@keyframes _fill_7i31h_1{to{box-shadow:inset 0 0 0 30px transparent}}@keyframes _stroke_7i31h_1{to{stroke-dashoffset:0}}._scrollbarContainer_40vsr_1{overflow-y:auto}._scrollbarContainer_40vsr_1::-webkit-scrollbar{width:10px}._scrollbarContainer_40vsr_1::-webkit-scrollbar-track{display:none}._scrollbarContainer_40vsr_1::-webkit-scrollbar-thumb{background-color:#ccc!important;border:2px #fff solid;border-radius:15px}._scrollbarContainer_40vsr_1{@supports not selector(::-webkit-scrollbar){scrollbar-width:thin;scrollbar-color:#ccc #0000}}._select_fcnvh_1,._select_fcnvh_1 ._selectContainer_fcnvh_4{position:relative}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7{position:relative;box-sizing:border-box;height:2.5rem;width:100%;cursor:pointer;border-left-width:0px;border-right-width:0px;border-bottom-width:1px;border-top-width:1px;border-style:solid;border-top-color:transparent;--tw-border-opacity: 1;border-bottom-color:rgb(51 51 51 / var(--tw-border-opacity, 1));background-color:transparent;padding-top:.375rem;padding-bottom:.375rem;padding-left:10px;padding-right:2rem;text-align:left;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7:focus{border-bottom-width:2px;border-top-width:2px;--tw-border-opacity: 1;border-bottom-color:rgb(0 107 177 / var(--tw-border-opacity, 1));padding-top:5px;padding-bottom:5px;outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7._open_fcnvh_13{border-bottom-width:2px;border-top-width:2px;--tw-border-opacity: 1;border-bottom-color:rgb(0 107 177 / var(--tw-border-opacity, 1))}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7 ._selectValue_fcnvh_16{display:flex;align-items:center}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7 ._selectValue_fcnvh_16._placeholder_fcnvh_19{--tw-text-opacity: 1;color:rgb(102 102 102 / var(--tw-text-opacity, 1))}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7 ._selectValue_fcnvh_16 ._seletIcon_fcnvh_22{margin-right:.5rem;height:1.25rem;width:1.25rem;flex-shrink:0}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7 ._selectValue_fcnvh_16 ._selectText_fcnvh_25{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7 ._chevronDownIconSpan_fcnvh_28{pointer-events:none;position:absolute;top:0;bottom:0;right:0;display:flex;align-items:center;padding-right:.5rem}._select_fcnvh_1 ._selectContainer_fcnvh_4 ._selectButton_fcnvh_7 ._chevronDownIconSpan_fcnvh_28 ._chevronDownIcon_fcnvh_28{height:1.25rem;width:1.25rem;--tw-text-opacity: 1;color:rgb(51 51 51 / var(--tw-text-opacity, 1))}._leave_fcnvh_35{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,1,1)}._leaveFrom_fcnvh_39{opacity:1}._leaveTo_fcnvh_43{opacity:0}._selectOptions_fcnvh_47{margin:0;max-height:200px;width:100%;list-style-type:none;overflow:auto;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:10px 0;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 1px 6px 0 rgba(0,0,0,.5);--tw-shadow-colored: 0 1px 6px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 640px){._selectOptions_fcnvh_47{font-size:.875rem;line-height:1.25rem}}._selectOptions_fcnvh_47::-webkit-scrollbar-thumb{border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(169 169 169 / var(--tw-bg-opacity, 1))}._selectOptions_fcnvh_47::-webkit-scrollbar{width:6px}._selectOptions_fcnvh_47:focus{outline:2px solid transparent;outline-offset:2px}._autocomplete_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(o){console.error("vite-plugin-css-injected-by-js",o)}})();
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,ke){"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 se=Ji(u),En=Ji(ke);function Qi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Sn={exports:{}},en={};/**
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,ke){"use strict";function ci(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const se=ci(u),Ln=ci(ke);function fi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var jn={exports:{}},tn={};/**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.js
5
5
  *
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */var eo;function Zs(){if(eo)return en;eo=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function t(r,i,o){var a=null;if(o!==void 0&&(a=""+o),i.key!==void 0&&(a=""+i.key),"key"in i){o={};for(var d in i)d!=="key"&&(o[d]=i[d])}else o=i;return i=o.ref,{$$typeof:e,type:r,key:a,ref:i!==void 0?i:null,props:o}}return en.Fragment=n,en.jsx=t,en.jsxs=t,en}var tn={};/**
10
+ */var pi;function ou(){if(pi)return tn;pi=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,o,i){var a=null;if(i!==void 0&&(a=""+i),o.key!==void 0&&(a=""+o.key),"key"in o){i={};for(var d in o)d!=="key"&&(i[d]=o[d])}else i=o;return o=i.ref,{$$typeof:e,type:r,key:a,ref:o!==void 0?o:null,props:i}}return tn.Fragment=t,tn.jsx=n,tn.jsxs=n,tn}var nn={};/**
11
11
  * @license React
12
12
  * react-jsx-runtime.development.js
13
13
  *
@@ -15,70 +15,69 @@
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===re?null:w.displayName||w.name||null;if(typeof w=="string")return w;switch(w){case k:return"Fragment";case x:return"Portal";case H:return"Profiler";case D:return"StrictMode";case Y: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 j:return(w.displayName||"Context")+".Provider";case A:return(w._context.displayName||"Context")+".Consumer";case M:var ie=w.render;return w=w.displayName,w||(w=ie.displayName||ie.name||"",w=w!==""?"ForwardRef("+w+")":"ForwardRef"),w;case W:return ie=w.displayName||null,ie!==null?ie:e(w.type)||"Memo";case oe:ie=w._payload,w=w._init;try{return e(w(ie))}catch{}}return null}function n(w){return""+w}function t(w){try{n(w);var ie=!1}catch{ie=!0}if(ie){ie=console;var J=ie.error,ve=typeof Symbol=="function"&&Symbol.toStringTag&&w[Symbol.toStringTag]||w.constructor.name||"Object";return J.call(ie,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",ve),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 ie=J.stack.trim().match(/\n( *(at )?)/);S=ie&&ie[1]||"",Z=-1<J.stack.indexOf(`
18
+ */var mi;function iu(){return mi||(mi=1,process.env.NODE_ENV!=="production"&&function(){function e(w){if(w==null)return null;if(typeof w=="function")return w.$$typeof===re?null:w.displayName||w.name||null;if(typeof w=="string")return w;switch(w){case k:return"Fragment";case x:return"Portal";case H:return"Profiler";case j:return"StrictMode";case Y: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 D:return(w.displayName||"Context")+".Provider";case A:return(w._context.displayName||"Context")+".Consumer";case M:var oe=w.render;return w=w.displayName,w||(w=oe.displayName||oe.name||"",w=w!==""?"ForwardRef("+w+")":"ForwardRef"),w;case W:return oe=w.displayName||null,oe!==null?oe:e(w.type)||"Memo";case ie:oe=w._payload,w=w._init;try{return e(w(oe))}catch{}}return null}function t(w){return""+w}function n(w){try{t(w);var oe=!1}catch{oe=!0}if(oe){oe=console;var J=oe.error,ve=typeof Symbol=="function"&&Symbol.toStringTag&&w[Symbol.toStringTag]||w.constructor.name||"Object";return J.call(oe,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",ve),t(w)}}function r(){}function o(){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 i(){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 oe=J.stack.trim().match(/\n( *(at )?)/);S=oe&&oe[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,ie){if(!w||K)return"";var J=_.get(w);if(J!==void 0)return J;K=!0,J=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var ve=null;ve=z.H,z.H=null,i();try{var Te={DetermineComponentFrameRoot:function(){try{if(ie){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(`
20
+ `+S+w+Z}function d(w,oe){if(!w||z)return"";var J=_.get(w);if(J!==void 0)return J;z=!0,J=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var ve=null;ve=K.H,K.H=null,o();try{var Te={DetermineComponentFrameRoot:function(){try{if(oe){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(Ke){var Re=Ke}Reflect.construct(w,[],pe)}else{try{pe.call()}catch(Ke){Re=Ke}w.call(pe.prototype)}}else{try{throw Error()}catch(Ke){Re=Ke}(pe=w())&&typeof pe.catch=="function"&&pe.catch(function(){})}}catch(Ke){if(Ke&&Re&&typeof Ke.stack=="string")return[Ke.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 Ne=me.split(`
21
21
  `),Fe=we.split(`
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=ve,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 ie=w.prototype;return d(w,!(!ie||!ie.isReactComponent))}if(typeof w=="string")return a(w);switch(w){case Y:return a("Suspense");case G:return a("SuspenseList")}if(typeof w=="object")switch(w.$$typeof){case M:return w=d(w.render,!1),w;case W:return l(w.type);case oe:ie=w._payload,w=w._init;try{return l(w(ie))}catch{}}return""}function s(){var w=z.A;return w===null?null:w.getOwner()}function f(w){if(I.call(w,"key")){var ie=Object.getOwnPropertyDescriptor(w,"key").get;if(ie&&ie.isReactWarning)return!1}return w.key!==void 0}function v(w,ie){function J(){ge||(ge=!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)",ie))}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,ie,J,ve,Te,ue){return J=ue.ref,w={$$typeof:C,type:w,key:ie,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,ie,J,ve,Te,ue){if(typeof w=="string"||typeof w=="function"||w===k||w===H||w===D||w===Y||w===G||w===ae||typeof w=="object"&&w!==null&&(w.$$typeof===oe||w.$$typeof===W||w.$$typeof===j||w.$$typeof===A||w.$$typeof===M||w.$$typeof===X||w.getModuleId!==void 0)){var ee=ie.children;if(ee!==void 0)if(ve)if(T(ee)){for(ve=0;ve<ee.length;ve++)h(ee[ve],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?ve="null":T(w)?ve="array":w!==void 0&&w.$$typeof===C?(ve="<"+(e(w.type)||"Unknown")+" />",ee=" Did you accidentally export a JSX literal instead of a component?"):ve=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",ve,ee);if(I.call(ie,"key")){ee=e(w);var me=Object.keys(ie).filter(function(Ie){return Ie!=="key"});ve=0<me.length?"{key: someKey, "+me.join(": ..., ")+": ...}":"{key: someKey}",Ne[ee+ve]||(me=0<me.length?"{"+me.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
22
+ `);for(ee=ue=0;ue<Ne.length&&!Ne[ue].includes("DetermineComponentFrameRoot");)ue++;for(;ee<Fe.length&&!Fe[ee].includes("DetermineComponentFrameRoot");)ee++;if(ue===Ne.length||ee===Fe.length)for(ue=Ne.length-1,ee=Fe.length-1;1<=ue&&0<=ee&&Ne[ue]!==Fe[ee];)ee--;for(;1<=ue&&0<=ee;ue--,ee--)if(Ne[ue]!==Fe[ee]){if(ue!==1||ee!==1)do if(ue--,ee--,0>ee||Ne[ue]!==Fe[ee]){var be=`
23
+ `+Ne[ue].replace(" at new "," at ");return w.displayName&&be.includes("<anonymous>")&&(be=be.replace("<anonymous>",w.displayName)),typeof w=="function"&&_.set(w,be),be}while(1<=ue&&0<=ee);break}}}finally{z=!1,K.H=ve,i(),Error.prepareStackTrace=J}return Ne=(Ne=w?w.displayName||w.name:"")?a(Ne):"",typeof w=="function"&&_.set(w,Ne),Ne}function l(w){if(w==null)return"";if(typeof w=="function"){var oe=w.prototype;return d(w,!(!oe||!oe.isReactComponent))}if(typeof w=="string")return a(w);switch(w){case Y:return a("Suspense");case G:return a("SuspenseList")}if(typeof w=="object")switch(w.$$typeof){case M:return w=d(w.render,!1),w;case W:return l(w.type);case ie:oe=w._payload,w=w._init;try{return l(w(oe))}catch{}}return""}function s(){var w=K.A;return w===null?null:w.getOwner()}function f(w){if(N.call(w,"key")){var oe=Object.getOwnPropertyDescriptor(w,"key").get;if(oe&&oe.isReactWarning)return!1}return w.key!==void 0}function v(w,oe){function J(){ge||(ge=!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)",oe))}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,oe,J,ve,Te,ue){return J=ue.ref,w={$$typeof:C,type:w,key:oe,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,oe,J,ve,Te,ue){if(typeof w=="string"||typeof w=="function"||w===k||w===H||w===j||w===Y||w===G||w===ae||typeof w=="object"&&w!==null&&(w.$$typeof===ie||w.$$typeof===W||w.$$typeof===D||w.$$typeof===A||w.$$typeof===M||w.$$typeof===X||w.getModuleId!==void 0)){var ee=oe.children;if(ee!==void 0)if(ve)if(T(ee)){for(ve=0;ve<ee.length;ve++)h(ee[ve],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?ve="null":T(w)?ve="array":w!==void 0&&w.$$typeof===C?(ve="<"+(e(w.type)||"Unknown")+" />",ee=" Did you accidentally export a JSX literal instead of a component?"):ve=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",ve,ee);if(N.call(oe,"key")){ee=e(w);var me=Object.keys(oe).filter(function(Ne){return Ne!=="key"});ve=0<me.length?"{key: someKey, "+me.join(": ..., ")+": ...}":"{key: someKey}",Ie[ee+ve]||(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} />`,ve,ee,me,ee),Ne[ee+ve]=!0)}if(ee=null,J!==void 0&&(t(J),ee=""+J),f(ie)&&(t(ie.key),ee=""+ie.key),"key"in ie){J={};for(var we in ie)we!=="key"&&(J[we]=ie[we])}else J=ie;return ee&&v(J,typeof w=="function"?w.displayName||w.name||"Unknown":w),p(w,ee,ue,Te,s(),J)}function h(w,ie){if(typeof w=="object"&&w&&w.$$typeof!==fe){if(T(w))for(var J=0;J<w.length;J++){var ve=w[J];g(ve)&&E(ve,ie)}else if(g(w))w._store&&(w._store.validated=1);else if(w===null||typeof w!="object"?J=null:(J=le&&w[le]||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;)g(w.value)&&E(w.value,ie)}}function g(w){return typeof w=="object"&&w!==null&&w.$$typeof===C}function E(w,ie){if(w._store&&!w._store.validated&&w.key==null&&(w._store.validated=1,ie=O(ie),!Ve[ie])){Ve[ie]=!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 ve=z.getCurrentStack;z.getCurrentStack=function(){var Te=l(w.type);return ve&&(Te+=ve()||""),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.',ie,J),z.getCurrentStack=ve}}function O(w){var ie="",J=s();return J&&(J=e(J.type))&&(ie=`
28
+ <%s key={someKey} {...props} />`,ve,ee,me,ee),Ie[ee+ve]=!0)}if(ee=null,J!==void 0&&(n(J),ee=""+J),f(oe)&&(n(oe.key),ee=""+oe.key),"key"in oe){J={};for(var we in oe)we!=="key"&&(J[we]=oe[we])}else J=oe;return ee&&v(J,typeof w=="function"?w.displayName||w.name||"Unknown":w),p(w,ee,ue,Te,s(),J)}function h(w,oe){if(typeof w=="object"&&w&&w.$$typeof!==fe){if(T(w))for(var J=0;J<w.length;J++){var ve=w[J];g(ve)&&E(ve,oe)}else if(g(w))w._store&&(w._store.validated=1);else if(w===null||typeof w!="object"?J=null:(J=le&&w[le]||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;)g(w.value)&&E(w.value,oe)}}function g(w){return typeof w=="object"&&w!==null&&w.$$typeof===C}function E(w,oe){if(w._store&&!w._store.validated&&w.key==null&&(w._store.validated=1,oe=O(oe),!Ve[oe])){Ve[oe]=!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 ve=K.getCurrentStack;K.getCurrentStack=function(){var Te=l(w.type);return ve&&(Te+=ve()||""),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.',oe,J),K.getCurrentStack=ve}}function O(w){var oe="",J=s();return J&&(J=e(J.type))&&(oe=`
29
29
 
30
- Check the render method of \``+J+"`."),ie||(w=e(w))&&(ie=`
30
+ Check the render method of \``+J+"`."),oe||(w=e(w))&&(oe=`
31
31
 
32
- Check the top-level render call using <`+w+">."),ie}var b=u,C=Symbol.for("react.transitional.element"),x=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),D=Symbol.for("react.strict_mode"),H=Symbol.for("react.profiler"),A=Symbol.for("react.consumer"),j=Symbol.for("react.context"),M=Symbol.for("react.forward_ref"),Y=Symbol.for("react.suspense"),G=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),oe=Symbol.for("react.lazy"),ae=Symbol.for("react.offscreen"),le=Symbol.iterator,re=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,X=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=k,tn.jsx=function(w,ie,J,ve,Te){return c(w,ie,J,!1,ve,Te)},tn.jsxs=function(w,ie,J,ve,Te){return c(w,ie,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 C=pt(n);if(n=Je.convert3HexTo6(n),C==="dark"||C==="light"){switch(C){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 x=o?"#f9f9f9":m?n:"#ffffff";h=o?"#e4e4e4":n=="#ffffff"?"#333333":n,m&&(c={backgroundColor:x,borderColor:h,outlineColor:h})}}const E=o?dt.checkboxDisabled:"",O=[dt.checkboxLayout,dt[t],E,a].filter(Boolean).join(" "),b=C=>{C.key!="Enter"&&(C.preventDefault(),d?.(C.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:C=>b(C),children:[N.jsxs("div",{className:dt.checkboxInnerContainer,tabIndex:s||o?-1:0,onKeyPress:C=>b(C),"data-testid":"checkbox-inner-container",children:[N.jsx("input",{className:dt.checkboxInput,onChange:C=>b(C),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 de={},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",C="tablet",x="smarttv",k="wearable",D="embedded",H=500,A="Amazon",j="Apple",M="ASUS",Y="BlackBerry",G="Browser",W="Chrome",oe="Edge",ae="Firefox",le="Google",re="Huawei",z="LG",I="Microsoft",R="Motorola",X="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"},ie={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,X+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[g,[p,X+" GX"]],[/\bopr\/([\w\.]+)/i],[g,[p,X]],[/\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,ae+" Focus"]],[/\bopt\/([\w\.]+)/i],[g,[p,X+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[g,[p,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[g,[p,"Dolphin"]],[/coast\/([\w\.]+)/i],[g,[p,X+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[g,[p,"MIUI"+Ee]],[/fxios\/([\w\.-]+)/i],[g,[p,ae]],[/\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,W+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[p,W+" 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,ae+" 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,C]],[/\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,j],[c,b]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[m,[h,j],[c,C]],[/(macintosh);/i],[m,[h,j]],[/\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,re],[c,C]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[m,[h,re],[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,C]],[/; (\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,C]],[/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,C]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[m,[h,z],[c,C]],[/(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,C]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[m,/_/g," "],[h,"Nokia"],[c,b]],[/(pixel c)\b/i],[m,[h,le],[c,C]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[m,[h,le],[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,C]],[/ (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,A],[c,C]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[m,/(.+)/g,"Fire Phone $1"],[h,A],[c,b]],[/(playbook);[-\w\),; ]+(rim)/i],[m,h,[c,C]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[m,[h,Y],[c,b]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[m,[h,M],[c,C]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[m,[h,M],[c,b]],[/(nexus 9)/i],[m,[h,"HTC"],[c,C]],[/(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,C]],[/(itel) ((\w+))/i],[[h,_],m,[c,Ne,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[m,[h,"Acer"],[c,C]],[/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,C]],[/(surface duo)/i],[m,[h,I],[c,C]],[/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,C]],[/\b(venue[\d ]{2,7}) b/i],[m,[h,"Dell"],[c,C]],[/\b(q(?:mv|ta)\w+) b/i],[m,[h,"Verizon"],[c,C]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[m,[h,"Barnes & Noble"],[c,C]],[/\b(tm\d{3}\w+) b/i],[m,[h,"NuVision"],[c,C]],[/\b(k88) b/i],[m,[h,"ZTE"],[c,C]],[/\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,C]],[/\b((zeki)?tb.*\b) b/i],[m,[h,"Zeki"],[c,C]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],m,[c,C]],[/\b(ns-?\w{0,9}) b/i],[m,[h,"Insignia"],[c,C]],[/\b((nxa|next)-?\w{0,9}) b/i],[m,[h,"NextBook"],[c,C]],[/\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,C]],[/\b(trio[-\w\. ]+) b/i],[m,[h,"MachSpeed"],[c,C]],[/\btu_(1491) b/i],[m,[h,"Rotor"],[c,C]],[/(shield[\w ]+) b/i],[m,[h,"Nvidia"],[c,C]],[/(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,C]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[m,[h,q],[c,b]],[/smart-tv.+(samsung)/i],[h,[c,x]],[/hbbtv.+maple;(\d+)/i],[[m,/^/,"SmartTV"],[h,T],[c,x]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,z],[c,x]],[/(apple) ?tv/i],[h,[m,j+" TV"],[c,x]],[/crkey/i],[[m,W+"cast"],[h,le],[c,x]],[/droid.+aft(\w+)( bui|\))/i],[m,[h,A],[c,x]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[m,[h,U],[c,x]],[/(bravia[\w ]+)( bui|\))/i],[m,[h,L],[c,x]],[/(mitv-\w{5}) bui/i],[m,[h,Q],[c,x]],[/Hbbtv.*(technisat) (.*);/i],[h,m,[c,x]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[h,ge],[m,ge],[c,x]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[c,x]],[/(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,k]],[/((pebble))app/i],[h,m,[c,k]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[m,[h,j],[c,k]],[/droid.+; (glass) \d/i],[m,[h,le],[c,k]],[/droid.+; (wt63?0{2,3})\)/i],[m,[h,q],[c,k]],[/droid.+; (glass) \d/i],[m,[h,le],[c,k]],[/(pico) (4|neo3(?: link|pro)?)/i],[h,m,[c,k]],[/; (quest( \d| pro)?)/i],[m,[h,ne],[c,k]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[c,D]],[/(aeobc)\b/i],[m,[h,A],[c,D]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[m,[c,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[m,[c,C]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[c,C]],[/(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,oe+"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,Y]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[g,[p,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[g,[p,ae+" 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,W+"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(ie,ee):ie,$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]=C),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,x,C,k,D]),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 de;oo=1,Object.defineProperty(de,"__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(B){return y.setUA(B)}}},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 F=Object.getOwnPropertySymbols(P);$&&(F=F.filter(function(B){return Object.getOwnPropertyDescriptor(P,B).enumerable})),y.push.apply(y,F)}return y}function h(P){for(var $=1;$<arguments.length;$++){var y=arguments[$]!=null?arguments[$]:{};$%2?c(Object(y),!0).forEach(function(F){C(P,F,y[F])}):Object.getOwnPropertyDescriptors?Object.defineProperties(P,Object.getOwnPropertyDescriptors(y)):c(Object(y)).forEach(function(F){Object.defineProperty(P,F,Object.getOwnPropertyDescriptor(y,F))})}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 F=$[y];F.enumerable=F.enumerable||!1,F.configurable=!0,"value"in F&&(F.writable=!0),Object.defineProperty(P,F.key,F)}}function b(P,$,y){return $&&O(P.prototype,$),P}function C(P,$,y){return $ in P?Object.defineProperty(P,$,{value:y,enumerable:!0,configurable:!0,writable:!0}):P[$]=y,P}function x(){return x=Object.assign||function(P){for(var $=1;$<arguments.length;$++){var y=arguments[$];for(var F in y)Object.prototype.hasOwnProperty.call(y,F)&&(P[F]=y[F])}return P},x.apply(this,arguments)}function k(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 D(P){return D=Object.setPrototypeOf?Object.getPrototypeOf:function(y){return y.__proto__||Object.getPrototypeOf(y)},D(P)}function H(P,$){return H=Object.setPrototypeOf||function(F,B){return F.__proto__=B,F},H(P,$)}function A(P,$){if(P==null)return{};var y={},F=Object.keys(P),B,ye;for(ye=0;ye<F.length;ye++)B=F[ye],!($.indexOf(B)>=0)&&(y[B]=P[B]);return y}function j(P,$){if(P==null)return{};var y=A(P,$),F,B;if(Object.getOwnPropertySymbols){var ye=Object.getOwnPropertySymbols(P);for(B=0;B<ye.length;B++)F=ye[B],!($.indexOf(F)>=0)&&Object.prototype.propertyIsEnumerable.call(P,F)&&(y[F]=P[F])}return y}function M(P){if(P===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return P}function Y(P,$){if($&&(typeof $=="object"||typeof $=="function"))return $;if($!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return M(P)}function G(P,$){return W(P)||oe(P,$)||ae(P,$)||re()}function W(P){if(Array.isArray(P))return P}function oe(P,$){var y=P==null?null:typeof Symbol<"u"&&P[Symbol.iterator]||P["@@iterator"];if(y!=null){var F=[],B=!0,ye=!1,Me,Xe;try{for(y=y.call(P);!(B=(Me=y.next()).done)&&(F.push(Me.value),!($&&F.length===$));B=!0);}catch(vr){ye=!0,Xe=vr}finally{try{!B&&y.return!=null&&y.return()}finally{if(ye)throw Xe}}return F}}function ae(P,$){if(P){if(typeof P=="string")return le(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 le(P,$)}}function le(P,$){($==null||$>P.length)&&($=P.length);for(var y=0,F=new Array($);y<$;y++)F[y]=P[y];return F}function re(){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"},X={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 X}},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,F,B,ye){return{isBrowser:$,browserMajorVersion:L(y.major),browserFullVersion:L(y.version),browserName:L(y.name),engineName:L(F.name),engineVersion:L(F.version),osName:L(B.name),osVersion:L(B.version),userAgent:L(ye)}},ce=function($,y,F,B){return h({},$,{vendor:L(y.vendor),model:L(y.model),os:L(F.name),osVersion:L(F.version),ua:L(B)})},he=function($,y,F,B){return{isSmartTV:$,engineName:L(y.name),engineVersion:L(y.version),osName:L(F.name),osVersion:L(F.version),userAgent:L(B)}},Ee=function($,y,F,B){return{isConsole:$,engineName:L(y.name),engineVersion:L(y.version),osName:L(F.name),osVersion:L(F.version),userAgent:L(B)}},S=function($,y,F,B){return{isWearable:$,engineName:L(y.name),engineVersion:L(y.version),osName:L(F.name),osVersion:L(F.version),userAgent:L(B)}},Z=function($,y,F,B,ye){return{isEmbedded:$,vendor:L(y.vendor),model:L(y.model),engineName:L(F.name),engineVersion:L(F.version),osName:L(B.name),osVersion:L(B.version),userAgent:L(ye)}};function K(P){var $=P?m(P):p,y=$.device,F=$.browser,B=$.engine,ye=$.os,Me=$.ua,Xe=T(y.type),vr=Xe.isBrowser,u5=Xe.isMobile,c5=Xe.isTablet,Ks=Xe.isSmartTV,qs=Xe.isConsole,Ys=Xe.isWearable,Xs=Xe.isEmbedded;if(vr)return ne(vr,F,B,ye,Me);if(Ks)return he(Ks,B,ye,Me);if(qs)return Ee(qs,B,ye,Me);if(u5||c5)return ce(Xe,y,ye,Me);if(Ys)return S(Ys,B,ye,Me);if(Xs)return Z(Xs,y,B,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},ie=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,F=$.browser,B=$.os,ye=$.engine,Me=$.ua;return{isSmartTV:xe(y),isConsole:w(y),isWearable:Ve(y),isEmbedded:ie(y),isMobileSafari:ys(F)||ft(),isChromium:ze(F),isMobile:ge(y)||ft(),isMobileOnly:_(y),isTablet:fe(y)||ft(),isBrowser:Ne(y),isDesktop:Ne(y),isAndroid:ue(B),isWinPhone:we(B),isIOS:Ie(B)||ft(),isChrome:pe(F),isFirefox:Re(F),isSafari:bs(F),isOpera:ws(F),isIE:xs(F),osVersion:Fe(B),osName:$e(B),fullBrowserVersion:Ss(F),browserVersion:Os(F),browserName:Ps(F),mobileVendor:J(y),mobileModel:ve(y),engineName:Ts(ye),engineVersion:Is(ye),getUA:Fs(Me),isEdge:Mt(F)||Qt(Me),isYandex:$s(F),deviceType:Te(y),isIOS13:_s(),isIPad13:ft(),isIPhone13:As(),isIPod13:ks(),isElectron:Ns(),isEdgeChromium:Qt(Me),isLegacyEdge:Mt(F)&&!Qt(Me),isWindows:ee(B),isMacOs:me(B),isMIUI:Cs(F),isSamsungBrowser:Es(F)}}var Ls=xe(d),Ds=w(d),js=Ve(d),v6=ie(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),D6=_s(),j6=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($),F=y.device,B=y.browser,ye=y.os,Me=y.engine,Xe=y.ua;return Ms({device:F,browser:B,os:ye,engine:Me,ua:Xe})},Y6=function($){var y=$.renderWithFragment,F=$.children,B=j($,["renderWithFragment","children"]);return Vs?y?t.createElement(n.Fragment,null,F):t.createElement("div",B,F):null},X6=function($){var y=$.renderWithFragment,F=$.children,B=j($,["renderWithFragment","children"]);return Ws?y?t.createElement(n.Fragment,null,F):t.createElement("div",B,F):null},Z6=function($){var y=$.renderWithFragment,F=$.children,B=j($,["renderWithFragment","children"]);return Gs?y?t.createElement(n.Fragment,null,F):t.createElement("div",B,F):null},J6=function($){var y=$.renderWithFragment,F=$.children,B=j($,["renderWithFragment","children"]);return Hs?y?t.createElement(n.Fragment,null,F):t.createElement("div",B,F):null},Q6=function($){var y=$.renderWithFragment,F=$.children,B=j($,["renderWithFragment","children"]);return hr?y?t.createElement(n.Fragment,null,F):t.createElement("div",B,F):null},e5=function($){var y=$.renderWithFragment,F=$.children,B=j($,["renderWithFragment","children"]);return Bs?y?t.createElement(n.Fragment,null,F):t.createElement("div",B,F):null},t5=function($){var y=$.renderWithFragment,F=$.children,B=j($,["renderWithFragment","children"]);return Us?y?t.createElement(n.Fragment,null,F):t.createElement("div",B,F):null},n5=function($){var y=$.renderWithFragment,F=$.children;$.viewClassName,$.style;var B=j($,["renderWithFragment","children","viewClassName","style"]);return Rs?y?t.createElement(n.Fragment,null,F):t.createElement("div",B,F):null},r5=function($){var y=$.renderWithFragment,F=$.children,B=j($,["renderWithFragment","children"]);return Ls?y?t.createElement(n.Fragment,null,F):t.createElement("div",B,F):null},i5=function($){var y=$.renderWithFragment,F=$.children,B=j($,["renderWithFragment","children"]);return Ds?y?t.createElement(n.Fragment,null,F):t.createElement("div",B,F):null},o5=function($){var y=$.renderWithFragment,F=$.children,B=j($,["renderWithFragment","children"]);return js?y?t.createElement(n.Fragment,null,F):t.createElement("div",B,F):null},a5=function($){var y=$.renderWithFragment,F=$.children;$.viewClassName,$.style;var B=$.condition,ye=j($,["renderWithFragment","children","viewClassName","style","condition"]);return B?y?t.createElement(n.Fragment,null,F):t.createElement("div",ye,F):null};function d5(P){return function($){k(y,$);function y(F){var B;return E(this,y),B=Y(this,D(y).call(this,F)),B.isEventListenerAdded=!1,B.handleOrientationChange=B.handleOrientationChange.bind(M(B)),B.onOrientationChange=B.onOrientationChange.bind(M(B)),B.onPageLoad=B.onPageLoad.bind(M(B)),B.state={isLandscape:!1,isPortrait:!1},B}return b(y,[{key:"handleOrientationChange",value:function(){this.isEventListenerAdded||(this.isEventListenerAdded=!0);var B=window.innerWidth>window.innerHeight?90:0;this.setState({isPortrait:B===0,isLandscape:B===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,x({},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],F=$[1],B=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&&F(Me)},[y.orientation]);return n.useEffect(function(){return(typeof window>"u"?"undefined":g(window))!==void 0&&hr&&(B(),window.addEventListener("load",B,!1),window.addEventListener("resize",B,!1)),function(){window.removeEventListener("resize",B,!1),window.removeEventListener("load",B,!1)}},[B]),y}function zs(P){var $=P||window.navigator.userAgent;return m($)}function s5(P){var $=P||window.navigator.userAgent,y=zs($),F=Ms(y);return[F,y]}return de.AndroidView=Y6,de.BrowserTypes=I,de.BrowserView=X6,de.ConsoleView=i5,de.CustomView=a5,de.IEView=Z6,de.IOSView=J6,de.MobileOnlyView=n5,de.MobileView=Q6,de.OsTypes=R,de.SmartTVView=r5,de.TabletView=e5,de.WearableView=o5,de.WinPhoneView=t5,de.browserName=T6,de.browserVersion=P6,de.deviceDetect=K,de.deviceType=L6,de.engineName=_6,de.engineVersion=A6,de.fullBrowserVersion=O6,de.getSelectorsByUserAgent=q6,de.getUA=k6,de.isAndroid=Vs,de.isBrowser=Ws,de.isChrome=y6,de.isChromium=$6,de.isConsole=Ds,de.isDesktop=b6,de.isEdge=F6,de.isEdgeChromium=V6,de.isElectron=W6,de.isEmbedded=v6,de.isFirefox=w6,de.isIE=Gs,de.isIOS=Hs,de.isIOS13=D6,de.isIPad13=j6,de.isIPhone13=R6,de.isIPod13=B6,de.isLegacyEdge=U6,de.isMIUI=z6,de.isMacOs=G6,de.isMobile=hr,de.isMobileOnly=Rs,de.isMobileSafari=g6,de.isOpera=C6,de.isSafari=x6,de.isSamsungBrowser=K6,de.isSmartTV=Ls,de.isTablet=Bs,de.isWearable=js,de.isWinPhone=Us,de.isWindows=H6,de.isYandex=M6,de.mobileModel=N6,de.mobileVendor=I6,de.osName=S6,de.osVersion=E6,de.parseUserAgent=m,de.setUserAgent=U,de.useDeviceData=zs,de.useDeviceSelectors=s5,de.useMobileOrientation=l5,de.withOrientationChange=d5,de}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),C=u.useRef(null),x=u.useRef(null),[k,D]=u.useState(-1),H=u.useRef(0),A=u.useRef(0),[j,M]=u.useState(!1);let Y={};const[G,W]=u.useState({left:0,top:0}),[oe,ae]=u.useState(null),le=u.useRef(!1),re=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,A.current=document.body.scrollHeight,M(!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 X=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=()=>A.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,W({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"?le.current=!0:S.shiftKey&&le.current&&S.key==="Tab"||S.key==="Tab"?(setTimeout(()=>{O.current?O.current?.focus():b.current?.focus()},0),le.current=!1):S.key==="Escape"||S.key==="Enter"||S.key==="Space"||S.key===" "?(U(!1),z()):le.current=!1},ne=S=>{const{key:Z}=S;if(Z==="Tab"||S.shiftKey&&Z==="Tab")setTimeout(()=>{C.current?.focus()},0);else if(Z==="ArrowDown"||Z==="ArrowUp"){S.preventDefault(),setTimeout(()=>{b.current?.focus()},0);let K=k;if(Z==="ArrowDown"?K=Math.min(k+1,d.current.length-1):Z==="ArrowUp"&&(K=Math.max(k-1,0)),k===0&&S.key==="ArrowUp"?K=d.current.length-1:k===d.current.length-1&&S.key==="ArrowDown"&&(K=0),D(K),x.current&&K>=0){const _=x.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===" "?k!==-1&&T(d.current[k].value):Z==="Escape"&&(U(!1),z())};u.useEffect(()=>{oe&&clearTimeout(oe);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);ae(S)},[f]);const ce=()=>{h(!0)},he=()=>{h(!1)};if(u.useEffect(()=>{const S=re.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")&&(Y={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:re,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:{...Y,...a},"aria-expanded":m,"aria-haspopup":"listbox","aria-multiselectable":"true","aria-autocomplete":"list",role:"combobox",children:X}),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}),j?ke.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:x,role:"listbox",children:d.current.map((S,Z)=>N.jsxs("li",{className:`${Be.optionsList} ${Z===k?Be.focused:""}`,onClick:()=>T(S.value),"aria-selected":Z===k,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:C,children:"Done"})]})]})})}),document.body):null]})})},Ae={multiSelectContainer:"_multiSelectContainer_1on91_1",listOptionsWrap:"_listOptionsWrap_1on91_4",selectedValuesWrap:"_selectedValuesWrap_1on91_7",selectedValues:"_selectedValues_1on91_7",focused:"_focused_1on91_16",countAndIconContainer:"_countAndIconContainer_1on91_19",rounded:"_rounded_1on91_22",selected:"_selected_1on91_7",selectedCount:"_selectedCount_1on91_37",dropDownIcon:"_dropDownIcon_1on91_41",optionsListContainer:"_optionsListContainer_1on91_45",optionsListWrap:"_optionsListWrap_1on91_51",searchInputWrap:"_searchInputWrap_1on91_54",searchInput:"_searchInput_1on91_54",optionsList:"_optionsList_1on91_45",btnContainer:"_btnContainer_1on91_76",hiddenButton:"_hiddenButton_1on91_79",announcement:"_announcement_1on91_92"},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),C=u.useRef(null),x=u.useRef(null),k=u.useRef(null),D=u.useRef(null),H=u.useRef(null),[A,j]=u.useState(-1),M=u.useRef(0),Y=u.useRef(0),[G,W]=u.useState(!1);let oe={};const[ae,le]=u.useState({left:0,top:0}),[re,z]=u.useState(null),I=u.useRef(!1),R=u.useRef(null);u.useEffect(()=>{m(n)},[n]);const X=()=>{setTimeout(()=>{(b.current?.children[0]).focus()},0)};u.useEffect(()=>{const _=fe=>{C.current&&!C.current.contains(fe.target)&&(g(!1),c(""),X())};return document.addEventListener("mousedown",_),()=>{document.removeEventListener("mousedown",_)}},[]);const T=()=>{M.current=window.innerHeight,Y.current=document.body.scrollHeight,W(!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(()=>{x.current?x.current?.focus():k.current?.focus(),U("use up and down arrow keys to navigate")},0)},ne=()=>{if(b.current){const _=b.current.getBoundingClientRect();setTimeout(()=>{const fe=C?.current?.getBoundingClientRect();if(fe){const ge=fe.height,xe=fe.width,Ne=window.innerWidth,Ve=M.current-_.bottom,w=_.top;let ie;Ve>=ge?ie=_.bottom:w>=ge?ie=_.top-ge:Ve>=w?ie=_.bottom:ie=_.top-ge;const J=Ne-_.left,ve=_.right;let Te;J-20>=xe?Te=_.left:ve>=xe?Te=_.right-xe+20:J>=ve?Te=Math.max(20,Ne-xe-20):Te=Math.max(20,_.right-xe+20),le({left:Te,top:ie})}},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(()=>{x.current?x.current?.focus():k.current?.focus()},0),I.current=!1):_.key==="Escape"||_.key==="Enter"||_.key==="Space"||_.key===" "?(q(!1),X()):I.current=!1},he=_=>{const{key:fe}=_;if(fe==="Tab"||_.shiftKey&&fe==="Tab")setTimeout(()=>{D.current?.focus()},0);else if(fe==="ArrowDown"||fe==="ArrowUp"){_.preventDefault(),setTimeout(()=>{k.current?.focus()},0);let ge=A;if(fe==="ArrowDown"?ge=Math.min(A+1,f.current.length-1):fe==="ArrowUp"&&(ge=Math.max(A-1,0)),A===0&&_.key==="ArrowUp"?ge=f.current.length-1:A===f.current.length-1&&_.key==="ArrowDown"&&(ge=0),j(ge),H.current&&ge>=0){const xe=H.current.querySelectorAll(`.${Ae.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===" "?A!==-1&&Q(f.current[A].value):fe==="Escape"&&(q(!1),X())};u.useEffect(()=>{re&&clearTimeout(re);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")&&(oe={"--theme-color":i})}const Z=()=>{g(!1)},K=()=>{g(!1),c(""),X(),t(v)};return N.jsx("div",{className:Ae.multiSelectContainer,children:N.jsxs("div",{className:Ae.listOptionsWrap,children:[N.jsx("div",{className:`${o} ${Ae.selectedValuesWrap}`,ref:b,children:N.jsxs("div",{className:`${Ae.selectedValues} ${h?Ae.focused:""} ${v.length>0?Ae.selected:""} ${v.length>1?Ae.countShow:""} ${v.length===0?Ae.placeholder:""} ${l==="rounded"?Ae.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:{...oe,...a},"aria-expanded":h,"aria-haspopup":"listbox","aria-multiselectable":"true","aria-autocomplete":"list",role:"combobox",children:[N.jsx("span",{children:L}),N.jsxs("div",{className:Ae.countAndIconContainer,children:[v.length>1&&N.jsx("span",{className:Ae.selectedCount,"data-testid":"selected-count",style:{backgroundColor:i},children:v.length}),N.jsx("span",{className:Ae.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:Ae.announcement}),G?ke.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:`${Ae.optionsListContainer}`,ref:C,onClick:_=>_.stopPropagation(),style:{opacity:ae.top?1:0,left:ae.left,top:ae.top,paddingBottom:f.current.length===1?0:void 0},children:[N.jsxs("div",{className:Ae.optionsListWrap,children:[e.length>=6&&N.jsx("div",{className:Ae.searchInputWrap,children:N.jsx("input",{type:"text",ref:x,placeholder:"Type to filter",className:Ae.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:`${Ae.optionsList} ${fe===A?Ae.focused:""}`,onClick:()=>Q(_.value),"aria-selected":fe===A,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:Ae.btnContainer,children:[N.jsx("input",{ref:k,onKeyDown:_=>{he(_)},className:Ae.hiddenButton}),N.jsx(Pn,{themeColor:i,variant:"primary",size:"medium",disabled:!(v.length>0),onClick:K,"data-testid":"done-button",onKeyDown:_=>{ce(_)},ref:D,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(C=>C.value===c);if(!h||h.disable)return;f.current[c]?.click();const O=l.includes(c)?l.filter(C=>C!==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 Dt=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Dt||{}),wt=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(wt||{});function je(){let e=Du();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??ju;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+">."),oe}var $=u,C=Symbol.for("react.transitional.element"),x=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),H=Symbol.for("react.profiler"),A=Symbol.for("react.consumer"),D=Symbol.for("react.context"),M=Symbol.for("react.forward_ref"),Y=Symbol.for("react.suspense"),G=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),ie=Symbol.for("react.lazy"),ae=Symbol.for("react.offscreen"),le=Symbol.iterator,re=Symbol.for("react.client.reference"),K=$.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,N=Object.prototype.hasOwnProperty,R=Object.assign,X=Symbol.for("react.client.reference"),T=Array.isArray,U=0,L,Q,q,ne,ce,he,Ee;r.__reactDisabledLog=!0;var S,Z,z=!1,_=new(typeof WeakMap=="function"?WeakMap:Map),fe=Symbol.for("react.client.reference"),ge,xe={},Ie={},Ve={};nn.Fragment=k,nn.jsx=function(w,oe,J,ve,Te){return c(w,oe,J,!1,ve,Te)},nn.jsxs=function(w,oe,J,ve,Te){return c(w,oe,J,!0,ve,Te)}}()),nn}var hi;function au(){return hi||(hi=1,process.env.NODE_ENV==="production"?jn.exports=ou():jn.exports=iu()),jn.exports}var I=au();const Dn={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),[o,i,a]=[0,2,4].map(l=>parseInt(r.substring(l,l+2),16));return(.2126*o+.7152*i+.0722*a)/255<.7?"dark":"light"};class Je{static convert3HexTo6(t){return typeof t=="string"&&/^#(?:[0-9a-fA-F]{3}){1,2}$/.test(t)&&t.length===4?t.replace(/^#(.)(.)(.)$/,"#$1$1$2$2$3$3"):t}}const Rn=u.forwardRef(({themeColor:e="",variant:t="primary",size:n="small",shape:r="rounded",children:o,className:i="",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=t==="primary"?e:"#ffffff",c=t==="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=[Dn.button,Dn[t],Dn[n],Dn[r],i].filter(Boolean).join(" ");return I.jsx("button",{disabled:d,ref:s,style:{...f,...a},className:`${v}`,...l,children:o})});Rn.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"},du=()=>`checkbox_${Math.random().toString(36).substring(2,11)}`,Tr=u.forwardRef(({children:e,themeColor:t="",checkboxSize:n="medium",id:r=du(),checked:o=!1,disabled:i=!1,className:a="",onChange:d,style:l={},tabIndex:s,...f},v)=>{const[m,p]=u.useState(o);let c={},h,g=i?"#9b9b9b":"#ffffff";if(t){const C=pt(t);if(t=Je.convert3HexTo6(t),C==="dark"||C==="light"){switch(C){case"dark":g=i?m?"#9b9b9b":"#f9f9f9":"#ffffff";break;case"light":g=i?m?"#9b9b9b":"#f9f9f9":m?"#333333":"#ffffff";break;default:g="#9b9b9b";break}const x=i?"#f9f9f9":m?t:"#ffffff";h=i?"#e4e4e4":t=="#ffffff"?"#333333":t,m&&(c={backgroundColor:x,borderColor:h,outlineColor:h})}}const E=i?dt.checkboxDisabled:"",O=[dt.checkboxLayout,dt[n],E,a].filter(Boolean).join(" "),$=C=>{C.key!="Enter"&&(C.preventDefault(),d?.(C.target.checked),p(!m))};return I.jsx(I.Fragment,{children:I.jsx("div",{className:O,"data-testid":"checkbox",children:I.jsxs("label",{className:dt.checkboxLabel,htmlFor:r,onClick:C=>$(C),children:[I.jsxs("div",{className:dt.checkboxInnerContainer,tabIndex:s||i?-1:0,onKeyPress:C=>$(C),"data-testid":"checkbox-inner-container",children:[I.jsx("input",{className:dt.checkboxInput,onChange:C=>$(C),type:"checkbox",checked:m,disabled:i,id:r,ref:v,...f,tabIndex:-1,"data-testid":"checkbox-input"}),I.jsx("div",{className:dt.checkboxFrame,style:{...c,...l},"data-testid":"checkbox-frame",children:I.jsx("svg",{version:"1.1",focusable:"false",className:dt.checkboxCheckMark,viewBox:"0 0 24 24","data-testid":"check-mark-svg",children:I.jsx("path",{className:dt.checkboxCheckMarkPath,fill:"none",stroke:g,d:"M4.1,12.7 9,17.6 20.3,6.3"})})})]}),e&&I.jsx("span",{"data-testid":"checkbox-label",children:e}),I.jsx("div",{className:dt.visuallyHidden,"aria-live":"polite","aria-atomic":"true",children:m?"Checked":"Unchecked"})]})})})});Tr.displayName="Checkbox";const vi={textInputWrapper:"_textInputWrapper_1i9m6_1",textInput:"_textInput_1i9m6_1"};var de={},rn={exports:{}},lu=rn.exports,gi;function su(){return gi||(gi=1,function(e,t){(function(n,r){var o="1.0.40",i="",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",$="mobile",C="tablet",x="smarttv",k="wearable",j="embedded",H=500,A="Amazon",D="Apple",M="ASUS",Y="BlackBerry",G="Browser",W="Chrome",ie="Edge",ae="Firefox",le="Google",re="Huawei",K="LG",N="Microsoft",R="Motorola",X="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},z=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,i).split(".")[0]:r},ge=function(ue,ee){if(typeof ue===f)return ue=ue.replace(/^\s\s*/,i),typeof ee===l?ue:ue.substring(0,H)},xe=function(ue,ee){for(var me=0,we,Ne,Fe,be,pe,Re;me<ee.length&&!pe;){var Ke=ee[me],Mt=ee[me+1];for(we=Ne=0;we<Ke.length&&!pe&&Ke[we];)if(pe=Ke[we++].exec(ue),pe)for(Fe=0;Fe<Mt.length;Fe++)Re=pe[++Ne],be=Mt[Fe],typeof be===s&&be.length>0?be.length===2?typeof be[1]==d?this[be[0]]=be[1].call(this,Re):this[be[0]]=be[1]:be.length===3?typeof be[1]===d&&!(be[1].exec&&be[1].test)?this[be[0]]=Re?be[1].call(this,Re,be[2]):r:this[be[0]]=Re?Re.replace(be[1],be[2]):r:be.length===4&&(this[be[0]]=Re?be[3].call(this,Re.replace(be[1],be[2])):r):this[be]=Re||r;me+=2}},Ie=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(z(ee[me][we],ue))return me===a?r:me}else if(z(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"},oe={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,X+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[g,[p,X+" GX"]],[/\bopr\/([\w\.]+)/i],[g,[p,X]],[/\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,ae+" Focus"]],[/\bopt\/([\w\.]+)/i],[g,[p,X+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[g,[p,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[g,[p,"Dolphin"]],[/coast\/([\w\.]+)/i],[g,[p,X+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[g,[p,"MIUI"+Ee]],[/fxios\/([\w\.-]+)/i],[g,[p,ae]],[/\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,W+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[p,W+" 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,Ie,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,ae+" 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/,i,_]],[/(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,C]],[/\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,$]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[m,[h,D],[c,$]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[m,[h,D],[c,C]],[/(macintosh);/i],[m,[h,D]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[m,[h,U],[c,$]],[/(?:honor)([-\w ]+)[;\)]/i],[m,[h,"Honor"],[c,$]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[m,[h,re],[c,C]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[m,[h,re],[c,$]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[m,/_/g," "],[h,Q],[c,$]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[m,/_/g," "],[h,Q],[c,C]],[/; (\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(opd2\d{3}a?) bui/i],[m,[h,"OPPO"],[c,C]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[m,[h,"Vivo"],[c,$]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[m,[h,"Realme"],[c,$]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[m,[h,R],[c,$]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[m,[h,R],[c,C]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[m,[h,K],[c,C]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[m,[h,K],[c,$]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[m,[h,"Lenovo"],[c,C]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[m,/_/g," "],[h,"Nokia"],[c,$]],[/(pixel c)\b/i],[m,[h,le],[c,C]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[m,[h,le],[c,$]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[m,[h,L],[c,$]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[m,"Xperia Tablet"],[h,L],[c,C]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[m,[h,"OnePlus"],[c,$]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[m,[h,A],[c,C]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[m,/(.+)/g,"Fire Phone $1"],[h,A],[c,$]],[/(playbook);[-\w\),; ]+(rim)/i],[m,h,[c,C]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[m,[h,Y],[c,$]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[m,[h,M],[c,C]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[m,[h,M],[c,$]],[/(nexus 9)/i],[m,[h,"HTC"],[c,C]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[m,/_/g," "],[c,$]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[m,[h,"TCL"],[c,C]],[/(itel) ((\w+))/i],[[h,_],m,[c,Ie,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[m,[h,"Acer"],[c,C]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[m,[h,"Meizu"],[c,$]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[m,[h,"Ulefone"],[c,$]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[m,[h,"Energizer"],[c,$]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[m,[h,"Cat"],[c,$]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[m,[h,"Smartfren"],[c,$]],[/droid.+; (a(?:015|06[35]|142p?))/i],[m,[h,"Nothing"],[c,$]],[/(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,$]],[/(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,C]],[/(surface duo)/i],[m,[h,N],[c,C]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[m,[h,"Fairphone"],[c,$]],[/(u304aa)/i],[m,[h,"AT&T"],[c,$]],[/\bsie-(\w*)/i],[m,[h,"Siemens"],[c,$]],[/\b(rct\w+) b/i],[m,[h,"RCA"],[c,C]],[/\b(venue[\d ]{2,7}) b/i],[m,[h,"Dell"],[c,C]],[/\b(q(?:mv|ta)\w+) b/i],[m,[h,"Verizon"],[c,C]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[m,[h,"Barnes & Noble"],[c,C]],[/\b(tm\d{3}\w+) b/i],[m,[h,"NuVision"],[c,C]],[/\b(k88) b/i],[m,[h,"ZTE"],[c,C]],[/\b(nx\d{3}j) b/i],[m,[h,"ZTE"],[c,$]],[/\b(gen\d{3}) b.+49h/i],[m,[h,"Swiss"],[c,$]],[/\b(zur\d{3}) b/i],[m,[h,"Swiss"],[c,C]],[/\b((zeki)?tb.*\b) b/i],[m,[h,"Zeki"],[c,C]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],m,[c,C]],[/\b(ns-?\w{0,9}) b/i],[m,[h,"Insignia"],[c,C]],[/\b((nxa|next)-?\w{0,9}) b/i],[m,[h,"NextBook"],[c,C]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],m,[c,$]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],m,[c,$]],[/\b(ph-1) /i],[m,[h,"Essential"],[c,$]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[m,[h,"Envizen"],[c,C]],[/\b(trio[-\w\. ]+) b/i],[m,[h,"MachSpeed"],[c,C]],[/\btu_(1491) b/i],[m,[h,"Rotor"],[c,C]],[/(shield[\w ]+) b/i],[m,[h,"Nvidia"],[c,C]],[/(sprint) (\w+)/i],[h,m,[c,$]],[/(kin\.[onetw]{3})/i],[[m,/\./g," "],[h,N],[c,$]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[m,[h,q],[c,C]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[m,[h,q],[c,$]],[/smart-tv.+(samsung)/i],[h,[c,x]],[/hbbtv.+maple;(\d+)/i],[[m,/^/,"SmartTV"],[h,T],[c,x]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,K],[c,x]],[/(apple) ?tv/i],[h,[m,D+" TV"],[c,x]],[/crkey/i],[[m,W+"cast"],[h,le],[c,x]],[/droid.+aft(\w+)( bui|\))/i],[m,[h,A],[c,x]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[m,[h,U],[c,x]],[/(bravia[\w ]+)( bui|\))/i],[m,[h,L],[c,x]],[/(mitv-\w{5}) bui/i],[m,[h,Q],[c,x]],[/Hbbtv.*(technisat) (.*);/i],[h,m,[c,x]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[h,ge],[m,ge],[c,x]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[c,x]],[/(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,N],[c,O]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[m,[h,T],[c,k]],[/((pebble))app/i],[h,m,[c,k]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[m,[h,D],[c,k]],[/droid.+; (glass) \d/i],[m,[h,le],[c,k]],[/droid.+; (wt63?0{2,3})\)/i],[m,[h,q],[c,k]],[/droid.+; (glass) \d/i],[m,[h,le],[c,k]],[/(pico) (4|neo3(?: link|pro)?)/i],[h,m,[c,k]],[/; (quest( \d| pro)?)/i],[m,[h,ne],[c,k]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[c,j]],[/(aeobc)\b/i],[m,[h,A],[c,j]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[m,[c,$]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[m,[c,C]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[c,C]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[c,$]],[/(android[-\w\. ]{0,9});.+buil/i],[m,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[g,[p,ie+"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,Ie,w]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[g,Ie,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,Y]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[g,[p,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[g,[p,ae+" 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,W+"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 n!==l&&n.navigator?n.navigator:r,we=ue||(me&&me.userAgent?me.userAgent:i),Ne=me&&me.userAgentData?me.userAgentData:r,Fe=ee?S(oe,ee):oe,be=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]),be&&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),be&&!pe[c]&&Ne&&Ne.mobile&&(pe[c]=$),be&&pe[m]=="Macintosh"&&me&&typeof me.standalone!==l&&me.maxTouchPoints&&me.maxTouchPoints>2&&(pe[m]="iPad",pe[c]=C),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),be&&!pe[p]&&Ne&&Ne.platform&&Ne.platform!="Unknown"&&(pe[p]=Ne.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=o,J.BROWSER=Z([p,g,v]),J.CPU=Z([E]),J.DEVICE=Z([m,h,c,O,$,x,C,k,j]),J.ENGINE=J.OS=Z([p,g]),e.exports&&(t=e.exports=J),t.UAParser=J;var ve=typeof n!==l&&(n.jQuery||n.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:lu)}(rn,rn.exports)),rn.exports}var bi;function uu(){if(bi)return de;bi=1,Object.defineProperty(de,"__esModule",{value:!0});function e(P){return P&&typeof P=="object"&&"default"in P?P.default:P}var t=u,n=e(t),r=su(),o=new r,i=o.getBrowser(),a=o.getCPU(),d=o.getDevice(),l=o.getEngine(),s=o.getOS(),f=o.getUA(),v=function(b){return o.setUA(b)},m=function(b){if(!b){console.error("No userAgent string was provided");return}var y=new r(b);return{UA:y,browser:y.getBrowser(),cpu:y.getCPU(),device:y.getDevice(),engine:y.getEngine(),os:y.getOS(),ua:y.getUA(),setUserAgent:function(B){return y.setUA(B)}}},p=Object.freeze({ClientUAInstance:o,browser:i,cpu:a,device:d,engine:l,os:s,ua:f,setUa:v,parseUserAgent:m});function c(P,b){var y=Object.keys(P);if(Object.getOwnPropertySymbols){var F=Object.getOwnPropertySymbols(P);b&&(F=F.filter(function(B){return Object.getOwnPropertyDescriptor(P,B).enumerable})),y.push.apply(y,F)}return y}function h(P){for(var b=1;b<arguments.length;b++){var y=arguments[b]!=null?arguments[b]:{};b%2?c(Object(y),!0).forEach(function(F){C(P,F,y[F])}):Object.getOwnPropertyDescriptors?Object.defineProperties(P,Object.getOwnPropertyDescriptors(y)):c(Object(y)).forEach(function(F){Object.defineProperty(P,F,Object.getOwnPropertyDescriptor(y,F))})}return P}function g(P){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?g=function(b){return typeof b}:g=function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},g(P)}function E(P,b){if(!(P instanceof b))throw new TypeError("Cannot call a class as a function")}function O(P,b){for(var y=0;y<b.length;y++){var F=b[y];F.enumerable=F.enumerable||!1,F.configurable=!0,"value"in F&&(F.writable=!0),Object.defineProperty(P,F.key,F)}}function $(P,b,y){return b&&O(P.prototype,b),P}function C(P,b,y){return b in P?Object.defineProperty(P,b,{value:y,enumerable:!0,configurable:!0,writable:!0}):P[b]=y,P}function x(){return x=Object.assign||function(P){for(var b=1;b<arguments.length;b++){var y=arguments[b];for(var F in y)Object.prototype.hasOwnProperty.call(y,F)&&(P[F]=y[F])}return P},x.apply(this,arguments)}function k(P,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function");P.prototype=Object.create(b&&b.prototype,{constructor:{value:P,writable:!0,configurable:!0}}),b&&H(P,b)}function j(P){return j=Object.setPrototypeOf?Object.getPrototypeOf:function(y){return y.__proto__||Object.getPrototypeOf(y)},j(P)}function H(P,b){return H=Object.setPrototypeOf||function(F,B){return F.__proto__=B,F},H(P,b)}function A(P,b){if(P==null)return{};var y={},F=Object.keys(P),B,ye;for(ye=0;ye<F.length;ye++)B=F[ye],!(b.indexOf(B)>=0)&&(y[B]=P[B]);return y}function D(P,b){if(P==null)return{};var y=A(P,b),F,B;if(Object.getOwnPropertySymbols){var ye=Object.getOwnPropertySymbols(P);for(B=0;B<ye.length;B++)F=ye[B],!(b.indexOf(F)>=0)&&Object.prototype.propertyIsEnumerable.call(P,F)&&(y[F]=P[F])}return y}function M(P){if(P===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return P}function Y(P,b){if(b&&(typeof b=="object"||typeof b=="function"))return b;if(b!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return M(P)}function G(P,b){return W(P)||ie(P,b)||ae(P,b)||re()}function W(P){if(Array.isArray(P))return P}function ie(P,b){var y=P==null?null:typeof Symbol<"u"&&P[Symbol.iterator]||P["@@iterator"];if(y!=null){var F=[],B=!0,ye=!1,Le,Xe;try{for(y=y.call(P);!(B=(Le=y.next()).done)&&(F.push(Le.value),!(b&&F.length===b));B=!0);}catch(Pr){ye=!0,Xe=Pr}finally{try{!B&&y.return!=null&&y.return()}finally{if(ye)throw Xe}}return F}}function ae(P,b){if(P){if(typeof P=="string")return le(P,b);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 le(P,b)}}function le(P,b){(b==null||b>P.length)&&(b=P.length);for(var y=0,F=new Array(b);y<b;y++)F[y]=P[y];return F}function re(){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 K={Mobile:"mobile",Tablet:"tablet",SmartTv:"smarttv",Console:"console",Wearable:"wearable",Embedded:"embedded",Browser:void 0},N={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"},X={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},T=function(b){switch(b){case K.Mobile:return{isMobile:!0};case K.Tablet:return{isTablet:!0};case K.SmartTv:return{isSmartTV:!0};case K.Console:return{isConsole:!0};case K.Wearable:return{isWearable:!0};case K.Browser:return{isBrowser:!0};case K.Embedded:return{isEmbedded:!0};default:return X}},U=function(b){return v(b)},L=function(b){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"none";return b||y},Q=function(){return typeof window<"u"&&(window.navigator||navigator)?window.navigator||navigator:!1},q=function(b){var y=Q();return y&&y.platform&&(y.platform.indexOf(b)!==-1||y.platform==="MacIntel"&&y.maxTouchPoints>1&&!window.MSStream)},ne=function(b,y,F,B,ye){return{isBrowser:b,browserMajorVersion:L(y.major),browserFullVersion:L(y.version),browserName:L(y.name),engineName:L(F.name),engineVersion:L(F.version),osName:L(B.name),osVersion:L(B.version),userAgent:L(ye)}},ce=function(b,y,F,B){return h({},b,{vendor:L(y.vendor),model:L(y.model),os:L(F.name),osVersion:L(F.version),ua:L(B)})},he=function(b,y,F,B){return{isSmartTV:b,engineName:L(y.name),engineVersion:L(y.version),osName:L(F.name),osVersion:L(F.version),userAgent:L(B)}},Ee=function(b,y,F,B){return{isConsole:b,engineName:L(y.name),engineVersion:L(y.version),osName:L(F.name),osVersion:L(F.version),userAgent:L(B)}},S=function(b,y,F,B){return{isWearable:b,engineName:L(y.name),engineVersion:L(y.version),osName:L(F.name),osVersion:L(F.version),userAgent:L(B)}},Z=function(b,y,F,B,ye){return{isEmbedded:b,vendor:L(y.vendor),model:L(y.model),engineName:L(F.name),engineVersion:L(F.version),osName:L(B.name),osVersion:L(B.version),userAgent:L(ye)}};function z(P){var b=P?m(P):p,y=b.device,F=b.browser,B=b.engine,ye=b.os,Le=b.ua,Xe=T(y.type),Pr=Xe.isBrowser,W5=Xe.isMobile,V5=Xe.isTablet,eu=Xe.isSmartTV,tu=Xe.isConsole,nu=Xe.isWearable,ru=Xe.isEmbedded;if(Pr)return ne(Pr,F,B,ye,Le);if(eu)return he(eu,B,ye,Le);if(tu)return Ee(tu,B,ye,Le);if(W5||V5)return ce(Xe,y,ye,Le);if(nu)return S(nu,B,ye,Le);if(ru)return Z(ru,y,B,ye,Le)}var _=function(b){var y=b.type;return y===K.Mobile},fe=function(b){var y=b.type;return y===K.Tablet},ge=function(b){var y=b.type;return y===K.Mobile||y===K.Tablet},xe=function(b){var y=b.type;return y===K.SmartTv},Ie=function(b){var y=b.type;return y===K.Browser},Ve=function(b){var y=b.type;return y===K.Wearable},w=function(b){var y=b.type;return y===K.Console},oe=function(b){var y=b.type;return y===K.Embedded},J=function(b){var y=b.vendor;return L(y)},ve=function(b){var y=b.model;return L(y)},Te=function(b){var y=b.type;return L(y,"browser")},ue=function(b){var y=b.name;return y===R.Android},ee=function(b){var y=b.name;return y===R.Windows},me=function(b){var y=b.name;return y===R.MAC_OS},we=function(b){var y=b.name;return y===R.WindowsPhone},Ne=function(b){var y=b.name;return y===R.IOS},Fe=function(b){var y=b.version;return L(y)},be=function(b){var y=b.name;return L(y)},pe=function(b){var y=b.name;return y===N.Chrome},Re=function(b){var y=b.name;return y===N.Firefox},Ke=function(b){var y=b.name;return y===N.Chromium},Mt=function(b){var y=b.name;return y===N.Edge},Ss=function(b){var y=b.name;return y===N.Yandex},Os=function(b){var y=b.name;return y===N.Safari||y===N.MobileSafari},Ps=function(b){var y=b.name;return y===N.MobileSafari},Ts=function(b){var y=b.name;return y===N.Opera},Ns=function(b){var y=b.name;return y===N.InternetExplorer||y===N.Ie},Is=function(b){var y=b.name;return y===N.MIUI},_s=function(b){var y=b.name;return y===N.SamsungBrowser},As=function(b){var y=b.version;return L(y)},ks=function(b){var y=b.major;return L(y)},Fs=function(b){var y=b.name;return L(y)},Ms=function(b){var y=b.name;return L(y)},Ls=function(b){var y=b.version;return L(y)},js=function(){var b=Q(),y=b&&b.userAgent&&b.userAgent.toLowerCase();return typeof y=="string"?/electron/.test(y):!1},en=function(b){return typeof b=="string"&&b.indexOf("Edg/")!==-1},Ds=function(){var b=Q();return b&&(/iPad|iPhone|iPod/.test(b.platform)||b.platform==="MacIntel"&&b.maxTouchPoints>1)&&!window.MSStream},ft=function(){return q("iPad")},Rs=function(){return q("iPhone")},Bs=function(){return q("iPod")},Ws=function(b){return L(b)};function Vs(P){var b=P||p,y=b.device,F=b.browser,B=b.os,ye=b.engine,Le=b.ua;return{isSmartTV:xe(y),isConsole:w(y),isWearable:Ve(y),isEmbedded:oe(y),isMobileSafari:Ps(F)||ft(),isChromium:Ke(F),isMobile:ge(y)||ft(),isMobileOnly:_(y),isTablet:fe(y)||ft(),isBrowser:Ie(y),isDesktop:Ie(y),isAndroid:ue(B),isWinPhone:we(B),isIOS:Ne(B)||ft(),isChrome:pe(F),isFirefox:Re(F),isSafari:Os(F),isOpera:Ts(F),isIE:Ns(F),osVersion:Fe(B),osName:be(B),fullBrowserVersion:As(F),browserVersion:ks(F),browserName:Fs(F),mobileVendor:J(y),mobileModel:ve(y),engineName:Ms(ye),engineVersion:Ls(ye),getUA:Ws(Le),isEdge:Mt(F)||en(Le),isYandex:Ss(F),deviceType:Te(y),isIOS13:Ds(),isIPad13:ft(),isIPhone13:Rs(),isIPod13:Bs(),isElectron:js(),isEdgeChromium:en(Le),isLegacyEdge:Mt(F)&&!en(Le),isWindows:ee(B),isMacOs:me(B),isMIUI:Is(F),isSamsungBrowser:_s(F)}}var Us=xe(d),Hs=w(d),Gs=Ve(d),z6=oe(d),q6=Ps(i)||ft(),Y6=Ke(i),Or=ge(d)||ft(),Ks=_(d),zs=fe(d)||ft(),qs=Ie(d),X6=Ie(d),Ys=ue(s),Xs=we(s),Zs=Ne(s)||ft(),Z6=pe(i),J6=Re(i),Q6=Os(i),e5=Ts(i),Js=Ns(i),t5=Fe(s),n5=be(s),r5=As(i),o5=ks(i),i5=Fs(i),a5=J(d),d5=ve(d),l5=Ms(l),s5=Ls(l),u5=Ws(f),c5=Mt(i)||en(f),f5=Ss(i),p5=Te(d),m5=Ds(),h5=ft(),v5=Rs(),g5=Bs(),b5=js(),$5=en(f),y5=Mt(i)&&!en(f),w5=ee(s),x5=me(s),C5=Is(i),E5=_s(i),S5=function(b){if(!b||typeof b!="string"){console.error("No valid user agent string was provided");return}var y=m(b),F=y.device,B=y.browser,ye=y.os,Le=y.engine,Xe=y.ua;return Vs({device:F,browser:B,os:ye,engine:Le,ua:Xe})},O5=function(b){var y=b.renderWithFragment,F=b.children,B=D(b,["renderWithFragment","children"]);return Ys?y?n.createElement(t.Fragment,null,F):n.createElement("div",B,F):null},P5=function(b){var y=b.renderWithFragment,F=b.children,B=D(b,["renderWithFragment","children"]);return qs?y?n.createElement(t.Fragment,null,F):n.createElement("div",B,F):null},T5=function(b){var y=b.renderWithFragment,F=b.children,B=D(b,["renderWithFragment","children"]);return Js?y?n.createElement(t.Fragment,null,F):n.createElement("div",B,F):null},N5=function(b){var y=b.renderWithFragment,F=b.children,B=D(b,["renderWithFragment","children"]);return Zs?y?n.createElement(t.Fragment,null,F):n.createElement("div",B,F):null},I5=function(b){var y=b.renderWithFragment,F=b.children,B=D(b,["renderWithFragment","children"]);return Or?y?n.createElement(t.Fragment,null,F):n.createElement("div",B,F):null},_5=function(b){var y=b.renderWithFragment,F=b.children,B=D(b,["renderWithFragment","children"]);return zs?y?n.createElement(t.Fragment,null,F):n.createElement("div",B,F):null},A5=function(b){var y=b.renderWithFragment,F=b.children,B=D(b,["renderWithFragment","children"]);return Xs?y?n.createElement(t.Fragment,null,F):n.createElement("div",B,F):null},k5=function(b){var y=b.renderWithFragment,F=b.children;b.viewClassName,b.style;var B=D(b,["renderWithFragment","children","viewClassName","style"]);return Ks?y?n.createElement(t.Fragment,null,F):n.createElement("div",B,F):null},F5=function(b){var y=b.renderWithFragment,F=b.children,B=D(b,["renderWithFragment","children"]);return Us?y?n.createElement(t.Fragment,null,F):n.createElement("div",B,F):null},M5=function(b){var y=b.renderWithFragment,F=b.children,B=D(b,["renderWithFragment","children"]);return Hs?y?n.createElement(t.Fragment,null,F):n.createElement("div",B,F):null},L5=function(b){var y=b.renderWithFragment,F=b.children,B=D(b,["renderWithFragment","children"]);return Gs?y?n.createElement(t.Fragment,null,F):n.createElement("div",B,F):null},j5=function(b){var y=b.renderWithFragment,F=b.children;b.viewClassName,b.style;var B=b.condition,ye=D(b,["renderWithFragment","children","viewClassName","style","condition"]);return B?y?n.createElement(t.Fragment,null,F):n.createElement("div",ye,F):null};function D5(P){return function(b){k(y,b);function y(F){var B;return E(this,y),B=Y(this,j(y).call(this,F)),B.isEventListenerAdded=!1,B.handleOrientationChange=B.handleOrientationChange.bind(M(B)),B.onOrientationChange=B.onOrientationChange.bind(M(B)),B.onPageLoad=B.onPageLoad.bind(M(B)),B.state={isLandscape:!1,isPortrait:!1},B}return $(y,[{key:"handleOrientationChange",value:function(){this.isEventListenerAdded||(this.isEventListenerAdded=!0);var B=window.innerWidth>window.innerHeight?90:0;this.setState({isPortrait:B===0,isLandscape:B===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&&Or&&(this.isEventListenerAdded?window.removeEventListener("load",this.onPageLoad,!1):(this.handleOrientationChange(),window.addEventListener("load",this.onPageLoad,!1)),window.addEventListener("resize",this.onOrientationChange,!1))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.onOrientationChange,!1)}},{key:"render",value:function(){return n.createElement(P,x({},this.props,{isLandscape:this.state.isLandscape,isPortrait:this.state.isPortrait}))}}]),y}(n.Component)}function R5(){var P=t.useState(function(){var ye=window.innerWidth>window.innerHeight?90:0;return{isPortrait:ye===0,isLandscape:ye===90,orientation:ye===0?"portrait":"landscape"}}),b=G(P,2),y=b[0],F=b[1],B=t.useCallback(function(){var ye=window.innerWidth>window.innerHeight?90:0,Le={isPortrait:ye===0,isLandscape:ye===90,orientation:ye===0?"portrait":"landscape"};y.orientation!==Le.orientation&&F(Le)},[y.orientation]);return t.useEffect(function(){return(typeof window>"u"?"undefined":g(window))!==void 0&&Or&&(B(),window.addEventListener("load",B,!1),window.addEventListener("resize",B,!1)),function(){window.removeEventListener("resize",B,!1),window.removeEventListener("load",B,!1)}},[B]),y}function Qs(P){var b=P||window.navigator.userAgent;return m(b)}function B5(P){var b=P||window.navigator.userAgent,y=Qs(b),F=Vs(y);return[F,y]}return de.AndroidView=O5,de.BrowserTypes=N,de.BrowserView=P5,de.ConsoleView=M5,de.CustomView=j5,de.IEView=T5,de.IOSView=N5,de.MobileOnlyView=k5,de.MobileView=I5,de.OsTypes=R,de.SmartTVView=F5,de.TabletView=_5,de.WearableView=L5,de.WinPhoneView=A5,de.browserName=i5,de.browserVersion=o5,de.deviceDetect=z,de.deviceType=p5,de.engineName=l5,de.engineVersion=s5,de.fullBrowserVersion=r5,de.getSelectorsByUserAgent=S5,de.getUA=u5,de.isAndroid=Ys,de.isBrowser=qs,de.isChrome=Z6,de.isChromium=Y6,de.isConsole=Hs,de.isDesktop=X6,de.isEdge=c5,de.isEdgeChromium=$5,de.isElectron=b5,de.isEmbedded=z6,de.isFirefox=J6,de.isIE=Js,de.isIOS=Zs,de.isIOS13=m5,de.isIPad13=h5,de.isIPhone13=v5,de.isIPod13=g5,de.isLegacyEdge=y5,de.isMIUI=C5,de.isMacOs=x5,de.isMobile=Or,de.isMobileOnly=Ks,de.isMobileSafari=q6,de.isOpera=e5,de.isSafari=Q6,de.isSamsungBrowser=E5,de.isSmartTV=Us,de.isTablet=zs,de.isWearable=Gs,de.isWinPhone=Xs,de.isWindows=w5,de.isYandex=f5,de.mobileModel=d5,de.mobileVendor=a5,de.osName=n5,de.osVersion=t5,de.parseUserAgent=m,de.setUserAgent=U,de.useDeviceData=Qs,de.useDeviceSelectors=B5,de.useMobileOrientation=R5,de.withOrientationChange=D5,de}var cu=uu();const fu=u.memo(u.forwardRef(({themeColor:e="",onSubmit:t,style:n={},className:r="",onInput:o,onFocus:i,onBlur:a,...d},l)=>{const[s,f]=u.useState(!0),[v,m]=u.useState(!1);e=Je.convert3HexTo6(e),u.useEffect(()=>{f(cu.isMobile)},[]);const p=$=>{!s&&$.key==="Enter"&&!$.shiftKey&&t&&($.preventDefault(),t())},c=$=>{o?.($),$.target.style.height="40px",$.target.style.height=2+$.target.scrollHeight+"px"};let h={};const g=[vi.textInput,r].filter(Boolean).join(" "),E=()=>{m(!0)},O=()=>{m(!1)};return h={borderBottomColor:v?e!=="#ffffff"?e:"#c8c8c8":""},I.jsx("div",{className:vi.textInputWrapper,children:I.jsx("textarea",{"data-testid":"textbox-input",ref:l,className:g,style:{...h,...n},onFocus:E,onBlur:O,onInput:$=>c($),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"},on={pseudoCheckbox:"_pseudoCheckbox_z8j4c_1",checkboxCheckMark:"_checkboxCheckMark_z8j4c_4",checkboxCheckMarkPath:"_checkboxCheckMarkPath_z8j4c_7",checked:"_checked_z8j4c_12",checkboxDisabled:"_checkboxDisabled_z8j4c_22"},Nr=({checked:e=!1,themeColor:t="",disabled:n=!1})=>{let r={},o="#006bb1",i=n?"#9b9b9b":"#ffffff";const a=n?on.checkboxDisabled:"",d=e?on.checked:"",l=[on.pseudoCheckbox,d,a].filter(Boolean).join(" ");let s;if(t){const f=pt(t);t=Je.convert3HexTo6(t),f==="dark"||f==="light"?(n?i=e?"#9b9b9b":"#f9f9f9":i=f=="light"?"#333333":"#ffffff",o=n?"#f9f9f9":e?t:"#ffffff",s=n?"#e4e4e4":t==="#ffffff"?"#333333":t,e&&(r={backgroundColor:o,borderColor:s,outlineColor:s})):i="#9b9b9b"}return I.jsx("div",{style:r,className:l,role:"checkbox","aria-checked":e,"aria-hidden":"true",tabIndex:-1,"data-testid":"checkbox-input",children:I.jsx("svg",{version:"1.1",focusable:"false",className:on.checkboxCheckMark,viewBox:"0 0 24 24",children:I.jsx("path",{className:on.checkboxCheckMarkPath,fill:"none",stroke:i,d:"M4.1,12.7 9,17.6 20.3,6.3"})})})};Nr.displayName="Checkbox";const pu=({options:e,checkedValue:t,onSelectionChange:n,maxOptions:r,themeColor:o,className:i="",style:a={}})=>{const d=u.useRef(e),[l,s]=u.useState(t),[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),$=u.useRef(null),C=u.useRef(null),x=u.useRef(null),[k,j]=u.useState(-1),H=u.useRef(0),A=u.useRef(0),[D,M]=u.useState(!1);let Y={};const[G,W]=u.useState({left:0,top:0}),[ie,ae]=u.useState(null),le=u.useRef(!1),re=u.useRef(null),K=()=>{setTimeout(()=>{(g.current?.children[0]).focus()},0)};u.useEffect(()=>{const S=Z=>{E.current&&!E.current.contains(Z.target)&&(p(!1),v(""),K())};return document.addEventListener("mousedown",S),()=>{document.removeEventListener("mousedown",S)}},[]);const N=()=>{H.current=window.innerHeight,A.current=document.body.scrollHeight,M(!0)};u.useEffect(()=>(N(),window.addEventListener("resize",N),()=>{window.addEventListener("resize",N)}),[]);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 X=l.length>0?l.map(S=>{const Z=e.find(z=>z.value===S);return Z?.label!==null?Z?.label:""}).filter(S=>S!=="").join(", "):"Select your option",T=S=>{const Z=e.find(z=>z.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(_),n(_),R(`${Z?.label} ${_.includes(S)?"selected":"not selected"}`))}},U=S=>{Q(),p(S),setTimeout(()=>{O.current?O.current?.focus():$.current?.focus(),R("use up and down arrow keys to navigate")},0)},L=()=>A.current-(H.current+window.scrollY),Q=()=>{if(g.current){const S=g.current.getBoundingClientRect();setTimeout(()=>{const Z=E?.current?.getBoundingClientRect(),z=L(),_=H.current-S.bottom;let fe;if(Z){const ge=S.height,xe=S.top,Ie=Z.height,Ve=Ie>xe+window.scrollY;xe<Ie&&(Ve||Ve&&_<Ie||z>Ie||_>Ie)||xe>Ie&&_>Ie?fe=S.y+ge:fe=S.y-Ie,W({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"?le.current=!0:S.shiftKey&&le.current&&S.key==="Tab"||S.key==="Tab"?(setTimeout(()=>{O.current?O.current?.focus():$.current?.focus()},0),le.current=!1):S.key==="Escape"||S.key==="Enter"||S.key==="Space"||S.key===" "?(U(!1),K()):le.current=!1},ne=S=>{const{key:Z}=S;if(Z==="Tab"||S.shiftKey&&Z==="Tab")setTimeout(()=>{C.current?.focus()},0);else if(Z==="ArrowDown"||Z==="ArrowUp"){S.preventDefault(),setTimeout(()=>{$.current?.focus()},0);let z=k;if(Z==="ArrowDown"?z=Math.min(k+1,d.current.length-1):Z==="ArrowUp"&&(z=Math.max(k-1,0)),k===0&&S.key==="ArrowUp"?z=d.current.length-1:k===d.current.length-1&&S.key==="ArrowDown"&&(z=0),j(z),x.current&&z>=0){const _=x.current.querySelectorAll(`.${Be.optionsList}`)[z],fe=_.children[0].getAttribute("aria-checked"),ge=`${_.textContent} ${fe==="true"?"selected":"not selected"} ${z+1} out of ${d.current.length}`;R(ge),_&&_.scrollIntoView({block:"nearest",inline:"nearest"})}}else Z==="Enter"||Z==="Space"||Z===" "?k!==-1&&T(d.current[k].value):Z==="Escape"&&(U(!1),K())};u.useEffect(()=>{ie&&clearTimeout(ie);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);ae(S)},[f]);const ce=()=>{h(!0)},he=()=>{h(!1)};if(u.useEffect(()=>{const S=re.current;return S&&(S.addEventListener("focus",ce),S.addEventListener("blur",he)),()=>{S&&(S.removeEventListener("focus",ce),S.removeEventListener("blur",he))}},[ce,he]),o){const S=pt(o);o=Je.convert3HexTo6(o),(S==="dark"||S==="light")&&(Y={borderBottomColor:o==="#ffffff"?"#c8c8c8":c||m?o:"#333333"})}const Ee=()=>{p(!1)};return I.jsx("div",{className:Be.multiSelectContainer,children:I.jsxs("div",{className:Be.listOptionsWrap,children:[I.jsxs("div",{className:`${i} ${Be.selectedValuesWrap}`,ref:g,children:[I.jsx("div",{className:`${Be.selectedValues} ${m?Be.focused:""} ${l.length===0?Be.placeholder:""}`,ref:re,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:{...Y,...a},"aria-expanded":m,"aria-haspopup":"listbox","aria-multiselectable":"true","aria-autocomplete":"list",role:"combobox",children:X}),I.jsx("span",{className:Be.dropDownIcon,onClick:()=>U(!m),"data-testid":"arrow-button",children:I.jsx("svg",{width:"12px",height:"7px",viewBox:"0 0 12 7",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:I.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:I.jsx("g",{transform:"translate(-2360.000000, -295.000000)",fill:"#666666",children:I.jsx("g",{transform:"translate(2006.000000, 248.000000)",children:I.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)"})})})})})})]}),I.jsx("div",{id:"announcement","aria-live":"assertive",role:"alert",className:Be.announcement}),D?ke.createPortal(I.jsx(I.Fragment,{children:m&&g&&I.jsx("div",{onClick:Ee,style:{position:"fixed",inset:0,backgroundColor:"rgba(255,255,255,0)",zIndex:1e3},children:I.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:[I.jsxs("div",{className:Be.optionsListWrap,children:[e.length>=6&&I.jsx("div",{className:Be.searchInputWrap,children:I.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)}})}),I.jsx("ul",{ref:x,role:"listbox",children:d.current.map((S,Z)=>I.jsxs("li",{className:`${Be.optionsList} ${Z===k?Be.focused:""}`,onClick:()=>T(S.value),"aria-selected":Z===k,role:"option",children:[I.jsx(Nr,{themeColor:o,checked:l.includes(S.value),disabled:S.disable||r!==void 0&&l.length>=r&&!l.includes(S.value)}),I.jsx("span",{children:S.label})]},S.value))})]}),I.jsxs("div",{className:Be.btnContainer,children:[I.jsx("input",{ref:$,onKeyDown:S=>{ne(S)},className:Be.hiddenButton}),I.jsx(Rn,{themeColor:o,variant:"primary",size:"medium",onClick:()=>{p(!1),v(""),K(),n(l)},"data-testid":"done-button",onKeyDown:S=>{q(S)},ref:C,children:"Done"})]})]})})}),document.body):null]})})},Ae={multiSelectContainer:"_multiSelectContainer_1on91_1",listOptionsWrap:"_listOptionsWrap_1on91_4",selectedValuesWrap:"_selectedValuesWrap_1on91_7",selectedValues:"_selectedValues_1on91_7",focused:"_focused_1on91_16",countAndIconContainer:"_countAndIconContainer_1on91_19",rounded:"_rounded_1on91_22",selected:"_selected_1on91_7",selectedCount:"_selectedCount_1on91_37",dropDownIcon:"_dropDownIcon_1on91_41",optionsListContainer:"_optionsListContainer_1on91_45",optionsListWrap:"_optionsListWrap_1on91_51",searchInputWrap:"_searchInputWrap_1on91_54",searchInput:"_searchInput_1on91_54",optionsList:"_optionsList_1on91_45",btnContainer:"_btnContainer_1on91_76",hiddenButton:"_hiddenButton_1on91_79",announcement:"_announcement_1on91_92"},mu=({options:e,checkedValue:t,onSelectionChange:n,maxOptions:r,themeColor:o,className:i="",style:a={},categoryName:d="",variant:l="default",placeholder:s="Select your option"})=>{const f=u.useRef(e),[v,m]=u.useState(t),[p,c]=u.useState(""),[h,g]=u.useState(!1),[E,O]=u.useState(!1),$=u.useRef(null),C=u.useRef(null),x=u.useRef(null),k=u.useRef(null),j=u.useRef(null),H=u.useRef(null),[A,D]=u.useState(-1),M=u.useRef(0),Y=u.useRef(0),[G,W]=u.useState(!1);let ie={};const[ae,le]=u.useState({left:0,top:0}),[re,K]=u.useState(null),N=u.useRef(!1),R=u.useRef(null);u.useEffect(()=>{m(t)},[t]);const X=()=>{setTimeout(()=>{($.current?.children[0]).focus()},0)};u.useEffect(()=>{const _=fe=>{C.current&&!C.current.contains(fe.target)&&(g(!1),c(""),X())};return document.addEventListener("mousedown",_),()=>{document.removeEventListener("mousedown",_)}},[]);const T=()=>{M.current=window.innerHeight,Y.current=document.body.scrollHeight,W(!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),n(xe),setTimeout(()=>{ne()},50),f.current.length===1&&g(!1),U(`${fe?.label} ${xe.includes(_)?"selected":"not selected"}`))}},q=_=>{ne(),g(_),setTimeout(()=>{x.current?x.current?.focus():k.current?.focus(),U("use up and down arrow keys to navigate")},0)},ne=()=>{if($.current){const _=$.current.getBoundingClientRect();setTimeout(()=>{const fe=C?.current?.getBoundingClientRect();if(fe){const ge=fe.height,xe=fe.width,Ie=window.innerWidth,Ve=M.current-_.bottom,w=_.top;let oe;Ve>=ge?oe=_.bottom:w>=ge?oe=_.top-ge:Ve>=w?oe=_.bottom:oe=_.top-ge;const J=Ie-_.left,ve=_.right;let Te;J-20>=xe?Te=_.left:ve>=xe?Te=_.right-xe+20:J>=ve?Te=Math.max(20,Ie-xe-20):Te=Math.max(20,_.right-xe+20),le({left:Te,top:oe})}},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"?N.current=!0:_.shiftKey&&N.current&&_.key==="Tab"||_.key==="Tab"?(setTimeout(()=>{x.current?x.current?.focus():k.current?.focus()},0),N.current=!1):_.key==="Escape"||_.key==="Enter"||_.key==="Space"||_.key===" "?(q(!1),X()):N.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(()=>{k.current?.focus()},0);let ge=A;if(fe==="ArrowDown"?ge=Math.min(A+1,f.current.length-1):fe==="ArrowUp"&&(ge=Math.max(A-1,0)),A===0&&_.key==="ArrowUp"?ge=f.current.length-1:A===f.current.length-1&&_.key==="ArrowDown"&&(ge=0),D(ge),H.current&&ge>=0){const xe=H.current.querySelectorAll(`.${Ae.optionsList}`)[ge],Ie=xe.children[0].getAttribute("aria-checked"),Ve=`${xe.textContent} ${Ie==="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===" "?A!==-1&&Q(f.current[A].value):fe==="Escape"&&(q(!1),X())};u.useEffect(()=>{re&&clearTimeout(re);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);K(_)},[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]),o){const _=pt(o);o=Je.convert3HexTo6(o),(_==="dark"||_==="light")&&(ie={"--theme-color":o})}const Z=()=>{g(!1)},z=()=>{g(!1),c(""),X(),n(v)};return I.jsx("div",{className:Ae.multiSelectContainer,children:I.jsxs("div",{className:Ae.listOptionsWrap,children:[I.jsx("div",{className:`${i} ${Ae.selectedValuesWrap}`,ref:$,children:I.jsxs("div",{className:`${Ae.selectedValues} ${h?Ae.focused:""} ${v.length>0?Ae.selected:""} ${v.length>1?Ae.countShow:""} ${v.length===0?Ae.placeholder:""} ${l==="rounded"?Ae.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:{...ie,...a},"aria-expanded":h,"aria-haspopup":"listbox","aria-multiselectable":"true","aria-autocomplete":"list",role:"combobox",children:[I.jsx("span",{children:L}),I.jsxs("div",{className:Ae.countAndIconContainer,children:[v.length>1&&I.jsx("span",{className:Ae.selectedCount,"data-testid":"selected-count",style:{backgroundColor:o},children:v.length}),I.jsx("span",{className:Ae.dropDownIcon,onClick:()=>q(!h),"data-testid":"arrow-button",children:I.jsx("svg",{width:"12px",height:"7px",viewBox:"0 0 12 7",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:I.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:I.jsx("g",{transform:"translate(-2360.000000, -295.000000)",fill:"#666666",children:I.jsx("g",{transform:"translate(2006.000000, 248.000000)",children:I.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)"})})})})})})]})]})}),I.jsx("div",{id:"announcement","aria-live":"assertive",role:"alert",className:Ae.announcement}),G?ke.createPortal(I.jsx(I.Fragment,{children:h&&$&&I.jsx("div",{onClick:Z,style:{position:"fixed",inset:0,backgroundColor:"rgba(255,255,255,0)",zIndex:1e3},children:I.jsxs("div",{className:`${Ae.optionsListContainer}`,ref:C,onClick:_=>_.stopPropagation(),style:{opacity:ae.top?1:0,left:ae.left,top:ae.top,paddingBottom:f.current.length===1?0:void 0},children:[I.jsxs("div",{className:Ae.optionsListWrap,children:[e.length>=6&&I.jsx("div",{className:Ae.searchInputWrap,children:I.jsx("input",{type:"text",ref:x,placeholder:"Type to filter",className:Ae.searchInput,value:p,onChange:_=>c(_.target.value),"data-testid":"search-input",onKeyDown:_=>{he(_)}})}),I.jsx("ul",{ref:H,role:"listbox",children:f.current.map((_,fe)=>I.jsxs("li",{className:`${Ae.optionsList} ${fe===A?Ae.focused:""}`,onClick:()=>Q(_.value),"aria-selected":fe===A,role:"option",children:[I.jsx(Nr,{themeColor:o,checked:v.includes(_.value),disabled:_.disable||r!==void 0&&v.length>=r&&!v.includes(_.value)}),I.jsx("span",{children:_.label})]},_.value))})]}),f.current.length>1&&I.jsxs("div",{className:Ae.btnContainer,children:[I.jsx("input",{ref:k,onKeyDown:_=>{he(_)},className:Ae.hiddenButton}),I.jsx(Rn,{themeColor:o,variant:"primary",size:"medium",disabled:!(v.length>0),onClick:z,"data-testid":"done-button",onKeyDown:_=>{ce(_)},ref:j,children:"Done"})]})]})})}),document.body):null]})})},Bn={multiSelectContainer:"_multiSelectContainer_1rhxq_1",quickOptionsWrap:"_quickOptionsWrap_1rhxq_4",selected:"_selected_1rhxq_11",disabled:"_disabled_1rhxq_17"},hu=({options:e,checkedValue:t,onSelectionChange:n,maxOptions:r,themeColor:o,className:i="",style:a={},id:d=""})=>{const[l,s]=u.useState(t),f=u.useRef({});let v={},m;const p=c=>{const h=e.find(C=>C.value===c);if(!h||h.disable)return;f.current[c]?.click();const O=l.includes(c)?l.filter(C=>C!==c):[...l,c];(r===void 0||O.length<=r)&&(s(O),n(O))};if(o){m=pt(o),o=Je.convert3HexTo6(o);const c=o==="#ffffff"?"#333333":o;(m==="dark"||m==="light")&&(v={outlineColor:c,borderColor:c,color:o==="#ffffff"||m==="light"?"#333333":o})}return I.jsx("div",{className:Bn.multiSelectContainer,role:"group",children:I.jsx("ul",{className:Bn.quickOptionsWrap,id:d,children:e.map(c=>I.jsx("li",{style:{...v,...a},className:`${i} ${c.disable||r!==void 0&&l.length>=r&&!l.includes(c.value)?Bn.disabled:""} ${l.includes(c.value)?Bn.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:I.jsx(Tr,{id:c.value,checkboxSize:"large",tabIndex:-1,themeColor:o,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:I.jsx("span",{style:{color:o&&(o==="#ffffff"||m==="light")||c.disable||r!==void 0&&l.length>=r&&!l.includes(c.value)?"#333333":o&&(o!=="#ffffff"||m!=="light")?o:"#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"},vu=({options:e,onSelect:t,selected:n,themeColor:r,className:o="",style:i={},showLoader:a=!1,id:d=""})=>{const[l,s]=u.useState(n);let f={},v={},m="#ffffff";const p=c=>{if(l?.value===c?.value){s(void 0),t(void 0);return}t(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 I.jsx("div",{className:lt.singleSelectWrapper,children:I.jsx("div",{className:lt.quickOption,children:I.jsx("ul",{className:lt.quickOption,role:"radiogroup",id:d,children:e.map(c=>I.jsxs("li",{tabIndex:c.disable?-1:0,className:`${o} ${l?.value===c.value?lt.selected:""} ${c.disable?lt.disabled:""}`,style:{...f,...i},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&&I.jsxs("div",{className:lt.triangle,style:{...v},children:[a&&I.jsx("div",{className:lt.loader,style:{borderRightColor:r??"#006bb1"}}),!a&&I.jsx("div",{className:lt.checkmarkWrap,children:I.jsx("svg",{className:lt.checkmark,xmlns:"http://www.w3.org/2000/svg",width:"11",height:"9",viewBox:"0 0 11 9",fill:"none",children:I.jsx("path",{className:lt.checkmarkCheck,stroke:m,d:"M2.1 4.34286L4.12857 6.40001L8.9 1.60001",strokeWidth:"2"})})})]})]},c.value))})})})},gu={scrollbarContainer:"_scrollbarContainer_40vsr_1"},$i=u.forwardRef(({children:e,className:t="",style:n={},...r},o)=>{const i=[gu.scrollbarContainer,t].filter(Boolean).join(" ");return I.jsx(I.Fragment,{children:I.jsx("div",{ref:o,style:{...n},className:i,...r,children:e})})});$i.displayName="Scrollbar";const yi=typeof document<"u"?u.useLayoutEffect:()=>{};function bu(e){const t=u.useRef(null);return yi(()=>{t.current=e},[e]),u.useCallback((...n)=>{const r=t.current;return r?.(...n)},[])}const $t=e=>{var t;return(t=e?.ownerDocument)!==null&&t!==void 0?t:document},Ot=e=>e&&"window"in e&&e.window===e?e:$t(e).defaultView||window;function $u(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function yu(e){return $u(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let wu=!1;function Ir(){return wu}function wi(e,t){if(!Ir())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let n=t;for(;n!==null;){if(n===e)return!0;n.tagName==="SLOT"&&n.assignedSlot?n=n.assignedSlot.parentNode:yu(n)?n=n.host:n=n.parentNode}return!1}const _r=(e=document)=>{var t;if(!Ir())return e.activeElement;let n=e.activeElement;for(;n&&"shadowRoot"in n&&(!((t=n.shadowRoot)===null||t===void 0)&&t.activeElement);)n=n.shadowRoot.activeElement;return n};function xi(e){return Ir()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}function xu(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(n=>e.test(n.brand)))||e.test(window.navigator.userAgent)}function Cu(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function Ci(e){let t=null;return()=>(t==null&&(t=e()),t)}const Eu=Ci(function(){return Cu(/^Mac/i)}),Su=Ci(function(){return xu(/Android/i)});function Ei(){let e=u.useRef(new Map),t=u.useCallback((o,i,a,d)=>{let l=d?.once?(...s)=>{e.current.delete(a),a(...s)}:a;e.current.set(a,{type:i,eventTarget:o,fn:l,options:d}),o.addEventListener(i,l,d)},[]),n=u.useCallback((o,i,a,d)=>{var l;let s=((l=e.current.get(a))===null||l===void 0?void 0:l.fn)||a;o.removeEventListener(i,s,d),e.current.delete(a)},[]),r=u.useCallback(()=>{e.current.forEach((o,i)=>{n(o.eventTarget,o.type,i,o.options)})},[n]);return u.useEffect(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}function Ou(e){return e.mozInputSource===0&&e.isTrusted?!0:Su()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}class Si{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(t,n){this.nativeEvent=n,this.target=n.target,this.currentTarget=n.currentTarget,this.relatedTarget=n.relatedTarget,this.bubbles=n.bubbles,this.cancelable=n.cancelable,this.defaultPrevented=n.defaultPrevented,this.eventPhase=n.eventPhase,this.isTrusted=n.isTrusted,this.timeStamp=n.timeStamp,this.type=t}}function Oi(e){let t=u.useRef({isFocused:!1,observer:null});yi(()=>{const r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]);let n=bu(r=>{e?.(r)});return u.useCallback(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){t.current.isFocused=!0;let o=r.target,i=a=>{t.current.isFocused=!1,o.disabled&&n(new Si("blur",a)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};o.addEventListener("focusout",i,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&o.disabled){var a;(a=t.current.observer)===null||a===void 0||a.disconnect();let d=o===document.activeElement?null:document.activeElement;o.dispatchEvent(new FocusEvent("blur",{relatedTarget:d})),o.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:d}))}}),t.current.observer.observe(o,{attributes:!0,attributeFilter:["disabled"]})}},[n])}let Pu=!1,an=null,Ar=new Set,dn=new Map,Pt=!1,kr=!1;const Tu={Tab:!0,Escape:!0};function Fr(e,t){for(let n of Ar)n(e,t)}function Nu(e){return!(e.metaKey||!Eu()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Wn(e){Pt=!0,Nu(e)&&(an="keyboard",Fr("keyboard",e))}function Qe(e){an="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Pt=!0,Fr("pointer",e))}function Pi(e){Ou(e)&&(Pt=!0,an="virtual")}function Ti(e){e.target===window||e.target===document||Pu||!e.isTrusted||(!Pt&&!kr&&(an="virtual",Fr("virtual",e)),Pt=!1,kr=!1)}function Ni(){Pt=!1,kr=!0}function Mr(e){if(typeof window>"u"||dn.get(Ot(e)))return;const t=Ot(e),n=$t(e);let r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){Pt=!0,r.apply(this,arguments)},n.addEventListener("keydown",Wn,!0),n.addEventListener("keyup",Wn,!0),n.addEventListener("click",Pi,!0),t.addEventListener("focus",Ti,!0),t.addEventListener("blur",Ni,!1),typeof PointerEvent<"u"?(n.addEventListener("pointerdown",Qe,!0),n.addEventListener("pointermove",Qe,!0),n.addEventListener("pointerup",Qe,!0)):(n.addEventListener("mousedown",Qe,!0),n.addEventListener("mousemove",Qe,!0),n.addEventListener("mouseup",Qe,!0)),t.addEventListener("beforeunload",()=>{Ii(e)},{once:!0}),dn.set(t,{focus:r})}const Ii=(e,t)=>{const n=Ot(e),r=$t(e);t&&r.removeEventListener("DOMContentLoaded",t),dn.has(n)&&(n.HTMLElement.prototype.focus=dn.get(n).focus,r.removeEventListener("keydown",Wn,!0),r.removeEventListener("keyup",Wn,!0),r.removeEventListener("click",Pi,!0),n.removeEventListener("focus",Ti,!0),n.removeEventListener("blur",Ni,!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)),dn.delete(n))};function Iu(e){const t=$t(e);let n;return t.readyState!=="loading"?Mr(e):(n=()=>{Mr(e)},t.addEventListener("DOMContentLoaded",n)),()=>Ii(e,n)}typeof document<"u"&&Iu();function _i(){return an!=="pointer"}const _u=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Au(e,t,n){let r=$t(n?.target);const o=typeof window<"u"?Ot(n?.target).HTMLInputElement:HTMLInputElement,i=typeof window<"u"?Ot(n?.target).HTMLTextAreaElement:HTMLTextAreaElement,a=typeof window<"u"?Ot(n?.target).HTMLElement:HTMLElement,d=typeof window<"u"?Ot(n?.target).KeyboardEvent:KeyboardEvent;return e=e||r.activeElement instanceof o&&!_u.has(r.activeElement.type)||r.activeElement instanceof i||r.activeElement instanceof a&&r.activeElement.isContentEditable,!(e&&t==="keyboard"&&n instanceof d&&!Tu[n.key])}function ku(e,t,n){Mr(),u.useEffect(()=>{let r=(o,i)=>{Au(!!n?.isTextInput,o,i)&&e(_i())};return Ar.add(r),()=>{Ar.delete(r)}},t)}function Fu(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:o}=e;const i=u.useCallback(l=>{if(l.target===l.currentTarget)return r&&r(l),o&&o(!1),!0},[r,o]),a=Oi(i),d=u.useCallback(l=>{const s=$t(l.target),f=s?_r(s):_r();l.target===l.currentTarget&&f===xi(l.nativeEvent)&&(n&&n(l),o&&o(!0),a(l))},[o,n,a]);return{focusProps:{onFocus:!t&&(n||o||r)?d:void 0,onBlur:!t&&(r||o)?i:void 0}}}function Mu(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:o}=e,i=u.useRef({isFocusWithin:!1}),{addGlobalListener:a,removeAllGlobalListeners:d}=Ei(),l=u.useCallback(v=>{v.currentTarget.contains(v.target)&&i.current.isFocusWithin&&!v.currentTarget.contains(v.relatedTarget)&&(i.current.isFocusWithin=!1,d(),n&&n(v),o&&o(!1))},[n,o,i,d]),s=Oi(l),f=u.useCallback(v=>{if(!v.currentTarget.contains(v.target))return;const m=$t(v.target),p=_r(m);if(!i.current.isFocusWithin&&p===xi(v.nativeEvent)){r&&r(v),o&&o(!0),i.current.isFocusWithin=!0,s(v);let c=v.currentTarget;a(m,"focus",h=>{if(i.current.isFocusWithin&&!wi(c,h.target)){let g=new Si("blur",new m.defaultView.FocusEvent("blur",{relatedTarget:h.target}));g.target=c,g.currentTarget=c,l(g)}},{capture:!0})}},[r,o,s,a,l]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:f,onBlur:l}}}let Vn=!1,Lr=0;function jr(){Vn=!0,setTimeout(()=>{Vn=!1},50)}function Ai(e){e.pointerType==="touch"&&jr()}function Lu(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",Ai):document.addEventListener("touchend",jr),Lr++,()=>{Lr--,!(Lr>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",Ai):document.removeEventListener("touchend",jr))}}function Dr(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:o}=e,[i,a]=u.useState(!1),d=u.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;u.useEffect(Lu,[]);let{addGlobalListener:l,removeAllGlobalListeners:s}=Ei(),{hoverProps:f,triggerHoverEnd:v}=u.useMemo(()=>{let m=(h,g)=>{if(d.pointerType=g,o||g==="touch"||d.isHovered||!h.currentTarget.contains(h.target))return;d.isHovered=!0;let E=h.currentTarget;d.target=E,l($t(h.target),"pointerover",O=>{d.isHovered&&d.target&&!wi(d.target,O.target)&&p(O,O.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:E,pointerType:g}),n&&n(!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}),n&&n(!1),a(!1))},c={};return typeof PointerEvent<"u"?(c.onPointerEnter=h=>{Vn&&h.pointerType==="mouse"||m(h,h.pointerType)},c.onPointerLeave=h=>{!o&&h.currentTarget.contains(h.target)&&p(h,h.pointerType)}):(c.onTouchStart=()=>{d.ignoreEmulatedMouseEvents=!0},c.onMouseEnter=h=>{!d.ignoreEmulatedMouseEvents&&!Vn&&m(h,"mouse"),d.ignoreEmulatedMouseEvents=!1},c.onMouseLeave=h=>{!o&&h.currentTarget.contains(h.target)&&p(h,"mouse")}),{hoverProps:c,triggerHoverEnd:p}},[t,n,r,o,d,l,s]);return u.useEffect(()=>{o&&v({currentTarget:d.target},d.pointerType)},[o]),{hoverProps:f,isHovered:i}}function Rr(e={}){let{autoFocus:t=!1,isTextInput:n,within:r}=e,o=u.useRef({isFocused:!1,isFocusVisible:t||_i()}),[i,a]=u.useState(!1),[d,l]=u.useState(()=>o.current.isFocused&&o.current.isFocusVisible),s=u.useCallback(()=>l(o.current.isFocused&&o.current.isFocusVisible),[]),f=u.useCallback(p=>{o.current.isFocused=p,a(p),s()},[s]);ku(p=>{o.current.isFocusVisible=p,s()},[],{isTextInput:n});let{focusProps:v}=Fu({isDisabled:r,onFocusChange:f}),{focusWithinProps:m}=Mu({isDisabled:!r,onFocusWithinChange:f});return{isFocused:i,isFocusVisible:d,focusProps:r?m:v}}var ju=Object.defineProperty,Du=(e,t,n)=>t in e?ju(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Br=(e,t,n)=>(Du(e,typeof t!="symbol"?t+"":t,n),n);let Ru=class{constructor(){Br(this,"current",this.detect()),Br(this,"handoffState","pending"),Br(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},Tt=new Ru;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 ki(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function et(){let e=[],t={addEventListener(n,r,o,i){return n.addEventListener(r,o,i),t.add(()=>n.removeEventListener(r,o,i))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(...n){let r=setTimeout(...n);return t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return ki(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,o){let i=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:o}),this.add(()=>{Object.assign(n.style,{[r]:i})})},group(n){let r=et();return n(r),this.add(()=>r.dispose())},add(n){return e.includes(n)||e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let o of e.splice(r,1))o()}},dispose(){for(let n of e.splice(0))n()}};return t}function yt(){let[e]=u.useState(et);return u.useEffect(()=>()=>e.dispose(),[e]),e}let Ce=(e,t)=>{Tt.isServer?u.useEffect(e,t):u.useLayoutEffect(e,t)};function mt(e){let t=u.useRef(e);return Ce(()=>{t.current=e},[e]),t}let te=function(e){let t=mt(e);return u.useCallback((...n)=>t.current(...n),[t])};function Bu(e){let t=e.width/2,n=e.height/2;return{top:e.clientY-n,right:e.clientX+t,bottom:e.clientY+n,left:e.clientX-t}}function Wu(e,t){return!(!e||!t||e.right<t.left||e.left>t.right||e.bottom<t.top||e.top>t.bottom)}function Fi({disabled:e=!1}={}){let t=u.useRef(null),[n,r]=u.useState(!1),o=yt(),i=te(()=>{t.current=null,r(!1),o.dispose()}),a=te(d=>{if(o.dispose(),t.current===null){t.current=d.currentTarget,r(!0);{let l=Lt(d.currentTarget);o.addEventListener(l,"pointerup",i,!1),o.addEventListener(l,"pointermove",s=>{if(t.current){let f=Bu(s);r(Wu(f,t.current.getBoundingClientRect()))}},!1),o.addEventListener(l,"pointercancel",i,!1)}}});return{pressed:n,pressProps:e?{}:{onPointerDown:a,onPointerUp:i,onClick:i}}}let Vu=u.createContext(void 0);function Un(){return u.useContext(Vu)}function Wr(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}function We(e,t,...n){if(e in t){let o=t[e];return typeof o=="function"?o(...n):o}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(o=>`"${o}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,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=Hu();return u.useCallback(t=>Uu({mergeRefs:e,...t}),[e])}function Uu({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:o,visible:i=!0,name:a,mergeRefs:d}){d=d??Gu;let l=Mi(t,e);if(i)return Hn(l,n,r,a,d);let s=o??0;if(s&2){let{static:f=!1,...v}=l;if(f)return Hn(v,n,r,a,d)}if(s&1){let{unmount:f=!0,...v}=l;return We(f?0:1,{0(){return null},1(){return Hn({...v,hidden:!0,style:{display:"none"}},n,r,a,d)}})}return Hn(l,n,r,a,d)}function Hn(e,t={},n,r,o){let{as:i=n,children:a,refName:d="ref",...l}=Vr(e,["unmount","static"]),s=e.ref!==void 0?{[d]:e.ref}:{},f=typeof a=="function"?a(t):a;"className"in l&&l.className&&typeof l.className=="function"&&(l.className=l.className(t)),l["aria-labelledby"]&&l["aria-labelledby"]===l.id&&(l["aria-labelledby"]=void 0);let v={};if(t){let m=!1,p=[];for(let[c,h]of Object.entries(t))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(i===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(`
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}:{},g=Co(f.props,xt(_r(l,["ref"])));for(let E in v)E in g&&delete v[E];return u.cloneElement(f,Object.assign({},g,v,s,{ref:i(Ru(f),s.ref)},h))}return u.createElement(o,Object.assign({},_r(l,["ref"]),o!==u.Fragment&&s,o!==u.Fragment&&v),f)}function Du(){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 ju(...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 je()({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?ke.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 je()({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(),v=f.indexOf(l);return v!==-1&&f.splice(v,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,v=Ue(n);Ce(()=>i.register(d),[d,i.register]);let m=te(g=>{let E=g.currentTarget;if(E instanceof HTMLLabelElement&&g.preventDefault(),i.props&&"onClick"in i.props&&typeof i.props.onClick=="function"&&i.props.onClick(g),E instanceof HTMLLabelElement){let O=document.getElementById(E.htmlFor);if(O){let b=O.getAttribute("disabled");if(b==="true"||b==="")return;let C=O.getAttribute("aria-disabled");if(C==="true"||C==="")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:v,...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),je()({ourProps:h,theirProps:f,slot:c,defaultTag:l?Ju:"div",name:i.name||"Label"})}let e0=Le(Qu),Do=Object.assign(e0,{});function jt(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 v=e();if(!(v.length!==r.length||v.some((c,h)=>r[h]!==c)))return i;r=v;let p;if(t.key&&((d=t.debug)!=null&&d.call(t))&&(p=Date.now()),i=n(...v),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,g=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`,`
36
+ `))}else{let m=f.props,p=m?.className,c=typeof p=="function"?(...E)=>Wr(p(...E),l.className):Wr(p,l.className),h=c?{className:c}:{},g=Mi(f.props,xt(Vr(l,["ref"])));for(let E in v)E in g&&delete v[E];return u.cloneElement(f,Object.assign({},g,v,s,{ref:o(Ku(f),s.ref)},h))}return u.createElement(i,Object.assign({},Vr(l,["ref"]),i!==u.Fragment&&s,i!==u.Fragment&&v),f)}function Hu(){let e=u.useRef([]),t=u.useCallback(n=>{for(let r of e.current)r!=null&&(typeof r=="function"?r(n):r.current=n)},[]);return(...n)=>{if(!n.every(r=>r==null))return e.current=n,t}}function Gu(...e){return e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}function Mi(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let o in r)o.startsWith("on")&&typeof r[o]=="function"?(n[o]!=null||(n[o]=[]),n[o].push(r[o])):t[o]=r[o];if(t.disabled||t["aria-disabled"])for(let r in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(r)&&(n[r]=[o=>{var i;return(i=o?.preventDefault)==null?void 0:i.call(o)}]);for(let r in n)Object.assign(t,{[r](o,...i){let a=n[r];for(let d of a){if((o instanceof Event||o?.nativeEvent instanceof Event)&&o.defaultPrevented)return;d(o,...i)}}});return t}function ln(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let o in r)o.startsWith("on")&&typeof r[o]=="function"?(n[o]!=null||(n[o]=[]),n[o].push(r[o])):t[o]=r[o];for(let r in n)Object.assign(t,{[r](...o){let i=n[r];for(let a of i)a?.(...o)}});return t}function je(e){var t;return Object.assign(u.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function xt(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function Vr(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function Ku(e){return u.version.split(".")[0]>="19"?e.props.ref:e.ref}function Li(e,t,n){let[r,o]=u.useState(n),i=e!==void 0,a=u.useRef(i),d=u.useRef(!1),l=u.useRef(!1);return i&&!a.current&&!d.current?(d.current=!0,a.current=i,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")):!i&&a.current&&!l.current&&(l.current=!0,a.current=i,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")),[i?e:r,te(s=>(i||o(s),t?.(s)))]}function ji(e){let[t]=u.useState(e);return t}function Di(e={},t=null,n=[]){for(let[r,o]of Object.entries(e))Bi(n,Ri(t,r),o);return n}function Ri(e,t){return e?e+"["+t+"]":t}function Bi(e,t,n){if(Array.isArray(n))for(let[r,o]of n.entries())Bi(e,Ri(t,r.toString()),o);else n instanceof Date?e.push([t,n.toISOString()]):typeof n=="boolean"?e.push([t,n?"1":"0"]):typeof n=="string"?e.push([t,n]):typeof n=="number"?e.push([t,`${n}`]):n==null?e.push([t,""]):Di(n,t,e)}function zu(e){var t,n;let r=(t=e?.form)!=null?t:e.closest("form");if(r){for(let o of r.elements)if(o!==e&&(o.tagName==="INPUT"&&o.type==="submit"||o.tagName==="BUTTON"&&o.type==="submit"||o.nodeName==="INPUT"&&o.type==="image")){o.click();return}(n=r.requestSubmit)==null||n.call(r)}}let qu="span";var Ur=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Ur||{});function Yu(e,t){var n;let{features:r=1,...o}=e,i={ref:t,"aria-hidden":(r&2)===2?!0:(n=o["aria-hidden"])!=null?n:void 0,hidden:(r&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(r&4)===4&&(r&2)!==2&&{display:"none"}}};return De()({ourProps:i,theirProps:o,slot:{},defaultTag:qu,name:"Hidden"})}let Wi=je(Yu),Xu=u.createContext(null);function Zu({children:e}){let t=u.useContext(Xu);if(!t)return u.createElement(u.Fragment,null,e);let{target:n}=t;return n?ke.createPortal(u.createElement(u.Fragment,null,e),n):null}function Vi({data:e,form:t,disabled:n,onReset:r,overrides:o}){let[i,a]=u.useState(null),d=yt();return u.useEffect(()=>{if(r&&i)return d.addEventListener(i,"reset",r)},[i,t,r]),u.createElement(Zu,null,u.createElement(Ju,{setForm:a,formId:t}),Di(e).map(([l,s])=>u.createElement(Wi,{features:Ur.Hidden,...xt({key:l,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:t,disabled:n,name:l,value:s,...o})})))}function Ju({setForm:e,formId:t}){return u.useEffect(()=>{if(t){let n=document.getElementById(t);n&&e(n)}},[e,t]),t?null:u.createElement(Wi,{features:Ur.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:n=>{if(!n)return;let r=n.closest("form");r&&e(r)}})}let Qu=u.createContext(void 0);function Hr(){return u.useContext(Qu)}function Ui(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=t?.getAttribute("disabled")==="";return r&&e0(n)?!1:r}function e0(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}let Hi=Symbol();function t0(e,t=!0){return Object.assign(e,{[Hi]:t})}function Ue(...e){let t=u.useRef(e);u.useEffect(()=>{t.current=e},[e]);let n=te(r=>{for(let o of t.current)o!=null&&(typeof o=="function"?o(r):o.current=r)});return e.every(r=>r==null||r?.[Hi])?void 0:n}let Gr=u.createContext(null);Gr.displayName="DescriptionContext";function Gi(){let e=u.useContext(Gr);if(e===null){let t=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,Gi),t}return e}function Ki(){var e,t;return(t=(e=u.useContext(Gr))==null?void 0:e.value)!=null?t:void 0}let n0="p";function r0(e,t){let n=u.useId(),r=Un(),{id:o=`headlessui-description-${n}`,...i}=e,a=Gi(),d=Ue(t);Ce(()=>a.register(o),[o,a.register]);let l=r||!1,s=u.useMemo(()=>({...a.slot,disabled:l}),[a.slot,l]),f={ref:d,...a.props,id:o};return De()({ourProps:f,theirProps:i,slot:s,defaultTag:n0,name:a.name||"Description"})}let o0=je(r0);Object.assign(o0,{});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 Gn=u.createContext(null);Gn.displayName="LabelContext";function zi(){let e=u.useContext(Gn);if(e===null){let t=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,zi),t}return e}function sn(e){var t,n,r;let o=(n=(t=u.useContext(Gn))==null?void 0:t.value)!=null?n:void 0;return((r=e?.length)!=null?r:0)>0?[o,...e].filter(Boolean).join(" "):o}function qi({inherit:e=!1}={}){let t=sn(),[n,r]=u.useState([]),o=e?[t,...n].filter(Boolean):n;return[o.length>0?o.join(" "):void 0,u.useMemo(()=>function(i){let a=te(l=>(r(s=>[...s,l]),()=>r(s=>{let f=s.slice(),v=f.indexOf(l);return v!==-1&&f.splice(v,1),f}))),d=u.useMemo(()=>({register:a,slot:i.slot,name:i.name,props:i.props,value:i.value}),[a,i.slot,i.name,i.props,i.value]);return u.createElement(Gn.Provider,{value:d},i.children)},[r])]}let i0="label";function a0(e,t){var n;let r=u.useId(),o=zi(),i=Hr(),a=Un(),{id:d=`headlessui-label-${r}`,htmlFor:l=i??((n=o.props)==null?void 0:n.htmlFor),passive:s=!1,...f}=e,v=Ue(t);Ce(()=>o.register(d),[d,o.register]);let m=te(g=>{let E=g.currentTarget;if(E instanceof HTMLLabelElement&&g.preventDefault(),o.props&&"onClick"in o.props&&typeof o.props.onClick=="function"&&o.props.onClick(g),E instanceof HTMLLabelElement){let O=document.getElementById(E.htmlFor);if(O){let $=O.getAttribute("disabled");if($==="true"||$==="")return;let C=O.getAttribute("aria-disabled");if(C==="true"||C==="")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(()=>({...o.slot,disabled:p}),[o.slot,p]),h={ref:v,...o.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?i0:"div",name:o.name||"Label"})}let d0=je(a0),Yi=Object.assign(d0,{});function Dt(e,t,n){let r=n.initialDeps??[],o;function i(){var a,d,l,s;let f;n.key&&((a=n.debug)!=null&&a.call(n))&&(f=Date.now());const v=e();if(!(v.length!==r.length||v.some((c,h)=>r[h]!==c)))return o;r=v;let p;if(n.key&&((d=n.debug)!=null&&d.call(n))&&(p=Date.now()),o=t(...v),n.key&&((l=n.debug)!=null&&l.call(n))){const c=Math.round((Date.now()-f)*100)/100,h=Math.round((Date.now()-p)*100)/100,g=h/16,E=(O,$)=>{for(O=String(O);O.length<$;)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)}},jo={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,jo);const s=e.options.useScrollendEvent&&Ro;return s&&t.addEventListener("scrollend",l,jo),()=>{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=jt(()=>(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=jt(()=>[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=jt(()=>[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=jt(()=>[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=jt(()=>{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=jt(()=>[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"?se.useLayoutEffect:se.useEffect;function c0(e){const n=se.useReducer(()=>({}),{})[1],t={...e,onChange:(i,o)=>{var a;o?ke.flushSync(n):n(),(a=e.onChange)==null||a.call(e,i,o)}},[r]=se.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 Dr(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 jr=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):(jr.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=jr.get(e);r&&(r["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r["aria-hidden"]),e.inert=r.inert,jr.delete(e))}function Ko(e,{allowed:n,disallowed:t}={}){let r=Dr(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=Dr(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=Dr(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 j0(e,{prepare:n,inFlight:i}),o.nextFrame(()=>{t(),o.requestAnimationFrame(()=>{o.add(D0(e,r))})}),o.dispose}function D0(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 j0(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 Ze(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 Ze(e).Node:!1}function He(e){return Mn()?e instanceof Element||e instanceof Ze(e).Element:!1}function ut(e){return Mn()?e instanceof HTMLElement||e instanceof Ze(e).HTMLElement:!1}function ua(e){return!Mn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ze(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 Ze(e).getComputedStyle(e)}function Dn(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=Ze(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,jn=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:C,reset:x}=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],...C}},x&&c<=50&&(c++,typeof x=="object"&&(x.placement&&(m=x.placement),x.rects&&(s=x.rects===!0?await a.getElementRects({reference:e,floating:n,strategy:i}):x.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)),C=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},x=Bn(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:O,offsetParent:b,strategy:l}):O);return{top:(E.top-x.top+c.top)/C.y,bottom:(x.bottom-E.bottom+c.bottom)/C.y,left:(E.left-x.left+c.left)/C.x,right:(x.right-E.right+c.right)/C.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,C=await(l.isRTL==null?void 0:l.isRTL(s.floating)),x=m||(b||!h?[Rn(d)]:z0(d)),k=c!=="none";!m&&k&&x.push(...q0(d,h,c,C));const D=[d,...x],H=await Wn(n,g),A=[];let j=((r=o.flip)==null?void 0:r.overflows)||[];if(f&&A.push(H[E]),v){const W=G0(i,a,C);A.push(H[W[0]],H[W[1]])}if(j=[...j,{placement:i,overflows:A}],!A.every(W=>W<=0)){var M,Y;const W=(((M=o.flip)==null?void 0:M.index)||0)+1,oe=D[W];if(oe)return{data:{index:W,overflows:j},reset:{placement:oe}};let ae=(Y=j.filter(le=>le.overflows[0]<=0).sort((le,re)=>le.overflows[1]-re.overflows[1])[0])==null?void 0:Y.placement;if(!ae)switch(p){case"bestFit":{var G;const le=(G=j.filter(re=>{if(k){const z=_t(re.placement);return z===O||z==="y"}return!0}).map(re=>[re.placement,re.overflows.filter(z=>z>0).reduce((z,I)=>z+I,0)]).sort((re,z)=>re[1]-z[1])[0])==null?void 0:G[0];le&&(ae=le);break}case"initialPlacement":ae=d;break}if(i!==ae)return{reset:{placement:ae}}}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,C=Nt(h-f[g],O),x=Nt(c-f[E],b),k=!n.middlewareData.shift;let D=C,H=x;if((t=n.middlewareData.shift)!=null&&t.enabled.x&&(H=b),(r=n.middlewareData.shift)!=null&&r.enabled.y&&(D=O),k&&!m){const j=Ge(f.left,0),M=Ge(f.right,0),Y=Ge(f.top,0),G=Ge(f.bottom,0);p?H=c-2*(j!==0||M!==0?j+M:Ge(f.left,f.right)):D=h-2*(Y!==0||G!==0?Y+G:Ge(f.top,f.bottom))}await l({...n,availableWidth:H,availableHeight:D});const A=await a.getDimensions(d.floating);return c!==A.width||h!==A.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=Ze(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!==Ze(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=Ze(o),p=r&&He(r)?Ze(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,C=E.top+(h.clientTop+parseFloat(O.paddingTop))*g.y;l*=g.x,s*=g.y,f*=g.x,v*=g.y,l+=b,s+=C,c=Ze(h),h=zr(c)}}return Bn({width:f,height:v,x:l,y:s})}function Yr(e,n){const t=Dn(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=Dn(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=Dn(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=Ze(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=Dn(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=Ze(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=jn(v),h=jn(i.clientWidth-(f+m)),g=jn(i.clientHeight-(v+p)),E=jn(f),b={rootMargin:-c+"px "+-h+"px "+-g+"px "+-E+"px",threshold:Ge(0,Nt(1,l))||1};let C=!0;function x(k){const D=k[0].intersectionRatio;if(D!==l){if(!C)return a();D?a(!1,D):r=setTimeout(()=>{a(!1,1e-7)},1e3)}D===1&&!Ea(s,e.getBoundingClientRect())&&a(),C=!1}try{t=new IntersectionObserver(x,{...b,root:i.ownerDocument})}catch{t=new IntersectionObserver(x,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=se.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]=se.useState({x:0,y:0,strategy:t,placement:n,middlewareData:{},isPositioned:!1}),[m,p]=se.useState(r);Un(m,r)||p(r);const[c,h]=se.useState(null),[g,E]=se.useState(null),O=se.useCallback(re=>{re!==k.current&&(k.current=re,h(re))},[]),b=se.useCallback(re=>{re!==D.current&&(D.current=re,E(re))},[]),C=o||c,x=a||g,k=se.useRef(null),D=se.useRef(null),H=se.useRef(f),A=l!=null,j=Jr(l),M=Jr(i),Y=Jr(s),G=se.useCallback(()=>{if(!k.current||!D.current)return;const re={placement:n,strategy:t,middleware:m};M.current&&(re.platform=M.current),Cc(k.current,D.current,re).then(z=>{const I={...z,isPositioned:Y.current!==!1};W.current&&!Un(H.current,I)&&(H.current=I,En.flushSync(()=>{v(I)}))})},[m,n,t,M,Y]);Vn(()=>{s===!1&&H.current.isPositioned&&(H.current.isPositioned=!1,v(re=>({...re,isPositioned:!1})))},[s]);const W=se.useRef(!1);Vn(()=>(W.current=!0,()=>{W.current=!1}),[]),Vn(()=>{if(C&&(k.current=C),x&&(D.current=x),C&&x){if(j.current)return j.current(C,x,G);G()}},[C,x,G,j,A]);const oe=se.useMemo(()=>({reference:k,floating:D,setReference:O,setFloating:b}),[O,b]),ae=se.useMemo(()=>({reference:C,floating:x}),[C,x]),le=se.useMemo(()=>{const re={position:t,left:0,top:0};if(!ae.floating)return re;const z=Oa(ae.floating,f.x),I=Oa(ae.floating,f.y);return d?{...re,transform:"translate("+z+"px, "+I+"px)",...Sa(ae.floating)>=1.5&&{willChange:"transform"}}:{position:t,left:z,top:I}},[t,d,ae.floating,f.x,f.y]);return se.useMemo(()=>({...f,update:G,refs:oe,elements:ae,floatingStyles:le}),[f,G,oe,ae,le])}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={...se},Tc=Ta.useInsertionEffect||(e=>e());function Ia(e){const n=se.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return Tc(()=>{n.current=e}),se.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]=se.useState(()=>Na?_a():void 0);return Qr(()=>{e==null&&n(_a())},[]),se.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=se.createContext(null),Lc=se.createContext(null),Dc=()=>{var e;return((e=se.useContext(Mc))==null?void 0:e.id)||null},jc=()=>se.useContext(Lc),Rc="data-floating-ui-focusable";function Bc(e){const{open:n=!1,onOpenChange:t,elements:r}=e,i=_c(),o=se.useRef({}),[a]=se.useState(()=>Fc()),d=Dc()!=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]=se.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=se.useMemo(()=>({setPositionReference:s}),[]),m=se.useMemo(()=>({reference:l||r.reference||null,floating:r.floating||null,domReference:r.reference}),[l,r.reference,r.floating]);return se.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]=se.useState(null),[d,l]=se.useState(null),f=i?.domReference||o,v=se.useRef(null),m=jc();Qr(()=>{f&&(v.current=f)},[f]);const p=Ec({...e,elements:{...i,...d&&{reference:d}}}),c=se.useCallback(b=>{const C=He(b)?{getBoundingClientRect:()=>b.getBoundingClientRect(),contextElement:b}:b;l(C),p.refs.setReference(C)},[p.refs]),h=se.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=se.useMemo(()=>({...p.refs,setReference:h,setPositionReference:c,domReference:v}),[p.refs,h,c]),E=se.useMemo(()=>({...p.elements,domReference:f}),[p.elements,f]),O=se.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(C=>C.id===n);b&&(b.context=O)}),se.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=se.useCallback(d=>ei(d,e,"reference"),n),o=se.useCallback(d=>ei(d,e,"floating"),t),a=se.useCallback(d=>ei(d,e,"item"),r);return se.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)},C=await Zr(Fa(b,c.scrollHeight+h+m.clientTop),f),x=await Zr(b,{...f,elementContext:"reference"}),k=Ge(0,C.top),D=b.y+k,j=(c.scrollHeight>c.clientHeight?M=>M:mn)(Ge(0,c.scrollHeight+(g&&O||E?h*2:0)-k-Ge(0,C.bottom)));if(c.style.maxHeight=j+"px",c.scrollTop=k,i){const M=c.offsetHeight<p.offsetHeight*Nt(d,t.current.length)-1||x.top>=-l||x.bottom>=-l;En.flushSync(()=>i(M))}return r&&(r.current=await Zr(Fa({...b,y:D},c.offsetHeight+h+m.clientTop),f)),{y:D}}});function Hc(e,n){const{open:t,elements:r}=e,{enabled:i=!0,overflowRef:o,scrollRef:a,onChange:d}=n,l=Ia(d),s=se.useRef(!1),f=se.useRef(null),v=se.useRef(null);se.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,C=g<0?-1:1,x=g<0?"max":"min";c.scrollHeight<=c.clientHeight||(!E&&g>0||!O&&g<0?(h.preventDefault(),En.flushSync(()=>{l(k=>k+Math[x](g,b*C))})):/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=se.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 se.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 Da(){let{getFloatingProps:e,slot:n}=u.useContext(Ut);return u.useCallback((...t)=>Object.assign({},e(...t),{"data-anchor":n.anchor}),[e,n])}function ja(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(M){var Y,G;if(!M)return;let W=b.elements.floating;if(!W)return;let oe=parseFloat(getComputedStyle(W).scrollPaddingBottom)||0,ae=Math.min(Ra,W.childElementCount),le=0,re=0;for(let z of(G=(Y=b.elements.floating)==null?void 0:Y.childNodes)!=null?G:[])if(z instanceof HTMLElement){let I=z.offsetTop,R=I+z.clientHeight+oe,X=W.scrollTop,T=X+W.clientHeight;if(I>=X&&R<=T)ae--;else{re=Math.max(0,Math.min(R,T)-Math.max(I,X)),le=z.clientHeight;break}}ae>=1&&o(z=>{let I=le*ae-re+oe;return z>=I?z:I})}}):null,Pc({padding:p,apply({availableWidth:M,availableHeight:Y,elements:G}){Object.assign(G.floating.style,{overflow:"auto",maxWidth:`${M}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${Y}px)`})}})].filter(Boolean),whileElementsMounted:$c}),[C=h,x=g]=b.placement.split("-");h==="selection"&&(C="selection");let k=u.useMemo(()=>({anchor:[C,x].filter(Boolean).join(" ")}),[C,x]),D=Hc(b,{overflowRef:a,onChange:o}),{getReferenceProps:H,getFloatingProps:A}=Vc([D]),j=te(M=>{l(M),E.setFloating(M)});return se.createElement(ti.Provider,{value:r},se.createElement(Ut.Provider,{value:{setFloating:j,setReference:E.setReference,styles:O,getReferenceProps:H,getFloatingProps:A,slot:k}},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 se?(n=>n.useSyncExternalStore)(se)(()=>()=>{},()=>!1,()=>!e):!1}function ai(){let e=Jc(),[n,t]=se.useState(Tt.isHandoffComplete);return n&&Tt.isHandoffComplete===!1&&t(!1),se.useEffect(()=>{n!==!0&&t(!0)},[n]),se.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=je();return s?!a||!d?null:ke.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=je();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=je();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),[C=c?[]:void 0,x]=Eo(o,d,b),[k,D]=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),A=u.useRef({static:!1,hold:!1}),j=Vo(f),M=te(K=>g?f===null?g.options.indexOf(K):g.options.findIndex(_=>j(_,K)):k.options.findIndex(_=>j(_.dataRef.current.value,K))),Y=u.useCallback(K=>We(W.mode,{1:()=>C.some(_=>j(_,K)),0:()=>j(C,K)}),[C]),G=te(K=>k.activeOptionIndex===M(K)),W=u.useMemo(()=>({...k,immediate:h,optionsPropsRef:A,value:C,defaultValue:b,disabled:v,mode:c?1:0,virtual:g?k.virtual:null,get activeOptionIndex(){if(H.current&&k.activeOptionIndex===null&&(g?g.options.length>0:k.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=k.options.findIndex(_=>!_.dataRef.current.disabled);if(K!==-1)return K}return k.activeOptionIndex},calculateIndex:M,compare:j,isSelected:Y,isActive:G}),[C,b,v,c,p,k,g]);Ce(()=>{var K;g&&D({type:7,options:g.options,disabled:(K=g.disabled)!=null?K:null})},[g,g?.options,g?.disabled]),Ce(()=>{k.dataRef.current=W},[W]);let oe=W.comboboxState===0;ea(oe,[W.buttonElement,W.inputElement,W.optionsElement],()=>ne.closeCombobox());let ae=u.useMemo(()=>{var K,_,fe;return{open:W.comboboxState===0,disabled:v,activeIndex:W.activeOptionIndex,activeOption:W.activeOptionIndex===null?null:W.virtual?W.virtual.options[(K=W.activeOptionIndex)!=null?K:0]:(fe=(_=W.options[W.activeOptionIndex])==null?void 0:_.dataRef.current.value)!=null?fe:null,value:C}},[W,v,C]),le=te(()=>{if(W.activeOptionIndex!==null){if(ne.setIsTyping(!1),W.virtual)T(W.virtual.options[W.activeOptionIndex]);else{let{dataRef:K}=W.options[W.activeOptionIndex];T(K.current.value)}ne.goToOption(be.Specific,W.activeOptionIndex)}}),re=te(()=>{D({type:0}),H.current=!0}),z=te(()=>{D({type:1}),H.current=!1,m?.()}),I=te(K=>{D({type:3,isTyping:K})}),R=te((K,_,fe)=>(H.current=!1,K===be.Specific?D({type:2,focus:be.Specific,idx:_,trigger:fe}):D({type:2,focus:K,trigger:fe}))),X=te((K,_)=>(D({type:4,payload:{id:K,dataRef:_}}),()=>{W.isActive(_.current.value)&&(H.current=!0),D({type:5,id:K})})),T=te(K=>We(W.mode,{0(){return x?.(K)},1(){let _=W.value.slice(),fe=_.findIndex(ge=>j(ge,K));return fe===-1?_.push(K):_.splice(fe,1),x?.(_)}})),U=te(K=>{D({type:6,trigger:K})}),L=te(K=>{D({type:8,element:K})}),Q=te(K=>{D({type:9,element:K})}),q=te(K=>{D({type:10,element:K})}),ne=u.useMemo(()=>({onChange:T,registerOption:X,goToOption:R,setIsTyping:I,closeCombobox:z,openCombobox:re,setActivationTrigger:U,selectActiveOption:le,setInputElement:L,setButtonElement:Q,setOptionsElement:q}),[]),[ce,he]=Lo(),Ee=n===null?{}:{ref:n},S=u.useCallback(()=>{if(b!==void 0)return x?.(b)},[x,b]),Z=je();return u.createElement(he,{value:ce,props:{htmlFor:(r=W.inputElement)==null?void 0:r.id},slot:{open:W.comboboxState===0,disabled:v}},u.createElement(Ba,null,u.createElement(li.Provider,{value:ne},u.createElement(bn.Provider,{value:W},u.createElement(ii,{value:We(W.comboboxState,{0:Ke.Open,1:Ke.Closed})},s!=null&&u.createElement(No,{disabled:v,data:C!=null?{[s]:C}:{},form:l,onReset:S}),Z({ourProps:Ee,theirProps:O,slot:ae,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),C=cn(d.inputElement),x=yt(),k=te(()=>{l.onChange(null),d.optionsElement&&(d.optionsElement.scrollTop=0),l.goToOption(be.Nothing)}),D=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||C?.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)}))},[D,d.comboboxState,C,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),A=te(()=>{H.current=!0}),j=te(()=>{x.nextFrame(()=>{H.current=!1})}),M=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:()=>{ke.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&&k(),l.closeCombobox());case Se.Tab:if(d.comboboxState!==0)return;d.mode===0&&d.activationTrigger!==1&&l.selectActiveOption(),l.closeCombobox();break}}),Y=te(T=>{m?.(T),d.mode===0&&T.target.value===""&&k(),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&&k(),l.closeCombobox()}),W=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&&x.microTask(()=>{ke.flushSync(()=>l.openCombobox()),l.setActivationTrigger(1)})}),oe=ln(),ae=Fo(),{isFocused:le,focusProps:re}=Tr({autoFocus:h}),{isHovered:z,hoverProps:I}=Pr({isDisabled:c}),R=u.useMemo(()=>({open:d.comboboxState===0,disabled:c,hover:z,focus:le,autofocus:h}),[d,z,le,h,c]),X=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":oe,"aria-describedby":ae,"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:A,onCompositionEnd:j,onKeyDown:M,onChange:Y,onFocus:W,onBlur:G},re,I);return je()({ourProps:X,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(D=>{switch(D.key){case Se.Space:case Se.Enter:D.preventDefault(),D.stopPropagation(),r.comboboxState===1&&ke.flushSync(()=>i.openCombobox()),v();return;case Se.ArrowDown:D.preventDefault(),D.stopPropagation(),r.comboboxState===1&&(ke.flushSync(()=>i.openCombobox()),r.value||i.goToOption(be.First)),v();return;case Se.ArrowUp:D.preventDefault(),D.stopPropagation(),r.comboboxState===1&&(ke.flushSync(()=>i.openCombobox()),r.value||i.goToOption(be.Last)),v();return;case Se.Escape:if(r.comboboxState!==0)return;D.preventDefault(),r.optionsElement&&!r.optionsPropsRef.current.static&&D.stopPropagation(),ke.flushSync(()=>i.closeCombobox()),v();return;default:return}}),p=te(D=>{D.preventDefault(),!_o(D.currentTarget)&&(D.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:C}=xo({disabled:l}),x=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]),k=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,C);return je()({ourProps:k,theirProps:f,slot:x,defaultTag:y1,name:"Combobox.Button"})}let x1="div",C1=Dt.RenderStrategy|Dt.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]=ja(h),[O,b]=u.useState(null),C=Da(),x=Ue(n,h?g:null,c.setOptionsElement,b),k=cn(p.optionsElement),D=Gn(),[H,A]=Ur(v,O,D!==null?(D&Ke.Open)===Ke.Open:p.comboboxState===0);qo(H,p.inputElement,c.closeCombobox);let j=p.__demoMode?!1:f&&p.comboboxState===0;ra(j,k);let M=p.__demoMode?!1:f&&p.comboboxState===0;Ko(M,{allowed:u.useCallback(()=>[p.inputElement,p.buttonElement,p.optionsElement],[p.inputElement,p.buttonElement,p.optionsElement])}),Ce(()=>{var X;p.optionsPropsRef.current.static=(X=e.static)!=null?X:!1},[p.optionsPropsRef,e.static]),Ce(()=>{p.optionsPropsRef.current.hold=d},[p.optionsPropsRef,d]),R0(p.comboboxState===0,{container:p.optionsElement,accept(X){return X.getAttribute("role")==="option"?NodeFilter.FILTER_REJECT:X.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(X){X.setAttribute("role","none")}});let Y=ln([(t=p.buttonElement)==null?void 0:t.id]),G=u.useMemo(()=>({open:p.comboboxState===0,option:void 0}),[p.comboboxState]),W=te(()=>{c.setActivationTrigger(0)}),oe=te(X=>{X.preventDefault(),c.setActivationTrigger(0)}),ae=dn(h?C():{},{"aria-labelledby":Y,role:"listbox","aria-multiselectable":p.mode===1?!0:void 0,id:a,ref:x,style:{...m.style,...E,"--input-width":Lr(p.inputElement,!0).width,"--button-width":Lr(p.buttonElement,!0).width},onWheel:p.activationTrigger===0?void 0:W,onMouseDown:oe,...Vr(A)}),le=H&&p.comboboxState===1,re=Hn(le,(r=p.virtual)==null?void 0:r.options),z=Hn(le,p.value),I=te(X=>p.compare(z,X));if(p.virtual){if(re===void 0)throw new Error("Missing `options` in virtual mode");Object.assign(m,{children:u.createElement(bn.Provider,{value:re!==p.virtual.options?{...p,virtual:{...p.virtual,options:re}}:p},u.createElement(m1,{slot:G},m.children))})}let R=je();return u.createElement(Ga,{enabled:s?e.static||H:!1},u.createElement(bn.Provider,{value:p.mode===1?p:{...p,isSelected:I}},R({ourProps:ae,theirProps:{...m,children:u.createElement(qc,{freeze:le},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),C=Ue(n,E,b?b.measureElement:null),x=te(()=>{d.setIsTyping(!1),d.onChange(f)});Ce(()=>d.registerOption(s,O),[O,s]);let k=u.useRef(!(a.virtual||a.__demoMode));Ce(()=>{if(!a.virtual&&!a.__demoMode)return et().requestAnimationFrame(()=>{k.current=!0})},[a.virtual,a.__demoMode]),Ce(()=>{if(k.current&&a.comboboxState===0&&h&&a.activationTrigger!==0)return et().requestAnimationFrame(()=>{var oe,ae;(ae=(oe=E.current)==null?void 0:oe.scrollIntoView)==null||ae.call(oe,{block:"nearest"})})},[E,h,a.comboboxState,a.activationTrigger,a.activeOptionIndex]);let D=te(oe=>{oe.preventDefault(),oe.button===oi.Left&&(v||(x(),Jo()||requestAnimationFrame(()=>c()),a.mode===0&&d.closeCombobox()))}),H=te(()=>{if(v)return d.goToOption(be.Nothing);let oe=a.calculateIndex(f);d.goToOption(be.Specific,oe)}),A=oa(),j=te(oe=>A.update(oe)),M=te(oe=>{if(!A.wasMoved(oe)||v||h)return;let ae=a.calculateIndex(f);d.goToOption(be.Specific,ae,0)}),Y=te(oe=>{A.wasMoved(oe)&&(v||h&&(a.optionsPropsRef.current.hold||d.goToOption(be.Nothing)))}),G=u.useMemo(()=>({active:h,focus:h,selected:g,disabled:v}),[h,g,v]),W={id:s,ref:C,role:"option",tabIndex:v===!0?void 0:-1,"aria-disabled":v===!0?!0:void 0,"aria-selected":g,disabled:void 0,onMouseDown:D,onFocus:H,onPointerEnter:j,onMouseEnter:j,onPointerMove:M,onMouseMove:M,onPointerLeave:Y,onMouseLeave:Y};return je()({ourProps:W,theirProps:p,slot:G,defaultTag:S1,name:"Combobox.Option"})}let P1=Le(g1),Ka=Le(w1),qa=Le(b1),T1=Do,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=Dt.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),C=Za(e),x=Ue(...C?[b,n,O]:n===null?[]:[n]),k=(t=g.unmount)==null||t?wt.Unmount:wt.Hidden,{show:D,appear:H,initial:A}=A1(),[j,M]=u.useState(D?"visible":"hidden"),Y=k1(),{register:G,unregister:W}=Y;Ce(()=>G(b),[G,b]),Ce(()=>{if(k===wt.Hidden&&b.current){if(D&&j!=="visible"){M("visible");return}return We(j,{hidden:()=>W(b),visible:()=>G(b)})}},[j,b,G,W,D,k]);let oe=ai();Ce(()=>{if(C&&oe&&j==="visible"&&b.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[b,j,oe,C]);let ae=A&&!H,le=H&&D&&A,re=u.useRef(!1),z=Ja(()=>{re.current||(M("hidden"),W(b))},Y),I=te(q=>{re.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";re.current=!1,z.onStop(b,ne,ce=>{ce==="enter"?a?.():ce==="leave"&&l?.()}),ne==="leave"&&!qn(z)&&(M("hidden"),W(b))});u.useEffect(()=>{C&&i||(I(D),R(D))},[D,C,i]);let X=!(!i||!C||!oe||ae),[,T]=Ur(X,E,D,{start:I,end:R}),U=xt({ref:x,className:((r=Nr(g.className,le&&s,le&&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&&D&&m))==null?void 0:r.trim())||void 0,...Vr(T)}),L=0;j==="visible"&&(L|=Ke.Open),j==="hidden"&&(L|=Ke.Closed),T.enter&&(L|=Ke.Opening),T.leave&&(L|=Ke.Closing);let Q=je();return u.createElement(Kn.Provider,{value:z},u.createElement(ii,{value:L},Q({ourProps:U,theirProps:g,defaultTag:Qa,features:ed,visible:j==="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 x;p&&c(!1),(x=e.beforeEnter)==null||x.call(e)}),b=te(()=>{var x;p&&c(!1),(x=e.beforeLeave)==null||x.call(e)}),C=je();return u.createElement(Kn.Provider,{value:m},u.createElement(zn.Provider,{value:g},C({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),D1=Le(L1),nd=Object.assign(si,{Child:D1,Root:si});function j1(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,C]=Eo(i,l,O),[x,k]=u.useReducer(z1,{dataRef:u.createRef(),listboxState:c?0:1,options:[],searchQuery:"",activeOptionIndex:null,activationTrigger:1,optionsVisible:!1,buttonElement:null,optionsElement:null,__demoMode:c}),D=u.useRef({static:!1,hold:!1}),H=u.useRef(new Map),A=Vo(s),j=u.useCallback(S=>We(M.mode,{1:()=>b.some(Z=>A(Z,S)),0:()=>A(b,S)}),[b]),M=u.useMemo(()=>({...x,value:b,disabled:v,invalid:f,mode:p?1:0,orientation:g,compare:A,isSelected:j,optionsPropsRef:D,listRef:H}),[b,v,f,p,x,H]);Ce(()=>{x.dataRef.current=M},[M]);let Y=M.listboxState===0;ea(Y,[M.buttonElement,M.optionsElement],(S,Z)=>{var K;k({type:1}),Xo(Z,Br.Loose)||(S.preventDefault(),(K=M.buttonElement)==null||K.focus())});let G=u.useMemo(()=>({open:M.listboxState===0,disabled:v,invalid:f,value:b}),[M,v,b,f]),W=te(S=>{let Z=M.options.find(K=>K.id===S);Z&&R(Z.dataRef.current.value)}),oe=te(()=>{if(M.activeOptionIndex!==null){let{dataRef:S,id:Z}=M.options[M.activeOptionIndex];R(S.current.value),k({type:2,focus:be.Specific,id:Z})}}),ae=te(()=>k({type:0})),le=te(()=>k({type:1})),re=yt(),z=te((S,Z,K)=>{re.dispose(),re.microTask(()=>S===be.Specific?k({type:2,focus:be.Specific,id:Z,trigger:K}):k({type:2,focus:S,trigger:K}))}),I=te((S,Z)=>(k({type:5,id:S,dataRef:Z}),()=>k({type:6,id:S}))),R=te(S=>We(M.mode,{0(){return C?.(S)},1(){let Z=M.value.slice(),K=Z.findIndex(_=>A(_,S));return K===-1?Z.push(S):Z.splice(K,1),C?.(Z)}})),X=te(S=>k({type:3,value:S})),T=te(()=>k({type:4})),U=te(S=>{k({type:7,element:S})}),L=te(S=>{k({type:8,element:S})}),Q=u.useMemo(()=>({onChange:R,registerOption:I,goToOption:z,closeListbox:le,openListbox:ae,selectActiveOption:oe,selectOption:W,search:X,clearSearch:T,setButtonElement:U,setOptionsElement:L}),[]),[q,ne]=Lo({inherit:!0}),ce={ref:E},he=u.useCallback(()=>{if(O!==void 0)return C?.(O)},[C,O]),Ee=je();return u.createElement(ne,{value:q,props:{htmlFor:(t=M.buttonElement)==null?void 0:t.id},slot:{open:M.listboxState===0,disabled:v}},u.createElement(Ba,null,u.createElement(ci.Provider,{value:Q},u.createElement(Xn.Provider,{value:M},u.createElement(ii,{value:We(M.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(M=>{switch(M.key){case Se.Enter:Bu(M.currentTarget);break;case Se.Space:case Se.ArrowDown:M.preventDefault(),ke.flushSync(()=>i.openListbox()),r.value||i.goToOption(be.First);break;case Se.ArrowUp:M.preventDefault(),ke.flushSync(()=>i.openListbox()),r.value||i.goToOption(be.Last);break}}),c=te(M=>{switch(M.key){case Se.Space:M.preventDefault();break}}),h=te(M=>{var Y;if(_o(M.currentTarget))return M.preventDefault();r.listboxState===0?(ke.flushSync(()=>i.closeListbox()),(Y=r.buttonElement)==null||Y.focus({preventScroll:!0})):(M.preventDefault(),i.openListbox())}),g=te(M=>M.preventDefault()),E=ln([d]),O=Fo(),{isFocusVisible:b,focusProps:C}=Tr({autoFocus:s}),{isHovered:x,hoverProps:k}=Pr({isDisabled:l}),{pressed:D,pressProps:H}=xo({disabled:l}),A=u.useMemo(()=>({open:r.listboxState===0,active:D||r.listboxState===0,disabled:l,invalid:r.invalid,value:r.value,hover:x,focus:b,autofocus:s}),[r.listboxState,r.value,l,x,b,D,r.invalid,s]),j=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},C,k,H);return je()({ourProps:j,theirProps:f,slot:A,defaultTag:Y1,name:"Listbox.Button"})}let od=u.createContext(!1),Z1="div",J1=Dt.RenderStrategy|Dt.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 C=c.__demoMode?!1:l&&c.listboxState===0;ra(C,g);let x=c.__demoMode?!1:l&&c.listboxState===0;Ko(x,{allowed:u.useCallback(()=>[c.buttonElement,c.optionsElement],[c.buttonElement,c.optionsElement])});let k=c.listboxState!==0,D=j1(k,c.buttonElement)?!1:O,H=O&&c.listboxState===1,A=Hn(H,c.value),j=te(T=>c.compare(A,T)),M=u.useMemo(()=>{var T;if(v==null||!((T=v?.to)!=null&&T.includes("selection")))return null;let U=c.options.findIndex(L=>j(L.dataRef.current.value));return U===-1&&(U=0),U},[v,c.options]),Y=(()=>{if(v==null)return;if(M===null)return{...v,inner:void 0};let T=Array.from(c.listRef.current.values());return{...v,inner:{listRef:{current:T},index:M}}})(),[G,W]=ja(Y),oe=Da(),ae=Ue(n,v?G:null,h.setOptionsElement,p),le=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 re=te(T=>{var U,L;switch(le.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&&(ke.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(),ke.flushSync(()=>h.closeListbox()),(L=c.buttonElement)==null||L.focus({preventScroll:!0});return;case Se.Tab:T.preventDefault(),T.stopPropagation(),ke.flushSync(()=>h.closeListbox()),E0(c.buttonElement,T.shiftKey?Rr.Previous:Rr.Next);break;default:T.key.length===1&&(h.search(T.key),le.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?oe():{},{id:o,ref:ae,"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:re,role:"listbox",tabIndex:c.listboxState===0?0:void 0,style:{...f.style,...W,"--button-width":Lr(c.buttonElement,!0).width},...Vr(b)}),X=je();return u.createElement(Ga,{enabled:d?e.static||O:!1},u.createElement(Xn.Provider,{value:c.mode===1?c:{...c,isSelected:j}},X({ourProps:R,theirProps:f,slot:I,defaultTag:Z1,features:J1,visible:D,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,A=>{A?l.listRef.current.set(r,A):l.listRef.current.delete(r)});Ce(()=>{if(!l.__demoMode&&l.listboxState===0&&f&&l.activationTrigger!==0)return et().requestAnimationFrame(()=>{var A,j;(j=(A=m.current)==null?void 0:A.scrollIntoView)==null||j.call(A,{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(A=>{var j;if(i)return A.preventDefault();s.onChange(o),l.mode===0&&(ke.flushSync(()=>s.closeListbox()),(j=l.buttonElement)==null||j.focus({preventScroll:!0}))}),E=te(()=>{if(i)return s.goToOption(be.Nothing);s.goToOption(be.Specific,r)}),O=oa(),b=te(A=>{O.update(A),!i&&(f||s.goToOption(be.Specific,r,0))}),C=te(A=>{O.wasMoved(A)&&(i||f||s.goToOption(be.Specific,r,0))}),x=te(A=>{O.wasMoved(A)&&(i||f&&s.goToOption(be.Nothing))}),k=u.useMemo(()=>({active:f,focus:f,selected:v,disabled:i,selectedOption:v&&d}),[f,v,i,d]),D=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:C,onMouseMove:C,onPointerLeave:x,onMouseLeave:x},H=je();return!v&&d?null:H({ourProps:D,theirProps:a,slot:k,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=je();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=Do,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 se.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?se.createElement("title",{id:n},e):null,se.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=se.forwardRef(sf),qe={select:"_select_fcnvh_1",selectContainer:"_selectContainer_fcnvh_4",selectButton:"_selectButton_fcnvh_7",open:"_open_fcnvh_13",selectValue:"_selectValue_fcnvh_16",placeholder:"_placeholder_fcnvh_19",seletIcon:"_seletIcon_fcnvh_22",selectText:"_selectText_fcnvh_25",chevronDownIconSpan:"_chevronDownIconSpan_fcnvh_28",chevronDownIcon:"_chevronDownIcon_fcnvh_28",leave:"_leave_fcnvh_35",leaveFrom:"_leaveFrom_fcnvh_39",leaveTo:"_leaveTo_fcnvh_43",selectOptions:"_selectOptions_fcnvh_47"},ud=({children:e,selected:n,onSelect:t,themeColor:r,placeholder:i})=>{const[o,a]=u.useState(!1),[d,l]=u.useState(!1),[s,f]=u.useState(!1),v=u.useRef(null),m=u.useRef(null),p=u.useRef(null),[c,h]=u.useState({left:0,top:0}),[g,E]=u.useState(!1),O=u.useRef(0),b=u.useRef(0);let C="#333333";const x=()=>{O.current=window.innerHeight,b.current=document.body.scrollHeight,a(!0)};u.useEffect(()=>(x(),window.addEventListener("resize",x),()=>{window.removeEventListener("resize",x)}),[]);const k=()=>b.current-(O.current+window.scrollY),D=()=>{if(v.current){const M=v.current.getBoundingClientRect();E(!1),setTimeout(()=>{const Y=p?.current?.getBoundingClientRect(),G=k(),W=O.current-M.bottom;if(Y){const oe=Y.height,ae=M.top,le=oe>=ae+window.scrollY,re=oe>=ae&&(le||G>=oe||W>=oe)||ae>=oe&&W>=oe?M.y+M.height:M.y-oe;h({left:M.left,top:re??M.top}),E(!0)}},0)}};if(u.useEffect(()=>(window.addEventListener("scroll",D),window.addEventListener("resize",D),()=>{window.removeEventListener("scroll",D),window.removeEventListener("resize",D)}),[]),r){r=Je.convert3HexTo6(r);const M=pt(r);(M==="dark"||M==="light")&&(C=r==="#ffffff"?"#c8c8c8":r)}const H=M=>{t(M)},A=()=>f(!0),j=()=>f(!1);return N.jsx(lf,{value:n,onChange:H,children:({open:M})=>(M!==d&&(l(M),M?D():E(!1)),N.jsxs("div",{className:qe.select,children:[N.jsx("div",{className:qe.selectContainer,ref:v,children:N.jsxs(ad,{ref:m,"data-testid":"select-options",onFocus:A,onBlur:j,className:`${qe.selectButton} ${M?qe.open:""}`,style:{borderBottomColor:r&&(s||M)?C:""},children:[n?N.jsxs("span",{className:qe.selectValue,children:[n.avatar&&N.jsx("img",{src:n.avatar,alt:"",className:qe.seletIcon}),N.jsx("span",{className:qe.selectText,children:n.label})]}):i&&N.jsx("span",{className:`${qe.selectValue} ${qe.placeholder}`,children:i}),N.jsx("span",{className:qe.chevronDownIconSpan,children:N.jsx(sd,{className:qe.chevronDownIcon,"aria-hidden":"true","data-open":d?!0:void 0})})]})}),o&&ke.createPortal(M&&N.jsx("div",{style:{position:"fixed",inset:0,backgroundColor:"rgba(255,255,255,0)",zIndex:1e3},children:N.jsx("div",{ref:p,style:{position:"absolute",opacity:g?1:0,width:v.current?.clientWidth??"auto",left:c.left,top:c.top},children:e})}),document.body)]}))})},cd=({children:e,setQuery:n})=>N.jsx(nd,{as:u.Fragment,leave:qe.leave,leaveFrom:qe.leaveFrom,leaveTo:qe.leaveTo,afterLeave:()=>n(""),children:N.jsx(dd,{className:qe.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,C]=u.useState(!1),x=u.useRef(0),k=u.useRef(0);let D={};u.useEffect(()=>{d.current&&n&&(d.current.value=n.label||"")},[n]),u.useEffect(()=>{x.current=window.innerHeight,k.current=document.body.scrollHeight,g(!0)},[]);const H=u.useCallback(()=>{if(s.current){const Y=window.visualViewport,G=s.current.getBoundingClientRect();C(!1),setTimeout(()=>{const W=f?.current?.getBoundingClientRect();let oe=G.left,ae=G.y+G.height,le=window.innerHeight-G.bottom,re=document.body.scrollHeight-(window.innerHeight+window.scrollY);if(Y&&(oe=G.left+Y.offsetLeft,ae=G.top+G.height+Y.offsetTop,le=Y.height-(G.bottom-Y.offsetTop),re=document.body.scrollHeight-(Y.height+Y.pageTop)),W){const z=W.height,I=G.top,R=z>=I+window.scrollY,X=z>=I&&(R||re>=z||le>=z)||I>=z&&le>=z?ae:(Y?G.top+Y.offsetTop:G.y)-z;O({left:oe,top:X??(Y?G.top+Y.offsetTop:G.top)}),C(!0)}},0)}},[]);u.useEffect(()=>(window.addEventListener("scroll",H),window.addEventListener("resize",H),()=>{window.removeEventListener("scroll",H),window.removeEventListener("resize",H)}),[]);const A=Y=>{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}))))},j=()=>{m(!0)},M=()=>{m(!1)};if(a){const Y=pt(a);a=Je.convert3HexTo6(a);let G;a==="#ffffff"?G="#c8c8c8":v?G=a:G="#333333",(Y==="dark"||Y==="light")&&(D={borderBottomColor:G})}return N.jsx(I1,{value:n,onChange:t,disabled:i,children:({open:Y})=>(Y!==p&&(c(Y),Y?H():C(!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:A,onFocus:j,onBlur:M,style:{...D},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":Y?!0:void 0})})]}),h?ke.createPortal(N.jsx(N.Fragment,{children:Y&&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*g,120))}deg 100% 31%);`,n?.key)}return(s=n?.onChange)==null||s.call(n,o),o}return i.updateDeps=a=>{r=a},i}function Kr(e,t){if(e===void 0)throw new Error("Unexpected undefined");return e}const l0=(e,t)=>Math.abs(e-t)<1,s0=(e,t,n)=>{let r;return function(...o){e.clearTimeout(r),r=e.setTimeout(()=>t.apply(this,o),n)}},u0=e=>e,c0=e=>{const t=Math.max(e.startIndex-e.overscan,0),n=Math.min(e.endIndex+e.overscan,e.count-1),r=[];for(let o=t;o<=n;o++)r.push(o);return r},f0=(e,t)=>{const n=e.scrollElement;if(!n)return;const r=e.targetWindow;if(!r)return;const o=a=>{const{width:d,height:l}=a;t({width:Math.round(d),height:Math.round(l)})};if(o(n.getBoundingClientRect()),!r.ResizeObserver)return()=>{};const i=new r.ResizeObserver(a=>{const d=()=>{const l=a[0];if(l?.borderBoxSize){const s=l.borderBoxSize[0];if(s){o({width:s.inlineSize,height:s.blockSize});return}}o(n.getBoundingClientRect())};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(d):d()});return i.observe(n,{box:"border-box"}),()=>{i.unobserve(n)}},Xi={passive:!0},Zi=typeof window>"u"?!0:"onscrollend"in window,p0=(e,t)=>{const n=e.scrollElement;if(!n)return;const r=e.targetWindow;if(!r)return;let o=0;const i=e.options.useScrollendEvent&&Zi?()=>{}:s0(r,()=>{t(o,!1)},e.options.isScrollingResetDelay),a=f=>()=>{const{horizontal:v,isRtl:m}=e.options;o=v?n.scrollLeft*(m&&-1||1):n.scrollTop,i(),t(o,f)},d=a(!0),l=a(!1);l(),n.addEventListener("scroll",d,Xi);const s=e.options.useScrollendEvent&&Zi;return s&&n.addEventListener("scrollend",l,Xi),()=>{n.removeEventListener("scroll",d),s&&n.removeEventListener("scrollend",l)}},m0=(e,t,n)=>{if(t?.borderBoxSize){const r=t.borderBoxSize[0];if(r)return Math.round(r[n.options.horizontal?"inlineSize":"blockSize"])}return Math.round(e.getBoundingClientRect()[n.options.horizontal?"width":"height"])},h0=(e,{adjustments:t=0,behavior:n},r)=>{var o,i;const a=e+t;(i=(o=r.scrollElement)==null?void 0:o.scrollTo)==null||i.call(o,{[r.options.horizontal?"left":"top"]:a,behavior:n})};class v0{constructor(t){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let n=null;const r=()=>n||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:n=new this.targetWindow.ResizeObserver(o=>{o.forEach(i=>{const a=()=>{this._measureElement(i.target,i)};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(a):a()})}));return{disconnect:()=>{var o;(o=r())==null||o.disconnect(),n=null},observe:o=>{var i;return(i=r())==null?void 0:i.observe(o,{box:"border-box"})},unobserve:o=>{var i;return(i=r())==null?void 0:i.unobserve(o)}}})(),this.range=null,this.setOptions=n=>{Object.entries(n).forEach(([r,o])=>{typeof o>"u"&&delete n[r]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:u0,rangeExtractor:c0,onChange:()=>{},measureElement:m0,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,...n}},this.notify=n=>{var r,o;(o=(r=this.options).onChange)==null||o.call(r,this,n)},this.maybeNotify=Dt(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),n=>{this.notify(n)},{key:process.env.NODE_ENV!=="production"&&"maybeNotify",debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(n=>n()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var n;const r=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==r){if(this.cleanup(),!r){this.maybeNotify();return}this.scrollElement=r,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=((n=this.scrollElement)==null?void 0:n.window)??null,this.elementsCache.forEach(o=>{this.observer.observe(o)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,o=>{this.scrollRect=o,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(o,i)=>{this.scrollAdjustments=0,this.scrollDirection=i?this.getScrollOffset()<o?"forward":"backward":null,this.scrollOffset=o,this.isScrolling=i,this.maybeNotify()}))}},this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??(typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(n,r)=>{const o=new Map,i=new Map;for(let a=r-1;a>=0;a--){const d=n[a];if(o.has(d.lane))continue;const l=i.get(d.lane);if(l==null||d.end>l.end?i.set(d.lane,d):d.end<l.end&&o.set(d.lane,!0),o.size===this.options.lanes)break}return i.size===this.options.lanes?Array.from(i.values()).sort((a,d)=>a.end===d.end?a.index-d.index:a.end-d.end)[0]:void 0},this.getMeasurementOptions=Dt(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(n,r,o,i,a)=>(this.pendingMeasuredCacheIndexes=[],{count:n,paddingStart:r,scrollMargin:o,getItemKey:i,enabled:a}),{key:!1}),this.getMeasurements=Dt(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:n,paddingStart:r,scrollMargin:o,getItemKey:i,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<n;f++){const v=i(f),m=this.options.lanes===1?s[f-1]:this.getFurthestMeasurement(s,f),p=m?m.end+this.options.gap:r+o,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],(n,r,o,i)=>this.range=n.length>0&&r>0?g0({measurements:n,outerSize:r,scrollOffset:o,lanes:i}):null,{key:process.env.NODE_ENV!=="production"&&"calculateRange",debug:()=>this.options.debug}),this.getVirtualIndexes=Dt(()=>{let n=null,r=null;const o=this.calculateRange();return o&&(n=o.startIndex,r=o.endIndex),this.maybeNotify.updateDeps([this.isScrolling,n,r]),[this.options.rangeExtractor,this.options.overscan,this.options.count,n,r]},(n,r,o,i,a)=>i===null||a===null?[]:n({startIndex:i,endIndex:a,overscan:r,count:o}),{key:process.env.NODE_ENV!=="production"&&"getVirtualIndexes",debug:()=>this.options.debug}),this.indexFromElement=n=>{const r=this.options.indexAttribute,o=n.getAttribute(r);return o?parseInt(o,10):(console.warn(`Missing attribute name '${r}={index}' on measured element.`),-1)},this._measureElement=(n,r)=>{const o=this.indexFromElement(n),i=this.measurementsCache[o];if(!i)return;const a=i.key,d=this.elementsCache.get(a);d!==n&&(d&&this.observer.unobserve(d),this.observer.observe(n),this.elementsCache.set(a,n)),n.isConnected&&this.resizeItem(o,this.options.measureElement(n,r,this))},this.resizeItem=(n,r)=>{const o=this.measurementsCache[n];if(!o)return;const i=this.itemSizeCache.get(o.key)??o.size,a=r-i;a!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(o,a,this):o.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(o.index),this.itemSizeCache=new Map(this.itemSizeCache.set(o.key,r)),this.notify(!1))},this.measureElement=n=>{if(!n){this.elementsCache.forEach((r,o)=>{r.isConnected||(this.observer.unobserve(r),this.elementsCache.delete(o))});return}this._measureElement(n,void 0)},this.getVirtualItems=Dt(()=>[this.getVirtualIndexes(),this.getMeasurements()],(n,r)=>{const o=[];for(let i=0,a=n.length;i<a;i++){const d=n[i],l=r[d];o.push(l)}return o},{key:process.env.NODE_ENV!=="production"&&"getVirtualItems",debug:()=>this.options.debug}),this.getVirtualItemForOffset=n=>{const r=this.getMeasurements();if(r.length!==0)return Kr(r[Ji(0,r.length-1,o=>Kr(r[o]).start,n)])},this.getOffsetForAlignment=(n,r,o=0)=>{const i=this.getSize(),a=this.getScrollOffset();r==="auto"&&(r=n>=a+i?"end":"start"),r==="center"?n+=(o-i)/2:r==="end"&&(n-=i);const d=this.options.horizontal?"scrollWidth":"scrollHeight",s=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[d]:this.scrollElement[d]:0)-i;return Math.max(Math.min(s,n),0)},this.getOffsetForIndex=(n,r="auto")=>{n=Math.max(0,Math.min(n,this.options.count-1));const o=this.measurementsCache[n];if(!o)return;const i=this.getSize(),a=this.getScrollOffset();if(r==="auto")if(o.end>=a+i-this.options.scrollPaddingEnd)r="end";else if(o.start<=a+this.options.scrollPaddingStart)r="start";else return[a,r];const d=r==="end"?o.end+this.options.scrollPaddingEnd:o.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(d,r,o.size),r]},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{this.scrollToIndexTimeoutId!==null&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(n,{align:r="start",behavior:o}={})=>{this.cancelScrollToIndex(),o==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(n,r),{adjustments:void 0,behavior:o})},this.scrollToIndex=(n,{align:r="auto",behavior:o}={})=>{n=Math.max(0,Math.min(n,this.options.count-1)),this.cancelScrollToIndex(),o==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");const i=this.getOffsetForIndex(n,r);if(!i)return;const[a,d]=i;this._scrollToOffset(a,{adjustments:void 0,behavior:o}),o!=="smooth"&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(n))){const[s]=Kr(this.getOffsetForIndex(n,d));l0(s,this.getScrollOffset())||this.scrollToIndex(n,{align:d,behavior:o})}else this.scrollToIndex(n,{align:d,behavior:o})}))},this.scrollBy=(n,{behavior:r}={})=>{this.cancelScrollToIndex(),r==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+n,{adjustments:void 0,behavior:r})},this.getTotalSize=()=>{var n;const r=this.getMeasurements();let o;if(r.length===0)o=this.options.paddingStart;else if(this.options.lanes===1)o=((n=r[r.length-1])==null?void 0:n.end)??0;else{const i=Array(this.options.lanes).fill(null);let a=r.length-1;for(;a>0&&i.some(d=>d===null);){const d=r[a];i[d.lane]===null&&(i[d.lane]=d.end),a--}o=Math.max(...i.filter(d=>d!==null))}return Math.max(o-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(n,{adjustments:r,behavior:o})=>{this.options.scrollToFn(n,{behavior:o,adjustments:r},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(t)}}const Ji=(e,t,n,r)=>{for(;e<=t;){const o=(e+t)/2|0,i=n(o);if(i<r)e=o+1;else if(i>r)t=o-1;else return o}return e>0?e-1:0};function g0({measurements:e,outerSize:t,scrollOffset:n,lanes:r}){const o=e.length-1,i=l=>e[l].start;if(e.length<=r)return{startIndex:0,endIndex:o};let a=Ji(0,o,i,n),d=a;if(r===1)for(;d<o&&e[d].end<n+t;)d++;else if(r>1){const l=Array(r).fill(0);for(;d<o&&l.some(f=>f<n+t);){const f=e[d];l[f.lane]=f.end,d++}const s=Array(r).fill(n+t);for(;a>0&&s.some(f=>f>=n);){const f=e[a];s[f.lane]=f.start,a--}a=Math.max(0,a-a%r),d=Math.min(o,d+(r-1-d%r))}return{startIndex:a,endIndex:d}}const Qi=typeof document<"u"?se.useLayoutEffect:se.useEffect;function b0(e){const t=se.useReducer(()=>({}),{})[1],n={...e,onChange:(o,i)=>{var a;i?ke.flushSync(t):t(),(a=e.onChange)==null||a.call(e,o,i)}},[r]=se.useState(()=>new v0(n));return r.setOptions(n),Qi(()=>r._didMount(),[]),Qi(()=>r._willUpdate()),r}function $0(e){return b0({observeElementRect:f0,observeElementOffset:p0,scrollToFn:h0,...e})}function y0(e,t){return e!==null&&t!==null&&typeof e=="object"&&typeof t=="object"&&"id"in e&&"id"in t?e.id===t.id:e===t}function ea(e=y0){return u.useCallback((t,n)=>{if(typeof e=="string"){let r=e;return t?.[r]===n?.[r]}return e(t,n)},[e])}function w0(e){if(e===null)return{width:0,height:0};let{width:t,height:n}=e.getBoundingClientRect();return{width:t,height:n}}function zr(e,t=!1){let[n,r]=u.useReducer(()=>({}),{}),o=u.useMemo(()=>w0(e),[e,n]);return Ce(()=>{if(!e)return;let i=new ResizeObserver(r);return i.observe(e),()=>{i.disconnect()}},[e]),t?{width:`${o.width}px`,height:`${o.height}px`}:o}let x0=class extends Map{constructor(t){super(),this.factory=t}get(t){let n=super.get(t);return n===void 0&&(n=this.factory(t),this.set(t,n)),n}};function ta(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(o){return r.add(o),()=>r.delete(o)},dispatch(o,...i){let a=t[o].call(n,...i);a&&(n=a,r.forEach(d=>d()))}}}function na(e){return u.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot)}let C0=new x0(()=>ta(()=>[],{ADD(e){return this.includes(e)?this:[...this,e]},REMOVE(e){let t=this.indexOf(e);if(t===-1)return this;let n=this.slice();return n.splice(t,1),n}}));function qr(e,t){let n=C0.get(t),r=u.useId(),o=na(n);if(Ce(()=>{if(e)return n.dispatch("ADD",r),()=>n.dispatch("REMOVE",r)},[n,e]),!e)return!1;let i=o.indexOf(r),a=o.length;return i===-1&&(i=a,a+=1),i===a-1}let Yr=new Map,un=new Map;function ra(e){var t;let n=(t=un.get(e))!=null?t:0;return un.set(e,n+1),n!==0?()=>oa(e):(Yr.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0,()=>oa(e))}function oa(e){var t;let n=(t=un.get(e))!=null?t:1;if(n===1?un.delete(e):un.set(e,n-1),n!==1)return;let r=Yr.get(e);r&&(r["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r["aria-hidden"]),e.inert=r.inert,Yr.delete(e))}function ia(e,{allowed:t,disallowed:n}={}){let r=qr(e,"inert-others");Ce(()=>{var o,i;if(!r)return;let a=et();for(let l of(o=n?.())!=null?o:[])l&&a.add(ra(l));let d=(i=t?.())!=null?i:[];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(ra(v));f=f.parentElement}}return a.dispose},[r,t,n])}function aa(e,t,n){let r=mt(o=>{let i=o.getBoundingClientRect();i.x===0&&i.y===0&&i.width===0&&i.height===0&&n()});u.useEffect(()=>{if(!e)return;let o=t===null?null:t instanceof HTMLElement?t:t.current;if(!o)return;let i=et();if(typeof ResizeObserver<"u"){let a=new ResizeObserver(()=>r.current(o));a.observe(o),i.add(()=>a.disconnect())}if(typeof IntersectionObserver<"u"){let a=new IntersectionObserver(()=>r.current(o));a.observe(o),i.add(()=>a.disconnect())}return()=>i.dispose()},[t,r,e])}let Kn=["[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(","),E0=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var Xr=(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))(Xr||{}),S0=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(S0||{}),O0=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(O0||{});function da(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Kn)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}function P0(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(E0)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var Zr=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Zr||{});function la(e,t=0){var n;return e===((n=Lt(e))==null?void 0:n.body)?!1:We(t,{0(){return e.matches(Kn)},1(){let r=e;for(;r!==null;){if(r.matches(Kn))return!0;r=r.parentElement}return!1}})}var T0=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(T0||{});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 N0=["textarea","input"].join(",");function I0(e){var t,n;return(n=(t=e?.matches)==null?void 0:t.call(e,N0))!=null?n:!1}function Jr(e,t=n=>n){return e.slice().sort((n,r)=>{let o=t(n),i=t(r);if(o===null||i===null)return 0;let a=o.compareDocumentPosition(i);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function _0(e,t){return A0(da(),t,{relativeTo:e})}function A0(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:o=[]}={}){let i=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,a=Array.isArray(e)?n?Jr(e):e:t&64?P0(e):da(e);o.length>0&&a.length>1&&(a=a.filter(p=>!o.some(c=>c!=null&&"current"in c?c?.current===p:c===p))),r=r??i.activeElement;let d=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,a.indexOf(r))-1;if(t&4)return Math.max(0,a.indexOf(r))+1;if(t&8)return a.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),s=t&32?{preventScroll:!0}:{},f=0,v=a.length,m;do{if(f>=v||f+v<=0)return 0;let p=l+f;if(t&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!==i.activeElement);return t&6&&I0(m)&&m.select(),2}function sa(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function k0(){return/Android/gi.test(window.navigator.userAgent)}function ua(){return sa()||k0()}function cn(e,t,n,r){let o=mt(n);u.useEffect(()=>{if(!e)return;function i(a){o.current(a)}return document.addEventListener(t,i,r),()=>document.removeEventListener(t,i,r)},[e,t,r])}function F0(e,t,n,r){let o=mt(n);u.useEffect(()=>{if(!e)return;function i(a){o.current(a)}return window.addEventListener(t,i,r),()=>window.removeEventListener(t,i,r)},[e,t,r])}const ca=30;function fa(e,t,n){let r=qr(e,"outside-click"),o=mt(n),i=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]}(t);for(let m of v)if(m!==null&&(m.contains(f)||l.composed&&l.composedPath().includes(m)))return;return!la(f,Zr.Loose)&&f.tabIndex!==-1&&l.preventDefault(),o.current(l,f)},[o,t]),a=u.useRef(null);cn(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),cn(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),cn(r,"click",l=>{ua()||a.current&&(i(l,()=>a.current),a.current=null)},!0);let d=u.useRef({x:0,y:0});cn(r,"touchstart",l=>{d.current.x=l.touches[0].clientX,d.current.y=l.touches[0].clientY},!0),cn(r,"touchend",l=>{let s={x:l.changedTouches[0].clientX,y:l.changedTouches[0].clientY};if(!(Math.abs(s.x-d.current.x)>=ca||Math.abs(s.y-d.current.y)>=ca))return i(l,()=>l.target instanceof HTMLElement?l.target:null)},!0),F0(r,"blur",l=>i(l,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function fn(...e){return u.useMemo(()=>Lt(...e),[...e])}function M0(e,t,n,r){let o=mt(n);u.useEffect(()=>{e=e??window;function i(a){o.current(a)}return e.addEventListener(t,i,r),()=>e.removeEventListener(t,i,r)},[e,t,r])}function pa(e){let t=u.useRef({value:"",selectionStart:null,selectionEnd:null});return M0(e,"blur",n=>{let r=n.target;r instanceof HTMLInputElement&&(t.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!==t.current.value)e.setSelectionRange(e.value.length,e.value.length);else{let{selectionStart:n,selectionEnd:r}=t.current;n!==null&&r!==null&&e.setSelectionRange(n,r)}t.current={value:"",selectionStart:null,selectionEnd:null}}})}function ma(e,t){return u.useMemo(()=>{var n;if(e.type)return e.type;let r=(n=e.as)!=null?n:"button";if(typeof r=="string"&&r.toLowerCase()==="button"||t?.tagName==="BUTTON"&&!t.hasAttribute("type"))return"button"},[e.type,e.as,t])}function L0(){let e;return{before({doc:t}){var n;let r=t.documentElement,o=(n=t.defaultView)!=null?n:window;e=Math.max(0,o.innerWidth-r.clientWidth)},after({doc:t,d:n}){let r=t.documentElement,o=Math.max(0,r.clientWidth-r.offsetWidth),i=Math.max(0,e-o);n.style(r,"paddingRight",`${i}px`)}}}function j0(){return sa()?{before({doc:e,d:t,meta:n}){function r(o){return n.containers.flatMap(i=>i()).some(i=>i.contains(o))}t.microTask(()=>{var o;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let d=et();d.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>d.dispose()))}let i=(o=window.scrollY)!=null?o:window.pageYOffset,a=null;t.addEventListener(e,"click",d=>{if(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),t.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;t.style(l,"overscrollBehavior","contain")}else t.style(d.target,"touchAction","none")}),t.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}),t.add(()=>{var d;let l=(d=window.scrollY)!=null?d:window.pageYOffset;i!==l&&window.scrollTo(0,i),a&&a.isConnected&&(a.scrollIntoView({block:"nearest"}),a=null)})})}}:{}}function D0(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function R0(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let Nt=ta(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:et(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:R0(n)},o=[j0(),L0(),D0()];o.forEach(({before:i})=>i?.(r)),o.forEach(({after:i})=>i?.(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});Nt.subscribe(()=>{let e=Nt.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let r=t.get(n.doc)==="hidden",o=n.count!==0;(o&&!r||!o&&r)&&Nt.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&Nt.dispatch("TEARDOWN",n)}});function B0(e,t,n=()=>({containers:[]})){let r=na(Nt),o=t?r.get(t):void 0,i=o?o.count>0:!1;return Ce(()=>{if(!(!t||!e))return Nt.dispatch("PUSH",t,n),()=>Nt.dispatch("POP",t,n)},[e,t]),i}function ha(e,t,n=()=>[document.body]){let r=qr(e,"scroll-lock");B0(r,t,o=>{var i;return{containers:[...(i=o.containers)!=null?i:[],n]}})}function va(e){return[e.screenX,e.screenY]}function ga(){let e=u.useRef([-1,-1]);return{wasMoved(t){let n=va(t);return e.current[0]===n[0]&&e.current[1]===n[1]?!1:(e.current=n,!0)},update(t){e.current=va(t)}}}function W0(e=0){let[t,n]=u.useState(e),r=u.useCallback(l=>n(l),[t]),o=u.useCallback(l=>n(s=>s|l),[t]),i=u.useCallback(l=>(t&l)===l,[t]),a=u.useCallback(l=>n(s=>s&~l),[n]),d=u.useCallback(l=>n(s=>s^l),[n]);return{flags:t,setFlag:r,addFlag:o,hasFlag:i,removeFlag:a,toggleFlag:d}}var ba,$a;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((ba=process==null?void 0:process.env)==null?void 0:ba.NODE_ENV)==="test"&&typeof(($a=Element?.prototype)==null?void 0:$a.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 V0=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(V0||{});function Qr(e){let t={};for(let n in e)e[n]===!0&&(t[`data-${n}`]="");return t}function eo(e,t,n,r){let[o,i]=u.useState(n),{hasFlag:a,addFlag:d,removeFlag:l}=W0(e&&o?3:0),s=u.useRef(!1),f=u.useRef(!1),v=yt();return Ce(()=>{var m;if(e){if(n&&i(!0),!t){n&&d(3);return}return(m=r?.start)==null||m.call(r,n),U0(t,{inFlight:s,prepare(){f.current?f.current=!1:f.current=s.current,s.current=!0,!f.current&&(n?(d(3),l(4)):(d(4),l(2)))},run(){f.current?n?(l(3),d(4)):(l(4),d(3)):n?l(1):d(1)},done(){var p;f.current&&typeof t.getAnimations=="function"&&t.getAnimations().length>0||(s.current=!1,l(7),n||i(!1),(p=r?.end)==null||p.call(r,n))}})}},[e,n,t,v]),e?[o,{closed:a(1),enter:a(2),leave:a(4),transition:a(2)||a(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function U0(e,{prepare:t,run:n,done:r,inFlight:o}){let i=et();return G0(e,{prepare:t,inFlight:o}),i.nextFrame(()=>{n(),i.requestAnimationFrame(()=>{i.add(H0(e,r))})}),i.dispose}function H0(e,t){var n,r;let o=et();if(!e)return o.dispose;let i=!1;o.add(()=>{i=!0});let a=(r=(n=e.getAnimations)==null?void 0:n.call(e).filter(d=>d instanceof CSSTransition))!=null?r:[];return a.length===0?(t(),o.dispose):(Promise.allSettled(a.map(d=>d.finished)).then(()=>{i||t()}),o.dispose)}function G0(e,{inFlight:t,prepare:n}){if(t!=null&&t.current){n();return}let r=e.style.transition;e.style.transition="none",n(),e.offsetHeight,e.style.transition=r}function K0(e,{container:t,accept:n,walk:r}){let o=u.useRef(n),i=u.useRef(r);u.useEffect(()=>{o.current=n,i.current=r},[n,r]),Ce(()=>{if(!t||!e)return;let a=Lt(t);if(!a)return;let d=o.current,l=i.current,s=Object.assign(v=>d(v),{acceptNode:d}),f=a.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,s,!1);for(;f.nextNode();)l(f.currentNode)},[t,e,o,i])}function ya(e,t){let n=u.useRef([]),r=te(e);u.useEffect(()=>{let o=[...n.current];for(let[i,a]of t.entries())if(n.current[i]!==a){let d=r(t,o);return n.current=t,d}},[r,...t])}function zn(){return typeof window<"u"}function Rt(e){return wa(e)?(e.nodeName||"").toLowerCase():"#document"}function Ze(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function st(e){var t;return(t=(wa(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function wa(e){return zn()?e instanceof Node||e instanceof Ze(e).Node:!1}function He(e){return zn()?e instanceof Element||e instanceof Ze(e).Element:!1}function ut(e){return zn()?e instanceof HTMLElement||e instanceof Ze(e).HTMLElement:!1}function xa(e){return!zn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ze(e).ShadowRoot}function pn(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=tt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function z0(e){return["table","td","th"].includes(Rt(e))}function qn(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function to(e){const t=no(),n=He(e)?tt(e):e;return["transform","translate","scale","rotate","perspective"].some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function q0(e){let t=Ct(e);for(;ut(t)&&!Bt(t);){if(to(t))return t;if(qn(t))return null;t=Ct(t)}return null}function no(){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 Ze(e).getComputedStyle(e)}function Yn(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 t=e.assignedSlot||e.parentNode||xa(e)&&e.host||st(e);return xa(t)?t.host:t}function Ca(e){const t=Ct(e);return Bt(t)?e.ownerDocument?e.ownerDocument.body:e.body:ut(t)&&pn(t)?t:Ca(t)}function mn(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Ca(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=Ze(o);if(i){const d=ro(a);return t.concat(a,a.visualViewport||[],pn(o)?o:[],d&&n?mn(d):[])}return t.concat(o,mn(o,[],n))}function ro(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Y0(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(t=>{let{brand:n,version:r}=t;return n+"/"+r}).join(" "):navigator.userAgent}const It=Math.min,Ge=Math.max,hn=Math.round,Xn=Math.floor,ct=e=>({x:e,y:e}),X0={left:"right",right:"left",bottom:"top",top:"bottom"},Z0={start:"end",end:"start"};function Ea(e,t,n){return Ge(e,It(t,n))}function Wt(e,t){return typeof e=="function"?e(t):e}function Et(e){return e.split("-")[0]}function vn(e){return e.split("-")[1]}function Sa(e){return e==="x"?"y":"x"}function Oa(e){return e==="y"?"height":"width"}function _t(e){return["top","bottom"].includes(Et(e))?"y":"x"}function Pa(e){return Sa(_t(e))}function J0(e,t,n){n===void 0&&(n=!1);const r=vn(e),o=Pa(e),i=Oa(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Zn(a)),[a,Zn(a)]}function Q0(e){const t=Zn(e);return[oo(e),t,oo(t)]}function oo(e){return e.replace(/start|end/g,t=>Z0[t])}function ec(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}function tc(e,t,n,r){const o=vn(e);let i=ec(Et(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(oo)))),i}function Zn(e){return e.replace(/left|right|bottom|top/g,t=>X0[t])}function nc(e){return{top:0,right:0,bottom:0,left:0,...e}}function rc(e){return typeof e!="number"?nc(e):{top:e,right:e,bottom:e,left:e}}function Jn(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Ta(e,t,n){let{reference:r,floating:o}=e;const i=_t(t),a=Pa(t),d=Oa(a),l=Et(t),s=i==="y",f=r.x+r.width/2-o.width/2,v=r.y+r.height/2-o.height/2,m=r[d]/2-o[d]/2;let p;switch(l){case"top":p={x:f,y:r.y-o.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-o.width,y:v};break;default:p={x:r.x,y:r.y}}switch(vn(t)){case"start":p[a]-=m*(n&&s?-1:1);break;case"end":p[a]+=m*(n&&s?-1:1);break}return p}const oc=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,d=i.filter(Boolean),l=await(a.isRTL==null?void 0:a.isRTL(t));let s=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:v}=Ta(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:$,data:C,reset:x}=await E({x:f,y:v,initialPlacement:r,placement:m,strategy:o,middlewareData:p,rects:s,platform:a,elements:{reference:e,floating:t}});f=O??f,v=$??v,p={...p,[g]:{...p[g],...C}},x&&c<=50&&(c++,typeof x=="object"&&(x.placement&&(m=x.placement),x.rects&&(s=x.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):x.rects),{x:f,y:v}=Ta(s,m,l)),h=-1)}return{x:f,y:v,placement:m,strategy:o,middlewareData:p}};async function Qn(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:a,elements:d,strategy:l}=e,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:v="floating",altBoundary:m=!1,padding:p=0}=Wt(t,e),c=rc(p),g=d[m?v==="floating"?"reference":"floating":v],E=Jn(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(g)))==null||n?g:g.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(d.floating)),boundary:s,rootBoundary:f,strategy:l})),O=v==="floating"?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,$=await(i.getOffsetParent==null?void 0:i.getOffsetParent(d.floating)),C=await(i.isElement==null?void 0:i.isElement($))?await(i.getScale==null?void 0:i.getScale($))||{x:1,y:1}:{x:1,y:1},x=Jn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:O,offsetParent:$,strategy:l}):O);return{top:(E.top-x.top+c.top)/C.y,bottom:(x.bottom-E.bottom+c.bottom)/C.y,left:(E.left-x.left+c.left)/C.x,right:(x.right-E.right+c.right)/C.x}}const ic=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:d,platform:l,elements:s}=t,{mainAxis:f=!0,crossAxis:v=!0,fallbackPlacements:m,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:c="none",flipAlignment:h=!0,...g}=Wt(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const E=Et(o),O=_t(d),$=Et(d)===d,C=await(l.isRTL==null?void 0:l.isRTL(s.floating)),x=m||($||!h?[Zn(d)]:Q0(d)),k=c!=="none";!m&&k&&x.push(...tc(d,h,c,C));const j=[d,...x],H=await Qn(t,g),A=[];let D=((r=i.flip)==null?void 0:r.overflows)||[];if(f&&A.push(H[E]),v){const W=J0(o,a,C);A.push(H[W[0]],H[W[1]])}if(D=[...D,{placement:o,overflows:A}],!A.every(W=>W<=0)){var M,Y;const W=(((M=i.flip)==null?void 0:M.index)||0)+1,ie=j[W];if(ie)return{data:{index:W,overflows:D},reset:{placement:ie}};let ae=(Y=D.filter(le=>le.overflows[0]<=0).sort((le,re)=>le.overflows[1]-re.overflows[1])[0])==null?void 0:Y.placement;if(!ae)switch(p){case"bestFit":{var G;const le=(G=D.filter(re=>{if(k){const K=_t(re.placement);return K===O||K==="y"}return!0}).map(re=>[re.placement,re.overflows.filter(K=>K>0).reduce((K,N)=>K+N,0)]).sort((re,K)=>re[1]-K[1])[0])==null?void 0:G[0];le&&(ae=le);break}case"initialPlacement":ae=d;break}if(o!==ae)return{reset:{placement:ae}}}return{}}}};async function ac(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=Et(n),d=vn(n),l=_t(n)==="y",s=["left","top"].includes(a)?-1:1,f=i&&l?-1:1,v=Wt(t,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 dc=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:d}=t,l=await ac(t,e);return a===((n=d.offset)==null?void 0:n.placement)&&(r=d.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}},lc=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:d={fn:g=>{let{x:E,y:O}=g;return{x:E,y:O}}},...l}=Wt(e,t),s={x:n,y:r},f=await Qn(t,l),v=_t(Et(o)),m=Sa(v);let p=s[m],c=s[v];if(i){const g=m==="y"?"top":"left",E=m==="y"?"bottom":"right",O=p+f[g],$=p-f[E];p=Ea(O,p,$)}if(a){const g=v==="y"?"top":"left",E=v==="y"?"bottom":"right",O=c+f[g],$=c-f[E];c=Ea(O,c,$)}const h=d.fn({...t,[m]:p,[v]:c});return{...h,data:{x:h.x-n,y:h.y-r,enabled:{[m]:i,[v]:a}}}}}},sc=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:a,elements:d}=t,{apply:l=()=>{},...s}=Wt(e,t),f=await Qn(t,s),v=Et(o),m=vn(o),p=_t(o)==="y",{width:c,height:h}=i.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,$=c-f.left-f.right,C=It(h-f[g],O),x=It(c-f[E],$),k=!t.middlewareData.shift;let j=C,H=x;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(H=$),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(j=O),k&&!m){const D=Ge(f.left,0),M=Ge(f.right,0),Y=Ge(f.top,0),G=Ge(f.bottom,0);p?H=c-2*(D!==0||M!==0?D+M:Ge(f.left,f.right)):j=h-2*(Y!==0||G!==0?Y+G:Ge(f.top,f.bottom))}await l({...t,availableWidth:H,availableHeight:j});const A=await a.getDimensions(d.floating);return c!==A.width||h!==A.height?{reset:{rects:!0}}:{}}}};function Na(e){const t=tt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=ut(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,d=hn(n)!==i||hn(r)!==a;return d&&(n=i,r=a),{width:n,height:r,$:d}}function io(e){return He(e)?e:e.contextElement}function Vt(e){const t=io(e);if(!ut(t))return ct(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Na(t);let a=(i?hn(n.width):n.width)/r,d=(i?hn(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!d||!Number.isFinite(d))&&(d=1),{x:a,y:d}}const uc=ct(0);function Ia(e){const t=Ze(e);return!no()||!t.visualViewport?uc:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function cc(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Ze(e)?!1:t}function At(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=io(e);let a=ct(1);t&&(r?He(r)&&(a=Vt(r)):a=Vt(e));const d=cc(i,n,r)?Ia(i):ct(0);let l=(o.left+d.x)/a.x,s=(o.top+d.y)/a.y,f=o.width/a.x,v=o.height/a.y;if(i){const m=Ze(i),p=r&&He(r)?Ze(r):r;let c=m,h=ro(c);for(;h&&r&&p!==c;){const g=Vt(h),E=h.getBoundingClientRect(),O=tt(h),$=E.left+(h.clientLeft+parseFloat(O.paddingLeft))*g.x,C=E.top+(h.clientTop+parseFloat(O.paddingTop))*g.y;l*=g.x,s*=g.y,f*=g.x,v*=g.y,l+=$,s+=C,c=Ze(h),h=ro(c)}}return Jn({width:f,height:v,x:l,y:s})}function ao(e,t){const n=Yn(e).scrollLeft;return t?t.left+n:At(st(e)).left+n}function _a(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:ao(e,r)),i=r.top+t.scrollTop;return{x:o,y:i}}function fc(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=st(r),d=t?qn(t.floating):!1;if(r===a||d&&i)return n;let l={scrollLeft:0,scrollTop:0},s=ct(1);const f=ct(0),v=ut(r);if((v||!v&&!i)&&((Rt(r)!=="body"||pn(a))&&(l=Yn(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&&!i?_a(a,l,!0):ct(0);return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-l.scrollLeft*s.x+f.x+m.x,y:n.y*s.y-l.scrollTop*s.y+f.y+m.y}}function pc(e){return Array.from(e.getClientRects())}function mc(e){const t=st(e),n=Yn(e),r=e.ownerDocument.body,o=Ge(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Ge(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+ao(e);const d=-n.scrollTop;return tt(r).direction==="rtl"&&(a+=Ge(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:d}}function hc(e,t){const n=Ze(e),r=st(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,d=0,l=0;if(o){i=o.width,a=o.height;const s=no();(!s||s&&t==="fixed")&&(d=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:d,y:l}}function vc(e,t){const n=At(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=ut(e)?Vt(e):ct(1),a=e.clientWidth*i.x,d=e.clientHeight*i.y,l=o*i.x,s=r*i.y;return{width:a,height:d,x:l,y:s}}function Aa(e,t,n){let r;if(t==="viewport")r=hc(e,n);else if(t==="document")r=mc(st(e));else if(He(t))r=vc(t,n);else{const o=Ia(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Jn(r)}function ka(e,t){const n=Ct(e);return n===t||!He(n)||Bt(n)?!1:tt(n).position==="fixed"||ka(n,t)}function gc(e,t){const n=t.get(e);if(n)return n;let r=mn(e,[],!1).filter(d=>He(d)&&Rt(d)!=="body"),o=null;const i=tt(e).position==="fixed";let a=i?Ct(e):e;for(;He(a)&&!Bt(a);){const d=tt(a),l=to(a);!l&&d.position==="fixed"&&(o=null),(i?!l&&!o:!l&&d.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||pn(a)&&!l&&ka(e,a))?r=r.filter(f=>f!==a):o=d,a=Ct(a)}return t.set(e,r),r}function bc(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?qn(t)?[]:gc(t,this._c):[].concat(n),r],d=a[0],l=a.reduce((s,f)=>{const v=Aa(t,f,o);return s.top=Ge(v.top,s.top),s.right=It(v.right,s.right),s.bottom=It(v.bottom,s.bottom),s.left=Ge(v.left,s.left),s},Aa(t,d,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function $c(e){const{width:t,height:n}=Na(e);return{width:t,height:n}}function yc(e,t,n){const r=ut(t),o=st(t),i=n==="fixed",a=At(e,!0,i,t);let d={scrollLeft:0,scrollTop:0};const l=ct(0);if(r||!r&&!i)if((Rt(t)!=="body"||pn(o))&&(d=Yn(t)),r){const m=At(t,!0,i,t);l.x=m.x+t.clientLeft,l.y=m.y+t.clientTop}else o&&(l.x=ao(o));const s=o&&!r&&!i?_a(o,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 lo(e){return tt(e).position==="static"}function Fa(e,t){if(!ut(e)||tt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return st(e)===n&&(n=n.ownerDocument.body),n}function Ma(e,t){const n=Ze(e);if(qn(e))return n;if(!ut(e)){let o=Ct(e);for(;o&&!Bt(o);){if(He(o)&&!lo(o))return o;o=Ct(o)}return n}let r=Fa(e,t);for(;r&&z0(r)&&lo(r);)r=Fa(r,t);return r&&Bt(r)&&lo(r)&&!to(r)?n:r||q0(e)||n}const wc=async function(e){const t=this.getOffsetParent||Ma,n=this.getDimensions,r=await n(e.floating);return{reference:yc(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function xc(e){return tt(e).direction==="rtl"}const Cc={convertOffsetParentRelativeRectToViewportRelativeRect:fc,getDocumentElement:st,getClippingRect:bc,getOffsetParent:Ma,getElementRects:wc,getClientRects:pc,getDimensions:$c,getScale:Vt,isElement:He,isRTL:xc};function La(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Ec(e,t){let n=null,r;const o=st(e);function i(){var d;clearTimeout(r),(d=n)==null||d.disconnect(),n=null}function a(d,l){d===void 0&&(d=!1),l===void 0&&(l=1),i();const s=e.getBoundingClientRect(),{left:f,top:v,width:m,height:p}=s;if(d||t(),!m||!p)return;const c=Xn(v),h=Xn(o.clientWidth-(f+m)),g=Xn(o.clientHeight-(v+p)),E=Xn(f),$={rootMargin:-c+"px "+-h+"px "+-g+"px "+-E+"px",threshold:Ge(0,It(1,l))||1};let C=!0;function x(k){const j=k[0].intersectionRatio;if(j!==l){if(!C)return a();j?a(!1,j):r=setTimeout(()=>{a(!1,1e-7)},1e3)}j===1&&!La(s,e.getBoundingClientRect())&&a(),C=!1}try{n=new IntersectionObserver(x,{...$,root:o.ownerDocument})}catch{n=new IntersectionObserver(x,$)}n.observe(e)}return a(!0),i}function Sc(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:d=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,s=io(e),f=o||i?[...s?mn(s):[],...mn(t)]:[];f.forEach(E=>{o&&E.addEventListener("scroll",n,{passive:!0}),i&&E.addEventListener("resize",n)});const v=s&&d?Ec(s,n):null;let m=-1,p=null;a&&(p=new ResizeObserver(E=>{let[O]=E;O&&O.target===s&&p&&(p.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var $;($=p)==null||$.observe(t)})),n()}),s&&!l&&p.observe(s),p.observe(t));let c,h=l?At(e):null;l&&g();function g(){const E=At(e);h&&!La(h,E)&&n(),h=E,c=requestAnimationFrame(g)}return n(),()=>{var E;f.forEach(O=>{o&&O.removeEventListener("scroll",n),i&&O.removeEventListener("resize",n)}),v?.(),(E=p)==null||E.disconnect(),p=null,l&&cancelAnimationFrame(c)}}const so=Qn,Oc=dc,Pc=lc,Tc=ic,Nc=sc,Ic=(e,t,n)=>{const r=new Map,o={platform:Cc,...n},i={...o.platform,_c:r};return oc(e,t,{...o,platform:i})};var er=typeof document<"u"?u.useLayoutEffect:u.useEffect;function tr(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!tr(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!tr(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function ja(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Da(e,t){const n=ja(e);return Math.round(t*n)/n}function uo(e){const t=se.useRef(e);return er(()=>{t.current=e}),t}function _c(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:d=!0,whileElementsMounted:l,open:s}=e,[f,v]=se.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,p]=se.useState(r);tr(m,r)||p(r);const[c,h]=se.useState(null),[g,E]=se.useState(null),O=se.useCallback(re=>{re!==k.current&&(k.current=re,h(re))},[]),$=se.useCallback(re=>{re!==j.current&&(j.current=re,E(re))},[]),C=i||c,x=a||g,k=se.useRef(null),j=se.useRef(null),H=se.useRef(f),A=l!=null,D=uo(l),M=uo(o),Y=uo(s),G=se.useCallback(()=>{if(!k.current||!j.current)return;const re={placement:t,strategy:n,middleware:m};M.current&&(re.platform=M.current),Ic(k.current,j.current,re).then(K=>{const N={...K,isPositioned:Y.current!==!1};W.current&&!tr(H.current,N)&&(H.current=N,Ln.flushSync(()=>{v(N)}))})},[m,t,n,M,Y]);er(()=>{s===!1&&H.current.isPositioned&&(H.current.isPositioned=!1,v(re=>({...re,isPositioned:!1})))},[s]);const W=se.useRef(!1);er(()=>(W.current=!0,()=>{W.current=!1}),[]),er(()=>{if(C&&(k.current=C),x&&(j.current=x),C&&x){if(D.current)return D.current(C,x,G);G()}},[C,x,G,D,A]);const ie=se.useMemo(()=>({reference:k,floating:j,setReference:O,setFloating:$}),[O,$]),ae=se.useMemo(()=>({reference:C,floating:x}),[C,x]),le=se.useMemo(()=>{const re={position:n,left:0,top:0};if(!ae.floating)return re;const K=Da(ae.floating,f.x),N=Da(ae.floating,f.y);return d?{...re,transform:"translate("+K+"px, "+N+"px)",...ja(ae.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:K,top:N}},[n,d,ae.floating,f.x,f.y]);return se.useMemo(()=>({...f,update:G,refs:ie,elements:ae,floatingStyles:le}),[f,G,ie,ae,le])}const Ra=(e,t)=>({...Oc(e),options:[e,t]}),Ac=(e,t)=>({...Pc(e),options:[e,t]}),kc=(e,t)=>({...Tc(e),options:[e,t]}),Fc=(e,t)=>({...Nc(e),options:[e,t]}),Ba={...se},Mc=Ba.useInsertionEffect||(e=>e());function Wa(e){const t=se.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return Mc(()=>{t.current=e}),se.useCallback(function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t.current==null?void 0:t.current(...r)},[])}var co=typeof document<"u"?u.useLayoutEffect:u.useEffect;let Va=!1,Lc=0;const Ua=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+Lc++;function jc(){const[e,t]=se.useState(()=>Va?Ua():void 0);return co(()=>{e==null&&t(Ua())},[]),se.useEffect(()=>{Va=!0},[]),e}const Dc=Ba.useId||jc;let gn;process.env.NODE_ENV!=="production"&&(gn=new Set);function Rc(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o="Floating UI: "+n.join(" ");if(!((e=gn)!=null&&e.has(o))){var i;(i=gn)==null||i.add(o),console.warn(o)}}function Bc(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o="Floating UI: "+n.join(" ");if(!((e=gn)!=null&&e.has(o))){var i;(i=gn)==null||i.add(o),console.error(o)}}function Wc(){const e=new Map;return{emit(t,n){var r;(r=e.get(t))==null||r.forEach(o=>o(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,((r=e.get(t))==null?void 0:r.filter(o=>o!==n))||[])}}}const Vc=se.createContext(null),Uc=se.createContext(null),Hc=()=>{var e;return((e=se.useContext(Vc))==null?void 0:e.id)||null},Gc=()=>se.useContext(Uc),Kc="data-floating-ui-focusable";function zc(e){const{open:t=!1,onOpenChange:n,elements:r}=e,o=Dc(),i=se.useRef({}),[a]=se.useState(()=>Wc()),d=Hc()!=null;if(process.env.NODE_ENV!=="production"){const p=r.reference;p&&!He(p)&&Bc("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]=se.useState(r.reference),f=Wa((p,c,h)=>{i.current.openEvent=p?c:void 0,a.emit("openchange",{open:p,event:c,reason:h,nested:d}),n?.(p,c,h)}),v=se.useMemo(()=>({setPositionReference:s}),[]),m=se.useMemo(()=>({reference:l||r.reference||null,floating:r.floating||null,domReference:r.reference}),[l,r.reference,r.floating]);return se.useMemo(()=>({dataRef:i,open:t,onOpenChange:f,elements:m,events:a,floatingId:o,refs:v}),[t,f,m,a,o,v])}function qc(e){e===void 0&&(e={});const{nodeId:t}=e,n=zc({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,o=r.elements,[i,a]=se.useState(null),[d,l]=se.useState(null),f=o?.domReference||i,v=se.useRef(null),m=Gc();co(()=>{f&&(v.current=f)},[f]);const p=_c({...e,elements:{...o,...d&&{reference:d}}}),c=se.useCallback($=>{const C=He($)?{getBoundingClientRect:()=>$.getBoundingClientRect(),contextElement:$}:$;l(C),p.refs.setReference(C)},[p.refs]),h=se.useCallback($=>{(He($)||$===null)&&(v.current=$,a($)),(He(p.refs.reference.current)||p.refs.reference.current===null||$!==null&&!He($))&&p.refs.setReference($)},[p.refs]),g=se.useMemo(()=>({...p.refs,setReference:h,setPositionReference:c,domReference:v}),[p.refs,h,c]),E=se.useMemo(()=>({...p.elements,domReference:f}),[p.elements,f]),O=se.useMemo(()=>({...p,...r,refs:g,elements:E,nodeId:t}),[p,g,E,t,r]);return co(()=>{r.dataRef.current.floatingContext=O;const $=m?.nodesRef.current.find(C=>C.id===t);$&&($.context=O)}),se.useMemo(()=>({...p,context:O,refs:g,elements:E}),[p,g,E,O])}const Ha="active",Ga="selected";function fo(e,t,n){const r=new Map,o=n==="item";let i=e;if(o&&e){const{[Ha]:a,[Ga]:d,...l}=e;i=l}return{...n==="floating"&&{tabIndex:-1,[Kc]:""},...i,...t.map(a=>{const d=a?a[n]:null;return typeof d=="function"?e?d(e):null:d}).concat(e).reduce((a,d)=>(d&&Object.entries(d).forEach(l=>{let[s,f]=l;if(!(o&&[Ha,Ga].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 Yc(e){e===void 0&&(e=[]);const t=e.map(d=>d?.reference),n=e.map(d=>d?.floating),r=e.map(d=>d?.item),o=se.useCallback(d=>fo(d,e,"reference"),t),i=se.useCallback(d=>fo(d,e,"floating"),n),a=se.useCallback(d=>fo(d,e,"item"),r);return se.useMemo(()=>({getReferenceProps:o,getFloatingProps:i,getItemProps:a}),[o,i,a])}function Ka(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}const Xc=e=>({name:"inner",options:e,async fn(t){const{listRef:n,overflowRef:r,onFallbackChange:o,offset:i=0,index:a=0,minItemsVisible:d=4,referenceOverflowThreshold:l=0,scrollRef:s,...f}=Wt(e,t),{rects:v,elements:{floating:m}}=t,p=n.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"&&(t.placement.startsWith("bottom")||Rc('`placement` side must be "bottom" when using the `inner`',"middleware.")),!p)return{};const $={...t,...await Ra(-p.offsetTop-m.clientTop-v.reference.height/2-p.offsetHeight/2-i).fn(t)},C=await so(Ka($,c.scrollHeight+h+m.clientTop),f),x=await so($,{...f,elementContext:"reference"}),k=Ge(0,C.top),j=$.y+k,D=(c.scrollHeight>c.clientHeight?M=>M:hn)(Ge(0,c.scrollHeight+(g&&O||E?h*2:0)-k-Ge(0,C.bottom)));if(c.style.maxHeight=D+"px",c.scrollTop=k,o){const M=c.offsetHeight<p.offsetHeight*It(d,n.current.length)-1||x.top>=-l||x.bottom>=-l;Ln.flushSync(()=>o(M))}return r&&(r.current=await so(Ka({...$,y:j},c.offsetHeight+h+m.clientTop),f)),{y:j}}});function Zc(e,t){const{open:n,elements:r}=e,{enabled:o=!0,overflowRef:i,scrollRef:a,onChange:d}=t,l=Wa(d),s=se.useRef(!1),f=se.useRef(null),v=se.useRef(null);se.useEffect(()=>{if(!o)return;function p(h){if(h.ctrlKey||!c||i.current==null)return;const g=h.deltaY,E=i.current.top>=-.5,O=i.current.bottom>=-.5,$=c.scrollHeight-c.clientHeight,C=g<0?-1:1,x=g<0?"max":"min";c.scrollHeight<=c.clientHeight||(!E&&g>0||!O&&g<0?(h.preventDefault(),Ln.flushSync(()=>{l(k=>k+Math[x](g,$*C))})):/firefox/i.test(Y0())&&(c.scrollTop+=g))}const c=a?.current||r.floating;if(n&&c)return c.addEventListener("wheel",p),requestAnimationFrame(()=>{f.current=c.scrollTop,i.current!=null&&(v.current={...i.current})}),()=>{f.current=null,v.current=null,c.removeEventListener("wheel",p)}},[o,n,r.floating,i,a,l]);const m=se.useMemo(()=>({onKeyDown(){s.current=!0},onWheel(){s.current=!1},onPointerMove(){s.current=!1},onScroll(){const p=a?.current||r.floating;if(!(!i.current||!p||!s.current)){if(f.current!==null){const c=p.scrollTop-f.current;(i.current.bottom<-.5&&c<-1||i.current.top<-.5&&c>1)&&Ln.flushSync(()=>l(h=>h+c))}requestAnimationFrame(()=>{f.current=p.scrollTop})}}}),[r.floating,l,i,a]);return se.useMemo(()=>o?{floating:m}:{},[o,m])}let Ut=u.createContext({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});Ut.displayName="FloatingContext";let po=u.createContext(null);po.displayName="PlacementContext";function za(e){return u.useMemo(()=>e?typeof e=="string"?{to:e}:e:null,[e])}function qa(){return u.useContext(Ut).setReference}function Jc(){return u.useContext(Ut).getReferenceProps}function Ya(){let{getFloatingProps:e,slot:t}=u.useContext(Ut);return u.useCallback((...n)=>Object.assign({},e(...n),{"data-anchor":t.anchor}),[e,t])}function Xa(e=null){e===!1&&(e=null),typeof e=="string"&&(e={to:e});let t=u.useContext(po),n=u.useMemo(()=>e,[JSON.stringify(e,(o,i)=>{var a;return(a=i?.outerHTML)!=null?a:i})]);Ce(()=>{t?.(n??null)},[t,n]);let r=u.useContext(Ut);return u.useMemo(()=>[r.setFloating,e?r.styles:{}],[r.setFloating,e,r.styles])}let Za=4;function Ja({children:e,enabled:t=!0}){let[n,r]=u.useState(null),[o,i]=u.useState(0),a=u.useRef(null),[d,l]=u.useState(null);Qc(d);let s=t&&n!==null&&d!==null,{to:f="bottom",gap:v=0,offset:m=0,padding:p=0,inner:c}=e1(n,d),[h,g="center"]=f.split(" ");Ce(()=>{s&&i(0)},[s]);let{refs:E,floatingStyles:O,context:$}=qc({open:s,placement:h==="selection"?g==="center"?"bottom":`bottom-${g}`:g==="center"?`${h}`:`${h}-${g}`,strategy:"absolute",transform:!1,middleware:[Ra({mainAxis:h==="selection"?0:v,crossAxis:m}),Ac({padding:p}),h!=="selection"&&kc({padding:p}),h==="selection"&&c?Xc({...c,padding:p,overflowRef:a,offset:o,minItemsVisible:Za,referenceOverflowThreshold:p,onFallbackChange(M){var Y,G;if(!M)return;let W=$.elements.floating;if(!W)return;let ie=parseFloat(getComputedStyle(W).scrollPaddingBottom)||0,ae=Math.min(Za,W.childElementCount),le=0,re=0;for(let K of(G=(Y=$.elements.floating)==null?void 0:Y.childNodes)!=null?G:[])if(K instanceof HTMLElement){let N=K.offsetTop,R=N+K.clientHeight+ie,X=W.scrollTop,T=X+W.clientHeight;if(N>=X&&R<=T)ae--;else{re=Math.max(0,Math.min(R,T)-Math.max(N,X)),le=K.clientHeight;break}}ae>=1&&i(K=>{let N=le*ae-re+ie;return K>=N?K:N})}}):null,Fc({padding:p,apply({availableWidth:M,availableHeight:Y,elements:G}){Object.assign(G.floating.style,{overflow:"auto",maxWidth:`${M}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${Y}px)`})}})].filter(Boolean),whileElementsMounted:Sc}),[C=h,x=g]=$.placement.split("-");h==="selection"&&(C="selection");let k=u.useMemo(()=>({anchor:[C,x].filter(Boolean).join(" ")}),[C,x]),j=Zc($,{overflowRef:a,onChange:i}),{getReferenceProps:H,getFloatingProps:A}=Yc([j]),D=te(M=>{l(M),E.setFloating(M)});return se.createElement(po.Provider,{value:r},se.createElement(Ut.Provider,{value:{setFloating:D,setReference:E.setReference,styles:O,getReferenceProps:H,getFloatingProps:A,slot:k}},e))}function Qc(e){Ce(()=>{if(!e)return;let t=new MutationObserver(()=>{let n=window.getComputedStyle(e).maxHeight,r=parseFloat(n);if(isNaN(r))return;let o=parseInt(n);isNaN(o)||r!==o&&(e.style.maxHeight=`${Math.ceil(r)}px`)});return t.observe(e,{attributes:!0,attributeFilter:["style"]}),()=>{t.disconnect()}},[e])}function e1(e,t){var n,r,o;let i=mo((n=e?.gap)!=null?n:"var(--anchor-gap, 0)",t),a=mo((r=e?.offset)!=null?r:"var(--anchor-offset, 0)",t),d=mo((o=e?.padding)!=null?o:"var(--anchor-padding, 0)",t);return{...e,gap:i,offset:a,padding:d}}function mo(e,t,n=void 0){let r=yt(),o=te((l,s)=>{if(l==null)return[n,null];if(typeof l=="number")return[l,null];if(typeof l=="string"){if(!s)return[n,null];let f=ed(l,s);return[f,v=>{let m=Qa(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 $=window.getComputedStyle(s).getPropertyValue(O);if(p[E]!==$){p[E]=$,h=!0;break}}if(!h)return;let g=ed(l,s);f!==g&&(v(g),f=g)})}return r.dispose}]}return[n,null]}),i=u.useMemo(()=>o(e,t)[0],[e,t]),[a=i,d]=u.useState();return Ce(()=>{let[l,s]=o(e,t);if(d(l),!!s)return s(d)},[e,t]),a}function Qa(e){let t=/var\((.*)\)/.exec(e);if(t){let n=t[1].indexOf(",");if(n===-1)return[t[1]];let r=t[1].slice(0,n).trim(),o=t[1].slice(n+1).trim();return o?[r,...Qa(o)]:[r]}return[]}function ed(e,t){let n=document.createElement("div");t.appendChild(n),n.style.setProperty("margin-top","0px","important"),n.style.setProperty("margin-top",e,"important");let r=parseFloat(window.getComputedStyle(n).marginTop)||0;return t.removeChild(n),r}function t1({children:e,freeze:t}){let n=nr(t,e);return u.createElement(u.Fragment,null,n)}function nr(e,t){let[n,r]=u.useState(t);return!e&&n!==t&&r(t),e?n:t}let ho=u.createContext(null);ho.displayName="OpenClosedContext";var ze=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(ze||{});function rr(){return u.useContext(ho)}function vo({value:e,children:t}){return u.createElement(ho.Provider,{value:e},t)}function n1(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let kt=[];n1(()=>{function e(t){if(!(t.target instanceof HTMLElement)||t.target===document.body||kt[0]===t.target)return;let n=t.target;n=n.closest(Kn),kt.unshift(n??t.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 r1(e){throw new Error("Unexpected object: "+e)}var $e=(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))($e||{});function bn(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),o=r??-1;switch(e.focus){case 0:{for(let i=0;i<n.length;++i)if(!t.resolveDisabled(n[i],i,n))return i;return r}case 1:{o===-1&&(o=n.length);for(let i=o-1;i>=0;--i)if(!t.resolveDisabled(n[i],i,n))return i;return r}case 2:{for(let i=o+1;i<n.length;++i)if(!t.resolveDisabled(n[i],i,n))return i;return r}case 3:{for(let i=n.length-1;i>=0;--i)if(!t.resolveDisabled(n[i],i,n))return i;return r}case 4:{for(let i=0;i<n.length;++i)if(t.resolveId(n[i],i,n)===e.id)return i;return r}case 5:return null;default:r1(e)}}var go=(e=>(e[e.Left=0]="Left",e[e.Right=2]="Right",e))(go||{});function o1(e){let t=te(e),n=u.useRef(!1);u.useEffect(()=>(n.current=!1,()=>{n.current=!0,ki(()=>{n.current&&t()})}),[t])}function i1(){let e=typeof document>"u";return"useSyncExternalStore"in se?(t=>t.useSyncExternalStore)(se)(()=>()=>{},()=>!1,()=>!e):!1}function bo(){let e=i1(),[t,n]=se.useState(Tt.isHandoffComplete);return t&&Tt.isHandoffComplete===!1&&n(!1),se.useEffect(()=>{t!==!0&&n(!0)},[t]),se.useEffect(()=>Tt.handoff(),[]),e?!1:t}let a1=u.createContext(!1);function d1(){return u.useContext(a1)}function l1(e){let t=d1(),n=u.useContext(nd),r=fn(e),[o,i]=u.useState(()=>{var a;if(!t&&n!==null)return(a=n.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(()=>{o!==null&&(r!=null&&r.body.contains(o)||r==null||r.body.appendChild(o))},[o,r]),u.useEffect(()=>{t||n!==null&&i(n.current)},[n,i,t]),o}let td=u.Fragment,s1=je(function(e,t){let n=e,r=u.useRef(null),o=Ue(t0(v=>{r.current=v}),t),i=fn(r),a=l1(r),[d]=u.useState(()=>{var v;return Tt.isServer?null:(v=i?.createElement("div"))!=null?v:null}),l=u.useContext(p1),s=bo();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]),o1(()=>{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:ke.createPortal(f({ourProps:{ref:o},theirProps:n,slot:{},defaultTag:td,name:"Portal"}),d):null});function u1(e,t){let n=Ue(t),{enabled:r=!0,...o}=e,i=De();return r?u.createElement(s1,{...o,ref:n}):i({ourProps:{ref:n},theirProps:o,slot:{},defaultTag:td,name:"Portal"})}let c1=u.Fragment,nd=u.createContext(null);function f1(e,t){let{target:n,...r}=e,o={ref:Ue(t)},i=De();return u.createElement(nd.Provider,{value:n},i({ourProps:o,theirProps:r,defaultTag:c1,name:"Popover.Group"}))}let p1=u.createContext(null),m1=je(u1),h1=je(f1),rd=Object.assign(m1,{Group:h1});var v1=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(v1||{}),g1=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(g1||{}),b1=(e=>(e[e.Pointer=0]="Pointer",e[e.Focus=1]="Focus",e[e.Other=2]="Other",e))(b1||{}),$1=(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))($1||{});function $o(e,t=n=>n){let n=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,r=t(e.options.slice()),o=r.length>0&&r[0].dataRef.current.order!==null?r.sort((a,d)=>a.dataRef.current.order-d.dataRef.current.order):Jr(r,a=>a.dataRef.current.domRef.current),i=n?o.indexOf(n):null;return i===-1&&(i=null),{options:o,activeOptionIndex:i}}let y1={1(e){var t;return(t=e.dataRef.current)!=null&&t.disabled||e.comboboxState===1?e:{...e,activeOptionIndex:null,comboboxState:1,isTyping:!1,activationTrigger:2,__demoMode:!1}},0(e){var t,n;if((t=e.dataRef.current)!=null&&t.disabled||e.comboboxState===0)return e;if((n=e.dataRef.current)!=null&&n.value){let r=e.dataRef.current.calculateIndex(e.dataRef.current.value);if(r!==-1)return{...e,activeOptionIndex:r,comboboxState:0,__demoMode:!1}}return{...e,comboboxState:0,__demoMode:!1}},3(e,t){return e.isTyping===t.isTyping?e:{...e,isTyping:t.isTyping}},2(e,t){var n,r,o,i;if((n=e.dataRef.current)!=null&&n.disabled||e.optionsElement&&!((r=e.dataRef.current)!=null&&r.optionsPropsRef.current.static)&&e.comboboxState===1)return e;if(e.virtual){let{options:s,disabled:f}=e.virtual,v=t.focus===$e.Specific?t.idx:bn(t,{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=(o=t.trigger)!=null?o:2;return e.activeOptionIndex===v&&e.activationTrigger===m?e:{...e,activeOptionIndex:v,activationTrigger:m,isTyping:!1,__demoMode:!1}}let a=$o(e);if(a.activeOptionIndex===null){let s=a.options.findIndex(f=>!f.dataRef.current.disabled);s!==-1&&(a.activeOptionIndex=s)}let d=t.focus===$e.Specific?t.idx:bn(t,{resolveItems:()=>a.options,resolveActiveIndex:()=>a.activeOptionIndex,resolveId:s=>s.id,resolveDisabled:s=>s.dataRef.current.disabled}),l=(i=t.trigger)!=null?i:2;return e.activeOptionIndex===d&&e.activationTrigger===l?e:{...e,...a,isTyping:!1,activeOptionIndex:d,activationTrigger:l,__demoMode:!1}},4:(e,t)=>{var n,r,o;if((n=e.dataRef.current)!=null&&n.virtual)return{...e,options:[...e.options,t.payload]};let i=t.payload,a=$o(e,l=>(l.push(i),l));e.activeOptionIndex===null&&(r=e.dataRef.current)!=null&&r.isSelected(t.payload.dataRef.current.value)&&(a.activeOptionIndex=a.options.indexOf(i));let d={...e,...a,activationTrigger:2};return(o=e.dataRef.current)!=null&&o.__demoMode&&e.dataRef.current.value===void 0&&(d.activeOptionIndex=0),d},5:(e,t)=>{var n;if((n=e.dataRef.current)!=null&&n.virtual)return{...e,options:e.options.filter(o=>o.id!==t.id)};let r=$o(e,o=>{let i=o.findIndex(a=>a.id===t.id);return i!==-1&&o.splice(i,1),o});return{...e,...r,activationTrigger:2}},6:(e,t)=>e.activationTrigger===t.trigger?e:{...e,activationTrigger:t.trigger},7:(e,t)=>{var n,r;if(e.virtual===null)return{...e,virtual:{options:t.options,disabled:(n=t.disabled)!=null?n:()=>!1}};if(e.virtual.options===t.options&&e.virtual.disabled===t.disabled)return e;let o=e.activeOptionIndex;if(e.activeOptionIndex!==null){let i=t.options.indexOf(e.virtual.options[e.activeOptionIndex]);i!==-1?o=i:o=null}return{...e,activeOptionIndex:o,virtual:{options:t.options,disabled:(r=t.disabled)!=null?r:()=>!1}}},8:(e,t)=>e.inputElement===t.element?e:{...e,inputElement:t.element},9:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},10:(e,t)=>e.optionsElement===t.element?e:{...e,optionsElement:t.element}},yo=u.createContext(null);yo.displayName="ComboboxActionsContext";function $n(e){let t=u.useContext(yo);if(t===null){let n=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,$n),n}return t}let od=u.createContext(null);function w1(e){let t=Ht("VirtualProvider"),{options:n}=t.virtual,[r,o]=u.useMemo(()=>{let s=t.optionsElement;if(!s)return[0,0];let f=window.getComputedStyle(s);return[parseFloat(f.paddingBlockStart||f.paddingTop),parseFloat(f.paddingBlockEnd||f.paddingBottom)]},[t.optionsElement]),i=$0({enabled:n.length!==0,scrollPaddingStart:r,scrollPaddingEnd:o,count:n.length,estimateSize(){return 40},getScrollElement(){return t.optionsElement},overscan:12}),[a,d]=u.useState(0);Ce(()=>{d(s=>s+1)},[n]);let l=i.getVirtualItems();return l.length===0?null:u.createElement(od.Provider,{value:i},u.createElement("div",{style:{position:"relative",width:"100%",height:`${i.getTotalSize()}px`},ref:s=>{s&&t.activationTrigger!==0&&t.activeOptionIndex!==null&&n.length>t.activeOptionIndex&&i.scrollToIndex(t.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:n[s.index]}),{key:`${a}-${s.key}`,"data-index":s.index,"aria-setsize":n.length,"aria-posinset":s.index+1,style:{position:"absolute",top:0,left:0,transform:`translateY(${s.start}px)`,overflowAnchor:"none"}}))})))}let yn=u.createContext(null);yn.displayName="ComboboxDataContext";function Ht(e){let t=u.useContext(yn);if(t===null){let n=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Ht),n}return t}function x1(e,t){return We(t.type,y1,e,t)}let C1=u.Fragment;function E1(e,t){var n,r;let o=Un(),{value:i,defaultValue:a,onChange:d,form:l,name:s,by:f,disabled:v=o||!1,onClose:m,__demoMode:p=!1,multiple:c=!1,immediate:h=!1,virtual:g=null,nullable:E,...O}=e,$=ji(a),[C=c?[]:void 0,x]=Li(i,d,$),[k,j]=u.useReducer(x1,{dataRef:u.createRef(),comboboxState:p?0:1,isTyping:!1,options:[],virtual:g?{options:g.options,disabled:(n=g.disabled)!=null?n:()=>!1}:null,activeOptionIndex:null,activationTrigger:2,inputElement:null,buttonElement:null,optionsElement:null,__demoMode:p}),H=u.useRef(!1),A=u.useRef({static:!1,hold:!1}),D=ea(f),M=te(z=>g?f===null?g.options.indexOf(z):g.options.findIndex(_=>D(_,z)):k.options.findIndex(_=>D(_.dataRef.current.value,z))),Y=u.useCallback(z=>We(W.mode,{1:()=>C.some(_=>D(_,z)),0:()=>D(C,z)}),[C]),G=te(z=>k.activeOptionIndex===M(z)),W=u.useMemo(()=>({...k,immediate:h,optionsPropsRef:A,value:C,defaultValue:$,disabled:v,mode:c?1:0,virtual:g?k.virtual:null,get activeOptionIndex(){if(H.current&&k.activeOptionIndex===null&&(g?g.options.length>0:k.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 z=k.options.findIndex(_=>!_.dataRef.current.disabled);if(z!==-1)return z}return k.activeOptionIndex},calculateIndex:M,compare:D,isSelected:Y,isActive:G}),[C,$,v,c,p,k,g]);Ce(()=>{var z;g&&j({type:7,options:g.options,disabled:(z=g.disabled)!=null?z:null})},[g,g?.options,g?.disabled]),Ce(()=>{k.dataRef.current=W},[W]);let ie=W.comboboxState===0;fa(ie,[W.buttonElement,W.inputElement,W.optionsElement],()=>ne.closeCombobox());let ae=u.useMemo(()=>{var z,_,fe;return{open:W.comboboxState===0,disabled:v,activeIndex:W.activeOptionIndex,activeOption:W.activeOptionIndex===null?null:W.virtual?W.virtual.options[(z=W.activeOptionIndex)!=null?z:0]:(fe=(_=W.options[W.activeOptionIndex])==null?void 0:_.dataRef.current.value)!=null?fe:null,value:C}},[W,v,C]),le=te(()=>{if(W.activeOptionIndex!==null){if(ne.setIsTyping(!1),W.virtual)T(W.virtual.options[W.activeOptionIndex]);else{let{dataRef:z}=W.options[W.activeOptionIndex];T(z.current.value)}ne.goToOption($e.Specific,W.activeOptionIndex)}}),re=te(()=>{j({type:0}),H.current=!0}),K=te(()=>{j({type:1}),H.current=!1,m?.()}),N=te(z=>{j({type:3,isTyping:z})}),R=te((z,_,fe)=>(H.current=!1,z===$e.Specific?j({type:2,focus:$e.Specific,idx:_,trigger:fe}):j({type:2,focus:z,trigger:fe}))),X=te((z,_)=>(j({type:4,payload:{id:z,dataRef:_}}),()=>{W.isActive(_.current.value)&&(H.current=!0),j({type:5,id:z})})),T=te(z=>We(W.mode,{0(){return x?.(z)},1(){let _=W.value.slice(),fe=_.findIndex(ge=>D(ge,z));return fe===-1?_.push(z):_.splice(fe,1),x?.(_)}})),U=te(z=>{j({type:6,trigger:z})}),L=te(z=>{j({type:8,element:z})}),Q=te(z=>{j({type:9,element:z})}),q=te(z=>{j({type:10,element:z})}),ne=u.useMemo(()=>({onChange:T,registerOption:X,goToOption:R,setIsTyping:N,closeCombobox:K,openCombobox:re,setActivationTrigger:U,selectActiveOption:le,setInputElement:L,setButtonElement:Q,setOptionsElement:q}),[]),[ce,he]=qi(),Ee=t===null?{}:{ref:t},S=u.useCallback(()=>{if($!==void 0)return x?.($)},[x,$]),Z=De();return u.createElement(he,{value:ce,props:{htmlFor:(r=W.inputElement)==null?void 0:r.id},slot:{open:W.comboboxState===0,disabled:v}},u.createElement(Ja,null,u.createElement(yo.Provider,{value:ne},u.createElement(yn.Provider,{value:W},u.createElement(vo,{value:We(W.comboboxState,{0:ze.Open,1:ze.Closed})},s!=null&&u.createElement(Vi,{disabled:v,data:C!=null?{[s]:C}:{},form:l,onReset:S}),Z({ourProps:Ee,theirProps:O,slot:ae,defaultTag:C1,name:"Combobox"}))))))}let S1="input";function O1(e,t){var n,r,o,i,a;let d=Ht("Combobox.Input"),l=$n("Combobox.Input"),s=u.useId(),f=Hr(),{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),$=Ue(O,t,qa(),l.setInputElement),C=fn(d.inputElement),x=yt(),k=te(()=>{l.onChange(null),d.optionsElement&&(d.optionsElement.scrollTop=0),l.goToOption($e.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]);ya(([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||C?.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,C,d.isTyping]),ya(([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),A=te(()=>{H.current=!0}),D=te(()=>{x.nextFrame(()=>{H.current=!1})}),M=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($e.Next),1:()=>l.openCombobox()});case Se.ArrowUp:return T.preventDefault(),T.stopPropagation(),We(d.comboboxState,{0:()=>l.goToOption($e.Previous),1:()=>{ke.flushSync(()=>l.openCombobox()),d.value||l.goToOption($e.Last)}});case Se.Home:if(T.shiftKey)break;return T.preventDefault(),T.stopPropagation(),l.goToOption($e.First);case Se.PageUp:return T.preventDefault(),T.stopPropagation(),l.goToOption($e.First);case Se.End:if(T.shiftKey)break;return T.preventDefault(),T.stopPropagation(),l.goToOption($e.Last);case Se.PageDown:return T.preventDefault(),T.stopPropagation(),l.goToOption($e.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&&k(),l.closeCombobox());case Se.Tab:if(d.comboboxState!==0)return;d.mode===0&&d.activationTrigger!==1&&l.selectActiveOption(),l.closeCombobox();break}}),Y=te(T=>{m?.(T),d.mode===0&&T.target.value===""&&k(),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&&k(),l.closeCombobox()}),W=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&&x.microTask(()=>{ke.flushSync(()=>l.openCombobox()),l.setActivationTrigger(1)})}),ie=sn(),ae=Ki(),{isFocused:le,focusProps:re}=Rr({autoFocus:h}),{isHovered:K,hoverProps:N}=Dr({isDisabled:c}),R=u.useMemo(()=>({open:d.comboboxState===0,disabled:c,hover:K,focus:le,autofocus:h}),[d,K,le,h,c]),X=ln({ref:$,id:v,role:"combobox",type:g,"aria-controls":(n=d.optionsElement)==null?void 0:n.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:(o=d.options[d.activeOptionIndex])==null?void 0:o.id,"aria-labelledby":ie,"aria-describedby":ae,"aria-autocomplete":"list",defaultValue:(a=(i=e.defaultValue)!=null?i:d.defaultValue!==void 0?p?.(d.defaultValue):null)!=null?a:d.defaultValue,disabled:c||void 0,autoFocus:h,onCompositionStart:A,onCompositionEnd:D,onKeyDown:M,onChange:Y,onFocus:W,onBlur:G},re,N);return De()({ourProps:X,theirProps:E,slot:R,defaultTag:S1,name:"Combobox.Input"})}let P1="button";function T1(e,t){var n;let r=Ht("Combobox.Button"),o=$n("Combobox.Button"),i=Ue(t,o.setButtonElement),a=u.useId(),{id:d=`headlessui-combobox-button-${a}`,disabled:l=r.disabled||!1,autoFocus:s=!1,...f}=e,v=pa(r.inputElement),m=te(j=>{switch(j.key){case Se.Space:case Se.Enter:j.preventDefault(),j.stopPropagation(),r.comboboxState===1&&ke.flushSync(()=>o.openCombobox()),v();return;case Se.ArrowDown:j.preventDefault(),j.stopPropagation(),r.comboboxState===1&&(ke.flushSync(()=>o.openCombobox()),r.value||o.goToOption($e.First)),v();return;case Se.ArrowUp:j.preventDefault(),j.stopPropagation(),r.comboboxState===1&&(ke.flushSync(()=>o.openCombobox()),r.value||o.goToOption($e.Last)),v();return;case Se.Escape:if(r.comboboxState!==0)return;j.preventDefault(),r.optionsElement&&!r.optionsPropsRef.current.static&&j.stopPropagation(),ke.flushSync(()=>o.closeCombobox()),v();return;default:return}}),p=te(j=>{j.preventDefault(),!Ui(j.currentTarget)&&(j.button===go.Left&&(r.comboboxState===0?o.closeCombobox():o.openCombobox()),v())}),c=sn([d]),{isFocusVisible:h,focusProps:g}=Rr({autoFocus:s}),{isHovered:E,hoverProps:O}=Dr({isDisabled:l}),{pressed:$,pressProps:C}=Fi({disabled:l}),x=u.useMemo(()=>({open:r.comboboxState===0,active:$||r.comboboxState===0,disabled:l,value:r.value,hover:E,focus:h}),[r,E,h,$,l]),k=ln({ref:i,id:d,type:ma(e,r.buttonElement),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":(n=r.optionsElement)==null?void 0:n.id,"aria-expanded":r.comboboxState===0,"aria-labelledby":c,disabled:l||void 0,autoFocus:s,onMouseDown:p,onKeyDown:m},g,O,C);return De()({ourProps:k,theirProps:f,slot:x,defaultTag:P1,name:"Combobox.Button"})}let N1="div",I1=jt.RenderStrategy|jt.Static;function _1(e,t){var n,r,o;let i=u.useId(),{id:a=`headlessui-combobox-options-${i}`,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=za(l);h&&(s=!0);let[g,E]=Xa(h),[O,$]=u.useState(null),C=Ya(),x=Ue(t,h?g:null,c.setOptionsElement,$),k=fn(p.optionsElement),j=rr(),[H,A]=eo(v,O,j!==null?(j&ze.Open)===ze.Open:p.comboboxState===0);aa(H,p.inputElement,c.closeCombobox);let D=p.__demoMode?!1:f&&p.comboboxState===0;ha(D,k);let M=p.__demoMode?!1:f&&p.comboboxState===0;ia(M,{allowed:u.useCallback(()=>[p.inputElement,p.buttonElement,p.optionsElement],[p.inputElement,p.buttonElement,p.optionsElement])}),Ce(()=>{var X;p.optionsPropsRef.current.static=(X=e.static)!=null?X:!1},[p.optionsPropsRef,e.static]),Ce(()=>{p.optionsPropsRef.current.hold=d},[p.optionsPropsRef,d]),K0(p.comboboxState===0,{container:p.optionsElement,accept(X){return X.getAttribute("role")==="option"?NodeFilter.FILTER_REJECT:X.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(X){X.setAttribute("role","none")}});let Y=sn([(n=p.buttonElement)==null?void 0:n.id]),G=u.useMemo(()=>({open:p.comboboxState===0,option:void 0}),[p.comboboxState]),W=te(()=>{c.setActivationTrigger(0)}),ie=te(X=>{X.preventDefault(),c.setActivationTrigger(0)}),ae=ln(h?C():{},{"aria-labelledby":Y,role:"listbox","aria-multiselectable":p.mode===1?!0:void 0,id:a,ref:x,style:{...m.style,...E,"--input-width":zr(p.inputElement,!0).width,"--button-width":zr(p.buttonElement,!0).width},onWheel:p.activationTrigger===0?void 0:W,onMouseDown:ie,...Qr(A)}),le=H&&p.comboboxState===1,re=nr(le,(r=p.virtual)==null?void 0:r.options),K=nr(le,p.value),N=te(X=>p.compare(K,X));if(p.virtual){if(re===void 0)throw new Error("Missing `options` in virtual mode");Object.assign(m,{children:u.createElement(yn.Provider,{value:re!==p.virtual.options?{...p,virtual:{...p.virtual,options:re}}:p},u.createElement(w1,{slot:G},m.children))})}let R=De();return u.createElement(rd,{enabled:s?e.static||H:!1},u.createElement(yn.Provider,{value:p.mode===1?p:{...p,isSelected:N}},R({ourProps:ae,theirProps:{...m,children:u.createElement(t1,{freeze:le},typeof m.children=="function"?(o=m.children)==null?void 0:o.call(m,G):m.children)},slot:G,defaultTag:N1,features:I1,visible:H,name:"Combobox.Options"})))}let A1="div";function k1(e,t){var n,r,o,i;let a=Ht("Combobox.Option"),d=$n("Combobox.Option"),l=u.useId(),{id:s=`headlessui-combobox-option-${l}`,value:f,disabled:v=(o=(r=(n=a.virtual)==null?void 0:n.disabled)==null?void 0:r.call(n,f))!=null?o:!1,order:m=null,...p}=e,c=pa(a.inputElement),h=a.virtual?a.activeOptionIndex===a.calculateIndex(f):a.activeOptionIndex===null?!1:((i=a.options[a.activeOptionIndex])==null?void 0:i.id)===s,g=a.isSelected(f),E=u.useRef(null),O=mt({disabled:v,value:f,domRef:E,order:m}),$=u.useContext(od),C=Ue(t,E,$?$.measureElement:null),x=te(()=>{d.setIsTyping(!1),d.onChange(f)});Ce(()=>d.registerOption(s,O),[O,s]);let k=u.useRef(!(a.virtual||a.__demoMode));Ce(()=>{if(!a.virtual&&!a.__demoMode)return et().requestAnimationFrame(()=>{k.current=!0})},[a.virtual,a.__demoMode]),Ce(()=>{if(k.current&&a.comboboxState===0&&h&&a.activationTrigger!==0)return et().requestAnimationFrame(()=>{var ie,ae;(ae=(ie=E.current)==null?void 0:ie.scrollIntoView)==null||ae.call(ie,{block:"nearest"})})},[E,h,a.comboboxState,a.activationTrigger,a.activeOptionIndex]);let j=te(ie=>{ie.preventDefault(),ie.button===go.Left&&(v||(x(),ua()||requestAnimationFrame(()=>c()),a.mode===0&&d.closeCombobox()))}),H=te(()=>{if(v)return d.goToOption($e.Nothing);let ie=a.calculateIndex(f);d.goToOption($e.Specific,ie)}),A=ga(),D=te(ie=>A.update(ie)),M=te(ie=>{if(!A.wasMoved(ie)||v||h)return;let ae=a.calculateIndex(f);d.goToOption($e.Specific,ae,0)}),Y=te(ie=>{A.wasMoved(ie)&&(v||h&&(a.optionsPropsRef.current.hold||d.goToOption($e.Nothing)))}),G=u.useMemo(()=>({active:h,focus:h,selected:g,disabled:v}),[h,g,v]),W={id:s,ref:C,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:D,onMouseEnter:D,onPointerMove:M,onMouseMove:M,onPointerLeave:Y,onMouseLeave:Y};return De()({ourProps:W,theirProps:p,slot:G,defaultTag:A1,name:"Combobox.Option"})}let F1=je(E1),id=je(T1),ad=je(O1),M1=Yi,dd=je(_1),ld=je(k1),L1=Object.assign(F1,{Input:ad,Button:id,Label:M1,Options:dd,Option:ld});function j1(){let e=u.useRef(!1);return Ce(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function sd(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||((t=e.as)!=null?t:cd)!==u.Fragment||u.Children.count(e.children)===1}let or=u.createContext(null);or.displayName="TransitionContext";var D1=(e=>(e.Visible="visible",e.Hidden="hidden",e))(D1||{});function R1(){let e=u.useContext(or);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function B1(){let e=u.useContext(ir);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let ir=u.createContext(null);ir.displayName="NestingContext";function ar(e){return"children"in e?ar(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function ud(e,t){let n=mt(e),r=u.useRef([]),o=j1(),i=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"}}),i.microTask(()=>{var g;!ar(r)&&o.current&&((g=n.current)==null||g.call(n))}))}),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),t&&(t.chains.current[c]=t.chains.current[c].filter(([g])=>g!==p)),t?.chains.current[c].push([p,new Promise(g=>{l.current.push(g)})]),t?.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(()=>t?.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 cd=u.Fragment,fd=jt.RenderStrategy;function W1(e,t){var n,r;let{transition:o=!0,beforeEnter:i,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),$=u.useRef(null),C=sd(e),x=Ue(...C?[$,t,O]:t===null?[]:[t]),k=(n=g.unmount)==null||n?wt.Unmount:wt.Hidden,{show:j,appear:H,initial:A}=R1(),[D,M]=u.useState(j?"visible":"hidden"),Y=B1(),{register:G,unregister:W}=Y;Ce(()=>G($),[G,$]),Ce(()=>{if(k===wt.Hidden&&$.current){if(j&&D!=="visible"){M("visible");return}return We(D,{hidden:()=>W($),visible:()=>G($)})}},[D,$,G,W,j,k]);let ie=bo();Ce(()=>{if(C&&ie&&D==="visible"&&$.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[$,D,ie,C]);let ae=A&&!H,le=H&&j&&A,re=u.useRef(!1),K=ud(()=>{re.current||(M("hidden"),W($))},Y),N=te(q=>{re.current=!0;let ne=q?"enter":"leave";K.onStart($,ne,ce=>{ce==="enter"?i?.():ce==="leave"&&d?.()})}),R=te(q=>{let ne=q?"enter":"leave";re.current=!1,K.onStop($,ne,ce=>{ce==="enter"?a?.():ce==="leave"&&l?.()}),ne==="leave"&&!ar(K)&&(M("hidden"),W($))});u.useEffect(()=>{C&&o||(N(j),R(j))},[j,C,o]);let X=!(!o||!C||!ie||ae),[,T]=eo(X,E,j,{start:N,end:R}),U=xt({ref:x,className:((r=Wr(g.className,le&&s,le&&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,...Qr(T)}),L=0;D==="visible"&&(L|=ze.Open),D==="hidden"&&(L|=ze.Closed),T.enter&&(L|=ze.Opening),T.leave&&(L|=ze.Closing);let Q=De();return u.createElement(ir.Provider,{value:K},u.createElement(vo,{value:L},Q({ourProps:U,theirProps:g,defaultTag:cd,features:fd,visible:D==="visible",name:"Transition.Child"})))}function V1(e,t){let{show:n,appear:r=!1,unmount:o=!0,...i}=e,a=u.useRef(null),d=sd(e),l=Ue(...d?[a,t]:t===null?[]:[t]);bo();let s=rr();if(n===void 0&&s!==null&&(n=(s&ze.Open)===ze.Open),n===void 0)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[f,v]=u.useState(n?"visible":"hidden"),m=ud(()=>{n||v("hidden")}),[p,c]=u.useState(!0),h=u.useRef([n]);Ce(()=>{p!==!1&&h.current[h.current.length-1]!==n&&(h.current.push(n),c(!1))},[h,n]);let g=u.useMemo(()=>({show:n,appear:r,initial:p}),[n,r,p]);Ce(()=>{n?v("visible"):!ar(m)&&a.current!==null&&v("hidden")},[n,m]);let E={unmount:o},O=te(()=>{var x;p&&c(!1),(x=e.beforeEnter)==null||x.call(e)}),$=te(()=>{var x;p&&c(!1),(x=e.beforeLeave)==null||x.call(e)}),C=De();return u.createElement(ir.Provider,{value:m},u.createElement(or.Provider,{value:g},C({ourProps:{...E,as:u.Fragment,children:u.createElement(pd,{ref:l,...E,...i,beforeEnter:O,beforeLeave:$})},theirProps:{},defaultTag:u.Fragment,features:fd,visible:f==="visible",name:"Transition"})))}function U1(e,t){let n=u.useContext(or)!==null,r=rr()!==null;return u.createElement(u.Fragment,null,!n&&r?u.createElement(wo,{ref:t,...e}):u.createElement(pd,{ref:t,...e}))}let wo=je(V1),pd=je(W1),H1=je(U1),md=Object.assign(wo,{Child:H1,Root:wo});function G1(e,t){let n=u.useRef({left:0,top:0});if(Ce(()=>{if(!t)return;let o=t.getBoundingClientRect();o&&(n.current=o)},[e,t]),t==null||!e||t===document.activeElement)return!1;let r=t.getBoundingClientRect();return r.top!==n.current.top||r.left!==n.current.left}let hd=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function vd(e){var t,n;let r=(t=e.innerText)!=null?t:"",o=e.cloneNode(!0);if(!(o instanceof HTMLElement))return r;let i=!1;for(let d of o.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))d.remove(),i=!0;let a=i?(n=o.innerText)!=null?n:"":r;return hd.test(a)&&(a=a.replace(hd,"")),a}function K1(e){let t=e.getAttribute("aria-label");if(typeof t=="string")return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let r=n.split(" ").map(o=>{let i=document.getElementById(o);if(i){let a=i.getAttribute("aria-label");return typeof a=="string"?a.trim():vd(i).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return vd(e).trim()}function z1(e){let t=u.useRef(""),n=u.useRef("");return te(()=>{let r=e.current;if(!r)return"";let o=r.innerText;if(t.current===o)return n.current;let i=K1(r).trim().toLowerCase();return t.current=o,n.current=i,i})}var q1=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(q1||{}),Y1=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(Y1||{}),X1=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(X1||{}),Z1=(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))(Z1||{});function xo(e,t=n=>n){let n=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,r=Jr(t(e.options.slice()),i=>i.dataRef.current.domRef.current),o=n?r.indexOf(n):null;return o===-1&&(o=null),{options:r,activeOptionIndex:o}}let J1={1(e){return e.dataRef.current.disabled||e.listboxState===1?e:{...e,activeOptionIndex:null,listboxState:1,__demoMode:!1}},0(e){if(e.dataRef.current.disabled||e.listboxState===0)return e;let t=e.activeOptionIndex,{isSelected:n}=e.dataRef.current,r=e.options.findIndex(o=>n(o.dataRef.current.value));return r!==-1&&(t=r),{...e,listboxState:0,activeOptionIndex:t,__demoMode:!1}},2(e,t){var n,r,o,i,a;if(e.dataRef.current.disabled||e.listboxState===1)return e;let d={...e,searchQuery:"",activationTrigger:(n=t.trigger)!=null?n:1,__demoMode:!1};if(t.focus===$e.Nothing)return{...d,activeOptionIndex:null};if(t.focus===$e.Specific)return{...d,activeOptionIndex:e.options.findIndex(f=>f.id===t.id)};if(t.focus===$e.Previous){let f=e.activeOptionIndex;if(f!==null){let v=e.options[f].dataRef.current.domRef,m=bn(t,{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||((o=p.current)==null?void 0:o.previousElementSibling)===null)return{...d,activeOptionIndex:m}}}}else if(t.focus===$e.Next){let f=e.activeOptionIndex;if(f!==null){let v=e.options[f].dataRef.current.domRef,m=bn(t,{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(((i=v.current)==null?void 0:i.nextElementSibling)===p.current||((a=p.current)==null?void 0:a.nextElementSibling)===null)return{...d,activeOptionIndex:m}}}}let l=xo(e),s=bn(t,{resolveItems:()=>l.options,resolveActiveIndex:()=>l.activeOptionIndex,resolveId:f=>f.id,resolveDisabled:f=>f.dataRef.current.disabled});return{...d,...l,activeOptionIndex:s}},3:(e,t)=>{if(e.dataRef.current.disabled||e.listboxState===1)return e;let n=e.searchQuery!==""?0:1,r=e.searchQuery+t.value.toLowerCase(),o=(e.activeOptionIndex!==null?e.options.slice(e.activeOptionIndex+n).concat(e.options.slice(0,e.activeOptionIndex+n)):e.options).find(a=>{var d;return!a.dataRef.current.disabled&&((d=a.dataRef.current.textValue)==null?void 0:d.startsWith(r))}),i=o?e.options.indexOf(o):-1;return i===-1||i===e.activeOptionIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeOptionIndex:i,activationTrigger:1}},4(e){return e.dataRef.current.disabled||e.listboxState===1||e.searchQuery===""?e:{...e,searchQuery:""}},5:(e,t)=>{let n={id:t.id,dataRef:t.dataRef},r=xo(e,o=>[...o,n]);return e.activeOptionIndex===null&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(r.activeOptionIndex=r.options.indexOf(n)),{...e,...r}},6:(e,t)=>{let n=xo(e,r=>{let o=r.findIndex(i=>i.id===t.id);return o!==-1&&r.splice(o,1),r});return{...e,...n,activationTrigger:1}},7:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},8:(e,t)=>e.optionsElement===t.element?e:{...e,optionsElement:t.element}},Co=u.createContext(null);Co.displayName="ListboxActionsContext";function dr(e){let t=u.useContext(Co);if(t===null){let n=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,dr),n}return t}let lr=u.createContext(null);lr.displayName="ListboxDataContext";function wn(e){let t=u.useContext(lr);if(t===null){let n=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,wn),n}return t}function Q1(e,t){return We(t.type,J1,e,t)}let ef=u.Fragment;function tf(e,t){var n;let r=Un(),{value:o,defaultValue:i,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(t),O=ji(i),[$=p?[]:void 0,C]=Li(o,l,O),[x,k]=u.useReducer(Q1,{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),A=ea(s),D=u.useCallback(S=>We(M.mode,{1:()=>$.some(Z=>A(Z,S)),0:()=>A($,S)}),[$]),M=u.useMemo(()=>({...x,value:$,disabled:v,invalid:f,mode:p?1:0,orientation:g,compare:A,isSelected:D,optionsPropsRef:j,listRef:H}),[$,v,f,p,x,H]);Ce(()=>{x.dataRef.current=M},[M]);let Y=M.listboxState===0;fa(Y,[M.buttonElement,M.optionsElement],(S,Z)=>{var z;k({type:1}),la(Z,Zr.Loose)||(S.preventDefault(),(z=M.buttonElement)==null||z.focus())});let G=u.useMemo(()=>({open:M.listboxState===0,disabled:v,invalid:f,value:$}),[M,v,$,f]),W=te(S=>{let Z=M.options.find(z=>z.id===S);Z&&R(Z.dataRef.current.value)}),ie=te(()=>{if(M.activeOptionIndex!==null){let{dataRef:S,id:Z}=M.options[M.activeOptionIndex];R(S.current.value),k({type:2,focus:$e.Specific,id:Z})}}),ae=te(()=>k({type:0})),le=te(()=>k({type:1})),re=yt(),K=te((S,Z,z)=>{re.dispose(),re.microTask(()=>S===$e.Specific?k({type:2,focus:$e.Specific,id:Z,trigger:z}):k({type:2,focus:S,trigger:z}))}),N=te((S,Z)=>(k({type:5,id:S,dataRef:Z}),()=>k({type:6,id:S}))),R=te(S=>We(M.mode,{0(){return C?.(S)},1(){let Z=M.value.slice(),z=Z.findIndex(_=>A(_,S));return z===-1?Z.push(S):Z.splice(z,1),C?.(Z)}})),X=te(S=>k({type:3,value:S})),T=te(()=>k({type:4})),U=te(S=>{k({type:7,element:S})}),L=te(S=>{k({type:8,element:S})}),Q=u.useMemo(()=>({onChange:R,registerOption:N,goToOption:K,closeListbox:le,openListbox:ae,selectActiveOption:ie,selectOption:W,search:X,clearSearch:T,setButtonElement:U,setOptionsElement:L}),[]),[q,ne]=qi({inherit:!0}),ce={ref:E},he=u.useCallback(()=>{if(O!==void 0)return C?.(O)},[C,O]),Ee=De();return u.createElement(ne,{value:q,props:{htmlFor:(n=M.buttonElement)==null?void 0:n.id},slot:{open:M.listboxState===0,disabled:v}},u.createElement(Ja,null,u.createElement(Co.Provider,{value:Q},u.createElement(lr.Provider,{value:M},u.createElement(vo,{value:We(M.listboxState,{0:ze.Open,1:ze.Closed})},d!=null&&$!=null&&u.createElement(Vi,{disabled:v,data:{[d]:$},form:a,onReset:he}),Ee({ourProps:ce,theirProps:h,slot:G,defaultTag:ef,name:"Listbox"}))))))}let nf="button";function rf(e,t){var n;let r=wn("Listbox.Button"),o=dr("Listbox.Button"),i=u.useId(),a=Hr(),{id:d=a||`headlessui-listbox-button-${i}`,disabled:l=r.disabled||!1,autoFocus:s=!1,...f}=e,v=Ue(t,qa(),o.setButtonElement),m=Jc(),p=te(M=>{switch(M.key){case Se.Enter:zu(M.currentTarget);break;case Se.Space:case Se.ArrowDown:M.preventDefault(),ke.flushSync(()=>o.openListbox()),r.value||o.goToOption($e.First);break;case Se.ArrowUp:M.preventDefault(),ke.flushSync(()=>o.openListbox()),r.value||o.goToOption($e.Last);break}}),c=te(M=>{switch(M.key){case Se.Space:M.preventDefault();break}}),h=te(M=>{var Y;if(Ui(M.currentTarget))return M.preventDefault();r.listboxState===0?(ke.flushSync(()=>o.closeListbox()),(Y=r.buttonElement)==null||Y.focus({preventScroll:!0})):(M.preventDefault(),o.openListbox())}),g=te(M=>M.preventDefault()),E=sn([d]),O=Ki(),{isFocusVisible:$,focusProps:C}=Rr({autoFocus:s}),{isHovered:x,hoverProps:k}=Dr({isDisabled:l}),{pressed:j,pressProps:H}=Fi({disabled:l}),A=u.useMemo(()=>({open:r.listboxState===0,active:j||r.listboxState===0,disabled:l,invalid:r.invalid,value:r.value,hover:x,focus:$,autofocus:s}),[r.listboxState,r.value,l,x,$,j,r.invalid,s]),D=ln(m(),{ref:v,id:d,type:ma(e,r.buttonElement),"aria-haspopup":"listbox","aria-controls":(n=r.optionsElement)==null?void 0:n.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},C,k,H);return De()({ourProps:D,theirProps:f,slot:A,defaultTag:nf,name:"Listbox.Button"})}let gd=u.createContext(!1),of="div",af=jt.RenderStrategy|jt.Static;function df(e,t){var n,r;let o=u.useId(),{id:i=`headlessui-listbox-options-${o}`,anchor:a,portal:d=!1,modal:l=!0,transition:s=!1,...f}=e,v=za(a),[m,p]=u.useState(null);v&&(d=!0);let c=wn("Listbox.Options"),h=dr("Listbox.Options"),g=fn(c.optionsElement),E=rr(),[O,$]=eo(s,m,E!==null?(E&ze.Open)===ze.Open:c.listboxState===0);aa(O,c.buttonElement,h.closeListbox);let C=c.__demoMode?!1:l&&c.listboxState===0;ha(C,g);let x=c.__demoMode?!1:l&&c.listboxState===0;ia(x,{allowed:u.useCallback(()=>[c.buttonElement,c.optionsElement],[c.buttonElement,c.optionsElement])});let k=c.listboxState!==0,j=G1(k,c.buttonElement)?!1:O,H=O&&c.listboxState===1,A=nr(H,c.value),D=te(T=>c.compare(A,T)),M=u.useMemo(()=>{var T;if(v==null||!((T=v?.to)!=null&&T.includes("selection")))return null;let U=c.options.findIndex(L=>D(L.dataRef.current.value));return U===-1&&(U=0),U},[v,c.options]),Y=(()=>{if(v==null)return;if(M===null)return{...v,inner:void 0};let T=Array.from(c.listRef.current.values());return{...v,inner:{listRef:{current:T},index:M}}})(),[G,W]=Xa(Y),ie=Ya(),ae=Ue(t,v?G:null,h.setOptionsElement,p),le=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 re=te(T=>{var U,L;switch(le.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&&(ke.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($e.Next);case We(c.orientation,{vertical:Se.ArrowUp,horizontal:Se.ArrowLeft}):return T.preventDefault(),T.stopPropagation(),h.goToOption($e.Previous);case Se.Home:case Se.PageUp:return T.preventDefault(),T.stopPropagation(),h.goToOption($e.First);case Se.End:case Se.PageDown:return T.preventDefault(),T.stopPropagation(),h.goToOption($e.Last);case Se.Escape:T.preventDefault(),T.stopPropagation(),ke.flushSync(()=>h.closeListbox()),(L=c.buttonElement)==null||L.focus({preventScroll:!0});return;case Se.Tab:T.preventDefault(),T.stopPropagation(),ke.flushSync(()=>h.closeListbox()),_0(c.buttonElement,T.shiftKey?Xr.Previous:Xr.Next);break;default:T.key.length===1&&(h.search(T.key),le.setTimeout(()=>h.clearSearch(),350));break}}),K=(n=c.buttonElement)==null?void 0:n.id,N=u.useMemo(()=>({open:c.listboxState===0}),[c.listboxState]),R=ln(v?ie():{},{id:i,ref:ae,"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":K,"aria-orientation":c.orientation,onKeyDown:re,role:"listbox",tabIndex:c.listboxState===0?0:void 0,style:{...f.style,...W,"--button-width":zr(c.buttonElement,!0).width},...Qr($)}),X=De();return u.createElement(rd,{enabled:d?e.static||O:!1},u.createElement(lr.Provider,{value:c.mode===1?c:{...c,isSelected:D}},X({ourProps:R,theirProps:f,slot:N,defaultTag:of,features:af,visible:j,name:"Listbox.Options"})))}let lf="div";function sf(e,t){let n=u.useId(),{id:r=`headlessui-listbox-option-${n}`,disabled:o=!1,value:i,...a}=e,d=u.useContext(gd)===!0,l=wn("Listbox.Option"),s=dr("Listbox.Option"),f=l.activeOptionIndex!==null?l.options[l.activeOptionIndex].id===r:!1,v=l.isSelected(i),m=u.useRef(null),p=z1(m),c=mt({disabled:o,value:i,domRef:m,get textValue(){return p()}}),h=Ue(t,m,A=>{A?l.listRef.current.set(r,A):l.listRef.current.delete(r)});Ce(()=>{if(!l.__demoMode&&l.listboxState===0&&f&&l.activationTrigger!==0)return et().requestAnimationFrame(()=>{var A,D;(D=(A=m.current)==null?void 0:A.scrollIntoView)==null||D.call(A,{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(A=>{var D;if(o)return A.preventDefault();s.onChange(i),l.mode===0&&(ke.flushSync(()=>s.closeListbox()),(D=l.buttonElement)==null||D.focus({preventScroll:!0}))}),E=te(()=>{if(o)return s.goToOption($e.Nothing);s.goToOption($e.Specific,r)}),O=ga(),$=te(A=>{O.update(A),!o&&(f||s.goToOption($e.Specific,r,0))}),C=te(A=>{O.wasMoved(A)&&(o||f||s.goToOption($e.Specific,r,0))}),x=te(A=>{O.wasMoved(A)&&(o||f&&s.goToOption($e.Nothing))}),k=u.useMemo(()=>({active:f,focus:f,selected:v,disabled:o,selectedOption:v&&d}),[f,v,o,d]),j=d?{}:{id:r,ref:h,role:"option",tabIndex:o===!0?void 0:-1,"aria-disabled":o===!0?!0:void 0,"aria-selected":v,disabled:void 0,onClick:g,onFocus:E,onPointerEnter:$,onMouseEnter:$,onPointerMove:C,onMouseMove:C,onPointerLeave:x,onMouseLeave:x},H=De();return!v&&d?null:H({ourProps:j,theirProps:a,slot:k,defaultTag:lf,name:"Listbox.Option"})}let uf=u.Fragment;function cf(e,t){let{options:n,placeholder:r,...o}=e,i={ref:Ue(t)},a=wn("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(gd.Provider,{value:!0},s({ourProps:i,theirProps:{...o,children:u.createElement(u.Fragment,null,r&&l?r:n)},slot:d,defaultTag:uf,name:"ListboxSelectedOption"}))}let ff=je(tf),bd=je(rf),pf=Yi,$d=je(df),yd=je(sf),mf=je(cf),hf=Object.assign(ff,{Button:bd,Label:pf,Options:$d,Option:yd,SelectedOption:mf});function vf({title:e,titleId:t,...n},r){return se.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?se.createElement("title",{id:t},e):null,se.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 wd=se.forwardRef(vf),qe={select:"_select_fcnvh_1",selectContainer:"_selectContainer_fcnvh_4",selectButton:"_selectButton_fcnvh_7",open:"_open_fcnvh_13",selectValue:"_selectValue_fcnvh_16",placeholder:"_placeholder_fcnvh_19",seletIcon:"_seletIcon_fcnvh_22",selectText:"_selectText_fcnvh_25",chevronDownIconSpan:"_chevronDownIconSpan_fcnvh_28",chevronDownIcon:"_chevronDownIcon_fcnvh_28",leave:"_leave_fcnvh_35",leaveFrom:"_leaveFrom_fcnvh_39",leaveTo:"_leaveTo_fcnvh_43",selectOptions:"_selectOptions_fcnvh_47"},xd=({children:e,selected:t,onSelect:n,themeColor:r,placeholder:o})=>{const[i,a]=u.useState(!1),[d,l]=u.useState(!1),[s,f]=u.useState(!1),v=u.useRef(null),m=u.useRef(null),p=u.useRef(null),[c,h]=u.useState({left:0,top:0}),[g,E]=u.useState(!1),O=u.useRef(0),$=u.useRef(0);let C="#333333";const x=()=>{O.current=window.innerHeight,$.current=document.body.scrollHeight,a(!0)};u.useEffect(()=>(x(),window.addEventListener("resize",x),()=>{window.removeEventListener("resize",x)}),[]);const k=()=>$.current-(O.current+window.scrollY),j=()=>{if(v.current){const M=v.current.getBoundingClientRect();E(!1),setTimeout(()=>{const Y=p?.current?.getBoundingClientRect(),G=k(),W=O.current-M.bottom;if(Y){const ie=Y.height,ae=M.top,le=ie>=ae+window.scrollY,re=ie>=ae&&(le||G>=ie||W>=ie)||ae>=ie&&W>=ie?M.y+M.height:M.y-ie;h({left:M.left,top:re??M.top}),E(!0)}},0)}};if(u.useEffect(()=>(window.addEventListener("scroll",j),window.addEventListener("resize",j),()=>{window.removeEventListener("scroll",j),window.removeEventListener("resize",j)}),[]),r){r=Je.convert3HexTo6(r);const M=pt(r);(M==="dark"||M==="light")&&(C=r==="#ffffff"?"#c8c8c8":r)}const H=M=>{n(M)},A=()=>f(!0),D=()=>f(!1);return I.jsx(hf,{value:t,onChange:H,children:({open:M})=>(M!==d&&(l(M),M?j():E(!1)),I.jsxs("div",{className:qe.select,children:[I.jsx("div",{className:qe.selectContainer,ref:v,children:I.jsxs(bd,{ref:m,"data-testid":"select-options",onFocus:A,onBlur:D,className:`${qe.selectButton} ${M?qe.open:""}`,style:{borderBottomColor:r&&(s||M)?C:""},children:[t?I.jsxs("span",{className:qe.selectValue,children:[t.avatar&&I.jsx("img",{src:t.avatar,alt:"",className:qe.seletIcon}),I.jsx("span",{className:qe.selectText,children:t.label})]}):o&&I.jsx("span",{className:`${qe.selectValue} ${qe.placeholder}`,children:o}),I.jsx("span",{className:qe.chevronDownIconSpan,children:I.jsx(wd,{className:qe.chevronDownIcon,"aria-hidden":"true","data-open":d?!0:void 0})})]})}),i&&ke.createPortal(M&&I.jsx("div",{style:{position:"fixed",inset:0,backgroundColor:"rgba(255,255,255,0)",zIndex:1e3},children:I.jsx("div",{ref:p,style:{position:"absolute",opacity:g?1:0,width:v.current?.clientWidth??"auto",left:c.left,top:c.top},children:e})}),document.body)]}))})},Cd=({children:e,setQuery:t})=>I.jsx(md,{as:u.Fragment,leave:qe.leave,leaveFrom:qe.leaveFrom,leaveTo:qe.leaveTo,afterLeave:()=>t(""),children:I.jsx($d,{className:qe.selectOptions,children:e})}),Eo=u.forwardRef((e,t)=>I.jsx(yd,{ref:t,className:e.className,value:e.value,disabled:e.disable,children:e.children}));Eo.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"},gf=({children:e,selected:t,onSelect:n,setQuery:r=()=>{},disable:o,clearSearch:i=!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}),[$,C]=u.useState(!1),x=u.useRef(0),k=u.useRef(0);let j={};u.useEffect(()=>{d.current&&t&&(d.current.value=t.label||"")},[t]),u.useEffect(()=>{x.current=window.innerHeight,k.current=document.body.scrollHeight,g(!0)},[]);const H=u.useCallback(()=>{if(s.current){const Y=window.visualViewport,G=s.current.getBoundingClientRect();C(!1),setTimeout(()=>{const W=f?.current?.getBoundingClientRect();let ie=G.left,ae=G.y+G.height,le=window.innerHeight-G.bottom,re=document.body.scrollHeight-(window.innerHeight+window.scrollY);if(Y&&(ie=G.left+Y.offsetLeft,ae=G.top+G.height+Y.offsetTop,le=Y.height-(G.bottom-Y.offsetTop),re=document.body.scrollHeight-(Y.height+Y.pageTop)),W){const K=W.height,N=G.top,R=K>=N+window.scrollY,X=K>=N&&(R||re>=K||le>=K)||N>=K&&le>=K?ae:(Y?G.top+Y.offsetTop:G.y)-K;O({left:ie,top:X??(Y?G.top+Y.offsetTop:G.top)}),C(!0)}},0)}},[]);u.useEffect(()=>(window.addEventListener("scroll",H),window.addEventListener("resize",H),()=>{window.removeEventListener("scroll",H),window.removeEventListener("resize",H)}),[]);const A=Y=>{typeof p<"u"&&d.current&&(p?(d.current.dispatchEvent(new KeyboardEvent("keydown",{key:"Escape",bubbles:!0})),m(!1)):(H(),m(!0),t&&(d.current.value=t.label||""),i&&(d.current.value="",r("")),d.current.dispatchEvent(new KeyboardEvent("keydown",{key:"ArrowDown",bubbles:!0}))))},D=()=>{m(!0)},M=()=>{m(!1)};if(a){const Y=pt(a);a=Je.convert3HexTo6(a);let G;a==="#ffffff"?G="#c8c8c8":v?G=a:G="#333333",(Y==="dark"||Y==="light")&&(j={borderBottomColor:G})}return I.jsx(L1,{value:t,onChange:n,disabled:o,children:({open:Y})=>(Y!==p&&(c(Y),Y?H():C(!1)),I.jsxs("div",{className:nt.autocomplete,children:[I.jsxs("div",{ref:s,className:`${nt.autocompleteContainer} ${o?nt.disable:""}`,children:[I.jsx(ad,{ref:d,"data-testid":"select-input",className:nt.autocompleteInput,displayValue:G=>G?.label||"",onChange:G=>{r(G.target.value)},onClick:A,onFocus:D,onBlur:M,style:{...j},placeholder:"Select your option",autoComplete:"off"}),I.jsx(id,{className:nt.autocompleteButton,"data-testid":"select-button",ref:l,children:I.jsx(wd,{className:`${nt.chevronDownIcon} ${o?nt.disable:""}`,"aria-hidden":"true","data-open":Y?!0:void 0})})]}),h?ke.createPortal(I.jsx(I.Fragment,{children:Y&&I.jsx("div",{style:{position:"fixed",inset:0,backgroundColor:"rgba(255,255,255,0)",zIndex:1e3},children:I.jsx("div",{ref:f,style:{position:"absolute",opacity:$?1:0,width:s.current?s.current.clientWidth:"auto",left:E.left,top:E.top,zIndex:1e3},children:e})})}),document.body):null]}))})},bf=({children:e,setQuery:t})=>I.jsx(md,{as:u.Fragment,leave:nt.leave,leaveFrom:nt.leaveFrom,leaveTo:nt.leaveTo,afterLeave:()=>t(""),children:I.jsx(dd,{className:nt.autocompleteOptions,children:e})}),Ed=u.forwardRef((e,t)=>I.jsx(ld,{ref:t,className:e.className,value:e.value,disabled:e.disable,children:e.children}));Ed.displayName="AutoCompleteOption";const Sd={textInputWrapper:"_textInputWrapper_gym4n_1",textInput:"_textInput_gym4n_1"},Od=u.memo(u.forwardRef(({themeColor:e="",style:t={},className:n="",onFocus:r,onBlur:o,...i},a)=>{const[d,l]=u.useState(!1);let s={};const f=[Sd.textInput,n].filter(Boolean).join(" ");e=Je.convert3HexTo6(e);const v=()=>{l(!0)},m=()=>{l(!1)};return s={borderBottomColor:d?e!=="#ffffff"?e:"#c8c8c8":""},I.jsx("div",{className:Sd.textInputWrapper,children:I.jsx("input",{type:"text","data-testid":"textbox-input",ref:a,className:f,onFocus:v,onBlur:m,style:{...s,...t},...i})})})),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"},Pd={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6],0,0,0,0,0,0,0,[["6[2-467]\\d{3}",[5]],["4\\d{4}",[5]],0,0,0,0,["(?:0[1-9]|[1589]\\d)\\d{4}",[6]]]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[["[78]\\d{5}",[6]],["690\\d{6}|[356]\\d{5}",[6,9]],["180[02]\\d{4}",[8]],["[19]\\d{5}",[6]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0",0,0,0,0,0,[["[2-4679][2-8]\\d{6}",[8]],["5[02-68]\\d{7}",[9]],["400\\d{6}|800\\d{2,9}"],["900[02]\\d{5}",[9]],0,0,["600[25]\\d{5}",[9]],0,0,["700[05]\\d{5}",[9]]]],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0",0,0,0,0,0,[["(?:[25][0-8]|[34][0-4]|6[0-5])[2-9]\\d{6}"],["7\\d{8}"]]],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268",[["268(?:4(?:6[0-38]|84)|56[0-2])\\d{4}"],["268(?:464|7(?:1[3-9]|[28]\\d|3[0246]|64|7[0-689]))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"],0,0,["26840[69]\\d{4}"],["26848[01]\\d{4}"]]],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264",[["264(?:292|4(?:6[12]|9[78]))\\d{4}"],["264(?:235|4(?:69|76)|5(?:3[6-9]|8[1-4])|7(?:29|72))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"],0,0,["264724\\d{4}"]]],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0",0,0,0,0,0,[["4505[0-2]\\d{3}|(?:[2358][16-9]\\d[2-9]|4410)\\d{4}|(?:[2358][2-5][2-9]|4(?:[2-57-9][2-9]|6\\d))\\d{5}",[8]],["6(?:[78][2-9]|9\\d)\\d{6}",[9]],["800\\d{4}",[7]],["900[1-9]\\d\\d",[6]],["700[2-9]\\d{4}",[8]],0,0,0,0,["808[1-9]\\d\\d",[6]]]],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:1[0-25]|47)\\d|2(?:2[2-46]|3[1-8]|4[2-69]|5[2-7]|6[1-9]|8[1-7])|3[12]2)\\d{5}"],["(?:33|4[1349]|55|77|88|9[13-9])\\d{6}"],["800\\d{5}"],["90[016]\\d{5}"],0,0,0,0,["60(?:2[78]|3[5-9]|4[02-9]|5[0-46-9]|[6-8]\\d|9[0-2])\\d{4}"],["80[1-4]\\d{5}"]]],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]],0,0,0,0,0,0,[["2\\d(?:[0134][25-9]|[25-9]\\d)\\d{5}"],["9[1-79]\\d{7}"]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1",0,0,[["3(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|47[35]|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|(?:2(?:657|9(?:54|66))|3(?:48[27]|7(?:55|77)|8(?:65|78)))[2-8]\\d{5}|(?:2(?:284|3(?:02|23)|477|622|920)|3(?:4(?:46|89|92)|541))[2-7]\\d{5}|(?:(?:11[1-8]|670)\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[25][4-6]|3[3-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|1[2-7]|3[4-6]|5[3-6]|7[2-6]|8[3-68])))\\d{6}|(?:2(?:2(?:62|81)|320|9(?:42|83))|3(?:329|4(?:62|7[16])|5(?:43|64)|7(?:18|5[17])))[2-6]\\d{5}|2(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|(?:2(?:257|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|64)|5(?:25|37|4[47]|71)|7(?:35|72)|825))[3-6]\\d{5}|(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[035-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[14]|4[13]|5[468]|7[3-5]|8[26])|8(?:2[67]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",[10]],["93(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|47[35]|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|9(?:2(?:657|9(?:54|66))|3(?:48[27]|7(?:55|77)|8(?:65|78)))[2-8]\\d{5}|9(?:2(?:284|3(?:02|23)|477|622|920)|3(?:4(?:46|89|92)|541))[2-7]\\d{5}|(?:675\\d|9(?:11[1-8]\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[25][4-6]|3[3-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|1[2-7]|3[4-6]|5[3-6]|7[2-6]|8[3-68]))))\\d{6}|9(?:2(?:2(?:62|81)|320|9(?:42|83))|3(?:329|4(?:62|7[16])|5(?:43|64)|7(?:18|5[17])))[2-6]\\d{5}|92(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|9(?:2(?:257|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|64)|5(?:25|37|4[47]|71)|7(?:35|72)|825))[3-6]\\d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[035-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[14]|4[13]|5[468]|7[3-5]|8[26])|8(?:2[67]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}"],["800\\d{7,8}"],["60[04579]\\d{7}",[10]],0,0,["810\\d{7}",[10]]]],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684",[["684(?:274|6(?:22|33|44|55|77|88|9[19]))\\d{4}"],["684(?:2(?:48|5[2468]|7[246])|7(?:3[13]|70|82))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]","(?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0",0,0,0,0,0,[["1(?:11\\d|[2-9]\\d{3,11})|(?:316|463)\\d{3,10}|648[34]\\d{3,9}|(?:51|66|73)2\\d{3,10}|(?:2(?:1[467]|2[13-8]|5[2357]|6[1-46-8]|7[1-8]|8[124-7]|9[1458])|3(?:1[1-578]|3[23568]|4[5-7]|5[1378]|6[1-38]|8[3-68])|4(?:2[1-8]|35|7[1368]|8[2457])|5(?:2[1-8]|3[357]|4[147]|5[12578]|6[37])|6(?:13|2[1-47]|4[135-7]|5[468])|7(?:2[1-8]|35|4[13478]|5[68]|6[16-8]|7[1-6]|9[45]))\\d{4,10}"],["6(?:485|(?:5[0-3579]|6[013-9]|[7-9]\\d)\\d)\\d{3,9}",[7,8,9,10,11,12,13]],["800\\d{6,10}",[9,10,11,12,13]],["(?:8[69][2-68]|9(?:0[01]|3[019]))\\d{6,10}",[9,10,11,12,13]],0,0,0,0,["5(?:0[1-9]|17|[79]\\d)\\d{2,10}|7[28]0\\d{6,10}",[5,6,7,8,9,10,11,12,13]],["8(?:10|2[018])\\d{6,10}|828\\d{5}",[8,9,10,11,12,13]]]],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:241|349)0\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|[34]\\d\\d)|91(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79]))))\\d{3}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]],0,0,0,0,0,0,[["5(?:2\\d|8[1-9])\\d{4}"],["(?:290|5[69]\\d|6(?:[03]0|22|4[0-2]|[69]\\d)|7(?:[34]\\d|7[07])|9(?:6[45]|9[4-8]))\\d{4}"],["800\\d{4}"],["900\\d{4}"],0,0,0,0,["(?:28\\d|501)\\d{4}"]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",[["18[1-8]\\d{3,6}",[6,7,8,9]],["4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",[6,7,8,9,10]],["800\\d{4,6}",[7,8,9]],["[67]00\\d{5,6}",[8,9]],0,0,["20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}"]],"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:2[12]428|3655[02])\\d{4}|(?:2(?:22[0-79]|63[0-28])|3654)\\d{5}|(?:(?:1[28]|46)\\d|2(?:[014-6]2|[23]3))\\d{6}"],["36554\\d{4}|(?:[16]0|4[04]|5[015]|7[07]|99)\\d{7}"],["88\\d{7}"],["900200\\d{3}"]]],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0",0,0,0,0,0,[["(?:3(?:[05-79][2-9]|1[4579]|[23][24-9]|4[2-4689]|8[2457-9])|49[2-579]|5(?:0[2-49]|[13][2-9]|[268][2-4679]|4[4689]|5[2-79]|7[2-69]|9[2-4689]))\\d{5}",[8]],["6040\\d{5}|6(?:03|[1-356]|44|7\\d)\\d{6}"],["8[08]\\d{6}",[8]],["9[0246]\\d{6}",[8]],0,0,["703[235]0\\d{3}|70(?:2[0-5]|3[0146]|[56]0)\\d{4}",[8]],0,0,["8[12]\\d{6}",[8]]]],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246",[["246521[0369]\\d{3}|246(?:2(?:2[78]|7[0-4])|4(?:1[024-6]|2\\d|3[2-9])|5(?:20|[34]\\d|54|7[1-3])|6(?:2\\d|38)|7[35]7|9(?:1[89]|63))\\d{4}"],["246(?:(?:2(?:[3568]\\d|4[0-57-9])|3(?:5[2-9]|6[0-6])|4(?:46|5\\d)|69[5-7]|8(?:[2-5]\\d|83))\\d|52(?:1[147]|20))\\d{3}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["(?:246976|900[2-9]\\d\\d)\\d{4}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"],0,["246(?:292|367|4(?:1[7-9]|3[01]|4[47-9]|67)|7(?:1[2-9]|2\\d|3[016]|53))\\d{4}"],0,["24631\\d{5}"]]],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0",0,0,0,0,0,[["(?:4(?:31\\d\\d|423)|5222)\\d{3}(?:\\d{2})?|8332[6-9]\\d\\d|(?:3(?:03[56]|224)|4(?:22[25]|653))\\d{3,4}|(?:3(?:42[47]|529|823)|4(?:027|525|65(?:28|8))|562|6257|7(?:1(?:5[3-5]|6[12]|7[156]|89)|22[589]56|32|42675|52(?:[25689](?:56|8)|[347]8)|71(?:6[1267]|75|89)|92374)|82(?:2[59]|32)56|9(?:03[23]56|23(?:256|373)|31|5(?:1|2[4589]56)))\\d{3}|(?:3(?:02[348]|22[35]|324|422)|4(?:22[67]|32[236-9]|6(?:2[46]|5[57])|953)|5526|6(?:024|6655)|81)\\d{4,5}|(?:2(?:7(?:1[0-267]|2[0-289]|3[0-29]|4[01]|5[1-3]|6[013]|7[0178]|91)|8(?:0[125]|1[1-6]|2[0157-9]|3[1-69]|41|6[1-35]|7[1-5]|8[1-8]|9[0-6])|9(?:0[0-2]|1[0-4]|2[568]|3[3-6]|5[5-7]|6[0136-9]|7[0-7]|8[014-9]))|3(?:0(?:2[025-79]|3[2-4])|181|22[12]|32[2356]|824)|4(?:02[09]|22[348]|32[045]|523|6(?:27|54))|666(?:22|53)|7(?:22[57-9]|42[56]|82[35])8|8(?:0[124-9]|2(?:181|2[02-4679]8)|4[12]|[5-7]2)|9(?:[04]2|2(?:2|328)|81))\\d{4}|(?:2(?:[23]\\d|[45])\\d\\d|3(?:1(?:2[5-7]|[5-7])|425|822)|4(?:033|1\\d|[257]1|332|4(?:2[246]|5[25])|6(?:2[35]|56|62)|8(?:23|54)|92[2-5])|5(?:02[03489]|22[457]|32[35-79]|42[46]|6(?:[18]|53)|724|826)|6(?:023|2(?:2[2-5]|5[3-5]|8)|32[3478]|42[34]|52[47]|6(?:[18]|6(?:2[34]|5[24]))|[78]2[2-5]|92[2-6])|7(?:02|21\\d|[3-589]1|6[12]|72[24])|8(?:217|3[12]|[5-7]1)|9[24]1)\\d{5}|(?:(?:3[2-8]|5[2-57-9]|6[03-589])1|4[4689][18])\\d{5}|[59]1\\d{5}"],["(?:1[13-9]\\d|644)\\d{7}|(?:3[78]|44|66)[02-9]\\d{7}",[10]],["80[03]\\d{7}",[10]],0,0,0,0,0,["96(?:0[469]|1[0-47]|3[389]|43|6[69]|7[78])\\d{6}",[10]]]],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0",0,0,0,0,0,[["80[2-8]\\d{5}|(?:1[0-69]|[23][2-8]|4[23]|5\\d|6[013-57-9]|71|8[1-79]|9[2-4])\\d{6}",[8]],["4[5-9]\\d{7}",[9]],["800[1-9]\\d{4}",[8]],["(?:70(?:2[0-57]|3[04-7]|44|6[04-69]|7[0579])|90\\d\\d)\\d{4}",[8]],0,0,["78(?:0[578]|1[014-8]|2[25]|3[15-8]|48|5[05]|60|7[06-8]|9\\d)\\d{4}",[8]],0,0,["7879\\d{4}",[8]]]],BF:["226","00","(?:[025-7]\\d|44)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[024-7]"]]],0,0,0,0,0,0,[["2(?:0(?:49|5[23]|6[5-7]|9[016-9])|4(?:4[569]|5[4-6]|6[5-7]|7[0179])|5(?:[34]\\d|50|6[5-7]))\\d{4}"],["(?:0[1-7]|44|5[0-8]|[67]\\d)\\d{6}"]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0",0,0,0,0,0,[["2\\d{5,7}|(?:43[1-6]|70[1-9])\\d{4,5}|(?:[36]\\d|4[124-7]|[57][1-9]|8[1-6]|9[1-7])\\d{5,6}",[6,7,8]],["(?:43[07-9]|99[69]\\d)\\d{5}|(?:8[7-9]|98)\\d{7}",[8,9]],["(?:00800\\d\\d|800)\\d{5}",[8,12]],["90\\d{6}",[8]],0,0,0,0,0,["700\\d{5}",[8]]]],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]],0,0,0,0,0,0,[["(?:1(?:3[1356]|6[0156]|7\\d)\\d|6(?:1[16]\\d|500|6(?:0\\d|3[12]|44|55|7[7-9]|88)|9[69][69])|7(?:[07]\\d\\d|1(?:11|78)))\\d{4}"],["(?:3(?:[0-79]\\d|8[0-57-9])\\d|6(?:3(?:00|33|6[16])|441|6(?:3[03-9]|[69]\\d|7[0-689])))\\d{4}"],["8[02369]\\d{6}"],["(?:87|9[0-8])\\d{6}"],0,0,0,0,0,["84\\d{6}"]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]],0,0,0,0,0,0,[["(?:22|31)\\d{6}"],["(?:29|6[124-9]|7[125-9])\\d{6}"]]],BJ:["229","00","(?:01\\d|8)\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]],0,0,0,0,0,0,[["012\\d{7}",[10]],["01(?:2[5-9]|[4-69]\\d)\\d{6}",[10]],0,0,0,0,["81\\d{6}",[8]],0,["857[58]\\d{4}",[8]]]],BL:["590","00","(?:590\\d|7090)\\d{5}|(?:69|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]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]],0,0,0,0,0,0,[["22[0-7]\\d{4}|(?:2[013-9]|[34]\\d|5[0-25-9])\\d{5}"],["(?:22[89]|[78]\\d\\d)\\d{4}"],0,0,0,0,0,0,["5[34]\\d{5}"]]],BO:["591","00(?:1\\d)?","8001\\d{5}|(?:[2-467]\\d|50)\\d{6}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[235]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?",0,0,0,[["(?:2(?:2\\d\\d|5(?:11|[258]\\d|9[67])|6(?:12|2\\d|9[34])|8(?:2[34]|39|62))|3(?:3\\d\\d|4(?:6\\d|8[24])|8(?:25|42|5[257]|86|9[25])|9(?:[27]\\d|3[2-4]|4[248]|5[24]|6[2-6]))|4(?:4\\d\\d|6(?:11|[24689]\\d|72)))\\d{4}",[8]],["[67]\\d{7}",[8]],["8001[07]\\d{4}",[9]],0,0,0,0,0,["50\\d{6}",[8]]]],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]",[["(?:318[023]|41(?:6[023]|70)|7(?:1[578]|2[05]|50)\\d)\\d{3}"],["(?:31(?:8[14-8]|9[14578])|416[14-9]|7(?:0[01]|7[07]|8\\d|9[056])\\d)\\d{3}"]]],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","[1-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37|86)","300|4(?:0(?:0|20)|370|864)"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2",0,0,[["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\\d{7}",[10]],["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])(?:7|9\\d)\\d{7}",[10,11]],["800\\d{6,7}",[9,10]],["[59]00\\d{6,7}",[9,10]],0,0,0,0,0,["(?:30[03]\\d{3}|4(?:0(?:0\\d|20)|370|864))\\d{4}|300\\d{5}",[8,10]]]],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242",[["242(?:3(?:02|[236][1-9]|4[0-24-9]|5[0-68]|7[347]|8[0-4]|9[2-467])|461|502|6(?:0[1-5]|12|2[013]|[45]0|7[67]|8[78]|9[89])|7(?:02|88))\\d{4}"],["242(?:3(?:5[79]|7[56]|95)|4(?:[23][1-9]|4[1-35-9]|5[1-8]|6[2-8]|7\\d|81)|5(?:2[45]|3[35]|44|5[1-46-9]|65|77)|6[34]6|7(?:27|38)|8(?:0[1-9]|1[02-9]|2\\d|3[0-4]|[89]9))\\d{4}"],["242300\\d{4}|8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"],0,["242225\\d{4}"]]],BT:["975","00","[178]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-6]|7[246]|8[2-4]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|[78]"]]],0,0,0,0,0,0,[["(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\d{5}",[7]],["(?:1[67]|[78]7)\\d{6}",[8]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["(?:2(?:4[0-48]|6[0-24]|9[0578])|3(?:1[0-35-9]|55|[69]\\d|7[013]|81)|4(?:6[03]|7[1267]|9[0-5])|5(?:3[03489]|4[0489]|7[1-47]|88|9[0-49])|6(?:2[1-35]|5[149]|8[013467]))\\d{4}",[7]],["(?:321|7[1-8]\\d)\\d{5}",[8]],["(?:0800|800\\d)\\d{6}",[10]],["90\\d{5}",[7]],0,0,0,0,["79(?:1(?:[0-2]\\d|3[0-8])|2[0-7]\\d)\\d{3}",[8]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,[["(?:1(?:5(?:1[1-5]|[24]\\d|6[2-4]|9[1-7])|6(?:[235]\\d|4[1-7])|7\\d\\d)|2(?:1(?:[246]\\d|3[0-35-9]|5[1-9])|2(?:[235]\\d|4[0-8])|3(?:[26]\\d|3[02-79]|4[024-7]|5[03-7])))\\d{5}",[9]],["(?:2(?:5[5-79]|9[1-9])|(?:33|44)\\d)\\d{6}",[9]],["800\\d{3,7}|8(?:0[13]|20\\d)\\d{7}"],["(?:810|902)\\d{7}",[10]],0,0,0,0,["249\\d{6}",[9]]],"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]],0,0,0,0,0,0,[["(?:2(?:[02]\\d|36|[68]0)|[3-58](?:[02]\\d|[68]0)|7(?:[02]\\d|32|[68]0))\\d{4}",[7]],["6[0-35-7]\\d{5}",[7]],["0800\\d{7}",[11]]]],CA:["1","011","[2-9]\\d{9}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|5[07]|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|3[23]|44|66|77|88)|6(?:22|33))[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:12|573)\\d\\d|276)\\d{5}|[1-6]\\d{6}"],["88\\d{5}|(?:8[0-69]|9[016-9])\\d{7}",[7,9]]]],CF:["236","00","(?:[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[02-7]\\d{6}"],0,["8776\\d{4}"]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]],0,0,0,0,0,0,[["222[1-589]\\d{5}"],["026(?:1[0-5]|6[6-9])\\d{4}|0(?:[14-6]\\d\\d|2(?:40|5[5-8]|6[07-9]))\\d{5}"],0,["80[0-2]\\d{6}"]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:2[12467]|3[1-4]|4[134]|5[256]|6[12]|[7-9]1)\\d{7}",[9]],["(?:6[89]|7[235-9])\\d{7}",[9]],["800\\d{6}",[9]],["90[016]\\d{6}",[9]],["878\\d{6}",[9]],["860\\d{9}",[12]],["5[18]\\d{7}",[9]],["74[0248]\\d{6}",[9]],0,["84[0248]\\d{6}",[9]]]],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]],0,0,0,0,0,0,[["2(?:[15]\\d{3}|7(?:2(?:0[23]|1[2357]|2[245]|3[45]|4[3-5])|3(?:06|1[69]|[2-6]7)))\\d{5}"],["0[157]\\d{8}"]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]],0,0,0,0,0,0,[["(?:2\\d|3[13-7]|4[1-5])\\d{3}"],["[578]\\d{4}"]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["60|809"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9(?:10|[2-9])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]],0,0,0,0,0,0,[["2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:(?:2\\d|50)\\d|3(?:[034679]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-389])|600)|646[59])|(?:600|80[1-9])\\d\\d|9(?:(?:10[0-2]|7[1-9]\\d)\\d|3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",[9]],["2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:(?:2\\d|50)\\d|3(?:[034679]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-389])|600)|646[59])|80[1-8]\\d\\d|9(?:(?:10[0-2]|7[1-9]\\d)\\d|3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",[9]],["(?:123|8)00\\d{6}",[9,11]],0,0,0,0,0,["44\\d{7}",[9]],["600\\d{7,8}",[10,11]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]],0,0,0,0,0,0,[["2(?:22|33)\\d{6}",[9]],["(?:24[23]|6(?:[25-9]\\d|40))\\d{6}",[9]],["88\\d{6,7}"]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,[["(?:10(?:[02-79]\\d\\d|[18](?:0[1-9]|[1-9]\\d))|2(?:[02-57-9]\\d{3}|1(?:[18](?:0[1-9]|[1-9]\\d)|[2-79]\\d\\d))|(?:41[03]|8078|9(?:78|94))\\d\\d)\\d{5}|(?:10|2[0-57-9])(?:1(?:00|23)\\d\\d|95\\d{3,4})|(?:41[03]|9(?:78|94))(?:100\\d\\d|95\\d{3,4})|8078123|(?:43[35]|754|851)\\d{7,8}|(?:43[35]|754|851)(?:1(?:00\\d|23)\\d|95\\d{3,4})|(?:3(?:11|7[179])|4(?:[15]1|3[12])|5(?:1\\d|2[37]|3[12]|51|7[13-79]|9[15])|7(?:[39]1|5[57]|6[09])|8(?:71|98))(?:[02-8]\\d{7}|1(?:0(?:0\\d\\d(?:\\d{3})?|[1-9]\\d{5})|[13-9]\\d{6}|2(?:[0-24-9]\\d{5}|3\\d(?:\\d{4})?))|9(?:[0-46-9]\\d{6}|5\\d{3}(?:\\d(?:\\d{2})?)?))|(?:3(?:1[02-9]|35|49|5\\d|7[02-68]|9[1-68])|4(?:1[24-9]|2[179]|3[46-9]|5[2-9]|6[47-9]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[17]\\d|2[248]|3[04-9]|4[3-6]|5[0-3689]|6[2368]|9[02-9])|8(?:1[236-8]|2[5-7]|3\\d|5[2-9]|7[02-9]|8[36-8]|9[1-7])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))(?:[02-8]\\d{6}|1(?:0(?:0\\d\\d(?:\\d{2})?|[1-9]\\d{4})|[13-9]\\d{5}|2(?:[0-24-9]\\d{4}|3\\d(?:\\d{3})?))|9(?:[0-46-9]\\d{5}|5\\d{3,5}))",[7,8,9,10,11]],["1740[0-5]\\d{6}|1(?:[38]\\d|4[57]|[59][0-35-9]|6[25-7]|7[0-35-8])\\d{8}",[11]],["(?:(?:10|21)8|8)00\\d{7}",[10,12]],["16[08]\\d{5}",[8]],0,0,0,0,0,["10(?:10\\d{4}|96\\d{3,4})|400\\d{7}|950\\d{7,8}|(?:2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))96\\d{3,4}",[7,8,9,10,11]]],"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["46"]],["(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|9[14]"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?",0,0,0,[["601055(?:[0-4]\\d|50)\\d\\d|6010(?:[0-4]\\d|5[0-4])\\d{4}|(?:46|60(?:[18][1-9]|[24-7][2-9]))\\d{6}",[8,10]],["333301[0-5]\\d{3}|3333(?:00|2[5-9]|[3-9]\\d)\\d{4}|(?:3(?:(?:0[0-5]|1\\d|5[01]|70)\\d|2(?:[0-3]\\d|4[1-9])|3(?:00|3[0-24-9]))|9(?:101|408))\\d{6}",[10]],["1800\\d{7}",[11]],["(?:19(?:0[01]|4[78])|901)\\d{7}",[10,11]]]],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))",0,0,0,[["210[7-9]\\d{4}|2(?:[024-7]\\d|1[1-9])\\d{5}",[8]],["(?:3005\\d|6500[01])\\d{3}|(?:5[07]|6[0-4]|7[0-3]|8[3-9])\\d{6}",[8]],["800\\d{7}",[10]],["90[059]\\d{7}",[10]],0,0,0,0,["(?:210[0-6]|4\\d{3}|5100)\\d{4}",[8]]]],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:3[23]|4[89])\\d{4,6}|(?:31|4[36]|8(?:0[25]|78)\\d)\\d{6}|(?:2[1-4]|4[1257]|7\\d)\\d{5,6}"],["(?:5\\d|6[2-4])\\d{6}",[8]],["800\\d{7}",[10]],0,0,0,0,0,0,["807\\d{7}",[10]]]],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]],0,0,0,0,0,0,[["2(?:2[1-7]|3[0-8]|4[12]|5[1256]|6\\d|7[1-3]|8[1-5])\\d{4}"],["(?:36|5[1-389]|9\\d)\\d{5}"],["800\\d{4}"],0,0,0,0,0,["(?:3[3-5]|4[356])\\d{5}"]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]",[["9(?:4(?:3[0-5]|4[14]|6\\d)|50\\d|7(?:2[014]|3[02-9]|4[4-9]|6[357]|77|8[7-9])|8(?:3[39]|[46]\\d|7[01]|8[57-9]))\\d{4}"],["953[01]\\d{4}|9(?:5[12467]|6[5-9])\\d{5}"],0,0,0,0,0,["955\\d{5}",[8]],0,["60[0-2]\\d{4}",[7]]]],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]],0,0,0,0,0,0,[["2[2-6]\\d{6}"],["9(?:10|[4-79]\\d)\\d{5}"],["800\\d{5}"],["90[09]\\d{5}"],["700\\d{5}"],0,["(?:50|77)\\d{6}"],0,0,["80[1-9]\\d{5}"]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9,10,11,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,[["(?:2\\d|3[1257-9]|4[16-9]|5[13-9])\\d{7}",[9]],["7(?:060\\d|19(?:[0-5]\\d|6[0-6]))\\d{4}|(?:60[1-8]|7(?:0[2-5]|[2379]\\d))\\d{6}",[9]],["800\\d{6}",[9]],["9(?:0[05689]|76)\\d{6}",[9]],["70[01]\\d{6}",[9]],["9(?:3\\d{9}|6\\d{7,10})"],["9(?:5\\d|7[2-4])\\d{6}",[9]],0,["9[17]0\\d{6}",[9]],["8[134]\\d{7}",[9]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|3[13])"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0",0,0,0,0,0,[["32\\d{9,11}|49[1-6]\\d{10}|322\\d{6}|49[0-7]\\d{3,9}|(?:[34]0|[68]9)\\d{3,13}|(?:2(?:0[1-689]|[1-3569]\\d|4[0-8]|7[1-7]|8[0-7])|3(?:[3569]\\d|4[0-79]|7[1-7]|8[1-8])|4(?:1[02-9]|[2-48]\\d|5[0-6]|6[0-8]|7[0-79])|5(?:0[2-8]|[124-6]\\d|[38][0-8]|[79][0-7])|6(?:0[02-9]|[1-358]\\d|[47][0-8]|6[1-9])|7(?:0[2-8]|1[1-9]|[27][0-7]|3\\d|[4-6][0-8]|8[0-5]|9[013-7])|8(?:0[2-9]|1[0-79]|2\\d|3[0-46-9]|4[0-6]|5[013-9]|6[1-8]|7[0-8]|8[0-24-6])|9(?:0[6-9]|[1-4]\\d|[589][0-7]|6[0-8]|7[0-467]))\\d{3,12}",[5,6,7,8,9,10,11,12,13,14,15]],["1(?:(?:5(?:[0-25-9]\\d\\d|3(?:10|33))|7[26-9]\\d\\d)\\d{6}|6[023]\\d{7,8})|17\\d{8}",[10,11]],["800\\d{7,12}",[10,11,12,13,14,15]],["(?:137[7-9]|900(?:[135]|9\\d))\\d{6}",[10,11]],["700\\d{8}",[11]],["1(?:6(?:013|255|399)|7(?:(?:[015]1|[69]3)3|[2-4]55|[78]99))\\d{7,8}|15(?:(?:[03-68]00|113)\\d|2\\d55|7\\d99|9\\d33)\\d{7}",[12,13]],["18(?:1\\d{5,11}|[2-9]\\d{8})",[8,9,10,11,12,13,14]],["16(?:4\\d{1,10}|[89]\\d{1,11})",[4,5,6,7,8,9,10,11,12,13,14]],0,["180\\d{5,11}|13(?:7[1-6]\\d\\d|8)\\d{4}",[7,8,9,10,11,12,13,14]]]],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]],0,0,0,0,0,0,[["2(?:1[2-5]|7[45])\\d{5}"],["77\\d{6}"]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]],0,0,0,0,0,0,[["(?:2(?:[0-59][1-9]|[6-8]\\d)|3(?:[0-3][1-9]|4[13]|5[1-58]|6[1347-9]|7\\d|8[1-8]|9[1-79])|4(?:[0-25][1-9]|[34][2-9]|6[13-579]|7[13579]|8[1-47]|9[127])|5(?:[0-36][1-9]|4[146-9]|5[3-57-9]|7[568]|8[1-358]|9[1-69])|6(?:[0135][1-9]|2[1-68]|4[2-8]|6[1689]|[78]\\d|9[15689])|7(?:[0-69][1-9]|7[3-9]|8[147])|8(?:[16-9][1-9]|2[1-58])|9(?:[1-47-9][1-9]|6\\d))\\d{5}"],["(?:2[6-8]|37|6[78]|96)\\d{6}|(?:2[0-59]|3[0-689]|[457]\\d|6[0-69]|8[126-9]|9[1-47-9])[1-9]\\d{5}"],["80\\d{6}"],["90\\d{6}"]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767",[["767(?:2(?:55|66)|4(?:2[01]|4[0-25-9])|50[0-4])\\d{4}"],["767(?:2(?:[2-4689]5|7[5-7])|31[5-7]|61[1-8]|70[1-6])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9",[["8(?:[04]9[2-9]\\d\\d|29(?:2(?:[0-59]\\d|6[04-9]|7[0-27]|8[0237-9])|3(?:[0-35-9]\\d|4[7-9])|[45]\\d\\d|6(?:[0-27-9]\\d|[3-5][1-9]|6[0135-8])|7(?:0[013-9]|[1-37]\\d|4[1-35689]|5[1-4689]|6[1-57-9]|8[1-79]|9[1-8])|8(?:0[146-9]|1[0-48]|[248]\\d|3[1-79]|5[01589]|6[013-68]|7[124-8]|9[0-8])|9(?:[0-24]\\d|3[02-46-9]|5[0-79]|60|7[0169]|8[57-9]|9[02-9])))\\d{4}"],["8[024]9[2-9]\\d{6}"],["800(?:14|[2-9]\\d)\\d{5}|8[024]9[01]\\d{6}|8(?:33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0",0,0,0,0,0,[["9619\\d{5}|(?:1\\d|2[013-79]|3[0-8]|4[013-689])\\d{6}"],["(?:5(?:4[0-29]|5\\d|6[0-3])|6(?:[569]\\d|7[0-6])|7[7-9]\\d)\\d{6}",[9]],["800\\d{6}",[9]],["80[3-689]1\\d{5}",[9]],0,0,0,0,["98[23]\\d{6}",[9]],["80[12]1\\d{5}",[9]]]],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0",0,0,0,0,0,[["[2-7][2-7]\\d{6}",[8]],["964[0-2]\\d{5}|9(?:39|[57][89]|6[0-36-9]|[89]\\d)\\d{6}",[9]],["1800\\d{7}|1[78]00\\d{6}",[10,11]],0,0,0,0,0,["[2-7]890\\d{4}",[8]]]],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["(?:3[23589]|4[3-8]|6\\d|7[1-9]|88)\\d{5}",[7]],["(?:5\\d{5}|8(?:1(?:0(?:0(?:00|[178]\\d)|[3-9]\\d\\d)|(?:1(?:0[2-6]|1\\d)|[2-79]\\d\\d)\\d)|2(?:0(?:0(?:00|4\\d)|(?:19|[2-7]\\d)\\d)|(?:(?:[124-69]\\d|3[5-9])\\d|7(?:[0-79]\\d|8[013-9])|8(?:[2-6]\\d|7[01]))\\d)|[349]\\d{4}))\\d\\d|5(?:(?:[02]\\d|5[0-478])\\d|1(?:[0-8]\\d|95)|6(?:4[0-4]|5[1-589]))\\d{3}",[7,8]],["800(?:(?:0\\d\\d|1)\\d|[2-9])\\d{3}"],["(?:40\\d\\d|900)\\d{4}",[7,8]],["70[0-2]\\d{5}",[8]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0",0,0,0,0,0,[["13[23]\\d{6}|(?:15|57)\\d{6,7}|(?:2\\d|3|4[05-8]|5[05]|6[24-689]|8[2468]|9[235-7])\\d{7}",[8,9]],["1[0-25]\\d{8}",[10]],["800\\d{7}",[10]],["900\\d{7}",[10]]]],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,0,[["528[89]\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1[12568]|[24]0|55|6[146])|8\\d\\d)\\d{4}"],["(?:17[1-3]|7\\d\\d)\\d{4}"]]],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]],0,0,0,0,0,0,[["96906(?:0[0-8]|1[1-9]|[2-9]\\d)\\d\\d|9(?:69(?:0[0-57-9]|[1-9]\\d)|73(?:[0-8]\\d|9[1-9]))\\d{4}|(?:8(?:[1356]\\d|[28][0-8]|[47][1-9])|9(?:[135]\\d|[268][0-8]|4[1-9]|7[124-9]))\\d{6}"],["96906(?:09|10)\\d\\d|(?:590(?:10[0-2]|600)|97390\\d)\\d{3}|(?:6\\d|7[1-48])\\d{7}"],["[89]00\\d{6}"],["80[367]\\d{6}"],["70\\d{7}"],0,["51\\d{7}"],0,0,["90[12]\\d{6}"]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0",0,0,0,0,0,[["(?:11(?:[124]\\d\\d|3(?:[0-79]\\d|8[0-7])|5(?:[02-9]\\d|1[0-57-9])|6(?:[02-79]\\d|1[0-57-9]|8[0-8]))|2(?:2(?:11[1-9]|22[0-7]|33\\d|44[1467]|66[1-68])|5(?:11[124-6]|33[2-8]|44[1467]|55[14]|66[1-3679]|77[124-79]|880))|3(?:3(?:11[0-46-8]|(?:22|55)[0-6]|33[0134689]|44[04]|66[01467])|4(?:44[0-8]|55[0-69]|66[0-3]|77[1-5]))|4(?:6(?:119|22[0-24-7]|33[1-5]|44[13-69]|55[14-689]|660|88[1-4])|7(?:(?:11|22)[1-9]|33[13-7]|44[13-6]|55[1-689]))|5(?:7(?:227|55[05]|(?:66|77)[14-8])|8(?:11[149]|22[013-79]|33[0-68]|44[013-8]|550|66[1-5]|77\\d)))\\d{4}"],["700[1-9]\\d{5}|(?:7(?:0[1-9]|1[0-8]|2[1-35-79]|3\\d|77|86|99)|9\\d\\d)\\d{6}"]]],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",[["1[3-7][1-8]\\d{3,6}|(?:19[1-8]|[23568][1-8]\\d|9(?:00|[1-8]\\d))\\d{2,6}",[5,6,7,8,9]],["4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",[6,7,8,9,10]],["800\\d{4,6}",[7,8,9]],["[67]00\\d{5,6}",[8,9]],0,0,["20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}"]],"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,[["603\\d{4}|(?:3[0-5]|6[25-7]|8[58])\\d{5}",[7]],["(?:[279]\\d|45|5[01568]|8[034679])\\d{5}",[7]],["0800\\d{7}",[11]]],"00"],FK:["500","00","[2-7]\\d{4}",[5],0,0,0,0,0,0,0,[["[2-47]\\d{4}"],["[56]\\d{4}"]]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]],0,0,0,0,0,0,[["31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-6]\\d)\\d)\\d{3}"],["31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-7]\\d)\\d)\\d{3}"]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))",0,0,0,[["(?:20|[34]\\d|8[19])\\d{4}"],["(?:[27][1-9]|5\\d|9[16])\\d{4}"],["80[257-9]\\d{3}"],["90(?:[13-5][15-7]|2[125-7]|9\\d)\\d\\d"],0,0,0,0,["(?:6[0-36]|88)\\d{4}"]]],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0",0,0,0,0,0,[["(?:26[013-9]|59[1-35-9])\\d{6}|(?:[13]\\d|2[0-57-9]|4[1-9]|5[0-8])\\d{7}"],["(?:6(?:[0-24-8]\\d|3[0-8]|9[589])|7[3-9]\\d)\\d{6}"],["80[0-5]\\d{6}"],["836(?:0[0-36-9]|[1-9]\\d)\\d{4}|8(?:1[2-9]|2[2-47-9]|3[0-57-9]|[569]\\d|8[0-35-9])\\d{6}"],0,0,["80[6-9]\\d{6}"],0,["9\\d{8}"],["8(?:1[01]|2[0156]|4[024]|84)\\d{6}"]]],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1",0,0,[["[01]1\\d{6}",[8]],["(?:(?:0[2-7]|7[467])\\d|6(?:0[0-4]|10|[256]\\d))\\d{5}|[2-7]\\d{6}"]]],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,"0|180020",0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473",[["473(?:2(?:3[0-2]|69)|3(?:2[89]|86)|4(?:[06]8|3[5-9]|4[0-4]|5[59]|73|90)|63[68]|7(?:58|84)|800|938)\\d{4}"],["473(?:4(?:0[2-79]|1[04-9]|2[0-5]|49|5[6-8])|5(?:2[01]|3[3-8])|901)\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0",0,0,0,0,0,[["(?:3(?:[256]\\d|4[124-9]|7[0-4])|4(?:1\\d|2[2-7]|3[1-79]|4[2-8]|7[239]|9[1-7]))\\d{6}"],["5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|5(?:0(?:0(?:1[09]|70)|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\d{3}|(?:5(?:0(?:0(?:0\\d|1[12]|22|3[0-6]|44|5[05]|77|88|9[09])|(?:[14]\\d|77)\\d|22[02])|1(?:1(?:[03][01]|[124]\\d|5[2-6]|7[0-6])|4\\d\\d)|[23]555|4(?:4\\d\\d|555)|5(?:[0157-9]\\d\\d|200|333|444)|6[89]\\d\\d|7(?:(?:[0147-9]\\d|22)\\d|5(?:00|[57]5))|8(?:0(?:[018]\\d|2[0-4])|5(?:55|8[89])|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}"],["800\\d{6}"],0,0,0,0,0,["70[67]\\d{6}"]]],GF:["594","00","(?:[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|180020","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0",0,0,0,0,0,[["3082[0-5]\\d{4}|3(?:0(?:[237]\\d|8[01])|[167](?:2[0-6]|7\\d|80)|2(?:2[0-5]|7\\d|80)|3(?:2[0-3]|7\\d|80)|4(?:2[013-9]|3[01]|7\\d|80)|5(?:2[0-7]|7\\d|80)|8(?:2[0-2]|7\\d|80)|9(?:[28]0|7\\d))\\d{5}",[9]],["(?:2(?:[0346-9]\\d|5[67])|5(?:[03-7]\\d|9[1-9]))\\d{6}",[9]],["800\\d{5}",[8]]]],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]],0,0,0,0,0,0,[["2190[0-2]\\d{3}|2(?:0(?:[02]\\d|3[01])|16[24-9]|2[2-5]\\d)\\d{4}"],["5251[0-4]\\d{3}|(?:5(?:[146-8]\\d\\d|250)|60(?:1[01]|6\\d))\\d{4}"]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]],0,0,0,0,0,0,[["(?:19|3[1-7]|[68][1-9]|70|9\\d)\\d{4}"],["[245]\\d{5}"],["80\\d{4}"],0,0,0,0,0,["3[89]\\d{4}"]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],0,0,0,0,0,0,[["(?:4(?:[23]\\d\\d|4(?:1[024679]|[6-9]\\d))|5(?:5(?:3\\d|4[0-7])|6[67]\\d|7(?:1[04]|2[035]|3[58]|48))|8[0-589]\\d\\d)\\d{3}"],["556\\d{4}|(?:[23679]\\d|4[015]|5[0-489]|8[67])\\d{5}"]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]],0,0,0,0,0,0,[["3(?:0(?:24|3[12]|4[1-35-7]|5[13]|6[189]|[78]1|9[1478])|1\\d\\d)\\d{4}",[8]],["6[0-356]\\d{7}",[9]],0,0,0,0,0,0,["722\\d{6}",[9]]]],GP:["590","00","(?:590\\d|7090)\\d{5}|(?:69|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]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]],0,0,0,0,0,0,[["443\\d{6}",[9]],["9(?:5\\d|6[569]|77)\\d{6}",[9]],0,0,0,0,0,0,["40\\d{5}",[7]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],0,0,0,0,0,0,[["(?:2(?:1[6-9]|2[0-35-9]|3[1-4]|5[3-9]|6\\d|7[0-79])|3(?:2[25-9]|3\\d)|4(?:4[0-24]|5[56])|50[0-6]|77[1-57])\\d{4}"],["(?:51[01]|6\\d\\d|7(?:[0-5]\\d|6[0-69]|70))\\d{4}"],["(?:289|8(?:00|6[28]|88|99))\\d{4}"],["9008\\d{3}"],0,0,0,0,["515\\d{4}"]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,[["(?:2(?:[13-9]\\d|2[013-9])\\d|3(?:(?:[1569][0-24-9]|4[0-246-9]|7[0-24-69])\\d|8(?:4[0-8]|[579]\\d|6[0-5]))|58(?:0[1-9]|1[2-9]))\\d{4}",[8]],["(?:4(?:09[3-6]|44[0-35-9]|6(?:4[0-57-9]|6[0-6])|7(?:4[0-48]|6[0-5]))|5(?:25[3-7]|35[4-8]|73[0-6]|95[0-8])|6(?:26[013-8]|(?:66|78)[0-5])|70(?:7[1-8]|8[0-8])|84(?:4[0-2]|8[0-35-9])|9(?:29[013-9]|39[014-9]|59[0-467]|899))\\d{4}|(?:4(?:4[0-35-9]|6[0-357-9]|7[0-35])|5(?:[1-59][0-46-9]|6[0-4689]|7[0-246-9])|6(?:0[1-9]|[13-59]\\d|[268][0-57-9]|7[0-79])|70[1-59]|84[0-39]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}",[8]],["800\\d{6}",[9]],["900(?:[0-24-9]\\d{7}|3\\d{1,4})",[5,6,7,8,11]],["8(?:1[0-4679]\\d|2(?:[0-36]\\d|7[0-4])|3(?:[034]\\d|2[09]|70))\\d{4}",[8]],0,["30(?:0[1-9]|[15-7]\\d|2[047]|89)\\d{4}",[8]],["7(?:1(?:0[0-38]|1[0-3679]|3[013]|69|9[0136])|2(?:[02389]\\d|1[18]|7[27-9])|3(?:[0-38]\\d|7[0-369]|9[2357-9])|47\\d|5(?:[178]\\d|5[0-5])|6(?:0[0-7]|2[236-9]|[35]\\d)|7(?:[27]\\d|8[7-9])|8(?:[23689]\\d|7[1-9])|9(?:[025]\\d|6[0-246-8]|7[0-36-9]|8[238]))\\d{4}",[8]]],"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]],0,0,0,0,0,0,[["2(?:2(?:0[0-59]|1[1-9]|[23]\\d|4[02-7]|5[57]|6[245]|7[0135689]|8[01346-9]|9[0-2])|4(?:0[578]|2[3-59]|3[13-9]|4[0-68]|5[1-3589])|5(?:0[2357-9]|1[1-356]|4[03-5]|5\\d|6[014-69]|7[04]|80)|6(?:[056]\\d|17|2[067]|3[047]|4[0-378]|[78][0-8]|9[01])|7(?:0[5-79]|6[46-9]|7[02-9]|8[034]|91)|8(?:79|8[0-357-9]|9[1-57-9]))\\d{4}",[8]],["[37-9]\\d{7}",[8]],["8002\\d{7}",[11]]]],HR:["385","00","[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}",[7,8,9],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0",0,0,0,0,0,[["1\\d{7}|(?:2[0-3]|3[1-5]|4[02-47-9]|5[1-3])\\d{6,7}",[8,9]],["9(?:(?:0[1-9]|[12589]\\d)\\d\\d|7(?:[0679]\\d\\d|5(?:[01]\\d|44|55|77|9[5-79])))\\d{4}|98\\d{6}",[8,9]],["80\\d{5,7}"],["6[01459]\\d{6}|6[01]\\d{5}",[7,8]],["7[45]\\d{6}",[8]],0,["62\\d{6,7}|72\\d{6}",[8,9]]]],HT:["509","00","[2-589]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]],0,0,0,0,0,0,[["2(?:2\\d|5[1-5]|81|9[149])\\d{5}"],["(?:[34]\\d|5[56])\\d{6}"],["8\\d{7}"],0,0,0,0,0,["9(?:[67][0-4]|8[0-3589]|9\\d)\\d{5}"]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06",0,0,0,0,0,[["(?:1\\d|[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6[23689]|8[2-57-9]|9[2-69])\\d{6}",[8]],["(?:[257]0|3[01])\\d{7}",[9]],["(?:[48]0\\d|680[29])\\d{5}"],["9[01]\\d{6}",[8]],0,0,["38\\d{7}",[9]],0,["21\\d{7}",[9]]]],ID:["62","00[89]","00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13,14,15,16,17],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0",0,0,0,0,0,[["2[124]\\d{7,8}|619\\d{8}|2(?:1(?:14|500)|2\\d{3})\\d{3}|61\\d{5,8}|(?:2(?:[35][1-4]|6[0-8]|7[1-6]|8\\d|9[1-8])|3(?:1|[25][1-8]|3[1-68]|4[1-3]|6[1-3568]|7[0-469]|8\\d)|4(?:0[1-589]|1[01347-9]|2[0-36-8]|3[0-24-68]|43|5[1-378]|6[1-5]|7[134]|8[1245])|5(?:1[1-35-9]|2[25-8]|3[124-9]|4[1-3589]|5[1-46]|6[1-8])|6(?:[25]\\d|3[1-69]|4[1-6])|7(?:02|[125][1-9]|[36]\\d|4[1-8]|7[0-36-9])|9(?:0[12]|1[013-8]|2[0-479]|5[125-8]|6[23679]|7[159]|8[01346]))\\d{5,8}",[7,8,9,10,11]],["8[1-35-9]\\d{7,10}",[9,10,11,12]],["00(?:1803\\d{5,11}|7803\\d{7})|(?:177\\d|800)\\d{5,7}",[8,9,10,11,12,13,14,15,16,17]],["809\\d{7}",[10]],0,0,["(?:1500|8071\\d{3})\\d{3}",[7,10]],0,0,["804\\d{7}",[10]]]],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:1\\d|21)\\d{6,7}|(?:2[24-9]|4(?:0[24]|5\\d|7)|5(?:0[45]|1\\d|8)|6(?:1\\d|[237-9])|9(?:1\\d|[35-9]))\\d{5}|(?:23|4(?:[1-469]|8\\d)|5[23679]|6[4-6]|7[14]|9[04])\\d{7}"],["8(?:22|[35-9]\\d)\\d{6}",[9]],["1800\\d{6}",[10]],["15(?:1[2-8]|[2-8]0|9[089])\\d{6}",[10]],["700\\d{6}",[9]],["88210[1-9]\\d{4}|8(?:[35-79]5\\d\\d|8(?:[013-9]\\d\\d|2(?:[01][1-9]|[2-9]\\d)))\\d{5}",[10]],["818\\d{6}",[9]],0,["76\\d{7}",[9]],["18[59]0\\d{6}",[10]]]],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0",0,0,0,0,0,[["153\\d{8,9}|29[1-9]\\d{5}|(?:2[0-8]|[3489]\\d)\\d{6}",[8,11,12]],["55(?:4(?:0[0-2]|[16]0)|57[0-289])\\d{4}|5(?:(?:[0-2][02-9]|[36]\\d|[49][2-9]|8[3-7])\\d|5(?:01|2\\d|3[0-3]|4[3-5]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}",[9]],["1(?:255|80[019]\\d{3})\\d{3}",[7,10]],["1212\\d{4}|1(?:200|9(?:0[0-2]|19))\\d{6}",[8,10]],0,["151\\d{8,9}",[11,12]],["1599\\d{6}",[10]],0,["7(?:38(?:[05]\\d|8[0138])|8(?:33|55|77|81)\\d)\\d{4}|7(?:18|2[23]|3[237]|47|6[258]|7\\d|82|9[2-9])\\d{6}",[9]],["1700\\d{6}",[10]]]],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0|180020","1624$1",0,"74576|(?:16|7[56])24",[["1624(?:230|[5-8]\\d\\d)\\d{3}"],["76245[06]\\d{4}|7(?:4576|[59]24\\d|624[0-4689])\\d{5}"],["808162\\d{4}"],["8(?:440[49]06|72299\\d)\\d{3}|(?:8(?:45|70)|90[0167])624\\d{4}"],["70\\d{8}"],0,["3440[49]06\\d{3}|(?:3(?:08162|3\\d{4}|45624|7(?:0624|2299))|55\\d{4})\\d{4}"],0,["56\\d{8}"]]],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689])\\d|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["16|[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["18[06]","18[06]0"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0",0,0,0,0,0,[["(?:2717(?:[2-7]\\d|95)|6828[235-7]\\d)\\d{4}|(?:170[24]|280[13468]|4(?:20[24]|72[2-8])|552[1-7])\\d{6}|(?:271[0-689]|682[0-79]|782[0-6])[2-7]\\d{5}|(?:2(?:[02][2-79]|90)|3(?:23|80)|683|79[1-7])\\d{7}|(?:11|33|4[04]|80)[2-7]\\d{7}|(?:342|674|788)(?:[0189][2-7]|[2-7]\\d)\\d{5}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[13]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[014-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[3-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1245]|4[5-8]|5[125689]|6[235-7]|7[157-9]|8[2-46-8])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[14-6])|7(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|8[013-7]|9[089])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d[2-7]\\d{5}",[10]],["(?:6(?:1279|828[01489])|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\d{5}|(?:160[01]|6(?:12|[2-47]1|5[17]|6[13]|80)[0189]|7(?:1(?:2[0189]|9[0-5])|2(?:[14][017-9]|8[0-59])|3(?:2[5-8]|[34][017-9]|9[016-9])|4(?:1[015-9]|[29][89]|39|8[389])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))\\d{6}|(?:7(?:31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]\\d|7[02-8])\\d{5}|(?:6(?:[09]\\d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:0\\d|2[0235-79]|3[05-8]|40|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]\\d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9\\d\\d)\\d{7}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\\d|7(?:[235689]\\d|4[0189])|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-5])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]|881))[0189]\\d{5}",[10]],["000800\\d{7}|180(?:0\\d{4,9}|3\\d{9})"],["186[12]\\d{9}",[13]],0,0,["140\\d{7}",[10]],0,0,["1860\\d{7}",[11]]]],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]],0,0,0,0,0,0,[["37\\d{5}"],["38\\d{5}"]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,[["1\\d{7}|(?:2[13-5]|3[02367]|4[023]|5[03]|6[026])\\d{6,7}",[8,9]],["7[3-9]\\d{8}",[10]]]],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0",0,0,0,0,0,[["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])(?:[03-57]\\d{7}|[16]\\d{3}(?:\\d{4})?|[289]\\d{3}(?:\\d(?:\\d{3})?)?)|94(?:000[09]|(?:12\\d|30[0-2])\\d|2(?:[02689]0\\d|121)|4(?:111|40\\d))\\d{4}",[6,7,10]],["9(?:(?:0[0-5]|[13]\\d|2[0-3])\\d\\d|9(?:[0-46]\\d\\d|5(?:10|5\\d)|8(?:[12]\\d|88)|9(?:[01359]\\d|21|69|77|8[7-9])))\\d{5}",[10]],0,0,0,0,["96(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19])",[4,5]]]],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["(?:4(?:1[0-24-69]|2[0-7]|[37][0-8]|4[0-24589]|5[0-68]|6\\d|8[0-36-8])|5(?:05|[156]\\d|2[02578]|3[0-579]|4[03-7]|7[0-2578]|8[0-35-9]|9[013-689])|872)\\d{4}",[7]],["(?:38[589]\\d\\d|6(?:1[1-8]|2[0-6]|3[026-9]|4[014679]|5[0159]|6[0-69]|70|8[06-8]|9\\d)|7(?:5[057]|[6-9]\\d)|8(?:2[0-59]|[3-69]\\d|8[238]))\\d{4}"],["80[0-8]\\d{4}",[7]],["90(?:0\\d|1[5-79]|2[015-79]|3[135-79]|4[125-7]|5[25-79]|7[1-37]|8[0-35-7])\\d{3}",[7]],0,["(?:689|8(?:7[18]|80)|95[48])\\d{4}",[7]],["809\\d{4}",[7]],0,["49[0-24-79]\\d{4}",[7]]],"00"],IT:["39","00","0\\d{5,11}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[03]"]]],0,0,0,0,0,0,[["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0|180020","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876",[["8766060\\d{3}|(?:658(?:2(?:[5-8]\\d|9[0-46-9])|[3-9]\\d\\d)|876(?:52[35]|6(?:0[1-3579]|1[0235-9]|[23]\\d|40|5[06]|6[2-589]|7[0-25-9]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468])))\\d{4}"],["(?:6582(?:[0-4]\\d|95)|876(?:2(?:0[1-9]|[13-9]\\d|2[013-9])|[348]\\d\\d|5(?:0[1-9]|[1-9]\\d)|6(?:4[89]|6[67])|7(?:0[07]|7\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579])))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[47]"],"0$1"]],"0",0,0,0,0,0,[["87(?:000|90[01])\\d{3}|(?:2(?:6(?:2[0-35-9]|3[0-578]|4[24-7]|5[0-24-8]|[6-8][023]|9[0-3])|7(?:0[1-79]|10|2[014-7]|3[0-689]|4[019]|5[0-3578]))|32(?:0[1-69]|1[1-35-7]|2[024-7]|3\\d|4[0-3]|[5-7][023])|53(?:0[0-3]|[13][023]|2[0-59]|49|5[0-35-9]|6[15]|7[45]|8[1-6]|9[0-36-9])|6(?:2(?:[05]0|22)|3(?:00|33)|4(?:0[0-25]|1[2-7]|2[0569]|[38][07-9]|4[025689]|6[0-589]|7\\d|9[0-2])|5(?:[01][056]|2[034]|3[0-57-9]|4[178]|5[0-69]|6[0-35-9]|7[1-379]|8[0-68]|9[0239]))|87(?:20|7[078]|99))\\d{4}",[8]],["(?:427|7(?:[78][0-25-9]|9\\d))\\d{6}",[9]],["80\\d{6}",[8]],["9\\d{7}",[8]],["70\\d{7}",[9]],0,["8(?:10|8\\d)\\d{5}",[8]],["74(?:66|77)\\d{5}",[9]],0,["85\\d{6}",[8]]]],JP:["81","010","00[1-9]\\d{6,14}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["3|4(?:2[09]|7[01])|6[1-9]","3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[25-9]"],"0$1"]],"0",0,"(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0","$1",0,0,[["(?:1(?:1[235-8]|2[3-6]|3[3-9]|4[2-6]|[58][2-8]|6[2-7]|7[2-9]|9[1-9])|(?:2[2-9]|[36][1-9])\\d|4(?:[2-578]\\d|6[02-8]|9[2-59])|5(?:[2-589]\\d|6[1-9]|7[2-8])|7(?:[25-9]\\d|3[4-9]|4[02-9])|8(?:[2679]\\d|3[2-9]|4[5-9]|5[1-9]|8[03-9])|9(?:[2-58]\\d|[679][1-9]))\\d{6}",[9]],["(?:601[0-4]0|[7-9]0[1-9]\\d\\d)\\d{5}",[10]],["00777(?:[01]|5\\d)\\d\\d|(?:00(?:7778|882[1245])|(?:120|800\\d)\\d\\d)\\d{4}|00(?:37|66|78)\\d{6,13}"],["990\\d{6}",[9]],["60\\d{7}",[9]],0,["570\\d{6}",[9]],["20\\d{8}",[10]],["50[1-9]\\d{7}",[10]]]],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,[["(?:4[245]|5[1-79]|6[01457-9])\\d{5,7}|(?:4[136]|5[08]|62)\\d{7}|(?:[24]0|66)\\d{6,7}",[7,8,9]],["(?:1(?:0[0-8]|1\\d|2[014]|[34]0)|7\\d\\d)\\d{6}",[9]],["800[02-8]\\d{5,6}",[9,10]],["900[02-9]\\d{5}",[9]]]],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["312(?:5[0-79]\\d|9(?:[0-689]\\d|7[0-24-9]))\\d{3}|(?:3(?:1(?:2[0-46-8]|3[1-9]|47|[56]\\d)|2(?:22|3[0-479]|6[0-7])|4(?:22|5[6-9]|6\\d)|5(?:22|3[4-7]|59|6\\d)|6(?:22|5[35-7]|6\\d)|7(?:22|3[468]|4[1-9]|59|[67]\\d)|9(?:22|4[1-8]|6\\d))|6(?:09|12|2[2-4])\\d)\\d{5}",[9]],["312(?:58\\d|973)\\d{3}|(?:2(?:0[0-35]|2\\d)|5[0-24-7]\\d|600|7(?:[07]\\d|55)|88[08]|9(?:12|9[05-9]))\\d{6}",[9]],["800\\d{6,7}"]]],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0",0,0,0,0,0,[["23(?:4(?:[2-4]|[56]\\d)|[568]\\d\\d)\\d{4}|23[236-9]\\d{5}|(?:2[4-6]|3[2-6]|4[2-4]|[5-7][2-5])(?:(?:[237-9]|4[56]|5\\d)\\d{5}|6\\d{5,6})",[8,9]],["(?:(?:1[28]|3[18]|9[67])\\d|6[016-9]|7(?:[07-9]|[16]\\d)|8(?:[013-79]|8\\d))\\d{6}|(?:1\\d|9[0-57-9])\\d{6}|(?:2[3-6]|3[2-6]|4[2-4]|[5-7][2-5])48\\d{5}",[8,9]],["1800(?:1\\d|2[019])\\d{4}",[10]],["1900(?:1\\d|2[09])\\d{4}",[10]]]],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0",0,0,0,0,0,[["(?:[24]\\d|3[1-9]|50|65(?:02[12]|12[56]|22[89]|[3-5]00)|7(?:27\\d\\d|3100|5(?:02[12]|12[56]|22[89]|[34](?:00|81)|500))|8[0-5])\\d{3}"],["(?:6200[01]|7(?:310[1-9]|5(?:02[03-9]|12[0-47-9]|22[0-7]|[34](?:0[1-9]|8[02-9])|50[1-9])))\\d{3}|(?:63\\d\\d|7(?:(?:[0146-9]\\d|2[0-689])\\d|3(?:[02-9]\\d|1[1-9])|5(?:[0-2][013-9]|[34][1-79]|5[1-9]|[6-9]\\d)))\\d{4}",[8]],0,0,0,0,0,0,["30(?:0[01]\\d\\d|12(?:11|20))\\d\\d",[8]]]],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]],0,0,0,0,0,0,[["7[4-7]\\d{5}"],["[34]\\d{6}"],0,["8\\d{6}"]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869",[["869(?:2(?:29|36)|302|4(?:6[015-9]|70)|56[5-7])\\d{4}"],["869(?:48[89]|55[6-8]|66\\d|76[02-7])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:195|2)\\d|3[19]|4[159]|5[37]|6[17]|7[39]|85)\\d{6}"],["19[1-3]\\d{7}",[10]]]],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?",0,0,0,[["(?:2|3[1-3]|[46][1-4]|5[1-5])[1-9]\\d{6,7}|(?:3[1-3]|[46][1-4]|5[1-5])1\\d{2,3}",[5,6,8,9,10]],["1(?:05(?:[0-8]\\d|9[0-6])|22[13]\\d)\\d{4,5}|1(?:0[0-46-9]|[16-9]\\d|2[013-9])\\d{6,7}",[9,10]],["00(?:308\\d{6,7}|798\\d{7,9})|(?:00368|[38]0)\\d{7}",[9,11,12,13,14]],["60[2-9]\\d{6}",[9]],["50\\d{8,9}",[10,11]],0,["1(?:5(?:22|33|44|66|77|88|99)|6(?:[07]0|44|6[0168]|88)|8(?:00|33|55|77|99))\\d{4}",[8]],["15\\d{7,8}",[9,10]],["70\\d{8}",[10]]]],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]],0,0,0,0,0,0,[["2(?:[23]\\d\\d|4(?:[1-35-9]\\d|44)|5(?:0[034]|[2-46]\\d|5[1-3]|7[1-7]))\\d{4}",[8]],["(?:41\\d\\d|5(?:(?:[05]\\d|1[0-7]|6[56])\\d|2(?:22|5[25])|7(?:55|77)|88[58])|6(?:(?:0[034679]|5[015-9]|6\\d)\\d|1(?:00|11|6[16])|2[26]2|3[36]3|4[46]4|7(?:0[013-9]|[67]\\d)|8[68]8|9(?:[069]\\d|3[039]))|9(?:(?:[04679]\\d|8[057-9])\\d|1(?:00|1[01]|99)|2(?:00|2\\d)|3(?:00|3[03])|5(?:00|5\\d)))\\d{4}",[8]],["18\\d{5}",[7]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345",[["345(?:2(?:22|3[23]|44|66)|333|444|6(?:23|38|40)|7(?:30|4[35-79]|6[6-9]|77)|8(?:00|1[45]|4[89]|88)|9(?:14|4[035-9]))\\d{4}"],["345(?:32[1-9]|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]|3[23]|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,"33622|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",["3"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,0,0,0,0,[["(?:2[13]|[35-7][14]|41|8[1468])\\d{6}",[8]],["(?:20(?:[23579]\\d|8[78])|30[24]\\d)\\d{6}|30\\d{7}",[9,10]]]],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0",0,0,0,0,0,[["7(?:62|8[0-6]|9[04-9])\\d{4}|(?:[14-69]\\d|2(?:[14-69]\\d|[78][1-9])|7[2-57]|8[02-9])\\d{5}"],["(?:(?:3|81)\\d|7(?:[01]\\d|6[013-9]|8[7-9]|9[0-4]))\\d{5}"],0,["9[01]\\d{6}",[8]],0,0,0,0,0,["80\\d{6}",[8]]]],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758",[["758(?:234|4(?:30|5\\d|6[2-9]|8[0-2])|57[0-2]|(?:63|75)8)\\d{4}"],["758(?:28[4-7]|384|4(?:6[01]|8[4-9])|5(?:1[89]|20|84)|7(?:1[2-9]|2\\d|3[0-3])|812)\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0",0,0,0,[["(?:2(?:01|1[27]|2[024]|3\\d|6[02-578]|96)|3(?:[24]0|33|7[0135-7]|8[048]|9[0269]))\\d{4}",[7]],["(?:6(?:(?:4[5-9]|5\\d)\\d|6(?:[024-68]\\d|1[01]|3[7-9]|70))\\d|7(?:[37-9]\\d|42|56))\\d{4}"],["8002[28]\\d\\d|80(?:05\\d|9)\\d{4}"],["90(?:02[258]|1(?:23|3[14])|66[136])\\d\\d",[7]],0,["697(?:42|56|[78]\\d)\\d{4}",[9]],["870(?:28|87)\\d\\d",[7]]]],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0",0,0,0,0,0,[["(?:12[2-9]|602|8[12]\\d|9(?:1\\d|22|9[245]))\\d{6}|(?:11|2[13-7]|3[1-8]|4[157]|5[12457]|6[35-7])[2-57]\\d{6}"],["7(?:[0-25-8]\\d|4[0-4])\\d{6}"],0,0,0,0,["1973\\d{5}"]]],LR:["231","00","(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0",0,0,0,0,0,[["2\\d{7}",[8]],["(?:(?:(?:22|33)0|555|7(?:6[01]|7\\d)|88\\d)\\d|4(?:240|[67]))\\d{5}|[56]\\d{6}",[7,9]],0,["332(?:02|[34]\\d)\\d{4}",[9]]]],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]],0,0,0,0,0,0,[["2\\d{7}"],["[56]\\d{7}"],["800[1256]\\d{4}"]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]",0,0,0,[["(?:3[1478]|4[124-6]|52)\\d{6}"],["6\\d{7}"],["80[02]\\d{5}"],["9(?:0[0239]|10)\\d{5}"],["70[05]\\d{5}"],0,["70[67]\\d{5}"],0,["[89]01\\d{5}"],["808\\d{5}"]]],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["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|78|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2679]|8[01]"]]],0,0,0,0,0,0,[["6\\d{7}"],["2333[0-8]\\d{3}|2(?:[0-24-9]\\d\\d|3(?:0[07]|[14-9]\\d|2[02-9]|3[0-24-9]))\\d{4}"],["80\\d{6}"],["90\\d{6}"],0,0,0,0,0,["81\\d{6}"]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:2(?:0[56]|[1-6]\\d|7[124579]|8[124])|3(?:1\\d|2[2356])|4(?:[17]\\d|2[1-357]|5[2-4]|8[124])|5(?:[1347]\\d|2[1-469]|5[13-5]|8[1-4])|6(?:[1-479]\\d|5[2-57]|8[1-5])|7(?:[13]\\d|2[13-79])|8(?:[124]\\d|5[124]|84))\\d{6}"],["9[1-6]\\d{7}"]]],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{4})(\\d{5})","$1-$2",["892"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8(?:0[0-7]|9)"],"0$1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[5-8]"],"0$1"]],"0",0,0,0,0,"[5-8]",[["5(?:(?:18|4[0679]|5[03])\\d|2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-9])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9]))\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],MC:["377","00","(?:[3489]|[67]\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[67]"],"0$1"]],"0",0,0,0,0,0,[["(?:870|9[2-47-9]\\d)\\d{5}",[8]],["4(?:[469]\\d|5[1-9])\\d{5}|(?:3|[67]\\d)\\d{7}"],["(?:800|90\\d)\\d{5}",[8]]]],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:2[1-9]|3[1-79])\\d|5(?:33|5[257]))\\d{5}"],["562\\d{5}|(?:6\\d|7[16-9])\\d{6}"],["800\\d{5}"],["90[056]\\d{5}"],0,0,["803\\d{5}"],0,["3[08]\\d{6}"],["808\\d{5}"]]],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:20[2-8]|3(?:[0-2][2-7]|3[24-7])|4(?:0[2-467]|1[2467])|5(?:0[2467]|1[24-7]|2[2-467]))\\d{5}",[8]],["6(?:[07-9]\\d|3[024]|6[0-25])\\d{5}",[8]],["80(?:[0-2578]|9\\d)\\d{5}"],["9(?:4[1568]|5[178])\\d{5}",[8]],0,0,["77[1-9]\\d{5}",[8]],0,["78[1-49]\\d{5}",[8]]]],MF:["590","00","(?:590\\d|7090)\\d{5}|(?:69|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-9]\\d{7}"],0,0,0,0,0,0,["22\\d{7}"]]],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1",0,0,0,0,0,[["(?:247|528|625)\\d{4}"],["(?:(?:23|54)5|329|45[35-8])\\d{4}"],0,0,0,0,0,0,["635\\d{4}"]]],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:2(?:62|77)0|3444)\\d|4[56]440)\\d{3}|(?:34|4[357])700\\d{3}|(?:2(?:[0-3]\\d|5[0-578]|6[01]|82)|3(?:1[3-68]|[23][2-68]|4[23568])|4(?:[23][2-68]|4[3-68]|5[2568]|6[25-8]|7[24-68]|8[4-68]))\\d{5}"],["7(?:3555|(?:474|9[019]7)7)\\d{3}|7(?:[0-25-8]\\d\\d|3(?:[1-478]\\d|6[01])|4(?:2\\d|60|7[01578])|9(?:[2-4]\\d|5[01]|7[015]))\\d{4}"],["800\\d{5}"],["5\\d{7}"],0,0,0,0,0,["8(?:0[1-9]|[1-9]\\d)\\d{5}"]]],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]],0,0,0,0,0,0,[["2(?:07[0-8]|12[67])\\d{4}|(?:2(?:02|1[4-689])|4(?:0[0-4]|4[1-59]))\\d{5}"],["2(?:0(?:01|79)|17\\d)\\d{4}|(?:5[0-3]|[679]\\d|8[2-59])\\d{6}"],["80\\d{6}"]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|452|678|86","[12]|452|6788|86"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:(?:12|[28]\\d|3[56]|7[3-6]|9[0-6])\\d|4(?:2[29]|7[0-2]|83)|6)|2(?:2(?:00|8[34])|4(?:0\\d|22|7[0-2]|83)|51\\d\\d)|4(?:2(?:2\\d\\d|48[013])|3(?:20\\d|4(?:70|83)|56)|420\\d|5(?:2\\d|470))|6(?:0(?:[23]|88\\d)|(?:124|[56]2\\d)\\d|2472|3(?:20\\d|470)|4(?:2[04]\\d|472)|7(?:3\\d\\d|4[67]0|8(?:[01459]\\d|8))))\\d{4}|5(?:2(?:2\\d{5,6}|47[02]\\d{4})|(?:3472|4(?:2(?:1|86)|470)|522\\d|6(?:20\\d|483)|7(?:20\\d|48[01])|8(?:20\\d|47[02])|9(?:20\\d|470))\\d{4})|7(?:(?:0470|4(?:25\\d|470)|5(?:202|470|96\\d))\\d{4}|1(?:20\\d{4,5}|4(?:70|83)\\d{4}))|8(?:1(?:2\\d{5,6}|4(?:10|7[01]\\d)\\d{3})|2(?:2\\d{5,6}|(?:320|490\\d)\\d{3})|(?:3(?:2\\d\\d|470)|4[24-7]|5(?:(?:2\\d|51)\\d|4(?:[1-35-9]\\d|4[0-57-9]))|6[23])\\d{4})|(?:1[2-6]\\d|4(?:2[24-8]|3[2-7]|[46][2-6]|5[3-5])|5(?:[27][2-8]|3[2-68]|4[24-8]|5[23]|6[2-4]|8[24-7]|9[2-7])|6(?:[19]20|42[03-6]|(?:52|7[45])\\d)|7(?:[04][24-8]|[15][2-7]|22|3[2-4])|8(?:1[2-689]|2[2-8]|(?:[35]2|64)\\d))\\d{4}|25\\d{5,6}|(?:2[2-9]|6(?:1[2356]|[24][2-6]|3[24-6]|5[2-4]|6[2-8]|7[235-7]|8[245]|9[24])|8(?:3[24]|5[245]))\\d{4}",[6,7,8,9]],["(?:17[01]|9(?:2(?:[0-4]|[56]\\d\\d)|(?:3(?:[0-36]|4\\d)|(?:6\\d|8[89]|9[4-8])\\d|7(?:3|40|[5-9]\\d))\\d|4(?:(?:[0245]\\d|[1379])\\d|88)|5[0-6])\\d)\\d{4}|9[69]1\\d{6}|9(?:[68]\\d|9[089])\\d{5}",[7,8,9,10]],["80080(?:0[1-9]|2\\d)\\d{3}",[10]],0,0,0,0,0,["1333\\d{4}",[8]]]],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0",0,0,0,0,0,[["[12]2[1-3]\\d{5,6}|(?:(?:[12](?:1|27)|5[368])\\d\\d|7(?:0(?:[0-5]\\d|7[078]|80)|128))\\d{4}|[12](?:3[2-8]|4[2-68]|5[1-4689])\\d{6,7}"],["92[0139]\\d{5}|(?:5[05]|6[069]|7[28]|8[0135689]|9[013-9])\\d{6}",[8]],0,0,0,0,0,0,["712[0-79]\\d{4}|7(?:1[013-9]|[5-79]\\d)\\d{5}",[8]]]],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]],0,0,0,0,0,0,[["(?:28[2-9]|8(?:11|[2-57-9]\\d))\\d{5}",[8]],["6800[0-79]\\d{3}|6(?:[235]\\d\\d|6(?:0[0-5]|[1-9]\\d)|8(?:0[1-9]|[14-8]\\d|2[5-9]|[39][0-4]))\\d{4}",[8]],["0800\\d{3}",[7]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670",[["670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],MQ:["596","00","(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|8(?:0[6-9]|[36])"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:596(?:[03-7]\\d|1[05]|2[7-9]|8[0-39]|9[04-9])|80[6-9]\\d\\d|9(?:477[6-9]|767[4589]))\\d{4}"],["(?:69[67]\\d\\d|7091[0-3])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:397[0-3]|477[0-5]|76(?:6\\d|7[0-367]))\\d{4}"]]],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]],0,0,0,0,0,0,[["(?:25[08]|35\\d|45[1-7])\\d{5}"],["[2-4][0-46-9]\\d{6}"],["800\\d{5}"]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664",[["6644(?:1[0-3]|91)\\d{4}"],["664(?:3(?:49|9[1-6])|49[2-6])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]],0,0,0,0,0,0,[["20(?:3[1-4]|6[059])\\d{4}|2(?:0[19]|[1-357]\\d|60)\\d{5}"],["(?:7(?:210|[79]\\d\\d)|9(?:[29]\\d\\d|69[67]|8(?:1[1-3]|89|97)))\\d{4}"],["800(?:02|[3467]\\d)\\d{3}"],["5(?:0(?:0(?:37|43)|(?:6\\d|70|9[0168])\\d)|[12]\\d0[1-5])\\d{3}"],0,0,["501\\d{5}"],["7117\\d{4}"],["3550\\d{4}"]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,[["(?:2(?:[0346-8]\\d|1[0-8])|4(?:[013568]\\d|2[0-24-8]|71|90)|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}",[7,8]],["5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|(?:5(?:2[5-9]|4[3-689]|[57]\\d|8[0-689]|9[0-8])|7(?:0[0-7]|3[013]))\\d{5}",[8]],["802\\d{7}|80[0-2]\\d{4}",[7,10]],["30\\d{5}",[7]],0,0,0,["219\\d{4}",[7]],["3(?:20|9\\d)\\d{4}",[7]]],"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,[["(?:3(?:0[0-4]|3[0-59])|6(?:[58][024689]|6[024-68]|7[02468]))\\d{4}",[7]],["(?:46[46]|[79]\\d\\d)\\d{4}",[7]],["800\\d{7}",[10]],["900\\d{7}",[10]],0,0,["4(?:0[01]|50)\\d{4}",[7]]],"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:1[2-9]|2[12]\\d\\d)\\d{5}"],["111\\d{6}|(?:31|77|[89][89])\\d{7}",[9]]]],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,[["(?:2(?:0[01]|2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[267][1-9]|3[1-8]|[45]\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-36-9]|6[0-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1346][1-9]|[27]\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69]\\d|7[12]|8[1-8]))\\d{7}"],["(?:2(?:2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[267][1-9]|3[1-8]|[45]\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-36-9]|6[0-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1346][1-9]|[27]\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69]\\d|7[12]|8[1-8]))\\d{7}"],["8(?:00|88)\\d{7}"],["900\\d{7}"],["500\\d{7}"],0,0,0,0,["300\\d{7}"]],"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0",0,0,0,0,0,[["427[01]\\d{4}|(?:3(?:2[0-36-9]|3[0-368]|4[0-278]|5[0-24-8]|6[0-467]|7[1246-9]|8\\d|9[0-57])\\d|4(?:2[0-689]|[3-79]\\d|8[1-35689])|5(?:2[0-589]|[3468]\\d|5[0-489]|7[1-9]|9[23])|6(?:2[2-9]|3[1357-9]|[46]\\d|5[0-6]|7[0-35-9]|85|9[015-8])|7(?:[2579]\\d|3[03-68]|4[0-8]|6[5-9]|8[0-35-9])|8(?:[24][2-8]|3[2-5]|5[2-7]|6[2-589]|7[2-578]|[89][2-9])|9(?:0[57]|13|[25-7]\\d|[3489][0-8]))\\d{5}",[8,9]],["1(?:1888[689]|4400|8(?:47|8[27])[0-4])\\d{4}|1(?:0(?:[23568]\\d|4[0-6]|7[016-9]|9[0-8])|1(?:[1-5]\\d\\d|6(?:0[5-9]|[1-9]\\d)|7(?:[0-4]\\d|5[0-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","(?:20|9\\d)\\d{8}|[78]\\d{9,13}",[10,11,12,13,14],[["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0",0,0,0,0,0,[["20(?:[1259]\\d|3[013-9]|4[1-8]|6[024-689]|7[1-79]|8[2-9])\\d{6}",[10]],["(?:702[0-24-9]|819[01])\\d{6}|(?:7(?:0[13-9]|[12]\\d)|8(?:0[1-9]|1[0-8])|9(?:0[1-9]|1[1-6]))\\d{7}",[10]],["800\\d{7,11}"],0,0,0,["700\\d{7,11}"]]],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]],0,0,0,0,0,0,[["2\\d{7}"],["(?:5(?:5[0-7]|[78]\\d)|6(?:20|3[035]|4[045]|5[05]|77|8[1-9]|9[059])|(?:7[5-8]|8\\d)\\d)\\d{5}"],["1800\\d{4}"]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:[035]\\d|1[13-578]|6[124-8]|7[24]|8[0-467])|2(?:[0346]\\d|2[2-46-9]|5[125]|9[479])|3(?:[03568]\\d|1[3-8]|2[01]|4[1-8])|4(?:[0356]\\d|1[1-368]|7[58]|8[15-8]|9[23579])|5(?:[0358]\\d|[19][1-9]|2[1-57-9]|4[13-8]|6[126]|7[0-3578])|7\\d\\d)\\d{6}",[9]],["(?:6[1-58]|970\\d)\\d{7}",[9,11]],["800\\d{4,7}",[7,8,9,10]],["90[069]\\d{4,7}",[7,8,9,10]],0,0,["140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|(?:140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)|8[478]\\d{6})\\d",[5,6,9]],["66\\d{7}",[9]],["(?:85|91)\\d{7}",[9]]]],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]",[["(?:2[1-4]|3[1-3578]|5[1-35-7]|6[1-4679]|7[0-8])\\d{6}",[8]],["(?:4[015-8]|9\\d)\\d{6}",[8]],["80[01]\\d{5}",[8]],["82[09]\\d{5}",[8]],["880\\d{5}",[8]],["81[23]\\d{5}",[8]],["(?:0[235-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}"],0,["85[0-5]\\d{5}",[8]],["810(?:0[0-6]|[2-8]\\d)\\d{3}",[8]]]],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0",0,0,0,0,0,[["(?:1[0-6]\\d|99[02-6])\\d{5}|(?:2[13-79]|3[135-8]|4[146-9]|5[135-7]|6[13-9]|7[15-9]|8[1-46-9]|9[1-7])[2-6]\\d{5}",[8]],["9(?:00|6[0-3]|7[0-24-6]|8[0-24-68])\\d{7}",[10]],["1(?:66001|800\\d\\d)\\d{5}",[11]]]],NR:["674","00","(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[24-9]"]]],0,0,0,0,0,0,[["444\\d{4}"],["(?:222|55[3-9]|666|777|8\\d\\d|999)\\d{4}"]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]],0,0,0,0,0,0,[["[47]\\d{3}",[4]],["(?:[56]|888[1-9])\\d{3}"]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,[["240\\d{5}|(?:3[2-79]|[49][2-9]|6[235-9]|7[2-57-9])\\d{6}",[8]],["2(?:[0-27-9]\\d|6)\\d{6,7}|2(?:1\\d|75)\\d{5}",[8,9,10]],["508\\d{6,7}|80\\d{6,8}",[8,9,10]],["(?:1[13-57-9]\\d{5}|50(?:0[08]|30|66|77|88))\\d{3}|90\\d{6,8}",[7,8,9,10]],["70\\d{7}",[9]],0,["8(?:1[16-9]|22|3\\d|4[045]|5[459]|6[235-9]|7[0-3579]|90)\\d{2,7}"]],"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]],0,0,0,0,0,0,[["2[1-6]\\d{6}",[8]],["(?:1505|90[1-9]\\d)\\d{4}|(?:7[124-9]|9[1-9])\\d{6}",[8]],["8007\\d{4,5}|(?:500|800[05])\\d{4}"],["900\\d{5}",[8]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["(?:1(?:0\\d|1[0479]|2[37]|3[0137]|4[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(?:[047-9]\\d|1[0-8]|2[0-5]|33|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[4-9]|90)|8(?:09|2[89]|3\\d|4[0-24-689]|5[014]|8[02])|9(?:0[5-9]|1[0135-8]|2[036-9]|3[35-79]|40|5[0457-9]|6[05-9]|7[04-9]|8[35-8]|9\\d))\\d{4}",[7]],["(?:1[16]1|21[89]|6\\d{3}|8(?:1[01]|7[23]))\\d{4}",[7,8]],["800\\d{4,5}|(?:00800|800\\d)\\d{6}"],["(?:8(?:22|55|60|7[78]|86)|9(?:00|81))\\d{4}",[7]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,[["(?:(?:(?:4[34]|5[14])[0-8]|687)\\d|7(?:173|(?:3[0-8]|55)\\d)|8(?:10[05689]|6(?:0[06-9]|1[6-9]|29)|7(?:0[0569]|[56]0)))\\d{4}|(?:1[0-8]|4[12]|5[236]|6[1-7]|7[246]|8[2-4])\\d{6}",[8]],["9\\d{8}",[9]],["800\\d{5}",[8]],["805\\d{5}",[8]],["80[24]\\d{5}",[8]],0,0,0,0,["801\\d{5}",[8]]],"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],0,0,0,0,0,0,[["4(?:0[4-689]|9[4-68])\\d{5}",[8]],["8[7-9]\\d{6}",[8]],["80[0-5]\\d{6}",[9]],0,0,0,["44\\d{4}",[6]],0,["499\\d{5}",[8]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,[["(?:(?:3[0-2]|4[257]|5[34]|9[78])\\d|64[1-9]|85[02-46-9])\\d{4}",[7]],["(?:7\\d|8[1-48])\\d{6}",[8]],["180\\d{4}",[7]],0,0,0,0,["27[01]\\d{4}",[7]],["2(?:0[0-57]|7[568])\\d{4}",[7]]],"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0",0,0,0,0,0,[["(?:(?:2[3-8]|3[2-68]|4[2-9]|5[2-6]|6[2-58]|7[24578])\\d{3}|88(?:22\\d\\d|42))\\d{4}|(?:2|8[2-8]\\d\\d)\\d{5}",[6,8,9,10]],["(?:8(?:1[37]|9[5-8])|9(?:0[5-9]|1[0-24-9]|[235-7]\\d|4[2-9]|8[135-9]|9[1-9]))\\d{7}",[10]],["1800\\d{7,9}",[11,12,13]]]],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0",0,0,0,0,0,[["(?:(?:21|42)[2-9]|58[126])\\d{7}|(?:2[25]|4[0146-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]\\d{6,7}|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8]))[2-9]\\d{5,6}",[9,10]],["3(?:[0-247]\\d|3[0-79]|55|64)\\d{7}",[10]],["800\\d{5}(?:\\d{3})?",[8,11]],["900\\d{5}",[8]],["122\\d{6}",[9]],0,["(?:2(?:[125]|3[2358]|4[2-4]|9[2-8])|4(?:[0-246-9]|5[3479])|5(?:[1-35-7]|4[2-467])|6(?:0[468]|[1-8])|7(?:[14]|2[236])|8(?:[16]|2[2-689]|3[23578]|4[3478]|5[2356])|9(?:1|22|3[27-9]|4[2-6]|6[3569]|9[2-7]))111\\d{6}",[11,12]]]],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?: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]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0",0,0,0,0,0,[["(?:22[2-47-9]|42[45]|82[014-68]|92[3569])\\d{5}",[8]],["5[69]\\d{7}",[9]],["1800\\d{6}",[10]],0,0,0,0,0,0,["1700\\d{6}",[10]]]],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]],0,0,0,0,0,0,[["2(?:[12]\\d|3[1-689]|4[1-59]|[57][1-9]|6[1-35689]|8[1-69]|9[1256])\\d{6}"],["6(?:[06]92(?:30|9\\d)|[35]92(?:[049]\\d|3[034]))\\d{3}|(?:(?:16|6[0356])93|9(?:[1-36]\\d\\d|480))\\d{5}"],["80[02]\\d{6}"],["(?:6(?:0[178]|4[68])\\d|76(?:0[1-57]|1[2-47]|2[237]))\\d{5}"],["884[0-4689]\\d{5}"],["600\\d{6}|6[06]92(?:0\\d|3[349]|49)\\d{3}"],["70(?:38[01]|596|(?:7\\d|8[17])\\d)\\d{4}"],["6(?:222\\d|89(?:00|88|99))\\d{4}"],["30\\d{7}"],["80(?:8\\d|9[1579])\\d{5}"]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],0,0,0,0,0,0,[["(?:2(?:55|77)|345|488|5(?:35|44|87)|6(?:22|54|79)|7(?:33|47)|8(?:24|55|76)|900)\\d{4}"],["(?:(?:46|83)[0-5]|(?:6[2-4689]|78)0)\\d{4}|(?:45|77|88)\\d{5}"]]],PY:["595","00","[36-8]\\d{5,8}|4\\d{6,8}|59\\d{6}|9\\d{5,10}|(?:2\\d|5[0-8])\\d{6,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["3[289]|4[246-8]|61|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,[["(?:3[289]|4[246-8]|61|7[1-3]|8[1-36])\\d{5,7}|(?:2(?:[14-68]\\d|2[4-68]|7[15]|9[1-5])|3(?:18|3[167]|4[2357]|51|[67]\\d)|4(?:1\\d|3[12]|5[13]|9[1-47])|5(?:[1-4]\\d|5[02-4])|6(?:3[1-3]|44|7[1-8])|7(?:4[0-4]|5\\d|6[1-578]|75|8[0-8])|858)\\d{5,6}",[7,8,9]],["9(?:51|6[129]|7[1-6]|8[1-7]|9[1-5])\\d{6}",[9]],["9800\\d{5,7}",[9,10,11]],0,0,0,["[245]0\\d{6,7}|[36-9]0\\d{4,7}",[6,7,8,9]],0,["8700[0-4]\\d{4}",[9]]]],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[136]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]],0,0,0,0,0,0,[["4(?:(?:[014]\\d\\d|999)\\d|2022)\\d{3}",[8]],["[35-7]\\d{7}",[8]],["800\\d{4}|(?:0080[01]|800)\\d{6}",[7,9,11]],0,0,0,0,["2[136]\\d{5}",[7]]]],RE:["262","00","709\\d{6}|(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"],["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,[["[23][13-6]\\d{7}|(?:2(?:19\\d|[3-6]\\d9)|31\\d\\d)\\d\\d"],["(?:630|702)0\\d{5}|(?:6(?:00|2\\d)|7(?:0[013-9]|1[0-3]|[2-7]\\d|8[03-8]|9[0-39]))\\d{6}",[9]],["800\\d{6}",[9]],["90[0136]\\d{6}",[9]],0,0,["(?:37\\d|80[578])\\d{6}",[9]],0,0,["801\\d{6}",[9]]],0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0",0,0,0,0,0,[["(?:11[1-9]\\d|(?:2[389]|39)(?:0[2-9]|[2-9]\\d))\\d{3,8}|(?:1[02-9]|2[0-24-7]|3[0-8])[2-9]\\d{4,9}",[7,8,9,10,11,12]],["6(?:[0-689]|7\\d)\\d{6,7}",[8,9,10]],["800\\d{3,9}"],["(?:78\\d|90[0169])\\d{3,7}",[6,7,8,9,10]],0,0,["7[06]\\d{4,10}"]]],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,0,[["336(?:[013-9]\\d|2[013-9])\\d{5}|(?: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-7]|6[0-35-79]|7[1-37-9]))\\d{7}",[10]],["9\\d{9}",[10]],["8(?:0[04]|108\\d{3})\\d{7}"],["80[39]\\d{7}",[10]],["808\\d{7}",[10]]],"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:06|2[23568]\\d)\\d{6}"],["7[237-9]\\d{7}",[9]],["800\\d{6}",[9]],["900\\d{6}",[9]]]],SA:["966","00","(?:[15]\\d|800|92)\\d{7}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0",0,0,0,0,0,[["1(?:1\\d|2[24-8]|3[35-8]|4[3-68]|6[2-5]|7[235-7])\\d{6}",[9]],["579[0-8]\\d{5}|5(?:[013-689]\\d|7[0-8])\\d{6}",[9]],["800\\d{7}",[10]],["925\\d{6}",[9]],0,0,0,0,0,["920\\d{6}",[9]]]],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]],0,0,0,0,0,0,[["(?:1[4-79]|[23]\\d|4[0-2]|5[03]|6[0-37])\\d{3}",[5]],["48\\d{3}|(?:(?:6[89]|7[1-9]|8[4-9])\\d|9(?:1[2-9]|2[013-9]|3[0-2]|[46]\\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8]))\\d{4}"],["1[38]\\d{3}",[5]],0,0,0,0,0,["5[12]\\d{3}",[5]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,[["4[2-46]\\d{5}"],["2[125-8]\\d{5}"],["800[08]\\d{3}"],["85\\d{5}"],0,0,0,0,["971\\d{4}|(?:64|95)\\d{5}"]],"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0",0,0,0,0,0,[["1(?:5\\d|8[35-7])\\d{6}"],["(?:1[0-2]|9[0-3569])\\d{7}"]]],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10,12],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0",0,0,0,0,0,[["(?:(?:[12][136]|3[356]|4[0246]|6[03]|8\\d)\\d|90[1-9])\\d{4,6}|(?:1(?:2[0-35]|4[0-4]|5[0-25-9]|7[13-6]|[89]\\d)|2(?:2[0-7]|4[0136-8]|5[0138]|7[018]|8[01]|9[0-57])|3(?:0[0-4]|1\\d|2[0-25]|4[056]|7[0-2]|8[0-3]|9[023])|4(?:1[013-8]|3[0135]|5[14-79]|7[0-246-9]|8[0156]|9[0-689])|5(?:0[0-6]|[15][0-5]|2[0-68]|3[0-4]|4\\d|6[03-5]|7[013]|8[0-79]|9[01])|6(?:1[1-3]|2[0-4]|4[02-57]|5[0-37]|6[0-3]|7[0-2]|8[0247]|9[0-356])|9(?:1[0-68]|2\\d|3[02-5]|4[0-3]|5[0-4]|[68][01]|7[0135-8]))\\d{5,6}",[7,8,9]],["7[02369]\\d{7}",[9]],["20\\d{4,7}",[6,7,8,9]],["649\\d{6}|99[1-59]\\d{4}(?:\\d{3})?|9(?:00|39|44)[1-8]\\d{3,6}",[7,8,9,10]],["75[1-8]\\d{6}",[9]],["(?:25[245]|67[3-68])\\d{9}",[12]],["10[1-8]\\d{6}",[9]],["74[02-9]\\d{6}",[9]],0,["77[0-7]\\d{6}",[9]]]],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[["662[0-24-9]\\d{4}|6(?:[0-578]\\d|6[013-57-9]|9[0-35-9])\\d{5}",[8]],["89(?:8[02-9]|9[0-5])\\d{4}|(?:8(?:0[1-9]|[1-8]\\d|9[0-7])|9[0-8]\\d)\\d{5}",[8]],["(?:18|8)00\\d{7}",[10,11]],["1900\\d{7}",[11]],0,0,["7000\\d{7}",[11]],0,["(?:3[12]\\d|666)\\d{5}",[8]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]",[["2(?:[0-57-9]\\d|6[4-9])\\d\\d"],["[56]\\d{4}",[5]],0,0,0,0,0,0,["262\\d\\d",[5]]]],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,[["(?:[1-357][2-8]|4[24-8])\\d{6}",[8]],["65(?:[178]\\d|5[56]|6[01])\\d{4}|(?:[37][01]|4[0139]|51|6[489])\\d{6}",[8]],["80\\d{4,6}",[6,7,8]],["89[1-3]\\d{2,5}|90\\d{4,6}"],0,0,0,0,["(?:59\\d\\d|8(?:1(?:[67]\\d|8[0-589])|2(?:0\\d|2[0-37-9]|8[0-2489])|3[389]\\d))\\d{4}",[8]]],"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79",[["79\\d{6}",[8]],["(?:4[015-8]|9\\d)\\d{6}",[8]],["80[01]\\d{5}",[8]],["82[09]\\d{5}",[8]],["880\\d{5}",[8]],["81[23]\\d{5}",[8]],["(?:0[235-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}"],0,["85[0-5]\\d{5}",[8]],["810(?:0[0-6]|[2-8]\\d)\\d{3}",[8]]]],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0",0,0,0,0,0,[["(?:2(?:16|[2-9]\\d{3})|(?:(?:[3-5][1-8]\\d|819)\\d|601[1-5])\\d)\\d{4}|(?:2|[3-5][1-8])1[67]\\d{3}|[3-5][1-8]16\\d\\d"],["909[1-9]\\d{5}|9(?:0[1-8]|1[0-24-9]|4[03-57-9]|5\\d)\\d{6}",[9]],["800\\d{6}",[9]],["9(?:00|[78]\\d)\\d{6}",[9]],0,0,["96\\d{7}",[9]],["9090\\d{3}",[7]],["6(?:02|5[0-4]|9[0-6])\\d{6}",[9]],["8[5-9]\\d{7}",[9]]]],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0",0,0,0,0,0,[["22[2-4][2-9]\\d{4}"],["(?:25|3[0-5]|66|7[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(?:[015-8]\\d|21|90)\\d{6}"],["800\\d{6}"],["88[4689]\\d{6}"],0,0,0,0,["(?:3(?:392|9[01]\\d)\\d|93(?:3[13]0|929))\\d{4}"],["81[02468]\\d{6}"]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|7[67]|9[2-9]"]]],"0",0,0,0,0,0,[["(?:1\\d|2[0-79]|3[0-46-8]|4[0-7]|5[57-9])\\d{5}|(?:[134]\\d|8[125])\\d{4}",[6,7]],["(?:(?:15|(?:3[59]|4[89]|6\\d|7[679]|8[08])\\d|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:[67]\\d\\d|904)\\d{5}",[7,8,9]]]],SR:["597","00","(?:[2-5]|[6-8]\\d|90)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-9]"]]],0,0,0,0,0,0,[["(?:2[1-3]|3[0-7]|4\\d|5[2-58])\\d{4}",[6]],["(?:6[08]|7[124-7]|8[1-9])\\d{5}",[7]],["80\\d{5}",[7]],["90\\d{5}",[7]],0,0,0,0,["56\\d{4}",[6]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0",0,0,0,0,0,[["1[89]\\d{7}"],["(?:12|9[1257-9])\\d{7}"]]],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]],0,0,0,0,0,0,[["22\\d{5}"],["900[5-9]\\d{3}|9(?:0[1-9]|[89]\\d)\\d{4}"]]],SV:["503","00","[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[25-7]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,[["2(?:79(?:0[0347-9]|[1-9]\\d)|89(?:0[024589]|[1-9]\\d))\\d{3}|2(?:[1-69]\\d|[78][0-8])\\d{5}",[8]],["[5-7]\\d{7}",[8]],["800\\d{8}|80[01]\\d{4}",[7,11]],["900\\d{4}(?:\\d{4})?",[7,11]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721",[["7215(?:4[2-8]|8[239]|9[056])\\d{4}"],["7215(?:1[02]|2\\d|5[034679]|8[014-8])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],SY:["963","00","[1-359]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-4]|5[1-3]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[59]"],"0$1",1]],"0",0,0,0,0,0,[["21\\d{6,7}|(?:1(?:[14]\\d|[2356])|2[235]|3(?:[13]\\d|4)|4[134]|5[1-3])\\d{6}"],["(?:50|9[1-9])\\d{7}",[9]]]],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]],0,0,0,0,0,0,[["[23][2-5]\\d{6}",[8]],["7[5-9]\\d{6}",[8]],["0800\\d{4}",[8]],["900\\d{6}",[9]],0,0,0,0,["70\\d{6}",[8]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8",[["8\\d{3}"]]],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649",[["649(?:266|712|9(?:4\\d|50))\\d{4}"],["649(?:2(?:3[129]|4[1-79])|3\\d\\d|4[34][1-3])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"],0,0,0,["649(?:71[01]|966)\\d{4}"]]],TD:["235","00|16","(?:22|30|[689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[236-9]"]]],0,0,0,0,0,0,[["22(?:[37-9]0|5[0-5]|6[89])\\d{4}"],["(?:30|[69]\\d|77|8[5-7])\\d{6}"]],"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]],0,0,0,0,0,0,[["2(?:2[2-7]|3[23]|4[45]|55|6[67]|77)\\d{5}"],["(?:7[0-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|66)\\d{7}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3(?:[1245]|3[12])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["\\d"]]],0,0,0,0,0,0,[["(?:3(?:1[3-5]|2[245]|3[12]|4[24-7]|5[25]|72)|4(?:46|74|87))\\d{6}"],["(?:33[03-9]|4(?:1[18]|4[02-479])|81[1-9])\\d{6}|(?:[09]\\d|1[0-27-9]|2[0-27]|3[08]|40|5[05]|66|7[01578]|8[078])\\d{7}"]],"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7],0,0,0,0,0,0,0,[["(?:2[2-4]|[34]\\d)\\d{2,5}"],["7[2-4]\\d{2,5}"]]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]],0,0,0,0,0,0,[["(?:2[1-5]|3[1-9]|4[1-4])\\d{5}",[7]],["7[2-8]\\d{6}",[8]],["80\\d{5}",[7]],["90\\d{5}",[7]],["70\\d{5}",[7]]]],TM:["993","810","(?:[1-6]\\d|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,[["(?:1(?:2\\d|3[1-9])|2(?:22|4[0-35-8])|3(?:22|4[03-9])|4(?:22|3[128]|4\\d|6[15])|5(?:22|5[7-9]|6[014-689]))\\d{5}"],["(?:6\\d|71)\\d{6}"]],"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]],0,0,0,0,0,0,[["81200\\d{3}|(?:3[0-2]|7\\d)\\d{6}"],["3(?:001|[12]40)\\d{4}|(?:(?:[259]\\d|4[0-8])\\d|3(?:1[1-35]|6[0-4]|91))\\d{5}"],["8010\\d{4}"],["88\\d{6}"],0,0,0,0,0,["8[12]10\\d{4}"]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]],0,0,0,0,0,0,[["(?:2\\d|3[0-8]|4[0-4]|50|6[09]|7[0-24-69]|8[05])\\d{3}",[5]],["(?:5(?:4[0-5]|5[4-6])|6(?:[09]\\d|3[02]|8[15-9])|(?:7\\d|8[46-9])\\d|999)\\d{4}",[7]],["0800\\d{3}",[7]],0,0,0,0,0,["55[0-37-9]\\d{4}",[7]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-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]|3[23]|44|66|77|88)[2-9]\\d{6}"],["868619\\d{4}"]]],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]],0,0,0,0,0,0,[["2[02-9]\\d{3}",[5]],["(?:7[01]\\d|90)\\d{4}",[6,7]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,[["(?:2[2-8]\\d|370|55[01]|7[1-9])\\d{6}|4(?:(?:0(?:0[1-9]|[2-48]\\d)|1[023]\\d)\\d{4,5}|(?:[239]\\d\\d|4(?:0[56]|12|49))\\d{5})|6(?:[01]\\d{7}|4(?:0[56]|12|24|4[09])\\d{4,5})|8(?:(?:2(?:3\\d|4[0-269]|[578]0|66)|36[24-9]|90\\d\\d)\\d{4}|4(?:0[56]|12|24|4[09])\\d{4,5})|(?:2(?:2(?:0\\d\\d|4(?:0[68]|[249]0|3[0-467]|5[0-25-9]|6[0235689]))|(?:3(?:[09]\\d|1[0-4])|(?:4\\d|5[0-49]|6[0-29]|7[0-5])\\d)\\d)|(?:(?:3[2-9]|5[2-8]|6[0-35-79]|8[7-9])\\d\\d|4(?:2(?:[089]\\d|7[1-9])|(?:3[0-4]|[78]\\d|9[01])\\d))\\d)\\d{3}",[8,9]],["(?:40001[0-2]|9[0-8]\\d{4})\\d{3}",[9]],["80[0-79]\\d{6}|800\\d{5}",[8,9]],["20(?:[013-9]\\d\\d|2)\\d{4}",[7,9]],["99\\d{7}",[9]],0,["50[0-46-9]\\d{6}",[9]],0,["7010(?:[0-2679]\\d|3[0-7]|8[0-5])\\d{5}|70\\d{8}",[10,11]]],0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0",0,0,0,0,0,[["2[2-8]\\d{7}"],["(?:6[1-35-9]|7[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(?:[014-8]\\d|2[0167]|3[06]|9[0-3589])\\d{6}"],["800[1-3]\\d{5}"],["90[1-3]\\d{6}"]]],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:274[27]|(?:472|983)[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}",[4,5,6,7,8,9,10,11,12,13],[["(\\d{4,5})","$1",["21"]],["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,[["(?:1(?:770|9(?:20|[89]7))|(?:2\\d|4[2-7])\\d\\d)\\d{4}",[8]],["9[1-9]\\d{6}",[8]],["0004\\d{2,9}|(?:405|80[05])\\d{4}",[6,7,8,9,10,11,12,13]],["90[0-8]\\d{4}",[7]],0,0,["21\\d{2,3}",[4,5]]],"00"," int. "],UZ:["998","00","(?:20|33|[5-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]],0,0,0,0,0,0,[["(?:55\\d\\d|6(?:1(?:22|3[124]|4[1-4]|5[1-3578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|[69]\\d\\d|7(?:[23]\\d|7[69]))|7(?:0(?:5[4-9]|6[0146]|7[124-6]|9[135-8])|[168]\\d\\d|2(?:22|3[13-57-9]|4[1-3579]|5[14])|3(?:2\\d|3[1578]|4[1-35-7]|5[1-57]|61)|4(?:2\\d|3[1-579]|7[1-79])|5(?:22|5[1-9]|6[1457])|9(?:22|5[1-9])))\\d{5}"],["(?:(?:[25]0|33|8[078]|9[0-57-9])\\d{3}|6(?:1(?:2(?:2[01]|98)|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:(?:11|7\\d)\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7\\d)\\d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079])))|7(?:[07]\\d{3}|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07]))))\\d{4}"]]],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11,12],0,0,0,0,0,0,"06698",[["06698\\d{1,6}",[6,7,8,9,10,11]],["3[1-9]\\d{8}|3[2-9]\\d{7}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784",[["784(?:266|3(?:6[6-9]|7\\d|8[0-6])|4(?:38|5[0-36-8]|8[0-8])|5(?:55|7[0-2]|93)|638|784)\\d{4}"],["784(?:4(?:3[0-5]|5[45]|89|9[0-8])|5(?:2[6-9]|3[0-4])|720)\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"],0,0,0,["78451[0-2]\\d{4}"]]],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0",0,0,0,0,0,[["(?:2(?:12|3[457-9]|[467]\\d|[58][1-9]|9[1-6])|[4-6]00)\\d{7}"],["4(?:1[24-8]|2[246])\\d{7}"],["800\\d{7}"],["90[01]\\d{7}"],0,0,["501\\d{7}"]]],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284",[["284(?:229|4(?:22|9[45])|774|8(?:52|6[459]))\\d{4}"],["284(?:245|3(?:0[0-3]|4[0-7]|68|9[34])|4(?:4[0-6]|68|9[69])|5(?:4[0-7]|68|9[69]))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340",[["340(?:2(?:0\\d|10|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0",0,0,0,0,0,[["2(?:0[3-9]|1[0-689]|2[0-25-9]|[38][2-9]|4[2-8]|5[124-9]|6[0-39]|7[0-7]|9[0-4679])\\d{7}",[10]],["(?:5(?:2[238]|59)|89[6-9]|99[013-9])\\d{6}|(?:3\\d|5[1689]|7[06-9]|8[1-8]|9[0-8])\\d{7}",[9]],["1800\\d{4,6}|12(?:0[13]|28)\\d{4}",[8,9,10]],["1900\\d{4,6}",[8,9,10]],0,0,["(?:[17]99|80\\d)\\d{4}|69\\d{5,6}",[7,8]],0,["672\\d{6}",[9]]]],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]],0,0,0,0,0,0,[["(?:38[0-8]|48[4-9])\\d\\d|(?:2[02-9]|3[4-7]|88)\\d{3}",[5]],["(?:[58]\\d|7[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-8]|8(?:[3-7]|9\\d{3}))\\d{5}",[7,10]],["800\\d{3}",[6]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0",0,0,0,0,0,[["38\\d{6,10}|(?:2[89]|39)(?:0\\d{5,6}|[1-9]\\d{5})"],["4[3-9]\\d{6}",[8]],["800\\d{5}",[8]],["900\\d{5}",[8]]]],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,[["78[0-7]\\d{4}|17\\d{6}|(?:[12][2-68]|3[2358]|4[2-58]|5[2-6]|6[3-58]|7[24-6])\\d{5}",[7,8]],["7[01378]\\d{7}",[9]]]],YT:["262","00","7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"],["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:2(?:0330|4302)|52087)0\\d{3}|(?:1[0-8]|2[1-378]|3[1-69]|4\\d|5[1346-8])\\d{7}",[9]],["(?:1(?:3492[0-25]|4495[0235]|549(?:20|5[01]))|4[34]492[01])\\d{3}|8[1-4]\\d{3,7}|(?:2[27]|47|54)4950\\d{3}|(?:1(?:049[2-4]|9[12]\\d\\d)|(?:50[0-2]|[67]\\d\\d)\\d\\d|8(?:5\\d{3}|7(?:08[67]|158|28[5-9]|310)))\\d{4}|(?:1[6-8]|28|3[2-69]|4[025689]|5[36-8])4920\\d{3}|(?:12|[2-5]1)492\\d{4}",[5,6,7,8,9]],["80\\d{7}",[9]],["(?:86[2-9]|9[0-2]\\d)\\d{6}",[9]],0,0,["861\\d{6,7}",[9,10]],0,["87(?:08[0-589]|15[0-79]|28[0-4]|31[1-9])\\d{4}|87(?:[02][0-79]|1[0-46-9]|3[02-9]|[4-9]\\d)\\d{5}",[9]],["860\\d{6}",[9]]]],ZM:["260","00","800\\d{6}|(?:21|[579]\\d|63)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[579]"],"0$1"]],"0",0,0,0,0,0,[["21[1-8]\\d{6}"],["(?:[59][5-8]|7[5-9])\\d{7}"],["800\\d{6}"],0,0,0,0,0,["63\\d{7}"]]],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:(?:3\\d|9)\\d|[4-8])|2(?:(?:(?:0(?:2[014]|5)|(?:2[0157]|31|84|9)\\d\\d|[56](?:[14]\\d\\d|20)|7(?:[089]|2[03]|[35]\\d\\d))\\d|4(?:2\\d\\d|8))\\d|1(?:2|[39]\\d{4}))|3(?:(?:123|(?:29\\d|92)\\d)\\d\\d|7(?:[19]|[56]\\d))|5(?:0|1[2-478]|26|[37]2|4(?:2\\d{3}|83)|5(?:25\\d\\d|[78])|[689]\\d)|6(?:(?:[16-8]21|28|52[013])\\d\\d|[39])|8(?:[1349]28|523)\\d\\d)\\d{3}|(?:4\\d\\d|9[2-9])\\d{4,5}|(?:(?:2(?:(?:(?:0|8[146])\\d|7[1-7])\\d|2(?:[278]\\d|92)|58(?:2\\d|3))|3(?:[26]|9\\d{3})|5(?:4\\d|5)\\d\\d)\\d|6(?:(?:(?:[0-246]|[78]\\d)\\d|37)\\d|5[2-8]))\\d\\d|(?:2(?:[569]\\d|8[2-57-9])|3(?:[013-59]\\d|8[37])|6[89]8)\\d{3}"],["7(?:[1278]\\d|3[1-9])\\d{6}",[9]],["80(?:[01]\\d|20|8[0-8])\\d{3}",[7]],0,0,0,0,0,["86(?:1[12]|22|30|44|55|77|8[368])\\d{6}",[10]]]]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[235-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"],0,0,0,0,0,0,["2\\d{8}",[9]]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|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 sr={exports:{}},ur={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 vd;function ff(){if(vd)return Oe;vd=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,v=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,g=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,O=e?Symbol.for("react.scope"):60119;function b(x){if(typeof x=="object"&&x!==null){var k=x.$$typeof;switch(k){case n:switch(x=x.type,x){case l:case s:case r:case o:case i:case v:return x;default:switch(x=x&&x.$$typeof,x){case d:case f:case c:case p:case a:return x;default:return k}}case t:return k}}}function C(x){return b(x)===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=v,Oe.isAsyncMode=function(x){return C(x)||b(x)===l},Oe.isConcurrentMode=C,Oe.isContextConsumer=function(x){return b(x)===d},Oe.isContextProvider=function(x){return b(x)===a},Oe.isElement=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===n},Oe.isForwardRef=function(x){return b(x)===f},Oe.isFragment=function(x){return b(x)===r},Oe.isLazy=function(x){return b(x)===c},Oe.isMemo=function(x){return b(x)===p},Oe.isPortal=function(x){return b(x)===t},Oe.isProfiler=function(x){return b(x)===o},Oe.isStrictMode=function(x){return b(x)===i},Oe.isSuspense=function(x){return b(x)===v},Oe.isValidElementType=function(x){return typeof x=="string"||typeof x=="function"||x===r||x===s||x===o||x===i||x===v||x===m||typeof x=="object"&&x!==null&&(x.$$typeof===c||x.$$typeof===p||x.$$typeof===a||x.$$typeof===d||x.$$typeof===f||x.$$typeof===g||x.$$typeof===E||x.$$typeof===O||x.$$typeof===h)},Oe.typeOf=b,Oe}var Pe={};/** @license React v16.13.1
47
+ */var Td;function $f(){if(Td)return Oe;Td=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,d=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,s=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,v=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,g=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,O=e?Symbol.for("react.scope"):60119;function $(x){if(typeof x=="object"&&x!==null){var k=x.$$typeof;switch(k){case t:switch(x=x.type,x){case l:case s:case r:case i:case o:case v:return x;default:switch(x=x&&x.$$typeof,x){case d:case f:case c:case p:case a:return x;default:return k}}case n:return k}}}function C(x){return $(x)===s}return Oe.AsyncMode=l,Oe.ConcurrentMode=s,Oe.ContextConsumer=d,Oe.ContextProvider=a,Oe.Element=t,Oe.ForwardRef=f,Oe.Fragment=r,Oe.Lazy=c,Oe.Memo=p,Oe.Portal=n,Oe.Profiler=i,Oe.StrictMode=o,Oe.Suspense=v,Oe.isAsyncMode=function(x){return C(x)||$(x)===l},Oe.isConcurrentMode=C,Oe.isContextConsumer=function(x){return $(x)===d},Oe.isContextProvider=function(x){return $(x)===a},Oe.isElement=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===t},Oe.isForwardRef=function(x){return $(x)===f},Oe.isFragment=function(x){return $(x)===r},Oe.isLazy=function(x){return $(x)===c},Oe.isMemo=function(x){return $(x)===p},Oe.isPortal=function(x){return $(x)===n},Oe.isProfiler=function(x){return $(x)===i},Oe.isStrictMode=function(x){return $(x)===o},Oe.isSuspense=function(x){return $(x)===v},Oe.isValidElementType=function(x){return typeof x=="string"||typeof x=="function"||x===r||x===s||x===i||x===o||x===v||x===m||typeof x=="object"&&x!==null&&(x.$$typeof===c||x.$$typeof===p||x.$$typeof===a||x.$$typeof===d||x.$$typeof===f||x.$$typeof===g||x.$$typeof===E||x.$$typeof===O||x.$$typeof===h)},Oe.typeOf=$,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 gd;function pf(){return gd||(gd=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,v=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,g=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===v||S===m||typeof S=="object"&&S!==null&&(S.$$typeof===c||S.$$typeof===p||S.$$typeof===a||S.$$typeof===d||S.$$typeof===f||S.$$typeof===g||S.$$typeof===E||S.$$typeof===O||S.$$typeof===h)}function C(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 v: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 x=l,k=s,D=d,H=a,A=n,j=f,M=r,Y=c,G=p,W=t,oe=o,ae=i,le=v,re=!1;function z(S){return re||(re=!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)||C(S)===l}function I(S){return C(S)===s}function R(S){return C(S)===d}function X(S){return C(S)===a}function T(S){return typeof S=="object"&&S!==null&&S.$$typeof===n}function U(S){return C(S)===f}function L(S){return C(S)===r}function Q(S){return C(S)===c}function q(S){return C(S)===p}function ne(S){return C(S)===t}function ce(S){return C(S)===o}function he(S){return C(S)===i}function Ee(S){return C(S)===v}Pe.AsyncMode=x,Pe.ConcurrentMode=k,Pe.ContextConsumer=D,Pe.ContextProvider=H,Pe.Element=A,Pe.ForwardRef=j,Pe.Fragment=M,Pe.Lazy=Y,Pe.Memo=G,Pe.Portal=W,Pe.Profiler=oe,Pe.StrictMode=ae,Pe.Suspense=le,Pe.isAsyncMode=z,Pe.isConcurrentMode=I,Pe.isContextConsumer=R,Pe.isContextProvider=X,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=C}()),Pe}var $d;function bd(){return $d||($d=1,process.env.NODE_ENV==="production"?Jn.exports=ff():Jn.exports=pf()),Jn.exports}/*
54
+ */var Nd;function yf(){return Nd||(Nd=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,d=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,s=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,v=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,g=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,O=e?Symbol.for("react.scope"):60119;function $(S){return typeof S=="string"||typeof S=="function"||S===r||S===s||S===i||S===o||S===v||S===m||typeof S=="object"&&S!==null&&(S.$$typeof===c||S.$$typeof===p||S.$$typeof===a||S.$$typeof===d||S.$$typeof===f||S.$$typeof===g||S.$$typeof===E||S.$$typeof===O||S.$$typeof===h)}function C(S){if(typeof S=="object"&&S!==null){var Z=S.$$typeof;switch(Z){case t:var z=S.type;switch(z){case l:case s:case r:case i:case o:case v:return z;default:var _=z&&z.$$typeof;switch(_){case d:case f:case c:case p:case a:return _;default:return Z}}case n:return Z}}}var x=l,k=s,j=d,H=a,A=t,D=f,M=r,Y=c,G=p,W=n,ie=i,ae=o,le=v,re=!1;function K(S){return re||(re=!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.")),N(S)||C(S)===l}function N(S){return C(S)===s}function R(S){return C(S)===d}function X(S){return C(S)===a}function T(S){return typeof S=="object"&&S!==null&&S.$$typeof===t}function U(S){return C(S)===f}function L(S){return C(S)===r}function Q(S){return C(S)===c}function q(S){return C(S)===p}function ne(S){return C(S)===n}function ce(S){return C(S)===i}function he(S){return C(S)===o}function Ee(S){return C(S)===v}Pe.AsyncMode=x,Pe.ConcurrentMode=k,Pe.ContextConsumer=j,Pe.ContextProvider=H,Pe.Element=A,Pe.ForwardRef=D,Pe.Fragment=M,Pe.Lazy=Y,Pe.Memo=G,Pe.Portal=W,Pe.Profiler=ie,Pe.StrictMode=ae,Pe.Suspense=le,Pe.isAsyncMode=K,Pe.isConcurrentMode=N,Pe.isContextConsumer=R,Pe.isContextProvider=X,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=$,Pe.typeOf=C}()),Pe}var Id;function _d(){return Id||(Id=1,process.env.NODE_ENV==="production"?ur.exports=$f():ur.exports=yf()),ur.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 v in d)n.call(d,v)&&(l[v]=d[v]);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 vi,xd;function Cd(){return xd||(xd=1,vi=Function.call.bind(Object.prototype.hasOwnProperty)),vi}var gi,Ed;function hf(){if(Ed)return gi;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 v;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}v=o[f](a,f,l,d,null,n)}catch(c){v=c}if(v&&!(v 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 v+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),v instanceof Error&&!(v.message in t)){t[v.message]=!0;var p=s?s():"";e("Failed "+d+" type: "+v.message+(p??""))}}}}return i.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(t={})},gi=i,gi}var $i,Sd;function vf(){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 v(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:C(),elementType:x(),instanceOf:k,node:j(),objectOf:H,oneOf:D,oneOfType:A,shape:Y,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 g(I){if(process.env.NODE_ENV!=="production")var R={},X=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]&&X<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,X++)}}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(X,T,U,L,Q,q){var ne=X[T],ce=ae(ne);if(ce!==I){var he=le(ne);return new h("Invalid "+L+" `"+Q+"` of type "+("`"+he+"` supplied to `"+U+"`, expected ")+("`"+I+"`."),{expectedType:I})}return null}return g(R)}function O(){return g(a)}function b(I){function R(X,T,U,L,Q){if(typeof I!="function")return new h("Property `"+Q+"` of component `"+U+"` has invalid PropType notation inside arrayOf.");var q=X[T];if(!Array.isArray(q)){var ne=ae(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 g(R)}function C(){function I(R,X,T,U,L){var Q=R[X];if(!d(Q)){var q=ae(Q);return new h("Invalid "+U+" `"+L+"` of type "+("`"+q+"` supplied to `"+T+"`, expected a single ReactElement."))}return null}return g(I)}function x(){function I(R,X,T,U,L){var Q=R[X];if(!e.isValidElementType(Q)){var q=ae(Q);return new h("Invalid "+U+" `"+L+"` of type "+("`"+q+"` supplied to `"+T+"`, expected a single ReactElement type."))}return null}return g(I)}function k(I){function R(X,T,U,L,Q){if(!(X[T]instanceof I)){var q=I.name||m,ne=z(X[T]);return new h("Invalid "+L+" `"+Q+"` of type "+("`"+ne+"` supplied to `"+U+"`, expected ")+("instance of `"+q+"`."))}return null}return g(R)}function D(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(X,T,U,L,Q){for(var q=X[T],ne=0;ne<I.length;ne++)if(c(q,I[ne]))return null;var ce=JSON.stringify(I,function(Ee,S){var Z=le(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 g(R)}function H(I){function R(X,T,U,L,Q){if(typeof I!="function")return new h("Property `"+Q+"` of component `"+U+"` has invalid PropType notation inside objectOf.");var q=X[T],ne=ae(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 g(R)}function A(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 X=I[R];if(typeof X!="function")return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+re(X)+" 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 g(T)}function j(){function I(R,X,T,U,L){return W(R[X])?null:new h("Invalid "+U+" `"+L+"` supplied to "+("`"+T+"`, expected a ReactNode."))}return g(I)}function M(I,R,X,T,U){return new h((I||"React class")+": "+R+" type `"+X+"."+T+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+U+"`.")}function Y(I){function R(X,T,U,L,Q){var q=X[T],ne=ae(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 M(U,L,Q,ce,le(he));var Ee=he(q,ce,U,L,Q+"."+ce,t);if(Ee)return Ee}return null}return g(R)}function G(I){function R(X,T,U,L,Q){var q=X[T],ne=ae(q);if(ne!=="object")return new h("Invalid "+L+" `"+Q+"` of type `"+ne+"` "+("supplied to `"+U+"`, expected `object`."));var ce=n({},X[T],I);for(var he in ce){var Ee=I[he];if(r(I,he)&&typeof Ee!="function")return M(U,L,Q,he,le(Ee));if(!Ee)return new h("Invalid "+L+" `"+Q+"` key `"+he+"` supplied to `"+U+"`.\nBad object: "+JSON.stringify(X[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 g(R)}function W(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(W);if(I===null||d(I))return!0;var R=v(I);if(R){var X=R.call(I),T;if(R!==I.entries){for(;!(T=X.next()).done;)if(!W(T.value))return!1}else for(;!(T=X.next()).done;){var U=T.value;if(U&&!W(U[1]))return!1}}else return!1;return!0;default:return!1}}function oe(I,R){return I==="symbol"?!0:R?R["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&R instanceof Symbol:!1}function ae(I){var R=typeof I;return Array.isArray(I)?"array":I instanceof RegExp?"object":oe(R,I)?"symbol":R}function le(I){if(typeof I>"u"||I===null)return""+I;var R=ae(I);if(R==="object"){if(I instanceof Date)return"date";if(I instanceof RegExp)return"regexp"}return R}function re(I){var R=le(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 gf(){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,v){if(v!==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=vf()(e.isElement,n)}else Zn.exports=gf()();return Zn.exports}var bf=$f();const V=Qi(bf);var yi={exports:{}};/*!
58
+ */var So,Ad;function wf(){if(Ad)return So;Ad=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function o(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var a={},d=0;d<10;d++)a["_"+String.fromCharCode(d)]=d;var 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 So=o()?Object.assign:function(i,a){for(var d,l=r(i),s,f=1;f<arguments.length;f++){d=Object(arguments[f]);for(var v in d)t.call(d,v)&&(l[v]=d[v]);if(e){s=e(d);for(var m=0;m<s.length;m++)n.call(d,s[m])&&(l[s[m]]=d[s[m]])}}return l},So}var Oo,kd;function Po(){if(kd)return Oo;kd=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Oo=e,Oo}var To,Fd;function Md(){return Fd||(Fd=1,To=Function.call.bind(Object.prototype.hasOwnProperty)),To}var No,Ld;function xf(){if(Ld)return No;Ld=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Po(),n={},r=Md();e=function(i){var a="Warning: "+i;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function o(i,a,d,l,s){if(process.env.NODE_ENV!=="production"){for(var f in i)if(r(i,f)){var v;try{if(typeof i[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 i[f]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}v=i[f](a,f,l,d,null,t)}catch(c){v=c}if(v&&!(v 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 v+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),v instanceof Error&&!(v.message in n)){n[v.message]=!0;var p=s?s():"";e("Failed "+d+" type: "+v.message+(p??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},No=o,No}var Io,jd;function Cf(){if(jd)return Io;jd=1;var e=_d(),t=wf(),n=Po(),r=Md(),o=xf(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(d){var l="Warning: "+d;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function a(){return null}return Io=function(d,l){var s=typeof Symbol=="function"&&Symbol.iterator,f="@@iterator";function v(N){var R=N&&(s&&N[s]||N[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:$,element:C(),elementType:x(),instanceOf:k,node:D(),objectOf:H,oneOf:j,oneOfType:A,shape:Y,exact:G};function c(N,R){return N===R?N!==0||1/N===1/R:N!==N&&R!==R}function h(N,R){this.message=N,this.data=R&&typeof R=="object"?R:{},this.stack=""}h.prototype=Error.prototype;function g(N){if(process.env.NODE_ENV!=="production")var R={},X=0;function T(L,Q,q,ne,ce,he,Ee){if(ne=ne||m,he=he||q,Ee!==n){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]&&X<3&&(i("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,X++)}}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:N(Q,q,ne,ce,he)}var U=T.bind(null,!1);return U.isRequired=T.bind(null,!0),U}function E(N){function R(X,T,U,L,Q,q){var ne=X[T],ce=ae(ne);if(ce!==N){var he=le(ne);return new h("Invalid "+L+" `"+Q+"` of type "+("`"+he+"` supplied to `"+U+"`, expected ")+("`"+N+"`."),{expectedType:N})}return null}return g(R)}function O(){return g(a)}function $(N){function R(X,T,U,L,Q){if(typeof N!="function")return new h("Property `"+Q+"` of component `"+U+"` has invalid PropType notation inside arrayOf.");var q=X[T];if(!Array.isArray(q)){var ne=ae(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=N(q,ce,U,L,Q+"["+ce+"]",n);if(he instanceof Error)return he}return null}return g(R)}function C(){function N(R,X,T,U,L){var Q=R[X];if(!d(Q)){var q=ae(Q);return new h("Invalid "+U+" `"+L+"` of type "+("`"+q+"` supplied to `"+T+"`, expected a single ReactElement."))}return null}return g(N)}function x(){function N(R,X,T,U,L){var Q=R[X];if(!e.isValidElementType(Q)){var q=ae(Q);return new h("Invalid "+U+" `"+L+"` of type "+("`"+q+"` supplied to `"+T+"`, expected a single ReactElement type."))}return null}return g(N)}function k(N){function R(X,T,U,L,Q){if(!(X[T]instanceof N)){var q=N.name||m,ne=K(X[T]);return new h("Invalid "+L+" `"+Q+"` of type "+("`"+ne+"` supplied to `"+U+"`, expected ")+("instance of `"+q+"`."))}return null}return g(R)}function j(N){if(!Array.isArray(N))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):i("Invalid argument supplied to oneOf, expected an array.")),a;function R(X,T,U,L,Q){for(var q=X[T],ne=0;ne<N.length;ne++)if(c(q,N[ne]))return null;var ce=JSON.stringify(N,function(Ee,S){var Z=le(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 g(R)}function H(N){function R(X,T,U,L,Q){if(typeof N!="function")return new h("Property `"+Q+"` of component `"+U+"` has invalid PropType notation inside objectOf.");var q=X[T],ne=ae(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=N(q,ce,U,L,Q+"."+ce,n);if(he instanceof Error)return he}return null}return g(R)}function A(N){if(!Array.isArray(N))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var R=0;R<N.length;R++){var X=N[R];if(typeof X!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+re(X)+" at index "+R+"."),a}function T(U,L,Q,q,ne){for(var ce=[],he=0;he<N.length;he++){var Ee=N[he],S=Ee(U,L,Q,q,ne,n);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 g(T)}function D(){function N(R,X,T,U,L){return W(R[X])?null:new h("Invalid "+U+" `"+L+"` supplied to "+("`"+T+"`, expected a ReactNode."))}return g(N)}function M(N,R,X,T,U){return new h((N||"React class")+": "+R+" type `"+X+"."+T+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+U+"`.")}function Y(N){function R(X,T,U,L,Q){var q=X[T],ne=ae(q);if(ne!=="object")return new h("Invalid "+L+" `"+Q+"` of type `"+ne+"` "+("supplied to `"+U+"`, expected `object`."));for(var ce in N){var he=N[ce];if(typeof he!="function")return M(U,L,Q,ce,le(he));var Ee=he(q,ce,U,L,Q+"."+ce,n);if(Ee)return Ee}return null}return g(R)}function G(N){function R(X,T,U,L,Q){var q=X[T],ne=ae(q);if(ne!=="object")return new h("Invalid "+L+" `"+Q+"` of type `"+ne+"` "+("supplied to `"+U+"`, expected `object`."));var ce=t({},X[T],N);for(var he in ce){var Ee=N[he];if(r(N,he)&&typeof Ee!="function")return M(U,L,Q,he,le(Ee));if(!Ee)return new h("Invalid "+L+" `"+Q+"` key `"+he+"` supplied to `"+U+"`.\nBad object: "+JSON.stringify(X[T],null," ")+`
59
+ Valid keys: `+JSON.stringify(Object.keys(N),null," "));var S=Ee(q,he,U,L,Q+"."+he,n);if(S)return S}return null}return g(R)}function W(N){switch(typeof N){case"number":case"string":case"undefined":return!0;case"boolean":return!N;case"object":if(Array.isArray(N))return N.every(W);if(N===null||d(N))return!0;var R=v(N);if(R){var X=R.call(N),T;if(R!==N.entries){for(;!(T=X.next()).done;)if(!W(T.value))return!1}else for(;!(T=X.next()).done;){var U=T.value;if(U&&!W(U[1]))return!1}}else return!1;return!0;default:return!1}}function ie(N,R){return N==="symbol"?!0:R?R["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&R instanceof Symbol:!1}function ae(N){var R=typeof N;return Array.isArray(N)?"array":N instanceof RegExp?"object":ie(R,N)?"symbol":R}function le(N){if(typeof N>"u"||N===null)return""+N;var R=ae(N);if(R==="object"){if(N instanceof Date)return"date";if(N instanceof RegExp)return"regexp"}return R}function re(N){var R=le(N);switch(R){case"array":case"object":return"an "+R;case"boolean":case"date":case"regexp":return"a "+R;default:return R}}function K(N){return!N.constructor||!N.constructor.name?m:N.constructor.name}return p.checkPropTypes=o,p.resetWarningCache=o.resetWarningCache,p.PropTypes=p,p},Io}var _o,Dd;function Ef(){if(Dd)return _o;Dd=1;var e=Po();function t(){}function n(){}return n.resetWarningCache=t,_o=function(){function r(a,d,l,s,f,v){if(v!==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 o(){return r}var i={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i},_o}var Rd;function Sf(){if(Rd)return sr.exports;if(Rd=1,process.env.NODE_ENV!=="production"){var e=_d(),t=!0;sr.exports=Cf()(e.isElement,t)}else sr.exports=Ef()();return sr.exports}var Of=Sf();const V=fi(Of);var Ao={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
- */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
- 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 Df(e,n,t,r,i){xi(n,t,r,void 0,i)}function jf(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 Df(g,v.current,t,r,l)},[v,t,r,l]),c=u.useCallback(function(g){if(s&&s(g),!g.defaultPrevented)return jf(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",Dd=" ext. ",e2=/^\d+$/,De=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 jd(this.getCountryMetadata(t),this)}else if(r){if(!this.hasCallingCode(r))throw new Error("Unknown calling code: ".concat(r));this.numberingPlan=new jd(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}(),jd=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?Dd:this.metadata[13]||Dd}}]),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 De(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 De(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 De(t),t.selectNumberingPlan(e.country,e.countryCallingCode);var r=n.v2?e.nationalNumber:e.phone;if(vt(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:vt(e,n.pattern())}function u2(e,n,t){if(n=n||{},t=new De(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 vt(r,t.nationalNumberPattern())}function c2(e,n,t){var r=new De(t),i=r.getCountryCodesForCallingCode(e);return i?i.filter(function(o){return f2(n,o,t)}):[]}function f2(e,n,t){var r=new De(t);return r.selectNumberingPlan(n),r.numberingPlan.possibleLengths().indexOf(e.length)>=0}var Oi=2,p2=17,m2=3,Ye="0-90-9٠-٩۰-۹",h2="-‐-―−ー-",v2="//",g2="..",$2="  ­​⁠ ",b2="()()[]\\[\\]",y2="~⁓∼~",rt="".concat(h2).concat(v2).concat(g2).concat($2).concat(b2).concat(y2),ir="++",w2=new RegExp("(["+Ye+"])");function Gd(e,n,t,r){if(n){var i=new De(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]),v=e.slice(0,f);v===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!(vt(e,t.nationalNumberPattern())&&!vt(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 De(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(!vt(s,r.nationalNumberPattern())&&vt(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 De(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 De(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(Ye,"]{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="[- ]+",v="[  \\t]*",m="(?:,{2}|;)",p=O2+zt(n),c=o+l+a+zt(n)+d,h=o+s+a+zt(r)+d,g=f+zt(i)+"#",E=v+m+a+zt(t)+d,O=v+"(?:,)+"+a+zt(r)+d;return p+"|"+c+"|"+h+"|"+g+"|"+E+"|"+O}var P2="["+Ye+"]{"+Oi+"}",T2="["+ir+"]{0,1}(?:["+rt+"]*["+Ye+"]){3,}["+rt+Ye+"]*",I2=new RegExp("^["+ir+"]{0,1}(?:["+rt+"]*["+Ye+"]){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){D2(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 D2(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 j2(e,n,t,r){if(t?t=Qd(Qd({},el),t):t=el,r=new De(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(vt(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 De(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 j2(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 De(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 gt=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
- 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
- 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 De(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="(["+Ye+"]|"+l3+")",s3="^\\"+ml+hl+"*["+Ye+"]"+hl+"*$",u3=new RegExp(s3,"g"),Fi=Ye,c3="["+Fi+"]+((\\-)*["+Fi+"])*",f3="a-zA-Z",p3="["+f3+"]+((\\-)*["+Fi+"])*",m3="^("+c3+"\\.)*"+p3+"\\.?$",h3=new RegExp(m3,"g"),vl="tel:",Mi=";phone-context=",v3=";isub=";function g3(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=g3(e);if(!$3(r))throw new gt("NOT_A_NUMBER");var i;if(r===null)i=t(e)||"";else{i="",r.charAt(0)===ml&&(i+=r);var o=e.indexOf(vl),a;o>=0?a=o+vl.length:a=0;var d=e.indexOf(Mi);i+=e.substring(a,d)}var l=i.indexOf(v3);if(l>0&&(i=i.substring(0,l)),i!=="")return i}var y3=250,w3=new RegExp("["+ir+Ye+"]"),x3=new RegExp("[^"+Ye+"#]+$");function C3(e,n,t){if(n=n||{},t=new De(t),n.defaultCountry&&!t.hasCountry(n.defaultCountry))throw n.v2?new gt("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 gt("TOO_SHORT"):new gt("NOT_A_NUMBER");return{}}var d=P3(i,n.defaultCountry,n.defaultCallingCode,t),l=d.country,s=d.nationalNumber,f=d.countryCallingCode,v=d.countryCallingCodeSource,m=d.carrierCode;if(!t.hasSelectedNumberingPlan()){if(n.v2)throw new gt("INVALID_COUNTRY");return{}}if(!s||s.length<Oi){if(n.v2)throw new gt("TOO_SHORT");return{}}if(s.length>p2){if(n.v2)throw new gt("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=v,p}var c=(n.extended?t.hasSelectedNumberingPlan():l)?vt(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 gt("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,v=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:v}}function gl(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?gl(Object(t),!0).forEach(function(r){T3(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):gl(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){D3(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 D3(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 gt))throw r}}function j3(){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
- 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([Di(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(Di(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(Di(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 Di(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
- 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=ji(t.split(""),this.matchTree,!0);if(o&&o.match&&delete o.matchedChars,!(o&&o.overflow&&!i))return o}}]),e}();function ji(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=ji(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 v=f.value,m=ji(e,v,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
- `.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,v9=lr(Ri,h9),g9=/[- ]/,$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()&&g9.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=v9.match(l)[0];if(!(i.length>s.length)){var f=new RegExp("^"+l+"$"),v=i.replace(/\d/g,Ri);f.test(v)&&(s=v);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 g=s.replace(new RegExp(l),m).replace(new RegExp(Ri,"g"),it);return p||(d?g=lr(it,d.length)+" "+g:a&&(g=lr(it,a.length)+this.getSeparatorAfterNationalPrefix(t)+g)),o&&(g=Kd(g)),g}}},{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
- 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+Ye+"]+",N9=new RegExp("^"+I9+"$","i"),_9="(?:["+ir+"]["+rt+Ye+"]*|["+rt+Ye+"]+)",A9=new RegExp("[^"+rt+Ye+"]+.*$"),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=D9(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 D9(e){var n=L9(e),t=Ml(n,2),r=t[0],i=t[1];return N9.test(r)||(r=""),[r,i]}function j9(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 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}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 De(t);var r=this.getCountryAndCallingCode(n),i=j9(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 De(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 De(e).getCountries()}function z9(e,n,t){return t||(t=n,n=void 0),new Kt(n,t).input(e)}function jl(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=jl({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=jl({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,v=l.divider;return u.createElement("option",{key:v?"|":s||"ZZ",value:v?"|":s||"ZZ",disabled:!!v,style:v?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 v4=["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 g4(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=g4(e,v4);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 v=e.indexOf(e.filter(function(p){return p.value===f})[0]),m=e[v];e.splice(v,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),v=i===cr?s:void 0;return u.createElement("div",Ki({},f,{className:Qn("PhoneInputCountryIcon",{"PhoneInputCountryIcon--square":v===1,"PhoneInputCountryIcon--border":d})}),d?u.createElement(r,{country:d,countryName:l,flags:n,flagUrl:t,className:"PhoneInputCountryIconImg"}):u.createElement(i,{title:l,aspectRatio:v,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 j3(e||"",n)}function D4(e){return e.formatNational().replace(/\D/g,"")}function j4(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 De(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?D4(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(M){return as(pr(pr({},M),{},{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}),C=!a&&b;if(!h&&O&&C)return{country:o,phoneDigits:E({value:void 0,defaultCountry:o}),value:void 0}}if(!ls(a,m)&&!ls(a,c)){var x,k;if(a){a&&Yl(a),x=ns(a,r);var D=Zl(i,r);x&&x.country?(!D||D.indexOf(x.country)>=0)&&(k=x.country):(k=rs(a,{country:void 0,countries:D,metadata:r}),k||o&&a.indexOf($t(o,r))===0&&(k=o))}var H;if(a){if(g){var A=k?g===k:Yt(a,g,r);A?k||(k=g):H={latestCountrySelectedByUser:void 0}}}else H={latestCountrySelectedByUser:void 0,hasUserSelectedACountry:void 0};return pr(pr({},H),{},{phoneDigits:E({phoneNumber:x,value:a,defaultCountry:o}),value:a,country:a?k: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,C=E.onChange,x=E.focusInputOnCountrySelection,k=r.state,D=k.phoneDigits,H=k.country,A=j4(D,{prevCountry:H,newCountry:g,metadata:b,useNationalFormat:!O}),j=qt(A,g,b);x&&r.inputRef.current.focus(),r.setState({country:g,latestCountrySelectedByUser:g,hasUserSelectedACountry:!0,phoneDigits:A,value:j},function(){C(j)})}),ot(r,"onChange",function(g){var E=r.props,O=E.defaultCountry,b=E.onChange,C=E.addInternationalOption,x=E.international,k=E.limitMaxLength,D=E.countryCallingCodeEditable,H=E.metadata,A=r.state,j=A.countries,M=A.phoneDigits,Y=A.country,G=A.latestCountrySelectedByUser,W=W4(g,{prevPhoneDigits:M,country:Y,countryRequired:!C,defaultCountry:O,latestCountrySelectedByUser:G,getAnyCountry:function(){return r.getFirstSupportedCountry({countries:j})},countries:j,international:x,limitMaxLength:k,countryCallingCodeEditable:D,metadata:H}),oe=W.phoneDigits,ae=W.country,le=W.value,re={phoneDigits:oe,value:le,country:ae};G&&le&&!Yt(le,G,H)&&(re.latestCountrySelectedByUser=void 0),D===!1&&!le&&oe===r.state.phoneDigits&&(re.forceRerender={}),r.setState(re,function(){return b(le)})}),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 C=X4(r,Y4),x=this.state,k=x.country,D=x.countries,H=x.phoneDigits,A=x.isFocused,j=m?t4:a4,M=this.getCountrySelectOptions({countries:D});return u.createElement(h,Zt({style:l,className:Qn(s,"PhoneInput",{"PhoneInput--focus":A,"PhoneInput--disabled":o,"PhoneInput--readOnly":a})},g),u.createElement(p,Zt({name:i?"".concat(i,"Country"):void 0,"aria-label":E.country},c,{value:k,options:M,onChange:this.onCountryChange,onFocus:this.onCountryFocus,onBlur:this.onCountryBlur,disabled:o||c&&c.disabled,readOnly:a||c&&c.readOnly,iconComponent:this.CountryIcon})),u.createElement(j,Zt({ref:this.setInputRef,type:"tel",autoComplete:d},v,C,{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:k,value:H||"",onChange:this.onChange,onFocus:this.onFocus,onBlur:this.onBlur,disabled:o,readOnly:a,inputComponent:f,className:Qn("PhoneInputInput",v&&v.className,C.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 A=O(s);A&&(C(A),c.current=s)}},[s]);const h=(A,j)=>JSON.stringify(A)===JSON.stringify(j),g=(A,j)=>Jt[A]<Jt[j]?-1:Jt[A]>Jt[j]?1:0,E=f6().sort(g).map(A=>({label:A+" +"+Zi(A),value:A})),O=A=>E.find(j=>j.value==A),[b,C]=u.useState(()=>{const A=O(c.current);return A||null}),x=A=>{c.current=A;const j=O(A);C(j),H(k.current)},k=u.useRef(l??""),D=A=>{const j=A.trim();if(j&&c.current){if(/^(\d)\1*$/.test(A.trim()))return!1;const G=`+${Zi(c.current)}${j}`;return c6(G)}return!0},H=(A,j=!1)=>{if(!a){const G={phoneNumber:A,countryCode:c.current,error:void 0,id:d,initialConsentChecked:j};r(G)}A=A.trim();const M=A?D(A)?void 0:"invalid":n?"required":void 0;m(!(!v&&M!==void 0));const Y={phoneNumber:A,countryCode:c.current,error:M,id:d,initialConsentChecked:j};r(Y)};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:x,"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(A=>N.jsx(fi,{disable:!1,value:A.value,className:({active:j})=>`${j||h(b,A)?St.active:""}`,"data-testid":`phone-select-option-${A.value}`,children:N.jsx("div",{className:`${St.countryListText} ouiCountryListText`,children:N.jsxs("span",{children:[Jt[A.value]," +",Zi(A.value)]})})},A.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:A=>{k.current=A.target.value.trim()},onChange:A=>{k.current=A.target.value,H(k.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:`
63
+ */var Bd;function Pf(){return Bd||(Bd=1,function(e){(function(){var t={}.hasOwnProperty;function n(){for(var i="",a=0;a<arguments.length;a++){var d=arguments[a];d&&(i=o(i,r(d)))}return i}function r(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return n.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var a="";for(var d in i)t.call(i,d)&&i[d]&&(a=o(a,d));return a}function o(i,a){return a?i?i+" "+a:i+a:i}e.exports?(n.default=n,e.exports=n):window.classNames=n})()}(Ao)),Ao.exports}var Tf=Pf();const cr=fi(Tf);function Nf(e,t,n){switch(n){case"Backspace":t>0&&(e=e.slice(0,t-1)+e.slice(t),t--);break;case"Delete":e=e.slice(0,t)+e.slice(t+1);break}return{value:e,caret:t}}function If(e,t,n){for(var r={},o="",i=0,a=0;a<e.length;){var d=n(e[a],o,r);d!==void 0&&(o+=d,t!==void 0&&(t===a?i=o.length-1:t>a&&(i=o.length))),a++}t===void 0&&(i=o.length);var l={value:o,caret:i};return l}function _f(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Af(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
64
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Af(e,t){if(e){if(typeof e=="string")return Wd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Wd(e,t)}}function Wd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ko(e,t){for(var n=0,r=_f(t.split("")),o;!(o=r()).done;){var i=o.value;i===e&&n++}return n}function kf(e,t){for(var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"x",r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:" ",o=e.length,i=ko("(",e),a=ko(")",e),d=i-a;d>0&&o<t.length;)e+=t[o].replace(n,r),t[o]===")"&&d--,o++;return e}function Ff(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Mf(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
65
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Mf(e,t){if(e){if(typeof e=="string")return Vd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Vd(e,t)}}function Vd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Lf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"x",n=arguments.length>2?arguments[2]:void 0;if(!e)return function(o){return{text:o}};var r=ko(t,e);return function(o){if(!o)return{text:"",template:e};for(var i=0,a="",d=Ff(e.split("")),l;!(l=d()).done;){var s=l.value;if(s!==t){a+=s;continue}if(a+=o[i],i++,i===o.length&&o.length<r)break}return n&&(a=kf(a,e)),{text:a,template:e}}}function jf(e,t,n){typeof n=="string"&&(n=Lf(n));var r=n(e)||{},o=r.text,i=r.template;if(o===void 0&&(o=e),i)if(t===void 0)t=o.length;else{for(var a=0,d=!1,l=-1;a<o.length&&a<i.length;){if(o[a]!==i[a]){if(t===0){d=!0,t=a;break}l=a,t--}a++}d||(t=l+1)}return{text:o,caret:t}}function Df(e){return e.hasAttribute("readonly")}function Rf(e){if(e.selectionStart!==e.selectionEnd)return{start:e.selectionStart,end:e.selectionEnd}}var Ud={Backspace:8,Delete:46};function Bf(e){switch(e.keyCode){case Ud.Backspace:return"Backspace";case Ud.Delete:return"Delete"}}function Wf(e){return e.selectionStart}function Hd(e,t){t!==void 0&&(Vf()?setTimeout(function(){return e.setSelectionRange(t,t)},0):e.setSelectionRange(t,t))}function Vf(){if(typeof navigator<"u")return Uf.test(navigator.userAgent)}var Uf=/Android/i;function Hf(e,t,n,r,o){Fo(t,n,r,void 0,o)}function Gf(e,t,n,r,o){if(!Df(t)){var i=Bf(e);switch(i){case"Delete":case"Backspace":e.preventDefault();var a=Rf(t);return a?(Kf(t,a),Fo(t,n,r,void 0,o)):Fo(t,n,r,i,o)}}}function Kf(e,t){var n=e.value;n=n.slice(0,t.start)+n.slice(t.end),e.value=n,Hd(e,t.start)}function Fo(e,t,n,r,o){var i=If(e.value,Wf(e),t),a=i.value,d=i.caret;if(r){var l=Nf(a,d,r);a=l.value,d=l.caret}var s=jf(a,d,n),f=s.text;d=s.caret,e.value=f,Hd(e,d),o&&o(a)}var zf=["ref","parse","format","value","defaultValue","controlled","onChange","onKeyDown"];function Gd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Gt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Gd(Object(n),!0).forEach(function(r){qf(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gd(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function qf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yf(e,t){if(e==null)return{};var n=Xf(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Xf(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function Zf(e){var t=e.ref,n=e.parse,r=e.format,o=e.value,i=e.defaultValue,a=e.controlled,d=a===void 0?!0:a,l=e.onChange,s=e.onKeyDown,f=Yf(e,zf),v=u.useRef(),m=u.useCallback(function(g){v.current=g,t&&(typeof t=="function"?t(g):t.current=g)},[t]),p=u.useCallback(function(g){return Hf(g,v.current,n,r,l)},[v,n,r,l]),c=u.useCallback(function(g){if(s&&s(g),!g.defaultPrevented)return Gf(g,v.current,n,r,l)},[v,n,r,l,s]),h=Gt(Gt({},f),{},{ref:m,onChange:p,onKeyDown:c});return d?Gt(Gt({},h),{},{value:r(Kd(o)?"":o).text}):Gt(Gt({},h),{},{defaultValue:r(Kd(i)?"":i).text})}function Kd(e){return e==null}var Jf=["inputComponent","parse","format","value","defaultValue","onChange","controlled","onKeyDown","type"];function zd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Qf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?zd(Object(n),!0).forEach(function(r){e2(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zd(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function e2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function t2(e,t){if(e==null)return{};var n=n2(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function n2(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function fr(e,t){var n=e.inputComponent,r=n===void 0?"input":n,o=e.parse,i=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=t2(e,Jf),c=Zf(Qf({ref:t,parse:o,format:i,value:a,defaultValue:d,onChange:l,controlled:s,onKeyDown:f,type:m},p));return u.createElement(r,c)}fr=u.forwardRef(fr),fr.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 qd(e,t){e=e.split("-"),t=t.split("-");for(var n=e[0].split("."),r=t[0].split("."),o=0;o<3;o++){var i=Number(n[o]),a=Number(r[o]);if(i>a)return 1;if(a>i)return-1;if(!isNaN(i)&&isNaN(a))return 1;if(isNaN(i)&&!isNaN(a))return-1}return e[1]&&t[1]?e[1]>t[1]?1:e[1]<t[1]?-1:0:!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0}var r2={}.constructor;function Ft(e){return e!=null&&e.constructor===r2}function Kt(e){"@babel/helpers - typeof";return Kt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Kt(e)}function pr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,i2(r.key),r)}}function mr(e,t,n){return t&&o2(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function i2(e){var t=a2(e,"string");return Kt(t)=="symbol"?t:t+""}function a2(e,t){if(Kt(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Kt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var d2="1.2.0",l2="1.7.35",Yd=" ext. ",s2=/^\d+$/,Me=function(){function e(t){pr(this,e),Jd(t),this.metadata=t,el.call(this,t)}return mr(e,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(n){return n!=="001"})}},{key:"getCountryMetadata",value:function(n){return this.metadata.countries[n]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(n){return this.getCountryMetadata(n)!==void 0}},{key:"hasCallingCode",value:function(n){if(this.getCountryCodesForCallingCode(n))return!0;if(this.nonGeographic()){if(this.nonGeographic()[n])return!0}else{var r=this.countryCallingCodes()[n];if(r&&r.length===1&&r[0]==="001")return!0}}},{key:"isNonGeographicCallingCode",value:function(n){return this.nonGeographic()?!!this.nonGeographic()[n]:!this.getCountryCodesForCallingCode(n)}},{key:"country",value:function(n){return this.selectNumberingPlan(n)}},{key:"selectNumberingPlan",value:function(n,r){if(n&&s2.test(n)&&(r=n,n=null),n&&n!=="001"){if(!this.hasCountry(n))throw new Error("Unknown country: ".concat(n));this.numberingPlan=new Xd(this.getCountryMetadata(n),this)}else if(r){if(!this.hasCallingCode(r))throw new Error("Unknown calling code: ".concat(r));this.numberingPlan=new Xd(this.getNumberingPlanMetadata(r),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(n){var r=this.countryCallingCodes()[n];if(r)return r.length===1&&r[0].length===3?void 0:r}},{key:"getCountryCodeForCallingCode",value:function(n){var r=this.getCountryCodesForCallingCode(n);if(r)return r[0]}},{key:"getNumberingPlanMetadata",value:function(n){var r=this.getCountryCodeForCallingCode(n);if(r)return this.getCountryMetadata(r);if(this.nonGeographic()){var o=this.nonGeographic()[n];if(o)return o}else{var i=this.countryCallingCodes()[n];if(i&&i.length===1&&i[0]==="001")return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(n){return this.numberingPlan.type(n)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(n){return this.selectNumberingPlan(n)}},{key:"hasSelectedNumberingPlan",value:function(){return this.numberingPlan!==void 0}}])}(),Xd=function(){function e(t,n){pr(this,e),this.globalMetadataObject=n,this.metadata=t,el.call(this,n.metadata)}return mr(e,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"IDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(n){return n[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var n=this,r=this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[];return r.map(function(o){return new u2(o,n)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(n){return n[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return this.types()&&this.types().length===0?!1:!!this.types()}},{key:"type",value:function(n){if(this.hasTypes()&&Zd(this.types(),n))return new f2(Zd(this.types(),n),this)}},{key:"ext",value:function(){return this.v1||this.v2?Yd:this.metadata[13]||Yd}}])}(),u2=function(){function e(t,n){pr(this,e),this._format=t,this.metadata=n}return mr(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()&&!c2.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}])}(),c2=/^\(?\$1\)?$/,f2=function(){function e(t,n){pr(this,e),this.type=t,this.metadata=n}return mr(e,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}])}();function Zd(e,t){switch(t){case"FIXED_LINE":return e[0];case"MOBILE":return e[1];case"TOLL_FREE":return e[2];case"PREMIUM_RATE":return e[3];case"PERSONAL_NUMBER":return e[4];case"VOICEMAIL":return e[5];case"UAN":return e[6];case"PAGER":return e[7];case"VOIP":return e[8];case"SHARED_COST":return e[9]}}function Jd(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 "+p2(e)+": "+e,"."))}var p2=function(t){return Kt(t)};function ht(e,t){if(t=new Me(t),t.hasCountry(e))return t.selectNumberingPlan(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function Qd(e,t){return t.countries.hasOwnProperty(e)}function el(e){var t=e.version;typeof t=="number"?(this.v1=t===1,this.v2=t===2,this.v3=t===3,this.v4=t===4):t?qd(t,d2)===-1?this.v2=!0:qd(t,l2)===-1?this.v3=!0:this.v4=!0:this.v1=!0}function hr(e,t,n){return m2(e,t,void 0,n)}function m2(e,t,n,r){t&&(r=new Me(r.metadata),r.selectNumberingPlan(t));var o=r.type(n),i=o&&o.possibleLengths()||r.possibleLengths();if(!i)return"IS_POSSIBLE";var a=e.length,d=i[0];return d===a?"IS_POSSIBLE":d>a?"TOO_SHORT":i[i.length-1]<a?"TOO_LONG":i.indexOf(a,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function h2(e,t,n){if(t===void 0&&(t={}),n=new Me(n),t.v2){if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(e.countryCallingCode)}else{if(!e.phone)return!1;if(e.country){if(!n.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));n.selectNumberingPlan(e.country)}else{if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(e.countryCallingCode)}}if(n.possibleLengths())return tl(e.phone||e.nationalNumber,e.country,n);if(e.countryCallingCode&&n.isNonGeographicCallingCode(e.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}function tl(e,t,n){switch(hr(e,t,n)){case"IS_POSSIBLE":return!0;default:return!1}}function vt(e,t){return e=e||"",new RegExp("^(?:"+t+")$").test(e)}function v2(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=g2(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
66
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function g2(e,t){if(e){if(typeof e=="string")return nl(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?nl(e,t):void 0}}function nl(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var b2=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function Mo(e,t,n){if(t=t||{},!(!e.country&&!e.countryCallingCode)){n=new Me(n),n.selectNumberingPlan(e.country,e.countryCallingCode);var r=t.v2?e.nationalNumber:e.phone;if(vt(r,n.nationalNumberPattern())){if(Lo(r,"FIXED_LINE",n))return n.type("MOBILE")&&n.type("MOBILE").pattern()===""||!n.type("MOBILE")||Lo(r,"MOBILE",n)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE";for(var o=v2(b2),i;!(i=o()).done;){var a=i.value;if(Lo(r,a,n))return a}}}}function Lo(e,t,n){return t=n.type(t),!t||!t.pattern()||t.possibleLengths()&&t.possibleLengths().indexOf(e.length)<0?!1:vt(e,t.pattern())}function $2(e,t,n){if(t=t||{},n=new Me(n),n.selectNumberingPlan(e.country,e.countryCallingCode),n.hasTypes())return Mo(e,t,n.metadata)!==void 0;var r=t.v2?e.nationalNumber:e.phone;return vt(r,n.nationalNumberPattern())}function y2(e,t,n){var r=new Me(n),o=r.getCountryCodesForCallingCode(e);return o?o.filter(function(i){return w2(t,i,n)}):[]}function w2(e,t,n){var r=new Me(n);return r.selectNumberingPlan(t),r.numberingPlan.possibleLengths().indexOf(e.length)>=0}var jo=2,x2=17,C2=3,Ye="0-90-9٠-٩۰-۹",E2="-‐-―−ー-",S2="//",O2="..",P2="  ­​⁠ ",T2="()()[]\\[\\]",N2="~⁓∼~",rt="".concat(E2).concat(S2).concat(O2).concat(P2).concat(T2).concat(N2),vr="++",I2=new RegExp("(["+Ye+"])");function rl(e,t,n,r){if(t){var o=new Me(r);o.selectNumberingPlan(t,n);var i=new RegExp(o.IDDPrefix());if(e.search(i)===0){e=e.slice(e.match(i)[0].length);var a=e.match(I2);if(!(a&&a[1]!=null&&a[1].length>0&&a[1]==="0"))return e}}}function Do(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(e);if(r){var o,i,a=r.length-1,d=a>0&&r[a];if(t.nationalPrefixTransformRule()&&d)o=e.replace(n,t.nationalPrefixTransformRule()),a>1&&(i=r[1]);else{var l=r[0];o=e.slice(l.length),d&&(i=r[1])}var s;if(d){var f=e.indexOf(r[1]),v=e.slice(0,f);v===t.numberingPlan.nationalPrefix()&&(s=t.numberingPlan.nationalPrefix())}else s=r[0];return{nationalNumber:o,nationalPrefix:s,carrierCode:i}}}return{nationalNumber:e}}function _2(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=A2(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
67
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function A2(e,t){if(e){if(typeof e=="string")return ol(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ol(e,t):void 0}}function ol(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function il(e,t){var n=t.countries,r=t.metadata;r=new Me(r);for(var o=_2(n),i;!(i=o()).done;){var a=i.value;if(r.selectNumberingPlan(a),r.leadingDigits()){if(e&&e.search(r.leadingDigits())===0)return a}else if(Mo({phone:e,country:a},void 0,r.metadata))return a}}function Ro(e,t){var n=t.nationalNumber,r=t.metadata,o=r.getCountryCodesForCallingCode(e);if(o)return o.length===1?o[0]:il(n,{countries:o,metadata:r.metadata})}function Bo(e,t,n){var r=Do(e,n),o=r.carrierCode,i=r.nationalNumber;if(i!==e){if(!k2(e,i,n))return{nationalNumber:e};if(n.numberingPlan.possibleLengths()&&(t||(t=Ro(n.numberingPlan.callingCode(),{nationalNumber:i,metadata:n})),!F2(i,t,n)))return{nationalNumber:e}}return{nationalNumber:i,carrierCode:o}}function k2(e,t,n){return!(vt(e,n.nationalNumberPattern())&&!vt(t,n.nationalNumberPattern()))}function F2(e,t,n){switch(hr(e,t,n)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}function al(e,t,n,r,o){var i=t||n?ht(t||n,o):r;if(e.indexOf(i)===0){o=new Me(o),o.selectNumberingPlan(t||n,i);var a=e.slice(i.length),d=Bo(a,t,o),l=d.nationalNumber,s=Bo(e,t,o),f=s.nationalNumber;if(!vt(f,o.nationalNumberPattern())&&vt(l,o.nationalNumberPattern())||hr(f,t,o)==="TOO_LONG")return{countryCallingCode:i,number:a}}return{number:e}}function Wo(e,t,n,r,o){if(!e)return{};var i;if(e[0]!=="+"){var a=rl(e,t||n,r,o);if(a&&a!==e)i=!0,e="+"+a;else{if(t||n||r){var d=al(e,t,n,r,o),l=d.countryCallingCode,s=d.number;if(l)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:l,number:s}}return{number:e}}}if(e[1]==="0")return{};o=new Me(o);for(var f=2;f-1<=C2&&f<=e.length;){var v=e.slice(1,f);if(o.hasCallingCode(v))return o.selectNumberingPlan(v),{countryCallingCodeSource:i?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:v,number:e.slice(f)};f++}return{}}function dl(e){return e.replace(new RegExp("[".concat(rt,"]+"),"g")," ").trim()}var ll=/(\$\d)/;function sl(e,t,n){var r=n.useInternationalFormat,o=n.withNationalPrefix;n.carrierCode,n.metadata;var i=e.replace(new RegExp(t.pattern()),r?t.internationalFormat():o&&t.nationalPrefixFormattingRule()?t.format().replace(ll,t.nationalPrefixFormattingRule()):t.format());return r?dl(i):i}var M2=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function L2(e,t,n){var r=new Me(n);if(r.selectNumberingPlan(e,t),r.defaultIDDPrefix())return r.defaultIDDPrefix();if(M2.test(r.IDDPrefix()))return r.IDDPrefix()}var j2=";ext=",zt=function(t){return"([".concat(Ye,"]{1,").concat(t,"})")};function ul(e){var t="20",n="15",r="9",o="6",i="[  \\t,]*",a="[:\\..]?[  \\t,-]*",d="#?",l="(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)",s="(?:[xx##~~]|int|int)",f="[- ]+",v="[  \\t]*",m="(?:,{2}|;)",p=j2+zt(t),c=i+l+a+zt(t)+d,h=i+s+a+zt(r)+d,g=f+zt(o)+"#",E=v+m+a+zt(n)+d,O=v+"(?:,)+"+a+zt(r)+d;return p+"|"+c+"|"+h+"|"+g+"|"+E+"|"+O}var D2="["+Ye+"]{"+jo+"}",R2="["+vr+"]{0,1}(?:["+rt+"]*["+Ye+"]){3,}["+rt+Ye+"]*",B2=new RegExp("^["+vr+"]{0,1}(?:["+rt+"]*["+Ye+"]){1,2}$","i"),W2=R2+"(?:"+ul()+")?",V2=new RegExp("^"+D2+"$|^"+W2+"$","i");function U2(e){return e.length>=jo&&V2.test(e)}function H2(e){return B2.test(e)}function G2(e){var t=e.number,n=e.ext;if(!t)return"";if(t[0]!=="+")throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(t).concat(n?";ext="+n:"")}var cl={formatExtension:function(t,n,r){return"".concat(t).concat(r.ext()).concat(n)}};function K2(e,t,n,r){if(n?n=Y2({},cl,n):n=cl,r=new Me(r),e.country&&e.country!=="001"){if(!r.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));r.selectNumberingPlan(e.country)}else if(e.countryCallingCode)r.selectNumberingPlan(e.countryCallingCode);else return e.phone||"";var o=r.countryCallingCode(),i=n.v2?e.nationalNumber:e.phone,a;switch(t){case"NATIONAL":return i?(a=gr(i,e.carrierCode,"NATIONAL",r,n),Vo(a,e.ext,r,n.formatExtension)):"";case"INTERNATIONAL":return i?(a=gr(i,null,"INTERNATIONAL",r,n),a="+".concat(o," ").concat(a),Vo(a,e.ext,r,n.formatExtension)):"+".concat(o);case"E.164":return"+".concat(o).concat(i);case"RFC3966":return G2({number:"+".concat(o).concat(i),ext:e.ext});case"IDD":if(!n.fromCountry)return;var d=q2(i,e.carrierCode,o,n.fromCountry,r);return d?Vo(d,e.ext,r,n.formatExtension):void 0;default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t,'"'))}}function gr(e,t,n,r,o){var i=z2(r.formats(),e);return i?sl(e,i,{useInternationalFormat:n==="INTERNATIONAL",withNationalPrefix:!(i.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&o&&o.nationalPrefix===!1),carrierCode:t,metadata:r}):e}function z2(e,t){return X2(e,function(n){if(n.leadingDigitsPatterns().length>0){var r=n.leadingDigitsPatterns()[n.leadingDigitsPatterns().length-1];if(t.search(r)!==0)return!1}return vt(t,n.pattern())})}function Vo(e,t,n,r){return t?r(e,t,n):e}function q2(e,t,n,r,o){var i=ht(r,o.metadata);if(i===n){var a=gr(e,t,"NATIONAL",o);return n==="1"?n+" "+a:a}var d=L2(r,void 0,o.metadata);if(d)return"".concat(d," ").concat(n," ").concat(gr(e,null,"INTERNATIONAL",o))}function Y2(){for(var e=1,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];for(;e<n.length;){if(n[e])for(var o in n[e])n[0][o]=n[e][o];e++}return n[0]}function X2(e,t){for(var n=0;n<e.length;){if(t(e[n]))return e[n];n++}}function xn(e){"@babel/helpers - typeof";return xn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xn(e)}function fl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function pl(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?fl(Object(n),!0).forEach(function(r){Z2(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fl(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Z2(e,t,n){return(t=ml(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function J2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ml(r.key),r)}}function e3(e,t,n){return t&&Q2(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function ml(e){var t=t3(e,"string");return xn(t)=="symbol"?t:t+""}function t3(e,t){if(xn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(xn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var hl=function(){function e(t,n,r){if(J2(this,e),!t)throw new TypeError("First argument is required");if(typeof t!="string")throw new TypeError("First argument must be a string");if(t[0]==="+"&&!n)throw new TypeError("`metadata` argument not passed");if(Ft(n)&&Ft(n.countries)){r=n;var o=t;if(!o3.test(o))throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');var i=Wo(o,void 0,void 0,void 0,r),a=i.countryCallingCode,d=i.number;if(n=d,t=a,!n)throw new Error("Invalid `number` argument passed: too short")}if(!n)throw new TypeError("`nationalNumber` argument is required");if(typeof n!="string")throw new TypeError("`nationalNumber` argument must be a string");Jd(r);var l=r3(t,r),s=l.country,f=l.countryCallingCode;this.country=s,this.countryCallingCode=f,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r}}return e3(e,[{key:"setExt",value:function(n){this.ext=n}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:y2(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return h2(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return $2(this,{v2:!0},this.getMetadata())}},{key:"isNonGeographic",value:function(){var n=new Me(this.getMetadata());return n.isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(n){return this.number===n.number&&this.ext===n.ext}},{key:"getType",value:function(){return Mo(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(n,r){return K2(this,n,r?pl(pl({},r),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:"formatNational",value:function(n){return this.format("NATIONAL",n)}},{key:"formatInternational",value:function(n){return this.format("INTERNATIONAL",n)}},{key:"getURI",value:function(n){return this.format("RFC3966",n)}}])}(),n3=function(t){return/^[A-Z]{2}$/.test(t)};function r3(e,t){var n,r,o=new Me(t);return n3(e)?(n=e,o.selectNumberingPlan(n),r=o.countryCallingCode()):r=e,{country:n,countryCallingCode:r}}var o3=/^\+\d+$/;function Uo(e){"@babel/helpers - typeof";return Uo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Uo(e)}function i3(e,t,n){return Object.defineProperty(e,"prototype",{writable:!1}),e}function a3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d3(e,t,n){return t=En(t),l3(e,Go()?Reflect.construct(t,n||[],En(e).constructor):t.apply(e,n))}function l3(e,t){if(t&&(Uo(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return s3(e)}function s3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Cn(e,t)}function Ho(e){var t=typeof Map=="function"?new Map:void 0;return Ho=function(r){if(r===null||!f3(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return c3(r,arguments,En(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Cn(o,r)},Ho(e)}function c3(e,t,n){if(Go())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&Cn(o,n.prototype),o}function Go(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Go=function(){return!!e})()}function f3(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function Cn(e,t){return Cn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Cn(e,t)}function En(e){return En=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},En(e)}var gt=function(e){function t(n){var r;return a3(this,t),r=d3(this,t,[n]),Object.setPrototypeOf(r,t.prototype),r.name=r.constructor.name,r}return u3(t,e),i3(t)}(Ho(Error)),vl=new RegExp("(?:"+ul()+")$","i");function p3(e){var t=e.search(vl);if(t<0)return{};for(var n=e.slice(0,t),r=e.match(vl),o=1;o<r.length;){if(r[o])return{number:n,ext:r[o]};o++}}function m3(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=h3(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
68
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function h3(e,t){if(e){if(typeof e=="string")return gl(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?gl(e,t):void 0}}function gl(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var v3={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 bl(e){return v3[e]}function br(e){for(var t="",n=m3(e.split("")),r;!(r=n()).done;){var o=r.value,i=bl(o);i&&(t+=i)}return t}function g3(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=b3(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
69
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function b3(e,t){if(e){if(typeof e=="string")return $l(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$l(e,t):void 0}}function $l(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Ko(e){for(var t="",n=g3(e.split("")),r;!(r=n()).done;){var o=r.value;t+=yl(o,t)||""}return t}function yl(e,t,n){if(e==="+"){if(t){typeof n=="function"&&n("end");return}return"+"}return bl(e)}var wl="+",$3="[\\-\\.\\(\\)]?",xl="(["+Ye+"]|"+$3+")",y3="^\\"+wl+xl+"*["+Ye+"]"+xl+"*$",w3=new RegExp(y3,"g"),zo=Ye,x3="["+zo+"]+((\\-)*["+zo+"])*",C3="a-zA-Z",E3="["+C3+"]+((\\-)*["+zo+"])*",S3="^("+x3+"\\.)*"+E3+"\\.?$",O3=new RegExp(S3,"g"),Cl="tel:",qo=";phone-context=",P3=";isub=";function T3(e){var t=e.indexOf(qo);if(t<0)return null;var n=t+qo.length;if(n>=e.length)return"";var r=e.indexOf(";",n);return r>=0?e.substring(n,r):e.substring(n)}function N3(e){return e===null?!0:e.length===0?!1:w3.test(e)||O3.test(e)}function I3(e,t){var n=t.extractFormattedPhoneNumber,r=T3(e);if(!N3(r))throw new gt("NOT_A_NUMBER");var o;if(r===null)o=n(e)||"";else{o="",r.charAt(0)===wl&&(o+=r);var i=e.indexOf(Cl),a;i>=0?a=i+Cl.length:a=0;var d=e.indexOf(qo);o+=e.substring(a,d)}var l=o.indexOf(P3);if(l>0&&(o=o.substring(0,l)),o!=="")return o}var _3=250,A3=new RegExp("["+vr+Ye+"]"),k3=new RegExp("[^"+Ye+"#]+$");function F3(e,t,n){if(t=t||{},n=new Me(n),t.defaultCountry&&!n.hasCountry(t.defaultCountry))throw t.v2?new gt("INVALID_COUNTRY"):new Error("Unknown country: ".concat(t.defaultCountry));var r=L3(e,t.v2,t.extract),o=r.number,i=r.ext,a=r.error;if(!o){if(t.v2)throw a==="TOO_SHORT"?new gt("TOO_SHORT"):new gt("NOT_A_NUMBER");return{}}var d=D3(o,t.defaultCountry,t.defaultCallingCode,n),l=d.country,s=d.nationalNumber,f=d.countryCallingCode,v=d.countryCallingCodeSource,m=d.carrierCode;if(!n.hasSelectedNumberingPlan()){if(t.v2)throw new gt("INVALID_COUNTRY");return{}}if(!s||s.length<jo){if(t.v2)throw new gt("TOO_SHORT");return{}}if(s.length>x2){if(t.v2)throw new gt("TOO_LONG");return{}}if(t.v2){var p=new hl(f,s,n.metadata);return l&&(p.country=l),m&&(p.carrierCode=m),i&&(p.ext=i),p.__countryCallingCodeSource=v,p}var c=(t.extended?n.hasSelectedNumberingPlan():l)?vt(s,n.nationalNumberPattern()):!1;return t.extended?{country:l,countryCallingCode:f,carrierCode:m,valid:c,possible:c?!0:!!(t.extended===!0&&n.possibleLengths()&&tl(s,l,n)),phone:s,ext:i}:c?j3(l,s,i):{}}function M3(e,t,n){if(e){if(e.length>_3){if(n)throw new gt("TOO_LONG");return}if(t===!1)return e;var r=e.search(A3);if(!(r<0))return e.slice(r).replace(k3,"")}}function L3(e,t,n){var r=I3(e,{extractFormattedPhoneNumber:function(a){return M3(a,n,t)}});if(!r)return{};if(!U2(r))return H2(r)?{error:"TOO_SHORT"}:{};var o=p3(r);return o.ext?o:{number:r}}function j3(e,t,n){var r={country:e,phone:t};return n&&(r.ext=n),r}function D3(e,t,n,r){var o=Wo(Ko(e),void 0,t,n,r.metadata),i=o.countryCallingCodeSource,a=o.countryCallingCode,d=o.number,l;if(a)r.selectNumberingPlan(a);else if(d&&(t||n))r.selectNumberingPlan(t,n),t&&(l=t),a=n||ht(t,r.metadata);else return{};if(!d)return{countryCallingCodeSource:i,countryCallingCode:a};var s=Bo(Ko(d),l,r),f=s.nationalNumber,v=s.carrierCode,m=Ro(a,{nationalNumber:f,metadata:r});return m&&(l=m,m==="001"||r.selectNumberingPlan(l)),{country:l,countryCallingCode:a,countryCallingCodeSource:i,nationalNumber:f,carrierCode:v}}function Sn(e){"@babel/helpers - typeof";return Sn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Sn(e)}function El(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Sl(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?El(Object(n),!0).forEach(function(r){R3(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):El(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function R3(e,t,n){return(t=B3(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function B3(e){var t=W3(e,"string");return Sn(t)=="symbol"?t:t+""}function W3(e,t){if(Sn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Sn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function V3(e,t,n){return F3(e,Sl(Sl({},t),{},{v2:!0}),n)}function On(e){"@babel/helpers - typeof";return On=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},On(e)}function Ol(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function U3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ol(Object(n),!0).forEach(function(r){H3(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ol(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function H3(e,t,n){return(t=G3(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function G3(e){var t=K3(e,"string");return On(t)=="symbol"?t:t+""}function K3(e,t){if(On(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(On(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function z3(e,t){return Z3(e)||X3(e,t)||Y3(e,t)||q3()}function q3(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
70
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Y3(e,t){if(e){if(typeof e=="string")return Pl(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Pl(e,t):void 0}}function Pl(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function X3(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,i,a,d=[],l=!0,s=!1;try{if(i=(n=n.call(e)).next,t!==0)for(;!(l=(r=i.call(n)).done)&&(d.push(r.value),d.length!==t);l=!0);}catch(f){s=!0,o=f}finally{try{if(!l&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return d}}function Z3(e){if(Array.isArray(e))return e}function Tl(e){var t=Array.prototype.slice.call(e),n=z3(t,4),r=n[0],o=n[1],i=n[2],a=n[3],d,l,s;if(typeof r=="string")d=r;else throw new TypeError("A text for parsing must be a string.");if(!o||typeof o=="string")a?(l=i,s=a):(l=void 0,s=i),o&&(l=U3({defaultCountry:o},l));else if(Ft(o))i?(l=o,s=i):s=o;else throw new Error("Invalid second argument: ".concat(o));return{text:d,options:l,metadata:s}}function Pn(e){"@babel/helpers - typeof";return Pn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pn(e)}function Nl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Il(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Nl(Object(n),!0).forEach(function(r){J3(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nl(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function J3(e,t,n){return(t=Q3(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Q3(e){var t=e9(e,"string");return Pn(t)=="symbol"?t:t+""}function e9(e,t){if(Pn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Pn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function _l(e,t,n){t&&t.defaultCountry&&!Qd(t.defaultCountry,n)&&(t=Il(Il({},t),{},{defaultCountry:void 0}));try{return V3(e,t,n)}catch(r){if(!(r instanceof gt))throw r}}function t9(){var e=Tl(arguments),t=e.text,n=e.options,r=e.metadata;return _l(t,n,r)}function Tn(e){"@babel/helpers - typeof";return Tn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Tn(e)}function Al(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function kl(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Al(Object(n),!0).forEach(function(r){n9(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Al(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function n9(e,t,n){return(t=r9(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r9(e){var t=o9(e,"string");return Tn(t)=="symbol"?t:t+""}function o9(e,t){if(Tn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Tn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function i9(){var e=Tl(arguments),t=e.text,n=e.options,r=e.metadata;n=kl(kl({},n),{},{extract:!1});var o=_l(t,n,r);return o&&o.isValid()||!1}function Nn(e){"@babel/helpers - typeof";return Nn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Nn(e)}function a9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d9(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,s9(r.key),r)}}function l9(e,t,n){return t&&d9(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function s9(e){var t=u9(e,"string");return Nn(t)=="symbol"?t:t+""}function u9(e,t){if(Nn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Nn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var c9=function(){function e(t){var n=t.onCountryChange,r=t.onCallingCodeChange;a9(this,e),this.onCountryChange=n,this.onCallingCodeChange=r}return l9(e,[{key:"reset",value:function(n){var r=n.country,o=n.callingCode;this.international=!1,this.missingPlus=!1,this.IDDPrefix=void 0,this.callingCode=void 0,this.digits="",this.resetNationalSignificantNumber(),this.initCountryAndCallingCode(r,o)}},{key:"resetNationalSignificantNumber",value:function(){this.nationalSignificantNumber=this.getNationalDigits(),this.nationalSignificantNumberIsModified=!1,this.nationalPrefix=void 0,this.carrierCode=void 0,this.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix=void 0}},{key:"update",value:function(n){for(var r=0,o=Object.keys(n);r<o.length;r++){var i=o[r];this[i]=n[i]}}},{key:"initCountryAndCallingCode",value:function(n,r){this.setCountry(n),this.setCallingCode(r)}},{key:"setCountry",value:function(n){this.country=n,this.onCountryChange(n)}},{key:"setCallingCode",value:function(n){this.callingCode=n,this.onCallingCodeChange(n,this.country)}},{key:"startInternationalNumber",value:function(n,r){this.international=!0,this.initCountryAndCallingCode(n,r)}},{key:"appendDigits",value:function(n){this.digits+=n}},{key:"appendNationalSignificantNumberDigits",value:function(n){this.nationalSignificantNumber+=n}},{key:"getNationalDigits",value:function(){return this.international?this.digits.slice((this.IDDPrefix?this.IDDPrefix.length:0)+(this.callingCode?this.callingCode.length:0)):this.digits}},{key:"getDigitsWithoutInternationalPrefix",value:function(){return this.international&&this.IDDPrefix?this.digits.slice(this.IDDPrefix.length):this.digits}}])}();function f9(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=p9(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
71
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function p9(e,t){if(e){if(typeof e=="string")return Fl(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Fl(e,t):void 0}}function Fl(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var ot="x",Yo=new RegExp(ot);function $r(e,t){if(t<1)return"";for(var n="";t>1;)t&1&&(n+=e),t>>=1,e+=e;return n+e}function Ml(e,t){return e[t]===")"&&t++,m9(e.slice(0,t))}function m9(e){for(var t=[],n=0;n<e.length;)e[n]==="("?t.push(n):e[n]===")"&&t.pop(),n++;var r=0,o="";t.push(e.length);for(var i=0,a=t;i<a.length;i++){var d=a[i];o+=e.slice(r,d),r=d+1}return o}function h9(e,t,n){for(var r=f9(n.split("")),o;!(o=r()).done;){var i=o.value;if(e.slice(t+1).search(Yo)<0)return;t=e.search(Yo),e=e.replace(Yo,i)}return[e,t]}function v9(e,t,n){var r=n.metadata,o=n.shouldTryNationalPrefixFormattingRule,i=n.getSeparatorAfterNationalPrefix,a=new RegExp("^(?:".concat(t.pattern(),")$"));if(a.test(e.nationalSignificantNumber))return b9(e,t,{metadata:r,shouldTryNationalPrefixFormattingRule:o,getSeparatorAfterNationalPrefix:i})}function g9(e,t,n){return hr(e,t,n)==="IS_POSSIBLE"}function b9(e,t,n){var r=n.metadata,o=n.shouldTryNationalPrefixFormattingRule,i=n.getSeparatorAfterNationalPrefix;if(e.nationalSignificantNumber,e.international,e.nationalPrefix,e.carrierCode,o(t)){var a=Ll(e,t,{useNationalPrefixFormattingRule:!0,getSeparatorAfterNationalPrefix:i,metadata:r});if(a)return a}return Ll(e,t,{useNationalPrefixFormattingRule:!1,getSeparatorAfterNationalPrefix:i,metadata:r})}function Ll(e,t,n){var r=n.metadata,o=n.useNationalPrefixFormattingRule,i=n.getSeparatorAfterNationalPrefix,a=sl(e.nationalSignificantNumber,t,{carrierCode:e.carrierCode,useInternationalFormat:e.international,withNationalPrefix:o,metadata:r});if(o||(e.nationalPrefix?a=e.nationalPrefix+i(t)+a:e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix&&(a=e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix+" "+a)),$9(a,e))return a}function $9(e,t){return br(e)===t.getNationalDigits()}function In(e){"@babel/helpers - typeof";return In=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},In(e)}function y9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w9(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,C9(r.key),r)}}function x9(e,t,n){return t&&w9(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function C9(e){var t=E9(e,"string");return In(t)=="symbol"?t:t+""}function E9(e,t){if(In(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(In(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var S9=function(){function e(){y9(this,e)}return x9(e,[{key:"parse",value:function(n){if(this.context=[{or:!0,instructions:[]}],this.parsePattern(n),this.context.length!==1)throw new Error("Non-finalized contexts left when pattern parse ended");var r=this.context[0],o=r.branches,i=r.instructions;if(o)return{op:"|",args:o.concat([Xo(i)])};if(i.length===0)throw new Error("Pattern is required");return i.length===1?i[0]:i}},{key:"startContext",value:function(n){this.context.push(n)}},{key:"endContext",value:function(){this.context.pop()}},{key:"getContext",value:function(){return this.context[this.context.length-1]}},{key:"parsePattern",value:function(n){if(!n)throw new Error("Pattern is required");var r=n.match(T9);if(!r){if(P9.test(n))throw new Error("Illegal characters found in a pattern: ".concat(n));this.getContext().instructions=this.getContext().instructions.concat(n.split(""));return}var o=r[1],i=n.slice(0,r.index),a=n.slice(r.index+o.length);switch(o){case"(?:":i&&this.parsePattern(i),this.startContext({or:!0,instructions:[],branches:[]});break;case")":if(!this.getContext().or)throw new Error('")" operator must be preceded by "(?:" operator');if(i&&this.parsePattern(i),this.getContext().instructions.length===0)throw new Error('No instructions found after "|" operator in an "or" group');var d=this.getContext(),l=d.branches;l.push(Xo(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(i&&this.parsePattern(i),!this.getContext().branches)if(this.context.length===1)this.getContext().branches=[];else throw new Error('"branches" not found in an "or" group context');this.getContext().branches.push(Xo(this.getContext().instructions)),this.getContext().instructions=[];break;case"[":i&&this.parsePattern(i),this.startContext({oneOfSet:!0});break;case"]":if(!this.getContext().oneOfSet)throw new Error('"]" operator must be preceded by "[" operator');this.endContext(),this.getContext().instructions.push({op:"[]",args:O9(i)});break;default:throw new Error("Unknown operator: ".concat(o))}a&&this.parsePattern(a)}}])}();function O9(e){for(var t=[],n=0;n<e.length;){if(e[n]==="-"){if(n===0||n===e.length-1)throw new Error("Couldn't parse a one-of set pattern: ".concat(e));for(var r=e[n-1].charCodeAt(0)+1,o=e[n+1].charCodeAt(0)-1,i=r;i<=o;)t.push(String.fromCharCode(i)),i++}else t.push(e[n]);n++}return t}var P9=/[\(\)\[\]\?\:\|]/,T9=new RegExp("(\\||\\(\\?\\:|\\)|\\[|\\])");function Xo(e){return e.length===1?e[0]:e}function jl(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=N9(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
72
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function N9(e,t){if(e){if(typeof e=="string")return Dl(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Dl(e,t):void 0}}function Dl(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function _n(e){"@babel/helpers - typeof";return _n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_n(e)}function I9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _9(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,k9(r.key),r)}}function A9(e,t,n){return t&&_9(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function k9(e){var t=F9(e,"string");return _n(t)=="symbol"?t:t+""}function F9(e,t){if(_n(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(_n(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var M9=function(){function e(t){I9(this,e),this.matchTree=new S9().parse(t)}return A9(e,[{key:"match",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=r.allowOverflow;if(!n)throw new Error("String is required");var i=Zo(n.split(""),this.matchTree,!0);if(i&&i.match&&delete i.matchedChars,!(i&&i.overflow&&!o))return i}}])}();function Zo(e,t,n){if(typeof t=="string"){var r=e.join("");return t.indexOf(r)===0?e.length===t.length?{match:!0,matchedChars:e}:{partialMatch:!0}:r.indexOf(t)===0?n&&e.length>t.length?{overflow:!0}:{match:!0,matchedChars:e.slice(0,t.length)}:void 0}if(Array.isArray(t)){for(var o=e.slice(),i=0;i<t.length;){var a=t[i],d=Zo(o,a,n&&i===t.length-1);if(d){if(d.overflow)return d;if(d.match){if(o=o.slice(d.matchedChars.length),o.length===0)return i===t.length-1?{match:!0,matchedChars:e}:{partialMatch:!0}}else{if(d.partialMatch)return{partialMatch:!0};throw new Error(`Unsupported match result:
73
+ `.concat(JSON.stringify(d,null,2)))}}else return;i++}return n?{overflow:!0}:{match:!0,matchedChars:e.slice(0,e.length-o.length)}}switch(t.op){case"|":for(var l,s=jl(t.args),f;!(f=s()).done;){var v=f.value,m=Zo(e,v,n);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:
74
+ `.concat(JSON.stringify(m,null,2)))}}return l?{partialMatch:!0}:void 0;case"[]":for(var p=jl(t.args),c;!(c=p()).done;){var h=c.value;if(e[0]===h)return e.length===1?{match:!0,matchedChars:e}:n?{overflow:!0}:{match:!0,matchedChars:[h]}}return;default:throw new Error("Unsupported instruction tree: ".concat(t))}}function An(e){"@babel/helpers - typeof";return An=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},An(e)}function Rl(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=L9(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
75
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function L9(e,t){if(e){if(typeof e=="string")return Bl(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Bl(e,t):void 0}}function Bl(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function j9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D9(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,B9(r.key),r)}}function R9(e,t,n){return t&&D9(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function B9(e){var t=W9(e,"string");return An(t)=="symbol"?t:t+""}function W9(e,t){if(An(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(An(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Jo="9",V9=15,U9=$r(Jo,V9),H9=/[- ]/,G9=function(){return/\[([^\[\]])*\]/g},K9=function(){return/\d(?=[^,}][^,}])/g},z9=new RegExp("["+rt+"]*\\$1["+rt+"]*(\\$\\d["+rt+"]*)*$"),Wl=3,q9=function(){function e(t){t.state;var n=t.metadata;j9(this,e),this.metadata=n,this.resetFormat()}return R9(e,[{key:"resetFormat",value:function(){this.chosenFormat=void 0,this.template=void 0,this.nationalNumberTemplate=void 0,this.populatedNationalNumberTemplate=void 0,this.populatedNationalNumberTemplatePosition=-1}},{key:"reset",value:function(n,r){this.resetFormat(),n?(this.isNANP=n.callingCode()==="1",this.matchingFormats=n.formats(),r.nationalSignificantNumber&&this.narrowDownMatchingFormats(r)):(this.isNANP=void 0,this.matchingFormats=[])}},{key:"format",value:function(n,r){var o=this;if(g9(r.nationalSignificantNumber,r.country,this.metadata))for(var i=Rl(this.matchingFormats),a;!(a=i()).done;){var d=a.value,l=v9(r,d,{metadata:this.metadata,shouldTryNationalPrefixFormattingRule:function(f){return o.shouldTryNationalPrefixFormattingRule(f,{international:r.international,nationalPrefix:r.nationalPrefix})},getSeparatorAfterNationalPrefix:function(f){return o.getSeparatorAfterNationalPrefix(f)}});if(l)return this.resetFormat(),this.chosenFormat=d,this.setNationalNumberTemplate(l.replace(/\d/g,ot),r),this.populatedNationalNumberTemplate=l,this.populatedNationalNumberTemplatePosition=this.template.lastIndexOf(ot),l}return this.formatNationalNumberWithNextDigits(n,r)}},{key:"formatNationalNumberWithNextDigits",value:function(n,r){var o=this.chosenFormat,i=this.chooseFormat(r);if(i)return i===o?this.formatNextNationalNumberDigits(n):this.formatNextNationalNumberDigits(r.getNationalDigits())}},{key:"narrowDownMatchingFormats",value:function(n){var r=this,o=n.nationalSignificantNumber,i=n.nationalPrefix,a=n.international,d=o,l=d.length-Wl;l<0&&(l=0),this.matchingFormats=this.matchingFormats.filter(function(s){return r.formatSuits(s,a,i)&&r.formatMatches(s,d,l)}),this.chosenFormat&&this.matchingFormats.indexOf(this.chosenFormat)===-1&&this.resetFormat()}},{key:"formatSuits",value:function(n,r,o){return!(o&&!n.usesNationalPrefix()&&!n.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!r&&!o&&n.nationalPrefixIsMandatoryWhenFormattingInNationalFormat())}},{key:"formatMatches",value:function(n,r,o){var i=n.leadingDigitsPatterns().length;if(i===0)return!0;o=Math.min(o,i-1);var a=n.leadingDigitsPatterns()[o];if(r.length<Wl)try{return new M9(a).match(r,{allowOverflow:!0})!==void 0}catch(d){return console.error(d),!0}return new RegExp("^(".concat(a,")")).test(r)}},{key:"getFormatFormat",value:function(n,r){return r?n.internationalFormat():n.format()}},{key:"chooseFormat",value:function(n){for(var r=this,o=function(){var s=d.value;return r.chosenFormat===s?0:z9.test(r.getFormatFormat(s,n.international))?r.createTemplateForFormat(s,n)?(r.chosenFormat=s,0):(r.matchingFormats=r.matchingFormats.filter(function(f){return f!==s}),1):1},i,a=Rl(this.matchingFormats.slice()),d;!(d=a()).done&&(i=o(),i!==0););return this.chosenFormat||this.resetFormat(),this.chosenFormat}},{key:"createTemplateForFormat",value:function(n,r){if(!(n.pattern().indexOf("|")>=0)){var o=this.getTemplateForFormat(n,r);if(o)return this.setNationalNumberTemplate(o,r),!0}}},{key:"getSeparatorAfterNationalPrefix",value:function(n){return this.isNANP||n&&n.nationalPrefixFormattingRule()&&H9.test(n.nationalPrefixFormattingRule())?" ":""}},{key:"getInternationalPrefixBeforeCountryCallingCode",value:function(n,r){var o=n.IDDPrefix,i=n.missingPlus;return o?r&&r.spacing===!1?o:o+" ":i?"":"+"}},{key:"getTemplate",value:function(n){if(this.template){for(var r=-1,o=0,i=n.international?this.getInternationalPrefixBeforeCountryCallingCode(n,{spacing:!1}):"";o<i.length+n.getDigitsWithoutInternationalPrefix().length;)r=this.template.indexOf(ot,r+1),o++;return Ml(this.template,r+1)}}},{key:"setNationalNumberTemplate",value:function(n,r){this.nationalNumberTemplate=n,this.populatedNationalNumberTemplate=n,this.populatedNationalNumberTemplatePosition=-1,r.international?this.template=this.getInternationalPrefixBeforeCountryCallingCode(r).replace(/[\d\+]/g,ot)+$r(ot,r.callingCode.length)+" "+n:this.template=n}},{key:"getTemplateForFormat",value:function(n,r){var o=r.nationalSignificantNumber,i=r.international,a=r.nationalPrefix,d=r.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix,l=n.pattern();l=l.replace(G9(),"\\d").replace(K9(),"\\d");var s=U9.match(l)[0];if(!(o.length>s.length)){var f=new RegExp("^"+l+"$"),v=o.replace(/\d/g,Jo);f.test(v)&&(s=v);var m=this.getFormatFormat(n,i),p;if(this.shouldTryNationalPrefixFormattingRule(n,{international:i,nationalPrefix:a})){var c=m.replace(ll,n.nationalPrefixFormattingRule());if(br(n.nationalPrefixFormattingRule())===(a||"")+br("$1")&&(m=c,p=!0,a))for(var h=a.length;h>0;)m=m.replace(/\d/,ot),h--}var g=s.replace(new RegExp(l),m).replace(new RegExp(Jo,"g"),ot);return p||(d?g=$r(ot,d.length)+" "+g:a&&(g=$r(ot,a.length)+this.getSeparatorAfterNationalPrefix(n)+g)),i&&(g=dl(g)),g}}},{key:"formatNextNationalNumberDigits",value:function(n){var r=h9(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition,n);if(!r){this.resetFormat();return}return this.populatedNationalNumberTemplate=r[0],this.populatedNationalNumberTemplatePosition=r[1],Ml(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition+1)}},{key:"shouldTryNationalPrefixFormattingRule",value:function(n,r){var o=r.international,i=r.nationalPrefix;if(n.nationalPrefixFormattingRule()){var a=n.usesNationalPrefix();if(a&&i||!a&&!o)return!0}}}])}();function kn(e){"@babel/helpers - typeof";return kn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},kn(e)}function Vl(e,t){return J9(e)||Z9(e,t)||X9(e,t)||Y9()}function Y9(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
76
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function X9(e,t){if(e){if(typeof e=="string")return Ul(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ul(e,t):void 0}}function Ul(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Z9(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,i,a,d=[],l=!0,s=!1;try{if(i=(n=n.call(e)).next,t!==0)for(;!(l=(r=i.call(n)).done)&&(d.push(r.value),d.length!==t);l=!0);}catch(f){s=!0,o=f}finally{try{if(!l&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return d}}function J9(e){if(Array.isArray(e))return e}function Q9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function e4(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,n4(r.key),r)}}function t4(e,t,n){return t&&e4(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function n4(e){var t=r4(e,"string");return kn(t)=="symbol"?t:t+""}function r4(e,t){if(kn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(kn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var o4="["+rt+Ye+"]+",i4=new RegExp("^"+o4+"$","i"),a4="(?:["+vr+"]["+rt+Ye+"]*|["+rt+Ye+"]+)",d4=new RegExp("[^"+rt+Ye+"]+.*$"),l4=/[^\d\[\]]/,s4=function(){function e(t){var n=t.defaultCountry,r=t.defaultCallingCode,o=t.metadata,i=t.onNationalSignificantNumberChange;Q9(this,e),this.defaultCountry=n,this.defaultCallingCode=r,this.metadata=o,this.onNationalSignificantNumberChange=i}return t4(e,[{key:"input",value:function(n,r){var o=f4(n),i=Vl(o,2),a=i[0],d=i[1],l=br(a),s;return d&&(r.digits||(r.startInternationalNumber(void 0,void 0),l||(s=!0))),l&&this.inputDigits(l,r),{digits:l,justLeadingPlus:s}}},{key:"inputDigits",value:function(n,r){var o=r.digits,i=o.length<3&&o.length+n.length>=3;if(r.appendDigits(n),i&&this.extractIddPrefix(r),this.isWaitingForCountryCallingCode(r)){if(!this.extractCountryCallingCode(r))return}else r.appendNationalSignificantNumberDigits(n);r.international||this.hasExtractedNationalSignificantNumber||this.extractNationalSignificantNumber(r.getNationalDigits(),function(a){return r.update(a)})}},{key:"isWaitingForCountryCallingCode",value:function(n){var r=n.international,o=n.callingCode;return r&&!o}},{key:"extractCountryCallingCode",value:function(n){var r=Wo("+"+n.getDigitsWithoutInternationalPrefix(),n.country,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),o=r.countryCallingCode,i=r.number;if(o)return n.setCallingCode(o),n.update({nationalSignificantNumber:i}),!0}},{key:"reset",value:function(n){if(n){this.hasSelectedNumberingPlan=!0;var r=n._nationalPrefixForParsing();this.couldPossiblyExtractAnotherNationalSignificantNumber=r&&l4.test(r)}else this.hasSelectedNumberingPlan=void 0,this.couldPossiblyExtractAnotherNationalSignificantNumber=void 0}},{key:"extractNationalSignificantNumber",value:function(n,r){if(this.hasSelectedNumberingPlan){var o=Do(n,this.metadata),i=o.nationalPrefix,a=o.nationalNumber,d=o.carrierCode;if(a!==n)return this.onExtractedNationalNumber(i,d,a,n,r),!0}}},{key:"extractAnotherNationalSignificantNumber",value:function(n,r,o){if(!this.hasExtractedNationalSignificantNumber)return this.extractNationalSignificantNumber(n,o);if(this.couldPossiblyExtractAnotherNationalSignificantNumber){var i=Do(n,this.metadata),a=i.nationalPrefix,d=i.nationalNumber,l=i.carrierCode;if(d!==r)return this.onExtractedNationalNumber(a,l,d,n,o),!0}}},{key:"onExtractedNationalNumber",value:function(n,r,o,i,a){var d=!1,l,s=i.lastIndexOf(o);if(s<0||s!==i.length-o.length)d=!0;else{var f=i.slice(0,s);f&&f!==n&&(l=f)}a({nationalPrefix:n,carrierCode:r,nationalSignificantNumber:o,nationalSignificantNumberIsModified:d,prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix:l}),this.hasExtractedNationalSignificantNumber=!0,this.onNationalSignificantNumberChange()}},{key:"reExtractNationalSignificantNumber",value:function(n){if(this.extractAnotherNationalSignificantNumber(n.getNationalDigits(),n.nationalSignificantNumber,function(r){return n.update(r)}))return!0;if(this.extractIddPrefix(n))return this.extractCallingCodeAndNationalSignificantNumber(n),!0;if(this.fixMissingPlus(n))return this.extractCallingCodeAndNationalSignificantNumber(n),!0}},{key:"extractIddPrefix",value:function(n){var r=n.international,o=n.IDDPrefix,i=n.digits;if(n.nationalSignificantNumber,!(r||o)){var a=rl(i,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata);if(a!==void 0&&a!==i)return n.update({IDDPrefix:i.slice(0,i.length-a.length)}),this.startInternationalNumber(n,{country:void 0,callingCode:void 0}),!0}}},{key:"fixMissingPlus",value:function(n){if(!n.international){var r=al(n.digits,n.country,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),o=r.countryCallingCode;if(o)return n.update({missingPlus:!0}),this.startInternationalNumber(n,{country:n.country,callingCode:o}),!0}}},{key:"startInternationalNumber",value:function(n,r){var o=r.country,i=r.callingCode;n.startInternationalNumber(o,i),n.nationalSignificantNumber&&(n.resetNationalSignificantNumber(),this.onNationalSignificantNumberChange(),this.hasExtractedNationalSignificantNumber=void 0)}},{key:"extractCallingCodeAndNationalSignificantNumber",value:function(n){this.extractCountryCallingCode(n)&&this.extractNationalSignificantNumber(n.getNationalDigits(),function(r){return n.update(r)})}}])}();function u4(e){var t=e.search(a4);if(!(t<0)){e=e.slice(t);var n;return e[0]==="+"&&(n=!0,e=e.slice(1)),e=e.replace(d4,""),n&&(e="+"+e),e}}function c4(e){var t=u4(e)||"";return t[0]==="+"?[t.slice(1),!0]:[t]}function f4(e){var t=c4(e),n=Vl(t,2),r=n[0],o=n[1];return i4.test(r)||(r=""),[r,o]}function Fn(e){"@babel/helpers - typeof";return Fn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fn(e)}function p4(e,t){return g4(e)||v4(e,t)||h4(e,t)||m4()}function m4(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
77
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function h4(e,t){if(e){if(typeof e=="string")return Hl(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Hl(e,t):void 0}}function Hl(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function v4(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,i,a,d=[],l=!0,s=!1;try{if(i=(n=n.call(e)).next,t!==0)for(;!(l=(r=i.call(n)).done)&&(d.push(r.value),d.length!==t);l=!0);}catch(f){s=!0,o=f}finally{try{if(!l&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return d}}function g4(e){if(Array.isArray(e))return e}function b4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $4(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,w4(r.key),r)}}function y4(e,t,n){return t&&$4(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function w4(e){var t=x4(e,"string");return Fn(t)=="symbol"?t:t+""}function x4(e,t){if(Fn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Fn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var qt=function(){function e(t,n){b4(this,e),this.metadata=new Me(n);var r=this.getCountryAndCallingCode(t),o=p4(r,2),i=o[0],a=o[1];this.defaultCountry=i,this.defaultCallingCode=a,this.reset()}return y4(e,[{key:"getCountryAndCallingCode",value:function(n){var r,o;return n&&(Ft(n)?(r=n.defaultCountry,o=n.defaultCallingCode):r=n),r&&!this.metadata.hasCountry(r)&&(r=void 0),[r,o]}},{key:"input",value:function(n){var r=this.parser.input(n,this.state),o=r.digits,i=r.justLeadingPlus;if(i)this.formattedOutput="+";else if(o){this.determineTheCountryIfNeeded(),this.state.nationalSignificantNumber&&this.formatter.narrowDownMatchingFormats(this.state);var a;if(this.metadata.hasSelectedNumberingPlan()&&(a=this.formatter.format(o,this.state)),a===void 0&&this.parser.reExtractNationalSignificantNumber(this.state)){this.determineTheCountryIfNeeded();var d=this.state.getNationalDigits();d&&(a=this.formatter.format(d,this.state))}this.formattedOutput=a?this.getFullNumber(a):this.getNonFormattedNumber()}return this.formattedOutput}},{key:"reset",value:function(){var n=this;return this.state=new c9({onCountryChange:function(o){n.country=o},onCallingCodeChange:function(o,i){n.metadata.selectNumberingPlan(i,o),n.formatter.reset(n.metadata.numberingPlan,n.state),n.parser.reset(n.metadata.numberingPlan)}}),this.formatter=new q9({state:this.state,metadata:this.metadata}),this.parser=new s4({defaultCountry:this.defaultCountry,defaultCallingCode:this.defaultCallingCode,metadata:this.metadata,state:this.state,onNationalSignificantNumberChange:function(){n.determineTheCountryIfNeeded(),n.formatter.reset(n.metadata.numberingPlan,n.state)}}),this.state.reset({country:this.defaultCountry,callingCode:this.defaultCallingCode}),this.formattedOutput="",this}},{key:"isInternational",value:function(){return this.state.international}},{key:"getCallingCode",value:function(){if(this.isInternational())return this.state.callingCode}},{key:"getCountryCallingCode",value:function(){return this.getCallingCode()}},{key:"getCountry",value:function(){var n=this.state.digits;if(n)return this._getCountry()}},{key:"_getCountry",value:function(){var n=this.state.country;return n}},{key:"determineTheCountryIfNeeded",value:function(){(!this.state.country||this.isCountryCallingCodeAmbiguous())&&this.determineTheCountry()}},{key:"getFullNumber",value:function(n){var r=this;if(this.isInternational()){var o=function(d){return r.formatter.getInternationalPrefixBeforeCountryCallingCode(r.state,{spacing:!!d})+d},i=this.state.callingCode;return o(i?n?"".concat(i," ").concat(n):i:"".concat(this.state.getDigitsWithoutInternationalPrefix()))}return n}},{key:"getNonFormattedNationalNumberWithPrefix",value:function(){var n=this.state,r=n.nationalSignificantNumber,o=n.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix,i=n.nationalPrefix,a=r,d=o||i;return d&&(a=d+a),a}},{key:"getNonFormattedNumber",value:function(){var n=this.state.nationalSignificantNumberIsModified;return this.getFullNumber(n?this.state.getNationalDigits():this.getNonFormattedNationalNumberWithPrefix())}},{key:"getNonFormattedTemplate",value:function(){var n=this.getNonFormattedNumber();if(n)return n.replace(/[\+\d]/g,ot)}},{key:"isCountryCallingCodeAmbiguous",value:function(){var n=this.state.callingCode,r=this.metadata.getCountryCodesForCallingCode(n);return r&&r.length>1}},{key:"determineTheCountry",value:function(){this.state.setCountry(Ro(this.isInternational()?this.state.callingCode:this.defaultCallingCode,{nationalNumber:this.state.nationalSignificantNumber,metadata:this.metadata}))}},{key:"getNumberValue",value:function(){var n=this.state,r=n.digits,o=n.callingCode,i=n.country,a=n.nationalSignificantNumber;if(r){if(this.isInternational())return o?"+"+o+a:"+"+r;if(i||o){var d=i?this.metadata.countryCallingCode():o;return"+"+d+a}}}},{key:"getNumber",value:function(){var n=this.state,r=n.nationalSignificantNumber,o=n.carrierCode,i=n.callingCode,a=this._getCountry();if(r&&!(!a&&!i)){if(a&&a===this.defaultCountry){var d=new Me(this.metadata.metadata);d.selectNumberingPlan(a);var l=d.numberingPlan.callingCode(),s=this.metadata.getCountryCodesForCallingCode(l);if(s.length>1){var f=il(r,{countries:s,metadata:this.metadata.metadata});f&&(a=f)}}var v=new hl(a||i,r,this.metadata.metadata);return o&&(v.carrierCode=o),v}}},{key:"isPossible",value:function(){var n=this.getNumber();return n?n.isPossible():!1}},{key:"isValid",value:function(){var n=this.getNumber();return n?n.isValid():!1}},{key:"getNationalNumber",value:function(){return this.state.nationalSignificantNumber}},{key:"getChars",value:function(){return(this.state.international?"+":"")+this.state.digits}},{key:"getTemplate",value:function(){return this.formatter.getTemplate(this.state)||this.getNonFormattedTemplate()||""}}])}();function Qo(e){return new Me(e).getCountries()}function C4(e,t,n){return n||(n=t,t=void 0),new qt(t,n).input(e)}function Gl(e){var t=e.inputFormat,n=e.country,r=e.metadata;return t==="NATIONAL_PART_OF_INTERNATIONAL"?"+".concat(ht(n,r)):""}function ei(e,t){return t&&(e=e.slice(t.length),e[0]===" "&&(e=e.slice(1))),e}function E4(e,t,n){if(!(n&&n.ignoreRest)){var r=function(i){if(n)switch(i){case"end":n.ignoreRest=!0;break}};return yl(e,t,r)}}function Kl(e){var t=e.onKeyDown,n=e.inputFormat;return u.useCallback(function(r){if(r.keyCode===O4&&n==="INTERNATIONAL"&&r.target instanceof HTMLInputElement&&S4(r.target)===P4.length){r.preventDefault();return}t&&t(r)},[t,n])}function S4(e){return e.selectionStart}var O4=8,P4="+",T4=["onKeyDown","country","inputFormat","metadata","international","withCountryCallingCode"];function ti(){return ti=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ti.apply(this,arguments)}function N4(e,t){if(e==null)return{};var n=I4(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function I4(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function _4(e){function t(n,r){var o=n.onKeyDown,i=n.country,a=n.inputFormat,d=n.metadata,l=d===void 0?e:d;n.international,n.withCountryCallingCode;var s=N4(n,T4),f=u.useCallback(function(m){var p=new qt(i,l),c=Gl({inputFormat:a,country:i,metadata:l}),h=p.input(c+m),g=p.getTemplate();return c&&(h=ei(h,c),g&&(g=ei(g,c))),{text:h,template:g}},[i,l]),v=Kl({onKeyDown:o,inputFormat:a});return u.createElement(fr,ti({},s,{ref:r,parse:E4,format:f,onKeyDown:v}))}return t=u.forwardRef(t),t.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},t}const A4=_4();var k4=["value","onChange","onKeyDown","country","inputFormat","metadata","inputComponent","international","withCountryCallingCode"];function ni(){return ni=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ni.apply(this,arguments)}function F4(e,t){if(e==null)return{};var n=M4(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function M4(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function L4(e){function t(n,r){var o=n.value,i=n.onChange,a=n.onKeyDown,d=n.country,l=n.inputFormat,s=n.metadata,f=s===void 0?e:s,v=n.inputComponent,m=v===void 0?"input":v;n.international,n.withCountryCallingCode;var p=F4(n,k4),c=Gl({inputFormat:l,country:d,metadata:f}),h=u.useCallback(function(E){var O=Ko(E.target.value);if(O===o){var $=zl(c,O,d,f);$.indexOf(E.target.value)===0&&(O=O.slice(0,-1))}i(O)},[c,o,i,d,f]),g=Kl({onKeyDown:a,inputFormat:l});return u.createElement(m,ni({},p,{ref:r,value:zl(c,o,d,f),onChange:h,onKeyDown:g}))}return t=u.forwardRef(t),t.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},t}const j4=L4();function zl(e,t,n,r){return ei(C4(e+t,n,r),e)}function D4(e){return ql(e[0])+ql(e[1])}function ql(e){return String.fromCodePoint(127397+e.toUpperCase().charCodeAt(0))}var R4=["value","onChange","options","disabled","readOnly"],B4=["value","options","className","iconComponent","getIconAspectRatio","arrowComponent","unicodeFlags"];function W4(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=V4(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
78
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function V4(e,t){if(e){if(typeof e=="string")return Yl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Yl(e,t)}}function Yl(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function yr(){return yr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yr.apply(this,arguments)}function Xl(e,t){if(e==null)return{};var n=U4(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function U4(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function Zl(e){var t=e.value,n=e.onChange,r=e.options,o=e.disabled,i=e.readOnly,a=Xl(e,R4),d=u.useCallback(function(l){var s=l.target.value;n(s==="ZZ"?void 0:s)},[n]);return u.useMemo(function(){return Ql(r,t)},[r,t]),u.createElement("select",yr({},a,{disabled:o||i,readOnly:i,value:t||"ZZ",onChange:d}),r.map(function(l){var s=l.value,f=l.label,v=l.divider;return u.createElement("option",{key:v?"|":s||"ZZ",value:v?"|":s||"ZZ",disabled:!!v,style:v?H4:void 0},f)}))}Zl.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 H4={fontSize:"1px",backgroundColor:"currentColor",color:"inherit"};function Jl(e){var t=e.value,n=e.options,r=e.className,o=e.iconComponent;e.getIconAspectRatio;var i=e.arrowComponent,a=i===void 0?G4:i,d=e.unicodeFlags,l=Xl(e,B4),s=u.useMemo(function(){return Ql(n,t)},[n,t]);return u.createElement("div",{className:"PhoneInputCountry"},u.createElement(Zl,yr({},l,{value:t,options:n,className:cr("PhoneInputCountrySelect",r)})),s&&(d&&t?u.createElement("div",{className:"PhoneInputCountryIconUnicode"},D4(t)):u.createElement(o,{"aria-hidden":!0,country:t,label:s.label,aspectRatio:d?1:void 0})),u.createElement(a,null))}Jl.propTypes={iconComponent:V.elementType,arrowComponent:V.elementType,unicodeFlags:V.bool};function G4(){return u.createElement("div",{className:"PhoneInputCountrySelectArrow"})}function Ql(e,t){for(var n=W4(e),r;!(r=n()).done;){var o=r.value;if(!o.divider&&K4(o.value,t))return o}}function K4(e,t){return e==null?t==null:e===t}var z4=["country","countryName","flags","flagUrl"];function ri(){return ri=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ri.apply(this,arguments)}function q4(e,t){if(e==null)return{};var n=Y4(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Y4(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function oi(e){var t=e.country,n=e.countryName,r=e.flags,o=e.flagUrl,i=q4(e,z4);return r&&r[t]?r[t]({title:n}):u.createElement("img",ri({},i,{alt:n,role:n?void 0:"presentation",src:o.replace("{XX}",t).replace("{xx}",t.toLowerCase())}))}oi.propTypes={country:V.string.isRequired,countryName:V.string.isRequired,flags:V.objectOf(V.elementType),flagUrl:V.string.isRequired};var X4=["aspectRatio"],Z4=["title"],J4=["title"];function wr(){return wr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wr.apply(this,arguments)}function ii(e,t){if(e==null)return{};var n=Q4(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Q4(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function xr(e){var t=e.aspectRatio,n=ii(e,X4);return t===1?u.createElement(ts,n):u.createElement(es,n)}xr.propTypes={title:V.string.isRequired,aspectRatio:V.number};function es(e){var t=e.title,n=ii(e,Z4);return u.createElement("svg",wr({},n,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 75 50"}),u.createElement("title",null,t),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"}))}es.propTypes={title:V.string.isRequired};function ts(e){var t=e.title,n=ii(e,J4);return u.createElement("svg",wr({},n,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"}),u.createElement("title",null,t),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"}))}ts.propTypes={title:V.string.isRequired};function e6(e){if(e.length<2||e[0]!=="+")return!1;for(var t=1;t<e.length;){var n=e.charCodeAt(t);if(!(n>=48&&n<=57))return!1;t++}return!0}function ns(e){e6(e)||console.error("[react-phone-number-input] Expected the initial `value` to be a E.164 phone number. Got",e)}function t6(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=n6(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
79
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function n6(e,t){if(e){if(typeof e=="string")return rs(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rs(e,t)}}function rs(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function r6(e,t){if(!t)return e;for(var n=[],r=[],o=n,i=function(){var s=d.value;if(s==="|")o.push({divider:!0});else if(s==="..."||s==="")o=r;else{var f;s==="🌐"?f=void 0:f=s;var v=e.indexOf(e.filter(function(p){return p.value===f})[0]),m=e[v];e.splice(v,1),o.push(m)}},a=t6(t),d;!(d=a()).done;)i();return n.concat(e).concat(r)}function o6(e,t){if(e&&(e=e.filter(function(n){switch(n){case"🌐":case"|":case"...":case"":return!0;default:return Cr(n,t)}}),e.length>0))return e}function Cr(e,t){return Qd(e,t)?!0:(console.error("Country not found: ".concat(e)),!1)}function os(e,t){return e&&(e=e.filter(function(n){return Cr(n,t)}),e.length===0&&(e=void 0)),e}var i6=["country","label","aspectRatio"];function ai(){return ai=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ai.apply(this,arguments)}function a6(e,t){if(e==null)return{};var n=d6(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function d6(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function is(e){var t=e.flags,n=e.flagUrl,r=e.flagComponent,o=e.internationalIcon;function i(a){var d=a.country,l=a.label,s=a.aspectRatio,f=a6(a,i6),v=o===xr?s:void 0;return u.createElement("div",ai({},f,{className:cr("PhoneInputCountryIcon",{"PhoneInputCountryIcon--square":v===1,"PhoneInputCountryIcon--border":d})}),d?u.createElement(r,{country:d,countryName:l,flags:t,flagUrl:n,className:"PhoneInputCountryIconImg"}):u.createElement(o,{title:l,aspectRatio:v,className:"PhoneInputCountryIconImg"}))}return i.propTypes={country:V.string,label:V.string.isRequired,aspectRatio:V.number},i}is({flagUrl:"https://purecatamphetamine.github.io/country-flag-icons/3x2/{XX}.svg",flagComponent:oi,internationalIcon:xr});function l6(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=s6(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
80
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function s6(e,t){if(e){if(typeof e=="string")return as(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return as(e,t)}}function as(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u6(e,t){for(var n=l6(e),r;!(r=n()).done;){var o=r.value;o&&c6(o,t)}}function c6(e,t){typeof e=="function"?e(t):e.current=t}var ds=V.shape({country_calling_codes:V.object.isRequired,countries:V.object.isRequired}),ls=V.objectOf(V.string);function bt(e,t){var n="+"+ht(e,t);return n}function f6(e){var t=e.value,n=e.phoneNumber,r=e.defaultCountry,o=e.getAnyCountry,i=e.countries,a=e.required,d=e.metadata,l;return n&&n.country?l=n.country:r&&(!t||Xt(t,r,d))&&(l=r),i&&i.indexOf(l)<0&&(l=void 0),!l&&a&&i&&i.length>0&&(l=o()),l}function p6(e){var t=e.countries,n=e.countryNames,r=e.addInternationalOption,o=e.compareStringsLocales,i=e.compareStrings;i||(i=y6);var a=t.map(function(d){return{value:d,label:n[d]||d}});return a.sort(function(d,l){return i(d.label,l.label,o)}),r&&a.unshift({label:n.ZZ}),a}function ss(e,t){return t9(e||"",t)}function m6(e){return e.formatNational().replace(/\D/g,"")}function h6(e,t){var n=t.prevCountry,r=t.newCountry,o=t.metadata,i=t.useNationalFormat;if(n===r)return e;if(!e)return i?"":r?bt(r,o):"";if(r){if(e[0]==="+"){if(i)return e.indexOf("+"+ht(r,o))===0?w6(e,r,o):"";if(n){var a=bt(r,o);return e.indexOf(a)===0?e:a}else{var d=bt(r,o);return e.indexOf(d)===0?e:d}}}else if(e[0]!=="+")return Yt(e,n,o)||"";return e}function Yt(e,t,n){if(e){if(e[0]==="+"){if(e==="+")return;var r=new qt(t,n);return r.input(e),r.getNumberValue()}if(t){var o=fs(e,t,n);return"+".concat(ht(t,n)).concat(o||"")}}}function v6(e,t,n){var r=fs(e,t,n);if(r){var o=r.length-g6(t,n);if(o>0)return e.slice(0,e.length-o)}return e}function g6(e,t){return t=new Me(t),t.selectNumberingPlan(e),t.numberingPlan.possibleLengths()[t.numberingPlan.possibleLengths().length-1]}function us(e,t){var n=t.country,r=t.countries,o=t.defaultCountry,i=t.latestCountrySelectedByUser,a=t.required,d=t.metadata;if(e==="+")return n;var l=$6(e,d);if(l)return!r||r.indexOf(l)>=0?l:void 0;if(n){if(Xt(e,n,d)){if(i&&Xt(e,i,d))return i;if(o&&Xt(e,o,d))return o;if(!a)return}else if(!a)return}return n}function b6(e,t){var n=t.prevPhoneDigits,r=t.country,o=t.defaultCountry,i=t.latestCountrySelectedByUser,a=t.countryRequired,d=t.getAnyCountry,l=t.countries,s=t.international,f=t.limitMaxLength,v=t.countryCallingCodeEditable,m=t.metadata;if(s&&v===!1&&r){var p=bt(r,m);if(e.indexOf(p)!==0){var c,h=e&&e[0]!=="+";return h?(e=p+e,c=Yt(e,r,m)):e=p,{phoneDigits:e,value:c,country:r}}}s===!1&&r&&e&&e[0]==="+"&&(e=cs(e,r,m)),e&&r&&f&&(e=v6(e,r,m)),e&&e[0]!=="+"&&(!r||s)&&(e="+"+e),!e&&n&&n[0]==="+"&&(s?r=void 0:r=o),e==="+"&&n&&n[0]==="+"&&n.length>1&&(r=void 0);var g;return e&&(e[0]==="+"&&(e==="+"||r&&bt(r,m).indexOf(e)===0)?g=void 0:g=Yt(e,r,m)),g&&(r=us(g,{country:r,countries:l,defaultCountry:o,latestCountrySelectedByUser:i,required:!1,metadata:m}),s===!1&&r&&e&&e[0]==="+"&&(e=cs(e,r,m),g=Yt(e,r,m))),!r&&a&&(r=o||d()),{phoneDigits:e,country:r,value:g}}function cs(e,t,n){if(e.indexOf(bt(t,n))===0){var r=new qt(t,n);r.input(e);var o=r.getNumber();return o?o.formatNational().replace(/\D/g,""):""}else return e.replace(/\D/g,"")}function $6(e,t){var n=new qt(null,t);return n.input(e),n.getCountry()}function y6(e,t,n){return String.prototype.localeCompare?e.localeCompare(t,n):e<t?-1:e>t?1:0}function w6(e,t,n){if(t){var r="+"+ht(t,n);if(e.length<r.length){if(r.indexOf(e)===0)return""}else if(e.indexOf(r)===0)return e.slice(r.length)}for(var o=0,i=Object.keys(n.country_calling_codes);o<i.length;o++){var a=i[o];if(e.indexOf(a)===1)return e.slice(1+a.length)}return""}function fs(e,t,n){var r=new qt(t,n);r.input(e);var o=r.getNumber();return o&&o.nationalNumber}function Xt(e,t,n){for(var r=bt(t,n),o=0;o<e.length&&o<r.length;){if(e[o]!==r[o])return!1;o++}return!0}function ps(e){var t=e.value,n=e.phoneNumber,r=e.defaultCountry,o=e.international,i=e.useNationalFormat,a=e.metadata;return(o===!1||i)&&n&&n.country?m6(n):!t&&o&&r?bt(r,a):t}function Mn(e){"@babel/helpers - typeof";return Mn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mn(e)}function ms(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Er(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ms(Object(n),!0).forEach(function(r){x6(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ms(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function x6(e,t,n){return t=C6(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C6(e){var t=E6(e,"string");return Mn(t)=="symbol"?t:t+""}function E6(e,t){if(Mn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Mn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function S6(e,t,n){var r=e.metadata,o=e.countries,i=e.defaultCountry,a=e.value,d=e.reset,l=e.international,s=e.displayInitialValueAsLocalNumber,f=e.initialValueFormat,v=t.defaultCountry,m=t.value,p=t.reset;n.country;var c=n.value,h=n.hasUserSelectedACountry,g=n.latestCountrySelectedByUser,E=function(M){return ps(Er(Er({},M),{},{international:l,useNationalFormat:s||f==="national",metadata:r}))};if(d!==p)return{phoneDigits:E({value:void 0,defaultCountry:i}),value:void 0,country:i,latestCountrySelectedByUser:void 0,hasUserSelectedACountry:void 0};if(i!==v){var O=!i||Cr(i,r),$=!c||l&&c===E({value:void 0,defaultCountry:v}),C=!a&&$;if(!h&&O&&C)return{country:i,phoneDigits:E({value:void 0,defaultCountry:i}),value:void 0}}if(!hs(a,m)&&!hs(a,c)){var x,k;if(a){a&&ns(a),x=ss(a,r);var j=os(o,r);x&&x.country?(!j||j.indexOf(x.country)>=0)&&(k=x.country):(k=us(a,{country:void 0,countries:j,metadata:r}),k||i&&a.indexOf(bt(i,r))===0&&(k=i))}var H;if(a){if(g){var A=k?g===k:Xt(a,g,r);A?k||(k=g):H={latestCountrySelectedByUser:void 0}}}else H={latestCountrySelectedByUser:void 0,hasUserSelectedACountry:void 0};return Er(Er({},H),{},{phoneDigits:E({phoneNumber:x,value:a,defaultCountry:i}),value:a,country:a?k:i})}}function hs(e,t){return e===null&&(e=void 0),t===null&&(t=void 0),e===t}var O6=["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 Zt(e){"@babel/helpers - typeof";return Zt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Zt(e)}function vs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function gs(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?vs(Object(n),!0).forEach(function(r){it(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vs(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Jt(){return Jt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Jt.apply(this,arguments)}function P6(e,t){if(e==null)return{};var n=T6(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function T6(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function N6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bs(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ys(r.key),r)}}function I6(e,t,n){return t&&bs(e.prototype,t),n&&bs(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function _6(e,t,n){return t=Sr(t),A6(e,$s()?Reflect.construct(t,n||[],Sr(e).constructor):t.apply(e,n))}function A6(e,t){if(t&&(Zt(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return k6(e)}function k6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $s(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return($s=function(){return!!e})()}function Sr(e){return Sr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Sr(e)}function F6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&di(e,t)}function di(e,t){return di=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},di(e,t)}function it(e,t,n){return t=ys(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ys(e){var t=M6(e,"string");return Zt(t)=="symbol"?t:t+""}function M6(e,t){if(Zt(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Zt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var L6=function(e){function t(n){var r;N6(this,t),r=_6(this,t,[n]),it(r,"setInputRef",function(g){u6([r.props.inputRef,r.inputRef],g)}),it(r,"isCountrySupportedWithError",function(g){var E=r.props.metadata;return Cr(g,E)}),it(r,"onCountryChange",function(g){var E=r.props,O=E.international,$=E.metadata,C=E.onChange,x=E.focusInputOnCountrySelection,k=r.state,j=k.phoneDigits,H=k.country,A=h6(j,{prevCountry:H,newCountry:g,metadata:$,useNationalFormat:!O}),D=Yt(A,g,$);x&&r.inputRef.current.focus(),r.setState({country:g,latestCountrySelectedByUser:g,hasUserSelectedACountry:!0,phoneDigits:A,value:D},function(){C(D)})}),it(r,"onChange",function(g){var E=r.props,O=E.defaultCountry,$=E.onChange,C=E.addInternationalOption,x=E.international,k=E.limitMaxLength,j=E.countryCallingCodeEditable,H=E.metadata,A=r.state,D=A.countries,M=A.phoneDigits,Y=A.country,G=A.latestCountrySelectedByUser,W=b6(g,{prevPhoneDigits:M,country:Y,countryRequired:!C,defaultCountry:O,latestCountrySelectedByUser:G,getAnyCountry:function(){return r.getFirstSupportedCountry({countries:D})},countries:D,international:x,limitMaxLength:k,countryCallingCodeEditable:j,metadata:H}),ie=W.phoneDigits,ae=W.country,le=W.value,re={phoneDigits:ie,value:le,country:ae};G&&le&&!Xt(le,G,H)&&(re.latestCountrySelectedByUser=void 0),j===!1&&!le&&ie===r.state.phoneDigits&&(re.forceRerender={}),r.setState(re,function(){return $(le)})}),it(r,"_onFocus",function(){return r.setState({isFocused:!0})}),it(r,"_onBlur",function(){return r.setState({isFocused:!1})}),it(r,"onFocus",function(g){r._onFocus();var E=r.props.onFocus;E&&E(g)}),it(r,"onBlur",function(g){var E=r.props.onBlur;r._onBlur(),E&&E(g)}),it(r,"onCountryFocus",function(g){r._onFocus();var E=r.props.countrySelectProps;if(E){var O=E.onFocus;O&&O(g)}}),it(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 o=r.props,i=o.value;o.labels;var a=o.international,d=o.addInternationalOption,l=o.displayInitialValueAsLocalNumber,s=o.initialValueFormat,f=o.metadata,v=r.props,m=v.defaultCountry,p=v.countries;m&&(r.isCountrySupportedWithError(m)||(m=void 0)),i&&ns(i),p=os(p,f);var c=ss(i,f);r.CountryIcon=is(r.props);var h=f6({value:i,phoneNumber:c,defaultCountry:m,required:!d,countries:p||Qo(f),getAnyCountry:function(){return r.getFirstSupportedCountry({countries:p})},metadata:f});return r.state={props:r.props,country:h,countries:p,phoneDigits:ps({value:i,phoneNumber:c,defaultCountry:m,international:a,useNationalFormat:l||s==="national",metadata:f}),value:i},r}return F6(t,e),I6(t,[{key:"componentDidMount",value:function(){var r=this.props.onCountryChange,o=this.props.defaultCountry,i=this.state.country;r&&(o&&(this.isCountrySupportedWithError(o)||(o=void 0)),i!==o&&r(i))}},{key:"componentDidUpdate",value:function(r,o){var i=this.props.onCountryChange,a=this.state.country;i&&a!==o.country&&i(a)}},{key:"getCountrySelectOptions",value:function(r){var o=r.countries,i=this.props,a=i.international,d=i.countryCallingCodeEditable,l=i.countryOptionsOrder,s=i.addInternationalOption,f=i.labels,v=i.locales,m=i.metadata;return this.useMemoCountrySelectOptions(function(){return r6(p6({countries:o||Qo(m),countryNames:f,addInternationalOption:a&&d===!1?!1:s,compareStringsLocales:v}),o6(l,m))},[o,l,s,f,m])}},{key:"useMemoCountrySelectOptions",value:function(r,o){return(!this.countrySelectOptionsMemoDependencies||!D6(o,this.countrySelectOptionsMemoDependencies))&&(this.countrySelectOptionsMemo=r(),this.countrySelectOptionsMemoDependencies=o),this.countrySelectOptionsMemo}},{key:"getFirstSupportedCountry",value:function(r){var o=r.countries,i=this.getCountrySelectOptions({countries:o});return i[0].value}},{key:"render",value:function(){var r=this.props,o=r.name,i=r.disabled,a=r.readOnly,d=r.autoComplete,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,$=r.international;r.locales;var C=P6(r,O6),x=this.state,k=x.country,j=x.countries,H=x.phoneDigits,A=x.isFocused,D=m?A4:j4,M=this.getCountrySelectOptions({countries:j});return u.createElement(h,Jt({style:l,className:cr(s,"PhoneInput",{"PhoneInput--focus":A,"PhoneInput--disabled":i,"PhoneInput--readOnly":a})},g),u.createElement(p,Jt({name:o?"".concat(o,"Country"):void 0,"aria-label":E.country},c,{value:k,options:M,onChange:this.onCountryChange,onFocus:this.onCountryFocus,onBlur:this.onCountryBlur,disabled:i||c&&c.disabled,readOnly:a||c&&c.readOnly,iconComponent:this.CountryIcon})),u.createElement(D,Jt({ref:this.setInputRef,type:"tel",autoComplete:d},v,C,{inputFormat:$===!0?"INTERNATIONAL":$===!1?"NATIONAL":"INTERNATIONAL_OR_NATIONAL",international:$?!0:void 0,withCountryCallingCode:$?!0:void 0,name:o,metadata:O,country:k,value:H||"",onChange:this.onChange,onFocus:this.onFocus,onBlur:this.onBlur,disabled:i,readOnly:a,inputComponent:f,className:cr("PhoneInputInput",v&&v.className,C.className)})))}}],[{key:"getDerivedStateFromProps",value:function(r,o){return gs({props:r},S6(r,o.props,o))}}])}(u.PureComponent),ws=u.forwardRef(function(e,t){return u.createElement(L6,Jt({},j6(e),{inputRef:t}))});ws.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:ls,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:ds,onCountryChange:V.func,focusInputOnCountrySelection:V.bool};var xs={autoComplete:"tel",countrySelectComponent:Jl,flagComponent:oi,flagUrl:"https://purecatamphetamine.github.io/country-flag-icons/3x2/{XX}.svg",internationalIcon:xr,inputComponent:"input",containerComponent:"div",reset:V.any,smartCaret:!0,addInternationalOption:!0,countryCallingCodeEditable:!0,focusInputOnCountrySelection:!0};function j6(e){e=gs({},e);for(var t in xs)e[t]===void 0&&(e[t]=xs[t]);return e}function D6(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;){if(e[n]!==t[n])return!1;n++}return!0}const Qt={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 R6=["metadata","labels"];function li(){return li=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},li.apply(this,arguments)}function B6(e,t){if(e==null)return{};var n=W6(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function W6(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function Cs(e){var t=u.forwardRef(function(n,r){var o=n.metadata,i=o===void 0?e:o,a=n.labels,d=a===void 0?Qt:a,l=B6(n,R6);return u.createElement(ws,li({},l,{ref:r,metadata:i,labels:d}))});return t.propTypes={metadata:ds,labels:ls},t}Cs();function si(e,t){var n=Array.prototype.slice.call(t);return n.push(Pd),e.apply(this,n)}Cs(Pd);function V6(){return si(i9,arguments)}function U6(){return si(Qo,arguments)}function ui(){return si(ht,arguments)}const H6=({countryShortName:e,required:t=!1,themeColor:n="",onUpdate:r,placeholder:o="",error:i=!1,validate:a=!0,id:d="",phoneNumberValue:l="",countryCodeFromURL:s="",additionalClassName:f=""})=>{const[v,m]=u.useState(i),c=u.useRef(e&&e!=="001"?e:"US");u.useEffect(()=>{if(s){const A=O(s);A&&(C(A),c.current=s)}},[s]);const h=(A,D)=>JSON.stringify(A)===JSON.stringify(D),g=(A,D)=>Qt[A]<Qt[D]?-1:Qt[A]>Qt[D]?1:0,E=U6().sort(g).map(A=>({label:A+" +"+ui(A),value:A})),O=A=>E.find(D=>D.value==A),[$,C]=u.useState(()=>{const A=O(c.current);return A||null}),x=A=>{c.current=A;const D=O(A);C(D),H(k.current)},k=u.useRef(l??""),j=A=>{const D=A.trim();if(D&&c.current){if(/^(\d)\1*$/.test(A.trim()))return!1;const G=`+${ui(c.current)}${D}`;return V6(G)}return!0},H=(A,D=!1)=>{if(!a){const G={phoneNumber:A,countryCode:c.current,error:void 0,id:d,initialConsentChecked:D};r(G)}A=A.trim();const M=A?j(A)?void 0:"invalid":t?"required":void 0;m(!(!v&&M!==void 0));const Y={phoneNumber:A,countryCode:c.current,error:M,id:d,initialConsentChecked:D};r(Y)};return I.jsx(I.Fragment,{children:I.jsxs("div",{className:`${St.phoneWrapper} ${f?.trim()||""}`,"data-testid":"phone-wrapper",children:[I.jsx("div",{className:`${St.countryCode} ouiCountryCode`,children:I.jsx(xd,{selected:$,onSelect:x,"data-testid":"phone-select",themeColor:n,children:I.jsx("div",{className:`${St.phonNumberList} ouiPhonNumberList`,children:I.jsx(Cd,{setQuery:()=>{},"data-testid":"phone-select-options",children:E.map(A=>I.jsx(Eo,{disable:!1,value:A.value,className:({active:D})=>`${D||h($,A)?St.active:""}`,"data-testid":`phone-select-option-${A.value}`,children:I.jsx("div",{className:`${St.countryListText} ouiCountryListText`,children:I.jsxs("span",{children:[Qt[A.value]," +",ui(A.value)]})})},A.value))})})})}),I.jsx("div",{className:`${St.phoneInputWrap} ouiPhoneInputWrap`,children:I.jsx(Od,{type:"text","aria-labelledby":"phone-number",placeholder:o,className:`${St.phoneInput} ${v&&a?St.serverError:""} ouiPhoneInput`,id:d,value:l??"",onBlur:A=>{k.current=A.target.value.trim()},onChange:A=>{k.current=A.target.value,H(k.current)},"data-testid":"phone-input",themeColor:n})})]})})},Es={progress:"_progress_1piqy_1","progress-bar":"_progress-bar_1piqy_9"},G6=({value:e,mode:t,strokeWidth:n=4,barColor:r="#1976d2",trackColor:o="rgba(25,118,210,0.3)"})=>{const i=t??(e!=null?"determinate":"indeterminate"),a=u.useMemo(()=>i==="determinate"&&e!=null?Math.max(0,Math.min(100,e)):0,[i,e]);return I.jsxs(I.Fragment,{children:[I.jsx("div",{className:Es.progress,role:"progressbar","aria-valuemin":i==="determinate"?0:void 0,"aria-valuemax":i==="determinate"?100:void 0,"aria-valuenow":i==="determinate"?a:void 0,style:{height:n,backgroundColor:o},children:I.jsx("div",{className:Es["progress-bar"],style:{height:n,width:i==="determinate"?`${a}%`:void 0,backgroundColor:r,animationName:i==="indeterminate"?"loading":void 0,left:i==="indeterminate"?-200:0}})}),I.jsx("style",{children:`
82
81
  @keyframes loading {
83
82
  0% {
84
83
  left: -200px;
@@ -100,5 +99,5 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
100
99
  left: 100%;
101
100
  }
102
101
  }
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=gr,_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"})});
102
+ `})]})},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"},K6=({themeColor:e,name:t,checked:n,onChange:r,option:o})=>{const i=e?.toLowerCase()==="#ffffff"?"#c8c8c8":e,a=d=>{r(d)};return I.jsx("div",{className:at.radioWrapper,children:I.jsx("div",{className:at.radioBtnBox,children:I.jsxs("label",{htmlFor:o.value,className:at.radioBtnLabel,children:[I.jsxs("div",{className:at.radioBtnInsideLabel,children:[I.jsx("input",{type:"radio",id:o.value,name:t,value:o.value,checked:n,onChange:()=>a(o),className:at.radioBtnInput}),I.jsx("span",{className:`${at.radioBtnCircle} ${n?at.radioBtnChecked:""}`,style:{borderColor:n?i:"#C8C8C8"},children:n&&I.jsx("span",{className:at.radioBtnCircleInside,style:{backgroundColor:i}})})]}),o.avatar&&I.jsx("div",{className:at.radioBtnAvatar,children:I.jsx("img",{"aria-hidden":!0,src:o.avatar,width:20,height:20,alt:"Location icon",className:at.radioBtnAvatarImg})}),I.jsx("div",{className:at.radioBtnText,children:o.label})]})})})};_e.AutoComplete=gf,_e.AutoCompleteOption=Ed,_e.AutoCompleteOptions=bf,_e.Button=Rn,_e.Checkbox=Tr,_e.ColorsService=Je,_e.MultiLineInput=fu,_e.MultiSelect=pu,_e.MultiSelectWithCount=mu,_e.Phone=H6,_e.ProgressBar=G6,_e.QuickMultiSelect=hu,_e.QuickSelect=vu,_e.Radio=K6,_e.Scrollbar=$i,_e.Select=xd,_e.SelectOption=Eo,_e.SelectOptions=Cd,_e.SingleLineInput=Od,Object.defineProperty(_e,Symbol.toStringTag,{value:"Module"})});
104
103
  //# sourceMappingURL=ui-react.umd.js.map