vue-tel-input 9.3.0 → 9.4.0

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,6 @@
1
- import { defineComponent as gd, mergeModels as ve, shallowRef as J, useModel as md, watch as _, nextTick as be, reactive as vd, computed as A, onMounted as bd, resolveDirective as Cd, openBlock as P, createElementBlock as N, normalizeClass as E, withDirectives as Q, withKeys as D, createElementVNode as R, unref as Ce, createCommentVNode as T, toDisplayString as j, renderSlot as ee, withModifiers as Od, vModelText as Pd, Fragment as Nd, renderList as wd, vModelDynamic as Id } from "vue";
2
- const Ed = [
1
+ import { defineComponent as ce, mergeModels as K, shallowRef as R, useModel as pe, watch as w, nextTick as H, reactive as fe, computed as k, onMounted as me, resolveDirective as he, openBlock as m, createElementBlock as h, normalizeClass as C, withDirectives as z, withKeys as x, createElementVNode as D, unref as U, createCommentVNode as S, toDisplayString as P, renderSlot as F, withModifiers as ye, vModelText as ge, Fragment as be, renderList as Ce, vModelDynamic as ve } from "vue";
2
+ import { parsePhoneNumberFromString as j } from "libphonenumber-js";
3
+ const we = [
3
4
  [
4
5
  "Afghanistan (‫افغانستان‬‎)",
5
6
  "af",
@@ -1305,34 +1306,34 @@ const Ed = [
1305
1306
  1,
1306
1307
  ["18"]
1307
1308
  ]
1308
- ], Sd = Ed.map(([e, d, t, n = 0, r = null]) => ({
1309
- name: e,
1310
- iso2: d.toUpperCase(),
1311
- dialCode: t,
1312
- priority: n,
1313
- areaCodes: r
1309
+ ], Oe = we.map(([o, r, u, d = 0, s = null]) => ({
1310
+ name: o,
1311
+ iso2: r.toUpperCase(),
1312
+ dialCode: u,
1313
+ priority: d,
1314
+ areaCodes: s
1314
1315
  }));
1315
- function _d() {
1316
- return fetch("https://ip2c.org/s").then((e) => e.text()).then((e) => {
1317
- const d = (e || "").toString();
1318
- if (!d || d[0] !== "1")
1316
+ function Se() {
1317
+ return fetch("https://ip2c.org/s").then((o) => o.text()).then((o) => {
1318
+ const r = (o || "").toString();
1319
+ if (!r || r[0] !== "1")
1319
1320
  throw new Error("unable to fetch the country");
1320
- return d.substr(2, 2);
1321
+ return r.substr(2, 2);
1321
1322
  });
1322
1323
  }
1323
- function Fd(e, d) {
1324
- if (e.setSelectionRange)
1325
- e.focus(), e.setSelectionRange(d, d);
1326
- else if ("createTextRange" in e && typeof e.createTextRange == "function") {
1327
- const t = e.createTextRange();
1328
- t.collapse(!0), t.moveEnd("character", d), t.moveStart("character", d), t.select();
1324
+ function ke(o, r) {
1325
+ if (o.setSelectionRange)
1326
+ o.focus(), o.setSelectionRange(r, r);
1327
+ else if ("createTextRange" in o && typeof o.createTextRange == "function") {
1328
+ const u = o.createTextRange();
1329
+ u.collapse(!0), u.moveEnd("character", r), u.moveStart("character", r), u.select();
1329
1330
  }
1330
1331
  }
1331
- const Td = [
1332
+ const xe = [
1332
1333
  {
1333
1334
  name: "allCountries",
1334
1335
  type: Array,
1335
- default: Sd,
1336
+ default: Oe,
1336
1337
  description: "All countries that are used in <code>libphonenumber-js</code>, can be overridden by this prop",
1337
1338
  inDemo: !1
1338
1339
  },
@@ -1580,1813 +1581,121 @@ const Td = [
1580
1581
  description: "Only allow valid characters in a phone number (will also verify in <code>mounted</code>, so phone number with invalid characters will be shown as an empty string)",
1581
1582
  inDemo: !1
1582
1583
  }
1583
- ], Ze = [...Td].reduce((e, d) => {
1584
- if (d.name.includes(".")) {
1585
- const [t, n] = d.name.split(".");
1586
- e[t] ? Object.assign(e[t], { [n]: d.default }) : Object.assign(e, { [t]: { [n]: d.default } });
1584
+ ], $ = [...xe].reduce((o, r) => {
1585
+ if (r.name.includes(".")) {
1586
+ const [u, d] = r.name.split(".");
1587
+ o[u] ? Object.assign(o[u], { [d]: r.default }) : Object.assign(o, { [u]: { [d]: r.default } });
1587
1588
  } else
1588
- Object.assign(e, { [d.name]: d.default });
1589
- return e;
1590
- }, {}), re = {
1591
- options: { ...Ze }
1589
+ Object.assign(o, { [r.name]: r.default });
1590
+ return o;
1591
+ }, {}), V = {
1592
+ options: { ...$ }
1592
1593
  };
1593
- function m(e) {
1594
- const d = re.options[e];
1595
- return typeof d > "u" ? re.options[e] : d;
1596
- }
1597
- function M(e) {
1598
- return e == null ? void 0 : e.toLowerCase();
1599
- }
1600
- function L(e) {
1601
- return e == null ? void 0 : e.toUpperCase();
1602
- }
1603
- const xd = { 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]], 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"]]]], 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"], AF: ["93", "00", "[2-7]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"]], "0"], AG: ["1", "011", "(?:268|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([457]\\d{6})$|1", "268$1", 0, "268"], AI: ["1", "011", "(?:264|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2457]\\d{6})$|1", "264$1", 0, "264"], 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"], 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"], AO: ["244", "00", "[29]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[29]"]]]], 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"], AS: ["1", "011", "(?:[58]\\d\\d|684|900)\\d{7}", [10], 0, "1", 0, "([267]\\d{6})$|1", "684$1", 0, "684"], AT: ["43", "00", "1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{3,12})", "$1 $2", ["1(?:11|[2-9])"], "0$1"], ["(\\d{3})(\\d{2})", "$1 $2", ["517"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["5[079]"], "0$1"], ["(\\d{3})(\\d{3,10})", "$1 $2", ["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"], "0$1"], ["(\\d{4})(\\d{3,9})", "$1 $2", ["[2-467]|5[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,7})", "$1 $2 $3", ["5"], "0$1"]], "0"], 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])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8]))\\d{3}|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]))|(?: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|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-26-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]"]]]], 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", 0, "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"], 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"], BB: ["1", "011", "(?:246|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "246$1", 0, "246"], 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]|22"], "0$1"], ["(\\d)(\\d{7,8})", "$1-$2", ["2"], "0$1"]], "0"], 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"], BF: ["226", "00", "[025-7]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[025-7]"]]]], 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"], BH: ["973", "00", "[136-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[13679]|8[02-4679]"]]]], BI: ["257", "00", "(?:[267]\\d|31)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2367]"]]]], BJ: ["229", "00", "[24-689]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-689]"]]]], BL: ["590", "00", "590\\d{6}|(?: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]))\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:395|76[018])\\d|475[0-5])\\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"], BN: ["673", "00", "[2-578]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-578]"]]]], BO: ["591", "00(?:1\\d)?", "(?:[2-467]\\d\\d|8001)\\d{5}", [8, 9], [["(\\d)(\\d{7})", "$1 $2", ["[23]|4[46]"]], ["(\\d{8})", "$1", ["[67]"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["8"]]], "0", 0, "0(1\\d)?"], BQ: ["599", "00", "(?:[34]1|7\\d)\\d{5}", [7], 0, 0, 0, 0, 0, 0, "[347]"], 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"], BS: ["1", "011", "(?:242|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([3-8]\\d{6})$|1", "242$1", 0, "242"], 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"]]]], 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"]]]], 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, 0, "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"]]]], CA: ["1", "011", "(?:[2-8]\\d|90)\\d{8}|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|73)|90[25])[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(?:00|2[125-9]|33|44|66|77|88)|622)[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|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-26-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]\\d{8}|[1-68]\\d{6}", [7, 9], [["(\\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{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]"], "0$1"]], "0"], CF: ["236", "00", "(?:[27]\\d{3}|8776)\\d{4}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[278]"]]]], 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]"]]]], CH: ["41", "00", "8\\d{11}|[2-9]\\d{8}", [9], [["(\\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"], 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"]]]], CK: ["682", "00", "[2-578]\\d{4}", [5], [["(\\d{2})(\\d{3})", "$1 $2", ["[2-578]"]]]], 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"]]]], 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"]]]], CN: ["86", "00|1(?:[12]\\d|79)\\d\\d00", "1[127]\\d{8,9}|2\\d{9}(?:\\d{2})?|[12]\\d{6,7}|86\\d{6}|(?:1[03-689]\\d|6)\\d{7,9}|(?:[3-579]\\d|8[0-57-9])\\d{6,9}", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5,6})", "$1 $2", ["(?:10|2[0-57-9])[19]", "(?:10|2[0-57-9])(?:10|9[56])", "10(?:10|9[56])|2[0-57-9](?:100|9[56])"], "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, 0, "00"], CO: ["57", "00(?:4(?:[14]4|56)|[579])", "(?:60\\d\\d|9101)\\d{6}|(?:1\\d|3)\\d{9}", [10, 11], [["(\\d{3})(\\d{7})", "$1 $2", ["6"], "($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))?"], 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))"], CU: ["53", "119", "[27]\\d{6,7}|[34]\\d{5,7}|63\\d{6}|(?:5|8\\d\\d)\\d{7}", [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"], CV: ["238", "0", "(?:[2-59]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2-589]"]]]], 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]"], 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|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-26-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]"]]]], CZ: ["420", "00", "(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}", [9], [["(\\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"]]]], 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{5})(\\d{6})", "$1 $2", ["15[0568]"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["15[1279]"], "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"], DJ: ["253", "00", "(?:2\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[27]"]]]], DK: ["45", "00", "[2-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-9]"]]]], DM: ["1", "011", "(?:[58]\\d\\d|767|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "767$1", 0, "767"], DO: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "8001|8[024]9"], 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"], 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"], 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"]]]], 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"], EH: ["212", "00", "[5-8]\\d{8}", [9], 0, "0", 0, 0, 0, 0, "528[89]"], ER: ["291", "00", "[178]\\d{6}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[178]"], "0$1"]], "0"], 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]"]]]], ET: ["251", "00", "(?:11|[2-579]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-579]"], "0$1"]], "0"], 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)(\\d{4,9})", "$1 $2", ["[2568][1-8]|3(?:0[1-9]|[1-9])|9"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1 $2", ["[12]00|[368]|70[07-9]"], "0$1"], ["(\\d{2})(\\d{4,8})", "$1 $2", ["[1245]|7[135]"], "0$1"], ["(\\d{2})(\\d{6,10})", "$1 $2", ["7"], "0$1"]], "0", 0, 0, 0, 0, "1[03-79]|[2-9]", 0, "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, 0, "00"], FK: ["500", "00", "[2-7]\\d{4}", [5]], FM: ["691", "00", "(?:[39]\\d\\d|820)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[389]"]]]], FO: ["298", "00", "[2-9]\\d{5}", [6], [["(\\d{6})", "$1", ["[2-9]"]]], 0, 0, "(10(?:01|[12]0|88))"], 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"], 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"], 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[0235])|4(?:[0-5]\\d\\d|69[7-9]|70[0-79])|(?:(?: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-2]))|(?: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"], 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"], GF: ["594", "00", "[56]94\\d{6}|(?:80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[56]|9[47]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[89]"], "0$1"]], "0"], 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"], GI: ["350", "00", "(?:[25]\\d|60)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["2"]]]], GL: ["299", "00", "(?:19|[2-689]\\d|70)\\d{4}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["19|[2-9]"]]]], GM: ["220", "00", "[2-9]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], 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]"]]]], GP: ["590", "00", "590\\d{6}|(?:69|80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[569]"], "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]))\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:395|76[018])\\d|475[0-5])\\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]"]]]], 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"]]]], 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"]]]], GU: ["1", "011", "(?:[58]\\d\\d|671|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "671$1", 0, "671"], 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]"]]]], GY: ["592", "001", "(?:[2-8]\\d{3}|9008)\\d{3}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], 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, 0, "00"], HN: ["504", "00", "8\\d{10}|[237-9]\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["[237-9]"]]]], HR: ["385", "00", "(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}", [6, 7, 8, 9], [["(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["6[01]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{4})(\\d{3})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[67]"], "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-5]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"]], "0"], HT: ["509", "00", "(?:[2-489]\\d|55)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[2-589]"]]]], 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"], ID: ["62", "00[89]", "(?:(?:00[1-9]|8\\d)\\d{4}|[1-36])\\d{6}|00\\d{10}|[1-9]\\d{8,10}|[2-9]\\d{7}", [7, 8, 9, 10, 11, 12, 13], [["(\\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"], 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"], 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"], 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"], 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"], IO: ["246", "00", "3\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["3"]]]], 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"], 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"], 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, 0, "00"], IT: ["39", "00", "0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?", [6, 7, 8, 9, 10, 11], [["(\\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]"]], ["(\\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}"], ["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]], 0, 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[7-9]))\\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"], 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"], 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"], 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"], 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"], 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"], KI: ["686", "00", "(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}", [5, 8], 0, "0"], KM: ["269", "00", "[3478]\\d{6}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[3478]"]]]], KN: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "869$1", 0, "869"], 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"], 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", ["60|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))?"], 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]"]]]], KY: ["1", "011", "(?:345|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "345$1", 0, "345"], KZ: ["7", "810", "(?:33622|8\\d{8})\\d{5}|[78]\\d{9}", [10, 14], 0, "8", 0, 0, 0, 0, "33|7", 0, "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[013-9]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0"], 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"], LC: ["1", "011", "(?:[58]\\d\\d|758|900)\\d{7}", [10], 0, "1", 0, "([2-8]\\d{6})$|1", "758$1", 0, "758"], 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"], 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"], LR: ["231", "00", "(?:[25]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[4-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[23578]"], "0$1"]], "0"], LS: ["266", "00", "(?:[256]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2568]"]]]], LT: ["370", "00", "(?:[3469]\\d|52|[78]0)\\d{6}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["52[0-7]"], "(8-$1)", 1], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[7-9]"], "8 $1", 1], ["(\\d{2})(\\d{6})", "$1 $2", ["37|4(?:[15]|6[1-8])"], "(8-$1)", 1], ["(\\d{3})(\\d{5})", "$1 $2", ["[3-6]"], "(8-$1)", 1]], "8", 0, "[08]"], 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)"], LV: ["371", "00", "(?:[268]\\d|90)\\d{6}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[269]|8[01]"]]]], LY: ["218", "00", "[2-9]\\d{8}", [9], [["(\\d{2})(\\d{7})", "$1-$2", ["[2-9]"], "0$1"]], "0"], 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-489]|3[5-9]|9)|8(?:0[89]|92)", "5(?:2(?:[2-49]|8[235-9])|3[5-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-2]|5[01]|8[0-3]))\\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"], 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"], 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"], MF: ["590", "00", "590\\d{6}|(?: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]))\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:395|76[018])\\d|475[0-5])\\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"], MH: ["692", "011", "329\\d{4}|(?:[256]\\d|45)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-6]"]]], "1"], 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"], ML: ["223", "00", "[24-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-9]"]]]], 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", ["[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[12]"], "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"], 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"], 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]"]]]], MP: ["1", "011", "[58]\\d{9}|(?:67|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "670$1", 0, "670"], MQ: ["596", "00", "596\\d{6}|(?:69|80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[569]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], 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]"]]]], MS: ["1", "011", "(?:[58]\\d\\d|664|900)\\d{7}", [10], 0, "1", 0, "([34]\\d{6})$|1", "664$1", 0, "664"], MT: ["356", "00", "3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2357-9]"]]]], 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, 0, "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, 0, "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"], MX: ["52", "0[09]", "1(?:(?:[27]2|44|87|99)[1-9]|65[0-689])\\d{7}|(?:1(?:[01]\\d|2[13-9]|[35][1-9]|4[0-35-9]|6[0-46-9]|7[013-9]|8[1-69]|9[1-8])|[2-9]\\d)\\d{8}", [10, 11], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["33|5[56]|81"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-9]"], 0, 1], ["(\\d)(\\d{2})(\\d{4})(\\d{4})", "$2 $3 $4", ["1(?:33|5[56]|81)"], 0, 1], ["(\\d)(\\d{3})(\\d{3})(\\d{4})", "$2 $3 $4", ["1"], 0, 1]], "01", 0, "0(?:[12]|4[45])|1", 0, 0, 0, 0, "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"], 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"]]]], 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"], NC: ["687", "00", "(?:050|[2-57-9]\\d\\d)\\d{3}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1.$2.$3", ["[02-57-9]"]]]], 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[047]"]]]], 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"], NG: ["234", "009", "(?:[124-7]|9\\d{3})\\d{6}|[1-9]\\d{7}|[78]\\d{9,13}", [7, 8, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["78"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[12]|9(?:0[3-9]|[1-9])"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["[3-7]|8[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[7-9]"], "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"], NI: ["505", "00", "(?:1800|[25-8]\\d{3})\\d{4}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[125-8]"]]]], 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"], 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]"], 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"], NR: ["674", "00", "(?:444|(?:55|8\\d)\\d|666)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-68]"]]]], NU: ["683", "00", "(?:[4-7]|888\\d)\\d{3}", [4, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["8"]]]], 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, 0, "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]"]]]], 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"]]]], 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, 0, "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"]]]], 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, 0, "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"], 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"], 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"]]]], PM: ["508", "00", "[45]\\d{5}|(?:708|80\\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"], PR: ["1", "011", "(?:[589]\\d\\d|787)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "787|939"], 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"], 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]"]]]], PW: ["680", "01[12]", "(?:[24-8]\\d\\d|345|900)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], 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-6])"], "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"], 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]"]]]], RE: ["262", "00", "(?:26|[689]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2689]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"], ["69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))\\d{4}"], ["80\\d{7}"], ["89[1-37-9]\\d{6}"], 0, 0, 0, 0, ["9(?:399[0-3]|479[0-5]|76(?:2[27]|3[0-37]))\\d{4}"], ["8(?:1[019]|2[0156]|84|90)\\d{6}"]]], RO: ["40", "00", "(?:[2378]\\d|62|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, 0, 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"], 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]", 0, "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"], 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"], SB: ["677", "0[01]", "(?:[1-6]|[7-9]\\d\\d)\\d{4}", [5, 7], [["(\\d{2})(\\d{5})", "$1 $2", ["7|8[4-9]|9(?:[1-8]|9[0-8])"]]]], SC: ["248", "010|0[0-2]", "800\\d{4}|(?:[249]\\d|64)\\d{5}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[246]|9[57]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], SD: ["249", "00", "[19]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], 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], [["(\\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"], 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-8]|[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"]]]], SH: ["290", "00", "(?:[256]\\d|8)\\d{3}", [4, 5], 0, 0, 0, 0, 0, 0, "[256]"], 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, 0, "00"], SJ: ["47", "00", "0\\d{4}|(?:[489]\\d|79)\\d{6}", [5, 8], 0, 0, 0, 0, 0, 0, "79"], 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"], SL: ["232", "00", "(?:[237-9]\\d|66)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[236-9]"], "(0$1)"]], "0"], 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"], 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]"]]]], 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]|77|9[2-9]"]]], "0"], 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]"]]]], SS: ["211", "00", "[19]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], ST: ["239", "00", "(?:22|9\\d)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[29]"]]]], SV: ["503", "00", "[267]\\d{7}|[89]00\\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]"]]]], SX: ["1", "011", "7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "(5\\d{6})$|1", "721$1", 0, "721"], SY: ["963", "00", "[1-39]\\d{8}|[1-5]\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-5]"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1", 1]], "0"], 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"]]]], TA: ["290", "00", "8\\d{3}", [4], 0, 0, 0, 0, 0, 0, "8"], TC: ["1", "011", "(?:[58]\\d\\d|649|900)\\d{7}", [10], 0, "1", 0, "([2-479]\\d{6})$|1", "649$1", 0, "649"], TD: ["235", "00|16", "(?:22|[69]\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2679]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], TG: ["228", "00", "[279]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[279]"]]]], 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"], 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[1-5]"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[0-57-9]"]]], 0, 0, 0, 0, 0, 0, 0, "8~10"], TK: ["690", "00", "[2-47]\\d{3,6}", [4, 5, 6, 7]], 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"]]]], TM: ["993", "810", "[1-6]\\d{7}", [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", ["6"], "8 $1"]], "8", 0, 0, 0, 0, 0, 0, "8~10"], TN: ["216", "00", "[2-57-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-57-9]"]]]], 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]"]]]], 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"], TT: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-46-8]\\d{6})$|1", "868$1", 0, "868"], 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"]]]], 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, 0, 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"], 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, 0, "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"], 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, [["(?:5056(?:[0-35-9]\\d|4[468])|73020\\d)\\d{4}|(?:4722|505[2-57-9]|983[289])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013569]|3[0-24679]|4[167]|5[0-2]|6[0149]|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]|[34][016]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"], [""], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"], ["900[2-9]\\d{6}"], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]], 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, 0, "00", " int. "], UZ: ["998", "810", "(?:20|33|[5-79]\\d|88)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[235-9]"], "8 $1"]], "8", 0, 0, 0, 0, 0, 0, "8~10"], 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], 0, 0, 0, 0, 0, 0, "06698"], VC: ["1", "011", "(?:[58]\\d\\d|784|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "784$1", 0, "784"], 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"], VG: ["1", "011", "(?:284|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-578]\\d{6})$|1", "284$1", 0, "284"], VI: ["1", "011", "[58]\\d{9}|(?:34|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "340$1", 0, "340"], 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"], VU: ["678", "00", "[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}", [5, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["[57-9]"]]]], WF: ["681", "00", "(?:40|72)\\d{4}|8\\d{5}(?:\\d{3})?", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[478]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], 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"]]]], XK: ["383", "00", "[23]\\d{7,8}|(?:4\\d\\d|[89]00)\\d{5}", [8, 9], [["(\\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", ["[23]"], "0$1"]], "0"], 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"], YT: ["262", "00", "(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}", [9], 0, "0", 0, 0, 0, 0, 0, [["269(?:0[0-467]|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])\\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"], ZM: ["260", "00", "800\\d{6}|(?:21|63|[79]\\d)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[28]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[79]"], "0$1"]], "0"], 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"] }, 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}|[35-7]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[35-7]"]]], 0, 0, 0, 0, 0, 0, [0, ["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"]]], 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, 0, 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}"]]] } };
1604
- function Ad(e, d) {
1605
- var t = Array.prototype.slice.call(d);
1606
- return t.push(xd), e.apply(this, t);
1607
- }
1608
- function ie(e) {
1609
- "@babel/helpers - typeof";
1610
- return ie = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(d) {
1611
- return typeof d;
1612
- } : function(d) {
1613
- return d && typeof Symbol == "function" && d.constructor === Symbol && d !== Symbol.prototype ? "symbol" : typeof d;
1614
- }, ie(e);
1615
- }
1616
- function Oe(e, d) {
1617
- for (var t = 0; t < d.length; t++) {
1618
- var n = d[t];
1619
- n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);
1620
- }
1621
- }
1622
- function Dd(e, d, t) {
1623
- return d && Oe(e.prototype, d), t && Oe(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
1624
- }
1625
- function Rd(e, d) {
1626
- if (!(e instanceof d))
1627
- throw new TypeError("Cannot call a class as a function");
1628
- }
1629
- function Md(e, d) {
1630
- if (typeof d != "function" && d !== null)
1631
- throw new TypeError("Super expression must either be null or a function");
1632
- e.prototype = Object.create(d && d.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), d && k(e, d);
1633
- }
1634
- function Ld(e) {
1635
- var d = qe();
1636
- return function() {
1637
- var n = B(e), r;
1638
- if (d) {
1639
- var $ = B(this).constructor;
1640
- r = Reflect.construct(n, arguments, $);
1641
- } else
1642
- r = n.apply(this, arguments);
1643
- return kd(this, r);
1644
- };
1645
- }
1646
- function kd(e, d) {
1647
- if (d && (ie(d) === "object" || typeof d == "function"))
1648
- return d;
1649
- if (d !== void 0)
1650
- throw new TypeError("Derived constructors may only return object or undefined");
1651
- return Ye(e);
1652
- }
1653
- function Ye(e) {
1654
- if (e === void 0)
1655
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1656
- return e;
1657
- }
1658
- function ae(e) {
1659
- var d = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
1660
- return ae = function(n) {
1661
- if (n === null || !Bd(n))
1662
- return n;
1663
- if (typeof n != "function")
1664
- throw new TypeError("Super expression must either be null or a function");
1665
- if (typeof d < "u") {
1666
- if (d.has(n))
1667
- return d.get(n);
1668
- d.set(n, r);
1669
- }
1670
- function r() {
1671
- return U(n, arguments, B(this).constructor);
1672
- }
1673
- return r.prototype = Object.create(n.prototype, { constructor: { value: r, enumerable: !1, writable: !0, configurable: !0 } }), k(r, n);
1674
- }, ae(e);
1675
- }
1676
- function U(e, d, t) {
1677
- return qe() ? U = Reflect.construct : U = function(r, $, u) {
1678
- var o = [null];
1679
- o.push.apply(o, $);
1680
- var s = Function.bind.apply(r, o), i = new s();
1681
- return u && k(i, u.prototype), i;
1682
- }, U.apply(null, arguments);
1683
- }
1684
- function qe() {
1685
- if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
1686
- return !1;
1687
- if (typeof Proxy == "function")
1688
- return !0;
1689
- try {
1690
- return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
1691
- })), !0;
1692
- } catch {
1693
- return !1;
1694
- }
1695
- }
1696
- function Bd(e) {
1697
- return Function.toString.call(e).indexOf("[native code]") !== -1;
1698
- }
1699
- function k(e, d) {
1700
- return k = Object.setPrototypeOf || function(n, r) {
1701
- return n.__proto__ = r, n;
1702
- }, k(e, d);
1703
- }
1704
- function B(e) {
1705
- return B = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) {
1706
- return t.__proto__ || Object.getPrototypeOf(t);
1707
- }, B(e);
1708
- }
1709
- var w = /* @__PURE__ */ function(e) {
1710
- Md(t, e);
1711
- var d = Ld(t);
1712
- function t(n) {
1713
- var r;
1714
- return Rd(this, t), r = d.call(this, n), Object.setPrototypeOf(Ye(r), t.prototype), r.name = r.constructor.name, r;
1715
- }
1716
- return Dd(t);
1717
- }(/* @__PURE__ */ ae(Error)), se = 2, Gd = 17, jd = 3, O = "0-90-9٠-٩۰-۹", Ud = "-‐-―−ー-", Hd = "//", Vd = "..", Kd = "  ­​⁠ ", Wd = "()()[]\\[\\]", zd = "~⁓∼~", V = "".concat(Ud).concat(Hd).concat(Vd).concat(Kd).concat(Wd).concat(zd), ce = "++";
1718
- function Pe(e, d) {
1719
- e = e.split("-"), d = d.split("-");
1720
- for (var t = e[0].split("."), n = d[0].split("."), r = 0; r < 3; r++) {
1721
- var $ = Number(t[r]), u = Number(n[r]);
1722
- if ($ > u)
1723
- return 1;
1724
- if (u > $)
1725
- return -1;
1726
- if (!isNaN($) && isNaN(u))
1727
- return 1;
1728
- if (isNaN($) && !isNaN(u))
1729
- return -1;
1730
- }
1731
- return e[1] && d[1] ? e[1] > d[1] ? 1 : e[1] < d[1] ? -1 : 0 : !e[1] && d[1] ? 1 : e[1] && !d[1] ? -1 : 0;
1732
- }
1733
- var Xd = {}.constructor;
1734
- function H(e) {
1735
- return e != null && e.constructor === Xd;
1736
- }
1737
- function $e(e) {
1738
- "@babel/helpers - typeof";
1739
- return $e = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(d) {
1740
- return typeof d;
1741
- } : function(d) {
1742
- return d && typeof Symbol == "function" && d.constructor === Symbol && d !== Symbol.prototype ? "symbol" : typeof d;
1743
- }, $e(e);
1744
- }
1745
- function W(e, d) {
1746
- if (!(e instanceof d))
1747
- throw new TypeError("Cannot call a class as a function");
1748
- }
1749
- function Ne(e, d) {
1750
- for (var t = 0; t < d.length; t++) {
1751
- var n = d[t];
1752
- n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);
1753
- }
1754
- }
1755
- function z(e, d, t) {
1756
- return d && Ne(e.prototype, d), t && Ne(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
1757
- }
1758
- var Zd = "1.2.0", Yd = "1.7.35", we = " ext. ", qd = /^\d+$/, v = /* @__PURE__ */ function() {
1759
- function e(d) {
1760
- W(this, e), d0(d), this.metadata = d, Je.call(this, d);
1761
- }
1762
- return z(e, [{
1763
- key: "getCountries",
1764
- value: function() {
1765
- return Object.keys(this.metadata.countries).filter(function(t) {
1766
- return t !== "001";
1767
- });
1768
- }
1769
- }, {
1770
- key: "getCountryMetadata",
1771
- value: function(t) {
1772
- return this.metadata.countries[t];
1773
- }
1774
- }, {
1775
- key: "nonGeographic",
1776
- value: function() {
1777
- if (!(this.v1 || this.v2 || this.v3))
1778
- return this.metadata.nonGeographic || this.metadata.nonGeographical;
1779
- }
1780
- }, {
1781
- key: "hasCountry",
1782
- value: function(t) {
1783
- return this.getCountryMetadata(t) !== void 0;
1784
- }
1785
- }, {
1786
- key: "hasCallingCode",
1787
- value: function(t) {
1788
- if (this.getCountryCodesForCallingCode(t))
1789
- return !0;
1790
- if (this.nonGeographic()) {
1791
- if (this.nonGeographic()[t])
1792
- return !0;
1793
- } else {
1794
- var n = this.countryCallingCodes()[t];
1795
- if (n && n.length === 1 && n[0] === "001")
1796
- return !0;
1797
- }
1798
- }
1799
- }, {
1800
- key: "isNonGeographicCallingCode",
1801
- value: function(t) {
1802
- return this.nonGeographic() ? !!this.nonGeographic()[t] : !this.getCountryCodesForCallingCode(t);
1803
- }
1804
- // Deprecated.
1805
- }, {
1806
- key: "country",
1807
- value: function(t) {
1808
- return this.selectNumberingPlan(t);
1809
- }
1810
- }, {
1811
- key: "selectNumberingPlan",
1812
- value: function(t, n) {
1813
- if (t && qd.test(t) && (n = t, t = null), t && t !== "001") {
1814
- if (!this.hasCountry(t))
1815
- throw new Error("Unknown country: ".concat(t));
1816
- this.numberingPlan = new Ie(this.getCountryMetadata(t), this);
1817
- } else if (n) {
1818
- if (!this.hasCallingCode(n))
1819
- throw new Error("Unknown calling code: ".concat(n));
1820
- this.numberingPlan = new Ie(this.getNumberingPlanMetadata(n), this);
1821
- } else
1822
- this.numberingPlan = void 0;
1823
- return this;
1824
- }
1825
- }, {
1826
- key: "getCountryCodesForCallingCode",
1827
- value: function(t) {
1828
- var n = this.countryCallingCodes()[t];
1829
- if (n)
1830
- return n.length === 1 && n[0].length === 3 ? void 0 : n;
1831
- }
1832
- }, {
1833
- key: "getCountryCodeForCallingCode",
1834
- value: function(t) {
1835
- var n = this.getCountryCodesForCallingCode(t);
1836
- if (n)
1837
- return n[0];
1838
- }
1839
- }, {
1840
- key: "getNumberingPlanMetadata",
1841
- value: function(t) {
1842
- var n = this.getCountryCodeForCallingCode(t);
1843
- if (n)
1844
- return this.getCountryMetadata(n);
1845
- if (this.nonGeographic()) {
1846
- var r = this.nonGeographic()[t];
1847
- if (r)
1848
- return r;
1849
- } else {
1850
- var $ = this.countryCallingCodes()[t];
1851
- if ($ && $.length === 1 && $[0] === "001")
1852
- return this.metadata.countries["001"];
1853
- }
1854
- }
1855
- // Deprecated.
1856
- }, {
1857
- key: "countryCallingCode",
1858
- value: function() {
1859
- return this.numberingPlan.callingCode();
1860
- }
1861
- // Deprecated.
1862
- }, {
1863
- key: "IDDPrefix",
1864
- value: function() {
1865
- return this.numberingPlan.IDDPrefix();
1866
- }
1867
- // Deprecated.
1868
- }, {
1869
- key: "defaultIDDPrefix",
1870
- value: function() {
1871
- return this.numberingPlan.defaultIDDPrefix();
1872
- }
1873
- // Deprecated.
1874
- }, {
1875
- key: "nationalNumberPattern",
1876
- value: function() {
1877
- return this.numberingPlan.nationalNumberPattern();
1878
- }
1879
- // Deprecated.
1880
- }, {
1881
- key: "possibleLengths",
1882
- value: function() {
1883
- return this.numberingPlan.possibleLengths();
1884
- }
1885
- // Deprecated.
1886
- }, {
1887
- key: "formats",
1888
- value: function() {
1889
- return this.numberingPlan.formats();
1890
- }
1891
- // Deprecated.
1892
- }, {
1893
- key: "nationalPrefixForParsing",
1894
- value: function() {
1895
- return this.numberingPlan.nationalPrefixForParsing();
1896
- }
1897
- // Deprecated.
1898
- }, {
1899
- key: "nationalPrefixTransformRule",
1900
- value: function() {
1901
- return this.numberingPlan.nationalPrefixTransformRule();
1902
- }
1903
- // Deprecated.
1904
- }, {
1905
- key: "leadingDigits",
1906
- value: function() {
1907
- return this.numberingPlan.leadingDigits();
1908
- }
1909
- // Deprecated.
1910
- }, {
1911
- key: "hasTypes",
1912
- value: function() {
1913
- return this.numberingPlan.hasTypes();
1914
- }
1915
- // Deprecated.
1916
- }, {
1917
- key: "type",
1918
- value: function(t) {
1919
- return this.numberingPlan.type(t);
1920
- }
1921
- // Deprecated.
1922
- }, {
1923
- key: "ext",
1924
- value: function() {
1925
- return this.numberingPlan.ext();
1926
- }
1927
- }, {
1928
- key: "countryCallingCodes",
1929
- value: function() {
1930
- return this.v1 ? this.metadata.country_phone_code_to_countries : this.metadata.country_calling_codes;
1931
- }
1932
- // Deprecated.
1933
- }, {
1934
- key: "chooseCountryByCountryCallingCode",
1935
- value: function(t) {
1936
- return this.selectNumberingPlan(t);
1937
- }
1938
- }, {
1939
- key: "hasSelectedNumberingPlan",
1940
- value: function() {
1941
- return this.numberingPlan !== void 0;
1942
- }
1943
- }]), e;
1944
- }(), Ie = /* @__PURE__ */ function() {
1945
- function e(d, t) {
1946
- W(this, e), this.globalMetadataObject = t, this.metadata = d, Je.call(this, t.metadata);
1947
- }
1948
- return z(e, [{
1949
- key: "callingCode",
1950
- value: function() {
1951
- return this.metadata[0];
1952
- }
1953
- // Formatting information for regions which share
1954
- // a country calling code is contained by only one region
1955
- // for performance reasons. For example, for NANPA region
1956
- // ("North American Numbering Plan Administration",
1957
- // which includes USA, Canada, Cayman Islands, Bahamas, etc)
1958
- // it will be contained in the metadata for `US`.
1959
- }, {
1960
- key: "getDefaultCountryMetadataForRegion",
1961
- value: function() {
1962
- return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode());
1963
- }
1964
- // Is always present.
1965
- }, {
1966
- key: "IDDPrefix",
1967
- value: function() {
1968
- if (!(this.v1 || this.v2))
1969
- return this.metadata[1];
1970
- }
1971
- // Is only present when a country supports multiple IDD prefixes.
1972
- }, {
1973
- key: "defaultIDDPrefix",
1974
- value: function() {
1975
- if (!(this.v1 || this.v2))
1976
- return this.metadata[12];
1977
- }
1978
- }, {
1979
- key: "nationalNumberPattern",
1980
- value: function() {
1981
- return this.v1 || this.v2 ? this.metadata[1] : this.metadata[2];
1982
- }
1983
- // "possible length" data is always present in Google's metadata.
1984
- }, {
1985
- key: "possibleLengths",
1986
- value: function() {
1987
- if (!this.v1)
1988
- return this.metadata[this.v2 ? 2 : 3];
1989
- }
1990
- }, {
1991
- key: "_getFormats",
1992
- value: function(t) {
1993
- return t[this.v1 ? 2 : this.v2 ? 3 : 4];
1994
- }
1995
- // For countries of the same region (e.g. NANPA)
1996
- // formats are all stored in the "main" country for that region.
1997
- // E.g. "RU" and "KZ", "US" and "CA".
1998
- }, {
1999
- key: "formats",
2000
- value: function() {
2001
- var t = this, n = this._getFormats(this.metadata) || this._getFormats(this.getDefaultCountryMetadataForRegion()) || [];
2002
- return n.map(function(r) {
2003
- return new Jd(r, t);
2004
- });
2005
- }
2006
- }, {
2007
- key: "nationalPrefix",
2008
- value: function() {
2009
- return this.metadata[this.v1 ? 3 : this.v2 ? 4 : 5];
2010
- }
2011
- }, {
2012
- key: "_getNationalPrefixFormattingRule",
2013
- value: function(t) {
2014
- return t[this.v1 ? 4 : this.v2 ? 5 : 6];
2015
- }
2016
- // For countries of the same region (e.g. NANPA)
2017
- // national prefix formatting rule is stored in the "main" country for that region.
2018
- // E.g. "RU" and "KZ", "US" and "CA".
2019
- }, {
2020
- key: "nationalPrefixFormattingRule",
2021
- value: function() {
2022
- return this._getNationalPrefixFormattingRule(this.metadata) || this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion());
2023
- }
2024
- }, {
2025
- key: "_nationalPrefixForParsing",
2026
- value: function() {
2027
- return this.metadata[this.v1 ? 5 : this.v2 ? 6 : 7];
2028
- }
2029
- }, {
2030
- key: "nationalPrefixForParsing",
2031
- value: function() {
2032
- return this._nationalPrefixForParsing() || this.nationalPrefix();
2033
- }
2034
- }, {
2035
- key: "nationalPrefixTransformRule",
2036
- value: function() {
2037
- return this.metadata[this.v1 ? 6 : this.v2 ? 7 : 8];
2038
- }
2039
- }, {
2040
- key: "_getNationalPrefixIsOptionalWhenFormatting",
2041
- value: function() {
2042
- return !!this.metadata[this.v1 ? 7 : this.v2 ? 8 : 9];
2043
- }
2044
- // For countries of the same region (e.g. NANPA)
2045
- // "national prefix is optional when formatting" flag is
2046
- // stored in the "main" country for that region.
2047
- // E.g. "RU" and "KZ", "US" and "CA".
2048
- }, {
2049
- key: "nationalPrefixIsOptionalWhenFormattingInNationalFormat",
2050
- value: function() {
2051
- return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata) || this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion());
2052
- }
2053
- }, {
2054
- key: "leadingDigits",
2055
- value: function() {
2056
- return this.metadata[this.v1 ? 8 : this.v2 ? 9 : 10];
2057
- }
2058
- }, {
2059
- key: "types",
2060
- value: function() {
2061
- return this.metadata[this.v1 ? 9 : this.v2 ? 10 : 11];
2062
- }
2063
- }, {
2064
- key: "hasTypes",
2065
- value: function() {
2066
- return this.types() && this.types().length === 0 ? !1 : !!this.types();
2067
- }
2068
- }, {
2069
- key: "type",
2070
- value: function(t) {
2071
- if (this.hasTypes() && Ee(this.types(), t))
2072
- return new e0(Ee(this.types(), t), this);
2073
- }
2074
- }, {
2075
- key: "ext",
2076
- value: function() {
2077
- return this.v1 || this.v2 ? we : this.metadata[13] || we;
2078
- }
2079
- }]), e;
2080
- }(), Jd = /* @__PURE__ */ function() {
2081
- function e(d, t) {
2082
- W(this, e), this._format = d, this.metadata = t;
2083
- }
2084
- return z(e, [{
2085
- key: "pattern",
2086
- value: function() {
2087
- return this._format[0];
2088
- }
2089
- }, {
2090
- key: "format",
2091
- value: function() {
2092
- return this._format[1];
2093
- }
2094
- }, {
2095
- key: "leadingDigitsPatterns",
2096
- value: function() {
2097
- return this._format[2] || [];
2098
- }
2099
- }, {
2100
- key: "nationalPrefixFormattingRule",
2101
- value: function() {
2102
- return this._format[3] || this.metadata.nationalPrefixFormattingRule();
2103
- }
2104
- }, {
2105
- key: "nationalPrefixIsOptionalWhenFormattingInNationalFormat",
2106
- value: function() {
2107
- return !!this._format[4] || this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat();
2108
- }
2109
- }, {
2110
- key: "nationalPrefixIsMandatoryWhenFormattingInNationalFormat",
2111
- value: function() {
2112
- return this.usesNationalPrefix() && !this.nationalPrefixIsOptionalWhenFormattingInNationalFormat();
2113
- }
2114
- // Checks whether national prefix formatting rule contains national prefix.
2115
- }, {
2116
- key: "usesNationalPrefix",
2117
- value: function() {
2118
- return !!(this.nationalPrefixFormattingRule() && // Check that national prefix formatting rule is not a "dummy" one.
2119
- !Qd.test(this.nationalPrefixFormattingRule()));
2120
- }
2121
- }, {
2122
- key: "internationalFormat",
2123
- value: function() {
2124
- return this._format[5] || this.format();
2125
- }
2126
- }]), e;
2127
- }(), Qd = /^\(?\$1\)?$/, e0 = /* @__PURE__ */ function() {
2128
- function e(d, t) {
2129
- W(this, e), this.type = d, this.metadata = t;
2130
- }
2131
- return z(e, [{
2132
- key: "pattern",
2133
- value: function() {
2134
- return this.metadata.v1 ? this.type : this.type[0];
2135
- }
2136
- }, {
2137
- key: "possibleLengths",
2138
- value: function() {
2139
- if (!this.metadata.v1)
2140
- return this.type[1] || this.metadata.possibleLengths();
2141
- }
2142
- }]), e;
2143
- }();
2144
- function Ee(e, d) {
2145
- switch (d) {
2146
- case "FIXED_LINE":
2147
- return e[0];
2148
- case "MOBILE":
2149
- return e[1];
2150
- case "TOLL_FREE":
2151
- return e[2];
2152
- case "PREMIUM_RATE":
2153
- return e[3];
2154
- case "PERSONAL_NUMBER":
2155
- return e[4];
2156
- case "VOICEMAIL":
2157
- return e[5];
2158
- case "UAN":
2159
- return e[6];
2160
- case "PAGER":
2161
- return e[7];
2162
- case "VOIP":
2163
- return e[8];
2164
- case "SHARED_COST":
2165
- return e[9];
2166
- }
2167
- }
2168
- function d0(e) {
2169
- if (!e)
2170
- throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");
2171
- if (!H(e) || !H(e.countries))
2172
- 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(H(e) ? "an object of shape: { " + Object.keys(e).join(", ") + " }" : "a " + t0(e) + ": " + e, "."));
2173
- }
2174
- var t0 = function(d) {
2175
- return $e(d);
2176
- };
2177
- function fe(e, d) {
2178
- if (d = new v(d), d.hasCountry(e))
2179
- return d.country(e).countryCallingCode();
2180
- throw new Error("Unknown country: ".concat(e));
2181
- }
2182
- function n0(e, d) {
2183
- return d.countries.hasOwnProperty(e);
2184
- }
2185
- function Je(e) {
2186
- var d = e.version;
2187
- typeof d == "number" ? (this.v1 = d === 1, this.v2 = d === 2, this.v3 = d === 3, this.v4 = d === 4) : d ? Pe(d, Zd) === -1 ? this.v2 = !0 : Pe(d, Yd) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
2188
- }
2189
- var r0 = ";ext=", x = function(d) {
2190
- return "([".concat(O, "]{1,").concat(d, "})");
2191
- };
2192
- function Qe(e) {
2193
- var d = "20", t = "15", n = "9", r = "6", $ = "[  \\t,]*", u = "[:\\..]?[  \\t,-]*", o = "#?", s = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", i = "(?:[xx##~~]|int|int)", p = "[- ]+", b = "[  \\t]*", C = "(?:,{2}|;)", h = r0 + x(d), y = $ + s + u + x(d) + o, X = $ + i + u + x(n) + o, Z = p + x(r) + "#", Y = b + C + u + x(t) + o, F = b + "(?:,)+" + u + x(n) + o;
2194
- return h + "|" + y + "|" + X + "|" + Z + "|" + Y + "|" + F;
2195
- }
2196
- var i0 = "[" + O + "]{" + se + "}", a0 = "[" + ce + "]{0,1}(?:[" + V + "]*[" + O + "]){3,}[" + V + O + "]*", $0 = new RegExp("^[" + ce + "]{0,1}(?:[" + V + "]*[" + O + "]){1,2}$", "i"), o0 = a0 + // Phone number extensions
2197
- "(?:" + Qe() + ")?", u0 = new RegExp(
2198
- // Either a short two-digit-only phone number
2199
- "^" + i0 + "$|^" + o0 + "$",
2200
- "i"
2201
- );
2202
- function l0(e) {
2203
- return e.length >= se && u0.test(e);
2204
- }
2205
- function s0(e) {
2206
- return $0.test(e);
2207
- }
2208
- var Se = new RegExp("(?:" + Qe() + ")$", "i");
2209
- function c0(e) {
2210
- var d = e.search(Se);
2211
- if (d < 0)
2212
- return {};
2213
- for (var t = e.slice(0, d), n = e.match(Se), r = 1; r < n.length; ) {
2214
- if (n[r])
2215
- return {
2216
- number: t,
2217
- ext: n[r]
2218
- };
2219
- r++;
2220
- }
2221
- }
2222
- var f0 = {
2223
- 0: "0",
2224
- 1: "1",
2225
- 2: "2",
2226
- 3: "3",
2227
- 4: "4",
2228
- 5: "5",
2229
- 6: "6",
2230
- 7: "7",
2231
- 8: "8",
2232
- 9: "9",
2233
- "0": "0",
2234
- // Fullwidth digit 0
2235
- "1": "1",
2236
- // Fullwidth digit 1
2237
- "2": "2",
2238
- // Fullwidth digit 2
2239
- "3": "3",
2240
- // Fullwidth digit 3
2241
- "4": "4",
2242
- // Fullwidth digit 4
2243
- "5": "5",
2244
- // Fullwidth digit 5
2245
- "6": "6",
2246
- // Fullwidth digit 6
2247
- "7": "7",
2248
- // Fullwidth digit 7
2249
- "8": "8",
2250
- // Fullwidth digit 8
2251
- "9": "9",
2252
- // Fullwidth digit 9
2253
- "٠": "0",
2254
- // Arabic-indic digit 0
2255
- "١": "1",
2256
- // Arabic-indic digit 1
2257
- "٢": "2",
2258
- // Arabic-indic digit 2
2259
- "٣": "3",
2260
- // Arabic-indic digit 3
2261
- "٤": "4",
2262
- // Arabic-indic digit 4
2263
- "٥": "5",
2264
- // Arabic-indic digit 5
2265
- "٦": "6",
2266
- // Arabic-indic digit 6
2267
- "٧": "7",
2268
- // Arabic-indic digit 7
2269
- "٨": "8",
2270
- // Arabic-indic digit 8
2271
- "٩": "9",
2272
- // Arabic-indic digit 9
2273
- "۰": "0",
2274
- // Eastern-Arabic digit 0
2275
- "۱": "1",
2276
- // Eastern-Arabic digit 1
2277
- "۲": "2",
2278
- // Eastern-Arabic digit 2
2279
- "۳": "3",
2280
- // Eastern-Arabic digit 3
2281
- "۴": "4",
2282
- // Eastern-Arabic digit 4
2283
- "۵": "5",
2284
- // Eastern-Arabic digit 5
2285
- "۶": "6",
2286
- // Eastern-Arabic digit 6
2287
- "۷": "7",
2288
- // Eastern-Arabic digit 7
2289
- "۸": "8",
2290
- // Eastern-Arabic digit 8
2291
- "۹": "9"
2292
- // Eastern-Arabic digit 9
2293
- };
2294
- function p0(e) {
2295
- return f0[e];
2296
- }
2297
- function h0(e, d) {
2298
- var t = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
2299
- if (t)
2300
- return (t = t.call(e)).next.bind(t);
2301
- if (Array.isArray(e) || (t = y0(e)) || d && e && typeof e.length == "number") {
2302
- t && (e = t);
2303
- var n = 0;
2304
- return function() {
2305
- return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
2306
- };
2307
- }
2308
- throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2309
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2310
- }
2311
- function y0(e, d) {
2312
- if (e) {
2313
- if (typeof e == "string")
2314
- return _e(e, d);
2315
- var t = Object.prototype.toString.call(e).slice(8, -1);
2316
- if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set")
2317
- return Array.from(e);
2318
- if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))
2319
- return _e(e, d);
2320
- }
2321
- }
2322
- function _e(e, d) {
2323
- (d == null || d > e.length) && (d = e.length);
2324
- for (var t = 0, n = new Array(d); t < d; t++)
2325
- n[t] = e[t];
2326
- return n;
2327
- }
2328
- function Fe(e) {
2329
- for (var d = "", t = h0(e.split("")), n; !(n = t()).done; ) {
2330
- var r = n.value;
2331
- d += g0(r, d) || "";
2332
- }
2333
- return d;
2334
- }
2335
- function g0(e, d) {
2336
- return e === "+" ? d ? void 0 : "+" : p0(e);
2337
- }
2338
- function m0(e, d) {
2339
- var t = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
2340
- if (t)
2341
- return (t = t.call(e)).next.bind(t);
2342
- if (Array.isArray(e) || (t = v0(e)) || d && e && typeof e.length == "number") {
2343
- t && (e = t);
2344
- var n = 0;
2345
- return function() {
2346
- return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
2347
- };
2348
- }
2349
- throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2350
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2351
- }
2352
- function v0(e, d) {
2353
- if (e) {
2354
- if (typeof e == "string")
2355
- return Te(e, d);
2356
- var t = Object.prototype.toString.call(e).slice(8, -1);
2357
- if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set")
2358
- return Array.from(e);
2359
- if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))
2360
- return Te(e, d);
2361
- }
2362
- }
2363
- function Te(e, d) {
2364
- (d == null || d > e.length) && (d = e.length);
2365
- for (var t = 0, n = new Array(d); t < d; t++)
2366
- n[t] = e[t];
2367
- return n;
2368
- }
2369
- function b0(e, d) {
2370
- for (var t = e.slice(), n = m0(d), r; !(r = n()).done; ) {
2371
- var $ = r.value;
2372
- e.indexOf($) < 0 && t.push($);
2373
- }
2374
- return t.sort(function(u, o) {
2375
- return u - o;
2376
- });
2377
- }
2378
- function pe(e, d) {
2379
- return ed(e, void 0, d);
2380
- }
2381
- function ed(e, d, t) {
2382
- var n = t.type(d), r = n && n.possibleLengths() || t.possibleLengths();
2383
- if (!r)
2384
- return "IS_POSSIBLE";
2385
- if (d === "FIXED_LINE_OR_MOBILE") {
2386
- if (!t.type("FIXED_LINE"))
2387
- return ed(e, "MOBILE", t);
2388
- var $ = t.type("MOBILE");
2389
- $ && (r = b0(r, $.possibleLengths()));
2390
- } else if (d && !n)
2391
- return "INVALID_LENGTH";
2392
- var u = e.length, o = r[0];
2393
- return o === u ? "IS_POSSIBLE" : o > u ? "TOO_SHORT" : r[r.length - 1] < u ? "TOO_LONG" : r.indexOf(u, 1) >= 0 ? "IS_POSSIBLE" : "INVALID_LENGTH";
2394
- }
2395
- function C0(e, d, t) {
2396
- if (d === void 0 && (d = {}), t = new v(t), d.v2) {
2397
- if (!e.countryCallingCode)
2398
- throw new Error("Invalid phone number object passed");
2399
- t.selectNumberingPlan(e.countryCallingCode);
2400
- } else {
2401
- if (!e.phone)
2402
- return !1;
2403
- if (e.country) {
2404
- if (!t.hasCountry(e.country))
2405
- throw new Error("Unknown country: ".concat(e.country));
2406
- t.country(e.country);
2407
- } else {
2408
- if (!e.countryCallingCode)
2409
- throw new Error("Invalid phone number object passed");
2410
- t.selectNumberingPlan(e.countryCallingCode);
2411
- }
2412
- }
2413
- if (t.possibleLengths())
2414
- return dd(e.phone || e.nationalNumber, t);
2415
- if (e.countryCallingCode && t.isNonGeographicCallingCode(e.countryCallingCode))
2416
- return !0;
2417
- throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.');
2418
- }
2419
- function dd(e, d) {
2420
- switch (pe(e, d)) {
2421
- case "IS_POSSIBLE":
2422
- return !0;
2423
- default:
2424
- return !1;
2425
- }
2426
- }
2427
- function I(e, d) {
2428
- return e = e || "", new RegExp("^(?:" + d + ")$").test(e);
2429
- }
2430
- function O0(e, d) {
2431
- var t = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
2432
- if (t)
2433
- return (t = t.call(e)).next.bind(t);
2434
- if (Array.isArray(e) || (t = P0(e)) || d && e && typeof e.length == "number") {
2435
- t && (e = t);
2436
- var n = 0;
2437
- return function() {
2438
- return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
2439
- };
2440
- }
2441
- throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2442
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2443
- }
2444
- function P0(e, d) {
2445
- if (e) {
2446
- if (typeof e == "string")
2447
- return xe(e, d);
2448
- var t = Object.prototype.toString.call(e).slice(8, -1);
2449
- if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set")
2450
- return Array.from(e);
2451
- if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))
2452
- return xe(e, d);
2453
- }
2454
- }
2455
- function xe(e, d) {
2456
- (d == null || d > e.length) && (d = e.length);
2457
- for (var t = 0, n = new Array(d); t < d; t++)
2458
- n[t] = e[t];
2459
- return n;
2460
- }
2461
- var N0 = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
2462
- function he(e, d, t) {
2463
- if (d = d || {}, !(!e.country && !e.countryCallingCode)) {
2464
- t = new v(t), t.selectNumberingPlan(e.country, e.countryCallingCode);
2465
- var n = d.v2 ? e.nationalNumber : e.phone;
2466
- if (I(n, t.nationalNumberPattern())) {
2467
- if (de(n, "FIXED_LINE", t))
2468
- return t.type("MOBILE") && t.type("MOBILE").pattern() === "" || !t.type("MOBILE") || de(n, "MOBILE", t) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
2469
- for (var r = O0(N0), $; !($ = r()).done; ) {
2470
- var u = $.value;
2471
- if (de(n, u, t))
2472
- return u;
2473
- }
2474
- }
2475
- }
2476
- }
2477
- function de(e, d, t) {
2478
- return d = t.type(d), !d || !d.pattern() || d.possibleLengths() && d.possibleLengths().indexOf(e.length) < 0 ? !1 : I(e, d.pattern());
2479
- }
2480
- function w0(e, d, t) {
2481
- if (d = d || {}, t = new v(t), t.selectNumberingPlan(e.country, e.countryCallingCode), t.hasTypes())
2482
- return he(e, d, t.metadata) !== void 0;
2483
- var n = d.v2 ? e.nationalNumber : e.phone;
2484
- return I(n, t.nationalNumberPattern());
2485
- }
2486
- function I0(e, d, t) {
2487
- var n = new v(t), r = n.getCountryCodesForCallingCode(e);
2488
- return r ? r.filter(function($) {
2489
- return E0(d, $, t);
2490
- }) : [];
2491
- }
2492
- function E0(e, d, t) {
2493
- var n = new v(t);
2494
- return n.selectNumberingPlan(d), n.numberingPlan.possibleLengths().indexOf(e.length) >= 0;
2495
- }
2496
- function S0(e) {
2497
- return e.replace(new RegExp("[".concat(V, "]+"), "g"), " ").trim();
2498
- }
2499
- var _0 = /(\$\d)/;
2500
- function F0(e, d, t) {
2501
- var n = t.useInternationalFormat, r = t.withNationalPrefix;
2502
- t.carrierCode, t.metadata;
2503
- var $ = e.replace(new RegExp(d.pattern()), n ? d.internationalFormat() : (
2504
- // This library doesn't use `domestic_carrier_code_formatting_rule`,
2505
- // because that one is only used when formatting phone numbers
2506
- // for dialing from a mobile phone, and this is not a dialing library.
2507
- // carrierCode && format.domesticCarrierCodeFormattingRule()
2508
- // // First, replace the $CC in the formatting rule with the desired carrier code.
2509
- // // Then, replace the $FG in the formatting rule with the first group
2510
- // // and the carrier code combined in the appropriate way.
2511
- // ? format.format().replace(FIRST_GROUP_PATTERN, format.domesticCarrierCodeFormattingRule().replace('$CC', carrierCode))
2512
- // : (
2513
- // withNationalPrefix && format.nationalPrefixFormattingRule()
2514
- // ? format.format().replace(FIRST_GROUP_PATTERN, format.nationalPrefixFormattingRule())
2515
- // : format.format()
2516
- // )
2517
- r && d.nationalPrefixFormattingRule() ? d.format().replace(_0, d.nationalPrefixFormattingRule()) : d.format()
2518
- ));
2519
- return n ? S0($) : $;
2520
- }
2521
- var T0 = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
2522
- function x0(e, d, t) {
2523
- var n = new v(t);
2524
- if (n.selectNumberingPlan(e, d), n.defaultIDDPrefix())
2525
- return n.defaultIDDPrefix();
2526
- if (T0.test(n.IDDPrefix()))
2527
- return n.IDDPrefix();
2528
- }
2529
- function A0(e) {
2530
- var d = e.number, t = e.ext;
2531
- if (!d)
2532
- return "";
2533
- if (d[0] !== "+")
2534
- throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');
2535
- return "tel:".concat(d).concat(t ? ";ext=" + t : "");
2536
- }
2537
- function D0(e, d) {
2538
- var t = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
2539
- if (t)
2540
- return (t = t.call(e)).next.bind(t);
2541
- if (Array.isArray(e) || (t = R0(e)) || d && e && typeof e.length == "number") {
2542
- t && (e = t);
2543
- var n = 0;
2544
- return function() {
2545
- return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
2546
- };
2547
- }
2548
- throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2549
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2550
- }
2551
- function R0(e, d) {
2552
- if (e) {
2553
- if (typeof e == "string")
2554
- return Ae(e, d);
2555
- var t = Object.prototype.toString.call(e).slice(8, -1);
2556
- if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set")
2557
- return Array.from(e);
2558
- if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))
2559
- return Ae(e, d);
2560
- }
2561
- }
2562
- function Ae(e, d) {
2563
- (d == null || d > e.length) && (d = e.length);
2564
- for (var t = 0, n = new Array(d); t < d; t++)
2565
- n[t] = e[t];
2566
- return n;
2567
- }
2568
- function De(e, d) {
2569
- var t = Object.keys(e);
2570
- if (Object.getOwnPropertySymbols) {
2571
- var n = Object.getOwnPropertySymbols(e);
2572
- d && (n = n.filter(function(r) {
2573
- return Object.getOwnPropertyDescriptor(e, r).enumerable;
2574
- })), t.push.apply(t, n);
2575
- }
2576
- return t;
2577
- }
2578
- function Re(e) {
2579
- for (var d = 1; d < arguments.length; d++) {
2580
- var t = arguments[d] != null ? arguments[d] : {};
2581
- d % 2 ? De(Object(t), !0).forEach(function(n) {
2582
- M0(e, n, t[n]);
2583
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : De(Object(t)).forEach(function(n) {
2584
- Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(t, n));
2585
- });
2586
- }
2587
- return e;
2588
- }
2589
- function M0(e, d, t) {
2590
- return d in e ? Object.defineProperty(e, d, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[d] = t, e;
2591
- }
2592
- var Me = {
2593
- formatExtension: function(d, t, n) {
2594
- return "".concat(d).concat(n.ext()).concat(t);
2595
- }
2596
- };
2597
- function L0(e, d, t, n) {
2598
- if (t ? t = Re(Re({}, Me), t) : t = Me, n = new v(n), e.country && e.country !== "001") {
2599
- if (!n.hasCountry(e.country))
2600
- throw new Error("Unknown country: ".concat(e.country));
2601
- n.country(e.country);
2602
- } else if (e.countryCallingCode)
2603
- n.selectNumberingPlan(e.countryCallingCode);
2604
- else
2605
- return e.phone || "";
2606
- var r = n.countryCallingCode(), $ = t.v2 ? e.nationalNumber : e.phone, u;
2607
- switch (d) {
2608
- case "NATIONAL":
2609
- return $ ? (u = K($, e.carrierCode, "NATIONAL", n, t), te(u, e.ext, n, t.formatExtension)) : "";
2610
- case "INTERNATIONAL":
2611
- return $ ? (u = K($, null, "INTERNATIONAL", n, t), u = "+".concat(r, " ").concat(u), te(u, e.ext, n, t.formatExtension)) : "+".concat(r);
2612
- case "E.164":
2613
- return "+".concat(r).concat($);
2614
- case "RFC3966":
2615
- return A0({
2616
- number: "+".concat(r).concat($),
2617
- ext: e.ext
2618
- });
2619
- case "IDD":
2620
- if (!t.fromCountry)
2621
- return;
2622
- var o = B0($, e.carrierCode, r, t.fromCountry, n);
2623
- return te(o, e.ext, n, t.formatExtension);
2624
- default:
2625
- throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(d, '"'));
2626
- }
2627
- }
2628
- function K(e, d, t, n, r) {
2629
- var $ = k0(n.formats(), e);
2630
- return $ ? F0(e, $, {
2631
- useInternationalFormat: t === "INTERNATIONAL",
2632
- withNationalPrefix: !($.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && r && r.nationalPrefix === !1),
2633
- carrierCode: d,
2634
- metadata: n
2635
- }) : e;
2636
- }
2637
- function k0(e, d) {
2638
- for (var t = D0(e), n; !(n = t()).done; ) {
2639
- var r = n.value;
2640
- if (r.leadingDigitsPatterns().length > 0) {
2641
- var $ = r.leadingDigitsPatterns()[r.leadingDigitsPatterns().length - 1];
2642
- if (d.search($) !== 0)
2643
- continue;
2644
- }
2645
- if (I(d, r.pattern()))
2646
- return r;
2647
- }
2648
- }
2649
- function te(e, d, t, n) {
2650
- return d ? n(e, d, t) : e;
2651
- }
2652
- function B0(e, d, t, n, r) {
2653
- var $ = fe(n, r.metadata);
2654
- if ($ === t) {
2655
- var u = K(e, d, "NATIONAL", r);
2656
- return t === "1" ? t + " " + u : u;
2657
- }
2658
- var o = x0(n, void 0, r.metadata);
2659
- if (o)
2660
- return "".concat(o, " ").concat(t, " ").concat(K(e, null, "INTERNATIONAL", r));
2661
- }
2662
- function Le(e, d) {
2663
- var t = Object.keys(e);
2664
- if (Object.getOwnPropertySymbols) {
2665
- var n = Object.getOwnPropertySymbols(e);
2666
- d && (n = n.filter(function(r) {
2667
- return Object.getOwnPropertyDescriptor(e, r).enumerable;
2668
- })), t.push.apply(t, n);
2669
- }
2670
- return t;
2671
- }
2672
- function ke(e) {
2673
- for (var d = 1; d < arguments.length; d++) {
2674
- var t = arguments[d] != null ? arguments[d] : {};
2675
- d % 2 ? Le(Object(t), !0).forEach(function(n) {
2676
- G0(e, n, t[n]);
2677
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Le(Object(t)).forEach(function(n) {
2678
- Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(t, n));
2679
- });
2680
- }
2681
- return e;
2682
- }
2683
- function G0(e, d, t) {
2684
- return d in e ? Object.defineProperty(e, d, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[d] = t, e;
2685
- }
2686
- function j0(e, d) {
2687
- if (!(e instanceof d))
2688
- throw new TypeError("Cannot call a class as a function");
2689
- }
2690
- function Be(e, d) {
2691
- for (var t = 0; t < d.length; t++) {
2692
- var n = d[t];
2693
- n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);
2694
- }
2695
- }
2696
- function U0(e, d, t) {
2697
- return d && Be(e.prototype, d), t && Be(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
2698
- }
2699
- var H0 = /* @__PURE__ */ function() {
2700
- function e(d, t, n) {
2701
- if (j0(this, e), !d)
2702
- throw new TypeError("`country` or `countryCallingCode` not passed");
2703
- if (!t)
2704
- throw new TypeError("`nationalNumber` not passed");
2705
- if (!n)
2706
- throw new TypeError("`metadata` not passed");
2707
- var r = K0(d, n), $ = r.country, u = r.countryCallingCode;
2708
- this.country = $, this.countryCallingCode = u, this.nationalNumber = t, this.number = "+" + this.countryCallingCode + this.nationalNumber, this.getMetadata = function() {
2709
- return n;
2710
- };
2711
- }
2712
- return U0(e, [{
2713
- key: "setExt",
2714
- value: function(t) {
2715
- this.ext = t;
2716
- }
2717
- }, {
2718
- key: "getPossibleCountries",
2719
- value: function() {
2720
- return this.country ? [this.country] : I0(this.countryCallingCode, this.nationalNumber, this.getMetadata());
2721
- }
2722
- }, {
2723
- key: "isPossible",
2724
- value: function() {
2725
- return C0(this, {
2726
- v2: !0
2727
- }, this.getMetadata());
2728
- }
2729
- }, {
2730
- key: "isValid",
2731
- value: function() {
2732
- return w0(this, {
2733
- v2: !0
2734
- }, this.getMetadata());
2735
- }
2736
- }, {
2737
- key: "isNonGeographic",
2738
- value: function() {
2739
- var t = new v(this.getMetadata());
2740
- return t.isNonGeographicCallingCode(this.countryCallingCode);
2741
- }
2742
- }, {
2743
- key: "isEqual",
2744
- value: function(t) {
2745
- return this.number === t.number && this.ext === t.ext;
2746
- }
2747
- // This function was originally meant to be an equivalent for `validatePhoneNumberLength()`,
2748
- // but later it was found out that it doesn't include the possible `TOO_SHORT` result
2749
- // returned from `parsePhoneNumberWithError()` in the original `validatePhoneNumberLength()`,
2750
- // so eventually I simply commented out this method from the `PhoneNumber` class
2751
- // and just left the `validatePhoneNumberLength()` function, even though that one would require
2752
- // and additional step to also validate the actual country / calling code of the phone number.
2753
- // validateLength() {
2754
- // const metadata = new Metadata(this.getMetadata())
2755
- // metadata.selectNumberingPlan(this.countryCallingCode)
2756
- // const result = checkNumberLength(this.nationalNumber, metadata)
2757
- // if (result !== 'IS_POSSIBLE') {
2758
- // return result
2759
- // }
2760
- // }
2761
- }, {
2762
- key: "getType",
2763
- value: function() {
2764
- return he(this, {
2765
- v2: !0
2766
- }, this.getMetadata());
2767
- }
2768
- }, {
2769
- key: "format",
2770
- value: function(t, n) {
2771
- return L0(this, t, n ? ke(ke({}, n), {}, {
2772
- v2: !0
2773
- }) : {
2774
- v2: !0
2775
- }, this.getMetadata());
2776
- }
2777
- }, {
2778
- key: "formatNational",
2779
- value: function(t) {
2780
- return this.format("NATIONAL", t);
2781
- }
2782
- }, {
2783
- key: "formatInternational",
2784
- value: function(t) {
2785
- return this.format("INTERNATIONAL", t);
2786
- }
2787
- }, {
2788
- key: "getURI",
2789
- value: function(t) {
2790
- return this.format("RFC3966", t);
2791
- }
2792
- }]), e;
2793
- }(), V0 = function(d) {
2794
- return /^[A-Z]{2}$/.test(d);
2795
- };
2796
- function K0(e, d) {
2797
- var t, n, r = new v(d);
2798
- return V0(e) ? (t = e, r.selectNumberingPlan(t), n = r.countryCallingCode()) : n = e, {
2799
- country: t,
2800
- countryCallingCode: n
2801
- };
2802
- }
2803
- var W0 = new RegExp("([" + O + "])");
2804
- function z0(e, d, t, n) {
2805
- if (d) {
2806
- var r = new v(n);
2807
- r.selectNumberingPlan(d, t);
2808
- var $ = new RegExp(r.IDDPrefix());
2809
- if (e.search($) === 0) {
2810
- e = e.slice(e.match($)[0].length);
2811
- var u = e.match(W0);
2812
- if (!(u && u[1] != null && u[1].length > 0 && u[1] === "0"))
2813
- return e;
2814
- }
2815
- }
2816
- }
2817
- function X0(e, d) {
2818
- if (e && d.numberingPlan.nationalPrefixForParsing()) {
2819
- var t = new RegExp("^(?:" + d.numberingPlan.nationalPrefixForParsing() + ")"), n = t.exec(e);
2820
- if (n) {
2821
- var r, $, u = n.length - 1, o = u > 0 && n[u];
2822
- if (d.nationalPrefixTransformRule() && o)
2823
- r = e.replace(t, d.nationalPrefixTransformRule()), u > 1 && ($ = n[1]);
2824
- else {
2825
- var s = n[0];
2826
- r = e.slice(s.length), o && ($ = n[1]);
2827
- }
2828
- var i;
2829
- if (o) {
2830
- var p = e.indexOf(n[1]), b = e.slice(0, p);
2831
- b === d.numberingPlan.nationalPrefix() && (i = d.numberingPlan.nationalPrefix());
2832
- } else
2833
- i = n[0];
2834
- return {
2835
- nationalNumber: r,
2836
- nationalPrefix: i,
2837
- carrierCode: $
2838
- };
2839
- }
2840
- }
2841
- return {
2842
- nationalNumber: e
2843
- };
2844
- }
2845
- function oe(e, d) {
2846
- var t = X0(e, d), n = t.carrierCode, r = t.nationalNumber;
2847
- if (r !== e) {
2848
- if (!Z0(e, r, d))
2849
- return {
2850
- nationalNumber: e
2851
- };
2852
- if (d.possibleLengths() && !Y0(r, d))
2853
- return {
2854
- nationalNumber: e
2855
- };
2856
- }
2857
- return {
2858
- nationalNumber: r,
2859
- carrierCode: n
2860
- };
2861
- }
2862
- function Z0(e, d, t) {
2863
- return !(I(e, t.nationalNumberPattern()) && !I(d, t.nationalNumberPattern()));
2864
- }
2865
- function Y0(e, d) {
2866
- switch (pe(e, d)) {
2867
- case "TOO_SHORT":
2868
- case "INVALID_LENGTH":
2869
- return !1;
2870
- default:
2871
- return !0;
2872
- }
2873
- }
2874
- function q0(e, d, t, n) {
2875
- var r = d ? fe(d, n) : t;
2876
- if (e.indexOf(r) === 0) {
2877
- n = new v(n), n.selectNumberingPlan(d, t);
2878
- var $ = e.slice(r.length), u = oe($, n), o = u.nationalNumber, s = oe(e, n), i = s.nationalNumber;
2879
- if (!I(i, n.nationalNumberPattern()) && I(o, n.nationalNumberPattern()) || pe(i, n) === "TOO_LONG")
2880
- return {
2881
- countryCallingCode: r,
2882
- number: $
2883
- };
2884
- }
2885
- return {
2886
- number: e
2887
- };
2888
- }
2889
- function J0(e, d, t, n) {
2890
- if (!e)
2891
- return {};
2892
- var r;
2893
- if (e[0] !== "+") {
2894
- var $ = z0(e, d, t, n);
2895
- if ($ && $ !== e)
2896
- r = !0, e = "+" + $;
2897
- else {
2898
- if (d || t) {
2899
- var u = q0(e, d, t, n), o = u.countryCallingCode, s = u.number;
2900
- if (o)
2901
- return {
2902
- countryCallingCodeSource: "FROM_NUMBER_WITHOUT_PLUS_SIGN",
2903
- countryCallingCode: o,
2904
- number: s
2905
- };
2906
- }
2907
- return {
2908
- // No need to set it to `UNSPECIFIED`. It can be just `undefined`.
2909
- // countryCallingCodeSource: 'UNSPECIFIED',
2910
- number: e
2911
- };
2912
- }
2913
- }
2914
- if (e[1] === "0")
2915
- return {};
2916
- n = new v(n);
2917
- for (var i = 2; i - 1 <= jd && i <= e.length; ) {
2918
- var p = e.slice(1, i);
2919
- if (n.hasCallingCode(p))
2920
- return n.selectNumberingPlan(p), {
2921
- countryCallingCodeSource: r ? "FROM_NUMBER_WITH_IDD" : "FROM_NUMBER_WITH_PLUS_SIGN",
2922
- countryCallingCode: p,
2923
- number: e.slice(i)
2924
- };
2925
- i++;
2926
- }
2927
- return {};
2928
- }
2929
- function Q0(e, d) {
2930
- var t = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
2931
- if (t)
2932
- return (t = t.call(e)).next.bind(t);
2933
- if (Array.isArray(e) || (t = et(e)) || d && e && typeof e.length == "number") {
2934
- t && (e = t);
2935
- var n = 0;
2936
- return function() {
2937
- return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
2938
- };
2939
- }
2940
- throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2941
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2942
- }
2943
- function et(e, d) {
2944
- if (e) {
2945
- if (typeof e == "string")
2946
- return Ge(e, d);
2947
- var t = Object.prototype.toString.call(e).slice(8, -1);
2948
- if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set")
2949
- return Array.from(e);
2950
- if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))
2951
- return Ge(e, d);
2952
- }
2953
- }
2954
- function Ge(e, d) {
2955
- (d == null || d > e.length) && (d = e.length);
2956
- for (var t = 0, n = new Array(d); t < d; t++)
2957
- n[t] = e[t];
2958
- return n;
2959
- }
2960
- function dt(e, d) {
2961
- var t = d.countries, n = d.defaultCountry, r = d.metadata;
2962
- r = new v(r);
2963
- for (var $ = [], u = Q0(t), o; !(o = u()).done; ) {
2964
- var s = o.value;
2965
- if (r.country(s), r.leadingDigits()) {
2966
- if (e && e.search(r.leadingDigits()) === 0)
2967
- return s;
2968
- } else if (he({
2969
- phone: e,
2970
- country: s
2971
- }, void 0, r.metadata))
2972
- if (n) {
2973
- if (s === n)
2974
- return s;
2975
- $.push(s);
2976
- } else
2977
- return s;
2978
- }
2979
- if ($.length > 0)
2980
- return $[0];
2981
- }
2982
- var tt = !1;
2983
- function nt(e, d) {
2984
- var t = d.nationalNumber, n = d.defaultCountry, r = d.metadata;
2985
- if (tt && r.isNonGeographicCallingCode(e))
2986
- return "001";
2987
- var $ = r.getCountryCodesForCallingCode(e);
2988
- if ($)
2989
- return $.length === 1 ? $[0] : dt(t, {
2990
- countries: $,
2991
- defaultCountry: n,
2992
- metadata: r.metadata
2993
- });
2994
- }
2995
- var td = "+", rt = "[\\-\\.\\(\\)]?", je = "([" + O + "]|" + rt + ")", it = "^\\" + td + je + "*[" + O + "]" + je + "*$", at = new RegExp(it, "g"), ue = O, $t = "[" + ue + "]+((\\-)*[" + ue + "])*", ot = "a-zA-Z", ut = "[" + ot + "]+((\\-)*[" + ue + "])*", lt = "^(" + $t + "\\.)*" + ut + "\\.?$", st = new RegExp(lt, "g"), Ue = "tel:", le = ";phone-context=", ct = ";isub=";
2996
- function ft(e) {
2997
- var d = e.indexOf(le);
2998
- if (d < 0)
2999
- return null;
3000
- var t = d + le.length;
3001
- if (t >= e.length)
3002
- return "";
3003
- var n = e.indexOf(";", t);
3004
- return n >= 0 ? e.substring(t, n) : e.substring(t);
3005
- }
3006
- function pt(e) {
3007
- return e === null ? !0 : e.length === 0 ? !1 : at.test(e) || st.test(e);
3008
- }
3009
- function ht(e, d) {
3010
- var t = d.extractFormattedPhoneNumber, n = ft(e);
3011
- if (!pt(n))
3012
- throw new w("NOT_A_NUMBER");
3013
- var r;
3014
- if (n === null)
3015
- r = t(e) || "";
3016
- else {
3017
- r = "", n.charAt(0) === td && (r += n);
3018
- var $ = e.indexOf(Ue), u;
3019
- $ >= 0 ? u = $ + Ue.length : u = 0;
3020
- var o = e.indexOf(le);
3021
- r += e.substring(u, o);
3022
- }
3023
- var s = r.indexOf(ct);
3024
- if (s > 0 && (r = r.substring(0, s)), r !== "")
3025
- return r;
3026
- }
3027
- var yt = 250, gt = new RegExp("[" + ce + O + "]"), mt = new RegExp("[^" + O + "#]+$");
3028
- function vt(e, d, t) {
3029
- if (d = d || {}, t = new v(t), d.defaultCountry && !t.hasCountry(d.defaultCountry))
3030
- throw d.v2 ? new w("INVALID_COUNTRY") : new Error("Unknown country: ".concat(d.defaultCountry));
3031
- var n = Ct(e, d.v2, d.extract), r = n.number, $ = n.ext, u = n.error;
3032
- if (!r) {
3033
- if (d.v2)
3034
- throw u === "TOO_SHORT" ? new w("TOO_SHORT") : new w("NOT_A_NUMBER");
3035
- return {};
3036
- }
3037
- var o = Pt(r, d.defaultCountry, d.defaultCallingCode, t), s = o.country, i = o.nationalNumber, p = o.countryCallingCode, b = o.countryCallingCodeSource, C = o.carrierCode;
3038
- if (!t.hasSelectedNumberingPlan()) {
3039
- if (d.v2)
3040
- throw new w("INVALID_COUNTRY");
3041
- return {};
3042
- }
3043
- if (!i || i.length < se) {
3044
- if (d.v2)
3045
- throw new w("TOO_SHORT");
3046
- return {};
3047
- }
3048
- if (i.length > Gd) {
3049
- if (d.v2)
3050
- throw new w("TOO_LONG");
3051
- return {};
3052
- }
3053
- if (d.v2) {
3054
- var h = new H0(p, i, t.metadata);
3055
- return s && (h.country = s), C && (h.carrierCode = C), $ && (h.ext = $), h.__countryCallingCodeSource = b, h;
3056
- }
3057
- var y = (d.extended ? t.hasSelectedNumberingPlan() : s) ? I(i, t.nationalNumberPattern()) : !1;
3058
- return d.extended ? {
3059
- country: s,
3060
- countryCallingCode: p,
3061
- carrierCode: C,
3062
- valid: y,
3063
- possible: y ? !0 : !!(d.extended === !0 && t.possibleLengths() && dd(i, t)),
3064
- phone: i,
3065
- ext: $
3066
- } : y ? Ot(s, i, $) : {};
3067
- }
3068
- function bt(e, d, t) {
3069
- if (e) {
3070
- if (e.length > yt) {
3071
- if (t)
3072
- throw new w("TOO_LONG");
3073
- return;
3074
- }
3075
- if (d === !1)
3076
- return e;
3077
- var n = e.search(gt);
3078
- if (!(n < 0))
3079
- return e.slice(n).replace(mt, "");
3080
- }
3081
- }
3082
- function Ct(e, d, t) {
3083
- var n = ht(e, {
3084
- extractFormattedPhoneNumber: function(u) {
3085
- return bt(u, t, d);
3086
- }
3087
- });
3088
- if (!n)
3089
- return {};
3090
- if (!l0(n))
3091
- return s0(n) ? {
3092
- error: "TOO_SHORT"
3093
- } : {};
3094
- var r = c0(n);
3095
- return r.ext ? r : {
3096
- number: n
3097
- };
3098
- }
3099
- function Ot(e, d, t) {
3100
- var n = {
3101
- country: e,
3102
- phone: d
3103
- };
3104
- return t && (n.ext = t), n;
3105
- }
3106
- function Pt(e, d, t, n) {
3107
- var r = J0(Fe(e), d, t, n.metadata), $ = r.countryCallingCodeSource, u = r.countryCallingCode, o = r.number, s;
3108
- if (u)
3109
- n.selectNumberingPlan(u);
3110
- else if (o && (d || t))
3111
- n.selectNumberingPlan(d, t), d && (s = d), u = t || fe(d, n.metadata);
3112
- else
3113
- return {};
3114
- if (!o)
3115
- return {
3116
- countryCallingCodeSource: $,
3117
- countryCallingCode: u
3118
- };
3119
- var i = oe(Fe(o), n), p = i.nationalNumber, b = i.carrierCode, C = nt(u, {
3120
- nationalNumber: p,
3121
- defaultCountry: d,
3122
- metadata: n
3123
- });
3124
- return C && (s = C, C === "001" || n.country(s)), {
3125
- country: s,
3126
- countryCallingCode: u,
3127
- countryCallingCodeSource: $,
3128
- nationalNumber: p,
3129
- carrierCode: b
3130
- };
3131
- }
3132
- function He(e, d) {
3133
- var t = Object.keys(e);
3134
- if (Object.getOwnPropertySymbols) {
3135
- var n = Object.getOwnPropertySymbols(e);
3136
- d && (n = n.filter(function(r) {
3137
- return Object.getOwnPropertyDescriptor(e, r).enumerable;
3138
- })), t.push.apply(t, n);
3139
- }
3140
- return t;
3141
- }
3142
- function Ve(e) {
3143
- for (var d = 1; d < arguments.length; d++) {
3144
- var t = arguments[d] != null ? arguments[d] : {};
3145
- d % 2 ? He(Object(t), !0).forEach(function(n) {
3146
- Nt(e, n, t[n]);
3147
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : He(Object(t)).forEach(function(n) {
3148
- Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(t, n));
3149
- });
3150
- }
3151
- return e;
3152
- }
3153
- function Nt(e, d, t) {
3154
- return d in e ? Object.defineProperty(e, d, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[d] = t, e;
3155
- }
3156
- function wt(e, d, t) {
3157
- return vt(e, Ve(Ve({}, d), {}, {
3158
- v2: !0
3159
- }), t);
3160
- }
3161
- function Ke(e, d) {
3162
- var t = Object.keys(e);
3163
- if (Object.getOwnPropertySymbols) {
3164
- var n = Object.getOwnPropertySymbols(e);
3165
- d && (n = n.filter(function(r) {
3166
- return Object.getOwnPropertyDescriptor(e, r).enumerable;
3167
- })), t.push.apply(t, n);
3168
- }
3169
- return t;
3170
- }
3171
- function It(e) {
3172
- for (var d = 1; d < arguments.length; d++) {
3173
- var t = arguments[d] != null ? arguments[d] : {};
3174
- d % 2 ? Ke(Object(t), !0).forEach(function(n) {
3175
- Et(e, n, t[n]);
3176
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Ke(Object(t)).forEach(function(n) {
3177
- Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(t, n));
3178
- });
3179
- }
3180
- return e;
3181
- }
3182
- function Et(e, d, t) {
3183
- return d in e ? Object.defineProperty(e, d, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[d] = t, e;
3184
- }
3185
- function St(e, d) {
3186
- return xt(e) || Tt(e, d) || Ft(e, d) || _t();
3187
- }
3188
- function _t() {
3189
- throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3190
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
3191
- }
3192
- function Ft(e, d) {
3193
- if (e) {
3194
- if (typeof e == "string")
3195
- return We(e, d);
3196
- var t = Object.prototype.toString.call(e).slice(8, -1);
3197
- if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set")
3198
- return Array.from(e);
3199
- if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))
3200
- return We(e, d);
3201
- }
3202
- }
3203
- function We(e, d) {
3204
- (d == null || d > e.length) && (d = e.length);
3205
- for (var t = 0, n = new Array(d); t < d; t++)
3206
- n[t] = e[t];
3207
- return n;
3208
- }
3209
- function Tt(e, d) {
3210
- var t = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
3211
- if (t != null) {
3212
- var n = [], r = !0, $ = !1, u, o;
3213
- try {
3214
- for (t = t.call(e); !(r = (u = t.next()).done) && (n.push(u.value), !(d && n.length === d)); r = !0)
3215
- ;
3216
- } catch (s) {
3217
- $ = !0, o = s;
3218
- } finally {
3219
- try {
3220
- !r && t.return != null && t.return();
3221
- } finally {
3222
- if ($)
3223
- throw o;
3224
- }
3225
- }
3226
- return n;
3227
- }
3228
- }
3229
- function xt(e) {
3230
- if (Array.isArray(e))
3231
- return e;
3232
- }
3233
- function At(e) {
3234
- var d = Array.prototype.slice.call(e), t = St(d, 4), n = t[0], r = t[1], $ = t[2], u = t[3], o, s, i;
3235
- if (typeof n == "string")
3236
- o = n;
3237
- else
3238
- throw new TypeError("A text for parsing must be a string.");
3239
- if (!r || typeof r == "string")
3240
- u ? (s = $, i = u) : (s = void 0, i = $), r && (s = It({
3241
- defaultCountry: r
3242
- }, s));
3243
- else if (H(r))
3244
- $ ? (s = r, i = $) : i = r;
3245
- else
3246
- throw new Error("Invalid second argument: ".concat(r));
3247
- return {
3248
- text: o,
3249
- options: s,
3250
- metadata: i
3251
- };
3252
- }
3253
- function ze(e, d) {
3254
- var t = Object.keys(e);
3255
- if (Object.getOwnPropertySymbols) {
3256
- var n = Object.getOwnPropertySymbols(e);
3257
- d && (n = n.filter(function(r) {
3258
- return Object.getOwnPropertyDescriptor(e, r).enumerable;
3259
- })), t.push.apply(t, n);
3260
- }
3261
- return t;
3262
- }
3263
- function Xe(e) {
3264
- for (var d = 1; d < arguments.length; d++) {
3265
- var t = arguments[d] != null ? arguments[d] : {};
3266
- d % 2 ? ze(Object(t), !0).forEach(function(n) {
3267
- Dt(e, n, t[n]);
3268
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ze(Object(t)).forEach(function(n) {
3269
- Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(t, n));
3270
- });
3271
- }
3272
- return e;
3273
- }
3274
- function Dt(e, d, t) {
3275
- return d in e ? Object.defineProperty(e, d, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[d] = t, e;
3276
- }
3277
- function Rt(e, d, t) {
3278
- d && d.defaultCountry && !n0(d.defaultCountry, t) && (d = Xe(Xe({}, d), {}, {
3279
- defaultCountry: void 0
3280
- }));
3281
- try {
3282
- return wt(e, d, t);
3283
- } catch (n) {
3284
- if (!(n instanceof w))
3285
- throw n;
3286
- }
3287
- }
3288
- function Mt() {
3289
- var e = At(arguments), d = e.text, t = e.options, n = e.metadata;
3290
- return Rt(d, t, n);
3291
- }
3292
- function ne() {
3293
- return Ad(Mt, arguments);
3294
- }
3295
- const Lt = {
3296
- beforeMount(e, d, t) {
3297
- if (typeof d.value != "function") {
3298
- const n = t.context.name;
3299
- let r = `[Vue-click-outside:] provided expression ${d.expression} is not a function, but has to be`;
3300
- n && (r += `Found in component ${n}`), console.warn(r);
3301
- }
3302
- e.clickOutsideEvent = function(n) {
3303
- const r = n.composedPath ? n.composedPath() : n.path;
3304
- e === n.target || e.contains(n.target) || r.includes(e) || d.value(n, e);
3305
- }, document.body.addEventListener("click", e.clickOutsideEvent);
1594
+ function p(o) {
1595
+ const r = V.options[o];
1596
+ return typeof r > "u" ? V.options[o] : r;
1597
+ }
1598
+ function I(o) {
1599
+ return o == null ? void 0 : o.toLowerCase();
1600
+ }
1601
+ function B(o) {
1602
+ return o == null ? void 0 : o.toUpperCase();
1603
+ }
1604
+ const De = {
1605
+ beforeMount(o, r, u) {
1606
+ if (typeof r.value != "function") {
1607
+ const d = u.context.name;
1608
+ let s = `[Vue-click-outside:] provided expression ${r.expression} is not a function, but has to be`;
1609
+ d && (s += `Found in component ${d}`), console.warn(s);
1610
+ }
1611
+ o.clickOutsideEvent = function(d) {
1612
+ const s = d.composedPath ? d.composedPath() : d.path;
1613
+ o === d.target || o.contains(d.target) || s.includes(o) || r.value(d, o);
1614
+ }, document.body.addEventListener("click", o.clickOutsideEvent);
3306
1615
  },
3307
- unmounted(e) {
3308
- document.body.removeEventListener("click", e.clickOutsideEvent);
1616
+ unmounted(o) {
1617
+ document.body.removeEventListener("click", o.clickOutsideEvent);
3309
1618
  }
3310
- }, kt = ["aria-expanded", "tabindex"], Bt = { class: "vti__selection" }, Gt = {
1619
+ }, Ie = ["aria-expanded", "tabindex"], Be = { class: "vti__selection" }, Me = {
3311
1620
  key: 1,
3312
1621
  class: "vti__country-code"
3313
- }, jt = { class: "vti__dropdown-arrow" }, Ut = {
1622
+ }, Te = { class: "vti__dropdown-arrow" }, Ne = {
3314
1623
  key: 0,
3315
1624
  class: "vti__search_box_container"
3316
- }, Ht = ["placeholder"], Vt = ["onClick", "onMousemove", "aria-selected"], Kt = { key: 1 }, Wt = ["type", "autocomplete", "autofocus", "disabled", "id", "maxlength", "name", "placeholder", "readonly", "required", "tabindex", "value", "aria-describedby"], zt = /* @__PURE__ */ gd({
1625
+ }, Pe = ["placeholder"], Ee = ["onClick", "onMousemove", "aria-selected"], Ae = { key: 1 }, Re = ["type", "autocomplete", "autofocus", "disabled", "id", "maxlength", "name", "placeholder", "readonly", "required", "tabindex", "value", "aria-describedby"], ze = /* @__PURE__ */ ce({
3317
1626
  name: "VueTelInput",
3318
1627
  directives: {
3319
- clickOutside: Lt
1628
+ clickOutside: De
3320
1629
  },
3321
1630
  __name: "vue-tel-input",
3322
- props: /* @__PURE__ */ ve({
1631
+ props: /* @__PURE__ */ K({
3323
1632
  allCountries: {
3324
1633
  type: Array,
3325
- default: () => m("allCountries")
1634
+ default: () => p("allCountries")
3326
1635
  },
3327
1636
  autoFormat: {
3328
1637
  type: Boolean,
3329
- default: () => m("autoFormat")
1638
+ default: () => p("autoFormat")
3330
1639
  },
3331
1640
  customValidate: {
3332
1641
  type: [Boolean, RegExp],
3333
- default: () => m("customValidate")
1642
+ default: () => p("customValidate")
3334
1643
  },
3335
1644
  defaultCountry: {
3336
1645
  // Default country code, ie: 'AU'
3337
1646
  // Will override the current country of user
3338
1647
  type: [String, Number],
3339
- default: () => m("defaultCountry")
1648
+ default: () => p("defaultCountry")
3340
1649
  },
3341
1650
  disabled: {
3342
1651
  type: Boolean,
3343
- default: () => m("disabled")
1652
+ default: () => p("disabled")
3344
1653
  },
3345
1654
  autoDefaultCountry: {
3346
1655
  type: Boolean,
3347
- default: () => m("autoDefaultCountry")
1656
+ default: () => p("autoDefaultCountry")
3348
1657
  },
3349
1658
  dropdownOptions: {
3350
1659
  type: Object,
3351
- default: () => m("dropdownOptions")
1660
+ default: () => p("dropdownOptions")
3352
1661
  },
3353
1662
  ignoredCountries: {
3354
1663
  type: Array,
3355
- default: () => m("ignoredCountries")
1664
+ default: () => p("ignoredCountries")
3356
1665
  },
3357
1666
  inputOptions: {
3358
1667
  type: Object,
3359
- default: () => m("inputOptions")
1668
+ default: () => p("inputOptions")
3360
1669
  },
3361
1670
  invalidMsg: {
3362
1671
  type: String,
3363
- default: () => m("invalidMsg")
1672
+ default: () => p("invalidMsg")
3364
1673
  },
3365
1674
  mode: {
3366
1675
  type: String,
3367
- default: () => m("mode")
1676
+ default: () => p("mode")
3368
1677
  },
3369
1678
  onlyCountries: {
3370
1679
  type: Array,
3371
- default: () => m("onlyCountries")
1680
+ default: () => p("onlyCountries")
3372
1681
  },
3373
1682
  preferredCountries: {
3374
1683
  type: Array,
3375
- default: () => m("preferredCountries")
1684
+ default: () => p("preferredCountries")
3376
1685
  },
3377
1686
  validCharactersOnly: {
3378
1687
  type: Boolean,
3379
- default: () => m("validCharactersOnly")
1688
+ default: () => p("validCharactersOnly")
3380
1689
  },
3381
1690
  styleClasses: {
3382
1691
  type: [String, Array, Object],
3383
- default: () => m("styleClasses")
1692
+ default: () => p("styleClasses")
3384
1693
  }
3385
1694
  }, {
3386
1695
  modelValue: { type: String },
3387
1696
  modelModifiers: {}
3388
1697
  }),
3389
- emits: /* @__PURE__ */ ve([
1698
+ emits: /* @__PURE__ */ K([
3390
1699
  "blur",
3391
1700
  "close",
3392
1701
  "country-changed",
@@ -3397,14 +1706,14 @@ const Lt = {
3397
1706
  "space",
3398
1707
  "validate"
3399
1708
  ], ["update:modelValue"]),
3400
- setup(e, { expose: d, emit: t }) {
3401
- const n = J(), r = J(), $ = J(), u = t, o = e, s = md(e, "modelValue");
3402
- _(s, (a, l) => {
3403
- ad() ? i.phone = a ?? "" : be(() => {
3404
- i.phone = l ?? "", ye();
1709
+ setup(o, { expose: r, emit: u }) {
1710
+ const d = R(), s = R(), g = R(), f = u, a = o, O = pe(o, "modelValue");
1711
+ w(O, (e, t) => {
1712
+ ee() ? n.phone = e ?? "" : H(() => {
1713
+ n.phone = t ?? "", L();
3405
1714
  });
3406
1715
  });
3407
- const i = vd({
1716
+ const n = fe({
3408
1717
  phone: "",
3409
1718
  activeCountryCode: void 0,
3410
1719
  open: !1,
@@ -3413,349 +1722,349 @@ const Lt = {
3413
1722
  typeToFindInput: "",
3414
1723
  typeToFindTimer: void 0,
3415
1724
  dropdownOpenDirection: "below",
3416
- parsedPlaceholder: o.inputOptions.placeholder,
1725
+ parsedPlaceholder: a.inputOptions.placeholder,
3417
1726
  searchQuery: ""
3418
1727
  });
3419
- _(() => i.open, (a) => {
3420
- a ? (yd(), u("open")) : u("close");
1728
+ w(() => n.open, (e) => {
1729
+ e ? (ue(), f("open")) : f("close");
3421
1730
  });
3422
- const p = A(() => o.onlyCountries.length ? o.allCountries.filter(({ iso2: a }) => o.onlyCountries.some((l) => L(l) === a)) : o.ignoredCountries.length ? o.allCountries.filter(
3423
- ({ iso2: a }) => !o.ignoredCountries.includes(L(a)) && !o.ignoredCountries.includes(M(a))
3424
- ) : o.allCountries), b = A(() => F(i.activeCountryCode));
3425
- _(b, (a, l) => {
3426
- if (!a && (l != null && l.iso2)) {
3427
- i.activeCountryCode = l.iso2;
1731
+ const M = k(() => a.onlyCountries.length ? a.allCountries.filter(({ iso2: e }) => a.onlyCountries.some((t) => B(t) === e)) : a.ignoredCountries.length ? a.allCountries.filter(
1732
+ ({ iso2: e }) => !a.ignoredCountries.includes(B(e)) && !a.ignoredCountries.includes(I(e))
1733
+ ) : a.allCountries), E = k(() => T(n.activeCountryCode));
1734
+ w(E, (e, t) => {
1735
+ if (!e && (t != null && t.iso2)) {
1736
+ n.activeCountryCode = t.iso2;
3428
1737
  return;
3429
1738
  }
3430
- a != null && a.iso2 && u("country-changed", a);
1739
+ e != null && e.iso2 && f("country-changed", e);
3431
1740
  });
3432
- const C = A(() => {
3433
- var l;
3434
- const a = M(o.mode);
3435
- return a === "auto" ? (l = i.phone) != null && l.startsWith("+") ? "international" : "national" : ["national", "international", "e.164", "rfc3966", "idd"].includes(a) ? a : (console.error('Invalid value of prop "mode"'), "international");
3436
- }), h = A(() => {
3437
- const l = [...Y(o.preferredCountries).map((g) => ({ ...g, preferred: !0 })), ...p.value];
3438
- if (!o.dropdownOptions.showSearchBox)
3439
- return l;
3440
- const c = i.searchQuery.toLowerCase().replace(/[~`!@#$%^&*()+={}\[\];:\'\"<>.,\/\\\?-_]/g, "");
3441
- return l.filter(
3442
- (g) => new RegExp(c, "i").test(g.name) || new RegExp(c, "i").test(g.iso2) || new RegExp(c, "i").test(g.dialCode)
1741
+ const Q = k(() => {
1742
+ var t;
1743
+ const e = I(a.mode);
1744
+ return e === "auto" ? (t = n.phone) != null && t.startsWith("+") ? "international" : "national" : ["national", "international", "e.164", "rfc3966", "idd"].includes(e) ? e : (console.error('Invalid value of prop "mode"'), "international");
1745
+ }), b = k(() => {
1746
+ const t = [..._(a.preferredCountries).map((c) => ({ ...c, preferred: !0 })), ...M.value];
1747
+ if (!a.dropdownOptions.showSearchBox)
1748
+ return t;
1749
+ const i = n.searchQuery.toLowerCase().replace(/[~`!@#$%^&*()+={}\[\];:\'\"<>.,\/\\\?-_]/g, "");
1750
+ return t.filter(
1751
+ (c) => new RegExp(i, "i").test(c.name) || new RegExp(i, "i").test(c.iso2) || new RegExp(i, "i").test(c.dialCode)
3443
1752
  );
3444
- }), y = A(() => {
3445
- var f;
3446
- const a = i.phone.startsWith("+") ? ne(i.phone) : ne(i.phone, i.activeCountryCode), l = {
3447
- country: a == null ? void 0 : a.country,
3448
- countryCode: a == null ? void 0 : a.country,
3449
- formatted: i.phone,
3450
- valid: a == null ? void 0 : a.isValid(),
3451
- possible: (f = a == null ? void 0 : a.isPossible) == null ? void 0 : f.call(a),
3452
- nationalNumber: a == null ? void 0 : a.nationalNumber
1753
+ }), y = k(() => {
1754
+ var l;
1755
+ const e = n.phone.startsWith("+") ? j(n.phone) : j(n.phone, n.activeCountryCode), t = {
1756
+ country: e == null ? void 0 : e.country,
1757
+ countryCode: e == null ? void 0 : e.country,
1758
+ formatted: n.phone,
1759
+ valid: e == null ? void 0 : e.isValid(),
1760
+ possible: (l = e == null ? void 0 : e.isPossible) == null ? void 0 : l.call(e),
1761
+ nationalNumber: e == null ? void 0 : e.nationalNumber
3453
1762
  };
3454
- return l.valid && (l.formatted = a == null ? void 0 : a.format(L(C.value))), a != null && a.country && (o.ignoredCountries.length || o.onlyCountries.length) && !F(a.country) && (l.valid = !1, l.possible = !1, a.country = null), a ? {
3455
- ...l,
3456
- ...a
3457
- } : l;
1763
+ return t.valid && (t.formatted = e == null ? void 0 : e.format(B(Q.value))), e != null && e.country && (a.ignoredCountries.length || a.onlyCountries.length) && !T(e.country) && (t.valid = !1, t.possible = !1, e.country = null), e ? {
1764
+ ...t,
1765
+ ...e
1766
+ } : t;
3458
1767
  });
3459
- _(() => y.value.countryCode, (a) => {
3460
- a && (i.activeCountryCode = a);
3461
- }), _(() => y.value.valid, () => {
3462
- u("validate", y.value);
3463
- }), _(() => y.value.formatted, (a) => {
3464
- !o.autoFormat || o.customValidate || (G(a), be(() => {
3465
- a && !s.value && (i.phone = a);
1768
+ w(() => y.value.countryCode, (e) => {
1769
+ e && (n.activeCountryCode = e);
1770
+ }), w(() => y.value.valid, () => {
1771
+ f("validate", y.value);
1772
+ }), w(() => y.value.formatted, (e) => {
1773
+ !a.autoFormat || a.customValidate || (N(e), H(() => {
1774
+ e && !O.value && (n.phone = e);
3466
1775
  }));
3467
- }), _(() => o.inputOptions.placeholder, X), bd(() => {
3468
- s.value && (i.phone = s.value.trim()), id(), Z().then(() => {
3469
- var a;
3470
- !i.phone && ((a = o.inputOptions) != null && a.showDialCode) && i.activeCountryCode && (i.phone = `+${i.activeCountryCode}`), u("validate", y.value);
1776
+ }), w(() => a.inputOptions.placeholder, W), me(() => {
1777
+ O.value && (n.phone = O.value.trim()), X(), J().then(() => {
1778
+ var e;
1779
+ !n.phone && ((e = a.inputOptions) != null && e.showDialCode) && n.activeCountryCode && (n.phone = `+${n.activeCountryCode}`), f("validate", y.value);
3471
1780
  }).catch(console.error).then(() => {
3472
- i.finishMounted = !0;
1781
+ n.finishMounted = !0;
3473
1782
  });
3474
1783
  });
3475
- function X() {
3476
- i.parsedPlaceholder = o.inputOptions.placeholder;
3477
- }
3478
- function Z() {
3479
- return new Promise((a) => {
3480
- var f;
3481
- if (((f = i.phone) == null ? void 0 : f[0]) === "+") {
3482
- a();
1784
+ function W() {
1785
+ n.parsedPlaceholder = a.inputOptions.placeholder;
1786
+ }
1787
+ function J() {
1788
+ return new Promise((e) => {
1789
+ var l;
1790
+ if (((l = n.phone) == null ? void 0 : l[0]) === "+") {
1791
+ e();
3483
1792
  return;
3484
1793
  }
3485
- if (o.defaultCountry) {
3486
- if (typeof o.defaultCountry == "string") {
3487
- S(o.defaultCountry), a();
1794
+ if (a.defaultCountry) {
1795
+ if (typeof a.defaultCountry == "string") {
1796
+ v(a.defaultCountry), e();
3488
1797
  return;
3489
1798
  }
3490
- if (typeof o.defaultCountry == "number") {
3491
- const c = nd(o.defaultCountry);
3492
- if (c) {
3493
- S(c.iso2), a();
1799
+ if (typeof a.defaultCountry == "number") {
1800
+ const i = Z(a.defaultCountry);
1801
+ if (i) {
1802
+ v(i.iso2), e();
3494
1803
  return;
3495
1804
  }
3496
1805
  }
3497
1806
  }
3498
- const l = o.preferredCountries[0] || p.value[0];
3499
- o.autoDefaultCountry ? _d().then((c) => {
3500
- S(c || i.activeCountryCode);
3501
- }).catch((c) => {
3502
- console.warn(c), S(l);
1807
+ const t = a.preferredCountries[0] || M.value[0];
1808
+ a.autoDefaultCountry ? Se().then((i) => {
1809
+ v(i || n.activeCountryCode);
1810
+ }).catch((i) => {
1811
+ console.warn(i), v(t);
3503
1812
  }).then(() => {
3504
- a();
3505
- }) : (S(l), a());
1813
+ e();
1814
+ }) : (v(t), e());
3506
1815
  });
3507
1816
  }
3508
- function Y(a = []) {
3509
- return a.map(F).filter(Boolean);
1817
+ function _(e = []) {
1818
+ return e.map(T).filter(Boolean);
3510
1819
  }
3511
- function F(a = "") {
3512
- return p.value.find((l) => l.iso2 === L(a));
1820
+ function T(e = "") {
1821
+ return M.value.find((t) => t.iso2 === B(e));
3513
1822
  }
3514
- function nd(a) {
3515
- return p.value.find((l) => Number(l.dialCode) === a);
1823
+ function Z(e) {
1824
+ return M.value.find((t) => Number(t.dialCode) === e);
3516
1825
  }
3517
- function rd(a, l) {
3518
- const f = i.selectedIndex === a, c = a === o.preferredCountries.length - 1, g = o.preferredCountries.some((q) => L(q) === l);
1826
+ function Y(e, t) {
1827
+ const l = n.selectedIndex === e, i = e === a.preferredCountries.length - 1, c = a.preferredCountries.some((A) => B(A) === t);
3519
1828
  return {
3520
- highlighted: f,
3521
- "last-preferred": c,
3522
- preferred: g
1829
+ highlighted: l,
1830
+ "last-preferred": i,
1831
+ preferred: c
3523
1832
  };
3524
1833
  }
3525
- function S(a) {
3526
- var f, c, g;
3527
- let l = a;
3528
- if (typeof l == "string" && (l = F(l)), !!l) {
3529
- if (((f = i.phone) == null ? void 0 : f[0]) === "+" && l.iso2 && y.value.nationalNumber) {
3530
- i.activeCountryCode = l.iso2, i.phone = ((c = ne(
1834
+ function v(e) {
1835
+ var l, i, c;
1836
+ let t = e;
1837
+ if (typeof t == "string" && (t = T(t)), !!t) {
1838
+ if (((l = n.phone) == null ? void 0 : l[0]) === "+" && t.iso2 && y.value.nationalNumber) {
1839
+ n.activeCountryCode = t.iso2, n.phone = ((i = j(
3531
1840
  y.value.nationalNumber,
3532
- l.iso2
3533
- )) == null ? void 0 : c.formatInternational()) ?? "";
1841
+ t.iso2
1842
+ )) == null ? void 0 : i.formatInternational()) ?? "";
3534
1843
  return;
3535
1844
  }
3536
- if ((g = o.inputOptions) != null && g.showDialCode && l) {
3537
- i.phone = `+${l.dialCode}`, i.activeCountryCode = l.iso2;
1845
+ if ((c = a.inputOptions) != null && c.showDialCode && t) {
1846
+ n.phone = `+${t.dialCode}`, n.activeCountryCode = t.iso2;
3538
1847
  return;
3539
1848
  }
3540
- i.activeCountryCode = l.iso2, G(i.phone);
1849
+ n.activeCountryCode = t.iso2, N(n.phone);
3541
1850
  }
3542
1851
  }
3543
- function id() {
3544
- const a = i.phone;
3545
- if (o.validCharactersOnly) {
3546
- const l = i.phone.match(/[()\-+0-9\s]*/g);
3547
- i.phone = l.join("");
1852
+ function X() {
1853
+ const e = n.phone;
1854
+ if (a.validCharactersOnly) {
1855
+ const t = n.phone.match(/[()\-+0-9\s]*/g);
1856
+ n.phone = t.join("");
3548
1857
  }
3549
- if (o.customValidate && o.customValidate instanceof RegExp) {
3550
- const l = i.phone.match(o.customValidate);
3551
- i.phone = l.join("");
1858
+ if (a.customValidate && a.customValidate instanceof RegExp) {
1859
+ const t = n.phone.match(a.customValidate);
1860
+ n.phone = t.join("");
3552
1861
  }
3553
- a !== i.phone && G(i.phone);
1862
+ e !== n.phone && N(n.phone);
3554
1863
  }
3555
- function ad() {
3556
- return o.validCharactersOnly && !/^[()\-+0-9\s]*$/.test(i.phone) ? !1 : o.customValidate ? $d() : !0;
1864
+ function ee() {
1865
+ return a.validCharactersOnly && !/^[()\-+0-9\s]*$/.test(n.phone) ? !1 : a.customValidate ? ne() : !0;
3557
1866
  }
3558
- function $d() {
3559
- return o.customValidate instanceof RegExp ? o.customValidate.test(i.phone) : !1;
1867
+ function ne() {
1868
+ return a.customValidate instanceof RegExp ? a.customValidate.test(n.phone) : !1;
3560
1869
  }
3561
- function ye() {
3562
- var a;
3563
- (a = $.value) == null || a.setCustomValidity(y.value.valid ? "" : o.invalidMsg), G(i.phone);
1870
+ function L() {
1871
+ var e;
1872
+ (e = g.value) == null || e.setCustomValidity(y.value.valid ? "" : a.invalidMsg), N(n.phone);
3564
1873
  }
3565
- function G(a) {
3566
- s.value = a, u("on-input", a, y.value, $.value);
1874
+ function N(e) {
1875
+ O.value = e, f("on-input", e, y.value, g.value);
3567
1876
  }
3568
- function od(a) {
3569
- u("blur", a);
1877
+ function te(e) {
1878
+ f("blur", e);
3570
1879
  }
3571
- function ud(a) {
3572
- Fd($.value, i.phone.length), u("focus", a);
1880
+ function oe(e) {
1881
+ ke(g.value, n.phone.length), f("focus", e);
3573
1882
  }
3574
- function ld(a) {
3575
- u("enter", a);
1883
+ function ae(e) {
1884
+ f("enter", e);
3576
1885
  }
3577
- function sd(a) {
3578
- u("space", a);
1886
+ function ie(e) {
1887
+ f("space", e);
3579
1888
  }
3580
- function cd() {
3581
- var a;
3582
- (a = $.value) == null || a.focus();
1889
+ function re() {
1890
+ var e;
1891
+ (e = g.value) == null || e.focus();
3583
1892
  }
3584
- function fd() {
3585
- var a;
3586
- (a = $.value) == null || a.blur();
1893
+ function se() {
1894
+ var e;
1895
+ (e = g.value) == null || e.blur();
3587
1896
  }
3588
- function ge() {
3589
- o.disabled || o.dropdownOptions.disabled || (i.searchQuery = "", i.open = !i.open);
1897
+ function G() {
1898
+ a.disabled || a.dropdownOptions.disabled || (n.searchQuery = "", n.open = !n.open);
3590
1899
  }
3591
- function pd() {
3592
- i.open = !1;
1900
+ function le() {
1901
+ n.open = !1;
3593
1902
  }
3594
- function hd(a) {
3595
- if (a.keyCode === 40) {
3596
- a.preventDefault(), i.open = !0, i.selectedIndex === null ? i.selectedIndex = 0 : i.selectedIndex = Math.min(h.value.length - 1, i.selectedIndex + 1);
3597
- const l = r.value.children[i.selectedIndex];
3598
- l.focus(), l.offsetTop + l.clientHeight > r.value.scrollTop + r.value.clientHeight && (r.value.scrollTop = l.offsetTop - r.value.clientHeight + l.clientHeight);
3599
- } else if (a.keyCode === 38) {
3600
- a.preventDefault(), i.open = !0, i.selectedIndex === null ? i.selectedIndex = h.value.length - 1 : i.selectedIndex = Math.max(0, i.selectedIndex - 1);
3601
- const l = r.value.children[i.selectedIndex];
3602
- l.focus(), l.offsetTop < r.value.scrollTop && (r.value.scrollTop = l.offsetTop);
3603
- } else if (a.keyCode === 13)
3604
- i.selectedIndex !== null && S(h.value[i.selectedIndex]), i.open = !i.open;
3605
- else if (i.open) {
3606
- i.typeToFindInput += a.key, clearTimeout(i.typeToFindTimer), i.typeToFindTimer = setTimeout(() => {
3607
- i.typeToFindInput = "";
1903
+ function de(e) {
1904
+ if (e.keyCode === 40) {
1905
+ e.preventDefault(), n.open = !0, n.selectedIndex === null ? n.selectedIndex = 0 : n.selectedIndex = Math.min(b.value.length - 1, n.selectedIndex + 1);
1906
+ const t = s.value.children[n.selectedIndex];
1907
+ t.focus(), t.offsetTop + t.clientHeight > s.value.scrollTop + s.value.clientHeight && (s.value.scrollTop = t.offsetTop - s.value.clientHeight + t.clientHeight);
1908
+ } else if (e.keyCode === 38) {
1909
+ e.preventDefault(), n.open = !0, n.selectedIndex === null ? n.selectedIndex = b.value.length - 1 : n.selectedIndex = Math.max(0, n.selectedIndex - 1);
1910
+ const t = s.value.children[n.selectedIndex];
1911
+ t.focus(), t.offsetTop < s.value.scrollTop && (s.value.scrollTop = t.offsetTop);
1912
+ } else if (e.keyCode === 13)
1913
+ n.selectedIndex !== null && v(b.value[n.selectedIndex]), n.open = !n.open;
1914
+ else if (n.open) {
1915
+ n.typeToFindInput += e.key, clearTimeout(n.typeToFindTimer), n.typeToFindTimer = setTimeout(() => {
1916
+ n.typeToFindInput = "";
3608
1917
  }, 700);
3609
- const l = h.value.slice(o.preferredCountries.length).findIndex((f) => M(f.name).startsWith(i.typeToFindInput));
3610
- if (l >= 0) {
3611
- i.selectedIndex = o.preferredCountries.length + l;
3612
- const f = r.value.children[i.selectedIndex], c = f.offsetTop < r.value.scrollTop, g = f.offsetTop + f.clientHeight > r.value.scrollTop + r.value.clientHeight;
3613
- (c || g) && (r.value.scrollTop = f.offsetTop - r.value.clientHeight / 2);
1918
+ const t = b.value.slice(a.preferredCountries.length).findIndex((l) => I(l.name).startsWith(n.typeToFindInput));
1919
+ if (t >= 0) {
1920
+ n.selectedIndex = a.preferredCountries.length + t;
1921
+ const l = s.value.children[n.selectedIndex], i = l.offsetTop < s.value.scrollTop, c = l.offsetTop + l.clientHeight > s.value.scrollTop + s.value.clientHeight;
1922
+ (i || c) && (s.value.scrollTop = l.offsetTop - s.value.clientHeight / 2);
3614
1923
  }
3615
1924
  }
3616
1925
  }
3617
- function me() {
3618
- i.selectedIndex = h.value.map((a) => a.iso2).indexOf(i.activeCountryCode), i.open = !1;
1926
+ function q() {
1927
+ n.selectedIndex = b.value.map((e) => e.iso2).indexOf(n.activeCountryCode), n.open = !1;
3619
1928
  }
3620
- function yd() {
3621
- window.innerHeight - n.value.getBoundingClientRect().bottom > 200 ? i.dropdownOpenDirection = "below" : i.dropdownOpenDirection = "above";
1929
+ function ue() {
1930
+ window.innerHeight - d.value.getBoundingClientRect().bottom > 200 ? n.dropdownOpenDirection = "below" : n.dropdownOpenDirection = "above";
3622
1931
  }
3623
- return d({
3624
- focus: cd,
3625
- blur: fd
3626
- }), (a, l) => {
3627
- const f = Cd("click-outside");
3628
- return P(), N("div", {
1932
+ return r({
1933
+ focus: re,
1934
+ blur: se
1935
+ }), (e, t) => {
1936
+ const l = he("click-outside");
1937
+ return m(), h("div", {
3629
1938
  ref_key: "refRoot",
3630
- ref: n,
3631
- class: E(["vue-tel-input", e.styleClasses, { disabled: e.disabled }])
1939
+ ref: d,
1940
+ class: C(["vue-tel-input", o.styleClasses, { disabled: o.disabled }])
3632
1941
  }, [
3633
- Q((P(), N("div", {
1942
+ z((m(), h("div", {
3634
1943
  "aria-label": "Country Code Selector",
3635
1944
  "aria-haspopup": "listbox",
3636
- "aria-expanded": i.open,
1945
+ "aria-expanded": n.open,
3637
1946
  role: "button",
3638
- class: E(["vti__dropdown", { open: i.open, disabled: e.dropdownOptions.disabled }]),
3639
- tabindex: e.dropdownOptions.tabindex,
1947
+ class: C(["vti__dropdown", { open: n.open, disabled: o.dropdownOptions.disabled }]),
1948
+ tabindex: o.dropdownOptions.tabindex,
3640
1949
  onKeydown: [
3641
- hd,
3642
- D(ge, ["space"]),
3643
- D(me, ["esc"]),
3644
- D(me, ["tab"])
1950
+ de,
1951
+ x(G, ["space"]),
1952
+ x(q, ["esc"]),
1953
+ x(q, ["tab"])
3645
1954
  ],
3646
- onClick: ge
1955
+ onClick: G
3647
1956
  }, [
3648
- R("span", Bt, [
3649
- e.dropdownOptions.showFlags ? (P(), N("span", {
1957
+ D("span", Be, [
1958
+ o.dropdownOptions.showFlags ? (m(), h("span", {
3650
1959
  key: 0,
3651
- class: E(["vti__flag", Ce(M)(i.activeCountryCode)])
3652
- }, null, 2)) : T("", !0),
3653
- e.dropdownOptions.showDialCodeInSelection ? (P(), N("span", Gt, " +" + j(b.value && b.value.dialCode), 1)) : T("", !0),
3654
- ee(a.$slots, "arrow-icon", {
3655
- open: i.open
1960
+ class: C(["vti__flag", U(I)(n.activeCountryCode)])
1961
+ }, null, 2)) : S("", !0),
1962
+ o.dropdownOptions.showDialCodeInSelection ? (m(), h("span", Me, " +" + P(E.value && E.value.dialCode), 1)) : S("", !0),
1963
+ F(e.$slots, "arrow-icon", {
1964
+ open: n.open
3656
1965
  }, () => [
3657
- R("span", jt, j(i.open ? "▲" : "▼"), 1)
1966
+ D("span", Te, P(n.open ? "▲" : "▼"), 1)
3658
1967
  ])
3659
1968
  ]),
3660
- i.open ? (P(), N("ul", {
1969
+ n.open ? (m(), h("ul", {
3661
1970
  key: 0,
3662
1971
  ref_key: "refList",
3663
- ref: r,
3664
- class: E(["vti__dropdown-list", i.dropdownOpenDirection]),
1972
+ ref: s,
1973
+ class: C(["vti__dropdown-list", n.dropdownOpenDirection]),
3665
1974
  role: "listbox"
3666
1975
  }, [
3667
- e.dropdownOptions.showSearchBox ? (P(), N("div", Ut, [
3668
- ee(a.$slots, "search-icon"),
3669
- Q(R("input", {
3670
- class: E(["vti__input", "vti__search_box"]),
1976
+ o.dropdownOptions.showSearchBox ? (m(), h("div", Ne, [
1977
+ F(e.$slots, "search-icon"),
1978
+ z(D("input", {
1979
+ class: C(["vti__input", "vti__search_box"]),
3671
1980
  "aria-label": "Search by country name or country code",
3672
- placeholder: e.dropdownOptions.searchBoxPlaceholder || (h.value.length ? h.value[0].name : ""),
1981
+ placeholder: o.dropdownOptions.searchBoxPlaceholder || (b.value.length ? b.value[0].name : ""),
3673
1982
  type: "text",
3674
- "onUpdate:modelValue": l[0] || (l[0] = (c) => i.searchQuery = c),
3675
- onClick: l[1] || (l[1] = Od(() => {
1983
+ "onUpdate:modelValue": t[0] || (t[0] = (i) => n.searchQuery = i),
1984
+ onClick: t[1] || (t[1] = ye(() => {
3676
1985
  }, ["stop"]))
3677
- }, null, 8, Ht), [
3678
- [Pd, i.searchQuery]
1986
+ }, null, 8, Pe), [
1987
+ [ge, n.searchQuery]
3679
1988
  ])
3680
- ])) : T("", !0),
3681
- (P(!0), N(Nd, null, wd(h.value, (c, g) => (P(), N("li", {
1989
+ ])) : S("", !0),
1990
+ (m(!0), h(be, null, Ce(b.value, (i, c) => (m(), h("li", {
3682
1991
  role: "option",
3683
- class: E(["vti__dropdown-item", rd(g, c.iso2)]),
3684
- key: c.iso2 + (c.preferred ? "-preferred" : ""),
1992
+ class: C(["vti__dropdown-item", Y(c, i.iso2)]),
1993
+ key: i.iso2 + (i.preferred ? "-preferred" : ""),
3685
1994
  tabindex: "-1",
3686
- onClick: (q) => S(c),
3687
- onMousemove: (q) => i.selectedIndex = g,
3688
- "aria-selected": i.activeCountryCode === c.iso2 && !c.preferred
1995
+ onClick: (A) => v(i),
1996
+ onMousemove: (A) => n.selectedIndex = c,
1997
+ "aria-selected": n.activeCountryCode === i.iso2 && !i.preferred
3689
1998
  }, [
3690
- e.dropdownOptions.showFlags ? (P(), N("span", {
1999
+ o.dropdownOptions.showFlags ? (m(), h("span", {
3691
2000
  key: 0,
3692
- class: E(["vti__flag", Ce(M)(c.iso2)])
3693
- }, null, 2)) : T("", !0),
3694
- R("strong", null, j(c.name), 1),
3695
- e.dropdownOptions.showDialCodeInList ? (P(), N("span", Kt, " +" + j(c.dialCode), 1)) : T("", !0)
3696
- ], 42, Vt))), 128))
3697
- ], 2)) : T("", !0)
3698
- ], 42, kt)), [
3699
- [f, pd]
2001
+ class: C(["vti__flag", U(I)(i.iso2)])
2002
+ }, null, 2)) : S("", !0),
2003
+ D("strong", null, P(i.name), 1),
2004
+ o.dropdownOptions.showDialCodeInList ? (m(), h("span", Ae, " +" + P(i.dialCode), 1)) : S("", !0)
2005
+ ], 42, Ee))), 128))
2006
+ ], 2)) : S("", !0)
2007
+ ], 42, Ie)), [
2008
+ [l, le]
3700
2009
  ]),
3701
- Q(R("input", {
3702
- "onUpdate:modelValue": l[2] || (l[2] = (c) => i.phone = c),
2010
+ z(D("input", {
2011
+ "onUpdate:modelValue": t[2] || (t[2] = (i) => n.phone = i),
3703
2012
  ref_key: "refInput",
3704
- ref: $,
3705
- type: e.inputOptions.type,
3706
- autocomplete: e.inputOptions.autocomplete,
3707
- autofocus: e.inputOptions.autofocus,
3708
- class: E(["vti__input", "vti__phone", e.inputOptions.styleClasses]),
3709
- disabled: e.disabled,
3710
- id: e.inputOptions.id,
3711
- maxlength: e.inputOptions.maxlength,
3712
- name: e.inputOptions.name,
3713
- placeholder: i.parsedPlaceholder,
3714
- readonly: e.inputOptions.readonly,
3715
- required: e.inputOptions.required,
3716
- tabindex: e.inputOptions.tabindex,
3717
- value: s.value,
3718
- "aria-describedby": e.inputOptions["aria-describedby"],
3719
- onBlur: od,
3720
- onFocus: ud,
3721
- onInput: ye,
2013
+ ref: g,
2014
+ type: o.inputOptions.type,
2015
+ autocomplete: o.inputOptions.autocomplete,
2016
+ autofocus: o.inputOptions.autofocus,
2017
+ class: C(["vti__input", "vti__phone", o.inputOptions.styleClasses]),
2018
+ disabled: o.disabled,
2019
+ id: o.inputOptions.id,
2020
+ maxlength: o.inputOptions.maxlength,
2021
+ name: o.inputOptions.name,
2022
+ placeholder: n.parsedPlaceholder,
2023
+ readonly: o.inputOptions.readonly,
2024
+ required: o.inputOptions.required,
2025
+ tabindex: o.inputOptions.tabindex,
2026
+ value: O.value,
2027
+ "aria-describedby": o.inputOptions["aria-describedby"],
2028
+ onBlur: te,
2029
+ onFocus: oe,
2030
+ onInput: L,
3722
2031
  onKeyup: [
3723
- D(ld, ["enter"]),
3724
- D(sd, ["space"])
2032
+ x(ae, ["enter"]),
2033
+ x(ie, ["space"])
3725
2034
  ]
3726
- }, null, 42, Wt), [
3727
- [Id, i.phone]
2035
+ }, null, 42, Re), [
2036
+ [ve, n.phone]
3728
2037
  ]),
3729
- ee(a.$slots, "icon-right")
2038
+ F(e.$slots, "icon-right")
3730
2039
  ], 2);
3731
2040
  };
3732
2041
  }
3733
- }), Zt = {
3734
- install(e, d = {}) {
2042
+ }), Ve = {
2043
+ install(o, r = {}) {
3735
2044
  const {
3736
- dropdownOptions: t,
3737
- inputOptions: n,
3738
- ...r
3739
- } = d, {
3740
- dropdownOptions: $,
3741
- inputOptions: u,
3742
- ...o
3743
- } = Ze;
3744
- re.options = {
2045
+ dropdownOptions: u,
2046
+ inputOptions: d,
2047
+ ...s
2048
+ } = r, {
2049
+ dropdownOptions: g,
2050
+ inputOptions: f,
2051
+ ...a
2052
+ } = $;
2053
+ V.options = {
3745
2054
  inputOptions: {
3746
- ...u,
3747
- ...n
2055
+ ...f,
2056
+ ...d
3748
2057
  },
3749
2058
  dropdownOptions: {
3750
- ...$,
3751
- ...t
2059
+ ...g,
2060
+ ...u
3752
2061
  },
3753
- ...o,
3754
- ...r
3755
- }, e.component("vue-tel-input", zt);
2062
+ ...a,
2063
+ ...s
2064
+ }, o.component("vue-tel-input", ze);
3756
2065
  }
3757
2066
  };
3758
2067
  export {
3759
- zt as VueTelInput,
3760
- Zt as default
2068
+ ze as VueTelInput,
2069
+ Ve as default
3761
2070
  };