@voxie/contacts.js 1.4.1 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js ADDED
@@ -0,0 +1,3559 @@
1
+ const Qt = { version: 4, country_calling_codes: { 1: ["US", "AG", "AI", "AS", "BB", "BM", "BS", "CA", "DM", "DO", "GD", "GU", "JM", "KN", "KY", "LC", "MP", "MS", "PR", "SX", "TC", "TT", "VC", "VG", "VI"], 7: ["RU", "KZ"], 20: ["EG"], 27: ["ZA"], 30: ["GR"], 31: ["NL"], 32: ["BE"], 33: ["FR"], 34: ["ES"], 36: ["HU"], 39: ["IT", "VA"], 40: ["RO"], 41: ["CH"], 43: ["AT"], 44: ["GB", "GG", "IM", "JE"], 45: ["DK"], 46: ["SE"], 47: ["NO", "SJ"], 48: ["PL"], 49: ["DE"], 51: ["PE"], 52: ["MX"], 53: ["CU"], 54: ["AR"], 55: ["BR"], 56: ["CL"], 57: ["CO"], 58: ["VE"], 60: ["MY"], 61: ["AU", "CC", "CX"], 62: ["ID"], 63: ["PH"], 64: ["NZ"], 65: ["SG"], 66: ["TH"], 81: ["JP"], 82: ["KR"], 84: ["VN"], 86: ["CN"], 90: ["TR"], 91: ["IN"], 92: ["PK"], 93: ["AF"], 94: ["LK"], 95: ["MM"], 98: ["IR"], 211: ["SS"], 212: ["MA", "EH"], 213: ["DZ"], 216: ["TN"], 218: ["LY"], 220: ["GM"], 221: ["SN"], 222: ["MR"], 223: ["ML"], 224: ["GN"], 225: ["CI"], 226: ["BF"], 227: ["NE"], 228: ["TG"], 229: ["BJ"], 230: ["MU"], 231: ["LR"], 232: ["SL"], 233: ["GH"], 234: ["NG"], 235: ["TD"], 236: ["CF"], 237: ["CM"], 238: ["CV"], 239: ["ST"], 240: ["GQ"], 241: ["GA"], 242: ["CG"], 243: ["CD"], 244: ["AO"], 245: ["GW"], 246: ["IO"], 247: ["AC"], 248: ["SC"], 249: ["SD"], 250: ["RW"], 251: ["ET"], 252: ["SO"], 253: ["DJ"], 254: ["KE"], 255: ["TZ"], 256: ["UG"], 257: ["BI"], 258: ["MZ"], 260: ["ZM"], 261: ["MG"], 262: ["RE", "YT"], 263: ["ZW"], 264: ["NA"], 265: ["MW"], 266: ["LS"], 267: ["BW"], 268: ["SZ"], 269: ["KM"], 290: ["SH", "TA"], 291: ["ER"], 297: ["AW"], 298: ["FO"], 299: ["GL"], 350: ["GI"], 351: ["PT"], 352: ["LU"], 353: ["IE"], 354: ["IS"], 355: ["AL"], 356: ["MT"], 357: ["CY"], 358: ["FI", "AX"], 359: ["BG"], 370: ["LT"], 371: ["LV"], 372: ["EE"], 373: ["MD"], 374: ["AM"], 375: ["BY"], 376: ["AD"], 377: ["MC"], 378: ["SM"], 380: ["UA"], 381: ["RS"], 382: ["ME"], 383: ["XK"], 385: ["HR"], 386: ["SI"], 387: ["BA"], 389: ["MK"], 420: ["CZ"], 421: ["SK"], 423: ["LI"], 500: ["FK"], 501: ["BZ"], 502: ["GT"], 503: ["SV"], 504: ["HN"], 505: ["NI"], 506: ["CR"], 507: ["PA"], 508: ["PM"], 509: ["HT"], 590: ["GP", "BL", "MF"], 591: ["BO"], 592: ["GY"], 593: ["EC"], 594: ["GF"], 595: ["PY"], 596: ["MQ"], 597: ["SR"], 598: ["UY"], 599: ["CW", "BQ"], 670: ["TL"], 672: ["NF"], 673: ["BN"], 674: ["NR"], 675: ["PG"], 676: ["TO"], 677: ["SB"], 678: ["VU"], 679: ["FJ"], 680: ["PW"], 681: ["WF"], 682: ["CK"], 683: ["NU"], 685: ["WS"], 686: ["KI"], 687: ["NC"], 688: ["TV"], 689: ["PF"], 690: ["TK"], 691: ["FM"], 692: ["MH"], 850: ["KP"], 852: ["HK"], 853: ["MO"], 855: ["KH"], 856: ["LA"], 880: ["BD"], 886: ["TW"], 960: ["MV"], 961: ["LB"], 962: ["JO"], 963: ["SY"], 964: ["IQ"], 965: ["KW"], 966: ["SA"], 967: ["YE"], 968: ["OM"], 970: ["PS"], 971: ["AE"], 972: ["IL"], 973: ["BH"], 974: ["QA"], 975: ["BT"], 976: ["MN"], 977: ["NP"], 992: ["TJ"], 993: ["TM"], 994: ["AZ"], 995: ["GE"], 996: ["KG"], 998: ["UZ"] }, countries: { AC: ["247", "00", "(?:[01589]\\d|[46])\\d{4}", [5, 6]], AD: ["376", "00", "(?:1|6\\d)\\d{7}|[135-9]\\d{5}", [6, 8, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["[135-9]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["1"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]]], AE: ["971", "00", "(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{2,9})", "$1 $2", ["60|8"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[236]|[479][2-8]"], "0$1"], ["(\\d{3})(\\d)(\\d{5})", "$1 $2 $3", ["[479]"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"]], "0"], AF: ["93", "00", "[2-7]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"]], "0"], AG: ["1", "011", "(?:268|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([457]\\d{6})$|1", "268$1", 0, "268"], AI: ["1", "011", "(?:264|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2457]\\d{6})$|1", "264$1", 0, "264"], AL: ["355", "00", "(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}", [6, 7, 8, 9], [["(\\d{3})(\\d{3,4})", "$1 $2", ["80|9"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["4[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2358][2-5]|4"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["[23578]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["6"], "0$1"]], "0"], AM: ["374", "00", "(?:[1-489]\\d|55|60|77)\\d{6}", [8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[89]0"], "0 $1"], ["(\\d{3})(\\d{5})", "$1 $2", ["2|3[12]"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["1|47"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[3-9]"], "0$1"]], "0"], AO: ["244", "00", "[29]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[29]"]]]], AR: ["54", "00", "(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}", [10, 11], [["(\\d{4})(\\d{2})(\\d{4})", "$1 $2-$3", ["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])", "2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)", "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["1"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[68]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2-$3", ["[23]"], "0$1", 1], ["(\\d)(\\d{4})(\\d{2})(\\d{4})", "$2 15-$3-$4", ["9(?:2[2-469]|3[3-578])", "9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))", "9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)", "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"], "0$1", 0, "$1 $2 $3-$4"], ["(\\d)(\\d{2})(\\d{4})(\\d{4})", "$2 15-$3-$4", ["91"], "0$1", 0, "$1 $2 $3-$4"], ["(\\d{3})(\\d{3})(\\d{5})", "$1-$2-$3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{4})", "$2 15-$3-$4", ["9"], "0$1", 0, "$1 $2 $3-$4"]], "0", 0, "0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?", "9$1"], AS: ["1", "011", "(?:[58]\\d\\d|684|900)\\d{7}", [10], 0, "1", 0, "([267]\\d{6})$|1", "684$1", 0, "684"], AT: ["43", "00", "1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{3,12})", "$1 $2", ["1(?:11|[2-9])"], "0$1"], ["(\\d{3})(\\d{2})", "$1 $2", ["517"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["5[079]"], "0$1"], ["(\\d{3})(\\d{3,10})", "$1 $2", ["(?:31|4)6|51|6(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]", "(?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]"], "0$1"], ["(\\d{4})(\\d{3,9})", "$1 $2", ["[2-467]|5[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,7})", "$1 $2 $3", ["5"], "0$1"]], "0"], AU: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}", [5, 6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{3,4})", "$1 $2", ["16"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["16"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["14|4"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[2378]"], "(0$1)"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:30|[89])"]]], "0", 0, "(183[12])|0", 0, 0, 0, [["(?:(?:2(?:(?:[0-26-9]\\d|3[0-8]|5[0135-9])\\d|4(?:[02-9]\\d|10))|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90))|7(?:[013-57-9]\\d|2[0-8])\\d)\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|[34]\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}", [9]], ["4(?:79[01]|83[0-389]|94[0-478])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, ["163\\d{2,6}", [5, 6, 7, 8, 9]], ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], AW: ["297", "00", "(?:[25-79]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[25-9]"]]]], AX: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}", [5, 6, 7, 8, 9, 10, 11, 12], 0, "0", 0, 0, 0, 0, "18", 0, "00"], AZ: ["994", "00", "365\\d{6}|(?:[124579]\\d|60|88)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[28]|2|365|46", "1[28]|2|365[45]|46", "1[28]|2|365(?:4|5[02])|46"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[13-9]"], "0$1"]], "0"], BA: ["387", "00", "6\\d{8}|(?:[35689]\\d|49|70)\\d{6}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[1-3]|[7-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2-$3", ["[3-5]|6[56]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["6"], "0$1"]], "0"], BB: ["1", "011", "(?:246|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "246$1", 0, "246"], BD: ["880", "00", "[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{2})(\\d{4,6})", "$1-$2", ["31[5-8]|[459]1"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1-$2", ["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"], "0$1"], ["(\\d{4})(\\d{3,6})", "$1-$2", ["[13-9]|2[23]"], "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|44)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[024-7]"]]]], BG: ["359", "00", "00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}", [6, 7, 8, 9, 12], [["(\\d)(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["43[1-6]|70[1-9]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:70|8)0"], "0$1"], ["(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3", ["43[1-7]|7"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[48]|9[08]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"]], "0"], BH: ["973", "00", "[136-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[13679]|8[02-4679]"]]]], BI: ["257", "00", "(?:[267]\\d|31)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2367]"]]]], BJ: ["229", "00", "(?:01\\d|[24-689])\\d{7}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-689]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["0"]]]], BL: ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], BM: ["1", "011", "(?:441|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "441$1", 0, "441"], BN: ["673", "00", "[2-578]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-578]"]]]], BO: ["591", "00(?:1\\d)?", "8001\\d{5}|(?:[2-467]\\d|50)\\d{6}", [8, 9], [["(\\d)(\\d{7})", "$1 $2", ["[235]|4[46]"]], ["(\\d{8})", "$1", ["[67]"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["8"]]], "0", 0, "0(1\\d)?"], 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-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}", [8, 9, 10, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["300|4(?:0[02]|37|86)", "300|4(?:0(?:0|20)|370|864)"]], ["(\\d{3})(\\d{2,3})(\\d{4})", "$1 $2 $3", ["(?:[358]|90)0"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"], "($1)"], ["(\\d{2})(\\d{5})(\\d{4})", "$1 $2-$3", ["[16][1-9]|[2-57-9]"], "($1)"]], "0", 0, "(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?", "$2"], BS: ["1", "011", "(?:242|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([3-8]\\d{6})$|1", "242$1", 0, "242"], BT: ["975", "00", "[178]\\d{7}|[2-8]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-6]|7[246]|8[2-4]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[67]|[78]"]]]], BW: ["267", "00", "(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["90"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[24-6]|3[15-9]"]], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37]"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["8"]]]], BY: ["375", "810", "(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3})", "$1 $2", ["800"], "8 $1"], ["(\\d{3})(\\d{2})(\\d{2,4})", "$1 $2 $3", ["800"], "8 $1"], ["(\\d{4})(\\d{2})(\\d{3})", "$1 $2-$3", ["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])", "1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"], "8 0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["1(?:[56]|7[467])|2[1-3]"], "8 0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-4]"], "8 0$1"], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[89]"], "8 $1"]], "8", 0, "0|80?", 0, 0, 0, 0, "8~10"], BZ: ["501", "00", "(?:0800\\d|[2-8])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-8]"]], ["(\\d)(\\d{3})(\\d{4})(\\d{3})", "$1-$2-$3-$4", ["0"]]]], CA: ["1", "011", "[2-9]\\d{9}|3\\d{6}", [7, 10], 0, "1", 0, 0, 0, 0, 0, [["(?:2(?:04|[23]6|[48]9|5[07]|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}", [10]], ["", [10]], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", [10]], ["900[2-9]\\d{6}", [10]], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}", [10]], 0, ["310\\d{4}", [7]], 0, ["600[2-9]\\d{6}", [10]]]], CC: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}", [9]], ["4(?:79[01]|83[0-389]|94[0-478])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], CD: ["243", "00", "(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["[1-6]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["5"], "0$1"]], "0"], 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, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8[047]|90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]|81"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["8"], "0$1"]], "0"], 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{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["60|809"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["44"]], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2[1-36]"], "($1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["9(?:10|[2-9])"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"], "($1)"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["60|8"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{3})(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["60"]]]], 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[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5,6})", "$1 $2", ["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]", "(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"], "0$1"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]", "(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]", "85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])", "85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["(?:4|80)0"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|2(?:[02-57-9]|1[1-9])", "10|2(?:[02-57-9]|1[1-9])", "10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"], "0$1", 1], ["(\\d{3})(\\d{7,8})", "$1 $2", ["9"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["80"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[3-578]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["1[3-9]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["[12]"], "0$1", 1]], "0", 0, "(1(?:[12]\\d|79)\\d\\d)|0", 0, 0, 0, 0, "00"], CO: ["57", "00(?:4(?:[14]4|56)|[579])", "(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["46"]], ["(\\d{3})(\\d{7})", "$1 $2", ["6|90"], "($1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3[0-357]|9[14]"]], ["(\\d)(\\d{3})(\\d{7})", "$1-$2-$3", ["1"], "0$1", 0, "$1 $2 $3"]], "0", 0, "0([3579]|4(?:[14]4|56))?"], 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", "(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}", [6, 7, 8, 10], [["(\\d{2})(\\d{4,6})", "$1 $2", ["2[1-4]|[34]"], "(0$1)"], ["(\\d)(\\d{6,7})", "$1 $2", ["7"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["[56]"], "0$1"], ["(\\d{3})(\\d{7})", "$1 $2", ["8"], "0$1"]], "0"], CV: ["238", "0", "(?:[2-59]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2-589]"]]]], CW: ["599", "00", "(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[3467]"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["9[4-8]"]]], 0, 0, 0, 0, 0, "[69]"], CX: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}", [9]], ["4(?:79[01]|83[0-389]|94[0-478])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], CY: ["357", "00", "(?:[279]\\d|[58]0)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[257-9]"]]]], CZ: ["420", "00", "(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}", [9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]|9[015-7]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["96"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]]], DE: ["49", "00", "[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], [["(\\d{2})(\\d{3,13})", "$1 $2", ["3[02]|40|[68]9"], "0$1"], ["(\\d{3})(\\d{3,12})", "$1 $2", ["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1", "2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"], "0$1"], ["(\\d{4})(\\d{2,11})", "$1 $2", ["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]", "[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["138"], "0$1"], ["(\\d{5})(\\d{2,10})", "$1 $2", ["3"], "0$1"], ["(\\d{3})(\\d{5,11})", "$1 $2", ["181"], "0$1"], ["(\\d{3})(\\d)(\\d{4,10})", "$1 $2 $3", ["1(?:3|80)|9"], "0$1"], ["(\\d{3})(\\d{7,8})", "$1 $2", ["1[67]"], "0$1"], ["(\\d{3})(\\d{7,12})", "$1 $2", ["8"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["185", "1850", "18500"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["18[68]"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["15[1279]"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["15[03568]", "15(?:[0568]|3[13])"], "0$1"], ["(\\d{3})(\\d{8})", "$1 $2", ["18"], "0$1"], ["(\\d{3})(\\d{2})(\\d{7,8})", "$1 $2 $3", ["1(?:6[023]|7)"], "0$1"], ["(\\d{4})(\\d{2})(\\d{7})", "$1 $2 $3", ["15[279]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{8})", "$1 $2 $3", ["15"], "0$1"]], "0"], DJ: ["253", "00", "(?:2\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[27]"]]]], DK: ["45", "00", "[2-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-9]"]]]], DM: ["1", "011", "(?:[58]\\d\\d|767|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "767$1", 0, "767"], DO: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "8001|8[024]9"], DZ: ["213", "00", "(?:[1-4]|[5-79]\\d|80)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["9"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-8]"], "0$1"]], "0"], EC: ["593", "00", "1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}", [8, 9, 10, 11], [["(\\d)(\\d{3})(\\d{4})", "$1 $2-$3", ["[2-7]"], "(0$1)", 0, "$1-$2-$3"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1"]]], "0"], EE: ["372", "00", "8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88", "[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]], ["(\\d{4})(\\d{3,4})", "$1 $2", ["[45]|8(?:00|[1-49])", "[45]|8(?:00[1-9]|[1-49])"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], EG: ["20", "00", "[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}", [8, 9, 10], [["(\\d)(\\d{7,8})", "$1 $2", ["[23]"], "0$1"], ["(\\d{2})(\\d{6,7})", "$1 $2", ["1[35]|[4-6]|8[2468]|9[235-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{8})", "$1 $2", ["1"], "0$1"]], "0"], EH: ["212", "00", "[5-8]\\d{8}", [9], 0, "0", 0, 0, 0, 0, "528[89]"], ER: ["291", "00", "[178]\\d{6}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[178]"], "0$1"]], "0"], ES: ["34", "00", "[5-9]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]00"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-9]"]]]], ET: ["251", "00", "(?:11|[2-579]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-579]"], "0$1"]], "0"], FI: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{5})", "$1", ["20[2-59]"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1 $2", ["(?:[1-3]0|[68])0|70[07-9]"], "0$1"], ["(\\d{2})(\\d{4,8})", "$1 $2", ["[14]|2[09]|50|7[135]"], "0$1"], ["(\\d{2})(\\d{6,10})", "$1 $2", ["7"], "0$1"], ["(\\d)(\\d{4,9})", "$1 $2", ["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"], "0$1"]], "0", 0, 0, 0, 0, "1[03-79]|[2-9]", 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|180020", 0, 0, 0, [["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}", [9, 10]], ["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]], 0, " x"], GD: ["1", "011", "(?:473|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "473$1", 0, "473"], GE: ["995", "00", "(?:[3-57]\\d\\d|800)\\d{6}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["32"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[57]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[348]"], "0$1"]], "0"], GF: ["594", "00", "(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]|9[47]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[89]"], "0$1"]], "0"], GG: ["44", "00", "(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?", [7, 9, 10], 0, "0", 0, "([25-9]\\d{5})$|0|180020", "1481$1", 0, 0, [["1481[25-9]\\d{5}", [10]], ["7(?:(?:781|839)\\d|911[17])\\d{5}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]]], GH: ["233", "00", "(?:[235]\\d{3}|800)\\d{5}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[235]"], "0$1"]], "0"], GI: ["350", "00", "(?:[25]\\d|60)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["2"]]]], GL: ["299", "00", "(?:19|[2-689]\\d|70)\\d{4}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["19|[2-9]"]]]], GM: ["220", "00", "[2-9]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], GN: ["224", "00", "722\\d{6}|(?:3|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["3"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[67]"]]]], GP: ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0", 0, 0, 0, 0, 0, [["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], GQ: ["240", "00", "222\\d{6}|(?:3\\d|55|[89]0)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235]"]], ["(\\d{3})(\\d{6})", "$1 $2", ["[89]"]]]], GR: ["30", "00", "5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}", [10, 11, 12], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["21|7"]], ["(\\d{4})(\\d{6})", "$1 $2", ["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2689]"]], ["(\\d{3})(\\d{3,4})(\\d{5})", "$1 $2 $3", ["8"]]]], GT: ["502", "00", "80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-8]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], GU: ["1", "011", "(?:[58]\\d\\d|671|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "671$1", 0, "671"], GW: ["245", "00", "[49]\\d{8}|4\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["40"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"]]]], GY: ["592", "001", "(?:[2-8]\\d{3}|9008)\\d{3}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], HK: ["852", "00(?:30|5[09]|[126-9]?)", "8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}", [5, 6, 7, 8, 9, 11], [["(\\d{3})(\\d{2,5})", "$1 $2", ["900", "9003"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{3})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]], 0, 0, 0, 0, 0, 0, 0, "00"], HN: ["504", "00", "8\\d{10}|[237-9]\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["[237-9]"]]]], HR: ["385", "00", "[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}", [7, 8, 9], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["6[01]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{4})(\\d{3})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6|7[245]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-57]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"]], "0"], HT: ["509", "00", "[2-589]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[2-589]"]]]], HU: ["36", "00", "[235-7]\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "06 $1"]], "06"], ID: ["62", "00[89]", "00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}", [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["15"]], ["(\\d{2})(\\d{5,9})", "$1 $2", ["2[124]|[36]1"], "(0$1)"], ["(\\d{3})(\\d{5,7})", "$1 $2", ["800"], "0$1"], ["(\\d{3})(\\d{5,8})", "$1 $2", ["[2-79]"], "(0$1)"], ["(\\d{3})(\\d{3,4})(\\d{3})", "$1-$2-$3", ["8[1-35-9]"], "0$1"], ["(\\d{3})(\\d{6,8})", "$1 $2", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["804"], "0$1"], ["(\\d{3})(\\d)(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["80"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1-$2-$3", ["8"], "0$1"]], "0"], IE: ["353", "00", "(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["2[24-9]|47|58|6[237-9]|9[35-9]"], "(0$1)"], ["(\\d{3})(\\d{5})", "$1 $2", ["[45]0"], "(0$1)"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2569]|4[1-69]|7[14]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["81"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["4"], "(0$1)"], ["(\\d{2})(\\d)(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], IL: ["972", "0(?:0|1[2-9])", "1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}", [7, 8, 9, 10, 11, 12], [["(\\d{4})(\\d{3})", "$1-$2", ["125"]], ["(\\d{4})(\\d{2})(\\d{2})", "$1-$2-$3", ["121"]], ["(\\d)(\\d{3})(\\d{4})", "$1-$2-$3", ["[2-489]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1-$2-$3", ["12"]], ["(\\d{4})(\\d{6})", "$1-$2", ["159"]], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3-$4", ["1[7-9]"]], ["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})", "$1-$2 $3-$4", ["15"]]], "0"], IM: ["44", "00", "1624\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([25-8]\\d{5})$|0|180020", "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})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?", [6, 7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{4,6})", "$1 $2", ["0[26]"]], ["(\\d{3})(\\d{3,6})", "$1 $2", ["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])", "0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]], ["(\\d{4})(\\d{2,6})", "$1 $2", ["0(?:[13-579][2-46-8]|8[236-8])"]], ["(\\d{4})(\\d{4})", "$1 $2", ["894"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[26]|5"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1(?:44|[679])|[378]|43"]], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[13-57-9][0159]|14"]], ["(\\d{2})(\\d{4})(\\d{5})", "$1 $2 $3", ["0[26]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, [["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}", [6, 7, 8, 9, 10, 11]], ["3[2-9]\\d{7,8}|(?:31|43)\\d{8}", [9, 10]], ["80(?:0\\d{3}|3)\\d{3}", [6, 9]], ["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}", [6, 8, 9, 10]], ["1(?:78\\d|99)\\d{6}", [9, 10]], ["3[2-8]\\d{9,10}", [11, 12]], 0, 0, ["55\\d{8}", [10]], ["84(?:[08]\\d{3}|[17])\\d{3}", [6, 9]]]], JE: ["44", "00", "1534\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([0-24-8]\\d{5})$|0|180020", "1534$1", 0, 0, [["1534[0-24-8]\\d{5}"], ["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"], ["80(?:07(?:35|81)|8901)\\d{4}"], ["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"], ["701511\\d{4}"], 0, ["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"], ["56\\d{8}"]]], JM: ["1", "011", "(?:[58]\\d\\d|658|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "658|876"], 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}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}", [8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3", ["(?:12|57|99)0"], "0$1"], ["(\\d{4})(\\d)(\\d{4})", "$1-$2-$3", ["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["60"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2-$3", ["3|4(?:2[09]|7[01])|6[1-9]", "3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3", ["[14]|[289][2-9]|5[3-9]|7[2-4679]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["800"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[25-9]"], "0$1"]], "0", 0, "(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0", "$1"], KE: ["254", "000", "(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}", [7, 8, 9, 10], [["(\\d{2})(\\d{5,7})", "$1 $2", ["[24-6]"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[17]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0"], KG: ["996", "00", "8\\d{9}|[235-9]\\d{8}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["3(?:1[346]|[24-79])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-79]|88"], "0$1"], ["(\\d{3})(\\d{3})(\\d)(\\d{2,3})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], KH: ["855", "00[14-9]", "1\\d{9}|[1-9]\\d{7,8}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], KI: ["686", "00", "(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}", [5, 8], 0, "0"], KM: ["269", "00", "[3478]\\d{6}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[3478]"]]]], KN: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "869$1", 0, "869"], KP: ["850", "00|99", "85\\d{6}|(?:19\\d|[2-7])\\d{7}", [8, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"]], "0"], KR: ["82", "00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))", "00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}", [5, 6, 8, 9, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{3,4})", "$1-$2", ["(?:3[1-3]|[46][1-4]|5[1-5])1"], "0$1"], ["(\\d{4})(\\d{4})", "$1-$2", ["1"]], ["(\\d)(\\d{3,4})(\\d{4})", "$1-$2-$3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[36]0|8"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1-$2-$3", ["[1346]|5[1-5]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{2})(\\d{5})(\\d{4})", "$1-$2-$3", ["5"], "0$1"]], "0", 0, "0(8(?:[1-46-8]|5\\d\\d))?"], KW: ["965", "00", "18\\d{5}|(?:[2569]\\d|41)\\d{6}", [7, 8], [["(\\d{4})(\\d{3,4})", "$1 $2", ["[169]|2(?:[235]|4[1-35-9])|52"]], ["(\\d{3})(\\d{5})", "$1 $2", ["[245]"]]]], KY: ["1", "011", "(?:345|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "345$1", 0, "345"], KZ: ["7", "810", "(?:33622|8\\d{8})\\d{5}|[78]\\d{9}", [10, 14], 0, "8", 0, 0, 0, 0, "33622|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", ["3"], "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-6]|9[04-9])|8[02-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27-9]"]]], "0"], LC: ["1", "011", "(?:[58]\\d\\d|758|900)\\d{7}", [10], 0, "1", 0, "([2-8]\\d{6})$|1", "758$1", 0, "758"], LI: ["423", "00", "[68]\\d{8}|(?:[2378]\\d|90)\\d{5}", [7, 9], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2379]|8(?:0[09]|7)", "[2379]|8(?:0(?:02|9)|7)"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["69"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]], "0", 0, "(1001)|0"], LK: ["94", "00", "[1-9]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[1-689]"], "0$1"]], "0"], LR: ["231", "00", "(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["4[67]|[56]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-578]"], "0$1"]], "0"], 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]"], "(0-$1)", 1], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0 $1", 1], ["(\\d{2})(\\d{6})", "$1 $2", ["37|4(?:[15]|6[1-8])"], "(0-$1)", 1], ["(\\d{3})(\\d{5})", "$1 $2", ["[3-6]"], "(0-$1)", 1]], "0", 0, "[08]"], LU: ["352", "00", "35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}", [4, 5, 6, 7, 8, 9, 10, 11], [["(\\d{2})(\\d{3})", "$1 $2", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["20[2-689]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4", ["2(?:[0367]|4[3-8])"]], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["80[01]|90[015]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["20"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4 $5", ["2(?:[0367]|4[3-8])"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})", "$1 $2 $3 $4", ["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]], 0, 0, "(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"], LV: ["371", "00", "(?:[268]\\d|90)\\d{6}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[269]|8[01]"]]]], LY: ["218", "00", "[2-9]\\d{8}", [9], [["(\\d{2})(\\d{7})", "$1-$2", ["[2-9]"], "0$1"]], "0"], MA: ["212", "00", "[5-8]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5[45]"], "0$1"], ["(\\d{4})(\\d{5})", "$1-$2", ["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"], "0$1"], ["(\\d{2})(\\d{7})", "$1-$2", ["8"], "0$1"], ["(\\d{3})(\\d{6})", "$1-$2", ["[5-7]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"], ["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-8]|5[0-5]|8[0-7]))\\d{6}"], ["80[0-7]\\d{6}"], ["89\\d{7}"], 0, 0, 0, 0, ["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]], MC: ["377", "00", "(?:[3489]|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["4"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[389]"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["6"], "0$1"]], "0"], MD: ["373", "00", "(?:[235-7]\\d|[89]0)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["22|3"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[25-7]"], "0$1"]], "0"], ME: ["382", "00", "(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "0$1"]], "0"], MF: ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], MG: ["261", "00", "[23]\\d{8}", [9], [["(\\d{2})(\\d{2})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0", 0, "([24-9]\\d{6})$|0", "20$1"], 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", ["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[12]|452|678|86", "[12]|452|6788|86"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[4-7]|8[1-35]"], "0$1"], ["(\\d)(\\d{3})(\\d{4,6})", "$1 $2 $3", ["9(?:2[0-4]|[35-9]|4[137-9])"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["92"], "0$1"], ["(\\d)(\\d{5})(\\d{4})", "$1 $2 $3", ["9"], "0$1"]], "0"], MN: ["976", "001", "[12]\\d{7,9}|[5-9]\\d{7}", [8, 9, 10], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[12]1"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[5-9]"]], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[12]2[1-3]"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["[12](?:27|3[2-8]|4[2-68]|5[1-4689])", "[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["[12]"], "0$1"]], "0"], MO: ["853", "00", "0800\\d{3}|(?:28|[68]\\d)\\d{6}", [7, 8], [["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[268]"]]]], MP: ["1", "011", "[58]\\d{9}|(?:67|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "670$1", 0, "670"], MQ: ["596", "00", "(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]|8(?:0[6-9]|[36])"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], MR: ["222", "00", "(?:[2-4]\\d\\d|800)\\d{5}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-48]"]]]], MS: ["1", "011", "(?:[58]\\d\\d|664|900)\\d{7}", [10], 0, "1", 0, "([34]\\d{6})$|1", "664$1", 0, "664"], MT: ["356", "00", "3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2357-9]"]]]], MU: ["230", "0(?:0|[24-7]0|3[03])", "(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-46]|8[013]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[57]"]], ["(\\d{5})(\\d{5})", "$1 $2", ["8"]]], 0, 0, 0, 0, 0, 0, 0, "020"], MV: ["960", "0(?:0|19)", "(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}", [7, 10], [["(\\d{3})(\\d{4})", "$1-$2", ["[34679]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], MW: ["265", "00", "(?:[1289]\\d|31|77)\\d{7}|1\\d{6}", [7, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["1[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[137-9]"], "0$1"]], "0"], MX: ["52", "0[09]", "[2-9]\\d{9}", [10], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["33|5[56]|81"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-9]"]]], 0, 0, 0, 0, 0, 0, 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[0467]"]]]], 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", "(?:20|9\\d)\\d{8}|[78]\\d{9,13}", [10, 11, 12, 13, 14], [["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[7-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["20[129]"], "0$1"], ["(\\d{4})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{3})(\\d{5})(\\d{5,6})", "$1 $2 $3", ["[78]"], "0$1"]], "0"], NI: ["505", "00", "(?:1800|[25-8]\\d{3})\\d{4}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[125-8]"]]]], NL: ["31", "00", "(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}", [5, 6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{4,7})", "$1 $2", ["[89]0"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["66"], "0$1"], ["(\\d)(\\d{8})", "$1 $2", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-578]|91"], "0$1"], ["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3", ["9"], "0$1"]], "0"], NO: ["47", "00", "(?:0|[2-9]\\d{3})\\d{4}", [5, 8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]"]]], 0, 0, 0, 0, 0, "[02-689]|7[0-8]"], NP: ["977", "00", "(?:1\\d|9)\\d{9}|[1-9]\\d{7}", [8, 10, 11], [["(\\d)(\\d{7})", "$1-$2", ["1[2-6]"], "0$1"], ["(\\d{2})(\\d{6})", "$1-$2", ["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"], "0$1"], ["(\\d{3})(\\d{7})", "$1-$2", ["9"]]], "0"], NR: ["674", "00", "(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[24-9]"]]]], NU: ["683", "00", "(?:[4-7]|888\\d)\\d{3}", [4, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["8"]]]], NZ: ["64", "0(?:0|161)", "[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,8})", "$1 $2", ["8[1-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["50[036-8]|8|90", "50(?:[0367]|88)|8|90"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["24|[346]|7[2-57-9]|9[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:10|74)|[589]"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1|2[028]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,5})", "$1 $2 $3", ["2(?:[169]|7[0-35-9])|7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "00"], OM: ["968", "00", "(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}", [7, 8, 9], [["(\\d{3})(\\d{4,6})", "$1 $2", ["[58]"]], ["(\\d{2})(\\d{6})", "$1 $2", ["2"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[179]"]]]], PA: ["507", "00", "(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}", [7, 8, 10, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[1-57-9]"]], ["(\\d{4})(\\d{4})", "$1-$2", ["[68]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]]], PE: ["51", "00|19(?:1[124]|77|90)00", "(?:[14-8]|9\\d)\\d{7}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["80"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["1"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[4-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"]]], "0", 0, 0, 0, 0, 0, 0, "00", " Anexo "], PF: ["689", "00", "4\\d{5}(?:\\d{2})?|8\\d{7,8}", [6, 8, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["44"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4|8[7-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], PG: ["675", "00|140[1-3]", "(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["18|[2-69]|85"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[78]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], PH: ["63", "00", "(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}", [6, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{5})", "$1 $2", ["2"], "(0$1)"], ["(\\d{4})(\\d{4,6})", "$1 $2", ["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2", "3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"], "(0$1)"], ["(\\d{5})(\\d{4})", "$1 $2", ["346|4(?:27|9[35])|883", "3469|4(?:279|9(?:30|56))|8834"], "(0$1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|8[2-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["1"]]], "0"], PK: ["92", "00", "122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,7})", "$1 $2 $3", ["[89]0"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["1"]], ["(\\d{3})(\\d{6,7})", "$1 $2", ["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])", "9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"], "(0$1)"], ["(\\d{2})(\\d{7,8})", "$1 $2", ["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"], "(0$1)"], ["(\\d{5})(\\d{5})", "$1 $2", ["58"], "(0$1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[24-9]"], "(0$1)"]], "0"], PL: ["48", "00", "(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{5})", "$1", ["19"]], ["(\\d{3})(\\d{3})", "$1 $2", ["11|20|64"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1", "(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["64"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[2-8]|[2-7]|8[1-79]|9[145]"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["8"]]]], PM: ["508", "00", "[45]\\d{5}|(?:708|8\\d\\d)\\d{6}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[45]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], 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-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"]]], "0"], QA: ["974", "00", "800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}", [7, 8, 9, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["2[136]|8"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[3-7]"]]]], RE: ["262", "00", "709\\d{6}|(?:26|[689]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"], ["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"], ["80\\d{7}"], ["89[1-37-9]\\d{6}"], 0, 0, 0, 0, ["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"], ["8(?:1[019]|2[0156]|84|90)\\d{6}"]]], RO: ["40", "00", "(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}", [6, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["2[3-6]", "2[3-6]\\d9"], "0$1"], ["(\\d{2})(\\d{4})", "$1 $2", ["219|31"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[23]1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[236-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, " int "], RS: ["381", "00", "38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}", [6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{3,9})", "$1 $2", ["(?:2[389]|39)0|[7-9]"], "0$1"], ["(\\d{2})(\\d{5,10})", "$1 $2", ["[1-36]"], "0$1"]], "0"], RU: ["7", "810", "8\\d{13}|[347-9]\\d{9}", [10, 14], [["(\\d{4})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-8]|2[1-9])", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"], "8 ($1)", 1], ["(\\d{5})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-68]|2[1-9])", "7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))", "7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[349]|8(?:[02-7]|1[1-8])"], "8 ($1)", 1], ["(\\d{4})(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["8"], "8 ($1)"]], "8", 0, 0, 0, 0, 0, [["336(?:[013-9]\\d|2[013-9])\\d{5}|(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15-7]|6[0-35-79]|7[1-37-9]))\\d{7}", [10]], ["9\\d{9}", [10]], ["8(?:0[04]|108\\d{3})\\d{7}"], ["80[39]\\d{7}", [10]], ["808\\d{7}", [10]]], "8~10"], RW: ["250", "00", "(?:06|[27]\\d\\d|[89]00)\\d{6}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0$1"]], "0"], SA: ["966", "00", "(?:[15]\\d|800|92)\\d{7}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["9"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]], "0"], SB: ["677", "0[01]", "[6-9]\\d{6}|[1-6]\\d{4}", [5, 7], [["(\\d{2})(\\d{5})", "$1 $2", ["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]], SC: ["248", "010|0[0-2]", "(?:[2489]\\d|64)\\d{5}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[246]|9[57]"]]], 0, 0, 0, 0, 0, 0, 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, 12], [["(\\d{2})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["20"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{4})", "$1-$2", ["9(?:00|39|44|9)"], "0$1", 0, "$1 $2"], ["(\\d{2})(\\d{3})(\\d{2})", "$1-$2 $3", ["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3"], ["(\\d)(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{2,3})(\\d{3})", "$1-$2 $3", ["9(?:00|39|44)"], "0$1", 0, "$1 $2 $3"], ["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["10|7"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{3})", "$1-$2 $3 $4", ["9"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4 $5", ["[26]"], "0$1", 0, "$1 $2 $3 $4 $5"]], "0"], SG: ["65", "0[0-3]\\d", "(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[369]|8(?:0[1-9]|[1-9])"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{4})(\\d{4})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], SH: ["290", "00", "(?:[256]\\d|8)\\d{3}", [4, 5], 0, 0, 0, 0, 0, 0, "[256]"], SI: ["386", "00|10(?:22|66|88|99)", "[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}", [5, 6, 7, 8], [["(\\d{2})(\\d{3,6})", "$1 $2", ["8[09]|9"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["59|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37][01]|4[0139]|51|6"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-57]"], "(0$1)"]], "0", 0, 0, 0, 0, 0, 0, "00"], SJ: ["47", "00", "0\\d{4}|(?:[489]\\d|79)\\d{6}", [5, 8], 0, 0, 0, 0, 0, 0, "79"], SK: ["421", "00", "[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}", [6, 7, 9], [["(\\d)(\\d{2})(\\d{3,4})", "$1 $2 $3", ["21"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["[3-5][1-8]1", "[3-5][1-8]1[67]"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1/$2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[689]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1/$2 $3 $4", ["[3-5]"], "0$1"]], "0"], SL: ["232", "00", "(?:[237-9]\\d|66)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[236-9]"], "(0$1)"]], "0"], SM: ["378", "00", "(?:0549|[5-7]\\d)\\d{6}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]"]], ["(\\d{4})(\\d{6})", "$1 $2", ["0"]]], 0, 0, "([89]\\d{5})$", "0549$1"], SN: ["221", "00", "(?:[378]\\d|93)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[379]"]]]], SO: ["252", "00", "[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}", [6, 7, 8, 9], [["(\\d{2})(\\d{4})", "$1 $2", ["8[125]"]], ["(\\d{6})", "$1", ["[134]"]], ["(\\d)(\\d{6})", "$1 $2", ["[15]|2[0-79]|3[0-46-8]|4[0-7]"]], ["(\\d)(\\d{7})", "$1 $2", ["(?:2|90)4|[67]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[348]|64|79|90"]], ["(\\d{2})(\\d{5,7})", "$1 $2", ["1|28|6[0-35-9]|7[67]|9[2-9]"]]], "0"], SR: ["597", "00", "(?:[2-5]|[6-8]\\d|90)\\d{5}", [6, 7], [["(\\d{2})(\\d{2})(\\d{2})", "$1-$2-$3", ["56"]], ["(\\d{3})(\\d{3})", "$1-$2", ["[2-5]"]], ["(\\d{3})(\\d{4})", "$1-$2", ["[6-9]"]]]], 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}|(?:80\\d|900)\\d{4}(?:\\d{4})?", [7, 8, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[89]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[267]"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[89]"]]]], SX: ["1", "011", "7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "(5\\d{6})$|1", "721$1", 0, "721"], SY: ["963", "00", "[1-359]\\d{8}|[1-5]\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-4]|5[1-3]"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[59]"], "0$1", 1]], "0"], SZ: ["268", "00", "0800\\d{4}|(?:[237]\\d|900)\\d{6}", [8, 9], [["(\\d{4})(\\d{4})", "$1 $2", ["[0237]"]], ["(\\d{5})(\\d{4})", "$1 $2", ["9"]]]], TA: ["290", "00", "8\\d{3}", [4], 0, 0, 0, 0, 0, 0, "8"], TC: ["1", "011", "(?:[58]\\d\\d|649|900)\\d{7}", [10], 0, "1", 0, "([2-479]\\d{6})$|1", "649$1", 0, "649"], TD: ["235", "00|16", "(?:22|30|[689]\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[236-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], TG: ["228", "00", "[279]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[279]"]]]], TH: ["66", "00[1-9]", "(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}", [8, 9, 10, 13], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[13-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], TJ: ["992", "810", "[0-57-9]\\d{8}", [9], [["(\\d{6})(\\d)(\\d{2})", "$1 $2 $3", ["331", "3317"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["44[02-479]|[34]7"]], ["(\\d{4})(\\d)(\\d{4})", "$1 $2 $3", ["3(?:[1245]|3[12])"]], ["(\\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|71)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["12"], "(8 $1)"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-5]"], "(8 $1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[67]"], "8 $1"]], "8", 0, 0, 0, 0, 0, 0, "8~10"], TN: ["216", "00", "[2-57-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-57-9]"]]]], TO: ["676", "00", "(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}", [5, 7], [["(\\d{2})(\\d{3})", "$1-$2", ["[2-4]|50|6[09]|7[0-24-69]|8[05]"]], ["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[5-9]"]]]], TR: ["90", "00", "4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}", [7, 10, 12, 13], [["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["512|8[01589]|90"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5(?:[0-59]|61)", "5(?:[0-59]|61[06])", "5(?:[0-59]|61[06]1)"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24][1-8]|3[1-9]"], "(0$1)", 1], ["(\\d{3})(\\d{3})(\\d{6,7})", "$1 $2 $3", ["80"], "0$1", 1]], "0"], TT: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-46-8]\\d{6})$|1", "868$1", 0, "868"], TV: ["688", "00", "(?:2|7\\d\\d|90)\\d{4}", [5, 6, 7], [["(\\d{2})(\\d{3})", "$1 $2", ["2"]], ["(\\d{2})(\\d{4})", "$1 $2", ["90"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], TW: ["886", "0(?:0[25-79]|19)", "[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}", [7, 8, 9, 10, 11], [["(\\d{2})(\\d)(\\d{4})", "$1 $2 $3", ["202"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[258]0"], "0$1"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]", "[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, "#"], TZ: ["255", "00[056]", "(?:[25-8]\\d|41|90)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[24]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["5"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[67]"], "0$1"]], "0"], UA: ["380", "00", "[89]\\d{9}|[3-9]\\d{8}", [9, 10], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]", "6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])", "3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|89|9[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "0~0"], UG: ["256", "00[057]", "800\\d{6}|(?:[29]0|[347]\\d)\\d{7}", [9], [["(\\d{4})(\\d{5})", "$1 $2", ["202", "2024"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[27-9]|4(?:6[45]|[7-9])"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[34]"], "0$1"]], "0"], US: ["1", "011", "[2-9]\\d{9}|3\\d{6}", [10], [["(\\d{3})(\\d{4})", "$1-$2", ["310"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "($1) $2-$3", ["[2-9]"], 0, 1, "$1-$2-$3"]], "1", 0, 0, 0, 0, 0, [["(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[0-68]))\\d{4}|(?:2742|305[3-9]|(?:472|983)[2-47-9]|505[2-57-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}"], [""], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"], ["900[2-9]\\d{6}"], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"], 0, 0, 0, ["305209\\d{4}"]]], UY: ["598", "0(?:0|1[3-9]\\d)", "0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13], [["(\\d{4,5})", "$1", ["21"]], ["(\\d{3})(\\d{3,4})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[49]0|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[124]"]], ["(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3 $4", ["0"]]], "0", 0, 0, 0, 0, 0, 0, "00", " int. "], UZ: ["998", "00", "(?:20|33|[5-9]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[235-9]"]]]], VA: ["39", "00", "0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}", [6, 7, 8, 9, 10, 11, 12], 0, 0, 0, 0, 0, 0, "06698"], VC: ["1", "011", "(?:[58]\\d\\d|784|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "784$1", 0, "784"], VE: ["58", "00", "[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}", [10], [["(\\d{3})(\\d{7})", "$1-$2", ["[24-689]"], "0$1"]], "0"], VG: ["1", "011", "(?:284|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-578]\\d{6})$|1", "284$1", 0, "284"], VI: ["1", "011", "[58]\\d{9}|(?:34|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "340$1", 0, "340"], VN: ["84", "00", "[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["80"], "0$1", 1], ["(\\d{4})(\\d{4,6})", "$1 $2", ["1"], 0, 1], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["6"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[357-9]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["2[48]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["2"], "0$1", 1]], "0"], VU: ["678", "00", "[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}", [5, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["[57-9]"]]]], WF: ["681", "00", "(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[47-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], 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", "2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2|39"], "0$1"], ["(\\d{2})(\\d{7,10})", "$1 $2", ["3"], "0$1"]], "0"], YE: ["967", "00", "(?:1|7\\d)\\d{7}|[1-7]\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-6]|7(?:[24-6]|8[0-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"], "0$1"]], "0"], YT: ["262", "00", "7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}", [9], 0, "0", 0, 0, 0, 0, 0, [["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"], ["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"], ["80\\d{7}"], 0, 0, 0, 0, 0, ["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]], ZA: ["27", "00", "[1-79]\\d{8}|8\\d{4,9}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,4})", "$1 $2", ["8[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["8[1-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["860"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], ZM: ["260", "00", "800\\d{6}|(?:21|[579]\\d|63)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[28]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[579]"], "0$1"]], "0"], 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}|[235-7]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-7]"]]], 0, 0, 0, 0, 0, 0, [0, ["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"], 0, 0, 0, 0, 0, 0, ["2\\d{8}", [9]]]], 878: ["878", 0, "10\\d{10}", [12], [["(\\d{2})(\\d{5})(\\d{5})", "$1 $2 $3", ["1"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["10\\d{10}"]]], 881: ["881", 0, "6\\d{9}|[0-36-9]\\d{8}", [9, 10], [["(\\d)(\\d{3})(\\d{5})", "$1 $2 $3", ["[0-37-9]"]], ["(\\d)(\\d{3})(\\d{5,6})", "$1 $2 $3", ["6"]]], 0, 0, 0, 0, 0, 0, [0, ["6\\d{9}|[0-36-9]\\d{8}"]]], 882: ["882", 0, "[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5})", "$1 $2", ["16|342"]], ["(\\d{2})(\\d{6})", "$1 $2", ["49"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["1[36]|9"]], ["(\\d{2})(\\d{4})(\\d{3})", "$1 $2 $3", ["3[23]"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["16"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|23|3(?:[15]|4[57])|4|51"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["34"]], ["(\\d{2})(\\d{4,5})(\\d{5})", "$1 $2 $3", ["[1-35]"]]], 0, 0, 0, 0, 0, 0, [0, ["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}", [7, 8, 9, 10, 12]], 0, 0, 0, ["348[57]\\d{7}", [11]], 0, 0, ["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]], 883: ["883", 0, "(?:[1-4]\\d|51)\\d{6,10}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,8})", "$1 $2 $3", ["[14]|2[24-689]|3[02-689]|51[24-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["510"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["21"]], ["(\\d{4})(\\d{4})(\\d{4})", "$1 $2 $3", ["51[13]"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[235]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]], 888: ["888", 0, "\\d{11}", [11], [["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3"]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, ["\\d{11}"]]], 979: ["979", 0, "[1359]\\d{8}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[1359]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, ["[1359]\\d{8}"]]] } };
2
+ function te(e, t) {
3
+ var r = Array.prototype.slice.call(t);
4
+ return r.push(Qt), e.apply(this, r);
5
+ }
6
+ function yt(e, t) {
7
+ e = e.split("-"), t = t.split("-");
8
+ for (var r = e[0].split("."), n = t[0].split("."), i = 0; i < 3; i++) {
9
+ var a = Number(r[i]), d = Number(n[i]);
10
+ if (a > d) return 1;
11
+ if (d > a) return -1;
12
+ if (!isNaN(a) && isNaN(d)) return 1;
13
+ if (isNaN(a) && !isNaN(d)) return -1;
14
+ }
15
+ return e[1] && t[1] ? e[1] > t[1] ? 1 : e[1] < t[1] ? -1 : 0 : !e[1] && t[1] ? 1 : e[1] && !t[1] ? -1 : 0;
16
+ }
17
+ var xe = {}.constructor;
18
+ function C(e) {
19
+ return e != null && e.constructor === xe;
20
+ }
21
+ function P(e) {
22
+ "@babel/helpers - typeof";
23
+ return P = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
24
+ return typeof t;
25
+ } : function(t) {
26
+ return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
27
+ }, P(e);
28
+ }
29
+ function Y(e, t) {
30
+ if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
31
+ }
32
+ function we(e, t) {
33
+ for (var r = 0; r < t.length; r++) {
34
+ var n = t[r];
35
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, Ce(n.key), n);
36
+ }
37
+ }
38
+ function Z(e, t, r) {
39
+ return t && we(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
40
+ }
41
+ function Ce(e) {
42
+ var t = Ne(e, "string");
43
+ return P(t) == "symbol" ? t : t + "";
44
+ }
45
+ function Ne(e, t) {
46
+ if (P(e) != "object" || !e) return e;
47
+ var r = e[Symbol.toPrimitive];
48
+ if (r !== void 0) {
49
+ var n = r.call(e, t);
50
+ if (P(n) != "object") return n;
51
+ throw new TypeError("@@toPrimitive must return a primitive value.");
52
+ }
53
+ return String(e);
54
+ }
55
+ var Pe = "1.2.0", Se = "1.7.35", bt = " ext. ", Ee = /^\d+$/, f = /* @__PURE__ */ (function() {
56
+ function e(t) {
57
+ Y(this, e), ee(t), this.metadata = t, re.call(this, t);
58
+ }
59
+ return Z(e, [{
60
+ key: "getCountries",
61
+ value: function() {
62
+ return Object.keys(this.metadata.countries).filter(function(r) {
63
+ return r !== "001";
64
+ });
65
+ }
66
+ }, {
67
+ key: "getCountryMetadata",
68
+ value: function(r) {
69
+ return this.metadata.countries[r];
70
+ }
71
+ }, {
72
+ key: "nonGeographic",
73
+ value: function() {
74
+ if (!(this.v1 || this.v2 || this.v3))
75
+ return this.metadata.nonGeographic || this.metadata.nonGeographical;
76
+ }
77
+ }, {
78
+ key: "hasCountry",
79
+ value: function(r) {
80
+ return this.getCountryMetadata(r) !== void 0;
81
+ }
82
+ }, {
83
+ key: "hasCallingCode",
84
+ value: function(r) {
85
+ if (this.getCountryCodesForCallingCode(r))
86
+ return !0;
87
+ if (this.nonGeographic()) {
88
+ if (this.nonGeographic()[r])
89
+ return !0;
90
+ } else {
91
+ var n = this.countryCallingCodes()[r];
92
+ if (n && n.length === 1 && n[0] === "001")
93
+ return !0;
94
+ }
95
+ }
96
+ }, {
97
+ key: "isNonGeographicCallingCode",
98
+ value: function(r) {
99
+ return this.nonGeographic() ? !!this.nonGeographic()[r] : !this.getCountryCodesForCallingCode(r);
100
+ }
101
+ // Deprecated.
102
+ }, {
103
+ key: "country",
104
+ value: function(r) {
105
+ return this.selectNumberingPlan(r);
106
+ }
107
+ }, {
108
+ key: "selectNumberingPlan",
109
+ value: function(r, n) {
110
+ if (r && Ee.test(r) && (n = r, r = null), r && r !== "001") {
111
+ if (!this.hasCountry(r))
112
+ throw new Error("Unknown country: ".concat(r));
113
+ this.numberingPlan = new xt(this.getCountryMetadata(r), this);
114
+ } else if (n) {
115
+ if (!this.hasCallingCode(n))
116
+ throw new Error("Unknown calling code: ".concat(n));
117
+ this.numberingPlan = new xt(this.getNumberingPlanMetadata(n), this);
118
+ } else
119
+ this.numberingPlan = void 0;
120
+ return this;
121
+ }
122
+ }, {
123
+ key: "getCountryCodesForCallingCode",
124
+ value: function(r) {
125
+ var n = this.countryCallingCodes()[r];
126
+ if (n)
127
+ return n.length === 1 && n[0].length === 3 ? void 0 : n;
128
+ }
129
+ }, {
130
+ key: "getCountryCodeForCallingCode",
131
+ value: function(r) {
132
+ var n = this.getCountryCodesForCallingCode(r);
133
+ if (n)
134
+ return n[0];
135
+ }
136
+ }, {
137
+ key: "getNumberingPlanMetadata",
138
+ value: function(r) {
139
+ var n = this.getCountryCodeForCallingCode(r);
140
+ if (n)
141
+ return this.getCountryMetadata(n);
142
+ if (this.nonGeographic()) {
143
+ var i = this.nonGeographic()[r];
144
+ if (i)
145
+ return i;
146
+ } else {
147
+ var a = this.countryCallingCodes()[r];
148
+ if (a && a.length === 1 && a[0] === "001")
149
+ return this.metadata.countries["001"];
150
+ }
151
+ }
152
+ // Deprecated.
153
+ }, {
154
+ key: "countryCallingCode",
155
+ value: function() {
156
+ return this.numberingPlan.callingCode();
157
+ }
158
+ // Deprecated.
159
+ }, {
160
+ key: "IDDPrefix",
161
+ value: function() {
162
+ return this.numberingPlan.IDDPrefix();
163
+ }
164
+ // Deprecated.
165
+ }, {
166
+ key: "defaultIDDPrefix",
167
+ value: function() {
168
+ return this.numberingPlan.defaultIDDPrefix();
169
+ }
170
+ // Deprecated.
171
+ }, {
172
+ key: "nationalNumberPattern",
173
+ value: function() {
174
+ return this.numberingPlan.nationalNumberPattern();
175
+ }
176
+ // Deprecated.
177
+ }, {
178
+ key: "possibleLengths",
179
+ value: function() {
180
+ return this.numberingPlan.possibleLengths();
181
+ }
182
+ // Deprecated.
183
+ }, {
184
+ key: "formats",
185
+ value: function() {
186
+ return this.numberingPlan.formats();
187
+ }
188
+ // Deprecated.
189
+ }, {
190
+ key: "nationalPrefixForParsing",
191
+ value: function() {
192
+ return this.numberingPlan.nationalPrefixForParsing();
193
+ }
194
+ // Deprecated.
195
+ }, {
196
+ key: "nationalPrefixTransformRule",
197
+ value: function() {
198
+ return this.numberingPlan.nationalPrefixTransformRule();
199
+ }
200
+ // Deprecated.
201
+ }, {
202
+ key: "leadingDigits",
203
+ value: function() {
204
+ return this.numberingPlan.leadingDigits();
205
+ }
206
+ // Deprecated.
207
+ }, {
208
+ key: "hasTypes",
209
+ value: function() {
210
+ return this.numberingPlan.hasTypes();
211
+ }
212
+ // Deprecated.
213
+ }, {
214
+ key: "type",
215
+ value: function(r) {
216
+ return this.numberingPlan.type(r);
217
+ }
218
+ // Deprecated.
219
+ }, {
220
+ key: "ext",
221
+ value: function() {
222
+ return this.numberingPlan.ext();
223
+ }
224
+ }, {
225
+ key: "countryCallingCodes",
226
+ value: function() {
227
+ return this.v1 ? this.metadata.country_phone_code_to_countries : this.metadata.country_calling_codes;
228
+ }
229
+ // Deprecated.
230
+ }, {
231
+ key: "chooseCountryByCountryCallingCode",
232
+ value: function(r) {
233
+ return this.selectNumberingPlan(r);
234
+ }
235
+ }, {
236
+ key: "hasSelectedNumberingPlan",
237
+ value: function() {
238
+ return this.numberingPlan !== void 0;
239
+ }
240
+ }]);
241
+ })(), xt = /* @__PURE__ */ (function() {
242
+ function e(t, r) {
243
+ Y(this, e), this.globalMetadataObject = r, this.metadata = t, re.call(this, r.metadata);
244
+ }
245
+ return Z(e, [{
246
+ key: "callingCode",
247
+ value: function() {
248
+ return this.metadata[0];
249
+ }
250
+ // Formatting information for regions which share
251
+ // a country calling code is contained by only one region
252
+ // for performance reasons. For example, for NANPA region
253
+ // ("North American Numbering Plan Administration",
254
+ // which includes USA, Canada, Cayman Islands, Bahamas, etc)
255
+ // it will be contained in the metadata for `US`.
256
+ }, {
257
+ key: "getDefaultCountryMetadataForRegion",
258
+ value: function() {
259
+ return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode());
260
+ }
261
+ // Is always present.
262
+ }, {
263
+ key: "IDDPrefix",
264
+ value: function() {
265
+ if (!(this.v1 || this.v2))
266
+ return this.metadata[1];
267
+ }
268
+ // Is only present when a country supports multiple IDD prefixes.
269
+ }, {
270
+ key: "defaultIDDPrefix",
271
+ value: function() {
272
+ if (!(this.v1 || this.v2))
273
+ return this.metadata[12];
274
+ }
275
+ }, {
276
+ key: "nationalNumberPattern",
277
+ value: function() {
278
+ return this.v1 || this.v2 ? this.metadata[1] : this.metadata[2];
279
+ }
280
+ // "possible length" data is always present in Google's metadata.
281
+ }, {
282
+ key: "possibleLengths",
283
+ value: function() {
284
+ if (!this.v1)
285
+ return this.metadata[this.v2 ? 2 : 3];
286
+ }
287
+ }, {
288
+ key: "_getFormats",
289
+ value: function(r) {
290
+ return r[this.v1 ? 2 : this.v2 ? 3 : 4];
291
+ }
292
+ // For countries of the same region (e.g. NANPA)
293
+ // formats are all stored in the "main" country for that region.
294
+ // E.g. "RU" and "KZ", "US" and "CA".
295
+ }, {
296
+ key: "formats",
297
+ value: function() {
298
+ var r = this, n = this._getFormats(this.metadata) || this._getFormats(this.getDefaultCountryMetadataForRegion()) || [];
299
+ return n.map(function(i) {
300
+ return new _e(i, r);
301
+ });
302
+ }
303
+ }, {
304
+ key: "nationalPrefix",
305
+ value: function() {
306
+ return this.metadata[this.v1 ? 3 : this.v2 ? 4 : 5];
307
+ }
308
+ }, {
309
+ key: "_getNationalPrefixFormattingRule",
310
+ value: function(r) {
311
+ return r[this.v1 ? 4 : this.v2 ? 5 : 6];
312
+ }
313
+ // For countries of the same region (e.g. NANPA)
314
+ // national prefix formatting rule is stored in the "main" country for that region.
315
+ // E.g. "RU" and "KZ", "US" and "CA".
316
+ }, {
317
+ key: "nationalPrefixFormattingRule",
318
+ value: function() {
319
+ return this._getNationalPrefixFormattingRule(this.metadata) || this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion());
320
+ }
321
+ }, {
322
+ key: "_nationalPrefixForParsing",
323
+ value: function() {
324
+ return this.metadata[this.v1 ? 5 : this.v2 ? 6 : 7];
325
+ }
326
+ }, {
327
+ key: "nationalPrefixForParsing",
328
+ value: function() {
329
+ return this._nationalPrefixForParsing() || this.nationalPrefix();
330
+ }
331
+ }, {
332
+ key: "nationalPrefixTransformRule",
333
+ value: function() {
334
+ return this.metadata[this.v1 ? 6 : this.v2 ? 7 : 8];
335
+ }
336
+ }, {
337
+ key: "_getNationalPrefixIsOptionalWhenFormatting",
338
+ value: function() {
339
+ return !!this.metadata[this.v1 ? 7 : this.v2 ? 8 : 9];
340
+ }
341
+ // For countries of the same region (e.g. NANPA)
342
+ // "national prefix is optional when formatting" flag is
343
+ // stored in the "main" country for that region.
344
+ // E.g. "RU" and "KZ", "US" and "CA".
345
+ }, {
346
+ key: "nationalPrefixIsOptionalWhenFormattingInNationalFormat",
347
+ value: function() {
348
+ return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata) || this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion());
349
+ }
350
+ }, {
351
+ key: "leadingDigits",
352
+ value: function() {
353
+ return this.metadata[this.v1 ? 8 : this.v2 ? 9 : 10];
354
+ }
355
+ }, {
356
+ key: "types",
357
+ value: function() {
358
+ return this.metadata[this.v1 ? 9 : this.v2 ? 10 : 11];
359
+ }
360
+ }, {
361
+ key: "hasTypes",
362
+ value: function() {
363
+ return this.types() && this.types().length === 0 ? !1 : !!this.types();
364
+ }
365
+ }, {
366
+ key: "type",
367
+ value: function(r) {
368
+ if (this.hasTypes() && wt(this.types(), r))
369
+ return new Te(wt(this.types(), r), this);
370
+ }
371
+ }, {
372
+ key: "ext",
373
+ value: function() {
374
+ return this.v1 || this.v2 ? bt : this.metadata[13] || bt;
375
+ }
376
+ }]);
377
+ })(), _e = /* @__PURE__ */ (function() {
378
+ function e(t, r) {
379
+ Y(this, e), this._format = t, this.metadata = r;
380
+ }
381
+ return Z(e, [{
382
+ key: "pattern",
383
+ value: function() {
384
+ return this._format[0];
385
+ }
386
+ }, {
387
+ key: "format",
388
+ value: function() {
389
+ return this._format[1];
390
+ }
391
+ }, {
392
+ key: "leadingDigitsPatterns",
393
+ value: function() {
394
+ return this._format[2] || [];
395
+ }
396
+ }, {
397
+ key: "nationalPrefixFormattingRule",
398
+ value: function() {
399
+ return this._format[3] || this.metadata.nationalPrefixFormattingRule();
400
+ }
401
+ }, {
402
+ key: "nationalPrefixIsOptionalWhenFormattingInNationalFormat",
403
+ value: function() {
404
+ return !!this._format[4] || this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat();
405
+ }
406
+ }, {
407
+ key: "nationalPrefixIsMandatoryWhenFormattingInNationalFormat",
408
+ value: function() {
409
+ return this.usesNationalPrefix() && !this.nationalPrefixIsOptionalWhenFormattingInNationalFormat();
410
+ }
411
+ // Checks whether national prefix formatting rule contains national prefix.
412
+ }, {
413
+ key: "usesNationalPrefix",
414
+ value: function() {
415
+ return !!(this.nationalPrefixFormattingRule() && // Check that national prefix formatting rule is not a "dummy" one.
416
+ !Ie.test(this.nationalPrefixFormattingRule()));
417
+ }
418
+ }, {
419
+ key: "internationalFormat",
420
+ value: function() {
421
+ return this._format[5] || this.format();
422
+ }
423
+ }]);
424
+ })(), Ie = /^\(?\$1\)?$/, Te = /* @__PURE__ */ (function() {
425
+ function e(t, r) {
426
+ Y(this, e), this.type = t, this.metadata = r;
427
+ }
428
+ return Z(e, [{
429
+ key: "pattern",
430
+ value: function() {
431
+ return this.metadata.v1 ? this.type : this.type[0];
432
+ }
433
+ }, {
434
+ key: "possibleLengths",
435
+ value: function() {
436
+ if (!this.metadata.v1)
437
+ return this.type[1] || this.metadata.possibleLengths();
438
+ }
439
+ }]);
440
+ })();
441
+ function wt(e, t) {
442
+ switch (t) {
443
+ case "FIXED_LINE":
444
+ return e[0];
445
+ case "MOBILE":
446
+ return e[1];
447
+ case "TOLL_FREE":
448
+ return e[2];
449
+ case "PREMIUM_RATE":
450
+ return e[3];
451
+ case "PERSONAL_NUMBER":
452
+ return e[4];
453
+ case "VOICEMAIL":
454
+ return e[5];
455
+ case "UAN":
456
+ return e[6];
457
+ case "PAGER":
458
+ return e[7];
459
+ case "VOIP":
460
+ return e[8];
461
+ case "SHARED_COST":
462
+ return e[9];
463
+ }
464
+ }
465
+ function ee(e) {
466
+ if (!e)
467
+ throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");
468
+ if (!C(e) || !C(e.countries))
469
+ 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(C(e) ? "an object of shape: { " + Object.keys(e).join(", ") + " }" : "a " + Ae(e) + ": " + e, "."));
470
+ }
471
+ var Ae = function(t) {
472
+ return P(t);
473
+ };
474
+ function ct(e, t) {
475
+ if (t = new f(t), t.hasCountry(e))
476
+ return t.country(e).countryCallingCode();
477
+ throw new Error("Unknown country: ".concat(e));
478
+ }
479
+ function Fe(e, t) {
480
+ return t.countries.hasOwnProperty(e);
481
+ }
482
+ function re(e) {
483
+ var t = e.version;
484
+ typeof t == "number" ? (this.v1 = t === 1, this.v2 = t === 2, this.v3 = t === 3, this.v4 = t === 4) : t ? yt(t, Pe) === -1 ? this.v2 = !0 : yt(t, Se) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
485
+ }
486
+ function J(e, t) {
487
+ return ke(e, void 0, t);
488
+ }
489
+ function ke(e, t, r) {
490
+ var n = r.type(t), i = n && n.possibleLengths() || r.possibleLengths();
491
+ if (!i)
492
+ return "IS_POSSIBLE";
493
+ var a = e.length, d = i[0];
494
+ return d === a ? "IS_POSSIBLE" : d > a ? "TOO_SHORT" : i[i.length - 1] < a ? "TOO_LONG" : i.indexOf(a, 1) >= 0 ? "IS_POSSIBLE" : "INVALID_LENGTH";
495
+ }
496
+ function Oe(e, t, r) {
497
+ if (t === void 0 && (t = {}), r = new f(r), t.v2) {
498
+ if (!e.countryCallingCode)
499
+ throw new Error("Invalid phone number object passed");
500
+ r.selectNumberingPlan(e.countryCallingCode);
501
+ } else {
502
+ if (!e.phone)
503
+ return !1;
504
+ if (e.country) {
505
+ if (!r.hasCountry(e.country))
506
+ throw new Error("Unknown country: ".concat(e.country));
507
+ r.country(e.country);
508
+ } else {
509
+ if (!e.countryCallingCode)
510
+ throw new Error("Invalid phone number object passed");
511
+ r.selectNumberingPlan(e.countryCallingCode);
512
+ }
513
+ }
514
+ if (r.possibleLengths())
515
+ return ne(e.phone || e.nationalNumber, r);
516
+ if (e.countryCallingCode && r.isNonGeographicCallingCode(e.countryCallingCode))
517
+ return !0;
518
+ throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.');
519
+ }
520
+ function ne(e, t) {
521
+ switch (J(e, t)) {
522
+ case "IS_POSSIBLE":
523
+ return !0;
524
+ // This library ignores "local-only" phone numbers (for simplicity).
525
+ // See the readme for more info on what are "local-only" phone numbers.
526
+ // case 'IS_POSSIBLE_LOCAL_ONLY':
527
+ // return !isInternational
528
+ default:
529
+ return !1;
530
+ }
531
+ }
532
+ function w(e, t) {
533
+ return e = e || "", new RegExp("^(?:" + t + ")$").test(e);
534
+ }
535
+ function Re(e, t) {
536
+ var r = typeof Symbol != "undefined" && e[Symbol.iterator] || e["@@iterator"];
537
+ if (r) return (r = r.call(e)).next.bind(r);
538
+ if (Array.isArray(e) || (r = Le(e)) || t) {
539
+ r && (e = r);
540
+ var n = 0;
541
+ return function() {
542
+ return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
543
+ };
544
+ }
545
+ throw new TypeError(`Invalid attempt to iterate non-iterable instance.
546
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
547
+ }
548
+ function Le(e, t) {
549
+ if (e) {
550
+ if (typeof e == "string") return Ct(e, t);
551
+ var r = {}.toString.call(e).slice(8, -1);
552
+ return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? Ct(e, t) : void 0;
553
+ }
554
+ }
555
+ function Ct(e, t) {
556
+ (t == null || t > e.length) && (t = e.length);
557
+ for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
558
+ return n;
559
+ }
560
+ var Me = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
561
+ function ft(e, t, r) {
562
+ if (t = t || {}, !(!e.country && !e.countryCallingCode)) {
563
+ r = new f(r), r.selectNumberingPlan(e.country, e.countryCallingCode);
564
+ var n = t.v2 ? e.nationalNumber : e.phone;
565
+ if (w(n, r.nationalNumberPattern())) {
566
+ if (tt(n, "FIXED_LINE", r))
567
+ return r.type("MOBILE") && r.type("MOBILE").pattern() === "" || !r.type("MOBILE") || tt(n, "MOBILE", r) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
568
+ for (var i = Re(Me), a; !(a = i()).done; ) {
569
+ var d = a.value;
570
+ if (tt(n, d, r))
571
+ return d;
572
+ }
573
+ }
574
+ }
575
+ }
576
+ function tt(e, t, r) {
577
+ return t = r.type(t), !t || !t.pattern() || t.possibleLengths() && t.possibleLengths().indexOf(e.length) < 0 ? !1 : w(e, t.pattern());
578
+ }
579
+ function De(e, t, r) {
580
+ if (t = t || {}, r = new f(r), r.selectNumberingPlan(e.country, e.countryCallingCode), r.hasTypes())
581
+ return ft(e, t, r.metadata) !== void 0;
582
+ var n = t.v2 ? e.nationalNumber : e.phone;
583
+ return w(n, r.nationalNumberPattern());
584
+ }
585
+ function je(e, t, r) {
586
+ var n = new f(r), i = n.getCountryCodesForCallingCode(e);
587
+ return i ? i.filter(function(a) {
588
+ return Be(t, a, r);
589
+ }) : [];
590
+ }
591
+ function Be(e, t, r) {
592
+ var n = new f(r);
593
+ return n.selectNumberingPlan(t), n.numberingPlan.possibleLengths().indexOf(e.length) >= 0;
594
+ }
595
+ var vt = 2, Ge = 17, Ue = 3, m = "0-90-9٠-٩۰-۹", He = "-‐-―−ー-", We = "//", Ve = "..", Ke = "  ­​⁠ ", ze = "()()[]\\[\\]", Xe = "~⁓∼~", y = "".concat(He).concat(We).concat(Ve).concat(Ke).concat(ze).concat(Xe), q = "++", Ye = new RegExp("([" + m + "])");
596
+ function ie(e, t, r, n) {
597
+ if (t) {
598
+ var i = new f(n);
599
+ i.selectNumberingPlan(t, r);
600
+ var a = new RegExp(i.IDDPrefix());
601
+ if (e.search(a) === 0) {
602
+ e = e.slice(e.match(a)[0].length);
603
+ var d = e.match(Ye);
604
+ if (!(d && d[1] != null && d[1].length > 0 && d[1] === "0"))
605
+ return e;
606
+ }
607
+ }
608
+ }
609
+ function it(e, t) {
610
+ if (e && t.numberingPlan.nationalPrefixForParsing()) {
611
+ var r = new RegExp("^(?:" + t.numberingPlan.nationalPrefixForParsing() + ")"), n = r.exec(e);
612
+ if (n) {
613
+ var i, a, d = n.length - 1, o = d > 0 && n[d];
614
+ if (t.nationalPrefixTransformRule() && o)
615
+ i = e.replace(r, t.nationalPrefixTransformRule()), d > 1 && (a = n[1]);
616
+ else {
617
+ var l = n[0];
618
+ i = e.slice(l.length), o && (a = n[1]);
619
+ }
620
+ var s;
621
+ if (o) {
622
+ var u = e.indexOf(n[1]), c = e.slice(0, u);
623
+ c === t.numberingPlan.nationalPrefix() && (s = t.numberingPlan.nationalPrefix());
624
+ } else
625
+ s = n[0];
626
+ return {
627
+ nationalNumber: i,
628
+ nationalPrefix: s,
629
+ carrierCode: a
630
+ };
631
+ }
632
+ }
633
+ return {
634
+ nationalNumber: e
635
+ };
636
+ }
637
+ function at(e, t) {
638
+ var r = it(e, t), n = r.carrierCode, i = r.nationalNumber;
639
+ if (i !== e) {
640
+ if (!Ze(e, i, t))
641
+ return {
642
+ nationalNumber: e
643
+ };
644
+ if (t.possibleLengths() && !Je(i, t))
645
+ return {
646
+ nationalNumber: e
647
+ };
648
+ }
649
+ return {
650
+ nationalNumber: i,
651
+ carrierCode: n
652
+ };
653
+ }
654
+ function Ze(e, t, r) {
655
+ return !(w(e, r.nationalNumberPattern()) && !w(t, r.nationalNumberPattern()));
656
+ }
657
+ function Je(e, t) {
658
+ switch (J(e, t)) {
659
+ case "TOO_SHORT":
660
+ case "INVALID_LENGTH":
661
+ return !1;
662
+ default:
663
+ return !0;
664
+ }
665
+ }
666
+ function ae(e, t, r, n) {
667
+ var i = t ? ct(t, n) : r;
668
+ if (e.indexOf(i) === 0) {
669
+ n = new f(n), n.selectNumberingPlan(t, r);
670
+ var a = e.slice(i.length), d = at(a, n), o = d.nationalNumber, l = at(e, n), s = l.nationalNumber;
671
+ if (!w(s, n.nationalNumberPattern()) && w(o, n.nationalNumberPattern()) || J(s, n) === "TOO_LONG")
672
+ return {
673
+ countryCallingCode: i,
674
+ number: a
675
+ };
676
+ }
677
+ return {
678
+ number: e
679
+ };
680
+ }
681
+ function mt(e, t, r, n) {
682
+ if (!e)
683
+ return {};
684
+ var i;
685
+ if (e[0] !== "+") {
686
+ var a = ie(e, t, r, n);
687
+ if (a && a !== e)
688
+ i = !0, e = "+" + a;
689
+ else {
690
+ if (t || r) {
691
+ var d = ae(e, t, r, n), o = d.countryCallingCode, l = d.number;
692
+ if (o)
693
+ return {
694
+ countryCallingCodeSource: "FROM_NUMBER_WITHOUT_PLUS_SIGN",
695
+ countryCallingCode: o,
696
+ number: l
697
+ };
698
+ }
699
+ return {
700
+ // No need to set it to `UNSPECIFIED`. It can be just `undefined`.
701
+ // countryCallingCodeSource: 'UNSPECIFIED',
702
+ number: e
703
+ };
704
+ }
705
+ }
706
+ if (e[1] === "0")
707
+ return {};
708
+ n = new f(n);
709
+ for (var s = 2; s - 1 <= Ue && s <= e.length; ) {
710
+ var u = e.slice(1, s);
711
+ if (n.hasCallingCode(u))
712
+ return n.selectNumberingPlan(u), {
713
+ countryCallingCodeSource: i ? "FROM_NUMBER_WITH_IDD" : "FROM_NUMBER_WITH_PLUS_SIGN",
714
+ countryCallingCode: u,
715
+ number: e.slice(s)
716
+ };
717
+ s++;
718
+ }
719
+ return {};
720
+ }
721
+ function de(e) {
722
+ return e.replace(new RegExp("[".concat(y, "]+"), "g"), " ").trim();
723
+ }
724
+ var oe = /(\$\d)/;
725
+ function le(e, t, r) {
726
+ var n = r.useInternationalFormat, i = r.withNationalPrefix;
727
+ r.carrierCode, r.metadata;
728
+ var a = e.replace(new RegExp(t.pattern()), n ? t.internationalFormat() : (
729
+ // This library doesn't use `domestic_carrier_code_formatting_rule`,
730
+ // because that one is only used when formatting phone numbers
731
+ // for dialing from a mobile phone, and this is not a dialing library.
732
+ // carrierCode && format.domesticCarrierCodeFormattingRule()
733
+ // // First, replace the $CC in the formatting rule with the desired carrier code.
734
+ // // Then, replace the $FG in the formatting rule with the first group
735
+ // // and the carrier code combined in the appropriate way.
736
+ // ? format.format().replace(FIRST_GROUP_PATTERN, format.domesticCarrierCodeFormattingRule().replace('$CC', carrierCode))
737
+ // : (
738
+ // withNationalPrefix && format.nationalPrefixFormattingRule()
739
+ // ? format.format().replace(FIRST_GROUP_PATTERN, format.nationalPrefixFormattingRule())
740
+ // : format.format()
741
+ // )
742
+ i && t.nationalPrefixFormattingRule() ? t.format().replace(oe, t.nationalPrefixFormattingRule()) : t.format()
743
+ ));
744
+ return n ? de(a) : a;
745
+ }
746
+ var qe = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
747
+ function Qe(e, t, r) {
748
+ var n = new f(r);
749
+ if (n.selectNumberingPlan(e, t), n.defaultIDDPrefix())
750
+ return n.defaultIDDPrefix();
751
+ if (qe.test(n.IDDPrefix()))
752
+ return n.IDDPrefix();
753
+ }
754
+ var tr = ";ext=", N = function(t) {
755
+ return "([".concat(m, "]{1,").concat(t, "})");
756
+ };
757
+ function se(e) {
758
+ var t = "20", r = "15", n = "9", i = "6", a = "[  \\t,]*", d = "[:\\..]?[  \\t,-]*", o = "#?", l = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", s = "(?:[xx##~~]|int|int)", u = "[- ]+", c = "[  \\t]*", $ = "(?:,{2}|;)", v = tr + N(t), h = a + l + d + N(t) + o, b = a + s + d + N(n) + o, p = u + N(i) + "#", W = c + $ + d + N(r) + o, V = c + "(?:,)+" + d + N(n) + o;
759
+ return v + "|" + h + "|" + b + "|" + p + "|" + W + "|" + V;
760
+ }
761
+ var er = "[" + m + "]{" + vt + "}", rr = "[" + q + "]{0,1}(?:[" + y + "]*[" + m + "]){3,}[" + y + m + "]*", nr = new RegExp("^[" + q + "]{0,1}(?:[" + y + "]*[" + m + "]){1,2}$", "i"), ir = rr + // Phone number extensions
762
+ "(?:" + se() + ")?", ar = new RegExp(
763
+ // Either a short two-digit-only phone number
764
+ "^" + er + "$|^" + ir + "$",
765
+ "i"
766
+ );
767
+ function dr(e) {
768
+ return e.length >= vt && ar.test(e);
769
+ }
770
+ function or(e) {
771
+ return nr.test(e);
772
+ }
773
+ function lr(e) {
774
+ var t = e.number, r = e.ext;
775
+ if (!t)
776
+ return "";
777
+ if (t[0] !== "+")
778
+ throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');
779
+ return "tel:".concat(t).concat(r ? ";ext=" + r : "");
780
+ }
781
+ function T(e) {
782
+ "@babel/helpers - typeof";
783
+ return T = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
784
+ return typeof t;
785
+ } : function(t) {
786
+ return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
787
+ }, T(e);
788
+ }
789
+ function sr(e, t) {
790
+ var r = typeof Symbol != "undefined" && e[Symbol.iterator] || e["@@iterator"];
791
+ if (r) return (r = r.call(e)).next.bind(r);
792
+ if (Array.isArray(e) || (r = ur(e)) || t) {
793
+ r && (e = r);
794
+ var n = 0;
795
+ return function() {
796
+ return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
797
+ };
798
+ }
799
+ throw new TypeError(`Invalid attempt to iterate non-iterable instance.
800
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
801
+ }
802
+ function ur(e, t) {
803
+ if (e) {
804
+ if (typeof e == "string") return Nt(e, t);
805
+ var r = {}.toString.call(e).slice(8, -1);
806
+ return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? Nt(e, t) : void 0;
807
+ }
808
+ }
809
+ function Nt(e, t) {
810
+ (t == null || t > e.length) && (t = e.length);
811
+ for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
812
+ return n;
813
+ }
814
+ function Pt(e, t) {
815
+ var r = Object.keys(e);
816
+ if (Object.getOwnPropertySymbols) {
817
+ var n = Object.getOwnPropertySymbols(e);
818
+ t && (n = n.filter(function(i) {
819
+ return Object.getOwnPropertyDescriptor(e, i).enumerable;
820
+ })), r.push.apply(r, n);
821
+ }
822
+ return r;
823
+ }
824
+ function St(e) {
825
+ for (var t = 1; t < arguments.length; t++) {
826
+ var r = arguments[t] != null ? arguments[t] : {};
827
+ t % 2 ? Pt(Object(r), !0).forEach(function(n) {
828
+ $r(e, n, r[n]);
829
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Pt(Object(r)).forEach(function(n) {
830
+ Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
831
+ });
832
+ }
833
+ return e;
834
+ }
835
+ function $r(e, t, r) {
836
+ return (t = cr(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
837
+ }
838
+ function cr(e) {
839
+ var t = fr(e, "string");
840
+ return T(t) == "symbol" ? t : t + "";
841
+ }
842
+ function fr(e, t) {
843
+ if (T(e) != "object" || !e) return e;
844
+ var r = e[Symbol.toPrimitive];
845
+ if (r !== void 0) {
846
+ var n = r.call(e, t);
847
+ if (T(n) != "object") return n;
848
+ throw new TypeError("@@toPrimitive must return a primitive value.");
849
+ }
850
+ return (t === "string" ? String : Number)(e);
851
+ }
852
+ var Et = {
853
+ formatExtension: function(t, r, n) {
854
+ return "".concat(t).concat(n.ext()).concat(r);
855
+ }
856
+ };
857
+ function vr(e, t, r, n) {
858
+ if (r ? r = St(St({}, Et), r) : r = Et, n = new f(n), e.country && e.country !== "001") {
859
+ if (!n.hasCountry(e.country))
860
+ throw new Error("Unknown country: ".concat(e.country));
861
+ n.country(e.country);
862
+ } else if (e.countryCallingCode)
863
+ n.selectNumberingPlan(e.countryCallingCode);
864
+ else return e.phone || "";
865
+ var i = n.countryCallingCode(), a = r.v2 ? e.nationalNumber : e.phone, d;
866
+ switch (t) {
867
+ case "NATIONAL":
868
+ return a ? (d = z(a, e.carrierCode, "NATIONAL", n, r), et(d, e.ext, n, r.formatExtension)) : "";
869
+ case "INTERNATIONAL":
870
+ return a ? (d = z(a, null, "INTERNATIONAL", n, r), d = "+".concat(i, " ").concat(d), et(d, e.ext, n, r.formatExtension)) : "+".concat(i);
871
+ case "E.164":
872
+ return "+".concat(i).concat(a);
873
+ case "RFC3966":
874
+ return lr({
875
+ number: "+".concat(i).concat(a),
876
+ ext: e.ext
877
+ });
878
+ // For reference, here's Google's IDD formatter:
879
+ // https://github.com/google/libphonenumber/blob/32719cf74e68796788d1ca45abc85dcdc63ba5b9/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java#L1546
880
+ // Not saying that this IDD formatter replicates it 1:1, but it seems to work.
881
+ // Who would even need to format phone numbers in IDD format anyway?
882
+ case "IDD":
883
+ if (!r.fromCountry)
884
+ return;
885
+ var o = hr(a, e.carrierCode, i, r.fromCountry, n);
886
+ return et(o, e.ext, n, r.formatExtension);
887
+ default:
888
+ throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t, '"'));
889
+ }
890
+ }
891
+ function z(e, t, r, n, i) {
892
+ var a = mr(n.formats(), e);
893
+ return a ? le(e, a, {
894
+ useInternationalFormat: r === "INTERNATIONAL",
895
+ withNationalPrefix: !(a.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && i && i.nationalPrefix === !1),
896
+ carrierCode: t,
897
+ metadata: n
898
+ }) : e;
899
+ }
900
+ function mr(e, t) {
901
+ for (var r = sr(e), n; !(n = r()).done; ) {
902
+ var i = n.value;
903
+ if (i.leadingDigitsPatterns().length > 0) {
904
+ var a = i.leadingDigitsPatterns()[i.leadingDigitsPatterns().length - 1];
905
+ if (t.search(a) !== 0)
906
+ continue;
907
+ }
908
+ if (w(t, i.pattern()))
909
+ return i;
910
+ }
911
+ }
912
+ function et(e, t, r, n) {
913
+ return t ? n(e, t, r) : e;
914
+ }
915
+ function hr(e, t, r, n, i) {
916
+ var a = ct(n, i.metadata);
917
+ if (a === r) {
918
+ var d = z(e, t, "NATIONAL", i);
919
+ return r === "1" ? r + " " + d : d;
920
+ }
921
+ var o = Qe(n, void 0, i.metadata);
922
+ if (o)
923
+ return "".concat(o, " ").concat(r, " ").concat(z(e, null, "INTERNATIONAL", i));
924
+ }
925
+ function A(e) {
926
+ "@babel/helpers - typeof";
927
+ return A = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
928
+ return typeof t;
929
+ } : function(t) {
930
+ return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
931
+ }, A(e);
932
+ }
933
+ function _t(e, t) {
934
+ var r = Object.keys(e);
935
+ if (Object.getOwnPropertySymbols) {
936
+ var n = Object.getOwnPropertySymbols(e);
937
+ t && (n = n.filter(function(i) {
938
+ return Object.getOwnPropertyDescriptor(e, i).enumerable;
939
+ })), r.push.apply(r, n);
940
+ }
941
+ return r;
942
+ }
943
+ function It(e) {
944
+ for (var t = 1; t < arguments.length; t++) {
945
+ var r = arguments[t] != null ? arguments[t] : {};
946
+ t % 2 ? _t(Object(r), !0).forEach(function(n) {
947
+ pr(e, n, r[n]);
948
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : _t(Object(r)).forEach(function(n) {
949
+ Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
950
+ });
951
+ }
952
+ return e;
953
+ }
954
+ function pr(e, t, r) {
955
+ return (t = ue(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
956
+ }
957
+ function gr(e, t) {
958
+ if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
959
+ }
960
+ function yr(e, t) {
961
+ for (var r = 0; r < t.length; r++) {
962
+ var n = t[r];
963
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, ue(n.key), n);
964
+ }
965
+ }
966
+ function br(e, t, r) {
967
+ return t && yr(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
968
+ }
969
+ function ue(e) {
970
+ var t = xr(e, "string");
971
+ return A(t) == "symbol" ? t : t + "";
972
+ }
973
+ function xr(e, t) {
974
+ if (A(e) != "object" || !e) return e;
975
+ var r = e[Symbol.toPrimitive];
976
+ if (r !== void 0) {
977
+ var n = r.call(e, t);
978
+ if (A(n) != "object") return n;
979
+ throw new TypeError("@@toPrimitive must return a primitive value.");
980
+ }
981
+ return String(e);
982
+ }
983
+ var $e = /* @__PURE__ */ (function() {
984
+ function e(t, r, n) {
985
+ if (gr(this, e), !t)
986
+ throw new TypeError("First argument is required");
987
+ if (typeof t != "string")
988
+ throw new TypeError("First argument must be a string");
989
+ if (t[0] === "+" && !r)
990
+ throw new TypeError("`metadata` argument not passed");
991
+ if (C(r) && C(r.countries)) {
992
+ n = r;
993
+ var i = t;
994
+ if (!Nr.test(i))
995
+ throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');
996
+ var a = mt(i, void 0, void 0, n), d = a.countryCallingCode, o = a.number;
997
+ if (r = o, t = d, !r)
998
+ throw new Error("Invalid `number` argument passed: too short");
999
+ }
1000
+ if (!r)
1001
+ throw new TypeError("`nationalNumber` argument is required");
1002
+ if (typeof r != "string")
1003
+ throw new TypeError("`nationalNumber` argument must be a string");
1004
+ ee(n);
1005
+ var l = Cr(t, n), s = l.country, u = l.countryCallingCode;
1006
+ this.country = s, this.countryCallingCode = u, this.nationalNumber = r, this.number = "+" + this.countryCallingCode + this.nationalNumber, this.getMetadata = function() {
1007
+ return n;
1008
+ };
1009
+ }
1010
+ return br(e, [{
1011
+ key: "setExt",
1012
+ value: function(r) {
1013
+ this.ext = r;
1014
+ }
1015
+ }, {
1016
+ key: "getPossibleCountries",
1017
+ value: function() {
1018
+ return this.country ? [this.country] : je(this.countryCallingCode, this.nationalNumber, this.getMetadata());
1019
+ }
1020
+ }, {
1021
+ key: "isPossible",
1022
+ value: function() {
1023
+ return Oe(this, {
1024
+ v2: !0
1025
+ }, this.getMetadata());
1026
+ }
1027
+ }, {
1028
+ key: "isValid",
1029
+ value: function() {
1030
+ return De(this, {
1031
+ v2: !0
1032
+ }, this.getMetadata());
1033
+ }
1034
+ }, {
1035
+ key: "isNonGeographic",
1036
+ value: function() {
1037
+ var r = new f(this.getMetadata());
1038
+ return r.isNonGeographicCallingCode(this.countryCallingCode);
1039
+ }
1040
+ }, {
1041
+ key: "isEqual",
1042
+ value: function(r) {
1043
+ return this.number === r.number && this.ext === r.ext;
1044
+ }
1045
+ // This function was originally meant to be an equivalent for `validatePhoneNumberLength()`,
1046
+ // but later it was found out that it doesn't include the possible `TOO_SHORT` result
1047
+ // returned from `parsePhoneNumberWithError()` in the original `validatePhoneNumberLength()`,
1048
+ // so eventually I simply commented out this method from the `PhoneNumber` class
1049
+ // and just left the `validatePhoneNumberLength()` function, even though that one would require
1050
+ // and additional step to also validate the actual country / calling code of the phone number.
1051
+ // validateLength() {
1052
+ // const metadata = new Metadata(this.getMetadata())
1053
+ // metadata.selectNumberingPlan(this.countryCallingCode)
1054
+ // const result = checkNumberLength(this.nationalNumber, metadata)
1055
+ // if (result !== 'IS_POSSIBLE') {
1056
+ // return result
1057
+ // }
1058
+ // }
1059
+ }, {
1060
+ key: "getType",
1061
+ value: function() {
1062
+ return ft(this, {
1063
+ v2: !0
1064
+ }, this.getMetadata());
1065
+ }
1066
+ }, {
1067
+ key: "format",
1068
+ value: function(r, n) {
1069
+ return vr(this, r, n ? It(It({}, n), {}, {
1070
+ v2: !0
1071
+ }) : {
1072
+ v2: !0
1073
+ }, this.getMetadata());
1074
+ }
1075
+ }, {
1076
+ key: "formatNational",
1077
+ value: function(r) {
1078
+ return this.format("NATIONAL", r);
1079
+ }
1080
+ }, {
1081
+ key: "formatInternational",
1082
+ value: function(r) {
1083
+ return this.format("INTERNATIONAL", r);
1084
+ }
1085
+ }, {
1086
+ key: "getURI",
1087
+ value: function(r) {
1088
+ return this.format("RFC3966", r);
1089
+ }
1090
+ }]);
1091
+ })(), wr = function(t) {
1092
+ return /^[A-Z]{2}$/.test(t);
1093
+ };
1094
+ function Cr(e, t) {
1095
+ var r, n, i = new f(t);
1096
+ return wr(e) ? (r = e, i.selectNumberingPlan(r), n = i.countryCallingCode()) : n = e, {
1097
+ country: r,
1098
+ countryCallingCode: n
1099
+ };
1100
+ }
1101
+ var Nr = /^\+\d+$/;
1102
+ function dt(e) {
1103
+ "@babel/helpers - typeof";
1104
+ return dt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
1105
+ return typeof t;
1106
+ } : function(t) {
1107
+ return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
1108
+ }, dt(e);
1109
+ }
1110
+ function Pr(e, t, r) {
1111
+ return Object.defineProperty(e, "prototype", { writable: !1 }), e;
1112
+ }
1113
+ function Sr(e, t) {
1114
+ if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
1115
+ }
1116
+ function Er(e, t, r) {
1117
+ return t = k(t), _r(e, ht() ? Reflect.construct(t, r || [], k(e).constructor) : t.apply(e, r));
1118
+ }
1119
+ function _r(e, t) {
1120
+ if (t && (dt(t) == "object" || typeof t == "function")) return t;
1121
+ if (t !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
1122
+ return Ir(e);
1123
+ }
1124
+ function Ir(e) {
1125
+ if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1126
+ return e;
1127
+ }
1128
+ function Tr(e, t) {
1129
+ if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function");
1130
+ e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && F(e, t);
1131
+ }
1132
+ function ot(e) {
1133
+ var t = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
1134
+ return ot = function(n) {
1135
+ if (n === null || !Fr(n)) return n;
1136
+ if (typeof n != "function") throw new TypeError("Super expression must either be null or a function");
1137
+ if (t !== void 0) {
1138
+ if (t.has(n)) return t.get(n);
1139
+ t.set(n, i);
1140
+ }
1141
+ function i() {
1142
+ return Ar(n, arguments, k(this).constructor);
1143
+ }
1144
+ return i.prototype = Object.create(n.prototype, { constructor: { value: i, enumerable: !1, writable: !0, configurable: !0 } }), F(i, n);
1145
+ }, ot(e);
1146
+ }
1147
+ function Ar(e, t, r) {
1148
+ if (ht()) return Reflect.construct.apply(null, arguments);
1149
+ var n = [null];
1150
+ n.push.apply(n, t);
1151
+ var i = new (e.bind.apply(e, n))();
1152
+ return r && F(i, r.prototype), i;
1153
+ }
1154
+ function ht() {
1155
+ try {
1156
+ var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
1157
+ }));
1158
+ } catch (t) {
1159
+ }
1160
+ return (ht = function() {
1161
+ return !!e;
1162
+ })();
1163
+ }
1164
+ function Fr(e) {
1165
+ try {
1166
+ return Function.toString.call(e).indexOf("[native code]") !== -1;
1167
+ } catch (t) {
1168
+ return typeof e == "function";
1169
+ }
1170
+ }
1171
+ function F(e, t) {
1172
+ return F = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, n) {
1173
+ return r.__proto__ = n, r;
1174
+ }, F(e, t);
1175
+ }
1176
+ function k(e) {
1177
+ return k = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
1178
+ return t.__proto__ || Object.getPrototypeOf(t);
1179
+ }, k(e);
1180
+ }
1181
+ var x = /* @__PURE__ */ (function(e) {
1182
+ function t(r) {
1183
+ var n;
1184
+ return Sr(this, t), n = Er(this, t, [r]), Object.setPrototypeOf(n, t.prototype), n.name = n.constructor.name, n;
1185
+ }
1186
+ return Tr(t, e), Pr(t);
1187
+ })(/* @__PURE__ */ ot(Error)), Tt = new RegExp("(?:" + se() + ")$", "i");
1188
+ function kr(e) {
1189
+ var t = e.search(Tt);
1190
+ if (t < 0)
1191
+ return {};
1192
+ for (var r = e.slice(0, t), n = e.match(Tt), i = 1; i < n.length; ) {
1193
+ if (n[i])
1194
+ return {
1195
+ number: r,
1196
+ ext: n[i]
1197
+ };
1198
+ i++;
1199
+ }
1200
+ }
1201
+ function Or(e, t) {
1202
+ var r = typeof Symbol != "undefined" && e[Symbol.iterator] || e["@@iterator"];
1203
+ if (r) return (r = r.call(e)).next.bind(r);
1204
+ if (Array.isArray(e) || (r = Rr(e)) || t) {
1205
+ r && (e = r);
1206
+ var n = 0;
1207
+ return function() {
1208
+ return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
1209
+ };
1210
+ }
1211
+ throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1212
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1213
+ }
1214
+ function Rr(e, t) {
1215
+ if (e) {
1216
+ if (typeof e == "string") return At(e, t);
1217
+ var r = {}.toString.call(e).slice(8, -1);
1218
+ return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? At(e, t) : void 0;
1219
+ }
1220
+ }
1221
+ function At(e, t) {
1222
+ (t == null || t > e.length) && (t = e.length);
1223
+ for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
1224
+ return n;
1225
+ }
1226
+ var Lr = {
1227
+ 0: "0",
1228
+ 1: "1",
1229
+ 2: "2",
1230
+ 3: "3",
1231
+ 4: "4",
1232
+ 5: "5",
1233
+ 6: "6",
1234
+ 7: "7",
1235
+ 8: "8",
1236
+ 9: "9",
1237
+ "0": "0",
1238
+ // Fullwidth digit 0
1239
+ "1": "1",
1240
+ // Fullwidth digit 1
1241
+ "2": "2",
1242
+ // Fullwidth digit 2
1243
+ "3": "3",
1244
+ // Fullwidth digit 3
1245
+ "4": "4",
1246
+ // Fullwidth digit 4
1247
+ "5": "5",
1248
+ // Fullwidth digit 5
1249
+ "6": "6",
1250
+ // Fullwidth digit 6
1251
+ "7": "7",
1252
+ // Fullwidth digit 7
1253
+ "8": "8",
1254
+ // Fullwidth digit 8
1255
+ "9": "9",
1256
+ // Fullwidth digit 9
1257
+ "٠": "0",
1258
+ // Arabic-indic digit 0
1259
+ "١": "1",
1260
+ // Arabic-indic digit 1
1261
+ "٢": "2",
1262
+ // Arabic-indic digit 2
1263
+ "٣": "3",
1264
+ // Arabic-indic digit 3
1265
+ "٤": "4",
1266
+ // Arabic-indic digit 4
1267
+ "٥": "5",
1268
+ // Arabic-indic digit 5
1269
+ "٦": "6",
1270
+ // Arabic-indic digit 6
1271
+ "٧": "7",
1272
+ // Arabic-indic digit 7
1273
+ "٨": "8",
1274
+ // Arabic-indic digit 8
1275
+ "٩": "9",
1276
+ // Arabic-indic digit 9
1277
+ "۰": "0",
1278
+ // Eastern-Arabic digit 0
1279
+ "۱": "1",
1280
+ // Eastern-Arabic digit 1
1281
+ "۲": "2",
1282
+ // Eastern-Arabic digit 2
1283
+ "۳": "3",
1284
+ // Eastern-Arabic digit 3
1285
+ "۴": "4",
1286
+ // Eastern-Arabic digit 4
1287
+ "۵": "5",
1288
+ // Eastern-Arabic digit 5
1289
+ "۶": "6",
1290
+ // Eastern-Arabic digit 6
1291
+ "۷": "7",
1292
+ // Eastern-Arabic digit 7
1293
+ "۸": "8",
1294
+ // Eastern-Arabic digit 8
1295
+ "۹": "9"
1296
+ // Eastern-Arabic digit 9
1297
+ };
1298
+ function ce(e) {
1299
+ return Lr[e];
1300
+ }
1301
+ function X(e) {
1302
+ for (var t = "", r = Or(e.split("")), n; !(n = r()).done; ) {
1303
+ var i = n.value, a = ce(i);
1304
+ a && (t += a);
1305
+ }
1306
+ return t;
1307
+ }
1308
+ function Mr(e, t) {
1309
+ var r = typeof Symbol != "undefined" && e[Symbol.iterator] || e["@@iterator"];
1310
+ if (r) return (r = r.call(e)).next.bind(r);
1311
+ if (Array.isArray(e) || (r = Dr(e)) || t) {
1312
+ r && (e = r);
1313
+ var n = 0;
1314
+ return function() {
1315
+ return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
1316
+ };
1317
+ }
1318
+ throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1319
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1320
+ }
1321
+ function Dr(e, t) {
1322
+ if (e) {
1323
+ if (typeof e == "string") return Ft(e, t);
1324
+ var r = {}.toString.call(e).slice(8, -1);
1325
+ return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? Ft(e, t) : void 0;
1326
+ }
1327
+ }
1328
+ function Ft(e, t) {
1329
+ (t == null || t > e.length) && (t = e.length);
1330
+ for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
1331
+ return n;
1332
+ }
1333
+ function kt(e) {
1334
+ for (var t = "", r = Mr(e.split("")), n; !(n = r()).done; ) {
1335
+ var i = n.value;
1336
+ t += jr(i, t) || "";
1337
+ }
1338
+ return t;
1339
+ }
1340
+ function jr(e, t, r) {
1341
+ return e === "+" ? t ? void 0 : "+" : ce(e);
1342
+ }
1343
+ function Br(e, t) {
1344
+ var r = typeof Symbol != "undefined" && e[Symbol.iterator] || e["@@iterator"];
1345
+ if (r) return (r = r.call(e)).next.bind(r);
1346
+ if (Array.isArray(e) || (r = Gr(e)) || t) {
1347
+ r && (e = r);
1348
+ var n = 0;
1349
+ return function() {
1350
+ return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
1351
+ };
1352
+ }
1353
+ throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1354
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1355
+ }
1356
+ function Gr(e, t) {
1357
+ if (e) {
1358
+ if (typeof e == "string") return Ot(e, t);
1359
+ var r = {}.toString.call(e).slice(8, -1);
1360
+ return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? Ot(e, t) : void 0;
1361
+ }
1362
+ }
1363
+ function Ot(e, t) {
1364
+ (t == null || t > e.length) && (t = e.length);
1365
+ for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
1366
+ return n;
1367
+ }
1368
+ function fe(e, t) {
1369
+ var r = t.countries;
1370
+ t.defaultCountry;
1371
+ var n = t.metadata;
1372
+ n = new f(n);
1373
+ for (var i = Br(r), a; !(a = i()).done; ) {
1374
+ var d = a.value;
1375
+ if (n.country(d), n.leadingDigits()) {
1376
+ if (e && e.search(n.leadingDigits()) === 0)
1377
+ return d;
1378
+ } else if (ft({
1379
+ phone: e,
1380
+ country: d
1381
+ }, void 0, n.metadata))
1382
+ return d;
1383
+ }
1384
+ }
1385
+ function ve(e, t) {
1386
+ var r = t.nationalNumber, n = t.defaultCountry, i = t.metadata, a = i.getCountryCodesForCallingCode(e);
1387
+ if (a)
1388
+ return a.length === 1 ? a[0] : fe(r, {
1389
+ countries: a,
1390
+ defaultCountry: n,
1391
+ metadata: i.metadata
1392
+ });
1393
+ }
1394
+ var me = "+", Ur = "[\\-\\.\\(\\)]?", Rt = "([" + m + "]|" + Ur + ")", Hr = "^\\" + me + Rt + "*[" + m + "]" + Rt + "*$", Wr = new RegExp(Hr, "g"), lt = m, Vr = "[" + lt + "]+((\\-)*[" + lt + "])*", Kr = "a-zA-Z", zr = "[" + Kr + "]+((\\-)*[" + lt + "])*", Xr = "^(" + Vr + "\\.)*" + zr + "\\.?$", Yr = new RegExp(Xr, "g"), Lt = "tel:", st = ";phone-context=", Zr = ";isub=";
1395
+ function Jr(e) {
1396
+ var t = e.indexOf(st);
1397
+ if (t < 0)
1398
+ return null;
1399
+ var r = t + st.length;
1400
+ if (r >= e.length)
1401
+ return "";
1402
+ var n = e.indexOf(";", r);
1403
+ return n >= 0 ? e.substring(r, n) : e.substring(r);
1404
+ }
1405
+ function qr(e) {
1406
+ return e === null ? !0 : e.length === 0 ? !1 : Wr.test(e) || Yr.test(e);
1407
+ }
1408
+ function Qr(e, t) {
1409
+ var r = t.extractFormattedPhoneNumber, n = Jr(e);
1410
+ if (!qr(n))
1411
+ throw new x("NOT_A_NUMBER");
1412
+ var i;
1413
+ if (n === null)
1414
+ i = r(e) || "";
1415
+ else {
1416
+ i = "", n.charAt(0) === me && (i += n);
1417
+ var a = e.indexOf(Lt), d;
1418
+ a >= 0 ? d = a + Lt.length : d = 0;
1419
+ var o = e.indexOf(st);
1420
+ i += e.substring(d, o);
1421
+ }
1422
+ var l = i.indexOf(Zr);
1423
+ if (l > 0 && (i = i.substring(0, l)), i !== "")
1424
+ return i;
1425
+ }
1426
+ var tn = 250, en = new RegExp("[" + q + m + "]"), rn = new RegExp("[^" + m + "#]+$");
1427
+ function nn(e, t, r) {
1428
+ if (t = t || {}, r = new f(r), t.defaultCountry && !r.hasCountry(t.defaultCountry))
1429
+ throw t.v2 ? new x("INVALID_COUNTRY") : new Error("Unknown country: ".concat(t.defaultCountry));
1430
+ var n = dn(e, t.v2, t.extract), i = n.number, a = n.ext, d = n.error;
1431
+ if (!i) {
1432
+ if (t.v2)
1433
+ throw d === "TOO_SHORT" ? new x("TOO_SHORT") : new x("NOT_A_NUMBER");
1434
+ return {};
1435
+ }
1436
+ var o = ln(i, t.defaultCountry, t.defaultCallingCode, r), l = o.country, s = o.nationalNumber, u = o.countryCallingCode, c = o.countryCallingCodeSource, $ = o.carrierCode;
1437
+ if (!r.hasSelectedNumberingPlan()) {
1438
+ if (t.v2)
1439
+ throw new x("INVALID_COUNTRY");
1440
+ return {};
1441
+ }
1442
+ if (!s || s.length < vt) {
1443
+ if (t.v2)
1444
+ throw new x("TOO_SHORT");
1445
+ return {};
1446
+ }
1447
+ if (s.length > Ge) {
1448
+ if (t.v2)
1449
+ throw new x("TOO_LONG");
1450
+ return {};
1451
+ }
1452
+ if (t.v2) {
1453
+ var v = new $e(u, s, r.metadata);
1454
+ return l && (v.country = l), $ && (v.carrierCode = $), a && (v.ext = a), v.__countryCallingCodeSource = c, v;
1455
+ }
1456
+ var h = (t.extended ? r.hasSelectedNumberingPlan() : l) ? w(s, r.nationalNumberPattern()) : !1;
1457
+ return t.extended ? {
1458
+ country: l,
1459
+ countryCallingCode: u,
1460
+ carrierCode: $,
1461
+ valid: h,
1462
+ possible: h ? !0 : !!(t.extended === !0 && r.possibleLengths() && ne(s, r)),
1463
+ phone: s,
1464
+ ext: a
1465
+ } : h ? on(l, s, a) : {};
1466
+ }
1467
+ function an(e, t, r) {
1468
+ if (e) {
1469
+ if (e.length > tn) {
1470
+ if (r)
1471
+ throw new x("TOO_LONG");
1472
+ return;
1473
+ }
1474
+ if (t === !1)
1475
+ return e;
1476
+ var n = e.search(en);
1477
+ if (!(n < 0))
1478
+ return e.slice(n).replace(rn, "");
1479
+ }
1480
+ }
1481
+ function dn(e, t, r) {
1482
+ var n = Qr(e, {
1483
+ extractFormattedPhoneNumber: function(d) {
1484
+ return an(d, r, t);
1485
+ }
1486
+ });
1487
+ if (!n)
1488
+ return {};
1489
+ if (!dr(n))
1490
+ return or(n) ? {
1491
+ error: "TOO_SHORT"
1492
+ } : {};
1493
+ var i = kr(n);
1494
+ return i.ext ? i : {
1495
+ number: n
1496
+ };
1497
+ }
1498
+ function on(e, t, r) {
1499
+ var n = {
1500
+ country: e,
1501
+ phone: t
1502
+ };
1503
+ return r && (n.ext = r), n;
1504
+ }
1505
+ function ln(e, t, r, n) {
1506
+ var i = mt(kt(e), t, r, n.metadata), a = i.countryCallingCodeSource, d = i.countryCallingCode, o = i.number, l;
1507
+ if (d)
1508
+ n.selectNumberingPlan(d);
1509
+ else if (o && (t || r))
1510
+ n.selectNumberingPlan(t, r), t && (l = t), d = r || ct(t, n.metadata);
1511
+ else return {};
1512
+ if (!o)
1513
+ return {
1514
+ countryCallingCodeSource: a,
1515
+ countryCallingCode: d
1516
+ };
1517
+ var s = at(kt(o), n), u = s.nationalNumber, c = s.carrierCode, $ = ve(d, {
1518
+ nationalNumber: u,
1519
+ defaultCountry: t,
1520
+ metadata: n
1521
+ });
1522
+ return $ && (l = $, $ === "001" || n.country(l)), {
1523
+ country: l,
1524
+ countryCallingCode: d,
1525
+ countryCallingCodeSource: a,
1526
+ nationalNumber: u,
1527
+ carrierCode: c
1528
+ };
1529
+ }
1530
+ function O(e) {
1531
+ "@babel/helpers - typeof";
1532
+ return O = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
1533
+ return typeof t;
1534
+ } : function(t) {
1535
+ return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
1536
+ }, O(e);
1537
+ }
1538
+ function Mt(e, t) {
1539
+ var r = Object.keys(e);
1540
+ if (Object.getOwnPropertySymbols) {
1541
+ var n = Object.getOwnPropertySymbols(e);
1542
+ t && (n = n.filter(function(i) {
1543
+ return Object.getOwnPropertyDescriptor(e, i).enumerable;
1544
+ })), r.push.apply(r, n);
1545
+ }
1546
+ return r;
1547
+ }
1548
+ function Dt(e) {
1549
+ for (var t = 1; t < arguments.length; t++) {
1550
+ var r = arguments[t] != null ? arguments[t] : {};
1551
+ t % 2 ? Mt(Object(r), !0).forEach(function(n) {
1552
+ sn(e, n, r[n]);
1553
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Mt(Object(r)).forEach(function(n) {
1554
+ Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
1555
+ });
1556
+ }
1557
+ return e;
1558
+ }
1559
+ function sn(e, t, r) {
1560
+ return (t = un(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
1561
+ }
1562
+ function un(e) {
1563
+ var t = $n(e, "string");
1564
+ return O(t) == "symbol" ? t : t + "";
1565
+ }
1566
+ function $n(e, t) {
1567
+ if (O(e) != "object" || !e) return e;
1568
+ var r = e[Symbol.toPrimitive];
1569
+ if (r !== void 0) {
1570
+ var n = r.call(e, t);
1571
+ if (O(n) != "object") return n;
1572
+ throw new TypeError("@@toPrimitive must return a primitive value.");
1573
+ }
1574
+ return (t === "string" ? String : Number)(e);
1575
+ }
1576
+ function he(e, t, r) {
1577
+ return nn(e, Dt(Dt({}, t), {}, {
1578
+ v2: !0
1579
+ }), r);
1580
+ }
1581
+ function R(e) {
1582
+ "@babel/helpers - typeof";
1583
+ return R = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
1584
+ return typeof t;
1585
+ } : function(t) {
1586
+ return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
1587
+ }, R(e);
1588
+ }
1589
+ function jt(e, t) {
1590
+ var r = Object.keys(e);
1591
+ if (Object.getOwnPropertySymbols) {
1592
+ var n = Object.getOwnPropertySymbols(e);
1593
+ t && (n = n.filter(function(i) {
1594
+ return Object.getOwnPropertyDescriptor(e, i).enumerable;
1595
+ })), r.push.apply(r, n);
1596
+ }
1597
+ return r;
1598
+ }
1599
+ function cn(e) {
1600
+ for (var t = 1; t < arguments.length; t++) {
1601
+ var r = arguments[t] != null ? arguments[t] : {};
1602
+ t % 2 ? jt(Object(r), !0).forEach(function(n) {
1603
+ fn(e, n, r[n]);
1604
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : jt(Object(r)).forEach(function(n) {
1605
+ Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
1606
+ });
1607
+ }
1608
+ return e;
1609
+ }
1610
+ function fn(e, t, r) {
1611
+ return (t = vn(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
1612
+ }
1613
+ function vn(e) {
1614
+ var t = mn(e, "string");
1615
+ return R(t) == "symbol" ? t : t + "";
1616
+ }
1617
+ function mn(e, t) {
1618
+ if (R(e) != "object" || !e) return e;
1619
+ var r = e[Symbol.toPrimitive];
1620
+ if (r !== void 0) {
1621
+ var n = r.call(e, t);
1622
+ if (R(n) != "object") return n;
1623
+ throw new TypeError("@@toPrimitive must return a primitive value.");
1624
+ }
1625
+ return (t === "string" ? String : Number)(e);
1626
+ }
1627
+ function hn(e, t) {
1628
+ return bn(e) || yn(e, t) || gn(e, t) || pn();
1629
+ }
1630
+ function pn() {
1631
+ throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1632
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1633
+ }
1634
+ function gn(e, t) {
1635
+ if (e) {
1636
+ if (typeof e == "string") return Bt(e, t);
1637
+ var r = {}.toString.call(e).slice(8, -1);
1638
+ return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? Bt(e, t) : void 0;
1639
+ }
1640
+ }
1641
+ function Bt(e, t) {
1642
+ (t == null || t > e.length) && (t = e.length);
1643
+ for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
1644
+ return n;
1645
+ }
1646
+ function yn(e, t) {
1647
+ var r = e == null ? null : typeof Symbol != "undefined" && e[Symbol.iterator] || e["@@iterator"];
1648
+ if (r != null) {
1649
+ var n, i, a, d, o = [], l = !0, s = !1;
1650
+ try {
1651
+ if (a = (r = r.call(e)).next, t !== 0) for (; !(l = (n = a.call(r)).done) && (o.push(n.value), o.length !== t); l = !0) ;
1652
+ } catch (u) {
1653
+ s = !0, i = u;
1654
+ } finally {
1655
+ try {
1656
+ if (!l && r.return != null && (d = r.return(), Object(d) !== d)) return;
1657
+ } finally {
1658
+ if (s) throw i;
1659
+ }
1660
+ }
1661
+ return o;
1662
+ }
1663
+ }
1664
+ function bn(e) {
1665
+ if (Array.isArray(e)) return e;
1666
+ }
1667
+ function pe(e) {
1668
+ var t = Array.prototype.slice.call(e), r = hn(t, 4), n = r[0], i = r[1], a = r[2], d = r[3], o, l, s;
1669
+ if (typeof n == "string")
1670
+ o = n;
1671
+ else throw new TypeError("A text for parsing must be a string.");
1672
+ if (!i || typeof i == "string")
1673
+ d ? (l = a, s = d) : (l = void 0, s = a), i && (l = cn({
1674
+ defaultCountry: i
1675
+ }, l));
1676
+ else if (C(i))
1677
+ a ? (l = i, s = a) : s = i;
1678
+ else throw new Error("Invalid second argument: ".concat(i));
1679
+ return {
1680
+ text: o,
1681
+ options: l,
1682
+ metadata: s
1683
+ };
1684
+ }
1685
+ function xn() {
1686
+ var e = pe(arguments), t = e.text, r = e.options, n = e.metadata;
1687
+ return he(t, r, n);
1688
+ }
1689
+ function L(e) {
1690
+ "@babel/helpers - typeof";
1691
+ return L = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
1692
+ return typeof t;
1693
+ } : function(t) {
1694
+ return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
1695
+ }, L(e);
1696
+ }
1697
+ function Gt(e, t) {
1698
+ var r = Object.keys(e);
1699
+ if (Object.getOwnPropertySymbols) {
1700
+ var n = Object.getOwnPropertySymbols(e);
1701
+ t && (n = n.filter(function(i) {
1702
+ return Object.getOwnPropertyDescriptor(e, i).enumerable;
1703
+ })), r.push.apply(r, n);
1704
+ }
1705
+ return r;
1706
+ }
1707
+ function Ut(e) {
1708
+ for (var t = 1; t < arguments.length; t++) {
1709
+ var r = arguments[t] != null ? arguments[t] : {};
1710
+ t % 2 ? Gt(Object(r), !0).forEach(function(n) {
1711
+ wn(e, n, r[n]);
1712
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Gt(Object(r)).forEach(function(n) {
1713
+ Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
1714
+ });
1715
+ }
1716
+ return e;
1717
+ }
1718
+ function wn(e, t, r) {
1719
+ return (t = Cn(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
1720
+ }
1721
+ function Cn(e) {
1722
+ var t = Nn(e, "string");
1723
+ return L(t) == "symbol" ? t : t + "";
1724
+ }
1725
+ function Nn(e, t) {
1726
+ if (L(e) != "object" || !e) return e;
1727
+ var r = e[Symbol.toPrimitive];
1728
+ if (r !== void 0) {
1729
+ var n = r.call(e, t);
1730
+ if (L(n) != "object") return n;
1731
+ throw new TypeError("@@toPrimitive must return a primitive value.");
1732
+ }
1733
+ return (t === "string" ? String : Number)(e);
1734
+ }
1735
+ function Pn(e, t, r) {
1736
+ t && t.defaultCountry && !Fe(t.defaultCountry, r) && (t = Ut(Ut({}, t), {}, {
1737
+ defaultCountry: void 0
1738
+ }));
1739
+ try {
1740
+ return he(e, t, r);
1741
+ } catch (n) {
1742
+ if (!(n instanceof x)) throw n;
1743
+ }
1744
+ }
1745
+ function Sn() {
1746
+ var e = pe(arguments), t = e.text, r = e.options, n = e.metadata;
1747
+ return Pn(t, r, n);
1748
+ }
1749
+ function M(e) {
1750
+ "@babel/helpers - typeof";
1751
+ return M = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
1752
+ return typeof t;
1753
+ } : function(t) {
1754
+ return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
1755
+ }, M(e);
1756
+ }
1757
+ function En(e, t) {
1758
+ if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
1759
+ }
1760
+ function _n(e, t) {
1761
+ for (var r = 0; r < t.length; r++) {
1762
+ var n = t[r];
1763
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, Tn(n.key), n);
1764
+ }
1765
+ }
1766
+ function In(e, t, r) {
1767
+ return t && _n(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
1768
+ }
1769
+ function Tn(e) {
1770
+ var t = An(e, "string");
1771
+ return M(t) == "symbol" ? t : t + "";
1772
+ }
1773
+ function An(e, t) {
1774
+ if (M(e) != "object" || !e) return e;
1775
+ var r = e[Symbol.toPrimitive];
1776
+ if (r !== void 0) {
1777
+ var n = r.call(e, t);
1778
+ if (M(n) != "object") return n;
1779
+ throw new TypeError("@@toPrimitive must return a primitive value.");
1780
+ }
1781
+ return String(e);
1782
+ }
1783
+ var Fn = /* @__PURE__ */ (function() {
1784
+ function e(t) {
1785
+ var r = t.onCountryChange, n = t.onCallingCodeChange;
1786
+ En(this, e), this.onCountryChange = r, this.onCallingCodeChange = n;
1787
+ }
1788
+ return In(e, [{
1789
+ key: "reset",
1790
+ value: function(r) {
1791
+ var n = r.country, i = r.callingCode;
1792
+ this.international = !1, this.missingPlus = !1, this.IDDPrefix = void 0, this.callingCode = void 0, this.digits = "", this.resetNationalSignificantNumber(), this.initCountryAndCallingCode(n, i);
1793
+ }
1794
+ }, {
1795
+ key: "resetNationalSignificantNumber",
1796
+ value: function() {
1797
+ this.nationalSignificantNumber = this.getNationalDigits(), this.nationalSignificantNumberMatchesInput = !0, this.nationalPrefix = void 0, this.carrierCode = void 0, this.complexPrefixBeforeNationalSignificantNumber = void 0;
1798
+ }
1799
+ }, {
1800
+ key: "update",
1801
+ value: function(r) {
1802
+ for (var n = 0, i = Object.keys(r); n < i.length; n++) {
1803
+ var a = i[n];
1804
+ this[a] = r[a];
1805
+ }
1806
+ }
1807
+ }, {
1808
+ key: "initCountryAndCallingCode",
1809
+ value: function(r, n) {
1810
+ this.setCountry(r), this.setCallingCode(n);
1811
+ }
1812
+ }, {
1813
+ key: "setCountry",
1814
+ value: function(r) {
1815
+ this.country = r, this.onCountryChange(r);
1816
+ }
1817
+ }, {
1818
+ key: "setCallingCode",
1819
+ value: function(r) {
1820
+ this.callingCode = r, this.onCallingCodeChange(r, this.country);
1821
+ }
1822
+ }, {
1823
+ key: "startInternationalNumber",
1824
+ value: function(r, n) {
1825
+ this.international = !0, this.initCountryAndCallingCode(r, n);
1826
+ }
1827
+ }, {
1828
+ key: "appendDigits",
1829
+ value: function(r) {
1830
+ this.digits += r;
1831
+ }
1832
+ }, {
1833
+ key: "appendNationalSignificantNumberDigits",
1834
+ value: function(r) {
1835
+ this.nationalSignificantNumber += r;
1836
+ }
1837
+ /**
1838
+ * Returns the part of `this.digits` that corresponds to the national number.
1839
+ * Basically, all digits that have been input by the user, except for the
1840
+ * international prefix and the country calling code part
1841
+ * (if the number is an international one).
1842
+ * @return {string}
1843
+ */
1844
+ }, {
1845
+ key: "getNationalDigits",
1846
+ value: function() {
1847
+ return this.international ? this.digits.slice((this.IDDPrefix ? this.IDDPrefix.length : 0) + (this.callingCode ? this.callingCode.length : 0)) : this.digits;
1848
+ }
1849
+ }, {
1850
+ key: "getDigitsWithoutInternationalPrefix",
1851
+ value: function() {
1852
+ return this.international && this.IDDPrefix ? this.digits.slice(this.IDDPrefix.length) : this.digits;
1853
+ }
1854
+ }]);
1855
+ })();
1856
+ function kn(e, t) {
1857
+ var r = typeof Symbol != "undefined" && e[Symbol.iterator] || e["@@iterator"];
1858
+ if (r) return (r = r.call(e)).next.bind(r);
1859
+ if (Array.isArray(e) || (r = On(e)) || t) {
1860
+ r && (e = r);
1861
+ var n = 0;
1862
+ return function() {
1863
+ return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
1864
+ };
1865
+ }
1866
+ throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1867
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1868
+ }
1869
+ function On(e, t) {
1870
+ if (e) {
1871
+ if (typeof e == "string") return Ht(e, t);
1872
+ var r = {}.toString.call(e).slice(8, -1);
1873
+ return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? Ht(e, t) : void 0;
1874
+ }
1875
+ }
1876
+ function Ht(e, t) {
1877
+ (t == null || t > e.length) && (t = e.length);
1878
+ for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
1879
+ return n;
1880
+ }
1881
+ var g = "x", rt = new RegExp(g);
1882
+ function K(e, t) {
1883
+ if (t < 1)
1884
+ return "";
1885
+ for (var r = ""; t > 1; )
1886
+ t & 1 && (r += e), t >>= 1, e += e;
1887
+ return r + e;
1888
+ }
1889
+ function Wt(e, t) {
1890
+ return e[t] === ")" && t++, Rn(e.slice(0, t));
1891
+ }
1892
+ function Rn(e) {
1893
+ for (var t = [], r = 0; r < e.length; )
1894
+ e[r] === "(" ? t.push(r) : e[r] === ")" && t.pop(), r++;
1895
+ var n = 0, i = "";
1896
+ t.push(e.length);
1897
+ for (var a = 0, d = t; a < d.length; a++) {
1898
+ var o = d[a];
1899
+ i += e.slice(n, o), n = o + 1;
1900
+ }
1901
+ return i;
1902
+ }
1903
+ function Ln(e, t, r) {
1904
+ for (var n = kn(r.split("")), i; !(i = n()).done; ) {
1905
+ var a = i.value;
1906
+ if (e.slice(t + 1).search(rt) < 0)
1907
+ return;
1908
+ t = e.search(rt), e = e.replace(rt, a);
1909
+ }
1910
+ return [e, t];
1911
+ }
1912
+ function Mn(e, t, r) {
1913
+ var n = r.metadata, i = r.shouldTryNationalPrefixFormattingRule, a = r.getSeparatorAfterNationalPrefix, d = new RegExp("^(?:".concat(t.pattern(), ")$"));
1914
+ if (d.test(e.nationalSignificantNumber))
1915
+ return jn(e, t, {
1916
+ metadata: n,
1917
+ shouldTryNationalPrefixFormattingRule: i,
1918
+ getSeparatorAfterNationalPrefix: a
1919
+ });
1920
+ }
1921
+ function Dn(e, t) {
1922
+ return J(e, t) === "IS_POSSIBLE";
1923
+ }
1924
+ function jn(e, t, r) {
1925
+ var n = r.metadata, i = r.shouldTryNationalPrefixFormattingRule, a = r.getSeparatorAfterNationalPrefix;
1926
+ if (e.nationalSignificantNumber, e.international, e.nationalPrefix, e.carrierCode, i(t)) {
1927
+ var d = Vt(e, t, {
1928
+ useNationalPrefixFormattingRule: !0,
1929
+ getSeparatorAfterNationalPrefix: a,
1930
+ metadata: n
1931
+ });
1932
+ if (d)
1933
+ return d;
1934
+ }
1935
+ return Vt(e, t, {
1936
+ useNationalPrefixFormattingRule: !1,
1937
+ getSeparatorAfterNationalPrefix: a,
1938
+ metadata: n
1939
+ });
1940
+ }
1941
+ function Vt(e, t, r) {
1942
+ var n = r.metadata, i = r.useNationalPrefixFormattingRule, a = r.getSeparatorAfterNationalPrefix, d = le(e.nationalSignificantNumber, t, {
1943
+ carrierCode: e.carrierCode,
1944
+ useInternationalFormat: e.international,
1945
+ withNationalPrefix: i,
1946
+ metadata: n
1947
+ });
1948
+ if (i || (e.nationalPrefix ? d = e.nationalPrefix + a(t) + d : e.complexPrefixBeforeNationalSignificantNumber && (d = e.complexPrefixBeforeNationalSignificantNumber + " " + d)), Bn(d, e))
1949
+ return d;
1950
+ }
1951
+ function Bn(e, t) {
1952
+ return X(e) === t.getNationalDigits();
1953
+ }
1954
+ function D(e) {
1955
+ "@babel/helpers - typeof";
1956
+ return D = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
1957
+ return typeof t;
1958
+ } : function(t) {
1959
+ return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
1960
+ }, D(e);
1961
+ }
1962
+ function Gn(e, t) {
1963
+ if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
1964
+ }
1965
+ function Un(e, t) {
1966
+ for (var r = 0; r < t.length; r++) {
1967
+ var n = t[r];
1968
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, Wn(n.key), n);
1969
+ }
1970
+ }
1971
+ function Hn(e, t, r) {
1972
+ return t && Un(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
1973
+ }
1974
+ function Wn(e) {
1975
+ var t = Vn(e, "string");
1976
+ return D(t) == "symbol" ? t : t + "";
1977
+ }
1978
+ function Vn(e, t) {
1979
+ if (D(e) != "object" || !e) return e;
1980
+ var r = e[Symbol.toPrimitive];
1981
+ if (r !== void 0) {
1982
+ var n = r.call(e, t);
1983
+ if (D(n) != "object") return n;
1984
+ throw new TypeError("@@toPrimitive must return a primitive value.");
1985
+ }
1986
+ return String(e);
1987
+ }
1988
+ var Kn = /* @__PURE__ */ (function() {
1989
+ function e() {
1990
+ Gn(this, e);
1991
+ }
1992
+ return Hn(e, [{
1993
+ key: "parse",
1994
+ value: function(r) {
1995
+ if (this.context = [{
1996
+ or: !0,
1997
+ instructions: []
1998
+ }], this.parsePattern(r), this.context.length !== 1)
1999
+ throw new Error("Non-finalized contexts left when pattern parse ended");
2000
+ var n = this.context[0], i = n.branches, a = n.instructions;
2001
+ if (i)
2002
+ return {
2003
+ op: "|",
2004
+ args: i.concat([nt(a)])
2005
+ };
2006
+ if (a.length === 0)
2007
+ throw new Error("Pattern is required");
2008
+ return a.length === 1 ? a[0] : a;
2009
+ }
2010
+ }, {
2011
+ key: "startContext",
2012
+ value: function(r) {
2013
+ this.context.push(r);
2014
+ }
2015
+ }, {
2016
+ key: "endContext",
2017
+ value: function() {
2018
+ this.context.pop();
2019
+ }
2020
+ }, {
2021
+ key: "getContext",
2022
+ value: function() {
2023
+ return this.context[this.context.length - 1];
2024
+ }
2025
+ }, {
2026
+ key: "parsePattern",
2027
+ value: function(r) {
2028
+ if (!r)
2029
+ throw new Error("Pattern is required");
2030
+ var n = r.match(Yn);
2031
+ if (!n) {
2032
+ if (Xn.test(r))
2033
+ throw new Error("Illegal characters found in a pattern: ".concat(r));
2034
+ this.getContext().instructions = this.getContext().instructions.concat(r.split(""));
2035
+ return;
2036
+ }
2037
+ var i = n[1], a = r.slice(0, n.index), d = r.slice(n.index + i.length);
2038
+ switch (i) {
2039
+ case "(?:":
2040
+ a && this.parsePattern(a), this.startContext({
2041
+ or: !0,
2042
+ instructions: [],
2043
+ branches: []
2044
+ });
2045
+ break;
2046
+ case ")":
2047
+ if (!this.getContext().or)
2048
+ throw new Error('")" operator must be preceded by "(?:" operator');
2049
+ if (a && this.parsePattern(a), this.getContext().instructions.length === 0)
2050
+ throw new Error('No instructions found after "|" operator in an "or" group');
2051
+ var o = this.getContext(), l = o.branches;
2052
+ l.push(nt(this.getContext().instructions)), this.endContext(), this.getContext().instructions.push({
2053
+ op: "|",
2054
+ args: l
2055
+ });
2056
+ break;
2057
+ case "|":
2058
+ if (!this.getContext().or)
2059
+ throw new Error('"|" operator can only be used inside "or" groups');
2060
+ if (a && this.parsePattern(a), !this.getContext().branches)
2061
+ if (this.context.length === 1)
2062
+ this.getContext().branches = [];
2063
+ else
2064
+ throw new Error('"branches" not found in an "or" group context');
2065
+ this.getContext().branches.push(nt(this.getContext().instructions)), this.getContext().instructions = [];
2066
+ break;
2067
+ case "[":
2068
+ a && this.parsePattern(a), this.startContext({
2069
+ oneOfSet: !0
2070
+ });
2071
+ break;
2072
+ case "]":
2073
+ if (!this.getContext().oneOfSet)
2074
+ throw new Error('"]" operator must be preceded by "[" operator');
2075
+ this.endContext(), this.getContext().instructions.push({
2076
+ op: "[]",
2077
+ args: zn(a)
2078
+ });
2079
+ break;
2080
+ /* istanbul ignore next */
2081
+ default:
2082
+ throw new Error("Unknown operator: ".concat(i));
2083
+ }
2084
+ d && this.parsePattern(d);
2085
+ }
2086
+ }]);
2087
+ })();
2088
+ function zn(e) {
2089
+ for (var t = [], r = 0; r < e.length; ) {
2090
+ if (e[r] === "-") {
2091
+ if (r === 0 || r === e.length - 1)
2092
+ throw new Error("Couldn't parse a one-of set pattern: ".concat(e));
2093
+ for (var n = e[r - 1].charCodeAt(0) + 1, i = e[r + 1].charCodeAt(0) - 1, a = n; a <= i; )
2094
+ t.push(String.fromCharCode(a)), a++;
2095
+ } else
2096
+ t.push(e[r]);
2097
+ r++;
2098
+ }
2099
+ return t;
2100
+ }
2101
+ var Xn = /[\(\)\[\]\?\:\|]/, Yn = new RegExp(
2102
+ // any of:
2103
+ "(\\||\\(\\?\\:|\\)|\\[|\\])"
2104
+ );
2105
+ function nt(e) {
2106
+ return e.length === 1 ? e[0] : e;
2107
+ }
2108
+ function Kt(e, t) {
2109
+ var r = typeof Symbol != "undefined" && e[Symbol.iterator] || e["@@iterator"];
2110
+ if (r) return (r = r.call(e)).next.bind(r);
2111
+ if (Array.isArray(e) || (r = Zn(e)) || t) {
2112
+ r && (e = r);
2113
+ var n = 0;
2114
+ return function() {
2115
+ return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
2116
+ };
2117
+ }
2118
+ throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2119
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2120
+ }
2121
+ function Zn(e, t) {
2122
+ if (e) {
2123
+ if (typeof e == "string") return zt(e, t);
2124
+ var r = {}.toString.call(e).slice(8, -1);
2125
+ return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? zt(e, t) : void 0;
2126
+ }
2127
+ }
2128
+ function zt(e, t) {
2129
+ (t == null || t > e.length) && (t = e.length);
2130
+ for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
2131
+ return n;
2132
+ }
2133
+ function j(e) {
2134
+ "@babel/helpers - typeof";
2135
+ return j = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
2136
+ return typeof t;
2137
+ } : function(t) {
2138
+ return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
2139
+ }, j(e);
2140
+ }
2141
+ function Jn(e, t) {
2142
+ if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
2143
+ }
2144
+ function qn(e, t) {
2145
+ for (var r = 0; r < t.length; r++) {
2146
+ var n = t[r];
2147
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, ti(n.key), n);
2148
+ }
2149
+ }
2150
+ function Qn(e, t, r) {
2151
+ return t && qn(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
2152
+ }
2153
+ function ti(e) {
2154
+ var t = ei(e, "string");
2155
+ return j(t) == "symbol" ? t : t + "";
2156
+ }
2157
+ function ei(e, t) {
2158
+ if (j(e) != "object" || !e) return e;
2159
+ var r = e[Symbol.toPrimitive];
2160
+ if (r !== void 0) {
2161
+ var n = r.call(e, t);
2162
+ if (j(n) != "object") return n;
2163
+ throw new TypeError("@@toPrimitive must return a primitive value.");
2164
+ }
2165
+ return String(e);
2166
+ }
2167
+ var ri = /* @__PURE__ */ (function() {
2168
+ function e(t) {
2169
+ Jn(this, e), this.matchTree = new Kn().parse(t);
2170
+ }
2171
+ return Qn(e, [{
2172
+ key: "match",
2173
+ value: function(r) {
2174
+ var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = n.allowOverflow;
2175
+ if (!r)
2176
+ throw new Error("String is required");
2177
+ var a = ut(r.split(""), this.matchTree, !0);
2178
+ if (a && a.match && delete a.matchedChars, !(a && a.overflow && !i))
2179
+ return a;
2180
+ }
2181
+ }]);
2182
+ })();
2183
+ function ut(e, t, r) {
2184
+ if (typeof t == "string") {
2185
+ var n = e.join("");
2186
+ return t.indexOf(n) === 0 ? e.length === t.length ? {
2187
+ match: !0,
2188
+ matchedChars: e
2189
+ } : {
2190
+ partialMatch: !0
2191
+ // matchedChars: characters
2192
+ } : n.indexOf(t) === 0 ? r && e.length > t.length ? {
2193
+ overflow: !0
2194
+ } : {
2195
+ match: !0,
2196
+ matchedChars: e.slice(0, t.length)
2197
+ } : void 0;
2198
+ }
2199
+ if (Array.isArray(t)) {
2200
+ for (var i = e.slice(), a = 0; a < t.length; ) {
2201
+ var d = t[a], o = ut(i, d, r && a === t.length - 1);
2202
+ if (o) {
2203
+ if (o.overflow)
2204
+ return o;
2205
+ if (o.match) {
2206
+ if (i = i.slice(o.matchedChars.length), i.length === 0)
2207
+ return a === t.length - 1 ? {
2208
+ match: !0,
2209
+ matchedChars: e
2210
+ } : {
2211
+ partialMatch: !0
2212
+ // matchedChars: characters
2213
+ };
2214
+ } else {
2215
+ if (o.partialMatch)
2216
+ return {
2217
+ partialMatch: !0
2218
+ // matchedChars: characters
2219
+ };
2220
+ throw new Error(`Unsupported match result:
2221
+ `.concat(JSON.stringify(o, null, 2)));
2222
+ }
2223
+ } else return;
2224
+ a++;
2225
+ }
2226
+ return r ? {
2227
+ overflow: !0
2228
+ } : {
2229
+ match: !0,
2230
+ matchedChars: e.slice(0, e.length - i.length)
2231
+ };
2232
+ }
2233
+ switch (t.op) {
2234
+ case "|":
2235
+ for (var l, s = Kt(t.args), u; !(u = s()).done; ) {
2236
+ var c = u.value, $ = ut(e, c, r);
2237
+ if ($) {
2238
+ if ($.overflow)
2239
+ return $;
2240
+ if ($.match)
2241
+ return {
2242
+ match: !0,
2243
+ matchedChars: $.matchedChars
2244
+ };
2245
+ if ($.partialMatch)
2246
+ l = !0;
2247
+ else
2248
+ throw new Error(`Unsupported match result:
2249
+ `.concat(JSON.stringify($, null, 2)));
2250
+ }
2251
+ }
2252
+ return l ? {
2253
+ partialMatch: !0
2254
+ // matchedChars: ...
2255
+ } : void 0;
2256
+ case "[]":
2257
+ for (var v = Kt(t.args), h; !(h = v()).done; ) {
2258
+ var b = h.value;
2259
+ if (e[0] === b)
2260
+ return e.length === 1 ? {
2261
+ match: !0,
2262
+ matchedChars: e
2263
+ } : r ? {
2264
+ overflow: !0
2265
+ } : {
2266
+ match: !0,
2267
+ matchedChars: [b]
2268
+ };
2269
+ }
2270
+ return;
2271
+ /* istanbul ignore next */
2272
+ default:
2273
+ throw new Error("Unsupported instruction tree: ".concat(t));
2274
+ }
2275
+ }
2276
+ function B(e) {
2277
+ "@babel/helpers - typeof";
2278
+ return B = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
2279
+ return typeof t;
2280
+ } : function(t) {
2281
+ return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
2282
+ }, B(e);
2283
+ }
2284
+ function Xt(e, t) {
2285
+ var r = typeof Symbol != "undefined" && e[Symbol.iterator] || e["@@iterator"];
2286
+ if (r) return (r = r.call(e)).next.bind(r);
2287
+ if (Array.isArray(e) || (r = ni(e)) || t) {
2288
+ r && (e = r);
2289
+ var n = 0;
2290
+ return function() {
2291
+ return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
2292
+ };
2293
+ }
2294
+ throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2295
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2296
+ }
2297
+ function ni(e, t) {
2298
+ if (e) {
2299
+ if (typeof e == "string") return Yt(e, t);
2300
+ var r = {}.toString.call(e).slice(8, -1);
2301
+ return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? Yt(e, t) : void 0;
2302
+ }
2303
+ }
2304
+ function Yt(e, t) {
2305
+ (t == null || t > e.length) && (t = e.length);
2306
+ for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
2307
+ return n;
2308
+ }
2309
+ function ii(e, t) {
2310
+ if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
2311
+ }
2312
+ function ai(e, t) {
2313
+ for (var r = 0; r < t.length; r++) {
2314
+ var n = t[r];
2315
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, oi(n.key), n);
2316
+ }
2317
+ }
2318
+ function di(e, t, r) {
2319
+ return t && ai(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
2320
+ }
2321
+ function oi(e) {
2322
+ var t = li(e, "string");
2323
+ return B(t) == "symbol" ? t : t + "";
2324
+ }
2325
+ function li(e, t) {
2326
+ if (B(e) != "object" || !e) return e;
2327
+ var r = e[Symbol.toPrimitive];
2328
+ if (r !== void 0) {
2329
+ var n = r.call(e, t);
2330
+ if (B(n) != "object") return n;
2331
+ throw new TypeError("@@toPrimitive must return a primitive value.");
2332
+ }
2333
+ return String(e);
2334
+ }
2335
+ var $t = "9", si = 15, ui = K($t, si), $i = /[- ]/, ci = function() {
2336
+ return /\[([^\[\]])*\]/g;
2337
+ }, fi = function() {
2338
+ return /\d(?=[^,}][^,}])/g;
2339
+ }, vi = new RegExp("[" + y + "]*\\$1[" + y + "]*(\\$\\d[" + y + "]*)*$"), Zt = 3, mi = /* @__PURE__ */ (function() {
2340
+ function e(t) {
2341
+ t.state;
2342
+ var r = t.metadata;
2343
+ ii(this, e), this.metadata = r, this.resetFormat();
2344
+ }
2345
+ return di(e, [{
2346
+ key: "resetFormat",
2347
+ value: function() {
2348
+ this.chosenFormat = void 0, this.template = void 0, this.nationalNumberTemplate = void 0, this.populatedNationalNumberTemplate = void 0, this.populatedNationalNumberTemplatePosition = -1;
2349
+ }
2350
+ }, {
2351
+ key: "reset",
2352
+ value: function(r, n) {
2353
+ this.resetFormat(), r ? (this.isNANP = r.callingCode() === "1", this.matchingFormats = r.formats(), n.nationalSignificantNumber && this.narrowDownMatchingFormats(n)) : (this.isNANP = void 0, this.matchingFormats = []);
2354
+ }
2355
+ /**
2356
+ * Formats an updated phone number.
2357
+ * @param {string} nextDigits — Additional phone number digits.
2358
+ * @param {object} state — `AsYouType` state.
2359
+ * @return {[string]} Returns undefined if the updated phone number can't be formatted using any of the available formats.
2360
+ */
2361
+ }, {
2362
+ key: "format",
2363
+ value: function(r, n) {
2364
+ var i = this;
2365
+ if (Dn(n.nationalSignificantNumber, this.metadata))
2366
+ for (var a = Xt(this.matchingFormats), d; !(d = a()).done; ) {
2367
+ var o = d.value, l = Mn(n, o, {
2368
+ metadata: this.metadata,
2369
+ shouldTryNationalPrefixFormattingRule: function(u) {
2370
+ return i.shouldTryNationalPrefixFormattingRule(u, {
2371
+ international: n.international,
2372
+ nationalPrefix: n.nationalPrefix
2373
+ });
2374
+ },
2375
+ getSeparatorAfterNationalPrefix: function(u) {
2376
+ return i.getSeparatorAfterNationalPrefix(u);
2377
+ }
2378
+ });
2379
+ if (l)
2380
+ return this.resetFormat(), this.chosenFormat = o, this.setNationalNumberTemplate(l.replace(/\d/g, g), n), this.populatedNationalNumberTemplate = l, this.populatedNationalNumberTemplatePosition = this.template.lastIndexOf(g), l;
2381
+ }
2382
+ return this.formatNationalNumberWithNextDigits(r, n);
2383
+ }
2384
+ // Formats the next phone number digits.
2385
+ }, {
2386
+ key: "formatNationalNumberWithNextDigits",
2387
+ value: function(r, n) {
2388
+ var i = this.chosenFormat, a = this.chooseFormat(n);
2389
+ if (a)
2390
+ return a === i ? this.formatNextNationalNumberDigits(r) : this.formatNextNationalNumberDigits(n.getNationalDigits());
2391
+ }
2392
+ }, {
2393
+ key: "narrowDownMatchingFormats",
2394
+ value: function(r) {
2395
+ var n = this, i = r.nationalSignificantNumber, a = r.nationalPrefix, d = r.international, o = i, l = o.length - Zt;
2396
+ l < 0 && (l = 0), this.matchingFormats = this.matchingFormats.filter(function(s) {
2397
+ return n.formatSuits(s, d, a) && n.formatMatches(s, o, l);
2398
+ }), this.chosenFormat && this.matchingFormats.indexOf(this.chosenFormat) === -1 && this.resetFormat();
2399
+ }
2400
+ }, {
2401
+ key: "formatSuits",
2402
+ value: function(r, n, i) {
2403
+ return !(i && !r.usesNationalPrefix() && // !format.domesticCarrierCodeFormattingRule() &&
2404
+ !r.nationalPrefixIsOptionalWhenFormattingInNationalFormat() || !n && !i && r.nationalPrefixIsMandatoryWhenFormattingInNationalFormat());
2405
+ }
2406
+ }, {
2407
+ key: "formatMatches",
2408
+ value: function(r, n, i) {
2409
+ var a = r.leadingDigitsPatterns().length;
2410
+ if (a === 0)
2411
+ return !0;
2412
+ i = Math.min(i, a - 1);
2413
+ var d = r.leadingDigitsPatterns()[i];
2414
+ if (n.length < Zt)
2415
+ try {
2416
+ return new ri(d).match(n, {
2417
+ allowOverflow: !0
2418
+ }) !== void 0;
2419
+ } catch (o) {
2420
+ return console.error(o), !0;
2421
+ }
2422
+ return new RegExp("^(".concat(d, ")")).test(n);
2423
+ }
2424
+ }, {
2425
+ key: "getFormatFormat",
2426
+ value: function(r, n) {
2427
+ return n ? r.internationalFormat() : r.format();
2428
+ }
2429
+ }, {
2430
+ key: "chooseFormat",
2431
+ value: function(r) {
2432
+ for (var n = this, i = function() {
2433
+ var s = o.value;
2434
+ return n.chosenFormat === s ? 0 : vi.test(n.getFormatFormat(s, r.international)) ? n.createTemplateForFormat(s, r) ? (n.chosenFormat = s, 0) : (n.matchingFormats = n.matchingFormats.filter(function(u) {
2435
+ return u !== s;
2436
+ }), 1) : 1;
2437
+ }, a, d = Xt(this.matchingFormats.slice()), o; !(o = d()).done && (a = i(), a !== 0); )
2438
+ ;
2439
+ return this.chosenFormat || this.resetFormat(), this.chosenFormat;
2440
+ }
2441
+ }, {
2442
+ key: "createTemplateForFormat",
2443
+ value: function(r, n) {
2444
+ if (!(r.pattern().indexOf("|") >= 0)) {
2445
+ var i = this.getTemplateForFormat(r, n);
2446
+ if (i)
2447
+ return this.setNationalNumberTemplate(i, n), !0;
2448
+ }
2449
+ }
2450
+ }, {
2451
+ key: "getSeparatorAfterNationalPrefix",
2452
+ value: function(r) {
2453
+ return this.isNANP || r && r.nationalPrefixFormattingRule() && $i.test(r.nationalPrefixFormattingRule()) ? " " : "";
2454
+ }
2455
+ }, {
2456
+ key: "getInternationalPrefixBeforeCountryCallingCode",
2457
+ value: function(r, n) {
2458
+ var i = r.IDDPrefix, a = r.missingPlus;
2459
+ return i ? n && n.spacing === !1 ? i : i + " " : a ? "" : "+";
2460
+ }
2461
+ }, {
2462
+ key: "getTemplate",
2463
+ value: function(r) {
2464
+ if (this.template) {
2465
+ for (var n = -1, i = 0, a = r.international ? this.getInternationalPrefixBeforeCountryCallingCode(r, {
2466
+ spacing: !1
2467
+ }) : ""; i < a.length + r.getDigitsWithoutInternationalPrefix().length; )
2468
+ n = this.template.indexOf(g, n + 1), i++;
2469
+ return Wt(this.template, n + 1);
2470
+ }
2471
+ }
2472
+ }, {
2473
+ key: "setNationalNumberTemplate",
2474
+ value: function(r, n) {
2475
+ this.nationalNumberTemplate = r, this.populatedNationalNumberTemplate = r, this.populatedNationalNumberTemplatePosition = -1, n.international ? this.template = this.getInternationalPrefixBeforeCountryCallingCode(n).replace(/[\d\+]/g, g) + K(g, n.callingCode.length) + " " + r : this.template = r;
2476
+ }
2477
+ /**
2478
+ * Generates formatting template for a national phone number,
2479
+ * optionally containing a national prefix, for a format.
2480
+ * @param {Format} format
2481
+ * @param {string} nationalPrefix
2482
+ * @return {string}
2483
+ */
2484
+ }, {
2485
+ key: "getTemplateForFormat",
2486
+ value: function(r, n) {
2487
+ var i = n.nationalSignificantNumber, a = n.international, d = n.nationalPrefix, o = n.complexPrefixBeforeNationalSignificantNumber, l = r.pattern();
2488
+ l = l.replace(ci(), "\\d").replace(fi(), "\\d");
2489
+ var s = ui.match(l)[0];
2490
+ if (!(i.length > s.length)) {
2491
+ var u = new RegExp("^" + l + "$"), c = i.replace(/\d/g, $t);
2492
+ u.test(c) && (s = c);
2493
+ var $ = this.getFormatFormat(r, a), v;
2494
+ if (this.shouldTryNationalPrefixFormattingRule(r, {
2495
+ international: a,
2496
+ nationalPrefix: d
2497
+ })) {
2498
+ var h = $.replace(oe, r.nationalPrefixFormattingRule());
2499
+ if (X(r.nationalPrefixFormattingRule()) === (d || "") + X("$1") && ($ = h, v = !0, d))
2500
+ for (var b = d.length; b > 0; )
2501
+ $ = $.replace(/\d/, g), b--;
2502
+ }
2503
+ var p = s.replace(new RegExp(l), $).replace(new RegExp($t, "g"), g);
2504
+ return v || (o ? p = K(g, o.length) + " " + p : d && (p = K(g, d.length) + this.getSeparatorAfterNationalPrefix(r) + p)), a && (p = de(p)), p;
2505
+ }
2506
+ }
2507
+ }, {
2508
+ key: "formatNextNationalNumberDigits",
2509
+ value: function(r) {
2510
+ var n = Ln(this.populatedNationalNumberTemplate, this.populatedNationalNumberTemplatePosition, r);
2511
+ if (!n) {
2512
+ this.resetFormat();
2513
+ return;
2514
+ }
2515
+ return this.populatedNationalNumberTemplate = n[0], this.populatedNationalNumberTemplatePosition = n[1], Wt(this.populatedNationalNumberTemplate, this.populatedNationalNumberTemplatePosition + 1);
2516
+ }
2517
+ }, {
2518
+ key: "shouldTryNationalPrefixFormattingRule",
2519
+ value: function(r, n) {
2520
+ var i = n.international, a = n.nationalPrefix;
2521
+ if (r.nationalPrefixFormattingRule()) {
2522
+ var d = r.usesNationalPrefix();
2523
+ if (d && a || !d && !i)
2524
+ return !0;
2525
+ }
2526
+ }
2527
+ }]);
2528
+ })();
2529
+ function G(e) {
2530
+ "@babel/helpers - typeof";
2531
+ return G = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
2532
+ return typeof t;
2533
+ } : function(t) {
2534
+ return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
2535
+ }, G(e);
2536
+ }
2537
+ function ge(e, t) {
2538
+ return yi(e) || gi(e, t) || pi(e, t) || hi();
2539
+ }
2540
+ function hi() {
2541
+ throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2542
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2543
+ }
2544
+ function pi(e, t) {
2545
+ if (e) {
2546
+ if (typeof e == "string") return Jt(e, t);
2547
+ var r = {}.toString.call(e).slice(8, -1);
2548
+ return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? Jt(e, t) : void 0;
2549
+ }
2550
+ }
2551
+ function Jt(e, t) {
2552
+ (t == null || t > e.length) && (t = e.length);
2553
+ for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
2554
+ return n;
2555
+ }
2556
+ function gi(e, t) {
2557
+ var r = e == null ? null : typeof Symbol != "undefined" && e[Symbol.iterator] || e["@@iterator"];
2558
+ if (r != null) {
2559
+ var n, i, a, d, o = [], l = !0, s = !1;
2560
+ try {
2561
+ if (a = (r = r.call(e)).next, t !== 0) for (; !(l = (n = a.call(r)).done) && (o.push(n.value), o.length !== t); l = !0) ;
2562
+ } catch (u) {
2563
+ s = !0, i = u;
2564
+ } finally {
2565
+ try {
2566
+ if (!l && r.return != null && (d = r.return(), Object(d) !== d)) return;
2567
+ } finally {
2568
+ if (s) throw i;
2569
+ }
2570
+ }
2571
+ return o;
2572
+ }
2573
+ }
2574
+ function yi(e) {
2575
+ if (Array.isArray(e)) return e;
2576
+ }
2577
+ function bi(e, t) {
2578
+ if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
2579
+ }
2580
+ function xi(e, t) {
2581
+ for (var r = 0; r < t.length; r++) {
2582
+ var n = t[r];
2583
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, Ci(n.key), n);
2584
+ }
2585
+ }
2586
+ function wi(e, t, r) {
2587
+ return t && xi(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
2588
+ }
2589
+ function Ci(e) {
2590
+ var t = Ni(e, "string");
2591
+ return G(t) == "symbol" ? t : t + "";
2592
+ }
2593
+ function Ni(e, t) {
2594
+ if (G(e) != "object" || !e) return e;
2595
+ var r = e[Symbol.toPrimitive];
2596
+ if (r !== void 0) {
2597
+ var n = r.call(e, t);
2598
+ if (G(n) != "object") return n;
2599
+ throw new TypeError("@@toPrimitive must return a primitive value.");
2600
+ }
2601
+ return String(e);
2602
+ }
2603
+ var Pi = "[" + y + m + "]+", Si = new RegExp("^" + Pi + "$", "i"), Ei = "(?:[" + q + "][" + y + m + "]*|[" + y + m + "]+)", _i = new RegExp("[^" + y + m + "]+.*$"), Ii = /[^\d\[\]]/, Ti = /* @__PURE__ */ (function() {
2604
+ function e(t) {
2605
+ var r = t.defaultCountry, n = t.defaultCallingCode, i = t.metadata, a = t.onNationalSignificantNumberChange;
2606
+ bi(this, e), this.defaultCountry = r, this.defaultCallingCode = n, this.metadata = i, this.onNationalSignificantNumberChange = a;
2607
+ }
2608
+ return wi(e, [{
2609
+ key: "input",
2610
+ value: function(r, n) {
2611
+ var i = ki(r), a = ge(i, 2), d = a[0], o = a[1], l = X(d), s;
2612
+ return o && (n.digits || (n.startInternationalNumber(), l || (s = !0))), l && this.inputDigits(l, n), {
2613
+ digits: l,
2614
+ justLeadingPlus: s
2615
+ };
2616
+ }
2617
+ /**
2618
+ * Inputs "next" phone number digits.
2619
+ * @param {string} digits
2620
+ * @return {string} [formattedNumber] Formatted national phone number (if it can be formatted at this stage). Returning `undefined` means "don't format the national phone number at this stage".
2621
+ */
2622
+ }, {
2623
+ key: "inputDigits",
2624
+ value: function(r, n) {
2625
+ var i = n.digits, a = i.length < 3 && i.length + r.length >= 3;
2626
+ if (n.appendDigits(r), a && this.extractIddPrefix(n), this.isWaitingForCountryCallingCode(n)) {
2627
+ if (!this.extractCountryCallingCode(n))
2628
+ return;
2629
+ } else
2630
+ n.appendNationalSignificantNumberDigits(r);
2631
+ n.international || this.hasExtractedNationalSignificantNumber || this.extractNationalSignificantNumber(n.getNationalDigits(), function(d) {
2632
+ return n.update(d);
2633
+ });
2634
+ }
2635
+ }, {
2636
+ key: "isWaitingForCountryCallingCode",
2637
+ value: function(r) {
2638
+ var n = r.international, i = r.callingCode;
2639
+ return n && !i;
2640
+ }
2641
+ // Extracts a country calling code from a number
2642
+ // being entered in internatonal format.
2643
+ }, {
2644
+ key: "extractCountryCallingCode",
2645
+ value: function(r) {
2646
+ var n = mt("+" + r.getDigitsWithoutInternationalPrefix(), this.defaultCountry, this.defaultCallingCode, this.metadata.metadata), i = n.countryCallingCode, a = n.number;
2647
+ if (i)
2648
+ return r.setCallingCode(i), r.update({
2649
+ nationalSignificantNumber: a
2650
+ }), !0;
2651
+ }
2652
+ }, {
2653
+ key: "reset",
2654
+ value: function(r) {
2655
+ if (r) {
2656
+ this.hasSelectedNumberingPlan = !0;
2657
+ var n = r._nationalPrefixForParsing();
2658
+ this.couldPossiblyExtractAnotherNationalSignificantNumber = n && Ii.test(n);
2659
+ } else
2660
+ this.hasSelectedNumberingPlan = void 0, this.couldPossiblyExtractAnotherNationalSignificantNumber = void 0;
2661
+ }
2662
+ /**
2663
+ * Extracts a national (significant) number from user input.
2664
+ * Google's library is different in that it only applies `national_prefix_for_parsing`
2665
+ * and doesn't apply `national_prefix_transform_rule` after that.
2666
+ * https://github.com/google/libphonenumber/blob/a3d70b0487875475e6ad659af404943211d26456/java/libphonenumber/src/com/google/i18n/phonenumbers/AsYouTypeFormatter.java#L539
2667
+ * @return {boolean} [extracted]
2668
+ */
2669
+ }, {
2670
+ key: "extractNationalSignificantNumber",
2671
+ value: function(r, n) {
2672
+ if (this.hasSelectedNumberingPlan) {
2673
+ var i = it(r, this.metadata), a = i.nationalPrefix, d = i.nationalNumber, o = i.carrierCode;
2674
+ if (d !== r)
2675
+ return this.onExtractedNationalNumber(a, o, d, r, n), !0;
2676
+ }
2677
+ }
2678
+ /**
2679
+ * In Google's code this function is called "attempt to extract longer NDD".
2680
+ * "Some national prefixes are a substring of others", they say.
2681
+ * @return {boolean} [result] — Returns `true` if extracting a national prefix produced different results from what they were.
2682
+ */
2683
+ }, {
2684
+ key: "extractAnotherNationalSignificantNumber",
2685
+ value: function(r, n, i) {
2686
+ if (!this.hasExtractedNationalSignificantNumber)
2687
+ return this.extractNationalSignificantNumber(r, i);
2688
+ if (this.couldPossiblyExtractAnotherNationalSignificantNumber) {
2689
+ var a = it(r, this.metadata), d = a.nationalPrefix, o = a.nationalNumber, l = a.carrierCode;
2690
+ if (o !== n)
2691
+ return this.onExtractedNationalNumber(d, l, o, r, i), !0;
2692
+ }
2693
+ }
2694
+ }, {
2695
+ key: "onExtractedNationalNumber",
2696
+ value: function(r, n, i, a, d) {
2697
+ var o, l, s = a.lastIndexOf(i);
2698
+ if (s >= 0 && s === a.length - i.length) {
2699
+ l = !0;
2700
+ var u = a.slice(0, s);
2701
+ u !== r && (o = u);
2702
+ }
2703
+ d({
2704
+ nationalPrefix: r,
2705
+ carrierCode: n,
2706
+ nationalSignificantNumber: i,
2707
+ nationalSignificantNumberMatchesInput: l,
2708
+ complexPrefixBeforeNationalSignificantNumber: o
2709
+ }), this.hasExtractedNationalSignificantNumber = !0, this.onNationalSignificantNumberChange();
2710
+ }
2711
+ }, {
2712
+ key: "reExtractNationalSignificantNumber",
2713
+ value: function(r) {
2714
+ if (this.extractAnotherNationalSignificantNumber(r.getNationalDigits(), r.nationalSignificantNumber, function(n) {
2715
+ return r.update(n);
2716
+ }))
2717
+ return !0;
2718
+ if (this.extractIddPrefix(r))
2719
+ return this.extractCallingCodeAndNationalSignificantNumber(r), !0;
2720
+ if (this.fixMissingPlus(r))
2721
+ return this.extractCallingCodeAndNationalSignificantNumber(r), !0;
2722
+ }
2723
+ }, {
2724
+ key: "extractIddPrefix",
2725
+ value: function(r) {
2726
+ var n = r.international, i = r.IDDPrefix, a = r.digits;
2727
+ if (r.nationalSignificantNumber, !(n || i)) {
2728
+ var d = ie(a, this.defaultCountry, this.defaultCallingCode, this.metadata.metadata);
2729
+ if (d !== void 0 && d !== a)
2730
+ return r.update({
2731
+ IDDPrefix: a.slice(0, a.length - d.length)
2732
+ }), this.startInternationalNumber(r, {
2733
+ country: void 0,
2734
+ callingCode: void 0
2735
+ }), !0;
2736
+ }
2737
+ }
2738
+ }, {
2739
+ key: "fixMissingPlus",
2740
+ value: function(r) {
2741
+ if (!r.international) {
2742
+ var n = ae(r.digits, this.defaultCountry, this.defaultCallingCode, this.metadata.metadata), i = n.countryCallingCode;
2743
+ if (n.number, i)
2744
+ return r.update({
2745
+ missingPlus: !0
2746
+ }), this.startInternationalNumber(r, {
2747
+ country: r.country,
2748
+ callingCode: i
2749
+ }), !0;
2750
+ }
2751
+ }
2752
+ }, {
2753
+ key: "startInternationalNumber",
2754
+ value: function(r, n) {
2755
+ var i = n.country, a = n.callingCode;
2756
+ r.startInternationalNumber(i, a), r.nationalSignificantNumber && (r.resetNationalSignificantNumber(), this.onNationalSignificantNumberChange(), this.hasExtractedNationalSignificantNumber = void 0);
2757
+ }
2758
+ }, {
2759
+ key: "extractCallingCodeAndNationalSignificantNumber",
2760
+ value: function(r) {
2761
+ this.extractCountryCallingCode(r) && this.extractNationalSignificantNumber(r.getNationalDigits(), function(n) {
2762
+ return r.update(n);
2763
+ });
2764
+ }
2765
+ }]);
2766
+ })();
2767
+ function Ai(e) {
2768
+ var t = e.search(Ei);
2769
+ if (!(t < 0)) {
2770
+ e = e.slice(t);
2771
+ var r;
2772
+ return e[0] === "+" && (r = !0, e = e.slice(1)), e = e.replace(_i, ""), r && (e = "+" + e), e;
2773
+ }
2774
+ }
2775
+ function Fi(e) {
2776
+ var t = Ai(e) || "";
2777
+ return t[0] === "+" ? [t.slice(1), !0] : [t];
2778
+ }
2779
+ function ki(e) {
2780
+ var t = Fi(e), r = ge(t, 2), n = r[0], i = r[1];
2781
+ return Si.test(n) || (n = ""), [n, i];
2782
+ }
2783
+ function U(e) {
2784
+ "@babel/helpers - typeof";
2785
+ return U = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
2786
+ return typeof t;
2787
+ } : function(t) {
2788
+ return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
2789
+ }, U(e);
2790
+ }
2791
+ function Oi(e, t) {
2792
+ return Di(e) || Mi(e, t) || Li(e, t) || Ri();
2793
+ }
2794
+ function Ri() {
2795
+ throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2796
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2797
+ }
2798
+ function Li(e, t) {
2799
+ if (e) {
2800
+ if (typeof e == "string") return qt(e, t);
2801
+ var r = {}.toString.call(e).slice(8, -1);
2802
+ return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? qt(e, t) : void 0;
2803
+ }
2804
+ }
2805
+ function qt(e, t) {
2806
+ (t == null || t > e.length) && (t = e.length);
2807
+ for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
2808
+ return n;
2809
+ }
2810
+ function Mi(e, t) {
2811
+ var r = e == null ? null : typeof Symbol != "undefined" && e[Symbol.iterator] || e["@@iterator"];
2812
+ if (r != null) {
2813
+ var n, i, a, d, o = [], l = !0, s = !1;
2814
+ try {
2815
+ if (a = (r = r.call(e)).next, t !== 0) for (; !(l = (n = a.call(r)).done) && (o.push(n.value), o.length !== t); l = !0) ;
2816
+ } catch (u) {
2817
+ s = !0, i = u;
2818
+ } finally {
2819
+ try {
2820
+ if (!l && r.return != null && (d = r.return(), Object(d) !== d)) return;
2821
+ } finally {
2822
+ if (s) throw i;
2823
+ }
2824
+ }
2825
+ return o;
2826
+ }
2827
+ }
2828
+ function Di(e) {
2829
+ if (Array.isArray(e)) return e;
2830
+ }
2831
+ function ji(e, t) {
2832
+ if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
2833
+ }
2834
+ function Bi(e, t) {
2835
+ for (var r = 0; r < t.length; r++) {
2836
+ var n = t[r];
2837
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, Ui(n.key), n);
2838
+ }
2839
+ }
2840
+ function Gi(e, t, r) {
2841
+ return t && Bi(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
2842
+ }
2843
+ function Ui(e) {
2844
+ var t = Hi(e, "string");
2845
+ return U(t) == "symbol" ? t : t + "";
2846
+ }
2847
+ function Hi(e, t) {
2848
+ if (U(e) != "object" || !e) return e;
2849
+ var r = e[Symbol.toPrimitive];
2850
+ if (r !== void 0) {
2851
+ var n = r.call(e, t);
2852
+ if (U(n) != "object") return n;
2853
+ throw new TypeError("@@toPrimitive must return a primitive value.");
2854
+ }
2855
+ return String(e);
2856
+ }
2857
+ var ye = /* @__PURE__ */ (function() {
2858
+ function e(t, r) {
2859
+ ji(this, e), this.metadata = new f(r);
2860
+ var n = this.getCountryAndCallingCode(t), i = Oi(n, 2), a = i[0], d = i[1];
2861
+ this.defaultCountry = a, this.defaultCallingCode = d, this.reset();
2862
+ }
2863
+ return Gi(e, [{
2864
+ key: "getCountryAndCallingCode",
2865
+ value: function(r) {
2866
+ var n, i;
2867
+ return r && (C(r) ? (n = r.defaultCountry, i = r.defaultCallingCode) : n = r), n && !this.metadata.hasCountry(n) && (n = void 0), [n, i];
2868
+ }
2869
+ /**
2870
+ * Inputs "next" phone number characters.
2871
+ * @param {string} text
2872
+ * @return {string} Formatted phone number characters that have been input so far.
2873
+ */
2874
+ }, {
2875
+ key: "input",
2876
+ value: function(r) {
2877
+ var n = this.parser.input(r, this.state), i = n.digits, a = n.justLeadingPlus;
2878
+ if (a)
2879
+ this.formattedOutput = "+";
2880
+ else if (i) {
2881
+ this.determineTheCountryIfNeeded(), this.state.nationalSignificantNumber && this.formatter.narrowDownMatchingFormats(this.state);
2882
+ var d;
2883
+ if (this.metadata.hasSelectedNumberingPlan() && (d = this.formatter.format(i, this.state)), d === void 0 && this.parser.reExtractNationalSignificantNumber(this.state)) {
2884
+ this.determineTheCountryIfNeeded();
2885
+ var o = this.state.getNationalDigits();
2886
+ o && (d = this.formatter.format(o, this.state));
2887
+ }
2888
+ this.formattedOutput = d ? this.getFullNumber(d) : this.getNonFormattedNumber();
2889
+ }
2890
+ return this.formattedOutput;
2891
+ }
2892
+ }, {
2893
+ key: "reset",
2894
+ value: function() {
2895
+ var r = this;
2896
+ return this.state = new Fn({
2897
+ onCountryChange: function(i) {
2898
+ r.country = i;
2899
+ },
2900
+ onCallingCodeChange: function(i, a) {
2901
+ r.metadata.selectNumberingPlan(a, i), r.formatter.reset(r.metadata.numberingPlan, r.state), r.parser.reset(r.metadata.numberingPlan);
2902
+ }
2903
+ }), this.formatter = new mi({
2904
+ state: this.state,
2905
+ metadata: this.metadata
2906
+ }), this.parser = new Ti({
2907
+ defaultCountry: this.defaultCountry,
2908
+ defaultCallingCode: this.defaultCallingCode,
2909
+ metadata: this.metadata,
2910
+ state: this.state,
2911
+ onNationalSignificantNumberChange: function() {
2912
+ r.determineTheCountryIfNeeded(), r.formatter.reset(r.metadata.numberingPlan, r.state);
2913
+ }
2914
+ }), this.state.reset({
2915
+ country: this.defaultCountry,
2916
+ callingCode: this.defaultCallingCode
2917
+ }), this.formattedOutput = "", this;
2918
+ }
2919
+ /**
2920
+ * Returns `true` if the phone number is being input in international format.
2921
+ * In other words, returns `true` if and only if the parsed phone number starts with a `"+"`.
2922
+ * @return {boolean}
2923
+ */
2924
+ }, {
2925
+ key: "isInternational",
2926
+ value: function() {
2927
+ return this.state.international;
2928
+ }
2929
+ /**
2930
+ * Returns the "calling code" part of the phone number when it's being input
2931
+ * in an international format.
2932
+ * If no valid calling code has been entered so far, returns `undefined`.
2933
+ * @return {string} [callingCode]
2934
+ */
2935
+ }, {
2936
+ key: "getCallingCode",
2937
+ value: function() {
2938
+ if (this.isInternational())
2939
+ return this.state.callingCode;
2940
+ }
2941
+ // A legacy alias.
2942
+ }, {
2943
+ key: "getCountryCallingCode",
2944
+ value: function() {
2945
+ return this.getCallingCode();
2946
+ }
2947
+ /**
2948
+ * Returns a two-letter country code of the phone number.
2949
+ * Returns `undefined` for "non-geographic" phone numbering plans.
2950
+ * Returns `undefined` if no phone number has been input yet.
2951
+ * @return {string} [country]
2952
+ */
2953
+ }, {
2954
+ key: "getCountry",
2955
+ value: function() {
2956
+ var r = this.state.digits;
2957
+ if (r)
2958
+ return this._getCountry();
2959
+ }
2960
+ /**
2961
+ * Returns a two-letter country code of the phone number.
2962
+ * Returns `undefined` for "non-geographic" phone numbering plans.
2963
+ * @return {string} [country]
2964
+ */
2965
+ }, {
2966
+ key: "_getCountry",
2967
+ value: function() {
2968
+ var r = this.state.country;
2969
+ return r;
2970
+ }
2971
+ }, {
2972
+ key: "determineTheCountryIfNeeded",
2973
+ value: function() {
2974
+ (!this.state.country || this.isCountryCallingCodeAmbiguous()) && this.determineTheCountry();
2975
+ }
2976
+ // Prepends `+CountryCode ` in case of an international phone number
2977
+ }, {
2978
+ key: "getFullNumber",
2979
+ value: function(r) {
2980
+ var n = this;
2981
+ if (this.isInternational()) {
2982
+ var i = function(o) {
2983
+ return n.formatter.getInternationalPrefixBeforeCountryCallingCode(n.state, {
2984
+ spacing: !!o
2985
+ }) + o;
2986
+ }, a = this.state.callingCode;
2987
+ return i(a ? r ? "".concat(a, " ").concat(r) : a : "".concat(this.state.getDigitsWithoutInternationalPrefix()));
2988
+ }
2989
+ return r;
2990
+ }
2991
+ }, {
2992
+ key: "getNonFormattedNationalNumberWithPrefix",
2993
+ value: function() {
2994
+ var r = this.state, n = r.nationalSignificantNumber, i = r.complexPrefixBeforeNationalSignificantNumber, a = r.nationalPrefix, d = n, o = i || a;
2995
+ return o && (d = o + d), d;
2996
+ }
2997
+ }, {
2998
+ key: "getNonFormattedNumber",
2999
+ value: function() {
3000
+ var r = this.state.nationalSignificantNumberMatchesInput;
3001
+ return this.getFullNumber(r ? this.getNonFormattedNationalNumberWithPrefix() : this.state.getNationalDigits());
3002
+ }
3003
+ }, {
3004
+ key: "getNonFormattedTemplate",
3005
+ value: function() {
3006
+ var r = this.getNonFormattedNumber();
3007
+ if (r)
3008
+ return r.replace(/[\+\d]/g, g);
3009
+ }
3010
+ }, {
3011
+ key: "isCountryCallingCodeAmbiguous",
3012
+ value: function() {
3013
+ var r = this.state.callingCode, n = this.metadata.getCountryCodesForCallingCode(r);
3014
+ return n && n.length > 1;
3015
+ }
3016
+ // Determines the country of the phone number
3017
+ // entered so far based on the country phone code
3018
+ // and the national phone number.
3019
+ }, {
3020
+ key: "determineTheCountry",
3021
+ value: function() {
3022
+ this.state.setCountry(ve(this.isInternational() ? this.state.callingCode : this.defaultCallingCode, {
3023
+ nationalNumber: this.state.nationalSignificantNumber,
3024
+ defaultCountry: this.defaultCountry,
3025
+ metadata: this.metadata
3026
+ }));
3027
+ }
3028
+ /**
3029
+ * Returns a E.164 phone number value for the user's input.
3030
+ *
3031
+ * For example, for country `"US"` and input `"(222) 333-4444"`
3032
+ * it will return `"+12223334444"`.
3033
+ *
3034
+ * For international phone number input, it will also auto-correct
3035
+ * some minor errors such as using a national prefix when writing
3036
+ * an international phone number. For example, if the user inputs
3037
+ * `"+44 0 7400 000000"` then it will return an auto-corrected
3038
+ * `"+447400000000"` phone number value.
3039
+ *
3040
+ * Will return `undefined` if no digits have been input,
3041
+ * or when inputting a phone number in national format and no
3042
+ * default country or default "country calling code" have been set.
3043
+ *
3044
+ * @return {string} [value]
3045
+ */
3046
+ }, {
3047
+ key: "getNumberValue",
3048
+ value: function() {
3049
+ var r = this.state, n = r.digits, i = r.callingCode, a = r.country, d = r.nationalSignificantNumber;
3050
+ if (n) {
3051
+ if (this.isInternational())
3052
+ return i ? "+" + i + d : "+" + n;
3053
+ if (a || i) {
3054
+ var o = a ? this.metadata.countryCallingCode() : i;
3055
+ return "+" + o + d;
3056
+ }
3057
+ }
3058
+ }
3059
+ /**
3060
+ * Returns an instance of `PhoneNumber` class.
3061
+ * Will return `undefined` if no national (significant) number
3062
+ * digits have been entered so far, or if no `defaultCountry` has been
3063
+ * set and the user enters a phone number not in international format.
3064
+ */
3065
+ }, {
3066
+ key: "getNumber",
3067
+ value: function() {
3068
+ var r = this.state, n = r.nationalSignificantNumber, i = r.carrierCode, a = r.callingCode, d = this._getCountry();
3069
+ if (n && !(!d && !a)) {
3070
+ if (d && d === this.defaultCountry) {
3071
+ var o = new f(this.metadata.metadata);
3072
+ o.selectNumberingPlan(d);
3073
+ var l = o.numberingPlan.callingCode(), s = this.metadata.getCountryCodesForCallingCode(l);
3074
+ if (s.length > 1) {
3075
+ var u = fe(n, {
3076
+ countries: s,
3077
+ defaultCountry: this.defaultCountry,
3078
+ metadata: this.metadata.metadata
3079
+ });
3080
+ u && (d = u);
3081
+ }
3082
+ }
3083
+ var c = new $e(d || a, n, this.metadata.metadata);
3084
+ return i && (c.carrierCode = i), c;
3085
+ }
3086
+ }
3087
+ /**
3088
+ * Returns `true` if the phone number is "possible".
3089
+ * Is just a shortcut for `PhoneNumber.isPossible()`.
3090
+ * @return {boolean}
3091
+ */
3092
+ }, {
3093
+ key: "isPossible",
3094
+ value: function() {
3095
+ var r = this.getNumber();
3096
+ return r ? r.isPossible() : !1;
3097
+ }
3098
+ /**
3099
+ * Returns `true` if the phone number is "valid".
3100
+ * Is just a shortcut for `PhoneNumber.isValid()`.
3101
+ * @return {boolean}
3102
+ */
3103
+ }, {
3104
+ key: "isValid",
3105
+ value: function() {
3106
+ var r = this.getNumber();
3107
+ return r ? r.isValid() : !1;
3108
+ }
3109
+ /**
3110
+ * @deprecated
3111
+ * This method is used in `react-phone-number-input/source/input-control.js`
3112
+ * in versions before `3.0.16`.
3113
+ */
3114
+ }, {
3115
+ key: "getNationalNumber",
3116
+ value: function() {
3117
+ return this.state.nationalSignificantNumber;
3118
+ }
3119
+ /**
3120
+ * Returns the phone number characters entered by the user.
3121
+ * @return {string}
3122
+ */
3123
+ }, {
3124
+ key: "getChars",
3125
+ value: function() {
3126
+ return (this.state.international ? "+" : "") + this.state.digits;
3127
+ }
3128
+ /**
3129
+ * Returns the template for the formatted phone number.
3130
+ * @return {string}
3131
+ */
3132
+ }, {
3133
+ key: "getTemplate",
3134
+ value: function() {
3135
+ return this.formatter.getTemplate(this.state) || this.getNonFormattedTemplate() || "";
3136
+ }
3137
+ }]);
3138
+ })();
3139
+ function Wi() {
3140
+ return te(xn, arguments);
3141
+ }
3142
+ function Vi() {
3143
+ return te(Sn, arguments);
3144
+ }
3145
+ function H(e) {
3146
+ return ye.call(this, e, Qt);
3147
+ }
3148
+ H.prototype = Object.create(ye.prototype, {});
3149
+ H.prototype.constructor = H;
3150
+ function Ki(e, t) {
3151
+ return t = t || {}, new Promise(function(r, n) {
3152
+ var i = new XMLHttpRequest(), a = [], d = [], o = {}, l = function() {
3153
+ return { ok: (i.status / 100 | 0) == 2, statusText: i.statusText, status: i.status, url: i.responseURL, text: function() {
3154
+ return Promise.resolve(i.responseText);
3155
+ }, json: function() {
3156
+ return Promise.resolve(i.responseText).then(JSON.parse);
3157
+ }, blob: function() {
3158
+ return Promise.resolve(new Blob([i.response]));
3159
+ }, clone: l, headers: { keys: function() {
3160
+ return a;
3161
+ }, entries: function() {
3162
+ return d;
3163
+ }, get: function(u) {
3164
+ return o[u.toLowerCase()];
3165
+ }, has: function(u) {
3166
+ return u.toLowerCase() in o;
3167
+ } } };
3168
+ };
3169
+ for (var s in i.open(t.method || "get", e, !0), i.onload = function() {
3170
+ i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm, function(u, c, $) {
3171
+ a.push(c = c.toLowerCase()), d.push([c, $]), o[c] = o[c] ? o[c] + "," + $ : $;
3172
+ }), r(l());
3173
+ }, i.onerror = n, i.withCredentials = t.credentials == "include", t.headers) i.setRequestHeader(s, t.headers[s]);
3174
+ i.send(t.body || null);
3175
+ });
3176
+ }
3177
+ const zi = {
3178
+ services: {
3179
+ connect: "https://connect.voxie.com"
3180
+ }
3181
+ }, Xi = '/*! tailwindcss v4.1.13 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial}}}@layer theme{:root,:host{--vx-font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--vx-font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--vx-color-sky-500:oklch(68.5% .169 237.323);--vx-color-blue-500:oklch(62.3% .214 259.815);--vx-color-pink-500:oklch(65.6% .241 354.308);--vx-color-pink-600:oklch(59.2% .249 .584);--vx-color-slate-50:oklch(98.4% .003 247.858);--vx-color-slate-100:oklch(96.8% .007 247.896);--vx-color-slate-200:oklch(92.9% .013 255.508);--vx-color-slate-300:oklch(86.9% .022 252.894);--vx-color-slate-400:oklch(70.4% .04 256.788);--vx-color-slate-500:oklch(55.4% .046 257.417);--vx-color-slate-600:oklch(44.6% .043 257.281);--vx-color-slate-700:oklch(37.2% .044 257.287);--vx-color-neutral-100:oklch(97% 0 0);--vx-color-neutral-500:oklch(55.6% 0 0);--vx-color-neutral-600:oklch(43.9% 0 0);--vx-color-neutral-800:oklch(26.9% 0 0);--vx-color-white:#fff;--vx-spacing:.25rem;--vx-text-xs:.75rem;--vx-text-xs--line-height:calc(1/.75);--vx-text-sm:.875rem;--vx-text-sm--line-height:calc(1.25/.875);--vx-text-base:1rem;--vx-text-base--line-height: 1.5 ;--vx-font-weight-normal:400;--vx-font-weight-medium:500;--vx-font-weight-semibold:600;--vx-font-weight-bold:700;--vx-leading-snug:1.375;--vx-radius-sm:.25rem;--vx-radius-md:.375rem;--vx-radius-lg:.5rem;--vx-radius-2xl:1rem;--vx-blur-md:12px;--vx-default-transition-duration:.15s;--vx-default-transition-timing-function:cubic-bezier(.4,0,.2,1);--vx-default-font-family:var(--vx-font-sans);--vx-default-mono-font-family:var(--vx-font-mono);--vx-container-panel:258px;--vx-z-index-back:-1}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--vx-default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--vx-default-font-feature-settings,normal);font-variation-settings:var(--vx-default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--vx-default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--vx-default-mono-font-feature-settings,normal);font-variation-settings:var(--vx-default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.vx\\:invisible{visibility:hidden!important}.vx\\:absolute{position:absolute!important}.vx\\:fixed{position:fixed!important}.vx\\:relative{position:relative!important}.vx\\:top-1\\/2{top:50%!important}.vx\\:right-0{right:calc(var(--vx-spacing)*0)!important}.vx\\:right-8{right:calc(var(--vx-spacing)*8)!important}.vx\\:bottom-0{bottom:calc(var(--vx-spacing)*0)!important}.vx\\:bottom-8{bottom:calc(var(--vx-spacing)*8)!important}.vx\\:left-1\\/2{left:50%!important}.vx\\:z-0{z-index:0!important}.vx\\:z-10{z-index:10!important}.vx\\:z-back{z-index:var(--vx-z-index-back)!important}.vx\\:float-right{float:right!important}.vx\\:-mx-2{margin-inline:calc(var(--vx-spacing)*-2)!important}.vx\\:my-2{margin-block:calc(var(--vx-spacing)*2)!important}.vx\\:mt-0\\.5{margin-top:calc(var(--vx-spacing)*.5)!important}.vx\\:mt-1{margin-top:calc(var(--vx-spacing)*1)!important}.vx\\:mt-2{margin-top:calc(var(--vx-spacing)*2)!important}.vx\\:mt-3{margin-top:calc(var(--vx-spacing)*3)!important}.vx\\:mt-5{margin-top:calc(var(--vx-spacing)*5)!important}.vx\\:mt-\\[2px\\]{margin-top:2px!important}.vx\\:-mb-2{margin-bottom:calc(var(--vx-spacing)*-2)!important}.vx\\:mb-0{margin-bottom:calc(var(--vx-spacing)*0)!important}.vx\\:mb-1{margin-bottom:calc(var(--vx-spacing)*1)!important}.vx\\:block{display:block!important}.vx\\:flex{display:flex!important}.vx\\:inline-block{display:inline-block!important}.vx\\:h-4{height:calc(var(--vx-spacing)*4)!important}.vx\\:h-14{height:calc(var(--vx-spacing)*14)!important}.vx\\:h-full{height:100%!important}.vx\\:w-4{width:calc(var(--vx-spacing)*4)!important}.vx\\:w-14{width:calc(var(--vx-spacing)*14)!important}.vx\\:w-full{width:100%!important}.vx\\:max-w-panel{max-width:var(--vx-container-panel)!important}.vx\\:origin-bottom-right{transform-origin:100% 100%!important}.vx\\:-translate-x-1\\/2{--tw-translate-x: -50% !important;translate:var(--tw-translate-x)var(--tw-translate-y)!important}.vx\\:-translate-y-1\\/2{--tw-translate-y: -50% !important;translate:var(--tw-translate-x)var(--tw-translate-y)!important}.vx\\:translate-y-4{--tw-translate-y:calc(var(--vx-spacing)*4)!important;translate:var(--tw-translate-x)var(--tw-translate-y)!important}.vx\\:scale-1{--tw-scale-x:1%!important;--tw-scale-y:1%!important;--tw-scale-z:1%!important;scale:var(--tw-scale-x)var(--tw-scale-y)!important}.vx\\:scale-200{--tw-scale-x:200%!important;--tw-scale-y:200%!important;--tw-scale-z:200%!important;scale:var(--tw-scale-x)var(--tw-scale-y)!important}.vx\\:rotate-180{rotate:180deg!important}.vx\\:cursor-pointer{cursor:pointer!important}.vx\\:flex-col{flex-direction:column!important}.vx\\:items-end{align-items:flex-end!important}.vx\\:items-start{align-items:flex-start!important}.vx\\:gap-2{gap:calc(var(--vx-spacing)*2)!important}.vx\\:self-start{align-self:flex-start!important}.vx\\:overflow-hidden{overflow:hidden!important}.vx\\:rounded-2xl{border-radius:var(--vx-radius-2xl)!important}.vx\\:rounded-lg{border-radius:var(--vx-radius-lg)!important}.vx\\:rounded-md{border-radius:var(--vx-radius-md)!important}.vx\\:rounded-sm{border-radius:var(--vx-radius-sm)!important}.vx\\:border{border-style:var(--tw-border-style)!important;border-width:1px!important}.vx\\:border-neutral-800{border-color:var(--vx-color-neutral-800)!important}.vx\\:border-slate-300{border-color:var(--vx-color-slate-300)!important}.vx\\:border-white\\/60{border-color:var(--vx-color-white)!important}@supports (color:color-mix(in lab,red,red)){.vx\\:border-white\\/60{border-color:color-mix(in oklab,var(--vx-color-white)60%,transparent)!important}}.vx\\:bg-neutral-800{background-color:var(--vx-color-neutral-800)!important}.vx\\:bg-slate-100\\/70{background-color:var(--vx-color-slate-100)!important}@supports (color:color-mix(in lab,red,red)){.vx\\:bg-slate-100\\/70{background-color:color-mix(in oklab,var(--vx-color-slate-100)70%,transparent)!important}}.vx\\:bg-white{background-color:var(--vx-color-white)!important}.vx\\:fill-neutral-800{fill:var(--vx-color-neutral-800)!important}.vx\\:fill-white{fill:var(--vx-color-white)!important}.vx\\:p-2{padding:calc(var(--vx-spacing)*2)!important}.vx\\:p-8{padding:calc(var(--vx-spacing)*8)!important}.vx\\:px-2{padding-inline:calc(var(--vx-spacing)*2)!important}.vx\\:px-3{padding-inline:calc(var(--vx-spacing)*3)!important}.vx\\:py-1{padding-block:calc(var(--vx-spacing)*1)!important}.vx\\:py-2{padding-block:calc(var(--vx-spacing)*2)!important}.vx\\:pt-1{padding-top:calc(var(--vx-spacing)*1)!important}.vx\\:pb-0{padding-bottom:calc(var(--vx-spacing)*0)!important}.vx\\:pb-2{padding-bottom:calc(var(--vx-spacing)*2)!important}.vx\\:pl-1{padding-left:calc(var(--vx-spacing)*1)!important}.vx\\:text-center{text-align:center!important}.vx\\:font-sans{font-family:var(--vx-font-sans)!important}.vx\\:text-base{font-size:var(--vx-text-base)!important;line-height:var(--tw-leading,var(--vx-text-base--line-height))!important}.vx\\:text-sm{font-size:var(--vx-text-sm)!important;line-height:var(--tw-leading,var(--vx-text-sm--line-height))!important}.vx\\:text-xs{font-size:var(--vx-text-xs)!important;line-height:var(--tw-leading,var(--vx-text-xs--line-height))!important}.vx\\:leading-snug{--tw-leading:var(--vx-leading-snug)!important;line-height:var(--vx-leading-snug)!important}.vx\\:font-bold{--tw-font-weight:var(--vx-font-weight-bold)!important;font-weight:var(--vx-font-weight-bold)!important}.vx\\:font-medium{--tw-font-weight:var(--vx-font-weight-medium)!important;font-weight:var(--vx-font-weight-medium)!important}.vx\\:font-normal{--tw-font-weight:var(--vx-font-weight-normal)!important;font-weight:var(--vx-font-weight-normal)!important}.vx\\:font-semibold{--tw-font-weight:var(--vx-font-weight-semibold)!important;font-weight:var(--vx-font-weight-semibold)!important}.vx\\:text-neutral-500{color:var(--vx-color-neutral-500)!important}.vx\\:text-neutral-600{color:var(--vx-color-neutral-600)!important}.vx\\:text-pink-600{color:var(--vx-color-pink-600)!important}.vx\\:text-slate-600{color:var(--vx-color-slate-600)!important}.vx\\:text-slate-700{color:var(--vx-color-slate-700)!important}.vx\\:text-white{color:var(--vx-color-white)!important}.vx\\:underline{text-decoration-line:underline!important}.vx\\:placeholder-slate-400::placeholder{color:var(--vx-color-slate-400)!important}.vx\\:opacity-0{opacity:0!important}.vx\\:opacity-100{opacity:1!important}.vx\\:shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.vx\\:shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.vx\\:backdrop-blur-md{--tw-backdrop-blur:blur(var(--vx-blur-md))!important;-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)!important;backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)!important}.vx\\:transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events!important;transition-timing-function:var(--tw-ease,var(--vx-default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--vx-default-transition-duration))!important}.vx\\:transition-all{transition-property:all!important;transition-timing-function:var(--tw-ease,var(--vx-default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--vx-default-transition-duration))!important}.vx\\:duration-300{--tw-duration:.3s!important;transition-duration:.3s!important}@media (hover:hover){.vx\\:group-hover\\:fill-neutral-600:is(:where(.vx\\:group):hover *){fill:var(--vx-color-neutral-600)!important}}.vx\\:group-active\\:fill-neutral-800:is(:where(.vx\\:group):active *){fill:var(--vx-color-neutral-800)!important}.vx\\:invalid\\:border-pink-500:invalid{border-color:var(--vx-color-pink-500)!important}.vx\\:invalid\\:text-pink-600:invalid{color:var(--vx-color-pink-600)!important}@media (hover:hover){.vx\\:hover\\:bg-neutral-100:hover{background-color:var(--vx-color-neutral-100)!important}.vx\\:hover\\:bg-neutral-600:hover{background-color:var(--vx-color-neutral-600)!important}.vx\\:hover\\:text-blue-500:hover{color:var(--vx-color-blue-500)!important}}.vx\\:focus\\:border-sky-500:focus{border-color:var(--vx-color-sky-500)!important}.vx\\:focus\\:ring-1:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.vx\\:focus\\:ring-sky-500:focus{--tw-ring-color:var(--vx-color-sky-500)!important}.vx\\:focus\\:outline-hidden:focus{--tw-outline-style:none!important;outline-style:none!important}@media (forced-colors:active){.vx\\:focus\\:outline-hidden:focus{outline-offset:2px!important;outline:2px solid #0000!important}}.vx\\:focus\\:invalid\\:border-pink-500:focus:invalid{border-color:var(--vx-color-pink-500)!important}.vx\\:focus\\:invalid\\:ring-pink-500:focus:invalid{--tw-ring-color:var(--vx-color-pink-500)!important}.vx\\:active\\:scale-95:active{--tw-scale-x:95%!important;--tw-scale-y:95%!important;--tw-scale-z:95%!important;scale:var(--tw-scale-x)var(--tw-scale-y)!important}.vx\\:active\\:opacity-80:active{opacity:.8!important}.vx\\:disabled\\:scale-100:disabled{--tw-scale-x:100%!important;--tw-scale-y:100%!important;--tw-scale-z:100%!important;scale:var(--tw-scale-x)var(--tw-scale-y)!important}.vx\\:disabled\\:cursor-not-allowed:disabled{cursor:not-allowed!important}.vx\\:disabled\\:border-slate-200:disabled{border-color:var(--vx-color-slate-200)!important}.vx\\:disabled\\:bg-slate-50:disabled{background-color:var(--vx-color-slate-50)!important}.vx\\:disabled\\:text-slate-500:disabled{color:var(--vx-color-slate-500)!important}.vx\\:disabled\\:opacity-60:disabled{opacity:.6!important}.vx\\:disabled\\:shadow-none:disabled{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}@media (hover:hover){.vx\\:disabled\\:hover\\:bg-neutral-800:disabled:hover{background-color:var(--vx-color-neutral-800)!important}}}.vx-pop-up__wave{transform-origin:70% 70%;animation-name:vx-wave-animation;animation-duration:2s;animation-iteration-count:2;display:inline-block;scale:1.25}@keyframes vx-wave-animation{0%{transform:rotate(0)}10%{transform:rotate(14deg)}20%{transform:rotate(-8deg)}30%{transform:rotate(14deg)}40%{transform:rotate(-4deg)}50%{transform:rotate(10deg)}60%{transform:rotate(0)}to{transform:rotate(0)}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}';
3182
+ class Yi {
3183
+ constructor(t, r, n) {
3184
+ var a;
3185
+ if (this.closed = !0, this.termsVisible = !1, this.classes = {
3186
+ toggle: {
3187
+ 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",
3188
+ open: "vx:opacity-100",
3189
+ closed: "vx:scale-1 vx:opacity-0 vx:invisible vx:translate-y-4"
3190
+ },
3191
+ btn: {
3192
+ 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 vx:active:scale-95 vx:active:opacity-80",
3193
+ open: "vx:border-neutral-800 vx:bg-neutral-800 vx:hover:bg-neutral-600",
3194
+ closed: "vx:bg-slate-100/70 vx:border-white/60"
3195
+ },
3196
+ icon: {
3197
+ 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 vx:group-hover:fill-neutral-600 vx:group-active:fill-neutral-800",
3198
+ open: "vx:scale-200 vx:h-full vx:opacity-0",
3199
+ closed: "vx:w-full vx:z-10"
3200
+ },
3201
+ xmark: {
3202
+ 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",
3203
+ open: "vx:z-back vx:opacity-100 vx:fill-white",
3204
+ closed: "vx:z-0 vx:opacity-0"
3205
+ }
3206
+ }, this.addStyles = () => {
3207
+ if (typeof document == "undefined")
3208
+ return;
3209
+ const d = "voxie-contacts-styles";
3210
+ if (document.getElementById(d))
3211
+ return;
3212
+ const o = document.createElement("style");
3213
+ o.id = d, o.textContent = Xi, document.head.appendChild(o);
3214
+ }, this.assignElements = () => {
3215
+ this.elements.toggle = document.getElementById("vx-toggle"), this.elements.terms = document.getElementById("vx-terms"), 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(
3216
+ "vx-submit"
3217
+ );
3218
+ }, this.setBindings = () => {
3219
+ var d, o, l;
3220
+ this.elements.btn && (this.elements.btn.onclick = () => this.toggle()), (d = this.elements.terms) == null || d.addEventListener(
3221
+ "click",
3222
+ (s) => s.target && this.toggleTerms()
3223
+ ), (o = document.getElementById("vx-phone-number__input")) == null || o.addEventListener(
3224
+ "keypress",
3225
+ (s) => s.target instanceof HTMLInputElement && (s.target.value = new H("US").input(s.target.value))
3226
+ ), (l = document.getElementById("vx-phone-number__input")) == null || l.addEventListener(
3227
+ "paste",
3228
+ (s) => s.target instanceof HTMLInputElement && (s.target.value = new H("US").input(s.target.value))
3229
+ ), this.elements.submit && this.elements.form && (this.elements.form.onsubmit = async (s) => {
3230
+ var h, b, p, W, V;
3231
+ s.preventDefault();
3232
+ const u = new FormData(s.target);
3233
+ let c = (h = u.get("vx-first-name")) == null ? void 0 : h.toString();
3234
+ const $ = Vi(
3235
+ ((b = u.get("vx-phone-number")) == null ? void 0 : b.toString()) || "",
3236
+ "US"
3237
+ );
3238
+ let v = !1;
3239
+ if (c != null && c.length > 0 && $ != null && $.isPossible()) {
3240
+ if (c = c.replace(/[^a-zA-Z0-9]+/g, ""), c.length > 0 ? v = await this.captureFn($.format("E.164"), {
3241
+ firstName: c
3242
+ }) : v = await this.captureFn($.format("E.164")), v) {
3243
+ const S = document.querySelector("#vx-phone-number p");
3244
+ S && (S.textContent = "");
3245
+ const E = document.getElementById("vx-pop-up__title");
3246
+ E && (E.innerHTML = "Chat soon <span class='vx-pop-up__wave vx:pl-1'>👋</span>");
3247
+ const _ = document.getElementById("vx-pop-up__msg");
3248
+ _ && (_.textContent = "Thanks for signing up. We will be in touch shortly.");
3249
+ const I = document.getElementById("vx-first-name__input");
3250
+ I == null || I.setAttribute("disabled", "disabled");
3251
+ const Q = document.getElementById(
3252
+ "vx-phone-number__input"
3253
+ );
3254
+ Q == null || Q.setAttribute("disabled", "disabled"), (p = this.elements.btn) == null || p.setAttribute("disabled", "disabled"), this.elements.submit && (this.elements.submit.disabled = !0);
3255
+ const pt = document.querySelector(
3256
+ `#${(W = this.elements.submit) == null ? void 0 : W.id} span`
3257
+ );
3258
+ pt && (pt.textContent = "Thanks"), setTimeout(() => {
3259
+ this.close(), this.elements.btn && (this.elements.btn.style.cssText = "opacity: 0"), setTimeout(() => {
3260
+ var gt;
3261
+ (gt = this.elements.container) == null || gt.remove();
3262
+ }, 1e3);
3263
+ }, 5e3);
3264
+ }
3265
+ } else if (c == null || c.length == 0)
3266
+ (V = document.getElementById("vx-first-name__input")) == null || V.setAttribute("required", "required");
3267
+ else if (!($ != null && $.isPossible())) {
3268
+ const S = document.querySelector("#vx-phone-number p");
3269
+ if (S) {
3270
+ const E = (_, I) => Math.floor(Math.random() * (I - _) + _);
3271
+ S.textContent = `Please provide your number in (555) ${E(
3272
+ 100,
3273
+ 999
3274
+ )}-${E(1e3, 9999)} format.`;
3275
+ }
3276
+ }
3277
+ });
3278
+ }, this.toggle = () => this.closed ? this.open() : this.close(), this.toggleTerms = () => this.termsVisible ? this.closeTerms() : this.openTerms(), this.setClasses = (d, ...o) => d && d.setAttribute("class", o.join(" ")), this.close = () => {
3279
+ this.setClasses(
3280
+ this.elements.toggle,
3281
+ this.classes.toggle.base,
3282
+ this.classes.toggle.closed
3283
+ ), this.setClasses(
3284
+ this.elements.btn,
3285
+ this.classes.btn.base,
3286
+ this.classes.btn.closed
3287
+ ), this.setClasses(
3288
+ this.elements.icon,
3289
+ this.classes.icon.base,
3290
+ this.classes.icon.closed
3291
+ ), this.setClasses(
3292
+ this.elements.xmark,
3293
+ this.classes.xmark.base,
3294
+ this.classes.xmark.closed
3295
+ ), this.closed = !0;
3296
+ }, this.open = () => {
3297
+ this.setClasses(
3298
+ this.elements.toggle,
3299
+ this.classes.toggle.base,
3300
+ this.classes.toggle.open
3301
+ ), this.setClasses(
3302
+ this.elements.btn,
3303
+ this.classes.btn.base,
3304
+ this.classes.btn.open
3305
+ ), this.setClasses(
3306
+ this.elements.icon,
3307
+ this.classes.icon.base,
3308
+ this.classes.icon.open
3309
+ ), this.setClasses(
3310
+ this.elements.xmark,
3311
+ this.classes.xmark.base,
3312
+ this.classes.xmark.open
3313
+ ), this.closed = !1;
3314
+ }, this.openTerms = () => {
3315
+ this.setClasses(
3316
+ document.getElementById("vx-terms-arrow"),
3317
+ "transition vx:mt-0.5",
3318
+ "vx:rotate-180"
3319
+ );
3320
+ const d = document.getElementById("vx-terms-content");
3321
+ d && (d.style.display = "block"), this.termsVisible = !0;
3322
+ }, this.closeTerms = () => {
3323
+ this.setClasses(
3324
+ document.getElementById("vx-terms-arrow"),
3325
+ "transition vx:mt-0.5",
3326
+ ""
3327
+ );
3328
+ const d = document.getElementById("vx-terms-content");
3329
+ d && (d.style.display = "none"), this.termsVisible = !1;
3330
+ }, this.auto = (d) => {
3331
+ setTimeout(() => this.open(), d != null ? d : 1500);
3332
+ }, this.html = () => `<div id='vx-pop-up' class='vx:float-right vx:fixed vx:bottom-0 vx:right-0' style='visibility: hidden'>
3333
+ <script src='https://kit.fontawesome.com/06f511676f.js' crossorigin='anonymous'><\/script>
3334
+ <div
3335
+ id='vx-panel'
3336
+ class='vx:relative vx:bottom-8 vx:right-8 vx:flex vx:flex-col vx:items-end vx:gap-2 vx:duration-300 vx:max-w-panel'
3337
+ >
3338
+ <div
3339
+ id='vx-toggle'
3340
+ style='transition: visibility 0s, all 0.2s ease-in-out;'
3341
+ >
3342
+ <div class='vx:rounded-lg vx:bg-white vx:p-8 vx:shadow'>
3343
+ <div class='vx:mb-1 vx:flex vx:gap-2'>
3344
+ <h2
3345
+ class='vx:text-base vx:font-bold'
3346
+ id='vx-pop-up__title'
3347
+ >
3348
+ Keep in Touch
3349
+ </h2>
3350
+ <svg
3351
+ xmlns='http://www.w3.org/2000/svg'
3352
+ width='16'
3353
+ height='24'
3354
+ viewBox='0 0 512 512'
3355
+ class='vx:self-start'
3356
+ >
3357
+ <!--! Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
3358
+ <path d='M64 0C28.7 0 0 28.7 0 64V352c0 35.3 28.7 64 64 64h96v80c0 6.1 3.4 11.6 8.8 14.3s11.9 2.1 16.8-1.5L309.3 416H448c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H64z'/>
3359
+ </svg>
3360
+ </div>
3361
+ <p
3362
+ id='vx-pop-up__msg'
3363
+ class='vx:text-slate-600 vx:text-xs'
3364
+ >
3365
+ Would you like to receive special offers via text?
3366
+ </p>
3367
+ <form id='vx-form' class='vx:mt-5'>
3368
+ <label
3369
+ id='vx-first-name'
3370
+ class='vx:block vx:my-2'
3371
+ for='vx-first-name'
3372
+ >
3373
+ <span class='vx:block vx:text-xs vx:font-medium vx:text-slate-700'>First Name *</span>
3374
+ <input
3375
+ type='text'
3376
+ id='vx-first-name__input'
3377
+ name='vx-first-name'
3378
+ 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 vx:focus:outline-hidden vx:focus:border-sky-500 vx:focus:ring-1 vx:focus:ring-sky-500 vx:disabled:bg-slate-50 vx:disabled:text-slate-500 vx:disabled:border-slate-200 vx:disabled:shadow-none vx:invalid:border-pink-500 vx:invalid:text-pink-600 vx:focus:invalid:border-pink-500 vx:focus:invalid:ring-pink-500'
3379
+ />
3380
+ </label>
3381
+ <label id='vx-phone-number' for='vx-phone-number'
3382
+ class='vx:block vx:my-2'>
3383
+ <span class='vx:block vx:text-xs vx:font-medium vx:text-slate-700'
3384
+ )}'>Phone Number *</span>
3385
+ <p class='vx:text-xs vx:font-normal vx:text-pink-600')}'></p>
3386
+ <input
3387
+ type='tel'
3388
+ id='vx-phone-number__input'
3389
+ name='vx-phone-number'
3390
+ 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 vx:focus:outline-hidden vx:focus:border-sky-500 vx:focus:ring-1 vx:focus:ring-sky-500 vx:disabled:bg-slate-50 vx:disabled:text-slate-500 vx:disabled:border-slate-200 vx:disabled:shadow-none vx:invalid:border-pink-500 vx:invalid:text-pink-600 vx:focus:invalid:border-pink-500 vx:focus:invalid:ring-pink-500'
3391
+ />
3392
+ </label>
3393
+ <button
3394
+ id='vx-submit'
3395
+ type='submit'
3396
+ class='vx:transition vx:rounded-lg vx:bg-neutral-800 vx:w-full vx:pb-2 vx:pt-1 vx:mt-2 vx:hover:bg-neutral-600 vx:active:scale-95 vx:active:opacity-80 vx:disabled:scale-100 vx:disabled:cursor-not-allowed vx:disabled:opacity-60 vx:disabled:hover:bg-neutral-800 vx:focus:outline-hidden vx:focus:border-sky-500 vx:focus:ring-1 vx:focus:ring-sky-500'
3397
+ >
3398
+ <span class='vx:text-xs vx:font-semibold vx:text-white'>Sign Up</span>
3399
+ </button>
3400
+ </form>
3401
+
3402
+ <div class='vx:text-xs vx:leading-snug vx:text-neutral-500'>
3403
+ <div
3404
+ class='vx:-mx-2 vx:mt-3 vx:-mb-2 vx:flex vx:cursor-pointer vx:items-start vx:gap-2 vx:rounded-sm vx:px-2 vx:py-1 vx:transition vx:hover:bg-neutral-100'
3405
+ id='vx-terms'
3406
+ >
3407
+ <div>By submitting you agree to the following terms:</div>
3408
+ <svg
3409
+ id='vx-terms-arrow'
3410
+ xmlns='http://www.w3.org/2000/svg'
3411
+ width='12'
3412
+ height='9'
3413
+ viewBox='0 0 384 512'
3414
+ class='transition vx:mt-0.5'
3415
+ >
3416
+ <!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. -->
3417
+ <path d='M201 337c-9.4 9.4-24.6 9.4-33.9 0L7 177c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l143 143L327 143c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9L201 337z'/>
3418
+ </svg>
3419
+ </div>
3420
+ <p
3421
+ id='vx-terms-content'
3422
+ class='vx:mt-3 vx:mb-0 vx:text-xs'
3423
+ style='display: none'
3424
+ >
3425
+ You authorize ${this.name} to send text messages with offers & other
3426
+ information, possibly using automated technology, to the number you
3427
+ provided. Message/data rates apply. Consent is not a condition of
3428
+ purchase. Use is subject to&nbsp;<a
3429
+ class='vx:underline vx:hover:text-blue-500'
3430
+ href='${this.terms}'
3431
+ target='_blank'
3432
+ >terms</a>.
3433
+ </p>
3434
+ </div>
3435
+
3436
+ </div>
3437
+ <div class='vx:py-2 vx:font-sans vx:text-xs vx:text-neutral-600 vx:text-center'>
3438
+ Powered by <span class='vx:font-bold'>Voxie</span>
3439
+ </div>
3440
+ </div>
3441
+
3442
+ <button id='vx-btn'>
3443
+ <svg
3444
+ id='vx-icon'
3445
+ width='24'
3446
+ height='28'
3447
+ viewBox='0 0 24 28'
3448
+ xmlns='http://www.w3.org/2000/svg'
3449
+ >
3450
+ <path
3451
+ 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'
3452
+ />
3453
+ </svg>
3454
+ <svg
3455
+ id='vx-xmark'
3456
+ xmlns='http://www.w3.org/2000/svg'
3457
+ viewBox='0 0 320 512'
3458
+ fill='#FFFFFF'
3459
+ >
3460
+ <path
3461
+ 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'
3462
+ />
3463
+ </svg>
3464
+ <i id='vx-i'></i>
3465
+ </button>
3466
+ </div>`, this.captureFn = t, r)
3467
+ this.name = r;
3468
+ else
3469
+ throw new Error("name required for pop-up");
3470
+ if (n)
3471
+ this.terms = n;
3472
+ else
3473
+ throw new Error("terms required for pop-up");
3474
+ this.elements = {
3475
+ container: null,
3476
+ toggle: null,
3477
+ terms: null,
3478
+ btn: null,
3479
+ icon: null,
3480
+ xmark: null,
3481
+ form: null,
3482
+ submit: null
3483
+ };
3484
+ const i = document.createElement("div");
3485
+ this.elements.container = i, i.innerHTML = this.html(), document.body.appendChild(i), this.addStyles(), this.assignElements(), this.setBindings(), this.close(), (a = document.getElementById("vx-pop-up")) == null || a.setAttribute("style", "");
3486
+ }
3487
+ }
3488
+ class be {
3489
+ constructor(t, r) {
3490
+ this.authorization = t, this.connectBaseUri = r;
3491
+ }
3492
+ static init(t) {
3493
+ var r;
3494
+ return new be(
3495
+ `Basic ${btoa(`${t.publicKeyId}:${t.publicSecret}`)}`,
3496
+ (r = t.connectBaseUri) != null ? r : zi.services.connect
3497
+ );
3498
+ }
3499
+ async capture(t, r) {
3500
+ try {
3501
+ const n = Wi(t, "US");
3502
+ return n.isPossible() ? (await Ki(`${this.connectBaseUri}/capture/contact`, {
3503
+ headers: {
3504
+ Authorization: this.authorization,
3505
+ "Content-Type": "application/json"
3506
+ },
3507
+ method: "POST",
3508
+ body: JSON.stringify({
3509
+ phone: n.format("E.164"),
3510
+ email: (r == null ? void 0 : r.email) || null,
3511
+ first_name: (r == null ? void 0 : r.firstName) || null,
3512
+ last_name: (r == null ? void 0 : r.lastName) || null,
3513
+ time_zone: (r == null ? void 0 : r.timeZone) || null,
3514
+ tags: (r == null ? void 0 : r.tags) || null,
3515
+ custom_attributes: (r == null ? void 0 : r.customAttributes) || null,
3516
+ subscription_statuses: (r == null ? void 0 : r.subscriptionStatuses) || null,
3517
+ group_id: (r == null ? void 0 : r.groupId) || null
3518
+ })
3519
+ }), !0) : !1;
3520
+ } catch (n) {
3521
+ return n instanceof x ? console.error(`${t} must be in E.164 format.`) : console.error(n), !1;
3522
+ }
3523
+ }
3524
+ popUp(t) {
3525
+ return new Yi(
3526
+ async (r, n) => this.capture(r, n),
3527
+ t.name,
3528
+ t.terms
3529
+ );
3530
+ }
3531
+ share(t, r, n) {
3532
+ const i = (a, d) => {
3533
+ const o = {};
3534
+ if (a.firstName) {
3535
+ const l = t.elements.namedItem(a.firstName);
3536
+ o.firstName = l.value;
3537
+ }
3538
+ if (a.lastName) {
3539
+ const l = t.elements.namedItem(a.lastName);
3540
+ o.lastName = l.value;
3541
+ }
3542
+ if (a.email) {
3543
+ const l = t.elements.namedItem(a.email);
3544
+ o.email = l.value;
3545
+ }
3546
+ return d && (d.tags && (o.tags = d.tags), d.customAttributes && (o.customAttributes = d.customAttributes), d.subscriptionStatuses && (o.subscriptionStatuses = d.subscriptionStatuses), d.groupId && (o.groupId = d.groupId)), o;
3547
+ };
3548
+ t.addEventListener(
3549
+ "submit",
3550
+ async (a) => {
3551
+ const d = t.elements.namedItem(r.phone);
3552
+ await this.capture(d.value, i(r, n));
3553
+ }
3554
+ );
3555
+ }
3556
+ }
3557
+ export {
3558
+ be as default
3559
+ };