@aranova/tracking-browser 0.27.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
- "use strict";var AranovaTracking=(()=>{var Rn=Object.defineProperty;var Lo=Object.getOwnPropertyDescriptor;var Vo=Object.getOwnPropertyNames;var jo=Object.prototype.hasOwnProperty;var $i=(t,e)=>{for(var n in e)Rn(t,n,{get:e[n],enumerable:!0})},Go=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Vo(e))!jo.call(t,i)&&i!==n&&Rn(t,i,{get:()=>e[i],enumerable:!(r=Lo(e,i))||r.enumerable});return t};var Uo=t=>Go(Rn({},"__esModule",{value:!0}),t);var dl={};$i(dl,{default:()=>sl,init:()=>Mo});var yi="0.27.0";var vi={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,[["(?:(?:241|349)0\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|[34]\\d\\d)|91(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79]))))\\d{3}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],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","[024-7]\\d{7}",[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|8)\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]]],BL:["590","00","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["(?:59(?:0(?:2[7-9]|3[3-7]|5[12]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],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)?","(?:[2-7]\\d\\d|8001)\\d{5}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[23]|4[46]|50"]],["(\\d{8})","$1",["[5-7]"]],["(\\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]|3[23]|44|66|77|88)|6(?:22|33))[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0"],CF:["236","00","8776\\d{4}|(?:[27]\\d|61)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-8]"]]]],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-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],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,0,[["528[89]\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],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-57-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-57-9]"],"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-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],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","(?:694\\d|7093)\\d{5}|(?:59|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|80[6-9]|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{8}|800\\d{5,6}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2358]"],"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","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|80[6-9]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:59(?:0(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],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]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67)[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(?:(?: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)|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(?:3171|5[15][2-6]|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|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]|3[129]|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(?:[23569]|8[0-57-9])|8[1-6])|7(?:1(?:[013-8]|9[6-9])|3(?:17|2[0-49]|9[2-57])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\\d|7(?:[23569]\\d|8[0-57-9])|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|3(?:2[0-49]|9[2-57])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["16|[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["18[06]","18[06]0"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],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,11}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[03]"]]],0,0,0,0,0,0,[["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0|180020","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[47]"],"0$1"]],"0"],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","8\\d{13}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"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",["20"]],["(\\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]"]],["(\\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",["20"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|78|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2679]|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{4})(\\d{5})","$1-$2",["892"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8(?:0[0-7]|9)"],"0$1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[5-8]"],"0$1"]],"0",0,0,0,0,"[5-8]"],MC:["377","00","(?:[3489]|[67]\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[67]"],"0$1"]],"0"],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","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["(?:59(?:0(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],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",["11|2[16]"],"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","7091\\d{5}|(?:[56]9|[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",["30|(?: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","30|(?: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","[78]\\d{8}|[2-9]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[2-9]"],"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","[36-8]\\d{5,8}|4\\d{6,8}|59\\d{6}|9\\d{5,10}|(?:2\\d|5[0-8])\\d{6,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["3[289]|4[246-8]|61|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],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,[["2631[0-6]\\d{4}|26(?:2\\d|30|88)\\d{5}"],["(?: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,"[3489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0"],SA:["966","00","(?:[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-9]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-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","[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[25-7]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],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|[3689]\\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|66)\\d{7}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3(?:[1245]|3[12])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["\\d"]]],0,0,0,0,0,0,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-79]"],"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{3})(\\d{5})","$1 $2",["826"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["83"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["82"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[25]0|37|49|8[09]"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-478])|7[1-9]","[23568]|4(?:0[2-48]|[1-478])|(?: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,[["(?:274[27]|(?:472|983)[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-2478]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}",[4,5,6,7,8,9,10,11,12,13],[["(\\d{4,5})","$1",["21"]],["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,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(?:2[02]|[89])"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[26]|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","(?:639\\d|7093)\\d{5}|(?:26|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["26(?:89\\d|9(?: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|5[12]"]],["(\\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})|5(?:0\\d{3}|2[0-2]))\\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}"]]]}};function On(t,e){var n=Array.prototype.slice.call(e);return n.push(vi),t.apply(this,n)}function Mn(t,e){t=t.split("-"),e=e.split("-");for(var n=t[0].split("."),r=e[0].split("."),i=0;i<3;i++){var a=Number(n[i]),o=Number(r[i]);if(a>o)return 1;if(o>a)return-1;if(!isNaN(a)&&isNaN(o))return 1;if(isNaN(a)&&!isNaN(o))return-1}return t[1]&&e[1]?t[1]>e[1]?1:t[1]<e[1]?-1:0:!t[1]&&e[1]?1:t[1]&&!e[1]?-1:0}var Ko={}.constructor;function q(t){return t!=null&&t.constructor===Ko}var Ho=/^\d+$/;function Fn(t){return Ho.test(t)}function Oe(t){"@babel/helpers - typeof";return Oe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Oe(t)}function Dt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,zo(r.key),r)}}function Lt(t,e,n){return e&&_i(t.prototype,e),n&&_i(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function zo(t){var e=Zo(t,"string");return Oe(e)=="symbol"?e:e+""}function Zo(t,e){if(Oe(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(Oe(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var qo="1.2.0",Wo="1.7.35",bi=" ext. ",T=(function(){function t(e){Dt(this,t),Dn(e),this.metadata=e,wi.call(this,e)}return Lt(t,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(n){return n!=="001"})}},{key:"getCountryMetadata",value:function(n){return this.metadata.countries[n]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(n){return this.getCountryMetadata(n)!==void 0}},{key:"hasCallingCode",value:function(n){if(this.getCountryCodesForCallingCode(n))return!0;if(this.nonGeographic()){if(this.nonGeographic()[n])return!0}else{var r=this.countryCallingCodes()[n];if(r&&r.length===1&&r[0]==="001")return!0}}},{key:"isNonGeographicCallingCode",value:function(n){return this.nonGeographic()?!!this.nonGeographic()[n]:!this.getCountryCodesForCallingCode(n)}},{key:"country",value:function(n){return this.selectNumberingPlan(n)}},{key:"selectNumberingPlan",value:function(n,r){var i,a;if(n&&(Fn(n)?a=n:i=n),r&&(a=r),i&&i!=="001"){var o=this.getCountryMetadata(i);if(!o)throw new Error("Unknown country: ".concat(i));this.numberingPlan=new Ci(o,this)}else if(a){if(!this.hasCallingCode(a))throw new Error("Unknown calling code: ".concat(a));this.numberingPlan=new Ci(this.getNumberingPlanMetadata(a),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(n){var r=this.countryCallingCodes()[n];if(r)return r.length===1&&r[0].length===3?void 0:r}},{key:"getCountryCodeForCallingCode",value:function(n){var r=this.getCountryCodesForCallingCode(n);if(r)return r[0]}},{key:"getNumberingPlanMetadata",value:function(n){var r=this.getCountryCodeForCallingCode(n);if(r)return this.getCountryMetadata(r);if(this.nonGeographic()){var i=this.nonGeographic()[n];if(i)return i}else{var a=this.countryCallingCodes()[n];if(a&&a.length===1&&a[0]==="001")return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(n){return this.numberingPlan.type(n)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(n){return this.selectNumberingPlan(n)}},{key:"hasSelectedNumberingPlan",value:function(){return this.numberingPlan!==void 0}}])})();var Ci=(function(){function t(e,n){Dt(this,t),this.globalMetadataObject=n,this.metadata=e,wi.call(this,n.metadata)}return Lt(t,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"_getDefaultCountryMetadataForThisCallingCode",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this._getDefaultCountryMetadataForThisCallingCode()}},{key:"IDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(n){return n[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var n=this,r=this._getFormats(this.metadata)||this._getFormats(this._getDefaultCountryMetadataForThisCallingCode())||[];return r.map(function(i){return new Yo(i,n)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(n){return n[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this._getDefaultCountryMetadataForThisCallingCode())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this._getDefaultCountryMetadataForThisCallingCode())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return this.types()&&this.types().length===0?!1:!!this.types()}},{key:"type",value:function(n){if(this.hasTypes()&&Si(this.types(),n))return new Qo(Si(this.types(),n),this)}},{key:"ext",value:function(){return this.v1||this.v2?bi:this.metadata[13]||bi}}])})(),Yo=(function(){function t(e,n){Dt(this,t),this._format=e,this.metadata=n}return Lt(t,[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!!(this.nationalPrefixFormattingRule()&&!Xo.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}])})(),Xo=/^\(?\$1\)?$/,Qo=(function(){function t(e,n){Dt(this,t),this.type=e,this.metadata=n}return Lt(t,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}])})();function Si(t,e){switch(e){case"FIXED_LINE":return t[0];case"MOBILE":return t[1];case"TOLL_FREE":return t[2];case"PREMIUM_RATE":return t[3];case"PERSONAL_NUMBER":return t[4];case"VOICEMAIL":return t[5];case"UAN":return t[6];case"PAGER":return t[7];case"VOIP":return t[8];case"SHARED_COST":return t[9]}}function Dn(t){if(!t)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!q(t)||!q(t.countries))throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(q(t)?"an object of shape: { "+Object.keys(t).join(", ")+" }":"a "+Jo(t)+": "+t,"."))}var Jo=function(e){return Oe(e)};function ut(t,e){var n=new T(e);if(n.hasCountry(t))return n.selectNumberingPlan(t).countryCallingCode();throw new Error("Unknown country: ".concat(t))}function xi(t,e){return e.countries.hasOwnProperty(t)}function wi(t){var e=t.version;typeof e=="number"?(this.v1=e===1,this.v2=e===2,this.v3=e===3,this.v4=e===4):e?Mn(e,qo)===-1?this.v2=!0:Mn(e,Wo)===-1?this.v3=!0:this.v4=!0:this.v1=!0}function es(t,e){var n=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=ts(t))||e&&t&&typeof t.length=="number"){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ts(t,e){if(t){if(typeof t=="string")return Ti(t,e);var n={}.toString.call(t).slice(8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Array.from(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ti(t,e):void 0}}function Ti(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function Ln(t,e){for(var n=t.slice(),r=es(e),i;!(i=r()).done;){var a=i.value;t.indexOf(a)<0&&n.push(a)}return n.sort(function(o,s){return o-s})}function pe(t,e,n){return ki(t,void 0,e,n)}function ki(t,e,n,r){n&&(r=new T(r.metadata),r.selectNumberingPlan(n));var i=r.type(e),a=i&&i.possibleLengths()||r.possibleLengths();if(!a)return"IS_POSSIBLE";if(e==="FIXED_LINE_OR_MOBILE"){if(!r.type("FIXED_LINE"))return ki(t,"MOBILE",n,r);var o=r.type("MOBILE");o&&(a=Ln(a,o.possibleLengths()))}else if(e&&!i)return"INVALID_LENGTH";var s=t.length,d=a[0];return d===s?"IS_POSSIBLE":d>s?"TOO_SHORT":a[a.length-1]<s?"TOO_LONG":a.indexOf(s,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function Vn(t,e,n){e===void 0&&(e={});var r=new T(n);if(e.v2){if(!t.countryCallingCode)throw new Error("Invalid phone number object passed");r.selectNumberingPlan(t.country||t.countryCallingCode)}else{if(!t.phone)return!1;if(t.country){if(!r.hasCountry(t.country))throw new Error("Unknown country: ".concat(t.country));r.selectNumberingPlan(t.country)}else{if(!t.countryCallingCode)throw new Error("Invalid phone number object passed");r.selectNumberingPlan(t.countryCallingCode)}}if(r.possibleLengths())return jn(t.phone||t.nationalNumber,r);if(t.countryCallingCode&&r.isNonGeographicCallingCode(t.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}function jn(t,e){return pe(t,void 0,e)==="IS_POSSIBLE"}function A(t,e){return t=t||"",new RegExp("^(?:"+e+")$").test(t)}function ns(t,e){var n=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=rs(t))||e&&t&&typeof t.length=="number"){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
3
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rs(t,e){if(t){if(typeof t=="string")return Ei(t,e);var n={}.toString.call(t).slice(8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Array.from(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ei(t,e):void 0}}function Ei(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var is=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function me(t,e,n){if(e=e||{},!(!t.country&&!t.countryCallingCode)){var r=new T(n);r.selectNumberingPlan(t.country||t.countryCallingCode);var i=e.v2?t.nationalNumber:t.phone;if(A(i,r.nationalNumberPattern())){if(Gn(i,"FIXED_LINE",r))return r.type("MOBILE")&&r.type("MOBILE").pattern()===""||!r.type("MOBILE")||Gn(i,"MOBILE",r)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE";for(var a=ns(is),o;!(o=a()).done;){var s=o.value;if(Gn(i,s,r))return s}}}}function Gn(t,e,n){var r=n.type(e);return!r||!r.pattern()||r.possibleLengths()&&r.possibleLengths().indexOf(t.length)<0?!1:A(t,r.pattern())}function Un(t,e,n){e=e||{};var r=new T(n);if(r.selectNumberingPlan(t.country||t.countryCallingCode),r.hasTypes())return me(t,e,r.metadata)!==void 0;var i=e.v2?t.nationalNumber:t.phone;return A(i,r.nationalNumberPattern())}var as=/^[A-Z]{2}$/;function Bn(t){return as.test(t)}var os=!1;function Kn(t,e){var n,r,i=new T(e);return Bn(t)?(n=t,i.selectNumberingPlan(n),r=i.countryCallingCode()):(r=t,os&&i.isNonGeographicCallingCode(r)&&(n="001")),{country:n,callingCode:r}}function Hn(t,e,n){var r=new T(n),i=r.getCountryCodesForCallingCode(t);return i?i.filter(function(a){return ss(e,a,n)}):[]}function ss(t,e,n){var r=new T(n);return r.selectNumberingPlan(e),r.numberingPlan.possibleLengths().indexOf(t.length)>=0}var ct=2,Pi=17,Ni=3,R="0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9",ds="-\u2010-\u2015\u2212\u30FC\uFF0D",us="\uFF0F/",cs="\uFF0E.",ls=" \xA0\xAD\u200B\u2060\u3000",fs="()\uFF08\uFF09\uFF3B\uFF3D\\[\\]",ps="~\u2053\u223C\uFF5E",Me="".concat(ds).concat(us).concat(cs).concat(ls).concat(fs).concat(ps),lt="+\uFF0B";var ms=new RegExp("(["+R+"])");function zn(t,e,n,r){if(e){var i=new T(r);i.selectNumberingPlan(e||n);var a=new RegExp(i.IDDPrefix());if(t.search(a)===0){t=t.slice(t.match(a)[0].length);var o=t.match(ms);if(!(o&&o[1]!=null&&o[1].length>0&&o[1]==="0"))return t}}}function Zn(t,e){if(t&&e.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+e.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(t);if(r){var i,a,o=r.length-1,s=o>0&&r[o];if(e.nationalPrefixTransformRule()&&s)i=t.replace(n,e.nationalPrefixTransformRule()),o>1&&(a=r[1]);else{var d=r[0];i=t.slice(d.length),s&&(a=r[1])}var u;if(s){var l=t.indexOf(r[1]),p=t.slice(0,l);p===e.numberingPlan.nationalPrefix()&&(u=e.numberingPlan.nationalPrefix())}else u=r[0];return{nationalNumber:i,nationalPrefix:u,carrierCode:a}}}return{nationalNumber:t}}function gs(t,e){var n=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=hs(t))||e&&t&&typeof t.length=="number"){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
4
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function hs(t,e){if(t){if(typeof t=="string")return Ii(t,e);var n={}.toString.call(t).slice(8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Array.from(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ii(t,e):void 0}}function Ii(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function qn(t,e,n){for(var r=new T(n),i=gs(e),a;!(a=i()).done;){var o=a.value;if(r.selectNumberingPlan(o),r.leadingDigits()){if(t&&t.search(r.leadingDigits())===0)return o}else if(me({phone:t,country:o},void 0,r.metadata))return o}}var $s=!1;function ft(t,e){var n=e.nationalNumber,r=e.metadata;if($s&&r.isNonGeographicCallingCode(t))return"001";var i=r.getCountryCodesForCallingCode(t);if(i)return i.length===1?i[0]:qn(n,i,r.metadata)}function Fe(t,e,n){var r=Zn(t,n),i=r.carrierCode,a=r.nationalNumber;if(a!==t){if(!ys(t,a,n))return{nationalNumber:t};if(n.numberingPlan.possibleLengths()&&(e||(e=ft(n.numberingPlan.callingCode(),{nationalNumber:a,metadata:n})),!vs(a,e,n)))return{nationalNumber:t}}return{nationalNumber:a,carrierCode:i}}function ys(t,e,n){return!(A(t,n.nationalNumberPattern())&&!A(e,n.nationalNumberPattern()))}function vs(t,e,n){switch(pe(t,e,n)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}function Wn(t,e,n,r,i){if(!(e||n||r))return{number:t};var a=e||n?ut(e||n,i):r;if(t.indexOf(a)===0){var o=new T(i);o.selectNumberingPlan(e||n||r);var s=t.slice(a.length),d=Fe(s,void 0,o),u=d.nationalNumber,l=Fe(t,void 0,o),p=l.nationalNumber;if(!A(p,o.nationalNumberPattern())&&A(u,o.nationalNumberPattern())||pe(p,void 0,o)==="TOO_LONG")return{countryCallingCode:a,number:s}}return{number:t}}function pt(t,e,n,r,i){if(!t)return{};var a;if(t[0]!=="+"){var o=zn(t,e||n,r,i);if(o&&o!==t)a=!0,t="+"+o;else{if(e||n||r){var s=Wn(t,e,n,r,i),d=s.countryCallingCode,u=s.number;if(d)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:d,number:u}}return{number:t}}}if(t[1]==="0")return{};for(var l=new T(i),p=2;p-1<=Ni&&p<=t.length;){var h=t.slice(1,p);if(l.hasCallingCode(h))return l.selectNumberingPlan(h),{countryCallingCodeSource:a?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:h,number:t.slice(p)};p++}return{}}function Yn(t){return t.replace(new RegExp("[".concat(Me,"]+"),"g")," ").trim()}var _s=/(\$\d)/;function Xn(t,e,n){var r=n.useInternationalFormat,i=n.withNationalPrefix,a=n.carrierCode,o=n.metadata,s=t.replace(new RegExp(e.pattern()),r?e.internationalFormat():i&&e.nationalPrefixFormattingRule()?e.format().replace(_s,e.nationalPrefixFormattingRule()):e.format());return r?Yn(s):s}var bs=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function Qn(t,e,n){var r=new T(n);if(r.selectNumberingPlan(t||e),r.defaultIDDPrefix())return r.defaultIDDPrefix();if(bs.test(r.IDDPrefix()))return r.IDDPrefix()}var Cs=";ext=",De=function(e){return"([".concat(R,"]{1,").concat(e,"})")};function mt(t){var e="20",n="15",r="9",i="6",a="[ \xA0\\t,]*",o="[:\\.\uFF0E]?[ \xA0\\t,-]*",s="#?",d="(?:e?xt(?:ensi(?:o\u0301?|\xF3))?n?|\uFF45?\uFF58\uFF54\uFF4E?|\u0434\u043E\u0431|anexo)",u="(?:[x\uFF58#\uFF03~\uFF5E]|int|\uFF49\uFF4E\uFF54)",l="[- ]+",p="[ \xA0\\t]*",h="(?:,{2}|;)",y=Cs+De(e),_=a+d+o+De(e)+s,k=a+u+o+De(r)+s,P=l+De(i)+"#",Ae=p+h+o+De(n)+s,Z=p+"(?:,)+"+o+De(r)+s;return y+"|"+_+"|"+k+"|"+P+"|"+Ae+"|"+Z}var Ss="["+R+"]{"+ct+"}",xs="["+lt+"]{0,1}(?:["+Me+"]*["+R+"]){3,}["+Me+R+"]*",ws=new RegExp("^["+lt+"]{0,1}(?:["+Me+"]*["+R+"]){1,2}$","i"),Ts=xs+"(?:"+mt()+")?",ks=new RegExp("^"+Ss+"$|^"+Ts+"$","i");function Jn(t){return t.length>=ct&&ks.test(t)}function Ai(t){return ws.test(t)}function Ri(t){var e=t.number,n=t.ext;if(!e)return"";if(e[0]!=="+")throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(e).concat(n?";ext="+n:"")}var Oi={formatExtension:function(e,n,r){return"".concat(e).concat(r.ext()).concat(n)}};function tr(t,e,n,r){n?n=Ns({},Oi,n):n=Oi;var i=new T(r);if(t.country&&t.country!=="001"){if(!i.hasCountry(t.country))throw new Error("Unknown country: ".concat(t.country));i.selectNumberingPlan(t.country)}else if(t.countryCallingCode)i.selectNumberingPlan(t.countryCallingCode);else return t.phone||"";var a=i.countryCallingCode(),o=n.v2?t.nationalNumber:t.phone,s;switch(e){case"NATIONAL":return o?(s=Vt(o,t.carrierCode,"NATIONAL",i,n),er(s,t.ext,i,n.formatExtension)):"";case"INTERNATIONAL":return o?(s=Vt(o,null,"INTERNATIONAL",i,n),s="+".concat(a," ").concat(s),er(s,t.ext,i,n.formatExtension)):"+".concat(a);case"E.164":return"+".concat(a).concat(o);case"RFC3966":return Ri({number:"+".concat(a).concat(o),ext:t.ext});case"IDD":if(!n.fromCountry)return;var d=Ps(o,t.carrierCode,a,n.fromCountry,i);return d?er(d,t.ext,i,n.formatExtension):void 0;default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(e,'"'))}}function Vt(t,e,n,r,i){var a=Es(r.formats(),t);return a?Xn(t,a,{useInternationalFormat:n==="INTERNATIONAL",withNationalPrefix:!(a.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&i&&i.nationalPrefix===!1),carrierCode:e,metadata:r}):t}function Es(t,e){return Is(t,function(n){if(n.leadingDigitsPatterns().length>0){var r=n.leadingDigitsPatterns()[n.leadingDigitsPatterns().length-1];if(e.search(r)!==0)return!1}return A(e,n.pattern())})}function er(t,e,n,r){return e?r(t,e,n):t}function Ps(t,e,n,r,i){var a=ut(r,i.metadata);if(a===n){var o=Vt(t,e,"NATIONAL",i);return n==="1"?n+" "+o:o}var s=Qn(r,void 0,i.metadata);if(s)return"".concat(s," ").concat(n," ").concat(Vt(t,null,"INTERNATIONAL",i))}function Ns(){for(var t=1,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];for(;t<n.length;){if(n[t])for(var i in n[t])n[0][i]=n[t][i];t++}return n[0]}function Is(t,e){for(var n=0;n<t.length;){if(e(t[n]))return t[n];n++}}function gt(t){"@babel/helpers - typeof";return gt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gt(t)}function Mi(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function Fi(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Mi(Object(n),!0).forEach(function(r){As(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Mi(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function As(t,e,n){return(e=Li(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Rs(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Di(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Li(r.key),r)}}function Os(t,e,n){return e&&Di(t.prototype,e),n&&Di(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function Li(t){var e=Ms(t,"string");return gt(e)=="symbol"?e:e+""}function Ms(t,e){if(gt(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(gt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Vi=(function(){function t(e,n,r){if(Rs(this,t),!e)throw new TypeError("First argument is required");if(typeof e!="string")throw new TypeError("First argument must be a string");if(e[0]==="+"&&!n)throw new TypeError("`metadata` argument not passed");if(q(n)&&q(n.countries)){r=n;var i=e;if(!Fs.test(i))throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');var a=pt(i,void 0,void 0,void 0,r),o=a.countryCallingCode,s=a.number;if(n=s,e=o,!n)throw new Error("Invalid `number` argument passed: too short")}if(!n)throw new TypeError("`nationalNumber` argument is required");if(typeof n!="string")throw new TypeError("`nationalNumber` argument must be a string");Dn(r);var d=Kn(e,r),u=d.country,l=d.callingCode;this.country=u,this.countryCallingCode=l,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r}}return Os(t,[{key:"setExt",value:function(n){this.ext=n}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:Hn(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return Vn(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return Un(this,{v2:!0},this.getMetadata())}},{key:"isNonGeographic",value:function(){var n=new T(this.getMetadata());return n.isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(n){return this.number===n.number&&this.ext===n.ext}},{key:"getType",value:function(){return me(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(n,r){return tr(this,n,r?Fi(Fi({},r),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:"formatNational",value:function(n){return this.format("NATIONAL",n)}},{key:"formatInternational",value:function(n){return this.format("INTERNATIONAL",n)}},{key:"getURI",value:function(n){return this.format("RFC3966",n)}}])})();var Fs=/^\+\d+$/;function Le(t){"@babel/helpers - typeof";return Le=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Le(t)}function ji(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Ls(r.key),r)}}function Ds(t,e,n){return e&&ji(t.prototype,e),n&&ji(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function Ls(t){var e=Vs(t,"string");return Le(e)=="symbol"?e:e+""}function Vs(t,e){if(Le(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(Le(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function js(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gs(t,e,n){return e=$t(e),Us(t,rr()?Reflect.construct(e,n||[],$t(t).constructor):e.apply(t,n))}function Us(t,e){if(e&&(Le(e)=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Bs(t)}function Bs(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ks(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ht(t,e)}function nr(t){var e=typeof Map=="function"?new Map:void 0;return nr=function(r){if(r===null||!zs(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(e!==void 0){if(e.has(r))return e.get(r);e.set(r,i)}function i(){return Hs(r,arguments,$t(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),ht(i,r)},nr(t)}function Hs(t,e,n){if(rr())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,e);var i=new(t.bind.apply(t,r));return n&&ht(i,n.prototype),i}function rr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(rr=function(){return!!t})()}function zs(t){try{return Function.toString.call(t).indexOf("[native code]")!==-1}catch{return typeof t=="function"}}function ht(t,e){return ht=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},ht(t,e)}function $t(t){return $t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},$t(t)}var G=(function(t){function e(n){var r;return js(this,e),r=Gs(this,e,[n]),Object.setPrototypeOf(r,e.prototype),r.name=r.constructor.name,r}return Ks(e,t),Ds(e)})(nr(Error));var Gi=new RegExp("(?:"+mt()+")$","i");function ir(t){var e=t.search(Gi);if(e<0)return{};for(var n=t.slice(0,e),r=t.match(Gi),i=1;i<r.length;){if(r[i])return{number:n,ext:r[i]};i++}}var Zs={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","\uFF10":"0","\uFF11":"1","\uFF12":"2","\uFF13":"3","\uFF14":"4","\uFF15":"5","\uFF16":"6","\uFF17":"7","\uFF18":"8","\uFF19":"9","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u06F0":"0","\u06F1":"1","\u06F2":"2","\u06F3":"3","\u06F4":"4","\u06F5":"5","\u06F6":"6","\u06F7":"7","\u06F8":"8","\u06F9":"9"};function Ui(t){return Zs[t]}function qs(t,e){var n=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=Ws(t))||e&&t&&typeof t.length=="number"){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
5
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ws(t,e){if(t){if(typeof t=="string")return Bi(t,e);var n={}.toString.call(t).slice(8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Array.from(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Bi(t,e):void 0}}function Bi(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function jt(t){for(var e="",n=qs(t.split("")),r;!(r=n()).done;){var i=r.value;e+=Ys(i,e)||""}return e}function Ys(t,e,n){if(t==="+"){if(e){typeof n=="function"&&n("end");return}return"+"}return Ui(t)}var or="+",Xs="[\\-\\.\\(\\)]?",Ki="(["+R+"]|"+Xs+")",Qs="^\\"+or+Ki+"*["+R+"]"+Ki+"*$",Js=new RegExp(Qs,"g"),ar=R,ed="["+ar+"]+((\\-)*["+ar+"])*",td="a-zA-Z",nd="["+td+"]+((\\-)*["+ar+"])*",rd="^("+ed+"\\.)*"+nd+"\\.?$",id=new RegExp(rd,"g"),sr="tel:",Gt=";phone-context=",Hi=";isub=";function dr(t){var e=t.indexOf(Gt);if(e<0)return null;var n=e+Gt.length;if(n>=t.length)return"";var r=t.indexOf(";",n);return r>=0?t.substring(n,r):t.substring(n)}function zi(t){return t===null?!0:t.length===0?!1:Js.test(t)||id.test(t)}function ur(t,e){var n=e.extractFormattedPhoneNumber,r=dr(t);if(!zi(r))throw new G("NOT_A_NUMBER");var i;if(r===null)i=n(t)||"";else{i="",r.charAt(0)===or&&(i+=r);var a=t.indexOf(sr),o;a>=0?o=a+sr.length:o=0;var s=t.indexOf(Gt);i+=t.substring(o,s)}var d=i.indexOf(Hi);if(d>0&&(i=i.substring(0,d)),i!=="")return i}var ad=250,od=new RegExp("["+lt+R+"]"),sd=new RegExp("[^"+R+"#]+$"),dd=!1;function cr(t,e,n){e=e||{};var r=new T(n);if(e.defaultCountry&&!r.hasCountry(e.defaultCountry))throw e.v2?new G("INVALID_COUNTRY"):new Error("Unknown country: ".concat(e.defaultCountry));var i=cd(t,e.v2,e.extract),a=i.number,o=i.ext,s=i.error;if(!a){if(e.v2)throw s==="TOO_SHORT"?new G("TOO_SHORT"):new G("NOT_A_NUMBER");return{}}var d=fd(a,e.defaultCountry,e.defaultCallingCode,r),u=d.country,l=d.nationalNumber,p=d.countryCallingCode,h=d.countryCallingCodeSource,y=d.carrierCode;if(!r.hasSelectedNumberingPlan()){if(e.v2)throw new G("INVALID_COUNTRY");return{}}if(!l||l.length<ct){if(e.v2)throw new G("TOO_SHORT");return{}}if(l.length>Pi){if(e.v2)throw new G("TOO_LONG");return{}}if(e.v2){var _=new Vi(p,l,r.metadata);return u&&(_.country=u),y&&(_.carrierCode=y),o&&(_.ext=o),_.__countryCallingCodeSource=h,_}var k=(e.extended?r.hasSelectedNumberingPlan():u)?A(l,r.nationalNumberPattern()):!1;return e.extended?{country:u,countryCallingCode:p,carrierCode:y,valid:k,possible:k?!0:!!(e.extended===!0&&r.possibleLengths()&&jn(l,r)),phone:l,ext:o}:k?ld(u,l,o):{}}function ud(t,e,n){if(t){if(t.length>ad){if(n)throw new G("TOO_LONG");return}if(e===!1)return t;var r=t.search(od);if(!(r<0))return t.slice(r).replace(sd,"")}}function cd(t,e,n){var r=ur(t,{extractFormattedPhoneNumber:function(o){return ud(o,n,e)}});if(!r)return{};if(!Jn(r))return Ai(r)?{error:"TOO_SHORT"}:{};var i=ir(r);return i.ext?i:{number:r}}function ld(t,e,n){var r={country:t,phone:e};return n&&(r.ext=n),r}function fd(t,e,n,r){var i=pt(jt(t),void 0,e,n,r.metadata),a=i.countryCallingCodeSource,o=i.countryCallingCode,s=i.number,d;if(o)r.selectNumberingPlan(o);else if(s&&(e||n))e?(d=e,r.selectNumberingPlan(e),o=r.numberingPlan.callingCode()):(r.selectNumberingPlan(n),o=n,dd&&r.isNonGeographicCallingCode(o)&&(d="001"));else return{};if(!s)return{countryCallingCodeSource:a,countryCallingCode:o};var u=Fe(jt(s),void 0,r),l=u.nationalNumber,p=u.carrierCode,h=ft(o,{nationalNumber:l,metadata:r});return h&&(d=h,h==="001"||r.selectNumberingPlan(d)),{country:d,countryCallingCode:o,countryCallingCodeSource:a,nationalNumber:l,carrierCode:p}}function yt(t){"@babel/helpers - typeof";return yt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yt(t)}function Zi(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function qi(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Zi(Object(n),!0).forEach(function(r){pd(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Zi(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function pd(t,e,n){return(e=md(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function md(t){var e=gd(t,"string");return yt(e)=="symbol"?e:e+""}function gd(t,e){if(yt(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(yt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function lr(t,e,n){return cr(t,qi(qi({},e),{},{v2:!0}),n)}function vt(t){"@babel/helpers - typeof";return vt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vt(t)}function Wi(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function hd(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Wi(Object(n),!0).forEach(function(r){$d(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Wi(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function $d(t,e,n){return(e=yd(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yd(t){var e=vd(t,"string");return vt(e)=="symbol"?e:e+""}function vd(t,e){if(vt(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(vt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function _d(t,e){return xd(t)||Sd(t,e)||Cd(t,e)||bd()}function bd(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Cd(t,e){if(t){if(typeof t=="string")return Yi(t,e);var n={}.toString.call(t).slice(8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Array.from(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Yi(t,e):void 0}}function Yi(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function Sd(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var r,i,a,o,s=[],d=!0,u=!1;try{if(a=(n=n.call(t)).next,e===0){if(Object(n)!==n)return;d=!1}else for(;!(d=(r=a.call(n)).done)&&(s.push(r.value),s.length!==e);d=!0);}catch(l){u=!0,i=l}finally{try{if(!d&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw i}}return s}}function xd(t){if(Array.isArray(t))return t}function fr(t){var e=Array.prototype.slice.call(t),n=_d(e,4),r=n[0],i=n[1],a=n[2],o=n[3],s,d,u;if(typeof r=="string")s=r;else throw new TypeError("A text for parsing must be a string.");if(!i||typeof i=="string")o?(d=a,u=o):(d=void 0,u=a),i&&(d=hd({defaultCountry:i},d));else if(q(i))a?(d=i,u=a):u=i;else throw new Error("Invalid second argument: ".concat(i));return{text:s,options:d,metadata:u}}function _t(t){"@babel/helpers - typeof";return _t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_t(t)}function Xi(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function Qi(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Xi(Object(n),!0).forEach(function(r){wd(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Xi(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function wd(t,e,n){return(e=Td(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Td(t){var e=kd(t,"string");return _t(e)=="symbol"?e:e+""}function kd(t,e){if(_t(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(_t(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function pr(t,e,n){e&&e.defaultCountry&&!xi(e.defaultCountry,n)&&(e=Qi(Qi({},e),{},{defaultCountry:void 0}));try{return lr(t,e,n)}catch(r){if(!(r instanceof G))throw r}}function bt(){var t=fr(arguments),e=t.text,n=t.options,r=t.metadata;return pr(e,n,r)}function Ut(){return On(bt,arguments)}var Ji="CA";function ea(t,e){let n=e??Ji,r=Ut(t??"",n);if(!r)return{e164:null,national:"",international:"",country:n,isValid:!1};let i=r.isValid();return{e164:i?r.number:null,national:r.formatNational(),international:r.formatInternational(),country:r.country??n,isValid:i}}function ae(t,e){return ea(t,e).e164}var Ed=/^[^@\s]+@[^@\s]+\.[^@\s]+$/,Pd=/e[-_]?mail/i,Nd=/(^|[^a-z])(phone|tel|mobile|cell)/i,J={email:null,phoneNumber:null};function Bt(t){if(typeof t!="string")return null;let e=t.trim().toLowerCase();return Ed.test(e)?e:null}function mr(t,e){let n=t[e];return typeof n=="string"?n:""}function ta(t,e){let n={email:null,phoneNumber:null};if(!Array.isArray(t))return n;let r=[(i,a,o)=>mr(i,"type").toLowerCase()===o,(i,a)=>a.test(mr(i,"name"))||a.test(mr(i,"label"))];for(let i of r){for(let a of t){if(a===null||typeof a!="object")continue;let o=a;if(!(typeof o.value!="string"||o.value.length===0)&&(n.email===null&&i(o,Pd,"email")&&(n.email=Bt(o.value)),n.phoneNumber===null&&i(o,Nd,"tel")))try{n.phoneNumber=ae(o.value,e)}catch{}}if(n.email!==null&&n.phoneNumber!==null)break}return n}function Kt(t,e){let n=Bt(t.email),r=null;if(typeof t.phone=="string"&&t.phone.length>0)try{r=ae(t.phone,e)}catch{r=null}J={email:n??J.email,phoneNumber:r??J.phoneNumber}}function gr(t,e){try{let n=ta(t,e);J={email:n.email??J.email,phoneNumber:n.phoneNumber??J.phoneNumber}}catch{}}function hr(){J={email:null,phoneNumber:null}}function $r(t,e){if(typeof window>"u"||typeof window.gtag!="function")return!1;let n=J.email,r=J.phoneNumber;if(t){let i=Bt(t.email);if(i&&(n=i),typeof t.phone=="string"&&t.phone.length>0)try{r=ae(t.phone,e)??r}catch{}}if(n===null&&r===null)return!1;try{return window.gtag("set","user_data",{...n!==null?{email:n}:{},...r!==null?{phone_number:r}:{}}),!0}catch{return!1}}var Ht="consent_state",zt="consent_timestamp",Ve="consent_expires_at",vr=90,na=864e5,yr={state:"granted",source:"default",updatedAt:null,expiresAt:null},Id=new Set;function ra(t){for(let e of Id)try{e(t)}catch{}}function Zt(t){return{ad_storage:t,ad_user_data:t,ad_personalization:t,analytics_storage:t}}function je(){if(typeof window>"u")return yr;try{let t=window.localStorage.getItem(Ht),e=window.localStorage.getItem(zt);if(t==="granted")return{state:"granted",source:"explicit",updatedAt:e,expiresAt:null};if(t==="denied"){let n=window.localStorage.getItem(Ve);if(!n){n=new Date(Date.now()+vr*na).toISOString();try{window.localStorage.setItem(Ve,n)}catch{}}if(!(Date.parse(n)<=Date.now()))return{state:"denied",source:"explicit",updatedAt:e,expiresAt:n}}}catch{}return yr}function M(){return je().state}function ia(t){typeof window>"u"||(typeof window.gtag=="function"&&window.gtag("consent","update",Zt(t)),typeof window.fbq=="function"&&window.fbq("consent",t==="granted"?"grant":"revoke"))}function Ct(t,e){if(typeof window>"u")return;let n=e?.declineTtlDays,r=typeof n=="number"&&Number.isFinite(n)&&n>0?n:vr,i=new Date().toISOString(),a=t==="denied"?new Date(Date.now()+r*na).toISOString():null;try{window.localStorage.setItem(Ht,t),window.localStorage.setItem(zt,i),a!==null?window.localStorage.setItem(Ve,a):window.localStorage.removeItem(Ve)}catch{}if(ia(t),t==="denied"){hr();try{typeof window.gtag=="function"&&window.gtag("set","user_data",null)}catch{}}ra({state:t,source:"explicit",updatedAt:i,expiresAt:a})}function _r(){Ct("granted")}function br(t){Ct("denied",t)}function Cr(){if(!(typeof window>"u")){try{window.localStorage.removeItem(Ht),window.localStorage.removeItem(zt),window.localStorage.removeItem(Ve)}catch{}ia("granted"),ra(yr)}}var aa=["ad_tags_google","ad_tags_meta","base_tracking","blog_rendering","calendar_read","calendar_write","consent_controls","conversion_goals_auto","conversion_goals_manual","cta_click_capture","form_capture","phone_click_capture","phone_fields"],Sr="data-aranova-capability",oa=new Set;function V(t){oa.add(t)}function qt(){let t=new Set(oa);for(let e of Ad())t.add(e);return Array.from(t).sort()}function Ad(){if(typeof document>"u")return[];let t=new Set(aa),e=[];for(let n of document.querySelectorAll(`[${Sr}]`)){let r=n.getAttribute(Sr);r&&t.has(r)&&e.push(r)}return e}var Ge=["gclid","wbraid","gbraid","ylpcid","fbclid","utm_source","utm_medium","utm_campaign","utm_term","utm_content"];function Ue(){return{gclid:null,wbraid:null,gbraid:null,ylpcid:null,fbclid:null,utm_source:null,utm_medium:null,utm_campaign:null,utm_term:null,utm_content:null}}function Wt(t){return typeof t=="string"&&t.length>0?t:null}function Be(t){return Ge.reduce((e,n)=>(e[n]=Wt(t(n)),e),Ue())}function Yt(t){return Ge.reduce((e,n)=>{let r=t.get(n);return typeof r=="string"&&r.trim().length>0&&(e[n]=r),e},{})}var Rd="_aranova_track_";function sa(t){return`${Rd}${t}`}function Xt(t,e,n=7776e3){let r=encodeURIComponent(e);if(typeof document<"u")try{document.cookie=`${t}=${r}; Max-Age=${n}; Path=/; SameSite=Lax`}catch{}if(typeof window<"u")try{window.localStorage.setItem(sa(t),r)}catch{}}function Ke(t){if(typeof document<"u"){let n=(document.cookie?document.cookie.split("; "):[]).find(r=>r.startsWith(`${t}=`));if(n){let[,r=""]=n.split("=");return Wt(decodeURIComponent(r))}}if(typeof window<"u")try{let e=window.localStorage.getItem(sa(t));if(e)return Wt(decodeURIComponent(e))}catch{}return null}function He(t){return Ke(t)}function da(t,e,n=7776e3){Xt(t,e,n)}function xr(t,e){return Ge.reduce((n,r)=>(n[r]=t[r]??e[r],n),Ue())}function ua(t,e=7776e3){let n=Yt(t);return Object.entries(n).forEach(([r,i])=>{da(r,i,e)}),n}function ge(t=typeof window>"u"?"":window.location.href,e=7776e3){let n=typeof window>"u"?new URL(t||"https://example.invalid"):new URL(t,window.location.origin);return ua(n.searchParams,e),Be(He)}var la="https://www.googletagmanager.com/gtag/js",ze="data-aranova-tracking";function Od(t){return`aranova-${t}`}var Md=/^[A-Z]{1,3}-[A-Za-z0-9_-]+$/;function St(t){return Md.test(t)}function Qt(){if(window.dataLayer=window.dataLayer||[],typeof window.gtag=="function")return window.gtag;function t(){window.dataLayer?.push(arguments)}return window.gtag=t,window.gtag}var Fd=/^AW-[A-Za-z0-9]+\/[A-Za-z0-9_-]+$/;function Jt(t){return Fd.test(t)}function wr(t){if(typeof window>"u"||typeof window.gtag!="function"||!Jt(t.sendTo))return!1;let e={send_to:t.sendTo};t.value!=null&&(e.value=t.value),t.currency&&(e.currency=t.currency),t.transactionId&&(e.transaction_id=t.transactionId);try{return window.gtag("event","conversion",e),!0}catch{return!1}}function xt(){Qt()("consent","default",Zt(M()==="denied"?"denied":"granted"))}function wt(t){if(typeof document>"u")return;let e=Od("gtag-loader");if(document.querySelector(`script[${ze}="${e}"]`))return;let r=document.createElement("script");r.async=!0,r.src=`${la}?id=${encodeURIComponent(t)}`,r.setAttribute(ze,e),document.head.append(r)}function fa(t){let e=Qt();e("js",new Date),e("config",t)}function Tr(t){typeof window>"u"||typeof document>"u"||St(t)&&(xt(),wt(t),fa(t))}function kr(t){if(typeof window>"u"||typeof document>"u")return;let e=Object.values(t).filter(r=>typeof r=="string"&&St(r));if(e.length===0)return;xt(),wt(e[0]);let n=Qt();n("js",new Date);for(let r of e)n("config",r)}var pa="https://connect.facebook.net/en_US/fbevents.js",Er="_fbc",ma="_fbp",Dd=/^\d{15,16}$/;function Pr(t){return Dd.test(t)}function ga(t){let e=t.split(".").filter(Boolean);return Math.max(0,e.length-1)}function ha(t,e,n){let r=n??(typeof window>"u"?"":window.location.hostname);return`fb.${ga(r)}.${e}.${t}`}function Tt(){return Ke(Er)}function tn(){return Ke(ma)}function Ld(){if(typeof window>"u")return null;try{let t=new URL(window.location.href).searchParams.get("fbclid");return t&&t.trim().length>0?t:null}catch{return null}}function kt(t=typeof Date>"u"?0:Date.now()){if(typeof window>"u"||Tt())return;let e=Ld()??Ke("fbclid");e&&Xt(Er,ha(e,t),7776e3)}function Vd(t){return`aranova-${t}`}function nn(){let t=window;if(typeof t.fbq=="function")return t.fbq;let e=function(...n){e.callMethod?e.callMethod.apply(e,n):e.queue.push(n)};return e.push=e,e.loaded=!0,e.version="2.0",e.queue=[],t.fbq=e,t._fbq||(t._fbq=e),e}function Nr(){nn()("consent",M()==="denied"?"revoke":"grant")}function Ir(){if(typeof document>"u")return;let t=Vd("fbq-loader");if(document.querySelector(`script[${ze}="${t}"]`))return;let n=document.createElement("script");n.async=!0,n.src=pa,n.setAttribute(ze,t),document.head.append(n)}function $a(t){let e=nn();e("init",t),e("track","PageView")}function Ar(t){typeof window>"u"||typeof document>"u"||Pr(t)&&(Nr(),Ir(),$a(t),kt())}function Rr(t){if(typeof window>"u"||typeof document>"u")return;let e=Object.values(t).filter(r=>typeof r=="string"&&Pr(r));if(e.length===0)return;Nr(),Ir();let n=nn();for(let r of e)n("init",r);n("track","PageView"),kt()}var Or="_aranova_track_landing",Et=null;function jd(t){if(typeof t!="object"||t===null)return{};let e=t;return Ge.reduce((n,r)=>{let i=e[r];return typeof i=="string"&&i.length>0&&(n[r]=i),n},{})}function Gd(){try{let t=window.localStorage.getItem(Or);if(!t)return null;let e=JSON.parse(t);return typeof e.session_id!="string"||e.session_id.length===0?null:{session_id:e.session_id,params:jd(e.params)}}catch{return null}}function Ud(t){Et=t;try{window.localStorage.setItem(Or,JSON.stringify(t))}catch{}}function Bd(t){try{let e=new URL(t??window.location.href,window.location.origin);return Yt(e.searchParams)}catch{return{}}}function rn(t,e){if(typeof window>"u")return{};let n=Gd();if(n&&n.session_id===t)return Et=n,n.params;if(Et&&Et.session_id===t)return Et.params;let r={session_id:t,params:Bd(e)};return Ud(r),r.params}function an(t,e){let n=e??(typeof window>"u"?null:rn(t));return n===null?{}:{landing_gclid:n.gclid??null,landing_wbraid:n.wbraid??null,landing_gbraid:n.gbraid??null,landing_ylpcid:n.ylpcid??null,landing_fbclid:n.fbclid??null,landing_utm_source:n.utm_source??null,landing_utm_medium:n.utm_medium??null,landing_utm_campaign:n.utm_campaign??null,landing_utm_term:n.utm_term??null,landing_utm_content:n.utm_content??null}}var Kd="_aranova_conv_";function ya(t){return`${Kd}${t.transactionId??""}:${t.sendTo}`}function Hd(t){if(!t.transactionId||typeof window>"u")return!1;try{return window.sessionStorage.getItem(ya(t))!==null}catch{return!1}}function zd(t){if(!(!t.transactionId||typeof window>"u"))try{window.sessionStorage.setItem(ya(t),"1")}catch{}}function oe(t,e){if(M()==="denied")return"denied";if(Hd(t))return"duplicate";if(!Jt(t.sendTo))return"invalid";try{return $r(e?.userData),wr(t)?(zd(t),"fired"):"retryable"}catch{return"retryable"}}function va(t){return typeof t=="object"&&t!==null&&Object.values(t).every(e=>typeof e=="string")}function _a(t){if(!t||typeof t!="object")return null;let e=t;return typeof e.send_to!="string"?null:{send_to:e.send_to,value_cents:typeof e.value_cents=="number"?e.value_cents:null,currency:typeof e.currency=="string"?e.currency:null}}function Zd(t){if(!t||typeof t!="object")return null;let e=t;if(typeof e.event_type!="string")return null;let n={event_type:e.event_type};return typeof e.threshold_percent=="number"&&(n.threshold_percent=e.threshold_percent),typeof e.threshold_seconds=="number"&&(n.threshold_seconds=e.threshold_seconds),typeof e.page_threshold=="number"&&(n.page_threshold=e.page_threshold),typeof e.page_name=="string"&&(n.page_name=e.page_name),n}function Ze(t){if(!t||typeof t!="object")return null;let e=t,r=(Array.isArray(e.services)?e.services:[]).flatMap(o=>{if(!o||typeof o!="object")return[];let s=o;return typeof s.key!="string"?[]:[{key:s.key,label:typeof s.label=="string"?s.label:void 0,firing:_a(s.firing)}]}),i=Array.isArray(e.goals)?e.goals:null,a=i?i.flatMap(o=>{if(!o||typeof o!="object")return[];let s=o;return typeof s.key!="string"?[]:[{key:s.key,label:typeof s.label=="string"?s.label:void 0,kind:s.kind==="event"?"event":"sale",trigger:Zd(s.trigger),firing:_a(s.firing)}]}):r.map(o=>({key:o.key,label:o.label,kind:"sale",trigger:null,firing:o.firing}));return{schema_version:typeof e.schema_version=="number"?e.schema_version:1,config_version:typeof e.config_version=="number"?e.config_version:0,business_id:typeof e.business_id=="string"?e.business_id:void 0,customer_id:typeof e.customer_id=="string"?e.customer_id:null,environment:typeof e.environment=="string"?e.environment:void 0,google_tracking_state:e.google_tracking_state==="active"?"active":"disabled",gtag_ids:va(e.gtag_ids)?e.gtag_ids:{},meta_pixel_ids:va(e.meta_pixel_ids)?e.meta_pixel_ids:{},services:r,goals:a}}var qd="_aranova_cfg_";function ba(t){return`${qd}${t}`}function Wd(t){if(typeof window>"u")return null;try{let e=window.sessionStorage.getItem(ba(t));if(!e)return null;let n=JSON.parse(e),r=Ze(n.config);return r?{etag:typeof n.etag=="string"?n.etag:null,config:r}:null}catch{return null}}function Yd(t,e){if(!(typeof window>"u"))try{window.sessionStorage.setItem(ba(t),JSON.stringify(e))}catch{}}function Mr(t){let e=Wd(t.cdnUrl),n=e?.config??t.baked??null,r=e?.etag??null,i=new Map,a=new Set;function o(){i.clear();for(let l of n?.goals??[])i.set(l.key,l)}function s(){let l=[...a];a.clear();for(let p of l)try{p()}catch{}}function d(l,p){if(!l||n&&l.config_version<=n.config_version)return;let h=n===null;n=l,r=p,o(),Yd(t.cdnUrl,{etag:r,config:l}),h&&s()}async function u(){if(!(typeof window>"u"))try{let l=t.fetchImpl??globalThis.fetch;if(!l)return;let p={};r&&(p["If-None-Match"]=r);let h=await l(t.cdnUrl,{method:"GET",headers:p});if(h.status===304||!h.ok)return;d(Ze(await h.json()),h.headers.get("ETag"))}catch{}}return o(),u(),{getFiring:l=>i.get(l)?.firing??null,getGoal:l=>i.get(l)??null,listGoals:()=>[...i.values()],current:()=>n,isReady:()=>n!==null,onResolve:l=>n!==null?(l(),()=>{}):(a.add(l),()=>a.delete(l)),revalidate:u}}var xa="_aranova_auto_txn_map",on=new Map,Fr=0;function Xd(t,e,n){return JSON.stringify([t,e,n])}function Qd(){let t=globalThis.crypto;if(typeof t?.randomUUID=="function")return t.randomUUID();if(typeof t?.getRandomValues=="function"){let i=t.getRandomValues(new Uint8Array(16));return Array.from(i,a=>a.toString(16).padStart(2,"0")).join("")}Fr=(Fr+1)%4294967296;let e=Date.now().toString(16).padStart(12,"0"),n=Fr.toString(16).padStart(8,"0"),r=Math.floor(Math.random()*0xffffffffffff).toString(16).padStart(12,"0");return`${e}${n}${r}`.slice(0,32)}function Ca(t){return typeof t=="string"&&/^auto:(?:[0-9a-f]{32}|[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})$/i.test(t)&&t.length<=64}function Sa(t){if(typeof window>"u")return{sessionId:t,entries:{}};try{let e=window.localStorage.getItem(xa);if(!e)return{sessionId:t,entries:{}};let n=JSON.parse(e);return n.sessionId!==t||!n.entries||typeof n.entries!="object"||Array.isArray(n.entries)?{sessionId:t,entries:{}}:{sessionId:t,entries:n.entries}}catch{return{sessionId:t,entries:{}}}}function Jd(t){if(!(typeof window>"u"))try{window.localStorage.setItem(xa,JSON.stringify(t))}catch{}}function sn(t,e,n){let r=Xd(t,e,n),i=on.get(r);if(i)return i;let o=Sa(t).entries[r];if(Ca(o))return on.set(r,o),o;let s=`auto:${Qd()}`;on.set(r,s);let d=Sa(t),u=d.entries[r];return Ca(u)?(on.set(r,u),u):(d.entries[r]=s,Jd(d),s)}function Dr(t,e){return typeof t[e]=="number"}function eu(t,e){return typeof t[e]=="string"}function dn(t,e,n){let r=t.trigger;if(!r||r.event_type!==e)return!1;switch(e){case"scroll_depth":return Dr(n,"depth_percent")&&r.threshold_percent!=null&&n.depth_percent>=r.threshold_percent;case"time_on_site":return Dr(n,"duration_ms")&&r.threshold_seconds!=null&&n.duration_ms>=r.threshold_seconds*1e3;case"multi_page_session":return Dr(n,"page_count")&&r.page_threshold!=null&&n.page_count>=r.page_threshold;case"specific_page_visit":return eu(n,"page_name")&&n.page_name===r.page_name;case"page_view":case"form_start":case"phone_click":return!0;default:return!1}}var tu={USD:2,CAD:2};function nu(t){return tu[t]??2}function se(t,e){return t/10**nu(e)}var Ia="https://demos.aranova.io";function ru(t){return t.siteId?`tracking-config/v1/sites/${t.siteId}-${t.environment}.json`:`tracking-config/v1/${t.businessId}-${t.environment}.json`}function Lr(t){return t.cdnUrl?t.cdnUrl:`${(t.cdnBaseUrl?.trim()||Ia).replace(/\/+$/,"")}/${ru(t)}`}var iu="_aranova_cfg_runtime_",wa=6e4,Ta=50,au=5e3,ou=5*6e4,ka=new Map,Ea=new Set,un=null,Pa=!1;function Aa(t){return`${iu}${t}`}function cn(t,e){t.push(e),t.length>Ta&&t.splice(0,t.length-Ta)}function su(t){if(typeof window>"u")return null;try{let e=window.sessionStorage.getItem(Aa(t));if(!e)return null;let n=JSON.parse(e),r=Ze(n.config);return r?{etag:typeof n.etag=="string"?n.etag:null,config:r}:null}catch{return null}}function du(t,e){if(!(typeof window>"u"))try{window.sessionStorage.setItem(Aa(t),JSON.stringify(e))}catch{}}function uu(t){return t.google_tracking_state==="disabled"||Object.keys(t.gtag_ids).length===0}function Na(t,e){return t.business_id===e.businessId&&t.environment===e.environment&&(t.google_tracking_state==="active"||t.google_tracking_state==="disabled")}function cu(){return typeof window>"u"||typeof document>"u"?null:{href:window.location.href,title:document.title||null,referrer:document.referrer||null}}function lu(t){return typeof window>"u"||typeof document>"u"?Promise.resolve():(xt(),wt(t),un||(un=new Promise(e=>{let n=document.querySelector('script[data-aranova-tracking="aranova-gtag-loader"]');if(!n){e();return}if(n.dataset.loaded==="true"){e();return}window.setTimeout(e,0),n.addEventListener("load",()=>{n.dataset.loaded="true",e()},{once:!0}),n.addEventListener("error",()=>e(),{once:!0})}),un))}var ln=class{constructor(e,n=globalThis.fetch){this.ref=e;this.current=null;this.etag=null;this.stateValue="unconfirmed";this.confirmedAt=0;this.authorityGeneration=0;this.inFlight=null;this.flushInFlight=null;this.flushRequested=!1;this.retryTimer=null;this.started=!1;this.authorityFailures=0;this.nextAuthorityAttemptAt=0;this.conversionQueue=[];this.automaticQueue=[];this.pageQueue=[];this.listeners=new Set;this.fetchImpl=n.bind(globalThis),this.url=Lr(e);let r=su(this.url);this.current=r?.config??null,this.etag=r?.etag??null,this.start()}configUrl(){return this.url}start(){if(this.started){this.flush();return}this.started=!0,this.revalidate(),typeof window<"u"&&(window.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&this.revalidate()}),window.addEventListener("focus",()=>{this.revalidate()}))}state(){return this.stateValue}config(){return this.stateValue==="active"||this.stateValue==="tombstone"?this.current:null}__unsafeExpireAuthorityForTests(){this.confirmedAt=Number.NEGATIVE_INFINITY,this.nextAuthorityAttemptAt=0}__queueDepthsForTests(){return{conversions:this.conversionQueue.length,automatic:this.automaticQueue.length,pages:this.pageQueue.length}}subscribe(e){return this.listeners.add(e),()=>this.listeners.delete(e)}async ensureAuthority(){return this.stateValue!=="unconfirmed"&&Date.now()-this.confirmedAt<wa?!0:Date.now()<this.nextAuthorityAttemptAt?!1:(await this.revalidateAuthority(),this.stateValue!=="unconfirmed"&&Date.now()-this.confirmedAt<wa)}async revalidate(){this.nextAuthorityAttemptAt=0,await this.revalidateAuthority(),await this.flush()}async revalidateAuthority(){if(!(typeof window>"u"||!this.fetchImpl))return this.inFlight?this.inFlight:(this.inFlight=this.revalidateNow().finally(()=>{this.inFlight=null}),this.inFlight)}queuePageView(e=cu()){e&&(cn(this.pageQueue,e),this.flush())}fireConversion(e,n){cn(this.conversionQueue,{key:e,...n}),this.flush()}queueAutomaticEvent(e,n,r,i){cn(this.automaticQueue,{eventType:e,metadata:n,transactionPath:r,transactionScope:i}),this.flush()}listGoals(){return this.current?.goals??[]}async revalidateNow(){try{let e={};this.etag&&(e["If-None-Match"]=this.etag);let n=await this.fetchImpl(this.url,{method:"GET",headers:e,cache:"no-cache"});if(n.status===304&&this.current&&Na(this.current,this.ref)){this.confirm(this.current,this.etag);return}if(!n.ok){this.expireAuthority();return}let r=Ze(await n.json());if(!r||!Na(r,this.ref)){this.expireAuthority();return}if(this.current&&r.config_version<this.current.config_version){this.expireAuthority();return}this.confirm(r,n.headers.get("ETag"))}catch{this.expireAuthority()}}expireAuthority(){this.authorityGeneration+=1,this.stateValue!=="unconfirmed"&&(this.stateValue="unconfirmed"),this.authorityFailures+=1;let e=Math.min(ou,au*2**(this.authorityFailures-1));this.nextAuthorityAttemptAt=Date.now()+e}confirm(e,n){this.authorityGeneration+=1,this.current=e,this.etag=n,this.confirmedAt=Date.now(),this.authorityFailures=0,this.nextAuthorityAttemptAt=0,this.stateValue=uu(e)?"tombstone":"active",du(this.url,{etag:n,config:e}),this.stateValue==="tombstone"&&(this.retryTimer!==null&&(window.clearTimeout(this.retryTimer),this.retryTimer=null),this.conversionQueue.length=0,this.automaticQueue.length=0,this.pageQueue.length=0);for(let r of this.listeners)r()}async flush(){return this.flushInFlight?(this.flushRequested=!0,this.flushInFlight):(this.flushRequested=!1,this.flushInFlight=this.flushNow().finally(()=>{this.flushInFlight=null,this.flushRequested&&this.stateValue==="active"&&this.flush()}),this.flushInFlight)}scheduleRetry(){this.retryTimer!==null||typeof window>"u"||(this.retryTimer=window.setTimeout(()=>{this.retryTimer=null,this.flush()},1e3))}async flushNow(){if(!await this.ensureAuthority()||this.stateValue!=="active"||!this.current)return;let e=this.current,n=this.authorityGeneration,r=Object.values(e.gtag_ids).filter(a=>typeof a=="string"&&St(a));if(r.length===0||(await lu(r[0]),this.authorityGeneration!==n||this.stateValue!=="active"||this.current!==e))return;let i=window.gtag;if(typeof i=="function"){try{Pa||(i("js",new Date),Pa=!0);for(let a of r)Ea.has(a)||(i("config",a,{send_page_view:!1}),Ea.add(a))}catch{this.scheduleRetry();return}for(;this.pageQueue.length>0;){let a=this.pageQueue[0];try{i("event","page_view",{page_location:a.href,page_title:a.title??void 0,page_referrer:a.referrer??void 0}),this.pageQueue.shift()}catch{this.scheduleRetry();return}}for(;this.automaticQueue.length>0;){let a=this.automaticQueue[0];for(let o of e.goals)o.kind!=="event"||!o.firing||dn(o,a.eventType,a.metadata)&&cn(this.conversionQueue,{key:o.key,transactionId:sn(a.transactionScope,o.key,a.transactionPath)});this.automaticQueue.shift()}for(;this.conversionQueue.length>0;){let a=this.conversionQueue[0],s=e.goals.find(p=>p.key===a.key)?.firing;if(!s){this.conversionQueue.shift();continue}let d=a.currency??s.currency??null,u=a.value??(s.value_cents!=null&&d?se(s.value_cents,d):null);if(oe({sendTo:s.send_to,value:u,currency:d,transactionId:a.transactionId??null})==="retryable"){this.scheduleRetry();return}this.conversionQueue.shift()}}}};function fn(t,e){let n=`${Lr(t)}|${t.businessId}|${t.environment}`,r=ka.get(n);if(r)return r;let i=new ln(t,e??globalThis.fetch);return ka.set(n,i),i}function Ra(){return typeof window>"u"?"":window.location.pathname}var fu=50;function pn(t){let e=[],n=!1;function r(i,a,o){for(let s of t.listGoals()){if(s.kind!=="event"||!s.firing||!dn(s,i,a))continue;let d=sn(o,s.key,Ra());if("queueAutomaticEvent"in t){t.fireConversion(s.key,{transactionId:d});continue}let u=s.firing,l=u.value_cents??null,p=u.currency??null;oe({sendTo:u.send_to,value:l!=null&&p?se(l,p):null,currency:p,transactionId:d})}}return{onAutomaticEvent(i,a,o){if("queueAutomaticEvent"in t){t.queueAutomaticEvent(i,a,Ra(),o);return}if(t.isReady()){r(i,a,o);return}e.length<fu&&e.push({eventType:i,metadata:a,transactionScope:o}),n||(n=!0,t.onResolve(()=>{let s=e.splice(0);for(let d of s)r(d.eventType,d.metadata,d.transactionScope)}))}}}function mn(t,e){return{...t,trackEvent:n=>{t.trackEvent(n);try{e.onAutomaticEvent(n.eventType,n.metadata??{},t.getSessionId())}catch{}}}}var Vr="aranova_tracking_visitor",gn="aranova_tracking_session",Oa=1800*1e3;function hn(){return typeof crypto<"u"&&typeof crypto.randomUUID=="function"?crypto.randomUUID():`${Date.now().toString(16)}-${Math.random().toString(16).slice(2)}-${Math.random().toString(16).slice(2)}`}function Ma(t){try{return window.localStorage.getItem(t)}catch{return null}}function jr(t,e){try{window.localStorage.setItem(t,e)}catch{}}function Gr(){if(typeof window>"u")return hn();let t=Ma(Vr);if(t&&t.length>0)return t;let e=hn();return jr(Vr,e),e}function qe(t=Date.now()){if(typeof window>"u")return{id:hn(),isNew:!0};let e=Ma(gn);if(e)try{let r=JSON.parse(e);if(typeof r.id=="string"&&typeof r.last_event_at=="number"&&t-r.last_event_at<=Oa){let i={id:r.id,last_event_at:t};return jr(gn,JSON.stringify(i)),{id:r.id,isNew:!1}}}catch{}let n={id:hn(),last_event_at:t};return jr(gn,JSON.stringify(n)),{id:n.id,isNew:!0}}var c={};$i(c,{BRAND:()=>Vu,DIRTY:()=>he,EMPTY_PATH:()=>$u,INVALID:()=>v,NEVER:()=>Sc,OK:()=>O,ParseStatus:()=>N,Schema:()=>S,ZodAny:()=>ce,ZodArray:()=>re,ZodBigInt:()=>ye,ZodBoolean:()=>ve,ZodBranded:()=>Nt,ZodCatch:()=>Ne,ZodDate:()=>_e,ZodDefault:()=>Pe,ZodDiscriminatedUnion:()=>vn,ZodEffects:()=>K,ZodEnum:()=>ke,ZodError:()=>F,ZodFirstPartyTypeKind:()=>b,ZodFunction:()=>bn,ZodIntersection:()=>xe,ZodIssueCode:()=>f,ZodLazy:()=>we,ZodLiteral:()=>Te,ZodMap:()=>et,ZodNaN:()=>nt,ZodNativeEnum:()=>Ee,ZodNever:()=>z,ZodNull:()=>Ce,ZodNullable:()=>X,ZodNumber:()=>$e,ZodObject:()=>D,ZodOptional:()=>U,ZodParsedType:()=>g,ZodPipeline:()=>It,ZodPromise:()=>le,ZodReadonly:()=>Ie,ZodRecord:()=>_n,ZodSchema:()=>S,ZodSet:()=>tt,ZodString:()=>ue,ZodSymbol:()=>Qe,ZodTransformer:()=>K,ZodTuple:()=>Y,ZodType:()=>S,ZodUndefined:()=>be,ZodUnion:()=>Se,ZodUnknown:()=>ne,ZodVoid:()=>Je,addIssueToContext:()=>m,any:()=>qu,array:()=>Qu,bigint:()=>Bu,boolean:()=>za,coerce:()=>Cc,custom:()=>Ba,date:()=>Ku,datetimeRegex:()=>Ga,defaultErrorMap:()=>ee,discriminatedUnion:()=>nc,effect:()=>mc,enum:()=>lc,function:()=>dc,getErrorMap:()=>We,getParsedType:()=>W,instanceof:()=>Gu,intersection:()=>rc,isAborted:()=>$n,isAsync:()=>Ye,isDirty:()=>yn,isValid:()=>de,late:()=>ju,lazy:()=>uc,literal:()=>cc,makeIssue:()=>Pt,map:()=>oc,nan:()=>Uu,nativeEnum:()=>fc,never:()=>Yu,null:()=>Zu,nullable:()=>hc,number:()=>Ha,object:()=>Ju,objectUtil:()=>Ur,oboolean:()=>bc,onumber:()=>_c,optional:()=>gc,ostring:()=>vc,pipeline:()=>yc,preprocess:()=>$c,promise:()=>pc,quotelessJson:()=>mu,record:()=>ac,set:()=>sc,setErrorMap:()=>hu,strictObject:()=>ec,string:()=>Ka,symbol:()=>Hu,transformer:()=>mc,tuple:()=>ic,undefined:()=>zu,union:()=>tc,unknown:()=>Wu,util:()=>x,void:()=>Xu});var x;(function(t){t.assertEqual=i=>{};function e(i){}t.assertIs=e;function n(i){throw new Error}t.assertNever=n,t.arrayToEnum=i=>{let a={};for(let o of i)a[o]=o;return a},t.getValidEnumValues=i=>{let a=t.objectKeys(i).filter(s=>typeof i[i[s]]!="number"),o={};for(let s of a)o[s]=i[s];return t.objectValues(o)},t.objectValues=i=>t.objectKeys(i).map(function(a){return i[a]}),t.objectKeys=typeof Object.keys=="function"?i=>Object.keys(i):i=>{let a=[];for(let o in i)Object.prototype.hasOwnProperty.call(i,o)&&a.push(o);return a},t.find=(i,a)=>{for(let o of i)if(a(o))return o},t.isInteger=typeof Number.isInteger=="function"?i=>Number.isInteger(i):i=>typeof i=="number"&&Number.isFinite(i)&&Math.floor(i)===i;function r(i,a=" | "){return i.map(o=>typeof o=="string"?`'${o}'`:o).join(a)}t.joinValues=r,t.jsonStringifyReplacer=(i,a)=>typeof a=="bigint"?a.toString():a})(x||(x={}));var Ur;(function(t){t.mergeShapes=(e,n)=>({...e,...n})})(Ur||(Ur={}));var g=x.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),W=t=>{switch(typeof t){case"undefined":return g.undefined;case"string":return g.string;case"number":return Number.isNaN(t)?g.nan:g.number;case"boolean":return g.boolean;case"function":return g.function;case"bigint":return g.bigint;case"symbol":return g.symbol;case"object":return Array.isArray(t)?g.array:t===null?g.null:t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?g.promise:typeof Map<"u"&&t instanceof Map?g.map:typeof Set<"u"&&t instanceof Set?g.set:typeof Date<"u"&&t instanceof Date?g.date:g.object;default:return g.unknown}};var f=x.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),mu=t=>JSON.stringify(t,null,2).replace(/"([^"]+)":/g,"$1:"),F=class t extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};let n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=e}format(e){let n=e||function(a){return a.message},r={_errors:[]},i=a=>{for(let o of a.issues)if(o.code==="invalid_union")o.unionErrors.map(i);else if(o.code==="invalid_return_type")i(o.returnTypeError);else if(o.code==="invalid_arguments")i(o.argumentsError);else if(o.path.length===0)r._errors.push(n(o));else{let s=r,d=0;for(;d<o.path.length;){let u=o.path[d];d===o.path.length-1?(s[u]=s[u]||{_errors:[]},s[u]._errors.push(n(o))):s[u]=s[u]||{_errors:[]},s=s[u],d++}}};return i(this),r}static assert(e){if(!(e instanceof t))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,x.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=n=>n.message){let n={},r=[];for(let i of this.issues)if(i.path.length>0){let a=i.path[0];n[a]=n[a]||[],n[a].push(e(i))}else r.push(e(i));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}};F.create=t=>new F(t);var gu=(t,e)=>{let n;switch(t.code){case f.invalid_type:t.received===g.undefined?n="Required":n=`Expected ${t.expected}, received ${t.received}`;break;case f.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(t.expected,x.jsonStringifyReplacer)}`;break;case f.unrecognized_keys:n=`Unrecognized key(s) in object: ${x.joinValues(t.keys,", ")}`;break;case f.invalid_union:n="Invalid input";break;case f.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${x.joinValues(t.options)}`;break;case f.invalid_enum_value:n=`Invalid enum value. Expected ${x.joinValues(t.options)}, received '${t.received}'`;break;case f.invalid_arguments:n="Invalid function arguments";break;case f.invalid_return_type:n="Invalid function return type";break;case f.invalid_date:n="Invalid date";break;case f.invalid_string:typeof t.validation=="object"?"includes"in t.validation?(n=`Invalid input: must include "${t.validation.includes}"`,typeof t.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${t.validation.position}`)):"startsWith"in t.validation?n=`Invalid input: must start with "${t.validation.startsWith}"`:"endsWith"in t.validation?n=`Invalid input: must end with "${t.validation.endsWith}"`:x.assertNever(t.validation):t.validation!=="regex"?n=`Invalid ${t.validation}`:n="Invalid";break;case f.too_small:t.type==="array"?n=`Array must contain ${t.exact?"exactly":t.inclusive?"at least":"more than"} ${t.minimum} element(s)`:t.type==="string"?n=`String must contain ${t.exact?"exactly":t.inclusive?"at least":"over"} ${t.minimum} character(s)`:t.type==="number"?n=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="bigint"?n=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="date"?n=`Date must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(t.minimum))}`:n="Invalid input";break;case f.too_big:t.type==="array"?n=`Array must contain ${t.exact?"exactly":t.inclusive?"at most":"less than"} ${t.maximum} element(s)`:t.type==="string"?n=`String must contain ${t.exact?"exactly":t.inclusive?"at most":"under"} ${t.maximum} character(s)`:t.type==="number"?n=`Number must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="bigint"?n=`BigInt must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="date"?n=`Date must be ${t.exact?"exactly":t.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(t.maximum))}`:n="Invalid input";break;case f.custom:n="Invalid input";break;case f.invalid_intersection_types:n="Intersection results could not be merged";break;case f.not_multiple_of:n=`Number must be a multiple of ${t.multipleOf}`;break;case f.not_finite:n="Number must be finite";break;default:n=e.defaultError,x.assertNever(t)}return{message:n}},ee=gu;var Fa=ee;function hu(t){Fa=t}function We(){return Fa}var Pt=t=>{let{data:e,path:n,errorMaps:r,issueData:i}=t,a=[...n,...i.path||[]],o={...i,path:a};if(i.message!==void 0)return{...i,path:a,message:i.message};let s="",d=r.filter(u=>!!u).slice().reverse();for(let u of d)s=u(o,{data:e,defaultError:s}).message;return{...i,path:a,message:s}},$u=[];function m(t,e){let n=We(),r=Pt({issueData:e,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,n,n===ee?void 0:ee].filter(i=>!!i)});t.common.issues.push(r)}var N=class t{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,n){let r=[];for(let i of n){if(i.status==="aborted")return v;i.status==="dirty"&&e.dirty(),r.push(i.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,n){let r=[];for(let i of n){let a=await i.key,o=await i.value;r.push({key:a,value:o})}return t.mergeObjectSync(e,r)}static mergeObjectSync(e,n){let r={};for(let i of n){let{key:a,value:o}=i;if(a.status==="aborted"||o.status==="aborted")return v;a.status==="dirty"&&e.dirty(),o.status==="dirty"&&e.dirty(),a.value!=="__proto__"&&(typeof o.value<"u"||i.alwaysSet)&&(r[a.value]=o.value)}return{status:e.value,value:r}}},v=Object.freeze({status:"aborted"}),he=t=>({status:"dirty",value:t}),O=t=>({status:"valid",value:t}),$n=t=>t.status==="aborted",yn=t=>t.status==="dirty",de=t=>t.status==="valid",Ye=t=>typeof Promise<"u"&&t instanceof Promise;var $;(function(t){t.errToObj=e=>typeof e=="string"?{message:e}:e||{},t.toString=e=>typeof e=="string"?e:e?.message})($||($={}));var B=class{constructor(e,n,r,i){this._cachedPath=[],this.parent=e,this.data=n,this._path=r,this._key=i}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}},Da=(t,e)=>{if(de(e))return{success:!0,data:e.value};if(!t.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let n=new F(t.common.issues);return this._error=n,this._error}}};function C(t){if(!t)return{};let{errorMap:e,invalid_type_error:n,required_error:r,description:i}=t;if(e&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:i}:{errorMap:(o,s)=>{let{message:d}=t;return o.code==="invalid_enum_value"?{message:d??s.defaultError}:typeof s.data>"u"?{message:d??r??s.defaultError}:o.code!=="invalid_type"?{message:s.defaultError}:{message:d??n??s.defaultError}},description:i}}var S=class{get description(){return this._def.description}_getType(e){return W(e.data)}_getOrReturnCtx(e,n){return n||{common:e.parent.common,data:e.data,parsedType:W(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new N,ctx:{common:e.parent.common,data:e.data,parsedType:W(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let n=this._parse(e);if(Ye(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(e){let n=this._parse(e);return Promise.resolve(n)}parse(e,n){let r=this.safeParse(e,n);if(r.success)return r.data;throw r.error}safeParse(e,n){let r={common:{issues:[],async:n?.async??!1,contextualErrorMap:n?.errorMap},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:W(e)},i=this._parseSync({data:e,path:r.path,parent:r});return Da(r,i)}"~validate"(e){let n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:W(e)};if(!this["~standard"].async)try{let r=this._parseSync({data:e,path:[],parent:n});return de(r)?{value:r.value}:{issues:n.common.issues}}catch(r){r?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:n}).then(r=>de(r)?{value:r.value}:{issues:n.common.issues})}async parseAsync(e,n){let r=await this.safeParseAsync(e,n);if(r.success)return r.data;throw r.error}async safeParseAsync(e,n){let r={common:{issues:[],contextualErrorMap:n?.errorMap,async:!0},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:W(e)},i=this._parse({data:e,path:r.path,parent:r}),a=await(Ye(i)?i:Promise.resolve(i));return Da(r,a)}refine(e,n){let r=i=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(i):n;return this._refinement((i,a)=>{let o=e(i),s=()=>a.addIssue({code:f.custom,...r(i)});return typeof Promise<"u"&&o instanceof Promise?o.then(d=>d?!0:(s(),!1)):o?!0:(s(),!1)})}refinement(e,n){return this._refinement((r,i)=>e(r)?!0:(i.addIssue(typeof n=="function"?n(r,i):n),!1))}_refinement(e){return new K({schema:this,typeName:b.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return U.create(this,this._def)}nullable(){return X.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return re.create(this)}promise(){return le.create(this,this._def)}or(e){return Se.create([this,e],this._def)}and(e){return xe.create(this,e,this._def)}transform(e){return new K({...C(this._def),schema:this,typeName:b.ZodEffects,effect:{type:"transform",transform:e}})}default(e){let n=typeof e=="function"?e:()=>e;return new Pe({...C(this._def),innerType:this,defaultValue:n,typeName:b.ZodDefault})}brand(){return new Nt({typeName:b.ZodBranded,type:this,...C(this._def)})}catch(e){let n=typeof e=="function"?e:()=>e;return new Ne({...C(this._def),innerType:this,catchValue:n,typeName:b.ZodCatch})}describe(e){let n=this.constructor;return new n({...this._def,description:e})}pipe(e){return It.create(this,e)}readonly(){return Ie.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}},yu=/^c[^\s-]{8,}$/i,vu=/^[0-9a-z]+$/,_u=/^[0-9A-HJKMNP-TV-Z]{26}$/i,bu=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,Cu=/^[a-z0-9_-]{21}$/i,Su=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,xu=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,wu=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Tu="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",Br,ku=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Eu=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,Pu=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,Nu=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Iu=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,Au=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,Va="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",Ru=new RegExp(`^${Va}$`);function ja(t){let e="[0-5]\\d";t.precision?e=`${e}\\.\\d{${t.precision}}`:t.precision==null&&(e=`${e}(\\.\\d+)?`);let n=t.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${e})${n}`}function Ou(t){return new RegExp(`^${ja(t)}$`)}function Ga(t){let e=`${Va}T${ja(t)}`,n=[];return n.push(t.local?"Z?":"Z"),t.offset&&n.push("([+-]\\d{2}:?\\d{2})"),e=`${e}(${n.join("|")})`,new RegExp(`^${e}$`)}function Mu(t,e){return!!((e==="v4"||!e)&&ku.test(t)||(e==="v6"||!e)&&Pu.test(t))}function Fu(t,e){if(!Su.test(t))return!1;try{let[n]=t.split(".");if(!n)return!1;let r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),i=JSON.parse(atob(r));return!(typeof i!="object"||i===null||"typ"in i&&i?.typ!=="JWT"||!i.alg||e&&i.alg!==e)}catch{return!1}}function Du(t,e){return!!((e==="v4"||!e)&&Eu.test(t)||(e==="v6"||!e)&&Nu.test(t))}var ue=class t extends S{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==g.string){let a=this._getOrReturnCtx(e);return m(a,{code:f.invalid_type,expected:g.string,received:a.parsedType}),v}let r=new N,i;for(let a of this._def.checks)if(a.kind==="min")e.data.length<a.value&&(i=this._getOrReturnCtx(e,i),m(i,{code:f.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),r.dirty());else if(a.kind==="max")e.data.length>a.value&&(i=this._getOrReturnCtx(e,i),m(i,{code:f.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),r.dirty());else if(a.kind==="length"){let o=e.data.length>a.value,s=e.data.length<a.value;(o||s)&&(i=this._getOrReturnCtx(e,i),o?m(i,{code:f.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}):s&&m(i,{code:f.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}),r.dirty())}else if(a.kind==="email")wu.test(e.data)||(i=this._getOrReturnCtx(e,i),m(i,{validation:"email",code:f.invalid_string,message:a.message}),r.dirty());else if(a.kind==="emoji")Br||(Br=new RegExp(Tu,"u")),Br.test(e.data)||(i=this._getOrReturnCtx(e,i),m(i,{validation:"emoji",code:f.invalid_string,message:a.message}),r.dirty());else if(a.kind==="uuid")bu.test(e.data)||(i=this._getOrReturnCtx(e,i),m(i,{validation:"uuid",code:f.invalid_string,message:a.message}),r.dirty());else if(a.kind==="nanoid")Cu.test(e.data)||(i=this._getOrReturnCtx(e,i),m(i,{validation:"nanoid",code:f.invalid_string,message:a.message}),r.dirty());else if(a.kind==="cuid")yu.test(e.data)||(i=this._getOrReturnCtx(e,i),m(i,{validation:"cuid",code:f.invalid_string,message:a.message}),r.dirty());else if(a.kind==="cuid2")vu.test(e.data)||(i=this._getOrReturnCtx(e,i),m(i,{validation:"cuid2",code:f.invalid_string,message:a.message}),r.dirty());else if(a.kind==="ulid")_u.test(e.data)||(i=this._getOrReturnCtx(e,i),m(i,{validation:"ulid",code:f.invalid_string,message:a.message}),r.dirty());else if(a.kind==="url")try{new URL(e.data)}catch{i=this._getOrReturnCtx(e,i),m(i,{validation:"url",code:f.invalid_string,message:a.message}),r.dirty()}else a.kind==="regex"?(a.regex.lastIndex=0,a.regex.test(e.data)||(i=this._getOrReturnCtx(e,i),m(i,{validation:"regex",code:f.invalid_string,message:a.message}),r.dirty())):a.kind==="trim"?e.data=e.data.trim():a.kind==="includes"?e.data.includes(a.value,a.position)||(i=this._getOrReturnCtx(e,i),m(i,{code:f.invalid_string,validation:{includes:a.value,position:a.position},message:a.message}),r.dirty()):a.kind==="toLowerCase"?e.data=e.data.toLowerCase():a.kind==="toUpperCase"?e.data=e.data.toUpperCase():a.kind==="startsWith"?e.data.startsWith(a.value)||(i=this._getOrReturnCtx(e,i),m(i,{code:f.invalid_string,validation:{startsWith:a.value},message:a.message}),r.dirty()):a.kind==="endsWith"?e.data.endsWith(a.value)||(i=this._getOrReturnCtx(e,i),m(i,{code:f.invalid_string,validation:{endsWith:a.value},message:a.message}),r.dirty()):a.kind==="datetime"?Ga(a).test(e.data)||(i=this._getOrReturnCtx(e,i),m(i,{code:f.invalid_string,validation:"datetime",message:a.message}),r.dirty()):a.kind==="date"?Ru.test(e.data)||(i=this._getOrReturnCtx(e,i),m(i,{code:f.invalid_string,validation:"date",message:a.message}),r.dirty()):a.kind==="time"?Ou(a).test(e.data)||(i=this._getOrReturnCtx(e,i),m(i,{code:f.invalid_string,validation:"time",message:a.message}),r.dirty()):a.kind==="duration"?xu.test(e.data)||(i=this._getOrReturnCtx(e,i),m(i,{validation:"duration",code:f.invalid_string,message:a.message}),r.dirty()):a.kind==="ip"?Mu(e.data,a.version)||(i=this._getOrReturnCtx(e,i),m(i,{validation:"ip",code:f.invalid_string,message:a.message}),r.dirty()):a.kind==="jwt"?Fu(e.data,a.alg)||(i=this._getOrReturnCtx(e,i),m(i,{validation:"jwt",code:f.invalid_string,message:a.message}),r.dirty()):a.kind==="cidr"?Du(e.data,a.version)||(i=this._getOrReturnCtx(e,i),m(i,{validation:"cidr",code:f.invalid_string,message:a.message}),r.dirty()):a.kind==="base64"?Iu.test(e.data)||(i=this._getOrReturnCtx(e,i),m(i,{validation:"base64",code:f.invalid_string,message:a.message}),r.dirty()):a.kind==="base64url"?Au.test(e.data)||(i=this._getOrReturnCtx(e,i),m(i,{validation:"base64url",code:f.invalid_string,message:a.message}),r.dirty()):x.assertNever(a);return{status:r.value,value:e.data}}_regex(e,n,r){return this.refinement(i=>e.test(i),{validation:n,code:f.invalid_string,...$.errToObj(r)})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...$.errToObj(e)})}url(e){return this._addCheck({kind:"url",...$.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...$.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...$.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...$.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...$.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...$.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...$.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...$.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...$.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...$.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...$.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...$.errToObj(e)})}datetime(e){return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof e?.precision>"u"?null:e?.precision,offset:e?.offset??!1,local:e?.local??!1,...$.errToObj(e?.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return typeof e=="string"?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:typeof e?.precision>"u"?null:e?.precision,...$.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...$.errToObj(e)})}regex(e,n){return this._addCheck({kind:"regex",regex:e,...$.errToObj(n)})}includes(e,n){return this._addCheck({kind:"includes",value:e,position:n?.position,...$.errToObj(n?.message)})}startsWith(e,n){return this._addCheck({kind:"startsWith",value:e,...$.errToObj(n)})}endsWith(e,n){return this._addCheck({kind:"endsWith",value:e,...$.errToObj(n)})}min(e,n){return this._addCheck({kind:"min",value:e,...$.errToObj(n)})}max(e,n){return this._addCheck({kind:"max",value:e,...$.errToObj(n)})}length(e,n){return this._addCheck({kind:"length",value:e,...$.errToObj(n)})}nonempty(e){return this.min(1,$.errToObj(e))}trim(){return new t({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new t({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new t({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isDate(){return!!this._def.checks.find(e=>e.kind==="date")}get isTime(){return!!this._def.checks.find(e=>e.kind==="time")}get isDuration(){return!!this._def.checks.find(e=>e.kind==="duration")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(e=>e.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get isCIDR(){return!!this._def.checks.find(e=>e.kind==="cidr")}get isBase64(){return!!this._def.checks.find(e=>e.kind==="base64")}get isBase64url(){return!!this._def.checks.find(e=>e.kind==="base64url")}get minLength(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxLength(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}};ue.create=t=>new ue({checks:[],typeName:b.ZodString,coerce:t?.coerce??!1,...C(t)});function Lu(t,e){let n=(t.toString().split(".")[1]||"").length,r=(e.toString().split(".")[1]||"").length,i=n>r?n:r,a=Number.parseInt(t.toFixed(i).replace(".","")),o=Number.parseInt(e.toFixed(i).replace(".",""));return a%o/10**i}var $e=class t extends S{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==g.number){let a=this._getOrReturnCtx(e);return m(a,{code:f.invalid_type,expected:g.number,received:a.parsedType}),v}let r,i=new N;for(let a of this._def.checks)a.kind==="int"?x.isInteger(e.data)||(r=this._getOrReturnCtx(e,r),m(r,{code:f.invalid_type,expected:"integer",received:"float",message:a.message}),i.dirty()):a.kind==="min"?(a.inclusive?e.data<a.value:e.data<=a.value)&&(r=this._getOrReturnCtx(e,r),m(r,{code:f.too_small,minimum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),i.dirty()):a.kind==="max"?(a.inclusive?e.data>a.value:e.data>=a.value)&&(r=this._getOrReturnCtx(e,r),m(r,{code:f.too_big,maximum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),i.dirty()):a.kind==="multipleOf"?Lu(e.data,a.value)!==0&&(r=this._getOrReturnCtx(e,r),m(r,{code:f.not_multiple_of,multipleOf:a.value,message:a.message}),i.dirty()):a.kind==="finite"?Number.isFinite(e.data)||(r=this._getOrReturnCtx(e,r),m(r,{code:f.not_finite,message:a.message}),i.dirty()):x.assertNever(a);return{status:i.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,$.toString(n))}gt(e,n){return this.setLimit("min",e,!1,$.toString(n))}lte(e,n){return this.setLimit("max",e,!0,$.toString(n))}lt(e,n){return this.setLimit("max",e,!1,$.toString(n))}setLimit(e,n,r,i){return new t({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:r,message:$.toString(i)}]})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:$.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:$.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:$.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:$.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:$.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:$.toString(n)})}finite(e){return this._addCheck({kind:"finite",message:$.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:$.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:$.toString(e)})}get minValue(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind==="int"||e.kind==="multipleOf"&&x.isInteger(e.value))}get isFinite(){let e=null,n=null;for(let r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(e===null||r.value<e)&&(e=r.value)}return Number.isFinite(n)&&Number.isFinite(e)}};$e.create=t=>new $e({checks:[],typeName:b.ZodNumber,coerce:t?.coerce||!1,...C(t)});var ye=class t extends S{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==g.bigint)return this._getInvalidInput(e);let r,i=new N;for(let a of this._def.checks)a.kind==="min"?(a.inclusive?e.data<a.value:e.data<=a.value)&&(r=this._getOrReturnCtx(e,r),m(r,{code:f.too_small,type:"bigint",minimum:a.value,inclusive:a.inclusive,message:a.message}),i.dirty()):a.kind==="max"?(a.inclusive?e.data>a.value:e.data>=a.value)&&(r=this._getOrReturnCtx(e,r),m(r,{code:f.too_big,type:"bigint",maximum:a.value,inclusive:a.inclusive,message:a.message}),i.dirty()):a.kind==="multipleOf"?e.data%a.value!==BigInt(0)&&(r=this._getOrReturnCtx(e,r),m(r,{code:f.not_multiple_of,multipleOf:a.value,message:a.message}),i.dirty()):x.assertNever(a);return{status:i.value,value:e.data}}_getInvalidInput(e){let n=this._getOrReturnCtx(e);return m(n,{code:f.invalid_type,expected:g.bigint,received:n.parsedType}),v}gte(e,n){return this.setLimit("min",e,!0,$.toString(n))}gt(e,n){return this.setLimit("min",e,!1,$.toString(n))}lte(e,n){return this.setLimit("max",e,!0,$.toString(n))}lt(e,n){return this.setLimit("max",e,!1,$.toString(n))}setLimit(e,n,r,i){return new t({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:r,message:$.toString(i)}]})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:$.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:$.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:$.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:$.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:$.toString(n)})}get minValue(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}};ye.create=t=>new ye({checks:[],typeName:b.ZodBigInt,coerce:t?.coerce??!1,...C(t)});var ve=class extends S{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==g.boolean){let r=this._getOrReturnCtx(e);return m(r,{code:f.invalid_type,expected:g.boolean,received:r.parsedType}),v}return O(e.data)}};ve.create=t=>new ve({typeName:b.ZodBoolean,coerce:t?.coerce||!1,...C(t)});var _e=class t extends S{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==g.date){let a=this._getOrReturnCtx(e);return m(a,{code:f.invalid_type,expected:g.date,received:a.parsedType}),v}if(Number.isNaN(e.data.getTime())){let a=this._getOrReturnCtx(e);return m(a,{code:f.invalid_date}),v}let r=new N,i;for(let a of this._def.checks)a.kind==="min"?e.data.getTime()<a.value&&(i=this._getOrReturnCtx(e,i),m(i,{code:f.too_small,message:a.message,inclusive:!0,exact:!1,minimum:a.value,type:"date"}),r.dirty()):a.kind==="max"?e.data.getTime()>a.value&&(i=this._getOrReturnCtx(e,i),m(i,{code:f.too_big,message:a.message,inclusive:!0,exact:!1,maximum:a.value,type:"date"}),r.dirty()):x.assertNever(a);return{status:r.value,value:new Date(e.data.getTime())}}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}min(e,n){return this._addCheck({kind:"min",value:e.getTime(),message:$.toString(n)})}max(e,n){return this._addCheck({kind:"max",value:e.getTime(),message:$.toString(n)})}get minDate(){let e=null;for(let n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(let n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e!=null?new Date(e):null}};_e.create=t=>new _e({checks:[],coerce:t?.coerce||!1,typeName:b.ZodDate,...C(t)});var Qe=class extends S{_parse(e){if(this._getType(e)!==g.symbol){let r=this._getOrReturnCtx(e);return m(r,{code:f.invalid_type,expected:g.symbol,received:r.parsedType}),v}return O(e.data)}};Qe.create=t=>new Qe({typeName:b.ZodSymbol,...C(t)});var be=class extends S{_parse(e){if(this._getType(e)!==g.undefined){let r=this._getOrReturnCtx(e);return m(r,{code:f.invalid_type,expected:g.undefined,received:r.parsedType}),v}return O(e.data)}};be.create=t=>new be({typeName:b.ZodUndefined,...C(t)});var Ce=class extends S{_parse(e){if(this._getType(e)!==g.null){let r=this._getOrReturnCtx(e);return m(r,{code:f.invalid_type,expected:g.null,received:r.parsedType}),v}return O(e.data)}};Ce.create=t=>new Ce({typeName:b.ZodNull,...C(t)});var ce=class extends S{constructor(){super(...arguments),this._any=!0}_parse(e){return O(e.data)}};ce.create=t=>new ce({typeName:b.ZodAny,...C(t)});var ne=class extends S{constructor(){super(...arguments),this._unknown=!0}_parse(e){return O(e.data)}};ne.create=t=>new ne({typeName:b.ZodUnknown,...C(t)});var z=class extends S{_parse(e){let n=this._getOrReturnCtx(e);return m(n,{code:f.invalid_type,expected:g.never,received:n.parsedType}),v}};z.create=t=>new z({typeName:b.ZodNever,...C(t)});var Je=class extends S{_parse(e){if(this._getType(e)!==g.undefined){let r=this._getOrReturnCtx(e);return m(r,{code:f.invalid_type,expected:g.void,received:r.parsedType}),v}return O(e.data)}};Je.create=t=>new Je({typeName:b.ZodVoid,...C(t)});var re=class t extends S{_parse(e){let{ctx:n,status:r}=this._processInputParams(e),i=this._def;if(n.parsedType!==g.array)return m(n,{code:f.invalid_type,expected:g.array,received:n.parsedType}),v;if(i.exactLength!==null){let o=n.data.length>i.exactLength.value,s=n.data.length<i.exactLength.value;(o||s)&&(m(n,{code:o?f.too_big:f.too_small,minimum:s?i.exactLength.value:void 0,maximum:o?i.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:i.exactLength.message}),r.dirty())}if(i.minLength!==null&&n.data.length<i.minLength.value&&(m(n,{code:f.too_small,minimum:i.minLength.value,type:"array",inclusive:!0,exact:!1,message:i.minLength.message}),r.dirty()),i.maxLength!==null&&n.data.length>i.maxLength.value&&(m(n,{code:f.too_big,maximum:i.maxLength.value,type:"array",inclusive:!0,exact:!1,message:i.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((o,s)=>i.type._parseAsync(new B(n,o,n.path,s)))).then(o=>N.mergeArray(r,o));let a=[...n.data].map((o,s)=>i.type._parseSync(new B(n,o,n.path,s)));return N.mergeArray(r,a)}get element(){return this._def.type}min(e,n){return new t({...this._def,minLength:{value:e,message:$.toString(n)}})}max(e,n){return new t({...this._def,maxLength:{value:e,message:$.toString(n)}})}length(e,n){return new t({...this._def,exactLength:{value:e,message:$.toString(n)}})}nonempty(e){return this.min(1,e)}};re.create=(t,e)=>new re({type:t,minLength:null,maxLength:null,exactLength:null,typeName:b.ZodArray,...C(e)});function Xe(t){if(t instanceof D){let e={};for(let n in t.shape){let r=t.shape[n];e[n]=U.create(Xe(r))}return new D({...t._def,shape:()=>e})}else return t instanceof re?new re({...t._def,type:Xe(t.element)}):t instanceof U?U.create(Xe(t.unwrap())):t instanceof X?X.create(Xe(t.unwrap())):t instanceof Y?Y.create(t.items.map(e=>Xe(e))):t}var D=class t extends S{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let e=this._def.shape(),n=x.objectKeys(e);return this._cached={shape:e,keys:n},this._cached}_parse(e){if(this._getType(e)!==g.object){let u=this._getOrReturnCtx(e);return m(u,{code:f.invalid_type,expected:g.object,received:u.parsedType}),v}let{status:r,ctx:i}=this._processInputParams(e),{shape:a,keys:o}=this._getCached(),s=[];if(!(this._def.catchall instanceof z&&this._def.unknownKeys==="strip"))for(let u in i.data)o.includes(u)||s.push(u);let d=[];for(let u of o){let l=a[u],p=i.data[u];d.push({key:{status:"valid",value:u},value:l._parse(new B(i,p,i.path,u)),alwaysSet:u in i.data})}if(this._def.catchall instanceof z){let u=this._def.unknownKeys;if(u==="passthrough")for(let l of s)d.push({key:{status:"valid",value:l},value:{status:"valid",value:i.data[l]}});else if(u==="strict")s.length>0&&(m(i,{code:f.unrecognized_keys,keys:s}),r.dirty());else if(u!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{let u=this._def.catchall;for(let l of s){let p=i.data[l];d.push({key:{status:"valid",value:l},value:u._parse(new B(i,p,i.path,l)),alwaysSet:l in i.data})}}return i.common.async?Promise.resolve().then(async()=>{let u=[];for(let l of d){let p=await l.key,h=await l.value;u.push({key:p,value:h,alwaysSet:l.alwaysSet})}return u}).then(u=>N.mergeObjectSync(r,u)):N.mergeObjectSync(r,d)}get shape(){return this._def.shape()}strict(e){return $.errToObj,new t({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(n,r)=>{let i=this._def.errorMap?.(n,r).message??r.defaultError;return n.code==="unrecognized_keys"?{message:$.errToObj(e).message??i}:{message:i}}}:{}})}strip(){return new t({...this._def,unknownKeys:"strip"})}passthrough(){return new t({...this._def,unknownKeys:"passthrough"})}extend(e){return new t({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new t({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:b.ZodObject})}setKey(e,n){return this.augment({[e]:n})}catchall(e){return new t({...this._def,catchall:e})}pick(e){let n={};for(let r of x.objectKeys(e))e[r]&&this.shape[r]&&(n[r]=this.shape[r]);return new t({...this._def,shape:()=>n})}omit(e){let n={};for(let r of x.objectKeys(this.shape))e[r]||(n[r]=this.shape[r]);return new t({...this._def,shape:()=>n})}deepPartial(){return Xe(this)}partial(e){let n={};for(let r of x.objectKeys(this.shape)){let i=this.shape[r];e&&!e[r]?n[r]=i:n[r]=i.optional()}return new t({...this._def,shape:()=>n})}required(e){let n={};for(let r of x.objectKeys(this.shape))if(e&&!e[r])n[r]=this.shape[r];else{let a=this.shape[r];for(;a instanceof U;)a=a._def.innerType;n[r]=a}return new t({...this._def,shape:()=>n})}keyof(){return Ua(x.objectKeys(this.shape))}};D.create=(t,e)=>new D({shape:()=>t,unknownKeys:"strip",catchall:z.create(),typeName:b.ZodObject,...C(e)});D.strictCreate=(t,e)=>new D({shape:()=>t,unknownKeys:"strict",catchall:z.create(),typeName:b.ZodObject,...C(e)});D.lazycreate=(t,e)=>new D({shape:t,unknownKeys:"strip",catchall:z.create(),typeName:b.ZodObject,...C(e)});var Se=class extends S{_parse(e){let{ctx:n}=this._processInputParams(e),r=this._def.options;function i(a){for(let s of a)if(s.result.status==="valid")return s.result;for(let s of a)if(s.result.status==="dirty")return n.common.issues.push(...s.ctx.common.issues),s.result;let o=a.map(s=>new F(s.ctx.common.issues));return m(n,{code:f.invalid_union,unionErrors:o}),v}if(n.common.async)return Promise.all(r.map(async a=>{let o={...n,common:{...n.common,issues:[]},parent:null};return{result:await a._parseAsync({data:n.data,path:n.path,parent:o}),ctx:o}})).then(i);{let a,o=[];for(let d of r){let u={...n,common:{...n.common,issues:[]},parent:null},l=d._parseSync({data:n.data,path:n.path,parent:u});if(l.status==="valid")return l;l.status==="dirty"&&!a&&(a={result:l,ctx:u}),u.common.issues.length&&o.push(u.common.issues)}if(a)return n.common.issues.push(...a.ctx.common.issues),a.result;let s=o.map(d=>new F(d));return m(n,{code:f.invalid_union,unionErrors:s}),v}}get options(){return this._def.options}};Se.create=(t,e)=>new Se({options:t,typeName:b.ZodUnion,...C(e)});var te=t=>t instanceof we?te(t.schema):t instanceof K?te(t.innerType()):t instanceof Te?[t.value]:t instanceof ke?t.options:t instanceof Ee?x.objectValues(t.enum):t instanceof Pe?te(t._def.innerType):t instanceof be?[void 0]:t instanceof Ce?[null]:t instanceof U?[void 0,...te(t.unwrap())]:t instanceof X?[null,...te(t.unwrap())]:t instanceof Nt||t instanceof Ie?te(t.unwrap()):t instanceof Ne?te(t._def.innerType):[],vn=class t extends S{_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==g.object)return m(n,{code:f.invalid_type,expected:g.object,received:n.parsedType}),v;let r=this.discriminator,i=n.data[r],a=this.optionsMap.get(i);return a?n.common.async?a._parseAsync({data:n.data,path:n.path,parent:n}):a._parseSync({data:n.data,path:n.path,parent:n}):(m(n,{code:f.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),v)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,n,r){let i=new Map;for(let a of n){let o=te(a.shape[e]);if(!o.length)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let s of o){if(i.has(s))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(s)}`);i.set(s,a)}}return new t({typeName:b.ZodDiscriminatedUnion,discriminator:e,options:n,optionsMap:i,...C(r)})}};function Kr(t,e){let n=W(t),r=W(e);if(t===e)return{valid:!0,data:t};if(n===g.object&&r===g.object){let i=x.objectKeys(e),a=x.objectKeys(t).filter(s=>i.indexOf(s)!==-1),o={...t,...e};for(let s of a){let d=Kr(t[s],e[s]);if(!d.valid)return{valid:!1};o[s]=d.data}return{valid:!0,data:o}}else if(n===g.array&&r===g.array){if(t.length!==e.length)return{valid:!1};let i=[];for(let a=0;a<t.length;a++){let o=t[a],s=e[a],d=Kr(o,s);if(!d.valid)return{valid:!1};i.push(d.data)}return{valid:!0,data:i}}else return n===g.date&&r===g.date&&+t==+e?{valid:!0,data:t}:{valid:!1}}var xe=class extends S{_parse(e){let{status:n,ctx:r}=this._processInputParams(e),i=(a,o)=>{if($n(a)||$n(o))return v;let s=Kr(a.value,o.value);return s.valid?((yn(a)||yn(o))&&n.dirty(),{status:n.value,value:s.data}):(m(r,{code:f.invalid_intersection_types}),v)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([a,o])=>i(a,o)):i(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}};xe.create=(t,e,n)=>new xe({left:t,right:e,typeName:b.ZodIntersection,...C(n)});var Y=class t extends S{_parse(e){let{status:n,ctx:r}=this._processInputParams(e);if(r.parsedType!==g.array)return m(r,{code:f.invalid_type,expected:g.array,received:r.parsedType}),v;if(r.data.length<this._def.items.length)return m(r,{code:f.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),v;!this._def.rest&&r.data.length>this._def.items.length&&(m(r,{code:f.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());let a=[...r.data].map((o,s)=>{let d=this._def.items[s]||this._def.rest;return d?d._parse(new B(r,o,r.path,s)):null}).filter(o=>!!o);return r.common.async?Promise.all(a).then(o=>N.mergeArray(n,o)):N.mergeArray(n,a)}get items(){return this._def.items}rest(e){return new t({...this._def,rest:e})}};Y.create=(t,e)=>{if(!Array.isArray(t))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Y({items:t,typeName:b.ZodTuple,rest:null,...C(e)})};var _n=class t extends S{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:n,ctx:r}=this._processInputParams(e);if(r.parsedType!==g.object)return m(r,{code:f.invalid_type,expected:g.object,received:r.parsedType}),v;let i=[],a=this._def.keyType,o=this._def.valueType;for(let s in r.data)i.push({key:a._parse(new B(r,s,r.path,s)),value:o._parse(new B(r,r.data[s],r.path,s)),alwaysSet:s in r.data});return r.common.async?N.mergeObjectAsync(n,i):N.mergeObjectSync(n,i)}get element(){return this._def.valueType}static create(e,n,r){return n instanceof S?new t({keyType:e,valueType:n,typeName:b.ZodRecord,...C(r)}):new t({keyType:ue.create(),valueType:e,typeName:b.ZodRecord,...C(n)})}},et=class extends S{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:n,ctx:r}=this._processInputParams(e);if(r.parsedType!==g.map)return m(r,{code:f.invalid_type,expected:g.map,received:r.parsedType}),v;let i=this._def.keyType,a=this._def.valueType,o=[...r.data.entries()].map(([s,d],u)=>({key:i._parse(new B(r,s,r.path,[u,"key"])),value:a._parse(new B(r,d,r.path,[u,"value"]))}));if(r.common.async){let s=new Map;return Promise.resolve().then(async()=>{for(let d of o){let u=await d.key,l=await d.value;if(u.status==="aborted"||l.status==="aborted")return v;(u.status==="dirty"||l.status==="dirty")&&n.dirty(),s.set(u.value,l.value)}return{status:n.value,value:s}})}else{let s=new Map;for(let d of o){let u=d.key,l=d.value;if(u.status==="aborted"||l.status==="aborted")return v;(u.status==="dirty"||l.status==="dirty")&&n.dirty(),s.set(u.value,l.value)}return{status:n.value,value:s}}}};et.create=(t,e,n)=>new et({valueType:e,keyType:t,typeName:b.ZodMap,...C(n)});var tt=class t extends S{_parse(e){let{status:n,ctx:r}=this._processInputParams(e);if(r.parsedType!==g.set)return m(r,{code:f.invalid_type,expected:g.set,received:r.parsedType}),v;let i=this._def;i.minSize!==null&&r.data.size<i.minSize.value&&(m(r,{code:f.too_small,minimum:i.minSize.value,type:"set",inclusive:!0,exact:!1,message:i.minSize.message}),n.dirty()),i.maxSize!==null&&r.data.size>i.maxSize.value&&(m(r,{code:f.too_big,maximum:i.maxSize.value,type:"set",inclusive:!0,exact:!1,message:i.maxSize.message}),n.dirty());let a=this._def.valueType;function o(d){let u=new Set;for(let l of d){if(l.status==="aborted")return v;l.status==="dirty"&&n.dirty(),u.add(l.value)}return{status:n.value,value:u}}let s=[...r.data.values()].map((d,u)=>a._parse(new B(r,d,r.path,u)));return r.common.async?Promise.all(s).then(d=>o(d)):o(s)}min(e,n){return new t({...this._def,minSize:{value:e,message:$.toString(n)}})}max(e,n){return new t({...this._def,maxSize:{value:e,message:$.toString(n)}})}size(e,n){return this.min(e,n).max(e,n)}nonempty(e){return this.min(1,e)}};tt.create=(t,e)=>new tt({valueType:t,minSize:null,maxSize:null,typeName:b.ZodSet,...C(e)});var bn=class t extends S{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==g.function)return m(n,{code:f.invalid_type,expected:g.function,received:n.parsedType}),v;function r(s,d){return Pt({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,We(),ee].filter(u=>!!u),issueData:{code:f.invalid_arguments,argumentsError:d}})}function i(s,d){return Pt({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,We(),ee].filter(u=>!!u),issueData:{code:f.invalid_return_type,returnTypeError:d}})}let a={errorMap:n.common.contextualErrorMap},o=n.data;if(this._def.returns instanceof le){let s=this;return O(async function(...d){let u=new F([]),l=await s._def.args.parseAsync(d,a).catch(y=>{throw u.addIssue(r(d,y)),u}),p=await Reflect.apply(o,this,l);return await s._def.returns._def.type.parseAsync(p,a).catch(y=>{throw u.addIssue(i(p,y)),u})})}else{let s=this;return O(function(...d){let u=s._def.args.safeParse(d,a);if(!u.success)throw new F([r(d,u.error)]);let l=Reflect.apply(o,this,u.data),p=s._def.returns.safeParse(l,a);if(!p.success)throw new F([i(l,p.error)]);return p.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new t({...this._def,args:Y.create(e).rest(ne.create())})}returns(e){return new t({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,n,r){return new t({args:e||Y.create([]).rest(ne.create()),returns:n||ne.create(),typeName:b.ZodFunction,...C(r)})}},we=class extends S{get schema(){return this._def.getter()}_parse(e){let{ctx:n}=this._processInputParams(e);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}};we.create=(t,e)=>new we({getter:t,typeName:b.ZodLazy,...C(e)});var Te=class extends S{_parse(e){if(e.data!==this._def.value){let n=this._getOrReturnCtx(e);return m(n,{received:n.data,code:f.invalid_literal,expected:this._def.value}),v}return{status:"valid",value:e.data}}get value(){return this._def.value}};Te.create=(t,e)=>new Te({value:t,typeName:b.ZodLiteral,...C(e)});function Ua(t,e){return new ke({values:t,typeName:b.ZodEnum,...C(e)})}var ke=class t extends S{_parse(e){if(typeof e.data!="string"){let n=this._getOrReturnCtx(e),r=this._def.values;return m(n,{expected:x.joinValues(r),received:n.parsedType,code:f.invalid_type}),v}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){let n=this._getOrReturnCtx(e),r=this._def.values;return m(n,{received:n.data,code:f.invalid_enum_value,options:r}),v}return O(e.data)}get options(){return this._def.values}get enum(){let e={};for(let n of this._def.values)e[n]=n;return e}get Values(){let e={};for(let n of this._def.values)e[n]=n;return e}get Enum(){let e={};for(let n of this._def.values)e[n]=n;return e}extract(e,n=this._def){return t.create(e,{...this._def,...n})}exclude(e,n=this._def){return t.create(this.options.filter(r=>!e.includes(r)),{...this._def,...n})}};ke.create=Ua;var Ee=class extends S{_parse(e){let n=x.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(e);if(r.parsedType!==g.string&&r.parsedType!==g.number){let i=x.objectValues(n);return m(r,{expected:x.joinValues(i),received:r.parsedType,code:f.invalid_type}),v}if(this._cache||(this._cache=new Set(x.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){let i=x.objectValues(n);return m(r,{received:r.data,code:f.invalid_enum_value,options:i}),v}return O(e.data)}get enum(){return this._def.values}};Ee.create=(t,e)=>new Ee({values:t,typeName:b.ZodNativeEnum,...C(e)});var le=class extends S{unwrap(){return this._def.type}_parse(e){let{ctx:n}=this._processInputParams(e);if(n.parsedType!==g.promise&&n.common.async===!1)return m(n,{code:f.invalid_type,expected:g.promise,received:n.parsedType}),v;let r=n.parsedType===g.promise?n.data:Promise.resolve(n.data);return O(r.then(i=>this._def.type.parseAsync(i,{path:n.path,errorMap:n.common.contextualErrorMap})))}};le.create=(t,e)=>new le({type:t,typeName:b.ZodPromise,...C(e)});var K=class extends S{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===b.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:n,ctx:r}=this._processInputParams(e),i=this._def.effect||null,a={addIssue:o=>{m(r,o),o.fatal?n.abort():n.dirty()},get path(){return r.path}};if(a.addIssue=a.addIssue.bind(a),i.type==="preprocess"){let o=i.transform(r.data,a);if(r.common.async)return Promise.resolve(o).then(async s=>{if(n.value==="aborted")return v;let d=await this._def.schema._parseAsync({data:s,path:r.path,parent:r});return d.status==="aborted"?v:d.status==="dirty"?he(d.value):n.value==="dirty"?he(d.value):d});{if(n.value==="aborted")return v;let s=this._def.schema._parseSync({data:o,path:r.path,parent:r});return s.status==="aborted"?v:s.status==="dirty"?he(s.value):n.value==="dirty"?he(s.value):s}}if(i.type==="refinement"){let o=s=>{let d=i.refinement(s,a);if(r.common.async)return Promise.resolve(d);if(d instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return s};if(r.common.async===!1){let s=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return s.status==="aborted"?v:(s.status==="dirty"&&n.dirty(),o(s.value),{status:n.value,value:s.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(s=>s.status==="aborted"?v:(s.status==="dirty"&&n.dirty(),o(s.value).then(()=>({status:n.value,value:s.value}))))}if(i.type==="transform")if(r.common.async===!1){let o=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!de(o))return v;let s=i.transform(o.value,a);if(s instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:s}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(o=>de(o)?Promise.resolve(i.transform(o.value,a)).then(s=>({status:n.value,value:s})):v);x.assertNever(i)}};K.create=(t,e,n)=>new K({schema:t,typeName:b.ZodEffects,effect:e,...C(n)});K.createWithPreprocess=(t,e,n)=>new K({schema:e,effect:{type:"preprocess",transform:t},typeName:b.ZodEffects,...C(n)});var U=class extends S{_parse(e){return this._getType(e)===g.undefined?O(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};U.create=(t,e)=>new U({innerType:t,typeName:b.ZodOptional,...C(e)});var X=class extends S{_parse(e){return this._getType(e)===g.null?O(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};X.create=(t,e)=>new X({innerType:t,typeName:b.ZodNullable,...C(e)});var Pe=class extends S{_parse(e){let{ctx:n}=this._processInputParams(e),r=n.data;return n.parsedType===g.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}};Pe.create=(t,e)=>new Pe({innerType:t,typeName:b.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...C(e)});var Ne=class extends S{_parse(e){let{ctx:n}=this._processInputParams(e),r={...n,common:{...n.common,issues:[]}},i=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return Ye(i)?i.then(a=>({status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new F(r.common.issues)},input:r.data})})):{status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new F(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}};Ne.create=(t,e)=>new Ne({innerType:t,typeName:b.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...C(e)});var nt=class extends S{_parse(e){if(this._getType(e)!==g.nan){let r=this._getOrReturnCtx(e);return m(r,{code:f.invalid_type,expected:g.nan,received:r.parsedType}),v}return{status:"valid",value:e.data}}};nt.create=t=>new nt({typeName:b.ZodNaN,...C(t)});var Vu=Symbol("zod_brand"),Nt=class extends S{_parse(e){let{ctx:n}=this._processInputParams(e),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}},It=class t extends S{_parse(e){let{status:n,ctx:r}=this._processInputParams(e);if(r.common.async)return(async()=>{let a=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return a.status==="aborted"?v:a.status==="dirty"?(n.dirty(),he(a.value)):this._def.out._parseAsync({data:a.value,path:r.path,parent:r})})();{let i=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?v:i.status==="dirty"?(n.dirty(),{status:"dirty",value:i.value}):this._def.out._parseSync({data:i.value,path:r.path,parent:r})}}static create(e,n){return new t({in:e,out:n,typeName:b.ZodPipeline})}},Ie=class extends S{_parse(e){let n=this._def.innerType._parse(e),r=i=>(de(i)&&(i.value=Object.freeze(i.value)),i);return Ye(n)?n.then(i=>r(i)):r(n)}unwrap(){return this._def.innerType}};Ie.create=(t,e)=>new Ie({innerType:t,typeName:b.ZodReadonly,...C(e)});function La(t,e){let n=typeof t=="function"?t(e):typeof t=="string"?{message:t}:t;return typeof n=="string"?{message:n}:n}function Ba(t,e={},n){return t?ce.create().superRefine((r,i)=>{let a=t(r);if(a instanceof Promise)return a.then(o=>{if(!o){let s=La(e,r),d=s.fatal??n??!0;i.addIssue({code:"custom",...s,fatal:d})}});if(!a){let o=La(e,r),s=o.fatal??n??!0;i.addIssue({code:"custom",...o,fatal:s})}}):ce.create()}var ju={object:D.lazycreate},b;(function(t){t.ZodString="ZodString",t.ZodNumber="ZodNumber",t.ZodNaN="ZodNaN",t.ZodBigInt="ZodBigInt",t.ZodBoolean="ZodBoolean",t.ZodDate="ZodDate",t.ZodSymbol="ZodSymbol",t.ZodUndefined="ZodUndefined",t.ZodNull="ZodNull",t.ZodAny="ZodAny",t.ZodUnknown="ZodUnknown",t.ZodNever="ZodNever",t.ZodVoid="ZodVoid",t.ZodArray="ZodArray",t.ZodObject="ZodObject",t.ZodUnion="ZodUnion",t.ZodDiscriminatedUnion="ZodDiscriminatedUnion",t.ZodIntersection="ZodIntersection",t.ZodTuple="ZodTuple",t.ZodRecord="ZodRecord",t.ZodMap="ZodMap",t.ZodSet="ZodSet",t.ZodFunction="ZodFunction",t.ZodLazy="ZodLazy",t.ZodLiteral="ZodLiteral",t.ZodEnum="ZodEnum",t.ZodEffects="ZodEffects",t.ZodNativeEnum="ZodNativeEnum",t.ZodOptional="ZodOptional",t.ZodNullable="ZodNullable",t.ZodDefault="ZodDefault",t.ZodCatch="ZodCatch",t.ZodPromise="ZodPromise",t.ZodBranded="ZodBranded",t.ZodPipeline="ZodPipeline",t.ZodReadonly="ZodReadonly"})(b||(b={}));var Gu=(t,e={message:`Input not instance of ${t.name}`})=>Ba(n=>n instanceof t,e),Ka=ue.create,Ha=$e.create,Uu=nt.create,Bu=ye.create,za=ve.create,Ku=_e.create,Hu=Qe.create,zu=be.create,Zu=Ce.create,qu=ce.create,Wu=ne.create,Yu=z.create,Xu=Je.create,Qu=re.create,Ju=D.create,ec=D.strictCreate,tc=Se.create,nc=vn.create,rc=xe.create,ic=Y.create,ac=_n.create,oc=et.create,sc=tt.create,dc=bn.create,uc=we.create,cc=Te.create,lc=ke.create,fc=Ee.create,pc=le.create,mc=K.create,gc=U.create,hc=X.create,$c=K.createWithPreprocess,yc=It.create,vc=()=>Ka().optional(),_c=()=>Ha().optional(),bc=()=>za().optional(),Cc={string:(t=>ue.create({...t,coerce:!0})),number:(t=>$e.create({...t,coerce:!0})),boolean:(t=>ve.create({...t,coerce:!0})),bigint:(t=>ye.create({...t,coerce:!0})),date:(t=>_e.create({...t,coerce:!0}))};var Sc=v;var Cn=c.object({page:c.object({title:c.string().nullable(),path:c.string(),search:c.string(),hash:c.string()}).strict(),referrer:c.string().nullable(),viewport:c.object({w:c.number(),h:c.number()}).strict().nullable().optional()}).strict(),Za=c.object({}).strict();var Zr="aranova_tracking_last_fired_url",Hr=null,zr=!1;function xc(t){try{return typeof window>"u"?null:window.sessionStorage.getItem(t)}catch{return null}}function wc(t,e){try{if(typeof window>"u")return;window.sessionStorage.setItem(t,e)}catch{}}function Tc(){if(!zr){zr=!0;let t=xc(Zr);t!==null&&(Hr=t)}return Hr}function kc(t){Hr=t,zr=!0,wc(Zr,t)}function qa(t){return typeof window>"u"||typeof document>"u"?null:Cn.parse({page:{title:document.title||null,path:window.location.pathname,search:window.location.search,hash:window.location.hash},referrer:t!==void 0?t:document.referrer||null,viewport:{w:window.innerWidth,h:window.innerHeight}})}function At(t){if(typeof window>"u")return;let e=window.location.href,n=Tc(),r=n!==null&&n!==e?n:null,i=typeof document<"u"&&document.referrer||null,o=qa(r??i);t.trackEvent({eventType:"page_view",pageUrl:e,metadata:o}),e!==n&&kc(e)}function qr(t){if(typeof window>"u")return()=>{};function e(n){n.persisted&&At(t)}return window.addEventListener("pageshow",e),()=>{window.removeEventListener("pageshow",e)}}function Wr(t,e={}){if(typeof window>"u"||typeof history>"u")return()=>{};let n=window.location.pathname+window.location.search;function r(){let u=window.location.pathname+window.location.search;u!==n&&(n=u,At(t))}let i=history.pushState.bind(history),a=history.replaceState.bind(history);function o(...u){i(...u),setTimeout(r,0)}function s(...u){a(...u),setTimeout(r,0)}function d(u){u.persisted&&At(t)}return history.pushState=o,history.replaceState=s,window.addEventListener("popstate",r),window.addEventListener("pageshow",d),e.skipInitial||At(t),()=>{history.pushState=i,history.replaceState=a,window.removeEventListener("popstate",r),window.removeEventListener("pageshow",d)}}function Sn(t){if(t instanceof RegExp)return t.source;if(Array.isArray(t))return t.map(Sn);if(t!==null&&typeof t=="object"){let e={};for(let[n,r]of Object.entries(t))e[n]=Sn(r);return e}return t}function Yr(t,e,n,r,i=null,a=null){let o=r?Object.keys(r.automatic):[],s=r?.manual?Object.keys(r.manual):[],d=null;if(r){let u={};for(let[l,p]of Object.entries(r.automatic)){let h=Sn(p);Object.keys(h).length>0&&(u[l]=h)}if(r.manual)for(let[l,p]of Object.entries(r.manual)){if(p===void 0)continue;let h=Sn(p);Object.keys(h).length>0&&(u[l]=h)}Object.keys(u).length>0&&(d=u)}return{sdk_version:e??"unknown",package_name:n,surface:t,triggers:{automatic:o,manual:s},trigger_config:d,configured_gtag_ids:i,config_site_id:a}}var Ya=2e3,Xa=10,Qr=50,Pc=6e4,Nc=200,Ic="aranova_tracking_pending_v1",xn="X-Aranova-Api-Key",wn="X-Aranova-Sdk-Version",Tn="X-Aranova-Sdk-Package",kn="X-Aranova-Sdk-Surface",En="X-Aranova-Sdk-Environment";function Ac(t,e,n,r,i){return{surface:t,sdk_version:e,package_name:n,site_origin:typeof window>"u"?null:window.location.origin,page_title:typeof document>"u"?null:document.title||null,referrer:typeof document>"u"?null:document.referrer||null,environment:r,active_gtag_ids:i,capabilities:qt()}}function Rc(){if(typeof window>"u")return Ue();try{ge()}catch{}return Be(He)}function Oc(){try{let t=je();return{state:t.state,source:t.source,updated_at:t.updatedAt,expires_at:t.expiresAt}}catch{return null}}async function Wa(t,e,n,r,i){if(typeof fetch!="function")return"drop";try{let a=await fetch(t,{method:"POST",headers:{"Content-Type":"application/json",[xn]:n,[wn]:r.sdkVersion,[Tn]:r.packageName,[kn]:r.surface,[En]:r.environment},body:e,keepalive:i,credentials:"omit",mode:"cors"});return a.ok?"ok":a.status===408||a.status===429||a.status>=500?"retry":"drop"}catch{return"retry"}}function Mc(t,e){return`${Ic}:${t}:${e}`}function Fc(t){if(typeof window>"u")return[];try{let e=window.localStorage.getItem(t);if(!e)return[];let n=JSON.parse(e);return Array.isArray(n)?n.filter(r=>typeof r=="object"&&r!==null&&"session"in r&&Array.isArray(r.events)):[]}catch{return[]}}function Xr(t,e){if(!(typeof window>"u"))try{e.length===0?window.localStorage.removeItem(t):window.localStorage.setItem(t,JSON.stringify(e))}catch{}}function Dc(t){let e=t.reduce((r,i)=>r+i.events.length,0),n=t.slice();for(;e>Nc&&n.length>1;){let r=n.shift();e-=r?r.events.length:0}return n}function Jr(t){let e=t.flushIntervalMs??Ya,n=Math.min(t.maxQueueSize??Xa,Qr),r=t.sdkVersion??null,i=t.packageName??null,a=t.environment??"production",o=t.activeGtagIds??null,s=t.endpoint.replace(/\/$/,""),d=`${s}/events`,u={sdkVersion:r??"",packageName:i??"",surface:t.surface,environment:a},l=[],p=null,h=Mc(t.apiKey,s),y=Fc(h),_=Promise.resolve(),k=0,P=null,Ae=Ue(),Z=!1,rt=Gr(),it=qe(),Q=it.id;if(typeof window<"u"){P=window.location.href;try{Ae=ge()}catch{}rn(Q);try{kt()}catch{}}function at(){let w=Yr(t.surface,r,i,t.triggers??null,o,t.configSiteId??null);l.push({event_type:"sdk_heartbeat",page_url:typeof window>"u"?null:window.location.href,metadata:w,occurred_at:new Date().toISOString()})}it.isNew&&at(),y.length>0&&fe();function Ft(){let w=qe();w.isNew&&w.id!==Q&&at(),Q=w.id;let I=xr(Rc(),Ae),dt=Ac(t.surface,r,i,a,o);return{session_id:Q,visitor_id:rt,gclid:I.gclid,wbraid:I.wbraid,gbraid:I.gbraid,ylpcid:I.ylpcid,fbclid:I.fbclid,fbc:Tt(),fbp:tn(),utm_source:I.utm_source,utm_medium:I.utm_medium,utm_campaign:I.utm_campaign,utm_term:I.utm_term,utm_content:I.utm_content,...an(Q),first_page:P,consent_state:Oc(),context:dt}}function fe(w=e){p!==null||Z||(p=setTimeout(()=>{p=null,ie()},w))}function Re(){p!==null&&(clearTimeout(p),p=null)}function ot(){if(l.length===0)return;let w=l.slice(0,Qr);l=l.slice(w.length),y=Dc([...y,{session:Ft(),events:w}]),Xr(h,y)}function ie(){return _=_.then(Fo).catch(()=>{}),_}async function Fo(){if(!Z&&(Re(),ot(),y.length!==0))try{for(;y.length>0;){let w=y[0],I={session:w.session,events:w.events};if(await Wa(d,JSON.stringify(I),t.apiKey,u,!1)==="retry"){k+=1;return}y=y.slice(1),Xr(h,y),k=0}}finally{if(y.length>0){let w=Math.min(e*2**k,Pc);fe(w)}else l.length>0&&fe()}}function Do(w){if(Z||!w||typeof w.eventType!="string"||w.eventType.length===0)return;if(w.eventType==="form_submit"&&M()!=="denied")try{let dt=w.metadata?.form?.fields;dt&&gr(dt,t.phone?.defaultCountry)}catch{}let I=w.occurredAt instanceof Date?w.occurredAt.toISOString():typeof w.occurredAt=="string"?w.occurredAt:new Date().toISOString();l.push({event_type:w.eventType,page_url:w.pageUrl??(typeof window>"u"?null:window.location.href),metadata:w.metadata??null,occurred_at:I}),l.length>=n?ie():fe()}function st(){if(ot(),Re(),y.length===0)return;let w=y[0];y=y.slice(1),Xr(h,y);let I={session:w.session,events:w.events};Wa(d,JSON.stringify(I),t.apiKey,u,!0)}return typeof window<"u"&&(window.addEventListener("pagehide",st),window.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&st()})),{trackEvent:Do,flush:ie,flushBeacon:st,getSessionId:()=>Q,getVisitorId:()=>rt,destroy:()=>{Z=!0,l.length>0&&st(),Re(),l=[],typeof window<"u"&&window.removeEventListener("pagehide",st)}}}var Qa=c.object({cta_name:c.string(),page:c.object({path:c.string()}).strict(),section:c.string().nullable().optional(),destination_url:c.string().nullable().optional(),href:c.string().nullable().optional(),element:c.string().nullable().optional()}).strict(),Ja=c.object({autoCapture:c.object({selector:c.string().optional()}).strict().optional()}).strict();var Lc=c.object({automatic:c.array(c.string()),manual:c.array(c.string())}).strict(),eo=c.object({sdk_version:c.string(),package_name:c.string().nullable(),surface:c.enum(["next","react","script"]),triggers:Lc,trigger_config:c.record(c.string(),c.record(c.string(),c.unknown())).nullable().optional(),configured_gtag_ids:c.record(c.string(),c.string()).nullable().optional(),config_site_id:c.string().uuid().nullable().optional()}).strict(),to=c.object({}).strict();var no=c.object({form:c.object({id:c.string(),action:c.string().nullable()}).strict(),page:c.object({path:c.string()}).strict()}).strict(),ro=c.object({selector:c.string().optional()}).strict();var ei=c.lazy(()=>c.union([c.string(),c.number().finite(),c.boolean(),c.null(),c.array(ei),c.record(ei)])),io=c.object({form:c.object({id:c.string(),action:c.string().nullable(),fields:c.array(c.object({name:c.string(),type:c.string(),label:c.string().nullable(),value:ei}).strict()).optional()}).strict(),page:c.object({path:c.string()}).strict()}).strict(),ao=c.object({}).strict();var oo=c.object({page_count:c.number().int().min(2),page:c.object({path:c.string()}).strict()}).strict(),so=c.object({pageThreshold:c.number().int().min(2)}).strict();var uo=c.object({dwell_ms:c.number().int().min(0),max_scroll_percent:c.number().int().min(0).max(100).nullable(),scroll_baseline_percent:c.number().int().min(0).max(100).nullable().optional(),page:c.object({path:c.string()}).strict()}).strict(),co=c.object({}).strict();var lo=c.object({phone_number:c.string(),page:c.object({path:c.string()}).strict(),section:c.string().nullable().optional()}).strict(),fo=c.object({autoCapture:c.object({selector:c.string().optional()}).strict().optional()}).strict();var po=c.object({depth_percent:c.number().int().min(1).max(100),page:c.object({path:c.string()}).strict()}).strict(),mo=c.object({thresholds:c.array(c.number().int().min(1).max(100)).min(1)}).strict();var Vc=64,jc=/^[a-z][a-z0-9]*(?:_[a-z0-9]+)*$/;var Gc=c.string().max(Vc).regex(jc,{message:"page identity must be lowercase snake_case, start with a letter, and contain at most 64 characters"}),go=Gc,ho=c.object({page_name:go,page:c.object({path:c.string()}).strict()}).strict(),$o=c.object({pages:c.array(c.object({name:go,pathPattern:c.custom(t=>t instanceof RegExp,{message:"pathPattern must be a RegExp"})}).strict()).min(1)}).strict();var yo=c.object({duration_ms:c.number().int().nonnegative(),page:c.object({path:c.string()}).strict()}).strict(),vo=c.object({thresholdSeconds:c.number().int().positive()}).strict();var L={page_view:{label:"Page view",category:"page",outcomeRole:"navigation",clientVisibility:"simple"},time_on_site:{label:"Time on site",category:"engagement",outcomeRole:"engagement",clientVisibility:"detailed"},specific_page_visit:{label:"Key page visit",category:"engagement",outcomeRole:"engagement",clientVisibility:"detailed"},scroll_depth:{label:"Scroll depth",category:"engagement",outcomeRole:"engagement",clientVisibility:"detailed"},multi_page_session:{label:"Multi-page session",category:"engagement",outcomeRole:"engagement",clientVisibility:"detailed"},form_start:{label:"Form started",category:"engagement",outcomeRole:"engagement",clientVisibility:"simple"},sdk_heartbeat:{label:"SDK heartbeat",category:"system",outcomeRole:"diagnostic",clientVisibility:"hidden"},page_exit:{label:"Page exit",category:"engagement",outcomeRole:"diagnostic",clientVisibility:"detailed"},form_submit:{label:"Form submitted",category:"lead",outcomeRole:"lead",clientVisibility:"simple"},phone_click:{label:"Phone click",category:"lead",outcomeRole:"lead",clientVisibility:"simple"},cta_click:{label:"CTA click",category:"engagement",outcomeRole:"engagement",clientVisibility:"simple"}};var Pn={page_view:{kind:"automatic",semantics:L.page_view,metadataSchema:Cn,configSchema:Za},time_on_site:{kind:"automatic",semantics:L.time_on_site,metadataSchema:yo,configSchema:vo},specific_page_visit:{kind:"automatic",semantics:L.specific_page_visit,metadataSchema:ho,configSchema:$o},scroll_depth:{kind:"automatic",semantics:L.scroll_depth,metadataSchema:po,configSchema:mo},multi_page_session:{kind:"automatic",semantics:L.multi_page_session,metadataSchema:oo,configSchema:so},form_start:{kind:"automatic",semantics:L.form_start,metadataSchema:no,configSchema:ro},sdk_heartbeat:{kind:"automatic",semantics:L.sdk_heartbeat,metadataSchema:eo,configSchema:to},page_exit:{kind:"automatic",semantics:L.page_exit,metadataSchema:uo,configSchema:co},form_submit:{kind:"manual",semantics:L.form_submit,metadataSchema:io,configSchema:ao},phone_click:{kind:"manual",semantics:L.phone_click,metadataSchema:lo,configSchema:fo},cta_click:{kind:"manual",semantics:L.cta_click,metadataSchema:Qa,configSchema:Ja}},zm=Object.entries(Pn).filter(([,t])=>t.kind==="automatic").map(([t])=>t),Zm=Object.entries(Pn).filter(([,t])=>t.kind==="manual").map(([t])=>t),qm=Object.entries(Pn).filter(([,t])=>t.semantics.outcomeRole==="lead").map(([t])=>t);function ti(t){return Pn[t]}function ni(t,e){if(typeof window>"u"||typeof document>"u")return()=>{};let n=e.thresholdSeconds*1e3,r=0,i=document.visibilityState==="visible"?Date.now():null,a=null,o=!1;function s(){o||(o=!0,t.trackEvent({eventType:"time_on_site",metadata:{duration_ms:n,page:{path:window.location.pathname}},pageUrl:window.location.href,occurredAt:null}))}function d(){if(o||i===null)return;let p=n-r;if(p<=0){s();return}a=setTimeout(s,p)}function u(){a!==null&&(clearTimeout(a),a=null)}function l(){o||(document.visibilityState==="hidden"?(i!==null&&(r+=Date.now()-i,i=null),u()):(i=Date.now(),d()))}return document.addEventListener("visibilitychange",l),d(),()=>{u(),document.removeEventListener("visibilitychange",l)}}function ri(t,e){if(typeof window>"u"||typeof history>"u")return()=>{};let{pages:n}=e,r=new Set;function i(){let u=window.location.pathname;for(let{name:l,pathPattern:p}of n){if(p.lastIndex=0,!p.test(u))continue;let h=`${l}:${u}`;r.has(h)||(r.add(h),t.trackEvent({eventType:"specific_page_visit",metadata:{page_name:l,page:{path:u}},pageUrl:window.location.href,occurredAt:null}))}}let a=history.pushState.bind(history),o=history.replaceState.bind(history);function s(...u){a(...u),setTimeout(i,0)}function d(...u){o(...u),setTimeout(i,0)}return history.pushState=s,history.replaceState=d,window.addEventListener("popstate",i),i(),()=>{history.pushState=a,history.replaceState=o,window.removeEventListener("popstate",i)}}var Rt=new Set,ii=null;function ai(){for(let t of Rt)t()}function _o(){setTimeout(ai,0)}function Bc(){let t=history.pushState,e=history.replaceState;function n(...i){t.apply(this,i),_o()}function r(...i){e.apply(this,i),_o()}history.pushState=n,history.replaceState=r,window.addEventListener("popstate",ai),ii=()=>{history.pushState=t,history.replaceState=e,window.removeEventListener("popstate",ai),ii=null}}function Nn(t){return Rt.size===0&&Bc(),Rt.add(t),()=>{Rt.delete(t)&&Rt.size===0&&ii?.()}}function oi(){let t=document.scrollingElement??document.documentElement,e=t.scrollHeight,n=t.clientHeight;if(e<=0||n<=0||e<=n+2)return null;let r=e-n,i=Math.min(Math.max(t.scrollTop,0),r);return i+n>=e-2?100:Math.max(1,Math.min(100,Math.round((i+n)/e*100)))}function Kc(t){let e=requestAnimationFrame(()=>{e=requestAnimationFrame(()=>{t(oi())})});return()=>cancelAnimationFrame(e)}function In(){let t=null,e=!1,n=null;return{rebaseline(){n?.(),e=!1,t=null,n=Kc(r=>{t=r,e=!0})},cancel(){n?.()},baseline(){return e?t:null},sample(){return e?t===null?(t=oi(),null):oi():null}}}function si(t,e){if(typeof window>"u"||typeof document>"u")return()=>{};let n=new Set(e.thresholds),r=new Set,i=window.location.pathname,a=null,o=In();function s(){let p=o.sample();if(p===null)return;let h=o.baseline();if(h!==null)for(let y of n)y<=h||p>=y&&!r.has(y)&&(r.add(y),t.trackEvent({eventType:"scroll_depth",metadata:{depth_percent:y,page:{path:i}},pageUrl:window.location.href,occurredAt:null}))}function d(){a===null&&(a=requestAnimationFrame(()=>{a=null,s()}))}function u(){let p=window.location.pathname;p!==i&&(i=p,r=new Set,o.rebaseline())}let l=Nn(u);return window.addEventListener("scroll",d,{passive:!0}),o.rebaseline(),()=>{a!==null&&cancelAnimationFrame(a),o.cancel(),l(),window.removeEventListener("scroll",d)}}var di="aranova_tracking_mps_paths",bo="aranova_tracking_mps_session",ui="aranova_tracking_mps_fired";function Hc(){try{return typeof window<"u"?window.sessionStorage:null}catch{return null}}function ci(t,e){if(typeof window>"u"||typeof history>"u")return()=>{};let n=Hc();if(!n)return()=>{};let{pageThreshold:r}=e,i="";function a(){try{let _=n.getItem(di);return _?new Set(JSON.parse(_)):new Set}catch{return new Set}}function o(_){try{n.setItem(di,JSON.stringify([..._]))}catch{}}function s(){let _=qe().id;n.getItem(bo)!==_&&(n.setItem(bo,_),n.removeItem(di),n.removeItem(ui))}function d(){return n.getItem(ui)==="1"}function u(){let _=window.location.pathname;if(_===i||(i=_,s(),d()))return;let k=a();k.add(_),o(k),k.size>=r&&(n.setItem(ui,"1"),t.trackEvent({eventType:"multi_page_session",metadata:{page_count:k.size,page:{path:window.location.pathname}},pageUrl:window.location.href,occurredAt:null}))}let l=history.pushState.bind(history),p=history.replaceState.bind(history);function h(..._){l(..._),setTimeout(u,0)}function y(..._){p(..._),setTimeout(u,0)}return history.pushState=h,history.replaceState=y,window.addEventListener("popstate",u),u(),()=>{history.pushState=l,history.replaceState=p,window.removeEventListener("popstate",u)}}function li(t,e){if(typeof window>"u"||typeof document>"u")return()=>{};let n=e.selector??"form",r=new Set,i=window.location.pathname;function a(h){if(h.id)return`id:${h.id}`;let y=h.getAttribute("action");return y?`action:${y}`:`index:${Array.from(document.querySelectorAll(n)).indexOf(h)}`}function o(h){let y=h.target;if(!(y instanceof HTMLElement))return;let _=y.closest(n);if(!_||_.tagName!=="FORM")return;let k=a(_);r.has(k)||(r.add(k),t.trackEvent({eventType:"form_start",metadata:{form:{id:_.id||"",action:_.getAttribute("action")??null},page:{path:window.location.pathname}},pageUrl:window.location.href,occurredAt:null}))}function s(){let h=window.location.pathname;h!==i&&(i=h,r=new Set)}let d=history.pushState.bind(history),u=history.replaceState.bind(history);function l(...h){d(...h),setTimeout(s,0)}function p(...h){u(...h),setTimeout(s,0)}return history.pushState=l,history.replaceState=p,window.addEventListener("popstate",s),document.addEventListener("focusin",o),()=>{history.pushState=d,history.replaceState=u,window.removeEventListener("popstate",s),document.removeEventListener("focusin",o)}}var zc=50;function fi(t){if(typeof window>"u"||typeof document>"u")return()=>{};let e=window.location.pathname,n=document.visibilityState==="visible"?Date.now():null,r=0,i=null,a=null,o=In();function s(){a===null&&(a=requestAnimationFrame(()=>{a=null;let _=o.sample();_!==null&&(i===null||_>i)&&(i=_)}))}function d(){let _=r;return n!==null&&(_+=Date.now()-n),Math.max(0,Math.round(_))}function u(_,k){let P=d();P<zc||(t.trackEvent({eventType:"page_exit",metadata:{dwell_ms:P,max_scroll_percent:i,scroll_baseline_percent:o.baseline(),page:{path:_}},pageUrl:window.location.href,occurredAt:null}),k&&t.flushBeacon(),r=0,n=null)}function l(){let _=window.location.pathname;_!==e&&(u(e,!1),e=_,i=null,o.rebaseline(),r=0,n=document.visibilityState==="visible"?Date.now():null)}function p(){document.visibilityState==="hidden"?u(e,!0):n=Date.now()}function h(){u(e,!0)}let y=Nn(l);return window.addEventListener("scroll",s,{passive:!0}),document.addEventListener("visibilitychange",p),window.addEventListener("pagehide",h),o.rebaseline(),()=>{a!==null&&cancelAnimationFrame(a),o.cancel(),y(),window.removeEventListener("scroll",s),document.removeEventListener("visibilitychange",p),window.removeEventListener("pagehide",h)}}var Co="[data-aranova-cta]",Zc=120;function So(t){let e=t.tagName.toLowerCase();return t.id?`${e}#${t.id}`:e}function qc(t){let e=t.getAttribute("data-aranova-cta");if(e&&e.trim().length>0)return e.trim();let n=(t.textContent??"").trim().replaceAll(/\s+/g," ");return n.length>0?n.slice(0,Zc):So(t)}function pi(t,e){if(typeof window>"u"||typeof document>"u")return()=>{};let n=e.autoCapture;if(!n)return()=>{};V("cta_click_capture");let r=n.selector??Co;function i(a){let o=a.target;if(!(o instanceof Element))return;let s=null;try{s=o.closest(r)}catch{return}if(s===null)return;let d=s instanceof HTMLAnchorElement?s.href||null:s.getAttribute("href");t.trackEvent({eventType:"cta_click",metadata:{cta_name:qc(s),page:{path:window.location.pathname},section:s.getAttribute("data-aranova-section"),destination_url:d,href:d,element:So(s)},pageUrl:window.location.href,occurredAt:null})}return document.addEventListener("click",i,!0),()=>{document.removeEventListener("click",i,!0)}}var xo='a[href^="tel:"]';function Wc(t){try{return decodeURIComponent(t)}catch{return t}}function Yc(t){let e=t instanceof HTMLAnchorElement?t.href:t.getAttribute("href")??"",n=Wc(e.replace(/^tel:/i,"").split(";")[0]).trim();return ae(n)??n}function mi(t,e){if(typeof window>"u"||typeof document>"u")return()=>{};let n=e.autoCapture;if(!n)return()=>{};V("phone_click_capture");let r=n.selector??xo;function i(a){let o=a.target;if(!(o instanceof Element))return;let s=null;try{s=o.closest(r)}catch{return}if(s===null)return;let d={phone_number:Yc(s),page:{path:window.location.pathname},section:s.getAttribute("data-aranova-section")};t.trackEvent({eventType:"phone_click",metadata:d,pageUrl:window.location.href,occurredAt:null})}return document.addEventListener("click",i,!0),()=>{document.removeEventListener("click",i,!0)}}var Ot=class extends Error{constructor(e,n){super(e),this.name="AranovaApiError",this.status=n.status,this.code=n.code,this.requestId=n.requestId}};function Xc(t){let e={[xn]:t.apiKey};return t.sdkVersion&&(e[wn]=t.sdkVersion),t.packageName&&(e[Tn]=t.packageName),t.surface&&(e[kn]=t.surface),t.environment&&(e[En]=t.environment),e}function Qc(t,e){return`${t.replace(/\/$/,"")}${e}`}async function wo(t,e,n,r,i){let a={...Xc(t),...i};r!==void 0&&(a["Content-Type"]="application/json");let o=await fetch(Qc(t.endpoint,n),{method:e,headers:a,body:r===void 0?void 0:JSON.stringify(r)});if(!o.ok){let s,d;try{let u=await o.json();if(u&&typeof u=="object"){let l=u;typeof l.detail=="string"&&(s=l.detail),typeof l.code=="string"&&(d=l.code)}}catch{}throw new Ot(s??o.statusText??"Request failed",{status:o.status,code:d,requestId:o.headers.get("x-request-id")??void 0})}if(o.status!==204)return await o.json()}var H=wo;function Jc(t,e,n,r,i){if(!t)return;let a=e.customer_email||e.customer_phone?{email:e.customer_email??null,phone:e.customer_phone??null}:null;a&&M()!=="denied"&&Kt(a);let o=e.external_id??r.id;for(let s of n){if(!s.service)continue;if("fireConversion"in t){t.fireConversion(s.service,{value:s.amount_cents!=null?se(s.amount_cents,i):void 0,currency:i,transactionId:`${o}:${s.service}`});continue}let d=t.getFiring(s.service);if(!d)continue;let u=s.amount_cents??d.value_cents??null;oe({sendTo:d.send_to,value:u!=null?se(u,i):null,currency:d.currency??i,transactionId:`${o}:${s.service}`},{userData:a})}}function To(t){t.firing&&V("conversion_goals_manual");async function e(n){let r=n.currency??t.defaultCurrency;if(!r)throw new Error("record: `currency` is required (pass it on the sale or set config.defaultCurrency)");let i={...n,currency:r,occurred_at:n.occurred_at??new Date().toISOString()},a=await H(t,"POST","/sales",i),o=n.services?.length?n.services.map(s=>({service:s.service,amount_cents:s.amount_cents})):[{service:n.service,amount_cents:n.amount_total_cents??null}];return Jc(t.firing,n,o,a,r),a}return{record:e,recordSale:e,trackConversion(n,r){if(t.firing&&"fireConversion"in t.firing){r?.userData&&M()!=="denied"&&Kt(r.userData),t.firing.fireConversion(n,{value:r?.value??void 0,currency:r?.currency??t.defaultCurrency??void 0,transactionId:r?.transactionId??null});return}let i=t.firing?.getFiring(n);if(!i)return;let a=i.currency??r?.currency??t.defaultCurrency??null,o=i.value_cents??null,s=r?.value??(o!=null&&a?se(o,a):null);oe({sendTo:i.send_to,value:s,currency:a,transactionId:r?.transactionId??null},{userData:r?.userData})},async list(n){let{cursor:r,limit:i,sort:a,order:o,want_total:s,...d}=n??{};return H(t,"POST","/sales/query",{filters:d,...i!==void 0?{limit:i}:{},...r!==void 0?{cursor:r}:{},...a!==void 0?{sort:a}:{},...o!==void 0?{order:o}:{},...s!==void 0?{want_total:s}:{}})},async summary(n){let{range:r,include_categories:i,include_deleted_services:a,top_n:o,since:s,until:d,timezone:u,granularity:l,compare_to:p,...h}=n;return H(t,"POST","/sales/summary",{filters:h,...r!==void 0?{range:r}:{},...i!==void 0?{include_categories:i}:{},...a!==void 0?{include_deleted_services:a}:{},...o!==void 0?{top_n:o}:{},...s!==void 0?{since:s}:{},...d!==void 0?{until:d}:{},...u!==void 0?{timezone:u}:{},...l!==void 0?{granularity:l}:{},...p!==void 0?{compare_to:p}:{}})},async get(n){return H(t,"GET",`/sales/${n}`)},async update(n,r){return H(t,"PATCH",`/sales/${n}`,r)},async delete(n){await H(t,"DELETE",`/sales/${n}`)},customers:{async list(n){let{segment:r,sort:i,order:a,cursor:o,limit:s,want_total:d,...u}=n??{};return H(t,"POST","/customers/query",{filters:u,...r!==void 0?{segment:r}:{},...i!==void 0?{sort:i}:{},...a!==void 0?{order:a}:{},...o!==void 0?{cursor:o}:{},...s!==void 0?{limit:s}:{},...d!==void 0?{want_total:d}:{}})},async get(n,r){let i=new URLSearchParams;r?.include_sales!==void 0&&i.set("include_sales",String(r.include_sales)),r?.limit!==void 0&&i.set("limit",String(r.limit)),r?.cursor!=null&&i.set("cursor",r.cursor);let a=i.toString();return H(t,"GET",`/customers/${encodeURIComponent(n)}${a?`?${a}`:""}`)},async summary(n){let{range:r,since:i,until:a,timezone:o,compare_to:s,...d}=n??{};return H(t,"POST","/customers/summary",{filters:d,...r!==void 0?{range:r}:{},...i!==void 0?{since:i}:{},...a!==void 0?{until:a}:{},...o!==void 0?{timezone:o}:{},...s!==void 0?{compare_to:s}:{}})}},business:{async config(){return H(t,"GET","/business/config")}}}}var el=["USD","CAD"],tl=["production","development"],ko=c.enum(el),Mt=c.number().int().nonnegative(),nl=c.string().regex(/^\d+(\.\d{1,3})?$/),Eo=c.record(c.unknown()),Po=c.object({external_item_id:c.string().nullable().optional(),name:c.string().nullable().optional(),category:c.string().nullable().optional(),quantity:nl,unit_price_cents:Mt,unit_cost_cents:Mt.nullable().optional()}).strict(),No=c.object({service:c.string(),amount_cents:Mt}).strict(),Io=c.string().max(200),Ao=c.string().max(64),Ro=c.string().max(320).email();function Oo(t,e,{requireAmount:n}){if(t.services!=null){t.service!=null&&e.addIssue({code:c.ZodIssueCode.custom,message:"pass either `service` or `services`, not both",path:["services"]}),t.services.length===0&&e.addIssue({code:c.ZodIssueCode.custom,message:"`services` must not be empty",path:["services"]});let r=t.services.map(i=>i.service);if(new Set(r).size!==r.length&&e.addIssue({code:c.ZodIssueCode.custom,message:"`services` must not list the same service more than once",path:["services"]}),t.amount_total_cents!=null){let i=t.services.reduce((a,o)=>a+o.amount_cents,0);t.amount_total_cents!==i&&e.addIssue({code:c.ZodIssueCode.custom,message:"amount_total_cents must equal the sum of the services amounts (omit it to derive it automatically)",path:["amount_total_cents"]})}}else n&&t.amount_total_cents==null&&e.addIssue({code:c.ZodIssueCode.custom,message:"amount_total_cents is required unless `services` is provided",path:["amount_total_cents"]})}var O1=c.object({external_id:c.string().nullable().optional(),description:c.string().nullable().optional(),service:c.string().nullable().optional(),services:c.array(No).nullable().optional(),currency:ko,amount_total_cents:Mt.nullable().optional(),occurred_at:c.string().datetime(),environment:c.enum(tl).default("production"),items:c.array(Po).default([]),metadata:Eo.nullable().optional(),customer_name:Io.nullable().optional(),customer_phone:Ao.nullable().optional(),customer_email:Ro.nullable().optional(),sms_consent:c.boolean().nullable().optional()}).strict().superRefine((t,e)=>Oo(t,e,{requireAmount:!0})),M1=c.object({description:c.string().nullable().optional(),service:c.string().nullable().optional(),services:c.array(No).nullable().optional(),currency:ko.optional(),amount_total_cents:Mt.optional(),occurred_at:c.string().datetime().optional(),items:c.array(Po).optional(),metadata:Eo.nullable().optional(),customer_name:Io.nullable().optional(),customer_name_placeholder_confirmed:c.boolean().optional(),customer_phone:Ao.nullable().optional(),customer_email:Ro.nullable().optional(),sms_consent:c.boolean().optional()}).strict().superRefine((t,e)=>Oo(t,e,{requireAmount:!1}));function rl(){return Be(He)}var E=null,gi=null,j=[],An=null;function il(){for(let t=j.length-1;t>=0;t--)j[t]();j=[],E!==null&&(E.destroy(),E=null),gi=null,An=null}function Mo(t={}){if(typeof window>"u")return;window.AranovaTracking=hi;let{apiKey:e,endpoint:n,autoCaptureTrackingParams:r=!0,cookieMaxAgeSeconds:i=7776e3,gtagId:a,gtagIds:o,metaPixelId:s,metaPixelIds:d,environment:u,renderConsentBanner:l,triggers:p,conversionConfig:h,trackingConfig:y}=t;if(V("base_tracking"),y&&V("conversion_goals_auto"),(y||a||o&&Object.keys(o).length>0)&&V("ad_tags_google"),(s||d&&Object.keys(d).length>0)&&V("ad_tags_meta"),r&&ge(window.location.href,i),y?fn(y).queuePageView():o&&Object.keys(o).length>0?kr(o):a&&Tr(a),d&&Object.keys(d).length>0?Rr(d):s&&Ar(s),il(),!e||!n){(e||n)&&console.warn("[AranovaTracking] init() requires both `apiKey` and `endpoint` to enable first-party event ingest. Page-view events will not be sent.");return}let _=y?null:h?Mr({cdnUrl:h.cdnUrl,baked:h.baked}):null,k=y?fn(y):null;k?.start(),An=To({apiKey:e,endpoint:n,firing:k??_??void 0});let P=p??{automatic:{page_view:{}},manual:{}};gi=P;let Ae=o?Object.fromEntries(Object.entries(o).filter(ie=>ie[1]!=null)):a?{default:a}:void 0,Z=Jr({apiKey:e,endpoint:n,surface:"script",packageName:"@aranova/tracking-browser",sdkVersion:yi,triggers:P,environment:u,activeGtagIds:Ae,configSiteId:y?.siteId??null});E=_?mn(Z,pn(_)):k?mn(Z,pn(k)):Z;let rt=k&&E?{...E,trackEvent:ie=>{E?.trackEvent(ie),ie.eventType==="page_view"&&k.queuePageView()}}:E;j.push(Wr(rt)),j.push(qr(rt)),j.push(fi(E));let it=P.automatic.time_on_site;it&&j.push(ni(E,it));let Q=P.automatic.specific_page_visit;Q&&j.push(ri(E,Q));let at=P.automatic.scroll_depth;at&&j.push(si(E,at));let Ft=P.automatic.multi_page_session;Ft&&j.push(ci(E,Ft));let fe=P.automatic.form_start;fe&&j.push(li(E,fe));let Re=P.manual?.cta_click;Re&&j.push(pi(E,Re));let ot=P.manual?.phone_click;ot&&j.push(mi(E,ot))}function al(t,e){if(E===null){console.warn("[AranovaTracking] trackEvent called before init({ apiKey, endpoint })");return}let n=gi;if(n===null){console.warn("[AranovaTracking] trackEvent called but no trigger registry was passed to init()");return}let r=n.manual??{};if(!(t in r)){console.warn(`[AranovaTracking] trackEvent: event "${t}" is not registered as a manual trigger. Register it under \`triggers.manual\` in init().`);return}try{ti(t).metadataSchema.parse(e)}catch(i){console.warn(`[AranovaTracking] trackEvent: metadata for "${t}" failed schema validation`,i);return}E.trackEvent({eventType:t,metadata:e,pageUrl:null,occurredAt:null})}function ol(){if(An===null)throw new Error("[AranovaTracking] sales() called before init({ apiKey, endpoint })");return An}var hi={init:Mo,captureTrackingParams:()=>ge(),getTrackingParams:rl,getConsentState:M,setConsentState:Ct,getConsentChoice:je,optIn:_r,optOut:br,resetConsent:Cr,trackEvent:al,sales:ol};typeof window<"u"&&(window.AranovaTracking=hi);var sl=hi;return Uo(dl);})();
1
+ var AranovaTracking=(function(exports){'use strict';function _n(e){let t=Object.values(e).filter(r=>typeof r=="number");return Object.entries(e).filter(([r,o])=>t.indexOf(+r)===-1).map(([r,o])=>o)}function Io(e,t){return typeof t=="bigint"?t.toString():t}var yn=class{constructor(t){this._getter=t,this._value=void 0;}get value(){let t=this._getter;return t!==void 0&&(this._value=t(),this._getter=void 0),this._value}};function zo(e){return new yn(e)}function No(e){return e==null}function vt(e){let t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}var To=Symbol("evaluating");function Oo(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==To)return r===void 0&&(r=To,r=n()),r},set(o){Object.defineProperty(e,t,{value:o});},configurable:true});}function Ro(e,t,n){Object.defineProperty(e,t,{value:n,writable:true,enumerable:true,configurable:true});}var vn="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function _t(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function Mo(e){if(_t(e)===false)return false;let t=e.constructor;if(t===void 0||typeof t!="function")return true;let n=t.prototype;return !(_t(n)===false||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===false)}var Lo=new Set(["string","number","symbol"]);function bn(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Be(e,t,n){let r=new e._zod.constr(t??e._zod.def);return (!t||n?.parent)&&(r._zod.parent=e),r}function w(e){let t=e;if(!t)return {};if(typeof t=="string")return {error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message;}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function Fo(e){return Object.keys(e).filter(t=>e[t]._zod.optin!==void 0&&e[t]._zod.optout==="optional")}var Zo={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function X(e,t=0){if(e.aborted===true)return true;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==true)return true;return false}function Do(e,t=0){if(e.aborted===true)return true;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue===false)return true;return false}function re(e,t){return t.map(n=>{var r;return (r=n).path??(r.path=[]),n.path.unshift(e),n})}function Ke(e){return typeof e=="string"?e:e?.message}function xn(e,t,n){var r;for(let o=t;o<e.length;o++)(r=e[o]).schema??(r.schema=n);}function Q(e,t,n){var r;let o=e.inst?._zod?.traits;o?.has("$ZodType")&&(o.has("$ZodCheck")?(r=e).schema??(r.schema=e.inst):e.schema=e.inst);let i=e.schema!==e.inst?e.schema?._zod.def?.error:void 0,a=e.message?e.message:Ke(e.inst?._zod.def?.error?.(e))??Ke(i?.(e))??Ke(t?.error?.(e))??Ke(n.customError?.(e))??Ke(n.localeError?.(e))??"Invalid input",s={};for(let u of Object.keys(e))u==="inst"||u==="schema"||u==="continue"||u==="input"||u==="__proto__"||(s[u]=e[u]);return s.path??(s.path=[]),s.message=a,t?.reportInput&&(s.input=e.input),s}var su=/[\uD800-\uDBFF]/;function Cn(e){let t=e.length;if(!su.test(e))return t;let n=t;for(let r=0;r<t-1;r++)(e.charCodeAt(r)&64512)===55296&&(e.charCodeAt(r+1)&64512)===56320&&(n--,r++);return n}function wn(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function Sn(...e){let[t,n,r]=e;return typeof t=="string"?{message:t,code:"custom",input:n,inst:r}:{...t}}function jo(e,t){for(let n in t){let r=Object.getOwnPropertyDescriptor(t,n);r.get?Object.defineProperty(e,n,{...r,enumerable:false}):Ao(e,n,r.value);}for(let n of Object.getOwnPropertySymbols(t))Ao(e,n,t[n]);}function le(e,t,n,r=true){return Object.defineProperty(e,t,{configurable:true,writable:true,enumerable:r,value:n}),n}function Uo(e,t,n){return le(e,t,n,false)}function Ao(e,t,n){Object.defineProperty(e,t,{configurable:true,get(){return this==null?n:le(this,t,n.bind(this))},set(r){le(this,t,r);}});}function uu(e,t){let n=Object.getPrototypeOf(e);return t in n?void 0:n}var hn,ne=false,cu={configurable:true,get(){ne=true;}};function k(e,t,n){let r=Object.getPrototypeOf(e._zod);if(t in r&&hn!==e._zod){hn=void 0;return}hn=e._zod,Object.defineProperty(r,t,{configurable:true,get(){Object.defineProperty(this,t,cu);let o=ne;ne=false;try{let i=n(this);return ne?delete this[t]:Object.defineProperty(this,t,{configurable:!0,writable:!0,value:i}),ne=ne||o,i}catch(i){throw delete this[t],ne=ne||o,i}},set(o){Object.defineProperty(this,t,{configurable:true,writable:true,value:o});}});}function Vo(e,t,n,r){let o=uu(e,t);o&&Object.defineProperty(o,t,{configurable:true,get(){let i={configurable:true,writable:true,enumerable:r,value:void 0};return Object.defineProperty(this,t,i),i.value=n(this),Object.defineProperty(this,t,i),i.value},set(i){Object.defineProperty(this,t,{configurable:true,writable:true,enumerable:r,value:i});}});}var Go;var Pn={value:void 0,enumerable:false},Ko="captureStackTrace"in Error?Error:null;function du(e){let t=Ko;if(t){let n=t.stackTraceLimit;if(typeof n=="number"){try{t.stackTraceLimit=0;}catch{return Ko=null,new e}try{return new e}finally{t.stackTraceLimit=n;}}}return new e}function h(e,t,n,r){let o={};function i(f){this.def=f,this.constr=l,this.traits=new Set;}i.prototype=o;let a=n,s=a&&new WeakSet;function u(f,m){if(!f._zod){Pn.value=new i(m);try{Object.defineProperty(f,"_zod",Pn);}finally{Pn.value=void 0;}}if(f._zod.traits.has(e))return;if(f._zod.traits.add(e),t(f,m),s){let y=Object.getPrototypeOf(f),v=f._zod.constr.prototype,A=y;for(;A&&A!==v;)A=Object.getPrototypeOf(A);let E=A??y;s.has(E)||(s.add(E),jo(E,a));}let p=l.prototype;for(let y in p)Object.prototype.hasOwnProperty.call(p,y)&&(y in f||(f[y]=p[y].bind(f)));}let c=r?.Parent??Object;class d extends c{}Object.defineProperty(d,"name",{value:e});function l(f){let m=r?.Parent?du(d):this;u(m,f);let p=m._zod.deferred;if(p){for(let v of p)v();m._zod.deferred=void 0;}let y=globalThis.__zod_globalConfig?.postProcessor;return y&&y(m),m}return Object.defineProperty(l,"init",{value:u}),Object.defineProperty(l,Symbol.hasInstance,{value:f=>r?.Parent&&f instanceof r.Parent?true:f?._zod?.traits?.has(e)}),Object.defineProperty(l,"name",{value:e}),l}var J=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.");}};(Go=globalThis).__zod_globalConfig??(Go.__zod_globalConfig={});var xe=globalThis.__zod_globalConfig;function K(e){return xe}function lu(){let e=this._zod;return e.message??(e.message=JSON.stringify(e.def,Io,2)),e.message}function fu(e){this._zod.message=e;}var pu={get:lu,set:fu,enumerable:true,configurable:true},En={value:void 0,enumerable:false},Bo=new WeakSet([Object.prototype,Error.prototype]),Ho=(e,t)=>{e.name="$ZodError",En.value=t,Object.defineProperty(e,"issues",En),En.value=void 0,Object.defineProperty(e,"message",pu);let n=Object.getPrototypeOf(e);Bo.has(n)||(Bo.add(n),Object.defineProperty(n,"toString",{configurable:true,enumerable:false,get(){let r=()=>this.message;return Object.defineProperty(this,"toString",{value:r,configurable:true,writable:true}),r},set(r){Object.defineProperty(this,"toString",{value:r,configurable:true,writable:true});}}));};h("$ZodError",Ho);var He=h("$ZodError",Ho,void 0,{Parent:Error});var gu=e=>{let t=(n,r,o,i)=>{let a=o?{...o,async:false}:{async:false},s=n._zod.run({value:r,issues:[]},a);if(s instanceof Promise)throw new J;if(s.issues.length){let u=new(i?.Err??e)(s.issues.map(c=>Q(c,a,K())));throw vn(u,i?.callee??t),u}return s.value};return t},fe=gu(He),$u=e=>{let t=async(n,r,o,i)=>{let a=o?{...o,async:true}:{async:true},s=n._zod.run({value:r,issues:[]},a);if(s instanceof Promise&&(s=await s),s.issues.length){let u=new(i?.Err??e)(s.issues.map(c=>Q(c,a,K())));throw vn(u,i?.callee??t),u}return s.value};return t},Tn=$u(He),hu=e=>(t,n,r)=>{let o=r?{...r,async:false}:{async:false},i=t._zod.run({value:n,issues:[]},o);if(i instanceof Promise)throw new J;return i.issues.length?qo(e,i.issues,o):{success:true,data:i.value}},An=hu(He);function qo(e,t,n){let r;return {success:false,get error(){return r||(r=new e(t.map(o=>Q(o,n,K()))),t=void 0,n=void 0),r},set error(o){r=o,t=void 0,n=void 0;}}}var yu=e=>async(t,n,r)=>{let o=r?{...r,async:true}:{async:true},i=t._zod.run({value:n,issues:[]},o);return i instanceof Promise&&(i=await i),i.issues.length?qo(e,i.issues,o):{success:true,data:i.value}},In=yu(He);var zn=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/;var Wo=/^[\s\S]{0,}$/;var Nn=/^-?\d+(?:\.\d+)?$/,Yo=/^(?:true|false)$/i,Xo=/^null$/i;var B=h("$ZodCheck",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[]);});var Qo=e=>{let t=e.value;return !No(t)&&t.length!==void 0},bt={number:"number",bigint:"bigint",object:"date"},Jo=h("$ZodCheckLessThan",(e,t)=>{B.init(e,t);let n=bt[typeof t.value];e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:bt[typeof r.value]??n,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort});};}),Rn=h("$ZodCheckGreaterThan",(e,t)=>{B.init(e,t);let n=bt[typeof t.value];e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:bt[typeof r.value]??n,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort});};});var ei=h("$ZodCheckNumberFormat",(e,t)=>{B.init(e,t),t.format=t.format||"float64";let n=t.format?.includes("int"),r=n?"int":"number",[o,i]=Zo[t.format];e._zod.check=a=>{let s=a.value;if(n){if(!Number.isInteger(s)){a.issues.push({expected:r,format:t.format,code:"invalid_type",continue:false,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?a.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:true,continue:!t.abort}):a.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:true,continue:!t.abort});return}}s<o&&a.issues.push({origin:"number",input:s,code:"too_small",minimum:o,inclusive:true,inst:e,continue:!t.abort}),s>i&&a.issues.push({origin:"number",input:s,code:"too_big",maximum:i,inclusive:true,inst:e,continue:!t.abort});};});var ti=h("$ZodCheckMaxLength",(e,t)=>{var n;B.init(e,t),(n=e._zod.def).when??(n.when=Qo),e._zod.check=r=>{let o=r.value,i=o.length;if((typeof o=="string"&&i>t.maximum?Cn(o):i)<=t.maximum)return;let s=wn(o);r.issues.push({origin:s,code:"too_big",maximum:t.maximum,inclusive:true,input:o,inst:e,continue:!t.abort});};}),ni=h("$ZodCheckMinLength",(e,t)=>{var n;B.init(e,t),(n=e._zod.def).when??(n.when=Qo),e._zod.check=r=>{let o=r.value,i=o.length;if((typeof o=="string"&&i>=t.minimum&&i<t.minimum*2?Cn(o):i)>=t.minimum)return;let s=wn(o);r.issues.push({origin:s,code:"too_small",minimum:t.minimum,inclusive:true,input:o,inst:e,continue:!t.abort});};});var Mn=h("$ZodCheckStringFormat",(e,t)=>{var n,r;B.init(e,t),t.pattern?(n=e._zod).check??(n.check=o=>{t.pattern.lastIndex=0,!t.pattern.test(o.value)&&o.issues.push({origin:"string",code:"invalid_format",format:t.format,input:o.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort});}):(r=e._zod).check??(r.check=()=>{});}),ri=h("$ZodCheckRegex",(e,t)=>{Mn.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort});};});var ii={major:4,minor:6,patch:2};var T=h("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=ii;let r=e._zod.def.checks,o=e._zod.traits.has("$ZodCheck")?[e,...r??[]]:r?.length?[...r]:[];for(let i of o)for(let a of i._zod.onattach)a(e);if(o.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse;});else {let i=(s,u,c)=>{if(s.memo)return s;let d=X(s),l;for(let f of u){if(f._zod.def.when){if(Do(s)||!f._zod.def.when(s))continue}else if(d)continue;let m=s.issues.length,p=f._zod.check(s);if(p instanceof Promise&&c?.async===false)throw new J;if(l||p instanceof Promise)l=(l??Promise.resolve()).then(async()=>{await p,s.issues.length!==m&&(xn(s.issues,m,e),d||(d=X(s,m)));});else {if(s.issues.length===m)continue;xn(s.issues,m,e),d||(d=X(s,m));}}return l?l.then(()=>s):s},a=(s,u,c)=>{if(X(s))return s.aborted=true,s;let d=i(u,o,c);if(d instanceof Promise){if(c.async===false)throw new J;return d.then(l=>e._zod.parse(l,c))}return e._zod.parse(d,c)};e._zod.run=(s,u)=>{if(u.skipChecks)return e._zod.parse(s,u);if(u.direction==="backward"){let d=e._zod.parse({value:s.value,issues:[]},{...u,skipChecks:true});return d instanceof Promise?d.then(l=>a(l,s,u)):a(d,s,u)}let c=e._zod.parse(s,u);if(c instanceof Promise){if(u.async===false)throw new J;return c.then(d=>i(d,o,u))}return i(c,o,u)};}},{get"~standard"(){return Uo(this,"~standard",vu(this))},set"~standard"(e){le(this,"~standard",e);}}),di=(e,t)=>e.issues.length?{issues:e.issues.map(n=>Q(n,t,K()))}:{value:e.value};async function _u(e,t){let n={async:true};return di(await e._zod.run({value:t,issues:[]},n),n)}function vu(e){return {validate:t=>{let n={async:false};try{let r=e._zod.run({value:t,issues:[]},n);if(!(r instanceof Promise))return di(r,n)}catch{}return _u(e,t)},vendor:"zod",version:1}}var Ln=h("$ZodString",(e,t)=>{T.init(e,t),e._zod.pattern=t.pattern??Wo,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value);}catch{}return typeof n.value=="string"||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n};}),Fn=h("$ZodStringFormat",(e,t)=>{Mn.init(e,t),Ln.init(e,t);});var li=h("$ZodUUID",(e,t)=>{if(t.version){let r={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(r===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=zn(r));}else t.pattern??(t.pattern=zn());Fn.init(e,t);});var Zn=h("$ZodNumber",(e,t)=>{T.init(e,t),e._zod.pattern=Nn,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value);}catch{}let o=n.value;if(typeof o=="number"&&!Number.isNaN(o)&&Number.isFinite(o))return n;let i=typeof o=="number"?Number.isNaN(o)?"NaN":Number.isFinite(o)?void 0:String(o):void 0;return n.issues.push({expected:"number",code:"invalid_type",input:o,inst:e,...i?{received:i}:{}}),n};}),fi=h("$ZodNumberFormat",(e,t)=>{ei.init(e,t),Zn.init(e,t);}),pi=h("$ZodBoolean",(e,t)=>{T.init(e,t),e._zod.pattern=Yo,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value;}catch{}let o=n.value;return typeof o=="boolean"||n.issues.push({expected:"boolean",code:"invalid_type",input:o,inst:e}),n};});var mi=h("$ZodNull",(e,t)=>{T.init(e,t),e._zod.pattern=Xo,e._zod.values=new Set([null]),e._zod.parse=(n,r)=>{let o=n.value;return o===null||n.issues.push({expected:"null",code:"invalid_type",input:o,inst:e}),n};});var gi=h("$ZodUnknown",(e,t)=>{T.init(e,t),e._zod.parse=n=>n;}),$i=h("$ZodNever",(e,t)=>{T.init(e,t),e._zod.parse=(n,r)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:e}),n);});function ai(e,t,n){e.issues.length&&t.issues.push(...re(n,e.issues)),t.value[n]=e.value;}var hi=h("$ZodArray",(e,t)=>{T.init(e,t);let n=xe.memoizer;n?.attach(e),e._zod.parse=(r,o)=>{let i=r.value;if(!Array.isArray(i))return r.issues.push({expected:"array",code:"invalid_type",input:i,inst:e}),r;r.value=n?n.alloc(e,r,Array(i.length),o):Array(i.length);let a=[],s=o?.abortEarly;for(let u=0;u<i.length;u++){let c=i[u],d=t.element._zod.run({value:c,issues:[]},o);if(d instanceof Promise)a.push(d.then(l=>ai(l,r,u)));else if(ai(d,r,u),s&&d.issues.length!==0&&X(d))break}return a.length?Promise.all(a).then(()=>r):r};});function xt(e,t,n,r,o,i){let a=n in r,s=i==="optional";if(!(!a&&s&&o==="optional")){if(e.issues.length){if(o!==void 0&&s&&!a)return;t.issues.push(...re(n,e.issues));}if(!a&&o===void 0){e.issues.length||t.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[n]});return}e.value===void 0?(a||o==="defaulted"&&!s)&&(t.value[n]=void 0):t.value[n]=e.value;}}var bu=[];function xu(e){let t=Object.keys(e.shape),n=Object.getOwnPropertySymbols(e.shape),r=n.length?n:bu,o=r.length?[...t,...r]:t;for(let a of o)if(!e.shape?.[a]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${String(a)}": expected a Zod schema`);let i=Fo(e.shape);return {...e,allKeys:o,symbolKeys:r,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(i)}}function Cu(e,t,n,r,o,i,a){let s=[],u=o.keySet,c=o.catchall._zod,d=c.def.type,l=c.optin,f=c.optout,m=0;for(let p in t){if(a&&n.issues.length!==m){if(X(n,m))break;m=n.issues.length;}if(u.has(p))continue;if(p==="__proto__"){d==="never"&&s.push(p);continue}if(d==="never"){s.push(p);continue}let y=c.run({value:t[p],issues:[]},r);y instanceof Promise?e.push(y.then(v=>xt(v,n,p,t,l,f))):xt(y,n,p,t,l,f);}return s.length&&n.issues.push({code:"unrecognized_keys",keys:s,input:t,inst:i,continue:true}),e.length?Promise.all(e).then(()=>n):n}var yi=h("$ZodObject",(e,t)=>{T.init(e,t);let n=Object.getOwnPropertyDescriptor(t,"shape"),r=n?.get?n.get.raw:t.shape??{};if(r){let c=()=>{let d={...r};return Object.defineProperty(t,"shape",{value:d}),c.raw=d,d};c.raw=r,Object.defineProperty(t,"shape",{get:c});}let o=zo(()=>xu(t));k(e,"propValues",c=>{let d=c.def.shape,l={};for(let f in d){let m=d[f]._zod;if(m.values){Object.prototype.hasOwnProperty.call(l,f)||Ro(l,f,new Set);for(let p of m.values)l[f].add(p);m.optin!==void 0&&l[f].add(void 0);}}return l});let i=_t,a=t.catchall,s,u=xe.memoizer;u?.attach(e),e._zod.parse=(c,d)=>{s??(s=o.value);let l=c.value;if(!i(l))return c.issues.push({expected:"object",code:"invalid_type",input:l,inst:e}),c;c.value=u?u.alloc(e,c,{},d):{};let f=[],m=s.shape,p=d?.abortEarly,y=c.issues.length;for(let v of s.allKeys){if(p&&c.issues.length!==y){if(X(c,y))break;y=c.issues.length;}if(v==="__proto__")continue;let A=m[v],E=A._zod.optin,D=A._zod.optout,j=A._zod.run({value:l[v],issues:[]},d);j instanceof Promise?f.push(j.then(ce=>xt(ce,c,v,l,E,D))):xt(j,c,v,l,E,D);}return a?Cu(f,l,c,d,o.value,e,p===true):f.length?Promise.all(f).then(()=>c):c};});function si(e,t,n,r){for(let i of e)if(i.issues.length===0)return t.value=i.value,t;let o=e.filter(i=>!X(i));return o.length===1?(t.value=o[0].value,o[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(i=>i.issues.map(a=>Q(a,r,K())))}),t)}var _i=h("$ZodUnion",(e,t)=>{T.init(e,t),k(e,"optin",r=>r.def.options.some(o=>o._zod.optin==="defaulted")?"defaulted":r.def.options.some(o=>o._zod.optin!==void 0)?"optional":void 0),k(e,"optout",r=>r.def.options.some(o=>o._zod.optout==="optional")?"optional":void 0),k(e,"values",r=>{if(r.def.options.every(o=>o._zod.values))return new Set(r.def.options.flatMap(o=>Array.from(o._zod.values)))}),k(e,"pattern",r=>{if(r.def.options.every(o=>o._zod.pattern)){let o=r.def.options.map(i=>i._zod.pattern);return new RegExp(`^(${o.map(i=>vt(i.source)).join("|")})$`)}});let n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(r,o)=>{if(n)return n(r,o);let i=false,a=[];for(let s of t.options){let u=s._zod.run({value:r.value,issues:[]},o);if(u instanceof Promise)a.push(u),i=true;else {if(u.issues.length===0)return u;a.push(u);}}return i?Promise.all(a).then(s=>si(s,r,e,o)):si(a,r,e,o)};});var vi=h("$ZodRecord",(e,t)=>{T.init(e,t);let n=xe.memoizer;n?.attach(e),e._zod.parse=(r,o)=>{let i=r.value;if(!Mo(i))return r.issues.push({expected:"record",code:"invalid_type",input:i,inst:e}),r;let a=[],s=t.keyType._zod.values;if(s&&!t.partial){r.value=n?n.alloc(e,r,{},o):{};let u=new Set;for(let d of s)if(typeof d=="string"||typeof d=="number"||typeof d=="symbol"){if(u.add(typeof d=="number"?d.toString():d),d==="__proto__")continue;let l=t.keyType._zod.run({value:d,issues:[]},o);if(l instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(l.issues.length){r.issues.push({code:"invalid_key",origin:"record",issues:l.issues.map(p=>Q(p,o,K())),input:d,path:[d],inst:e});continue}let f=l.value;if(f==="__proto__")continue;let m=t.valueType._zod.run({value:i[d],issues:[]},o);m instanceof Promise?a.push(m.then(p=>{p.issues.length&&r.issues.push(...re(d,p.issues)),r.value[f]=p.value;})):(m.issues.length&&r.issues.push(...re(d,m.issues)),r.value[f]=m.value);}let c;for(let d in i)if(!u.has(d))if(t.mode==="loose"){if(d==="__proto__")continue;r.value[d]=i[d];}else c=c??[],c.push(d);c&&c.length>0&&r.issues.push({code:"unrecognized_keys",input:i,inst:e,keys:c,continue:true});}else {r.value=n?n.alloc(e,r,{},o):{};let u;for(let c of Reflect.ownKeys(i)){if(c==="__proto__"||!Object.prototype.propertyIsEnumerable.call(i,c))continue;let d=t.keyType._zod.run({value:c,issues:[]},o);if(d instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof c=="string"&&Nn.test(c)&&d.issues.length){let p=t.keyType._zod.run({value:Number(c),issues:[]},o);if(p instanceof Promise)throw new Error("Async schemas not supported in object keys currently");p.issues.length===0&&(d=p);}if(d.issues.length){t.mode==="loose"?r.value[c]=i[c]:s?(u=u??[],u.push(c)):r.issues.push({code:"invalid_key",origin:"record",issues:d.issues.map(p=>Q(p,o,K())),input:c,path:[c],inst:e});continue}let f=d.value;if(f==="__proto__")continue;let m=t.valueType._zod.run({value:i[c],issues:[]},o);m instanceof Promise?a.push(m.then(p=>{p.issues.length&&r.issues.push(...re(c,p.issues)),r.value[f]=p.value;})):(m.issues.length&&r.issues.push(...re(c,m.issues)),r.value[f]=m.value);}u&&u.length>0&&r.issues.push({code:"unrecognized_keys",input:i,inst:e,keys:u,continue:true});}return a.length?Promise.all(a).then(()=>r):r};});var bi=h("$ZodEnum",(e,t)=>{T.init(e,t);let n=_n(t.entries),r=new Set(n);e._zod.values=r,k(e,"pattern",o=>{let i=_n(o.def.entries).filter(a=>Lo.has(typeof a));return new RegExp(i.length?`^(${i.map(a=>bn(a.toString())).join("|")})$`:"^[^\\s\\S]$")}),e._zod.parse=(o,i)=>{let a=o.value;return r.has(a)||o.issues.push({code:"invalid_value",values:n,input:a,inst:e}),o};});function ui(e,t){return e.value=t.issues.length?void 0:t.value,e}var xi=h("$ZodOptional",(e,t)=>{T.init(e,t),k(e,"optin",n=>n.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),e._zod.optout="optional",k(e,"values",n=>{let r=n.def.innerType._zod.values;return r?new Set([...r,void 0]):void 0}),k(e,"pattern",n=>{let r=n.def.innerType._zod.pattern;return r?new RegExp(`^(${vt(r.source)})?$`):void 0}),e._zod.parse=(n,r)=>{if(n.value===void 0){if(t.innerType._zod.optin!=="defaulted")return n;let o=t.innerType._zod.run({value:n.value,issues:[]},r);return o instanceof Promise?o.then(i=>ui(n,i)):ui(n,o)}return t.innerType._zod.run(n,r)};});var Ci=h("$ZodNullable",(e,t)=>{T.init(e,t),k(e,"optin",n=>n.def.innerType._zod.optin),k(e,"optout",n=>n.def.innerType._zod.optout),k(e,"pattern",n=>{let r=n.def.innerType._zod.pattern;return r?new RegExp(`^(${vt(r.source)}|null)$`):void 0}),k(e,"values",n=>n.def.innerType._zod.values?new Set([...n.def.innerType._zod.values,null]):void 0),e._zod.parse=(n,r)=>n.value===null?n:t.innerType._zod.run(n,r);});var wi=h("$ZodLazy",(e,t)=>{T.init(e,t),Oo(e._zod,"innerType",()=>{let n=t;return n._cachedInner||(n._cachedInner=t.getter()),n._cachedInner}),k(e,"pattern",n=>n.innerType?._zod?.pattern),k(e,"propValues",n=>n.innerType?._zod?.propValues),k(e,"optin",n=>n.innerType?._zod?.optin??void 0),k(e,"optout",n=>n.innerType?._zod?.optout??void 0),e._zod.parse=(n,r)=>e._zod.innerType._zod.run(n,r);}),Si=h("$ZodCustom",(e,t)=>{B.init(e,t),T.init(e,t),e._zod.parse=(n,r)=>n,e._zod.check=n=>{let r=n.value,o=t.fn(r);if(o instanceof Promise)return o.then(i=>ci(i,n,r,e));ci(o,n,r,e);};});function ci(e,t,n,r){if(!e){let o={code:"custom",input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(o.params=r._zod.def.params),t.issues.push(Sn(o));}}var Pi;var Dn=class{constructor(){this._map=new WeakMap,this._idmap=new Map;}add(t,...n){let r=n[0];return this._map.set(t,r),r&&typeof r=="object"&&"id"in r&&this._idmap.set(r.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){let n=this._map.get(t);return n&&typeof n=="object"&&"id"in n&&this._idmap.delete(n.id),this._map.delete(t),this}get(t){let n=t._zod.parent;if(n){let r={...this.get(n)??{}};delete r.id;let o={...r,...this._map.get(t)};return Object.keys(o).length?o:void 0}return this._map.get(t)}has(t){return this._map.has(t)}};function ki(){return new Dn}(Pi=globalThis).__zod_globalRegistry??(Pi.__zod_globalRegistry=ki());var jn=globalThis.__zod_globalRegistry;function Ei(e,t){return new e({type:"string",...w(t)})}function Ti(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:false,...w(t)})}function Ai(e,t){return new e({type:"number",checks:[],...w(t)})}function Ii(e,t){return new e({type:"number",check:"number_format",abort:false,format:"safeint",...w(t)})}function zi(e,t){return new e({type:"boolean",...w(t)})}function Ni(e,t){return new e({type:"null",...w(t)})}function Oi(e){return new e({type:"unknown"})}function Ri(e,t){return new e({type:"never",...w(t)})}function ie(e,t){return new Jo({check:"less_than",...w(t),value:e,inclusive:true})}function Mi(e,t){return new Rn({check:"greater_than",...w(t),value:e,inclusive:false})}function F(e,t){return new Rn({check:"greater_than",...w(t),value:e,inclusive:true})}function Un(e){return Mi(0,e)}function Vn(e){return F(0,e)}function qe(e,t){return new ti({check:"max_length",...w(t),maximum:e})}function pe(e,t){return new ni({check:"min_length",...w(t),minimum:e})}function We(e,t){return new ri({check:"string_format",format:"regex",...w(t),pattern:e})}function Li(e,t,n){let r=w(n);return r.abort??(r.abort=true),new e({type:"custom",check:"custom",fn:t,...r})}var N=h("ZodMiniType",(e,t)=>{if(!e._zod)throw new Error("Uninitialized schema in ZodMiniType.");T.init(e,t),e.def=t,e.type=t.type;},{get with(){return this.check},set with(e){le(this,"with",e);},parse(e,t){return fe(this,e,t,{callee:this.parse})},parseAsync(e,t){return Tn(this,e,t,{callee:this.parseAsync})},safeParse(e,t){return An(this,e,t)},safeParseAsync(e,t){return In(this,e,t)},check(...e){let t=this.def;return this.clone({...t,checks:[...t.checks??[],...e.map(n=>typeof n=="function"?{_zod:{check:n,def:{check:"custom"},onattach:[]}}:n)]},{parent:true})},clone(e,t){return Be(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},apply(e,...t){return t.length===0?e(this):e(this,...t)}}),Zi=h("ZodMiniString",(e,t)=>{Ln.init(e,t),N.init(e,t);});function g(e){return Ei(Zi,e)}var ku=h("ZodMiniStringFormat",(e,t)=>{Fn.init(e,t),Zi.init(e,t);});var Eu=h("ZodMiniUUID",(e,t)=>{li.init(e,t),ku.init(e,t);});function Di(e){return Ti(Eu,e)}var ji=h("ZodMiniNumber",(e,t)=>{Zn.init(e,t),N.init(e,t);});function me(e){return Ai(ji,e)}var Tu=h("ZodMiniNumberFormat",(e,t)=>{fi.init(e,t),ji.init(e,t);});function Z(e){return Ii(Tu,e)}var Au=h("ZodMiniBoolean",(e,t)=>{pi.init(e,t),N.init(e,t);});function Ct(e){return zi(Au,e)}var Iu=h("ZodMiniNull",(e,t)=>{mi.init(e,t),N.init(e,t);});function Ui(e){return Ni(Iu,e)}var zu=h("ZodMiniUnknown",(e,t)=>{gi.init(e,t),N.init(e,t);});function Vi(){return Oi(zu)}var Nu=h("ZodMiniNever",(e,t)=>{$i.init(e,t),N.init(e,t);});function Ou(e){return Ri(Nu,e)}var Ru=h("ZodMiniArray",(e,t)=>{hi.init(e,t),N.init(e,t);});function H(e,t){return new Ru({type:"array",element:e,...w(t)})}var Gi=h("ZodMiniObject",(e,t)=>{yi.init(e,t),N.init(e,t),Vo(e,"shape",n=>n._zod.def.shape,false);});function Ki(e,t){let n={type:"object",shape:e??{},...w(t)};return new Gi(n)}function $(e,t){return new Gi({type:"object",shape:e,catchall:Ou(),...w(t)})}var Mu=h("ZodMiniUnion",(e,t)=>{_i.init(e,t),N.init(e,t);});function Bi(e,t){return new Mu({type:"union",options:e,...w(t)})}var Fi=h("ZodMiniRecord",(e,t)=>{vi.init(e,t),N.init(e,t);});function Ce(e,t,n){return !t||!t._zod?new Fi({type:"record",keyType:g(),valueType:e,...w(t)}):new Fi({type:"record",keyType:e,valueType:t,...w(n)})}var Lu=h("ZodMiniEnum",(e,t)=>{bi.init(e,t),N.init(e,t),e.options=[...e._zod.values];});function wt(e,t){let n=Array.isArray(e)?Object.fromEntries(e.map(r=>[r,r])):e;return new Lu({type:"enum",entries:n,...w(t)})}var Fu=h("ZodMiniOptional",(e,t)=>{xi.init(e,t),N.init(e,t);});function x(e){return new Fu({type:"optional",innerType:e})}var Zu=h("ZodMiniNullable",(e,t)=>{Ci.init(e,t),N.init(e,t);});function C(e){return new Zu({type:"nullable",innerType:e})}var Du=h("ZodMiniLazy",(e,t)=>{wi.init(e,t),N.init(e,t);});function Hi(e){return new Du({type:"lazy",getter:e})}var ju=h("ZodMiniCustom",(e,t)=>{Si.init(e,t),N.init(e,t);});function qi(e,t){return Li(ju,e??(()=>true),t)}var Wi="1.1.0";var Yi={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,[["(?:(?:241|349)0\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|[34]\\d\\d)|91(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79]))))\\d{3}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],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","[024-7]\\d{7}",[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|8)\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]]],BL:["590","00","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["(?:59(?:0(?:2[7-9]|3[3-7]|5[12]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],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)?","(?:[2-7]\\d\\d|8001)\\d{5}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[23]|4[46]|50"]],["(\\d{8})","$1",["[5-7]"]],["(\\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]|3[23]|44|66|77|88)|6(?:22|33))[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0"],CF:["236","00","8776\\d{4}|(?:[27]\\d|61)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-8]"]]]],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-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],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,0,[["528[89]\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],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-57-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-57-9]"],"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-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],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","(?:694\\d|7093)\\d{5}|(?:59|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|80[6-9]|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{8}|800\\d{5,6}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2358]"],"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","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|80[6-9]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:59(?:0(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],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]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67)[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(?:(?: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)|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(?:3171|5[15][2-6]|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|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]|3[129]|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(?:[23569]|8[0-57-9])|8[1-6])|7(?:1(?:[013-8]|9[6-9])|3(?:17|2[0-49]|9[2-57])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\\d|7(?:[23569]\\d|8[0-57-9])|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|3(?:2[0-49]|9[2-57])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["16|[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["18[06]","18[06]0"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],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,11}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[03]"]]],0,0,0,0,0,0,[["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0|180020","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[47]"],"0$1"]],"0"],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","8\\d{13}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"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",["20"]],["(\\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]"]],["(\\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",["20"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|78|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2679]|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{4})(\\d{5})","$1-$2",["892"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8(?:0[0-7]|9)"],"0$1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[5-8]"],"0$1"]],"0",0,0,0,0,"[5-8]"],MC:["377","00","(?:[3489]|[67]\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[67]"],"0$1"]],"0"],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","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["(?:59(?:0(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],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",["11|2[16]"],"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","7091\\d{5}|(?:[56]9|[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",["30|(?: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","30|(?: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","[78]\\d{8}|[2-9]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[2-9]"],"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","[36-8]\\d{5,8}|4\\d{6,8}|59\\d{6}|9\\d{5,10}|(?:2\\d|5[0-8])\\d{6,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["3[289]|4[246-8]|61|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],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,[["2631[0-6]\\d{4}|26(?:2\\d|30|88)\\d{5}"],["(?: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,"[3489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0"],SA:["966","00","(?:[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-9]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-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","[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[25-7]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],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|[3689]\\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|66)\\d{7}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3(?:[1245]|3[12])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["\\d"]]],0,0,0,0,0,0,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-79]"],"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{3})(\\d{5})","$1 $2",["826"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["83"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["82"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[25]0|37|49|8[09]"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-478])|7[1-9]","[23568]|4(?:0[2-48]|[1-478])|(?: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,[["(?:274[27]|(?:472|983)[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-2478]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}",[4,5,6,7,8,9,10,11,12,13],[["(\\d{4,5})","$1",["21"]],["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,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(?:2[02]|[89])"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[26]|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","(?:639\\d|7093)\\d{5}|(?:26|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["26(?:89\\d|9(?: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|5[12]"]],["(\\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})|5(?:0\\d{3}|2[0-2]))\\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}"]]]}};function Gn(e,t){var n=Array.prototype.slice.call(t);return n.push(Yi),e.apply(this,n)}function Kn(e,t){e=e.split("-"),t=t.split("-");for(var n=e[0].split("."),r=t[0].split("."),o=0;o<3;o++){var i=Number(n[o]),a=Number(r[o]);if(i>a)return 1;if(a>i)return -1;if(!isNaN(i)&&isNaN(a))return 1;if(isNaN(i)&&!isNaN(a))return -1}return e[1]&&t[1]?e[1]>t[1]?1:e[1]<t[1]?-1:0:!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0}var Vu={}.constructor;function q(e){return e!=null&&e.constructor===Vu}var Gu=/^\d+$/;function Bn(e){return Gu.test(e)}function we(e){"@babel/helpers - typeof";return we=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},we(e)}function St(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||false,r.configurable=true,"value"in r&&(r.writable=true),Object.defineProperty(e,Ku(r.key),r);}}function Pt(e,t,n){return t&&Xi(e.prototype,t),Object.defineProperty(e,"prototype",{writable:false}),e}function Ku(e){var t=Bu(e,"string");return we(t)=="symbol"?t:t+""}function Bu(e,t){if(we(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(we(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return (String)(e)}var Hu="1.2.0",qu="1.7.35",Qi=" ext. ",b=(function(){function e(t){St(this,e),Hn(t),this.metadata=t,na.call(this,t);}return Pt(e,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(n){return n!=="001"})}},{key:"getCountryMetadata",value:function(n){return this.metadata.countries[n]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(n){return this.getCountryMetadata(n)!==void 0}},{key:"hasCallingCode",value:function(n){if(this.getCountryCodesForCallingCode(n))return true;if(this.nonGeographic()){if(this.nonGeographic()[n])return true}else {var r=this.countryCallingCodes()[n];if(r&&r.length===1&&r[0]==="001")return true}}},{key:"isNonGeographicCallingCode",value:function(n){return this.nonGeographic()?!!this.nonGeographic()[n]:!this.getCountryCodesForCallingCode(n)}},{key:"country",value:function(n){return this.selectNumberingPlan(n)}},{key:"selectNumberingPlan",value:function(n,r){var o,i;if(n&&(Bn(n)?i=n:o=n),r&&(i=r),o&&o!=="001"){var a=this.getCountryMetadata(o);if(!a)throw new Error("Unknown country: ".concat(o));this.numberingPlan=new Ji(a,this);}else if(i){if(!this.hasCallingCode(i))throw new Error("Unknown calling code: ".concat(i));this.numberingPlan=new Ji(this.getNumberingPlanMetadata(i),this);}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(n){var r=this.countryCallingCodes()[n];if(r)return r.length===1&&r[0].length===3?void 0:r}},{key:"getCountryCodeForCallingCode",value:function(n){var r=this.getCountryCodesForCallingCode(n);if(r)return r[0]}},{key:"getNumberingPlanMetadata",value:function(n){var r=this.getCountryCodeForCallingCode(n);if(r)return this.getCountryMetadata(r);if(this.nonGeographic()){var o=this.nonGeographic()[n];if(o)return o}else {var i=this.countryCallingCodes()[n];if(i&&i.length===1&&i[0]==="001")return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(n){return this.numberingPlan.type(n)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(n){return this.selectNumberingPlan(n)}},{key:"hasSelectedNumberingPlan",value:function(){return this.numberingPlan!==void 0}}])})();var Ji=(function(){function e(t,n){St(this,e),this.globalMetadataObject=n,this.metadata=t,na.call(this,n.metadata);}return Pt(e,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"_getDefaultCountryMetadataForThisCallingCode",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this._getDefaultCountryMetadataForThisCallingCode()}},{key:"IDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(n){return n[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var n=this,r=this._getFormats(this.metadata)||this._getFormats(this._getDefaultCountryMetadataForThisCallingCode())||[];return r.map(function(o){return new Wu(o,n)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(n){return n[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this._getDefaultCountryMetadataForThisCallingCode())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return !!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this._getDefaultCountryMetadataForThisCallingCode())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return this.types()&&this.types().length===0?false:!!this.types()}},{key:"type",value:function(n){if(this.hasTypes()&&ea(this.types(),n))return new Xu(ea(this.types(),n),this)}},{key:"ext",value:function(){return this.v1||this.v2?Qi:this.metadata[13]||Qi}}])})(),Wu=(function(){function e(t,n){St(this,e),this._format=t,this.metadata=n;}return Pt(e,[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return !!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return !!(this.nationalPrefixFormattingRule()&&!Yu.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}])})(),Yu=/^\(?\$1\)?$/,Xu=(function(){function e(t,n){St(this,e),this.type=t,this.metadata=n;}return Pt(e,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}])})();function ea(e,t){switch(t){case "FIXED_LINE":return e[0];case "MOBILE":return e[1];case "TOLL_FREE":return e[2];case "PREMIUM_RATE":return e[3];case "PERSONAL_NUMBER":return e[4];case "VOICEMAIL":return e[5];case "UAN":return e[6];case "PAGER":return e[7];case "VOIP":return e[8];case "SHARED_COST":return e[9]}}function Hn(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!q(e)||!q(e.countries))throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(q(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+Qu(e)+": "+e,"."))}var Qu=function(t){return we(t)};function Ye(e,t){var n=new b(t);if(n.hasCountry(e))return n.selectNumberingPlan(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function ta(e,t){return t.countries.hasOwnProperty(e)}function na(e){var t=e.version;typeof t=="number"?(this.v1=t===1,this.v2=t===2,this.v3=t===3,this.v4=t===4):t?Kn(t,Hu)===-1?this.v2=true:Kn(t,qu)===-1?this.v3=true:this.v4=true:this.v1=true;}function ge(e,t,n){return oa(e,void 0,t,n)}function oa(e,t,n,r){n&&(r=new b(r.metadata),r.selectNumberingPlan(n));var o=r.type(t),i=o&&o.possibleLengths()||r.possibleLengths();if(!i)return "IS_POSSIBLE";var s=e.length,u=i[0];return u===s?"IS_POSSIBLE":u>s?"TOO_SHORT":i[i.length-1]<s?"TOO_LONG":i.indexOf(s,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function Wn(e,t,n){t===void 0&&(t={});var r=new b(n);if(t.v2){if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");r.selectNumberingPlan(e.country||e.countryCallingCode);}else {if(!e.phone)return false;if(e.country){if(!r.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));r.selectNumberingPlan(e.country);}else {if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");r.selectNumberingPlan(e.countryCallingCode);}}if(r.possibleLengths())return Yn(e.phone||e.nationalNumber,r);if(e.countryCallingCode&&r.isNonGeographicCallingCode(e.countryCallingCode))return true;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}function Yn(e,t){return ge(e,void 0,t)==="IS_POSSIBLE"}function I(e,t){return e=e||"",new RegExp("^(?:"+t+")$").test(e)}function tc(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return (n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=nc(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:true}:{done:false,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function nc(e,t){if(e){if(typeof e=="string")return ia(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ia(e,t):void 0}}function ia(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var rc=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function $e(e,t,n){if(t=t||{},!(!e.country&&!e.countryCallingCode)){var r=new b(n);r.selectNumberingPlan(e.country||e.countryCallingCode);var o=t.v2?e.nationalNumber:e.phone;if(I(o,r.nationalNumberPattern())){if(Xn(o,"FIXED_LINE",r))return r.type("MOBILE")&&r.type("MOBILE").pattern()===""||!r.type("MOBILE")||Xn(o,"MOBILE",r)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE";for(var i=tc(rc),a;!(a=i()).done;){var s=a.value;if(Xn(o,s,r))return s}}}}function Xn(e,t,n){var r=n.type(t);return !r||!r.pattern()||r.possibleLengths()&&r.possibleLengths().indexOf(e.length)<0?false:I(e,r.pattern())}function Qn(e,t,n){t=t||{};var r=new b(n);if(r.selectNumberingPlan(e.country||e.countryCallingCode),r.hasTypes())return $e(e,t,r.metadata)!==void 0;var o=t.v2?e.nationalNumber:e.phone;return I(o,r.nationalNumberPattern())}var oc=/^[A-Z]{2}$/;function Jn(e){return oc.test(e)}var ic=false;function er(e,t){var n,r,o=new b(t);return Jn(e)?(n=e,o.selectNumberingPlan(n),r=o.countryCallingCode()):(r=e,ic),{country:n,callingCode:r}}function tr(e,t,n){var r=new b(n),o=r.getCountryCodesForCallingCode(e);return o?o.filter(function(i){return ac(t,i,n)}):[]}function ac(e,t,n){var r=new b(n);return r.selectNumberingPlan(t),r.numberingPlan.possibleLengths().indexOf(e.length)>=0}var Xe=2,aa=17,sa=3,z="0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9",sc="-\u2010-\u2015\u2212\u30FC\uFF0D",uc="\uFF0F/",cc="\uFF0E.",dc=" \xA0\xAD\u200B\u2060\u3000",lc="()\uFF08\uFF09\uFF3B\uFF3D\\[\\]",fc="~\u2053\u223C\uFF5E",Se="".concat(sc).concat(uc).concat(cc).concat(dc).concat(lc).concat(fc),Qe="+\uFF0B";var pc=new RegExp("(["+z+"])");function nr(e,t,n,r){if(t){var o=new b(r);o.selectNumberingPlan(t||n);var i=new RegExp(o.IDDPrefix());if(e.search(i)===0){e=e.slice(e.match(i)[0].length);var a=e.match(pc);if(!(a&&a[1]!=null&&a[1].length>0&&a[1]==="0"))return e}}}function rr(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(e);if(r){var o,i,a=r.length-1,s=a>0&&r[a];if(t.nationalPrefixTransformRule()&&s)o=e.replace(n,t.nationalPrefixTransformRule()),a>1&&(i=r[1]);else {var u=r[0];o=e.slice(u.length),s&&(i=r[1]);}var c;if(s){var d=e.indexOf(r[1]),l=e.slice(0,d);l===t.numberingPlan.nationalPrefix()&&(c=t.numberingPlan.nationalPrefix());}else c=r[0];return {nationalNumber:o,nationalPrefix:c,carrierCode:i}}}return {nationalNumber:e}}function mc(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return (n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=gc(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:true}:{done:false,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
3
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function gc(e,t){if(e){if(typeof e=="string")return ua(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ua(e,t):void 0}}function ua(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function or(e,t,n){for(var r=new b(n),o=mc(t),i;!(i=o()).done;){var a=i.value;if(r.selectNumberingPlan(a),r.leadingDigits()){if(e&&e.search(r.leadingDigits())===0)return a}else if($e({phone:e,country:a},void 0,r.metadata))return a}}function Je(e,t){var n=t.nationalNumber,r=t.metadata;var o=r.getCountryCodesForCallingCode(e);if(o)return o.length===1?o[0]:or(n,o,r.metadata)}function Pe(e,t,n){var r=rr(e,n),o=r.carrierCode,i=r.nationalNumber;if(i!==e){if(!hc(e,i,n))return {nationalNumber:e};if(n.numberingPlan.possibleLengths()&&(t||(t=Je(n.numberingPlan.callingCode(),{nationalNumber:i,metadata:n})),!yc(i,t,n)))return {nationalNumber:e}}return {nationalNumber:i,carrierCode:o}}function hc(e,t,n){return !(I(e,n.nationalNumberPattern())&&!I(t,n.nationalNumberPattern()))}function yc(e,t,n){switch(ge(e,t,n)){case "TOO_SHORT":case "INVALID_LENGTH":return false;default:return true}}function ir(e,t,n,r,o){if(!(n||r))return {number:e};var i=n?Ye(n,o):r;if(e.indexOf(i)===0){var a=new b(o);a.selectNumberingPlan(n||r);var s=e.slice(i.length),u=Pe(s,void 0,a),c=u.nationalNumber,d=Pe(e,void 0,a),l=d.nationalNumber;if(!I(l,a.nationalNumberPattern())&&I(c,a.nationalNumberPattern())||ge(l,void 0,a)==="TOO_LONG")return {countryCallingCode:i,number:s}}return {number:e}}function et(e,t,n,r,o){if(!e)return {};var i;if(e[0]!=="+"){var a=nr(e,n,r,o);if(a&&a!==e)i=true,e="+"+a;else {if(n||r){var s=ir(e,t,n,r,o),u=s.countryCallingCode,c=s.number;if(u)return {countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:u,number:c}}return {number:e}}}if(e[1]==="0")return {};for(var d=new b(o),l=2;l-1<=sa&&l<=e.length;){var f=e.slice(1,l);if(d.hasCallingCode(f))return d.selectNumberingPlan(f),{countryCallingCodeSource:i?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:f,number:e.slice(l)};l++;}return {}}function ar(e){return e.replace(new RegExp("[".concat(Se,"]+"),"g")," ").trim()}var _c=/(\$\d)/;function sr(e,t,n){var r=n.useInternationalFormat,o=n.withNationalPrefix,s=e.replace(new RegExp(t.pattern()),r?t.internationalFormat():o&&t.nationalPrefixFormattingRule()?t.format().replace(_c,t.nationalPrefixFormattingRule()):t.format());return r?ar(s):s}var vc=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function ur(e,t,n){var r=new b(n);if(r.selectNumberingPlan(e||t),r.defaultIDDPrefix())return r.defaultIDDPrefix();if(vc.test(r.IDDPrefix()))return r.IDDPrefix()}var bc=";ext=",ke=function(t){return "([".concat(z,"]{1,").concat(t,"})")};function tt(e){var t="20",n="15",r="9",o="6",i="[ \xA0\\t,]*",a="[:\\.\uFF0E]?[ \xA0\\t,-]*",s="#?",u="(?:e?xt(?:ensi(?:o\u0301?|\xF3))?n?|\uFF45?\uFF58\uFF54\uFF4E?|\u0434\u043E\u0431|anexo)",c="(?:[x\uFF58#\uFF03~\uFF5E]|int|\uFF49\uFF4E\uFF54)",d="[- ]+",l="[ \xA0\\t]*",f="(?:,{2}|;)",m=bc+ke(t),p=i+u+a+ke(t)+s,y=i+c+a+ke(r)+s,v=d+ke(o)+"#",A=l+f+a+ke(n)+s,E=l+"(?:,)+"+a+ke(r)+s;return m+"|"+p+"|"+y+"|"+v+"|"+A+"|"+E}var xc="["+z+"]{"+Xe+"}",Cc="["+Qe+"]{0,1}(?:["+Se+"]*["+z+"]){3,}["+Se+z+"]*",wc=new RegExp("^["+Qe+"]{0,1}(?:["+Se+"]*["+z+"]){1,2}$","i"),Sc=Cc+"(?:"+tt()+")?",Pc=new RegExp("^"+xc+"$|^"+Sc+"$","i");function cr(e){return e.length>=Xe&&Pc.test(e)}function ca(e){return wc.test(e)}function da(e){var t=e.number,n=e.ext;if(!t)return "";if(t[0]!=="+")throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return "tel:".concat(t).concat(n?";ext="+n:"")}var la={formatExtension:function(t,n,r){return "".concat(t).concat(r.ext()).concat(n)}};function lr(e,t,n,r){n?n=Tc({},la,n):n=la;var o=new b(r);if(e.country&&e.country!=="001"){if(!o.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));o.selectNumberingPlan(e.country);}else if(e.countryCallingCode)o.selectNumberingPlan(e.countryCallingCode);else return e.phone||"";var i=o.countryCallingCode(),a=n.v2?e.nationalNumber:e.phone,s;switch(t){case "NATIONAL":return a?(s=kt(a,e.carrierCode,"NATIONAL",o,n),dr(s,e.ext,o,n.formatExtension)):"";case "INTERNATIONAL":return a?(s=kt(a,null,"INTERNATIONAL",o,n),s="+".concat(i," ").concat(s),dr(s,e.ext,o,n.formatExtension)):"+".concat(i);case "E.164":return "+".concat(i).concat(a);case "RFC3966":return da({number:"+".concat(i).concat(a),ext:e.ext});case "IDD":if(!n.fromCountry)return;var u=Ec(a,e.carrierCode,i,n.fromCountry,o);return u?dr(u,e.ext,o,n.formatExtension):void 0;default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t,'"'))}}function kt(e,t,n,r,o){var i=kc(r.formats(),e);return i?sr(e,i,{useInternationalFormat:n==="INTERNATIONAL",withNationalPrefix:!(i.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&o&&o.nationalPrefix===false)}):e}function kc(e,t){return Ac(e,function(n){if(n.leadingDigitsPatterns().length>0){var r=n.leadingDigitsPatterns()[n.leadingDigitsPatterns().length-1];if(t.search(r)!==0)return false}return I(t,n.pattern())})}function dr(e,t,n,r){return t?r(e,t,n):e}function Ec(e,t,n,r,o){var i=Ye(r,o.metadata);if(i===n){var a=kt(e,t,"NATIONAL",o);return n==="1"?n+" "+a:a}var s=ur(r,void 0,o.metadata);if(s)return "".concat(s," ").concat(n," ").concat(kt(e,null,"INTERNATIONAL",o))}function Tc(){for(var e=1,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];for(;e<n.length;){if(n[e])for(var o in n[e])n[0][o]=n[e][o];e++;}return n[0]}function Ac(e,t){for(var n=0;n<e.length;){if(t(e[n]))return e[n];n++;}}function nt(e){"@babel/helpers - typeof";return nt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nt(e)}function fa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r);}return n}function pa(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?fa(Object(n),true).forEach(function(r){Ic(e,r,n[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fa(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r));});}return e}function Ic(e,t,n){return (t=ga(t))in e?Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true}):e[t]=n,e}function zc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ma(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||false,r.configurable=true,"value"in r&&(r.writable=true),Object.defineProperty(e,ga(r.key),r);}}function Nc(e,t,n){return t&&ma(e.prototype,t),Object.defineProperty(e,"prototype",{writable:false}),e}function ga(e){var t=Oc(e,"string");return nt(t)=="symbol"?t:t+""}function Oc(e,t){if(nt(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(nt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return (String)(e)}var $a=(function(){function e(t,n,r){if(zc(this,e),!t)throw new TypeError("First argument is required");if(typeof t!="string")throw new TypeError("First argument must be a string");if(t[0]==="+"&&!n)throw new TypeError("`metadata` argument not passed");if(q(n)&&q(n.countries)){r=n;var o=t;if(!Rc.test(o))throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');var i=et(o,void 0,void 0,void 0,r),a=i.countryCallingCode,s=i.number;if(n=s,t=a,!n)throw new Error("Invalid `number` argument passed: too short")}if(!n)throw new TypeError("`nationalNumber` argument is required");if(typeof n!="string")throw new TypeError("`nationalNumber` argument must be a string");Hn(r);var u=er(t,r),c=u.country,d=u.callingCode;this.country=c,this.countryCallingCode=d,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r};}return Nc(e,[{key:"setExt",value:function(n){this.ext=n;}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:tr(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return Wn(this,{v2:true},this.getMetadata())}},{key:"isValid",value:function(){return Qn(this,{v2:true},this.getMetadata())}},{key:"isNonGeographic",value:function(){var n=new b(this.getMetadata());return n.isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(n){return this.number===n.number&&this.ext===n.ext}},{key:"getType",value:function(){return $e(this,{v2:true},this.getMetadata())}},{key:"format",value:function(n,r){return lr(this,n,r?pa(pa({},r),{},{v2:true}):{v2:true},this.getMetadata())}},{key:"formatNational",value:function(n){return this.format("NATIONAL",n)}},{key:"formatInternational",value:function(n){return this.format("INTERNATIONAL",n)}},{key:"getURI",value:function(n){return this.format("RFC3966",n)}}])})();var Rc=/^\+\d+$/;function Ee(e){"@babel/helpers - typeof";return Ee=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ee(e)}function Mc(e,t,n){return Object.defineProperty(e,"prototype",{writable:false}),e}function Zc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dc(e,t,n){return t=ot(t),jc(e,pr()?Reflect.construct(t,n||[],ot(e).constructor):t.apply(e,n))}function jc(e,t){if(t&&(Ee(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Uc(e)}function Uc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:true,configurable:true}}),Object.defineProperty(e,"prototype",{writable:false}),t&&rt(e,t);}function fr(e){var t=typeof Map=="function"?new Map:void 0;return fr=function(r){if(r===null||!Kc(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,o);}function o(){return Gc(r,arguments,ot(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:false,writable:true,configurable:true}}),rt(o,r)},fr(e)}function Gc(e,t,n){if(pr())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&rt(o,n.prototype),o}function pr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch{}return (pr=function(){return !!e})()}function Kc(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function rt(e,t){return rt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},rt(e,t)}function ot(e){return ot=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ot(e)}var U=(function(e){function t(n){var r;return Zc(this,t),r=Dc(this,t,[n]),Object.setPrototypeOf(r,t.prototype),r.name=r.constructor.name,r}return Vc(t,e),Mc(t)})(fr(Error));var ya=new RegExp("(?:"+tt()+")$","i");function mr(e){var t=e.search(ya);if(t<0)return {};for(var n=e.slice(0,t),r=e.match(ya),o=1;o<r.length;){if(r[o])return {number:n,ext:r[o]};o++;}}var Bc={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","\uFF10":"0","\uFF11":"1","\uFF12":"2","\uFF13":"3","\uFF14":"4","\uFF15":"5","\uFF16":"6","\uFF17":"7","\uFF18":"8","\uFF19":"9","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u06F0":"0","\u06F1":"1","\u06F2":"2","\u06F3":"3","\u06F4":"4","\u06F5":"5","\u06F6":"6","\u06F7":"7","\u06F8":"8","\u06F9":"9"};function _a(e){return Bc[e]}function Hc(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return (n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=qc(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:true}:{done:false,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
4
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qc(e,t){if(e){if(typeof e=="string")return va(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?va(e,t):void 0}}function va(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Et(e){for(var t="",n=Hc(e.split("")),r;!(r=n()).done;){var o=r.value;t+=Wc(o,t)||"";}return t}function Wc(e,t,n){if(e==="+"){if(t){return}return "+"}return _a(e)}var $r="+",Yc="[\\-\\.\\(\\)]?",ba="(["+z+"]|"+Yc+")",Xc="^\\"+$r+ba+"*["+z+"]"+ba+"*$",Qc=new RegExp(Xc,"g"),gr=z,Jc="["+gr+"]+((\\-)*["+gr+"])*",ed="a-zA-Z",td="["+ed+"]+((\\-)*["+gr+"])*",nd="^("+Jc+"\\.)*"+td+"\\.?$",rd=new RegExp(nd,"g"),hr="tel:",Tt=";phone-context=",xa=";isub=";function yr(e){var t=e.indexOf(Tt);if(t<0)return null;var n=t+Tt.length;if(n>=e.length)return "";var r=e.indexOf(";",n);return r>=0?e.substring(n,r):e.substring(n)}function Ca(e){return e===null?true:e.length===0?false:Qc.test(e)||rd.test(e)}function _r(e,t){var n=t.extractFormattedPhoneNumber,r=yr(e);if(!Ca(r))throw new U("NOT_A_NUMBER");var o;if(r===null)o=n(e)||"";else {o="",r.charAt(0)===$r&&(o+=r);var i=e.indexOf(hr),a;i>=0?a=i+hr.length:a=0;var s=e.indexOf(Tt);o+=e.substring(a,s);}var u=o.indexOf(xa);if(u>0&&(o=o.substring(0,u)),o!=="")return o}var od=250,id=new RegExp("["+Qe+z+"]"),ad=new RegExp("[^"+z+"#]+$"),sd=false;function vr(e,t,n){t=t||{};var r=new b(n);if(t.defaultCountry&&!r.hasCountry(t.defaultCountry))throw t.v2?new U("INVALID_COUNTRY"):new Error("Unknown country: ".concat(t.defaultCountry));var o=cd(e,t.v2,t.extract),i=o.number,a=o.ext,s=o.error;if(!i){if(t.v2)throw s==="TOO_SHORT"?new U("TOO_SHORT"):new U("NOT_A_NUMBER");return {}}var u=ld(i,t.defaultCountry,t.defaultCallingCode,r),c=u.country,d=u.nationalNumber,l=u.countryCallingCode,f=u.countryCallingCodeSource,m=u.carrierCode;if(!r.hasSelectedNumberingPlan()){if(t.v2)throw new U("INVALID_COUNTRY");return {}}if(!d||d.length<Xe){if(t.v2)throw new U("TOO_SHORT");return {}}if(d.length>aa){if(t.v2)throw new U("TOO_LONG");return {}}if(t.v2){var p=new $a(l,d,r.metadata);return c&&(p.country=c),m&&(p.carrierCode=m),a&&(p.ext=a),p.__countryCallingCodeSource=f,p}var y=(t.extended?r.hasSelectedNumberingPlan():c)?I(d,r.nationalNumberPattern()):false;return t.extended?{country:c,countryCallingCode:l,carrierCode:m,valid:y,possible:y?true:!!(t.extended===true&&r.possibleLengths()&&Yn(d,r)),phone:d,ext:a}:y?dd(c,d,a):{}}function ud(e,t,n){if(e){if(e.length>od){if(n)throw new U("TOO_LONG");return}if(t===false)return e;var r=e.search(id);if(!(r<0))return e.slice(r).replace(ad,"")}}function cd(e,t,n){var r=_r(e,{extractFormattedPhoneNumber:function(a){return ud(a,n,t)}});if(!r)return {};if(!cr(r))return ca(r)?{error:"TOO_SHORT"}:{};var o=mr(r);return o.ext?o:{number:r}}function dd(e,t,n){var r={country:e,phone:t};return n&&(r.ext=n),r}function ld(e,t,n,r){var o=et(Et(e),void 0,t,n,r.metadata),i=o.countryCallingCodeSource,a=o.countryCallingCode,s=o.number,u;if(a)r.selectNumberingPlan(a);else if(s&&(t||n))t?(u=t,r.selectNumberingPlan(t),a=r.numberingPlan.callingCode()):(r.selectNumberingPlan(n),a=n,sd);else return {};if(!s)return {countryCallingCodeSource:i,countryCallingCode:a};var c=Pe(Et(s),void 0,r),d=c.nationalNumber,l=c.carrierCode,f=Je(a,{nationalNumber:d,metadata:r});return f&&(u=f,f==="001"||r.selectNumberingPlan(u)),{country:u,countryCallingCode:a,countryCallingCodeSource:i,nationalNumber:d,carrierCode:l}}function it(e){"@babel/helpers - typeof";return it=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},it(e)}function wa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r);}return n}function Sa(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?wa(Object(n),true).forEach(function(r){fd(e,r,n[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wa(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r));});}return e}function fd(e,t,n){return (t=pd(t))in e?Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true}):e[t]=n,e}function pd(e){var t=md(e,"string");return it(t)=="symbol"?t:t+""}function md(e,t){if(it(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(it(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return (t==="string"?String:Number)(e)}function br(e,t,n){return vr(e,Sa(Sa({},t),{},{v2:true}),n)}function at(e){"@babel/helpers - typeof";return at=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},at(e)}function Pa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r);}return n}function gd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Pa(Object(n),true).forEach(function(r){$d(e,r,n[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pa(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r));});}return e}function $d(e,t,n){return (t=hd(t))in e?Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true}):e[t]=n,e}function hd(e){var t=yd(e,"string");return at(t)=="symbol"?t:t+""}function yd(e,t){if(at(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(at(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return (t==="string"?String:Number)(e)}function _d(e,t){return Cd(e)||xd(e,t)||bd(e,t)||vd()}function vd(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
5
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function bd(e,t){if(e){if(typeof e=="string")return ka(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ka(e,t):void 0}}function ka(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function xd(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,i,a,s=[],u=true,c=false;try{if(i=(n=n.call(e)).next,t===0);else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(d){c=true,o=d;}finally{try{if(!u&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}function Cd(e){if(Array.isArray(e))return e}function xr(e){var t=Array.prototype.slice.call(e),n=_d(t,4),r=n[0],o=n[1],i=n[2],a=n[3],s,u,c;if(typeof r=="string")s=r;else throw new TypeError("A text for parsing must be a string.");if(!o||typeof o=="string")a?(u=i,c=a):(u=void 0,c=i),o&&(u=gd({defaultCountry:o},u));else if(q(o))i?(u=o,c=i):c=o;else throw new Error("Invalid second argument: ".concat(o));return {text:s,options:u,metadata:c}}function st(e){"@babel/helpers - typeof";return st=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},st(e)}function Ea(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r);}return n}function Ta(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ea(Object(n),true).forEach(function(r){wd(e,r,n[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ea(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r));});}return e}function wd(e,t,n){return (t=Sd(t))in e?Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true}):e[t]=n,e}function Sd(e){var t=Pd(e,"string");return st(t)=="symbol"?t:t+""}function Pd(e,t){if(st(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(st(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return (t==="string"?String:Number)(e)}function Cr(e,t,n){t&&t.defaultCountry&&!ta(t.defaultCountry,n)&&(t=Ta(Ta({},t),{},{defaultCountry:void 0}));try{return br(e,t,n)}catch(r){if(!(r instanceof U))throw r}}function ut(){var e=xr(arguments),t=e.text,n=e.options,r=e.metadata;return Cr(t,n,r)}function At(){return Gn(ut,arguments)}var kd="CA";function Ed(e,t){let n=t??kd,r=At(e??"",n);if(!r)return {e164:null,national:"",international:"",country:n,isValid:false};let o=r.isValid();return {e164:o?r.number:null,national:r.formatNational(),international:r.formatInternational(),country:r.country??n,isValid:o}}function Te(e,t){return Ed(e,t).e164}var Td=/^[^@\s]+@[^@\s]+\.[^@\s]+$/,Ad=/e[-_]?mail/i,Id=/(^|[^a-z])(phone|tel|mobile|cell)/i,ee={email:null,phoneNumber:null};function Sr(e){if(typeof e!="string")return null;let t=e.trim().toLowerCase();return Td.test(t)?t:null}function wr(e,t){let n=e[t];return typeof n=="string"?n:""}function zd(e,t){let n={email:null,phoneNumber:null};if(!Array.isArray(e))return n;let r=[(o,i,a)=>wr(o,"type").toLowerCase()===a,(o,i)=>i.test(wr(o,"name"))||i.test(wr(o,"label"))];for(let o of r){for(let i of e){if(i===null||typeof i!="object")continue;let a=i;if(!(typeof a.value!="string"||a.value.length===0)&&(n.email===null&&o(a,Ad,"email")&&(n.email=Sr(a.value)),n.phoneNumber===null&&o(a,Id,"tel")))try{n.phoneNumber=Te(a.value,t);}catch{}}if(n.email!==null&&n.phoneNumber!==null)break}return n}function Pr(e,t){let n=Sr(e.email),r=null;if(typeof e.phone=="string"&&e.phone.length>0)try{r=Te(e.phone,t);}catch{r=null;}ee={email:n??ee.email,phoneNumber:r??ee.phoneNumber};}function Aa(e,t){try{let n=zd(e,t);ee={email:n.email??ee.email,phoneNumber:n.phoneNumber??ee.phoneNumber};}catch{}}function Ia(){ee={email:null,phoneNumber:null};}function za(e,t){if(typeof window>"u"||typeof window.gtag!="function")return false;let n=ee.email,r=ee.phoneNumber;if(e){let o=Sr(e.email);if(o&&(n=o),typeof e.phone=="string"&&e.phone.length>0)try{r=Te(e.phone,t)??r;}catch{}}if(n===null&&r===null)return false;try{return window.gtag("set","user_data",{...n!==null?{email:n}:{},...r!==null?{phone_number:r}:{}}),!0}catch{return false}}var It="consent_state",zt="consent_timestamp",Ae="consent_expires_at",Er=90,Na=864e5,kr={state:"granted",source:"default",updatedAt:null,expiresAt:null},Nd=new Set;function Oa(e){for(let t of Nd)try{t(e);}catch{}}function Nt(e){return {ad_storage:e,ad_user_data:e,ad_personalization:e,analytics_storage:e}}function ae(){if(typeof window>"u")return kr;try{let e=window.localStorage.getItem(It),t=window.localStorage.getItem(zt);if(e==="granted")return {state:"granted",source:"explicit",updatedAt:t,expiresAt:null};if(e==="denied"){let n=window.localStorage.getItem(Ae);if(!n){n=new Date(Date.now()+Er*Na).toISOString();try{window.localStorage.setItem(Ae,n);}catch{}}if(!(Date.parse(n)<=Date.now()))return {state:"denied",source:"explicit",updatedAt:t,expiresAt:n}}}catch{}return kr}function O(){return ae().state}function Ra(e){typeof window>"u"||(typeof window.gtag=="function"&&window.gtag("consent","update",Nt(e)),typeof window.fbq=="function"&&window.fbq("consent",e==="granted"?"grant":"revoke"));}function ct(e,t){if(typeof window>"u")return;let n=t?.declineTtlDays,r=typeof n=="number"&&Number.isFinite(n)&&n>0?n:Er,o=new Date().toISOString(),i=e==="denied"?new Date(Date.now()+r*Na).toISOString():null;try{window.localStorage.setItem(It,e),window.localStorage.setItem(zt,o),i!==null?window.localStorage.setItem(Ae,i):window.localStorage.removeItem(Ae);}catch{}if(Ra(e),e==="denied"){Ia();try{typeof window.gtag=="function"&&window.gtag("set","user_data",null);}catch{}}Oa({state:e,source:"explicit",updatedAt:o,expiresAt:i});}function Tr(){ct("granted");}function Ar(e){ct("denied",e);}function Ir(){if(!(typeof window>"u")){try{window.localStorage.removeItem(It),window.localStorage.removeItem(zt),window.localStorage.removeItem(Ae);}catch{}Ra("granted"),Oa(kr);}}var Ma=["ad_tags_google","ad_tags_meta","base_tracking","blog_rendering","calendar_read","calendar_write","consent_controls","conversion_goals_auto","conversion_goals_manual","cross_site_linker","cta_click_capture","form_capture","phone_click_capture","phone_fields"],zr="data-aranova-capability",La=new Set;function R(e){La.add(e);}function Nr(){let e=new Set(La);for(let t of Od())e.add(t);return Array.from(e).sort()}function Od(){if(typeof document>"u")return [];let e=new Set(Ma),t=[];for(let n of document.querySelectorAll(`[${zr}]`)){let r=n.getAttribute(zr);r&&e.has(r)&&t.push(r);}return t}var Ie=["gclid","wbraid","gbraid","ylpcid","fbclid","utm_source","utm_medium","utm_campaign","utm_term","utm_content"];function ze(){return {gclid:null,wbraid:null,gbraid:null,ylpcid:null,fbclid:null,utm_source:null,utm_medium:null,utm_campaign:null,utm_term:null,utm_content:null}}function Ot(e){return typeof e=="string"&&e.length>0?e:null}function Ne(e){return Ie.reduce((t,n)=>(t[n]=Ot(e(n)),t),ze())}function Rt(e){return Ie.reduce((t,n)=>{let r=e.get(n);return typeof r=="string"&&r.trim().length>0&&(t[n]=r),t},{})}var Rd="_aranova_track_";function Fa(e){return `${Rd}${e}`}function Oe(e,t,n=7776e3){let r=encodeURIComponent(t);if(typeof document<"u")try{document.cookie=`${e}=${r}; Max-Age=${n}; Path=/; SameSite=Lax`;}catch{}if(typeof window<"u")try{window.localStorage.setItem(Fa(e),r);}catch{}}function te(e){if(typeof document<"u"){let n=(document.cookie?document.cookie.split("; "):[]).find(r=>r.startsWith(`${e}=`));if(n){let[,r=""]=n.split("=");return Ot(decodeURIComponent(r))}}if(typeof window<"u")try{let t=window.localStorage.getItem(Fa(e));if(t)return Ot(decodeURIComponent(t))}catch{}return null}function Re(e){return te(e)}function Mt(e,t,n=7776e3){Oe(e,t,n);}function Or(e,t){return Ie.reduce((n,r)=>(n[r]=e[r]??t[r],n),ze())}function Za(e,t=7776e3){let n=Rt(e);return Object.entries(n).forEach(([r,o])=>{Mt(r,o,t);}),n}function he(e=typeof window>"u"?"":window.location.href,t=7776e3){let n=typeof window>"u"?new URL(e||"https://example.invalid"):new URL(e,window.location.origin);return Za(n.searchParams,t),Ne(Re)}var ja="https://www.googletagmanager.com/gtag/js",Me="data-aranova-tracking";function Md(e){return `aranova-${e}`}var Ld=/^[A-Z]{1,3}-[A-Za-z0-9_-]+$/;function dt(e){return Ld.test(e)}function Lt(){if(window.dataLayer=window.dataLayer||[],typeof window.gtag=="function")return window.gtag;function e(){window.dataLayer?.push(arguments);}return window.gtag=e,window.gtag}var Fd=/^AW-[A-Za-z0-9]+\/[A-Za-z0-9_-]+$/;function Ft(e){return Fd.test(e)}function Rr(e){if(typeof window>"u"||typeof window.gtag!="function"||!Ft(e.sendTo))return false;let t={send_to:e.sendTo};e.value!=null&&(t.value=e.value),e.currency&&(t.currency=e.currency),e.transactionId&&(t.transaction_id=e.transactionId);try{return window.gtag("event","conversion",t),!0}catch{return false}}function lt(){Lt()("consent","default",Nt(O()==="denied"?"denied":"granted"));}function ft(e){if(typeof document>"u")return;let t=Md("gtag-loader");if(document.querySelector(`script[${Me}="${t}"]`))return;let r=document.createElement("script");r.async=true,r.src=`${ja}?id=${encodeURIComponent(e)}`,r.setAttribute(Me,t),document.head.append(r);}function Ua(e){let t=Lt();t("js",new Date),t("config",e);}function Mr(e){typeof window>"u"||typeof document>"u"||dt(e)&&(lt(),ft(e),Ua(e));}function Lr(e){if(typeof window>"u"||typeof document>"u")return;let t=Object.values(e).filter(r=>typeof r=="string"&&dt(r));if(t.length===0)return;lt(),ft(t[0]);let n=Lt();n("js",new Date);for(let r of t)n("config",r);}var Va="https://connect.facebook.net/en_US/fbevents.js",pt="_fbc",Ga="_fbp",Zd=/^\d{15,16}$/;function Fr(e){return Zd.test(e)}function Ka(e){let t=e.split(".").filter(Boolean);return Math.max(0,t.length-1)}function Ba(e,t,n){let r=(typeof window>"u"?"":window.location.hostname);return `fb.${Ka(r)}.${t}.${e}`}function ye(){return te(pt)}function Zr(){return te(Ga)}function Dd(){if(typeof window>"u")return null;try{let e=new URL(window.location.href).searchParams.get("fbclid");return e&&e.trim().length>0?e:null}catch{return null}}function mt(e=typeof Date>"u"?0:Date.now()){if(typeof window>"u"||ye())return;let t=Dd()??te("fbclid");t&&Oe(pt,Ba(t,e),7776e3);}function jd(e){return `aranova-${e}`}function Dt(){let e=window;if(typeof e.fbq=="function")return e.fbq;let t=function(...n){t.callMethod?t.callMethod.apply(t,n):t.queue.push(n);};return t.push=t,t.loaded=true,t.version="2.0",t.queue=[],e.fbq=t,e._fbq||(e._fbq=t),t}function Dr(){Dt()("consent",O()==="denied"?"revoke":"grant");}function jr(){if(typeof document>"u")return;let e=jd("fbq-loader");if(document.querySelector(`script[${Me}="${e}"]`))return;let n=document.createElement("script");n.async=true,n.src=Va,n.setAttribute(Me,e),document.head.append(n);}function Ha(e){let t=Dt();t("init",e),t("track","PageView");}function Ur(e){typeof window>"u"||typeof document>"u"||Fr(e)&&(Dr(),jr(),Ha(e),mt());}function Vr(e){if(typeof window>"u"||typeof document>"u")return;let t=Object.values(e).filter(r=>typeof r=="string"&&Fr(r));if(t.length===0)return;Dr(),jr();let n=Dt();for(let r of t)n("init",r);n("track","PageView"),mt();}var qa="_aranova_track_landing",gt=null;function Ud(e){if(typeof e!="object"||e===null)return {};let t=e;return Ie.reduce((n,r)=>{let o=t[r];return typeof o=="string"&&o.length>0&&(n[r]=o),n},{})}function Vd(){try{let e=window.localStorage.getItem(qa);if(!e)return null;let t=JSON.parse(e);return typeof t.session_id!="string"||t.session_id.length===0?null:{session_id:t.session_id,params:Ud(t.params)}}catch{return null}}function Gd(e){gt=e;try{window.localStorage.setItem(qa,JSON.stringify(e));}catch{}}function Kd(e){try{let t=new URL(e??window.location.href,window.location.origin);return Rt(t.searchParams)}catch{return {}}}function Gr(e,t){if(typeof window>"u")return {};let n=Vd();if(n&&n.session_id===e)return gt=n,n.params;if(gt&&gt.session_id===e)return gt.params;let r={session_id:e,params:Kd(t)};return Gd(r),r.params}function Wa(e,t){let n=t??(typeof window>"u"?null:Gr(e));return n===null?{}:{landing_gclid:n.gclid??null,landing_wbraid:n.wbraid??null,landing_gbraid:n.gbraid??null,landing_ylpcid:n.ylpcid??null,landing_fbclid:n.fbclid??null,landing_utm_source:n.utm_source??null,landing_utm_medium:n.utm_medium??null,landing_utm_campaign:n.utm_campaign??null,landing_utm_term:n.utm_term??null,landing_utm_content:n.utm_content??null}}var $t="aranova_tracking_visitor",Kr="aranova_tracking_session",Bd=1800*1e3;function jt(){return typeof crypto<"u"&&typeof crypto.randomUUID=="function"?crypto.randomUUID():`${Date.now().toString(16)}-${Math.random().toString(16).slice(2)}-${Math.random().toString(16).slice(2)}`}function Ut(e){try{return window.localStorage.getItem(e)}catch{return null}}function Vt(e,t){try{window.localStorage.setItem(e,t);}catch{}}function Gt(){if(typeof window>"u")return jt();let e=Ut($t);if(e&&e.length>0)return e;let t=jt();return Vt($t,t),t}function Ya(e){if(typeof window>"u"||e.length===0)return false;let t=Ut($t);return t&&t.length>0?false:(Vt($t,e),Ut($t)===e)}function _e(e=Date.now()){if(typeof window>"u")return {id:jt(),isNew:true};let t=Ut(Kr);if(t)try{let r=JSON.parse(t);if(typeof r.id=="string"&&typeof r.last_event_at=="number"&&e-r.last_event_at<=Bd){let o={id:r.id,last_event_at:e};return Vt(Kr,JSON.stringify(o)),{id:r.id,isNew:!1}}}catch{}let n={id:jt(),last_event_at:e};return Vt(Kr,JSON.stringify(n)),{id:n.id,isNew:true}}var se="_arv",Qa="1",Ja=300*1e3,qd={g:"gclid",w:"wbraid",gb:"gbraid",f:"fbclid",y:"ylpcid"},es=Object.entries(qd),Br=g().check(pe(1),qe(128)),Le=x(Br),Wd=Ki({v:Br,s:Br,t:g().check(We(/^[0-9a-z]{1,12}$/)),g:Le,w:Le,gb:Le,f:Le,fc:Le,y:Le});function Yd(e){let t=new TextEncoder().encode(e),n="";for(let r of t)n+=String.fromCharCode(r);return btoa(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function Xd(e){try{let t=e.replace(/-/g,"+").replace(/_/g,"/"),n=atob(t+"=".repeat((4-t.length%4)%4)),r=Uint8Array.from(n,o=>o.charCodeAt(0));return new TextDecoder().decode(r)}catch{return null}}function ts(e){let t=new URLSearchParams;for(let[n,r]of Object.entries(e))typeof r=="string"&&r.length>0&&t.set(n,r);return `${Qa}.${Yd(t.toString())}`}function ns(e){let t=e.indexOf(".");if(t<=0||e.slice(0,t)!==Qa)return null;let n=Xd(e.slice(t+1));if(n===null)return null;let r=new URLSearchParams(n),o={};r.forEach((a,s)=>{o[s]=a;});let i=Wd.safeParse(o);return i.success?i.data:null}function Qd(e){let t={};for(let[n,r]of es){let o=e[n];o&&(t[r]=o);}return {visitorId:e.v,sessionId:e.s,linkedAt:Number.parseInt(e.t,36),carried:t,fbc:e.fc??null}}function Xa(e){return e.toLowerCase().replace(/^www\./,"")}function Hr(e,t){let n=Xa(e),r=Xa(t);return n===r||n.endsWith(`.${r}`)}function Kt(e,t,n=Date.now()){if(typeof window>"u"||t.length===0)return null;let r;try{r=new URL(e,window.location.href);}catch{return null}if(r.protocol!=="http:"&&r.protocol!=="https:")return null;let o=window.location.hostname;if(o&&Hr(r.hostname,o))return null;let i=t.find(s=>Hr(r.hostname,s));if(i===void 0)return null;let a=ae();return a.state==="denied"&&a.source==="explicit"?{hostname:i,decorated:e}:(r.searchParams.set(se,el(n)),{hostname:i,decorated:r.href})}function W(e){try{let t=new URL(e,typeof window>"u"?void 0:window.location.href);return t.searchParams.has(se)?(t.searchParams.delete(se),t.href):e}catch{return e}}function qr(e){if(!e.includes(se))return e;let t=new URLSearchParams(e);if(!t.has(se))return e;t.delete(se);let n=t.toString();return n.length>0?`?${n}`:""}function Jd(){let e={};for(let[t,n]of es){let r=te(n);r&&(e[t]=r);}return e}function el(e=Date.now()){let t=ye();return ts({v:Gt(),s:_e(e).id,t:e.toString(36),...Jd(),...t?{fc:t}:{}})}function Wr(e,t,n=Date.now()){return Kt(e,t,n)?.decorated??e}function Yr(e=typeof window>"u"?"":window.location.href,t=Date.now()){if(typeof window>"u"||!e)return null;let n;try{n=new URL(e,window.location.href).searchParams.get(se);}catch{return null}if(!n)return null;let r=ns(n);if(r===null)return {outcome:"invalid",link:null,adoptedVisitor:false};let o=Qd(r),i=t-o.linkedAt;if(!Number.isFinite(i)||i<-6e4)return {outcome:"invalid",link:null,adoptedVisitor:false};if(i>Ja)return {outcome:"stale",link:null,adoptedVisitor:false};let a=Ya(o.visitorId);for(let[s,u]of Object.entries(o.carried))te(s)||Mt(s,u);return o.fbc&&!ye()&&Oe(pt,o.fbc),{outcome:"linked",link:o,adoptedVisitor:a}}function Xr(){if(typeof window>"u"||typeof history>"u")return;let e=W(window.location.href);if(e!==window.location.href)try{history.replaceState(null,"",e);}catch{}}var tl="_aranova_conv_";function rs(e){return `${tl}${e.transactionId??""}:${e.sendTo}`}function nl(e){if(!e.transactionId||typeof window>"u")return false;try{return window.sessionStorage.getItem(rs(e))!==null}catch{return false}}function rl(e){if(!(!e.transactionId||typeof window>"u"))try{window.sessionStorage.setItem(rs(e),"1");}catch{}}function ve(e,t){if(O()==="denied")return "denied";if(nl(e))return "duplicate";if(!Ft(e.sendTo))return "invalid";try{return za(t?.userData),Rr(e)?(rl(e),"fired"):"retryable"}catch{return "retryable"}}function os(e){return typeof e=="object"&&e!==null&&Object.values(e).every(t=>typeof t=="string")}function is(e){if(!e||typeof e!="object")return null;let t=e;return typeof t.send_to!="string"?null:{send_to:t.send_to,value_cents:typeof t.value_cents=="number"?t.value_cents:null,currency:typeof t.currency=="string"?t.currency:null}}function ol(e){if(!e||typeof e!="object")return null;let t=e;if(typeof t.event_type!="string")return null;let n={event_type:t.event_type};return typeof t.threshold_percent=="number"&&(n.threshold_percent=t.threshold_percent),typeof t.threshold_seconds=="number"&&(n.threshold_seconds=t.threshold_seconds),typeof t.page_threshold=="number"&&(n.page_threshold=t.page_threshold),typeof t.page_name=="string"&&(n.page_name=t.page_name),n}function Fe(e){if(!e||typeof e!="object")return null;let t=e,r=(Array.isArray(t.services)?t.services:[]).flatMap(a=>{if(!a||typeof a!="object")return [];let s=a;return typeof s.key!="string"?[]:[{key:s.key,label:typeof s.label=="string"?s.label:void 0,firing:is(s.firing)}]}),o=Array.isArray(t.goals)?t.goals:null,i=o?o.flatMap(a=>{if(!a||typeof a!="object")return [];let s=a;return typeof s.key!="string"?[]:[{key:s.key,label:typeof s.label=="string"?s.label:void 0,kind:s.kind==="event"?"event":"sale",trigger:ol(s.trigger),firing:is(s.firing)}]}):r.map(a=>({key:a.key,label:a.label,kind:"sale",trigger:null,firing:a.firing}));return {schema_version:typeof t.schema_version=="number"?t.schema_version:1,config_version:typeof t.config_version=="number"?t.config_version:0,business_id:typeof t.business_id=="string"?t.business_id:void 0,customer_id:typeof t.customer_id=="string"?t.customer_id:null,environment:typeof t.environment=="string"?t.environment:void 0,google_tracking_state:t.google_tracking_state==="active"?"active":"disabled",gtag_ids:os(t.gtag_ids)?t.gtag_ids:{},meta_pixel_ids:os(t.meta_pixel_ids)?t.meta_pixel_ids:{},services:r,goals:i,linked_hostnames:Array.isArray(t.linked_hostnames)?t.linked_hostnames.filter(a=>typeof a=="string"&&a.length>0):[]}}var il="_aranova_cfg_";function as(e){return `${il}${e}`}function al(e){if(typeof window>"u")return null;try{let t=window.sessionStorage.getItem(as(e));if(!t)return null;let n=JSON.parse(t),r=Fe(n.config);return r?{etag:typeof n.etag=="string"?n.etag:null,config:r}:null}catch{return null}}function sl(e,t){if(!(typeof window>"u"))try{window.sessionStorage.setItem(as(e),JSON.stringify(t));}catch{}}function Qr(e){let t=al(e.cdnUrl),n=t?.config??e.baked??null,r=t?.etag??null,o=new Map,i=new Set;function a(){o.clear();for(let d of n?.goals??[])o.set(d.key,d);}function s(){let d=[...i];i.clear();for(let l of d)try{l();}catch{}}function u(d,l){if(!d||n&&d.config_version<=n.config_version)return;let f=n===null;n=d,r=l,a(),sl(e.cdnUrl,{etag:r,config:d}),f&&s();}async function c(){if(!(typeof window>"u"))try{let d=e.fetchImpl??globalThis.fetch;if(!d)return;let l={};r&&(l["If-None-Match"]=r);let f=await d(e.cdnUrl,{method:"GET",headers:l});if(f.status===304||!f.ok)return;u(Fe(await f.json()),f.headers.get("ETag"));}catch{}}return a(),c(),{getFiring:d=>o.get(d)?.firing??null,getGoal:d=>o.get(d)??null,listGoals:()=>[...o.values()],linkedHostnames:()=>n?.linked_hostnames??[],current:()=>n,isReady:()=>n!==null,onResolve:d=>n!==null?(d(),()=>{}):(i.add(d),()=>i.delete(d)),revalidate:c}}var cs="_aranova_auto_txn_map",Bt=new Map,Jr=0;function ul(e,t,n){return JSON.stringify([e,t,n])}function cl(){let e=globalThis.crypto;if(typeof e?.randomUUID=="function")return e.randomUUID();if(typeof e?.getRandomValues=="function"){let o=e.getRandomValues(new Uint8Array(16));return Array.from(o,i=>i.toString(16).padStart(2,"0")).join("")}Jr=(Jr+1)%4294967296;let t=Date.now().toString(16).padStart(12,"0"),n=Jr.toString(16).padStart(8,"0"),r=Math.floor(Math.random()*0xffffffffffff).toString(16).padStart(12,"0");return `${t}${n}${r}`.slice(0,32)}function ss(e){return typeof e=="string"&&/^auto:(?:[0-9a-f]{32}|[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})$/i.test(e)&&e.length<=64}function us(e){if(typeof window>"u")return {sessionId:e,entries:{}};try{let t=window.localStorage.getItem(cs);if(!t)return {sessionId:e,entries:{}};let n=JSON.parse(t);return n.sessionId!==e||!n.entries||typeof n.entries!="object"||Array.isArray(n.entries)?{sessionId:e,entries:{}}:{sessionId:e,entries:n.entries}}catch{return {sessionId:e,entries:{}}}}function dl(e){if(!(typeof window>"u"))try{window.localStorage.setItem(cs,JSON.stringify(e));}catch{}}function Ht(e,t,n){let r=ul(e,t,n),o=Bt.get(r);if(o)return o;let a=us(e).entries[r];if(ss(a))return Bt.set(r,a),a;let s=`auto:${cl()}`;Bt.set(r,s);let u=us(e),c=u.entries[r];return ss(c)?(Bt.set(r,c),c):(u.entries[r]=s,dl(u),s)}function eo(e,t){return typeof e[t]=="number"}function ll(e,t){return typeof e[t]=="string"}function qt(e,t,n){let r=e.trigger;if(!r||r.event_type!==t)return false;switch(t){case "scroll_depth":return eo(n,"depth_percent")&&r.threshold_percent!=null&&n.depth_percent>=r.threshold_percent;case "time_on_site":return eo(n,"duration_ms")&&r.threshold_seconds!=null&&n.duration_ms>=r.threshold_seconds*1e3;case "multi_page_session":return eo(n,"page_count")&&r.page_threshold!=null&&n.page_count>=r.page_threshold;case "specific_page_visit":return ll(n,"page_name")&&n.page_name===r.page_name;case "page_view":case "form_start":case "phone_click":return true;default:return false}}var fl={USD:2,CAD:2};function pl(e){return fl[e]??2}function ue(e,t){return e/10**pl(t)}var $s="https://demos.aranova.io";function ml(e){return e.siteId?`tracking-config/v1/sites/${e.siteId}-${e.environment}.json`:`tracking-config/v1/${e.businessId}-${e.environment}.json`}function to(e){return e.cdnUrl?e.cdnUrl:`${(e.cdnBaseUrl?.trim()||$s).replace(/\/+$/,"")}/${ml(e)}`}var gl="_aranova_cfg_runtime_",ds=6e4,ls=50,$l=5e3,hl=5*6e4,fs=new Map,ps=new Set,Wt=null,ms=false;function hs(e){return `${gl}${e}`}function Yt(e,t){e.push(t),e.length>ls&&e.splice(0,e.length-ls);}function yl(e){if(typeof window>"u")return null;try{let t=window.sessionStorage.getItem(hs(e));if(!t)return null;let n=JSON.parse(t),r=Fe(n.config);return r?{etag:typeof n.etag=="string"?n.etag:null,config:r}:null}catch{return null}}function _l(e,t){if(!(typeof window>"u"))try{window.sessionStorage.setItem(hs(e),JSON.stringify(t));}catch{}}function vl(e){return e.google_tracking_state==="disabled"||Object.keys(e.gtag_ids).length===0}function gs(e,t){return e.business_id===t.businessId&&e.environment===t.environment&&(e.google_tracking_state==="active"||e.google_tracking_state==="disabled")}function bl(){return typeof window>"u"||typeof document>"u"?null:{href:W(window.location.href),title:document.title||null,referrer:document.referrer||null}}function xl(e){return typeof window>"u"||typeof document>"u"?Promise.resolve():(lt(),ft(e),Wt||(Wt=new Promise(t=>{let n=document.querySelector('script[data-aranova-tracking="aranova-gtag-loader"]');if(!n){t();return}if(n.dataset.loaded==="true"){t();return}window.setTimeout(t,0),n.addEventListener("load",()=>{n.dataset.loaded="true",t();},{once:true}),n.addEventListener("error",()=>t(),{once:true});}),Wt))}var Xt=class{constructor(t,n=globalThis.fetch){this.ref=t;this.current=null;this.etag=null;this.stateValue="unconfirmed";this.confirmedAt=0;this.authorityGeneration=0;this.inFlight=null;this.flushInFlight=null;this.flushRequested=false;this.retryTimer=null;this.started=false;this.authorityFailures=0;this.nextAuthorityAttemptAt=0;this.conversionQueue=[];this.automaticQueue=[];this.pageQueue=[];this.listeners=new Set;this.fetchImpl=n.bind(globalThis),this.url=to(t);let r=yl(this.url);this.current=r?.config??null,this.etag=r?.etag??null,this.start();}configUrl(){return this.url}start(){if(this.started){this.flush();return}this.started=true,this.revalidate(),typeof window<"u"&&(window.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&this.revalidate();}),window.addEventListener("focus",()=>{this.revalidate();}));}state(){return this.stateValue}config(){return this.stateValue==="active"||this.stateValue==="tombstone"?this.current:null}__unsafeExpireAuthorityForTests(){this.confirmedAt=Number.NEGATIVE_INFINITY,this.nextAuthorityAttemptAt=0;}__queueDepthsForTests(){return {conversions:this.conversionQueue.length,automatic:this.automaticQueue.length,pages:this.pageQueue.length}}subscribe(t){return this.listeners.add(t),()=>this.listeners.delete(t)}async ensureAuthority(){return this.stateValue!=="unconfirmed"&&Date.now()-this.confirmedAt<ds?true:Date.now()<this.nextAuthorityAttemptAt?false:(await this.revalidateAuthority(),this.stateValue!=="unconfirmed"&&Date.now()-this.confirmedAt<ds)}async revalidate(){this.nextAuthorityAttemptAt=0,await this.revalidateAuthority(),await this.flush();}async revalidateAuthority(){if(!(typeof window>"u"||!this.fetchImpl))return this.inFlight?this.inFlight:(this.inFlight=this.revalidateNow().finally(()=>{this.inFlight=null;}),this.inFlight)}queuePageView(t=bl()){t&&(Yt(this.pageQueue,t),this.flush());}fireConversion(t,n){Yt(this.conversionQueue,{key:t,...n}),this.flush();}queueAutomaticEvent(t,n,r,o){Yt(this.automaticQueue,{eventType:t,metadata:n,transactionPath:r,transactionScope:o}),this.flush();}listGoals(){return this.current?.goals??[]}linkedHostnames(){return this.current?.linked_hostnames??[]}async revalidateNow(){try{let t={};this.etag&&(t["If-None-Match"]=this.etag);let n=await this.fetchImpl(this.url,{method:"GET",headers:t,cache:"no-cache"});if(n.status===304&&this.current&&gs(this.current,this.ref)){this.confirm(this.current,this.etag);return}if(!n.ok){this.expireAuthority();return}let r=Fe(await n.json());if(!r||!gs(r,this.ref)){this.expireAuthority();return}if(this.current&&r.config_version<this.current.config_version){this.expireAuthority();return}this.confirm(r,n.headers.get("ETag"));}catch{this.expireAuthority();}}expireAuthority(){this.authorityGeneration+=1,this.stateValue!=="unconfirmed"&&(this.stateValue="unconfirmed"),this.authorityFailures+=1;let t=Math.min(hl,$l*2**(this.authorityFailures-1));this.nextAuthorityAttemptAt=Date.now()+t;}confirm(t,n){this.authorityGeneration+=1,this.current=t,this.etag=n,this.confirmedAt=Date.now(),this.authorityFailures=0,this.nextAuthorityAttemptAt=0,this.stateValue=vl(t)?"tombstone":"active",_l(this.url,{etag:n,config:t}),this.stateValue==="tombstone"&&(this.retryTimer!==null&&(window.clearTimeout(this.retryTimer),this.retryTimer=null),this.conversionQueue.length=0,this.automaticQueue.length=0,this.pageQueue.length=0);for(let r of this.listeners)r();}async flush(){return this.flushInFlight?(this.flushRequested=true,this.flushInFlight):(this.flushRequested=false,this.flushInFlight=this.flushNow().finally(()=>{this.flushInFlight=null,this.flushRequested&&this.stateValue==="active"&&this.flush();}),this.flushInFlight)}scheduleRetry(){this.retryTimer!==null||typeof window>"u"||(this.retryTimer=window.setTimeout(()=>{this.retryTimer=null,this.flush();},1e3));}async flushNow(){if(!await this.ensureAuthority()||this.stateValue!=="active"||!this.current)return;let t=this.current,n=this.authorityGeneration,r=Object.values(t.gtag_ids).filter(i=>typeof i=="string"&&dt(i));if(r.length===0||(await xl(r[0]),this.authorityGeneration!==n||this.stateValue!=="active"||this.current!==t))return;let o=window.gtag;if(typeof o=="function"){try{ms||(o("js",new Date),ms=!0);for(let i of r)ps.has(i)||(o("config",i,{send_page_view:!1}),ps.add(i));}catch{this.scheduleRetry();return}for(;this.pageQueue.length>0;){let i=this.pageQueue[0];try{o("event","page_view",{page_location:i.href,page_title:i.title??void 0,page_referrer:i.referrer??void 0}),this.pageQueue.shift();}catch{this.scheduleRetry();return}}for(;this.automaticQueue.length>0;){let i=this.automaticQueue[0];for(let a of t.goals)a.kind!=="event"||!a.firing||qt(a,i.eventType,i.metadata)&&Yt(this.conversionQueue,{key:a.key,transactionId:Ht(i.transactionScope,a.key,i.transactionPath)});this.automaticQueue.shift();}for(;this.conversionQueue.length>0;){let i=this.conversionQueue[0],s=t.goals.find(l=>l.key===i.key)?.firing;if(!s){this.conversionQueue.shift();continue}let u=i.currency??s.currency??null,c=i.value??(s.value_cents!=null&&u?ue(s.value_cents,u):null);if(ve({sendTo:s.send_to,value:c,currency:u,transactionId:i.transactionId??null})==="retryable"){this.scheduleRetry();return}this.conversionQueue.shift();}}}};function Qt(e,t){let n=`${to(e)}|${e.businessId}|${e.environment}`,r=fs.get(n);if(r)return r;let o=new Xt(e,globalThis.fetch);return fs.set(n,o),o}function ys(){return typeof window>"u"?"":window.location.pathname}var Cl=50;function Jt(e){let t=[],n=false;function r(o,i,a){for(let s of e.listGoals()){if(s.kind!=="event"||!s.firing||!qt(s,o,i))continue;let u=Ht(a,s.key,ys());if("queueAutomaticEvent"in e){e.fireConversion(s.key,{transactionId:u});continue}let c=s.firing,d=c.value_cents??null,l=c.currency??null;ve({sendTo:c.send_to,value:d!=null&&l?ue(d,l):null,currency:l,transactionId:u});}}return {onAutomaticEvent(o,i,a){if("queueAutomaticEvent"in e){e.queueAutomaticEvent(o,i,ys(),a);return}if(e.isReady()){r(o,i,a);return}t.length<Cl&&t.push({eventType:o,metadata:i,transactionScope:a}),n||(n=true,e.onResolve(()=>{let s=t.splice(0);for(let u of s)r(u.eventType,u.metadata,u.transactionScope);}));}}}function en(e,t){return {...e,trackEvent:n=>{e.trackEvent(n);try{t.onAutomaticEvent(n.eventType,n.metadata??{},e.getSessionId());}catch{}}}}var tn=$({page:$({title:C(g()),path:g(),search:g(),hash:g()}),referrer:C(g()),viewport:x(C($({w:me(),h:me()})))}),_s=$({});var oo="aranova_tracking_last_fired_url",no=null,ro=false;function wl(e){try{return typeof window>"u"?null:window.sessionStorage.getItem(e)}catch{return null}}function Sl(e,t){try{if(typeof window>"u")return;window.sessionStorage.setItem(e,t);}catch{}}function Pl(){if(!ro){ro=true;let e=wl(oo);e!==null&&(no=e);}return no}function kl(e){no=e,ro=true,Sl(oo,e);}function vs(e){return typeof window>"u"||typeof document>"u"?null:fe(tn,{page:{title:document.title||null,path:window.location.pathname,search:qr(window.location.search),hash:window.location.hash},referrer:e!==void 0?e:document.referrer||null,viewport:{w:window.innerWidth,h:window.innerHeight}})}function ht(e){if(typeof window>"u")return;let t=window.location.href,n=Pl(),r=n!==null&&n!==t?n:null,o=typeof document<"u"&&document.referrer||null,a=vs(r??o);e.trackEvent({eventType:"page_view",pageUrl:t,metadata:a}),t!==n&&kl(t);}function io(e){if(typeof window>"u")return ()=>{};function t(n){n.persisted&&ht(e);}return window.addEventListener("pageshow",t),()=>{window.removeEventListener("pageshow",t);}}function ao(e,t={}){if(typeof window>"u"||typeof history>"u")return ()=>{};let n=window.location.pathname+window.location.search;function r(){let c=window.location.pathname+window.location.search;c!==n&&(n=c,ht(e));}let o=history.pushState.bind(history),i=history.replaceState.bind(history);function a(...c){o(...c),setTimeout(r,0);}function s(...c){i(...c),setTimeout(r,0);}function u(c){c.persisted&&ht(e);}return history.pushState=a,history.replaceState=s,window.addEventListener("popstate",r),window.addEventListener("pageshow",u),t.skipInitial||ht(e),()=>{history.pushState=o,history.replaceState=i,window.removeEventListener("popstate",r),window.removeEventListener("pageshow",u);}}function nn(e){if(e instanceof RegExp)return e.source;if(Array.isArray(e))return e.map(nn);if(e!==null&&typeof e=="object"){let t={};for(let[n,r]of Object.entries(e))t[n]=nn(r);return t}return e}function bs(e,t,n,r,o=null,i=null){let a=r?Object.keys(r.automatic):[],s=r?.manual?Object.keys(r.manual):[],u=null;if(r){let c={};for(let[d,l]of Object.entries(r.automatic)){let f=nn(l);Object.keys(f).length>0&&(c[d]=f);}if(r.manual)for(let[d,l]of Object.entries(r.manual)){if(l===void 0)continue;let f=nn(l);Object.keys(f).length>0&&(c[d]=f);}Object.keys(c).length>0&&(u=c);}return {sdk_version:t??"unknown",package_name:n,surface:e,triggers:{automatic:a,manual:s},trigger_config:u,configured_gtag_ids:o,config_site_id:i}}var Cs=2e3,ws=10,uo=50,El=6e4,Tl=200,Al="aranova_tracking_pending_v1",rn="X-Aranova-Api-Key",on="X-Aranova-Sdk-Version",an="X-Aranova-Sdk-Package",sn="X-Aranova-Sdk-Surface",un="X-Aranova-Sdk-Environment";function Il(e,t,n,r,o){return {surface:e,sdk_version:t,package_name:n,site_origin:typeof window>"u"?null:window.location.origin,page_title:typeof document>"u"?null:document.title||null,referrer:typeof document>"u"?null:document.referrer||null,environment:r,active_gtag_ids:o,capabilities:Nr()}}function zl(){if(typeof window>"u")return ze();try{he();}catch{}return Ne(Re)}function Nl(){try{let e=ae();return {state:e.state,source:e.source,updated_at:e.updatedAt,expires_at:e.expiresAt}}catch{return null}}async function xs(e,t,n,r,o){if(typeof fetch!="function")return "drop";try{let i=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json",[rn]:n,[on]:r.sdkVersion,[an]:r.packageName,[sn]:r.surface,[un]:r.environment},body:t,keepalive:o,credentials:"omit",mode:"cors"});return i.ok?"ok":i.status===408||i.status===429||i.status>=500?"retry":"drop"}catch{return "retry"}}function Ol(e,t){return `${Al}:${e}:${t}`}function Rl(e){if(typeof window>"u")return [];try{let t=window.localStorage.getItem(e);if(!t)return [];let n=JSON.parse(t);return Array.isArray(n)?n.filter(r=>typeof r=="object"&&r!==null&&"session"in r&&Array.isArray(r.events)):[]}catch{return []}}function so(e,t){if(!(typeof window>"u"))try{t.length===0?window.localStorage.removeItem(e):window.localStorage.setItem(e,JSON.stringify(t));}catch{}}function Ml(e){let t=e.reduce((r,o)=>r+o.events.length,0),n=e.slice();for(;t>Tl&&n.length>1;){let r=n.shift();t-=r?r.events.length:0;}return n}function co(e){let t=e.flushIntervalMs??Cs,n=Math.min(e.maxQueueSize??ws,uo),r=e.sdkVersion??null,o=e.packageName??null,i=e.environment??"production",a=e.activeGtagIds??null,s=e.endpoint.replace(/\/$/,""),u=`${s}/events`,c={sdkVersion:r??"",packageName:o??"",surface:e.surface,environment:i},d=[],l=null,f=Ol(e.apiKey,s),m=Rl(f),p=Promise.resolve(),y=0,v=null,A=ze(),E=false,D=null;if(typeof window<"u")try{D=Yr();}catch{}let j=D?.link??null,ce=Gt(),Ze=_e(),Y=Ze.id;if(typeof window<"u"){v=W(window.location.href);try{A=he();}catch{}Gr(Y);try{mt();}catch{}}function De(){return typeof window>"u"?null:W(window.location.href)}function je(_,P,de){d.push({event_type:_,page_url:de,metadata:P,occurred_at:new Date().toISOString()});}function Ue(){je("sdk_heartbeat",bs(e.surface,r,o,e.triggers??null,a,e.configSiteId??null),De());}if(Ze.isNew&&Ue(),D!==null&&typeof window<"u"){let _=D.link;je("site_link_arrival",{outcome:D.outcome,origin_session_id:_?.sessionId??null,origin_visitor_id:_?.visitorId??null,transit_ms:_?Math.max(0,Date.now()-_.linkedAt):null,adopted_visitor:D.adoptedVisitor,page:{path:window.location.pathname}},v),Ve();}m.length>0&&Ve();function be(){let _=_e();_.isNew&&_.id!==Y&&(Ue(),j=null),Y=_.id;let P=Or(zl(),A),de=Il(e.surface,r,o,i,a);return {session_id:Y,visitor_id:ce,gclid:P.gclid,wbraid:P.wbraid,gbraid:P.gbraid,ylpcid:P.ylpcid,fbclid:P.fbclid,fbc:ye(),fbp:Zr(),utm_source:P.utm_source,utm_medium:P.utm_medium,utm_campaign:P.utm_campaign,utm_term:P.utm_term,utm_content:P.utm_content,...Wa(Y),...j?{origin_session_id:j.sessionId,origin_visitor_id:j.visitorId,origin_linked_at:new Date(j.linkedAt).toISOString()}:{},first_page:v,consent_state:Nl(),context:de}}function Ve(_=t){l!==null||E||(l=setTimeout(()=>{l=null,$n();},_));}function gn(){l!==null&&(clearTimeout(l),l=null);}function Eo(){if(d.length===0)return;let _=d.slice(0,uo);d=d.slice(_.length),m=Ml([...m,{session:be(),events:_}]),so(f,m);}function $n(){return p=p.then(iu).catch(()=>{}),p}async function iu(){if(!E&&(gn(),Eo(),m.length!==0))try{for(;m.length>0;){let _=m[0],P={session:_.session,events:_.events};if(await xs(u,JSON.stringify(P),e.apiKey,c,!1)==="retry"){y+=1;return}m=m.slice(1),so(f,m),y=0;}}finally{if(m.length>0){let _=Math.min(t*2**y,El);Ve(_);}else d.length>0&&Ve();}}function au(_){if(E||!_||typeof _.eventType!="string"||_.eventType.length===0)return;if(_.eventType==="form_submit"&&O()!=="denied")try{let de=_.metadata?.form?.fields;de&&Aa(de,e.phone?.defaultCountry);}catch{}let P=_.occurredAt instanceof Date?_.occurredAt.toISOString():typeof _.occurredAt=="string"?_.occurredAt:new Date().toISOString();d.push({event_type:_.eventType,page_url:_.pageUrl!=null?W(_.pageUrl):De(),metadata:_.metadata??null,occurred_at:P}),d.length>=n?$n():Ve();}function Ge(){if(Eo(),gn(),m.length===0)return;let _=m[0];m=m.slice(1),so(f,m);let P={session:_.session,events:_.events};xs(u,JSON.stringify(P),e.apiKey,c,true);}return typeof window<"u"&&(window.addEventListener("pagehide",Ge),window.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Ge();})),{trackEvent:au,flush:$n,flushBeacon:Ge,getSessionId:()=>Y,getVisitorId:()=>ce,destroy:()=>{E=true,d.length>0&&Ge(),gn(),d=[],typeof window<"u"&&window.removeEventListener("pagehide",Ge);}}}var Ss=$({cta_name:g(),page:$({path:g()}),section:x(C(g())),destination_url:x(C(g())),href:x(C(g())),element:x(C(g()))}),Ps=$({autoCapture:x($({selector:x(g())}))});var Ll=$({automatic:H(g()),manual:H(g())}),ks=$({sdk_version:g(),package_name:C(g()),surface:wt(["next","react","script"]),triggers:Ll,trigger_config:x(C(Ce(g(),Ce(g(),Vi())))),configured_gtag_ids:x(C(Ce(g(),g()))),config_site_id:x(C(Di()))}),Es=$({});var Ts=$({form:$({id:g(),action:C(g())}),page:$({path:g()})}),As=$({selector:x(g())});var lo=Hi(()=>Bi([g(),me(),Ct(),Ui(),H(lo),Ce(g(),lo)])).register(jn,{id:"JsonSerializableValue"}),Is=$({form:$({id:g(),action:C(g()),fields:x(H($({name:g(),type:g(),label:C(g()),value:lo})))}),page:$({path:g()})}),zs=$({});var Ns=$({page_count:Z().check(F(2)),page:$({path:g()})}),Os=$({pageThreshold:Z().check(F(2))});var Rs=$({dwell_ms:Z().check(F(0)),max_scroll_percent:C(Z().check(F(0),ie(100))),scroll_baseline_percent:x(C(Z().check(F(0),ie(100)))),page:$({path:g()})}),Ms=$({});var Ls=$({phone_number:g(),page:$({path:g()}),section:x(C(g()))}),Fs=$({autoCapture:x($({selector:x(g())}))});var Zs=$({depth_percent:Z().check(F(1),ie(100)),page:$({path:g()})}),Ds=$({thresholds:H(Z().check(F(1),ie(100))).check(pe(1))});var Fl=64,Zl=/^[a-z][a-z0-9]*(?:_[a-z0-9]+)*$/;var Dl=g().check(qe(Fl),We(Zl,{message:"page identity must be lowercase snake_case, start with a letter, and contain at most 64 characters"})),js=Dl,Us=$({page_name:js,page:$({path:g()})}),Vs=$({pages:H($({name:js,pathPattern:qi(e=>e instanceof RegExp,{message:"pathPattern must be a RegExp"})})).check(pe(1))});var Gs=$({destination_host:g(),destination_url:g(),page:$({path:g()})}),Ks=$({}),Bs=$({outcome:wt(["linked","stale","invalid"]),origin_session_id:x(C(g())),origin_visitor_id:x(C(g())),transit_ms:x(C(me())),adopted_visitor:Ct(),page:$({path:g()})}),Hs=$({});var qs=$({duration_ms:Z().check(Vn()),page:$({path:g()})}),Ws=$({thresholdSeconds:Z().check(Un())});var M={page_view:{label:"Page view",category:"page",outcomeRole:"navigation",clientVisibility:"simple"},time_on_site:{label:"Time on site",category:"engagement",outcomeRole:"engagement",clientVisibility:"detailed"},specific_page_visit:{label:"Key page visit",category:"engagement",outcomeRole:"engagement",clientVisibility:"detailed"},scroll_depth:{label:"Scroll depth",category:"engagement",outcomeRole:"engagement",clientVisibility:"detailed"},multi_page_session:{label:"Multi-page session",category:"engagement",outcomeRole:"engagement",clientVisibility:"detailed"},form_start:{label:"Form started",category:"engagement",outcomeRole:"engagement",clientVisibility:"simple"},sdk_heartbeat:{label:"SDK heartbeat",category:"system",outcomeRole:"diagnostic",clientVisibility:"hidden"},page_exit:{label:"Page exit",category:"engagement",outcomeRole:"diagnostic",clientVisibility:"detailed"},form_submit:{label:"Form submitted",category:"lead",outcomeRole:"lead",clientVisibility:"simple"},phone_click:{label:"Phone click",category:"lead",outcomeRole:"lead",clientVisibility:"simple"},cta_click:{label:"CTA click",category:"engagement",outcomeRole:"engagement",clientVisibility:"simple"},site_link_click:{label:"Left for sibling site",category:"page",outcomeRole:"navigation",clientVisibility:"detailed"},site_link_arrival:{label:"Arrived from sibling site",category:"page",outcomeRole:"navigation",clientVisibility:"simple"}};var cn={page_view:{kind:"automatic",semantics:M.page_view,metadataSchema:tn,configSchema:_s},time_on_site:{kind:"automatic",semantics:M.time_on_site,metadataSchema:qs,configSchema:Ws},specific_page_visit:{kind:"automatic",semantics:M.specific_page_visit,metadataSchema:Us,configSchema:Vs},scroll_depth:{kind:"automatic",semantics:M.scroll_depth,metadataSchema:Zs,configSchema:Ds},multi_page_session:{kind:"automatic",semantics:M.multi_page_session,metadataSchema:Ns,configSchema:Os},form_start:{kind:"automatic",semantics:M.form_start,metadataSchema:Ts,configSchema:As},sdk_heartbeat:{kind:"automatic",semantics:M.sdk_heartbeat,metadataSchema:ks,configSchema:Es},page_exit:{kind:"automatic",semantics:M.page_exit,metadataSchema:Rs,configSchema:Ms},site_link_click:{kind:"automatic",semantics:M.site_link_click,metadataSchema:Gs,configSchema:Ks},site_link_arrival:{kind:"automatic",semantics:M.site_link_arrival,metadataSchema:Bs,configSchema:Hs},form_submit:{kind:"manual",semantics:M.form_submit,metadataSchema:Is,configSchema:zs},phone_click:{kind:"manual",semantics:M.phone_click,metadataSchema:Ls,configSchema:Fs},cta_click:{kind:"manual",semantics:M.cta_click,metadataSchema:Ss,configSchema:Ps}};Object.entries(cn).filter(([,e])=>e.kind==="automatic").map(([e])=>e);Object.entries(cn).filter(([,e])=>e.kind==="manual").map(([e])=>e);Object.entries(cn).filter(([,e])=>e.semantics.outcomeRole==="lead").map(([e])=>e);function Ys(e){return cn[e]}function fo(e,t){if(typeof window>"u"||typeof document>"u")return ()=>{};let n=t.thresholdSeconds*1e3,r=0,o=document.visibilityState==="visible"?Date.now():null,i=null,a=false;function s(){a||(a=true,e.trackEvent({eventType:"time_on_site",metadata:{duration_ms:n,page:{path:window.location.pathname}},pageUrl:window.location.href,occurredAt:null}));}function u(){if(a||o===null)return;let l=n-r;if(l<=0){s();return}i=setTimeout(s,l);}function c(){i!==null&&(clearTimeout(i),i=null);}function d(){a||(document.visibilityState==="hidden"?(o!==null&&(r+=Date.now()-o,o=null),c()):(o=Date.now(),u()));}return document.addEventListener("visibilitychange",d),u(),()=>{c(),document.removeEventListener("visibilitychange",d);}}function po(e,t){if(typeof window>"u"||typeof history>"u")return ()=>{};let{pages:n}=t,r=new Set;function o(){let c=window.location.pathname;for(let{name:d,pathPattern:l}of n){if(l.lastIndex=0,!l.test(c))continue;let f=`${d}:${c}`;r.has(f)||(r.add(f),e.trackEvent({eventType:"specific_page_visit",metadata:{page_name:d,page:{path:c}},pageUrl:window.location.href,occurredAt:null}));}}let i=history.pushState.bind(history),a=history.replaceState.bind(history);function s(...c){i(...c),setTimeout(o,0);}function u(...c){a(...c),setTimeout(o,0);}return history.pushState=s,history.replaceState=u,window.addEventListener("popstate",o),o(),()=>{history.pushState=i,history.replaceState=a,window.removeEventListener("popstate",o);}}var yt=new Set,mo=null;function go(){for(let e of yt)e();}function Xs(){setTimeout(go,0);}function jl(){let e=history.pushState,t=history.replaceState;function n(...o){e.apply(this,o),Xs();}function r(...o){t.apply(this,o),Xs();}history.pushState=n,history.replaceState=r,window.addEventListener("popstate",go),mo=()=>{history.pushState=e,history.replaceState=t,window.removeEventListener("popstate",go),mo=null;};}function dn(e){return yt.size===0&&jl(),yt.add(e),()=>{yt.delete(e)&&yt.size===0&&mo?.();}}function $o(){let e=document.scrollingElement??document.documentElement,t=e.scrollHeight,n=e.clientHeight;if(t<=0||n<=0||t<=n+2)return null;let r=t-n,o=Math.min(Math.max(e.scrollTop,0),r);return o+n>=t-2?100:Math.max(1,Math.min(100,Math.round((o+n)/t*100)))}function Ul(e){let t=requestAnimationFrame(()=>{t=requestAnimationFrame(()=>{e($o());});});return ()=>cancelAnimationFrame(t)}function ln(){let e=null,t=false,n=null;return {rebaseline(){n?.(),t=false,e=null,n=Ul(r=>{e=r,t=true;});},cancel(){n?.();},baseline(){return t?e:null},sample(){return t?e===null?(e=$o(),null):$o():null}}}function ho(e,t){if(typeof window>"u"||typeof document>"u")return ()=>{};let n=new Set(t.thresholds),r=new Set,o=window.location.pathname,i=null,a=ln();function s(){let l=a.sample();if(l===null)return;let f=a.baseline();if(f!==null)for(let m of n)m<=f||l>=m&&!r.has(m)&&(r.add(m),e.trackEvent({eventType:"scroll_depth",metadata:{depth_percent:m,page:{path:o}},pageUrl:window.location.href,occurredAt:null}));}function u(){i===null&&(i=requestAnimationFrame(()=>{i=null,s();}));}function c(){let l=window.location.pathname;l!==o&&(o=l,r=new Set,a.rebaseline());}let d=dn(c);return window.addEventListener("scroll",u,{passive:true}),a.rebaseline(),()=>{i!==null&&cancelAnimationFrame(i),a.cancel(),d(),window.removeEventListener("scroll",u);}}var yo="aranova_tracking_mps_paths",Qs="aranova_tracking_mps_session",_o="aranova_tracking_mps_fired";function Vl(){try{return typeof window<"u"?window.sessionStorage:null}catch{return null}}function vo(e,t){if(typeof window>"u"||typeof history>"u")return ()=>{};let n=Vl();if(!n)return ()=>{};let{pageThreshold:r}=t,o="";function i(){try{let p=n.getItem(yo);return p?new Set(JSON.parse(p)):new Set}catch{return new Set}}function a(p){try{n.setItem(yo,JSON.stringify([...p]));}catch{}}function s(){let p=_e().id;n.getItem(Qs)!==p&&(n.setItem(Qs,p),n.removeItem(yo),n.removeItem(_o));}function u(){return n.getItem(_o)==="1"}function c(){let p=window.location.pathname;if(p===o||(o=p,s(),u()))return;let y=i();y.add(p),a(y),y.size>=r&&(n.setItem(_o,"1"),e.trackEvent({eventType:"multi_page_session",metadata:{page_count:y.size,page:{path:window.location.pathname}},pageUrl:window.location.href,occurredAt:null}));}let d=history.pushState.bind(history),l=history.replaceState.bind(history);function f(...p){d(...p),setTimeout(c,0);}function m(...p){l(...p),setTimeout(c,0);}return history.pushState=f,history.replaceState=m,window.addEventListener("popstate",c),c(),()=>{history.pushState=d,history.replaceState=l,window.removeEventListener("popstate",c);}}function bo(e,t){if(typeof window>"u"||typeof document>"u")return ()=>{};let n=t.selector??"form",r=new Set,o=window.location.pathname;function i(f){if(f.id)return `id:${f.id}`;let m=f.getAttribute("action");return m?`action:${m}`:`index:${Array.from(document.querySelectorAll(n)).indexOf(f)}`}function a(f){let m=f.target;if(!(m instanceof HTMLElement))return;let p=m.closest(n);if(!p||p.tagName!=="FORM")return;let y=i(p);r.has(y)||(r.add(y),e.trackEvent({eventType:"form_start",metadata:{form:{id:p.id||"",action:p.getAttribute("action")??null},page:{path:window.location.pathname}},pageUrl:window.location.href,occurredAt:null}));}function s(){let f=window.location.pathname;f!==o&&(o=f,r=new Set);}let u=history.pushState.bind(history),c=history.replaceState.bind(history);function d(...f){u(...f),setTimeout(s,0);}function l(...f){c(...f),setTimeout(s,0);}return history.pushState=d,history.replaceState=l,window.addEventListener("popstate",s),document.addEventListener("focusin",a),()=>{history.pushState=u,history.replaceState=c,window.removeEventListener("popstate",s),document.removeEventListener("focusin",a);}}var Gl=50;function xo(e){if(typeof window>"u"||typeof document>"u")return ()=>{};let t=window.location.pathname,n=document.visibilityState==="visible"?Date.now():null,r=0,o=null,i=null,a=ln();function s(){i===null&&(i=requestAnimationFrame(()=>{i=null;let p=a.sample();p!==null&&(o===null||p>o)&&(o=p);}));}function u(){let p=r;return n!==null&&(p+=Date.now()-n),Math.max(0,Math.round(p))}function c(p,y){let v=u();v<Gl||(e.trackEvent({eventType:"page_exit",metadata:{dwell_ms:v,max_scroll_percent:o,scroll_baseline_percent:a.baseline(),page:{path:p}},pageUrl:window.location.href,occurredAt:null}),y&&e.flushBeacon(),r=0,n=null);}function d(){let p=window.location.pathname;p!==t&&(c(t,false),t=p,o=null,a.rebaseline(),r=0,n=document.visibilityState==="visible"?Date.now():null);}function l(){document.visibilityState==="hidden"?c(t,true):n=Date.now();}function f(){c(t,true);}let m=dn(d);return window.addEventListener("scroll",s,{passive:true}),document.addEventListener("visibilitychange",l),window.addEventListener("pagehide",f),a.rebaseline(),()=>{i!==null&&cancelAnimationFrame(i),a.cancel(),m(),window.removeEventListener("scroll",s),document.removeEventListener("visibilitychange",l),window.removeEventListener("pagehide",f);}}var Js="[data-aranova-cta]",Kl=120;function eu(e){let t=e.tagName.toLowerCase();return e.id?`${t}#${e.id}`:t}function Bl(e){let t=e.getAttribute("data-aranova-cta");if(t&&t.trim().length>0)return t.trim();let n=(e.textContent??"").trim().replaceAll(/\s+/g," ");return n.length>0?n.slice(0,Kl):eu(e)}function Co(e,t){if(typeof window>"u"||typeof document>"u")return ()=>{};let n=t.autoCapture;if(!n)return ()=>{};R("cta_click_capture");let r=n.selector??Js;function o(i){let a=i.target;if(!(a instanceof Element))return;let s=null;try{s=a.closest(r);}catch{return}if(s===null)return;let u=s instanceof HTMLAnchorElement?s.href||null:s.getAttribute("href");e.trackEvent({eventType:"cta_click",metadata:{cta_name:Bl(s),page:{path:window.location.pathname},section:s.getAttribute("data-aranova-section"),destination_url:u,href:u,element:eu(s)},pageUrl:window.location.href,occurredAt:null});}return document.addEventListener("click",o,true),()=>{document.removeEventListener("click",o,true);}}function Hl(e){if(!(e instanceof Element))return null;let t=e.closest("a[href]");return t instanceof HTMLAnchorElement?t:null}function tu(e){return e.button===0||e.button===1}function wo(e,t){if(typeof window>"u"||typeof document>"u")return ()=>{};R("cross_site_linker");function n(i){let a=Hl(i.target);if(a===null)return null;let s=Kt(a.href,t.linkedHostnames());return s===null?null:{anchor:a,link:s}}function r(i){if(!tu(i))return;let a=n(i);a!==null&&(a.anchor.href=a.link.decorated);}function o(i){if(!tu(i))return;let a=n(i);a!==null&&(a.anchor.href=a.link.decorated,e.trackEvent({eventType:"site_link_click",metadata:{destination_host:a.anchor.hostname,destination_url:W(a.anchor.href),page:{path:window.location.pathname}},pageUrl:window.location.href,occurredAt:null}),e.flushBeacon());}return document.addEventListener("pointerdown",r,true),document.addEventListener("click",o,true),()=>{document.removeEventListener("pointerdown",r,true),document.removeEventListener("click",o,true);}}var nu='a[href^="tel:"]';function ql(e){try{return decodeURIComponent(e)}catch{return e}}function Wl(e){let t=e instanceof HTMLAnchorElement?e.href:e.getAttribute("href")??"",n=ql(t.replace(/^tel:/i,"").split(";")[0]).trim();return Te(n)??n}function So(e,t){if(typeof window>"u"||typeof document>"u")return ()=>{};let n=t.autoCapture;if(!n)return ()=>{};R("phone_click_capture");let r=n.selector??nu;function o(i){let a=i.target;if(!(a instanceof Element))return;let s=null;try{s=a.closest(r);}catch{return}if(s===null)return;let u={phone_number:Wl(s),page:{path:window.location.pathname},section:s.getAttribute("data-aranova-section")};e.trackEvent({eventType:"phone_click",metadata:u,pageUrl:window.location.href,occurredAt:null});}return document.addEventListener("click",o,true),()=>{document.removeEventListener("click",o,true);}}var fn=class extends Error{constructor(t,n){super(t),this.name="AranovaApiError",this.status=n.status,this.code=n.code,this.requestId=n.requestId;}};function Yl(e){let t={[rn]:e.apiKey};return e.sdkVersion&&(t[on]=e.sdkVersion),e.packageName&&(t[an]=e.packageName),e.surface&&(t[sn]=e.surface),e.environment&&(t[un]=e.environment),t}function Xl(e,t){return `${e.replace(/\/$/,"")}${t}`}async function ru(e,t,n,r,o){let i={...Yl(e),...o};r!==void 0&&(i["Content-Type"]="application/json");let a=await fetch(Xl(e.endpoint,n),{method:t,headers:i,body:r===void 0?void 0:JSON.stringify(r)});if(!a.ok){let s,u;try{let c=await a.json();if(c&&typeof c=="object"){let d=c;typeof d.detail=="string"&&(s=d.detail),typeof d.code=="string"&&(u=d.code);}}catch{}throw new fn(s??a.statusText??"Request failed",{status:a.status,code:u,requestId:a.headers.get("x-request-id")??void 0})}if(a.status!==204)return await a.json()}var G=ru;function Ql(e,t,n,r,o){if(!e)return;let i=t.customer_email||t.customer_phone?{email:t.customer_email??null,phone:t.customer_phone??null}:null;i&&O()!=="denied"&&Pr(i);let a=t.external_id??r.id;for(let s of n){if(!s.service)continue;if("fireConversion"in e){e.fireConversion(s.service,{value:s.amount_cents!=null?ue(s.amount_cents,o):void 0,currency:o,transactionId:`${a}:${s.service}`});continue}let u=e.getFiring(s.service);if(!u)continue;let c=s.amount_cents??u.value_cents??null;ve({sendTo:u.send_to,value:c!=null?ue(c,o):null,currency:u.currency??o,transactionId:`${a}:${s.service}`},{userData:i});}}function ou(e){e.firing&&R("conversion_goals_manual");async function t(n){let r=n.currency??e.defaultCurrency;if(!r)throw new Error("record: `currency` is required (pass it on the sale or set config.defaultCurrency)");let o={...n,currency:r,occurred_at:n.occurred_at??new Date().toISOString()},i=await G(e,"POST","/sales",o),a=n.services?.length?n.services.map(s=>({service:s.service,amount_cents:s.amount_cents})):[{service:n.service,amount_cents:n.amount_total_cents??null}];return Ql(e.firing,n,a,i,r),i}return {record:t,recordSale:t,trackConversion(n,r){if(e.firing&&"fireConversion"in e.firing){r?.userData&&O()!=="denied"&&Pr(r.userData),e.firing.fireConversion(n,{value:r?.value??void 0,currency:r?.currency??e.defaultCurrency??void 0,transactionId:r?.transactionId??null});return}let o=e.firing?.getFiring(n);if(!o)return;let i=o.currency??r?.currency??e.defaultCurrency??null,a=o.value_cents??null,s=r?.value??(a!=null&&i?ue(a,i):null);ve({sendTo:o.send_to,value:s,currency:i,transactionId:r?.transactionId??null},{userData:r?.userData});},async list(n){let{cursor:r,limit:o,sort:i,order:a,want_total:s,...u}=n??{};return G(e,"POST","/sales/query",{filters:u,...o!==void 0?{limit:o}:{},...r!==void 0?{cursor:r}:{},...i!==void 0?{sort:i}:{},...a!==void 0?{order:a}:{},...s!==void 0?{want_total:s}:{}})},async summary(n){let{range:r,include_categories:o,include_deleted_services:i,top_n:a,since:s,until:u,timezone:c,granularity:d,compare_to:l,...f}=n;return G(e,"POST","/sales/summary",{filters:f,...r!==void 0?{range:r}:{},...o!==void 0?{include_categories:o}:{},...i!==void 0?{include_deleted_services:i}:{},...a!==void 0?{top_n:a}:{},...s!==void 0?{since:s}:{},...u!==void 0?{until:u}:{},...c!==void 0?{timezone:c}:{},...d!==void 0?{granularity:d}:{},...l!==void 0?{compare_to:l}:{}})},async get(n){return G(e,"GET",`/sales/${n}`)},async update(n,r){return G(e,"PATCH",`/sales/${n}`,r)},async delete(n){await G(e,"DELETE",`/sales/${n}`);},customers:{async list(n){let{segment:r,sort:o,order:i,cursor:a,limit:s,want_total:u,...c}=n??{};return G(e,"POST","/customers/query",{filters:c,...r!==void 0?{segment:r}:{},...o!==void 0?{sort:o}:{},...i!==void 0?{order:i}:{},...a!==void 0?{cursor:a}:{},...s!==void 0?{limit:s}:{},...u!==void 0?{want_total:u}:{}})},async get(n,r){let o=new URLSearchParams;r?.include_sales!==void 0&&o.set("include_sales",String(r.include_sales)),r?.limit!==void 0&&o.set("limit",String(r.limit)),r?.cursor!=null&&o.set("cursor",r.cursor);let i=o.toString();return G(e,"GET",`/customers/${encodeURIComponent(n)}${i?`?${i}`:""}`)},async summary(n){let{range:r,since:o,until:i,timezone:a,compare_to:s,...u}=n??{};return G(e,"POST","/customers/summary",{filters:u,...r!==void 0?{range:r}:{},...o!==void 0?{since:o}:{},...i!==void 0?{until:i}:{},...a!==void 0?{timezone:a}:{},...s!==void 0?{compare_to:s}:{}})}},business:{async config(){return G(e,"GET","/business/config")}}}}function Jl(){return Ne(Re)}var S=null,Po=null,L=[],pn=null,mn=()=>[];function ef(){for(let e=L.length-1;e>=0;e--)L[e]();L=[],S!==null&&(S.destroy(),S=null),Po=null,pn=null,mn=()=>[];}function tf(e={}){if(typeof window>"u")return;window.AranovaTracking=ko;let{apiKey:t,endpoint:n,autoCaptureTrackingParams:r=true,cookieMaxAgeSeconds:o=7776e3,gtagId:i,gtagIds:a,metaPixelId:s,metaPixelIds:u,environment:c,renderConsentBanner:d,triggers:l,conversionConfig:f,trackingConfig:m}=e;if(R("base_tracking"),m&&R("conversion_goals_auto"),(m||i||a&&Object.keys(a).length>0)&&R("ad_tags_google"),(s||u&&Object.keys(u).length>0)&&R("ad_tags_meta"),r&&he(window.location.href,o),m?Qt(m).queuePageView():a&&Object.keys(a).length>0?Lr(a):i&&Mr(i),u&&Object.keys(u).length>0?Vr(u):s&&Ur(s),ef(),!t||!n){(t||n)&&console.warn("[AranovaTracking] init() requires both `apiKey` and `endpoint` to enable first-party event ingest. Page-view events will not be sent.");return}let p=m?null:f?Qr({cdnUrl:f.cdnUrl,baked:f.baked}):null,y=m?Qt(m):null;y?.start(),mn=()=>(y??p)?.linkedHostnames()??[],pn=ou({apiKey:t,endpoint:n,firing:y??p??void 0});let v=l??{automatic:{page_view:{}},manual:{}};Po=v;let A=a?Object.fromEntries(Object.entries(a).filter(be=>be[1]!=null)):i?{default:i}:void 0,E=co({apiKey:t,endpoint:n,surface:"script",packageName:"@aranova/tracking-browser",sdkVersion:Wi,triggers:v,environment:c,activeGtagIds:A,configSiteId:m?.siteId??null});S=p?en(E,Jt(p)):y?en(E,Jt(y)):E;let D=y&&S?{...S,trackEvent:be=>{S?.trackEvent(be),be.eventType==="page_view"&&y.queuePageView();}}:S;Xr(),L.push(ao(D)),L.push(io(D)),L.push(xo(S)),L.push(wo(S,{linkedHostnames:()=>mn()}));let j=v.automatic.time_on_site;j&&L.push(fo(S,j));let ce=v.automatic.specific_page_visit;ce&&L.push(po(S,ce));let Ze=v.automatic.scroll_depth;Ze&&L.push(ho(S,Ze));let Y=v.automatic.multi_page_session;Y&&L.push(vo(S,Y));let De=v.automatic.form_start;De&&L.push(bo(S,De));let je=v.manual?.cta_click;je&&L.push(Co(S,je));let Ue=v.manual?.phone_click;Ue&&L.push(So(S,Ue));}function nf(e,t){if(S===null){console.warn("[AranovaTracking] trackEvent called before init({ apiKey, endpoint })");return}let n=Po;if(n===null){console.warn("[AranovaTracking] trackEvent called but no trigger registry was passed to init()");return}let r=n.manual??{};if(!(e in r)){console.warn(`[AranovaTracking] trackEvent: event "${e}" is not registered as a manual trigger. Register it under \`triggers.manual\` in init().`);return}try{let o=Ys(e);fe(o.metadataSchema,t);}catch(o){console.warn(`[AranovaTracking] trackEvent: metadata for "${e}" failed schema validation`,o);return}S.trackEvent({eventType:e,metadata:t,pageUrl:null,occurredAt:null});}function rf(){if(pn===null)throw new Error("[AranovaTracking] sales() called before init({ apiKey, endpoint })");return pn}var ko={init:tf,captureTrackingParams:()=>he(),getTrackingParams:Jl,getConsentState:O,setConsentState:ct,getConsentChoice:ae,optIn:Tr,optOut:Ar,resetConsent:Ir,trackEvent:nf,sales:rf,decorateUrl:e=>Wr(e,mn())};typeof window<"u"&&(window.AranovaTracking=ko);var U3=ko;
6
+ exports.default=U3;exports.init=tf;Object.defineProperty(exports,'__esModule',{value:true});return exports;})({});//# sourceMappingURL=aranova-tracking.global.js.map
7
7
  //# sourceMappingURL=aranova-tracking.global.js.map