@voxie/contacts.js 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/contacts.js +2480 -963
- package/dist/index.css +391361 -0
- package/package.json +12 -7
package/dist/contacts.js
CHANGED
|
@@ -1,87 +1,87 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
const F1 = { 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, "1|([457]\\d{6})$", "268$1", 0, "268"], AI: ["1", "011", "(?:264|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "1|([2457]\\d{6})$", "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, "1|([267]\\d{6})$", "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, "0|(183[12])", 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(?:83[0-38]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-9]|8[0-24-9]|9[0-27-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, "1|([2-9]\\d{6})$", "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(?:28|4[14]|5)|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", "[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}", [6, 7, 8, 9], [["(\\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[047]"]]]], 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", "(?:[25689]\\d|40)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-689]"]]]], BL: ["590", "00", "(?:590|(?:69|80)\\d|976)\\d{6}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:2[7-9]|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, ["976[01]\\d{5}"]]], BM: ["1", "011", "(?:441|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "1|([2-8]\\d{6})$", "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, "1|([3-8]\\d{6})$", "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-79]"]], ["(\\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|6[578])|4(?:03|1[68]|3[178]|50|68|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|13|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-7]|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, "0|([59]\\d{7})$", "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(?:83[0-38]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-9]|8[0-24-9]|9[0-27-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|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, "0|(1(?:[12]\\d|79)\\d\\d)", 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(4(?:[14]4|56)|[579])?"], 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}|(?: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", ["5"], "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, "0|([59]\\d{7})$", "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(?:83[0-38]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-9]|8[0-24-9]|9[0-27-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, "1|([2-7]\\d{6})$", "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", ["[189]"], "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[013579])|(?:(?: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\\d|1(?:[0-7]\\d\\d|8(?:[02]\\d|1[0-246-9])))|(?: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, "1|([2-9]\\d{6})$", "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|80\\d|976)\\d{6}", [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"], GG: ["44", "00", "(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?", [7, 9, 10], 0, "0", 0, "0|([25-9]\\d{5})$", "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\\d|606)\\d{5}", [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|(?:69|80)\\d|976)\\d{6}", [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[1289]|5[3-579]|6[0-289]|7[08]|8[0-689]|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, ["976[01]\\d{5}"]]], 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", "(?:1\\d{3}|[2-7])\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], GU: ["1", "011", "(?:[58]\\d\\d|671|900)\\d{7}", [10], 0, "1", 0, "1|([3-9]\\d{6})$", "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", "9008\\d{3}|(?:[2-467]\\d\\d|862)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-46-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{7}", [8], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[2-489]"]]]], 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, "0|([25-8]\\d{5})$", "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|([0-24-8]\\d{5})$", "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|63)|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]|636)|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]|636[457-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[045]|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[27-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])|5(?:2|3[045]|4[0-369]|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])|49|51|6(?:[0-24]|36|5[0-3589]|72|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]))|(?:49|55|83)[29]|(?: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]|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]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|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]", "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]|7[015-9]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17|3[015-9]))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|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(?:[019]|4[1-3]|6(?:[0-47-9]|5[01346-9])))|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|829(?:2|66)|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"], 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-8]\\d|99)\\d{7}", [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, "1|([2-7]\\d{6})$", "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, "1|([2-9]\\d{6})$", "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, "1|([2-8]\\d{6})$", "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, "0|(1001)"], 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", "(?:2|33|5\\d|77|88)\\d{7}|[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", ["[3578]"], "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{5})(\\d{4})", "$1-$2", ["5(?:29|38)", "5(?:29[89]|389)", "5(?:29[89]|389)0"], "0$1"], ["(\\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)|892", "5(?:2(?:[2-49]|8[235-9])|3[5-9]|9)|892"], "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(?:29(?:[189][05]|2[29]|3[01])|389[05])\\d{4}|5(?:2(?:[0-25-7]\\d|3[1-578]|4[02-46-8]|8[0235-7]|90)|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[08]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"], ["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[017]\\d|2[0-2]|6[0-8]|8[0-3]))\\d{6}"], ["80\\d{7}"], ["89\\d{7}"], 0, 0, 0, 0, ["592(?:4[0-2]|93)\\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|(?:69|80)\\d|976)\\d{6}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:0[079]|[14]3|[27][79]|30|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, ["976[01]\\d{5}"]]], MG: ["261", "00", "[23]\\d{8}", [9], [["(\\d{2})(\\d{2})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0", 0, "0|([24-9]\\d{6})$", "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, "1|([2-9]\\d{6})$", "670$1", 0, "670"], MQ: ["596", "00", "(?:69|80)\\d{7}|(?:59|97)6\\d{6}", [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, "1|([34]\\d{6})$", "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])", "(?:5|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", ["5"]], ["(\\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", ["[3467]|9[13-9]"]], ["(\\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(?:(?:44|99)[1-9]|65[0-689])\\d{7}|(?:1(?:[017]\\d|[235][1-9]|4[0-35-9]|6[0-46-9]|8[1-79]|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[04]"]]]], 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", ["[489]|59"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[235-7]"]]], 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", "(?:[47]|888\\d)\\d{3}", [4, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["8"]]]], NZ: ["64", "0(?:0|161)", "[29]\\d{7,9}|50\\d{5}(?:\\d{2,3})?|6[0-35-9]\\d{6}|7\\d{7,8}|8\\d{4,9}|(?:11\\d|[34])\\d{7}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,8})", "$1 $2", ["8[1-579]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["50[036-8]|[89]0", "50(?:[0367]|88)|[89]0"], "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)|[59]|80"], "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|86"], "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]|80\\d\\d)\\d{5}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[45]"], "0$1"], ["(\\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", "[2-7]\\d{7}|800\\d{4}(?:\\d{2})?|2\\d{6}", [7, 8, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["2[126]|8"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]"]]]], RE: ["262", "00", "976\\d{6}|(?:26|[68]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2689]"], "0$1"]], "0", 0, 0, 0, 0, "26[23]|69|[89]"], RO: ["40", "00", "(?:[2378]\\d|90)\\d{7}|[23]\\d{5}", [6, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["2[3-6]", "2[3-6]\\d9"], "0$1"], ["(\\d{2})(\\d{4})", "$1 $2", ["219|31"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[23]1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[237-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-6]2|7|8[27])|2(?:1[23]|[2-9]2))", "7(?:1(?:[0-6]2|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", ["[7-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"]]], "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-5]|[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|[57]9)\\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", ["24|[67]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[3478]|64|90"]], ["(\\d{2})(\\d{5,7})", "$1 $2", ["1|28|6(?:0[5-7]|[1-35-9])|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, "1|(5\\d{6})$", "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, "1|([2-479]\\d{6})$", "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", "(?:00|[1-57-9]\\d)\\d{7}", [9], [["(\\d{6})(\\d)(\\d{2})", "$1 $2 $3", ["331", "3317"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["[34]7|91[78]"]], ["(\\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]|616)", "5(?:[0-59]|6161)"], "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, "1|([2-46-8]\\d{6})$", "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, [["505(?:[2-57-9]\\d\\d|6(?:[0-35-9]\\d|44))\\d{4}|(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[12]|6[014]|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[19]|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-289]|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-7]|33|44|66|77|88)[2-9]\\d{6}"]]], UY: ["598", "0(?:0|1[3-9]\\d)", "4\\d{9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["405|8|90"], "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{4})", "$1 $2 $3", ["4"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "00", " int. "], UZ: ["998", "810", "(?:33|55|[679]\\d|88)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[35-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, "1|([2-7]\\d{6})$", "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, "1|([2-578]\\d{6})$", "284$1", 0, "284"], VI: ["1", "011", "[58]\\d{9}|(?:34|90)0\\d{7}", [10], 0, "1", 0, "1|([2-9]\\d{6})$", "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", ["[69]"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[3578]"], "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-68]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"], "0$1"]], "0"], YT: ["262", "00", "80\\d{7}|(?:26|63)9\\d{6}", [9], 0, "0", 0, 0, 0, 0, "269|63"], 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, "[0-36-9]\\d{8}", [9], [["(\\d)(\\d{3})(\\d{5})", "$1 $2 $3", ["[0-36-9]"]]], 0, 0, 0, 0, 0, 0, [0, ["[0-36-9]\\d{8}"]]], 882: ["882", 0, "[13]\\d{6}(?:\\d{2,5})?|285\\d{9}|(?:[19]\\d|49)\\d{6}", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5})", "$1 $2", ["16|342"]], ["(\\d{2})(\\d{6})", "$1 $2", ["4"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[19]"]], ["(\\d{2})(\\d{4})(\\d{3})", "$1 $2 $3", ["3[23]"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["34[57]"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["34"]], ["(\\d{2})(\\d{4,5})(\\d{5})", "$1 $2 $3", ["[1-3]"]]], 0, 0, 0, 0, 0, 0, [0, ["342\\d{4}|(?:337|49)\\d{6}|3(?:2|47|7\\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})|(?:(?:285\\d\\d|3(?:45|[69]\\d{3}))\\d|9[89])\\d{6}"]]], 883: ["883", 0, "(?:210|370\\d\\d)\\d{7}|51\\d{7}(?:\\d{3})?", [9, 10, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["510"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["2"]], ["(\\d{4})(\\d{4})(\\d{4})", "$1 $2 $3", ["51[13]"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[35]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["(?:210|(?:370[1-9]|51[013]0)\\d)\\d{7}|5100\\d{5}"]]], 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}"]]] } };
|
|
5
|
-
function
|
|
6
|
-
var
|
|
7
|
-
return
|
|
8
|
-
}
|
|
9
|
-
function
|
|
10
|
-
return
|
|
11
|
-
return typeof
|
|
12
|
-
} : function(
|
|
13
|
-
return
|
|
14
|
-
},
|
|
15
|
-
}
|
|
16
|
-
function
|
|
17
|
-
for (var
|
|
18
|
-
var
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
function
|
|
23
|
-
return
|
|
24
|
-
}
|
|
25
|
-
function
|
|
26
|
-
if (!(
|
|
1
|
+
var vt = Object.defineProperty;
|
|
2
|
+
var yt = (t, n, e) => n in t ? vt(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e;
|
|
3
|
+
var g = (t, n, e) => (yt(t, typeof n != "symbol" ? n + "" : n, e), e);
|
|
4
|
+
const Ye = { 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, "1|([457]\\d{6})$", "268$1", 0, "268"], AI: ["1", "011", "(?:264|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "1|([2457]\\d{6})$", "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, "1|([267]\\d{6})$", "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, "0|(183[12])", 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(?:83[0-38]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-9]|8[0-24-9]|9[0-27-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, "1|([2-9]\\d{6})$", "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(?:28|4[14]|5)|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", "[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}", [6, 7, 8, 9], [["(\\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[047]"]]]], 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", "(?:[25689]\\d|40)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-689]"]]]], BL: ["590", "00", "(?:590|(?:69|80)\\d|976)\\d{6}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:2[7-9]|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, ["976[01]\\d{5}"]]], BM: ["1", "011", "(?:441|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "1|([2-8]\\d{6})$", "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, "1|([3-8]\\d{6})$", "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-79]"]], ["(\\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|6[578])|4(?:03|1[68]|3[178]|50|68|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|13|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-7]|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, "0|([59]\\d{7})$", "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(?:83[0-38]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-9]|8[0-24-9]|9[0-27-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|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, "0|(1(?:[12]\\d|79)\\d\\d)", 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(4(?:[14]4|56)|[579])?"], 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}|(?: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", ["5"], "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, "0|([59]\\d{7})$", "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(?:83[0-38]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-9]|8[0-24-9]|9[0-27-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, "1|([2-7]\\d{6})$", "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", ["[189]"], "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[013579])|(?:(?: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\\d|1(?:[0-7]\\d\\d|8(?:[02]\\d|1[0-246-9])))|(?: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, "1|([2-9]\\d{6})$", "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|80\\d|976)\\d{6}", [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"], GG: ["44", "00", "(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?", [7, 9, 10], 0, "0", 0, "0|([25-9]\\d{5})$", "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\\d|606)\\d{5}", [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|(?:69|80)\\d|976)\\d{6}", [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[1289]|5[3-579]|6[0-289]|7[08]|8[0-689]|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, ["976[01]\\d{5}"]]], 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", "(?:1\\d{3}|[2-7])\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], GU: ["1", "011", "(?:[58]\\d\\d|671|900)\\d{7}", [10], 0, "1", 0, "1|([3-9]\\d{6})$", "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", "9008\\d{3}|(?:[2-467]\\d\\d|862)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-46-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{7}", [8], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[2-489]"]]]], 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, "0|([25-8]\\d{5})$", "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|([0-24-8]\\d{5})$", "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|63)|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]|636)|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]|636[457-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[045]|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[27-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])|5(?:2|3[045]|4[0-369]|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])|49|51|6(?:[0-24]|36|5[0-3589]|72|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]))|(?:49|55|83)[29]|(?: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]|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]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|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]", "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]|7[015-9]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17|3[015-9]))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|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(?:[019]|4[1-3]|6(?:[0-47-9]|5[01346-9])))|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|829(?:2|66)|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"], 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-8]\\d|99)\\d{7}", [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, "1|([2-7]\\d{6})$", "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, "1|([2-9]\\d{6})$", "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, "1|([2-8]\\d{6})$", "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, "0|(1001)"], 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", "(?:2|33|5\\d|77|88)\\d{7}|[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", ["[3578]"], "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{5})(\\d{4})", "$1-$2", ["5(?:29|38)", "5(?:29[89]|389)", "5(?:29[89]|389)0"], "0$1"], ["(\\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)|892", "5(?:2(?:[2-49]|8[235-9])|3[5-9]|9)|892"], "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(?:29(?:[189][05]|2[29]|3[01])|389[05])\\d{4}|5(?:2(?:[0-25-7]\\d|3[1-578]|4[02-46-8]|8[0235-7]|90)|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[08]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"], ["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[017]\\d|2[0-2]|6[0-8]|8[0-3]))\\d{6}"], ["80\\d{7}"], ["89\\d{7}"], 0, 0, 0, 0, ["592(?:4[0-2]|93)\\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|(?:69|80)\\d|976)\\d{6}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:0[079]|[14]3|[27][79]|30|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, ["976[01]\\d{5}"]]], MG: ["261", "00", "[23]\\d{8}", [9], [["(\\d{2})(\\d{2})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0", 0, "0|([24-9]\\d{6})$", "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, "1|([2-9]\\d{6})$", "670$1", 0, "670"], MQ: ["596", "00", "(?:69|80)\\d{7}|(?:59|97)6\\d{6}", [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, "1|([34]\\d{6})$", "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])", "(?:5|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", ["5"]], ["(\\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", ["[3467]|9[13-9]"]], ["(\\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(?:(?:44|99)[1-9]|65[0-689])\\d{7}|(?:1(?:[017]\\d|[235][1-9]|4[0-35-9]|6[0-46-9]|8[1-79]|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[04]"]]]], 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", ["[489]|59"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[235-7]"]]], 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", "(?:[47]|888\\d)\\d{3}", [4, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["8"]]]], NZ: ["64", "0(?:0|161)", "[29]\\d{7,9}|50\\d{5}(?:\\d{2,3})?|6[0-35-9]\\d{6}|7\\d{7,8}|8\\d{4,9}|(?:11\\d|[34])\\d{7}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,8})", "$1 $2", ["8[1-579]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["50[036-8]|[89]0", "50(?:[0367]|88)|[89]0"], "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)|[59]|80"], "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|86"], "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]|80\\d\\d)\\d{5}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[45]"], "0$1"], ["(\\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", "[2-7]\\d{7}|800\\d{4}(?:\\d{2})?|2\\d{6}", [7, 8, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["2[126]|8"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]"]]]], RE: ["262", "00", "976\\d{6}|(?:26|[68]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2689]"], "0$1"]], "0", 0, 0, 0, 0, "26[23]|69|[89]"], RO: ["40", "00", "(?:[2378]\\d|90)\\d{7}|[23]\\d{5}", [6, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["2[3-6]", "2[3-6]\\d9"], "0$1"], ["(\\d{2})(\\d{4})", "$1 $2", ["219|31"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[23]1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[237-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-6]2|7|8[27])|2(?:1[23]|[2-9]2))", "7(?:1(?:[0-6]2|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", ["[7-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"]]], "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-5]|[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|[57]9)\\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", ["24|[67]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[3478]|64|90"]], ["(\\d{2})(\\d{5,7})", "$1 $2", ["1|28|6(?:0[5-7]|[1-35-9])|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, "1|(5\\d{6})$", "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, "1|([2-479]\\d{6})$", "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", "(?:00|[1-57-9]\\d)\\d{7}", [9], [["(\\d{6})(\\d)(\\d{2})", "$1 $2 $3", ["331", "3317"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["[34]7|91[78]"]], ["(\\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]|616)", "5(?:[0-59]|6161)"], "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, "1|([2-46-8]\\d{6})$", "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, [["505(?:[2-57-9]\\d\\d|6(?:[0-35-9]\\d|44))\\d{4}|(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[12]|6[014]|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[19]|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-289]|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-7]|33|44|66|77|88)[2-9]\\d{6}"]]], UY: ["598", "0(?:0|1[3-9]\\d)", "4\\d{9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["405|8|90"], "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{4})", "$1 $2 $3", ["4"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "00", " int. "], UZ: ["998", "810", "(?:33|55|[679]\\d|88)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[35-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, "1|([2-7]\\d{6})$", "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, "1|([2-578]\\d{6})$", "284$1", 0, "284"], VI: ["1", "011", "[58]\\d{9}|(?:34|90)0\\d{7}", [10], 0, "1", 0, "1|([2-9]\\d{6})$", "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", ["[69]"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[3578]"], "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-68]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"], "0$1"]], "0"], YT: ["262", "00", "80\\d{7}|(?:26|63)9\\d{6}", [9], 0, "0", 0, 0, 0, 0, "269|63"], 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, "[0-36-9]\\d{8}", [9], [["(\\d)(\\d{3})(\\d{5})", "$1 $2 $3", ["[0-36-9]"]]], 0, 0, 0, 0, 0, 0, [0, ["[0-36-9]\\d{8}"]]], 882: ["882", 0, "[13]\\d{6}(?:\\d{2,5})?|285\\d{9}|(?:[19]\\d|49)\\d{6}", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5})", "$1 $2", ["16|342"]], ["(\\d{2})(\\d{6})", "$1 $2", ["4"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[19]"]], ["(\\d{2})(\\d{4})(\\d{3})", "$1 $2 $3", ["3[23]"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["34[57]"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["34"]], ["(\\d{2})(\\d{4,5})(\\d{5})", "$1 $2 $3", ["[1-3]"]]], 0, 0, 0, 0, 0, 0, [0, ["342\\d{4}|(?:337|49)\\d{6}|3(?:2|47|7\\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})|(?:(?:285\\d\\d|3(?:45|[69]\\d{3}))\\d|9[89])\\d{6}"]]], 883: ["883", 0, "(?:210|370\\d\\d)\\d{7}|51\\d{7}(?:\\d{3})?", [9, 10, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["510"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["2"]], ["(\\d{4})(\\d{4})(\\d{4})", "$1 $2 $3", ["51[13]"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[35]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["(?:210|(?:370[1-9]|51[013]0)\\d)\\d{7}|5100\\d{5}"]]], 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}"]]] } };
|
|
5
|
+
function Ze(t, n) {
|
|
6
|
+
var e = Array.prototype.slice.call(n);
|
|
7
|
+
return e.push(Ye), t.apply(this, e);
|
|
8
|
+
}
|
|
9
|
+
function W(t) {
|
|
10
|
+
return W = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
|
|
11
|
+
return typeof n;
|
|
12
|
+
} : function(n) {
|
|
13
|
+
return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
|
|
14
|
+
}, W(t);
|
|
15
|
+
}
|
|
16
|
+
function re(t, n) {
|
|
17
|
+
for (var e = 0; e < n.length; e++) {
|
|
18
|
+
var r = n[e];
|
|
19
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
function bt(t, n, e) {
|
|
23
|
+
return n && re(t.prototype, n), e && re(t, e), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
24
|
+
}
|
|
25
|
+
function pt(t, n) {
|
|
26
|
+
if (!(t instanceof n))
|
|
27
27
|
throw new TypeError("Cannot call a class as a function");
|
|
28
28
|
}
|
|
29
|
-
function
|
|
30
|
-
if (typeof
|
|
29
|
+
function xt(t, n) {
|
|
30
|
+
if (typeof n != "function" && n !== null)
|
|
31
31
|
throw new TypeError("Super expression must either be null or a function");
|
|
32
|
-
|
|
32
|
+
t.prototype = Object.create(n && n.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), n && S(t, n);
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
var
|
|
34
|
+
function Nt(t) {
|
|
35
|
+
var n = qe();
|
|
36
36
|
return function() {
|
|
37
|
-
var
|
|
38
|
-
if (
|
|
39
|
-
var
|
|
40
|
-
|
|
37
|
+
var r = I(t), d;
|
|
38
|
+
if (n) {
|
|
39
|
+
var i = I(this).constructor;
|
|
40
|
+
d = Reflect.construct(r, arguments, i);
|
|
41
41
|
} else
|
|
42
|
-
|
|
43
|
-
return
|
|
42
|
+
d = r.apply(this, arguments);
|
|
43
|
+
return Ct(this, d);
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
if (
|
|
48
|
-
return
|
|
49
|
-
if (
|
|
46
|
+
function Ct(t, n) {
|
|
47
|
+
if (n && (W(n) === "object" || typeof n == "function"))
|
|
48
|
+
return n;
|
|
49
|
+
if (n !== void 0)
|
|
50
50
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
51
|
-
return
|
|
51
|
+
return Je(t);
|
|
52
52
|
}
|
|
53
|
-
function
|
|
54
|
-
if (
|
|
53
|
+
function Je(t) {
|
|
54
|
+
if (t === void 0)
|
|
55
55
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
56
|
-
return
|
|
56
|
+
return t;
|
|
57
57
|
}
|
|
58
|
-
function
|
|
59
|
-
var
|
|
60
|
-
return
|
|
61
|
-
if (
|
|
62
|
-
return
|
|
63
|
-
if (typeof
|
|
58
|
+
function V(t) {
|
|
59
|
+
var n = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
60
|
+
return V = function(r) {
|
|
61
|
+
if (r === null || !Pt(r))
|
|
62
|
+
return r;
|
|
63
|
+
if (typeof r != "function")
|
|
64
64
|
throw new TypeError("Super expression must either be null or a function");
|
|
65
|
-
if (typeof
|
|
66
|
-
if (
|
|
67
|
-
return
|
|
68
|
-
|
|
69
|
-
}
|
|
70
|
-
function
|
|
71
|
-
return
|
|
72
|
-
}
|
|
73
|
-
return
|
|
74
|
-
},
|
|
75
|
-
}
|
|
76
|
-
function
|
|
77
|
-
return
|
|
78
|
-
var
|
|
79
|
-
|
|
80
|
-
var
|
|
81
|
-
return
|
|
82
|
-
},
|
|
83
|
-
}
|
|
84
|
-
function
|
|
65
|
+
if (typeof n < "u") {
|
|
66
|
+
if (n.has(r))
|
|
67
|
+
return n.get(r);
|
|
68
|
+
n.set(r, d);
|
|
69
|
+
}
|
|
70
|
+
function d() {
|
|
71
|
+
return _(r, arguments, I(this).constructor);
|
|
72
|
+
}
|
|
73
|
+
return d.prototype = Object.create(r.prototype, { constructor: { value: d, enumerable: !1, writable: !0, configurable: !0 } }), S(d, r);
|
|
74
|
+
}, V(t);
|
|
75
|
+
}
|
|
76
|
+
function _(t, n, e) {
|
|
77
|
+
return qe() ? _ = Reflect.construct : _ = function(d, i, a) {
|
|
78
|
+
var o = [null];
|
|
79
|
+
o.push.apply(o, i);
|
|
80
|
+
var $ = Function.bind.apply(d, o), u = new $();
|
|
81
|
+
return a && S(u, a.prototype), u;
|
|
82
|
+
}, _.apply(null, arguments);
|
|
83
|
+
}
|
|
84
|
+
function qe() {
|
|
85
85
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
86
86
|
return !1;
|
|
87
87
|
if (typeof Proxy == "function")
|
|
@@ -93,78 +93,78 @@ function h1() {
|
|
|
93
93
|
return !1;
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
|
-
function
|
|
97
|
-
return Function.toString.call(
|
|
98
|
-
}
|
|
99
|
-
function
|
|
100
|
-
return
|
|
101
|
-
return
|
|
102
|
-
},
|
|
103
|
-
}
|
|
104
|
-
function
|
|
105
|
-
return
|
|
106
|
-
return
|
|
107
|
-
},
|
|
108
|
-
}
|
|
109
|
-
var
|
|
110
|
-
|
|
111
|
-
var
|
|
112
|
-
function
|
|
113
|
-
var
|
|
114
|
-
return
|
|
115
|
-
}
|
|
116
|
-
return
|
|
117
|
-
}(/* @__PURE__ */
|
|
118
|
-
function
|
|
119
|
-
|
|
120
|
-
for (var
|
|
121
|
-
var
|
|
122
|
-
if (
|
|
96
|
+
function Pt(t) {
|
|
97
|
+
return Function.toString.call(t).indexOf("[native code]") !== -1;
|
|
98
|
+
}
|
|
99
|
+
function S(t, n) {
|
|
100
|
+
return S = Object.setPrototypeOf || function(r, d) {
|
|
101
|
+
return r.__proto__ = d, r;
|
|
102
|
+
}, S(t, n);
|
|
103
|
+
}
|
|
104
|
+
function I(t) {
|
|
105
|
+
return I = Object.setPrototypeOf ? Object.getPrototypeOf : function(e) {
|
|
106
|
+
return e.__proto__ || Object.getPrototypeOf(e);
|
|
107
|
+
}, I(t);
|
|
108
|
+
}
|
|
109
|
+
var C = /* @__PURE__ */ function(t) {
|
|
110
|
+
xt(e, t);
|
|
111
|
+
var n = Nt(e);
|
|
112
|
+
function e(r) {
|
|
113
|
+
var d;
|
|
114
|
+
return pt(this, e), d = n.call(this, r), Object.setPrototypeOf(Je(d), e.prototype), d.name = d.constructor.name, d;
|
|
115
|
+
}
|
|
116
|
+
return bt(e);
|
|
117
|
+
}(/* @__PURE__ */ V(Error)), z = 2, Et = 17, St = 3, b = "0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9", It = "-\u2010-\u2015\u2212\u30FC\uFF0D", wt = "\uFF0F/", At = "\uFF0E.", _t = " \xA0\xAD\u200B\u2060\u3000", Tt = "()\uFF08\uFF09\uFF3B\uFF3D\\[\\]", Ft = "~\u2053\u223C\uFF5E", x = "".concat(It).concat(wt).concat(At).concat(_t).concat(Tt).concat(Ft), k = "+\uFF0B";
|
|
118
|
+
function de(t, n) {
|
|
119
|
+
t = t.split("-"), n = n.split("-");
|
|
120
|
+
for (var e = t[0].split("."), r = n[0].split("."), d = 0; d < 3; d++) {
|
|
121
|
+
var i = Number(e[d]), a = Number(r[d]);
|
|
122
|
+
if (i > a)
|
|
123
123
|
return 1;
|
|
124
|
-
if (
|
|
124
|
+
if (a > i)
|
|
125
125
|
return -1;
|
|
126
|
-
if (!isNaN(
|
|
126
|
+
if (!isNaN(i) && isNaN(a))
|
|
127
127
|
return 1;
|
|
128
|
-
if (isNaN(
|
|
128
|
+
if (isNaN(i) && !isNaN(a))
|
|
129
129
|
return -1;
|
|
130
130
|
}
|
|
131
|
-
return
|
|
131
|
+
return t[1] && n[1] ? t[1] > n[1] ? 1 : t[1] < n[1] ? -1 : 0 : !t[1] && n[1] ? 1 : t[1] && !n[1] ? -1 : 0;
|
|
132
132
|
}
|
|
133
|
-
function
|
|
134
|
-
return
|
|
135
|
-
return typeof
|
|
136
|
-
} : function(
|
|
137
|
-
return
|
|
138
|
-
},
|
|
133
|
+
function F(t) {
|
|
134
|
+
return F = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
|
|
135
|
+
return typeof n;
|
|
136
|
+
} : function(n) {
|
|
137
|
+
return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
|
|
138
|
+
}, F(t);
|
|
139
139
|
}
|
|
140
|
-
function
|
|
141
|
-
if (!(
|
|
140
|
+
function L(t, n) {
|
|
141
|
+
if (!(t instanceof n))
|
|
142
142
|
throw new TypeError("Cannot call a class as a function");
|
|
143
143
|
}
|
|
144
|
-
function
|
|
145
|
-
for (var
|
|
146
|
-
var
|
|
147
|
-
|
|
144
|
+
function ie(t, n) {
|
|
145
|
+
for (var e = 0; e < n.length; e++) {
|
|
146
|
+
var r = n[e];
|
|
147
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r);
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
|
-
function
|
|
151
|
-
return
|
|
150
|
+
function D(t, n, e) {
|
|
151
|
+
return n && ie(t.prototype, n), e && ie(t, e), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
152
152
|
}
|
|
153
|
-
var
|
|
154
|
-
function
|
|
155
|
-
|
|
153
|
+
var Ot = "1.2.0", Rt = "1.7.35", ae = " ext. ", kt = /^\d+$/, m = /* @__PURE__ */ function() {
|
|
154
|
+
function t(n) {
|
|
155
|
+
L(this, t), Bt(n), this.metadata = n, ze.call(this, n);
|
|
156
156
|
}
|
|
157
|
-
return
|
|
157
|
+
return D(t, [{
|
|
158
158
|
key: "getCountries",
|
|
159
159
|
value: function() {
|
|
160
|
-
return Object.keys(this.metadata.countries).filter(function(
|
|
161
|
-
return
|
|
160
|
+
return Object.keys(this.metadata.countries).filter(function(e) {
|
|
161
|
+
return e !== "001";
|
|
162
162
|
});
|
|
163
163
|
}
|
|
164
164
|
}, {
|
|
165
165
|
key: "getCountryMetadata",
|
|
166
|
-
value: function(
|
|
167
|
-
return this.metadata.countries[
|
|
166
|
+
value: function(e) {
|
|
167
|
+
return this.metadata.countries[e];
|
|
168
168
|
}
|
|
169
169
|
}, {
|
|
170
170
|
key: "nonGeographic",
|
|
@@ -174,75 +174,75 @@ var V1 = "1.2.0", K1 = "1.7.35", V = " ext. ", W1 = /^\d+$/, s = /* @__PURE__ */
|
|
|
174
174
|
}
|
|
175
175
|
}, {
|
|
176
176
|
key: "hasCountry",
|
|
177
|
-
value: function(
|
|
178
|
-
return this.getCountryMetadata(
|
|
177
|
+
value: function(e) {
|
|
178
|
+
return this.getCountryMetadata(e) !== void 0;
|
|
179
179
|
}
|
|
180
180
|
}, {
|
|
181
181
|
key: "hasCallingCode",
|
|
182
|
-
value: function(
|
|
183
|
-
if (this.getCountryCodesForCallingCode(
|
|
182
|
+
value: function(e) {
|
|
183
|
+
if (this.getCountryCodesForCallingCode(e))
|
|
184
184
|
return !0;
|
|
185
185
|
if (this.nonGeographic()) {
|
|
186
|
-
if (this.nonGeographic()[
|
|
186
|
+
if (this.nonGeographic()[e])
|
|
187
187
|
return !0;
|
|
188
188
|
} else {
|
|
189
|
-
var
|
|
190
|
-
if (
|
|
189
|
+
var r = this.countryCallingCodes()[e];
|
|
190
|
+
if (r && r.length === 1 && r[0] === "001")
|
|
191
191
|
return !0;
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
}, {
|
|
195
195
|
key: "isNonGeographicCallingCode",
|
|
196
|
-
value: function(
|
|
197
|
-
return this.nonGeographic() ? !!this.nonGeographic()[
|
|
196
|
+
value: function(e) {
|
|
197
|
+
return this.nonGeographic() ? !!this.nonGeographic()[e] : !this.getCountryCodesForCallingCode(e);
|
|
198
198
|
}
|
|
199
199
|
}, {
|
|
200
200
|
key: "country",
|
|
201
|
-
value: function(
|
|
202
|
-
return this.selectNumberingPlan(
|
|
201
|
+
value: function(e) {
|
|
202
|
+
return this.selectNumberingPlan(e);
|
|
203
203
|
}
|
|
204
204
|
}, {
|
|
205
205
|
key: "selectNumberingPlan",
|
|
206
|
-
value: function(
|
|
207
|
-
if (
|
|
208
|
-
if (!this.hasCountry(
|
|
209
|
-
throw new Error("Unknown country: ".concat(
|
|
210
|
-
this.numberingPlan = new
|
|
211
|
-
} else if (
|
|
212
|
-
if (!this.hasCallingCode(
|
|
213
|
-
throw new Error("Unknown calling code: ".concat(
|
|
214
|
-
this.numberingPlan = new
|
|
206
|
+
value: function(e, r) {
|
|
207
|
+
if (e && kt.test(e) && (r = e, e = null), e && e !== "001") {
|
|
208
|
+
if (!this.hasCountry(e))
|
|
209
|
+
throw new Error("Unknown country: ".concat(e));
|
|
210
|
+
this.numberingPlan = new oe(this.getCountryMetadata(e), this);
|
|
211
|
+
} else if (r) {
|
|
212
|
+
if (!this.hasCallingCode(r))
|
|
213
|
+
throw new Error("Unknown calling code: ".concat(r));
|
|
214
|
+
this.numberingPlan = new oe(this.getNumberingPlanMetadata(r), this);
|
|
215
215
|
} else
|
|
216
216
|
this.numberingPlan = void 0;
|
|
217
217
|
return this;
|
|
218
218
|
}
|
|
219
219
|
}, {
|
|
220
220
|
key: "getCountryCodesForCallingCode",
|
|
221
|
-
value: function(
|
|
222
|
-
var
|
|
223
|
-
if (
|
|
224
|
-
return
|
|
221
|
+
value: function(e) {
|
|
222
|
+
var r = this.countryCallingCodes()[e];
|
|
223
|
+
if (r)
|
|
224
|
+
return r.length === 1 && r[0].length === 3 ? void 0 : r;
|
|
225
225
|
}
|
|
226
226
|
}, {
|
|
227
227
|
key: "getCountryCodeForCallingCode",
|
|
228
|
-
value: function(
|
|
229
|
-
var
|
|
230
|
-
if (
|
|
231
|
-
return
|
|
228
|
+
value: function(e) {
|
|
229
|
+
var r = this.getCountryCodesForCallingCode(e);
|
|
230
|
+
if (r)
|
|
231
|
+
return r[0];
|
|
232
232
|
}
|
|
233
233
|
}, {
|
|
234
234
|
key: "getNumberingPlanMetadata",
|
|
235
|
-
value: function(
|
|
236
|
-
var
|
|
237
|
-
if (
|
|
238
|
-
return this.getCountryMetadata(
|
|
235
|
+
value: function(e) {
|
|
236
|
+
var r = this.getCountryCodeForCallingCode(e);
|
|
237
|
+
if (r)
|
|
238
|
+
return this.getCountryMetadata(r);
|
|
239
239
|
if (this.nonGeographic()) {
|
|
240
|
-
var
|
|
241
|
-
if (
|
|
242
|
-
return
|
|
240
|
+
var d = this.nonGeographic()[e];
|
|
241
|
+
if (d)
|
|
242
|
+
return d;
|
|
243
243
|
} else {
|
|
244
|
-
var
|
|
245
|
-
if (
|
|
244
|
+
var i = this.countryCallingCodes()[e];
|
|
245
|
+
if (i && i.length === 1 && i[0] === "001")
|
|
246
246
|
return this.metadata.countries["001"];
|
|
247
247
|
}
|
|
248
248
|
}
|
|
@@ -298,8 +298,8 @@ var V1 = "1.2.0", K1 = "1.7.35", V = " ext. ", W1 = /^\d+$/, s = /* @__PURE__ */
|
|
|
298
298
|
}
|
|
299
299
|
}, {
|
|
300
300
|
key: "type",
|
|
301
|
-
value: function(
|
|
302
|
-
return this.numberingPlan.type(
|
|
301
|
+
value: function(e) {
|
|
302
|
+
return this.numberingPlan.type(e);
|
|
303
303
|
}
|
|
304
304
|
}, {
|
|
305
305
|
key: "ext",
|
|
@@ -313,20 +313,20 @@ var V1 = "1.2.0", K1 = "1.7.35", V = " ext. ", W1 = /^\d+$/, s = /* @__PURE__ */
|
|
|
313
313
|
}
|
|
314
314
|
}, {
|
|
315
315
|
key: "chooseCountryByCountryCallingCode",
|
|
316
|
-
value: function(
|
|
317
|
-
return this.selectNumberingPlan(
|
|
316
|
+
value: function(e) {
|
|
317
|
+
return this.selectNumberingPlan(e);
|
|
318
318
|
}
|
|
319
319
|
}, {
|
|
320
320
|
key: "hasSelectedNumberingPlan",
|
|
321
321
|
value: function() {
|
|
322
322
|
return this.numberingPlan !== void 0;
|
|
323
323
|
}
|
|
324
|
-
}]),
|
|
325
|
-
}(),
|
|
326
|
-
function
|
|
327
|
-
|
|
324
|
+
}]), t;
|
|
325
|
+
}(), oe = /* @__PURE__ */ function() {
|
|
326
|
+
function t(n, e) {
|
|
327
|
+
L(this, t), this.globalMetadataObject = e, this.metadata = n, ze.call(this, e.metadata);
|
|
328
328
|
}
|
|
329
|
-
return
|
|
329
|
+
return D(t, [{
|
|
330
330
|
key: "callingCode",
|
|
331
331
|
value: function() {
|
|
332
332
|
return this.metadata[0];
|
|
@@ -361,15 +361,15 @@ var V1 = "1.2.0", K1 = "1.7.35", V = " ext. ", W1 = /^\d+$/, s = /* @__PURE__ */
|
|
|
361
361
|
}
|
|
362
362
|
}, {
|
|
363
363
|
key: "_getFormats",
|
|
364
|
-
value: function(
|
|
365
|
-
return
|
|
364
|
+
value: function(e) {
|
|
365
|
+
return e[this.v1 ? 2 : this.v2 ? 3 : 4];
|
|
366
366
|
}
|
|
367
367
|
}, {
|
|
368
368
|
key: "formats",
|
|
369
369
|
value: function() {
|
|
370
|
-
var
|
|
371
|
-
return
|
|
372
|
-
return new
|
|
370
|
+
var e = this, r = this._getFormats(this.metadata) || this._getFormats(this.getDefaultCountryMetadataForRegion()) || [];
|
|
371
|
+
return r.map(function(d) {
|
|
372
|
+
return new Lt(d, e);
|
|
373
373
|
});
|
|
374
374
|
}
|
|
375
375
|
}, {
|
|
@@ -379,8 +379,8 @@ var V1 = "1.2.0", K1 = "1.7.35", V = " ext. ", W1 = /^\d+$/, s = /* @__PURE__ */
|
|
|
379
379
|
}
|
|
380
380
|
}, {
|
|
381
381
|
key: "_getNationalPrefixFormattingRule",
|
|
382
|
-
value: function(
|
|
383
|
-
return
|
|
382
|
+
value: function(e) {
|
|
383
|
+
return e[this.v1 ? 4 : this.v2 ? 5 : 6];
|
|
384
384
|
}
|
|
385
385
|
}, {
|
|
386
386
|
key: "nationalPrefixFormattingRule",
|
|
@@ -429,21 +429,21 @@ var V1 = "1.2.0", K1 = "1.7.35", V = " ext. ", W1 = /^\d+$/, s = /* @__PURE__ */
|
|
|
429
429
|
}
|
|
430
430
|
}, {
|
|
431
431
|
key: "type",
|
|
432
|
-
value: function(
|
|
433
|
-
if (this.hasTypes() &&
|
|
434
|
-
return new
|
|
432
|
+
value: function(e) {
|
|
433
|
+
if (this.hasTypes() && $e(this.types(), e))
|
|
434
|
+
return new Mt($e(this.types(), e), this);
|
|
435
435
|
}
|
|
436
436
|
}, {
|
|
437
437
|
key: "ext",
|
|
438
438
|
value: function() {
|
|
439
|
-
return this.v1 || this.v2 ?
|
|
439
|
+
return this.v1 || this.v2 ? ae : this.metadata[13] || ae;
|
|
440
440
|
}
|
|
441
|
-
}]),
|
|
442
|
-
}(),
|
|
443
|
-
function
|
|
444
|
-
|
|
441
|
+
}]), t;
|
|
442
|
+
}(), Lt = /* @__PURE__ */ function() {
|
|
443
|
+
function t(n, e) {
|
|
444
|
+
L(this, t), this._format = n, this.metadata = e;
|
|
445
445
|
}
|
|
446
|
-
return
|
|
446
|
+
return D(t, [{
|
|
447
447
|
key: "pattern",
|
|
448
448
|
value: function() {
|
|
449
449
|
return this._format[0];
|
|
@@ -476,19 +476,19 @@ var V1 = "1.2.0", K1 = "1.7.35", V = " ext. ", W1 = /^\d+$/, s = /* @__PURE__ */
|
|
|
476
476
|
}, {
|
|
477
477
|
key: "usesNationalPrefix",
|
|
478
478
|
value: function() {
|
|
479
|
-
return !!(this.nationalPrefixFormattingRule() && !
|
|
479
|
+
return !!(this.nationalPrefixFormattingRule() && !Dt.test(this.nationalPrefixFormattingRule()));
|
|
480
480
|
}
|
|
481
481
|
}, {
|
|
482
482
|
key: "internationalFormat",
|
|
483
483
|
value: function() {
|
|
484
484
|
return this._format[5] || this.format();
|
|
485
485
|
}
|
|
486
|
-
}]),
|
|
487
|
-
}(),
|
|
488
|
-
function
|
|
489
|
-
|
|
486
|
+
}]), t;
|
|
487
|
+
}(), Dt = /^\(?\$1\)?$/, Mt = /* @__PURE__ */ function() {
|
|
488
|
+
function t(n, e) {
|
|
489
|
+
L(this, t), this.type = n, this.metadata = e;
|
|
490
490
|
}
|
|
491
|
-
return
|
|
491
|
+
return D(t, [{
|
|
492
492
|
key: "pattern",
|
|
493
493
|
value: function() {
|
|
494
494
|
return this.metadata.v1 ? this.type : this.type[0];
|
|
@@ -499,84 +499,118 @@ var V1 = "1.2.0", K1 = "1.7.35", V = " ext. ", W1 = /^\d+$/, s = /* @__PURE__ */
|
|
|
499
499
|
if (!this.metadata.v1)
|
|
500
500
|
return this.type[1] || this.metadata.possibleLengths();
|
|
501
501
|
}
|
|
502
|
-
}]),
|
|
502
|
+
}]), t;
|
|
503
503
|
}();
|
|
504
|
-
function
|
|
505
|
-
switch (
|
|
504
|
+
function $e(t, n) {
|
|
505
|
+
switch (n) {
|
|
506
506
|
case "FIXED_LINE":
|
|
507
|
-
return
|
|
507
|
+
return t[0];
|
|
508
508
|
case "MOBILE":
|
|
509
|
-
return
|
|
509
|
+
return t[1];
|
|
510
510
|
case "TOLL_FREE":
|
|
511
|
-
return
|
|
511
|
+
return t[2];
|
|
512
512
|
case "PREMIUM_RATE":
|
|
513
|
-
return
|
|
513
|
+
return t[3];
|
|
514
514
|
case "PERSONAL_NUMBER":
|
|
515
|
-
return
|
|
515
|
+
return t[4];
|
|
516
516
|
case "VOICEMAIL":
|
|
517
|
-
return
|
|
517
|
+
return t[5];
|
|
518
518
|
case "UAN":
|
|
519
|
-
return
|
|
519
|
+
return t[6];
|
|
520
520
|
case "PAGER":
|
|
521
|
-
return
|
|
521
|
+
return t[7];
|
|
522
522
|
case "VOIP":
|
|
523
|
-
return
|
|
523
|
+
return t[8];
|
|
524
524
|
case "SHARED_COST":
|
|
525
|
-
return
|
|
525
|
+
return t[9];
|
|
526
526
|
}
|
|
527
527
|
}
|
|
528
|
-
function
|
|
529
|
-
if (!
|
|
528
|
+
function Bt(t) {
|
|
529
|
+
if (!t)
|
|
530
530
|
throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");
|
|
531
|
-
if (!
|
|
532
|
-
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(
|
|
531
|
+
if (!B(t) || !B(t.countries))
|
|
532
|
+
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(B(t) ? "an object of shape: { " + Object.keys(t).join(", ") + " }" : "a " + Gt(t) + ": " + t, "."));
|
|
533
533
|
}
|
|
534
|
-
var
|
|
535
|
-
return
|
|
536
|
-
},
|
|
537
|
-
return
|
|
534
|
+
var B = function(n) {
|
|
535
|
+
return F(n) === "object";
|
|
536
|
+
}, Gt = function(n) {
|
|
537
|
+
return F(n);
|
|
538
538
|
};
|
|
539
|
-
function
|
|
540
|
-
if (
|
|
541
|
-
return
|
|
542
|
-
throw new Error("Unknown country: ".concat(
|
|
539
|
+
function Q(t, n) {
|
|
540
|
+
if (n = new m(n), n.hasCountry(t))
|
|
541
|
+
return n.country(t).countryCallingCode();
|
|
542
|
+
throw new Error("Unknown country: ".concat(t));
|
|
543
|
+
}
|
|
544
|
+
function jt(t, n) {
|
|
545
|
+
return n.countries[t] !== void 0;
|
|
543
546
|
}
|
|
544
|
-
function
|
|
545
|
-
var
|
|
546
|
-
typeof
|
|
547
|
+
function ze(t) {
|
|
548
|
+
var n = t.version;
|
|
549
|
+
typeof n == "number" ? (this.v1 = n === 1, this.v2 = n === 2, this.v3 = n === 3, this.v4 = n === 4) : n ? de(n, Ot) === -1 ? this.v2 = !0 : de(n, Rt) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
|
|
547
550
|
}
|
|
548
|
-
var
|
|
549
|
-
return "([".concat(
|
|
551
|
+
var Ut = ";ext=", P = function(n) {
|
|
552
|
+
return "([".concat(b, "]{1,").concat(n, "})");
|
|
550
553
|
};
|
|
551
|
-
function
|
|
552
|
-
var
|
|
553
|
-
return
|
|
554
|
+
function Qe(t) {
|
|
555
|
+
var n = "20", e = "15", r = "9", d = "6", i = "[ \xA0\\t,]*", a = "[:\\.\uFF0E]?[ \xA0\\t,-]*", o = "#?", $ = "(?:e?xt(?:ensi(?:o\u0301?|\xF3))?n?|\uFF45?\uFF58\uFF54\uFF4E?|\u0434\u043E\u0431|anexo)", u = "(?:[x\uFF58#\uFF03~\uFF5E]|int|\uFF49\uFF4E\uFF54)", l = "[- ]+", s = "[ \xA0\\t]*", f = "(?:,{2}|;)", c = Ut + P(n), y = i + $ + a + P(n) + o, v = i + u + a + P(r) + o, h = l + P(d) + "#", E = s + f + a + P(e) + o, A = s + "(?:,)+" + a + P(r) + o;
|
|
556
|
+
return c + "|" + y + "|" + v + "|" + h + "|" + E + "|" + A;
|
|
554
557
|
}
|
|
555
|
-
var
|
|
556
|
-
"^" +
|
|
558
|
+
var Ht = "[" + b + "]{" + z + "}", Wt = "[" + k + "]{0,1}(?:[" + x + "]*[" + b + "]){3,}[" + x + b + "]*", Vt = new RegExp("^[" + k + "]{0,1}(?:[" + x + "]*[" + b + "]){1,2}$", "i"), Kt = Wt + "(?:" + Qe() + ")?", Xt = new RegExp(
|
|
559
|
+
"^" + Ht + "$|^" + Kt + "$",
|
|
557
560
|
"i"
|
|
558
561
|
);
|
|
559
|
-
function
|
|
560
|
-
return
|
|
562
|
+
function et(t) {
|
|
563
|
+
return t.length >= z && Xt.test(t);
|
|
561
564
|
}
|
|
562
|
-
function
|
|
563
|
-
return
|
|
565
|
+
function Yt(t) {
|
|
566
|
+
return Vt.test(t);
|
|
564
567
|
}
|
|
565
|
-
var
|
|
566
|
-
function
|
|
567
|
-
var
|
|
568
|
-
if (
|
|
568
|
+
var ue = new RegExp("(?:" + Qe() + ")$", "i");
|
|
569
|
+
function Zt(t) {
|
|
570
|
+
var n = t.search(ue);
|
|
571
|
+
if (n < 0)
|
|
569
572
|
return {};
|
|
570
|
-
for (var
|
|
571
|
-
if (
|
|
573
|
+
for (var e = t.slice(0, n), r = t.match(ue), d = 1; d < r.length; ) {
|
|
574
|
+
if (r[d])
|
|
572
575
|
return {
|
|
573
|
-
number:
|
|
574
|
-
ext:
|
|
576
|
+
number: e,
|
|
577
|
+
ext: r[d]
|
|
575
578
|
};
|
|
576
|
-
|
|
579
|
+
d++;
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
function Jt(t, n) {
|
|
583
|
+
var e = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
584
|
+
if (e)
|
|
585
|
+
return (e = e.call(t)).next.bind(e);
|
|
586
|
+
if (Array.isArray(t) || (e = qt(t)) || n && t && typeof t.length == "number") {
|
|
587
|
+
e && (t = e);
|
|
588
|
+
var r = 0;
|
|
589
|
+
return function() {
|
|
590
|
+
return r >= t.length ? { done: !0 } : { done: !1, value: t[r++] };
|
|
591
|
+
};
|
|
577
592
|
}
|
|
593
|
+
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
594
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
578
595
|
}
|
|
579
|
-
|
|
596
|
+
function qt(t, n) {
|
|
597
|
+
if (!!t) {
|
|
598
|
+
if (typeof t == "string")
|
|
599
|
+
return le(t, n);
|
|
600
|
+
var e = Object.prototype.toString.call(t).slice(8, -1);
|
|
601
|
+
if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set")
|
|
602
|
+
return Array.from(t);
|
|
603
|
+
if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))
|
|
604
|
+
return le(t, n);
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
function le(t, n) {
|
|
608
|
+
(n == null || n > t.length) && (n = t.length);
|
|
609
|
+
for (var e = 0, r = new Array(n); e < n; e++)
|
|
610
|
+
r[e] = t[e];
|
|
611
|
+
return r;
|
|
612
|
+
}
|
|
613
|
+
var zt = {
|
|
580
614
|
0: "0",
|
|
581
615
|
1: "1",
|
|
582
616
|
2: "2",
|
|
@@ -618,526 +652,533 @@ var i0 = {
|
|
|
618
652
|
"\u06F8": "8",
|
|
619
653
|
"\u06F9": "9"
|
|
620
654
|
};
|
|
621
|
-
function
|
|
622
|
-
return
|
|
623
|
-
}
|
|
624
|
-
function
|
|
625
|
-
var
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
655
|
+
function tt(t) {
|
|
656
|
+
return zt[t];
|
|
657
|
+
}
|
|
658
|
+
function O(t) {
|
|
659
|
+
for (var n = "", e = Jt(t.split("")), r; !(r = e()).done; ) {
|
|
660
|
+
var d = r.value, i = tt(d);
|
|
661
|
+
i && (n += i);
|
|
662
|
+
}
|
|
663
|
+
return n;
|
|
664
|
+
}
|
|
665
|
+
function Qt(t, n) {
|
|
666
|
+
var e = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
667
|
+
if (e)
|
|
668
|
+
return (e = e.call(t)).next.bind(e);
|
|
669
|
+
if (Array.isArray(t) || (e = en(t)) || n && t && typeof t.length == "number") {
|
|
670
|
+
e && (t = e);
|
|
671
|
+
var r = 0;
|
|
631
672
|
return function() {
|
|
632
|
-
return
|
|
673
|
+
return r >= t.length ? { done: !0 } : { done: !1, value: t[r++] };
|
|
633
674
|
};
|
|
634
675
|
}
|
|
635
676
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
636
677
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
637
678
|
}
|
|
638
|
-
function
|
|
639
|
-
if (!!
|
|
640
|
-
if (typeof
|
|
641
|
-
return
|
|
642
|
-
var
|
|
643
|
-
if (
|
|
644
|
-
return Array.from(
|
|
645
|
-
if (
|
|
646
|
-
return
|
|
647
|
-
}
|
|
648
|
-
}
|
|
649
|
-
function
|
|
650
|
-
(
|
|
651
|
-
for (var
|
|
652
|
-
|
|
653
|
-
return
|
|
654
|
-
}
|
|
655
|
-
function
|
|
656
|
-
for (var
|
|
657
|
-
var
|
|
658
|
-
|
|
659
|
-
}
|
|
660
|
-
return
|
|
661
|
-
}
|
|
662
|
-
function
|
|
663
|
-
return
|
|
664
|
-
}
|
|
665
|
-
function
|
|
666
|
-
var
|
|
667
|
-
if (
|
|
668
|
-
return (
|
|
669
|
-
if (Array.isArray(
|
|
670
|
-
|
|
671
|
-
var
|
|
679
|
+
function en(t, n) {
|
|
680
|
+
if (!!t) {
|
|
681
|
+
if (typeof t == "string")
|
|
682
|
+
return se(t, n);
|
|
683
|
+
var e = Object.prototype.toString.call(t).slice(8, -1);
|
|
684
|
+
if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set")
|
|
685
|
+
return Array.from(t);
|
|
686
|
+
if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))
|
|
687
|
+
return se(t, n);
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
function se(t, n) {
|
|
691
|
+
(n == null || n > t.length) && (n = t.length);
|
|
692
|
+
for (var e = 0, r = new Array(n); e < n; e++)
|
|
693
|
+
r[e] = t[e];
|
|
694
|
+
return r;
|
|
695
|
+
}
|
|
696
|
+
function fe(t) {
|
|
697
|
+
for (var n = "", e = Qt(t.split("")), r; !(r = e()).done; ) {
|
|
698
|
+
var d = r.value;
|
|
699
|
+
n += tn(d, n) || "";
|
|
700
|
+
}
|
|
701
|
+
return n;
|
|
702
|
+
}
|
|
703
|
+
function tn(t, n) {
|
|
704
|
+
return t === "+" ? n ? void 0 : "+" : tt(t);
|
|
705
|
+
}
|
|
706
|
+
function nn(t, n) {
|
|
707
|
+
var e = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
708
|
+
if (e)
|
|
709
|
+
return (e = e.call(t)).next.bind(e);
|
|
710
|
+
if (Array.isArray(t) || (e = rn(t)) || n && t && typeof t.length == "number") {
|
|
711
|
+
e && (t = e);
|
|
712
|
+
var r = 0;
|
|
672
713
|
return function() {
|
|
673
|
-
return
|
|
714
|
+
return r >= t.length ? { done: !0 } : { done: !1, value: t[r++] };
|
|
674
715
|
};
|
|
675
716
|
}
|
|
676
717
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
677
718
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
678
719
|
}
|
|
679
|
-
function
|
|
680
|
-
if (!!
|
|
681
|
-
if (typeof
|
|
682
|
-
return
|
|
683
|
-
var
|
|
684
|
-
if (
|
|
685
|
-
return Array.from(
|
|
686
|
-
if (
|
|
687
|
-
return
|
|
688
|
-
}
|
|
689
|
-
}
|
|
690
|
-
function
|
|
691
|
-
(
|
|
692
|
-
for (var
|
|
693
|
-
|
|
694
|
-
return
|
|
695
|
-
}
|
|
696
|
-
function
|
|
697
|
-
for (var
|
|
698
|
-
var
|
|
699
|
-
|
|
700
|
-
}
|
|
701
|
-
return
|
|
702
|
-
return
|
|
720
|
+
function rn(t, n) {
|
|
721
|
+
if (!!t) {
|
|
722
|
+
if (typeof t == "string")
|
|
723
|
+
return ce(t, n);
|
|
724
|
+
var e = Object.prototype.toString.call(t).slice(8, -1);
|
|
725
|
+
if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set")
|
|
726
|
+
return Array.from(t);
|
|
727
|
+
if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))
|
|
728
|
+
return ce(t, n);
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
function ce(t, n) {
|
|
732
|
+
(n == null || n > t.length) && (n = t.length);
|
|
733
|
+
for (var e = 0, r = new Array(n); e < n; e++)
|
|
734
|
+
r[e] = t[e];
|
|
735
|
+
return r;
|
|
736
|
+
}
|
|
737
|
+
function dn(t, n) {
|
|
738
|
+
for (var e = t.slice(), r = nn(n), d; !(d = r()).done; ) {
|
|
739
|
+
var i = d.value;
|
|
740
|
+
t.indexOf(i) < 0 && e.push(i);
|
|
741
|
+
}
|
|
742
|
+
return e.sort(function(a, o) {
|
|
743
|
+
return a - o;
|
|
703
744
|
});
|
|
704
745
|
}
|
|
705
|
-
function M(
|
|
706
|
-
return
|
|
746
|
+
function M(t, n) {
|
|
747
|
+
return nt(t, void 0, n);
|
|
707
748
|
}
|
|
708
|
-
function
|
|
709
|
-
var
|
|
710
|
-
if (!
|
|
749
|
+
function nt(t, n, e) {
|
|
750
|
+
var r = e.type(n), d = r && r.possibleLengths() || e.possibleLengths();
|
|
751
|
+
if (!d)
|
|
711
752
|
return "IS_POSSIBLE";
|
|
712
|
-
if (
|
|
713
|
-
if (
|
|
714
|
-
return
|
|
715
|
-
var
|
|
716
|
-
|
|
717
|
-
} else if (
|
|
753
|
+
if (n === "FIXED_LINE_OR_MOBILE") {
|
|
754
|
+
if (!e.type("FIXED_LINE"))
|
|
755
|
+
return nt(t, "MOBILE", e);
|
|
756
|
+
var i = e.type("MOBILE");
|
|
757
|
+
i && (d = dn(d, i.possibleLengths()));
|
|
758
|
+
} else if (n && !r)
|
|
718
759
|
return "INVALID_LENGTH";
|
|
719
|
-
var
|
|
720
|
-
return
|
|
760
|
+
var a = t.length, o = d[0];
|
|
761
|
+
return o === a ? "IS_POSSIBLE" : o > a ? "TOO_SHORT" : d[d.length - 1] < a ? "TOO_LONG" : d.indexOf(a, 1) >= 0 ? "IS_POSSIBLE" : "INVALID_LENGTH";
|
|
721
762
|
}
|
|
722
|
-
function
|
|
723
|
-
if (
|
|
724
|
-
if (!
|
|
763
|
+
function an(t, n, e) {
|
|
764
|
+
if (n === void 0 && (n = {}), e = new m(e), n.v2) {
|
|
765
|
+
if (!t.countryCallingCode)
|
|
725
766
|
throw new Error("Invalid phone number object passed");
|
|
726
|
-
|
|
767
|
+
e.selectNumberingPlan(t.countryCallingCode);
|
|
727
768
|
} else {
|
|
728
|
-
if (!
|
|
769
|
+
if (!t.phone)
|
|
729
770
|
return !1;
|
|
730
|
-
if (
|
|
731
|
-
if (
|
|
732
|
-
throw new Error("Unknown country: ".concat(
|
|
733
|
-
|
|
771
|
+
if (t.country) {
|
|
772
|
+
if (!e.hasCountry(t.country))
|
|
773
|
+
throw new Error("Unknown country: ".concat(t.country));
|
|
774
|
+
e.country(t.country);
|
|
734
775
|
} else {
|
|
735
|
-
if (!
|
|
776
|
+
if (!t.countryCallingCode)
|
|
736
777
|
throw new Error("Invalid phone number object passed");
|
|
737
|
-
|
|
778
|
+
e.selectNumberingPlan(t.countryCallingCode);
|
|
738
779
|
}
|
|
739
780
|
}
|
|
740
|
-
if (
|
|
741
|
-
return
|
|
742
|
-
if (
|
|
781
|
+
if (e.possibleLengths())
|
|
782
|
+
return rt(t.phone || t.nationalNumber, e);
|
|
783
|
+
if (t.countryCallingCode && e.isNonGeographicCallingCode(t.countryCallingCode))
|
|
743
784
|
return !0;
|
|
744
785
|
throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.');
|
|
745
786
|
}
|
|
746
|
-
function
|
|
747
|
-
switch (M(
|
|
787
|
+
function rt(t, n) {
|
|
788
|
+
switch (M(t, n)) {
|
|
748
789
|
case "IS_POSSIBLE":
|
|
749
790
|
return !0;
|
|
750
791
|
default:
|
|
751
792
|
return !1;
|
|
752
793
|
}
|
|
753
794
|
}
|
|
754
|
-
function
|
|
755
|
-
return
|
|
795
|
+
function on(t, n) {
|
|
796
|
+
return ln(t) || un(t, n) || dt(t, n) || $n();
|
|
756
797
|
}
|
|
757
|
-
function
|
|
798
|
+
function $n() {
|
|
758
799
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
759
800
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
760
801
|
}
|
|
761
|
-
function
|
|
762
|
-
var
|
|
763
|
-
if (
|
|
764
|
-
var
|
|
802
|
+
function un(t, n) {
|
|
803
|
+
var e = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
804
|
+
if (e != null) {
|
|
805
|
+
var r = [], d = !0, i = !1, a, o;
|
|
765
806
|
try {
|
|
766
|
-
for (
|
|
807
|
+
for (e = e.call(t); !(d = (a = e.next()).done) && (r.push(a.value), !(n && r.length === n)); d = !0)
|
|
767
808
|
;
|
|
768
|
-
} catch (
|
|
769
|
-
|
|
809
|
+
} catch ($) {
|
|
810
|
+
i = !0, o = $;
|
|
770
811
|
} finally {
|
|
771
812
|
try {
|
|
772
|
-
!
|
|
813
|
+
!d && e.return != null && e.return();
|
|
773
814
|
} finally {
|
|
774
|
-
if (
|
|
775
|
-
throw
|
|
815
|
+
if (i)
|
|
816
|
+
throw o;
|
|
776
817
|
}
|
|
777
818
|
}
|
|
778
|
-
return
|
|
819
|
+
return r;
|
|
779
820
|
}
|
|
780
821
|
}
|
|
781
|
-
function
|
|
782
|
-
if (Array.isArray(
|
|
783
|
-
return
|
|
822
|
+
function ln(t) {
|
|
823
|
+
if (Array.isArray(t))
|
|
824
|
+
return t;
|
|
784
825
|
}
|
|
785
|
-
function
|
|
786
|
-
var
|
|
787
|
-
if (
|
|
788
|
-
return (
|
|
789
|
-
if (Array.isArray(
|
|
790
|
-
|
|
791
|
-
var
|
|
826
|
+
function sn(t, n) {
|
|
827
|
+
var e = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
828
|
+
if (e)
|
|
829
|
+
return (e = e.call(t)).next.bind(e);
|
|
830
|
+
if (Array.isArray(t) || (e = dt(t)) || n && t && typeof t.length == "number") {
|
|
831
|
+
e && (t = e);
|
|
832
|
+
var r = 0;
|
|
792
833
|
return function() {
|
|
793
|
-
return
|
|
834
|
+
return r >= t.length ? { done: !0 } : { done: !1, value: t[r++] };
|
|
794
835
|
};
|
|
795
836
|
}
|
|
796
837
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
797
838
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
798
839
|
}
|
|
799
|
-
function
|
|
800
|
-
if (!!
|
|
801
|
-
if (typeof
|
|
802
|
-
return
|
|
803
|
-
var
|
|
804
|
-
if (
|
|
805
|
-
return Array.from(
|
|
806
|
-
if (
|
|
807
|
-
return
|
|
808
|
-
}
|
|
809
|
-
}
|
|
810
|
-
function
|
|
811
|
-
(
|
|
812
|
-
for (var
|
|
813
|
-
|
|
814
|
-
return
|
|
815
|
-
}
|
|
816
|
-
function
|
|
817
|
-
var
|
|
818
|
-
|
|
819
|
-
for (var
|
|
820
|
-
var
|
|
821
|
-
switch (
|
|
840
|
+
function dt(t, n) {
|
|
841
|
+
if (!!t) {
|
|
842
|
+
if (typeof t == "string")
|
|
843
|
+
return he(t, n);
|
|
844
|
+
var e = Object.prototype.toString.call(t).slice(8, -1);
|
|
845
|
+
if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set")
|
|
846
|
+
return Array.from(t);
|
|
847
|
+
if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))
|
|
848
|
+
return he(t, n);
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
function he(t, n) {
|
|
852
|
+
(n == null || n > t.length) && (n = t.length);
|
|
853
|
+
for (var e = 0, r = new Array(n); e < n; e++)
|
|
854
|
+
r[e] = t[e];
|
|
855
|
+
return r;
|
|
856
|
+
}
|
|
857
|
+
function fn(t) {
|
|
858
|
+
var n, e;
|
|
859
|
+
t = t.replace(/^tel:/, "tel=");
|
|
860
|
+
for (var r = sn(t.split(";")), d; !(d = r()).done; ) {
|
|
861
|
+
var i = d.value, a = i.split("="), o = on(a, 2), $ = o[0], u = o[1];
|
|
862
|
+
switch ($) {
|
|
822
863
|
case "tel":
|
|
823
|
-
|
|
864
|
+
n = u;
|
|
824
865
|
break;
|
|
825
866
|
case "ext":
|
|
826
|
-
|
|
867
|
+
e = u;
|
|
827
868
|
break;
|
|
828
869
|
case "phone-context":
|
|
829
|
-
|
|
870
|
+
u[0] === "+" && (n = u + n);
|
|
830
871
|
break;
|
|
831
872
|
}
|
|
832
873
|
}
|
|
833
|
-
if (!
|
|
874
|
+
if (!et(n))
|
|
834
875
|
return {};
|
|
835
|
-
var
|
|
836
|
-
number:
|
|
876
|
+
var l = {
|
|
877
|
+
number: n
|
|
837
878
|
};
|
|
838
|
-
return
|
|
879
|
+
return e && (l.ext = e), l;
|
|
839
880
|
}
|
|
840
|
-
function
|
|
841
|
-
var
|
|
842
|
-
if (!
|
|
881
|
+
function cn(t) {
|
|
882
|
+
var n = t.number, e = t.ext;
|
|
883
|
+
if (!n)
|
|
843
884
|
return "";
|
|
844
|
-
if (
|
|
885
|
+
if (n[0] !== "+")
|
|
845
886
|
throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');
|
|
846
|
-
return "tel:".concat(
|
|
847
|
-
}
|
|
848
|
-
function
|
|
849
|
-
return
|
|
850
|
-
}
|
|
851
|
-
function
|
|
852
|
-
var
|
|
853
|
-
if (
|
|
854
|
-
return (
|
|
855
|
-
if (Array.isArray(
|
|
856
|
-
|
|
857
|
-
var
|
|
887
|
+
return "tel:".concat(n).concat(e ? ";ext=" + e : "");
|
|
888
|
+
}
|
|
889
|
+
function N(t, n) {
|
|
890
|
+
return t = t || "", new RegExp("^(?:" + n + ")$").test(t);
|
|
891
|
+
}
|
|
892
|
+
function hn(t, n) {
|
|
893
|
+
var e = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
894
|
+
if (e)
|
|
895
|
+
return (e = e.call(t)).next.bind(e);
|
|
896
|
+
if (Array.isArray(t) || (e = gn(t)) || n && t && typeof t.length == "number") {
|
|
897
|
+
e && (t = e);
|
|
898
|
+
var r = 0;
|
|
858
899
|
return function() {
|
|
859
|
-
return
|
|
900
|
+
return r >= t.length ? { done: !0 } : { done: !1, value: t[r++] };
|
|
860
901
|
};
|
|
861
902
|
}
|
|
862
903
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
863
904
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
864
905
|
}
|
|
865
|
-
function
|
|
866
|
-
if (!!
|
|
867
|
-
if (typeof
|
|
868
|
-
return
|
|
869
|
-
var
|
|
870
|
-
if (
|
|
871
|
-
return Array.from(
|
|
872
|
-
if (
|
|
873
|
-
return
|
|
874
|
-
}
|
|
875
|
-
}
|
|
876
|
-
function
|
|
877
|
-
(
|
|
878
|
-
for (var
|
|
879
|
-
|
|
880
|
-
return
|
|
881
|
-
}
|
|
882
|
-
var
|
|
883
|
-
function
|
|
884
|
-
if (
|
|
885
|
-
|
|
886
|
-
var
|
|
887
|
-
if (!!
|
|
888
|
-
if (
|
|
889
|
-
return
|
|
890
|
-
for (var
|
|
891
|
-
var
|
|
892
|
-
if (
|
|
893
|
-
return
|
|
906
|
+
function gn(t, n) {
|
|
907
|
+
if (!!t) {
|
|
908
|
+
if (typeof t == "string")
|
|
909
|
+
return ge(t, n);
|
|
910
|
+
var e = Object.prototype.toString.call(t).slice(8, -1);
|
|
911
|
+
if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set")
|
|
912
|
+
return Array.from(t);
|
|
913
|
+
if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))
|
|
914
|
+
return ge(t, n);
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
function ge(t, n) {
|
|
918
|
+
(n == null || n > t.length) && (n = t.length);
|
|
919
|
+
for (var e = 0, r = new Array(n); e < n; e++)
|
|
920
|
+
r[e] = t[e];
|
|
921
|
+
return r;
|
|
922
|
+
}
|
|
923
|
+
var mn = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
|
|
924
|
+
function ee(t, n, e) {
|
|
925
|
+
if (n = n || {}, !!t.country) {
|
|
926
|
+
e = new m(e), e.selectNumberingPlan(t.country, t.countryCallingCode);
|
|
927
|
+
var r = n.v2 ? t.nationalNumber : t.phone;
|
|
928
|
+
if (!!N(r, e.nationalNumberPattern())) {
|
|
929
|
+
if (G(r, "FIXED_LINE", e))
|
|
930
|
+
return e.type("MOBILE") && e.type("MOBILE").pattern() === "" || !e.type("MOBILE") || G(r, "MOBILE", e) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
|
|
931
|
+
for (var d = hn(mn), i; !(i = d()).done; ) {
|
|
932
|
+
var a = i.value;
|
|
933
|
+
if (G(r, a, e))
|
|
934
|
+
return a;
|
|
894
935
|
}
|
|
895
936
|
}
|
|
896
937
|
}
|
|
897
938
|
}
|
|
898
|
-
function
|
|
899
|
-
return
|
|
939
|
+
function G(t, n, e) {
|
|
940
|
+
return n = e.type(n), !n || !n.pattern() || n.possibleLengths() && n.possibleLengths().indexOf(t.length) < 0 ? !1 : N(t, n.pattern());
|
|
900
941
|
}
|
|
901
|
-
function
|
|
902
|
-
if (
|
|
942
|
+
function vn(t, n, e) {
|
|
943
|
+
if (n = n || {}, e = new m(e), !t.country)
|
|
903
944
|
return !1;
|
|
904
|
-
if (
|
|
905
|
-
return
|
|
906
|
-
var
|
|
907
|
-
return
|
|
908
|
-
}
|
|
909
|
-
function
|
|
910
|
-
return
|
|
911
|
-
}
|
|
912
|
-
var
|
|
913
|
-
function
|
|
914
|
-
var
|
|
915
|
-
|
|
916
|
-
var
|
|
917
|
-
return
|
|
918
|
-
}
|
|
919
|
-
var
|
|
920
|
-
function
|
|
921
|
-
var
|
|
922
|
-
if (
|
|
923
|
-
return
|
|
924
|
-
if (
|
|
925
|
-
return
|
|
926
|
-
}
|
|
927
|
-
function
|
|
928
|
-
var
|
|
929
|
-
if (
|
|
930
|
-
return (
|
|
931
|
-
if (Array.isArray(
|
|
932
|
-
|
|
933
|
-
var
|
|
945
|
+
if (e.selectNumberingPlan(t.country, t.countryCallingCode), e.hasTypes())
|
|
946
|
+
return ee(t, n, e.metadata) !== void 0;
|
|
947
|
+
var r = n.v2 ? t.nationalNumber : t.phone;
|
|
948
|
+
return N(r, e.nationalNumberPattern());
|
|
949
|
+
}
|
|
950
|
+
function it(t) {
|
|
951
|
+
return t.replace(new RegExp("[".concat(x, "]+"), "g"), " ").trim();
|
|
952
|
+
}
|
|
953
|
+
var at = /(\$\d)/;
|
|
954
|
+
function ot(t, n, e) {
|
|
955
|
+
var r = e.useInternationalFormat, d = e.withNationalPrefix;
|
|
956
|
+
e.carrierCode, e.metadata;
|
|
957
|
+
var i = t.replace(new RegExp(n.pattern()), r ? n.internationalFormat() : d && n.nationalPrefixFormattingRule() ? n.format().replace(at, n.nationalPrefixFormattingRule()) : n.format());
|
|
958
|
+
return r ? it(i) : i;
|
|
959
|
+
}
|
|
960
|
+
var yn = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
|
|
961
|
+
function bn(t, n, e) {
|
|
962
|
+
var r = new m(e);
|
|
963
|
+
if (r.selectNumberingPlan(t, n), r.defaultIDDPrefix())
|
|
964
|
+
return r.defaultIDDPrefix();
|
|
965
|
+
if (yn.test(r.IDDPrefix()))
|
|
966
|
+
return r.IDDPrefix();
|
|
967
|
+
}
|
|
968
|
+
function pn(t, n) {
|
|
969
|
+
var e = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
970
|
+
if (e)
|
|
971
|
+
return (e = e.call(t)).next.bind(e);
|
|
972
|
+
if (Array.isArray(t) || (e = xn(t)) || n && t && typeof t.length == "number") {
|
|
973
|
+
e && (t = e);
|
|
974
|
+
var r = 0;
|
|
934
975
|
return function() {
|
|
935
|
-
return
|
|
976
|
+
return r >= t.length ? { done: !0 } : { done: !1, value: t[r++] };
|
|
936
977
|
};
|
|
937
978
|
}
|
|
938
979
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
939
980
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
940
981
|
}
|
|
941
|
-
function
|
|
942
|
-
if (!!
|
|
943
|
-
if (typeof
|
|
944
|
-
return
|
|
945
|
-
var
|
|
946
|
-
if (
|
|
947
|
-
return Array.from(
|
|
948
|
-
if (
|
|
949
|
-
return
|
|
950
|
-
}
|
|
951
|
-
}
|
|
952
|
-
function
|
|
953
|
-
(
|
|
954
|
-
for (var
|
|
955
|
-
|
|
956
|
-
return
|
|
957
|
-
}
|
|
958
|
-
function
|
|
959
|
-
var
|
|
982
|
+
function xn(t, n) {
|
|
983
|
+
if (!!t) {
|
|
984
|
+
if (typeof t == "string")
|
|
985
|
+
return me(t, n);
|
|
986
|
+
var e = Object.prototype.toString.call(t).slice(8, -1);
|
|
987
|
+
if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set")
|
|
988
|
+
return Array.from(t);
|
|
989
|
+
if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))
|
|
990
|
+
return me(t, n);
|
|
991
|
+
}
|
|
992
|
+
}
|
|
993
|
+
function me(t, n) {
|
|
994
|
+
(n == null || n > t.length) && (n = t.length);
|
|
995
|
+
for (var e = 0, r = new Array(n); e < n; e++)
|
|
996
|
+
r[e] = t[e];
|
|
997
|
+
return r;
|
|
998
|
+
}
|
|
999
|
+
function ve(t, n) {
|
|
1000
|
+
var e = Object.keys(t);
|
|
960
1001
|
if (Object.getOwnPropertySymbols) {
|
|
961
|
-
var
|
|
962
|
-
|
|
963
|
-
return Object.getOwnPropertyDescriptor(
|
|
964
|
-
})),
|
|
965
|
-
}
|
|
966
|
-
return
|
|
967
|
-
}
|
|
968
|
-
function
|
|
969
|
-
for (var
|
|
970
|
-
var
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
974
|
-
Object.defineProperty(
|
|
1002
|
+
var r = Object.getOwnPropertySymbols(t);
|
|
1003
|
+
n && (r = r.filter(function(d) {
|
|
1004
|
+
return Object.getOwnPropertyDescriptor(t, d).enumerable;
|
|
1005
|
+
})), e.push.apply(e, r);
|
|
1006
|
+
}
|
|
1007
|
+
return e;
|
|
1008
|
+
}
|
|
1009
|
+
function ye(t) {
|
|
1010
|
+
for (var n = 1; n < arguments.length; n++) {
|
|
1011
|
+
var e = arguments[n] != null ? arguments[n] : {};
|
|
1012
|
+
n % 2 ? ve(Object(e), !0).forEach(function(r) {
|
|
1013
|
+
Nn(t, r, e[r]);
|
|
1014
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : ve(Object(e)).forEach(function(r) {
|
|
1015
|
+
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(e, r));
|
|
975
1016
|
});
|
|
976
1017
|
}
|
|
977
|
-
return
|
|
1018
|
+
return t;
|
|
978
1019
|
}
|
|
979
|
-
function
|
|
980
|
-
return
|
|
1020
|
+
function Nn(t, n, e) {
|
|
1021
|
+
return n in t ? Object.defineProperty(t, n, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : t[n] = e, t;
|
|
981
1022
|
}
|
|
982
|
-
var
|
|
983
|
-
formatExtension: function(e,
|
|
984
|
-
return "".concat(
|
|
1023
|
+
var be = {
|
|
1024
|
+
formatExtension: function(n, e, r) {
|
|
1025
|
+
return "".concat(n).concat(r.ext()).concat(e);
|
|
985
1026
|
}
|
|
986
1027
|
};
|
|
987
|
-
function
|
|
988
|
-
if (
|
|
989
|
-
if (!
|
|
990
|
-
throw new Error("Unknown country: ".concat(
|
|
991
|
-
|
|
992
|
-
} else if (
|
|
993
|
-
|
|
1028
|
+
function Cn(t, n, e, r) {
|
|
1029
|
+
if (e ? e = ye(ye({}, be), e) : e = be, r = new m(r), t.country && t.country !== "001") {
|
|
1030
|
+
if (!r.hasCountry(t.country))
|
|
1031
|
+
throw new Error("Unknown country: ".concat(t.country));
|
|
1032
|
+
r.country(t.country);
|
|
1033
|
+
} else if (t.countryCallingCode)
|
|
1034
|
+
r.selectNumberingPlan(t.countryCallingCode);
|
|
994
1035
|
else
|
|
995
|
-
return
|
|
996
|
-
var
|
|
997
|
-
switch (
|
|
1036
|
+
return t.phone || "";
|
|
1037
|
+
var d = r.countryCallingCode(), i = e.v2 ? t.nationalNumber : t.phone, a;
|
|
1038
|
+
switch (n) {
|
|
998
1039
|
case "NATIONAL":
|
|
999
|
-
return
|
|
1040
|
+
return i ? (a = R(i, t.carrierCode, "NATIONAL", r, e), j(a, t.ext, r, e.formatExtension)) : "";
|
|
1000
1041
|
case "INTERNATIONAL":
|
|
1001
|
-
return
|
|
1042
|
+
return i ? (a = R(i, null, "INTERNATIONAL", r, e), a = "+".concat(d, " ").concat(a), j(a, t.ext, r, e.formatExtension)) : "+".concat(d);
|
|
1002
1043
|
case "E.164":
|
|
1003
|
-
return "+".concat(
|
|
1044
|
+
return "+".concat(d).concat(i);
|
|
1004
1045
|
case "RFC3966":
|
|
1005
|
-
return
|
|
1006
|
-
number: "+".concat(
|
|
1007
|
-
ext:
|
|
1046
|
+
return cn({
|
|
1047
|
+
number: "+".concat(d).concat(i),
|
|
1048
|
+
ext: t.ext
|
|
1008
1049
|
});
|
|
1009
1050
|
case "IDD":
|
|
1010
|
-
if (
|
|
1051
|
+
if (!e.fromCountry)
|
|
1011
1052
|
return;
|
|
1012
|
-
var
|
|
1013
|
-
return
|
|
1053
|
+
var o = En(i, t.carrierCode, d, e.fromCountry, r);
|
|
1054
|
+
return j(o, t.ext, r, e.formatExtension);
|
|
1014
1055
|
default:
|
|
1015
|
-
throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(
|
|
1016
|
-
}
|
|
1017
|
-
}
|
|
1018
|
-
function
|
|
1019
|
-
var
|
|
1020
|
-
return
|
|
1021
|
-
useInternationalFormat:
|
|
1022
|
-
withNationalPrefix: !(
|
|
1023
|
-
carrierCode:
|
|
1024
|
-
metadata:
|
|
1025
|
-
}) :
|
|
1026
|
-
}
|
|
1027
|
-
function
|
|
1028
|
-
for (var
|
|
1029
|
-
var
|
|
1030
|
-
if (
|
|
1031
|
-
var
|
|
1032
|
-
if (
|
|
1056
|
+
throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(n, '"'));
|
|
1057
|
+
}
|
|
1058
|
+
}
|
|
1059
|
+
function R(t, n, e, r, d) {
|
|
1060
|
+
var i = Pn(r.formats(), t);
|
|
1061
|
+
return i ? ot(t, i, {
|
|
1062
|
+
useInternationalFormat: e === "INTERNATIONAL",
|
|
1063
|
+
withNationalPrefix: !(i.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && d && d.nationalPrefix === !1),
|
|
1064
|
+
carrierCode: n,
|
|
1065
|
+
metadata: r
|
|
1066
|
+
}) : t;
|
|
1067
|
+
}
|
|
1068
|
+
function Pn(t, n) {
|
|
1069
|
+
for (var e = pn(t), r; !(r = e()).done; ) {
|
|
1070
|
+
var d = r.value;
|
|
1071
|
+
if (d.leadingDigitsPatterns().length > 0) {
|
|
1072
|
+
var i = d.leadingDigitsPatterns()[d.leadingDigitsPatterns().length - 1];
|
|
1073
|
+
if (n.search(i) !== 0)
|
|
1033
1074
|
continue;
|
|
1034
1075
|
}
|
|
1035
|
-
if (
|
|
1036
|
-
return
|
|
1076
|
+
if (N(n, d.pattern()))
|
|
1077
|
+
return d;
|
|
1037
1078
|
}
|
|
1038
1079
|
}
|
|
1039
|
-
function
|
|
1040
|
-
return
|
|
1080
|
+
function j(t, n, e, r) {
|
|
1081
|
+
return n ? r(t, n, e) : t;
|
|
1041
1082
|
}
|
|
1042
|
-
function
|
|
1043
|
-
var
|
|
1044
|
-
if (
|
|
1045
|
-
var
|
|
1046
|
-
return
|
|
1083
|
+
function En(t, n, e, r, d) {
|
|
1084
|
+
var i = Q(r, d.metadata);
|
|
1085
|
+
if (i === e) {
|
|
1086
|
+
var a = R(t, n, "NATIONAL", d);
|
|
1087
|
+
return e === "1" ? e + " " + a : a;
|
|
1047
1088
|
}
|
|
1048
|
-
var
|
|
1049
|
-
if (
|
|
1050
|
-
return "".concat(
|
|
1089
|
+
var o = bn(r, void 0, d.metadata);
|
|
1090
|
+
if (o)
|
|
1091
|
+
return "".concat(o, " ").concat(e, " ").concat(R(t, null, "INTERNATIONAL", d));
|
|
1051
1092
|
}
|
|
1052
|
-
function
|
|
1053
|
-
var
|
|
1093
|
+
function pe(t, n) {
|
|
1094
|
+
var e = Object.keys(t);
|
|
1054
1095
|
if (Object.getOwnPropertySymbols) {
|
|
1055
|
-
var
|
|
1056
|
-
|
|
1057
|
-
return Object.getOwnPropertyDescriptor(
|
|
1058
|
-
})),
|
|
1059
|
-
}
|
|
1060
|
-
return
|
|
1061
|
-
}
|
|
1062
|
-
function
|
|
1063
|
-
for (var
|
|
1064
|
-
var
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
1068
|
-
Object.defineProperty(
|
|
1096
|
+
var r = Object.getOwnPropertySymbols(t);
|
|
1097
|
+
n && (r = r.filter(function(d) {
|
|
1098
|
+
return Object.getOwnPropertyDescriptor(t, d).enumerable;
|
|
1099
|
+
})), e.push.apply(e, r);
|
|
1100
|
+
}
|
|
1101
|
+
return e;
|
|
1102
|
+
}
|
|
1103
|
+
function xe(t) {
|
|
1104
|
+
for (var n = 1; n < arguments.length; n++) {
|
|
1105
|
+
var e = arguments[n] != null ? arguments[n] : {};
|
|
1106
|
+
n % 2 ? pe(Object(e), !0).forEach(function(r) {
|
|
1107
|
+
Sn(t, r, e[r]);
|
|
1108
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : pe(Object(e)).forEach(function(r) {
|
|
1109
|
+
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(e, r));
|
|
1069
1110
|
});
|
|
1070
1111
|
}
|
|
1071
|
-
return
|
|
1112
|
+
return t;
|
|
1072
1113
|
}
|
|
1073
|
-
function
|
|
1074
|
-
return
|
|
1114
|
+
function Sn(t, n, e) {
|
|
1115
|
+
return n in t ? Object.defineProperty(t, n, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : t[n] = e, t;
|
|
1075
1116
|
}
|
|
1076
|
-
function
|
|
1077
|
-
if (!(
|
|
1117
|
+
function In(t, n) {
|
|
1118
|
+
if (!(t instanceof n))
|
|
1078
1119
|
throw new TypeError("Cannot call a class as a function");
|
|
1079
1120
|
}
|
|
1080
|
-
function
|
|
1081
|
-
for (var
|
|
1082
|
-
var
|
|
1083
|
-
|
|
1121
|
+
function Ne(t, n) {
|
|
1122
|
+
for (var e = 0; e < n.length; e++) {
|
|
1123
|
+
var r = n[e];
|
|
1124
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r);
|
|
1084
1125
|
}
|
|
1085
1126
|
}
|
|
1086
|
-
function
|
|
1087
|
-
return
|
|
1127
|
+
function wn(t, n, e) {
|
|
1128
|
+
return n && Ne(t.prototype, n), e && Ne(t, e), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
1088
1129
|
}
|
|
1089
|
-
var
|
|
1090
|
-
function
|
|
1091
|
-
if (
|
|
1130
|
+
var $t = /* @__PURE__ */ function() {
|
|
1131
|
+
function t(n, e, r) {
|
|
1132
|
+
if (In(this, t), !n)
|
|
1092
1133
|
throw new TypeError("`country` or `countryCallingCode` not passed");
|
|
1093
|
-
if (
|
|
1134
|
+
if (!e)
|
|
1094
1135
|
throw new TypeError("`nationalNumber` not passed");
|
|
1095
|
-
if (!
|
|
1136
|
+
if (!r)
|
|
1096
1137
|
throw new TypeError("`metadata` not passed");
|
|
1097
|
-
var
|
|
1098
|
-
|
|
1138
|
+
var d = new m(r);
|
|
1139
|
+
An(n) && (this.country = n, d.country(n), n = d.countryCallingCode()), this.countryCallingCode = n, this.nationalNumber = e, this.number = "+" + this.countryCallingCode + this.nationalNumber, this.metadata = r;
|
|
1099
1140
|
}
|
|
1100
|
-
return
|
|
1141
|
+
return wn(t, [{
|
|
1101
1142
|
key: "setExt",
|
|
1102
|
-
value: function(
|
|
1103
|
-
this.ext =
|
|
1143
|
+
value: function(e) {
|
|
1144
|
+
this.ext = e;
|
|
1104
1145
|
}
|
|
1105
1146
|
}, {
|
|
1106
1147
|
key: "isPossible",
|
|
1107
1148
|
value: function() {
|
|
1108
|
-
return
|
|
1149
|
+
return an(this, {
|
|
1109
1150
|
v2: !0
|
|
1110
1151
|
}, this.metadata);
|
|
1111
1152
|
}
|
|
1112
1153
|
}, {
|
|
1113
1154
|
key: "isValid",
|
|
1114
1155
|
value: function() {
|
|
1115
|
-
return
|
|
1156
|
+
return vn(this, {
|
|
1116
1157
|
v2: !0
|
|
1117
1158
|
}, this.metadata);
|
|
1118
1159
|
}
|
|
1119
1160
|
}, {
|
|
1120
1161
|
key: "isNonGeographic",
|
|
1121
1162
|
value: function() {
|
|
1122
|
-
var
|
|
1123
|
-
return
|
|
1163
|
+
var e = new m(this.metadata);
|
|
1164
|
+
return e.isNonGeographicCallingCode(this.countryCallingCode);
|
|
1124
1165
|
}
|
|
1125
1166
|
}, {
|
|
1126
1167
|
key: "isEqual",
|
|
1127
|
-
value: function(
|
|
1128
|
-
return this.number ===
|
|
1168
|
+
value: function(e) {
|
|
1169
|
+
return this.number === e.number && this.ext === e.ext;
|
|
1129
1170
|
}
|
|
1130
1171
|
}, {
|
|
1131
1172
|
key: "getType",
|
|
1132
1173
|
value: function() {
|
|
1133
|
-
return
|
|
1174
|
+
return ee(this, {
|
|
1134
1175
|
v2: !0
|
|
1135
1176
|
}, this.metadata);
|
|
1136
1177
|
}
|
|
1137
1178
|
}, {
|
|
1138
1179
|
key: "format",
|
|
1139
|
-
value: function(
|
|
1140
|
-
return
|
|
1180
|
+
value: function(e, r) {
|
|
1181
|
+
return Cn(this, e, r ? xe(xe({}, r), {}, {
|
|
1141
1182
|
v2: !0
|
|
1142
1183
|
}) : {
|
|
1143
1184
|
v2: !0
|
|
@@ -1145,86 +1186,86 @@ var B0 = /* @__PURE__ */ function() {
|
|
|
1145
1186
|
}
|
|
1146
1187
|
}, {
|
|
1147
1188
|
key: "formatNational",
|
|
1148
|
-
value: function(
|
|
1149
|
-
return this.format("NATIONAL",
|
|
1189
|
+
value: function(e) {
|
|
1190
|
+
return this.format("NATIONAL", e);
|
|
1150
1191
|
}
|
|
1151
1192
|
}, {
|
|
1152
1193
|
key: "formatInternational",
|
|
1153
|
-
value: function(
|
|
1154
|
-
return this.format("INTERNATIONAL",
|
|
1194
|
+
value: function(e) {
|
|
1195
|
+
return this.format("INTERNATIONAL", e);
|
|
1155
1196
|
}
|
|
1156
1197
|
}, {
|
|
1157
1198
|
key: "getURI",
|
|
1158
|
-
value: function(
|
|
1159
|
-
return this.format("RFC3966",
|
|
1160
|
-
}
|
|
1161
|
-
}]),
|
|
1162
|
-
}(),
|
|
1163
|
-
return /^[A-Z]{2}$/.test(
|
|
1164
|
-
},
|
|
1165
|
-
function
|
|
1166
|
-
if (!!
|
|
1167
|
-
var
|
|
1168
|
-
|
|
1169
|
-
var
|
|
1170
|
-
if (
|
|
1171
|
-
|
|
1172
|
-
var
|
|
1173
|
-
if (!(
|
|
1174
|
-
return
|
|
1175
|
-
}
|
|
1176
|
-
}
|
|
1177
|
-
}
|
|
1178
|
-
function
|
|
1179
|
-
if (
|
|
1180
|
-
var
|
|
1181
|
-
if (
|
|
1182
|
-
var
|
|
1183
|
-
if (
|
|
1184
|
-
|
|
1199
|
+
value: function(e) {
|
|
1200
|
+
return this.format("RFC3966", e);
|
|
1201
|
+
}
|
|
1202
|
+
}]), t;
|
|
1203
|
+
}(), An = function(n) {
|
|
1204
|
+
return /^[A-Z]{2}$/.test(n);
|
|
1205
|
+
}, _n = new RegExp("([" + b + "])");
|
|
1206
|
+
function ut(t, n, e, r) {
|
|
1207
|
+
if (!!n) {
|
|
1208
|
+
var d = new m(r);
|
|
1209
|
+
d.selectNumberingPlan(n, e);
|
|
1210
|
+
var i = new RegExp(d.IDDPrefix());
|
|
1211
|
+
if (t.search(i) === 0) {
|
|
1212
|
+
t = t.slice(t.match(i)[0].length);
|
|
1213
|
+
var a = t.match(_n);
|
|
1214
|
+
if (!(a && a[1] != null && a[1].length > 0 && a[1] === "0"))
|
|
1215
|
+
return t;
|
|
1216
|
+
}
|
|
1217
|
+
}
|
|
1218
|
+
}
|
|
1219
|
+
function K(t, n) {
|
|
1220
|
+
if (t && n.numberingPlan.nationalPrefixForParsing()) {
|
|
1221
|
+
var e = new RegExp("^(?:" + n.numberingPlan.nationalPrefixForParsing() + ")"), r = e.exec(t);
|
|
1222
|
+
if (r) {
|
|
1223
|
+
var d, i, a = r.length - 1, o = a > 0 && r[a];
|
|
1224
|
+
if (n.nationalPrefixTransformRule() && o)
|
|
1225
|
+
d = t.replace(e, n.nationalPrefixTransformRule()), a > 1 && (i = r[1]);
|
|
1185
1226
|
else {
|
|
1186
|
-
var
|
|
1187
|
-
|
|
1227
|
+
var $ = r[0];
|
|
1228
|
+
d = t.slice($.length), o && (i = r[1]);
|
|
1188
1229
|
}
|
|
1189
|
-
var
|
|
1190
|
-
if (
|
|
1191
|
-
var
|
|
1192
|
-
|
|
1230
|
+
var u;
|
|
1231
|
+
if (o) {
|
|
1232
|
+
var l = t.indexOf(r[1]), s = t.slice(0, l);
|
|
1233
|
+
s === n.numberingPlan.nationalPrefix() && (u = n.numberingPlan.nationalPrefix());
|
|
1193
1234
|
} else
|
|
1194
|
-
|
|
1235
|
+
u = r[0];
|
|
1195
1236
|
return {
|
|
1196
|
-
nationalNumber:
|
|
1197
|
-
nationalPrefix:
|
|
1198
|
-
carrierCode:
|
|
1237
|
+
nationalNumber: d,
|
|
1238
|
+
nationalPrefix: u,
|
|
1239
|
+
carrierCode: i
|
|
1199
1240
|
};
|
|
1200
1241
|
}
|
|
1201
1242
|
}
|
|
1202
1243
|
return {
|
|
1203
|
-
nationalNumber:
|
|
1244
|
+
nationalNumber: t
|
|
1204
1245
|
};
|
|
1205
1246
|
}
|
|
1206
|
-
function
|
|
1207
|
-
var
|
|
1208
|
-
if (
|
|
1209
|
-
if (!
|
|
1247
|
+
function X(t, n) {
|
|
1248
|
+
var e = K(t, n), r = e.carrierCode, d = e.nationalNumber;
|
|
1249
|
+
if (d !== t) {
|
|
1250
|
+
if (!Tn(t, d, n))
|
|
1210
1251
|
return {
|
|
1211
|
-
nationalNumber:
|
|
1252
|
+
nationalNumber: t
|
|
1212
1253
|
};
|
|
1213
|
-
if (
|
|
1254
|
+
if (n.possibleLengths() && !Fn(d, n))
|
|
1214
1255
|
return {
|
|
1215
|
-
nationalNumber:
|
|
1256
|
+
nationalNumber: t
|
|
1216
1257
|
};
|
|
1217
1258
|
}
|
|
1218
1259
|
return {
|
|
1219
|
-
nationalNumber:
|
|
1220
|
-
carrierCode:
|
|
1260
|
+
nationalNumber: d,
|
|
1261
|
+
carrierCode: r
|
|
1221
1262
|
};
|
|
1222
1263
|
}
|
|
1223
|
-
function
|
|
1224
|
-
return !(
|
|
1264
|
+
function Tn(t, n, e) {
|
|
1265
|
+
return !(N(t, e.nationalNumberPattern()) && !N(n, e.nationalNumberPattern()));
|
|
1225
1266
|
}
|
|
1226
|
-
function
|
|
1227
|
-
switch (M(
|
|
1267
|
+
function Fn(t, n) {
|
|
1268
|
+
switch (M(t, n)) {
|
|
1228
1269
|
case "TOO_SHORT":
|
|
1229
1270
|
case "INVALID_LENGTH":
|
|
1230
1271
|
return !1;
|
|
@@ -1232,423 +1273,1899 @@ function W0(d, e) {
|
|
|
1232
1273
|
return !0;
|
|
1233
1274
|
}
|
|
1234
1275
|
}
|
|
1235
|
-
function
|
|
1236
|
-
var
|
|
1237
|
-
if (
|
|
1238
|
-
|
|
1239
|
-
var
|
|
1240
|
-
if (!
|
|
1276
|
+
function lt(t, n, e, r) {
|
|
1277
|
+
var d = n ? Q(n, r) : e;
|
|
1278
|
+
if (t.indexOf(d) === 0) {
|
|
1279
|
+
r = new m(r), r.selectNumberingPlan(n, e);
|
|
1280
|
+
var i = t.slice(d.length), a = X(i, r), o = a.nationalNumber, $ = X(t, r), u = $.nationalNumber;
|
|
1281
|
+
if (!N(u, r.nationalNumberPattern()) && N(o, r.nationalNumberPattern()) || M(u, r) === "TOO_LONG")
|
|
1241
1282
|
return {
|
|
1242
|
-
countryCallingCode:
|
|
1243
|
-
number:
|
|
1283
|
+
countryCallingCode: d,
|
|
1284
|
+
number: i
|
|
1244
1285
|
};
|
|
1245
1286
|
}
|
|
1246
1287
|
return {
|
|
1247
|
-
number:
|
|
1288
|
+
number: t
|
|
1248
1289
|
};
|
|
1249
1290
|
}
|
|
1250
|
-
function
|
|
1251
|
-
if (!
|
|
1291
|
+
function st(t, n, e, r) {
|
|
1292
|
+
if (!t)
|
|
1252
1293
|
return {};
|
|
1253
|
-
if (
|
|
1254
|
-
var
|
|
1255
|
-
if (
|
|
1256
|
-
|
|
1294
|
+
if (t[0] !== "+") {
|
|
1295
|
+
var d = ut(t, n, e, r);
|
|
1296
|
+
if (d && d !== t)
|
|
1297
|
+
t = "+" + d;
|
|
1257
1298
|
else {
|
|
1258
|
-
if (
|
|
1259
|
-
var
|
|
1260
|
-
if (
|
|
1299
|
+
if (n || e) {
|
|
1300
|
+
var i = lt(t, n, e, r), a = i.countryCallingCode, o = i.number;
|
|
1301
|
+
if (a)
|
|
1261
1302
|
return {
|
|
1262
|
-
countryCallingCode:
|
|
1263
|
-
number:
|
|
1303
|
+
countryCallingCode: a,
|
|
1304
|
+
number: o
|
|
1264
1305
|
};
|
|
1265
1306
|
}
|
|
1266
1307
|
return {
|
|
1267
|
-
number:
|
|
1308
|
+
number: t
|
|
1268
1309
|
};
|
|
1269
1310
|
}
|
|
1270
1311
|
}
|
|
1271
|
-
if (
|
|
1312
|
+
if (t[1] === "0")
|
|
1272
1313
|
return {};
|
|
1273
|
-
|
|
1274
|
-
for (var
|
|
1275
|
-
var
|
|
1276
|
-
if (
|
|
1277
|
-
return
|
|
1278
|
-
countryCallingCode:
|
|
1279
|
-
number:
|
|
1314
|
+
r = new m(r);
|
|
1315
|
+
for (var $ = 2; $ - 1 <= St && $ <= t.length; ) {
|
|
1316
|
+
var u = t.slice(1, $);
|
|
1317
|
+
if (r.hasCallingCode(u))
|
|
1318
|
+
return r.selectNumberingPlan(u), {
|
|
1319
|
+
countryCallingCode: u,
|
|
1320
|
+
number: t.slice($)
|
|
1280
1321
|
};
|
|
1281
|
-
|
|
1322
|
+
$++;
|
|
1282
1323
|
}
|
|
1283
1324
|
return {};
|
|
1284
1325
|
}
|
|
1285
|
-
function
|
|
1286
|
-
var
|
|
1287
|
-
if (
|
|
1288
|
-
return (
|
|
1289
|
-
if (Array.isArray(
|
|
1290
|
-
|
|
1291
|
-
var
|
|
1326
|
+
function On(t, n) {
|
|
1327
|
+
var e = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
1328
|
+
if (e)
|
|
1329
|
+
return (e = e.call(t)).next.bind(e);
|
|
1330
|
+
if (Array.isArray(t) || (e = Rn(t)) || n && t && typeof t.length == "number") {
|
|
1331
|
+
e && (t = e);
|
|
1332
|
+
var r = 0;
|
|
1292
1333
|
return function() {
|
|
1293
|
-
return
|
|
1334
|
+
return r >= t.length ? { done: !0 } : { done: !1, value: t[r++] };
|
|
1294
1335
|
};
|
|
1295
1336
|
}
|
|
1296
1337
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
1297
1338
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1298
1339
|
}
|
|
1299
|
-
function
|
|
1300
|
-
if (!!
|
|
1301
|
-
if (typeof
|
|
1302
|
-
return
|
|
1303
|
-
var
|
|
1304
|
-
if (
|
|
1305
|
-
return Array.from(
|
|
1306
|
-
if (
|
|
1307
|
-
return
|
|
1308
|
-
}
|
|
1309
|
-
}
|
|
1310
|
-
function
|
|
1311
|
-
(
|
|
1312
|
-
for (var
|
|
1313
|
-
|
|
1314
|
-
return
|
|
1315
|
-
}
|
|
1316
|
-
var
|
|
1317
|
-
function
|
|
1318
|
-
if (
|
|
1340
|
+
function Rn(t, n) {
|
|
1341
|
+
if (!!t) {
|
|
1342
|
+
if (typeof t == "string")
|
|
1343
|
+
return Ce(t, n);
|
|
1344
|
+
var e = Object.prototype.toString.call(t).slice(8, -1);
|
|
1345
|
+
if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set")
|
|
1346
|
+
return Array.from(t);
|
|
1347
|
+
if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))
|
|
1348
|
+
return Ce(t, n);
|
|
1349
|
+
}
|
|
1350
|
+
}
|
|
1351
|
+
function Ce(t, n) {
|
|
1352
|
+
(n == null || n > t.length) && (n = t.length);
|
|
1353
|
+
for (var e = 0, r = new Array(n); e < n; e++)
|
|
1354
|
+
r[e] = t[e];
|
|
1355
|
+
return r;
|
|
1356
|
+
}
|
|
1357
|
+
var kn = !1;
|
|
1358
|
+
function ft(t, n, e) {
|
|
1359
|
+
if (kn && e.isNonGeographicCallingCode(t))
|
|
1319
1360
|
return "001";
|
|
1320
|
-
var
|
|
1321
|
-
if (!!
|
|
1322
|
-
return
|
|
1323
|
-
}
|
|
1324
|
-
function
|
|
1325
|
-
|
|
1326
|
-
for (var
|
|
1327
|
-
var
|
|
1328
|
-
if (
|
|
1329
|
-
if (
|
|
1330
|
-
return
|
|
1331
|
-
} else if (
|
|
1332
|
-
phone:
|
|
1333
|
-
country:
|
|
1334
|
-
}, void 0,
|
|
1335
|
-
return
|
|
1336
|
-
}
|
|
1337
|
-
}
|
|
1338
|
-
var
|
|
1339
|
-
function
|
|
1340
|
-
if (
|
|
1341
|
-
throw
|
|
1342
|
-
var
|
|
1343
|
-
if (!
|
|
1344
|
-
if (
|
|
1345
|
-
throw
|
|
1361
|
+
var r = e.getCountryCodesForCallingCode(t);
|
|
1362
|
+
if (!!r)
|
|
1363
|
+
return r.length === 1 ? r[0] : Ln(r, n, e.metadata);
|
|
1364
|
+
}
|
|
1365
|
+
function Ln(t, n, e) {
|
|
1366
|
+
e = new m(e);
|
|
1367
|
+
for (var r = On(t), d; !(d = r()).done; ) {
|
|
1368
|
+
var i = d.value;
|
|
1369
|
+
if (e.country(i), e.leadingDigits()) {
|
|
1370
|
+
if (n && n.search(e.leadingDigits()) === 0)
|
|
1371
|
+
return i;
|
|
1372
|
+
} else if (ee({
|
|
1373
|
+
phone: n,
|
|
1374
|
+
country: i
|
|
1375
|
+
}, void 0, e.metadata))
|
|
1376
|
+
return i;
|
|
1377
|
+
}
|
|
1378
|
+
}
|
|
1379
|
+
var Dn = 250, Mn = new RegExp("[" + k + b + "]"), Bn = new RegExp("[^" + b + "#]+$");
|
|
1380
|
+
function Gn(t, n, e) {
|
|
1381
|
+
if (n = n || {}, e = new m(e), n.defaultCountry && !e.hasCountry(n.defaultCountry))
|
|
1382
|
+
throw n.v2 ? new C("INVALID_COUNTRY") : new Error("Unknown country: ".concat(n.defaultCountry));
|
|
1383
|
+
var r = Un(t, n.v2, n.extract), d = r.number, i = r.ext, a = r.error;
|
|
1384
|
+
if (!d) {
|
|
1385
|
+
if (n.v2)
|
|
1386
|
+
throw a === "TOO_SHORT" ? new C("TOO_SHORT") : new C("NOT_A_NUMBER");
|
|
1346
1387
|
return {};
|
|
1347
1388
|
}
|
|
1348
|
-
var
|
|
1349
|
-
if (
|
|
1350
|
-
if (
|
|
1351
|
-
throw new
|
|
1389
|
+
var o = Wn(d, n.defaultCountry, n.defaultCallingCode, e), $ = o.country, u = o.nationalNumber, l = o.countryCallingCode, s = o.carrierCode;
|
|
1390
|
+
if (!e.hasSelectedNumberingPlan()) {
|
|
1391
|
+
if (n.v2)
|
|
1392
|
+
throw new C("INVALID_COUNTRY");
|
|
1352
1393
|
return {};
|
|
1353
1394
|
}
|
|
1354
|
-
if (!
|
|
1355
|
-
if (
|
|
1356
|
-
throw new
|
|
1395
|
+
if (!u || u.length < z) {
|
|
1396
|
+
if (n.v2)
|
|
1397
|
+
throw new C("TOO_SHORT");
|
|
1357
1398
|
return {};
|
|
1358
1399
|
}
|
|
1359
|
-
if (
|
|
1360
|
-
if (
|
|
1361
|
-
throw new
|
|
1400
|
+
if (u.length > Et) {
|
|
1401
|
+
if (n.v2)
|
|
1402
|
+
throw new C("TOO_LONG");
|
|
1362
1403
|
return {};
|
|
1363
1404
|
}
|
|
1364
|
-
if (
|
|
1365
|
-
var
|
|
1366
|
-
return
|
|
1367
|
-
}
|
|
1368
|
-
var
|
|
1369
|
-
return
|
|
1370
|
-
country:
|
|
1371
|
-
countryCallingCode:
|
|
1372
|
-
carrierCode:
|
|
1373
|
-
valid:
|
|
1374
|
-
possible:
|
|
1375
|
-
phone:
|
|
1376
|
-
ext:
|
|
1377
|
-
} :
|
|
1378
|
-
}
|
|
1379
|
-
function
|
|
1380
|
-
if (!!
|
|
1381
|
-
if (
|
|
1382
|
-
if (
|
|
1383
|
-
throw new
|
|
1405
|
+
if (n.v2) {
|
|
1406
|
+
var f = new $t(l, u, e.metadata);
|
|
1407
|
+
return $ && (f.country = $), s && (f.carrierCode = s), i && (f.ext = i), f;
|
|
1408
|
+
}
|
|
1409
|
+
var c = (n.extended ? e.hasSelectedNumberingPlan() : $) ? N(u, e.nationalNumberPattern()) : !1;
|
|
1410
|
+
return n.extended ? {
|
|
1411
|
+
country: $,
|
|
1412
|
+
countryCallingCode: l,
|
|
1413
|
+
carrierCode: s,
|
|
1414
|
+
valid: c,
|
|
1415
|
+
possible: c ? !0 : !!(n.extended === !0 && e.possibleLengths() && rt(u, e)),
|
|
1416
|
+
phone: u,
|
|
1417
|
+
ext: i
|
|
1418
|
+
} : c ? Hn($, u, i) : {};
|
|
1419
|
+
}
|
|
1420
|
+
function jn(t, n, e) {
|
|
1421
|
+
if (!!t) {
|
|
1422
|
+
if (t.length > Dn) {
|
|
1423
|
+
if (e)
|
|
1424
|
+
throw new C("TOO_LONG");
|
|
1384
1425
|
return;
|
|
1385
1426
|
}
|
|
1386
|
-
if (
|
|
1387
|
-
return
|
|
1388
|
-
var
|
|
1389
|
-
if (!(
|
|
1390
|
-
return
|
|
1427
|
+
if (n === !1)
|
|
1428
|
+
return t;
|
|
1429
|
+
var r = t.search(Mn);
|
|
1430
|
+
if (!(r < 0))
|
|
1431
|
+
return t.slice(r).replace(Bn, "");
|
|
1391
1432
|
}
|
|
1392
1433
|
}
|
|
1393
|
-
function
|
|
1394
|
-
if (
|
|
1395
|
-
return
|
|
1396
|
-
var
|
|
1397
|
-
if (!
|
|
1434
|
+
function Un(t, n, e) {
|
|
1435
|
+
if (t && t.indexOf("tel:") === 0)
|
|
1436
|
+
return fn(t);
|
|
1437
|
+
var r = jn(t, e, n);
|
|
1438
|
+
if (!r)
|
|
1398
1439
|
return {};
|
|
1399
|
-
if (!
|
|
1400
|
-
return
|
|
1440
|
+
if (!et(r))
|
|
1441
|
+
return Yt(r) ? {
|
|
1401
1442
|
error: "TOO_SHORT"
|
|
1402
1443
|
} : {};
|
|
1403
|
-
var
|
|
1404
|
-
return
|
|
1405
|
-
number:
|
|
1444
|
+
var d = Zt(r);
|
|
1445
|
+
return d.ext ? d : {
|
|
1446
|
+
number: r
|
|
1406
1447
|
};
|
|
1407
1448
|
}
|
|
1408
|
-
function
|
|
1409
|
-
var
|
|
1410
|
-
country:
|
|
1411
|
-
phone:
|
|
1449
|
+
function Hn(t, n, e) {
|
|
1450
|
+
var r = {
|
|
1451
|
+
country: t,
|
|
1452
|
+
phone: n
|
|
1412
1453
|
};
|
|
1413
|
-
return
|
|
1414
|
-
}
|
|
1415
|
-
function
|
|
1416
|
-
var
|
|
1417
|
-
if (
|
|
1418
|
-
|
|
1419
|
-
else if (
|
|
1420
|
-
|
|
1454
|
+
return e && (r.ext = e), r;
|
|
1455
|
+
}
|
|
1456
|
+
function Wn(t, n, e, r) {
|
|
1457
|
+
var d = st(fe(t), n, e, r.metadata), i = d.countryCallingCode, a = d.number, o;
|
|
1458
|
+
if (i)
|
|
1459
|
+
r.selectNumberingPlan(i);
|
|
1460
|
+
else if (a && (n || e))
|
|
1461
|
+
r.selectNumberingPlan(n, e), n && (o = n), i = e || Q(n, r.metadata);
|
|
1421
1462
|
else
|
|
1422
1463
|
return {};
|
|
1423
|
-
if (!
|
|
1464
|
+
if (!a)
|
|
1424
1465
|
return {
|
|
1425
|
-
countryCallingCode:
|
|
1466
|
+
countryCallingCode: i
|
|
1426
1467
|
};
|
|
1427
|
-
var
|
|
1428
|
-
return
|
|
1429
|
-
country:
|
|
1430
|
-
countryCallingCode:
|
|
1431
|
-
nationalNumber:
|
|
1432
|
-
carrierCode:
|
|
1468
|
+
var $ = X(fe(a), r), u = $.nationalNumber, l = $.carrierCode, s = ft(i, u, r);
|
|
1469
|
+
return s && (o = s, s === "001" || r.country(o)), {
|
|
1470
|
+
country: o,
|
|
1471
|
+
countryCallingCode: i,
|
|
1472
|
+
nationalNumber: u,
|
|
1473
|
+
carrierCode: l
|
|
1433
1474
|
};
|
|
1434
1475
|
}
|
|
1435
|
-
function
|
|
1436
|
-
var
|
|
1476
|
+
function Pe(t, n) {
|
|
1477
|
+
var e = Object.keys(t);
|
|
1437
1478
|
if (Object.getOwnPropertySymbols) {
|
|
1438
|
-
var
|
|
1439
|
-
|
|
1440
|
-
return Object.getOwnPropertyDescriptor(
|
|
1441
|
-
})),
|
|
1442
|
-
}
|
|
1443
|
-
return
|
|
1444
|
-
}
|
|
1445
|
-
function
|
|
1446
|
-
for (var
|
|
1447
|
-
var
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
1451
|
-
Object.defineProperty(
|
|
1479
|
+
var r = Object.getOwnPropertySymbols(t);
|
|
1480
|
+
n && (r = r.filter(function(d) {
|
|
1481
|
+
return Object.getOwnPropertyDescriptor(t, d).enumerable;
|
|
1482
|
+
})), e.push.apply(e, r);
|
|
1483
|
+
}
|
|
1484
|
+
return e;
|
|
1485
|
+
}
|
|
1486
|
+
function Ee(t) {
|
|
1487
|
+
for (var n = 1; n < arguments.length; n++) {
|
|
1488
|
+
var e = arguments[n] != null ? arguments[n] : {};
|
|
1489
|
+
n % 2 ? Pe(Object(e), !0).forEach(function(r) {
|
|
1490
|
+
Vn(t, r, e[r]);
|
|
1491
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : Pe(Object(e)).forEach(function(r) {
|
|
1492
|
+
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(e, r));
|
|
1452
1493
|
});
|
|
1453
1494
|
}
|
|
1454
|
-
return
|
|
1495
|
+
return t;
|
|
1455
1496
|
}
|
|
1456
|
-
function
|
|
1457
|
-
return
|
|
1497
|
+
function Vn(t, n, e) {
|
|
1498
|
+
return n in t ? Object.defineProperty(t, n, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : t[n] = e, t;
|
|
1458
1499
|
}
|
|
1459
|
-
function
|
|
1460
|
-
return
|
|
1500
|
+
function ct(t, n, e) {
|
|
1501
|
+
return Gn(t, Ee(Ee({}, n), {}, {
|
|
1461
1502
|
v2: !0
|
|
1462
|
-
}),
|
|
1503
|
+
}), e);
|
|
1463
1504
|
}
|
|
1464
|
-
function
|
|
1465
|
-
return
|
|
1466
|
-
return typeof
|
|
1467
|
-
} : function(
|
|
1468
|
-
return
|
|
1469
|
-
},
|
|
1505
|
+
function Y(t) {
|
|
1506
|
+
return Y = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
|
|
1507
|
+
return typeof n;
|
|
1508
|
+
} : function(n) {
|
|
1509
|
+
return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
|
|
1510
|
+
}, Y(t);
|
|
1470
1511
|
}
|
|
1471
|
-
function
|
|
1472
|
-
var
|
|
1512
|
+
function Se(t, n) {
|
|
1513
|
+
var e = Object.keys(t);
|
|
1473
1514
|
if (Object.getOwnPropertySymbols) {
|
|
1474
|
-
var
|
|
1475
|
-
|
|
1476
|
-
return Object.getOwnPropertyDescriptor(
|
|
1477
|
-
})),
|
|
1478
|
-
}
|
|
1479
|
-
return
|
|
1480
|
-
}
|
|
1481
|
-
function
|
|
1482
|
-
for (var
|
|
1483
|
-
var
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
1487
|
-
Object.defineProperty(
|
|
1515
|
+
var r = Object.getOwnPropertySymbols(t);
|
|
1516
|
+
n && (r = r.filter(function(d) {
|
|
1517
|
+
return Object.getOwnPropertyDescriptor(t, d).enumerable;
|
|
1518
|
+
})), e.push.apply(e, r);
|
|
1519
|
+
}
|
|
1520
|
+
return e;
|
|
1521
|
+
}
|
|
1522
|
+
function Kn(t) {
|
|
1523
|
+
for (var n = 1; n < arguments.length; n++) {
|
|
1524
|
+
var e = arguments[n] != null ? arguments[n] : {};
|
|
1525
|
+
n % 2 ? Se(Object(e), !0).forEach(function(r) {
|
|
1526
|
+
Xn(t, r, e[r]);
|
|
1527
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : Se(Object(e)).forEach(function(r) {
|
|
1528
|
+
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(e, r));
|
|
1488
1529
|
});
|
|
1489
1530
|
}
|
|
1490
|
-
return
|
|
1531
|
+
return t;
|
|
1491
1532
|
}
|
|
1492
|
-
function
|
|
1493
|
-
return
|
|
1533
|
+
function Xn(t, n, e) {
|
|
1534
|
+
return n in t ? Object.defineProperty(t, n, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : t[n] = e, t;
|
|
1494
1535
|
}
|
|
1495
|
-
function
|
|
1496
|
-
return
|
|
1536
|
+
function Yn(t, n) {
|
|
1537
|
+
return zn(t) || qn(t, n) || Jn(t, n) || Zn();
|
|
1497
1538
|
}
|
|
1498
|
-
function
|
|
1539
|
+
function Zn() {
|
|
1499
1540
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1500
1541
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1501
1542
|
}
|
|
1502
|
-
function
|
|
1503
|
-
if (!!
|
|
1504
|
-
if (typeof
|
|
1505
|
-
return
|
|
1506
|
-
var
|
|
1507
|
-
if (
|
|
1508
|
-
return Array.from(
|
|
1509
|
-
if (
|
|
1510
|
-
return
|
|
1511
|
-
}
|
|
1512
|
-
}
|
|
1513
|
-
function
|
|
1514
|
-
(
|
|
1515
|
-
for (var
|
|
1516
|
-
|
|
1517
|
-
return
|
|
1518
|
-
}
|
|
1519
|
-
function
|
|
1520
|
-
var
|
|
1521
|
-
if (
|
|
1522
|
-
var
|
|
1543
|
+
function Jn(t, n) {
|
|
1544
|
+
if (!!t) {
|
|
1545
|
+
if (typeof t == "string")
|
|
1546
|
+
return Ie(t, n);
|
|
1547
|
+
var e = Object.prototype.toString.call(t).slice(8, -1);
|
|
1548
|
+
if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set")
|
|
1549
|
+
return Array.from(t);
|
|
1550
|
+
if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))
|
|
1551
|
+
return Ie(t, n);
|
|
1552
|
+
}
|
|
1553
|
+
}
|
|
1554
|
+
function Ie(t, n) {
|
|
1555
|
+
(n == null || n > t.length) && (n = t.length);
|
|
1556
|
+
for (var e = 0, r = new Array(n); e < n; e++)
|
|
1557
|
+
r[e] = t[e];
|
|
1558
|
+
return r;
|
|
1559
|
+
}
|
|
1560
|
+
function qn(t, n) {
|
|
1561
|
+
var e = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
1562
|
+
if (e != null) {
|
|
1563
|
+
var r = [], d = !0, i = !1, a, o;
|
|
1523
1564
|
try {
|
|
1524
|
-
for (
|
|
1565
|
+
for (e = e.call(t); !(d = (a = e.next()).done) && (r.push(a.value), !(n && r.length === n)); d = !0)
|
|
1525
1566
|
;
|
|
1526
|
-
} catch (
|
|
1527
|
-
|
|
1567
|
+
} catch ($) {
|
|
1568
|
+
i = !0, o = $;
|
|
1528
1569
|
} finally {
|
|
1529
1570
|
try {
|
|
1530
|
-
!
|
|
1571
|
+
!d && e.return != null && e.return();
|
|
1531
1572
|
} finally {
|
|
1532
|
-
if (
|
|
1533
|
-
throw
|
|
1573
|
+
if (i)
|
|
1574
|
+
throw o;
|
|
1534
1575
|
}
|
|
1535
1576
|
}
|
|
1536
|
-
return
|
|
1577
|
+
return r;
|
|
1537
1578
|
}
|
|
1538
1579
|
}
|
|
1539
|
-
function
|
|
1540
|
-
if (Array.isArray(
|
|
1541
|
-
return
|
|
1580
|
+
function zn(t) {
|
|
1581
|
+
if (Array.isArray(t))
|
|
1582
|
+
return t;
|
|
1542
1583
|
}
|
|
1543
|
-
function
|
|
1544
|
-
var
|
|
1545
|
-
return
|
|
1584
|
+
function Qn() {
|
|
1585
|
+
var t = ht(arguments), n = t.text, e = t.options, r = t.metadata;
|
|
1586
|
+
return ct(n, e, r);
|
|
1546
1587
|
}
|
|
1547
|
-
function
|
|
1548
|
-
var
|
|
1549
|
-
if (typeof
|
|
1550
|
-
|
|
1588
|
+
function ht(t) {
|
|
1589
|
+
var n = Array.prototype.slice.call(t), e = Yn(n, 4), r = e[0], d = e[1], i = e[2], a = e[3], o, $, u;
|
|
1590
|
+
if (typeof r == "string")
|
|
1591
|
+
o = r;
|
|
1551
1592
|
else
|
|
1552
1593
|
throw new TypeError("A text for parsing must be a string.");
|
|
1553
|
-
if (!
|
|
1554
|
-
|
|
1555
|
-
defaultCountry:
|
|
1556
|
-
},
|
|
1557
|
-
else if (
|
|
1558
|
-
|
|
1594
|
+
if (!d || typeof d == "string")
|
|
1595
|
+
a ? ($ = i, u = a) : ($ = void 0, u = i), d && ($ = Kn({
|
|
1596
|
+
defaultCountry: d
|
|
1597
|
+
}, $));
|
|
1598
|
+
else if (er(d))
|
|
1599
|
+
i ? ($ = d, u = i) : u = d;
|
|
1559
1600
|
else
|
|
1560
|
-
throw new Error("Invalid second argument: ".concat(
|
|
1601
|
+
throw new Error("Invalid second argument: ".concat(d));
|
|
1561
1602
|
return {
|
|
1562
|
-
text:
|
|
1563
|
-
options:
|
|
1564
|
-
metadata:
|
|
1603
|
+
text: o,
|
|
1604
|
+
options: $,
|
|
1605
|
+
metadata: u
|
|
1565
1606
|
};
|
|
1566
1607
|
}
|
|
1567
|
-
var
|
|
1568
|
-
return
|
|
1608
|
+
var er = function(n) {
|
|
1609
|
+
return Y(n) === "object";
|
|
1569
1610
|
};
|
|
1570
|
-
function
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1611
|
+
function we(t, n) {
|
|
1612
|
+
var e = Object.keys(t);
|
|
1613
|
+
if (Object.getOwnPropertySymbols) {
|
|
1614
|
+
var r = Object.getOwnPropertySymbols(t);
|
|
1615
|
+
n && (r = r.filter(function(d) {
|
|
1616
|
+
return Object.getOwnPropertyDescriptor(t, d).enumerable;
|
|
1617
|
+
})), e.push.apply(e, r);
|
|
1618
|
+
}
|
|
1619
|
+
return e;
|
|
1620
|
+
}
|
|
1621
|
+
function Ae(t) {
|
|
1622
|
+
for (var n = 1; n < arguments.length; n++) {
|
|
1623
|
+
var e = arguments[n] != null ? arguments[n] : {};
|
|
1624
|
+
n % 2 ? we(Object(e), !0).forEach(function(r) {
|
|
1625
|
+
tr(t, r, e[r]);
|
|
1626
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : we(Object(e)).forEach(function(r) {
|
|
1627
|
+
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(e, r));
|
|
1628
|
+
});
|
|
1629
|
+
}
|
|
1630
|
+
return t;
|
|
1631
|
+
}
|
|
1632
|
+
function tr(t, n, e) {
|
|
1633
|
+
return n in t ? Object.defineProperty(t, n, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : t[n] = e, t;
|
|
1634
|
+
}
|
|
1635
|
+
function nr(t, n, e) {
|
|
1636
|
+
n && n.defaultCountry && !jt(n.defaultCountry, e) && (n = Ae(Ae({}, n), {}, {
|
|
1637
|
+
defaultCountry: void 0
|
|
1638
|
+
}));
|
|
1639
|
+
try {
|
|
1640
|
+
return ct(t, n, e);
|
|
1641
|
+
} catch (r) {
|
|
1642
|
+
if (!(r instanceof C))
|
|
1643
|
+
throw r;
|
|
1644
|
+
}
|
|
1645
|
+
}
|
|
1646
|
+
function rr() {
|
|
1647
|
+
var t = ht(arguments), n = t.text, e = t.options, r = t.metadata;
|
|
1648
|
+
return nr(n, e, r);
|
|
1649
|
+
}
|
|
1650
|
+
function dr(t, n) {
|
|
1651
|
+
if (!(t instanceof n))
|
|
1652
|
+
throw new TypeError("Cannot call a class as a function");
|
|
1653
|
+
}
|
|
1654
|
+
function _e(t, n) {
|
|
1655
|
+
for (var e = 0; e < n.length; e++) {
|
|
1656
|
+
var r = n[e];
|
|
1657
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r);
|
|
1658
|
+
}
|
|
1659
|
+
}
|
|
1660
|
+
function ir(t, n, e) {
|
|
1661
|
+
return n && _e(t.prototype, n), e && _e(t, e), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
1662
|
+
}
|
|
1663
|
+
var ar = /* @__PURE__ */ function() {
|
|
1664
|
+
function t(n) {
|
|
1665
|
+
var e = n.onCountryChange, r = n.onCallingCodeChange;
|
|
1666
|
+
dr(this, t), this.onCountryChange = e, this.onCallingCodeChange = r;
|
|
1667
|
+
}
|
|
1668
|
+
return ir(t, [{
|
|
1669
|
+
key: "reset",
|
|
1670
|
+
value: function(e, r) {
|
|
1671
|
+
this.international = !1, this.IDDPrefix = void 0, this.missingPlus = void 0, this.callingCode = void 0, this.digits = "", this.resetNationalSignificantNumber(), this.initCountryAndCallingCode(e, r);
|
|
1672
|
+
}
|
|
1673
|
+
}, {
|
|
1674
|
+
key: "resetNationalSignificantNumber",
|
|
1675
|
+
value: function() {
|
|
1676
|
+
this.nationalSignificantNumber = this.getNationalDigits(), this.nationalSignificantNumberMatchesInput = !0, this.nationalPrefix = void 0, this.carrierCode = void 0, this.complexPrefixBeforeNationalSignificantNumber = void 0;
|
|
1677
|
+
}
|
|
1678
|
+
}, {
|
|
1679
|
+
key: "update",
|
|
1680
|
+
value: function(e) {
|
|
1681
|
+
for (var r = 0, d = Object.keys(e); r < d.length; r++) {
|
|
1682
|
+
var i = d[r];
|
|
1683
|
+
this[i] = e[i];
|
|
1684
|
+
}
|
|
1685
|
+
}
|
|
1686
|
+
}, {
|
|
1687
|
+
key: "initCountryAndCallingCode",
|
|
1688
|
+
value: function(e, r) {
|
|
1689
|
+
this.setCountry(e), this.setCallingCode(r);
|
|
1690
|
+
}
|
|
1691
|
+
}, {
|
|
1692
|
+
key: "setCountry",
|
|
1693
|
+
value: function(e) {
|
|
1694
|
+
this.country = e, this.onCountryChange(e);
|
|
1695
|
+
}
|
|
1696
|
+
}, {
|
|
1697
|
+
key: "setCallingCode",
|
|
1698
|
+
value: function(e) {
|
|
1699
|
+
this.callingCode = e, this.onCallingCodeChange(e, this.country);
|
|
1700
|
+
}
|
|
1701
|
+
}, {
|
|
1702
|
+
key: "startInternationalNumber",
|
|
1703
|
+
value: function(e, r) {
|
|
1704
|
+
this.international = !0, this.initCountryAndCallingCode(e, r);
|
|
1705
|
+
}
|
|
1706
|
+
}, {
|
|
1707
|
+
key: "appendDigits",
|
|
1708
|
+
value: function(e) {
|
|
1709
|
+
this.digits += e;
|
|
1710
|
+
}
|
|
1711
|
+
}, {
|
|
1712
|
+
key: "appendNationalSignificantNumberDigits",
|
|
1713
|
+
value: function(e) {
|
|
1714
|
+
this.nationalSignificantNumber += e;
|
|
1715
|
+
}
|
|
1716
|
+
}, {
|
|
1717
|
+
key: "getNationalDigits",
|
|
1718
|
+
value: function() {
|
|
1719
|
+
return this.international ? this.digits.slice((this.IDDPrefix ? this.IDDPrefix.length : 0) + (this.callingCode ? this.callingCode.length : 0)) : this.digits;
|
|
1720
|
+
}
|
|
1721
|
+
}, {
|
|
1722
|
+
key: "getDigitsWithoutInternationalPrefix",
|
|
1723
|
+
value: function() {
|
|
1724
|
+
return this.international && this.IDDPrefix ? this.digits.slice(this.IDDPrefix.length) : this.digits;
|
|
1725
|
+
}
|
|
1726
|
+
}]), t;
|
|
1727
|
+
}();
|
|
1728
|
+
function or(t, n) {
|
|
1729
|
+
var e = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
1730
|
+
if (e)
|
|
1731
|
+
return (e = e.call(t)).next.bind(e);
|
|
1732
|
+
if (Array.isArray(t) || (e = $r(t)) || n && t && typeof t.length == "number") {
|
|
1733
|
+
e && (t = e);
|
|
1734
|
+
var r = 0;
|
|
1735
|
+
return function() {
|
|
1736
|
+
return r >= t.length ? { done: !0 } : { done: !1, value: t[r++] };
|
|
1737
|
+
};
|
|
1738
|
+
}
|
|
1739
|
+
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
1740
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1741
|
+
}
|
|
1742
|
+
function $r(t, n) {
|
|
1743
|
+
if (!!t) {
|
|
1744
|
+
if (typeof t == "string")
|
|
1745
|
+
return Te(t, n);
|
|
1746
|
+
var e = Object.prototype.toString.call(t).slice(8, -1);
|
|
1747
|
+
if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set")
|
|
1748
|
+
return Array.from(t);
|
|
1749
|
+
if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))
|
|
1750
|
+
return Te(t, n);
|
|
1751
|
+
}
|
|
1752
|
+
}
|
|
1753
|
+
function Te(t, n) {
|
|
1754
|
+
(n == null || n > t.length) && (n = t.length);
|
|
1755
|
+
for (var e = 0, r = new Array(n); e < n; e++)
|
|
1756
|
+
r[e] = t[e];
|
|
1757
|
+
return r;
|
|
1758
|
+
}
|
|
1759
|
+
var p = "x", U = new RegExp(p);
|
|
1760
|
+
function T(t, n) {
|
|
1761
|
+
if (n < 1)
|
|
1762
|
+
return "";
|
|
1763
|
+
for (var e = ""; n > 1; )
|
|
1764
|
+
n & 1 && (e += t), n >>= 1, t += t;
|
|
1765
|
+
return e + t;
|
|
1766
|
+
}
|
|
1767
|
+
function Fe(t, n) {
|
|
1768
|
+
return t[n] === ")" && n++, ur(t.slice(0, n));
|
|
1769
|
+
}
|
|
1770
|
+
function ur(t) {
|
|
1771
|
+
for (var n = [], e = 0; e < t.length; )
|
|
1772
|
+
t[e] === "(" ? n.push(e) : t[e] === ")" && n.pop(), e++;
|
|
1773
|
+
var r = 0, d = "";
|
|
1774
|
+
n.push(t.length);
|
|
1775
|
+
for (var i = 0, a = n; i < a.length; i++) {
|
|
1776
|
+
var o = a[i];
|
|
1777
|
+
d += t.slice(r, o), r = o + 1;
|
|
1778
|
+
}
|
|
1779
|
+
return d;
|
|
1780
|
+
}
|
|
1781
|
+
function lr(t, n, e) {
|
|
1782
|
+
for (var r = or(e.split("")), d; !(d = r()).done; ) {
|
|
1783
|
+
var i = d.value;
|
|
1784
|
+
if (t.slice(n + 1).search(U) < 0)
|
|
1785
|
+
return;
|
|
1786
|
+
n = t.search(U), t = t.replace(U, i);
|
|
1787
|
+
}
|
|
1788
|
+
return [t, n];
|
|
1789
|
+
}
|
|
1790
|
+
function sr(t, n, e) {
|
|
1791
|
+
var r = e.metadata, d = e.shouldTryNationalPrefixFormattingRule, i = e.getSeparatorAfterNationalPrefix, a = new RegExp("^(?:".concat(n.pattern(), ")$"));
|
|
1792
|
+
if (a.test(t.nationalSignificantNumber))
|
|
1793
|
+
return cr(t, n, {
|
|
1794
|
+
metadata: r,
|
|
1795
|
+
shouldTryNationalPrefixFormattingRule: d,
|
|
1796
|
+
getSeparatorAfterNationalPrefix: i
|
|
1797
|
+
});
|
|
1798
|
+
}
|
|
1799
|
+
function fr(t, n) {
|
|
1800
|
+
return M(t, n) === "IS_POSSIBLE";
|
|
1801
|
+
}
|
|
1802
|
+
function cr(t, n, e) {
|
|
1803
|
+
var r = e.metadata, d = e.shouldTryNationalPrefixFormattingRule, i = e.getSeparatorAfterNationalPrefix;
|
|
1804
|
+
if (t.nationalSignificantNumber, t.international, t.nationalPrefix, t.carrierCode, d(n)) {
|
|
1805
|
+
var a = Oe(t, n, {
|
|
1806
|
+
useNationalPrefixFormattingRule: !0,
|
|
1807
|
+
getSeparatorAfterNationalPrefix: i,
|
|
1808
|
+
metadata: r
|
|
1809
|
+
});
|
|
1810
|
+
if (a)
|
|
1811
|
+
return a;
|
|
1812
|
+
}
|
|
1813
|
+
return Oe(t, n, {
|
|
1814
|
+
useNationalPrefixFormattingRule: !1,
|
|
1815
|
+
getSeparatorAfterNationalPrefix: i,
|
|
1816
|
+
metadata: r
|
|
1817
|
+
});
|
|
1818
|
+
}
|
|
1819
|
+
function Oe(t, n, e) {
|
|
1820
|
+
var r = e.metadata, d = e.useNationalPrefixFormattingRule, i = e.getSeparatorAfterNationalPrefix, a = ot(t.nationalSignificantNumber, n, {
|
|
1821
|
+
carrierCode: t.carrierCode,
|
|
1822
|
+
useInternationalFormat: t.international,
|
|
1823
|
+
withNationalPrefix: d,
|
|
1824
|
+
metadata: r
|
|
1825
|
+
});
|
|
1826
|
+
if (d || (t.nationalPrefix ? a = t.nationalPrefix + i(n) + a : t.complexPrefixBeforeNationalSignificantNumber && (a = t.complexPrefixBeforeNationalSignificantNumber + " " + a)), hr(a, t))
|
|
1827
|
+
return a;
|
|
1828
|
+
}
|
|
1829
|
+
function hr(t, n) {
|
|
1830
|
+
return O(t) === n.getNationalDigits();
|
|
1831
|
+
}
|
|
1832
|
+
function gr(t, n) {
|
|
1833
|
+
if (!(t instanceof n))
|
|
1834
|
+
throw new TypeError("Cannot call a class as a function");
|
|
1835
|
+
}
|
|
1836
|
+
function Re(t, n) {
|
|
1837
|
+
for (var e = 0; e < n.length; e++) {
|
|
1838
|
+
var r = n[e];
|
|
1839
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r);
|
|
1840
|
+
}
|
|
1841
|
+
}
|
|
1842
|
+
function mr(t, n, e) {
|
|
1843
|
+
return n && Re(t.prototype, n), e && Re(t, e), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
1844
|
+
}
|
|
1845
|
+
var vr = /* @__PURE__ */ function() {
|
|
1846
|
+
function t() {
|
|
1847
|
+
gr(this, t);
|
|
1848
|
+
}
|
|
1849
|
+
return mr(t, [{
|
|
1850
|
+
key: "parse",
|
|
1851
|
+
value: function(e) {
|
|
1852
|
+
if (this.context = [{
|
|
1853
|
+
or: !0,
|
|
1854
|
+
instructions: []
|
|
1855
|
+
}], this.parsePattern(e), this.context.length !== 1)
|
|
1856
|
+
throw new Error("Non-finalized contexts left when pattern parse ended");
|
|
1857
|
+
var r = this.context[0], d = r.branches, i = r.instructions;
|
|
1858
|
+
if (d)
|
|
1859
|
+
return {
|
|
1860
|
+
op: "|",
|
|
1861
|
+
args: d.concat([H(i)])
|
|
1862
|
+
};
|
|
1863
|
+
if (i.length === 0)
|
|
1864
|
+
throw new Error("Pattern is required");
|
|
1865
|
+
return i.length === 1 ? i[0] : i;
|
|
1866
|
+
}
|
|
1867
|
+
}, {
|
|
1868
|
+
key: "startContext",
|
|
1869
|
+
value: function(e) {
|
|
1870
|
+
this.context.push(e);
|
|
1871
|
+
}
|
|
1872
|
+
}, {
|
|
1873
|
+
key: "endContext",
|
|
1874
|
+
value: function() {
|
|
1875
|
+
this.context.pop();
|
|
1876
|
+
}
|
|
1877
|
+
}, {
|
|
1878
|
+
key: "getContext",
|
|
1879
|
+
value: function() {
|
|
1880
|
+
return this.context[this.context.length - 1];
|
|
1881
|
+
}
|
|
1882
|
+
}, {
|
|
1883
|
+
key: "parsePattern",
|
|
1884
|
+
value: function(e) {
|
|
1885
|
+
if (!e)
|
|
1886
|
+
throw new Error("Pattern is required");
|
|
1887
|
+
var r = e.match(pr);
|
|
1888
|
+
if (!r) {
|
|
1889
|
+
if (br.test(e))
|
|
1890
|
+
throw new Error("Illegal characters found in a pattern: ".concat(e));
|
|
1891
|
+
this.getContext().instructions = this.getContext().instructions.concat(e.split(""));
|
|
1892
|
+
return;
|
|
1893
|
+
}
|
|
1894
|
+
var d = r[1], i = e.slice(0, r.index), a = e.slice(r.index + d.length);
|
|
1895
|
+
switch (d) {
|
|
1896
|
+
case "(?:":
|
|
1897
|
+
i && this.parsePattern(i), this.startContext({
|
|
1898
|
+
or: !0,
|
|
1899
|
+
instructions: [],
|
|
1900
|
+
branches: []
|
|
1901
|
+
});
|
|
1902
|
+
break;
|
|
1903
|
+
case ")":
|
|
1904
|
+
if (!this.getContext().or)
|
|
1905
|
+
throw new Error('")" operator must be preceded by "(?:" operator');
|
|
1906
|
+
if (i && this.parsePattern(i), this.getContext().instructions.length === 0)
|
|
1907
|
+
throw new Error('No instructions found after "|" operator in an "or" group');
|
|
1908
|
+
var o = this.getContext(), $ = o.branches;
|
|
1909
|
+
$.push(H(this.getContext().instructions)), this.endContext(), this.getContext().instructions.push({
|
|
1910
|
+
op: "|",
|
|
1911
|
+
args: $
|
|
1912
|
+
});
|
|
1913
|
+
break;
|
|
1914
|
+
case "|":
|
|
1915
|
+
if (!this.getContext().or)
|
|
1916
|
+
throw new Error('"|" operator can only be used inside "or" groups');
|
|
1917
|
+
if (i && this.parsePattern(i), !this.getContext().branches)
|
|
1918
|
+
if (this.context.length === 1)
|
|
1919
|
+
this.getContext().branches = [];
|
|
1920
|
+
else
|
|
1921
|
+
throw new Error('"branches" not found in an "or" group context');
|
|
1922
|
+
this.getContext().branches.push(H(this.getContext().instructions)), this.getContext().instructions = [];
|
|
1923
|
+
break;
|
|
1924
|
+
case "[":
|
|
1925
|
+
i && this.parsePattern(i), this.startContext({
|
|
1926
|
+
oneOfSet: !0
|
|
1927
|
+
});
|
|
1928
|
+
break;
|
|
1929
|
+
case "]":
|
|
1930
|
+
if (!this.getContext().oneOfSet)
|
|
1931
|
+
throw new Error('"]" operator must be preceded by "[" operator');
|
|
1932
|
+
this.endContext(), this.getContext().instructions.push({
|
|
1933
|
+
op: "[]",
|
|
1934
|
+
args: yr(i)
|
|
1935
|
+
});
|
|
1936
|
+
break;
|
|
1937
|
+
default:
|
|
1938
|
+
throw new Error("Unknown operator: ".concat(d));
|
|
1939
|
+
}
|
|
1940
|
+
a && this.parsePattern(a);
|
|
1941
|
+
}
|
|
1942
|
+
}]), t;
|
|
1943
|
+
}();
|
|
1944
|
+
function yr(t) {
|
|
1945
|
+
for (var n = [], e = 0; e < t.length; ) {
|
|
1946
|
+
if (t[e] === "-") {
|
|
1947
|
+
if (e === 0 || e === t.length - 1)
|
|
1948
|
+
throw new Error("Couldn't parse a one-of set pattern: ".concat(t));
|
|
1949
|
+
for (var r = t[e - 1].charCodeAt(0) + 1, d = t[e + 1].charCodeAt(0) - 1, i = r; i <= d; )
|
|
1950
|
+
n.push(String.fromCharCode(i)), i++;
|
|
1951
|
+
} else
|
|
1952
|
+
n.push(t[e]);
|
|
1953
|
+
e++;
|
|
1954
|
+
}
|
|
1955
|
+
return n;
|
|
1956
|
+
}
|
|
1957
|
+
var br = /[\(\)\[\]\?\:\|]/, pr = new RegExp(
|
|
1958
|
+
"(\\||\\(\\?\\:|\\)|\\[|\\])"
|
|
1959
|
+
);
|
|
1960
|
+
function H(t) {
|
|
1961
|
+
return t.length === 1 ? t[0] : t;
|
|
1962
|
+
}
|
|
1963
|
+
function ke(t, n) {
|
|
1964
|
+
var e = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
1965
|
+
if (e)
|
|
1966
|
+
return (e = e.call(t)).next.bind(e);
|
|
1967
|
+
if (Array.isArray(t) || (e = xr(t)) || n && t && typeof t.length == "number") {
|
|
1968
|
+
e && (t = e);
|
|
1969
|
+
var r = 0;
|
|
1970
|
+
return function() {
|
|
1971
|
+
return r >= t.length ? { done: !0 } : { done: !1, value: t[r++] };
|
|
1972
|
+
};
|
|
1973
|
+
}
|
|
1974
|
+
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
1975
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1976
|
+
}
|
|
1977
|
+
function xr(t, n) {
|
|
1978
|
+
if (!!t) {
|
|
1979
|
+
if (typeof t == "string")
|
|
1980
|
+
return Le(t, n);
|
|
1981
|
+
var e = Object.prototype.toString.call(t).slice(8, -1);
|
|
1982
|
+
if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set")
|
|
1983
|
+
return Array.from(t);
|
|
1984
|
+
if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))
|
|
1985
|
+
return Le(t, n);
|
|
1986
|
+
}
|
|
1987
|
+
}
|
|
1988
|
+
function Le(t, n) {
|
|
1989
|
+
(n == null || n > t.length) && (n = t.length);
|
|
1990
|
+
for (var e = 0, r = new Array(n); e < n; e++)
|
|
1991
|
+
r[e] = t[e];
|
|
1992
|
+
return r;
|
|
1993
|
+
}
|
|
1994
|
+
function Nr(t, n) {
|
|
1995
|
+
if (!(t instanceof n))
|
|
1996
|
+
throw new TypeError("Cannot call a class as a function");
|
|
1997
|
+
}
|
|
1998
|
+
function De(t, n) {
|
|
1999
|
+
for (var e = 0; e < n.length; e++) {
|
|
2000
|
+
var r = n[e];
|
|
2001
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r);
|
|
2002
|
+
}
|
|
2003
|
+
}
|
|
2004
|
+
function Cr(t, n, e) {
|
|
2005
|
+
return n && De(t.prototype, n), e && De(t, e), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
2006
|
+
}
|
|
2007
|
+
var Pr = /* @__PURE__ */ function() {
|
|
2008
|
+
function t(n) {
|
|
2009
|
+
Nr(this, t), this.matchTree = new vr().parse(n);
|
|
2010
|
+
}
|
|
2011
|
+
return Cr(t, [{
|
|
2012
|
+
key: "match",
|
|
2013
|
+
value: function(e) {
|
|
2014
|
+
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, d = r.allowOverflow;
|
|
2015
|
+
if (!e)
|
|
2016
|
+
throw new Error("String is required");
|
|
2017
|
+
var i = Z(e.split(""), this.matchTree, !0);
|
|
2018
|
+
if (i && i.match && delete i.matchedChars, !(i && i.overflow && !d))
|
|
2019
|
+
return i;
|
|
2020
|
+
}
|
|
2021
|
+
}]), t;
|
|
2022
|
+
}();
|
|
2023
|
+
function Z(t, n, e) {
|
|
2024
|
+
if (typeof n == "string") {
|
|
2025
|
+
var r = t.join("");
|
|
2026
|
+
return n.indexOf(r) === 0 ? t.length === n.length ? {
|
|
2027
|
+
match: !0,
|
|
2028
|
+
matchedChars: t
|
|
2029
|
+
} : {
|
|
2030
|
+
partialMatch: !0
|
|
2031
|
+
} : r.indexOf(n) === 0 ? e && t.length > n.length ? {
|
|
2032
|
+
overflow: !0
|
|
2033
|
+
} : {
|
|
2034
|
+
match: !0,
|
|
2035
|
+
matchedChars: t.slice(0, n.length)
|
|
2036
|
+
} : void 0;
|
|
2037
|
+
}
|
|
2038
|
+
if (Array.isArray(n)) {
|
|
2039
|
+
for (var d = t.slice(), i = 0; i < n.length; ) {
|
|
2040
|
+
var a = n[i], o = Z(d, a, e && i === n.length - 1);
|
|
2041
|
+
if (o) {
|
|
2042
|
+
if (o.overflow)
|
|
2043
|
+
return o;
|
|
2044
|
+
if (o.match) {
|
|
2045
|
+
if (d = d.slice(o.matchedChars.length), d.length === 0)
|
|
2046
|
+
return i === n.length - 1 ? {
|
|
2047
|
+
match: !0,
|
|
2048
|
+
matchedChars: t
|
|
2049
|
+
} : {
|
|
2050
|
+
partialMatch: !0
|
|
2051
|
+
};
|
|
2052
|
+
} else {
|
|
2053
|
+
if (o.partialMatch)
|
|
2054
|
+
return {
|
|
2055
|
+
partialMatch: !0
|
|
2056
|
+
};
|
|
2057
|
+
throw new Error(`Unsupported match result:
|
|
2058
|
+
`.concat(JSON.stringify(o, null, 2)));
|
|
2059
|
+
}
|
|
2060
|
+
} else
|
|
2061
|
+
return;
|
|
2062
|
+
i++;
|
|
2063
|
+
}
|
|
2064
|
+
return e ? {
|
|
2065
|
+
overflow: !0
|
|
2066
|
+
} : {
|
|
2067
|
+
match: !0,
|
|
2068
|
+
matchedChars: t.slice(0, t.length - d.length)
|
|
2069
|
+
};
|
|
2070
|
+
}
|
|
2071
|
+
switch (n.op) {
|
|
2072
|
+
case "|":
|
|
2073
|
+
for (var $, u = ke(n.args), l; !(l = u()).done; ) {
|
|
2074
|
+
var s = l.value, f = Z(t, s, e);
|
|
2075
|
+
if (f) {
|
|
2076
|
+
if (f.overflow)
|
|
2077
|
+
return f;
|
|
2078
|
+
if (f.match)
|
|
2079
|
+
return {
|
|
2080
|
+
match: !0,
|
|
2081
|
+
matchedChars: f.matchedChars
|
|
2082
|
+
};
|
|
2083
|
+
if (f.partialMatch)
|
|
2084
|
+
$ = !0;
|
|
2085
|
+
else
|
|
2086
|
+
throw new Error(`Unsupported match result:
|
|
2087
|
+
`.concat(JSON.stringify(f, null, 2)));
|
|
2088
|
+
}
|
|
2089
|
+
}
|
|
2090
|
+
return $ ? {
|
|
2091
|
+
partialMatch: !0
|
|
2092
|
+
} : void 0;
|
|
2093
|
+
case "[]":
|
|
2094
|
+
for (var c = ke(n.args), y; !(y = c()).done; ) {
|
|
2095
|
+
var v = y.value;
|
|
2096
|
+
if (t[0] === v)
|
|
2097
|
+
return t.length === 1 ? {
|
|
2098
|
+
match: !0,
|
|
2099
|
+
matchedChars: t
|
|
2100
|
+
} : e ? {
|
|
2101
|
+
overflow: !0
|
|
2102
|
+
} : {
|
|
2103
|
+
match: !0,
|
|
2104
|
+
matchedChars: [v]
|
|
2105
|
+
};
|
|
2106
|
+
}
|
|
2107
|
+
return;
|
|
2108
|
+
default:
|
|
2109
|
+
throw new Error("Unsupported instruction tree: ".concat(n));
|
|
2110
|
+
}
|
|
2111
|
+
}
|
|
2112
|
+
function Me(t, n) {
|
|
2113
|
+
var e = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
2114
|
+
if (e)
|
|
2115
|
+
return (e = e.call(t)).next.bind(e);
|
|
2116
|
+
if (Array.isArray(t) || (e = Er(t)) || n && t && typeof t.length == "number") {
|
|
2117
|
+
e && (t = e);
|
|
2118
|
+
var r = 0;
|
|
2119
|
+
return function() {
|
|
2120
|
+
return r >= t.length ? { done: !0 } : { done: !1, value: t[r++] };
|
|
2121
|
+
};
|
|
2122
|
+
}
|
|
2123
|
+
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2124
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2125
|
+
}
|
|
2126
|
+
function Er(t, n) {
|
|
2127
|
+
if (!!t) {
|
|
2128
|
+
if (typeof t == "string")
|
|
2129
|
+
return Be(t, n);
|
|
2130
|
+
var e = Object.prototype.toString.call(t).slice(8, -1);
|
|
2131
|
+
if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set")
|
|
2132
|
+
return Array.from(t);
|
|
2133
|
+
if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))
|
|
2134
|
+
return Be(t, n);
|
|
2135
|
+
}
|
|
2136
|
+
}
|
|
2137
|
+
function Be(t, n) {
|
|
2138
|
+
(n == null || n > t.length) && (n = t.length);
|
|
2139
|
+
for (var e = 0, r = new Array(n); e < n; e++)
|
|
2140
|
+
r[e] = t[e];
|
|
2141
|
+
return r;
|
|
2142
|
+
}
|
|
2143
|
+
function Sr(t, n) {
|
|
2144
|
+
if (!(t instanceof n))
|
|
2145
|
+
throw new TypeError("Cannot call a class as a function");
|
|
2146
|
+
}
|
|
2147
|
+
function Ge(t, n) {
|
|
2148
|
+
for (var e = 0; e < n.length; e++) {
|
|
2149
|
+
var r = n[e];
|
|
2150
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r);
|
|
2151
|
+
}
|
|
2152
|
+
}
|
|
2153
|
+
function Ir(t, n, e) {
|
|
2154
|
+
return n && Ge(t.prototype, n), e && Ge(t, e), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
2155
|
+
}
|
|
2156
|
+
var J = "9", wr = 15, Ar = T(J, wr), _r = /[- ]/, Tr = function() {
|
|
2157
|
+
return /\[([^\[\]])*\]/g;
|
|
2158
|
+
}, Fr = function() {
|
|
2159
|
+
return /\d(?=[^,}][^,}])/g;
|
|
2160
|
+
}, Or = new RegExp("[" + x + "]*\\$1[" + x + "]*(\\$\\d[" + x + "]*)*$"), je = 3, Rr = /* @__PURE__ */ function() {
|
|
2161
|
+
function t(n) {
|
|
2162
|
+
n.state;
|
|
2163
|
+
var e = n.metadata;
|
|
2164
|
+
Sr(this, t), this.metadata = e, this.resetFormat();
|
|
2165
|
+
}
|
|
2166
|
+
return Ir(t, [{
|
|
2167
|
+
key: "resetFormat",
|
|
2168
|
+
value: function() {
|
|
2169
|
+
this.chosenFormat = void 0, this.template = void 0, this.nationalNumberTemplate = void 0, this.populatedNationalNumberTemplate = void 0, this.populatedNationalNumberTemplatePosition = -1;
|
|
2170
|
+
}
|
|
2171
|
+
}, {
|
|
2172
|
+
key: "reset",
|
|
2173
|
+
value: function(e, r) {
|
|
2174
|
+
this.resetFormat(), e ? (this.isNANP = e.callingCode() === "1", this.matchingFormats = e.formats(), r.nationalSignificantNumber && this.narrowDownMatchingFormats(r)) : (this.isNANP = void 0, this.matchingFormats = []);
|
|
2175
|
+
}
|
|
2176
|
+
}, {
|
|
2177
|
+
key: "format",
|
|
2178
|
+
value: function(e, r) {
|
|
2179
|
+
var d = this;
|
|
2180
|
+
if (fr(r.nationalSignificantNumber, this.metadata))
|
|
2181
|
+
for (var i = Me(this.matchingFormats), a; !(a = i()).done; ) {
|
|
2182
|
+
var o = a.value, $ = sr(r, o, {
|
|
2183
|
+
metadata: this.metadata,
|
|
2184
|
+
shouldTryNationalPrefixFormattingRule: function(l) {
|
|
2185
|
+
return d.shouldTryNationalPrefixFormattingRule(l, {
|
|
2186
|
+
international: r.international,
|
|
2187
|
+
nationalPrefix: r.nationalPrefix
|
|
2188
|
+
});
|
|
2189
|
+
},
|
|
2190
|
+
getSeparatorAfterNationalPrefix: function(l) {
|
|
2191
|
+
return d.getSeparatorAfterNationalPrefix(l);
|
|
2192
|
+
}
|
|
2193
|
+
});
|
|
2194
|
+
if ($)
|
|
2195
|
+
return this.resetFormat(), this.chosenFormat = o, this.setNationalNumberTemplate($.replace(/\d/g, p), r), this.populatedNationalNumberTemplate = $, this.populatedNationalNumberTemplatePosition = this.template.lastIndexOf(p), $;
|
|
2196
|
+
}
|
|
2197
|
+
return this.formatNationalNumberWithNextDigits(e, r);
|
|
2198
|
+
}
|
|
2199
|
+
}, {
|
|
2200
|
+
key: "formatNationalNumberWithNextDigits",
|
|
2201
|
+
value: function(e, r) {
|
|
2202
|
+
var d = this.chosenFormat, i = this.chooseFormat(r);
|
|
2203
|
+
if (i)
|
|
2204
|
+
return i === d ? this.formatNextNationalNumberDigits(e) : this.formatNextNationalNumberDigits(r.getNationalDigits());
|
|
2205
|
+
}
|
|
2206
|
+
}, {
|
|
2207
|
+
key: "narrowDownMatchingFormats",
|
|
2208
|
+
value: function(e) {
|
|
2209
|
+
var r = this, d = e.nationalSignificantNumber, i = e.nationalPrefix, a = e.international, o = d, $ = o.length - je;
|
|
2210
|
+
$ < 0 && ($ = 0), this.matchingFormats = this.matchingFormats.filter(function(u) {
|
|
2211
|
+
return r.formatSuits(u, a, i) && r.formatMatches(u, o, $);
|
|
2212
|
+
}), this.chosenFormat && this.matchingFormats.indexOf(this.chosenFormat) === -1 && this.resetFormat();
|
|
2213
|
+
}
|
|
2214
|
+
}, {
|
|
2215
|
+
key: "formatSuits",
|
|
2216
|
+
value: function(e, r, d) {
|
|
2217
|
+
return !(d && !e.usesNationalPrefix() && !e.nationalPrefixIsOptionalWhenFormattingInNationalFormat() || !r && !d && e.nationalPrefixIsMandatoryWhenFormattingInNationalFormat());
|
|
2218
|
+
}
|
|
2219
|
+
}, {
|
|
2220
|
+
key: "formatMatches",
|
|
2221
|
+
value: function(e, r, d) {
|
|
2222
|
+
var i = e.leadingDigitsPatterns().length;
|
|
2223
|
+
if (i === 0)
|
|
2224
|
+
return !0;
|
|
2225
|
+
d = Math.min(d, i - 1);
|
|
2226
|
+
var a = e.leadingDigitsPatterns()[d];
|
|
2227
|
+
if (r.length < je)
|
|
2228
|
+
try {
|
|
2229
|
+
return new Pr(a).match(r, {
|
|
2230
|
+
allowOverflow: !0
|
|
2231
|
+
}) !== void 0;
|
|
2232
|
+
} catch (o) {
|
|
2233
|
+
return console.error(o), !0;
|
|
2234
|
+
}
|
|
2235
|
+
return new RegExp("^(".concat(a, ")")).test(r);
|
|
2236
|
+
}
|
|
2237
|
+
}, {
|
|
2238
|
+
key: "getFormatFormat",
|
|
2239
|
+
value: function(e, r) {
|
|
2240
|
+
return r ? e.internationalFormat() : e.format();
|
|
2241
|
+
}
|
|
2242
|
+
}, {
|
|
2243
|
+
key: "chooseFormat",
|
|
2244
|
+
value: function(e) {
|
|
2245
|
+
for (var r = this, d = function() {
|
|
2246
|
+
var u = a.value;
|
|
2247
|
+
return r.chosenFormat === u ? "break" : Or.test(r.getFormatFormat(u, e.international)) ? r.createTemplateForFormat(u, e) ? (r.chosenFormat = u, "break") : (r.matchingFormats = r.matchingFormats.filter(function(l) {
|
|
2248
|
+
return l !== u;
|
|
2249
|
+
}), "continue") : "continue";
|
|
2250
|
+
}, i = Me(this.matchingFormats.slice()), a; !(a = i()).done; ) {
|
|
2251
|
+
var o = d();
|
|
2252
|
+
if (o === "break")
|
|
2253
|
+
break;
|
|
2254
|
+
}
|
|
2255
|
+
return this.chosenFormat || this.resetFormat(), this.chosenFormat;
|
|
2256
|
+
}
|
|
2257
|
+
}, {
|
|
2258
|
+
key: "createTemplateForFormat",
|
|
2259
|
+
value: function(e, r) {
|
|
2260
|
+
if (!(e.pattern().indexOf("|") >= 0)) {
|
|
2261
|
+
var d = this.getTemplateForFormat(e, r);
|
|
2262
|
+
if (d)
|
|
2263
|
+
return this.setNationalNumberTemplate(d, r), !0;
|
|
2264
|
+
}
|
|
2265
|
+
}
|
|
2266
|
+
}, {
|
|
2267
|
+
key: "getSeparatorAfterNationalPrefix",
|
|
2268
|
+
value: function(e) {
|
|
2269
|
+
return this.isNANP || e && e.nationalPrefixFormattingRule() && _r.test(e.nationalPrefixFormattingRule()) ? " " : "";
|
|
2270
|
+
}
|
|
2271
|
+
}, {
|
|
2272
|
+
key: "getInternationalPrefixBeforeCountryCallingCode",
|
|
2273
|
+
value: function(e, r) {
|
|
2274
|
+
var d = e.IDDPrefix, i = e.missingPlus;
|
|
2275
|
+
return d ? r && r.spacing === !1 ? d : d + " " : i ? "" : "+";
|
|
2276
|
+
}
|
|
2277
|
+
}, {
|
|
2278
|
+
key: "getTemplate",
|
|
2279
|
+
value: function(e) {
|
|
2280
|
+
if (!!this.template) {
|
|
2281
|
+
for (var r = -1, d = 0, i = e.international ? this.getInternationalPrefixBeforeCountryCallingCode(e, {
|
|
2282
|
+
spacing: !1
|
|
2283
|
+
}) : ""; d < i.length + e.getDigitsWithoutInternationalPrefix().length; )
|
|
2284
|
+
r = this.template.indexOf(p, r + 1), d++;
|
|
2285
|
+
return Fe(this.template, r + 1);
|
|
2286
|
+
}
|
|
2287
|
+
}
|
|
2288
|
+
}, {
|
|
2289
|
+
key: "setNationalNumberTemplate",
|
|
2290
|
+
value: function(e, r) {
|
|
2291
|
+
this.nationalNumberTemplate = e, this.populatedNationalNumberTemplate = e, this.populatedNationalNumberTemplatePosition = -1, r.international ? this.template = this.getInternationalPrefixBeforeCountryCallingCode(r).replace(/[\d\+]/g, p) + T(p, r.callingCode.length) + " " + e : this.template = e;
|
|
2292
|
+
}
|
|
2293
|
+
}, {
|
|
2294
|
+
key: "getTemplateForFormat",
|
|
2295
|
+
value: function(e, r) {
|
|
2296
|
+
var d = r.nationalSignificantNumber, i = r.international, a = r.nationalPrefix, o = r.complexPrefixBeforeNationalSignificantNumber, $ = e.pattern();
|
|
2297
|
+
$ = $.replace(Tr(), "\\d").replace(Fr(), "\\d");
|
|
2298
|
+
var u = Ar.match($)[0];
|
|
2299
|
+
if (!(d.length > u.length)) {
|
|
2300
|
+
var l = new RegExp("^" + $ + "$"), s = d.replace(/\d/g, J);
|
|
2301
|
+
l.test(s) && (u = s);
|
|
2302
|
+
var f = this.getFormatFormat(e, i), c;
|
|
2303
|
+
if (this.shouldTryNationalPrefixFormattingRule(e, {
|
|
2304
|
+
international: i,
|
|
2305
|
+
nationalPrefix: a
|
|
2306
|
+
})) {
|
|
2307
|
+
var y = f.replace(at, e.nationalPrefixFormattingRule());
|
|
2308
|
+
if (O(e.nationalPrefixFormattingRule()) === (a || "") + O("$1") && (f = y, c = !0, a))
|
|
2309
|
+
for (var v = a.length; v > 0; )
|
|
2310
|
+
f = f.replace(/\d/, p), v--;
|
|
2311
|
+
}
|
|
2312
|
+
var h = u.replace(new RegExp($), f).replace(new RegExp(J, "g"), p);
|
|
2313
|
+
return c || (o ? h = T(p, o.length) + " " + h : a && (h = T(p, a.length) + this.getSeparatorAfterNationalPrefix(e) + h)), i && (h = it(h)), h;
|
|
2314
|
+
}
|
|
2315
|
+
}
|
|
2316
|
+
}, {
|
|
2317
|
+
key: "formatNextNationalNumberDigits",
|
|
2318
|
+
value: function(e) {
|
|
2319
|
+
var r = lr(this.populatedNationalNumberTemplate, this.populatedNationalNumberTemplatePosition, e);
|
|
2320
|
+
if (!r) {
|
|
2321
|
+
this.resetFormat();
|
|
2322
|
+
return;
|
|
2323
|
+
}
|
|
2324
|
+
return this.populatedNationalNumberTemplate = r[0], this.populatedNationalNumberTemplatePosition = r[1], Fe(this.populatedNationalNumberTemplate, this.populatedNationalNumberTemplatePosition + 1);
|
|
2325
|
+
}
|
|
2326
|
+
}, {
|
|
2327
|
+
key: "shouldTryNationalPrefixFormattingRule",
|
|
2328
|
+
value: function(e, r) {
|
|
2329
|
+
var d = r.international, i = r.nationalPrefix;
|
|
2330
|
+
if (e.nationalPrefixFormattingRule()) {
|
|
2331
|
+
var a = e.usesNationalPrefix();
|
|
2332
|
+
if (a && i || !a && !d)
|
|
2333
|
+
return !0;
|
|
2334
|
+
}
|
|
2335
|
+
}
|
|
2336
|
+
}]), t;
|
|
2337
|
+
}();
|
|
2338
|
+
function gt(t, n) {
|
|
2339
|
+
return Mr(t) || Dr(t, n) || Lr(t, n) || kr();
|
|
2340
|
+
}
|
|
2341
|
+
function kr() {
|
|
2342
|
+
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2343
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2344
|
+
}
|
|
2345
|
+
function Lr(t, n) {
|
|
2346
|
+
if (!!t) {
|
|
2347
|
+
if (typeof t == "string")
|
|
2348
|
+
return Ue(t, n);
|
|
2349
|
+
var e = Object.prototype.toString.call(t).slice(8, -1);
|
|
2350
|
+
if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set")
|
|
2351
|
+
return Array.from(t);
|
|
2352
|
+
if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))
|
|
2353
|
+
return Ue(t, n);
|
|
2354
|
+
}
|
|
2355
|
+
}
|
|
2356
|
+
function Ue(t, n) {
|
|
2357
|
+
(n == null || n > t.length) && (n = t.length);
|
|
2358
|
+
for (var e = 0, r = new Array(n); e < n; e++)
|
|
2359
|
+
r[e] = t[e];
|
|
2360
|
+
return r;
|
|
2361
|
+
}
|
|
2362
|
+
function Dr(t, n) {
|
|
2363
|
+
var e = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
2364
|
+
if (e != null) {
|
|
2365
|
+
var r = [], d = !0, i = !1, a, o;
|
|
2366
|
+
try {
|
|
2367
|
+
for (e = e.call(t); !(d = (a = e.next()).done) && (r.push(a.value), !(n && r.length === n)); d = !0)
|
|
2368
|
+
;
|
|
2369
|
+
} catch ($) {
|
|
2370
|
+
i = !0, o = $;
|
|
2371
|
+
} finally {
|
|
2372
|
+
try {
|
|
2373
|
+
!d && e.return != null && e.return();
|
|
2374
|
+
} finally {
|
|
2375
|
+
if (i)
|
|
2376
|
+
throw o;
|
|
2377
|
+
}
|
|
2378
|
+
}
|
|
2379
|
+
return r;
|
|
2380
|
+
}
|
|
2381
|
+
}
|
|
2382
|
+
function Mr(t) {
|
|
2383
|
+
if (Array.isArray(t))
|
|
2384
|
+
return t;
|
|
2385
|
+
}
|
|
2386
|
+
function Br(t, n) {
|
|
2387
|
+
if (!(t instanceof n))
|
|
2388
|
+
throw new TypeError("Cannot call a class as a function");
|
|
2389
|
+
}
|
|
2390
|
+
function He(t, n) {
|
|
2391
|
+
for (var e = 0; e < n.length; e++) {
|
|
2392
|
+
var r = n[e];
|
|
2393
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r);
|
|
2394
|
+
}
|
|
2395
|
+
}
|
|
2396
|
+
function Gr(t, n, e) {
|
|
2397
|
+
return n && He(t.prototype, n), e && He(t, e), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
2398
|
+
}
|
|
2399
|
+
var jr = "[" + x + b + "]+", Ur = new RegExp("^" + jr + "$", "i"), Hr = "(?:[" + k + "][" + x + b + "]*|[" + x + b + "]+)", Wr = new RegExp("[^" + x + b + "]+.*$"), Vr = /[^\d\[\]]/, Kr = /* @__PURE__ */ function() {
|
|
2400
|
+
function t(n) {
|
|
2401
|
+
var e = n.defaultCountry, r = n.defaultCallingCode, d = n.metadata, i = n.onNationalSignificantNumberChange;
|
|
2402
|
+
Br(this, t), this.defaultCountry = e, this.defaultCallingCode = r, this.metadata = d, this.onNationalSignificantNumberChange = i;
|
|
2403
|
+
}
|
|
2404
|
+
return Gr(t, [{
|
|
2405
|
+
key: "input",
|
|
2406
|
+
value: function(e, r) {
|
|
2407
|
+
var d = Zr(e), i = gt(d, 2), a = i[0], o = i[1], $ = O(a), u;
|
|
2408
|
+
return o && (r.digits || (r.startInternationalNumber(), $ || (u = !0))), $ && this.inputDigits($, r), {
|
|
2409
|
+
digits: $,
|
|
2410
|
+
justLeadingPlus: u
|
|
2411
|
+
};
|
|
2412
|
+
}
|
|
2413
|
+
}, {
|
|
2414
|
+
key: "inputDigits",
|
|
2415
|
+
value: function(e, r) {
|
|
2416
|
+
var d = r.digits, i = d.length < 3 && d.length + e.length >= 3;
|
|
2417
|
+
if (r.appendDigits(e), i && this.extractIddPrefix(r), this.isWaitingForCountryCallingCode(r)) {
|
|
2418
|
+
if (!this.extractCountryCallingCode(r))
|
|
2419
|
+
return;
|
|
2420
|
+
} else
|
|
2421
|
+
r.appendNationalSignificantNumberDigits(e);
|
|
2422
|
+
r.international || this.hasExtractedNationalSignificantNumber || this.extractNationalSignificantNumber(r.getNationalDigits(), function(a) {
|
|
2423
|
+
return r.update(a);
|
|
2424
|
+
});
|
|
2425
|
+
}
|
|
2426
|
+
}, {
|
|
2427
|
+
key: "isWaitingForCountryCallingCode",
|
|
2428
|
+
value: function(e) {
|
|
2429
|
+
var r = e.international, d = e.callingCode;
|
|
2430
|
+
return r && !d;
|
|
2431
|
+
}
|
|
2432
|
+
}, {
|
|
2433
|
+
key: "extractCountryCallingCode",
|
|
2434
|
+
value: function(e) {
|
|
2435
|
+
var r = st("+" + e.getDigitsWithoutInternationalPrefix(), this.defaultCountry, this.defaultCallingCode, this.metadata.metadata), d = r.countryCallingCode, i = r.number;
|
|
2436
|
+
if (d)
|
|
2437
|
+
return e.setCallingCode(d), e.update({
|
|
2438
|
+
nationalSignificantNumber: i
|
|
2439
|
+
}), !0;
|
|
2440
|
+
}
|
|
2441
|
+
}, {
|
|
2442
|
+
key: "reset",
|
|
2443
|
+
value: function(e) {
|
|
2444
|
+
if (e) {
|
|
2445
|
+
this.hasSelectedNumberingPlan = !0;
|
|
2446
|
+
var r = e._nationalPrefixForParsing();
|
|
2447
|
+
this.couldPossiblyExtractAnotherNationalSignificantNumber = r && Vr.test(r);
|
|
2448
|
+
} else
|
|
2449
|
+
this.hasSelectedNumberingPlan = void 0, this.couldPossiblyExtractAnotherNationalSignificantNumber = void 0;
|
|
2450
|
+
}
|
|
2451
|
+
}, {
|
|
2452
|
+
key: "extractNationalSignificantNumber",
|
|
2453
|
+
value: function(e, r) {
|
|
2454
|
+
if (!!this.hasSelectedNumberingPlan) {
|
|
2455
|
+
var d = K(e, this.metadata), i = d.nationalPrefix, a = d.nationalNumber, o = d.carrierCode;
|
|
2456
|
+
if (a !== e)
|
|
2457
|
+
return this.onExtractedNationalNumber(i, o, a, e, r), !0;
|
|
2458
|
+
}
|
|
2459
|
+
}
|
|
2460
|
+
}, {
|
|
2461
|
+
key: "extractAnotherNationalSignificantNumber",
|
|
2462
|
+
value: function(e, r, d) {
|
|
2463
|
+
if (!this.hasExtractedNationalSignificantNumber)
|
|
2464
|
+
return this.extractNationalSignificantNumber(e, d);
|
|
2465
|
+
if (!!this.couldPossiblyExtractAnotherNationalSignificantNumber) {
|
|
2466
|
+
var i = K(e, this.metadata), a = i.nationalPrefix, o = i.nationalNumber, $ = i.carrierCode;
|
|
2467
|
+
if (o !== r)
|
|
2468
|
+
return this.onExtractedNationalNumber(a, $, o, e, d), !0;
|
|
2469
|
+
}
|
|
2470
|
+
}
|
|
2471
|
+
}, {
|
|
2472
|
+
key: "onExtractedNationalNumber",
|
|
2473
|
+
value: function(e, r, d, i, a) {
|
|
2474
|
+
var o, $, u = i.lastIndexOf(d);
|
|
2475
|
+
if (u >= 0 && u === i.length - d.length) {
|
|
2476
|
+
$ = !0;
|
|
2477
|
+
var l = i.slice(0, u);
|
|
2478
|
+
l !== e && (o = l);
|
|
2479
|
+
}
|
|
2480
|
+
a({
|
|
2481
|
+
nationalPrefix: e,
|
|
2482
|
+
carrierCode: r,
|
|
2483
|
+
nationalSignificantNumber: d,
|
|
2484
|
+
nationalSignificantNumberMatchesInput: $,
|
|
2485
|
+
complexPrefixBeforeNationalSignificantNumber: o
|
|
2486
|
+
}), this.hasExtractedNationalSignificantNumber = !0, this.onNationalSignificantNumberChange();
|
|
2487
|
+
}
|
|
2488
|
+
}, {
|
|
2489
|
+
key: "reExtractNationalSignificantNumber",
|
|
2490
|
+
value: function(e) {
|
|
2491
|
+
if (this.extractAnotherNationalSignificantNumber(e.getNationalDigits(), e.nationalSignificantNumber, function(r) {
|
|
2492
|
+
return e.update(r);
|
|
2493
|
+
}))
|
|
2494
|
+
return !0;
|
|
2495
|
+
if (this.extractIddPrefix(e))
|
|
2496
|
+
return this.extractCallingCodeAndNationalSignificantNumber(e), !0;
|
|
2497
|
+
if (this.fixMissingPlus(e))
|
|
2498
|
+
return this.extractCallingCodeAndNationalSignificantNumber(e), !0;
|
|
2499
|
+
}
|
|
2500
|
+
}, {
|
|
2501
|
+
key: "extractIddPrefix",
|
|
2502
|
+
value: function(e) {
|
|
2503
|
+
var r = e.international, d = e.IDDPrefix, i = e.digits;
|
|
2504
|
+
if (e.nationalSignificantNumber, !(r || d)) {
|
|
2505
|
+
var a = ut(i, this.defaultCountry, this.defaultCallingCode, this.metadata.metadata);
|
|
2506
|
+
if (a !== void 0 && a !== i)
|
|
2507
|
+
return e.update({
|
|
2508
|
+
IDDPrefix: i.slice(0, i.length - a.length)
|
|
2509
|
+
}), this.startInternationalNumber(e, {
|
|
2510
|
+
country: void 0,
|
|
2511
|
+
callingCode: void 0
|
|
2512
|
+
}), !0;
|
|
2513
|
+
}
|
|
2514
|
+
}
|
|
2515
|
+
}, {
|
|
2516
|
+
key: "fixMissingPlus",
|
|
2517
|
+
value: function(e) {
|
|
2518
|
+
if (!e.international) {
|
|
2519
|
+
var r = lt(e.digits, this.defaultCountry, this.defaultCallingCode, this.metadata.metadata), d = r.countryCallingCode;
|
|
2520
|
+
if (r.number, d)
|
|
2521
|
+
return e.update({
|
|
2522
|
+
missingPlus: !0
|
|
2523
|
+
}), this.startInternationalNumber(e, {
|
|
2524
|
+
country: e.country,
|
|
2525
|
+
callingCode: d
|
|
2526
|
+
}), !0;
|
|
2527
|
+
}
|
|
2528
|
+
}
|
|
2529
|
+
}, {
|
|
2530
|
+
key: "startInternationalNumber",
|
|
2531
|
+
value: function(e, r) {
|
|
2532
|
+
var d = r.country, i = r.callingCode;
|
|
2533
|
+
e.startInternationalNumber(d, i), e.nationalSignificantNumber && (e.resetNationalSignificantNumber(), this.onNationalSignificantNumberChange(), this.hasExtractedNationalSignificantNumber = void 0);
|
|
2534
|
+
}
|
|
2535
|
+
}, {
|
|
2536
|
+
key: "extractCallingCodeAndNationalSignificantNumber",
|
|
2537
|
+
value: function(e) {
|
|
2538
|
+
this.extractCountryCallingCode(e) && this.extractNationalSignificantNumber(e.getNationalDigits(), function(r) {
|
|
2539
|
+
return e.update(r);
|
|
2540
|
+
});
|
|
2541
|
+
}
|
|
2542
|
+
}]), t;
|
|
2543
|
+
}();
|
|
2544
|
+
function Xr(t) {
|
|
2545
|
+
var n = t.search(Hr);
|
|
2546
|
+
if (!(n < 0)) {
|
|
2547
|
+
t = t.slice(n);
|
|
2548
|
+
var e;
|
|
2549
|
+
return t[0] === "+" && (e = !0, t = t.slice(1)), t = t.replace(Wr, ""), e && (t = "+" + t), t;
|
|
2550
|
+
}
|
|
2551
|
+
}
|
|
2552
|
+
function Yr(t) {
|
|
2553
|
+
var n = Xr(t) || "";
|
|
2554
|
+
return n[0] === "+" ? [n.slice(1), !0] : [n];
|
|
2555
|
+
}
|
|
2556
|
+
function Zr(t) {
|
|
2557
|
+
var n = Yr(t), e = gt(n, 2), r = e[0], d = e[1];
|
|
2558
|
+
return Ur.test(r) || (r = ""), [r, d];
|
|
2559
|
+
}
|
|
2560
|
+
function q(t) {
|
|
2561
|
+
return q = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
|
|
2562
|
+
return typeof n;
|
|
2563
|
+
} : function(n) {
|
|
2564
|
+
return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
|
|
2565
|
+
}, q(t);
|
|
2566
|
+
}
|
|
2567
|
+
function Jr(t, n) {
|
|
2568
|
+
return ed(t) || Qr(t, n) || zr(t, n) || qr();
|
|
2569
|
+
}
|
|
2570
|
+
function qr() {
|
|
2571
|
+
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2572
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2573
|
+
}
|
|
2574
|
+
function zr(t, n) {
|
|
2575
|
+
if (!!t) {
|
|
2576
|
+
if (typeof t == "string")
|
|
2577
|
+
return We(t, n);
|
|
2578
|
+
var e = Object.prototype.toString.call(t).slice(8, -1);
|
|
2579
|
+
if (e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set")
|
|
2580
|
+
return Array.from(t);
|
|
2581
|
+
if (e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))
|
|
2582
|
+
return We(t, n);
|
|
2583
|
+
}
|
|
2584
|
+
}
|
|
2585
|
+
function We(t, n) {
|
|
2586
|
+
(n == null || n > t.length) && (n = t.length);
|
|
2587
|
+
for (var e = 0, r = new Array(n); e < n; e++)
|
|
2588
|
+
r[e] = t[e];
|
|
2589
|
+
return r;
|
|
2590
|
+
}
|
|
2591
|
+
function Qr(t, n) {
|
|
2592
|
+
var e = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
2593
|
+
if (e != null) {
|
|
2594
|
+
var r = [], d = !0, i = !1, a, o;
|
|
2595
|
+
try {
|
|
2596
|
+
for (e = e.call(t); !(d = (a = e.next()).done) && (r.push(a.value), !(n && r.length === n)); d = !0)
|
|
2597
|
+
;
|
|
2598
|
+
} catch ($) {
|
|
2599
|
+
i = !0, o = $;
|
|
2600
|
+
} finally {
|
|
2601
|
+
try {
|
|
2602
|
+
!d && e.return != null && e.return();
|
|
2603
|
+
} finally {
|
|
2604
|
+
if (i)
|
|
2605
|
+
throw o;
|
|
2606
|
+
}
|
|
2607
|
+
}
|
|
2608
|
+
return r;
|
|
2609
|
+
}
|
|
2610
|
+
}
|
|
2611
|
+
function ed(t) {
|
|
2612
|
+
if (Array.isArray(t))
|
|
2613
|
+
return t;
|
|
2614
|
+
}
|
|
2615
|
+
function td(t, n) {
|
|
2616
|
+
if (!(t instanceof n))
|
|
2617
|
+
throw new TypeError("Cannot call a class as a function");
|
|
2618
|
+
}
|
|
2619
|
+
function Ve(t, n) {
|
|
2620
|
+
for (var e = 0; e < n.length; e++) {
|
|
2621
|
+
var r = n[e];
|
|
2622
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r);
|
|
2623
|
+
}
|
|
2624
|
+
}
|
|
2625
|
+
function nd(t, n, e) {
|
|
2626
|
+
return n && Ve(t.prototype, n), e && Ve(t, e), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
2627
|
+
}
|
|
2628
|
+
var mt = /* @__PURE__ */ function() {
|
|
2629
|
+
function t(n, e) {
|
|
2630
|
+
td(this, t), this.metadata = new m(e);
|
|
2631
|
+
var r = this.getCountryAndCallingCode(n), d = Jr(r, 2), i = d[0], a = d[1];
|
|
2632
|
+
this.defaultCountry = i, this.defaultCallingCode = a, this.reset();
|
|
2633
|
+
}
|
|
2634
|
+
return nd(t, [{
|
|
2635
|
+
key: "getCountryAndCallingCode",
|
|
2636
|
+
value: function(e) {
|
|
2637
|
+
var r, d;
|
|
2638
|
+
return e && (q(e) === "object" ? (r = e.defaultCountry, d = e.defaultCallingCode) : r = e), r && !this.metadata.hasCountry(r) && (r = void 0), [r, d];
|
|
2639
|
+
}
|
|
2640
|
+
}, {
|
|
2641
|
+
key: "input",
|
|
2642
|
+
value: function(e) {
|
|
2643
|
+
var r = this.parser.input(e, this.state), d = r.digits, i = r.justLeadingPlus;
|
|
2644
|
+
if (i)
|
|
2645
|
+
this.formattedOutput = "+";
|
|
2646
|
+
else if (d) {
|
|
2647
|
+
this.determineTheCountryIfNeeded(), this.state.nationalSignificantNumber && this.formatter.narrowDownMatchingFormats(this.state);
|
|
2648
|
+
var a;
|
|
2649
|
+
if (this.metadata.hasSelectedNumberingPlan() && (a = this.formatter.format(d, this.state)), a === void 0 && this.parser.reExtractNationalSignificantNumber(this.state)) {
|
|
2650
|
+
this.determineTheCountryIfNeeded();
|
|
2651
|
+
var o = this.state.getNationalDigits();
|
|
2652
|
+
o && (a = this.formatter.format(o, this.state));
|
|
2653
|
+
}
|
|
2654
|
+
this.formattedOutput = a ? this.getFullNumber(a) : this.getNonFormattedNumber();
|
|
2655
|
+
}
|
|
2656
|
+
return this.formattedOutput;
|
|
2657
|
+
}
|
|
2658
|
+
}, {
|
|
2659
|
+
key: "reset",
|
|
2660
|
+
value: function() {
|
|
2661
|
+
var e = this;
|
|
2662
|
+
return this.state = new ar({
|
|
2663
|
+
onCountryChange: function(d) {
|
|
2664
|
+
e.country = d;
|
|
2665
|
+
},
|
|
2666
|
+
onCallingCodeChange: function(d, i) {
|
|
2667
|
+
e.metadata.selectNumberingPlan(i, d), e.formatter.reset(e.metadata.numberingPlan, e.state), e.parser.reset(e.metadata.numberingPlan);
|
|
2668
|
+
}
|
|
2669
|
+
}), this.formatter = new Rr({
|
|
2670
|
+
state: this.state,
|
|
2671
|
+
metadata: this.metadata
|
|
2672
|
+
}), this.parser = new Kr({
|
|
2673
|
+
defaultCountry: this.defaultCountry,
|
|
2674
|
+
defaultCallingCode: this.defaultCallingCode,
|
|
2675
|
+
metadata: this.metadata,
|
|
2676
|
+
state: this.state,
|
|
2677
|
+
onNationalSignificantNumberChange: function() {
|
|
2678
|
+
e.determineTheCountryIfNeeded(), e.formatter.reset(e.metadata.numberingPlan, e.state);
|
|
2679
|
+
}
|
|
2680
|
+
}), this.state.reset(this.defaultCountry, this.defaultCallingCode), this.formattedOutput = "", this;
|
|
2681
|
+
}
|
|
2682
|
+
}, {
|
|
2683
|
+
key: "isInternational",
|
|
2684
|
+
value: function() {
|
|
2685
|
+
return this.state.international;
|
|
2686
|
+
}
|
|
2687
|
+
}, {
|
|
2688
|
+
key: "getCallingCode",
|
|
2689
|
+
value: function() {
|
|
2690
|
+
if (this.isInternational())
|
|
2691
|
+
return this.state.callingCode;
|
|
2692
|
+
}
|
|
2693
|
+
}, {
|
|
2694
|
+
key: "getCountryCallingCode",
|
|
2695
|
+
value: function() {
|
|
2696
|
+
return this.getCallingCode();
|
|
2697
|
+
}
|
|
2698
|
+
}, {
|
|
2699
|
+
key: "getCountry",
|
|
2700
|
+
value: function() {
|
|
2701
|
+
var e = this.state.digits;
|
|
2702
|
+
if (e)
|
|
2703
|
+
return this._getCountry();
|
|
2704
|
+
}
|
|
2705
|
+
}, {
|
|
2706
|
+
key: "_getCountry",
|
|
2707
|
+
value: function() {
|
|
2708
|
+
var e = this.state.country;
|
|
2709
|
+
return e;
|
|
2710
|
+
}
|
|
2711
|
+
}, {
|
|
2712
|
+
key: "determineTheCountryIfNeeded",
|
|
2713
|
+
value: function() {
|
|
2714
|
+
(!this.state.country || this.isCountryCallingCodeAmbiguous()) && this.determineTheCountry();
|
|
2715
|
+
}
|
|
2716
|
+
}, {
|
|
2717
|
+
key: "getFullNumber",
|
|
2718
|
+
value: function(e) {
|
|
2719
|
+
var r = this;
|
|
2720
|
+
if (this.isInternational()) {
|
|
2721
|
+
var d = function(o) {
|
|
2722
|
+
return r.formatter.getInternationalPrefixBeforeCountryCallingCode(r.state, {
|
|
2723
|
+
spacing: !!o
|
|
2724
|
+
}) + o;
|
|
2725
|
+
}, i = this.state.callingCode;
|
|
2726
|
+
return d(i ? e ? "".concat(i, " ").concat(e) : i : "".concat(this.state.getDigitsWithoutInternationalPrefix()));
|
|
2727
|
+
}
|
|
2728
|
+
return e;
|
|
2729
|
+
}
|
|
2730
|
+
}, {
|
|
2731
|
+
key: "getNonFormattedNationalNumberWithPrefix",
|
|
2732
|
+
value: function() {
|
|
2733
|
+
var e = this.state, r = e.nationalSignificantNumber, d = e.complexPrefixBeforeNationalSignificantNumber, i = e.nationalPrefix, a = r, o = d || i;
|
|
2734
|
+
return o && (a = o + a), a;
|
|
2735
|
+
}
|
|
2736
|
+
}, {
|
|
2737
|
+
key: "getNonFormattedNumber",
|
|
2738
|
+
value: function() {
|
|
2739
|
+
var e = this.state.nationalSignificantNumberMatchesInput;
|
|
2740
|
+
return this.getFullNumber(e ? this.getNonFormattedNationalNumberWithPrefix() : this.state.getNationalDigits());
|
|
2741
|
+
}
|
|
2742
|
+
}, {
|
|
2743
|
+
key: "getNonFormattedTemplate",
|
|
2744
|
+
value: function() {
|
|
2745
|
+
var e = this.getNonFormattedNumber();
|
|
2746
|
+
if (e)
|
|
2747
|
+
return e.replace(/[\+\d]/g, p);
|
|
2748
|
+
}
|
|
2749
|
+
}, {
|
|
2750
|
+
key: "isCountryCallingCodeAmbiguous",
|
|
2751
|
+
value: function() {
|
|
2752
|
+
var e = this.state.callingCode, r = this.metadata.getCountryCodesForCallingCode(e);
|
|
2753
|
+
return r && r.length > 1;
|
|
2754
|
+
}
|
|
2755
|
+
}, {
|
|
2756
|
+
key: "determineTheCountry",
|
|
2757
|
+
value: function() {
|
|
2758
|
+
this.state.setCountry(ft(this.isInternational() ? this.state.callingCode : this.defaultCallingCode, this.state.nationalSignificantNumber, this.metadata));
|
|
2759
|
+
}
|
|
2760
|
+
}, {
|
|
2761
|
+
key: "getNumberValue",
|
|
2762
|
+
value: function() {
|
|
2763
|
+
var e = this.state, r = e.digits, d = e.callingCode, i = e.country, a = e.nationalSignificantNumber;
|
|
2764
|
+
if (!!r) {
|
|
2765
|
+
if (this.isInternational())
|
|
2766
|
+
return d ? "+" + d + a : "+" + r;
|
|
2767
|
+
if (i || d) {
|
|
2768
|
+
var o = i ? this.metadata.countryCallingCode() : d;
|
|
2769
|
+
return "+" + o + a;
|
|
2770
|
+
}
|
|
2771
|
+
}
|
|
2772
|
+
}
|
|
2773
|
+
}, {
|
|
2774
|
+
key: "getNumber",
|
|
2775
|
+
value: function() {
|
|
2776
|
+
var e = this.state, r = e.nationalSignificantNumber, d = e.carrierCode, i = e.callingCode, a = this._getCountry();
|
|
2777
|
+
if (!!r && !(!a && !i)) {
|
|
2778
|
+
var o = new $t(a || i, r, this.metadata.metadata);
|
|
2779
|
+
return d && (o.carrierCode = d), o;
|
|
2780
|
+
}
|
|
2781
|
+
}
|
|
2782
|
+
}, {
|
|
2783
|
+
key: "isPossible",
|
|
2784
|
+
value: function() {
|
|
2785
|
+
var e = this.getNumber();
|
|
2786
|
+
return e ? e.isPossible() : !1;
|
|
2787
|
+
}
|
|
2788
|
+
}, {
|
|
2789
|
+
key: "isValid",
|
|
2790
|
+
value: function() {
|
|
2791
|
+
var e = this.getNumber();
|
|
2792
|
+
return e ? e.isValid() : !1;
|
|
2793
|
+
}
|
|
2794
|
+
}, {
|
|
2795
|
+
key: "getNationalNumber",
|
|
2796
|
+
value: function() {
|
|
2797
|
+
return this.state.nationalSignificantNumber;
|
|
2798
|
+
}
|
|
2799
|
+
}, {
|
|
2800
|
+
key: "getChars",
|
|
2801
|
+
value: function() {
|
|
2802
|
+
return (this.state.international ? "+" : "") + this.state.digits;
|
|
2803
|
+
}
|
|
2804
|
+
}, {
|
|
2805
|
+
key: "getTemplate",
|
|
2806
|
+
value: function() {
|
|
2807
|
+
return this.formatter.getTemplate(this.state) || this.getNonFormattedTemplate() || "";
|
|
2808
|
+
}
|
|
2809
|
+
}]), t;
|
|
2810
|
+
}();
|
|
2811
|
+
function rd() {
|
|
2812
|
+
return Ze(Qn, arguments);
|
|
2813
|
+
}
|
|
2814
|
+
function dd() {
|
|
2815
|
+
return Ze(rr, arguments);
|
|
2816
|
+
}
|
|
2817
|
+
function w(t) {
|
|
2818
|
+
return mt.call(this, t, Ye);
|
|
2819
|
+
}
|
|
2820
|
+
w.prototype = Object.create(mt.prototype, {});
|
|
2821
|
+
w.prototype.constructor = w;
|
|
2822
|
+
function Ke(t, n) {
|
|
2823
|
+
return n = n || {}, new Promise(function(e, r) {
|
|
2824
|
+
var d = new XMLHttpRequest(), i = [], a = [], o = {}, $ = function() {
|
|
2825
|
+
return { ok: (d.status / 100 | 0) == 2, statusText: d.statusText, status: d.status, url: d.responseURL, text: function() {
|
|
2826
|
+
return Promise.resolve(d.responseText);
|
|
1578
2827
|
}, json: function() {
|
|
1579
|
-
return Promise.resolve(
|
|
2828
|
+
return Promise.resolve(d.responseText).then(JSON.parse);
|
|
1580
2829
|
}, blob: function() {
|
|
1581
|
-
return Promise.resolve(new Blob([
|
|
1582
|
-
}, clone:
|
|
1583
|
-
return n;
|
|
1584
|
-
}, entries: function() {
|
|
2830
|
+
return Promise.resolve(new Blob([d.response]));
|
|
2831
|
+
}, clone: $, headers: { keys: function() {
|
|
1585
2832
|
return i;
|
|
1586
|
-
},
|
|
1587
|
-
return a
|
|
1588
|
-
},
|
|
1589
|
-
return
|
|
2833
|
+
}, entries: function() {
|
|
2834
|
+
return a;
|
|
2835
|
+
}, get: function(l) {
|
|
2836
|
+
return o[l.toLowerCase()];
|
|
2837
|
+
}, has: function(l) {
|
|
2838
|
+
return l.toLowerCase() in o;
|
|
1590
2839
|
} } };
|
|
1591
2840
|
};
|
|
1592
|
-
for (var
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
}), $(
|
|
1596
|
-
},
|
|
1597
|
-
|
|
1598
|
-
|
|
2841
|
+
for (var u in d.open(n.method || "get", t, !0), d.onload = function() {
|
|
2842
|
+
d.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm, function(l, s, f) {
|
|
2843
|
+
i.push(s = s.toLowerCase()), a.push([s, f]), o[s] = o[s] ? o[s] + "," + f : f;
|
|
2844
|
+
}), e($());
|
|
2845
|
+
}, d.onerror = r, d.withCredentials = n.credentials == "include", n.headers)
|
|
2846
|
+
d.setRequestHeader(u, n.headers[u]);
|
|
2847
|
+
d.send(n.body || null);
|
|
1599
2848
|
});
|
|
1600
2849
|
}
|
|
1601
|
-
const
|
|
2850
|
+
const id = {
|
|
1602
2851
|
services: {
|
|
1603
2852
|
connections: "https://connections.voxie.com"
|
|
1604
2853
|
}
|
|
1605
|
-
}
|
|
1606
|
-
class
|
|
1607
|
-
constructor(
|
|
1608
|
-
|
|
1609
|
-
this
|
|
1610
|
-
|
|
2854
|
+
};
|
|
2855
|
+
class ad {
|
|
2856
|
+
constructor(n) {
|
|
2857
|
+
g(this, "captureFn");
|
|
2858
|
+
g(this, "closed", !0);
|
|
2859
|
+
g(this, "elements");
|
|
2860
|
+
g(this, "classes", {
|
|
2861
|
+
toggle: {
|
|
2862
|
+
base: "vx-open vx-inline-block vx-origin-bottom-right vx-rounded-2xl vx-border vx-border-white/60 vx-bg-slate-100/70 vx-p-2 vx-pb-0 vx-shadow-md vx-backdrop-blur-md",
|
|
2863
|
+
open: "vx-opacity-100",
|
|
2864
|
+
closed: "vx-scale-1 vx-opacity-0 vx-invisible vx-translate-y-4"
|
|
2865
|
+
},
|
|
2866
|
+
btn: {
|
|
2867
|
+
base: "vx-group vx-relative vx-h-14 vx-w-14 vx-cursor-pointer vx-overflow-hidden vx-rounded-2xl vx-border vx-text-white vx-shadow-md vx-backdrop-blur-md vx-transition-all vx-duration-300 active:vx-scale-95 active:vx-opacity-80",
|
|
2868
|
+
open: "vx-border-neutral-800 vx-bg-neutral-800 hover:vx-bg-neutral-600",
|
|
2869
|
+
closed: "vx-bg-slate-100/70 vx-border-white/60"
|
|
2870
|
+
},
|
|
2871
|
+
icon: {
|
|
2872
|
+
base: "vx-absolute vx-left-1/2 vx-top-1/2 mt-[2px] -vx-translate-x-1/2 -vx-translate-y-1/2 vx-fill-neutral-800 vx-transition-all vx-duration-300 group-hover:vx-fill-neutral-600 group-active:vx-fill-neutral-800",
|
|
2873
|
+
open: "vx-scale-200 vx-h-full vx-opacity-0",
|
|
2874
|
+
closed: "vx-w-full vx-z-10"
|
|
2875
|
+
},
|
|
2876
|
+
xmark: {
|
|
2877
|
+
base: "vx-absolute vx-left-1/2 vx-top-1/2 vx-mt-[2px] -vx-translate-x-1/2 -vx-translate-y-1/2 vx-transition-all vx-duration-300 vx-w-4 vx-h-4",
|
|
2878
|
+
open: "vx-z-back vx-opacity-100 vx-fill-white",
|
|
2879
|
+
closed: "vx-z-0 vx-opacity-0"
|
|
2880
|
+
}
|
|
2881
|
+
});
|
|
2882
|
+
g(this, "addStyles", () => {
|
|
2883
|
+
const n = document.createElement("style");
|
|
2884
|
+
n.innerHTML = this.styles(), document.head.appendChild(n);
|
|
2885
|
+
});
|
|
2886
|
+
g(this, "assignElements", () => {
|
|
2887
|
+
this.elements.toggle = document.getElementById("vx-toggle"), this.elements.btn = document.getElementById("vx-btn"), this.elements.icon = document.getElementById("vx-icon"), this.elements.xmark = document.getElementById("vx-xmark"), this.elements.form = document.getElementById("vx-form"), this.elements.submit = document.getElementById("vx-submit");
|
|
2888
|
+
});
|
|
2889
|
+
g(this, "setBindings", () => {
|
|
2890
|
+
var n, e;
|
|
2891
|
+
this.elements.btn && (this.elements.btn.onclick = () => this.toggle()), (n = document.getElementById("vx-phone-number__input")) == null || n.addEventListener(
|
|
2892
|
+
"keypress",
|
|
2893
|
+
(r) => r.target instanceof HTMLInputElement && (r.target.value = new w("US").input(r.target.value))
|
|
2894
|
+
), (e = document.getElementById("vx-phone-number__input")) == null || e.addEventListener(
|
|
2895
|
+
"paste",
|
|
2896
|
+
(r) => r.target instanceof HTMLInputElement && (r.target.value = new w("US").input(r.target.value))
|
|
2897
|
+
), this.elements.submit && this.elements.form && (this.elements.form.onsubmit = async (r) => {
|
|
2898
|
+
var $, u, l, s, f;
|
|
2899
|
+
r.preventDefault();
|
|
2900
|
+
const d = new FormData(r.target);
|
|
2901
|
+
let i = ($ = d.get("vx-first-name")) == null ? void 0 : $.toString();
|
|
2902
|
+
const a = dd(
|
|
2903
|
+
((u = d.get("vx-phone-number")) == null ? void 0 : u.toString()) || "",
|
|
2904
|
+
"US"
|
|
2905
|
+
);
|
|
2906
|
+
let o = !1;
|
|
2907
|
+
if (i != null && i.length > 0 && a != null && a.isPossible()) {
|
|
2908
|
+
if (i = i.replace(/[^a-zA-Z0-9]+/g, ""), i.length > 0 ? o = await this.captureFn(a.format("E.164"), {
|
|
2909
|
+
firstName: i
|
|
2910
|
+
}) : o = await this.captureFn(a.format("E.164")), o) {
|
|
2911
|
+
const c = document.querySelector("#vx-phone-number p");
|
|
2912
|
+
c && (c.textContent = "");
|
|
2913
|
+
const y = document.getElementById("vx-pop-up__title");
|
|
2914
|
+
y && (y.innerHTML = 'Chat soon <span class="vx-pop-up__wave vx-pl-1">\u{1F44B}</span>');
|
|
2915
|
+
const v = document.getElementById("vx-pop-up__msg");
|
|
2916
|
+
v && (v.textContent = "Thanks for signing up. We will be in touch shortly.");
|
|
2917
|
+
const h = document.getElementById("vx-first-name__input");
|
|
2918
|
+
h == null || h.setAttribute("disabled", "disabled");
|
|
2919
|
+
const E = document.getElementById(
|
|
2920
|
+
"vx-phone-number__input"
|
|
2921
|
+
);
|
|
2922
|
+
E == null || E.setAttribute("disabled", "disabled"), (l = this.elements.btn) == null || l.setAttribute("disabled", "disabled"), this.elements.submit && (this.elements.submit.disabled = !0);
|
|
2923
|
+
const A = document.querySelector(
|
|
2924
|
+
`#${(s = this.elements.submit) == null ? void 0 : s.id} span`
|
|
2925
|
+
);
|
|
2926
|
+
A && (A.textContent = "Thanks"), setTimeout(() => {
|
|
2927
|
+
this.close(), this.elements.btn && (this.elements.btn.style.cssText = "opacity: 0"), setTimeout(() => {
|
|
2928
|
+
var ne;
|
|
2929
|
+
(ne = this.elements.container) == null || ne.remove();
|
|
2930
|
+
}, 1e3);
|
|
2931
|
+
}, 5e3);
|
|
2932
|
+
}
|
|
2933
|
+
} else if (i == null || i.length == 0)
|
|
2934
|
+
(f = document.getElementById("vx-first-name__input")) == null || f.setAttribute("required", "required");
|
|
2935
|
+
else if (!(a != null && a.isPossible())) {
|
|
2936
|
+
const c = document.querySelector("#vx-phone-number p");
|
|
2937
|
+
if (c) {
|
|
2938
|
+
const y = (v, h) => Math.floor(Math.random() * (h - v) + v);
|
|
2939
|
+
c.textContent = `Please provide your number in (555) ${y(
|
|
2940
|
+
100,
|
|
2941
|
+
999
|
|
2942
|
+
)}-${y(1e3, 9999)} format.`;
|
|
2943
|
+
}
|
|
2944
|
+
}
|
|
2945
|
+
});
|
|
2946
|
+
});
|
|
2947
|
+
g(this, "toggle", () => {
|
|
2948
|
+
this.closed ? this.open() : this.close(), this.closed = !this.closed;
|
|
2949
|
+
});
|
|
2950
|
+
g(this, "setClasses", (n, ...e) => n && n.setAttribute("class", e.join(" ")));
|
|
2951
|
+
g(this, "close", () => {
|
|
2952
|
+
this.setClasses(
|
|
2953
|
+
this.elements.toggle,
|
|
2954
|
+
this.classes.toggle.base,
|
|
2955
|
+
this.classes.toggle.closed
|
|
2956
|
+
), this.setClasses(
|
|
2957
|
+
this.elements.btn,
|
|
2958
|
+
this.classes.btn.base,
|
|
2959
|
+
this.classes.btn.closed
|
|
2960
|
+
), this.setClasses(
|
|
2961
|
+
this.elements.icon,
|
|
2962
|
+
this.classes.icon.base,
|
|
2963
|
+
this.classes.icon.closed
|
|
2964
|
+
), this.setClasses(
|
|
2965
|
+
this.elements.xmark,
|
|
2966
|
+
this.classes.xmark.base,
|
|
2967
|
+
this.classes.xmark.closed
|
|
2968
|
+
);
|
|
2969
|
+
});
|
|
2970
|
+
g(this, "open", () => {
|
|
2971
|
+
this.setClasses(
|
|
2972
|
+
this.elements.toggle,
|
|
2973
|
+
this.classes.toggle.base,
|
|
2974
|
+
this.classes.toggle.open
|
|
2975
|
+
), this.setClasses(
|
|
2976
|
+
this.elements.btn,
|
|
2977
|
+
this.classes.btn.base,
|
|
2978
|
+
this.classes.btn.open
|
|
2979
|
+
), this.setClasses(
|
|
2980
|
+
this.elements.icon,
|
|
2981
|
+
this.classes.icon.base,
|
|
2982
|
+
this.classes.icon.open
|
|
2983
|
+
), this.setClasses(
|
|
2984
|
+
this.elements.xmark,
|
|
2985
|
+
this.classes.xmark.base,
|
|
2986
|
+
this.classes.xmark.open
|
|
2987
|
+
);
|
|
2988
|
+
});
|
|
2989
|
+
g(this, "html", () => `<div id="vx-pop-up" style="visibility: hidden">
|
|
2990
|
+
<div
|
|
2991
|
+
id="vx-panel"
|
|
2992
|
+
class="vx-absolute vx-bottom-8 vx-right-8 vx-flex vx-flex-col vx-items-end vx-gap-2 vx-duration-300 vx-max-w-panel"
|
|
2993
|
+
>
|
|
2994
|
+
<div
|
|
2995
|
+
id="vx-toggle"
|
|
2996
|
+
style="transition: visibility 0s, all 0.2s ease-in-out;"
|
|
2997
|
+
>
|
|
2998
|
+
<div class="vx-rounded-lg vx-bg-white vx-p-8 vx-shadow">
|
|
2999
|
+
<p
|
|
3000
|
+
class="vx-font-bold"
|
|
3001
|
+
id="vx-pop-up__title"
|
|
3002
|
+
>
|
|
3003
|
+
Keep in Touch
|
|
3004
|
+
</p>
|
|
3005
|
+
<p
|
|
3006
|
+
id="vx-pop-up__msg"
|
|
3007
|
+
class="vx-text-slate-600 vx-text-xs"
|
|
3008
|
+
>
|
|
3009
|
+
Would you like to receive special offers via text?
|
|
3010
|
+
</p>
|
|
3011
|
+
<form id="vx-form" class="vx-mt-5">
|
|
3012
|
+
<label
|
|
3013
|
+
id="vx-first-name"
|
|
3014
|
+
class="vx-block vx-my-2"
|
|
3015
|
+
for="vx-first-name"
|
|
3016
|
+
>
|
|
3017
|
+
<span class="vx-block vx-text-xs vx-font-medium vx-text-slate-700">First Name *</span>
|
|
3018
|
+
<input
|
|
3019
|
+
type="text"
|
|
3020
|
+
id="vx-first-name__input"
|
|
3021
|
+
name="vx-first-name"
|
|
3022
|
+
class="vx-mt-1 vx-block vx-w-full vx-px-3 vx-py-2 vx-bg-white vx-border vx-border-slate-300 vx-rounded-md vx-text-sm vx-placeholder-slate-400 focus:vx-outline-none focus:vx-border-sky-500 focus:vx-ring-1 focus:vx-ring-sky-500 disabled:vx-bg-slate-50 disabled:vx-text-slate-500 disabled:vx-border-slate-200 disabled:vx-shadow-none invalid:vx-border-pink-500 invalid:vx-text-pink-600 focus:invalid:vx-border-pink-500 focus:invalid:vx-ring-pink-500"
|
|
3023
|
+
/>
|
|
3024
|
+
</label>
|
|
3025
|
+
<label id="vx-phone-number" for="vx-phone-number"
|
|
3026
|
+
class="vx-block vx-my-2">
|
|
3027
|
+
<span class="vx-block vx-text-xs vx-font-medium vx-text-slate-700"
|
|
3028
|
+
)}">Phone Number *</span>
|
|
3029
|
+
<p class="vx-text-xs vx-font-normal vx-text-pink-600")}"></p>
|
|
3030
|
+
<input
|
|
3031
|
+
type="tel"
|
|
3032
|
+
id="vx-phone-number__input"
|
|
3033
|
+
name="vx-phone-number"
|
|
3034
|
+
class="vx-mt-1 vx-block vx-w-full vx-px-3 vx-py-2 vx-bg-white vx-border vx-border-slate-300 vx-rounded-md vx-text-sm vx-placeholder-slate-400 focus:vx-outline-none focus:vx-border-sky-500 focus:vx-ring-1 focus:vx-ring-sky-500 disabled:vx-bg-slate-50 disabled:vx-text-slate-500 disabled:vx-border-slate-200 disabled:vx-shadow-none invalid:vx-border-pink-500 invalid:vx-text-pink-600 focus:invalid:vx-border-pink-500 focus:invalid:vx-ring-pink-500"
|
|
3035
|
+
/>
|
|
3036
|
+
</label>
|
|
3037
|
+
<button
|
|
3038
|
+
id="vx-submit"
|
|
3039
|
+
type="submit"
|
|
3040
|
+
class="vx-transition vx-rounded-lg vx-bg-neutral-800 vx-w-full vx-pb-2 vx-pt-1 vx-mt-2 hover:vx-bg-neutral-600 active:vx-scale-95 active:vx-opacity-80 disabled:vx-scale-100 disabled:vx-cursor-not-allowed disabled:vx-opacity-60 disabled:hover:vx-bg-neutral-800 focus:vx-outline-none focus:vx-border-sky-500 focus:vx-ring-1 focus:vx-ring-sky-500"
|
|
3041
|
+
>
|
|
3042
|
+
<span class="vx-text-xs vx-font-semibold vx-text-white">Sign Up</span>
|
|
3043
|
+
</button>
|
|
3044
|
+
</form>
|
|
3045
|
+
</div>
|
|
3046
|
+
<div class="vx-py-2 vx-font-sans vx-text-xs vx-text-neutral-600 vx-text-center">
|
|
3047
|
+
Powered by <span class="vx-font-bold">Voxie</span>
|
|
3048
|
+
</div>
|
|
3049
|
+
</div>
|
|
3050
|
+
|
|
3051
|
+
<button id="vx-btn">
|
|
3052
|
+
<svg
|
|
3053
|
+
id="vx-icon"
|
|
3054
|
+
width="24"
|
|
3055
|
+
height="28"
|
|
3056
|
+
viewBox="0 0 24 28"
|
|
3057
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3058
|
+
>
|
|
3059
|
+
<path
|
|
3060
|
+
d="M18.6953 0.981445H5.3076C4.61052 0.981445 3.92027 1.12142 3.27626 1.39339C2.63225 1.66535 2.04711 2.06398 1.55424 2.5665C1.06137 3.06901 0.670436 3.66558 0.403757 4.32213C0.137078 4.97868 -0.00011896 5.68235 7.73939e-08 6.39295V18.1556C7.73939e-08 19.5906 0.559192 20.9668 1.55456 21.9815C2.54993 22.9962 3.89994 23.5662 5.3076 23.5662V27.0993L9.8294 23.5662H18.6926C20.1003 23.5662 21.4503 22.9962 22.4457 21.9815C23.441 20.9668 24.0002 19.5906 24.0002 18.1556V6.39295C24.0005 4.9583 23.4418 3.58228 22.4469 2.56748C21.4521 1.55267 20.1027 0.98218 18.6953 0.981445Z"
|
|
3061
|
+
/>
|
|
3062
|
+
</svg>
|
|
3063
|
+
<svg
|
|
3064
|
+
id="vx-xmark"
|
|
3065
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3066
|
+
viewBox="0 0 320 512"
|
|
3067
|
+
fill="#FFFFFF"
|
|
3068
|
+
>
|
|
3069
|
+
<path
|
|
3070
|
+
d="M312.1 375c9.369 9.369 9.369 24.57 0 33.94s-24.57 9.369-33.94 0L160 289.9l-119 119c-9.369 9.369-24.57 9.369-33.94 0s-9.369-24.57 0-33.94L126.1 256L7.027 136.1c-9.369-9.369-9.369-24.57 0-33.94s24.57-9.369 33.94 0L160 222.1l119-119c9.369-9.369 24.57-9.369 33.94 0s9.369 24.57 0 33.94L193.9 256L312.1 375z"
|
|
3071
|
+
/>
|
|
3072
|
+
</svg>
|
|
3073
|
+
<i id="vx-i"></i>
|
|
3074
|
+
</button>
|
|
3075
|
+
</div>`);
|
|
3076
|
+
g(this, "styles", () => `
|
|
3077
|
+
.vx-pop-up__wave {
|
|
3078
|
+
animation-name: vx-wave-animation;
|
|
3079
|
+
animation-duration: 2s;
|
|
3080
|
+
animation-iteration-count: 2;
|
|
3081
|
+
transform-origin: 70% 70%;
|
|
3082
|
+
display: inline-block;
|
|
3083
|
+
scale: 1.25;
|
|
3084
|
+
}
|
|
3085
|
+
|
|
3086
|
+
@keyframes vx-wave-animation {
|
|
3087
|
+
0% { transform: rotate( 0.0deg) }
|
|
3088
|
+
10% { transform: rotate(14.0deg) }
|
|
3089
|
+
20% { transform: rotate(-8.0deg) }
|
|
3090
|
+
30% { transform: rotate(14.0deg) }
|
|
3091
|
+
40% { transform: rotate(-4.0deg) }
|
|
3092
|
+
50% { transform: rotate(10.0deg) }
|
|
3093
|
+
60% { transform: rotate( 0.0deg) }
|
|
3094
|
+
100% { transform: rotate( 0.0deg) }
|
|
3095
|
+
}
|
|
3096
|
+
|
|
3097
|
+
`);
|
|
3098
|
+
var r;
|
|
3099
|
+
this.captureFn = n, this.elements = {
|
|
3100
|
+
container: null,
|
|
3101
|
+
toggle: null,
|
|
3102
|
+
btn: null,
|
|
3103
|
+
icon: null,
|
|
3104
|
+
xmark: null,
|
|
3105
|
+
form: null,
|
|
3106
|
+
submit: null
|
|
3107
|
+
};
|
|
3108
|
+
const e = document.createElement("div");
|
|
3109
|
+
this.elements.container = e, e.innerHTML = this.html(), document.body.appendChild(e), this.addStyles(), this.assignElements(), this.setBindings(), this.close(), (r = document.getElementById("vx-pop-up")) == null || r.setAttribute("style", "");
|
|
3110
|
+
}
|
|
3111
|
+
}
|
|
3112
|
+
const Xe = (t) => `${id.services.connections}${t}`;
|
|
3113
|
+
class te {
|
|
3114
|
+
constructor(n, e, r) {
|
|
3115
|
+
g(this, "headers");
|
|
3116
|
+
this.publicKey = n, this.publicSecret = e, this.connectionData = r, this.publicKey = n, this.publicSecret = e, this.connectionData = r, this.headers = {
|
|
3117
|
+
Authorization: `Basic ${btoa(`${n}:${e}`)}`
|
|
1611
3118
|
};
|
|
1612
3119
|
}
|
|
1613
|
-
static async init(
|
|
3120
|
+
static async init(n) {
|
|
1614
3121
|
try {
|
|
1615
|
-
const
|
|
3122
|
+
const r = await (await Ke(Xe("/connections/test"), {
|
|
1616
3123
|
headers: {
|
|
1617
3124
|
Authorization: `Basic ${btoa(
|
|
1618
|
-
`${
|
|
3125
|
+
`${n.publicKey}:${n.publicSecret}`
|
|
1619
3126
|
)}`
|
|
1620
3127
|
}
|
|
1621
3128
|
})).json();
|
|
1622
|
-
if (
|
|
1623
|
-
return new
|
|
1624
|
-
connectionId:
|
|
1625
|
-
teamId:
|
|
1626
|
-
keyId:
|
|
3129
|
+
if (r.team_id && r.connection_id && r.key_id)
|
|
3130
|
+
return new te(n.publicKey, n.publicSecret, {
|
|
3131
|
+
connectionId: r.connection_id,
|
|
3132
|
+
teamId: r.team_id,
|
|
3133
|
+
keyId: r.keyId
|
|
1627
3134
|
});
|
|
1628
3135
|
throw new Error(
|
|
1629
3136
|
`It was not possible to identify the connection ${JSON.stringify(
|
|
1630
|
-
|
|
3137
|
+
r
|
|
1631
3138
|
)}`
|
|
1632
3139
|
);
|
|
1633
|
-
} catch (
|
|
1634
|
-
throw console.warn("It was not possible to connect to Voxie."),
|
|
3140
|
+
} catch (e) {
|
|
3141
|
+
throw console.warn("It was not possible to connect to Voxie."), e;
|
|
1635
3142
|
}
|
|
1636
3143
|
}
|
|
1637
3144
|
connected() {
|
|
1638
3145
|
return Boolean(this.connectionData);
|
|
1639
3146
|
}
|
|
1640
|
-
async capture(
|
|
1641
|
-
var t;
|
|
3147
|
+
async capture(n, e) {
|
|
1642
3148
|
try {
|
|
1643
|
-
const
|
|
1644
|
-
return (await
|
|
3149
|
+
const r = rd(n, "US");
|
|
3150
|
+
return r.isPossible() ? (await Ke(Xe("/capture/contact"), {
|
|
1645
3151
|
headers: this.headers,
|
|
1646
3152
|
method: "POST",
|
|
1647
|
-
body: JSON.stringify(
|
|
1648
|
-
|
|
3153
|
+
body: JSON.stringify({
|
|
3154
|
+
phone: r.format("E.164"),
|
|
3155
|
+
email: (e == null ? void 0 : e.email) || null,
|
|
3156
|
+
first_name: (e == null ? void 0 : e.firstName) || null,
|
|
3157
|
+
last_name: (e == null ? void 0 : e.lastName) || null,
|
|
3158
|
+
tags: (e == null ? void 0 : e.tags) || null,
|
|
3159
|
+
custom_attributes: (e == null ? void 0 : e.customAttributes) || null,
|
|
3160
|
+
subscription_statuses: (e == null ? void 0 : e.subscriptionStatuses) || null
|
|
3161
|
+
})
|
|
3162
|
+
}), !0) : !1;
|
|
1649
3163
|
} catch (r) {
|
|
1650
3164
|
return console.error(r), !1;
|
|
1651
3165
|
}
|
|
1652
3166
|
}
|
|
3167
|
+
popUp() {
|
|
3168
|
+
return new ad(this.capture);
|
|
3169
|
+
}
|
|
1653
3170
|
}
|
|
1654
|
-
window.Voxie =
|
|
3171
|
+
window.Voxie = te;
|